46 Commits

Author SHA1 Message Date
darin%netscape.com
917e73bcc9 fixing more mac build bustage
git-svn-id: svn://10.0.0.236/trunk@136578 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 04:21:04 +00:00
dbaron%dbaron.org
daa2fa4b45 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135995 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:51:43 +00:00
kin%netscape.com
9b97540558 Fix for bug 173553: flawfinder warnings in editor/libeditor/html/nsHTMLEditorLog.cpp
Changed all occurrences of sprintf() to snprintf(). Removed format arg from WriteInt().

r=brade@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@134044 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 15:43:19 +00:00
akkana%netscape.com
b005e67b4f 161143: Add new method InsertTextWithQuotes, and call it from Rewrap. r=brade,jfrancis sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@131463 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 21:22:27 +00:00
brade%netscape.com
1190f3a24a remove editorshell usage and fix some commands to emit all of the params needed to work; r=akk, sr=kin (bug 169231)
git-svn-id: svn://10.0.0.236/trunk@130142 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 12:41:24 +00:00
akkana%netscape.com
bb9e89902c More for 124265 -- fix mac build: remove obsolete ApplyStyleSheet method from nsHTMLEditorLog (which only Mac was building). r=cmanske
git-svn-id: svn://10.0.0.236/trunk@129567 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 22:00:16 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
bienvenu%netscape.com
efcf334394 make this file build (at least on windows) after nsIFileOutputStream changes r/sr = jkeiser
git-svn-id: svn://10.0.0.236/trunk@119334 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 23:14:30 +00:00
dbaron%fas.harvard.edu
359ad57ca1 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117343 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:08:20 +00:00
cmanske%netscape.com
bd0c9879f3 Support changing list bullet/number style for selected list items. b=92278 r=jfrancis,brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@110351 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 03:57:32 +00:00
dbaron%fas.harvard.edu
c7ecd0425e Bug 45797: replace remaining uses of deprecated macros NS_IMPL_QUERY_INTERFACE and friends with NS_IMPL_QUERY_INTERFACE1 and friends and remove the deprecated macros. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104396 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:18:08 +00:00
gerv%gerv.net
3821428085 License changes, take 2. Bug 98089. mozilla/editor/.
git-svn-id: svn://10.0.0.236/trunk@103757 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:53:13 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
sfraser%netscape.com
c5d0cf3e92 Fix some URMs and warnings in editor code, sr=kin, no bug.
git-svn-id: svn://10.0.0.236/trunk@93706 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 23:19:29 +00:00
mjudge%netscape.com
77323a8468 66318 r= kin, sr=kin tested by ducarozz ,phil chofmann approved..changing APIS to be idl so we can use in embedding land... lots of string changes too to nsAStrings
git-svn-id: svn://10.0.0.236/trunk@91610 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-07 00:45:26 +00:00
cmanske%netscape.com
a6c3260a9b Make setting doc title undoable (add SetDocumentTitle transaction) b=60129, add export to text file, b=51798, some interface param changes to table editing methods as part of embedding work (b=66300). r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@88017 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 22:02:58 +00:00
sfraser%netscape.com
4e7e05789b Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin
git-svn-id: svn://10.0.0.236/trunk@84675 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:47:02 +00:00
akkana%netscape.com
0eff955ec3 Split plaintext methods off into nsIPlaintextEditor API. sr=sfraser, r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@82714 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 00:25:31 +00:00
mjudge%netscape.com
2fc6190bef small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
jfrancis%netscape.com
6340d3a57b fixes for 45608, 51398, 51591; r=cmanske
git-svn-id: svn://10.0.0.236/trunk@79084 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:59:19 +00:00
anthonyd%netscape.com
f4c17f81ff fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe


git-svn-id: svn://10.0.0.236/trunk@77040 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:54:30 +00:00
cmanske%netscape.com
d916040dae Table editing work. b=20973, r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@73607 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 00:37:12 +00:00
cmanske%netscape.com
f9998d03b6 Added 'Split Cell' and fixed initialization of 'Join Cells' in table menu. Added stubs for 'Split Cell'
git-svn-id: svn://10.0.0.236/trunk@68273 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 22:32:24 +00:00
mjudge%netscape.com
aacbb20c68 massive change to stop the editor fromknowing about nsIPresShell or nsIDocument
git-svn-id: svn://10.0.0.236/trunk@67485 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:20:36 +00:00
akkana%netscape.com
35155abf7c 35814: add clipboard type to editor paste methods, and call the right type
git-svn-id: svn://10.0.0.236/trunk@66040 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:38:21 +00:00
cmanske%netscape.com
1d0728c1b0 Show/hide paragraph marks (b=22181) and cleaned up style sheet code. 3-D shading fixed for HLine props (b=26841). Toolbar button spaces (b=12514). New color picker button and other conversions to new XUL widgets in dialogs. Optimizations in table editing. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@64695 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:18:29 +00:00
akkana%netscape.com
ebe5e797da 30311: add a plain-vs-html flag to InsertAsCitedQuotation. r=rhp
git-svn-id: svn://10.0.0.236/trunk@63485 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 23:13:25 +00:00
rickg%netscape.com
65135726ce landing phase 2 to remove deprecated string calls
git-svn-id: svn://10.0.0.236/trunk@62718 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:10:07 +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
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
sspitzer%netscape.com
239e103aad make it so -chrome <chrome url> does the right thing.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@60054 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 03:12:39 +00:00
sspitzer%netscape.com
9590786254 more changes to get everyone using my arbitrary command line handling.
removing "calendar" from the appearance pref panel, there is no calendar in
5.0.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@60015 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:11:13 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
akkana%netscape.com
5bf44a084f 22655: add API to allow specifying charset when inserting/quoting html. r=rhp
16015: Add API and implementation for delete-to-beginning (^U). r=slamm,rhp
490: Insert formatting newlines when inserting new nodes. r=rhp


git-svn-id: svn://10.0.0.236/trunk@56743 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 20:38:12 +00:00
kin%netscape.com
c36783f984 Changed write string for "paragraphFormat" to "SetParagraphFormat()"
to get log playback working again.
r=buster@netscape.com,cmanske@netscape.com  a=don@netscape.com


git-svn-id: svn://10.0.0.236/trunk@56393 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 19:44:00 +00:00
jfrancis%netscape.com
edba5add24 fix for 20457: deletion in editor pretty darn screwy. Lots of changes to improve this. Document modifying entry points in editor now go thru a standard sandwich, which allows tracking of what changed in the doc, which allows proper post-processing of what changed. Also, all deletions now go thru the rules code, if applicable. Also some bugs in tracking the changed document portion have been fixed. Finally selection setting after a delete is improved.
git-svn-id: svn://10.0.0.236/trunk@55568 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 08:30:19 +00:00
akkana%netscape.com
bcb564f007 19610: Change InsertAsQuotation API to return inserted node r=rhp
git-svn-id: svn://10.0.0.236/trunk@54423 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 20:48:59 +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
cmanske%netscape.com
3054ed7de9 Fixed bugs 6278, 9758, 17014, 17071, 17160. r=sfraser,mjudge
git-svn-id: svn://10.0.0.236/trunk@51910 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 23:13:00 +00:00
cmanske%netscape.com
1347e8f244 Fixed bugs 16204, 16118, 15831,15448,14342(partial) r=mjudge
git-svn-id: svn://10.0.0.236/trunk@50627 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 00:13:27 +00:00
jfrancis%netscape.com
0209785bbb revised rules system api to include "handled" parameter and ceased to overload the meaning of the "cancel" parameter; added TypedText() method to editor, editorshell, and logging, so that logging will work properly with typing; coallesce deletions for undo purposes r=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@49999 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 19:34:09 +00:00
kin%netscape.com
9b2fac6c81 Removed unused static ISupports IID.
git-svn-id: svn://10.0.0.236/trunk@45156 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 14:50:36 +00:00
bienvenu%netscape.com
48177e48a8 fix more spankage bustage
git-svn-id: svn://10.0.0.236/trunk@44464 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 06:26:42 +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