L. David Baron
0d5c6ceac3
Stop using potentially-deep recursion to serialize selectors. (Bug 475215) r+sr=bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
58d5d187d9
Add tests for code I'm going to change, and fix crash when running those tests. (Bug 475215) r+sr=bzbarsky
2009-02-19 07:29:28 -08:00
L. David Baron
3d090560b0
Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic.
2009-02-18 18:59:47 -08:00
L. David Baron
62f38efea1
Stop using potentially-deep recursion to serialize selectors. (Bug 475215) r+sr=bzbarsky
2009-02-18 17:13:26 -08:00
L. David Baron
b02ed9db5c
Add tests for code I'm going to change, and fix crash when running those tests. (Bug 475215) r+sr=bzbarsky
2009-02-18 17:13:25 -08:00
L. David Baron
e77bcd1f39
Avoid recursion when handling mNegations in CalcWeight. (Bug 473908) r+sr=bzbarsky
2009-01-16 19:44:21 -08:00
Boris Zbarsky
127f56f241
Bug 458381 followup: tests and a code fix for a problem the tests caught. r+sr=dbaron, a=beltzner
2008-11-11 22:36:20 -05:00
Peter Van der Beken
579fe3ede9
Fix for bug 460512 (Avoid AddRef/Release in scriptable helper methods for NodeList). r/sr=bz.
2008-10-22 16:31:14 +02:00
Mats Palmgren
d7b18eed7d
Use iterative algorithms when cloning and deleting lists. b=456196 r+sr=dbaron
2008-10-17 10:13:16 +02:00
L. David Baron
8b2c14530a
Make nsPseudoClassList capable of storing integer pairs for :nth-*(). b=75375 r+sr=bzbarsky
2008-06-02 20:17:35 -07:00
L. David Baron
1eef72cec5
Rename nsAtomStringList to nsPseudoClassList, since that's what it's for, and we want to make it more than just atoms and strings. Also remove an unused constructor. b=75375 r+sr=bzbarsky
2008-06-02 20:17:35 -07:00
bent.mozilla@gmail.com
c54db3bb3c
Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner.
2008-04-11 10:29:06 -07:00
jonas@sicking.cc
f6bc46eb38
Backing out due to test failures
2008-04-08 20:20:39 -07:00
jonas@sicking.cc
aedea05d90
Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking
2008-04-08 19:06:27 -07:00
reed@reedloden.com
f9ee4eb39f
Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc]
2008-01-01 02:11:02 -08:00
bzbarsky@mit.edu
e07e6b79f8
Have the rule take ownership of the parsed selector when we're done parsing it
...
instead of cloning the selector. Bug 386123, r+sr=dbaron
2007-07-23 18:48:10 -07:00
jwalden@mit.edu
6d7584839a
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
51671d60c6
Propagate a stylesheet's principal to the URI and Image CSSValues derived fromthat sheet. Bug 377091, r+sr=dbaron
2007-05-02 18:15:53 -07:00
martijn.martijn@gmail.com
f27a1f3aac
Bug 377017 - Javascript - crash on accessing a css rule after deleteRule() [@ nsCSSSelector::ToStringInternal], r+sr=dbaron
2007-04-12 09:23:43 -07:00
cvshook%sicking.cc
a39ff30284
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
2007-01-30 00:06:41 +00:00
sayrer%gmail.com
0d2f67fa51
bug 361005. remove nsCRT::strdup from layout. r+sr=bz
2006-11-17 01:49:06 +00:00
dbaron%dbaron.org
aa4f419e7e
Fix leak when cloning negations caused by previous patch. b=333634 r+sr=bzbarsky
2006-04-28 18:02:53 +00:00
dbaron%dbaron.org
a83d924850
Do iterative cloning and destruction of linked list selector data structures. b=333634 r+sr=bzbarsky
2006-04-25 21:48:11 +00:00
dbaron%dbaron.org
04b8c33eda
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
2006-04-05 00:00:44 +00:00
dbaron%dbaron.org
30f8db359a
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
cbiesinger%web.de
c2d981f764
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
silver%warwickcompsoc.co.uk
72f438799f
Bug 321195 - stop cloning stylesheets from losing rule weighting and line numbers. r+sr=dbaron
2005-12-23 21:04:35 +00:00
dbaron%dbaron.org
b77f513236
Fix selector serialization bugs related to namespaces. b=315648 r+sr=bzbarsky
2005-11-14 23:40:37 +00:00
dbaron%dbaron.org
eac6a24015
Change storage of :not() selectors so that there is one item in mNegations per :not(), and simplify various code accordingly. Simplify SelectorMatches a little more. b=315567 r+sr=bzbarsky
2005-11-09 04:17:26 +00:00
bzbarsky%mit.edu
8df9c25d22
Create CSSLoaders when the document object is created and deCOMify the getter.
...
Bug 290068, r=sicking, sr=peterv, a=brendan
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu
288bdb0593
Fix serialization of attribute-existence selectors. Bug 286010, r+sr=dbaron
2005-03-26 02:36:15 +00:00
dbaron%dbaron.org
9555b9ae04
Clean up GetImportantRule and null-check for out-of-memory case to bulletproof against null dereference topcrash. b=287504 r+sr=bzbarsky
2005-03-25 04:09:13 +00:00
bryner%brianryner.com
59496a3bd0
Rename nsNameSpaceMap to nsXMLNameSpaceMap to avoid symbol collision in static builds (bug 281728). r=dbaron.
2005-02-19 00:10:38 +00:00
bryner%brianryner.com
58396e7490
Remove nsINameSpace and replace with a simple array-based list of namespace mappings for CSS. Bug 281728, r+sr=bzbarsky.
2005-02-18 19:18:37 +00:00
bzbarsky%mit.edu
8d04af9801
Fix GetSelectorText to truncate the out string. Bug 142648, patch by Daniel
...
Kraft <domob@daniel-kraft.net>, r+sr=bzbarsky
2005-02-03 18:31:24 +00:00
bzbarsky%mit.edu
2e62979ba1
Getting the selector text should properly escape and quote attribute value
...
strings. Bug 142648, patch by Daniel Kraft <domob@daniel-kraft.net>, r=dbaron,
sr=bzbarsky.
2005-01-30 18:01:57 +00:00
dbaron%dbaron.org
976fc758a4
Remove nsIStyleRule::GetStyleSheet (and move it to nsICSSRule). b=266991 r+sr=bzbarsky
2004-10-31 17:33:50 +00:00
dbaron%dbaron.org
2afd699c4e
Separate sheet URI and base URI for style attributes and for CSS parsing from DOM APIs. b=258707 r+sr=bzbarsky
2004-09-10 23:31:48 +00:00
dbaron%dbaron.org
96c0e36f4e
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
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
roc+%cs.cmu.edu
0f4150a4e5
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
bzbarsky%mit.edu
4ebe94aa34
Fix serialization of selectors when namespaces are around to be smarter; fix
...
serialization of pseudo-elements to prepend '*' as needed. Bug 173586,
r=glazou, sr=roc
2004-05-18 02:42:13 +00:00
gerv%gerv.net
9d2ee4928c
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-17 21:52:36 +00:00
sicking%bigfoot.com
17ca2df349
Bug 232016: Kill SetHTMLAttribute and do minor cleanups in .foo -> set/getAttribute("foo") mapping code.
...
r=peterv sr=jst
2004-02-24 23:55:18 +00:00
bzbarsky%mit.edu
8093efd14c
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
2004-01-13 23:14:49 +00:00
bryner%brianryner.com
e65d2d2fe5
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
2004-01-07 22:30:53 +00:00
dbaron%dbaron.org
40deca4b2f
Remove no-longer-needed hook for inspector. b=224164
2003-12-29 19:17:22 +00:00
bzbarsky%mit.edu
f384166efa
Create a mozAutoDocUpdate class to handle automatically calling
...
BeginUpdate/EndUpdate on documents. Use this in a bunch of places to make sure
that EndUpdate is called in the face of early returns. Bug 131775, also fixes
bug 211022, r=caillon, sr=jst
2003-10-16 18:14:25 +00:00
bzbarsky%mit.edu
a972a3e501
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
dbaron%dbaron.org
506e1cf947
Don't create style rule DOM wrappers for inline style, since we are not supposed to, and ours crash when used on inline style. b=218222 r+sr=bzbarsky
2003-09-13 19:18:52 +00:00