Граф коммитов

741 Коммитов

Автор SHA1 Сообщение Дата
jst%mozilla.jstenback.com 0e18589386 Initialize uninitialized member, just in case... 2005-03-03 00:04:04 +00:00
jst%mozilla.jstenback.com 3a7c8a9086 Fixing bug 284364. Turn on plugins again if they were enabled before we started editing a document. r+sr=bzbarsky@mit.edu 2005-03-02 20:17:28 +00:00
jst%mozilla.jstenback.com ff71bf4c97 Fixing more of bug 283612. Make it possible to re-initialize the editor again, even when not used through midas. Regression from bug 209020. r=brade@comcast.net, sr=bzbarsky@mit.edu 2005-02-25 18:16:20 +00:00
neil%parkwaycc.co.uk 51c3d50dd5 Another instance with the same issue as the previous patch 2005-02-25 16:17:16 +00:00
neil%parkwaycc.co.uk 610a46da57 QueryInterface -> GetInterface fix for editor smoketest bustage b=283612 r+sr=bz 2005-02-25 16:01:18 +00:00
timeless%mozdev.org 2133c9daa7 Bug 283149 Move from nsIScriptGlobalObject to nsIDocShell for disabling JS
r=brade sr=jst
2005-02-24 22:52:03 +00:00
jst%mozilla.jstenback.com d5804ef8f6 Fixing bug 209020. Make midas (document eiditing mode) not partially persist when leaving a page, and make it possible to turn off designMode dynamically in a page. r=brade@comcast.net, sr=bzbarsky@mit.edu 2005-02-23 21:27:20 +00:00
bzbarsky%mit.edu d029903af6 Remove the parentURIContentListener attribute on docshell; people not using
nsIWebBrowser can getInterface the docshells nsIURIContentListener and set its
parent.  Bug 283108, r=biesi, sr=darin
2005-02-22 19:56:11 +00:00
bzbarsky%mit.edu c0a59befc5 Convert internal users of -moz-opacity to just use opacity. Bug 281907, patch
by Anne van Kesteren <bug@annevankesteren.nl>, r+sr=bzbarsky
2005-02-18 16:33:02 +00:00
bryner%brianryner.com 67dba23ae4 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
scott%scott-macgregor.org 39c443dabd Bug #278312 --> editor changes to support inline spell checking. Includes the interface for the inline spell checker
and editor hooks to call out to an inline spell checker component.


moa/r=glazman
sr=bienvenu
2005-02-01 21:12:53 +00:00
bryner%brianryner.com f575a675b2 Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc. 2005-01-31 23:47:26 +00:00
bsmedberg%covad.net 60567bb185 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
bzbarsky%mit.edu 6de447be6a :empty should not match nodes that have whitespace children. Introduce a
:-moz-only-whitespace pseudo-class to do what :empty used to do (so we can use
it in quirk.css and the like).  Bug 157395, patch by Justin Wood
<116057@bacon.qcc.mass.edu>, r+sr=bzbarsky
2004-12-03 04:25:21 +00:00
bryner%brianryner.com 29c70cffe8 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
darin%meer.net 189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
bsmedberg%covad.net e08012b8b7 Bug 237745 (app-startup) - split off the pieces of appshellservice that have to do with the startup sequence into a new (forked, temporarily) app-startup service r+sr=darin+biesi+Neil 2004-10-29 19:28:38 +00:00
bzbarsky%mit.edu 01dd861bb1 Make sure to flush out frame construction before trying to access frames (which
is what accessing the presshell of an iframe effectively does).  Bug 262998
redux, r+sr=jst
2004-10-07 23:20:17 +00:00
peterv%propagandism.org 1a88732b51 Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2004-09-16 12:39:49 +00:00
bryner%brianryner.com 180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
scott%scott-macgregor.org 304c1345d0 Bug #253054 --> Editor should use a chrome package known to exist (like itself) instead of
using "navigator" as the chrome package for asking the locale.

Fixes problems with the spell checker not working for new thunderbird profiles where there is no navigator package.

r=brade
2004-08-18 18:24:48 +00:00
bryner%brianryner.com 5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner%brianryner.com 0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu 0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
gerv%gerv.net 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
darin%meer.net c083b41820 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst 2004-04-15 23:30:05 +00:00
darin%meer.net 8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
ere%atp.fi 40c23d6dcf Fix for bug 212767: Crash when initializing Midas (setting designMode and others)
r=brade
sr=dbaron
a=chofmann
2004-02-11 15:40:34 +00:00
jst%mozilla.jstenback.com 505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
bryner%brianryner.com 42adb9f1be More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron 2004-02-01 10:09:07 +00:00
jst%mozilla.jstenback.com 90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
bryner%brianryner.com 56bd2e4e15 Move EXTRA_DSO_LDOPTS before include of rules.mk so that it catches dependencies properly 2004-01-23 21:24:08 +00:00
daniel%glazman.org f4bed13880 Allow the editing session to update all command controllers from script; this is needed for MDI in Composer/Nvu and frameset editing.
b=231464, r/sr=dbaron
2004-01-19 20:31:18 +00:00
daniel%glazman.org 002e4c216a Font-family dropdown menu not updated in Composer and HTML mail composition; b=230683, r=Neil, sr=sspitzer 2004-01-14 16:26:32 +00:00
jst%mozilla.jstenback.com c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
bsmedberg%covad.net d0f309943a Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net 274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
daniel%glazman.org 97ddf886c0 fixing corrupted GIF image; fix by hadrien.nilsson@sinapse.com; b=228708, r/rs=daniel@glazman.org 2004-01-05 14:10:41 +00:00
bryner%brianryner.com 080ad777b6 Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky. 2003-12-26 04:24:11 +00:00
bsmedberg%covad.net 0c471686e7 bug 219233 - Unfork nsIChromeRegistry.idl (not the impl, just the interface) and move it into content/base/public until we can get a more fine-grained separation of that interface in to GRE/non-GRE pieces. r/sr=hyatt+jst
I couldn't do a CVS move of nsIChromeRegistry.idl, sorry... it was added on a branch earlier. The old CVS log/blame can be found at mozilla/rdf/chrome/public/nsIChromeRegistry.idl
2003-12-22 05:23:10 +00:00
mvl%exedo.nl 778af1240c Update to review comments. oops. Bug 225749 2003-12-21 12:36:47 +00:00
mvl%exedo.nl e8119d04ba make nsIEditorSpellcheck use nsAString instead of nsString.
bug 225749, r=dwitte, sr=alecf
2003-12-20 13:06:44 +00:00
jst%mozilla.jstenback.com 4183787fa9 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
bryner%brianryner.com 605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
bryner%brianryner.com 2406bc1ed4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:05:34 +00:00
brade%comcast.net c58d9375bf fix typo for "-moz-canvas" found by bz; r=glazman, sr=tor, a=asa, bug=211982 2003-08-18 14:11:43 +00:00
neil%parkwaycc.co.uk 8f07cf446a Bug 52548 (again...) Sidebar links opening in Composer window r=brade sr=jst 2003-08-05 21:35:12 +00:00
scott%scott-macgregor.org e12c07dc7c Bug #201866 --> Spell checker should not check qutoed text for plain text compose.
r=mkapply
sr=kin
2003-07-31 21:54:02 +00:00
jaggernaut%netscape.com 95899387f6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
jaggernaut%netscape.com 4e7c966d11 Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron 2003-07-24 04:53:13 +00:00
brade%netscape.com ec16552a3a use Truncate instead of SetLength(0); r=cmanske, sr=bz, bug=209548 2003-07-18 02:27:19 +00:00
brade%netscape.com d91118e262 fix linux bustage 2003-07-14 15:43:20 +00:00
brade%netscape.com d02d3e1612 cleanup #includes; r=kaie, sr=darin, bug=180316 2003-07-14 14:37:23 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
scott%scott-macgregor.org 60e11691f4 Bug #212469 --> spell checker should ignore quoted text for HTML mail.
r/sr=kin
2003-07-12 00:17:37 +00:00
leon.zhang%sun.com 467c93cfb1 First patch for bug 208446: Caret stops blinking or disappears, prevent firing assertion
r=sfraser sr=kin
2003-07-09 03:05:25 +00:00
brade%netscape.com 0ff8702179 remove unused variables to fix warnings; no bug, no reviews 2003-07-08 22:10:09 +00:00
brade%netscape.com 9371323b42 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:22:56 +00:00
bzbarsky%mit.edu b2ba25b6fd Move to the double-'::' notation for various pseudo-elements.
Bug 211657, r+sr=dbaron
2003-07-07 21:57:01 +00:00
brade%netscape.com 920f7b4f36 NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548 2003-06-27 14:19:40 +00:00
glazman%netscape.com 0da80aab17 Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst
2003-06-25 08:50:48 +00:00
glazman%netscape.com 042cd298c3 Files removed, they were accidentally checked in with a non binary cvs add 2003-06-25 07:49:49 +00:00
glazman%netscape.com 269e2643a2 Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst
2003-06-25 07:30:19 +00:00
jst%netscape.com abefba9053 Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com 2003-06-24 21:43:01 +00:00
caillon%returnzero.com 2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
brade%netscape.com 917018d64b fix MOZ_COMPOSER to be specific to composer app; use plaintext flag; r=bryner, sr=smfr, bug 208132 2003-06-10 20:34:45 +00:00
brade%netscape.com 7ee40f2dfe removing commented out includes 2003-06-10 18:57:51 +00:00
brade%netscape.com 44d112991f bug 208132; move required files (for html editing) out of ui/composer/content and into composer/src/res; r=byner, sr=smfr 2003-06-09 14:06:46 +00:00
brade%netscape.com 0058480b59 GetCommandState for document commands to return their boolean values; r=glazman, sr=sfraser, bug=208544 2003-06-06 19:28:25 +00:00
leon.zhang%sun.com 3363f7d0a1 patch for bug 207469: optimize timer usage in nsComposerCommandsUpdater::PrimeUpdateTimer()
sr=sfraser r=Henry.Jia
2003-05-30 06:33:47 +00:00
timeless%mozdev.org bee83d7a31 Bug 206204 `nsHTMLTag gWatchTags[3]', nsEditorParserObserver defined but not used
r=brade sr=sfraser a=dbaron
2003-05-23 14:51:04 +00:00
brade%netscape.com 167f576e22 fix assignment per sspitzer; bug 195506 a=sspitzer r/sr=smfr 2003-05-09 18:18:53 +00:00
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
cmanske%netscape.com 33f206ae1a Removing unsused files from tree 2002-09-17 23:46:12 +00:00
dbaron%fas.harvard.edu 0b1d62b9af Fix OS/2 bustage from Akkana's checkin by removing extraneous |const|. r=akkana b=124265 2002-09-14 01:10:33 +00:00
cmanske%netscape.com b5b5192ae1 Checking in fix by stephend: remove 'done' status message in mail Composer. b=90691, r=cmanske, sr=sfraser 2002-09-13 20:03:05 +00:00
akkana%netscape.com 7ae5c1cecb 124265: make nsIEditorStyleSheet more scriptable. Fix is partly me r=cmanske, partly cmanske r=me; all is sr=alecf 2002-09-13 19:47:38 +00:00
cmanske%netscape.com 27b8578e83 Fixed table row deletion and reorganized nsITableEditor methods. b=166922, r=akkana, sr=hewitt 2002-09-13 04:19:30 +00:00
brade%netscape.com 1d4d545c1a api changes (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:09:19 +00:00
brade%netscape.com 06938e9e85 remove editorShell; remove UI state; use nsIEditor instead of nsIEditorShell for refcon (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:09:01 +00:00
brade%netscape.com 596f340e12 use nsIEditor instead of nsIEditorShell for refCon; editorshell removal; nsIStateUpdatingControlelrCommand removal; remove duplicate API (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:08:46 +00:00
brade%netscape.com 89382f875d add mComposerController (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:08:13 +00:00
brade%netscape.com 394d7d3613 setup mComposerController; use nsIEditor instead of nsIEditorShell to initialize editorControllers (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:08:04 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com fae89c4077 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
alecf%netscape.com dc6d6e3736 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
alecf%netscape.com 03f69e9a10 fix bug 162741 - revamp chrome registry interface in preparation for bug 160000 - switch lots of public APIs over to ACString, etc.
r=bryner, sr=hyatt
2002-08-20 18:12:51 +00:00
glazman%netscape.com 896e391414 make CSS mode the default in Composer and hide text highlight button when not in CSS mode; b=161303, r=neil@parkwaycc.co.uk, sr=kin 2002-08-14 13:12:52 +00:00
bzbarsky%mit.edu 27a736b73a Remove stray printf. Bug 161984, patch by ajschult@eos.ncsu.edu (Andrew
Schultz), r=akkana, sr=bzbarsky
2002-08-10 09:32:08 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
glazman%netscape.com b9599b1617 Introduce 2 CSS values for color property and 1 for text-decoration retrieving the pref for anchors' color, visited anchors' color, and underline or not the anchors; b=57757, r=brade, sr=bzbarsky 2002-08-06 14:39:55 +00:00
cmanske%netscape.com 68474e263b Superscript and Subscript text styles should be mutually exclusive, b=100825, r=jfrancis, sr=kin, a=asa/drivers 2002-07-24 03:53:14 +00:00
alecf%netscape.com 47b3f07056 more prep for bug 119923 - use chrome registry ContractID rather than CID, so that we can drop in a new embedding-only chrome registry
r=bnesse, sr=dveditz, a=asa
2002-07-23 23:30:04 +00:00
mjudge%netscape.com 47e8fbc7bf r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled. 2002-07-15 22:04:13 +00:00
akkana%netscape.com efa18def7e 126312: Remove the obsolete old find code. r=brade, sr=alecf. 2002-07-09 20:24:37 +00:00
bryner%netscape.com a06a9565aa Removing this file, it's dead. r=sfraser. 2002-06-24 19:45:41 +00:00
kin%netscape.com 2cc8934aad Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/content/base/public/nsISelectionController.idl
  mozilla/content/base/src/nsSelection.cpp
  mozilla/editor/composer/src/nsEditorShell.cpp
  mozilla/editor/idl/nsIPlaintextEditor.idl
  mozilla/editor/libeditor/base/nsEditor.cpp
  mozilla/editor/libeditor/base/nsEditor.h
  mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
  mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
  mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
  mozilla/editor/ui/dialogs/content/EdTableProps.js
  mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
  mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
  mozilla/layout/base/public/nsIFrameSelection.h
  mozilla/layout/html/base/src/nsPresShell.cpp
  mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
  mozilla/mailnews/compose/src/nsMsgCompose.cpp
  mozilla/xpfe/browser/resources/content/viewPartialSource.js

    - Added aIsSynchronous arg to the ScrollSelectionIntoView()
      method of nsISelectionController and nsIFrameSelection.
      Updated all callers to pass new arg.

    - Modified selection to post a plevent to call which does the
      call to ScrollIntoView() in the async ScrollIntoView() case.

    - Edits in text widgets now use asynchronous reflow, paint,
      and scroll processing full time.

    - Removed redundant ScrollSelectionIntoView() calls in the
      editor event listeners.

    - Editor IME code now forced to flush reflows and paints before
      getting caret coordinates.

r=jfrancis@netscape.com  sr=waterson@netscape.com
2002-06-13 20:35:12 +00:00
alecf%netscape.com bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
jfrancis%netscape.com 8bddd6f53e fix for 140484: tagStr incorrectly freed in nsListCommand::GetCurrentState; r=jfrancis; sr=kin; ceckin in on behalf of Dan McGuirk 2002-05-20 10:48:31 +00:00
rpotts%netscape.com 73de225b01 bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener) 2002-05-16 20:57:37 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
harishd%netscape.com d6971b20c1 Prevent charset loading for document.write content because the content is already in unicode. b=125317, r=ftang, sr=jst 2002-04-18 22:11:17 +00:00
alecf%netscape.com fba198f16c fix for bug 119923 - split nsIChromeRegistry into 2 interfaces, one that is XUL-specific
this way we can implement an minimal chrome registry for embedding, that doesn't support all the wacky skin- and locale-switching goodness of XUL.
r=waterson, sr=hyatt
2002-04-12 01:52:27 +00:00
kin%netscape.com 772ad9c920 Fix for bug 136408 (Crash editing pages with text widgets)
Use :canvas as selector to avoid triggering layout crash bug 123049.
Added isindex and textarea to list of items to use default cursor.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
adt=syd@netscape.com  a=rjesup@wgate.com
2002-04-10 22:01:02 +00:00
cmanske%netscape.com 7d29866b4b Cursor over links in Composer should be an I-beam, b=135847, r=akkana, sr=kin, a=asa, adt=jaime 2002-04-06 06:31:31 +00:00
brade%netscape.com ac0a0bb682 remove checkOpenWindowForURLMatch (now in JS, editorApplicationOverlay.js) bug 104908, r=cmanske, sr=hewitt, a=asa, adt=jaime 2002-04-06 00:47:21 +00:00
kin%netscape.com c57263e211 Fix for bug 135234 (Cursor is an I-beam when over scrollbar)
Use "*:scrolled-content" instead of "*" for text cursor rule to limit the impact to the content area.

r=glazman@netscape.com  sr=sfraser@netscape.com
a=asa@mozilla.org  adt=jaimejr@netscape.com
2002-04-05 15:27:38 +00:00
akkana%netscape.com 36234b8d88 131277: change signature of outputToString to return the string. r=jfrancis sr=sfraser a=asa 2002-03-25 22:39:19 +00:00
dbaron%fas.harvard.edu df8e0b2f1e Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 21:52:27 +00:00
darin%netscape.com 9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
cmanske%netscape.com d5612a514e Moved mouse listener from EditorShell to HTMLEditor but keep previous context click and doubleclick element selection behavior. b=112181 & 128836, r=akkana, sr=sfraser, a=asa 2002-03-17 20:39:16 +00:00
cmanske%netscape.com 2aadd2a4c1 Composer must always bypass cache when loading URLs, b=128134, r=brade, sr=darin, a=asa 2002-03-16 18:13:32 +00:00
glazman%netscape.com 52ff92502a caret was disappearing in non-empty named anchors because of
'-moz-user-input: none;' declaration attached to a[name] selector.

Selector removed from the corresponding rule and cursor changed to text I-beam for non-empty named anchors

b=84095, r=bryner, sr=kin, a=asa
2002-03-15 13:12:15 +00:00
akkana%netscape.com d7cbebbdc8 128903: Clean up the editor IDL, and anyone who uses them. r=brade,cmanske,ducarroz (for mail); sr=sfraser; a=dbaron 2002-03-14 22:11:14 +00:00
cmanske%netscape.com 6dfe019d1f Use text cursor over most of Composer's content window. b=128534, r=brade, sr=sfraser, a=asa 2002-03-13 01:35:15 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
bryner%netscape.com 5b25aa8efe Adding missing .cvsignore files. a=leaf. 2002-02-27 23:53:14 +00:00
rods%netscape.com 785aacab83 1) Makes sure that when a PrintSettings is created it is initialized from the
default printer.
2) Mail now uses the nsIWebBrowserPrint interface to create the PrintSettings
object it caches and uses
3) Editor now creates and caches a PrintSettings object.
Bug 123554 r=dcone sr=attinasi
2002-02-20 03:18:33 +00:00
brade%netscape.com 5150806885 fix to use NS_LITERAL_STRING; bug 26384 r=cmanske sr=kin 2002-02-19 22:14:57 +00:00
mjudge%netscape.com 4bd6ce5363 small change for STATE_STrIng to STATE_ATTRIBUTE only embedding will notice. 2002-02-18 09:55:58 +00:00
cmanske%netscape.com 98bb38ac3e Don't try to show empty name on Composer caption, b=121684, r=brade, sr=hewitt 2002-02-16 02:24:04 +00:00
cmanske%netscape.com 46cc62e9ab Update for publishing UI, b=88208, r=brade, sr=ben 2002-02-15 06:07:40 +00:00
alecf%netscape.com fe8bbbd587 dependency update 2002-02-06 22:19:07 +00:00
jst%netscape.com cb926125b8 Fixing bug 116834. Making element.innerHTML='...<script>...</script>...' not execute the script, this makes mozilla compatible with IE wrt innerHTML and execution of scripts. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-02-05 05:53:56 +00:00
mcafee%netscape.com e27d04dce9 Fixing more bustage. r=mjudge 2002-02-02 08:10:55 +00:00
mcafee%netscape.com cc426c292f Fixing build bustage, tab lossage 2002-02-02 07:58:39 +00:00
mjudge%netscape.com fb4db1f323 file from previous checkin 2002-02-02 05:14:25 +00:00
mjudge%netscape.com 726b5e82c1 115922 embedding work. no changes should be observed in current product this will only affect the embedded effort. This moves the command handler stuff from content xul to embedding/components/commandhandler. a=judd r=saari built on mac/windows/gmake with this we will be able to finish removing editorshell from the app and have a true embedded editor.akkana will pick this up after me and finish the embedding work. 2002-02-02 05:13:56 +00:00
rods%netscape.com ab52751787 1) Removes the arg of nsIDOMWindow in the nsIWebBrowserPrint calls
2) Adds a couple of new methods and an attr to nsIWebBrowserPrint (navigate, is frameset, & exitPP)
3) Removes all but one method from nsIContentViewerFile.idl/h the remaining call is for print regression testing
4) Removes the "static" implementation of nsIContentViewerFile.h
5) Fixed up nsIContentViewerFile.idl and turned it back on so it is now generating the header file
6) Removed all uses of nsIContentViewerFile.h except for the WebCrawler (uses it for Printing Regression testing)
7) nsDocumentViewer.cpp now implements nsIWebBrowserPrint.idl this makes it easier to add new print functionality in one place
8) You can now ask an instance of the ContentViewer for a nsIWebBrowserPrint to do printing (it retruns the nsIWebBrowserPrint interface implemented by the nsDocumentViewer)
9) Anybody who was using nsIContentViewerFile to print will now use nsIWebBrowserPrint
10) You can now do a "GetInterface()" on a GlobalWindow for a nsIWebBrowserPrint
11) The browser UI now uses the GetInterface on the GlobalWindow to get a nsIWebBrowserPrint object to do printing and this can be used for all printing functionality
Bug 120622 r=dcone sr=waterson
2002-02-01 14:52:11 +00:00
sfraser%netscape.com d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
mjudge%netscape.com ca4de4f1e9 BUG115229 files not in build yet. checking in new files to make tree landing of editor embedded work go more smoothely 2002-01-30 04:46:54 +00:00
kin%netscape.com adafee6bb5 Workaround fix for bug #117141 (Composer crashes when loading pages with an HTML Select element [@FrameManager::GetPrimaryFrameFor])
Removed seemingly unnecessary selection UI Style rule for -moz-dropdown-list,
to workaround the crash that happens during the restyling of the HTML Select
element when the EditorOverride.css style sheet is loaded.

r=brade@netscape.com  sr=sfraser@netscape.com
2002-01-28 15:06:44 +00:00
glazman%netscape.com 0d36604e29 move CSS in Composer stuff from nsEditorShell to nsHTMLEditor; b=121081, r=brade, sr=kin 2002-01-25 10:20:11 +00:00
glazman%netscape.com fd4d0fd0da remove CSSisms from nsEditor; b=121092, r=brade, sr=kin 2002-01-25 10:16:52 +00:00
brade%netscape.com 61c6aca727 #include cleanup to prepare for nsIDiskDocument removal (bug 102033) 2002-01-14 21:16:41 +00:00
brade%netscape.com 4413188982 #include cleanup to reduce unused statics (bug 117927) 2002-01-14 21:09:37 +00:00
brade%netscape.com 774a1fbe73 #include cleanup to lessen unused static variables (bug 117927) 2002-01-14 21:07:31 +00:00
brade%netscape.com 48f2e221fd remove unneeded #include (bug 115115) 2002-01-14 21:01:52 +00:00
cmanske%netscape.com a223374295 Make 'sub' and 'sup' text styles mutually-exclusive, b=100825, r=jfrancis, sr=ben 2002-01-09 15:36:13 +00:00
glazman%netscape.com 68488c9353 CSS in Composer, step 1 ; b=77705, r=jfrancis, r=cmanske, sr=kin 2002-01-09 13:51:37 +00:00
locka%iol.ie 87bfcf8f7f Removed huge chunks of dead webshell and cleaned up a few references to it elsewhere in the code. b=113970 r=valeski@netscape.com sr=rpotts@netscape.com 2002-01-08 13:01:38 +00:00
rods%netscape.com 7929b953f5 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi
2002-01-01 12:58:53 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
mjudge%netscape.com d7c892374e wrong name for module name. needed webbrwsr not webBrowser_core 2001-12-18 02:06:04 +00:00
mjudge%netscape.com 2ecc969e5b bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not 2001-12-18 01:29:49 +00:00
brade%netscape.com d6ef260d9a more NS_LITERAL_STRING cleanup (bug 26384; r=cmanske, sr=alecf) 2001-12-17 15:23:51 +00:00
jaggernaut%netscape.com 4af5bbf65c Fix bustage 2001-12-17 09:59:21 +00:00
jaggernaut%netscape.com e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com ee12112b29 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00