1105 Commits

Author SHA1 Message Date
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
jfrancis%netscape.com
dc1c4a0f26 fixing unix nsCOMPtr usage
git-svn-id: svn://10.0.0.236/trunk@70773 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:59:45 +00:00
jfrancis%netscape.com
8ce2bf117c fixes:
14753, 29843, 39864, 40141, 
40139, 36679, 39542, 34729, 
34855, 37216, 39292, 26447

r=sfraser,cmanske,fm; a=beppe


git-svn-id: svn://10.0.0.236/trunk@70771 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:38:07 +00:00
jfrancis%netscape.com
ed99ef899d fixes:
14753, 29843, 39864, 40141, 
40139, 36679, 39542, 34729, 
34855, 37216, 39292, 26447

r=sfraser,cmanske,fm; a=beppe


git-svn-id: svn://10.0.0.236/trunk@70759 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:00:24 +00:00
cmanske%netscape.com
77f7ac61c7 Fixed infinite loop in Join Table Cell, bug 30606, r=akkana, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@70468 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:02:10 +00:00
cmanske%netscape.com
0d89d5ecea Last tweak of the night to Split Table Cell
git-svn-id: svn://10.0.0.236/trunk@70361 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:47:34 +00:00
cls%seawood.org
87c20e0328 Mass replace of -lmozjs with $(MOZ_JS_LIBS) needed for OS/2 and consistency.
git-svn-id: svn://10.0.0.236/trunk@70360 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:45:45 +00:00
cmanske%netscape.com
b81ed94ab8 Fixed another edge case in Split Cell when lots of columns have rowspan > 1
git-svn-id: svn://10.0.0.236/trunk@70341 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:23:55 +00:00
cmanske%netscape.com
7b902466de Fixed problems when spliting a cell that has both rowspan > 1 and colospan > 1, part of bug 20973
git-svn-id: svn://10.0.0.236/trunk@70288 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:58:34 +00:00
cmanske%netscape.com
46b34ca1a6 Implemented Split Table Cell, part of bug 20973
git-svn-id: svn://10.0.0.236/trunk@70261 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:21:17 +00:00
pavlov%netscape.com
a0feb91521 changes all usages of NS_NewTimer to CreateInstance
git-svn-id: svn://10.0.0.236/trunk@70249 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:49:35 +00:00
jst%netscape.com
e4d9d527e8 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value.
git-svn-id: svn://10.0.0.236/trunk@70202 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:21:53 +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
rods%netscape.com
a388fb9eb3 DD&D now checks for readonly and disabled
b 38773


git-svn-id: svn://10.0.0.236/trunk@70101 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:57:06 +00:00
brade%netscape.com
e3480b94f9 enable drop of more types
git-svn-id: svn://10.0.0.236/trunk@70056 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 14:53:43 +00:00
joki%netscape.com
ec91adc761 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
git-svn-id: svn://10.0.0.236/trunk@70028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 11:35:12 +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
jfrancis%netscape.com
075f3b1999 fixing list toolbar button updating...
git-svn-id: svn://10.0.0.236/trunk@69775 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 11:50:49 +00:00
mjudge%netscape.com
78cd7564f7 no point in turning off the link handler if we are allready in text only mode.
git-svn-id: svn://10.0.0.236/trunk@69746 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 05:18:45 +00:00
cmanske%netscape.com
97d27f72e7 Another tweak to table editing
git-svn-id: svn://10.0.0.236/trunk@69741 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:39:27 +00:00
cmanske%netscape.com
429c38a08e Shoud return NS_EDITOR_ELEMENT_NOT_FOUND from GetFirstSelectedCellInTable if cell not found
git-svn-id: svn://10.0.0.236/trunk@69740 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:29:10 +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
ec1076707f adding weak ptr support to EditorShellMouseListener
git-svn-id: svn://10.0.0.236/trunk@69646 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 05:52:56 +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
mjudge%netscape.com
1f55bd749b writing out from content start using domseelction
git-svn-id: svn://10.0.0.236/trunk@69537 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:04:29 +00:00
jfrancis%netscape.com
3b0339c1f2 fix for 38991: making lists screwed up
git-svn-id: svn://10.0.0.236/trunk@69482 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:43:50 +00:00
brade%netscape.com
b1dc7bed7a allow drop of files into Composer (create image or link as appropriate)
git-svn-id: svn://10.0.0.236/trunk@69418 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 14:57:03 +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
mjudge%netscape.com
fee885fd3f changes to add hidden attribute on selection. also to make setcaret go through the selection controller
git-svn-id: svn://10.0.0.236/trunk@69174 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:22:32 +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
cmanske%netscape.com
cd1c426499 Adding new mouse listener for EditorShell. r=sfraser (not used yet)
git-svn-id: svn://10.0.0.236/trunk@68900 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:11:19 +00:00
jfrancis%netscape.com
994d0de6a6 editor embedding work; fixing bug with making lists
git-svn-id: svn://10.0.0.236/trunk@68883 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:06:49 +00:00
jfrancis%netscape.com
d3579b5131 fix for 30759, plaintext paste as quotation creates ubercaret
git-svn-id: svn://10.0.0.236/trunk@68653 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:50:57 +00:00
mjudge%netscape.com
f2fb0e21c6 we get selection controller not from pres shell. we get it from GetSelectionController
git-svn-id: svn://10.0.0.236/trunk@68629 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 04:01:26 +00:00
jfrancis%netscape.com
69a8501658 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.
git-svn-id: svn://10.0.0.236/trunk@68563 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 01:33:42 +00:00
sfraser%netscape.com
ce149a6b13 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.
git-svn-id: svn://10.0.0.236/trunk@68459 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:20:21 +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
sfraser%netscape.com
33dc188047 Get rid of the redundant command state saving methods.
git-svn-id: svn://10.0.0.236/trunk@68457 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:18:15 +00:00
jfrancis%netscape.com
5c452edf65 rest of fix for bug 30763
git-svn-id: svn://10.0.0.236/trunk@68435 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:57:58 +00:00
jfrancis%netscape.com
289b75d564 splitting mail cites in replies now gives you the caret where you want it.
git-svn-id: svn://10.0.0.236/trunk@68428 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:22:09 +00:00
jfrancis%netscape.com
ce54ba7bc9 fixing bugs with paste; making paste not inherit local inline stlyes
git-svn-id: svn://10.0.0.236/trunk@68414 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:42:36 +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
jfrancis%netscape.com
70ffe624ce fix for 29320; deletion putting caret in wrong table cell
git-svn-id: svn://10.0.0.236/trunk@68292 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:54:00 +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
eddcbafbde Replace GetBodyElement with GetRootElement to fix bustage
git-svn-id: svn://10.0.0.236/trunk@68235 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:32:07 +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