1626 Commits

Author SHA1 Message Date
neil%parkwaycc.co.uk
404afda1e8 Bug 221719 Disable Composer's Paste As Quotation menuitem in the subject and address fields r=brade sr=alecf
git-svn-id: svn://10.0.0.236/trunk@147848 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 19:02:28 +00:00
mozeditor%floppymoose.com
1167bdd011 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
git-svn-id: svn://10.0.0.236/trunk@147816 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 22:08:59 +00:00
mozeditor%floppymoose.com
2ceca184d2 removing bogus comments
git-svn-id: svn://10.0.0.236/trunk@147815 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 22:07:48 +00:00
bzbarsky%mit.edu
62c2420626 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@147516 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-02 21:29:40 +00:00
jst%mozilla.jstenback.com
ef67a47aab 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.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
uid502
e9d6a45b46 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
git-svn-id: svn://10.0.0.236/trunk@147169 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 17:05:29 +00:00
hpradhan%hotpop.com
09e0229647 Bug 219673 : Uninitialized variable in nsHTMLEditor r=glazman sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@147083 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-20 05:59:44 +00:00
dbaron%dbaron.org
2f071d5ceb 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
git-svn-id: svn://10.0.0.236/trunk@146845 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 19:18:52 +00:00
bryner%brianryner.com
101a9e4e72 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146615 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:05:34 +00:00
scott%scott-macgregor.org
d46792a502 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


git-svn-id: svn://10.0.0.236/trunk@146578 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-05 17:49:36 +00:00
brade%comcast.net
6d7cde53e2 remove unused variables, fix typos, code cleanup (r=glazman, sr=tor, a=asa, bug=216054)
git-svn-id: svn://10.0.0.236/trunk@146534 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-03 13:58:00 +00:00
brade%comcast.net
a39795413f remove redundant code and unused variables, cleanup (r=glazman, sr=tor, a=asa, bug=216054)
git-svn-id: svn://10.0.0.236/trunk@146533 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-03 13:56:21 +00:00
brade%comcast.net
ff0dcd8c0b add helper methods for dealing with pixels; reduce string usage; code cleanup (r=glazman, sr=tor, a=asa, bug=216045)
git-svn-id: svn://10.0.0.236/trunk@146532 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-03 13:54:36 +00:00
brade%comcast.net
db8b0f00fb fix typo, removed unused string, code cleanup (r=glazman, sr=tor, a=asa, bug=216045)
git-svn-id: svn://10.0.0.236/trunk@146531 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-03 13:49:22 +00:00
scott%scott-macgregor.org
af440d36e0 fix for bug #216581
Rewrap is broken

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

r=brade a=sspitzer for 1.5 final


git-svn-id: svn://10.0.0.236/trunk@146526 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-03 04:17:45 +00:00
scott%scott-macgregor.org
d7cdc065d5 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


git-svn-id: svn://10.0.0.236/trunk@146154 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-18 05:18:05 +00:00
jfrancis%netscape.com
3b7ccf8142 fix for bugs 192507 and 181677. r=brade; sr=kin;
git-svn-id: svn://10.0.0.236/trunk@145417 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-31 07:09:42 +00:00
timeless%mozdev.org
8d49b8332d Bug 214025 [@ nsHTMLCSSUtils::IsCSSEditableProperty]
r=glazou sr=bz


git-svn-id: svn://10.0.0.236/trunk@145329 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-29 14:48:44 +00:00
brade%netscape.com
c96a8ac9cc fix compiler warning
git-svn-id: svn://10.0.0.236/trunk@145294 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 22:18:42 +00:00
bzbarsky%mit.edu
9e4941c980 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145292 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:35:53 +00:00
brade%netscape.com
d200f43fee more Is* method usage / code cleanup; r=glazman, sr=bz, bug=212683
git-svn-id: svn://10.0.0.236/trunk@145274 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 20:31:08 +00:00
brade%netscape.com
b1c35c5841 fix tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@145271 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 14:27:49 +00:00
brade%netscape.com
7b542e3e34 cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@145270 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 13:13:50 +00:00
jaggernaut%netscape.com
df747d0621 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
jaggernaut%netscape.com
e07c163859 Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145136 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 04:53:13 +00:00
jaggernaut%netscape.com
f34216bf2d Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
brade%netscape.com
7809c706c3 reduce string usage by using atom version of method; r/sr=dbaron, bug=213101
git-svn-id: svn://10.0.0.236/trunk@144967 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-19 08:51:54 +00:00
brade%netscape.com
c7798d7fd7 fix includes; r=kaie, sr=tor, bug=180316
git-svn-id: svn://10.0.0.236/trunk@144959 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 19:03:34 +00:00
brade%netscape.com
68dc8312d3 editor cleanup; r=jfrancis, sr=blizzard, bug=209548
git-svn-id: svn://10.0.0.236/trunk@144951 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 14:12:51 +00:00
brade%netscape.com
3306467d58 fix bug found when reading source, replace ending space to match intent and version 1; r=jfrancis, sr=blizzard, bug=209548
git-svn-id: svn://10.0.0.236/trunk@144950 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 14:09:34 +00:00
brade%netscape.com
b6cd702a85 call GetIsDocumentEditable which will check CanModify for us; r=jfrancis, sr=blizzard, bug=209548
git-svn-id: svn://10.0.0.236/trunk@144949 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 14:06:21 +00:00
brade%netscape.com
ed8688c72d remove misplaced #ifdef NS_DEBUG; bug 209548
git-svn-id: svn://10.0.0.236/trunk@144947 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 13:06:18 +00:00
brade%netscape.com
142ad8b55f remove misplaced #ifdef NS_DEBUG
git-svn-id: svn://10.0.0.236/trunk@144946 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 13:04:46 +00:00
brade%netscape.com
7a5e630789 use Truncate instead of SetLength(0); r=cmanske, sr=bz, bug=209548
git-svn-id: svn://10.0.0.236/trunk@144941 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 02:27:19 +00:00
brade%netscape.com
bf908b72c7 code cleanup (remove some NS_LITERAL_STRINGs in favor of existing ut
ility methods); r=cmanske, sr=tor, bug=209548


git-svn-id: svn://10.0.0.236/trunk@144931 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-17 23:44:13 +00:00
bryner%brianryner.com
5cc40c9cbe Fixing --enable-plaintext-editor-only bustage (bug 209548). Patch by brade, r/sr=me.
git-svn-id: svn://10.0.0.236/trunk@144909 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-16 22:19:59 +00:00
brade%netscape.com
f90cd30f83 editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548
git-svn-id: svn://10.0.0.236/trunk@144881 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-15 13:47:15 +00:00
jaggernaut%netscape.com
36ab3d76a9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144817 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 07:37:39 +00:00
bzbarsky%mit.edu
5a36af3d0a 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.


git-svn-id: svn://10.0.0.236/trunk@144814 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-14 05:35:09 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
bzbarsky%mit.edu
c8ff7820a4 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


git-svn-id: svn://10.0.0.236/trunk@144753 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 23:06:26 +00:00
brade%netscape.com
e1a6b807f7 remove unused local variable; fixes warning; no bug, no reviewers
git-svn-id: svn://10.0.0.236/trunk@144596 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 22:12:04 +00:00
brade%netscape.com
5cac6da6af fix warning for cstring charset change made a week or two ago; editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
git-svn-id: svn://10.0.0.236/trunk@144583 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 20:38:51 +00:00
brade%netscape.com
af9a354fea editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
git-svn-id: svn://10.0.0.236/trunk@144581 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 20:35:09 +00:00
brade%netscape.com
4d8f0dad73 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
git-svn-id: svn://10.0.0.236/trunk@144579 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 20:22:56 +00:00
brade%netscape.com
d52cf1563a editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
CVS ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@144578 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 20:18:18 +00:00
kin%netscape.com
68896debfc 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


git-svn-id: svn://10.0.0.236/trunk@144566 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 17:38:13 +00:00
bzbarsky%mit.edu
50802bdf22 Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@144415 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 02:45:34 +00:00
bryner%netscape.com
d04c652303 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.


git-svn-id: svn://10.0.0.236/trunk@144362 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-01 22:46:55 +00:00
brade%netscape.com
ca4166c1c1 code cleanup; r=timeless, sr=kin, bug=209548
git-svn-id: svn://10.0.0.236/trunk@144286 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 19:10:53 +00:00