dbaron@dbaron.org
b1497c8162
Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky
2005-03-30 00:36:57 +00:00
bzbarsky@mit.edu
1cba645ccf
Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
...
r+sr=jst
2004-11-23 17:45:37 +00:00
dbaron@dbaron.org
9b2ed73372
Add function to nsContentUtils to report a localized error message to the error console, and use it from the three places that were doing pretty much the same thing. b=187007 r+sr=bzbarsky
2004-09-14 17:26:35 +00:00
dbaron@dbaron.org
de930a6ef8
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
2004-09-10 06:45:59 +00:00
dbaron@dbaron.org
bba50d621a
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
2004-09-09 17:32:35 +00:00
timeless@mozdev.org
f2b081028d
Bug 253539 Report origin url for css mime warnings/errors
...
r=bz sr=bz a=asa
2004-08-18 02:32:25 +00:00
neil@parkwaycc.co.uk
1e77310f88
Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron
2004-08-05 11:38:42 +00:00
dbaron@dbaron.org
08d6baff75
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
2004-07-28 07:08:41 +00:00
bzbarsky@mit.edu
6281549a94
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
2004-07-27 17:15:53 +00:00
dbaron@dbaron.org
a676fea29c
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
2004-07-14 22:21:07 +00:00
dbaron@dbaron.org
49be45b858
Send correct HTTP Referer header for CSS @import. b=249171 r+sr=bzbarsky
2004-07-14 21:52:19 +00:00
roc+@cs.cmu.edu
d9edea9d71
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
bsmedberg@covad.net
7d68b76dea
Bug 239925 - fix static initializers in DOM/widget/libpr0n so that we can restart XPCOM safely r=jst sr=darin
2004-06-09 18:36:25 +00:00
roc+@cs.cmu.edu
6b0210f601
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
mvl@exedo.nl
cb1b5e2f60
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
2004-05-13 18:34:18 +00:00
gerv@gerv.net
cf0b0c064a
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
darin@meer.net
33f7ab6e0c
landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
2004-02-28 22:34:07 +00:00
jst@mozilla.jstenback.com
601ac76297
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
2004-01-29 22:04:45 +00:00
bzbarsky@mit.edu
011b12c6e5
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
2004-01-13 19:01:26 +00:00
bzbarsky@mit.edu
584f221f82
Don't use HTML rules to parse (redundantly) media strings in CSS @import
...
rules. Bug 153755, r+sr=dbaron
2004-01-10 02:27:41 +00:00
jst@mozilla.jstenback.com
505e3d5ba8
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
caillon@returnzero.com
5e556dfe05
Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
...
Bug 223192; r+sr=bzbarsky
2003-10-30 03:01:25 +00:00
bryner@brianryner.com
1f9609e30b
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
bzbarsky@mit.edu
1e56927f9d
Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron
2003-10-06 13:24:55 +00:00
bzbarsky@mit.edu
9b4a152c55
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
bzbarsky@mit.edu
88e2a22dbd
Make charset-detection code work with just a BOM (no @charset rule) in the
...
sheet. Bug 218915, r=smontagu, sr=dbaron
2003-09-25 05:57:28 +00:00
bryner@brianryner.com
147ceaa429
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
2003-09-07 21:50:21 +00:00
bzbarsky@mit.edu
1c14ec8a18
Don't use uninitialiazed hashtable. Bug 214941, r=bsmedberg, sr=peterv, a=dveditz
2003-08-11 18:16:48 +00:00
bsmedberg@covad.net
e8b0619fa2
Fix assertion from bug 211470, rs=bz
2003-07-28 01:12:36 +00:00
bsmedberg@covad.net
5d1046004b
Forgot a review nit from bug 211470.
2003-07-27 15:46:52 +00:00
bsmedberg@covad.net
b6fffb3205
Bug 211470 - need a common nsURIHashKey r=darin sr=bz
2003-07-27 15:20:11 +00:00
jaggernaut@netscape.com
02d93e9563
Fix bustage
2003-07-20 08:35:21 +00:00
jaggernaut@netscape.com
a69df1d82d
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
2003-07-20 07:40:43 +00:00
caillon@returnzero.com
6918aba572
Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
...
r=bzbarsky@mit.edu , sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
bzbarsky@mit.edu
087d682a96
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
2003-07-18 00:35:49 +00:00
bzbarsky@mit.edu
773f7662a1
Fixing assert condition to be correct. Thanks to riceman+bmo@mail.rit.edu for
...
noticing.
2003-07-09 01:48:20 +00:00
bzbarsky@mit.edu
563c620e45
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
bzbarsky@mit.edu
c57aede640
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
2003-06-23 21:00:46 +00:00
bzbarsky@mit.edu
fde400ca0b
Fix some DEBUG_bzbarsky code people didn't bother to update. r+sr=whatever
2003-06-23 18:34:02 +00:00
jshin@mailaps.org
e186f92bbd
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)
2003-06-23 05:04:43 +00:00
alecf@flett.org
aa24a7bb8e
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
aaronl@netscape.com
5a602642aa
Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
2003-06-16 11:17:18 +00:00
caillon@returnzero.com
c8a200d763
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
caillon@returnzero.com
0a0e403cc9
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
2003-06-12 02:54:16 +00:00
alecf@flett.org
d870ddc132
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
2003-06-11 18:16:03 +00:00
bryner@netscape.com
4486f8d13d
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.
2003-04-11 00:56:27 +00:00
bzbarsky@mit.edu
c5672678bd
CSSLoader should check content policy. Bug 190653, r=mvl, sr=peterv
2003-04-04 23:57:06 +00:00
sfraser@netscape.com
fb1cc3113a
Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf.
2003-02-28 05:47:36 +00:00
bzbarsky@mit.edu
2cd6f55d9f
Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
...
(parent sheet, parent rule, owning node, document). Bug 167415, r+sr=dbaron
2003-02-23 04:44:41 +00:00
bzbarsky@mit.edu
0cf82c015d
Make the parser recycling list in the loader a class static. Bug 190658,
...
r=sicking, sr=peterv
2003-02-22 19:36:32 +00:00