Commit Graph
194 Commits
Author SHA1 Message Date
[email protected] d4f40cebf0 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 2000-08-30 22:49:08 +00:00
[email protected] 593c144170 nsbeta3 bug fixes: HTML source now working (50034, 41869), copy cell color after split (45279), truncate file url at '#' (48631). r=sfraser, kin 2000-08-30 02:44:08 +00:00
[email protected] 8f347ca810 23485: make it possible for urlbar to go to urls spanning multiple lines. r=jfrancis 2000-08-28 22:15:03 +00:00
[email protected] 2a0add354c Fixed lots of nsbeta3+ bugs: 45756, 47654, 41810,47503,48990, 48995,40204, 42740, 46953, 47646, 47696, 48693, 45899. r=sfraser,jfrancis 2000-08-23 00:29:24 +00:00
[email protected] d839d6302a 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. 2000-08-20 00:34:08 +00:00
[email protected] 8106b3c3c8 groundwork for 44684: adding a "GetAlignment" call to the editor so that ui can reflect alignment of selection 2000-08-14 12:07:10 +00:00
[email protected] b0de3b36b6 Part of fix for 47855 -- don't show title prompt when saving from mail or plaintext. r=ducarroz 2000-08-12 00:16:10 +00:00
[email protected] 9c5cb7425a Restrict nsEditorShellMouseListener to HTML editor; fix to optimize GetSelectedNode for named anchors, b=47687, r=sfraser 2000-08-11 04:59:37 +00:00
[email protected] 824418822b Big UI fix checkin continued - same bugs as last checkin. r=sfraser 2000-08-10 03:43:09 +00:00
[email protected] 44e30c4acf 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
2000-08-07 21:12:18 +00:00
[email protected] f92856ec6e remove unused function 2000-07-27 21:48:06 +00:00
[email protected] cf0ec74544 anthonyd: r=mjudge bug 39919 letting DOM level 2 stuff work for the editor. eliminating createelementNS and using the factory instead. 2000-07-13 23:15:41 +00:00
[email protected] 2e706fea3b Backing out last change to fix linux bustage. r=cmanske 2000-07-12 01:47:00 +00:00
[email protected] 524898309d Tweaked previous fix -- sfraser suggested a more efficient fix 2000-07-12 01:05:35 +00:00
[email protected] 4251aeb97a Fixed build bustage for linux (why can't Linus do NS_LITERAL_STRING correctly!) 2000-07-12 01:00:58 +00:00
[email protected] a1d147ed7c Finishing table editing+dialog work (b=20973, r=jfrancis), and disabling commands when in HTML Source mode (b=38875, r=sfraser) 2000-07-11 23:41:22 +00:00
[email protected] 97d8217e2f fix 40739 (dup as 45048. the fix is in 45048)
Change do_QueryInterface to do_QueryReference for mContenWindow for SetDocumentCharacterSet
method.
2000-07-11 07:50:00 +00:00
[email protected] 41f3021811 Table editing work. b=20973, r=jfrancis 2000-07-01 00:37:12 +00:00
[email protected] 903284e263 Change nsIDOMXULDocument --> nsIDOMDocument
bug 43424
[email protected]
[email protected] ?
2000-06-24 01:29:58 +00:00
[email protected] 81c825ddae Checkin for sfraser: Fix document-load listener to work when loading URL into an existing Composer window. b=41584, r=cmanske 2000-06-22 05:24:42 +00:00
[email protected] e139923a75 tracking change of name of window.content to _content. (bug 33650) r=hyatt 2000-06-22 00:48:45 +00:00
[email protected] e8f1e2f903 Fixed list command problems: bug 41735, r=brade 2000-06-16 14:21:46 +00:00
[email protected] 514f4b88fb Optimized stylesheet code to not enable/disable unecessarily, avoiding extra reflows. For bug 40767, r=akkana 2000-06-15 14:17:13 +00:00
[email protected] fa83d72029 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 2000-06-14 04:58:29 +00:00
[email protected] 53c52f2aa1 Fix for 41034 - new list submenu command support for doing DL lists. r=sfraser, a=beppe 2000-06-05 20:26:40 +00:00
[email protected] 6a06dfc026 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
[email protected] a68d76e451 Fix nsbeta2+ bug 28973 -- only allow editing of text/html and text/plain files. r=jfrancis 2000-05-26 23:42:25 +00:00
[email protected] 0bb7b82a93 Fix for 14768 -- turn off animated GIFs in editor. r=pnunn a=beppe 2000-05-25 21:50:46 +00:00
[email protected] 2a561b438e Fixed object properties bug 39649. r=sfraser 2000-05-25 03:34:20 +00:00
[email protected] 4c20fd9a24 Change the default charset of the containviewer when we set the document charset of
the nsEditorShell. fix bug 38322
2000-05-17 00:09:40 +00:00
[email protected] 11416162eb 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 2000-05-16 05:33:51 +00:00
[email protected] 47c39dabdb Table editing: Join and Split cells (part of bug 20973) 2000-05-15 03:06:29 +00:00
[email protected] 639b0f681b changed nsIDOMWindow* mContentWindow to a
nsWeakPtr mContentWindow to get around complexities with ~nsEditorShell
2000-05-14 05:27:17 +00:00
[email protected] 0187e97592 Fixed SetBackgroundColor to remove 'bgcolor' when appropriate. Changed prompt for Title to use new string messages 2000-05-12 02:37:33 +00:00
[email protected] 2283bea741 Switch to using 'editor.js' instead of 'EditorCommands.js', Removed obsolete methods in editor.js, Removed unnecessary code in editorshell. 2000-05-10 13:56:30 +00:00
[email protected] e70f039b7c Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser 2000-05-09 23:03:41 +00:00
[email protected] 18ddc6779a Get rid of the redundant command state saving methods, and amalgamate the code that deals with multiple reloads into one method. 2000-05-05 23:19:08 +00:00
[email protected] 67f610efca 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.
2000-05-05 14:58:43 +00:00
[email protected] 646bc541af Added 'Split Cell' and fixed initialization of 'Join Cells' in table menu. Added stubs for 'Split Cell' 2000-05-04 22:32:24 +00:00
[email protected] b7b6732b41 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().
2000-05-04 14:37:56 +00:00
[email protected] 5bb0ff386e HTML Soure editor is working. Tweaked some dialog xul. Removed some unused stuff from EditorCommands.js 2000-05-04 14:02:03 +00:00
[email protected] 5a4454305b massive change to prepare for ender-lite. should be a no-op for current implementation 2000-05-04 08:33:48 +00:00
[email protected] 097a90828b Change the Find interface to use an nsIDOMWindow instead of a webshell, for better scriptability. 2000-05-03 02:24:16 +00:00
[email protected] 2cb7eef46b Fix for bug 37898 -- can't type in editor, msg and IM compose. r=kin, a=leaf 2000-05-02 21:46:23 +00:00
[email protected] c68ada8789 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 2000-05-02 03:24:11 +00:00
[email protected] 9dd43fe725 Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions. 2000-05-01 21:49:52 +00:00
[email protected] df1bc44c8e massive change to stop the editor fromknowing about nsIPresShell or nsIDocument 2000-04-28 06:20:36 +00:00
[email protected] b191174714 Fixed Composer bugs 287475, 36937, 36981, 36996. More massive XUL skin conversion. 2000-04-28 05:59:16 +00:00
[email protected] 2e85db0702 ender lite checkin. 2000-04-27 07:37:12 +00:00
[email protected] b45a35fb67 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.
2000-04-26 01:00:50 +00:00