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

4437 Коммитов

Автор SHA1 Сообщение Дата
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
bryner%brianryner.com b26298f7c2 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +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
daniel%glazman.org cf491c34c8 fixes annoying assertion in the editor: b=217906, r=brade, sr=kin 2004-02-06 14:34:54 +00:00
kairo%kairo.at 9ec4b6c21a bug 232011 - Use the XUL preprocessor for build-time inserting of localeVersion strings, this removes contents*.rdf.in files and resurrects the contents*.rdf files, using preprocessor.pl via the jar.mn definitions 2004-02-04 14:24:38 +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 0f4260f296 Fixing debug build bustage. 2004-01-30 21:09:49 +00:00
neil%parkwaycc.co.uk 6f956d866c Bug 84098 Link properties dialog should display ids as well as named anchors and headings p=basic@mozillanews.org r=me sr=brendan 2004-01-30 11:04:40 +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
scott%scott-macgregor.org e19997ed86 Bug #229203 --> thunderbird needs new liness converted to commas when pasting into single cell text boxes.
This comes up when pasting address data from spreadsheet programs into the addressing widget. This pref cannot be turned on for seamonkey because it effects all single line text boxes.

r=glazman, moa=glazman
sr=bienvenu
2004-01-29 16:55:01 +00:00
daniel%glazman.org eff4dc2930 Remove all text styles menu item and key binding both no longer working in Composer and mail composer; b=215406; r=floppymoose,sr=dbaron 2004-01-29 14:52:43 +00:00
jst%mozilla.jstenback.com 65b212a279 Fixing regression bug 232343. Make nsTextServicesDocument::GetFirstTextNodeInPrevBlock() just return the first text node in the previous block, and not also position the iterator at that node. r=mscott@mozilla.org, sr=bryner@brianryner.com 2004-01-28 04:09:23 +00:00
jst%mozilla.jstenback.com d0e664d3a2 Fixing uninitialized variable that was introduced with the fix for bug 230840. 2004-01-26 21:58:09 +00:00
jst%mozilla.jstenback.com d62aed44c4 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2004-01-24 00:46:17 +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
neil%parkwaycc.co.uk f97835d45d Bug 231368 Remove unused nsIPref includes p=arne.anka@stupido.com r/sr=dbaron 2004-01-23 13:31:07 +00:00
dbaron%dbaron.org bd396f295c Fix leak by calling removeObserver for observer implemented in JS so it doesn't stay around until the pref service shuts down. b=231384 r=daniel@glazman.org sr=bryner@brianryner.com 2004-01-21 21:15:44 +00:00
bryner%brianryner.com 290494e26b Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky. 2004-01-21 09:35:59 +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
peterv%propagandism.org 172440f1a9 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst. 2004-01-18 14:52:21 +00:00
bsmedberg%covad.net 4a7646fde8 Bug 231270 - fix default prefs for Mac OSX rs=dbaron 2004-01-17 20:04:03 +00:00
bsmedberg%covad.net e77f17ab5c Bug 224578 - unix.js prefs were left out of first patch! I'm mortified. 2004-01-16 23:59:09 +00:00
bsmedberg%covad.net e9634f0db4 Bug 224578 - separate embedding/GRE default prefs from application prefs. r=timeless+glazou r/sr=alecf
There were a couple CVS-moves during this process:
modules/libpref/src/init/editor.js -> editor/ui/composer.js
modules/libpref/src/init/mailnews.js -> mailnews/mailnews.js
2004-01-16 19:22:43 +00:00
bsmedberg%covad.net 81dc9636d1 Bug 224578 - separate embedding/GRE default prefs from application prefs. r=timeless+glazou r/sr=alecf
There were a couple CVS-moves during this process:
modules/libpref/src/init/editor.js -> editor/ui/composer.js
modules/libpref/src/init/mailnews.js -> mailnews/mailnews.js
2004-01-16 19:15:30 +00:00
neil%parkwaycc.co.uk f8fe4b1d44 Bug 183569 no update for command cmd_smiley r=glazou sr=mscott 2004-01-15 21:51:42 +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
bzbarsky%mit.edu 75c2b9acde Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
2004-01-13 23:14:49 +00:00
smontagu%smontagu.org 242c0d7716 Make Ctrl+Delete and Ctrl+Backspace delete words in the expected direction in right-to-left text. Bug 209430, r=daniel@glazman,org, sr=dbaron@dbaron.org 2004-01-12 23:39:40 +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
neil%parkwaycc.co.uk 6d6daad850 Bug 196766 Insert/HTML should be using its own access key p=ciopz@bigfoot.com r=glazou sr=brendan 2004-01-09 22:18:25 +00:00
daniel%glazman.org 9611f22db6 Composer's table cell properties' dialog did not allow to reset width and hight and the switch between TD and TH did not work (regression): b=230165, r=timeless, sr=dbaron 2004-01-09 20:52:07 +00:00
daniel%glazman.org e2859af89c Composer's AllTags mode was showing tags for table resizing handles; b=230501, r=brade, sr=dbaron 2004-01-09 20:27:25 +00:00
bryner%brianryner.com 9c81944cb6 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +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
timeless%mozdev.org a3a3ee78ea Bug 225152 Warning: assignment to undeclared variable word in EdSpellCheck.js:281
r=mvl sr=kin
2003-12-21 04:27:52 +00:00
timeless%mozdev.org f0e74c62dc Bug 227415 Warning: assignment to undeclared variable foundCell in chrome://editor/content/EdTableProps.js
r=neil sr=bz
2003-12-21 04:04:50 +00:00
timeless%mozdev.org b5e84198f7 Bug 228527 JS Warnings in editor
r=neil sr=bz
2003-12-21 04:04:33 +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
cbiesinger%web.de 18fdb39822 225807 r=bzbarsky sr=darin make more use of getPrimaryExtension 2003-12-19 21:34:00 +00:00
mkaply%us.ibm.com 11b0a80b47 #217875
r=timeless, sr=bryner, a=dveditz
Change parentage of "Download More" in spellchecker dialog so it doesn't hang the UI
2003-12-17 22:58:36 +00:00
dbaron%dbaron.org 93497517b6 Remove include of stdio.h from nsTraceRefcnt.h. b=227074 r=dougt sr,a=brendan 2003-12-12 23:02:12 +00:00
timeless%mozdev.org cbb5c411b3 Bug 110517 ctrl-k doesn't work in mail/news composer on unix
Changes check spelling binding for unix to ctrl-shift-k
patch by bz and me r=neil sr=sspitzer a=sspitzer
2003-12-08 00:01:10 +00:00
dbaron%dbaron.org f35f2c3708 Separate locale version from Mozilla version so we do not have to bump locale version for every release. b=226377 r=kairo, bsmedberg sr=ben a=asa 2003-12-02 23:22:11 +00:00
technutz%netscape.net f145e63ff3 Bug 226299. Detabbify \editor\ui\jar.mn, r=daniel@glazman.org, sr=alecf@flett.org, a=dbaron@mozilla.org 2003-11-26 00:17:16 +00:00
neil%parkwaycc.co.uk e52690977f Bug 226736 Typo in editor toolbar preferences r=glazou,brade rs/a=asa 2003-11-25 23:50:55 +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
timeless%mozdev.org 93d52bd385 Bug 225991 DRefTool analysis for editor files
r=roc sr=roc
2003-11-17 20:45:37 +00:00
timeless%mozdev.org 3a6d6c90fd Bug 106386 Correct misspellings in source code
Changes strings which meant "referring"
patch by ajvincent@juno.com r=timeless sr=dmose
2003-11-17 10:05:45 +00:00
cbiesinger%web.de 26c72f348f bug 223990. Should have a getPrimaryExtensionForType function
r=bzbarsky sr=darin
also changes nsIMIMEService functions to start with a lowercase letter (only affects JS Callers)
2003-11-13 23:00:55 +00:00
darin%meer.net d511e38761 fixes bug 224240 "nsURIChecker cleanup" r=biesi sr=bzbarsky 2003-11-09 22:49:57 +00:00
neil%parkwaycc.co.uk 5358e5c3e0 Bug 224672 re-comment out dummy code that changes map name r=glazou sr=bz 2003-11-04 21:23:12 +00:00
peter%propagandism.org 816b00b6cc Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
cmanske%jivamedia.com b444821722 Fixed crash in table editing, b=217717, r=mozeditor, sr=dbaron, a=asa 2003-10-24 23:01:30 +00:00
neil%parkwaycc.co.uk f40d86059a Bug 92726 Save As should default to the message subject r=me moa=glazou sr=bienvenu a=asa 2003-10-24 12:13:46 +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
kairo%kairo.at 07e3c65080 bug 154927 - automate localeVersion updates based on milestone.txt - we'll now create all those files during compile time from .in files, r=leaf, sr=bz 2003-10-18 17:54:07 +00:00
bzbarsky%mit.edu 92ccceaf8d Add pref for the default :active styling. Bug 142163, patch by
mats.palmgren@bredband.net (Mats Palmgren), r=bzbarsky/sr=dbaron on the
layout/xpfe parts of the patch, r=glazou/sr=bzbarsky on the editor part,
moa=neil on the prefwindow changes.
2003-10-15 01:56:12 +00:00
neil%parkwaycc.co.uk 9e3cd4cc05 Bug 221719 Disable Composer's Paste As Quotation menuitem in the subject and address fields r=brade sr=alecf 2003-10-10 19:02:28 +00:00
mozeditor%floppymoose.com a767be1764 fix for topcrash 218556: I made the object resize listener hold weak pointer to the editor to fix resize timer firings on stale editors. r=brade; sr=peterv 2003-10-09 22:08:59 +00:00
mozeditor%floppymoose.com f207a10e67 removing bogus comments 2003-10-09 22:07:48 +00:00
bzbarsky%mit.edu 8801e97e8f Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
bryner%brianryner.com cd60efa8ac Updating my email address 2003-09-29 06:04:02 +00:00
jst%mozilla.jstenback.com 8aa7b563d2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
stephend%netscape.com 33faa420a3 Bug 220272. Accesskey of W for Paste Without Formatting conflicts with W for Rewrap in plain text editor. Patch by Karsten Dusterloh <kd-moz@tprac.de> r=neil, sr=bz 2003-09-25 21:12:50 +00:00
neil%parkwaycc.co.uk 55280fbc5e Bug 220215 use XPCNativeWrapper instead of directly calling Components.lookupMethod moa=glazman r=caillon sr=bz 2003-09-25 20:43:27 +00:00
uid502 6bed557bd4 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
hpradhan%hotpop.com fd34e45fa0 Bug 219673 : Uninitialized variable in nsHTMLEditor r=glazman sr=sfraser 2003-09-20 05:59:44 +00:00
neil%parkwaycc.co.uk 1fd1846c82 Bug 21432 Composer needs Page Setup menuitem r=brade sr=rbs 2003-09-17 08:41:15 +00:00
neil%parkwaycc.co.uk bcbe7de8a5 Bug 216564 Editor does not remove blank image title r=brade sr=rbs 2003-09-14 14:20:06 +00:00
neil%parkwaycc.co.uk a0683c1030 Bug 206279 Recent files list should not truncate end of file name r=brade sr=bz 2003-09-13 21:15:55 +00:00
dbaron%dbaron.org cb01f2577b Don't create style rule DOM wrappers for inline style, since we are not supposed to, and ours crash when used on inline style. b=218222 r+sr=bzbarsky 2003-09-13 19:18:52 +00:00
neil%parkwaycc.co.uk db6f1d5abb Bug 207221 Autocomplete URL in [Image/]Link Properties dialog r=brade sr=rbs 2003-09-11 09:10:22 +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
scott%scott-macgregor.org 01ad844c3b Bug #216753 --> Message compose should not automatically convert HTML attributes to CSS styles.
Fix this by setting a flag in editor to not use CSS styles for the background image.

Then back out my fixes in mailnews to work around the inline style editor was giving us. 

With this change, mail compose now handles background images again and they are preserved when you save as draft 
or save as template.

r=neil
sr=bienvenu

a=glazman for the editor change

a=asa for 1.5 final
2003-09-05 17:49:36 +00:00
brade%comcast.net 3998f855c6 remove unused variables, fix typos, code cleanup (r=glazman, sr=tor, a=asa, bug=216054) 2003-09-03 13:58:00 +00:00
brade%comcast.net 073a5613ee remove redundant code and unused variables, cleanup (r=glazman, sr=tor, a=asa, bug=216054) 2003-09-03 13:56:21 +00:00
brade%comcast.net 09622112c8 add helper methods for dealing with pixels; reduce string usage; code cleanup (r=glazman, sr=tor, a=asa, bug=216045) 2003-09-03 13:54:36 +00:00
brade%comcast.net d7cc2379d6 fix typo, removed unused string, code cleanup (r=glazman, sr=tor, a=asa, bug=216045) 2003-09-03 13:49:22 +00:00
scott%scott-macgregor.org 2e986e9fe2 fix for bug #216581
Rewrap is broken

thanks to Akkana (akkzilla@shallowsky.com) for the fix

r=brade a=sspitzer for 1.5 final
2003-09-03 04:17:45 +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
scott%scott-macgregor.org f9b076e455 Note: the editor portion of this change is to a routine only used by mailnews.
Make mail news handle inline background url styles which is how editor now sets background urls instead of using the obsolete background attribute on the body:

Bug #116867 --> convert background images from file urls to inline cid urls and attach the image as an inline part.This allows thunderbird and mozilla mail to support background images again.

Bug #170504 --> Compose from template/draft containing "Inline Styles" and a background image loses the background image drops the
inline style.

r=bienvenu
sr=sspitzer
a=sspitzer
2003-08-18 05:18:05 +00:00
cls%seawood.org c08e99a287 Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
caillon%returnzero.com 255168e7f6 Bug 215473
Implement tooltips for z-index and layer buttons in Composer.
Patch by Stephen Donner <technutz@netscape.net>
r=daniel@glazman.org
sr=bzbarsky@mit.edu
a=asa@mozilla.org
2003-08-15 05:07:33 +00:00
kairo%kairo.at b6208f06a9 bug 214207 - update localeVersion for 1.5b - rs=blizzard, a=asa 2003-08-11 11:31:24 +00:00
axel%pike.org 0fa5242f20 bug 210107, dont double blank lines when switching from normal to html, patch by burpmaster@truffala.net, r=brade, sr=tor 2003-08-06 09:57:02 +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
neil%parkwaycc.co.uk ad909ba8b1 Bug 213477 Right click menus don't hide or disable items when they should r=brade sr=rbs 2003-07-31 07:58:55 +00:00
jfrancis%netscape.com e2a72c1c4c fix for bugs 192507 and 181677. r=brade; sr=kin; 2003-07-31 07:09:42 +00:00
timeless%mozdev.org d2932a7552 Bug 214025 [@ nsHTMLCSSUtils::IsCSSEditableProperty]
r=glazou sr=bz
2003-07-29 14:48:44 +00:00
brade%netscape.com 4881ca3964 fix compiler warning 2003-07-28 22:18:42 +00:00
bzbarsky%mit.edu 95256ce645 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:35:53 +00:00
brade%netscape.com 124b8fe78d more Is* method usage / code cleanup; r=glazman, sr=bz, bug=212683 2003-07-28 20:31:08 +00:00
brade%netscape.com 64838ba838 fix tinderbox bustage 2003-07-28 14:27:49 +00:00
brade%netscape.com 7756228f66 cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard 2003-07-28 13:13:50 +00:00
bzbarsky%mit.edu ec0e304f16 Bump skinVersion up to 1.5, since older skins are likely to get broken by the
change to no longer support single-':' pseudo-elements.  Bug 211657, r+sr=dbaron
2003-07-25 23:03:39 +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
cbiesinger%web.de faf8419fc6 147679 GetFromMIMEType on Windows only gets one extension and needs rethinking r=bzbarsky sr=darin
this merges nsIMIMEService::GetFromType and GetFromExtension
2003-07-25 16:48:00 +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
jaggernaut%netscape.com f008bc2bad Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
brade%netscape.com 1333f0d2fc reduce string usage by using atom version of method; r/sr=dbaron, bug=213101 2003-07-19 08:51:54 +00:00
brade%netscape.com 2b9515c5b8 fix includes; r=kaie, sr=tor, bug=180316 2003-07-18 19:03:34 +00:00
brade%netscape.com f487989f20 editor cleanup; r=jfrancis, sr=blizzard, bug=209548 2003-07-18 14:12:51 +00:00
brade%netscape.com 40787e3814 fix bug found when reading source, replace ending space to match intent and version 1; r=jfrancis, sr=blizzard, bug=209548 2003-07-18 14:09:34 +00:00
brade%netscape.com b995a3ac74 call GetIsDocumentEditable which will check CanModify for us; r=jfrancis, sr=blizzard, bug=209548 2003-07-18 14:06:21 +00:00
brade%netscape.com c9c87af134 remove misplaced #ifdef NS_DEBUG; bug 209548 2003-07-18 13:06:18 +00:00
brade%netscape.com 9329fb77dc remove misplaced #ifdef NS_DEBUG 2003-07-18 13:04:46 +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 f516c0768a code cleanup (remove some NS_LITERAL_STRINGs in favor of existing ut
ility methods); r=cmanske, sr=tor, bug=209548
2003-07-17 23:44:13 +00:00
bryner%brianryner.com 7edc4ab000 Fixing --enable-plaintext-editor-only bustage (bug 209548). Patch by brade, r/sr=me. 2003-07-16 22:19:59 +00:00
brade%netscape.com 898cdcb4b8 editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548 2003-07-15 13:47:15 +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 bf82a649b9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
bzbarsky%mit.edu a33f58cdd0 Backing out part of patch for bug 211128, since it regressed all sorts of
XBL-ish stuff.  r=stuff-is-broken sr=jag for the backout.
2003-07-14 05:35:09 +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
bzbarsky%mit.edu 9fad3e7dfe Make XBL anonymous content get its base URI from the XBL document (the binding
URI) instead of from the document of the bound element.  This way relative URIs
in a binding are always relative to the binding.  Bug 211128, r=caillon, sr=jst
2003-07-11 23:06:26 +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 1c8419846e fix comment 2003-07-09 02:39:51 +00:00
brade%netscape.com 095064be64 remove unused local variable; fixes warning; no bug, no reviewers 2003-07-08 22:12:04 +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 7cdb30f095 fix warning for cstring charset change made a week or two ago; editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:38:51 +00:00
brade%netscape.com 32f3fd3d64 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:35: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
brade%netscape.com b04654bcc2 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
CVS ----------------------------------------------------------------------
2003-07-08 20:18:18 +00:00
kin%netscape.com 494e98c23f Fix for bug 211378 (Unable to paste into editor widgets with middle mouse button)
Modified MouseUp() and MouseClick() so that they call thru to the base class versions. This regression was caused by the fix for bug 137092.

r=brade@netscape.com  sr=bzbarsky@mit.edu
2003-07-08 17:38:13 +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
bzbarsky%mit.edu 25471a836d Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
timeless%mozdev.org c8997eb2af Bug 132209 Many XUL documents are invalid XML (<!DOCTYPE window ...>)
patch by riceman+bmo@mail.rit.edu r=timeless rs=jag moa=brade
2003-07-02 14:30:15 +00:00
bryner%netscape.com 6d59e7a395 Fix some issues related to focus changes in onfocus and onblur handlers:
- Abort firing blur events on the document and/or window if one of the blur handlers focuses something else.  This ensures that the caret doesn't get confused about whether it should be active.
  - Release any mouse or key grab when the view manager sees a deactivate event; this fixes event targeting when a mousedown handler opens a modal dialog.
  - Make sure the editor element is actually focused before activating the caret. Just receiving a focus event isn't good enough, since a focus change does not cancel propagation of the original event.

Bug 53579, r=jkeiser, sr=roc.
2003-07-01 22:46:55 +00:00
brade%netscape.com 9a868d3c9a code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 19:10:53 +00:00
brade%netscape.com 70046e0ec5 code cleanup continued; r=timeless, sr=kin, bug=209548 2003-06-30 18:55:06 +00:00
brade%netscape.com 6c5cc2f94c code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 17:28:52 +00:00
brade%netscape.com 610a10752a code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 15:02:48 +00:00
brade%netscape.com b8311b327c remove unused headers, r=timeless, sr=kin, bug=209548 2003-06-30 14:59:04 +00:00
brade%netscape.com 6688138229 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:57:59 +00:00
brade%netscape.com 2933c5d0d8 code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 14:56:22 +00:00
brade%netscape.com f0d1bfb89c code cleanup; r=timeless, sr=kin, bug 209548 2003-06-30 14:46:41 +00:00
brade%netscape.com 830f0a8d60 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:41:55 +00:00
brade%netscape.com ba4180665b code cleanup; r=timeless, sr=kin, bug 209548 2003-06-30 14:39:27 +00:00
brade%netscape.com f9f1ac623b code cleanup, r=timeless, sr=kin, bug 209548 2003-06-30 14:33:23 +00:00
brade%netscape.com 5fbb4f79d1 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:31:48 +00:00
brade%netscape.com 9976465a07 code cleanup; r=timeless; sr=kin; bug=209548 2003-06-30 14:24:40 +00:00
brade%netscape.com 5fa10bf2fe code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:20:49 +00:00
brade%netscape.com eec8607ca7 code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 14:17:15 +00:00
brade%netscape.com b23121c488 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:14:01 +00:00
brade%netscape.com 395d6d85a7 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:05:25 +00:00
brade%netscape.com 57743e4eb1 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 13:42:22 +00:00
brade%netscape.com 6cca4ccd3e NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548 2003-06-27 14:19:40 +00:00
kin%netscape.com 6c295fc019 jst@netscape.com's fix for tree blocker bug 210641 (Crash using Japanese IME)
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp

    - Fixed INTERFACE_MAP macros so that they call through to the class we inherit from.

r=brade@netscape.com  sr=kin@netscape.com
2003-06-25 19:21:59 +00:00
glazman%netscape.com 89a9bf1f37 Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst
2003-06-25 09:20:07 +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 55c9e23578 Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst
2003-06-25 08:41:51 +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
roc+%cs.cmu.edu 7928e4930c deCOMtaminate nsIFrame::GetWindow; the COM wrapper doesn't ADDREF when it should, the easiest thing to do is to just not use the wrapper. r+sr=dbaron 2003-06-24 13:39:15 +00:00
neil%parkwaycc.co.uk 3e80fb7dbd Bug 209823 Composer should use titletips in Preview mode r=glazman sr=alecf 2003-06-20 09:11:40 +00:00
dbaron%dbaron.org 42b06cc4f5 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
glazman%netscape.com 3cb1785e6d Composer's structure toolbar was showing anonymous content; b=190279, r=Neil, sr=peterv 2003-06-19 14:06:05 +00:00
stephend%netscape.com 998dd77226 fixing typo - s/cahced/cache 2003-06-18 23:04:50 +00:00
jfrancis%netscape.com 6e7d099d26 bug 140357: improving fix to handle redundant backspaces. r=brade, sr=kin 2003-06-18 22:42:24 +00:00
alecf%flett.org 5614718dd3 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
glazman%netscape.com aa9050e11d Was impossible to outdent a subset of an indented block in CSS mode
b=194963, r=kaie, sr=kin
2003-06-17 09:35:46 +00:00
glazman%netscape.com bef7afc6f3 Removing text styles in CSS mode was potentially removing too much if the styles were added in HTML mode
The fix creates a span element that will carry the inline styles and class of the HTML element to be removed, if any.
b=202037, r=kaie, sr=dmose
2003-06-17 08:45:54 +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
neil%parkwaycc.co.uk 108824e9bf Bug 69329 Use plain text editor for HTML source (also implements find in HTML source) r=brade sr=alecf 2003-06-13 12:55:17 +00:00
glazman%netscape.com 79d9d260c7 error in nsHTMLEditor::SetFlags(), has side-effects on CSS editing; b=209086, r=brade, sr=kin 2003-06-13 12:39:35 +00:00
kairo%kairo.at c616081c7d bug 207642 - update localeVersion for 1.5a, also update contents-platform.rdf and contents-region.rdf files, r=rchen, sr=blizzard 2003-06-12 15:19:21 +00:00
brade%netscape.com c242ab28d5 remove unused params; r=akkana, sr=kin, bienvenu, bug=208967 2003-06-12 14:51:37 +00:00
peterv%netscape.com 9360cadfed Fix HP-UX bustage from jfrancis checkin. 2003-06-12 11:20:00 +00:00
glazman%netscape.com 511d25c3f6 CSS indentation was not dropping non-editable nodes; b=203723, r=kaie, sr=peterv 2003-06-12 07:43:07 +00:00
jfrancis%netscape.com 4e3a501c39 improvement to 140357 fix: reducing bloat of previous patch, extending functionality to css-mode editting, and improving TypeInState to recognize redundant selection change notifications.
fix for 208317: css-mode editing left empty spans around, which could cause disapearing carets
r=brade; sr=kin
2003-06-11 19:33:01 +00:00
kaie%netscape.com b497c6895c b=207183 Smiley gets deleted, editor tries to manipulate whitespace in the -moz-user-select:all block
r=jfrancis sr=kin
2003-06-11 12:02:49 +00:00
kaie%netscape.com 6678fd2394 b=202166 Edit actions place caret on invalid position
r=jfrancis sr=kin
2003-06-11 11:50:36 +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
seawood%netscape.com 6934dc37a9 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
brade%netscape.com fc284010a2 removing commented out includes 2003-06-10 18:57:51 +00:00
brade%netscape.com 271780827f remove some useless local variables, fix whitespace, add param to insertion hook (sourceDoc), r=rogermw, sr=kin, bug=208539 2003-06-10 18:53:11 +00:00
brade%netscape.com 3b206d0ebf add param to insertion hook (sourceDoc), r=rogermw, sr=kin, bug=208539 2003-06-10 18:52:31 +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
neil%parkwaycc.co.uk 11d271e05c Bug 206499 Tooltips missing for Cut, Copy & Paste in Composer r=brade sr=alecf 2003-06-05 12:32:41 +00:00
shliang%netscape.com c4a3a099fd 206820 - font menu in msg compose and composer doesn't work on osx. r=neil, sr=jag. 2003-06-05 00:48:49 +00:00
kairo%kairo.at 108ef75354 bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard 2003-06-04 11:11:19 +00:00
jshin%mailaps.org 1e0ac01fd8 bug 133615 : remove ISO-2022-KR/Visual Hebrew from 'Save As Charset' menu
in Composer. (r=neil, sr=jag)
2003-06-04 06:19:35 +00:00
neil%parkwaycc.co.uk e8225239d2 Bug 208094 Form/Image doesn't convert <img> r=brade sr=peterv 2003-06-03 14:44:05 +00:00
jfrancis%netscape.com 948ea9868f bug 140357: (html editor) deletion should preserve style state. r=brade; sr=kin 2003-06-02 22:21:06 +00:00
brade%netscape.com c6dd498436 remove bogus comment; r=Neil; rs=sspitzer; bug 129054 2003-05-30 19:45:46 +00:00
brade%netscape.com 5a286652d5 remove "Midas" codename from page contents; describing as "Rich Text Editing"; NOT PART OF BUILD 2003-05-30 15:43:54 +00:00
brade%netscape.com 8c5492c35e updated documentation for rich text editing (formerly known as midas) commands; all current commands (as of 1.5alpha today) are listed now. NOT PART OF BUILD. 2003-05-30 15:40:27 +00:00
brade%netscape.com aa7d697586 don't handle empty string from pref as valid background image; r=timeless, sr=jag; bug 207501 2003-05-30 13:36:48 +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 53a7a2f1b6 Bug 206470 editing text files shouldn't have HTML features
r=brade sr=jag
2003-05-28 19:53:50 +00:00
neil%parkwaycc.co.uk ba19e76b3a Bug 45495 gui for editing form elements r=glazman sr=alecf 2003-05-27 12:44:22 +00:00
timeless%mozdev.org eb1326faf2 Bug 205347 warning: `PRBool IsInlineNode(class nsIDOMNode *)' defined but not used
r=brade,jfrancis sr=sfraser
2003-05-23 22:10:06 +00:00
timeless%mozdev.org 08a70ed81d Bug 204076 Remove unused variable `PRBool sameNode' from nsHTMLEditorStyle.cpp:524
r=brade sr=tor
2003-05-23 21:55:17 +00:00
timeless%mozdev.org 5ef0585a3c Bug 199989 Remove gNoisy code from libeditor.
r=brade sr=alecf
2003-05-23 21:43:10 +00:00
dwitte%stanford.edu 149f719c00 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34: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
jaggernaut%netscape.com beaec6185a Bug 205083: Composer's Selection List Properties dialog appears with a XML parsing error. Patch by neil.parkwaycc.co.uk@myrealbox.com, r=jag, sr=/a=sspitzer 2003-05-23 11:24:01 +00:00
brade%netscape.com e2ad168748 documentation changes for editor commands; r/sr=smfr; a=asa 2003-05-22 22:03:34 +00:00
neil%parkwaycc.co.uk 54c6518a29 Bug 204388 Support Ctrl++ and variants to increase font size in Composer r=brade r=bobj(l10n) sr=alecf a=asa 2003-05-22 12:35:23 +00:00
jkeiser%netscape.com c8633873f1 Fix drag and drop to/from textarea and input (bug 194802), r=bryner@netscape.com, sr=jst@netscape.com, a=sspitzer@netscape.com 2003-05-21 00:42:32 +00:00
timeless%mozdev.org 279209f254 Bug 206287 things Will be re-ordered to match declaration order
r=roc+moz sr=roc+moz a=roc+moz
2003-05-20 02:02:56 +00:00
sspitzer%netscape.com de77f3d307 landing last bit of neil.parkwaycc.co.uk@myrealbox.com's fix for bug #54802
we now have cut/copy/paste/find icons for modern and classic, so we can
enable the pref UI that allows users to enable / disable them.
r/sr/a=sspitzer
2003-05-20 00:26:46 +00:00
glazman%netscape.com 00ca69f01d crash when doing multiple redo commands in Composer; r=brade, sr=peterv, a=sspitzer 2003-05-16 09:08:03 +00:00
dbaron%dbaron.org a15b9f2cf4 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
kaie%netscape.com e922d41efb b=169213 hitting backspace deletes HR above, fix confusing caret placement around <hr> lines
r=jfrancis sr=sfraser a=sspitzer
2003-05-14 13:20:09 +00:00
kaie%netscape.com 3977ca8978 b=200417 backspace, enter keys have no visible impact
r=jfrancis sr=sfraser a=sspitzer
2003-05-14 13:17:32 +00:00
brade%netscape.com 9cd318825f api change to insertion filter to add flag for delete selection; r=timeless; sr=kin; a=asa; bug=204066 2003-05-09 18:33:14 +00:00
brade%netscape.com 0f6a3aedcb api change to insertion filter to add flag for delete selection; r=timeless; sr= kin; a=asa; bug=204066 2003-05-09 18:32:50 +00:00
brade%netscape.com 376c526961 api change to include event (similar to paste/drop hook); r=cmanske, sr=sfraser, a=asa bug=203365 2003-05-09 18:30:02 +00:00
brade%netscape.com c64e4eee66 cmd_clearUndo implementation; r/sr=smfr a=sspitzer bug 195506 2003-05-09 18:21:00 +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
timeless%mozdev.org e5576b54e0 Bug 204069 ifdef DEBUG_kin some stuff in nsTextServicesDocument.cpp to remove warnings/hide unused debug code
r=kin sr=kin a=sspitzer
2003-05-02 21:13:41 +00:00
brade%netscape.com 0571059292 removing EditorOverride.css from jar; it's now a resource (bug 203399, r=timeless, sr=jag) 2003-04-29 13:36:31 +00:00
brade%netscape.com 35e02d4a66 bug 203399; remove needless stylesheet call; r=timeless; sr=jag 2003-04-29 13:34:30 +00:00
brade%netscape.com 8050d83eca cleanup transferable hooks in editor; defer selection manipulation in plain text; ensure hooks are properly positioned (bug 203062) r=kaie, kin; sr=smfr 2003-04-25 21:05:32 +00:00
brade%netscape.com 7ba09392a6 move docshell here to support hook utility methods (bug 203062; r=kin/kaie, sr=smfr) 2003-04-25 21:03:15 +00:00
neil%parkwaycc.co.uk 774dfb7b61 Bug 202338 font dropdown should be disabled unless body has focus r=brade sr=sspitzer 2003-04-23 08:25:34 +00:00
brade%netscape.com fd1224e85f missing hook from bug 192171 (r=brian johnson, sr=sfraser) 2003-04-22 20:32:59 +00:00
sfraser%netscape.com efcf8d6576 Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin. 2003-04-22 18:11:12 +00:00
neil%parkwaycc.co.uk b3da04d9c0 Bug 201693 Composer ignores tab key (list indentation/table cell navigation) r=brade sr=bryner 2003-04-22 08:26:33 +00:00
timeless%mozdev.org e72faf000b Bug 73748 Remove nsJSComponentManager.js and nsJSSupportsUtils.js
patch by doron@netscape.com r=timeless sr=rbs
2003-04-20 20:46:25 +00:00
leon.zhang%sun.com 78f946e42d Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser 2003-04-20 01:03:40 +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
jaggernaut%netscape.com 2a77c9318b Bug 145243: warning should be presented if user attempts cancellation of publish. r=kaie, sr=hewitt, moa=brade 2003-04-18 12:59:52 +00:00
seawood%netscape.com 5e2dd72a02 Implement mozcomps static build variant.
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner
2003-04-17 19:19:42 +00:00
kairo%kairo.at 0978e17a8a bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard 2003-04-17 18:43:57 +00:00
alecf%netscape.com ebd37e392b fix for plaintext editor, fallout from bug 201982
sr=sfraser
2003-04-17 18:28:35 +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 ca3fdeb474 editor changes for drag/drop/copy/paste hooks (bug 197121) r=jfrancis, sr=smfr 2003-04-17 13:18:51 +00:00
jaggernaut%netscape.com d95e3e2d05 Bug 198546: Format -> Font submenu doesn't deal with "unknown" font. r=glazou, r=Neil, sr=bryner, moa=brade. 2003-04-17 07:35:55 +00:00
alecf%netscape.com 6673301edc fix for bug 201982 - r=brade, sr=smfr
nsIEditProperty was an interface with no methods and only static members - moved it to an entirely static class.
2003-04-17 05:42:33 +00:00
kaie%netscape.com 0a8b9a815b b=201974 Caret partially/completely visible with initial <p> </p>
r=jfrancis sr=sfraser
2003-04-16 20:18:41 +00:00
shliang%netscape.com 2bc8570c09 bug 107877. default font prefs for msg compose. r=neil, brade, sr=sspitzer, jag. 2003-04-16 07:07:10 +00:00
suresh%netscape.com 5cd17198b5 fix for bug 202150 - Insert Menu lacking id attributes. r/sr-smfr. 2003-04-15 23:03:33 +00:00
kaie%netscape.com 6e0de691c9 b=68767 extra blank space added when block level element (hr, table) is inserted at the end of a line, between two lines
r=jfrancis sr=kin
2003-04-15 20:53:15 +00:00
brade%netscape.com be2a207097 add insertion listener; bug 192567 (r=jfrancis, sr=kin) 2003-04-15 14:07:30 +00:00
brade%netscape.com d7db3c6ee0 updated insertHTML* methods; bug 192567 (r=jfrancis, sr=kin) 2003-04-15 14:00:08 +00:00
brade%netscape.com 86857f2b00 add new idl file; bug 192567 (r=jfrancis, sr=kin) 2003-04-15 13:57:38 +00:00
brade%netscape.com eb0fe9475a new idl file for bug 192567 (r=jfrancis, sr=kin) 2003-04-15 13:56:53 +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
bzbarsky%mit.edu 5df3b30a3b Make CreateContextualFragment know what document the fragment is destined for.
Fixes some issues with images and innerHTML.  Bugs 198486, 198989, 201865.
r=jfrancis, sr=jst
2003-04-15 01:09:09 +00:00
bzbarsky%mit.edu 01d0c60590 MakeList is redundant with AppendList. Bug 179810, r=jfrancis, sr=kin 2003-04-13 04:30:16 +00:00
jaggernaut%netscape.com 414b1998c4 Bug 201609: Cancelling publish doesn't really cancel currently executing uploads
. r=ssu, sr=bryner, moa=brade. Note that this bug depends on bug 201610 being fi
xed.
2003-04-11 13:20:20 +00:00
alecf%netscape.com 8b7145ecb4 fix for bug 199170 - convert editor over to using nsStaticAtoms
r=brade, sr=sfraser
2003-04-10 21:04:07 +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
kin%netscape.com cfcce2de81 Fix for bug 199490: A crash occurs after clicking in (HTML tags )document - Trunk [@
nsHTMLEditor::SetFinalSize]

  - A one line fix in HideResizers() which prevents the
    reported crash by setting mIsResizing to false. I assume
    we can't be resizing if the resize handles are being hidden.
    The assertion and null check in SetFinalSize() are just because
    I'm paranoid, but they should never be triggered if HideResizers()
    is called first.

  - The changes in StartResizing() makes it so that we don't create
    a new mouse motion listener if we already have one. We were
    creating a new listener each time we clicked on the handles, and
    never unregistering the old one ... this meant that the old
    listeners could be triggered if the editor were ever destroyed
    and the document left in tact ... allowing us to crash because the
    listeners keep an un-addref'd pointer to the HTMLEditor. Note that
    this crash is not likely to be hit in Mozilla since we always
    destroy the document and editor in Composer and MailCompose, but
    it can happen in an embedding context.

r=glazman@netscape.com  sr=sfraser@netscape.com
2003-04-09 21:10:58 +00:00
kin%netscape.com 8468c6fa68 Fix for bug 200549:Double click selects just the image in a -moz-user-select:all
subtree


mozilla/editor/libeditor/html/nsHTMLEditor.cpp
    - jfrancis' fix for netscape bug 615240 (applying mozilla patch
      on branch. Fixing problems of improper handling of del and
      backspace keys with file attachments.) which was originally
      landed in revision 1.445.6.3. This patch is necessary to make
      the fix for bug 200549 work properly.

r=sfraser@netscape.com  sr=kin@netscape.com


mozilla/editor/libeditor/html/nsHTMLEditorMouseListener.cpp
mozilla/editor/libeditor/html/nsHTMLEditorMouseListener.h

    - Modified nsHTMLEditorMouseListener::MouseDown() to
      call FindUserSelectAllNode() so that the root of a
      -moz-user-select:all subtree gets selected during
      a double or context click.

    - Modified nsHTMLEditorMouseListener so that it stores an nsHTMLEditor*
      instead of an nsIEditor* so we could have access to FindUserSelectAllNode().

r=brade@netscape.com  sr=sfraser@netscape.com
2003-04-07 14:32:23 +00:00
kin%netscape.com 150409662a Fix for bug 42046: One click select and drag for images, hrs, and -moz-user-select:all
subtrees


mozilla/layout/html/base/src/nsFrame.cpp

  - Added utility method ContentContainsPoint()
  - Modified HandlePress() to allow selection of images, hrs and
    -moz-user-select:all subtrees, and then disable selection
    processing of drag events.


mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp

    - Modified InsertFromDrop() so that it prevents a drop from
      happening in a -moz-user-select:all subtree. (Temporary
      workaround to avoid bug 195957 and bug 195959)

r=mjudge@netscape.com  sr=sfraser@netscape.com
2003-04-07 14:28:51 +00:00
neil%parkwaycc.co.uk 85399e0b0b Bug 193712 Text and highlight colours don't translate rgb in css mode r=glazman sr=kin 2003-04-07 08:11:21 +00:00
neil%parkwaycc.co.uk f4117b3995 Bug 192084 cannot assign multiple classes to elements r=glazman sr=kin 2003-04-07 08:09:56 +00:00
kin%netscape.com 03308d1b07 Fix for bug # :Hiding resize handles triggers assertion in ~nsGenericHTMLElement()
Modfied DeleteRefToAnonymousNode() so that it set the content node's document and parent to nsnull.

r=brade@netscape.com  sr=sfraser@netscape.com
2003-04-04 20:51:36 +00:00
kin%netscape.com 086e9f0622 Fixes for bug 192569 (allow foreign transactions to be added to the queue)
mozilla/editor/idl/nsIEditor.idl
mozilla/editor/libeditor/base/nsEditor.cpp
mozilla/editor/libeditor/base/PlaceholderTxn.cpp
mozilla/editor/libeditor/html/nsHTMLCSSUtils.cpp
mozilla/editor/libeditor/html/nsHTMLEditor.cpp
mozilla/editor/libeditor/text/nsTextEditRules.cpp

  - Renamed nsIEditor::Do() to nsIEditor::DoTransaction() so that it
    can be called from JavaScript.

  - Cleaned up nsEditor::Begin/EndUpdateViewBatch() so that
    nothing happens outside the check of mUpdateCount.

  - Modified PlaceholderTxn.cpp so that it checks to see
    if a merged transaction implements nsPIEditorTransaction
    before attempting to cast it to (EditorTxn*).

mozilla/editor/ui/composer/content/EditorCommandsDebug.js
mozilla/editor/ui/composer/content/editorOverlay.xul
mozilla/editor/ui/composer/locale/en-US/editorOverlay.dtd

  - Added debug menu items to test execution of foreign transactions
    via the txnmgr and editor.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2003-04-04 20:50:25 +00:00
kin%netscape.com 0ec32e88c8 Fix for bug #195959: Drop causes image in -moz-user-select:all subtree to be duplicated
Prevent nsHTMLEditRules::CreateStyleForInsertText() from trying to split non-container nodes.


r=jfrancis@netscape.com  sr=sfraser@netscape.com
2003-04-04 15:29:59 +00:00
jaggernaut%netscape.com 676f90b0b2 Add defined(XP_MACOSX) to bail early when !mInIMEMode. r=brade, sr=lumpy 2003-04-04 13:26:12 +00:00
jaggernaut%netscape.com 9eae2082b5 Bug 200638: fix drag copy modifier key on Mac OS X. r=Neil, sr=peterv 2003-04-04 12:48:23 +00:00
sfraser%netscape.com a5a80015e1 Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin. 2003-04-04 01:45:06 +00:00
neil%parkwaycc.co.uk ffefee4ca3 Bug 198878 Preferences>Composer>Toolbars says Preview while Composer's toolbar says Browse r=brade sr=dmose 2003-04-03 09:08:57 +00:00
brade%netscape.com 9d2930b43f require all users of htmleditor to have EditorOverride.css so resizing will work
; bug 196075; r=jfrancis, sr=bryner
2003-04-03 08:05:23 +00:00
brade%netscape.com 4345a8c17f make EditorOverride.css a resource; fix bug 196075; r=jfrancis, sr=bryner 2003-04-03 08:01:49 +00:00
seawood%netscape.com de59dbee4b Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
henry.jia%sun.com b7df6947aa Patch for bug 35296: SetCaretEnabled() takes too long
Patch by Leon.Zhang@sun.com
r=sfraser, sr=kin
2003-04-02 05:48:09 +00:00
bryner%netscape.com b11cb5e21e Oops, removing ^M characters. Fixing IRIX bustage. 2003-04-02 04:52:53 +00:00
bryner%netscape.com d77ece64e2 Fix ctrl+enter in the mail compose window by getting rid of editor's key listeners in the client event pass entirely (everything now happens in the system event pass). r=brade, sr=sfraser. 2003-04-02 03:31:18 +00:00
dbaron%dbaron.org 8381c0d44d Remove unused file. b=198627 r+sr=sfraser 2003-04-01 19:32:59 +00:00
brade%netscape.com 8faaa86dec correct some API changes; add a few more commands; still incomplete (NOT PART OF BUILD) 2003-04-01 09:54:28 +00:00
jkeiser%netscape.com 7cd170336c Fix .originalTarget problems in editor (bug 193689), r=brade@netscape.com, sr=jst@netscape.com, a=asa 2003-04-01 06:12:51 +00:00
sfraser%netscape.com f8756f25f7 Fix for bug 199320 -- random composer crashes. Remove code that set the editor as a refCon on a controller which was created in JS, because it's unnecessary, and because the JS has no callbacks that allow it to null out the refCon when that editor is destroyed, leading to stale references which crash XPConnect. r=brade, sr=kin, a=asa. 2003-03-31 19:08:00 +00:00
alecf%netscape.com 925955c81d landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
kin%netscape.com e330f0c63e Fix for bug 199133: mfc embed drag&drop doesn't work within same editor
Make DragOver() consume the drag event so that the default browser drag listener that is present during embedding, isn't triggered.

r=brade@netscape.com sr=dbaron@dbaron.org
2003-03-25 15:38:17 +00:00
glazman%netscape.com 8bfa453ecb meta-fix for image and table resizing bugs in html editor
solves bugs 195412, 196624, 196122, 195849, 197158, 195141, 195126, 199013
r=brade, sr=kin
2003-03-25 15:24:08 +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
locka%iol.ie 8214c54221 Add PERSIST_FLAGS_DONT_CHANGE_FILENAMES flag to prevent filename munging during composer upload. b=138832 r=brade@netscape.com sr=jaggernaut@netscape.com 2003-03-25 12:19:05 +00:00
neil%parkwaycc.co.uk a2c4b6a491 Bug 198264 Editor's "Toolbars" category label cannot be localised r=brade sr=alecf 2003-03-24 13:54:49 +00:00
timeless%mozdev.org 965ba28bb1 Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
bryner%netscape.com 2e125db44a Move editor's key event listener, xbl commands, and typeahead find into the system event group. This allows event listeners in content to reliably cancel key events. Bug 54035, r=jkeiser and aaronl, sr=hyatt and kin. 2003-03-24 04:00:58 +00:00
jfrancis%netscape.com ee778d7be5 fix for 189225: deleting text at beginning of line adds extra space.
r=brade; sr=kin
2003-03-23 20:49:49 +00:00
jfrancis%netscape.com b8893ea45e fix for 187955: improvements to html fragment sink and paste code. Fixes problems seen with "Create table From Selection" and also with CF_HTML paste.
r=brade; sr=kin
2003-03-23 20:45:47 +00:00
jfrancis%netscape.com 8c1895d104 fixes for:
178304 - deleting only char in text node places caret in previous block
174867 - caret in wrong place after delete-to-end in list
181898 - select into mailcite, type: inserted text is in cite
r=brade; sr=kin
2003-03-23 20:22:15 +00:00
jfrancis%netscape.com 03b6da655f fix for 161969: remove empty mailcites when editting
r=brade; sr=kin
2003-03-23 19:51:03 +00:00
jfrancis%netscape.com 86986ab464 fix for 118912: atomic deletion of emoticons
r=glazman; sr=kin
2003-03-23 19:45:40 +00:00
sspitzer%netscape.com bb2efc3630 fix for bug #198624
bulletproof for crasher in nsHTMLEditor::HideResizers()
r=brade,sr=kin
2003-03-22 17:22:22 +00:00
syd%netscape.com 38fe3e6792 http://bugzilla.mozilla.org/show_bug.cgi?id=195655
Add support for 9 new smilies, and clean up code a bit (part of multiple checkins)
2003-03-22 04:54:35 +00:00
alecf%netscape.com 16af458ceb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
jaggernaut%netscape.com e11eb11c40 Bug 26288: Allow user to select system fonts in editor UI. r=Neil, sr=sspitzer, moa=brade 2003-03-21 08:36:28 +00:00
alecf%netscape.com c4ea07bc53 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
heikki%netscape.com 87734f06b5 Bug 172065, remove unused XIF labels, patch by stevechapel@earthlink.net, r=sgehani, sr=heikki. 2003-03-21 01:11:52 +00:00
bzbarsky%mit.edu 2eddb1a738 Fix preview in image insertion dialog. Bug 198428, r=brade, sr=blizzard 2003-03-21 00:29:31 +00:00
brade%netscape.com b7852204ac cleanup various items like omitting needless QI, fixing case to match idl file, adding parens to JS function, fix case of doctype string; r=timeless,Neil, sr=jag; bug 198402 2003-03-20 15:37:42 +00:00