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

639 Коммитов

Автор SHA1 Сообщение Дата
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