mkaply%us.ibm.com
a5c8ba5fad
OS/2 bustage - need PR_CALLBACK
2005-11-02 16:04:41 +00:00
bbaetz%student.usyd.edu.au
2057652c4c
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
2005-11-02 16:04:40 +00:00
alecf%netscape.com
822c509c09
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
2005-11-02 16:04:39 +00:00
alecf%netscape.com
4bd47b507e
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
2005-11-02 16:04:38 +00:00
alecf%netscape.com
21d0af0504
- 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
2005-11-02 16:04:37 +00:00
alecf%netscape.com
03048eca48
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
2005-11-02 16:04:36 +00:00
alecf%netscape.com
7e5a4b47eb
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
2005-11-02 16:04:35 +00:00
alecf%netscape.com
6f3992e110
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
2005-11-02 16:04:34 +00:00
waterson%netscape.com
c7d124ba58
Bug 94267. Clean up nsVoidArray::GrowArrayBy(), fixing a couple of crashers. r=rjesup, sr=brendan
2005-11-02 16:04:33 +00:00
waterson%netscape.com
e0c58f4510
Fix mac bustage.
2005-11-02 16:04:32 +00:00
waterson%netscape.com
6563ff5f12
Bug 90545. nsVoidArray and nsSupportsArray cleanup. Patch submitted by rjesup@wgate.com, r=jst, sr=waterson.
2005-11-02 16:04:31 +00:00
rbs%maths.uq.edu.au
30304c99a7
Add methods for in-place sorting of nsVoidArray and ns[C]StringArray using caller-provided comparator callback functions. b=88344 r=dbaron sr=scc
2005-11-02 16:04:30 +00:00
kandrot%netscape.com
29dbb2527c
r=kandrot@netscape.com, sr=waterson@netscape.com, a=asa@mozilla.org
...
removes a memset that sets zero bytes (so it did nothing)
2005-11-02 16:04:29 +00:00
hyatt%netscape.com
364a6e9b71
Fix bug in void array's assignment operator. r=scc
2005-11-02 16:04:28 +00:00
jst%netscape.com
fee902dd43
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
2005-11-02 16:04:27 +00:00
alecf%netscape.com
de820decc7
continue work-in-progress with freezable array.
...
Also introduce nsCOMArray<nsIFoo>
not part of build
2005-11-02 16:04:26 +00:00
mkaply%us.ibm.com
e95ad0f35e
#43877
...
r=dougt, a=dougt
Using this pointer rather than other pointer causes crash
2005-11-02 16:04:25 +00:00
waterson%netscape.com
6610ace60f
Fix UMRs.
2005-11-02 16:04:24 +00:00
waterson%netscape.com
4912139130
Fix leak I made. r=warren
2005-11-02 16:04:23 +00:00
waterson%netscape.com
f2637c5ff7
Grow by power of two after reaching 16 elements; factor 'implementation' into a separate struct so the nsVoidArray object is one word when empty.
2005-11-02 16:04:22 +00:00
mkaply%us.ibm.com
4e84e28397
# 34082
...
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2005-11-02 16:04:21 +00:00
scc%netscape.com
ba15cfd0a7
Fixing runtime assert bustage. r=pinkerton
2005-11-02 16:04:15 +00:00
bsmedberg%covad.net
5a3dee9942
Bug 307168 - Add configure test for GCC bug that prevent the pragma-visibility stuff from working properly on some configurations, and also clean up usages of HAVE_VISIBILITY_PRAGMA which should really be HAVE_VISIBILITY_ATTRIBUTE r=roc+wolfiR, previous revisions reviewed by bryner
2005-11-02 14:14:18 +00:00
bzbarsky%mit.edu
2d00bdfe52
Make timers a little safer to use from JS. Bug 304669, patch by Giorgio Maone
...
<g.maone@informaction.com>, r=dougt, sr=dbaron
2005-11-02 00:46:37 +00:00
bsmedberg%covad.net
c51d05ec1d
Bug 314015 - nsComponentManagerUtils.h uses the wrong linking macros, SDK 1.8 is broken, r=darin
2005-10-27 19:01:51 +00:00
wtchang%redhat.com
40145d9911
Bugzilla Bug 302212: allow Mac OS X x86 builds to target SDKs. The patch
...
was written by Mark Mentovai <mark@moxienet.com>. r=joshmoz. sr=bryner.
Modified Files:
configure.in config/autoconf.mk.in config/config.mk
extensions/java/xpcom/tools/xpidl/Makefile.in
security/manager/Makefile.in xpcom/typelib/xpidl/Makefile.in
2005-10-26 19:01:18 +00:00
bryner%brianryner.com
5c7b9a7466
Keep an interface pointer to the nsISeekableStream in nsFastLoadFileReader/Writer/Updater to avoid repeated QI (bug 313575). r+sr=brendan.
2005-10-24 18:02:00 +00:00
joshmoz%gmail.com
3404199340
fix stack alignment for Intel Mac builds. took dbaron's suggestion for adding ""addl $0x4, %%esp\n\t" \" from comment #11 , it seems to work fine. b=312929 r=dougt sr=dbaron
2005-10-22 01:00:46 +00:00
bryner%brianryner.com
b4a806dc9d
Enable fastloading of JS components. Bug 279839, r=shaver sr=brendan.
2005-10-20 16:39:24 +00:00
cvshook%sicking.cc
d9f7354f6b
Bug 312226: Fix minor things i missed in last patch.
...
r/sr=jag
2005-10-19 00:54:13 +00:00
cvshook%sicking.cc
75d7bc1a39
Bug 312226: Get rid of virtuality in nsVoidArray and optimize nsSmallVoidArray.
...
r=rjesup sr=jst
2005-10-18 23:45:14 +00:00
roc+%cs.cmu.edu
f7daaee487
Backing out fix for bug 303484 since it exposed some other issues and doesn't fix any known crashers.
2005-10-18 01:41:11 +00:00
bsmedberg%covad.net
3ad6307655
Bug 312569 - nsIVersionComparator doesn't always initialize stack structures properly, r=darin
2005-10-17 20:27:22 +00:00
bryner%brianryner.com
ddd7501923
Don't use memcpy for single-character Replace/Assign since it performs worse than simple assignment. Bug 312681, r+sr=darin.
2005-10-17 16:28:21 +00:00
bsmedberg%covad.net
90820dd572
Bug 310355 - ARM build fails on xptcinvoke_arm: extra ';' r=dougt
2005-10-13 21:31:33 +00:00
bsmedberg%covad.net
f9df27e754
Bustage fix, bug 312000
2005-10-12 18:20:44 +00:00
bsmedberg%covad.net
25a4129003
Bug 312000 - XPCOM impl of nsICategoryManager doesn't obey the IDL comments, r=darin
2005-10-12 18:01:03 +00:00
dougt%meer.net
7ecb9f30b4
Bug 307041. Fixing bustage on Solaris Studio 10 build. r=dbaron
2005-10-11 15:08:23 +00:00
bsmedberg%covad.net
40f2e5eb71
Bug 311253 - XPCOM glue dynamic linking on BSD platforms - patch by Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> r=me
2005-10-10 21:59:39 +00:00
smontagu%smontagu.org
ac5190e61a
Bustage fix following bug 311346
2005-10-10 09:15:12 +00:00
bsmedberg%covad.net
4989d9b958
Bug 311346 - Add directory service key for "C:\Program Files" r=darin
2005-10-09 19:00:19 +00:00
bsmedberg%covad.net
ac1ec75d5d
Bug 311352 - Mac XUL Framework is XUL.framework, not just XUL r=darin
2005-10-09 18:20:03 +00:00
dbaron%dbaron.org
abc0ac68ae
Back out bug 311456, at least for now, because it caused bug 311676.
2005-10-09 09:48:25 +00:00
darin%meer.net
8dbb1899d0
fixes bug 311456 "Calling Truncate() on an nsAutoString makes next append work hard" r+sr=bzbarsky
2005-10-07 21:52:18 +00:00
bsmedberg%covad.net
14640d7793
Bug 310590 - Expose scriptable nsIINIParser wrapper for nsINIParser r=darin
2005-10-04 17:19:14 +00:00
bsmedberg%covad.net
e54a5866ab
Bug 310976 - Treat 1.5.* as 1.5.infinity r=darin
2005-10-04 02:47:02 +00:00
timeless%mozdev.org
a360ba5dbe
Bug 310487 thread leak
...
patch by colin@theblakes.com r=timeless sr=darin
2005-09-30 20:46:14 +00:00
bsmedberg%covad.net
307ef08c19
Additional orange fix for bug 308838 (API mismatch)
2005-09-30 14:35:24 +00:00
bsmedberg%covad.net
7e4fb43a5d
Bug 308838 - Seamonkey win32 installer builds fail to launch after installation (GRE badness) r=darin
2005-09-29 20:01:42 +00:00
peterv%propagandism.org
8702e6b0aa
Fix for bug 307713 (Improve and use nsAgg's macros). r=dougt, sr=darin.
2005-09-28 13:13:27 +00:00