jwalden%mit.edu
dda6ff3c99
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
...
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
bzbarsky%mit.edu
9b9e29922e
Stop blocking the parser on CSS stylesheet loads. We still block script
...
execution on them, however. Bug 84582, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@224813 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 22:59:18 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
a9fd8779bf
Fix bug 363406, patch by Nickolay Ponomarev <asqueella@gmail.com>,
...
r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@217112 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 03:59:46 +00:00
bzbarsky%mit.edu
3d914aab06
Create DOM nodes for processing instructions in XUL, take 2. Still bug 319654, patch by
...
Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@215169 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-11 22:27:00 +00:00
gavin%gavinsharp.com
68056965f1
Try backing out the patch for bug 319654 to see if it fixes the Mac orange
...
git-svn-id: svn://10.0.0.236/trunk@214966 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 17:52:58 +00:00
bzbarsky%mit.edu
25dac94482
Create DOM nodes for processing instructions in XUL. Bug 319654, patch by
...
Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@214929 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-08 02:25:37 +00:00
cvshook%sicking.cc
2acc886a81
Bug 352583: Add functions to nsContentUtils for getting and setting the text content of a node. Use those functions rather than the multiple instances of such code we have now. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@211826 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-15 19:54:45 +00:00
benjamin%smedbergs.us
e5f238eaac
Bug 339144 - Expose a custom factory type for simple nsIUnicharInputStream instances, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@203371 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-21 16:28:51 +00:00
bzbarsky%mit.edu
14903561f3
Add comments describing some more files.
...
git-svn-id: svn://10.0.0.236/trunk@193306 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 08:00:42 +00:00
bzbarsky%mit.edu
ca7e6121f6
Make sure to update the sheet even if the URI has not changed if something else
...
that matters (type, media, etc) has changed. Bug 303313, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@185844 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-09 19:20:42 +00:00
bzbarsky%mit.edu
dfe3e9b0bc
Improve the CSSLoader API: make it clear which methods return results
...
sync and which return async, move the handling of alternates more completely
into the CSSLoader, make it possible for observers to tell whether the load
actually succeeded. Bug 293825, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@180035 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 18:41:15 +00:00
bzbarsky%mit.edu
62937cbc08
Create CSSLoaders when the document object is created and deCOMify the getter.
...
Bug 290068, r=sicking, sr=peterv, a=brendan
git-svn-id: svn://10.0.0.236/trunk@172416 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu
fe32860667
Make it possible to use the string input stream without heap-allocating a
...
string. Bug 263973, r=darin, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@164487 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 02:19:43 +00:00
dbaron%dbaron.org
268e2367ef
Use sheet URI instead of base URI. b=258708 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@162095 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 19:01:04 +00:00
dbaron%dbaron.org
a4ca9058c6
Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@162059 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 06:45:59 +00:00
dbaron%dbaron.org
d116431504
Pass line number information for style elements through to the CSS parser so we can give correct line numbers in error reports. b=240420 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@161992 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-09 17:32:35 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
gerv%gerv.net
98831918fc
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +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
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
bzbarsky%mit.edu
0147d8d4a6
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@145284 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:09:56 +00:00
caillon%returnzero.com
e69f301e32
Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
...
r=bzbarsky@mit.edu , sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@144937 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 01:26:47 +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
d05edb9f6b
Change GetHrefUTF8 to GetHrefURI to make sure that we don't lose track of the
...
origin charset. Bug 166996, r=dbaron,darin sr=jst
git-svn-id: svn://10.0.0.236/trunk@144331 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-01 02:59:54 +00:00
caillon%returnzero.com
0a6d1ae509
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
git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
bzbarsky%mit.edu
4e2cad09e0
Try to more gracefully handle unexpected destruction of stylesheet linking
...
nodes. Bug 185808 (just fixes the crash, not the real problem). r=sicking,
sr=jst, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@137356 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-04 04:45:58 +00:00
sicking%bigfoot.com
34e90f95bb
Bug 186835: Hold off notifying that the transformation is finished until all stylesheets are loaded.
...
r=peterv sr=bz
git-svn-id: svn://10.0.0.236/trunk@135885 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 14:55:13 +00:00
bzbarsky%mit.edu
c3731640d3
Make the CSSLoader correctly order stylesheets as they are dynamically added
...
and removed via the DOM. Clean up the nsIDocument stylesheet accessors. Clean
up nsIDocumentObserver stylesheet stuff a bit. Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off. Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@134667 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 05:48:14 +00:00
dougt%netscape.com
d6cc711878
Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
...
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
peterv%netscape.com
19d065539b
Fix for bug 34849 (dynamically added STYLE element doesn't alter style). r=sicking, sr=jst, a=roc+moz, adt=jaimejr.
...
git-svn-id: svn://10.0.0.236/trunk@118245 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 11:29:40 +00:00
dbaron%fas.harvard.edu
c43a97f1d5
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117353 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 23:54:46 +00:00
timeless%mac.com
21c081c8bc
Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
...
r='s from many people. sr=jst
git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
bzbarsky%mit.edu
c180e28886
Improve how we get our charset for stylesheets. Look at HTTP header,
...
charset attribute on <link> or <?xml-stylesheet?> and at the document's
charset. Bugs 57164, 72658, 83207. r=pierre, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106217 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:34:20 +00:00
alecf%netscape.com
0ffec2590a
next part of bug 100214, add nsUnicharUtils to consumers of ToLowerCase/ToUpperCase
...
git-svn-id: svn://10.0.0.236/trunk@105811 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:00:02 +00:00
jst%netscape.com
7db246be58
Fixing crasher bug 104774, add null check before calling CallQueryInterface() on mStyleSheet, which will be null if there is no stylesheet. r=harishd@netscape.com, sr=me.
...
git-svn-id: svn://10.0.0.236/trunk@105438 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 22:57:17 +00:00
peterv%netscape.com
6fcd6e3aeb
Fix for bug 91450 (complete loss of style when executing a certain javascript). r=pierre, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@101207 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 11:32:11 +00:00
dbaron%fas.harvard.edu
88810ef1eb
Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
...
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
dbaron%fas.harvard.edu
c203792c3d
To improve performance, change string iterator postfix ++ to prefix ++ when used as a statement. b=78032 r=peterv, scc, harishd, dmose sr=hyatt a=asa
...
git-svn-id: svn://10.0.0.236/trunk@97460 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:38:45 +00:00
peterv%netscape.com
dde779814c
Fix for bug 83612 (Correct/cleanup style loading code in content). r=heikki, sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@97145 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 12:33:38 +00:00
peterv%netscape.com
ac47104ac4
Fix for bug 83093 (Leaks went up by about 200k) r=heikki, sr=jst, a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@96064 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 19:17:42 +00:00
peterv%netscape.com
eca99bbf6e
Fix for regression bug 81823 (rel attribute should be treated case insensitive). r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@95590 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 08:24:35 +00:00
mkaply%us.ibm.com
a9be70e2ef
OS/2 Bustage - STOP USING true and false for PRBool!!!! - PR_TRUE and PR_FALSE
...
git-svn-id: svn://10.0.0.236/trunk@95512 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 05:10:31 +00:00
peterv%netscape.com
f74c7ea12a
Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@95505 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 02:59:15 +00:00
peterv%netscape.com
3342796366
Adding two new files. Not built. Part of fix for bug 7515 (dynamically adding LINK-ed or pi-ed style sheets does nothing).
...
git-svn-id: svn://10.0.0.236/trunk@95480 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 00:21:26 +00:00