16 Commits

Author SHA1 Message Date
sfraser%netscape.com
94edbe3959 Bug 74803: fix the data in various static name tables to be const, and fix nsStaticNameTable to accept const data. r=dbaron, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@138488 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 00:52:07 +00:00
bzbarsky%mit.edu
46afe71aab Make the string fu in nsStaticCaseInsensitiveNameTable a little smarter; use
that for nsCSSProps.  Bug 162243, r=dbaron, sr=dveditz.


git-svn-id: svn://10.0.0.236/trunk@136488 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 04:55:10 +00:00
alecf%netscape.com
d8f4cf294a cleanup after the first fix for bug 154275 - handle errors better and get rid of mCount entirely
sr=jst, r=peterv


git-svn-id: svn://10.0.0.236/trunk@124109 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 19:36:24 +00:00
alecf%netscape.com
8a015a6cb7 make nsStaticNameTable use PLDHash rather than nsHashtable, to reduce startup allocations from 1315 to 2
r=dougt, sr=dveditz
bug 154275


git-svn-id: svn://10.0.0.236/trunk@124075 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:46:39 +00:00
dougt%netscape.com
9ab3a7e18a Use flat strings when constructing string keys. This fixes a few high volume string key constructors. See 135781. r=dp@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119003 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:39:43 +00:00
timeless%mac.com
69ae314807 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
cathleen%netscape.com
6a0e426e6c eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@115070 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 06:38:38 +00:00
bryner%netscape.com
dab926fb61 Fixing a compiler warning (bug 125949). r=bzbarsky, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@114813 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:42:37 +00:00
jaggernaut%netscape.com
576ec93128 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
bryner%netscape.com
b09257b93a Backing out new code alecf accidentely checked in, fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@109504 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 00:37:35 +00:00
alecf%netscape.com
bfb7e06d84 ok, back out my ToLowerCase() change, it didn't make any difference
git-svn-id: svn://10.0.0.236/trunk@109501 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 23:15:31 +00:00
alecf%netscape.com
cf0efed474 performance test - just to see if nsString.ToLowerCase() is faster than ToLowerCase()
no reviewer, will back out after one or two tinderbox cycles


git-svn-id: svn://10.0.0.236/trunk@109488 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 19:06:02 +00:00
alecf%netscape.com
bf4d9b0e6e first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake
git-svn-id: svn://10.0.0.236/trunk@109022 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 21:13:53 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
cls%seawood.org
e8d28b7625 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@100998 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 04:18:27 +00:00
jband%netscape.com
a4e301356a initial checkin - NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@76388 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 02:07:37 +00:00