dbaron%dbaron.org
0c9372c940
Fix threadsafety regression so we're back to the old broken state. b=335734 r=sicking rs=brendan
2006-05-06 17:49:21 +00:00
dbaron%dbaron.org
dc8432a80c
Make IsPermanent non-virtual so it can be called in the destructor. b=334605 r=mrbkap rs=brendan
2006-04-19 21:46:47 +00:00
cbiesinger%web.de
a898e666b8
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
e64707f230
Implement a in-place (no copy) CompareUTF8toUTF16, and use it to make the atom
...
hashtable lookups zero-copy. Patch by jst, bug 314465 (with lots of the
discussion in bug 277479), r=bsmedberg,dbaron,brendan (on the PLDHashTable
keyhash value assumptions), sr=bzbarsky, moa=shaver.
2005-11-04 19:52:18 +00:00
gerv%gerv.net
6f486a3c92
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
jst%mozilla.jstenback.com
8b6dc1c3ca
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
2004-02-09 22:48:53 +00:00
bryner%brianryner.com
8201c0cef1
Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron.
2004-01-22 01:01:19 +00:00
timeless%mozdev.org
0e829d56f5
Bug 211275 GetAtomHashEntry doesn't check the return value of PL_DHashTableInit
...
r=dbaron sr=bz
2003-07-03 14:45:01 +00:00
alecf%flett.org
67d5f7cd5f
fix bug 209699 r=dougt, sr=jst - move some consumers over to CopyUTF8toUTF16
2003-06-18 02:22:46 +00:00
alecf%netscape.com
5f29256c3a
fix for bug 195298 - pldhash ops tables should be const.. r=dougt, sr=sfraser
2003-04-04 15:10:37 +00:00
alecf%netscape.com
455721ccbd
remove #ifdef NS_DEBUG as per bug 200241
...
code was already reviewed, just moved out of #ifdef per bryner
2003-04-02 15:47:16 +00:00
alecf%netscape.com
925955c81d
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
alecf%netscape.com
16af458ceb
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
5c7ef8c800
oops, don't free the arena pool if we never allocated it!
...
duh.
fixes a shutdown crash
2003-03-21 08:38:56 +00:00
alecf%netscape.com
c4ea07bc53
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
dbaron%dbaron.org
754d904cda
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
dbaron%dbaron.org
f2cd5e3e66
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
2003-01-08 23:19:20 +00:00
seawood%netscape.com
8f6f1756ce
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
92aa754e0a
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2002-03-24 00:16:18 +00:00
jst%netscape.com
24e75cc417
Fixing blocker bug 106527 (as part of bug 69468), allow creation of atoms for empty strings but don't crash when creating atoms for strings that have no internal buffer. r=dbaron@netscape.com, sr=brendan@mozilla.org
2001-10-24 23:36:58 +00:00
jst%netscape.com
a9979d7127
Fixing bug 69468. Finally adding support for string nullness to XPConnect. r=jaggernaut@netscape.com, shaver@mozilla.org, sr=jband@netscape.com
2001-10-24 07:15:06 +00:00
dbaron%fas.harvard.edu
2d95ccc700
Reduce the performance cost of (threadsafely) refcounting many atoms by creating a second implementation of nsIAtom (derived from the first) that does not refcount and gets destroyed at XPCOM shutdown. Normal atoms are converted to permanent ones without loss of pointer identity when a permanent atom is requested and a normal one already exists. b=92141 r=waterson sr=brendan
2001-10-20 23:19:07 +00:00
dbaron%fas.harvard.edu
3dac3645cb
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
34fc404be7
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
rjesup%wgate.com
ae301262f7
Bug 103330: Use Assign() instead of SetLength(0); Append(). r=jag, sr=alecf
2001-10-08 20:07:04 +00:00
gerv%gerv.net
f385eb981a
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
waterson%netscape.com
5e64146342
Bug 95296. Use nsCRT::HashCode() instead of bad lossy slow hash routine. sr=brendan
2001-08-16 03:24:45 +00:00
jst%netscape.com
f72e19a2c3
scc checking in from jst's account. bug #75220 : sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
2001-05-19 11:27:30 +00:00
scc%mozilla.org
c355507eda
landing string branch; see bug #73786
2001-04-02 19:40:52 +00:00
disttsc%bart.nl
1428b30810
Fix bad nsPromiseFlatString usage in nsAtomTable, bug=71759, r=bryner, sr=shaver
2001-03-14 07:41:08 +00:00
sspitzer%netscape.com
2e0d69112c
fix for #58238 . sr=bienvenu. fix crash when growing the hash table
...
that contained the list of atoms. see bug report for all the details.
thanks to bienvenu, scc, brendan, and hyatt for the help.
2000-12-18 19:58:20 +00:00
warren%netscape.com
8a69f1b13e
Bug 47207 - removing printf / logging changes. Sticking in big toe. r=valeski,sr=waterson
2000-10-27 06:18:39 +00:00
scc%mozilla.org
3fa71edbc6
bug #49817 : fix |normalize_forward|, |normalize_backward|; make |Begin(Read|Writ)ing| call |normalize_forward|; pass iterators by reference. r=mjudge
2000-09-02 04:10:44 +00:00
jst%netscape.com
6c60728277
Fixing AIX and SunOS 5.7 bustage. r=scc&vidur
2000-08-24 22:17:25 +00:00
jst%netscape.com
ca60525047
Attempting to fix AIX and OS2 bustage, code written by scc, r=jst
2000-08-23 23:36:58 +00:00
jst%netscape.com
b3a4ade60d
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
2000-08-23 17:27:06 +00:00
warren%netscape.com
930a05de5a
Fix for hash code performance problem discovered by bienvenu. 'Sampling' hash code was statistically evil.
2000-08-20 21:29:10 +00:00
warren%netscape.com
4af572e4c1
Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson
2000-08-10 06:19:37 +00:00
mkaply%us.ibm.com
11949af38c
# 34082
...
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2000-05-02 22:38:04 +00:00
scc%netscape.com
080a801eb7
making string conversions explicit
2000-04-01 00:39:02 +00:00
sfraser%netscape.com
449d00bd3c
Bump up the intial hash table size in a bunch of places to avoid resizing the hash later. r=scc
2000-03-22 02:43:48 +00:00
warren%netscape.com
7e37f4f478
Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
2000-03-05 21:26:01 +00:00
scc%netscape.com
5e2b1e357c
bug #25621 : shouldn't add a |NULL| atom to the hashtable. r=beard
2000-02-11 01:59:55 +00:00
scc%netscape.com
c1132f0a1e
bug #25621 : didn't check for null before |AddRef()|. Converted |NS_ADDREF|-->|NS_IF_ADDREF|. No code review.
2000-02-07 10:05:14 +00:00
warren%netscape.com
72b2f1fb4a
Fixed indentation.
1999-11-20 07:30:26 +00:00
warren%netscape.com
c66f04c585
Changed ifdefs to this stuff is off for debug builds too.
1999-11-20 07:28:45 +00:00
dmose%mozilla.org
8535dda53e
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
kipp%netscape.com
b0dcc883f8
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
warren%netscape.com
b90a06a288
Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
1999-10-08 01:49:06 +00:00
kipp%netscape.com
bea8edf606
Renamed the ctor/dtor counting macros to make more sense
1999-10-05 14:54:05 +00:00