195 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
94075d45c2 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
git-svn-id: svn://10.0.0.236/trunk@117795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 16:59:00 +00:00
smontagu%netscape.com
d0afe74092 Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114942 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 20:41:32 +00:00
dbaron%fas.harvard.edu
5ef0589c9c 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
git-svn-id: svn://10.0.0.236/trunk@114714 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 01:53:40 +00:00
karnaze%netscape.com
055c809419 bug 125426 - terminate xul style data when writing regression data. sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@114507 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 14:54:06 +00:00
peterlubczynski%netscape.com
c0882ccfc5 Adding TextReset case to GetUniqueStyleData, bug 36997 r=dbaron sr=attinasi a=brendan
git-svn-id: svn://10.0.0.236/trunk@110451 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 03:47:02 +00:00
bbaetz%cs.mcgill.ca
478af40f6f 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


git-svn-id: svn://10.0.0.236/trunk@110384 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 07:59:31 +00:00
attinasi%netscape.com
1a34462861 Adding parent to StyleContext listing for help in debugging. b= 113518 r=dbaron sr=kin
git-svn-id: svn://10.0.0.236/trunk@109917 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:38:27 +00:00
dbaron%fas.harvard.edu
7a15a72b48 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
git-svn-id: svn://10.0.0.236/trunk@109475 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:44:45 +00:00
hyatt%netscape.com
71bedef261 MIssed a spot in 109261. same reviewers apply as for previous checkin of bug fix.
git-svn-id: svn://10.0.0.236/trunk@108160 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 07:31:13 +00:00
hyatt%netscape.com
cb07ac61ff Inline PeekStyleData for 109261.
git-svn-id: svn://10.0.0.236/trunk@108038 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 08:29:11 +00:00
hyatt%netscape.com
c0d0283f4f Perf and footprint opt. Make style re-resolution cheaper. r=glazou, sr=hewitt, bug 109261
git-svn-id: svn://10.0.0.236/trunk@108035 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 08:19:13 +00:00
dbaron%fas.harvard.edu
2f1eb6d907 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.
git-svn-id: svn://10.0.0.236/trunk@106156 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:03:46 +00:00
dbaron%fas.harvard.edu
ae6bbca773 Wild guess at fixing AIX and OS/2 bustage.
git-svn-id: svn://10.0.0.236/trunk@106146 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 06:53:39 +00:00
hyatt%netscape.com
ab0e4e56d4 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:09 +00:00
dougt%netscape.com
1f7520e927 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
git-svn-id: svn://10.0.0.236/trunk@105810 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:59:33 +00:00
pierre%netscape.com
e0c5a0727b 91665 "Dump Style Contexts doesn't work anymore". Fixed nsStyleContext::List(). r=attinasi/sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@105570 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 00:25:26 +00:00
dbaron%fas.harvard.edu
1382ac90eb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
7bb7b59a69 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +00:00
rbs%maths.uq.edu.au
1797500207 bug 99010 - font changes. r=attinasi@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103966 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 18:33:58 +00:00
hewitt%netscape.com
b362d1d395 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103766 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 23:35:36 +00:00
hewitt%netscape.com
f15e8fc2e2 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@103733 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:17:00 +00:00
gerv%gerv.net
ed9b258739 License changes, take 2. Bug 98089. mozilla/content/.
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
hyatt%netscape.com
d5f1d5af70 Fix for 71471. r=blake, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@100159 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 00:09:27 +00:00
hyatt%netscape.com
6206b55be6 Fix for 90081, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@99897 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 06:33:06 +00:00
hyatt%netscape.com
dcc9760cdf Backing out 90081 fix until I understand why opt builds only crash.
git-svn-id: svn://10.0.0.236/trunk@99596 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-19 19:43:51 +00:00
hyatt%netscape.com
02fae71136 Fix for 90081, r/sr=waterson,attinasi
git-svn-id: svn://10.0.0.236/trunk@99536 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 22:48:35 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
mkaply%us.ibm.com
9ee3e47d06 #76020
r=waterson, sr=attinasi
Remove mDefaultDirection stuff - IBMBIDI does this correctly


git-svn-id: svn://10.0.0.236/trunk@95575 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-20 22:44:05 +00:00
mkaply%us.ibm.com
60245648b5 #78728
r=pierre, sr=waterson
Change bool/true/false cases to PRBool/PR_TRUE/PR_FALSE


git-svn-id: svn://10.0.0.236/trunk@94236 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 14:19:01 +00:00
ftang%netscape.com
7f43aa39c6 fix #ifdef IBMBID bustage
change other.mUnicodeBidi to other->mUnicodeBidi
r=noone sr=onone


git-svn-id: svn://10.0.0.236/trunk@94222 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 08:13:12 +00:00
pierre%netscape.com
e00b2f1c8b Fixed bloat metrics: added MOZ_COUNT_CTOR/MOZ_COUNT_DTOR to the style blobs.
git-svn-id: svn://10.0.0.236/trunk@93879 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 02:22:41 +00:00
jdunn%netscape.com
0a56c48c58 Fixing tinderbox bustage
fixing per pierre's suggested patch on the n.p.m.b
r=pierre@netscape.com,jdunn@netscape.com


git-svn-id: svn://10.0.0.236/trunk@93825 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 20:37:06 +00:00
mkaply%us.ibm.com
b450a2a271 OS/2 TB break - forgot a false
git-svn-id: svn://10.0.0.236/trunk@93814 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 18:05:27 +00:00
mkaply%us.ibm.com
34ee7334f5 OS/2 TB break - need to change true to PR_TRUE and false to PR_FALSE
git-svn-id: svn://10.0.0.236/trunk@93805 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 16:09:42 +00:00
pierre%netscape.com
b09cf8f855 Changed 2 stray |bool|s to |PRBool| to make OS/2 happy. Thanks to dbaron.
git-svn-id: svn://10.0.0.236/trunk@93802 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 15:40:05 +00:00
pierre%netscape.com
287fc1dc9e 43457: change the mutable style context APIs, disable style context sharing, implement style data sharing. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@93798 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 13:20:48 +00:00
pierre%netscape.com
c4fd4ad4a4 74773 UMR in AccumulateCRC(). r=attinasi
git-svn-id: svn://10.0.0.236/trunk@93638 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 10:55:08 +00:00
attinasi%netscape.com
7487c96bf8 Fix for problem where a StyleContext changes its CRC and does not update the styel context cache. b=73553 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@92292 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 14:06:27 +00:00
erik%netscape.com
66a3aa0e18 bug 75066; author=simon@softel.co.il; r=jst; sr=erik; this change addresses
a comment made during the review for 75066 (nsBidiOptions ->PRUint32)


git-svn-id: svn://10.0.0.236/trunk@92226 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 21:46:28 +00:00
erik%netscape.com
7d9911f8e4 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)


git-svn-id: svn://10.0.0.236/trunk@89065 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:13:03 +00:00
hyatt%netscape.com
e887dceb91 Fix for 70809. r=attinasi, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@88615 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:30:30 +00:00
dr%netscape.com
ef9cd51fae 70386 (warning fix), r=timeless
git-svn-id: svn://10.0.0.236/trunk@88263 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 02:44:24 +00:00
heikki%netscape.com
80b36e2891 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.
git-svn-id: svn://10.0.0.236/trunk@87357 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:55:42 +00:00
pierre%netscape.com
8944a57fe0 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.
git-svn-id: svn://10.0.0.236/trunk@86533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:57:26 +00:00
attinasi%netscape.com
9e2454cabf Leave floated list-items as display:list-item. b=32200, r=buster sr=waterson
git-svn-id: svn://10.0.0.236/trunk@86109 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 21:16:00 +00:00
mcafee%netscape.com
644a6ffc68 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
pierre%netscape.com
f65fe0fad9 added brakets in switch() statements in a vain attempt to fix the unix build bustages
git-svn-id: svn://10.0.0.236/trunk@85213 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 23:33:29 +00:00
pierre%netscape.com
148e913722 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +00:00
pierre%netscape.com
b2bb962fc9 Not part of the build. Momentarily check in the StyleContext metrics before doing deeper changes.
git-svn-id: svn://10.0.0.236/trunk@84539 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 00:24:41 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00