198 Commits

Author SHA1 Message Date
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
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
ftang%netscape.com
08d32fdd8b fix 51432. r=cata while we set the document charset, we also set the force charset so it
will stronger than the charset in the cache.


git-svn-id: svn://10.0.0.236/trunk@78563 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:23:36 +00:00
vidur%netscape.com
b10d4adc57 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
cmanske%netscape.com
9e35a8ec8a Finished HTML Source editing problems with title tag (41869), split table crash (50791), filename problems (48631). r=akkana, fixed NS_LITERAL_STRING usages in nsHTMLEditor for performance (26384), r=scc
git-svn-id: svn://10.0.0.236/trunk@77667 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 22:49:08 +00:00
cmanske%netscape.com
213ac26628 nsbeta3 bug fixes: HTML source now working (50034, 41869), copy cell color after split (45279), truncate file url at '#' (48631). r=sfraser, kin
git-svn-id: svn://10.0.0.236/trunk@77572 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 02:44:08 +00:00
akkana%netscape.com
98e3352cf6 23485: make it possible for urlbar to go to urls spanning multiple lines. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@77375 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:15:03 +00:00
cmanske%netscape.com
54a0de7538 Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis
git-svn-id: svn://10.0.0.236/trunk@76920 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:29:24 +00:00
scc%mozilla.org
9e28a8b643 fixing code that relied on implicit string construction; note that |NS_LITERAL_STRING| does not produce an |nsString|, it produces something that is a |nsAReadableString|. Many functions still take |nsString&| arguments, and so |NS_LITERAL_STRING| is not appropriate in calling them, yet.
git-svn-id: svn://10.0.0.236/trunk@76734 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 00:34:08 +00:00
jfrancis%netscape.com
691e87aa2b groundwork for 44684: adding a "GetAlignment" call to the editor so that ui can reflect alignment of selection
git-svn-id: svn://10.0.0.236/trunk@76274 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 12:07:10 +00:00
sfraser%netscape.com
b2984ba0ab Part of fix for 47855 -- don't show title prompt when saving from mail or plaintext. r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@76175 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 00:16:10 +00:00
cmanske%netscape.com
aa6f5ab8c7 Restrict nsEditorShellMouseListener to HTML editor; fix to optimize GetSelectedNode for named anchors, b=47687, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@76092 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 04:59:37 +00:00
cmanske%netscape.com
f3cfdd30aa Big UI fix checkin continued - same bugs as last checkin. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@75959 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 03:43:09 +00:00
anthonyd%netscape.com
81c7739c51 checkins for Hurricane
translation of all C++ functions to JS which included SaveDocument
which eventually will allow for the completeion of autosave
r: brade, anthonyd
a: waterson, cmanske


git-svn-id: svn://10.0.0.236/trunk@75726 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-07 21:12:18 +00:00
brade%netscape.com
870b8893ac remove unused function
git-svn-id: svn://10.0.0.236/trunk@74946 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 21:48:06 +00:00
mjudge%netscape.com
1f23cf0495 anthonyd: r=mjudge bug 39919 letting DOM level 2 stuff work for the editor. eliminating createelementNS and using the factory instead.
git-svn-id: svn://10.0.0.236/trunk@74199 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:15:41 +00:00
mcafee%netscape.com
b3d537adfc Backing out last change to fix linux bustage. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@74070 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 01:47:00 +00:00
cmanske%netscape.com
e22e9309a7 Tweaked previous fix -- sfraser suggested a more efficient fix
git-svn-id: svn://10.0.0.236/trunk@74065 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 01:05:35 +00:00
cmanske%netscape.com
4a40e3830c Fixed build bustage for linux (why can't Linus do NS_LITERAL_STRING correctly!)
git-svn-id: svn://10.0.0.236/trunk@74064 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 01:00:58 +00:00
cmanske%netscape.com
fbb8adfdad Finishing table editing+dialog work (b=20973, r=jfrancis), and disabling commands when in HTML Source mode (b=38875, r=sfraser)
git-svn-id: svn://10.0.0.236/trunk@74050 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:41:22 +00:00
ftang%netscape.com
b852b1dc76 fix 40739 (dup as 45048. the fix is in 45048)
Change do_QueryInterface to do_QueryReference for mContenWindow for SetDocumentCharacterSet
method.


git-svn-id: svn://10.0.0.236/trunk@74001 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 07:50:00 +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
dougt%netscape.com
5a016c0fee Change nsIDOMXULDocument --> nsIDOMDocument
bug 43424
r=akkana@netscape.com
a=phil@netscape.com ?


git-svn-id: svn://10.0.0.236/trunk@73140 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 01:29:58 +00:00
cmanske%netscape.com
301d82ee01 Checkin for sfraser: Fix document-load listener to work when loading URL into an existing Composer window. b=41584, r=cmanske
git-svn-id: svn://10.0.0.236/trunk@72885 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:24:42 +00:00
danm%netscape.com
2972eb8e6e tracking change of name of window.content to _content. (bug 33650) r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72857 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:48:45 +00:00
cmanske%netscape.com
7d50f98cd8 Fixed list command problems: bug 41735, r=brade
git-svn-id: svn://10.0.0.236/trunk@72383 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:21:46 +00:00
cmanske%netscape.com
68affc7086 Optimized stylesheet code to not enable/disable unecessarily, avoiding extra reflows. For bug 40767, r=akkana
git-svn-id: svn://10.0.0.236/trunk@72310 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 14:17:13 +00:00
cmanske%netscape.com
949e725655 New method for table editing (b=20973, r=jfrancis); Use nsIStyleSheet::SetEnable() for editmode stylesheets instead of removing and reloading -- necessary for bug 40767. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@72189 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 04:58:29 +00:00
cmanske%netscape.com
4d9e22e63c Fix for 41034 - new list submenu command support for doing DL lists. r=sfraser, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71542 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 20:26:40 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
sfraser%netscape.com
1151deaeba Fix nsbeta2+ bug 28973 -- only allow editing of text/html and text/plain files. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@70969 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:42:25 +00:00
sfraser%netscape.com
4c5ce96ff3 Fix for 14768 -- turn off animated GIFs in editor. r=pnunn a=beppe
git-svn-id: svn://10.0.0.236/trunk@70864 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 21:50:46 +00:00
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