bryner%brianryner.com
7ace3321e6
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
daniel%glazman.org
1c59909ce3
fixes annoying assertion in the editor: b=217906, r=brade, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@152414 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 14:34:54 +00:00
jst%mozilla.jstenback.com
aa4e1c9058
Fixing debug build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@152093 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 21:09:49 +00:00
jst%mozilla.jstenback.com
6629ad58f7
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
daniel%glazman.org
dfe8508bf4
Remove all text styles menu item and key binding both no longer working in Composer and mail composer; b=215406; r=floppymoose,sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@152015 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 14:52:43 +00:00
jst%mozilla.jstenback.com
12ed685455
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
...
git-svn-id: svn://10.0.0.236/trunk@151784 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 00:46:17 +00:00
neil%parkwaycc.co.uk
7082e58c32
Bug 231368 Remove unused nsIPref includes p=arne.anka@stupido.com r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@151746 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-23 13:31:07 +00:00
bryner%brianryner.com
70bf134ff4
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.
...
git-svn-id: svn://10.0.0.236/trunk@151636 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 09:35:59 +00:00
peterv%propagandism.org
f76a4dbc8a
Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@151500 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 14:52:21 +00:00
bzbarsky%mit.edu
86fee95b4d
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
git-svn-id: svn://10.0.0.236/trunk@151268 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-13 23:14:49 +00:00
jst%mozilla.jstenback.com
803e4eb910
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
daniel%glazman.org
48e1f594fe
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
...
git-svn-id: svn://10.0.0.236/trunk@151095 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 20:52:07 +00:00
bryner%brianryner.com
468d3e2e8d
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.
...
git-svn-id: svn://10.0.0.236/trunk@150998 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:30:53 +00:00
jst%mozilla.jstenback.com
2affc5b4f0
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.
...
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
peter%propagandism.org
e6ae01a399
Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@148687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 10:57:41 +00:00
cmanske%jivamedia.com
0bb2275d67
Fixed crash in table editing, b=217717, r=mozeditor, sr=dbaron, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@148367 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 23:01:30 +00:00
bryner%brianryner.com
eeddf02bde
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.
...
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +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
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
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
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
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
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
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
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
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