Commit Graph

243 Commits

Author SHA1 Message Date
anthonyd%netscape.com
562e4bc652 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
cmanske%netscape.com
15901d9765 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
cmanske%netscape.com
e50d57138a Table editing work. b=20973, r=jfrancis 2000-07-01 00:37:12 +00:00
cmanske%netscape.com
9436731bbb Simple comment change for clarity relating to table editing. b=20973, r=jfrancis 2000-06-22 03:09:19 +00:00
cmanske%netscape.com
7519eedb3d Part of table dialog work: new method needed to convert to TH from TD and vice versa. b=20973. r=jfrancis 2000-06-14 04:59:50 +00:00
cmanske%netscape.com
0d7f94d904 Part of fix for bug 41034, new methods to return block state(e.g., list) info. r=sfraser, a=beppe 2000-06-05 20:25:57 +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
cmanske%netscape.com
bf15afa2b3 Table editing: Join and Split cells (part of bug 20973) 2000-05-15 03:06:29 +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
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
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
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
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
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
cmanske%netscape.com
e78e6fbae6 Fixed Composer bugs 287475, 36937, 36981, 36996. More massive XUL skin conversion. 2000-04-28 05:59:16 +00:00
akkana%netscape.com
c2c750f37e 6276: Add wrapping support for mail. 2000-04-20 22:45:54 +00:00
akkana%netscape.com
b16cf77faa 29794: Disable meta-refresh in editor pages.
API and some implementation for 6276: rewrap.
2000-04-18 22:39:10 +00:00
akkana%netscape.com
b92f151eba 35814: add clipboard type to editor paste methods, and call the right type 2000-04-14 23:38:21 +00:00
cmanske%netscape.com
55e2ac48d1 Lots and lots of bug fixes and XUL widget conversions. Work in progress, but must checkin to allow XPFE to fix bugs 2000-04-14 03:19:31 +00:00
cmanske%netscape.com
fc8ad1658c Fixed spell checker bug 34479. r=akkana, a=leaf 2000-04-06 01:17:54 +00:00
cmanske%netscape.com
9a9c1a24e8 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 2000-03-31 04:18:29 +00:00
cmanske%netscape.com
901944bd23 Finished implementation of menu-driven table selection. Implemented detection of row or column selection. r=mjudge 2000-03-21 06:05:24 +00:00
akkana%netscape.com
4038b1da98 30311: add a plain-vs-html flag to InsertAsCitedQuotation. r=rhp 2000-03-20 23:13:25 +00:00
cmanske%netscape.com
235ce19d67 Removed tableselection listener -- all selection now done in layout. Also added more table selection support for row, col from menu. r=mjudge 2000-03-16 23:45:41 +00:00
sspitzer%netscape.com
b50f24a71b move the nsICmdLineHandler responsibilties from nsHTMLEditorLog to nsEditorService. r=sfraser 2000-02-16 03:14:20 +00:00
sspitzer%netscape.com
901a6ea5f1 not part of the build, yet. 2000-02-16 02:21:30 +00:00
cmanske%netscape.com
afecaab477 Table editing work (bug 20973). Fixed background colorpicker (bug 21410), disable unimplemented menu items (25137), make property bundle strings more localizable (26050). r=mjudge 2000-02-10 05:14:52 +00:00
cmanske%netscape.com
894a83b297 More table editing work (bug 20973) and Page Properies dialog work (bug 14344). Added missing 'tbody' to nsIAtoms list. r=mjudge 2000-02-03 02:06:10 +00:00
cmanske%netscape.com
1a85d5b775 Table editing (bug 20973): added support for rowspan/colspan=0, Rewrote Spelling Dictionary dialog (bug 24264), removed beep from forceInteger filter, r=akkana 2000-01-26 14:57:43 +00:00
cmanske%netscape.com
e70eaf046f Table editing work and fixed bug 21389, r=buster. Added detecting table, row, or cell for setting background color, bug 7992, r=kin. Renamed overloaded GetDocumentTitle to GetDocumentTitleString and set new URL of saved page in webshell, bug 23726, r=mjudge 2000-01-13 23:33:00 +00:00
akkana%netscape.com
0b23aa43ac 22655: add API to allow specifying charset when inserting/quoting html. r=rhp
16015: Add API and implementation for delete-to-beginning (^U). r=slamm,rhp
490: Insert formatting newlines when inserting new nodes. r=rhp
2000-01-04 20:38:12 +00:00
cmanske%netscape.com
6e3e75173d Finished fix for 13695 (r=danm), basic table editing (bug 6256): cpp r=mjudge, related UI work r=brade 1999-12-04 01:46:23 +00:00
brade%netscape.com
0fdea11231 remove unused functions; r=sfraser 1999-12-03 15:18:38 +00:00
akkana%netscape.com
520e982ed0 18033: Editor changes to use the new nsISelectionController interface.
Triggered from key events.  Untested since the nsISelectionController
  implementation isn't in yet (bug 18046), but key events do call
  the stub routines.  r=mjudge
1999-12-02 21:47:30 +00:00
brade%netscape.com
6121ea98e8 remove some unused functions from editor shell (r=jfrancis) 1999-11-30 15:23:46 +00:00
akkana%netscape.com
757b1fce03 18033: Add editor API for delete methods, and hook up an initial
set of emacs key bindings for Unix.  r=jfrancis
1999-11-25 04:11:51 +00:00
akkana%netscape.com
e8544d1c6c 19610: Change InsertAsQuotation API to return inserted node r=rhp 1999-11-24 20:48:59 +00:00
dp%netscape.com
bc95e3bdf7 - Converting to nsGenericModule
- Removed exported NS_New*()
- Using NS_IMPL_ISUPPORTS[0-9]
r=akkanna@netscape.com
1999-11-22 21:03:04 +00:00
cmanske%netscape.com
cade4ed318 Partial fix for 14344(Page Properties) and 18774(Increase/Decrease Font Size). Fixed 18234 (move Advanced Edit button), 18485 (don't prompt for title with Save As), 16714 (undefined value for para. property combobox) and 18494 (add filename to window caption). Improved Image Properties dialog and CSS style for toolbars. Added new Composer icons. r=sfraser 1999-11-13 16:37:58 +00:00
sfraser%netscape.com
114504ab0c Fix for 18525 -- non-scriptable accessor to get at the editor from the editor shell. r=akkana. 1999-11-11 00:58:40 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
davidm%netscape.com
1f0a7ff024 8673 ShutDown() should try to close all open windows. r=sfraser set tryToClose function and proprogate out if the close was sucessfull 1999-11-03 05:28:02 +00:00
cmanske%netscape.com
618ed72e8d Fixed bugs 6278, 9758, 17014, 17071, 17160. r=sfraser,mjudge 1999-10-26 23:13:00 +00:00
cmanske%netscape.com
e7457117e4 Fixed bugs 12515, 16493,16494,16495,16692,16794,most of 9758. Replaced old 'target' icon with interim 'anchor' icon. r=sfraser 1999-10-20 14:15:25 +00:00
cmanske%netscape.com
547ccdf063 Fixed bugs 16316, 16494, 16495, all relating to editor file open, saving, and window title issues. r=law 1999-10-15 22:06:41 +00:00
cmanske%netscape.com
711c0f72c9 Fixed bugs 16204, 16118, 15831,15448,14342(partial) r=mjudge 1999-10-14 00:13:27 +00:00
jfrancis%netscape.com
c412022f4a revised rules system api to include "handled" parameter and ceased to overload the meaning of the "cancel" parameter; added TypedText() method to editor, editorshell, and logging, so that logging will work properly with typing; coallesce deletions for undo purposes r=buster@netscape.com 1999-10-06 19:34:09 +00:00
cmanske%netscape.com
d20641b38c Carpool checkin, r=brade. Lots of editor UI work, including new Advanced Edit dialog by Ben Goodger. Fixed style sheet loading leaks and implemented override style sheets for editor behavior, which be unloaded for edit mode vs. browser preview mode 1999-09-29 21:45:50 +00:00
cmanske%netscape.com
20f2a8bffa More list property dialog work. Remaned GetParagraphStyle to more readable GetParagraphTags. Added GetListTags needed for list manipulation. Enhanced GetElementOrParentByTagName to handle lists 1999-09-22 05:52:44 +00:00
sfraser%netscape.com
7274bfc0ef Added UpdateInterfaceState, to force an update of the UI 1999-09-22 01:19:33 +00:00
briano%netscape.com
40320c9f41 General cleanup. 1999-09-11 01:20:05 +00:00
sfraser%netscape.com
58b73017cb Add DocumentIsEmpty to EditorShell.idl and nsIEditor, and modify length and content getters to do the right thing with an empty document (which contains the bogus text node). 1999-09-08 23:32:04 +00:00
jfrancis%netscape.com
03c6026eb0 implementing RemoveList() - ie, list button now works as a toggle 1999-09-06 19:47:25 +00:00
cmanske%netscape.com
662edc2554 Added CloneAttributes to IDL and nsIHTMLEditor. Reworked property dialogs to accomodate AdvancedEdit dialog. Preliminary version of AdvancedEdit dialog done 1999-09-02 01:47:18 +00:00
cmanske%netscape.com
ba11acdca2 Changed IsNodeBlock to NodeIsBlock for JS. Fixed all compiler warnings. Added Advanced property Edit files 1999-09-01 19:58:25 +00:00
cmanske%netscape.com
dff2ba2d8d Exposed IsNodeBlock for JavaScript. Added comments for editor methods. Temporary fix for insert image bug (12917). Fixed bug 11857. Preliminary support for setting title and adding Cancel button in message dialogs. 1999-09-01 01:22:37 +00:00
cyeh%netscape.com
9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
cmanske%netscape.com
0753653d44 Changed PRBool to boolean in IDL file 1999-08-31 01:13:54 +00:00
cmanske%netscape.com
523b9079f0 Added checking if we need to save file before allowing close window or exit (bug 7615). Added support for Confirm and Alert message dialogs 1999-08-31 00:51:23 +00:00
cmanske%netscape.com
9c2fab8c18 Removed string bundle code from nsEditor into EditorShell and added access for JavaScript. Moved most of Save document code into EditorShell and added filetype filters to save dialog. Placed Advanced Edit functionality in an overly file. Removed redundant entity strings, that are now in overlays, from DTD files. 1999-08-28 02:40:18 +00:00
cmanske%netscape.com
ce2856a9e0 Fixed bug 12126. Removed pref code from nsHTMLEditor - do HLine pref stuff in JS instead. 1999-08-27 04:12:47 +00:00
mccabe%netscape.com
d98f4dca1d First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.
1999-08-21 08:54:47 +00:00
tague%netscape.com
11dad9b8c4 Fix bug #11687 - [Dogfood] Enable ender to save documents in encodings other than ISO-8859-1. Approved by chofmann@netscape.com, reviewed by buster@netscape.com. 1999-08-13 22:26:50 +00:00
cmanske%netscape.com
14bb564bf2 Table editing implementation 1999-08-04 02:06:03 +00:00
sfraser%netscape.com
ce75eec901 Add registering of nsIDocumentStateListeners. 1999-08-03 00:47:40 +00:00
sfraser%netscape.com
7d4914f282 Add nsIDocumentStateListener.idl to the build. 1999-08-03 00:45:19 +00:00
sfraser%netscape.com
64dcd85691 First Checked In. 1999-08-03 00:38:17 +00:00
cmanske%netscape.com
0fef13e963 Fixed lots of XUL (adjust for new titledbutton changes and XPMenus). Added initial table properties support and unit test for nsITableLayout methods. Removed unused InsertLink and InsertImage methods. Added lots of comments for interface methods. 1999-08-01 22:37:58 +00:00
sfraser%netscape.com
c4f75aa177 Added document modified attribute. 1999-07-28 02:53:48 +00:00
cmanske%netscape.com
d54ddc3632 Initial table editing stuff. Removed table editing transactions (use basic node txns). Fixed TrimString JS methods. Fixed setting border in insert table. 1999-07-27 23:59:22 +00:00
akkana%netscape.com
1f9dc3d358 Add GetEmbeddedObjects API to editor shell 1999-07-19 22:36:12 +00:00
cmanske%netscape.com
e433362b49 Finished Personal Dictionary dialog. Added 4th button to generic message dialog. Cleaned up syntax errors for in params for spell checking methods 1999-07-15 14:43:48 +00:00
sfraser%netscape.com
874ba8c8df Added attribute for document modification state 1999-07-14 22:30:55 +00:00
akkana%netscape.com
a3fb11b98f Restructure the editor output routines to allow passing in
a mime type and a flag argument.  Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
      editor is created.
9470, 9488: allow explicit specification of formatted output.
1999-07-14 18:54:29 +00:00
kin%netscape.com
3b5b4d3b48 Added ApplyStyleSheet() method to the various editor interfaces. 1999-07-01 19:32:35 +00:00
akkana%netscape.com
66024861e2 - New dialog and editor shell API for Insert HTML Source
- Add wrapcolumn setting to document encoders, and use it in the editor
- Fix numbered lists in the html to text sink stream.
1999-06-30 19:26:08 +00:00
sfraser%netscape.com
50a54d3f72 Add selectionAsText and selectionAsHTML attributes 1999-06-29 20:13:41 +00:00
kin%netscape.com
b8b6c988f9 Fix for bug #8677: Editor API Logging busted.
Put back include for nsIFileSpec.idl.
1999-06-22 21:36:45 +00:00
mcmullen%netscape.com
8d5d0da8e8 Replaced an include by a forward declaration to speed the build 1999-06-22 03:47:00 +00:00
kin%netscape.com
e3bf912523 * Added StartLogging() and StopLogging() methods to nsIEditor,
nsIHTMLEditor, nsITextEditor, and nsIEditorShell and enabled
  the "Start Log" and "End Log" menu items in the editor test bed.

* Modified makefiles for Unix and Win32 to turn on  Editor API Logging.

* Added action argument to the DeleteSelection() method in nsIEditorShell.

* Modified nsJSTxnLog to use nsJSEditorLog when writing it's output.
1999-06-14 20:02:46 +00:00
tague%netscape.com
50ebaac494 Removed empty export lists from files. This breaks older versions of nmake 1999-06-14 03:49:31 +00:00
cmanske%netscape.com
0e98fa1f0d Horizontal Line dialog and setting/getting hline settings from prefs implemented. Masked effect of bug 8058 by removing popupanchor attribute. 1999-06-12 21:22:12 +00:00
sspitzer%netscape.com
c90553e24b ignore the generated Makefile 1999-06-12 19:23:17 +00:00
sfraser%netscape.com
e59e832a60 File Removed. 1999-06-11 22:45:32 +00:00
sfraser%netscape.com
5d6afccf87 Rename nsISpellCheck to nsIEditorSpellCheck 1999-06-11 22:43:19 +00:00
sfraser%netscape.com
1123cb05e5 First Checked In. 1999-06-11 22:40:44 +00:00
sfraser%netscape.com
3bd652822e More build fixes. 1999-06-11 19:57:05 +00:00
sfraser%netscape.com
501d857319 Fix depth slash 1999-06-11 19:32:13 +00:00
sfraser%netscape.com
e2d945d7e1 Remove return param from InsertElement 1999-06-11 19:03:37 +00:00
sfraser%netscape.com
720eb07f7f Add a new parameter. 1999-06-11 00:04:46 +00:00
sfraser%netscape.com
469b7ffe36 First Checked In. 1999-06-11 00:04:24 +00:00
sfraser%netscape.com
f89448d11d First Checked In. 1999-06-10 19:52:49 +00:00