dbaron%fas.harvard.edu
ffb8d9cca7
Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
...
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 23:53:20 +00:00
seawood%netscape.com
f8f86e7f05
Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
...
Bug #186241 r=dougt
git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
bzbarsky%mit.edu
b5fe6e003d
Fix crash in ~nsCOMArrayEnumerator. Bug 181592, r=alecf, sr=scc
...
git-svn-id: svn://10.0.0.236/trunk@134462 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 18:57:56 +00:00
brendan%mozilla.org
d6a719baa7
Relax comments restricting Operate calls from enumerator to allow lookups (no bug, comment change only).
...
git-svn-id: svn://10.0.0.236/trunk@134429 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 00:32:07 +00:00
timeless%mozdev.org
e9c5d539b4
Bug 174603 Remove nsIEnumerator implementations: ConjoiningEnumerator, UnionEnumerator and IntersectionEnumerator
...
r=bbaetz sr=bz moa=alecf
git-svn-id: svn://10.0.0.236/trunk@134186 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 10:27:44 +00:00
alecf%netscape.com
a1422857af
fix warning - extra comma after enumerator
...
no reviewers, its a one-character change, pointed out by blizzard
git-svn-id: svn://10.0.0.236/trunk@133955 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 05:10:27 +00:00
alecf%netscape.com
843a3d32f2
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
git-svn-id: svn://10.0.0.236/trunk@133938 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 02:33:49 +00:00
alecf%netscape.com
e38457c675
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!)
git-svn-id: svn://10.0.0.236/trunk@133832 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 18:16:31 +00:00
alecf%netscape.com
c952308730
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
git-svn-id: svn://10.0.0.236/trunk@133783 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 22:58:56 +00:00
alecf%netscape.com
71b2ee7677
fix for bug 173291 - use nsISimpleEnumerator for nsHashtableEnumerator, rather than nsIEnumerator
...
r=dougt, sr=jag
git-svn-id: svn://10.0.0.236/trunk@133780 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 22:40:10 +00:00
brendan%mozilla.org
1a91c38fee
Make enumeration const unless PL_DHASH_REMOVE is returned by the etor callback; improve several comments (174859, r=waterson, sr=beard).
...
git-svn-id: svn://10.0.0.236/trunk@133733 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 04:35:37 +00:00
alecf%netscape.com
1c16ef7f73
argh, back out my last checkin because Ts went UP not down!
...
git-svn-id: svn://10.0.0.236/trunk@133447 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 01:31:32 +00:00
jkeiser%netscape.com
4f05bade61
Fix copyright date. Bug 133354.
...
git-svn-id: svn://10.0.0.236/trunk@133443 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 01:03:36 +00:00
alecf%netscape.com
aac40e7aa5
fix for bug 177401 - use nsAString& classes instead of wstring in nsIBinaryInputStream, to speed up fastload startup
...
sr=darin, r=dougt
git-svn-id: svn://10.0.0.236/trunk@133429 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-08 23:30:53 +00:00
bzbarsky%mit.edu
9d0e916e54
Make the nsCOMArray destructor release all the objects. Bug 178813,
...
r=bbaetz, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@133295 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 13:34:18 +00:00
mkaply%us.ibm.com
51791385f5
#177543
...
r=me, sr=bz
OS/2 build bustage - add explicit casts
git-svn-id: svn://10.0.0.236/trunk@133258 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 04:48:56 +00:00
timeless%mozdev.org
1a0485e477
Bug 174004 nsTextFormatter.cpp comment stolen from prprf.c should be removed
...
comment only change
git-svn-id: svn://10.0.0.236/trunk@133155 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 14:57:41 +00:00
bzbarsky%mit.edu
6f34f01f3d
nsCOMArray_base copy constructor should not assert. Bug 178534,
...
r=dougt, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@133068 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 02:00:50 +00:00
bzbarsky%mit.edu
31e4da2ff8
Add AppendObjects/InsertObjectsAt to nsCOMArray. Bug 175137,
...
r=timeless, sr=alecf, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@132489 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 01:40:50 +00:00
bzbarsky%mit.edu
36a419cd5a
need to NS_INIT_ISUPPORTS to prevent thresafety assertions. bug 175437,
...
r=timeless, sr=alecf, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@132422 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 01:03:00 +00:00
bzbarsky%mit.edu
f8ed360af8
Make IndexOf a const method. Bug 174940, r=dougt, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@132161 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 19:26:27 +00:00
seawood%netscape.com
f9eb727003
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
git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
varga%netscape.com
f1626347cb
Fix for bug 174443. nsCOMArray::ApendObject() shouldn't addref
...
r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@132048 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 23:59:20 +00:00
bbaetz%student.usyd.edu.au
5a1dcdcdd7
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
git-svn-id: svn://10.0.0.236/trunk@132012 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 05:19:30 +00:00
timeless%mac.com
74a540e41b
Bugzilla Bug 174447 fix typos in nsStaticNameTable.h
...
git-svn-id: svn://10.0.0.236/trunk@131987 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 22:39:44 +00:00
brendan%mozilla.org
3e1fb18591
Comment improvements motivated by bug 173797, no code changes.
...
git-svn-id: svn://10.0.0.236/trunk@131921 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-13 19:08:07 +00:00
timeless%mac.com
af49ae32a5
Bug 172131 FMM, Comments which suggest the wrong (De)Allocator, and Style
...
r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@131402 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 06:12:00 +00:00
seawood%netscape.com
fbf12b7d65
Callback functions must be declared as such.
...
Fixing OS/2 tinderbox bustage.
git-svn-id: svn://10.0.0.236/trunk@131347 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 01:04:09 +00:00
mkaply%us.ibm.com
d816a450a4
OS/2 bustage - need PR_CALLBACK
...
git-svn-id: svn://10.0.0.236/trunk@131333 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 21:32:37 +00:00
alecf%netscape.com
36dda6d759
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
git-svn-id: svn://10.0.0.236/trunk@131314 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 19:03:41 +00:00
dougt%netscape.com
d1461573d3
Not part of build
...
git-svn-id: svn://10.0.0.236/trunk@131312 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 18:53:51 +00:00
dougt%netscape.com
0aa63891b6
Backing out nsStringService.
...
git-svn-id: svn://10.0.0.236/trunk@131201 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 23:49:23 +00:00
dougt%netscape.com
d37b30fdd2
manifest
...
git-svn-id: svn://10.0.0.236/trunk@131197 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 23:12:36 +00:00
dougt%netscape.com
7ce2b71583
adding UNDER_REVIEW
...
git-svn-id: svn://10.0.0.236/trunk@131187 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 22:29:27 +00:00
dougt%netscape.com
686f5cf33f
First cut of the nsIStringService. 172512. r=jag, sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@131183 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 22:25:41 +00:00
alecf%netscape.com
ea987fd0a6
argh, I'm stupid, s/class/interface/
...
not part of build
git-svn-id: svn://10.0.0.236/trunk@131122 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 00:48:16 +00:00
alecf%netscape.com
25b7ac53d0
pre-declare nsISimpleEnumerator instead of #including the header, per darin's request
...
not part of build, for bug 162115
git-svn-id: svn://10.0.0.236/trunk@131121 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 00:47:14 +00:00
alecf%netscape.com
270dd28b76
add do_QueryElementAt, and make NS_NewArray() give you an nsIMutableArray instead of nsIArray
...
not part of build, for bug 162115
git-svn-id: svn://10.0.0.236/trunk@131093 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 20:20:13 +00:00
jkeiser%netscape.com
b742025df3
Add CheapSet, reduce select bloat, make blank options restore correctly (bug 166168), r=rjesup@wgate.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@131052 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 03:43:11 +00:00
alecf%netscape.com
ade6404249
more work for bug 162115 - add support for weak references in nsIArray
...
not part of build
git-svn-id: svn://10.0.0.236/trunk@131024 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-02 21:00:42 +00:00
alecf%netscape.com
8c7efaf56b
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
git-svn-id: svn://10.0.0.236/trunk@131008 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-02 18:54:12 +00:00
alecf%netscape.com
79fdf3ea10
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
git-svn-id: svn://10.0.0.236/trunk@130894 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 18:29:30 +00:00
alecf%netscape.com
7a97110e41
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
git-svn-id: svn://10.0.0.236/trunk@130891 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 17:34:25 +00:00
alecf%netscape.com
82affdbd0d
- 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
git-svn-id: svn://10.0.0.236/trunk@130857 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 00:37:41 +00:00
alecf%netscape.com
3585a739fd
add lots of docs for bug 162115, not part of build
...
git-svn-id: svn://10.0.0.236/trunk@130854 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 00:26:00 +00:00
alecf%netscape.com
fdfa35a2b7
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
git-svn-id: svn://10.0.0.236/trunk@130839 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 23:02:31 +00:00
alecf%netscape.com
2c0c64385c
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
git-svn-id: svn://10.0.0.236/trunk@130822 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 22:01:46 +00:00
kyle.yuan%sun.com
d743efbefd
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
git-svn-id: svn://10.0.0.236/trunk@130701 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-29 01:42:07 +00:00
alecf%netscape.com
fa22adbb77
move contactID out of nsArray.h - not part of build
...
git-svn-id: svn://10.0.0.236/trunk@130607 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 19:52:47 +00:00
alecf%netscape.com
90f47cfb27
add documentation and comments, mark interface UNDER_REVIEW
...
(also not part of build)
git-svn-id: svn://10.0.0.236/trunk@130605 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 19:33:01 +00:00