neil%parkwaycc.co.uk
0bbab9b402
Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@160395 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 11:38:42 +00:00
dbaron%dbaron.org
59572fab24
Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159965 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 07:08:41 +00:00
bzbarsky%mit.edu
50d5ce0bc2
Switch context back to being nsISupports, but make it clear that it's expected
...
to be an nsIDOMNode or nsIDOMWindow. Bug 252027, r=mvl, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@159916 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-27 17:15:53 +00:00
dbaron%dbaron.org
7d1892d30f
Ensure chrome: URLs stay that way so theme switching code doesn't get confused, even though most chrome: stylesheet loads don't come through this codepath. b=226791 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159203 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:21:07 +00:00
dbaron%dbaron.org
876fe15a8a
Send correct HTTP Referer header for CSS @import. b=249171 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@159194 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:52:19 +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
bsmedberg%covad.net
41d6e4ccc6
Bug 239925 - fix static initializers in DOM/widget/libpr0n so that we can restart XPCOM safely r=jst sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157668 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-09 18:36:25 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
mvl%exedo.nl
c0b2e4667b
Make content policy api (nsIContentPolicy) not suck.
...
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@156366 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 18:34:18 +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
darin%meer.net
af98e4f306
landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +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
bzbarsky%mit.edu
59d6abe4a5
Make pretty-printing stylesheets force UTF-8 for themselves. Update charset
...
stuff in CSSLoader to look at the parent sheet charset and use NSPR logging.
Bug 230660, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@151254 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-13 19:01:26 +00:00
bzbarsky%mit.edu
3e32bc588c
Don't use HTML rules to parse (redundantly) media strings in CSS @import
...
rules. Bug 153755, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@151128 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 02:27:41 +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
caillon%returnzero.com
e64c44f945
Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
...
Bug 223192; r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148524 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 03:01:25 +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
bzbarsky%mit.edu
4651d2cebb
Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@147623 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 13:24:55 +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
bzbarsky%mit.edu
af8ba69ee3
Make charset-detection code work with just a BOM (no @charset rule) in the
...
sheet. Bug 218915, r=smontagu, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147288 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 05:57:28 +00:00
bryner%brianryner.com
978d05c917
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@146614 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 21:50:21 +00:00
bzbarsky%mit.edu
edbe6382af
Don't use uninitialiazed hashtable. Bug 214941, r=bsmedberg, sr=peterv, a=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@145875 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-11 18:16:48 +00:00
bsmedberg%covad.net
f24d69bc30
Fix assertion from bug 211470, rs=bz
...
git-svn-id: svn://10.0.0.236/trunk@145261 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 01:12:36 +00:00
bsmedberg%covad.net
3ae54818a4
Forgot a review nit from bug 211470.
...
git-svn-id: svn://10.0.0.236/trunk@145254 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-27 15:46:52 +00:00
bsmedberg%covad.net
2c2c23dd44
Bug 211470 - need a common nsURIHashKey r=darin sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@145253 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-27 15:20:11 +00:00
jaggernaut%netscape.com
e9505aff6f
Fix bustage
...
git-svn-id: svn://10.0.0.236/trunk@144993 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 08:35:21 +00:00
jaggernaut%netscape.com
40f122a577
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@144991 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:40:43 +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
bzbarsky%mit.edu
7c1787f026
Make the URI of a sheet be its final URI after all the redirects, not the URI
...
linked to from the original document. Bug 96858, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144934 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 00:35:49 +00:00
bzbarsky%mit.edu
43571b323e
Fixing assert condition to be correct. Thanks to riceman+bmo@mail.rit.edu for
...
noticing.
git-svn-id: svn://10.0.0.236/trunk@144613 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 01:48:20 +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
bzbarsky%mit.edu
fe3f1277a3
Make setting contentType or contentCharset act as hints if done before channel
...
open; use this in the CSSLoader to hint that we want text/css data. Bug
120789, r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@144065 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 21:00:46 +00:00
bzbarsky%mit.edu
889c257b53
Fix some DEBUG_bzbarsky code people didn't bother to update. r+sr=whatever
...
git-svn-id: svn://10.0.0.236/trunk@144060 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 18:34:02 +00:00
jshin%mailaps.org
e51a020a30
bug 206379 : additional patch : get rid of ResolveCharset() (static) and
...
rely on GetUnicodeDecoder() of nsICharacterSetConverterManager to take care of
the charset alias resolution. (r/sr=bzbarsky, sr=alecf)
git-svn-id: svn://10.0.0.236/trunk@144048 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 05:04:43 +00:00
alecf%flett.org
71e5d724e5
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
git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
aaronl%netscape.com
290c0f8aa6
Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
...
git-svn-id: svn://10.0.0.236/trunk@143756 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-16 11:17:18 +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
caillon%returnzero.com
fb75cd3bbb
Bug 209133
...
Make |Node| from script recognize constants defined in nsIDOM3Node.
Move DOM3 constants over to nsIDOM3Node.
Update the names and values to reflect the latest draft of the DOM 3 Core (Last Call)
r=timeless sr=jst
git-svn-id: svn://10.0.0.236/trunk@143619 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 02:54:16 +00:00
alecf%flett.org
1c89787dc0
fix for bug 206379:
...
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
bryner%netscape.com
0c66a2052e
Make --disable-xul work (bug 69995). We build enough XUL to support
...
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree. r=bzbarsky, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
bzbarsky%mit.edu
27037022c0
CSSLoader should check content policy. Bug 190653, r=mvl, sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@140730 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 23:57:06 +00:00
sfraser%netscape.com
6f87b85c6b
Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf.
...
git-svn-id: svn://10.0.0.236/trunk@138693 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 05:47:36 +00:00
bzbarsky%mit.edu
b8de299d37
Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
...
(parent sheet, parent rule, owning node, document). Bug 167415, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@138277 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 04:44:41 +00:00
bzbarsky%mit.edu
a99c8b3055
Make the parser recycling list in the loader a class static. Bug 190658,
...
r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@138219 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 19:36:32 +00:00
bzbarsky%mit.edu
212842b87c
Don't cache chrome sheets in the CSSLoader. The XUL prototype cache does a
...
fine job of handling it, and this way the chrome registry only needs to clear
that one cache on skin switches. Bug 185891, r=sicking, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@136487 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 04:20:03 +00:00
dbaron%dbaron.org
30879d2c9e
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@135991 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:24:38 +00:00
bzbarsky%mit.edu
6f77aecc51
fix a crash that could happen if a child import met with an error (eg failed to
...
open a channel). Bug 186606, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@135919 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 01:13:07 +00:00
bzbarsky%mit.edu
4f71cabdd3
asserting that a PRUint32 is >= 0 is silly. Bug 187002, r=sicking, sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@135915 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 00:37:19 +00:00
bzbarsky%mit.edu
e8d6ddcbea
Re-landing fix for bug 182124 a bit at a time to narrow down the source of the
...
perf impact. r=rjc, sr=darin
git-svn-id: svn://10.0.0.236/trunk@135861 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 19:00:18 +00:00
peterv%netscape.com
3a3c75b9f7
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00