Граф коммитов

63 Коммитов

Автор SHA1 Сообщение Дата
Craig Topper 705e44723e Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Craig Topper dcddb98106 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Ehren Metcalfe 81deb6e11f Bug 556446: Remove dead code in layout. r=roc,bz 2010-04-03 07:36:19 -04:00
Zack Weinberg 74261d239a Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Zack Weinberg 80e0f85588 Bug 523496: DeCOMtaminate nsCSSParser. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSParser.h => layout/style/nsCSSParser.h
2010-03-02 12:59:32 -08:00
David Zbarsky a2fdb9327f Bug 507762: Parse CSS style sheets independently of case-sensitivity, and instead check case correctly when using the stylesheets. r=dbaron 2009-09-28 23:07:45 -07:00
Boris Zbarsky c2aeda131e Bug 485012. Allow passing a charset hint (e.g. the element's 'charset' attribute for preloads) to nsICSSLoader::LoadSheet. r+sr=peterv 2009-04-10 10:29:08 -04:00
Boris Zbarsky 51ff79c905 Bug 416942. Give user and ua sheets the system principal. r+sr=sicking 2009-03-16 21:38:36 -04:00
Arpad Borsos 6db605f5b3 Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
Arpad Borsos 99687ce381 Bug 454766 - Add suggested parentheses to layout/; r+sr=roc; (with nits by sgautherie) 2008-09-15 17:40:25 +02:00
dwitte@stanford.edu 42cdc4c5d9 (final) relanding since this has no Ts impact. 2007-12-21 16:56:28 -08:00
dwitte@stanford.edu af8d003071 reverting change. 2007-12-21 07:02:13 -08:00
dwitte@stanford.edu 8dbf2e234f reland part of bug 407442. 2007-12-21 03:22:18 -08:00
dwitte@stanford.edu 48af83fba0 relanding part of 407442. 2007-12-19 23:30:04 -08:00
dwitte@stanford.edu 5c0212e27a back out changes. 2007-12-19 03:07:41 -08:00
dwitte@stanford.edu 8fdae1fc6e reland nsTObserverArray changes only. 2007-12-18 22:03:05 -08:00
dwitte@stanford.edu 0720a11afd backing out to investigate Ts increase 2007-12-18 20:12:11 -08:00
dwitte@stanford.edu beed785dd1 implement nsTObserverArray using nsTArray, clean up the interface, provide an nsAutoTObserverArray, and use it to reduce allocations in nsEventListenerManager. b=407442, r+sr=sicking, a=beltzner 2007-12-18 17:06:34 -08:00
bzbarsky@mit.edu 7c7a8cb92e Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
bzbarsky@mit.edu 6ca8674b9d Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 12:44:27 -07:00
jwalden@mit.edu 12e960c504 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. 2007-07-08 00:08:04 -07:00
bzbarsky@mit.edu c666ccae11 Add an API to observe all loads in a CSSLoader. Change XML prettyprinting tonot start layout till after the prettyprinter stylesheet is loaded, so we don'treflow and reconstruct the whole thing twice. Bug 380612, r+sr=sicking 2007-05-30 18:42:48 -07:00
bzbarsky@mit.edu d1aea320f7 Stylesheets should know what their principal is, and it should be based on theURI the sheet was loaded from, its certificate (if any) and the loaderprincipal, not just on the page the sheet is being applied to. Propagate thisprincipal as the loading principal to @import loads from stylesheets. Changesheet access checks to use this principal instead of the sheet URI. Bug221428, r+sr=peterv 2007-05-01 12:26:15 -07:00
bzbarsky@mit.edu 9a2d9fdbe7 Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking 2007-04-20 15:59:18 -07:00
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
dwitte%stanford.edu 8e78727416 (final) relanding since this has no Ts impact. 2007-12-22 00:56:28 +00:00
dwitte%stanford.edu 1eeb378ebd reverting change. 2007-12-21 15:02:13 +00:00
dwitte%stanford.edu 4d9cd8d1bd reland part of bug 407442. 2007-12-21 11:22:18 +00:00
dwitte%stanford.edu ff1801fc3e relanding part of 407442. 2007-12-20 07:30:06 +00:00
dwitte%stanford.edu 74ca1dddc8 back out changes. 2007-12-19 11:07:42 +00:00
dwitte%stanford.edu fc96d0299b reland nsTObserverArray changes only. 2007-12-19 06:03:06 +00:00
dwitte%stanford.edu 6d7ab720e9 backing out to investigate Ts increase 2007-12-19 04:12:13 +00:00
dwitte%stanford.edu f0e0d60f6b implement nsTObserverArray using nsTArray, clean up the interface, provide an nsAutoTObserverArray, and use it to reduce allocations in
nsEventListenerManager. b=407442, r+sr=sicking, a=beltzner
2007-12-19 01:06:36 +00:00
bzbarsky%mit.edu 7b4500d354 Use the principal doing the load to decide on the URI to pass to content
policies.  This will help do the right thing for data:/javascript:/about:blank,
as well as allow us to skip content policies altogether if the caller is
system.  Bug 388597, r+sr=sicking
2007-08-08 01:16:12 +00:00
bzbarsky%mit.edu 3c5c154175 Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 19:44:27 +00:00
jwalden%mit.edu ef68fcf595 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. 2007-07-08 07:08:56 +00:00
bzbarsky%mit.edu 5506a6ac4f Add an API to observe all loads in a CSSLoader. Change XML prettyprinting to
not start layout till after the prettyprinter stylesheet is loaded, so we don't
reflow and reconstruct the whole thing twice.  Bug 380612, r+sr=sicking
2007-05-31 01:42:48 +00:00
bzbarsky%mit.edu d979f584e1 Stylesheets should know what their principal is, and it should be based on the
URI the sheet was loaded from, its certificate (if any) and the loader
principal, not just on the page the sheet is being applied to.  Propagate this
principal as the loading principal to @import loads from stylesheets.  Change
sheet access checks to use this principal instead of the sheet URI.  Bug
221428, r+sr=peterv
2007-05-01 19:26:15 +00:00
bzbarsky%mit.edu ee773f7a7d Stop blocking the parser on CSS stylesheet loads. We still block script
execution on them, however.  Bug 84582, r+sr=sicking
2007-04-20 22:59:18 +00:00
bzbarsky%mit.edu f159f65687 Simplify the posted events setup now that they're owned through dispatch by the
target thread. Bug 369247, r+sr=peterv
2007-02-05 18:09:26 +00:00
bzbarsky%mit.edu 570e4c2513 Create DOM nodes for processing instructions in XUL, take 2. Still bug 319654, patch by
Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky.
2006-11-11 22:27:00 +00:00
roc+%cs.cmu.edu 8c3f0278d7 Bug 331883. Restrict anonymous box selectors to agent/user style sheets. r+sr=dbaron/bzbarsky 2006-06-15 03:20:19 +00:00
darin%meer.net 7d3e7d7acd landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
dbaron%dbaron.org 668f9730a4 File comments that show up in LXR and provide a quick summary of what's in each file. 2006-03-25 05:47:31 +00:00
bzbarsky%mit.edu 025c02e44e 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
2005-09-12 18:41:15 +00:00
bzbarsky%mit.edu 89e40bbf0f Clean up includes a bit in CSSLoader. Bug 290107, r+sr=dbaron, a=brendan 2005-04-14 15:27:16 +00:00
dbaron%dbaron.org 70322f91af Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky 2005-03-30 00:36:57 +00:00
dbaron%dbaron.org 311b293f7d 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 1441c4fcda 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 d85ecd00f9 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