alecf%netscape.com
8c50d0242a
landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
...
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
timeless%mozdev.org
697618b07d
Bug 106386 rid source of misspellings
...
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
alecf%netscape.com
b6584a77fb
backout my static atom patch for now until I figure out the performance loss! :(
...
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com
f7cd8fcae5
argh fix darwin bustage.. :(
2003-03-21 16:06:20 +00:00
alecf%netscape.com
3cb283cc78
just one theory on the Ts slowdown, before I back myself out completely
2003-03-21 13:31:34 +00:00
alecf%netscape.com
ecf24a2b78
fix for bug 195262:
...
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin
this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
bzbarsky%mit.edu
8055eacac8
s/floorf/floor/. Fixes solaris/AIX/whatever bustage
2003-03-18 08:29:00 +00:00
bzbarsky%mit.edu
1aff4d7ac8
Add math.h too
2003-03-18 06:48:04 +00:00
bzbarsky%mit.edu
4a3702559a
Fix build bustage -- looks like not all platforms have round(). r=timeless
2003-03-18 06:45:57 +00:00
bzbarsky%mit.edu
4cc14b7073
Bug 160550 -- implement -moz-hsl() (CSS3 hsl() colors). Implement the parsing end of
...
-moz-rgba() and -moz-hsla(); the GFX end is bug 147017. r+sr=dbaron
2003-03-18 05:43:12 +00:00
bzbarsky%mit.edu
68d36409fc
Don't parse "string" values for text-align till we actually support them in
...
layout... Bug 197771, r+sr=dbaron
2003-03-18 05:25:37 +00:00
bzbarsky%mit.edu
2884e64d50
Random CSS parser cleanup -- nsCOMPtr, nsCOMArray, remove unused methods, etc.
...
Bug 197512, r+sr=dbaron
2003-03-18 05:21:30 +00:00
bzbarsky%mit.edu
c214ea9fc8
Make scrollDelay settable; make height/width attrs work on standards-mode
...
pages. Bug 197461, r=doron, sr=dbaron
2003-03-17 06:58:17 +00:00
bzbarsky%mit.edu
1b837cdd65
Make the CSS parser not throw on attempts to parse lengths with unknown units
...
(bug 197212). Also fixes a few build warnings and finally removes
NS_CSS_PARSER_DROP_DECLARATION (bug 88423). r+sr=dbaron
2003-03-17 03:58:06 +00:00
bzbarsky%mit.edu
c9fb653ad8
Avoid possible double-delete of CSS declaration. Bug 196271, r+sr=dbaron
2003-03-17 03:46:17 +00:00
bzbarsky%mit.edu
9161a95441
Make all CSSStyleSheets have a useful mDocument so that they can pass change
...
notifications properly. Parent sheets are responsible for keeping their kids'
mDocument pointers up-to-date. Bug 194543, r=dbaron, sr=peterv
2003-03-17 03:44:02 +00:00
dbaron%dbaron.org
20ae0c288c
No more experiments. Back to plain old macros. r+sr=roc b=196603
2003-03-16 04:51:56 +00:00
dbaron%dbaron.org
5966b88a27
Well, the OS/2 compiler does not like the cool way of doing this, so on to the ugly way... b=197277
2003-03-16 01:34:48 +00:00
dbaron%dbaron.org
c4811e9e52
Ensure that CalcStyleDifference populates the new context with all of the structs present on the old context to ensure that the PeekStyleData optimization is valid. Avoid copy-and-pasted code. b=196603 r+sr=roc
2003-03-16 00:20:21 +00:00
dbaron%dbaron.org
ea3fcd2e6a
Oops! nsStyleSVG never had a GetStyleStructID method. b=196603
2003-03-15 21:54:49 +00:00
bzbarsky%mit.edu
b55d3bdb7f
Remove some style-data-clearing functions that no one uses and that don't do
...
the right thing anyway. Bug 169989, r+sr=dbaron
2003-03-13 18:58:54 +00:00
dbaron%dbaron.org
46b12ccdd6
Make HTMLDocumentColorRule immutable. b=196795 r+sr=bzbarsky
2003-03-13 15:30:32 +00:00
dbaron%dbaron.org
3069e2548c
Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky
2003-03-13 15:29:36 +00:00
bzbarsky%mit.edu
78169362cd
Fix bug 197090; foo.style.background="" would throw instead of just doing
...
nothing. r+sr=dbaron
2003-03-12 21:54:50 +00:00
bryner%netscape.com
2063c40516
Don't need to stabilize mRefCnt to 1 in nsStyleContext dtor (bug 196956). r/sr=dbaron.
2003-03-12 05:19:43 +00:00
bryner%netscape.com
f3a28e9f42
Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser.
2003-03-12 04:57:33 +00:00
roc+%cs.cmu.edu
84b91a597c
Bug 195883. %-values are not valid for '-moz-opacity'.
2003-03-08 03:08:25 +00:00
dbaron%dbaron.org
10878a0640
Remove unused variable (fix warning). b=171830
2003-03-06 21:01:52 +00:00
dbaron%dbaron.org
2c149384ef
Fix for bustage on older gcc. b=117316
2003-03-06 20:16:35 +00:00
alecf%netscape.com
5b7536c806
fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
...
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin
2003-03-06 19:54:51 +00:00
dbaron%dbaron.org
42cb723529
Fix dynamic style changes resulting from change to href attribute on HTML links. b=194972 r+sr=bzbarsky
2003-03-06 19:19:55 +00:00
dbaron%dbaron.org
c3fb353790
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
636a18962f
Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830
2003-03-06 19:07:22 +00:00
peterv%netscape.com
bc210f1afe
Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
2003-03-05 15:08:41 +00:00
sfraser%netscape.com
395413772f
Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf.
2003-02-28 05:47:36 +00:00
sfraser%netscape.com
73b113a4b0
Declare kCSSRawProperties and kCSSRawKeywords as 'extern' so that tests code can link with the .a, and get them.
2003-02-26 03:34:15 +00:00
sfraser%netscape.com
a972085056
Bug 74803: fix the data in various static name tables to be const, and fix nsStaticNameTable to accept const data. r=dbaron, sr=alecf.
2003-02-26 00:52:07 +00:00
dbaron%dbaron.org
e341c5f706
Make ProbePseudoStyleFor return null whenever :before and :after aren't displayed so that we don't try to reframe constantly in certain cases, preventing link clicking from working. b=188525 r+sr=bzbarsky
2003-02-23 17:28:25 +00:00
dbaron%dbaron.org
09cb4b87a2
Fix bustage. b=167415
2003-02-23 05:36:40 +00:00
bzbarsky%mit.edu
a47e2fa451
Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
...
(parent sheet, parent rule, owning node, document). Bug 167415, r+sr=dbaron
2003-02-23 04:44:41 +00:00
bzbarsky%mit.edu
9c70577820
Make the parser recycling list in the loader a class static. Bug 190658,
...
r=sicking, sr=peterv
2003-02-22 19:36:32 +00:00
dbaron%dbaron.org
2a5b76db35
Fix bugs with removal of certain properties. b=182294 r+sr=bzbarsky
2003-02-22 19:23:46 +00:00
dbaron%dbaron.org
031931bbfe
Make our ignoring of properties for :first-line and :first-letter a lot closer to the spec (although still buggy). b=103189 r+sr=bzbarsky
2003-02-22 19:20:16 +00:00
dbaron%dbaron.org
a5105c6ec7
Fix dynamic change bugs by making HTMLColorRule immutable. b=99850 r+sr=bzbarsky
2003-02-22 19:15:46 +00:00
dbaron%dbaron.org
4b4f8625f1
Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky
2003-02-22 16:10:53 +00:00
dbaron%dbaron.org
ea93b55cc8
Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser
2003-02-22 15:58:07 +00:00
dbaron%dbaron.org
6dd68f3c64
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
bryner%netscape.com
6a7db38d94
Attempting to fix os/2 and worms bustage. Add a protected default ctor to nsStyleContext. This should never be called since we never instantiate an nsDerivedSafe. r=bbaetz.
2003-02-22 10:13:34 +00:00
bryner%netscape.com
a2faedffba
Make nsStyleContext also return nsrefcnt from AddRef and Release, fixing gcc 2.95 bustage.
2003-02-22 04:05:05 +00:00
bryner%netscape.com
e43f5a49fd
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