Граф коммитов

16 Коммитов

Автор SHA1 Сообщение Дата
dbaron%fas.harvard.edu dc83a84103 Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin 2002-11-12 15:17:07 +00:00
dbaron%fas.harvard.edu 886e6f1527 Add comments explaining lookups in nsCachedStyleData. b=156902 sr=bzbarsky 2002-08-06 13:46:35 +00:00
dbaron%fas.harvard.edu 27b9d4524f 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 0597412383 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 03ace271f0 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
hyatt%netscape.com 08d1853958 Fix for 99344, inline styles not being recognized under certain DHTML circumstances. r=dbaron, sr=waterson, a=asa 2002-04-05 08:05:33 +00:00
dbaron%fas.harvard.edu 76bec44a9f Fix HPUX bustage. (It's right, as always. I can't static_cast to an incomplete class.) 2002-03-19 03:09:02 +00:00
dbaron%fas.harvard.edu 21232a3675 Fix performance problem on pages with large numbers of repeated style attributes or differing presentational HTML attributes by changing the way nsRuleNode decides whether to store children in a hashtable or linked list: decide based on the child count rather than whether the node is the root. Convert hashtable child storage from nsHashtable to PLDHashTable. b=129187 sr=brendan r=hyatt a=asa 2002-03-19 01:29:20 +00:00
dbaron%fas.harvard.edu 4459392c85 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
blythe%netscape.com 65cd19adda Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2002-01-15 22:43:37 +00:00
sfraser%netscape.com 169c79e50d Fix for bug 115157 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson 2001-12-14 23:10:42 +00:00
bbaetz%cs.mcgill.ca 5c8cc975a2 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
shanjian%netscape.com fdf39e6da8 #105199 glyph search order is NOT lang dependent
lang is mapped to CSS Display structure and apply to document using
CSS rule tree.
r=dbaron sr=attinasi
2001-12-11 04:12:34 +00:00
hyatt%netscape.com cec98cc49a 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 150e74f898 Moving nsRuleNode.cpp back to content/base/src from content/shared/src and inlining GetRule to fix linker errors on BeOS and probably also AIX, and since it doesn't need to be in content/shared and cvs won't like re-adding to content/html/style/src. b=104336 2001-10-24 06:25:08 +00:00
hyatt%netscape.com 0c8c1348b3 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00