Commit Graph

29 Commits

Author SHA1 Message Date
rjesup@wgate.com
33e3e06f9e Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
dbaron@fas.harvard.edu
d0430dd000 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
alecf@netscape.com
17a228fb6c bug 104126 - remove nsStringArray::IndexOfIgnoreCase and its one consumer. sr=attinasi, r=jag 2001-10-11 01:30:52 +00:00
gerv@gerv.net
58d409fba9 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
d60800dca8 Bug 94267. Clean up nsVoidArray::GrowArrayBy(), fixing a couple of crashers. r=rjesup, sr=brendan 2001-08-09 01:11:18 +00:00
waterson@netscape.com
cd9411c394 Fix mac bustage. 2001-08-07 06:27:42 +00:00
waterson@netscape.com
883f19e2d4 Bug 90545. nsVoidArray and nsSupportsArray cleanup. Patch submitted by rjesup@wgate.com, r=jst, sr=waterson. 2001-08-07 06:23:40 +00:00
rbs@maths.uq.edu.au
77daeb5f47 Add methods for in-place sorting of nsVoidArray and ns[C]StringArray using caller-provided comparator callback functions. b=88344 r=dbaron sr=scc 2001-07-10 04:31:57 +00:00
kandrot@netscape.com
9eec643ef6 r=kandrot@netscape.com, sr=waterson@netscape.com, a=asa@mozilla.org
removes a memset that sets zero bytes (so it did nothing)
2001-06-13 00:03:21 +00:00
hyatt@netscape.com
d15945e85b Fix bug in void array's assignment operator. r=scc 2000-08-24 09:26:58 +00:00
jst@netscape.com
3ba32f670e 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
mkaply@us.ibm.com
e7cd6deeb1 #43877
r=dougt, a=dougt
Using this pointer rather than other pointer causes crash
2000-06-28 14:37:25 +00:00
waterson@netscape.com
91c438ec95 Fix UMRs. 2000-06-15 06:42:27 +00:00
waterson@netscape.com
e1f764e7a4 Fix leak I made. r=warren 2000-06-14 07:27:08 +00:00
waterson@netscape.com
c0fddb5b1d Grow by power of two after reaching 16 elements; factor 'implementation' into a separate struct so the nsVoidArray object is one word when empty. 2000-06-13 08:33:19 +00:00
scc@netscape.com
1d3f36aa84 Fixing runtime assert bustage. r=pinkerton 2000-01-19 01:18:27 +00:00
jband@netscape.com
3af511950f adding member initializer to quiet Purify. r=waterson. 1999-12-07 07:17:44 +00:00
waterson@netscape.com
cfe3c5fe81 Make 'kGrowArrayBy' const. Thanks, Heikki. 1999-12-01 22:44:42 +00:00
waterson@netscape.com
12303a6a1d Bug 9489. Add support for nsAutoVoidArray. r=scc,shaver 1999-12-01 00:37:11 +00:00
dmose@mozilla.org
20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
valeski@netscape.com
67cca6e526 15590, r=kipp. added a nsCStringArray class so the cool string array functionality could be used for CStrings too. this checkin is *part* of a fix to the bug 1999-10-29 20:47:17 +00:00
kipp@netscape.com
7f5c6bec86 Reworked sizeof api's to be much more useful; updated implementations to match 1999-08-31 03:04:37 +00:00
pinkerton@netscape.com
a6fd3bbd30 missing [] on delete of internal array in operator=. 1999-05-26 21:13:29 +00:00
peterl@netscape.com
420eec000b added nsStringArray 1999-01-23 06:58:34 +00:00
jevering
80f24b895e Modified ReplaceElementAt to grow the array if an index out of the
allocated boundary was requested.
1998-07-02 00:28:56 +00:00
troy
e830c3f3e9 Added an additional constructor 1998-06-11 22:48:25 +00:00
kipp
2197fd41a4 Added SizeOf method 1998-06-05 21:38:36 +00:00
peterl
ccb6b73b39 added enumerate methods 1998-05-20 20:31:58 +00:00
kipp
4683c6f4c0 moved to pub 1998-04-13 20:24:54 +00:00