166 Commits

Author SHA1 Message Date
cmanske%netscape.com
c828e574cc Fixed object properties bug 39649. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@70791 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 03:34:20 +00:00
ftang%netscape.com
b3452ffa86 Change the default charset of the containviewer when we set the document charset of
the nsEditorShell. fix bug 38322


git-svn-id: svn://10.0.0.236/trunk@70193 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:09:40 +00:00
cmanske%netscape.com
db806b4238 Fixed Composer taskbar buttons. Changed Editorshell mouse listener so editorshell controls action, allowing selection of elements in All Tags mode with single click. Improved isCommandEnabled for Split cell command
git-svn-id: svn://10.0.0.236/trunk@69997 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:33:51 +00:00
cmanske%netscape.com
8803273a98 Table editing: Join and Split cells (part of bug 20973)
git-svn-id: svn://10.0.0.236/trunk@69728 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 03:06:29 +00:00
anthonyd%netscape.com
c0177aa6b1 changed nsIDOMWindow* mContentWindow to a
nsWeakPtr mContentWindow to get around complexities with ~nsEditorShell


git-svn-id: svn://10.0.0.236/trunk@69639 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 05:27:17 +00:00
cmanske%netscape.com
40262764bc Fixed SetBackgroundColor to remove 'bgcolor' when appropriate. Changed prompt for Title to use new string messages
git-svn-id: svn://10.0.0.236/trunk@69317 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 02:37:33 +00:00
cmanske%netscape.com
a9dda20849 Switch to using 'editor.js' instead of 'EditorCommands.js', Removed obsolete methods in editor.js, Removed unnecessary code in editorshell.
git-svn-id: svn://10.0.0.236/trunk@69037 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:56:30 +00:00
cmanske%netscape.com
6eede096f5 Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@68913 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:03:41 +00:00
sfraser%netscape.com
3d40a4cc67 Get rid of the redundant command state saving methods, and amalgamate the code that deals with multiple reloads into one method.
git-svn-id: svn://10.0.0.236/trunk@68458 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:19:08 +00:00
kin%netscape.com
5d6c2dec76 Fixed spellchecker recheck bug.
mozilla/editor/base/nsEditorShell.cpp
mozilla/editor/idl/nsIEditorSpellCheck.idl

    - Modified StartSpellChecking() so that it no longer calls
      NextMisspelledWord().
    - Renamed Start/CloseSpellChecking() to Init/UninitSpellChecker().
    - Changed prototype of GetCurrentDictionary() in the idl file.
    - Replaced all references of NS_SPELLCHECKER_CID with NS_SPELLCHECKER_PROGID.

mozilla/editor/txtsvc/public/nsISpellChecker.h

    - Added NS_SPELLCHECKER_PROGID.

mozilla/editor/txtsvc/public/nsTextServicesCID.h

    - Removed NS_SPELLCHECKER_CID.

mozilla/editor/ui/composer/content/ComposerCommands.js

    - Replaced all calls to  Start/CloseSpellChecking() with
      Init/UninitSpellChecker().
    - We now call GetNextMisspelledWord() after initing the spellchecker.

mozilla/editor/ui/dialogs/content/EdSpellCheck.js

    - Dialog now assumes the spellchecker language has been set before the
      dialog is invoked.
    - Fixed Recheck() so that it now sets the language.


git-svn-id: svn://10.0.0.236/trunk@68398 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 14:58:43 +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
kin%netscape.com
4285edb03b Added spellchecker support for different dictionaries/languages:
mozilla\editor\base\nsEditorShell.cpp
    mozilla\editor\idl\nsIEditorSpellCheck.idl
    mozilla\editor\txtsvc\public\nsISpellChecker.h

      - Added GetDictionaryList() and Get/SetCurrentDictionary() methods.

    mozilla\editor\ui\dialogs\content\EdDialogCommon.js

      - Added AppendValueAndDataToMenulist() function.

    mozilla\editor\ui\dialogs\content\EdSpellCheck.xul

      - We now import strres.js.

    mozilla\editor\ui\dialogs\content\EdSpellCheck.js

      - Added InitLanguageMenu().


git-svn-id: svn://10.0.0.236/trunk@68236 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:37:56 +00:00
cmanske%netscape.com
140f858dfd HTML Soure editor is working. Tweaked some dialog xul. Removed some unused stuff from EditorCommands.js
git-svn-id: svn://10.0.0.236/trunk@68234 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:02:03 +00:00
mjudge%netscape.com
447ac72532 massive change to prepare for ender-lite. should be a no-op for current implementation
git-svn-id: svn://10.0.0.236/trunk@68218 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 08:33:48 +00:00
sfraser%netscape.com
5f7584275a Change the Find interface to use an nsIDOMWindow instead of a webshell, for better scriptability.
git-svn-id: svn://10.0.0.236/trunk@68016 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:24:16 +00:00
sfraser%netscape.com
77e1854d70 Fix for bug 37898 -- can't type in editor, msg and IM compose. r=kin, a=leaf
git-svn-id: svn://10.0.0.236/trunk@67915 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 21:46:23 +00:00
cmanske%netscape.com
5eed0d89a9 Set focus when page is done loading. Fixed labels for menus and toolbars. Replaced 'vertical-align' with 'valign' for box alignment. Changed strings for Edit Modes. Unload style sheets when loading a url into existing window
git-svn-id: svn://10.0.0.236/trunk@67836 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:24:11 +00:00
sfraser%netscape.com
e1c3f451ab Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions.
git-svn-id: svn://10.0.0.236/trunk@67740 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:49:52 +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
cmanske%netscape.com
e196258f67 Fixed Composer bugs 287475, 36937, 36981, 36996. More massive XUL skin conversion.
git-svn-id: svn://10.0.0.236/trunk@67482 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 05:59:16 +00:00
mjudge%netscape.com
24b8f29c46 ender lite checkin.
git-svn-id: svn://10.0.0.236/trunk@67387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:37:12 +00:00
akkana%netscape.com
b2aefd93c7 Change Save File APIs in layout and editor to eliminate the specific
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.


git-svn-id: svn://10.0.0.236/trunk@67155 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:00:50 +00:00
cmanske%netscape.com
74d942f798 Fixed setting title bug 36179, lots of xul rewrite, e.g., replaced all 'align' on box with 'orient', using <tree> for simple lists. Added 'Insert Chars' feature by bakibon@yahoo.com
git-svn-id: svn://10.0.0.236/trunk@66718 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:55:54 +00:00
scc%netscape.com
96a031fd50 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66666 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 06:56:47 +00:00
akkana%netscape.com
0e6558edd8 6276: Add wrapping support for mail.
git-svn-id: svn://10.0.0.236/trunk@66579 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:45:54 +00:00
akkana%netscape.com
eb9b9e717d 29794: Disable meta-refresh in editor pages.
API and some implementation for 6276: rewrap.


git-svn-id: svn://10.0.0.236/trunk@66336 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:39:10 +00:00
scc%netscape.com
4f0c5e3591 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66273 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 07:44:58 +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
akkana%netscape.com
e1b81d1397 29794: tell docshell to disable meta-refresh
git-svn-id: svn://10.0.0.236/trunk@66005 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:19:44 +00:00
cmanske%netscape.com
d2540f15c6 Lots and lots of bug fixes and XUL widget conversions. Work in progress, but must checkin to allow XPFE to fix bugs
git-svn-id: svn://10.0.0.236/trunk@65942 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 03:19:31 +00:00
jfrancis%netscape.com
86d514b5e7 Wrote RemoveAllInlineProperties() to deal with clearing out inline style, and also fixed a bunch of IME bugs.
git-svn-id: svn://10.0.0.236/trunk@65879 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:50:19 +00:00
tbogard%aol.net
733b054319 Changed nsEditorShell to hold on to docShells instead of webShells. Changed a number of places to use nsIDocShell instead of nsIWebShell. Removed the hold on a nsIWebShellWindow as no one should ever hold onto that.
git-svn-id: svn://10.0.0.236/trunk@65621 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:48:14 +00:00
cmanske%netscape.com
20170b35d2 Fixed spell checker bug 34479. r=akkana, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65402 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 01:17:54 +00:00
cmanske%netscape.com
1919711158 Fixed window title bug (28591), spell check done notification (28152), validate param range in dialogs (33027), converted to using nsIFilePicker in dialogs, other skinability fixes. r=mjudge,jfrancis
git-svn-id: svn://10.0.0.236/trunk@65193 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 14:51:26 +00:00
sfraser%netscape.com
21bcdf8ac8 Fix bustage. NS_IMETHODIMP and nsresult don't mix on windows.
git-svn-id: svn://10.0.0.236/trunk@65122 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:43:32 +00:00
sfraser%netscape.com
ce3113a37e Fix for 14599 -- detect attempt to edit frameset. a=akkana
git-svn-id: svn://10.0.0.236/trunk@65109 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:06:25 +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
sfraser%netscape.com
81c26cdf28 Work in progress for bug 14599 -- handle loading frameset docs. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@64671 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 02:13:00 +00:00
norris%netscape.com
eac4ea696c Fix bug 7264 All JavaScript running with correct principals
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@64317 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:59:46 +00:00
akkana%netscape.com
418dacce26 9266: Disable JS in the editor (and allow for disabling it anywhere). r=brendan,jband,norris,sfraser
git-svn-id: svn://10.0.0.236/trunk@64271 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 00:15:56 +00:00
scc%netscape.com
99d2180703 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64174 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 11:39:08 +00:00
cmanske%netscape.com
eeee4b8742 Fixed window title bug 30100, removed debug code in table editing. r=brade
git-svn-id: svn://10.0.0.236/trunk@64094 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 02:41:19 +00:00
norris%netscape.com
953def32a1 Fix
32088 Circumventing Same Origin security policy using javascript: URLs
        32040 about: can't be link
Also remove deprecated method
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@64066 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 22:15:37 +00:00
cmanske%netscape.com
f86529f366 Finished implementation of menu-driven table selection. Implemented detection of row or column selection. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63551 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:05:24 +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
brade%netscape.com
ca46902629 fix memory leaks in GetString functions; written by sfraser; built by jst and brade
git-svn-id: svn://10.0.0.236/trunk@63460 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-20 15:44:32 +00:00
brade%netscape.com
cdccba167a bug #25396; don't use title for default page name if it's a remote file with a file name (r=jst@netscape.com)
git-svn-id: svn://10.0.0.236/trunk@63293 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 15:27:05 +00:00
cmanske%netscape.com
a8fcf6d5b7 Removed tableselection listener -- all selection now done in layout. Also added more table selection support for row, col from menu. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63202 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:45:41 +00:00
tbogard%aol.net
58b8ec5773 Converted to talk in terms of the docShell APIs intead of the old webShell ones where possible. HanldeUnknownContentType is no longer a part of the nsIDocumentLoaderObserver interface.
git-svn-id: svn://10.0.0.236/trunk@62583 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 01:00:48 +00:00
cmanske%netscape.com
20dc5d7d4b Fixed bad message dialog title, PDT+ bug 28294. r=akkana
git-svn-id: svn://10.0.0.236/trunk@61340 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 01:53:59 +00:00