dbaron%dbaron.org
811d5b0d7a
Implement garbage collection of the rule tree to fix some cases of memory growth and to allow us to move towards style rule immutability. b=117316 r+sr=bzbarsky
2003-03-06 19:14:17 +00:00
dbaron%dbaron.org
754d904cda
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bryner%netscape.com
cc390fbe51
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
caillon%returnzero.com
6134063f7b
189533, background-position has low accuracy. Specifically, it was not allowing fractional percentages.
...
r+sr=dbaron
2003-01-19 02:36:04 +00:00
dbaron%dbaron.org
329252c847
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
2003-01-08 19:24:38 +00:00
peterv%netscape.com
eef263b19e
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu
a272a96238
Make GetParent on nsStyleContext return an
...
already_AddRefed<nsIStyleContext>. Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
dbaron%fas.harvard.edu
630ee775dd
Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf
2002-09-30 14:18:27 +00:00
roc+%cs.cmu.edu
c0c4d81870
Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
2002-08-24 14:41:28 +00:00
dbaron%fas.harvard.edu
45592f7692
Implement CSS2 :lang() selector. Fix problems with dynamic changes of 'quotes' property. Patch mostly by Ulrich Drepper (drepper@redhat.com), with some changes by Pierre Saslawsky and dbaron. r=rbs, dbaron sr=bzbarsky b=35768
2002-08-14 12:34:39 +00:00
dbaron%fas.harvard.edu
4b79caff5f
Add comments explaining lookups in nsCachedStyleData. b=156902 sr=bzbarsky
2002-08-06 13:46:35 +00:00
dbaron%fas.harvard.edu
f3127870dc
To make maintainance easier and allow more data-as-data rather than data-as-code, create a preprocessable list of style structs and use it in many places where we previously listed all (or half) of the style structs. b=155745 r=bzbarsky sr=waterson
2002-07-09 04:10:10 +00:00
seawood%netscape.com
a384861cd4
The c++ standard requires that the throw list be used when declaring functions as well as defining them.
...
commercial compiler fixes for bug #149032
2002-07-03 17:14:41 +00:00
seawood%netscape.com
8f6f1756ce
Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
...
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu
93f1c722f2
Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
2002-03-31 16:59:00 +00:00
smontagu%netscape.com
5fee128a75
Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi
2002-02-19 20:41:32 +00:00
dbaron%fas.harvard.edu
61d42c141c
Restore optimization of getting data from parent context only when there is actually inheritance (except correctly this time), to prevent unnecessary struct computation and creation. Rename nsRuleNode::mInheritBits to mDependentBits. Use none bits (and thus prevent struct recomputation and copying) in the case where explicit inheritance overrides a non-inherited specified value, but still only for inherited structs. Other minor cleanup. b=113098 sr=hyatt r=bzbarsky
2002-02-17 01:53:40 +00:00
karnaze%netscape.com
7b10a02af4
bug 125426 - terminate xul style data when writing regression data. sr=dbaron
2002-02-14 14:54:06 +00:00
peterlubczynski%netscape.com
f3c2531c87
Adding TextReset case to GetUniqueStyleData, bug 36997 r=dbaron sr=attinasi a=brendan
2001-12-14 03:47:02 +00:00
bbaetz%cs.mcgill.ca
43806ea8b2
Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
...
alex.fritze@crocodile-clips.com , james.turner@crocodile-clips.com , and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes
r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.
NOT ON BY DEFAULT
2001-12-12 07:59:31 +00:00
attinasi%netscape.com
4f5ed5c4a9
Adding parent to StyleContext listing for help in debugging. b= 113518 r=dbaron sr=kin
2001-12-07 00:38:27 +00:00
dbaron%fas.harvard.edu
e3bc6fd309
Various cleanup and commenting in nsRuleNode and nsStyleContext. A few minor performance tweaks to nsRuleNode::WalkRuleTree. Fix correctness / crash errors that were caused by not setting the parent struct in the Compute*Data functions for inherited structs. b=111815 r=hewitt sr=hyatt
2001-12-02 00:44:45 +00:00
hyatt%netscape.com
f583fd60ce
MIssed a spot in 109261. same reviewers apply as for previous checkin of bug fix.
2001-11-15 07:31:13 +00:00
hyatt%netscape.com
94bb279ce6
Inline PeekStyleData for 109261.
2001-11-14 08:29:11 +00:00
hyatt%netscape.com
b69ed06ca6
Perf and footprint opt. Make style re-resolution cheaper. r=glazou, sr=hewitt, bug 109261
2001-11-14 08:19:13 +00:00
dbaron%fas.harvard.edu
a9b07948e7
My guess at AIX and OS/2 bustage was wrong -- backing it out. Someone with access to a machine with one of those compilers will have to try various things here.
2001-10-24 09:03:46 +00:00
dbaron%fas.harvard.edu
561a2b848a
Wild guess at fixing AIX and OS/2 bustage.
2001-10-24 06:53:39 +00:00
hyatt%netscape.com
0214ac3fdb
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
2001-10-24 00:01:09 +00:00
dougt%netscape.com
1f40b94136
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527
2001-10-19 20:59:33 +00:00
pierre%netscape.com
6f04306c31
91665 "Dump Style Contexts doesn't work anymore". Fixed nsStyleContext::List(). r=attinasi/sr=hyatt
2001-10-17 00:25:26 +00:00
dbaron%fas.harvard.edu
3dac3645cb
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
34fc404be7
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
2001-10-16 03:53:44 +00:00
rbs%maths.uq.edu.au
899f17f924
bug 99010 - font changes. r=attinasi@netscape.com, sr=hyatt@netscape.com
2001-09-27 18:33:58 +00:00
hewitt%netscape.com
8f078b94db
93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt
2001-09-25 23:35:36 +00:00
hewitt%netscape.com
e7ad287a94
93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt
2001-09-25 22:17:00 +00:00
gerv%gerv.net
2b0c9d0438
License changes, take 2. Bug 98089. mozilla/content/.
2001-09-25 01:32:19 +00:00
hyatt%netscape.com
9dc6c4c8cf
Fix for 71471. r=blake, sr=hewitt
2001-08-02 00:09:27 +00:00
hyatt%netscape.com
04fb853f1a
Fix for 90081, r=dbaron, sr=attinasi
2001-07-25 06:33:06 +00:00
hyatt%netscape.com
df2bd69663
Backing out 90081 fix until I understand why opt builds only crash.
2001-07-19 19:43:51 +00:00
hyatt%netscape.com
04aa6b45a9
Fix for 90081, r/sr=waterson,attinasi
2001-07-18 22:48:35 +00:00
hyatt%netscape.com
2bf7260d28
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
mkaply%us.ibm.com
57d9cc476c
#76020
...
r=waterson, sr=attinasi
Remove mDefaultDirection stuff - IBMBIDI does this correctly
2001-05-20 22:44:05 +00:00
mkaply%us.ibm.com
e365bb5bdf
#78728
...
r=pierre, sr=waterson
Change bool/true/false cases to PRBool/PR_TRUE/PR_FALSE
2001-05-08 14:19:01 +00:00
ftang%netscape.com
fe19b0bcba
fix #ifdef IBMBID bustage
...
change other.mUnicodeBidi to other->mUnicodeBidi
r=noone sr=onone
2001-05-08 08:13:12 +00:00
pierre%netscape.com
24bea92579
Fixed bloat metrics: added MOZ_COUNT_CTOR/MOZ_COUNT_DTOR to the style blobs.
2001-05-04 02:22:41 +00:00
jdunn%netscape.com
e67ba6163d
Fixing tinderbox bustage
...
fixing per pierre's suggested patch on the n.p.m.b
r=pierre@netscape.com ,jdunn@netscape.com
2001-05-03 20:37:06 +00:00
mkaply%us.ibm.com
6d3e58062c
OS/2 TB break - forgot a false
2001-05-03 18:05:27 +00:00
mkaply%us.ibm.com
6b3384c0ba
OS/2 TB break - need to change true to PR_TRUE and false to PR_FALSE
2001-05-03 16:09:42 +00:00
pierre%netscape.com
7e93cd88e0
Changed 2 stray |bool|s to |PRBool| to make OS/2 happy. Thanks to dbaron.
2001-05-03 15:40:05 +00:00
pierre%netscape.com
941bd70ab7
43457: change the mutable style context APIs, disable style context sharing, implement style data sharing. r=waterson.
2001-05-03 13:20:48 +00:00