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

1263 Коммитов

Автор SHA1 Сообщение Дата
alecf%netscape.com ab1af1ae5c fix for bug 177318 - use pldhash for inner hashtable entries to dramatically reduce allocations
r=dougt/sr=brendan
I am watching to see how the performance number change and will back out if the results are nasty
2002-11-16 02:33:49 +00:00
alecf%netscape.com df10f648b8 take two at fixing bug 177401 - convert nsIBinaryStream over to using nsAString/nsACString for string values, to speed up fastload
sr=darin, r=dougt
(the previous checkin had a typo which disabled fastload entirely!)
2002-11-14 18:16:31 +00:00
alecf%netscape.com 38eb10228e oops, I checked in an earlier version of the patch for bug 173291 - here's the update that reflects the reviewer's comments.
r=dougt, sr=jag
2002-11-13 22:58:56 +00:00
alecf%netscape.com de2d41b288 fix for bug 173291 - use nsISimpleEnumerator for nsHashtableEnumerator, rather than nsIEnumerator
r=dougt, sr=jag
2002-11-13 22:40:10 +00:00
brendan%mozilla.org 5335692809 Make enumeration const unless PL_DHASH_REMOVE is returned by the etor callback; improve several comments (174859, r=waterson, sr=beard). 2002-11-13 04:35:37 +00:00
alecf%netscape.com 0a48c10053 argh, back out my last checkin because Ts went UP not down! 2002-11-09 01:31:32 +00:00
jkeiser%netscape.com 57c2e908dc Fix copyright date. Bug 133354. 2002-11-09 01:03:36 +00:00
alecf%netscape.com 4721428275 fix for bug 177401 - use nsAString& classes instead of wstring in nsIBinaryInputStream, to speed up fastload startup
sr=darin, r=dougt
2002-11-08 23:30:53 +00:00
bzbarsky%mit.edu 7e9b235805 Make the nsCOMArray destructor release all the objects. Bug 178813,
r=bbaetz, sr=rpotts
2002-11-07 13:34:18 +00:00
mkaply%us.ibm.com 38cc1792a7 #177543
r=me, sr=bz
OS/2 build bustage - add explicit casts
2002-11-07 04:48:56 +00:00
timeless%mozdev.org 4cd29fab52 Bug 174004 nsTextFormatter.cpp comment stolen from prprf.c should be removed
comment only change
2002-11-06 14:57:41 +00:00
bzbarsky%mit.edu a072d304e2 nsCOMArray_base copy constructor should not assert. Bug 178534,
r=dougt, sr=alecf
2002-11-06 02:00:50 +00:00
bzbarsky%mit.edu e1ecd5f25d Add AppendObjects/InsertObjectsAt to nsCOMArray. Bug 175137,
r=timeless, sr=alecf, a=dbaron
2002-10-25 01:40:50 +00:00
bzbarsky%mit.edu a38eb32e8a need to NS_INIT_ISUPPORTS to prevent thresafety assertions. bug 175437,
r=timeless, sr=alecf, a=dbaron
2002-10-24 01:03:00 +00:00
bzbarsky%mit.edu 58a7681df2 Make IndexOf a const method. Bug 174940, r=dougt, sr=alecf 2002-10-17 19:26:27 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
varga%netscape.com 54b5577b97 Fix for bug 174443. nsCOMArray::ApendObject() shouldn't addref
r=dougt, sr=alecf, a=asa
2002-10-15 23:59:20 +00:00
bbaetz%student.usyd.edu.au 35ddc78531 Change the never-defined copy-constructor signature to refer to nsCOMArray<T>
instead of nsCOMArray. Should fix OS2 bustage, which noticed this because
it instantiates the function even when its not used
r=sicking, sr=mozbot, a=tinderbox
2002-10-15 05:19:30 +00:00
timeless%mac.com 859e1dee66 Bugzilla Bug 174447 fix typos in nsStaticNameTable.h 2002-10-14 22:39:44 +00:00
brendan%mozilla.org 12685fb2da Comment improvements motivated by bug 173797, no code changes. 2002-10-13 19:08:07 +00:00
timeless%mac.com 09fcb732df Bug 172131 FMM, Comments which suggest the wrong (De)Allocator, and Style
r=dougt sr=darin
2002-10-08 06:12:00 +00:00
seawood%netscape.com f0b77e04cc Callback functions must be declared as such.
Fixing OS/2 tinderbox bustage.
2002-10-08 01:04:09 +00:00
mkaply%us.ibm.com fb84d9cdf4 OS/2 bustage - need PR_CALLBACK 2002-10-07 21:32:37 +00:00
alecf%netscape.com 1a6ddca712 fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc, frank.schoenheit@gmx.de, and even a little license help from timeless
2002-10-07 19:03:41 +00:00
dougt%netscape.com 522523a746 Not part of build 2002-10-07 18:53:51 +00:00
dougt%netscape.com 2079b1b881 Backing out nsStringService. 2002-10-04 23:49:23 +00:00
dougt%netscape.com fe6b07dca7 manifest 2002-10-04 23:12:36 +00:00
dougt%netscape.com de5e57b1ab adding UNDER_REVIEW 2002-10-04 22:29:27 +00:00
dougt%netscape.com 0cabe78b54 First cut of the nsIStringService. 172512. r=jag, sr=alecf 2002-10-04 22:25:41 +00:00
alecf%netscape.com daef497db3 argh, I'm stupid, s/class/interface/
not part of build
2002-10-04 00:48:16 +00:00
alecf%netscape.com c1587a2bd2 pre-declare nsISimpleEnumerator instead of #including the header, per darin's request
not part of build, for bug 162115
2002-10-04 00:47:14 +00:00
alecf%netscape.com 4772a38bc6 add do_QueryElementAt, and make NS_NewArray() give you an nsIMutableArray instead of nsIArray
not part of build, for bug 162115
2002-10-03 20:20:13 +00:00
jkeiser%netscape.com 90f7d0d6fb Add CheapSet, reduce select bloat, make blank options restore correctly (bug 166168), r=rjesup@wgate.com, sr=jst@netscape.com 2002-10-03 03:43:11 +00:00
alecf%netscape.com 82a267d76a more work for bug 162115 - add support for weak references in nsIArray
not part of build
2002-10-02 21:00:42 +00:00
alecf%netscape.com 1bae8680e1 more work on bug 162115 - use "friend" to allow nsCOMArray<T>'s copy constructor to be protected, but still usable from nsArray
not part of build
2002-10-02 18:54:12 +00:00
alecf%netscape.com 1d12dc704b from brendan's review:
oops, use NS_IF_ADDREF where apropriate
also be consistent about using NS_ADDREF() on the result
not part of build
2002-10-01 18:29:30 +00:00
alecf%netscape.com 101b6c67d1 add support for a nsISimpleEnumerator implementation for nsCOMArray<T> and nsIArray, and update existing interfaces to support that:
- move nsCOMArray_base's ObjectAt/[]/Count() methods into the public so that nsCOMArrayEnumerator can get to it
- tweak NS_NewArray() to match the existing enumerator NS_New* API
- hook up NS_NewArrayEnumerator to nsArray::Enumerate
Not part of the build, for bug 162115
2002-10-01 17:34:25 +00:00
alecf%netscape.com 7c8eb9e9d2 - fix ReplaceObjectAt to properly account for existing null entries
- make nsCOMArray_base accessible from nsCOMArray<T> so that a nsCOMArray<T> can passed to NS_NewArray
for bug 162115, not part of build
2002-10-01 00:37:41 +00:00
alecf%netscape.com 3da81d6d16 add lots of docs for bug 162115, not part of build 2002-10-01 00:26:00 +00:00
alecf%netscape.com 950bb44445 not part of build, more for bug 162115:
- fix some spelling, add documentation
- add NS_NewArray(), including one that takes an existing nsCOMArray<T>
- implement copy constructor for nsCOMArray_base, so that NS_NewArray can work
not part of build
2002-09-30 23:02:31 +00:00
alecf%netscape.com 4b31552c74 match up some reviewers comments:
- tri-license with MPL, not NPL
- be consistent with policy on null in the array (it is allowed)
- move Clear() into implementation file, and hide static callback there too
- make sure to AddRef() on the way out of nsArray::IndexOf()
- handle failure of ReplaceElementAt more gracefully
bug 162115, not part of build yet
2002-09-30 22:01:46 +00:00
kyle.yuan%sun.com a20c3b924d Bug 161449 Non-ASCII shortcuts for select elements in html forms
r=aaronl, sr=alecf
fix nsCRT::ToLower/ToUpper bugs and use |ToLowerCase()| instead of |nsCRT::ToLower()| in nsListControlFrame
2002-09-29 01:42:07 +00:00
alecf%netscape.com 5c1535a86b move contactID out of nsArray.h - not part of build 2002-09-27 19:52:47 +00:00
alecf%netscape.com fdcbeea4d6 add documentation and comments, mark interface UNDER_REVIEW
(also not part of build)
2002-09-27 19:33:01 +00:00
alecf%netscape.com 8d1e0ebc54 continuing work in progress on nsCOMArray<T> - take darin's suggestion and move all nsISupports-related code into a non-template base class nsCOMArray_base. This allows the generated template to be paper thin (or really, non-existent!)
Then, we move some of the non-trivial methods of this class into a .cpp file
2002-09-27 19:29:45 +00:00
ducarroz%netscape.com 4aa0109ef1 Fix for bug 171121. prevValue could be null therefore we need to use NS_IF_RELEASE instead of
NS_RELEASE. R=dougt, SR=sspitzer
2002-09-27 17:49:08 +00:00
alecf%netscape.com 5274331b83 continue work-in-progress with freezable array.
Also introduce nsCOMArray<nsIFoo>
not part of build
2002-09-27 06:08:49 +00:00
jkeiser%netscape.com f88cebcd5f Make nsHTMLValue store embedded nulls (r=sicking@netscape.com, sr=bzbarsky@mit.edu, sr=jaggernaut@netscape.com 2002-09-26 07:41:53 +00:00
dougt%netscape.com c00b6ca42b Set means Define. When the method Define was removed, we didn't adjust Set to implictly Define. patch by ashishbhatt@netscape.com, r=khanson, r=dougt, b=169563 2002-09-25 21:27:20 +00:00
alecf%netscape.com 1a88abe55c fix bug 124182 - move nsAVLTree into htmlparser, since it is the only consumer
r=harishd, sr=jst
2002-09-12 04:52:01 +00:00