Commit Graph

40 Commits

Author SHA1 Message Date
ramiro%netscape.com
e8ba593918 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
briano%netscape.com
d5abd4e0c7 General cleanup. 1999-09-09 03:34:19 +00:00
akkana%netscape.com
04c1cfb61e Remove unused insert html txn 1999-09-02 18:37:24 +00:00
ramiro%netscape.com
18b5e04d18 Cleanup linkin of mozdbm. 1999-08-31 14:31:50 +00:00
ramiro%netscape.com
56b62f3790 Cleanup the jsdom and jsurl linking mess. 1999-08-22 11:05:45 +00:00
kin%netscape.com
f83e42cc70 Modifications to re-enable Editor API Logging which was broken after the last editor source reorg.
editor/base/Makefile.in
  editor/base/makefile.win
    - Modified makefiles build files that were
      renamed, and use new define to build the
      API Logging code.

  editor/base/nsEditor.cpp
  editor/base/nsEditor.h
  editor/base/nsHTMLEditor.cpp
    - Removed all ENABLE_JS_EDITOR_LOG ifdef'd code.
    - Removed all references to nsVector.h.

  editor/base/nsEditorFactory.cpp
    - Added ENABLE_EDITOR_API_LOG ifdef'd code
      that will create an instance of nsHTMLEditorLog
      instead of nsHTMLEditor.

  editor/base/nsEditorTxnLog.cpp
    - Initial checkin of file. File was originally named nsJSTxnLog.cpp.

  editor/base/nsEditorTxnLog.h
    - Initial checkin of file. File was originally named nsJSTxnLog.h.

  editor/base/nsHTMLEditorLog.cpp
    - Initial checkin of file. File was originally named nsJSEditorLog.cpp.
    - nsHTMLEditorLog.cpp now derives from nsHTMLEditor, and only
      overrides methods that modify the content tree and are publicly
      available via XPIDL.

  editor/base/nsHTMLEditorLog.h
    - Initial checkin of file. File was originally named nsJSEditorLog.h.
    - nsHTMLEditorLog.cpp now derives from nsHTMLEditor, and only
      overrides methods that modify the content tree and are publicly
      available via XPIDL.
1999-08-19 13:19:10 +00:00
ramiro%netscape.com
f8ec9059dc Link with neckoutil_s as windows does. 1999-08-17 16:26:25 +00:00
sfraser%netscape.com
b7cdb2d021 Turn off the JS logging for now, for real this time (duplicate DEFINES line removed) 1999-08-09 02:28:51 +00:00
sfraser%netscape.com
730dbad85a Turn off the JS logging for now. 1999-08-09 01:42:08 +00:00
sfraser%netscape.com
d73dfd8ddb Landing editor API changes. Removed nsITextEditor and nsTextEditor, split interfaces into more, non-overlapping interfaces, and other general cleanup. 1999-08-09 01:37:50 +00:00
sfraser%netscape.com
a5210f6af5 Added nsInterfaceState for UI state maintenance 1999-07-28 02:53:09 +00:00
cmanske%netscape.com
d54ddc3632 Initial table editing stuff. Removed table editing transactions (use basic node txns). Fixed TrimString JS methods. Fixed setting border in insert table. 1999-07-27 23:59:22 +00:00
sfraser%netscape.com
684c2fd8dc Added nsStyleSheetTxns.cpp 1999-07-02 04:01:38 +00:00
tague%netscape.com
353d857fed Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824 1999-06-29 20:31:22 +00:00
kin%netscape.com
e3bf912523 * Added StartLogging() and StopLogging() methods to nsIEditor,
nsIHTMLEditor, nsITextEditor, and nsIEditorShell and enabled
  the "Start Log" and "End Log" menu items in the editor test bed.

* Modified makefiles for Unix and Win32 to turn on  Editor API Logging.

* Added action argument to the DeleteSelection() method in nsIEditorShell.

* Modified nsJSTxnLog to use nsJSEditorLog when writing it's output.
1999-06-14 20:02:46 +00:00
rpotts%netscape.com
785b837f43 removed whitespace after the backslash to fix the build :-) 1999-06-11 19:32:15 +00:00
sfraser%netscape.com
3e892d3cc8 Add EditorShell and its factory to build, and add idl dir to makefiles. 1999-06-11 19:00:22 +00:00
cmanske%netscape.com
c624b316cb Added support for prefs and string bundles for editor, various bug fixes, preliminary Horizontal Line dialog work 1999-06-09 01:27:08 +00:00
akkana%netscape.com
d2c4947c26 Insert / Paste as Quotation. 1999-05-27 00:08:15 +00:00
akkana%netscape.com
6d64f20d89 Make Insert HTML a transaction 1999-05-07 19:23:17 +00:00
buster%netscape.com
033ffdd7ed * beginnings of font handling. WIP, I did a big merge today and I'm checking in to synch up, not to announce new functionality here.
* added TextEditorTest.cpp, a unit test module for nsTextEditor.  It's use is actually commented out since my checkin is happening so late due
to all-day build bustage, and I don't have a Mac handy to verify.  With someone's Mac help tomorrow, I can turn it on.
* some minor bug fixes to property handling
1999-04-15 06:06:33 +00:00
jfrancis%netscape.com
fbf6bdcbae Adding nsHTMLEditRules.cpp 1999-03-29 08:01:21 +00:00
buster%netscape.com
d5932338f7 added PlaceholderTxn. This is an aggregate transaction that sits on the undo stack
and merges in subsequent transactions indiscriminately until it's told to stop.
It also gives the last transaction in its child list a chance to merge the
next transaction.
All this is in support of complex transactions that result in text insertion
being able to collapse into a single undoable event.
Also improved tracking of bogus content node used when document is empty.
1999-03-15 00:57:32 +00:00
buster%netscape.com
fe54c86b01 added nsTextEditRules 1999-03-10 19:47:34 +00:00
kostello%netscape.com
dceb833a0a Added Implementations for OutputHTML and OutputTXT 1999-03-04 21:53:42 +00:00
dp%netscape.com
06a110237c Installing loadable components in components/ directory 1999-03-03 01:25:21 +00:00
cmanske%netscape.com
e415eb79b4 Implemented nsHTMLEditor. Changed prototypes to be use NS_IMETHOD and NS_IMETHODIMP. Started table editing transactions 1999-03-02 05:30:53 +00:00
buster%netscape.com
c05dfef653 added InsertElementTxn
added nsEditProperty
beginning of implementation for SetTextProperties.  Currently, it only works if the selection is entirely within a single text node.  Currently only
supports bold and italic (mapped to ctrl-b and ctrl-i for testing purposes.)
changed a bunch of interfaces to make things easier, like CreateElement now returns (as an out-param) the element created.
1999-02-24 17:24:37 +00:00
buster%netscape.com
1ceedf5abc * 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
c544a4698b * 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
50d5211732 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
buster%netscape.com
d18aa37ef9 SplitElementTxn implementation. Do only.
test with Control-S.
1999-01-08 22:16:22 +00:00
buster%netscape.com
6c3a16ef91 create element transaction WIP 1999-01-07 22:36:23 +00:00
buster%netscape.com
6c2020d8cf support for DeleteTextTxn, backspace and delete 1999-01-07 17:58:15 +00:00
buster%netscape.com
ef21a4afd0 added InsertTextTxn.cpp 1999-01-07 01:28:34 +00:00
akkana%netscape.com
2760f31db5 Build EditTxn and ChangeAttributeTxn 1999-01-06 20:31:30 +00:00
mjudge%netscape.com
bd75a79258 removed non production code 1998-11-28 01:28:00 +00:00
mjudge%netscape.com
63135b6376 just broke the mac build. I will tell jfrancis! 1998-11-28 01:19:53 +00:00
kin%netscape.com
9925656e30 Changes neccessary to build on Unix. 1998-11-18 20:20:08 +00:00
mjudge%netscape.com
091a6a14b8 moving editor core to "core" 1998-11-11 03:34:37 +00:00