67 Commits

Author SHA1 Message Date
sfraser%netscape.com
e919848f87 Fix for 29737 -- selecting is slow in large files in composer. r=mjudge, akkana, a=jar.
git-svn-id: svn://10.0.0.236/trunk@62174 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:35:11 +00:00
sspitzer%netscape.com
95d0a286eb fix my windows bustage.
git-svn-id: svn://10.0.0.236/trunk@61038 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 03:22:19 +00:00
sspitzer%netscape.com
48e63af399 move the nsICmdLineHandler responsibilties from nsHTMLEditorLog to nsEditorService. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@61035 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 03:14:20 +00:00
sfraser%netscape.com
27d27b64b1 Adding nsEditorCommands.cpp, for bug 18395. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@61003 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:35:57 +00:00
cmanske%netscape.com
e080bb6c86 Table editing work (bug 20973). Fixed background colorpicker (bug 21410), disable unimplemented menu items (25137), make property bundle strings more localizable (26050). r=mjudge
git-svn-id: svn://10.0.0.236/trunk@60284 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 05:14:52 +00:00
akkana%netscape.com
85bfd10c79 Add nsHTMLEditUtils
git-svn-id: svn://10.0.0.236/trunk@58658 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 00:48:12 +00:00
akkana%netscape.com
33b192d23e Utilities for use by editor and edit rules. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@58656 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 00:36:18 +00:00
mjudge%netscape.com
212f24a709 adding in nsEditorController to makesystem. adding in registration to allow someone to get an editorcontroller from the outside. also change editor shell to register a controller to handle keyboard navigation.
git-svn-id: svn://10.0.0.236/trunk@56025 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:46:27 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
law%netscape.com
25e63cd81a Bug #14999; stop using toolkit app core; r=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@51029 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-18 21:39:18 +00:00
morse%netscape.com
051b2edf1a fix bug 10434, memory leak detection, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@50928 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-16 19:34:10 +00:00
dveditz%netscape.com
30a83caa1d Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@50322 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 01:32:59 +00:00
akkana%netscape.com
857fbbf837 Remove unused insert html txn
git-svn-id: svn://10.0.0.236/trunk@45707 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 18:37:24 +00:00
cyeh%netscape.com
c6342ee432 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45379 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:34 +00:00
kin%netscape.com
11de802b21 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.


git-svn-id: svn://10.0.0.236/trunk@43585 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 13:19:10 +00:00
bienvenu%netscape.com
db823f8718 fix build bustage on win32
git-svn-id: svn://10.0.0.236/trunk@42730 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 01:57:28 +00:00
sfraser%netscape.com
82a8cc91dc Turn off the JS logging for now.
git-svn-id: svn://10.0.0.236/trunk@42726 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 01:42:08 +00:00
sfraser%netscape.com
4dd92661ce Landing editor API changes. Removed nsITextEditor and nsTextEditor, split interfaces into more, non-overlapping interfaces, and other general cleanup.
git-svn-id: svn://10.0.0.236/trunk@42725 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 01:37:50 +00:00
mscott%netscape.com
4b2ce45328 fix build breakage with necko landing...include config.mak
git-svn-id: svn://10.0.0.236/trunk@41540 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-29 04:25:34 +00:00
sfraser%netscape.com
1dd947029b Added nsInterfaceState for UI state maintenance
git-svn-id: svn://10.0.0.236/trunk@41402 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 02:53:09 +00:00
cmanske%netscape.com
19ab0e4029 Initial table editing stuff. Removed table editing transactions (use basic node txns). Fixed TrimString JS methods. Fixed setting border in insert table.
git-svn-id: svn://10.0.0.236/trunk@41372 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:59:22 +00:00
dveditz%netscape.com
1008384826 makeile cleanups
git-svn-id: svn://10.0.0.236/trunk@38041 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 13:38:47 +00:00
sfraser%netscape.com
b089efa46d Added nsStyleSheetTxns.cpp
git-svn-id: svn://10.0.0.236/trunk@37967 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 04:01:38 +00:00
warren%netscape.com
be69b669fb Added necko util glue.
git-svn-id: svn://10.0.0.236/trunk@37881 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 21:49:24 +00:00
tague%netscape.com
ea708a16a8 Added clause and selection support for Input Methods. Fixes bug #8639, #8459, #6989, #7824
git-svn-id: svn://10.0.0.236/trunk@37435 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:31:22 +00:00
warren%netscape.com
2fd605cc6f Last of the necko ifdefs. Now we link with necko.
git-svn-id: svn://10.0.0.236/trunk@37169 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 10:35:57 +00:00
kin%netscape.com
38bb3e3ed2 * 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.


git-svn-id: svn://10.0.0.236/trunk@35149 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:02:46 +00:00
sfraser%netscape.com
25a37673a3 Fix the build.
git-svn-id: svn://10.0.0.236/trunk@34838 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:56:35 +00:00
sfraser%netscape.com
13507e9f98 Fix Makefile stupidity.
git-svn-id: svn://10.0.0.236/trunk@34830 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:28:17 +00:00
sfraser%netscape.com
e21d74eb6e Add EditorShell and its factory to build, and add idl dir to makefiles.
git-svn-id: svn://10.0.0.236/trunk@34814 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:00:22 +00:00
cmanske%netscape.com
5cc87fa56e Added support for prefs and string bundles for editor, various bug fixes, preliminary Horizontal Line dialog work
git-svn-id: svn://10.0.0.236/trunk@34343 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:27:08 +00:00
buster%netscape.com
9041cef161 Preparation for ender-based text control
* added focus listener.  Doesn't do much yet, but when focus notifications start appearing, we'll be ready for them.  The code is in
place to hide selection when we lose focus and paint selection when we get focus.  That's probably not quite right, but it's a start.
We will need to be able to determine the distinction between losing focus to another control within our app, and losing focus to
another app.
* added support for disabled and readonly states in the editor.  This is accomplished by having flags set by the client, and letting the
rules system deal with those flags.  The flags I added are:
     TEXT_EDITOR_FLAG_PLAINTEXT   0x01   // only plain text editing is allowed
     TEXT_EDITOR_FLAG_SINGLELINE  0x02   // enter key and CR-LF handled specially
     TEXT_EDITOR_FLAG_PASSWORD    0x04   // text is not entered into content, only a representative character
     TEXT_EDITOR_FLAG_READONLY    0x08   // editing events are disabled.  Editor may still accept focus.
     TEXT_EDITOR_FLAG_DISALBED    0x10   // all events are disabled (like scrolling).  Editor will not accept focus.
* added WillInsertBreak/DidInsertBreak into text rules, so flags could be checked.  This gets us readonly, disabled, and single line
behavior.
* cleaned up the code that allocates, registers, and destroys event listeners.  Thanks to Kin and Simon for cleaning up the
ownership model on the listeners, it was a big help.
* added support for a max text length.  You can now tell the text editor, be no bigger than n characters.


git-svn-id: svn://10.0.0.236/trunk@33153 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:24:18 +00:00
akkana%netscape.com
e742bedf03 Require pref headers now
git-svn-id: svn://10.0.0.236/trunk@32845 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 01:46:06 +00:00
bienvenu%netscape.com
90ae0652bb fix build bustage by adding prefs include
git-svn-id: svn://10.0.0.236/trunk@32843 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 01:45:27 +00:00
akkana%netscape.com
156d763247 Insert / Paste as Quotation.
git-svn-id: svn://10.0.0.236/trunk@32824 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 00:08:15 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
rods%netscape.com
3c29f31a25 Added nsInsertHTMLTxn
git-svn-id: svn://10.0.0.236/trunk@30708 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:38:53 +00:00
buster%netscape.com
d7cdf20fb8 * 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


git-svn-id: svn://10.0.0.236/trunk@27556 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 06:06:33 +00:00
jfrancis%netscape.com
bfe4edbf65 Adding nsHTMLEditRules.cpp
git-svn-id: svn://10.0.0.236/trunk@25438 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 08:01:21 +00:00
leaf%mozilla.org
8fadf11677 Landing nspr library name change, and plevent function call change.
git-svn-id: svn://10.0.0.236/trunk@24276 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 21:32:03 +00:00
buster%netscape.com
ef5f3265cc 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.


git-svn-id: svn://10.0.0.236/trunk@24151 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 00:57:32 +00:00
mjudge%netscape.com
e4c09191d6 reverting fix :(
git-svn-id: svn://10.0.0.236/trunk@23830 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:49:12 +00:00
mjudge%netscape.com
a1cd7388b4 fixed copy paste issue on windows, linking wrong.lib file
git-svn-id: svn://10.0.0.236/trunk@23797 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:01:24 +00:00
mjudge%netscape.com
85664fd476 fixing windows build bustage by temporarily loading the raptorwidget_s.dll when ender.dll is loaded. temporary until repository code working
git-svn-id: svn://10.0.0.236/trunk@23613 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 00:20:27 +00:00
kin%netscape.com
8b4d03a7fb Modified the clobber target so that it removes the dll from the bin/components directory.
git-svn-id: svn://10.0.0.236/trunk@23568 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 21:25:03 +00:00
buster%netscape.com
0e7f65788f added nsTextEditRules
git-svn-id: svn://10.0.0.236/trunk@23539 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 19:47:34 +00:00
cmanske%netscape.com
dea2088bcb Fixed editor classes to do autoregistration correctly and moved target directory to bin/components
git-svn-id: svn://10.0.0.236/trunk@23216 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-08 22:46:33 +00:00
kostello%netscape.com
575a96dca1 Added Implementations for OutputHTML and OutputTXT
git-svn-id: svn://10.0.0.236/trunk@22785 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-04 21:53:42 +00:00
cmanske%netscape.com
202c5b89dc Implemented nsHTMLEditor. Changed prototypes to be use NS_IMETHOD and NS_IMETHODIMP. Started table editing transactions
git-svn-id: svn://10.0.0.236/trunk@22534 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 05:30:53 +00:00