516 Commits

Author SHA1 Message Date
brade%netscape.com
c404793fc8 handle utf8 font names bug 201233; patch by taka, r=brade, sr=jag
git-svn-id: svn://10.0.0.236/trunk@141379 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 13:12:13 +00:00
kin%netscape.com
733361e518 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


git-svn-id: svn://10.0.0.236/trunk@141315 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 14:29:08 +00:00
brade%netscape.com
d5e60c1601 add document commands for toggling image animation/plugins, clearing undo stack; r/sr=sfraser (patch in bug 195506)
git-svn-id: svn://10.0.0.236/trunk@141177 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 13:53:51 +00:00
sfraser%netscape.com
cca394e9cb Appease the Windows __stdcall gods. Bug 201257.
git-svn-id: svn://10.0.0.236/trunk@141000 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 20:45:17 +00:00
sfraser%netscape.com
4a0df27c9c 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.


git-svn-id: svn://10.0.0.236/trunk@140988 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 18:44:03 +00:00
glazman%netscape.com
3c4782248b EditorOverride.css contained slow CSS rules; b=196625, r=kin, sr=kin
git-svn-id: svn://10.0.0.236/trunk@140248 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 15:16:21 +00:00
dougt%netscape.com
fed2927b2c 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.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
brade%netscape.com
63556e3e43 fix unlink (remove href) command; it needs to only do removal r=Neil, timeless, sr=kin; bug 193716
git-svn-id: svn://10.0.0.236/trunk@138864 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 15:42:44 +00:00
brade%netscape.com
688103fb10 allow editors to edit documents which contain iframes (bug 193902, r=cmanske, sr=smfr)
git-svn-id: svn://10.0.0.236/trunk@138609 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 14:06:29 +00:00
glazman%netscape.com
20124c5607 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


git-svn-id: svn://10.0.0.236/trunk@138320 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 09:37:18 +00:00
brade%netscape.com
cdff5f1771 register command for removing a link (bug 193716); r=mkaply, sr=smfr, a=asa
git-svn-id: svn://10.0.0.236/trunk@137981 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-19 15:03:49 +00:00
heikki%netscape.com
3a9654e568 Fixing build bustage; added missing semicolon.
git-svn-id: svn://10.0.0.236/trunk@137907 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-17 22:19:43 +00:00
mkaply%us.ibm.com
d228aa5697 #193719
r=brade, sr=kin, a=dbaron
Midas - crash - handle unexpected empty parameters


git-svn-id: svn://10.0.0.236/trunk@137903 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-17 21:02:43 +00:00
brade%netscape.com
7aea5a7834 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)
git-svn-id: svn://10.0.0.236/trunk@137811 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 14:56:32 +00:00
neil%parkwaycc.co.uk
755525463b Bug 82547 patch allows Composer to catch mouse events on some form elements r=glazman sr=kin a=asa
git-svn-id: svn://10.0.0.236/trunk@137805 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-14 09:59:51 +00:00
mkaply%us.ibm.com
f047c7bd70 #192024
r=brade, sr=kin, a=asa
domSelection can be null if there is no presShell - don't dereference it


git-svn-id: svn://10.0.0.236/trunk@137473 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-06 05:34:47 +00:00
brade%netscape.com
b65f367525 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
git-svn-id: svn://10.0.0.236/trunk@136772 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 00:46:38 +00:00
brade%netscape.com
0de26cbd6c fixes for bug 182290 (cancelling timer during destruction) and bug 183133 (enabling undo after typing a letter); r=sfraser, sr=kin
git-svn-id: svn://10.0.0.236/trunk@136771 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 00:41:32 +00:00
brade%netscape.com
47f83315e5 register commands (bug 184719, r=mkaply, sr=sfraser)
git-svn-id: svn://10.0.0.236/trunk@136511 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 12:54:18 +00:00
brade%netscape.com
f4df2d4dc6 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
git-svn-id: svn://10.0.0.236/trunk@136415 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 14:59:09 +00:00
brade%netscape.com
d6d80cc0d9 bug 186054 and others; disable JS and plugins in Composer (r=smfr, sr=kin)
git-svn-id: svn://10.0.0.236/trunk@136158 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 13:13:25 +00:00
dbaron%dbaron.org
0653a5fa91 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135993 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:35:36 +00:00
ducarroz%netscape.com
afd46760d6 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
git-svn-id: svn://10.0.0.236/trunk@135446 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 02:23:10 +00:00
brade%netscape.com
ea71542654 fix insert HR command for Midas (bug 183793; r=cmanske, sr=smfr)
git-svn-id: svn://10.0.0.236/trunk@135415 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 19:41:00 +00:00
rods%netscape.com
3f0a190da8 Implement filters for spellchecker, so we can skip certain nodes (like Block Quote "cite") for mail
Bug 173046 r=jfrancis sr=kin a=asa


git-svn-id: svn://10.0.0.236/trunk@135030 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 15:03:04 +00:00
brade%netscape.com
8ad91047f9 remove dead code; cleanup command params for a few commands; standardize QI calls (bug 180745, r=cmanske, sr=smfr)
git-svn-id: svn://10.0.0.236/trunk@134627 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-02 22:20:12 +00:00
glazman%netscape.com
a422a6442b Table of Contents management in Composer (lives under Insert menu); b=170050, r=cmanske, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@134609 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-02 13:54:41 +00:00
cmanske%netscape.com
a4776ceb5a Added command to notify when document url changes. b=181091, r=akkana, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@134507 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-27 00:35:09 +00:00
caillon%returnzero.com
9641b989dd Bug 181442 - Convert editor's pref usage to the new pref APIs.
r=brade sr=kin


git-svn-id: svn://10.0.0.236/trunk@134351 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-23 01:26:58 +00:00
cmanske%netscape.com
f3b0cea7ba Fixed nsDocShell leak and nsEditingSession init after forced reload of document. b=180146, r=cmanske, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@134171 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 06:23:05 +00:00
brade%netscape.com
77eee3a445 bug 157111; register new commands; r=cmanske, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@134146 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 01:20:19 +00:00
brade%netscape.com
471812a403 bug 157111; add some new commands; r=cmanske, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@134144 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 01:18:48 +00:00
brade%netscape.com
7b474eeb9f bug 157111; add some new commands, cleanup do_QI assignments and some other cleanup; r=cmanske, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@134143 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 01:18:23 +00:00
cmanske%netscape.com
55f4416773 Final removal of 'editorShell' and associated files. b=169029, r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@133910 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 15:36:44 +00:00
brade%netscape.com
b6b8f84407 fix compiler warning introduced by bug 170353
git-svn-id: svn://10.0.0.236/trunk@133753 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 15:45:34 +00:00
cmanske%netscape.com
d6cc98279b 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
git-svn-id: svn://10.0.0.236/trunk@133703 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 23:03:27 +00:00
bzbarsky%mit.edu
04bc7e2dbf Clean up some array stuff in editor; switch to nsCOMArray in a bunch of
places.  Bug 175564, r=jfrancis, sr=kin


git-svn-id: svn://10.0.0.236/trunk@133685 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:40:11 +00:00
akkana%netscape.com
6bad903f00 168999: don't uninit the spellchecker twice, and eliminate the non-thread-safe asserts
git-svn-id: svn://10.0.0.236/trunk@132131 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 04:22:27 +00:00
glazman%netscape.com
40826ba026 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


git-svn-id: svn://10.0.0.236/trunk@132070 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 08:07:35 +00:00
akkana%netscape.com
da26e1e4b2 168999: Make nsEditorSpellCheck an independant object instead of part of editorshell. r=brade sr=kin a=asa
git-svn-id: svn://10.0.0.236/trunk@131845 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 23:46:57 +00:00
mjudge%netscape.com
984772bcf2 135774 r=cmanske sr=jag
git-svn-id: svn://10.0.0.236/trunk@131537 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 02:10:22 +00:00
cmanske%netscape.com
b44e10b466 More 'editorShell' removal. b=169029, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@131508 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 00:26:08 +00:00
cmanske%netscape.com
072667b20d Removed arg test not needed - part of fix to bug 64647, r=mjudge, sr=darin
git-svn-id: svn://10.0.0.236/trunk@131253 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 01:35:51 +00:00
cmanske%netscape.com
b5d60d857b Implemented command and Composer UI for 'Paste Without Formatting' command. b=64647, r=mjudge, sr=darin
git-svn-id: svn://10.0.0.236/trunk@131252 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 01:23:18 +00:00
bryner%netscape.com
6e21d6290d Remove gfx2 from REQUIRES globally, since we no longer export headers to a separate gfx2 module. r=cls.
git-svn-id: svn://10.0.0.236/trunk@131219 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 02:49:02 +00:00
cmanske%netscape.com
d658944797 Remove editorShell from main Composer window. b=169026, r=brade, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@131056 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 04:07:10 +00:00
bryner%netscape.com
1c65aed91b 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.
git-svn-id: svn://10.0.0.236/trunk@130850 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 00:16:51 +00:00
brade%netscape.com
beaa201891 bug 121648; remove unused portions of editorshell (r=glazou, sr=kin)
git-svn-id: svn://10.0.0.236/trunk@130795 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 13:51:35 +00:00
brade%netscape.com
074f22a2c2 remove EditingHTML() stub and its usage; bug 169514, r=mjudge, sr=kin (with clean requested by kin)
git-svn-id: svn://10.0.0.236/trunk@130345 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 13:29:28 +00:00
cmanske%netscape.com
7b1780cf51 Progress on removing editorShell from Composer: fixed controller and command problems and mimetype and 'documentEditable' to editor interfaces, b=169029, r=brade, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@129937 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 19:42:38 +00:00