Commit Graph

4382 Commits

Author SHA1 Message Date
daniel%glazman.org
f8a9b202b8 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
806e2d7dc7 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
4f2e5da122 Fixing uninitialized variable that was introduced with the fix for bug 230840. 2004-01-26 21:58:09 +00:00
jst%mozilla.jstenback.com
ce1edc1dc9 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
56bd2e4e15 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
84428dc828 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
643acf57f1 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
ef5c330583 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
f4bed13880 Allow the editing session to update all command controllers from script; this is needed for MDI in Composer/Nvu and frameset editing.
b=231464, r/sr=dbaron
2004-01-19 20:31:18 +00:00
peterv%propagandism.org
db653ec4e3 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
1e8f67c135 Bug 231270 - fix default prefs for Mac OSX rs=dbaron 2004-01-17 20:04:03 +00:00
bsmedberg%covad.net
c7b97d1f33 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
047415ef80 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
f4c960a66c 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
c85fc9a9db Bug 183569 no update for command cmd_smiley r=glazou sr=mscott 2004-01-15 21:51:42 +00:00
daniel%glazman.org
002e4c216a Font-family dropdown menu not updated in Composer and HTML mail composition; b=230683, r=Neil, sr=sspitzer 2004-01-14 16:26:32 +00:00
bzbarsky%mit.edu
8093efd14c 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
7a8aed8d34 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
c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
neil%parkwaycc.co.uk
1381d4d55a 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
e192f6607b 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
9d3d02884e 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
e65d2d2fe5 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
d0f309943a Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net
274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
daniel%glazman.org
97ddf886c0 fixing corrupted GIF image; fix by hadrien.nilsson@sinapse.com; b=228708, r/rs=daniel@glazman.org 2004-01-05 14:10:41 +00:00
bryner%brianryner.com
080ad777b6 Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky. 2003-12-26 04:24:11 +00:00
bsmedberg%covad.net
0c471686e7 bug 219233 - Unfork nsIChromeRegistry.idl (not the impl, just the interface) and move it into content/base/public until we can get a more fine-grained separation of that interface in to GRE/non-GRE pieces. r/sr=hyatt+jst
I couldn't do a CVS move of nsIChromeRegistry.idl, sorry... it was added on a branch earlier. The old CVS log/blame can be found at mozilla/rdf/chrome/public/nsIChromeRegistry.idl
2003-12-22 05:23:10 +00:00
mvl%exedo.nl
778af1240c Update to review comments. oops. Bug 225749 2003-12-21 12:36:47 +00:00
timeless%mozdev.org
301baa7362 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
99bb05cf6b 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
9bf18d89e0 Bug 228527 JS Warnings in editor
r=neil sr=bz
2003-12-21 04:04:33 +00:00
mvl%exedo.nl
e8119d04ba make nsIEditorSpellcheck use nsAString instead of nsString.
bug 225749, r=dwitte, sr=alecf
2003-12-20 13:06:44 +00:00
cbiesinger%web.de
7a40e9e1fe 225807 r=bzbarsky sr=darin make more use of getPrimaryExtension 2003-12-19 21:34:00 +00:00
mkaply%us.ibm.com
8974df19d2 #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
6931545fdc 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
fc0c74c42d 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
d5582721b7 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
f1c7ca5b73 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
722f0efb6e 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
4183787fa9 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
timeless%mozdev.org
d594242b8a Bug 225991 DRefTool analysis for editor files
r=roc sr=roc
2003-11-17 20:45:37 +00:00
timeless%mozdev.org
d8323ba73f 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
86a6cb09ce 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
582bc3f22c fixes bug 224240 "nsURIChecker cleanup" r=biesi sr=bzbarsky 2003-11-09 22:49:57 +00:00
neil%parkwaycc.co.uk
9cbca90577 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
f9f591a28f Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
cmanske%jivamedia.com
4e813663f9 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
c3f084c87b 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
605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
kairo%kairo.at
7b21e2d4eb 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
7e19a9767b 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
2d04a18bbc 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
9db6cb6a5b 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
0231ae7e05 removing bogus comments 2003-10-09 22:07:48 +00:00
bzbarsky%mit.edu
a972a3e501 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
b74d8438f9 Updating my email address 2003-09-29 06:04:02 +00:00
jst%mozilla.jstenback.com
5037b2a4a2 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
98d74e30c8 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
4c283a6eeb 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
1cfabd35d3 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
hpradhan%hotpop.com
de8419d89d Bug 219673 : Uninitialized variable in nsHTMLEditor r=glazman sr=sfraser 2003-09-20 05:59:44 +00:00
neil%parkwaycc.co.uk
3922d7e119 Bug 21432 Composer needs Page Setup menuitem r=brade sr=rbs 2003-09-17 08:41:15 +00:00
neil%parkwaycc.co.uk
38cb3ad7b4 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
6288bb808b 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
506e1cf947 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
aa816e6f1f Bug 207221 Autocomplete URL in [Image/]Link Properties dialog r=brade sr=rbs 2003-09-11 09:10:22 +00:00
bryner%brianryner.com
2406bc1ed4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:05:34 +00:00
scott%scott-macgregor.org
c26ce97cd5 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
246cf5a850 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
f1dedc3d24 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
8b0ca47657 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
4d1f72cf19 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
2a8f81be02 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
c58d9375bf fix typo for "-moz-canvas" found by bz; r=glazman, sr=tor, a=asa, bug=211982 2003-08-18 14:11:43 +00:00
scott%scott-macgregor.org
5375ac67e1 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
1b51ba858c 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
9f10aae4a5 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
5cbc82d1b5 bug 214207 - update localeVersion for 1.5b - rs=blizzard, a=asa 2003-08-11 11:31:24 +00:00
axel%pike.org
cbed1b9806 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
8f07cf446a Bug 52548 (again...) Sidebar links opening in Composer window r=brade sr=jst 2003-08-05 21:35:12 +00:00
scott%scott-macgregor.org
e12c07dc7c Bug #201866 --> Spell checker should not check qutoed text for plain text compose.
r=mkapply
sr=kin
2003-07-31 21:54:02 +00:00
neil%parkwaycc.co.uk
b3861ff905 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
1f94461b27 fix for bugs 192507 and 181677. r=brade; sr=kin; 2003-07-31 07:09:42 +00:00
timeless%mozdev.org
5ecd2e0bb8 Bug 214025 [@ nsHTMLCSSUtils::IsCSSEditableProperty]
r=glazou sr=bz
2003-07-29 14:48:44 +00:00
brade%netscape.com
a2b4921bae fix compiler warning 2003-07-28 22:18:42 +00:00
bzbarsky%mit.edu
5fa37ec6f3 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:35:53 +00:00
brade%netscape.com
c0ab0f2b29 more Is* method usage / code cleanup; r=glazman, sr=bz, bug=212683 2003-07-28 20:31:08 +00:00
brade%netscape.com
41c493c4ca fix tinderbox bustage 2003-07-28 14:27:49 +00:00
brade%netscape.com
ee332541d8 cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard 2003-07-28 13:13:50 +00:00
bzbarsky%mit.edu
b0d068ccde 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
95899387f6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
cbiesinger%web.de
bb37693039 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
4e7c966d11 Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron 2003-07-24 04:53:13 +00:00
jaggernaut%netscape.com
83c571e877 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
dbe0fc80cf 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
f506ba963b fix includes; r=kaie, sr=tor, bug=180316 2003-07-18 19:03:34 +00:00
brade%netscape.com
d36b4b2d9b editor cleanup; r=jfrancis, sr=blizzard, bug=209548 2003-07-18 14:12:51 +00:00
brade%netscape.com
3b47d61cef 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
b66b6a8011 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
1dc8f45c00 remove misplaced #ifdef NS_DEBUG; bug 209548 2003-07-18 13:06:18 +00:00
brade%netscape.com
ec16b2466e remove misplaced #ifdef NS_DEBUG 2003-07-18 13:04:46 +00:00
brade%netscape.com
ec16552a3a use Truncate instead of SetLength(0); r=cmanske, sr=bz, bug=209548 2003-07-18 02:27:19 +00:00
brade%netscape.com
55cece0652 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
bde4b5494e 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
6bedaabb65 editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548 2003-07-15 13:47:15 +00:00
brade%netscape.com
d91118e262 fix linux bustage 2003-07-14 15:43:20 +00:00
brade%netscape.com
d02d3e1612 cleanup #includes; r=kaie, sr=darin, bug=180316 2003-07-14 14:37:23 +00:00
jaggernaut%netscape.com
817298ce0b 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
b69b2abd98 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
2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
scott%scott-macgregor.org
60e11691f4 Bug #212469 --> spell checker should ignore quoted text for HTML mail.
r/sr=kin
2003-07-12 00:17:37 +00:00
bzbarsky%mit.edu
9cb380a7ff 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
467c93cfb1 First patch for bug 208446: Caret stops blinking or disappears, prevent firing assertion
r=sfraser sr=kin
2003-07-09 03:05:25 +00:00
brade%netscape.com
ed15121205 fix comment 2003-07-09 02:39:51 +00:00
brade%netscape.com
04402fc7a2 remove unused local variable; fixes warning; no bug, no reviewers 2003-07-08 22:12:04 +00:00
brade%netscape.com
0ff8702179 remove unused variables to fix warnings; no bug, no reviews 2003-07-08 22:10:09 +00:00
brade%netscape.com
13cfbbcb35 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
673b9351fd editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:35:09 +00:00
brade%netscape.com
9371323b42 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:22:56 +00:00
brade%netscape.com
44a2105094 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
CVS ----------------------------------------------------------------------
2003-07-08 20:18:18 +00:00
kin%netscape.com
f8f9d8592a 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
b2ba25b6fd 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
0b0c3f7646 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
6cd606f046 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
dfd3c1dd7a 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
ed3d11ddae code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 19:10:53 +00:00
brade%netscape.com
b09e279a38 code cleanup continued; r=timeless, sr=kin, bug=209548 2003-06-30 18:55:06 +00:00
brade%netscape.com
eb37ab13c3 code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 17:28:52 +00:00
brade%netscape.com
cfe03fb3da code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 15:02:48 +00:00
brade%netscape.com
446fa1708a remove unused headers, r=timeless, sr=kin, bug=209548 2003-06-30 14:59:04 +00:00
brade%netscape.com
d188ae1ca0 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:57:59 +00:00
brade%netscape.com
15f77abce7 code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 14:56:22 +00:00
brade%netscape.com
9b6d727de6 code cleanup; r=timeless, sr=kin, bug 209548 2003-06-30 14:46:41 +00:00
brade%netscape.com
d77dfe0b8d code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:41:55 +00:00
brade%netscape.com
2b032d24d7 code cleanup; r=timeless, sr=kin, bug 209548 2003-06-30 14:39:27 +00:00
brade%netscape.com
3bad714491 code cleanup, r=timeless, sr=kin, bug 209548 2003-06-30 14:33:23 +00:00
brade%netscape.com
47c5c6c0c9 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:31:48 +00:00
brade%netscape.com
f2833330f5 code cleanup; r=timeless; sr=kin; bug=209548 2003-06-30 14:24:40 +00:00
brade%netscape.com
bbf1d39ea2 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:20:49 +00:00
brade%netscape.com
ed5455cfe0 code cleanup, r=timeless, sr=kin, bug=209548 2003-06-30 14:17:15 +00:00
brade%netscape.com
f9845cebad code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:14:01 +00:00
brade%netscape.com
31816e5b91 code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 14:05:25 +00:00
brade%netscape.com
c8e110e87c code cleanup; r=timeless, sr=kin, bug=209548 2003-06-30 13:42:22 +00:00
brade%netscape.com
920f7b4f36 NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548 2003-06-27 14:19:40 +00:00
kin%netscape.com
655f4dff39 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
dcfb7f6b44 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
0da80aab17 Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst
2003-06-25 08:50:48 +00:00
glazman%netscape.com
ed71a4eb5b 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
042cd298c3 Files removed, they were accidentally checked in with a non binary cvs add 2003-06-25 07:49:49 +00:00
glazman%netscape.com
269e2643a2 Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst
2003-06-25 07:30:19 +00:00
jst%netscape.com
abefba9053 Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com 2003-06-24 21:43:01 +00:00
roc+%cs.cmu.edu
542467a8bd 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
210209b3e0 Bug 209823 Composer should use titletips in Preview mode r=glazman sr=alecf 2003-06-20 09:11:40 +00:00
dbaron%dbaron.org
4afcaa0e69 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
1a9f1eb39f 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
6bbf274b5a fixing typo - s/cahced/cache 2003-06-18 23:04:50 +00:00
jfrancis%netscape.com
cd0b8e3f86 bug 140357: improving fix to handle redundant backspaces. r=brade, sr=kin 2003-06-18 22:42:24 +00:00
alecf%flett.org
b7fa256d74 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
b9c1830777 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
f73fa81318 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
2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
neil%parkwaycc.co.uk
da612cac58 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
cec973c86c 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
ccd0707c81 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
97e32dcb83 remove unused params; r=akkana, sr=kin, bienvenu, bug=208967 2003-06-12 14:51:37 +00:00
peterv%netscape.com
ac331040e2 Fix HP-UX bustage from jfrancis checkin. 2003-06-12 11:20:00 +00:00
glazman%netscape.com
0eaa768b33 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
592a5a8875 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
5de9edf86e 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
e0c7f637b2 b=202166 Edit actions place caret on invalid position
r=jfrancis sr=kin
2003-06-11 11:50:36 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
brade%netscape.com
917018d64b fix MOZ_COMPOSER to be specific to composer app; use plaintext flag; r=bryner, sr=smfr, bug 208132 2003-06-10 20:34:45 +00:00
seawood%netscape.com
b28ce0a530 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
7ee40f2dfe removing commented out includes 2003-06-10 18:57:51 +00:00
brade%netscape.com
d3eaab1a27 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
c616a1e4e6 add param to insertion hook (sourceDoc), r=rogermw, sr=kin, bug=208539 2003-06-10 18:52:31 +00:00
brade%netscape.com
44d112991f bug 208132; move required files (for html editing) out of ui/composer/content and into composer/src/res; r=byner, sr=smfr 2003-06-09 14:06:46 +00:00
brade%netscape.com
0058480b59 GetCommandState for document commands to return their boolean values; r=glazman, sr=sfraser, bug=208544 2003-06-06 19:28:25 +00:00
neil%parkwaycc.co.uk
68fde09b40 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
987fbfc622 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
0b93c73eee bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard 2003-06-04 11:11:19 +00:00
jshin%mailaps.org
705c95a9ff 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
dfe143f8b6 Bug 208094 Form/Image doesn't convert <img> r=brade sr=peterv 2003-06-03 14:44:05 +00:00
jfrancis%netscape.com
f3491fa767 bug 140357: (html editor) deletion should preserve style state. r=brade; sr=kin 2003-06-02 22:21:06 +00:00
brade%netscape.com
3a02deb097 remove bogus comment; r=Neil; rs=sspitzer; bug 129054 2003-05-30 19:45:46 +00:00
brade%netscape.com
a0b7ac4a4d 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
80aa9d0798 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
4d23c38a0d 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
3363f7d0a1 patch for bug 207469: optimize timer usage in nsComposerCommandsUpdater::PrimeUpdateTimer()
sr=sfraser r=Henry.Jia
2003-05-30 06:33:47 +00:00
timeless%mozdev.org
00a02d628d 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
161212bb00 Bug 45495 gui for editing form elements r=glazman sr=alecf 2003-05-27 12:44:22 +00:00
timeless%mozdev.org
89d0916d06 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
f494b74da9 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
dad022fd58 Bug 199989 Remove gNoisy code from libeditor.
r=brade sr=alecf
2003-05-23 21:43:10 +00:00
dwitte%stanford.edu
270d3909ca 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
bee83d7a31 Bug 206204 `nsHTMLTag gWatchTags[3]', nsEditorParserObserver defined but not used
r=brade sr=sfraser a=dbaron
2003-05-23 14:51:04 +00:00
jaggernaut%netscape.com
75b8ea358a 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
26d8b37c37 documentation changes for editor commands; r/sr=smfr; a=asa 2003-05-22 22:03:34 +00:00
neil%parkwaycc.co.uk
1b812b958b 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
d484da106e 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
46bd47de9e 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
c33c4c38a1 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
b55b32437c 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
75ff60c62f 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
a3443be3ff 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
684cee26a8 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
e417c0926a 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
1e15da633f 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
0f98e1c43e 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
d78e9d202c cmd_clearUndo implementation; r/sr=smfr a=sspitzer bug 195506 2003-05-09 18:21:00 +00:00
brade%netscape.com
167f576e22 fix assignment per sspitzer; bug 195506 a=sspitzer r/sr=smfr 2003-05-09 18:18:53 +00:00
timeless%mozdev.org
141a94ec6f 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
f3e9ac1fb9 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
070cc57df4 bug 203399; remove needless stylesheet call; r=timeless; sr=jag 2003-04-29 13:34:30 +00:00
brade%netscape.com
8795f96966 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
a8b6dc06df 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
53fd18c7ca 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
2e6c9d5ea4 missing hook from bug 192171 (r=brian johnson, sr=sfraser) 2003-04-22 20:32:59 +00:00
sfraser%netscape.com
352be220ed 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
9a0d217546 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
1962d37dfe 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
526c0515e9 Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser 2003-04-20 01:03:40 +00:00
brade%netscape.com
8403b92e85 handle utf8 font names bug 201233; patch by taka, r=brade, sr=jag 2003-04-18 13:12:13 +00:00
jaggernaut%netscape.com
3121dbe55c 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
fd2883713e 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
b6009f1e51 bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard 2003-04-17 18:43:57 +00:00
alecf%netscape.com
6d56e591d2 fix for plaintext editor, fallout from bug 201982
sr=sfraser
2003-04-17 18:28:35 +00:00
kin%netscape.com
1358474efa Fix for bugzilla 91131(Cannot spellcheck selection)
First pass implementation of spellcheck selection feature:

  editor/composer/src/nsEditorSpellCheck.cpp
  editor/idl/nsIEditorSpellCheck.idl
  editor/txtsvc/public/nsITextServicesDocument.h
  editor/txtsvc/src/Makefile.in
  editor/txtsvc/src/nsTextServicesDocument.cpp
  editor/txtsvc/src/nsTextServicesDocument.h
  editor/ui/composer/content/ComposerCommands.js
  editor/ui/dialogs/content/EdSpellCheck.js
  mailnews/compose/resources/content/MsgComposeCommands.js

r=jfrancis@netscape.com,brade@netscape.com  sr=sfraser@netscape.com
2003-04-17 14:29:08 +00:00
brade%netscape.com
87edb79af7 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
769b846b52 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
f364fe0cc0 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
20a1398f5c 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
13a42d51d1 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
8e62ff1f88 fix for bug 202150 - Insert Menu lacking id attributes. r/sr-smfr. 2003-04-15 23:03:33 +00:00
kaie%netscape.com
4c382bfcd4 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
97a91a162b add insertion listener; bug 192567 (r=jfrancis, sr=kin) 2003-04-15 14:07:30 +00:00
brade%netscape.com
8c65e3aa3e updated insertHTML* methods; bug 192567 (r=jfrancis, sr=kin) 2003-04-15 14:00:08 +00:00
brade%netscape.com
8bbe4a00b9 add new idl file; bug 192567 (r=jfrancis, sr=kin) 2003-04-15 13:57:38 +00:00
brade%netscape.com
96f7a475e9 new idl file for bug 192567 (r=jfrancis, sr=kin) 2003-04-15 13:56:53 +00:00
brade%netscape.com
7ecf62dc84 add document commands for toggling image animation/plugins, clearing undo stack; r/sr=sfraser (patch in bug 195506) 2003-04-15 13:53:51 +00:00
bzbarsky%mit.edu
97c2f70759 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
3855c654eb MakeList is redundant with AppendList. Bug 179810, r=jfrancis, sr=kin 2003-04-13 04:30:16 +00:00
jaggernaut%netscape.com
559fa07b93 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
e260f1fcce 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
f78fc1b8d8 Appease the Windows __stdcall gods. Bug 201257. 2003-04-10 20:45:17 +00:00
sfraser%netscape.com
abe53e192f Fix bug 201257 -- clean up use of nsIControllerCommandManager by editor:
Renaming nsIControllerCommandManager to nsIControllerCommandTable to reduce confusion.
Moving the immutability flag from the nsBaseCommandController to the nsControllerCommandTable.
Renaming the 'refcon' on nsIControllerContext to 'context', and giving nsIControllerContext an Init() method that optionally takes a command table.
Fixing the editor and composer module code to create pre-filled nsIControllerCommandTables as services, and the controller constructors to create singleton command tables with do_GetService.
r=brade, sr=alecf.
2003-04-10 18:44:03 +00:00
kin%netscape.com
117932d74b 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
35f69e36ef 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
85540751cd 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