Commit Graph

517 Commits

Author SHA1 Message Date
brade%netscape.com
8403b92e85 handle utf8 font names bug 201233; patch by taka, r=brade, sr=jag 2003-04-18 13:12:13 +00:00
kin%netscape.com
1358474efa Fix for bugzilla 91131(Cannot spellcheck selection)
First pass implementation of spellcheck selection feature:

  editor/composer/src/nsEditorSpellCheck.cpp
  editor/idl/nsIEditorSpellCheck.idl
  editor/txtsvc/public/nsITextServicesDocument.h
  editor/txtsvc/src/Makefile.in
  editor/txtsvc/src/nsTextServicesDocument.cpp
  editor/txtsvc/src/nsTextServicesDocument.h
  editor/ui/composer/content/ComposerCommands.js
  editor/ui/dialogs/content/EdSpellCheck.js
  mailnews/compose/resources/content/MsgComposeCommands.js

r=jfrancis@netscape.com,brade@netscape.com  sr=sfraser@netscape.com
2003-04-17 14:29:08 +00:00
brade%netscape.com
7ecf62dc84 add document commands for toggling image animation/plugins, clearing undo stack; r/sr=sfraser (patch in bug 195506) 2003-04-15 13:53:51 +00:00
sfraser%netscape.com
f78fc1b8d8 Appease the Windows __stdcall gods. Bug 201257. 2003-04-10 20:45:17 +00:00
sfraser%netscape.com
abe53e192f Fix bug 201257 -- clean up use of nsIControllerCommandManager by editor:
Renaming nsIControllerCommandManager to nsIControllerCommandTable to reduce confusion.
Moving the immutability flag from the nsBaseCommandController to the nsControllerCommandTable.
Renaming the 'refcon' on nsIControllerContext to 'context', and giving nsIControllerContext an Init() method that optionally takes a command table.
Fixing the editor and composer module code to create pre-filled nsIControllerCommandTables as services, and the controller constructors to create singleton command tables with do_GetService.
r=brade, sr=alecf.
2003-04-10 18:44:03 +00:00
glazman%netscape.com
4e4971d3d2 EditorOverride.css contained slow CSS rules; b=196625, r=kin, sr=kin 2003-03-25 15:16:21 +00:00
dougt%netscape.com
0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
brade%netscape.com
4f7267abed fix unlink (remove href) command; it needs to only do removal r=Neil, timeless, sr=kin; bug 193716 2003-03-04 15:42:44 +00:00
brade%netscape.com
c1ca12e17f allow editors to edit documents which contain iframes (bug 193902, r=cmanske, sr=smfr) 2003-02-27 14:06:29 +00:00
glazman%netscape.com
7d058dbd34 Allow mouse-driven resizing of images and tables in all instances of editor.
For the default Mozilla build, this includes Composer and Mail Composition.
Embeddors willing to disable this feature should look at |nsHTMLEditor::SetIsImageResizingEnabled()|
Displays eight resizing handles plus an info box. Images are resized real-time.
Uses HTML attributes in pure HTML mode (mail composition for instance) and CSS properties when available.
Undoable and Redoable. Does not grind coffe and make a good expresso yet.
Thanks if you really read to that line.

b=47066, r=brade, r=cmanske (for the algo part inheriting from the XBL patch), sr=kin
2003-02-24 09:37:18 +00:00
brade%netscape.com
df655d18d8 register command for removing a link (bug 193716); r=mkaply, sr=smfr, a=asa 2003-02-19 15:03:49 +00:00
heikki%netscape.com
94463ab443 Fixing build bustage; added missing semicolon. 2003-02-17 22:19:43 +00:00
mkaply%us.ibm.com
8d61d5c090 #193719
r=brade, sr=kin, a=dbaron
Midas - crash - handle unexpected empty parameters
2003-02-17 21:02:43 +00:00
brade%netscape.com
61f5799369 add comments, remove warnings, cancel mLoadBlankDocTimer to prevent crash, disable animation of images (bugs 191392, 192976, 191166) r=smfr, kin, brade; a=asa (mLoadBlankDocTimer portion originally submitted by cmanske@netscape.com) 2003-02-14 14:56:32 +00:00
neil%parkwaycc.co.uk
a9c0a6ad41 Bug 82547 patch allows Composer to catch mouse events on some form elements r=glazman sr=kin a=asa 2003-02-14 09:59:51 +00:00
mkaply%us.ibm.com
8722e3bb55 #192024
r=brade, sr=kin, a=asa
domSelection can be null if there is no presShell - don't dereference it
2003-02-06 05:34:47 +00:00
brade%netscape.com
c26e9bdaf8 fix bug 187351 by cancelling docshell refresh timers; fix bug 182290 by changing destruction order and cleaning up error checking (don't let some failures stop destruction sequence); r=sfraser, sr=kin 2003-01-22 00:46:38 +00:00
brade%netscape.com
d4c59e3e06 fixes for bug 182290 (cancelling timer during destruction) and bug 183133 (enabling undo after typing a letter); r=sfraser, sr=kin 2003-01-22 00:41:32 +00:00
brade%netscape.com
98beaa83c8 register commands (bug 184719, r=mkaply, sr=sfraser) 2003-01-17 12:54:18 +00:00
brade%netscape.com
941f48eece split nsComposerCommands.cpp to separate out document commands from content commands; add commands to set "useCSS" flag and readonly flag (bugs 184718, 184719), r=mkaply, sr=sfraser 2003-01-16 14:59:09 +00:00
brade%netscape.com
83f430e53c bug 186054 and others; disable JS and plugins in Composer (r=smfr, sr=kin) 2003-01-10 13:13:25 +00:00
dbaron%dbaron.org
098bd15103 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:35:36 +00:00
ducarroz%netscape.com
7591f728ed Fix for bug 173046. fix initialization of the text filter service. Editor commands also takes care of msg compose spell button. R=rods, SR=sspitzer 2002-12-18 02:23:10 +00:00
brade%netscape.com
695f629d17 fix insert HR command for Midas (bug 183793; r=cmanske, sr=smfr) 2002-12-17 19:41:00 +00:00
rods%netscape.com
338d74b952 Implement filters for spellchecker, so we can skip certain nodes (like Block Quote "cite") for mail
Bug 173046 r=jfrancis sr=kin a=asa
2002-12-10 15:03:04 +00:00
brade%netscape.com
f4b88392a3 remove dead code; cleanup command params for a few commands; standardize QI calls (bug 180745, r=cmanske, sr=smfr) 2002-12-02 22:20:12 +00:00
glazman%netscape.com
feeca8bf35 Table of Contents management in Composer (lives under Insert menu); b=170050, r=cmanske, sr=peterv 2002-12-02 13:54:41 +00:00
cmanske%netscape.com
411cfc84da Added command to notify when document url changes. b=181091, r=akkana, sr=sfraser 2002-11-27 00:35:09 +00:00
caillon%returnzero.com
82090ec342 Bug 181442 - Convert editor's pref usage to the new pref APIs.
r=brade sr=kin
2002-11-23 01:26:58 +00:00
cmanske%netscape.com
b590877b92 Fixed nsDocShell leak and nsEditingSession init after forced reload of document. b=180146, r=cmanske, sr=sfraser 2002-11-20 06:23:05 +00:00
brade%netscape.com
c56d42162b bug 157111; register new commands; r=cmanske, sr=sfraser 2002-11-20 01:20:19 +00:00
brade%netscape.com
aba0befae8 bug 157111; add some new commands; r=cmanske, sr=sfraser 2002-11-20 01:18:48 +00:00
brade%netscape.com
71fb2a730d bug 157111; add some new commands, cleanup do_QI assignments and some other cleanup; r=cmanske, sr=sfraser 2002-11-20 01:18:23 +00:00
cmanske%netscape.com
bc4a112d1e Final removal of 'editorShell' and associated files. b=169029, r=brade, sr=sfraser 2002-11-15 15:36:44 +00:00
brade%netscape.com
cd7d7bf7a5 fix compiler warning introduced by bug 170353 2002-11-13 15:45:34 +00:00
cmanske%netscape.com
722881b278 Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser 2002-11-12 23:03:27 +00:00
bzbarsky%mit.edu
fe11056d5d Clean up some array stuff in editor; switch to nsCOMArray in a bunch of
places.  Bug 175564, r=jfrancis, sr=kin
2002-11-12 19:40:11 +00:00
akkana%netscape.com
c90a5da673 168999: don't uninit the spellchecker twice, and eliminate the non-thread-safe asserts 2002-10-17 04:22:27 +00:00
glazman%netscape.com
b122e87cb4 Add a tag selector to Composer's status bar. It allows to view the whole hierarchy of the current selection, from the deepest element container up to the body.
Each element in the bar is selectable and a context menu allows to select the element, remove the element preserving its contents, changing the element into another one (regardless of DTD), and open the advanced properties dialog for the element.

When "Change tag" is requested, a textbox appears in the status bar. Changes are discarded if Escape key is pressed, and performed if CR/Enter key is pressed.

b=173319, r=brade, sr=peterv, a=rjesup@wgate.com
2002-10-16 08:07:35 +00:00
akkana%netscape.com
3a4e8d5779 168999: Make nsEditorSpellCheck an independant object instead of part of editorshell. r=brade sr=kin a=asa 2002-10-11 23:46:57 +00:00
mjudge%netscape.com
83252db51b 135774 r=cmanske sr=jag 2002-10-09 02:10:22 +00:00
cmanske%netscape.com
e181e47206 More 'editorShell' removal. b=169029, r=brade, sr=kin 2002-10-09 00:26:08 +00:00
cmanske%netscape.com
4351a45e74 Removed arg test not needed - part of fix to bug 64647, r=mjudge, sr=darin 2002-10-06 01:35:51 +00:00
cmanske%netscape.com
be8799bf71 Implemented command and Composer UI for 'Paste Without Formatting' command. b=64647, r=mjudge, sr=darin 2002-10-06 01:23:18 +00:00
bryner%netscape.com
1bb489617c Remove gfx2 from REQUIRES globally, since we no longer export headers to a separate gfx2 module. r=cls. 2002-10-05 02:49:02 +00:00
cmanske%netscape.com
cf361191e0 Remove editorShell from main Composer window. b=169026, r=brade, sr=alecf 2002-10-03 04:07:10 +00:00
bryner%netscape.com
97334d8f6e Add a configure option to disable building composer (bug 170136). Move handling of the -composer command-line option from libeditor/base/ to composer/src/. Remove unused nsIEditorService interface. r=seawood, sr=sfraser. 2002-10-01 00:16:51 +00:00
brade%netscape.com
8525438c18 bug 121648; remove unused portions of editorshell (r=glazou, sr=kin) 2002-09-30 13:51:35 +00:00
brade%netscape.com
ad12f508e6 remove EditingHTML() stub and its usage; bug 169514, r=mjudge, sr=kin (with clean requested by kin) 2002-09-24 13:29:28 +00:00
cmanske%netscape.com
1010f8aeed Progress on removing editorShell from Composer: fixed controller and command problems and mimetype and 'documentEditable' to editor interfaces, b=169029, r=brade, sr=dveditz 2002-09-18 19:42:38 +00:00