Commit Graph

5735 Commits

Author SHA1 Message Date
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
kmcclusk%netscape.com
3df9afe194 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 2002-10-01 03:04:22 +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
dougt%netscape.com
80be3f4950 Fixes typo. patch by tenthumbs@cybernex.net, r=dougt, b=168584 2002-09-30 21:49:48 +00:00
dougt%netscape.com
0be6ffa33a Fixes assertion logic/build warnings. patch by tenthumbs@cybernex.net, b=171399 2002-09-30 21:49:35 +00:00
dbaron%fas.harvard.edu
29c30c5f3e 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 2002-09-30 14:18:27 +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
dbaron%fas.harvard.edu
26706fbf58 Fix additional typos (and Linux/Mac bustage) from dougt's checkin. b=157133 r=gcc-3.2 2002-09-27 20:35:33 +00:00
dougt%netscape.com
e9c1ddd8c5 missing arg 2002-09-27 20:31:19 +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
dougt%netscape.com
1566417aaf move contentEncodings and applyConversion to a new interface. r=neeti@netscape.com, sr=darin@netscape.com, b=157133 2002-09-27 19:23:21 +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
dougt%netscape.com
4c78893d1b Fixes XPCOM Glue on linux, b=168584, sr=rpotts, r=alec 2002-09-27 13:07:01 +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
mkaply%us.ibm.com
ef1276ce41 Urgent OS/2 fix - port change for 164190 to OS/2 2002-09-25 17:55:39 +00:00
ccarlen%netscape.com
32d8005d63 Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser 2002-09-25 12:23:39 +00:00
ccarlen%netscape.com
7511c8f32f Bug 118203 - nsLocalFile implementation for Mach-0. r=pinkerton, sdagley/sr=sfraser 2002-09-25 12:04:50 +00:00
rpotts%netscape.com
dc675a9675 bug #169583 (r=jst, sr=darin) URILoader should allow nsIContentHandler::DoContent() to fail... 2002-09-24 19:53:43 +00:00
dougt%netscape.com
b2130dcaa4 exports xpcom tools to sdk r=seawood, b=170275 2002-09-24 01:19:05 +00:00
timeless%mac.com
f47184023c Bug 166775 Remove unused _IMPL_NS_APPSHELL defines
patch by walk84@yahoo.com r=bryner
2002-09-24 00:56:20 +00:00
timeless%mac.com
dbd27fdbf7 Bug 165400 _IMPL_NS_PLUGIN unused
patch by walk84@yahoo.com r=biesi sr=bryner
2002-09-24 00:41:35 +00:00
dougt%netscape.com
1fc52e1325 170369 - autoload xpcom components. r=dveditz@netscape.com, sr=rpotts@netscape.com 2002-09-23 21:46:25 +00:00
jdunn%netscape.com
842bc488fc adding support for hpux ia64/11.20, also strip off MOZ_OPTIMIZE_FLAGS
(instead of just -O) for hpux
r=cls@seawood.org
# 136163
2002-09-23 20:31:30 +00:00
dougt%netscape.com
17578be697 Further improvement. r=drepper@redhat.com, sr=brendan@mozilla.org, b=168508 2002-09-23 19:39:26 +00:00
bryner%netscape.com
726d60d0e1 Fix a problem with the prefs file being deleted at shutdown on Windows, introduced by the checkin for bug 164190. Windows' implementation of nsLocalFile::CopyMove was assuming that a null parent directory meant we should always rename - not true. r=hewitt, sr=brendan. 2002-09-21 08:26:02 +00:00
dougt%netscape.com
77888f84c2 More on XPCOM Glue Is broken on linux. r=rpotts@netscape.com, sr=alecf@netscape.com, b=168584 2002-09-20 22:23:24 +00:00
bnesse%netscape.com
3815d34fd1 Fix for bug 164925. Remove unused directory key and support code. r=ccarlen, sr=beard. 2002-09-20 18:47:49 +00:00
kmcclusk%netscape.com
0db2c6960a Change PLEvent notification on WIN32 to use a native timer instead of a posted WM_APP message when documents are not loading. This fixes some DHTML paint starvation issues and lowers overall CPU usage on many pages with DHTML. bug=164931 r=rpotts@netscape.com sr=kin@netscape.com 2002-09-19 02:53:05 +00:00
jaggernaut%netscape.com
7001d81cad Bug 162017: step 2: remove aIgnoreCase from FindChar1. r=peterv, sr=dbaron 2002-09-17 22:49:00 +00:00
jaggernaut%netscape.com
f923232916 Bug 162017: first step to inlining nsStr. r=kaie, sr=alecf 2002-09-17 13:56:34 +00:00
alecf%netscape.com
b15e45e72d re-fix bug 166147 - autoinitialize mRefCnt to 0 for more efficient constructors
r=dougt, sr=jag, this time including some CSS stuff that has 31-bit refcounts.
2002-09-17 04:49:28 +00:00
dougt%netscape.com
2764a9a972 nsCOMPtr.h needs nsISupportsUtils.h. b=169049, r=rpotts, sr=alecf 2002-09-17 02:32:00 +00:00
alecf%netscape.com
7c03517f4d backing out my fix to 166147 to see if it fixes orange 2002-09-16 23:48:12 +00:00
alecf%netscape.com
5af36705e8 fix for bug 166147 - autoinitialize mRefCnt to 0 by using a wrapper class, a la Don Box
also clean up consumers which were using postfix decrement
r=dougt, sr=jag
2002-09-16 20:59:52 +00:00
dougt%netscape.com
fb3a6729a5 fixes a gcc warning about a partially-bracketed initializer. patch by dbaron, r=me, b=168584 2002-09-15 20:59:29 +00:00
dougt%netscape.com
dbdbdb3778 Fixing Unregister method to use the same PR_CALLBACK signature for implementations as were used for function declarations. 2002-09-15 19:55:08 +00:00
seawood%netscape.com
92d5f18935 Use the same PR_CALLBACK signature for funciton implementations as were used for function declarations.
Fixing OS/2 tinderbox bustage.
2002-09-15 02:48:28 +00:00
dougt%netscape.com
91b877ae7e Freeze nsICategoryManager. b=154047 r=alecf@netscape.com, sr=rpotts@netscape.com 2002-09-14 17:14:02 +00:00
dougt%netscape.com
b9e75036ca XPCOM Glue Is broken on linux. b=168584, sr=alecf@netscape.com, r=bryner@netscape.com 2002-09-14 17:12:46 +00:00
law%netscape.com
42869354c5 Backing out timeless's change (plus mine that fixed the build bustage); hopefully will clear orange on Linux builds 2002-09-14 00:18:33 +00:00