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
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
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
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
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
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
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
ebafd36182
massive change to prepare for ender-lite. should be a no-op for current implementation
2000-05-04 08:33:48 +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
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
f6251ee4f7
implementing list behavior spec, plus a few bug fixes
2000-05-03 00:14:28 +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
288d009794
First Checked In.
2000-05-01 21:37:38 +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
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
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
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
scc%netscape.com
04b44006ee
making string conversions explicit
2000-04-18 07:52:02 +00:00
scc%netscape.com
9ac6c4fb06
making string conversions explicit
2000-04-18 07:44:58 +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
mjudge%netscape.com
b12e881502
fixing another api change on notifyt selection
2000-04-14 23:01:09 +00:00
akkana%netscape.com
9f53106968
29794: tell docshell to disable meta-refresh
2000-04-14 21:19:44 +00:00
mjudge%netscape.com
5c7c4c5c69
changes to api for selection listeners
2000-04-14 11:26:18 +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
jfrancis%netscape.com
0254b96365
Wrote RemoveAllInlineProperties() to deal with clearing out inline style, and also fixed a bunch of IME bugs.
2000-04-13 21:50:19 +00:00
tbogard%aol.net
3090e598d6
Changed nsEditorShell to hold on to docShells instead of webShells. Changed a number of places to use nsIDocShell instead of nsIWebShell. Removed the hold on a nsIWebShellWindow as no one should ever hold onto that.
2000-04-11 23:48:14 +00:00
cmanske%netscape.com
fc8ad1658c
Fixed spell checker bug 34479. r=akkana, a=leaf
2000-04-06 01:17:54 +00:00
sfraser%netscape.com
a0e5da27e2
Minor cleanup, removal of some unused parameters. r=cmanske.
2000-04-05 00:06:53 +00:00
harishd%netscape.com
fffbdc5583
Added the new Notify(), overloaded, method.
...
r=sfraser
2000-04-04 23:59:33 +00:00
cmanske%netscape.com
a70cf9ae17
Fixed window title bug (28591), spell check done notification (28152), validate param range in dialogs (33027), converted to using nsIFilePicker in dialogs, other skinability fixes. r=mjudge,jfrancis
2000-04-04 14:51:26 +00:00
sfraser%netscape.com
70f554bb1e
Fix bustage. NS_IMETHODIMP and nsresult don't mix on windows.
2000-04-04 01:43:32 +00:00
sfraser%netscape.com
2527500a42
Fix for 14599 -- detect attempt to edit frameset. a=akkana
2000-04-04 01:06:25 +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
sfraser%netscape.com
5377b7fb72
Work in progress for bug 14599 -- handle loading frameset docs. r=cmanske
2000-03-31 02:13:00 +00:00
sfraser%netscape.com
b1d5e9188b
Work in progress for frameset detection, bug 14599. r=cmanske
2000-03-31 01:57:28 +00:00
sfraser%netscape.com
bb57e6395c
First Checked In.
2000-03-30 05:19:01 +00:00
norris%netscape.com
4054cc5f8f
Fix bug 7264 All JavaScript running with correct principals
...
r=mstoltz
2000-03-28 03:59:46 +00:00
akkana%netscape.com
1b96eaa6ca
9266: Disable JS in the editor (and allow for disabling it anywhere). r=brendan,jband,norris,sfraser
2000-03-28 00:15:56 +00:00
scc%netscape.com
fd8de8008f
small changes to clients of string converting APIs
2000-03-26 11:39:08 +00:00
cmanske%netscape.com
32ef3a8757
Fixed window title bug 30100, removed debug code in table editing. r=brade
2000-03-25 02:41:19 +00:00
norris%netscape.com
4eb52aa84b
Fix
...
32088 Circumventing Same Origin security policy using javascript: URLs
32040 about: can't be link
Also remove deprecated method
r=mstoltz
2000-03-24 22:15:37 +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
brade%netscape.com
afaebe1532
fix memory leaks in GetString functions; written by sfraser; built by jst and brade
2000-03-20 15:44:32 +00:00
brade%netscape.com
82b4b27e89
bug #25396 ; don't use title for default page name if it's a remote file with a file name (r=jst@netscape.com)
2000-03-17 15:27:05 +00:00
sfraser%netscape.com
3044e9a3f6
Fix for 30301 -- don't waste time trying to update non-existent XUL nodes. r=akkana
2000-03-17 01:59:10 +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
tbogard%aol.net
04645ac524
Use the XPIDL generated macro to declare the methods for nsIDocumentLoaderObserver interface.
2000-03-11 01:01:39 +00:00
tbogard%aol.net
23282f97e8
Converted to talk in terms of the docShell APIs intead of the old webShell ones where possible. HanldeUnknownContentType is no longer a part of the nsIDocumentLoaderObserver interface.
2000-03-11 01:00:48 +00:00
sfraser%netscape.com
5fae71c9f2
Fix for 30894 -- crash closing compose window while loading reply. r=buster, bienvenu, akkana, a=jar
2000-03-09 22:20:56 +00:00
sfraser%netscape.com
fdca7c332f
Fix for the solaris compiler; I need to include nsITimer.h. r=brade
2000-03-04 00:33:15 +00:00
sfraser%netscape.com
d86d156a86
Fix for 29737 -- selecting is slow in large files in composer. r=mjudge, akkana, a=jar.
2000-03-03 23:35:11 +00:00
cmanske%netscape.com
7eeef2c51f
Fixed bad message dialog title, PDT+ bug 28294. r=akkana
2000-02-19 01:53:59 +00:00
sfraser%netscape.com
6be7a2a662
Register the interface state maintainer as a transaction listener, for bug 18395. r=pinkerton
2000-02-16 01:38:02 +00:00
cmanske%netscape.com
770a137b12
Added Page Properties (26889) and Page Colors dialogs (14344), removed debug menu only in release (27237), link dialog fixes (27308), lots of dialog rewrite to use titledbox instead of fieldset, rewrote insert table dialog to use boxes. Changed font size to use CSS strings, not <font size> for ui, but other bugs prevented inserting spans for size. Other small bug fixes. r=brade.
2000-02-15 15:54:05 +00:00
cmanske%netscape.com
98cbc65454
Fixed color picker bug 27293. Initial checkin of new Color Properties dialog. Added images to show span and div tags. r=mjudge
2000-02-11 01:26:03 +00:00
tbogard%aol.net
be6967c591
Removed unused forward declaration of class nsIBrowserWindow.
2000-02-11 01:11:37 +00:00
tbogard%aol.net
022cfdcc29
Removed unused include file.
2000-02-11 01:10:55 +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
mjudge%netscape.com
b32999a1de
big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
2000-02-10 04:35:51 +00:00
tbogard%aol.net
840c8350e1
GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur
2000-02-08 13:40:10 +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
jfrancis%netscape.com
395f325b0c
more inline style feedback fixes (24574). r=sfraser
2000-02-02 22:47:43 +00:00
jfrancis%netscape.com
f91098d0f6
make selection sticky across undo/redo (24573);
get bold/italic/underline toolbar feedback working (24574);
fix for 24856: unable to unbold text;
fix for 24572: cant get selection between split lists
2000-01-31 10:30:12 +00:00
dcone%netscape.com
e6d4980d54
put the revised print command.
2000-01-26 16:01:40 +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
sfraser%netscape.com
a37b31dc09
WIP for 18395, various editor command handling and updating changes. r=akkana
2000-01-18 21:50:15 +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
pp%ludusdesign.com
698852a4f4
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , r=scc@netscape.com
2000-01-11 20:49:15 +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
rpotts%netscape.com
af4f9c2189
Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad.
1999-12-29 07:32:59 +00:00
tbogard%aol.net
9230d33f83
Changed to talk to webshell using the nsIBaseWindow where appropriate.
1999-12-17 23:44:43 +00:00
mjudge%netscape.com
c8e34eada6
adding in nsEditorController to makesystem. adding in registration to allow someone to get an editorcontroller from the outside. also change editor shell to register a controller to handle keyboard navigation.
1999-12-15 03:46:27 +00:00
jfrancis%netscape.com
167f9c0b74
fix for 20457: deletion in editor pretty darn screwy. Lots of changes to improve this. Document modifying entry points in editor now go thru a standard sandwich, which allows tracking of what changed in the doc, which allows proper post-processing of what changed. Also, all deletions now go thru the rules code, if applicable. Also some bugs in tracking the changed document portion have been fixed. Finally selection setting after a delete is improved.
1999-12-07 08:30:19 +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
vidur%netscape.com
1cf2db67a5
For bug 17325. Changed signature of css loader methods. R=nisheeth.
1999-12-04 01:29:18 +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
warren%netscape.com
2db26922a6
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
1999-11-30 04:50:42 +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
a05042a39a
Fixed bug 19000: Assertion editing remote file. Fixed warning. r=sfraser
1999-11-22 14:52:21 +00:00
buster%netscape.com
93551f1751
moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
...
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
cmanske%netscape.com
1d625cd307
A better fix for Mac build bustage
1999-11-13 19:27:59 +00:00
cmanske%netscape.com
c4e0e74770
Fixing Mac build bustage
1999-11-13 19:18:37 +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
sfraser%netscape.com
a2518d9e91
Fix warnings, bug 15588. r=ducarroz
1999-11-11 00:24:18 +00:00
sfraser%netscape.com
65e1138c65
Fix 16653 and 18496 -- assert on non-local Edit Page, and avoid opening a second composer window for a file that is already open. r=cmanske
1999-11-11 00:12:23 +00:00
akkana%netscape.com
afdcc43559
Fix mEditorType, which wasn't being set before. r=sfraser
1999-11-10 23:40:38 +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
a941d68b6e
Fixed bugs 17098, 17808, and a lot of UI cleanup. Rewrote Image Properties dialog so More/Fewer works and layout is better. Moved image URLs from DTD to CSS files. r=brade
1999-11-03 00:48:26 +00:00
cls%seawood.org
bee74e223b
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
brendan%mozilla.org
f81d5969c6
(13163, r=alecf, scc, waterson, others; names available on request)
...
- Fix most of bug 13163 (see TODO for rest). This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks.
- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp. These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that.
- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString. Also changed various nsresult vars to be named rv. Also restored brace/style conformity to nsJSProtocolHandler.cpp.
- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject.
- Lots of nsCOMPtr uses added. I'm using one for mNameSpaceManager. Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak). These two managers should be moved to the window object -- TODO item below.
- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver.
- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated. This meant factoring nsJSUtils.cpp code.
- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace.
- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
cmanske%netscape.com
43ebeb6bf4
Fixed Composer UI to adjust to latest global CSS changes. Mostly needed to add appropriate class to titled buttons. Change editorshell to stop throbber animation even if editor fails to initialize. r=sfraser
1999-10-29 22:33:34 +00:00
cmanske%netscape.com
fd1c22fa70
Added 'Throbber' to Composer - more UI adjustments for new skin. Tweaked new toolbar images. r=sfraser
1999-10-29 02:33:51 +00:00
law%netscape.com
0cad04fe42
Bug #14999 , removing last vestiges of app core usage; r=sfraser@netscape.com
1999-10-28 01:39:33 +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
law%netscape.com
2a8b8116b8
Bug #14999 ; stop using toolkit app core; r=sfraser@netscape.com
1999-10-18 21:39:18 +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
buster%netscape.com
1a165ddf9b
fixed my part of bug 15814 (Cleanup build warnings)
...
so trivial, no reviewer needed
fixed my part of bug 5403 (Services improperly released: Use NS_WITH_SERVICE)
a handful of subtle error handling bugs were fixed as a side effect
r=Akkana
1999-10-08 14:39:20 +00:00
buster%netscape.com
7a638a9c93
fixed some space leaks reported by kipp. no bug #, r=tague
...
added some assertions and error checking to nsEditor::Do, no bug #, r=kin
fixed bug 14898 (implemented type-in state for any context), r=jfrancis
1999-10-06 20:27:41 +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
65729a4047
Added do_QueryInterface to fix build bustage for Linux
1999-09-29 23:33:45 +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
sfraser%netscape.com
ccc067210c
Fix for bug 14640 -- unregister the selection listener when we get more than one reload in the editor. coded buster, r sfraser, a leaf.
1999-09-23 23:46:23 +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
8f9b391882
Some utility methods, and added ForceUpdate.
1999-09-22 01:22:35 +00:00
sfraser%netscape.com
0e5bf09301
Implement UpdateInterfaceState
1999-09-22 01:20:24 +00:00
tao%netscape.com
73ba28b5e7
Move editor.properties from content/ to locale/,
1999-09-21 06:30:03 +00:00
cmanske%netscape.com
133758b3d7
Editor bug fixes. List Properties dialog work. Fixed menu access keys in DTD file. Fixed using selection->Clear() cases
1999-09-21 01:36:30 +00:00
mccabe%netscape.com
4f7990cd94
Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
...
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage. Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes. (This could mean blackwood; sorry, guys!)
Many thanks to Alec Flett (alecf@netscape.com ) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu ) and Mike Shaver (shaver@mozilla.org ) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.
Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
davidm%netscape.com
dbe724cae8
Change the call to shutdown to a call to quit.
1999-09-18 00:29:01 +00:00
sfraser%netscape.com
c61cbeb9f9
Fix the double reload problem in the editor, which fixes bug 14045 and maybe others.
1999-09-16 23:54:08 +00:00
cmanske%netscape.com
2b5e3f6367
Put loading of EditorContent.css within an if DEBUG_cmanske 'cause it prevents initial reflow and others will complain!
1999-09-15 01:12:58 +00:00
cmanske%netscape.com
05fbeb1c7a
Fixed bug 8806 - printing from editor
1999-09-15 01:10:10 +00:00
sfraser%netscape.com
e435677c81
Use nsAutoStrings where appropriate
1999-09-14 23:40:16 +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
4587d375b0
oops, missed a case....
1999-09-08 19:10:13 +00:00
jfrancis%netscape.com
a1b4df9f01
fixing case sensitivity problem
1999-09-08 18:49:01 +00:00
jfrancis%netscape.com
986f1f5a40
making special mail-compose editing rules accessible to mail
1999-09-08 06:26:53 +00:00
cmanske%netscape.com
98348e0f04
Fixed bug 13164 preventing Open from working in editor
1999-09-07 19:08:24 +00:00
jfrancis%netscape.com
03c6026eb0
implementing RemoveList() - ie, list button now works as a toggle
1999-09-06 19:47:25 +00:00
bruce%cybersight.com
7c0a2d27b9
Use nsCRT::free() instead of delete[] for char* data.
1999-09-06 06:22:51 +00:00
cls%seawood.org
e9f8777444
Fix for the AIX build which claims 'Operand of "&" operator must be an lvalue.'
1999-09-03 09:04:31 +00:00
cmanske%netscape.com
599b54720b
Added 'Cancel' to editor save file Confirm dialog and changed to accomodate common dialog interface changes
1999-09-03 01:23:19 +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
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
sfraser%netscape.com
a538567632
Changed to use command nodes in XUL, with lots of XUL tidy-up (detabbing etc).
1999-08-26 03:22:03 +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
sfraser%netscape.com
669553a80b
Fix the list buttons to show state.
1999-08-10 23:16:43 +00:00
sfraser%netscape.com
d73dfd8ddb
Landing editor API changes. Removed nsITextEditor and nsTextEditor, split interfaces into more, non-overlapping interfaces, and other general cleanup.
1999-08-09 01:37:50 +00:00
valeski%netscape.com
0efb259cfa
api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
...
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).
1999-08-05 01:28:30 +00:00
cmanske%netscape.com
14bb564bf2
Table editing implementation
1999-08-04 02:06:03 +00:00
sfraser%netscape.com
bbeffd28f0
Fix the document state listener mechanism so that you can install listeners after the editor has been created, and still get their 'document creation' notification called.
1999-08-03 06:53:45 +00:00
sfraser%netscape.com
9f6733aa0f
Support for pre-registering nsIDocumentStateListeners before the editor is created.
1999-08-03 00:57:57 +00:00
sfraser%netscape.com
110dd0fc95
Updated for nsIDocumentStateListener interface
1999-08-03 00:57:23 +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
akkana%netscape.com
f7081dc5da
Fix compile warning
1999-07-30 23:37:57 +00:00
sfraser%netscape.com
972a6948be
Support for UI state maintenance, for styles, and the document dirty flag.
1999-07-28 02:54:35 +00:00
sfraser%netscape.com
351c71d179
First Checked In.
1999-07-28 02:49:12 +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
danm%netscape.com
25c2d9c6ad
hooking up window OS border control from JS/C++
1999-07-27 06:34:25 +00:00
cmanske%netscape.com
16ff2d941c
Fixed bugs relating to insert element
1999-07-23 00:52:17 +00:00
akkana%netscape.com
1f9dc3d358
Add GetEmbeddedObjects API to editor shell
1999-07-19 22:36:12 +00:00
warren%netscape.com
84bd74a4fd
Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
1999-07-16 11:14:36 +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
7a2849e934
Tidy up the ctor, add a method for getting the document dirty state, and handle multiple loadURLs in the editor content window.
1999-07-14 22:30:39 +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
cmanske%netscape.com
f85acd993e
Generic message dialog, fix insert element-related bugs, initial personal dictionary dialog, other editor bugs
1999-07-14 15:24:33 +00:00
kin%netscape.com
3b5b4d3b48
Added ApplyStyleSheet() method to the various editor interfaces.
1999-07-01 19:32:35 +00:00
warren%netscape.com
bd73f68e8b
Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
1999-07-01 19:30:20 +00:00
akkana%netscape.com
8afa44f109
Oops, making wrapcolumn unsigned was a mistake. (Thanks to slamm's
...
warnings page for showing me that!) Change it back to signed.
1999-07-01 19:01:04 +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
90131e6812
Call the Output routines with a new param for selection only.
1999-06-29 20:14:58 +00:00
valeski%netscape.com
75e16c007f
NECKO build. pushed the appropriate NECKO apis down into the editor shell from nsIDocumentLoaderObserver.
1999-06-28 13:01:55 +00:00
warren%netscape.com
fbc735f510
Last of the necko ifdefs. Now we link with necko.
1999-06-28 10:35:57 +00:00
danm%netscape.com
582ad47b3f
teach RunModalDialog to use extant windows; use one in NetSupportDialog (fixes bug 7858). remove AppShellService interface references
1999-06-24 03:29:22 +00:00
warren%netscape.com
1f76168d21
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00
sfraser%netscape.com
9a9b1a9b44
Clean up the editorShell, fixing some leaks, and removing old appCore-related cruft.
1999-06-19 22:13:46 +00:00
sfraser%netscape.com
7e56fb870f
Fix for 6345 - opening local files in editor. r kin, a leaf.
1999-06-16 21:05:08 +00:00
radha%netscape.com
0e09812639
New arguments for OnEndDocumentLoad()
1999-06-14 22:13: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
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
bruce%cybersight.com
fdd462c57a
This file depends directly upon nsFileSpec .. with an upcoming checkin, that include may not be happening in one of the files currently included here, so we best include it here directly.
1999-06-12 20:40:29 +00:00
sfraser%netscape.com
5d6afccf87
Rename nsISpellCheck to nsIEditorSpellCheck
1999-06-11 22:43:19 +00:00
sfraser%netscape.com
a0940f1f65
Remove obsolete includes
1999-06-11 19:49:05 +00:00
sfraser%netscape.com
995c5f30d9
Various minor changes to synch with others
1999-06-11 18:57:33 +00:00
sfraser%netscape.com
d7aa6cb4f6
First Checked In.
1999-06-10 23:50:26 +00:00