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

780 Коммитов

Автор SHA1 Сообщение Дата
reed%reedloden.com 1bd5534e34 Bug 384147 - "tabbing out list item doesn't merge with next list item at same depth" [p=mfenniak-moz@mathieu.fenniak.net (Mathieu Fenniak) r=glazou sr+a1.9=roc] 2007-10-02 07:32:17 +00:00
reed%reedloden.com 11f2440546 Backout patch from bug 384147 from Mathieu Fenniak due to new test failing on Windows and Linux (but not Mac). 2007-09-20 07:05:57 +00:00
reed%reedloden.com 447335297a Bug 384147 - "tabbing out list item doesn't merge with next list item at same depth" [p=mfenniak-moz@mathieu.fenniak.net (Mathieu Fenniak) r=glazou sr=roc a1.9=roc] 2007-09-20 06:14:37 +00:00
masayuki%d-toybox.com 5fa5b33f97 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 11:13:55 +00:00
ginn.chen%sun.com fd8e29fa39 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest
r=benjamin a=dsicore
2007-08-06 03:22:43 +00:00
jwalden%mit.edu 395dff9d44 Bug 374635 - [Midas] Visited links are black, not purple. Patch by Mathieu Fenniak <mfenniak-moz@mathieu.fenniak.net>, r=neil, sr=peterv, a=dbaron 2007-08-03 18:02:17 +00:00
neil%parkwaycc.co.uk 11d0936e48 Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 08:46:49 +00:00
jwalden%mit.edu ef68fcf595 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 07:08:56 +00:00
peterv%propagandism.org 98bcf41dd6 Correct whitespace. 2007-07-06 11:23:30 +00:00
peterv%propagandism.org daedff1384 Fix for bug 386730 (After reloading a page with a single contenteditable element, every element on that page is editable). r/sr=jst. 2007-07-06 10:45:16 +00:00
peterv%propagandism.org b188226d8f Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-28 02:48:22 +00:00
peterv%propagandism.org 3aef5b4f41 Backing out to fix orange. 2007-06-27 23:21:09 +00:00
peterv%propagandism.org c08e0c73cb Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 22:29:54 +00:00
Olli.Pettay%helsinki.fi a39acdf8d3 Bug 351236, r+sr=neil 2007-05-27 20:57:13 +00:00
scott%scott-macgregor.org 763a69ab7b Bug #378795 --> When the user installs a dictionary for the first time, we don't automatically use it for inline spell check. The user must manually choose the dictionary.
sr=neil
2007-04-27 18:42:09 +00:00
benjamin%smedbergs.us 3fb4912f5d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 14:22:04 +00:00
sayrer%gmail.com fda804eb1c Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 15:18:50 +00:00
neil%parkwaycc.co.uk f5c1962d9b Bug 357861 Fix shutdown crash in nsTextServicesDocument r=glazou sr=mscott 2007-02-13 09:26:09 +00:00
martijn.martijn%gmail.com 626d368d8c Bug 287707 - After page had designmode on, there are still several issues, r=neil, sr=jst 2006-10-25 01:11:55 +00:00
sayrer%gmail.com c249dc7837 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron 2006-09-08 04:35:17 +00:00
pkasting%google.com e5a0f6e2fe Bug 348497: Crash enabling designMode
r+sr=bzbarsky
2006-08-16 02:41:47 +00:00
mrbkap%gmail.com 65c64d57ac Don't get confused by subframes which finish loading while we're set up on a document that's been document.written. bug 337040, r=jst/brade sr=jst 2006-07-31 23:05:37 +00:00
brettw%gmail.com 6258d16baa Bug 335607 r=bryner,sr=mscott
dquote> Make dictionary selection persistent
2006-05-12 23:15:17 +00:00
timeless%mozdev.org 64818410ec Bug 331023 Cleanup of IDL files; fixing type inconsistencies
r=neil sr=bz
2006-05-07 01:33:38 +00:00
cbiesinger%web.de a898e666b8 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
brettw%gmail.com 97c9c6513a Bug 302050: inline spellchecking for textboxes backend. r=bryner sr=bzbarsky 2005-12-05 18:07:33 +00:00
jst%mozilla.jstenback.com 7a5af690c6 Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
timeless%mozdev.org 3db428f6ac Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
cvshook%sicking.cc 9c1b72f7f8 Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
darin%meer.net 4aa2e73cf3 fixes bug 295544 "Expose more designMode options to web apps" r=brade sr=jst a=bsmedberg 2005-06-24 17:18:27 +00:00
jwatt%jwatt.org c63fc078e3 Follow up patch for bug 62485. script type="text/ecmascript" is not recognized. r+a=brendan 2005-06-22 00:50:32 +00:00
cbiesinger%web.de a6c25dbef5 fixing bustage from Bug 224678 2005-06-17 18:17:08 +00:00
timeless%mozdev.org 1fe6f3e2c8 Bug 224678 nsComposerRegistration.cpp has suspicious code
new CIDs
r=brade sr=smfr a=asa
2005-06-17 17:50:27 +00:00
jst%mozilla.jstenback.com 302ea88f0f Fixing bug 285873. Make midas independent of the pref editor.CR_creates_new_p and make the default behaviour in midas match IE (such that hitting return in a p tag splits the p instead of inserting a br. r=brade@comcast.net, sr=bzbarsky@mit.edu, a=chofmann@mozilla.org 2005-06-02 03:11:35 +00:00
jst%mozilla.jstenback.com 5685890daf Fixing bug 283897. Make midas state survive document.open/write/close. Regression from bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu 2005-04-06 02:22:45 +00:00
scott%scott-macgregor.org 92aae97882 Bug #285138 --> Spellchecker doesn't skip quoted text in plain text editor anymore.
Regression caused by the inline spell check landing.

r=glazman
sr=bienvenu
2005-04-05 20:53:07 +00:00
mats.palmgren%bredband.net 78343a58c1 Fix a few -moz-outline* problems and drop the prefix.
Change WARNING to ERROR in nsComputedDOMStyle.cpp and add a few more.
b=281972 r+sr=dbaron
2005-03-27 11:36:08 +00:00
jst%mozilla.jstenback.com 069908d0d2 Fixing bug 285741. Only ever re-enable scripts n' plugins etc for midas. r=brade@comcast.net, sr=bzbarsky@mit.edu 2005-03-22 04:33:17 +00:00
scott%scott-macgregor.org c139093c5f Bug #282278 --> Don't spell check message headers when forwarding as inline
r=glazman
sr=bienvenu
2005-03-15 21:04:21 +00:00
jst%mozilla.jstenback.com d1eee00bc1 Initialize uninitialized member, just in case... 2005-03-03 00:04:04 +00:00
jst%mozilla.jstenback.com 8fcbfd6777 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 76e0723cdc 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 003772fd36 Another instance with the same issue as the previous patch 2005-02-25 16:17:16 +00:00
neil%parkwaycc.co.uk 11a95889b2 QueryInterface -> GetInterface fix for editor smoketest bustage b=283612 r+sr=bz 2005-02-25 16:01:18 +00:00
timeless%mozdev.org 5ae2d75807 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 846d1fda2c 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 6b5147dd71 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 ea86762fe5 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 f5257db823 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
scott%scott-macgregor.org 6fcaaf5e1f 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 56a6d2bc54 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 81a0de68d5 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 e766f067db :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 1435145ce6 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 96c79cea45 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
bsmedberg%covad.net 3055933c27 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 c88621ae6f 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 93852793b1 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 efcc221ee4 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
scott%scott-macgregor.org b33e863edd 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 cc807b07b1 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner%brianryner.com 88f80381e3 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 52092297fe Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu b8ecbc84da Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
gerv%gerv.net 6f486a3c92 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
darin%meer.net 25d84ac621 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 8c818ed6c3 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
ere%atp.fi b1ae7188b5 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 8b6dc1c3ca Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
bryner%brianryner.com f67839e02e 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 1804c4910c 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 d59d778d25 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 579027d2f4 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 78e8bb1134 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 4ab234b8be 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 1f4ab81acd 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 f0bfff2628 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 b3dc3d81bd 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 73561d1e28 Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky. 2003-12-26 04:24:11 +00:00
bsmedberg%covad.net a262c9b4f7 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 7dde0e96dc Update to review comments. oops. Bug 225749 2003-12-21 12:36:47 +00:00
mvl%exedo.nl 028692f012 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 6380d7fd12 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 a0e219b348 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 352e645b90 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 25d4178350 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 860b07673a 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 6a67727b71 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 f1efc20ae6 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 ef99140d6d 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 92d49f7efb use Truncate instead of SetLength(0); r=cmanske, sr=bz, bug=209548 2003-07-18 02:27:19 +00:00
brade%netscape.com d181caca28 fix linux bustage 2003-07-14 15:43:20 +00:00
brade%netscape.com 50bd6758dd cleanup #includes; r=kaie, sr=darin, bug=180316 2003-07-14 14:37:23 +00:00
jaggernaut%netscape.com 20004e3489 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
scott%scott-macgregor.org 997103a406 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 0e20c9345c 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 42f5498e33 remove unused variables to fix warnings; no bug, no reviews 2003-07-08 22:10:09 +00:00
brade%netscape.com 0d360e211d editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:22:56 +00:00
bzbarsky%mit.edu fd6654ba6d 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 6cca4ccd3e NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548 2003-06-27 14:19:40 +00:00
glazman%netscape.com 9e7ea0ab4e 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 27496fee45 Files removed, they were accidentally checked in with a non binary cvs add 2003-06-25 07:49:49 +00:00
glazman%netscape.com 1197c766f5 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 2e8edec781 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 ba75de772b 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 8f112a4226 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 995573dc94 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 fc284010a2 removing commented out includes 2003-06-10 18:57:51 +00:00
brade%netscape.com 15ae90a807 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 00fc2c47cb 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 1cc73c1d82 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 1cf43e4c72 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 faa13685c5 fix assignment per sspitzer; bug 195506 a=sspitzer r/sr=smfr 2003-05-09 18:18:53 +00:00
brade%netscape.com 50c5f629a2 handle utf8 font names bug 201233; patch by taka, r=brade, sr=jag 2003-04-18 13:12:13 +00:00
kin%netscape.com 09dde3b2ef 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 a965a2ae14 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 4dbf4f2abf Appease the Windows __stdcall gods. Bug 201257. 2003-04-10 20:45:17 +00:00
sfraser%netscape.com d61e2195a4 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 0ee6895c46 EditorOverride.css contained slow CSS rules; b=196625, r=kin, sr=kin 2003-03-25 15:16:21 +00:00
dougt%netscape.com be629223b6 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 078bb944e6 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 191c65b718 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 2a1389ecba 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 d8751c6855 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 0b3921ec72 Fixing build bustage; added missing semicolon. 2003-02-17 22:19:43 +00:00
mkaply%us.ibm.com dfc64e92c1 #193719
r=brade, sr=kin, a=dbaron
Midas - crash - handle unexpected empty parameters
2003-02-17 21:02:43 +00:00
brade%netscape.com 2c5b734cac 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 1b19156a4e 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 6e53484b55 #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 b060ad5bef 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 468d30e4c1 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 93d3799700 register commands (bug 184719, r=mkaply, sr=sfraser) 2003-01-17 12:54:18 +00:00
brade%netscape.com 4fd79914da 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 169ffbadef 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 0b5c7134c9 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 4edd31cdb7 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 1c01e174ff fix insert HR command for Midas (bug 183793; r=cmanske, sr=smfr) 2002-12-17 19:41:00 +00:00
rods%netscape.com ca00db2d37 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 e1c5617be2 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 b8076d0038 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 1c667569a9 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 f66ab2522e 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 c0c570c34e 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 46b4cff8d3 bug 157111; register new commands; r=cmanske, sr=sfraser 2002-11-20 01:20:19 +00:00
brade%netscape.com 8668acc33f bug 157111; add some new commands; r=cmanske, sr=sfraser 2002-11-20 01:18:48 +00:00
brade%netscape.com 9bacf15b54 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 4e3ba622bb Final removal of 'editorShell' and associated files. b=169029, r=brade, sr=sfraser 2002-11-15 15:36:44 +00:00
brade%netscape.com dc5d534dae fix compiler warning introduced by bug 170353 2002-11-13 15:45:34 +00:00
cmanske%netscape.com ca1d8bc561 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 0e1932c1de 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 485a14b98e 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 7ec6d23893 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 7224a79a1a 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 7447103b43 135774 r=cmanske sr=jag 2002-10-09 02:10:22 +00:00
cmanske%netscape.com b04b6d62f5 More 'editorShell' removal. b=169029, r=brade, sr=kin 2002-10-09 00:26:08 +00:00
cmanske%netscape.com 0b9e2faa24 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 429a6fcbe9 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 c4d52841f0 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 70ac511de8 Remove editorShell from main Composer window. b=169026, r=brade, sr=alecf 2002-10-03 04:07:10 +00:00
bryner%netscape.com 53392b85c9 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 ffaec9a45e bug 121648; remove unused portions of editorshell (r=glazou, sr=kin) 2002-09-30 13:51:35 +00:00
brade%netscape.com 280195516e 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 22d098a717 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 3e5edfdb98 Removing unsused files from tree 2002-09-17 23:46:12 +00:00
dbaron%fas.harvard.edu 4a1885515a 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 a26e65c14b 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 899ec31c99 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 32a04fd3c8 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 e2d26eb225 api changes (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:09:19 +00:00
brade%netscape.com bac16014d9 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 b949519e6d 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 d87e2f6203 add mComposerController (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:08:13 +00:00
brade%netscape.com a07848a5b7 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 c5e8f896cd 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 d94b37c68a 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 5d2a2e5fef 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 5823310245 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 41f3ad2589 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 d1505576db 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 8ae6c40f5d Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
glazman%netscape.com 84869edbfb 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 a9de1759c0 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 eb04da966b 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 543b9c1e7e 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 a57a0e776a 126312: Remove the obsolete old find code. r=brade, sr=alecf. 2002-07-09 20:24:37 +00:00
bryner%netscape.com e623c2b64f Removing this file, it's dead. r=sfraser. 2002-06-24 19:45:41 +00:00
kin%netscape.com e208ac0aa5 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 f0263ddf07 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 299c119589 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 4d4116d281 bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener) 2002-05-16 20:57:37 +00:00
dougt%netscape.com e96df2ad1b 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 3a05309063 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 e60e07296f 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 31a410f1f5 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 83da1a7436 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 4150a9ffcb 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 46443f0738 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 f93c06c8f7 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 72a3975289 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 819ce1f98f b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00