Граф коммитов

1171 Коммитов

Автор SHA1 Сообщение Дата
jfrancis%netscape.com 338a1b0aeb fix for 41369: editor backspace crashes or loses data when at the beginning of text that has multiple br's before it. (dogfood+) r=sfraser; a=beppe 2000-06-10 02:25:50 +00:00
mjudge%netscape.com 4d8ea6168b cleaning up 34896 ender-lite with saari's review. 2000-06-09 21:13:03 +00:00
shanjian%netscape.com 5ca3f53ba7 #39726 typo in IMETextTxn.cpp
r=ftang a=waterson
2000-06-08 23:40:31 +00:00
brade%netscape.com fa8e2b58fc drag within editor implemented; r=kin; a=beppe; bug#6255 2000-06-08 14:47:29 +00:00
kin%netscape.com 6790b4afdd Fix for bugs:
41605 Crash doing editor.js:EditorShutdown() when doing File->close
  41734 Applying Override StyleSheet causes Editor crash.

Added missing NS_IF_ADDREF in GetSelectedElement().

r=jfrancis@netscape.com  a=beppe@netscape.com
2000-06-08 14:45:12 +00:00
mjudge%netscape.com 334756250b regression fix. my bad. changing editor code to have some duplicate code from nsSelection to output the whole document. r=donm a=donm regression ect. 2000-06-07 22:44:52 +00:00
mjudge%netscape.com 9703a755f8 bug=34896 changing use of CreateElement to CreateElementNS. this was necessary outside of ender-lite also. good change. r=jfrancis a=beppe 2000-06-07 01:18:12 +00:00
cmanske%netscape.com 946b869f76 Fix for 41034 - new list submenu command support for doing DL lists. r=sfraser, a=beppe 2000-06-05 20:26:40 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
jfrancis%netscape.com e93fa5fecf backend work for 41034: getting format feedback and list feedback untangled from each other. 2000-06-02 07:47:53 +00:00
jfrancis%netscape.com 08769b0013 fixes 41075: forward delete can delete wrong char, 41149: incorrect format feedback when in lists 2000-06-02 06:03:46 +00:00
sspitzer%netscape.com 1d1c974367 turn off mjudge's printf for everyone but mjudge 2000-06-01 23:04:46 +00:00
mjudge%netscape.com 6a340adf28 fixing caret usages. hiding caret now is done by giving the stack destructor a caret * not a presshell 2000-06-01 02:38:13 +00:00
kin%netscape.com 82849412ce Fix for bug #36935: [i18n] Textwidget doesn't scroll when non-7-bit-ascii chars
Made ScrollSelectionIntoView() a static function and called it from HandleText().
    editor/base/nsEditorEventListeners.cpp
    editor/base/nsEditorEventListeners.h

r=jfrancis@netscape.com  a=beppe@netscape.com
2000-05-31 03:18:05 +00:00
akkana%netscape.com 313130d552 36559: run selection batching earlier in DeleteSelection, now that
the fix for 38713 allows it, so that deleting the selection doesn't
cause an autocopy. r=jfrancis a=beppe
2000-05-31 00:03:02 +00:00
sfraser%netscape.com 2b5984adae Fix nsbeta2+ bug 28973 -- only allow editing of text/html and text/plain files. r=jfrancis 2000-05-26 23:42:25 +00:00
sfraser%netscape.com c2ea91a9df Fix for 14768 -- turn off animated GIFs in editor. r=pnunn a=beppe 2000-05-25 21:50:46 +00:00
cmanske%netscape.com 517e9ae89d Fixed object properties bug 39649. r=sfraser 2000-05-25 03:34:20 +00:00
jfrancis%netscape.com 18688d3585 fixing unix nsCOMPtr usage 2000-05-24 23:59:45 +00:00
jfrancis%netscape.com 512565acef fixes: 14753, 29843, 39864, 40141, 40139, 36679, 39542, 34729, 34855, 37216, 39292, 26447 r=sfraser,cmanske,fm; a=beppe 2000-05-24 23:38:07 +00:00
jfrancis%netscape.com f8789832b8 fixes: 14753, 29843, 39864, 40141, 40139, 36679, 39542, 34729, 34855, 37216, 39292, 26447 r=sfraser,cmanske,fm; a=beppe 2000-05-24 23:00:24 +00:00
cmanske%netscape.com 3ca51295e3 Fixed infinite loop in Join Table Cell, bug 30606, r=akkana, a=chofmann 2000-05-18 21:02:10 +00:00
cmanske%netscape.com 0cac01227f Last tweak of the night to Split Table Cell 2000-05-17 06:47:34 +00:00
cls%seawood.org a8000b8bb5 Mass replace of -lmozjs with $(MOZ_JS_LIBS) needed for OS/2 and consistency. 2000-05-17 06:45:45 +00:00
cmanske%netscape.com 07234c7763 Fixed another edge case in Split Cell when lots of columns have rowspan > 1 2000-05-17 06:23:55 +00:00
cmanske%netscape.com 7020903b71 Fixed problems when spliting a cell that has both rowspan > 1 and colospan > 1, part of bug 20973 2000-05-17 04:58:34 +00:00
cmanske%netscape.com 2780e53fa4 Implemented Split Table Cell, part of bug 20973 2000-05-17 03:21:17 +00:00
pavlov%netscape.com 803190ad4b changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
jst%netscape.com 930a889eb7 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value. 2000-05-17 00:21:53 +00:00
ftang%netscape.com 5f8f73c8d0 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
rods%netscape.com 0516e9165c DD&D now checks for readonly and disabled
b 38773
2000-05-16 21:57:06 +00:00
brade%netscape.com 9e0f23802d enable drop of more types 2000-05-16 14:53:43 +00:00
joki%netscape.com a743e2b38b Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
cmanske%netscape.com 44d6a93dee 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
jfrancis%netscape.com fb3be33e0c fixing list toolbar button updating... 2000-05-15 11:50:49 +00:00
mjudge%netscape.com 0e61917f36 no point in turning off the link handler if we are allready in text only mode. 2000-05-15 05:18:45 +00:00
cmanske%netscape.com ef2ee30b83 Another tweak to table editing 2000-05-15 04:39:27 +00:00
cmanske%netscape.com 7d5d83345c Shoud return NS_EDITOR_ELEMENT_NOT_FOUND from GetFirstSelectedCellInTable if cell not found 2000-05-15 04:29:10 +00:00
cmanske%netscape.com bf15afa2b3 Table editing: Join and Split cells (part of bug 20973) 2000-05-15 03:06:29 +00:00
anthonyd%netscape.com 2b8f661639 adding weak ptr support to EditorShellMouseListener 2000-05-14 05:52:56 +00:00
anthonyd%netscape.com 415649ffb7 changed nsIDOMWindow* mContentWindow to a
nsWeakPtr mContentWindow to get around complexities with ~nsEditorShell
2000-05-14 05:27:17 +00:00
mjudge%netscape.com 32eba0ac36 writing out from content start using domseelction 2000-05-13 08:04:29 +00:00
jfrancis%netscape.com f9cbdf9698 fix for 38991: making lists screwed up 2000-05-12 23:43:50 +00:00
brade%netscape.com de866a32ba allow drop of files into Composer (create image or link as appropriate) 2000-05-12 14:57:03 +00:00
cmanske%netscape.com 66180a846b Fixed SetBackgroundColor to remove 'bgcolor' when appropriate. Changed prompt for Title to use new string messages 2000-05-12 02:37:33 +00:00
mjudge%netscape.com e1ad6bd23a changes to add hidden attribute on selection. also to make setcaret go through the selection controller 2000-05-11 04:22:32 +00:00
cmanske%netscape.com ba93f893eb 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
cmanske%netscape.com 0aa739ecd5 Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser 2000-05-09 23:03:41 +00:00
cmanske%netscape.com a3d9e11ec5 Adding new mouse listener for EditorShell. r=sfraser (not used yet) 2000-05-09 22:11:19 +00:00
jfrancis%netscape.com 658fa56fa3 editor embedding work; fixing bug with making lists 2000-05-09 21:06:49 +00:00
jfrancis%netscape.com bd8b43e4c5 fix for 30759, plaintext paste as quotation creates ubercaret 2000-05-08 07:50:57 +00:00
mjudge%netscape.com 693b7801f1 we get selection controller not from pres shell. we get it from GetSelectionController 2000-05-08 04:01:26 +00:00
jfrancis%netscape.com 307b8fbcc5 fixed bug where undo could cause extra break nodes; fixed bug 37845: plaintext gets clutered with empty text nodes; fixed bug where toolbar style feedback was wrong after typing a return. 2000-05-07 01:33:42 +00:00
sfraser%netscape.com 1ebf5439a6 Big command tidyup. Make the distinction between editor and composer command clearer, and remove vestiges of the old singleton composer command manager. Also tidy up command node state attribute code. 2000-05-05 23:20:21 +00:00
sfraser%netscape.com f9a3a34695 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
sfraser%netscape.com a8340dd50e Get rid of the redundant command state saving methods. 2000-05-05 23:18:15 +00:00
jfrancis%netscape.com eb2ab3d2ee rest of fix for bug 30763 2000-05-05 21:57:58 +00:00
jfrancis%netscape.com 04915ae284 splitting mail cites in replies now gives you the caret where you want it. 2000-05-05 21:22:09 +00:00
jfrancis%netscape.com b109f8dbd6 fixing bugs with paste; making paste not inherit local inline stlyes 2000-05-05 20:42:36 +00:00
kin%netscape.com c4f863915d 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
jfrancis%netscape.com 26e457e4fd fix for 29320; deletion putting caret in wrong table cell 2000-05-04 23:54:00 +00:00
cmanske%netscape.com 7237e38781 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
kin%netscape.com 9a62a21851 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
cmanske%netscape.com fdced22104 Replace GetBodyElement with GetRootElement to fix bustage 2000-05-04 14:32:07 +00:00
cmanske%netscape.com 3403bfda38 HTML Soure editor is working. Tweaked some dialog xul. Removed some unused stuff from EditorCommands.js 2000-05-04 14:02:03 +00:00
mjudge%netscape.com e08e0cd08f merge error. my fault. fix 2000-05-04 09:32:40 +00:00
mjudge%netscape.com ebafd36182 massive change to prepare for ender-lite. should be a no-op for current implementation 2000-05-04 08:33:48 +00:00
akkana%netscape.com afedd3f559 Fix warnings 2000-05-03 23:42:25 +00:00
akkana%netscape.com 19c96db73d Restoring one of Joe's fixes, apparently lost in a CVS merge in the last checkin 2000-05-03 23:38:36 +00:00
akkana%netscape.com acb1acede5 37560: convert platform to dom newlines before inserting html. r=cmanske 2000-05-03 21:18:23 +00:00
sfraser%netscape.com fe26596791 Ensure that the style buttons update as soon as you press them, so that the button reflects the type-in state properly. 2000-05-03 05:13:59 +00:00
dprice%netscape.com 4feedc9725 fixing 37980, r=mjudge 2000-05-03 03:11:23 +00:00
sfraser%netscape.com 57998fc84b Change the Find interface to use an nsIDOMWindow instead of a webshell, for better scriptability. 2000-05-03 02:24:16 +00:00
jfrancis%netscape.com 509b944592 partial fix for bug 30763 2000-05-03 01:34:34 +00:00
jfrancis%netscape.com f6251ee4f7 implementing list behavior spec, plus a few bug fixes 2000-05-03 00:14:28 +00:00
jfrancis%netscape.com 64c1b28325 First Checked In. 2000-05-03 00:09:13 +00:00
sfraser%netscape.com 80719a03c9 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
cmanske%netscape.com 003a94051d 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
sfraser%netscape.com 11026f1bf5 Fix the case of nsHash*t*able.h include. 2000-05-01 22:11:22 +00:00
sfraser%netscape.com 035965297d 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
sfraser%netscape.com 7703837d15 Add nsComposerCommands.cpp 2000-05-01 21:38:31 +00:00
sfraser%netscape.com bdc2737942 Adding ComposerCommands.js 2000-05-01 21:38:11 +00:00
sfraser%netscape.com 288d009794 First Checked In. 2000-05-01 21:37:38 +00:00
anthonyd%netscape.com ad6918e77a r: mjudge
disabled selection (grey selection) excludes input fields now.
2000-04-30 18:55:13 +00:00
cmanske%netscape.com 457644b039 Fixed bug 37029, strip <body> from head output string. Last checkin fixed bug 36681: put last-modified date in Page Properties 2000-04-28 23:39:27 +00:00
mjudge%netscape.com 67a72ebc1e massive change to stop the editor fromknowing about nsIPresShell or nsIDocument 2000-04-28 06:20:36 +00:00
cmanske%netscape.com e78e6fbae6 Fixed Composer bugs 287475, 36937, 36981, 36996. More massive XUL skin conversion. 2000-04-28 05:59:16 +00:00
mjudge%netscape.com 2c0953e1be ender lite checkin. 2000-04-27 07:37:12 +00:00
akkana%netscape.com 5709d8739f 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
brade%netscape.com e6b4111fd7 for DragDrop, call InsertFromDrop which will handle the drop for the appropriate flavors (as paste if appropriate) 2000-04-25 14:15:33 +00:00
brade%netscape.com 59f3e13cf7 factored paste so drop could use the common code; added InsertFromDrop, InsertFromTransferable, PrepareTransferable; r/tested=akkana; tested=jst 2000-04-25 14:15:04 +00:00
brade%netscape.com 7b4cdb0bf5 add methods for InsertFromDrop, PrepareTransferable, InsertFromTransferable; r=akkana 2000-04-25 14:14:48 +00:00
jfrancis%netscape.com c207f78168 lots of improvements to block transformations: 1) looks inside inlines for breaks; 2) fixes the "extra break when unlisting" bug 3) changing paragraph style to normal consistently gets breaks 4) any splitting needed occurs when blocks inserted plus a lot of small bug fixes 2000-04-24 11:51:12 +00:00
cmanske%netscape.com 390af1fcc3 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 2000-04-21 14:55:54 +00:00
scc%netscape.com bb0ce46710 making string conversions explicit 2000-04-21 09:33:45 +00:00
scc%netscape.com 8d5a2627d8 making string conversions explicit 2000-04-21 06:56:47 +00:00
sfraser%netscape.com d15d319675 Fix frameset detection. An additional Notify() method was not hooked up properly. 2000-04-21 00:50:04 +00:00
anthonyd%netscape.com 815b66f915 drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge 2000-04-20 23:11:41 +00:00
akkana%netscape.com c2c750f37e 6276: Add wrapping support for mail. 2000-04-20 22:45:54 +00:00
akkana%netscape.com fc94fffa54 Wrapping code, useful for citers and perhaps other code 2000-04-20 22:32:56 +00:00