roc+@cs.cmu.edu
458e434a36
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
89efeec71f
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
d2498b9a86
Add comments explaining lookups in nsCachedStyleData. b=156902 sr=bzbarsky
2002-08-06 13:46:35 +00:00
dbaron@fas.harvard.edu
9696d7c472
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
acbfd89feb
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
0ae28f14fb
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
d1856f6f91
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
0b18ff0721
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
13c9ef743d
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
a870258efb
bug 125426 - terminate xul style data when writing regression data. sr=dbaron
2002-02-14 14:54:06 +00:00
peterlubczynski@netscape.com
20ccd2951f
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
2e820371f0
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
9c137acd13
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
8010d2cf71
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
92924d9b64
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
f5a5c84755
Inline PeekStyleData for 109261.
2001-11-14 08:29:11 +00:00
hyatt@netscape.com
d2d6ba6893
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
6737e2c8ac
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
0fe9f4f14b
Wild guess at fixing AIX and OS/2 bustage.
2001-10-24 06:53:39 +00:00
hyatt@netscape.com
f89422ce49
Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
2001-10-24 00:01:09 +00:00
dougt@netscape.com
0c8a8e6270
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
a12ccb0d7f
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
d0430dd000
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
2001-10-16 05:31:36 +00:00
dbaron@fas.harvard.edu
d52d3d978e
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
d7c94b17ba
bug 99010 - font changes. r=attinasi@netscape.com, sr=hyatt@netscape.com
2001-09-27 18:33:58 +00:00
hewitt@netscape.com
656aa58441
93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt
2001-09-25 23:35:36 +00:00
hewitt@netscape.com
353334f790
93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt
2001-09-25 22:17:00 +00:00
gerv@gerv.net
5ba3ff1a0d
License changes, take 2. Bug 98089. mozilla/content/.
2001-09-25 01:32:19 +00:00
hyatt@netscape.com
f70a2dc890
Fix for 71471. r=blake, sr=hewitt
2001-08-02 00:09:27 +00:00
hyatt@netscape.com
4aabcd756f
Fix for 90081, r=dbaron, sr=attinasi
2001-07-25 06:33:06 +00:00
hyatt@netscape.com
250386c37d
Backing out 90081 fix until I understand why opt builds only crash.
2001-07-19 19:43:51 +00:00
hyatt@netscape.com
6e1bff15c8
Fix for 90081, r/sr=waterson,attinasi
2001-07-18 22:48:35 +00:00
hyatt@netscape.com
dfdfa14592
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
mkaply@us.ibm.com
d318a344a7
#76020
...
r=waterson, sr=attinasi
Remove mDefaultDirection stuff - IBMBIDI does this correctly
2001-05-20 22:44:05 +00:00
mkaply@us.ibm.com
d3ff97e286
#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
03e1cb6422
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
a7220ef250
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
e3d2648692
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
8b03c7e477
OS/2 TB break - forgot a false
2001-05-03 18:05:27 +00:00
mkaply@us.ibm.com
8b2bcbfee9
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
d78c5a9345
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
e26b975ec8
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
pierre@netscape.com
79876965fa
74773 UMR in AccumulateCRC(). r=attinasi
2001-05-02 10:55:08 +00:00
attinasi@netscape.com
5cdeeabf40
Fix for problem where a StyleContext changes its CRC and does not update the styel context cache. b=73553 r=karnaze sr=waterson
2001-04-14 14:06:27 +00:00
erik@netscape.com
15ef0c647d
bug 75066; author=simon@softel.co.il; r=jst; sr=erik; this change addresses
...
a comment made during the review for 75066 (nsBidiOptions ->PRUint32)
2001-04-13 21:46:28 +00:00
erik@netscape.com
d53866c9ff
bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
...
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:13:03 +00:00
hyatt@netscape.com
a2bb8fb719
Fix for 70809. r=attinasi, sr=brendan
2001-03-06 02:30:30 +00:00
dr@netscape.com
0654253de6
70386 (warning fix), r=timeless
2001-03-01 02:44:24 +00:00
heikki@netscape.com
25edbb9354
Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
2001-02-19 12:55:42 +00:00
pierre@netscape.com
5f165d8dc9
Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
2001-02-07 09:57:26 +00:00