5826 Commits

Author SHA1 Message Date
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
dougt%netscape.com
1c807dfa8d Fixes assertion logic/build warnings. patch by tenthumbs@cybernex.net, b=171399
git-svn-id: svn://10.0.0.236/trunk@130816 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 21:49:35 +00:00
dbaron%fas.harvard.edu
0aaa1704e7 Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf
git-svn-id: svn://10.0.0.236/trunk@130797 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 14:18:27 +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
dbaron%fas.harvard.edu
c2ce7ae3e6 Fix additional typos (and Linux/Mac bustage) from dougt's checkin. b=157133 r=gcc-3.2
git-svn-id: svn://10.0.0.236/trunk@130611 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 20:35:33 +00:00
dougt%netscape.com
66dff08b80 missing arg
git-svn-id: svn://10.0.0.236/trunk@130610 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 20:31:19 +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
dougt%netscape.com
84eba1874e move contentEncodings and applyConversion to a new interface. r=neeti@netscape.com, sr=darin@netscape.com, b=157133
git-svn-id: svn://10.0.0.236/trunk@130602 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 19:23:21 +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