Граф коммитов

19 Коммитов

Автор SHA1 Сообщение Дата
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
brade%netscape.com 19ec219fb7 allow for txn to have id/string for get/set 1999-09-21 22:31:27 +00:00
buster%netscape.com d3b61f6c7b Fixed a ton of errors where we were not handling error results correctly.
Added some comments of the form "// XXX: ERROR_HANDLING <explanation>"
wherever I saw a potential error but wasn't 100% sure of the intention of the code.
Fixed a few bugs along the way.
1999-08-19 13:30:48 +00:00
buster%netscape.com 1823698740 fixed warnings 1999-06-28 13:44:40 +00:00
buster%netscape.com bcf0517bdf minor cleanup, removal of old code 1999-06-12 21:13:15 +00:00
sfraser%netscape.com 0b45173a06 Changed transactions not to have owning pointers to the Editor. 1999-05-28 00:13:02 +00:00
kin%netscape.com e667e633d4 Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *. 1999-05-27 20:50:52 +00:00
buster%netscape.com ef58aa2474 factored out re-parenting of content into MoveContentIntoNewParent
WIP on font handling.
1999-04-16 18:29:12 +00:00
cmanske%netscape.com 06356ad73a Changed editor classes to inherited model. Fixed lots of destructor warnings. 1999-03-05 21:05:35 +00:00
cmanske%netscape.com 7aca17a8cb Implemented nsHTMLEditor. Changed prototypes to be use NS_IMETHOD and NS_IMETHODIMP. Started table editing transactions 1999-03-02 05:30:53 +00:00
mcafee%netscape.com 6fad4bf023 Solaris: adding do_QueryInterface() wrappers to finish scc's nsCOMPtr carpool. a=scc 1999-02-19 11:30:31 +00:00
buster%netscape.com 6b1dd3a628 * the viewer test app now instantiates an nsITextEditor via nsRepository for "Editor mode"
* the TxnMgr is invoked by the editor via nsRepository
* editor.h|cpp have been renamed nsEditor.h|cpp for consistency
* editorInterfaces.h|cpp have been renamed nsEditorEventListeners.c|hpp
* added nsITextEditor.h, nsTextEditor.h|cpp.  The text editor is a placeholder for the rules unique to text
editing.  It invokes the nsIEditor to do core editing operations.
* reworked nsIEditor and related interfaces as per emerging design.
* nsEditor::BeginTransaction and EndTransaction call nsTransactionManager::BeginBatch and EndBatch.
1999-02-12 17:18:58 +00:00
buster%netscape.com c80b396ad6 made GetIsTransient return false by default, so most transactions don't need to implement GetIsTransient
made delete and backspace do the right thing (testing hacks removed)
1999-01-22 15:40:31 +00:00
buster%netscape.com 83a4e325ce * added TransactionFactory. Editor no longer allocates its own transactions. This gives us an oppurtunity for a recycler.
* added DeleteSelection to editor.  Doesn't work very well yet because selection is giving me random offsets into text content.
* lots of work in the various transactions.
1999-01-21 01:51:09 +00:00
buster%netscape.com 92705ab193 added DeleteElementTxn and DeleteRangeTxn, and added merging of text insertions.
added some better error checking on all transactions.
1999-01-14 18:02:45 +00:00
pinkerton%netscape.com c3e3bb6ba5 fixes for SetDOMAttribute --> SetAttribute change. 1999-01-12 18:20:58 +00:00
buster%netscape.com 10b3eb6bea shuffled around the responsibilities of core editing objects.
The key listener is now mostly a mapper of key events to editor actions.  Soon, this should be 100% true.
The editor builds transactions that are themselves intelligent. The editor makes very few DOM calls itself.
It relies on the transactions to do most of the actual editing.
1999-01-11 22:47:23 +00:00
buster%netscape.com 8dc326f5c0 support for removing attributes 1999-01-07 01:02:16 +00:00
buster%netscape.com 2a75ddbb5c ChangedAttributeTxn implementation
base class EditTxn implementation
1999-01-06 20:30:13 +00:00