[email protected]
1cba645ccf
Use nsContentUtils for error-reporting for <area> parsing. Bug 269697,
...
r+sr=jst
2004-11-23 17:45:37 +00:00
[email protected]
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
[email protected]
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
[email protected]
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
[email protected]
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
[email protected]
1e77310f88
Bug 32372 should be possible to completely disable CSS [email protected] r=me (xpfe) r/sr=dbaron
2004-08-05 11:38:42 +00:00
[email protected]
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
[email protected]
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
[email protected]
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
[email protected]
49be45b858
Send correct HTTP Referer header for CSS @import. b=249171 r+sr=bzbarsky
2004-07-14 21:52:19 +00:00
[email protected]
d9edea9d71
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
[email protected]
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
[email protected]
6b0210f601
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
[email protected]
cb1b5e2f60
Make content policy api (nsIContentPolicy) not suck.
...
bug 191839. Original patch and hard work by Tim <[email protected] >, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
[email protected]
cf0b0c064a
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
[email protected]
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
[email protected]
601ac76297
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. [email protected]
2004-01-29 22:04:45 +00:00
[email protected]
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
[email protected]
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
[email protected]
505e3d5ba8
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. [email protected]
2004-01-09 23:54:21 +00:00
[email protected]
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
[email protected]
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
[email protected]
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
[email protected]
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
[email protected]
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
[email protected]
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
[email protected]
1c14ec8a18
Don't use uninitialiazed hashtable. Bug 214941, r=bsmedberg, sr=peterv, a=dveditz
2003-08-11 18:16:48 +00:00
[email protected]
e8b0619fa2
Fix assertion from bug 211470, rs=bz
2003-07-28 01:12:36 +00:00
[email protected]
5d1046004b
Forgot a review nit from bug 211470.
2003-07-27 15:46:52 +00:00
[email protected]
b6fffb3205
Bug 211470 - need a common nsURIHashKey r=darin sr=bz
2003-07-27 15:20:11 +00:00
[email protected]
02d93e9563
Fix bustage
2003-07-20 08:35:21 +00:00
[email protected]
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
[email protected]
6918aba572
Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
...
[email protected] , [email protected]
2003-07-18 01:26:47 +00:00
[email protected]
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
[email protected]
773f7662a1
Fixing assert condition to be correct. Thanks to [email protected] for
...
noticing.
2003-07-09 01:48:20 +00:00
[email protected]
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
[email protected]
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
[email protected]
fde400ca0b
Fix some DEBUG_bzbarsky code people didn't bother to update. r+sr=whatever
2003-06-23 18:34:02 +00:00
[email protected]
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
[email protected]
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 [email protected]
2003-06-17 16:40:34 +00:00
[email protected]
5a602642aa
Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
2003-06-16 11:17:18 +00:00
[email protected]
c8a200d763
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
[email protected]
2003-06-13 20:10:01 +00:00
[email protected]
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
[email protected]
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
[email protected]
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
[email protected]
c5672678bd
CSSLoader should check content policy. Bug 190653, r=mvl, sr=peterv
2003-04-04 23:57:06 +00:00
[email protected]
fb1cc3113a
Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf.
2003-02-28 05:47:36 +00:00
[email protected]
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
[email protected]
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
[email protected]
aab9fb01d3
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
2003-01-17 04:20:03 +00:00