165 Commits

Author SHA1 Message Date
seawood%netscape.com
f8f86e7f05 Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt


git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
rods%netscape.com
3f0a190da8 Implement filters for spellchecker, so we can skip certain nodes (like Block Quote "cite") for mail
Bug 173046 r=jfrancis sr=kin a=asa


git-svn-id: svn://10.0.0.236/trunk@135030 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 15:03:04 +00:00
cmanske%netscape.com
a4776ceb5a Added command to notify when document url changes. b=181091, r=akkana, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@134507 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-27 00:35:09 +00:00
cmanske%netscape.com
55f4416773 Final removal of 'editorShell' and associated files. b=169029, r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@133910 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 15:36:44 +00:00
cmanske%netscape.com
a64dcd2981 Remove editorShell from Composer app. b=169029, r=akkana, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@133700 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 22:52:55 +00:00
akkana%netscape.com
da26e1e4b2 168999: Make nsEditorSpellCheck an independant object instead of part of editorshell. r=brade sr=kin a=asa
git-svn-id: svn://10.0.0.236/trunk@131845 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 23:46:57 +00:00
akkana%netscape.com
1cd9257122 161143: Add new method InsertTextWithQuotes, and call it from Rewrap. r=brade,jfrancis sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@131455 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 20:24:23 +00:00
cmanske%netscape.com
b5d60d857b Implemented command and Composer UI for 'Paste Without Formatting' command. b=64647, r=mjudge, sr=darin
git-svn-id: svn://10.0.0.236/trunk@131252 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 01:23:18 +00:00
cmanske%netscape.com
d658944797 Remove editorShell from main Composer window. b=169026, r=brade, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@131056 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 04:07:10 +00:00
bryner%netscape.com
1c65aed91b Add a configure option to disable building composer (bug 170136). Move handling of the -composer command-line option from libeditor/base/ to composer/src/. Remove unused nsIEditorService interface. r=seawood, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@130850 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 00:16:51 +00:00
brade%netscape.com
ea9ef5da9e bug 121648; remove unused portions of editorshell; r=glazou, sr=kin
git-svn-id: svn://10.0.0.236/trunk@130796 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 13:51:58 +00:00
akkana%netscape.com
10d9953c1b 169308: Make nsIEditorLogging scriptable: a couple of nicities suggested by Kin. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@130452 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 23:34:04 +00:00
akkana%netscape.com
de546ddbb7 169308: Make nsIEditorLogging scriptable. r=brade sr=kin
git-svn-id: svn://10.0.0.236/trunk@130450 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 23:29:40 +00:00
cmanske%netscape.com
7b1780cf51 Progress on removing editorShell from Composer: fixed controller and command problems and mimetype and 'documentEditable' to editor interfaces, b=169029, r=brade, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@129937 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 19:42:38 +00:00
glazman%netscape.com
2f30b4784e fixes several bugs at once:
could not revert to HTML attributes default value,
VALIGN attribute on table elements was not CSSized,
page colors of new documents were not CSSized,
bad design in |nsEditor::CloneAttributes()|,
new image width/height/border attributes were not CSSized,
error in EdTableProps.js

b=167712, b=167716, r=brade, r=jfrancis, sr=kin


git-svn-id: svn://10.0.0.236/trunk@129785 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 12:04:59 +00:00
akkana%netscape.com
a2c8efc800 124265: make nsIEditorStyleSheet more scriptable. Fix is partly me r=cmanske, partly cmanske r=me; all is sr=alecf
git-svn-id: svn://10.0.0.236/trunk@129543 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 19:47:38 +00:00
cmanske%netscape.com
8198a66a34 Fixed table row deletion and reorganized nsITableEditor methods. b=166922, r=akkana, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@129491 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 04:19:30 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
mjudge%netscape.com
2210006d15 r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled.
git-svn-id: svn://10.0.0.236/trunk@125242 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 22:04:13 +00:00
akkana%netscape.com
edb0a778de 126312: Remove the obsolete old find code. r=brade, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@124870 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 20:24:37 +00:00
kin%netscape.com
fa152a3def Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/content/base/public/nsISelectionController.idl
  mozilla/content/base/src/nsSelection.cpp
  mozilla/editor/composer/src/nsEditorShell.cpp
  mozilla/editor/idl/nsIPlaintextEditor.idl
  mozilla/editor/libeditor/base/nsEditor.cpp
  mozilla/editor/libeditor/base/nsEditor.h
  mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
  mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
  mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
  mozilla/editor/ui/dialogs/content/EdTableProps.js
  mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
  mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
  mozilla/layout/base/public/nsIFrameSelection.h
  mozilla/layout/html/base/src/nsPresShell.cpp
  mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
  mozilla/mailnews/compose/src/nsMsgCompose.cpp
  mozilla/xpfe/browser/resources/content/viewPartialSource.js

    - Added aIsSynchronous arg to the ScrollSelectionIntoView()
      method of nsISelectionController and nsIFrameSelection.
      Updated all callers to pass new arg.

    - Modified selection to post a plevent to call which does the
      call to ScrollIntoView() in the async ScrollIntoView() case.

    - Edits in text widgets now use asynchronous reflow, paint,
      and scroll processing full time.

    - Removed redundant ScrollSelectionIntoView() calls in the
      editor event listeners.

    - Editor IME code now forced to flush reflows and paints before
      getting caret coordinates.

r=jfrancis@netscape.com  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@123236 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:35:12 +00:00
brade%netscape.com
ad9370a32e remove checkOpenWindowForURLMatch (now in JS, editorApplicationOverlay.js) bug 104908, r=cmanske, sr=hewitt, a=asa, adt=jaime
git-svn-id: svn://10.0.0.236/trunk@118319 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 00:47:21 +00:00
akkana%netscape.com
e752937005 131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa
git-svn-id: svn://10.0.0.236/trunk@117419 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 22:39:19 +00:00
dbaron%fas.harvard.edu
7e18e96015 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@117344 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:16:54 +00:00
cmanske%netscape.com
4c87049c94 Moved mouse listener from EditorShell to HTMLEditor but keep previous context click and doubleclick element selection behavior. b=112181 & 128836, r=akkana, sr=sfraser, a=asa
git-svn-id: svn://10.0.0.236/trunk@116754 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 20:39:16 +00:00
glazman%netscape.com
b231f8945d It was impossible to set the background color of a table thru TableOrCell Background Color menu item.
b=127723, r=jfrancis, r=cmanske, sr=kin, a=asa


git-svn-id: svn://10.0.0.236/trunk@116645 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 15:33:29 +00:00
akkana%netscape.com
1f0b47ba2b 128903: Clean up the editor IDL, and anyone who uses them. r=brade,cmanske,ducarroz (for mail); sr=sfraser; a=dbaron
git-svn-id: svn://10.0.0.236/trunk@116581 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 22:11:14 +00:00
glazman%netscape.com
f05f35f548 Adding noCSS flag to nsHTMLEditor; b=bugscape11956, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@113704 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 15:16:14 +00:00
glazman%netscape.com
d5dadcf26c inline styles were not saved because gElement was outside of document's tree; b=91548, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@113041 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 16:00:12 +00:00
glazman%netscape.com
0c8e360445 move CSS in Composer stuff from nsEditorShell to nsHTMLEditor; b=121081, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@112853 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 10:20:11 +00:00
glazman%netscape.com
2a28453859 remove CSSisms from nsEditor; b=121092, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@112852 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 10:16:52 +00:00
brade%netscape.com
17c52c2c78 remove SaveDocument from the API; use nsIWebBrowserPersist instead
git-svn-id: svn://10.0.0.236/trunk@112092 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:33:18 +00:00
glazman%netscape.com
5124d29644 CSS in Composer, step 1 ; b=77705, r=jfrancis, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@111660 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 13:51:37 +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
brade%netscape.com
ef3b773299 implement modification count in editor; bug 112008, sr=smfr, r=akk
git-svn-id: svn://10.0.0.236/trunk@110158 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 15:23:11 +00:00
cmanske%netscape.com
3bbac1e159 Remove nsIEditorShell::Init(), b=110763, r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@109840 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 15:11:50 +00:00
brade%netscape.com
c79bdc933a allow scripting of methods with no parameters (bug #112008, r=akkana, sr=sfraser)
git-svn-id: svn://10.0.0.236/trunk@109201 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 10:05:36 +00:00
brade%netscape.com
443c97021c remove unused methods; r=cmanske; sr=kin (bug #107636)
git-svn-id: svn://10.0.0.236/trunk@108999 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 13:59:57 +00:00
brade%netscape.com
72504499ae add doAfterSave and isSupportedTextType so they can be called from JS (bug #107636 r=kin; sr=sfraser)
git-svn-id: svn://10.0.0.236/trunk@108569 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-20 09:54:01 +00:00
brade%netscape.com
9b3010eb38 nsIFile->nsIURI in SaveDocument api (bug #104883)
git-svn-id: svn://10.0.0.236/trunk@106964 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:26:34 +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
cmanske%netscape.com
c95183a711 Remove dialog utilities from editor c++ and nsIEditorShell interface (use nsIPromptService from JS instead). b=96649, r=brade, r=kin/sfraser, a=asa
git-svn-id: svn://10.0.0.236/trunk@101767 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 19:47:46 +00:00
akkana%netscape.com
58153259b6 54726: Add link to W3C Validator
90550: Need to rewrite URLs for publishing and for save as
91388: Link checker, Work in progress (doesn't work yet)
r=brade, sr=kin


git-svn-id: svn://10.0.0.236/trunk@100531 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 21:39:07 +00:00
akkana%netscape.com
956d2c2579 Adding html URI ref object to the build. r=brade sr=kin. Work in progress.
git-svn-id: svn://10.0.0.236/trunk@100525 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 21:12:08 +00:00
kin%netscape.com
77ed534011 Fix for bug #93109: Orphaned #endif's in IDLs crashes xpidl during build
Removed bogus #endif statements in:

    mozilla/editor/idl/nsIEditorIMESupport.idl
    mozilla/editor/idl/nsITableEditor.idl
    mozilla/editor/txmgr/idl/nsITransactionManager.idl

sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@100227 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 20:34:54 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
sfraser%netscape.com
a73f7efd19 Fix for bugs 23943, 47640 and 63515. Teach editor to handle plain text, and other text file types (including XUL, XML, JS etc), and, in the process, make the commands be smarter about disabling in text mode, and HTML source mode. r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@95377 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 06:42:37 +00:00
kin%netscape.com
9af54696aa Fix for bug #79177: nsIEditorShell editor property should not be [noscript]
Removed the [noscript] notation on the editor attribute.

    editor/idl/nsIEditorShell.idl

r/sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@94655 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 13:59:45 +00:00