5736 Commits

Author SHA1 Message Date
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
dbaron%fas.harvard.edu
b37e1a7652 Make Linux stack walking code (DEBUG only) print library and offset information even when symbol is unavailable. b=174168 r=bbaetz sr=bzbarsky a=rjesup
git-svn-id: svn://10.0.0.236/trunk@131999 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 23:59:31 +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
dougt%netscape.com
820b2ca5fe Not part of build
git-svn-id: svn://10.0.0.236/trunk@131967 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 17:41:00 +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
ccarlen%netscape.com
39dc76fe3c Bug 172018 - Use CFURLs with Mach-0 and Carbon file picker. r=sdagley/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@131569 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 03:58:40 +00:00
mkaply%us.ibm.com
d85a459543 #172243
r=mkaply, sr=blizzard
OS/2 only - subtract 1980 from date before using it


git-svn-id: svn://10.0.0.236/trunk@131543 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 02:37:48 +00:00
jkeiser%netscape.com
eeef82662c Backing out bug 107291 due to OS/2 having a crappy compiler.
git-svn-id: svn://10.0.0.236/trunk@131418 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 09:30:40 +00:00
jkeiser%netscape.com
f2519f9d84 Make forward declarations work with nsCOMPtr (bug 107291), r=sicking@bigfoot.com, sr=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@131406 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 06:19:10 +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
shanjian%netscape.com
781107ce65 #134053 utf8 conversion problem in nsString.h
Change conversion to handle surrogates
r=yokoyama, sr=scc


git-svn-id: svn://10.0.0.236/trunk@131361 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 02:10:52 +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
alecf%netscape.com
1c1304e5e9 try to fix orange - didn't mean to #if 0 this out
git-svn-id: svn://10.0.0.236/trunk@131341 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 00:12:37 +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
6d9b9e292e oops, one more part of bug 162115, r=dougt, sr=darin - make sure the new functions are exported by putting them in dlldeps.cpp
git-svn-id: svn://10.0.0.236/trunk@131316 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 19:11:18 +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
97983cd046 nsDirectoryServiceDefs.h needs to be frozen 168572, r=ccarlen@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@131311 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 18:52:34 +00:00
dougt%netscape.com
a485c6b639 Provides support for a conditional interface map entry 172833, r=bzbarsky@mit.edu, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@131310 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 18:52:27 +00:00
mkaply%us.ibm.com
c57f6ea8b9 OS/2 orange part two
git-svn-id: svn://10.0.0.236/trunk@131286 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 03:49:32 +00:00
mkaply%us.ibm.com
08fbb986c7 OS/2 orange
git-svn-id: svn://10.0.0.236/trunk@131285 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 03:47:50 +00:00
mkaply%us.ibm.com
b9d6c2e51f A couple nits and then we should be good
git-svn-id: svn://10.0.0.236/trunk@131262 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 03:42:55 +00:00
darin%netscape.com
d76cc96df5 another attempt at fixing the OS2 bustage
git-svn-id: svn://10.0.0.236/trunk@131260 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 03:18:11 +00:00
darin%netscape.com
49f2b781d8 fixing OS2 bustage -- my bad for forgetting to follow mkaply's advice!
git-svn-id: svn://10.0.0.236/trunk@131258 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 02:38:43 +00:00
darin%netscape.com
d0afbbaf0e fixes bug 166612 "implement NS_CopyNativeToUnicode / NS_CopyUnicodeToNative
on all platforms" r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@131251 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 00:29:46 +00:00
dougt%netscape.com
790c5bbc87 Removing silly comment.
git-svn-id: svn://10.0.0.236/trunk@131250 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-06 00:26:20 +00:00
timeless%mac.com
ab64df1e66 Bug 172416 Consistency for nsComponentManager.cpp
r=dbradley, sr=scc


git-svn-id: svn://10.0.0.236/trunk@131249 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 23:59:57 +00:00
arougthopher%lizardland.net
cf8138c948 Bug#169506
IsExecutable() deos not work for BeOS

BeOS now uses stat() instead of access() for:
IsWritable()
IsReadable()
IsExecutable()

sr=scc
r-dougt,arougthopher


git-svn-id: svn://10.0.0.236/trunk@131245 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 19:06:28 +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
c1cfcf9d80 backing out nsGenericFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@131200 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 23:23:51 +00:00
dougt%netscape.com
a9ad6ad2b2 Mac files.
git-svn-id: svn://10.0.0.236/trunk@131199 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 23:16:07 +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
caillon%returnzero.com
6476611c63 Bug 170895. Reducing footprint. Use XPCOM aggregation to get at CSS2Properties.
r=dbaron sr=alecf


git-svn-id: svn://10.0.0.236/trunk@131084 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 19:41:42 +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
kmcclusk%netscape.com
3db5f70791 improve user interactivity during long page loads by doing better detection of user-input and interrupting the parser more frequently. Also moved the WIN32 specific logic for determining when the user is moving a top-level window from plevent.c to the widget module. b=165039 r=rods@netscape.com sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130871 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 03:04:22 +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
dougt%netscape.com
0688b00425 Fixes typo. patch by tenthumbs@cybernex.net, r=dougt, b=168584
git-svn-id: svn://10.0.0.236/trunk@130817 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 21:49:48 +00:00