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
alecf%netscape.com
49dbdd1151
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
git-svn-id: svn://10.0.0.236/trunk@130604 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 19:29:45 +00:00
ducarroz%netscape.com
a4cc0dbf31
Fix for bug 171121. prevValue could be null therefore we need to use NS_IF_RELEASE instead of
...
NS_RELEASE. R=dougt, SR=sspitzer
git-svn-id: svn://10.0.0.236/trunk@130591 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 17:49:08 +00:00
alecf%netscape.com
e05f12a7a1
continue work-in-progress with freezable array.
...
Also introduce nsCOMArray<nsIFoo>
not part of build
git-svn-id: svn://10.0.0.236/trunk@130571 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 06:08:49 +00:00
jkeiser%netscape.com
c5b034aaae
Make nsHTMLValue store embedded nulls (r=sicking@netscape.com, sr=bzbarsky@mit.edu, sr=jaggernaut@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@130511 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 07:41:53 +00:00
dougt%netscape.com
276c4673a0
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
...
git-svn-id: svn://10.0.0.236/trunk@130441 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 21:27:20 +00:00
alecf%netscape.com
f222dfaf57
fix bug 124182 - move nsAVLTree into htmlparser, since it is the only consumer
...
r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@129311 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 04:52:01 +00:00
alecf%netscape.com
d1488005d5
first cut at freezable array interface
...
not part of build
git-svn-id: svn://10.0.0.236/trunk@129302 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 04:37:51 +00:00
danm%netscape.com
945c4237b2
just because an observer supports weak refs doesn't mean it is one. (found while leak hunting in) bug 166442 r=jag,jst
...
git-svn-id: svn://10.0.0.236/trunk@129219 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 02:35:26 +00:00
roc+%cs.cmu.edu
9391d161f9
Bug 167351. Move z-index topmost bit processing into the z-index sorter; keep view tree in document order. r=kmcclusk,brendan, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@129217 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 02:33:43 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
db8cc9c7ec
Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +00:00
dougt%netscape.com
c65d610a53
Fixes many compiler warnings from xpcom/ds/nsVoidArray.h. r=dougt, sr=darin, patch=colin@theblakes.com, a=asa, b=166427
...
git-svn-id: svn://10.0.0.236/trunk@128915 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-05 21:57:52 +00:00
dougt%netscape.com
93a29119d2
moving nsISupportsPrimitives.idl to SDK section per HowToFreeze doc
...
git-svn-id: svn://10.0.0.236/trunk@128781 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 00:18:10 +00:00
dougt%netscape.com
1ebc6538fb
Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
...
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
timeless%mac.com
420f13af7c
the main bustage was ds requiring io which it can't do, so we'll try to forward declare it instead.
...
cross your fingers.
git-svn-id: svn://10.0.0.236/trunk@128575 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 18:48:57 +00:00
timeless%mac.com
e8da114bbd
tinderbox bustage missing */ caught by kdc on #mozilla
...
git-svn-id: svn://10.0.0.236/trunk@128573 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 18:43:32 +00:00
alecf%netscape.com
f3f9eebb08
marking these interfaces as UNDER_REVIEw now that they are in the API that we think we want, future documentation forthcoming
...
comment-only change, no review
git-svn-id: svn://10.0.0.236/trunk@128569 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 17:35:05 +00:00
alecf%netscape.com
67bdb5ec96
followup comments for bug 164575 that I forgot to add per timeless's request
...
(comments only, documenting an unfrozen interface - no review)
git-svn-id: svn://10.0.0.236/trunk@128568 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 17:33:55 +00:00
alecf%netscape.com
fea695e47d
fix for bug 164575 - clean nsIPersistentProperties interface to reduce UTF8/UCS2 conversions
...
r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@128567 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 17:13:34 +00:00
alecf%netscape.com
e70b8dc152
fix for bug 164633 - add ssprintf for formatting strings into nsAStrings
...
r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@128562 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 15:44:35 +00:00
alecf%netscape.com
11549d59fc
fix for bug 164577 - make the nsManifestLineReader include lengths from ParseLine() so that consumers can avoid calling strlen() on them
...
(tiny startup perf fix for reading in xpti.dat)
r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@128267 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 18:32:12 +00:00
dougt%netscape.com
57028338f0
exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec
...
git-svn-id: svn://10.0.0.236/trunk@128192 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 01:05:21 +00:00