Граф коммитов

7096 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 5e587fc996 nsCOMArray_base copy constructor should not assert. Bug 178534,
r=dougt, sr=alecf
2005-11-02 16:04:46 +00:00
mkaply%us.ibm.com f276fcddc9 #177543
r=me, sr=bz
OS/2 build bustage - add explicit casts
2005-11-02 16:04:45 +00:00
bzbarsky%mit.edu 32a5133307 Add AppendObjects/InsertObjectsAt to nsCOMArray. Bug 175137,
r=timeless, sr=alecf, a=dbaron
2005-11-02 16:04:44 +00:00
bzbarsky%mit.edu c8bb2ab86d Make IndexOf a const method. Bug 174940, r=dougt, sr=alecf 2005-11-02 16:04:43 +00:00
varga%netscape.com 6a1573eb45 Fix for bug 174443. nsCOMArray::ApendObject() shouldn't addref
r=dougt, sr=alecf, a=asa
2005-11-02 16:04:42 +00:00
mkaply%us.ibm.com f449844bf0 OS/2 bustage - need PR_CALLBACK 2005-11-02 16:04:41 +00:00
bbaetz%student.usyd.edu.au cf8fc85bf2 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 12469bd6f6 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 d31dfe65d8 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 e3d65d86d6 - 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 faf8498d08 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 08f5ef2664 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 29453f3e5e 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 36b5b9814c 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 6ad2daa92f Fix mac bustage. 2005-11-02 16:04:32 +00:00
waterson%netscape.com 966f470745 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 86c2ae006c 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 091b65c4da 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 f3f52b9c62 Fix bug in void array's assignment operator. r=scc 2005-11-02 16:04:28 +00:00
jst%netscape.com cb6363f05b 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 dd48e585b2 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 f25ee1b3f7 #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 86fb96bdcc Fix UMRs. 2005-11-02 16:04:24 +00:00
waterson%netscape.com 8e2f748a21 Fix leak I made. r=warren 2005-11-02 16:04:23 +00:00
waterson%netscape.com af21c27074 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 35be53fca8 # 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 c0c0a5208d Fixing runtime assert bustage. r=pinkerton 2005-11-02 16:04:15 +00:00
bsmedberg%covad.net 6239862472 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 8343828bd5 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 4ae32201b6 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 6bb2f4c9a4 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 69fe2cdd47 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 6137b82755 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 3ca2aef100 Enable fastloading of JS components. Bug 279839, r=shaver sr=brendan. 2005-10-20 16:39:24 +00:00
cvshook%sicking.cc 2d781dc39d Bug 312226: Fix minor things i missed in last patch.
r/sr=jag
2005-10-19 00:54:13 +00:00
cvshook%sicking.cc 72781ea8c3 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 f8cddec44f 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 d6f11c8376 Bug 312569 - nsIVersionComparator doesn't always initialize stack structures properly, r=darin 2005-10-17 20:27:22 +00:00
bryner%brianryner.com ae4d72a21a 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 60e78d23f0 Bug 310355 - ARM build fails on xptcinvoke_arm: extra ';' r=dougt 2005-10-13 21:31:33 +00:00
bsmedberg%covad.net 218b9902b2 Bustage fix, bug 312000 2005-10-12 18:20:44 +00:00
bsmedberg%covad.net 0a8fdeb7c1 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 0e2f0990c3 Bug 307041. Fixing bustage on Solaris Studio 10 build. r=dbaron 2005-10-11 15:08:23 +00:00
bsmedberg%covad.net ae707517f0 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 7027689fdd Bustage fix following bug 311346 2005-10-10 09:15:12 +00:00
bsmedberg%covad.net 9b7c63887b Bug 311346 - Add directory service key for "C:\Program Files" r=darin 2005-10-09 19:00:19 +00:00
bsmedberg%covad.net 0c417375e7 Bug 311352 - Mac XUL Framework is XUL.framework, not just XUL r=darin 2005-10-09 18:20:03 +00:00
dbaron%dbaron.org b0c000815d Back out bug 311456, at least for now, because it caused bug 311676. 2005-10-09 09:48:25 +00:00
darin%meer.net d1167d4472 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 57389b2a8e Bug 310590 - Expose scriptable nsIINIParser wrapper for nsINIParser r=darin 2005-10-04 17:19:14 +00:00
bsmedberg%covad.net e59ea0da5c Bug 310976 - Treat 1.5.* as 1.5.infinity r=darin 2005-10-04 02:47:02 +00:00
timeless%mozdev.org d60f1862ce Bug 310487 thread leak
patch by colin@theblakes.com r=timeless sr=darin
2005-09-30 20:46:14 +00:00
bsmedberg%covad.net 754bf6d4e1 Additional orange fix for bug 308838 (API mismatch) 2005-09-30 14:35:24 +00:00
bsmedberg%covad.net 1465d42303 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 f54079d9e6 Fix for bug 307713 (Improve and use nsAgg's macros). r=dougt, sr=darin. 2005-09-28 13:13:27 +00:00
dougt%meer.net efe1d10e6a Bug 307418. Fails to build on arm with gcc4. r/sr=shaver, a=asa 2005-09-28 05:49:51 +00:00
bsmedberg%covad.net f2c2a16ad9 Bug 310105 - NS_InitXPCOM2 in libxul should automatically bring in static components r=darin 2005-09-27 19:25:39 +00:00
bsmedberg%covad.net a57d4a4356 Bug 229589 - nsBaseHashtable documentation obsolete r=dougt 2005-09-26 20:27:36 +00:00
neil%parkwaycc.co.uk 608636276d Mingw bustage fix for bug 299992 r=bsmedberg,darin 2005-09-22 13:22:52 +00:00
darin%meer.net 092a052aa0 fixes bug 246085 "fire category manager notifications on the main thread only" patch by chpe@gnome.org, r=dougt, sr=darin 2005-09-19 17:13:32 +00:00
timeless%mozdev.org a101fcfacf Bug 234624 crashes converting \r\r\n input from Iframe into a hidden form field [@ ConvertBreaks]
patch by tor@acm.org r=dougt
2005-09-16 21:06:21 +00:00
timeless%mozdev.org adcd5cac17 Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
patch by b.jacques@planet.nl r=darin sr=darin
2005-09-15 23:17:17 +00:00
dougt%meer.net baf9436c89 Make XPCOM broadcast any LoadLibrary Load() error failures. b=308716 r=bsmedberg 2005-09-15 19:53:01 +00:00
bsmedberg%covad.net 1d7b0362c3 Bug 307168 - Use the XPCOM (NS_COM) declarations for plevent symbols, instead of the NSPR declarations, since NSPR has different configure tests and compile flags r=darin 2005-09-15 18:29:21 +00:00
bsmedberg%covad.net fb6b0c28d6 Bug 299992 - Always return the XPCOM shared-library path when searching for a GRE, not the directory, r=darin 2005-09-15 17:49:51 +00:00
mrbkap%gmail.com 6c8e0ace50 bug 308418: The windbgdlg pops up even when the debugger is currently active. r=dougt sr=jst 2005-09-14 21:00:37 +00:00
timeless%mozdev.org b642130d40 Bug 308404 Access violation [@ ntdll!RtlDeleteCriticalSection+0x0000000f]
r=darin sr=darin
2005-09-14 18:18:43 +00:00
darin%meer.net 4703e18621 fixes bug 308369 "Stop copying stat cache when cloning nsIFile instances" r=josh sr=dougt 2005-09-13 22:08:52 +00:00
gerv%gerv.net a656eecc05 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-09-13 18:40:56 +00:00
pkw%us.ibm.com e897507d07 Bug 307478 - Build failure with syntax error in nsDebug.h - Fixes AIX build bustage.
Patch by Rupesh Thota <trupesh@in.ibm.com>
r=benjamin@smedbergs.us
2005-09-08 13:59:09 +00:00
bob%bclary.com f6055ed791 Bug 303506 - make xpcom nsDirectoryService assertions more meaningful, r=dougt,sr=shaver 2005-09-04 19:10:10 +00:00
dougt%meer.net 1ebff7a81a WinCE only. ShellExecute is now in the shunt lib, so I can remove a WINCE #define. Also, for process creation WinCE uses NSPR like a good child.... i wonder why the other platforms don't as well. 2005-09-02 18:00:23 +00:00
bsmedberg%covad.net c9978cce45 Fixing dlldeps for windows, bug 299992 2005-09-01 12:50:53 +00:00
bsmedberg%covad.net cd99a16d73 Bug 306615 - Fold PSM into libxul r=darin 2005-09-01 12:43:58 +00:00
bsmedberg%covad.net 008f048933 Bug 299992 (final patch!) - Allow glue-finding code to specify additional features such as toolkit=gtk r=darin 2005-09-01 12:33:47 +00:00
bsmedberg%covad.net 2beca1c9ce Bug 306344 bustage fix: NS_COM_GLUE and NS_HIDDEN_() are not compatible, and we wanted NS_COM_GLUE here (verified by mrbkap) 2005-08-31 18:23:36 +00:00
bsmedberg%covad.net 8e7e3173cf Bug 306334 - XULRunner debug doesn't link on mac r=darin/brendan 2005-08-31 17:20:09 +00:00
bsmedberg%covad.net 9b74ac887d From bug 296561 (see bug 302099) - remove old static-build remnants that are no longer used r=darin 2005-08-29 19:24:20 +00:00
bsmedberg%covad.net c1d0f53f2d Bug 305992 - nsIVersionComparator broken in some circumstances (UMR) - patch by Justin Bradford <jabradford@gmail.com> r=shaver+me 2005-08-26 14:16:11 +00:00
bsmedberg%covad.net 181c95f971 Followup to bug 300731 - parse negative numbers properly - patch by Justin Bradford <jabradford@gmail.com> r=shaver (+me) 2005-08-25 12:14:13 +00:00
smontagu%smontagu.org 5da5830272 Take surrogate pairs into account in UTF8InputStream::CountValidUTF8Bytes. Bug 299111, r=darin, sr=dbaron 2005-08-22 10:50:49 +00:00
mkaply%us.ibm.com db32959cb9 305281 r=dougt, a=mkaply - OS/2 Firefox doesn't start 2005-08-20 03:03:30 +00:00
timeless%mozdev.org 117a4c55ce Bug 304900 - comment about moving methods when interface is frozen is stale or was made into a lie
patch by timwatt@gmail.com r=dougt
2005-08-19 09:38:45 +00:00
timeless%mozdev.org 23bc05d142 Bug 304899 comment about QI to the obsolete manager is stale
patch by timwatt@gmail.com r=dougt
2005-08-19 09:37:43 +00:00
bsmedberg%covad.net 9000da6291 Bug 304874 - Extensions don't work (on trunk) and some profile names don't work - r=dougt 2005-08-18 20:52:43 +00:00
roc+%cs.cmu.edu 56b0974569 Bug 303484. Limit the nesting of modal event loops so we avoid overflowing the C++ stack. r+sr=brendan,a=asa 2005-08-16 20:59:39 +00:00
pinkerton%aol.net bb5f2faf8c fix camino build bustage 2005-08-16 00:37:15 +00:00
bsmedberg%covad.net 7d3f39cb8b Bug 299992 followup - open in binary mode on windows, and honor semicolon as a comment marker also r=shaver 2005-08-15 22:13:56 +00:00
bsmedberg%covad.net b1280c03e0 Bug 299992 (re-landing) - Move pldhash etc. into the xpcom glue, and centralize various instances of nsINIParser in the xpcom glue. Some files were cvscopied from xpcom/ds to xpcom/glue r=brendan/darin 2005-08-15 18:29:55 +00:00
timeless%mozdev.org 108e33a2a9 Bug 304237 Enable xpcom under windows debuggers to filter assertions the way it does without a debugger
to enable this feature,
 set XPCOM_DEBUG_DLG=1, or if you're already in the debugger, just poke the
 static to 2.
r=dougt
2005-08-12 23:11:35 +00:00
bsmedberg%covad.net f61cd24f17 Backout bug 299992 - too much odd platform-specific bustage 2005-08-11 22:19:19 +00:00
bsmedberg%covad.net 4fb9cbf21d Backout bug 299992 - too much odd platform-specific bustage 2005-08-11 22:07:08 +00:00
bsmedberg%covad.net e9e90a981a Bug 299992 - strdup requires <string.h> on windows (why not on mac, hrm?) 2005-08-11 21:17:14 +00:00
bsmedberg%covad.net 05e7df024f Bug 299992 - On windows, nsINIParser methods must be NS_COM_GLUE (bustage fix) 2005-08-11 21:05:13 +00:00
bsmedberg%covad.net cbcb043a5e Bug 299992 - Two additional (forgotten) files - these are moved from xpcom/ds to xpcom/glue 2005-08-11 20:47:03 +00:00
bsmedberg%covad.net b88aaf3d98 Bug 299992, the part before the actual work: move pldhash and the templatized hashtables into the glue (and drop the minor dependencies on NSPR), and centralize our various in-tree nsINIParser classes into the glue (does not affect the ones used for the various installers) r=brendan/darin a=chase/cbeard 2005-08-11 20:40:53 +00:00
bsmedberg%covad.net 1eecf09f3f Bug 212919 - Fix const issues in nsDataHashtable on MSVC7 (I'm surprised other
compilers didn't barf already!) r=swalker sr=scc a=asa
2005-08-11 19:43:21 +00:00
brendan%mozilla.org 327f6d529a Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2005-08-11 19:43:20 +00:00
cbiesinger%web.de d26da78177 addressing the reviewer comments 2005-08-11 19:43:19 +00:00
cbiesinger%web.de fffca884ab bug 228794, r=bsmedberg sr=alecf
add nsInterfaceHashtable::GetWeak
2005-08-11 19:43:18 +00:00