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

7478 Коммитов

Автор SHA1 Сообщение Дата
benjamin%smedbergs.us ee73e9d22f EXTRA_DSO_LIBS isn't included in EXTRA_DSO_LDOPTS automatically. 2006-03-27 21:27:05 +00:00
benjamin%smedbergs.us e3eedd2e1f mozreg requires linking against TK_LIBS 2006-03-27 21:02:33 +00:00
benjamin%smedbergs.us 83ba3e5a9e xpcomobsolete component needs to link with mozreg also, build bustage from bug 214889 2006-03-27 20:48:41 +00:00
benjamin%smedbergs.us a5342e1803 Bug 214889 - add mozreg_s to the static link list and don't link it into xpcom obsolete when in a static build, r=cls 2006-03-27 20:16:50 +00:00
scott%scott-macgregor.org fea64b932e Bug #331433 --> try to fix thunderbird build bustage until the build machine
can be properly upgraded..

patch by Masatoshi Kumra.
2006-03-27 16:12:05 +00:00
jshin%mailaps.org 75a71d5d88 bug 331453 : downloading a binary file results in a corrupted (truncated) file : r/sr=darin 2006-03-26 15:34:40 +00:00
jshin%mailaps.org 548123895a bug 162361 : fix a 'typo' in the previous check-in. The line in question should have been left alone, but it's changed in the previous check-in by mistake. r/sr=darin 2006-03-24 07:30:22 +00:00
dbaron%dbaron.org 172a860286 Workaround brokenness of __builtin_frame_address(0) on gcc 4.1 (as shipped with FC5, at least). b=331436 r=brendan 2006-03-23 23:21:27 +00:00
pedemont%us.ibm.com bad43cf355 Bug 330701 - NS_NewPipe with default segment size ignores max size. r=darin 2006-03-22 20:42:55 +00:00
jshin%mailaps.org 0f4a52954a bug 162361 : Unicode file i/o in XPCOM/IO (cannot open files whose names contain characters outside the current locale: e.g. Japanese/Chinese on French Windows) : r/sr=darin, r=bsmedberg 2006-03-22 04:26:30 +00:00
benjamin%smedbergs.us 4ab3ceb1e4 Bug 331012 - topcrash on exit [@timerthread::updatefilter] - r=darin 2006-03-21 14:46:35 +00:00
benjamin%smedbergs.us 5f483e27f3 Bug 326491 - leaked observer service leaks things on shutdown - r=darin 2006-03-21 14:43:56 +00:00
dougt%meer.net e4b1b62115 Cleaning up PR_GetEnv() usage. b=306840. r=timeless, patch by serge gautherie 2006-03-19 02:52:30 +00:00
darin%meer.net aed45f7b66 fixes bug 327719 "Passing a big double serialize a rounded double" patch by afatecha@idea.com.py r=dbaron sr=darin 2006-03-15 14:23:11 +00:00
bryner%brianryner.com 41e6c02b2f Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin. 2006-03-15 04:59:42 +00:00
mkaply%us.ibm.com 97fc90bb52 #301064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-03-14 22:34:20 +00:00
mkaply%us.ibm.com 3b93c4e8f4 #301064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-03-14 21:57:09 +00:00
darin%meer.net 38d64d9d99 fix comment typo 2006-03-10 21:38:02 +00:00
mkaply%us.ibm.com 67979a59c8 #3011064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-03-10 16:01:26 +00:00
darin%meer.net fc4b03d8cb fixes bug 326168 "Add a UTF-16 API to load a library" patch by jshin1987@gmail.com r=wtc,darin 2006-03-10 05:30:57 +00:00
timeless%mozdev.org c776271958 Bug 329728 Coverity doesn't like main in xpt_link because it pretends header could be null
r=mrbkap sr=bz
2006-03-10 00:01:45 +00:00
darin%meer.net 74dd53a91f backing out bsmedberg's patch for bug 326491 to fix bug 329505. 2006-03-09 03:14:32 +00:00
mkaply%us.ibm.com 2248c57ea5 #3011064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-03-08 19:56:32 +00:00
mkaply%us.ibm.com 481124e49d #3011064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-03-08 19:29:25 +00:00
darin%meer.net 69abca26db fixes bug 328920, r=mark.mentovai 2006-03-08 05:47:22 +00:00
darin%meer.net e1fd3e6f47 fixes bug 329450 "EnumerateCategory enumerates deleted entries" patch by chpe@gnome.org, r+sr=darin 2006-03-07 20:48:44 +00:00
mark%moxienet.com fe9b9274fd 326668 Add NS_NewLocalFileWithFSRef function to create nsLocalFiles from FSRefs on Mac prior to xpcom startup. r=josh sr=dougt 2006-03-07 01:26:13 +00:00
timeless%mozdev.org 59922a25dd Bug 327997 warning C4005: 'EXTERN_C' : macro redefinition nscore.h and winnt.h
r=darin sr=darin
2006-03-06 01:49:10 +00:00
benjamin%smedbergs.us 05825942c6 Bug 326491 - cleanup observers on shutdown even if the observer service is leaked, r=darin 2006-03-04 14:04:05 +00:00
darin%meer.net 641d8abf88 relanding ftp patch for bug 312760 "implement ftp using nsBaseChannel" r=biesi sr=bzbarsky 2006-03-03 16:27:35 +00:00
benjamin%smedbergs.us aa41d3e7e1 Bug 326491 (part 0) - move timer shutdown up to somewhere reasonable, r=darin 2006-03-03 13:48:25 +00:00
mnyromyr%tprac.de a66247d9c0 Bug 328900: Crash in StuffFixedBuffer; r=bsmedberg, sr=darin 2006-03-02 20:30:58 +00:00
benjamin%smedbergs.us 54a2f1f6b7 Bug 329004 - Local (in-app-bundle) XULRunner framework finding broken, r=darin 2006-03-02 15:23:17 +00:00
darin%meer.net 6942519245 backing out my latest patch for bug 312760 to clear Tp regression. 2006-03-01 18:30:51 +00:00
darin%meer.net 0ac7cb7cb3 landing FTP patch for bug 312760 "Provide base channel for use by protocol implementations" r=biesi sr=bzbarsky 2006-03-01 04:48:43 +00:00
cvshook%sicking.cc e686e7b714 Bug 324918: Make nsHTMLSelectElement deal better with options in unknown children. r=bz sr=jst 2006-03-01 01:10:20 +00:00
bryner%brianryner.com e4a4946189 Backing out patch for bug 328755 due to crash regression bug 328842. r=darin. 2006-03-01 00:38:15 +00:00
darin%meer.net 23f482eaca fixes bug 305987 "NS_WARN_IF_FALSE asserts" r=bsmedberg 2006-02-28 22:19:55 +00:00
benjamin%smedbergs.us 046c022027 Bug 328855 - Support x86-64 in nsStackFrameUnix, r=dbaron 2006-02-28 18:28:54 +00:00
bryner%brianryner.com 19a0c4915e Don't allocate a buffer when assigning a zero-length string, just call Truncate() instead (bug 328755). r=darin. 2006-02-27 19:44:48 +00:00
benjamin%smedbergs.us 3153d6c09f Typo from bug 325229, caught by dbaron. 2006-02-24 16:11:33 +00:00
dougt%meer.net 78c622a9a2 Updating configure.in to build the vs8 shunt project and wrapper tools. Also making Windows CE use the static version of libIDL. Windows CE only 2006-02-23 20:52:49 +00:00
benjamin%smedbergs.us 2cec3b98ff Backout bug 313309 part 3 again due to gcc2.9x bustage and an ICE on MSVC6 2006-02-23 19:57:50 +00:00
benjamin%smedbergs.us a33f6180dd Bug 313309 part 3 - relanding now that all the mac tinderboxen have been upgraded to xcode 1.5+ - use a weak static data symbol for NS_GET_IID instead of an inline function. Have to use templates to trick compilers into emitting a weak symbol. r=shaver 2006-02-23 18:31:02 +00:00
masayuki%d-toybox.com cbae11fb11 Bug 179056 "Check for new message every" stops after hibernate. patch by Masatoshi Kimura (emk) <VYV03354@nifty.ne.jp> r=emaijala+sfraser, sr=roc 2006-02-23 17:02:45 +00:00
timeless%mozdev.org a279d689e5 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
cbiesinger%web.de aad4b05e77 Bug 315598 Allow more than one global redirect observer, using the
"net-channel-event-sinks" category.
r=darin sr=bz
2006-02-22 14:07:21 +00:00
mark%moxienet.com 533113779a 326838 [BeOS] build broken after 313398. Reduce number of asm operands to conform to gcc 2.95's limit of 10. r=josh sr=shaver 2006-02-22 04:05:19 +00:00
darin%meer.net 2e3869b960 fixes bug 326603 "Enable use of tracerefcnt with derived classes" r=bsmedberg sr=dbaron 2006-02-21 22:49:00 +00:00
mark%moxienet.com dbd781b833 322578 Support ppc<->x86 cross builds for Mac OS X. Core cross-compile support. r=bsmedberg r=cls sr=bryner 2006-02-21 00:21:55 +00:00
cls%seawood.org 5a1e15ec25 Fix mingw cross-compile bustage.
Original patch by <basic@mozdev.org>.
Bug #320646 r=cls
2006-02-19 07:43:19 +00:00
mark%moxienet.com 47c7d9c91f 323657 Fixing XULRunner bustage by moving nsMacUtils class to nsMacUtilsImpl. r=dbaron sr=dbaron 2006-02-18 21:09:59 +00:00
cvshook%sicking.cc c2d3c62680 Bug 327256: Give nsCOMArray ability to preallocate storage space. r/sr=darin 2006-02-18 05:54:47 +00:00
mark%moxienet.com 7e1cc67c95 323657 Add a new MacUtils XPCOM service with an isUniversalBinary utility attribute to determine whether or not the running application is universal. r=bsmedberg sr=darin 2006-02-17 16:19:53 +00:00
dbaron%dbaron.org a77c4856a6 Make refcount logging usable from C. b=317481 r=bsmedberg 2006-02-15 20:23:08 +00:00
cbiesinger%web.de 6d32a16536 bug 316416 patch by neil@parkwaycc.co.uk r=bryner
make activity legal even if a load fails
2006-02-14 14:45:32 +00:00
benjamin%smedbergs.us 89d8c03ab9 Followup to bug 325229 - don't stick bell in stderr on platforms that have a dbgdlg 2006-02-13 20:21:20 +00:00
benjamin%smedbergs.us ede2b658a9 Bug 326981 - build broken on BeOS from bug 325229, patch by Doug Shelton <doug@sheltonfamily.org> r=me 2006-02-13 16:19:31 +00:00
benjamin%smedbergs.us 10ed2f1d36 Bug 325229 part 2 - Stub out the old exitroutine functions which are fatally flawed, r=darin 2006-02-13 16:08:55 +00:00
pavlov%pavlov.net 00302f08b2 fixing build bustage 2006-02-10 20:26:28 +00:00
mark%moxienet.com fc91aec358 326710 Non-win32 debug builds broken since bug 325229. r=bsmedberg 2006-02-10 20:23:22 +00:00
masayuki%d-toybox.com ca9808b120 Bug 180849 Mail loss in import of NC4 mail when 0x5C(\) is used as 2nd byte of muti-byte character in folder name. r=jshin, sr=dougt 2006-02-10 19:56:48 +00:00
benjamin%smedbergs.us f6933590f5 Bug 78081 - don't export intermediate libraries - initial makefile changes to switch from $(DIST)/lib to in-tree library locations - blanket-r=mento 2006-02-10 18:23:52 +00:00
benjamin%smedbergs.us 77ba6d4fdb Bug 325229 followup: only dump refcnt statistics if logging has been initialized 2006-02-10 16:19:13 +00:00
benjamin%smedbergs.us da580e6a3c Bug 325229 part 1 - standalone glue registers exit routine which is called after module unload; also fixes bug 317481 - C API for nsTraceRefcnt; also fixes bug 318622 - Make nsTraceRefcntImpl::SetActivityIsLegal work properly and turn it on; design review by dbaron, r=darin 2006-02-10 15:00:36 +00:00
dbaron%dbaron.org e6a8beb3a0 Use __builtin_frame_address instead of setjmp to get the frame pointer for Linux stack traces, plus a little other cleanup. r=caillon sr=shaver b=323853 2006-02-09 23:03:49 +00:00
mark%moxienet.com f2ab995ed5 313398 Crashes in xptcall with unaligned stack on x86 Mac at -O0. Align the stack for all calls. r=josh sr=shaver 2006-02-09 16:43:55 +00:00
darin%meer.net 77549a81cf fixes bug 325331 "Make nsTArray a bit more useful" r=bsmedberg (relanding) 2006-02-08 01:23:26 +00:00
dougt%meer.net 442a6b96ed Using stdcall works much better then the hack we had. r=dveditz. WINCE ONLY 2006-02-07 16:46:20 +00:00
darin%meer.net 862be27570 reverting last change since it makes vc6 unhappy. 2006-02-04 01:21:54 +00:00
darin%meer.net 61e0f802ae fixes bug 311456 "Calling Truncate() on an nsAutoString makes next append work hard and doesn't clear F_VOIDED flag" r=bzbarsky 2006-02-04 00:42:18 +00:00
darin%meer.net c92881580c fixes bug 325331 "Make nsTArray a bit more useful" r=bsmedberg 2006-02-03 21:41:31 +00:00
timeless%mozdev.org 6b5993bb66 backing out changes from
Bug 323853 - JB_BP not exported by newer glibc
per shaver, r=shaver
2006-02-03 19:35:14 +00:00
cbiesinger%web.de a898e666b8 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
pedemont%us.ibm.com 6f84983f54 Bug 325260 - On Mac OS X, XPCOMGlueLoadXULFunctions should search library's symbol table, not global symbol table. Also, use snprintf (instead of sprintf) on all platforms. r=bsmedberg, sr=mentovai. 2006-02-01 16:51:12 +00:00
darin%meer.net 944944ce57 fixes bug 324981 "nsTArray crash in RemoveElement" r=bsmedberg 2006-01-30 17:16:50 +00:00
cbiesinger%web.de cf36a3a065 fixing bustage from bug 323412: check in missing file 2006-01-28 16:25:25 +00:00
cbiesinger%web.de f74f590241 bug 323412 get the event queue service outside of the proxy locks
patch by Matthew Gertner <matthew@allpeers.com> r=dougt
2006-01-28 15:46:11 +00:00
wr%rosenauer.org 21ed6bb9ad Bug 323853 - JB_BP not exported by newer glibc (2.4), r=bsmedberg, sr=shaver 2006-01-25 05:46:27 +00:00
bryner%brianryner.com 82d6fa213e Remove deprecated nsTString::ToCString (bug 323471). r+sr=darin. 2006-01-24 19:22:02 +00:00
bsmedberg%covad.net bf42cc6477 Bug 242870 - (optionally) statically link libIDL/glib with xpidl on Windows instead of having to use compiler-specific DLLs r=cls 2006-01-24 18:15:11 +00:00
mark%moxienet.com 142f6828fb 323337 Use fastcall on Mac OS X x86: __attribute__(regparm(3)). r=josh 2006-01-23 20:11:08 +00:00
gerv%gerv.net ff27848373 Bug 324392: fix licensing on Apple DTS code. 2006-01-23 10:22:40 +00:00
bzbarsky%mit.edu 859f54c998 Remove assertion that unnecessarily makes do_GetInterface less useful. Bug
323382, patch by Martijn Wargers <martijn.martijn@gmail.com>, r=darin,
moa=dougt, sr=bzbarsky
2006-01-21 22:24:27 +00:00
jag%tty.nl 9cda2576e8 Follow-up to bug 316782. Prevent "copy-construction" of nsAutoPtr through |nsAutoPtr::operator T*() const| chained with constructor |nsAutoPtr(T*)| by adding an extra implicit conversion through a helper class. r=dbaron, r=darin 2006-01-21 11:39:22 +00:00
jag%tty.nl 71a5554adb Bug 324124: nsCOMPtr can be constructed with const char* and nsID
r=bsmedberg, sr=dbaron
2006-01-21 11:23:32 +00:00
darin%meer.net 46dacadd3b fixes bug 324058 "Fix nsStringStream compilation warning about multiple SetData versions" r=biesi sr=bzbarsky 2006-01-20 19:17:58 +00:00
bsmedberg%covad.net 82b147feb6 Bug 321673 - Make component loader logging more useful and dump to stderr in debug builds, r=darin 2006-01-18 15:55:10 +00:00
bsmedberg%covad.net ad6994b382 Bug 319999 - XPCOM Shutdown: xpcom-shutdown-threads notification and cleanup of event queues before component manager shutdown, r=darin 2006-01-17 15:41:40 +00:00
dbaron%dbaron.org 6401f8e889 Fixes for gcc 4.0. Patch from Zack Weinberg <zackw@panix.com>. b=323114 r=dbaron 2006-01-14 20:44:37 +00:00
timeless%mozdev.org 0fb55318b1 Bug 106386 Correct misspellings in source code
patch by philippuryear@gmail.com r=timeless rs=brendan
2006-01-12 07:57:31 +00:00
darin%meer.net 5a0bf2b761 fixes bug 243429 "XPCOM_BREAK_ON_LOAD no longer works" patch by makotoy@ms.u-tokyo.ac.jp, r+sr=darin 2006-01-12 01:19:05 +00:00
darin%meer.net 527acfe9e9 fixes bug 319368 "Implement <a ping>" r=jst sr=bzbarsky 2006-01-11 01:50:15 +00:00
darin%meer.net 7ab38b54ab fixes bug 322908 "ASSERTION: NS_Alloc of size 0: 'size'" r=bsmedberg 2006-01-10 20:39:35 +00:00
darin%meer.net 1b9df43bad fixes bug 321997 "Minimize memory footprint of nsTArray object" r=sicking,bsmedberg 2006-01-10 20:38:54 +00:00
bsmedberg%covad.net a8530efb05 Bug 320328 - Ts regression from bug 316416 (nsIModuleLoader) - cache the canonical (short) pathname (windows only), r=darin 2006-01-10 20:33:54 +00:00
darin%meer.net 48a885095c fixes bug 322314 "[trunk] Firefox crashes on login Gmail Notifier extension [@ nsStringInputStream::SetData] [@ xpcom_core.dll + 0x3cd2c (0x6034cd2c) cd66f780]" r=biesi sr=bz 2006-01-10 01:56:00 +00:00
neil%parkwaycc.co.uk c0c752a009 Bustage fix for previous checkin which was for bug 293485 2006-01-04 14:48:25 +00:00
neil%parkwaycc.co.uk 6291f9a642 Rebuild .xpt files when included .idl files change r=bsmedberg sr=shaver 2006-01-04 13:43:59 +00:00
wtchang%redhat.com 15f1dca4b2 Bugzilla bug 40950: updated with the current Linux ia64 status (Done).
r=shaver.
2006-01-03 23:30:24 +00:00
bsmedberg%covad.net 176c7174c5 Bug 321847 - C++-style comments in C header (bah! this is #if 0 it shouldn't matter) 2006-01-03 16:54:26 +00:00
darin%meer.net 645a0a885e fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz 2006-01-02 02:30:32 +00:00
gerv%gerv.net 9308ce325d Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-31 13:18:10 +00:00
timeless%mozdev.org a4c73b3f26 Bug 289571 Optimization for nsRecyclingAllocator
patch by alfredkayser@nl.ibm.com r=dougt sr=dbaron
2005-12-23 00:08:21 +00:00
bsmedberg%covad.net 8948582700 Bug 320324 - Static modules released too late, assertions in GenerateJavaInterfaces, r=darin 2005-12-21 13:50:13 +00:00
ginn.chen%sun.com d8690091f3 Bug 295306 Firefox is unusable in solaris x86 using Sun SOS10 compiler.
revised patch addressing dbaron's comment
r=dbaron sr=benjamin
2005-12-21 05:31:05 +00:00
bsmedberg%covad.net 75e0efc1a6 Bug 320328 (mac) - Ts regression from bug 316416 (possible fix), r=josh moa=shaver 2005-12-19 20:19:09 +00:00
bsmedberg%covad.net 515e535893 Bug 320542 (BeOS bustage from 316416) - add extra #include 2005-12-16 16:47:27 +00:00
bsmedberg%covad.net 16f5e0bb71 Bug 320377 - XPCOM glue linking not enabled for SunOS, patch by Jens Hatlak <jh@junetz.de> r=me r=pete.zha 2005-12-16 15:51:15 +00:00
bsmedberg%covad.net 7e08538022 Bug 320449 - Make properties of GRE_GetGREPathWithProperties useful, r=darin; nsGREGlue.cpp supplementary logic fix r=#developers, earlier testing would have been good :-( 2005-12-16 14:58:57 +00:00
timeless%mozdev.org ab57a30234 Bug 319917 roaming profiles crashes on startup, no way to disable roaming [@ nsBinaryOutputStream::Write]
Fixing nsBinaryOutputStream and nsBinaryInputStream not to crash if methods are called w/o the object being Init()ed.
patch by matthew@allpeers.com r=darin sr=darin
2005-12-14 16:51:38 +00:00
bsmedberg%covad.net 98a64a5f9f Followup to bug 319024 - I double-reversed the list 2005-12-14 00:59:06 +00:00
bsmedberg%covad.net a0bcb37a51 Bug 319024 - Password manager does not remember data - regression from bug 316414 part 1 - observer enumerators need to hand out the strong-ref nsIObserver-implementing object, not the nsIWeakReference-implementing object, r=darin 2005-12-13 21:12:41 +00:00
bsmedberg%covad.net 0c3a95a05b Fix bug 319068 bustage. 2005-12-13 18:27:04 +00:00
darin%meer.net 437a1f66e7 fixes bug 319068 "problems with older compilers" r=bsmedberg 2005-12-13 18:00:35 +00:00
bsmedberg%covad.net 3417e3d31f Re-landing bug 316416 with biesi's uninitialized-rv catch and with the windows nsIFile hashing cached (bug 316732) 2005-12-13 17:55:43 +00:00
gerv%gerv.net 73c5dcdbe9 Bug 236613: change to MPL/LGPL/GPL tri-license. Correctly indent Contributors lines. <yawn> 2005-12-13 14:27:13 +00:00
gerv%gerv.net 5956d34127 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-13 13:25:40 +00:00
darin%meer.net 7c63996b9c fixes bug 319068 "nsTArray::IndexOf and friends should support an argument of another type" r=bsmedberg 2005-12-12 21:28:29 +00:00
bsmedberg%covad.net 0569ce2453 Re-land bug 318625 that was backed out accidentally with bug 316416 (r=darin) 2005-12-12 14:11:01 +00:00
bsmedberg%covad.net 9acd8681eb Bug 316732 followup - cache the calculated nsLocalFile hashcode on windows to avoid extra stat()s in the GetShortPathName function, r=darin 2005-12-12 14:07:41 +00:00
darin%meer.net 5714957e9f fix win32 build bustage 2005-12-12 00:47:21 +00:00
darin%meer.net da862eeb45 fix winnt compile error 2005-12-10 00:05:58 +00:00
darin%meer.net b76edd8bcf minor correction to last patch (bug 319636) 2005-12-09 21:36:56 +00:00
darin%meer.net 5443c7a6e8 fixes bug 319636 "Provide convenience function for consuming an entire nsIInputStream" r=biesi sr=bzbarsky 2005-12-09 21:35:27 +00:00
bsmedberg%covad.net 28e61db7cc Reverting bug 316416 due to Ts regression and mysterious monkey orange :-( 2005-12-03 15:27:17 +00:00
dougt%meer.net 379ada90db Updating the evc4 test application to current config. NPODB 2005-12-03 06:04:25 +00:00
bsmedberg%covad.net 4320ef5319 Go back to not-unloading component DLLs because of balsa orange :-( 2005-12-02 20:27:52 +00:00
bsmedberg%covad.net 2a48534c31 Fix a logic error caught by the MSVC compiler and an initializer error, bug 316416 2005-12-02 17:38:18 +00:00
bsmedberg%covad.net 43aed2b3c8 Bug 316416 - Convert nsIComponentLoader into nsIModuleLoader, xpcom bits r=darin xpconnect bits r=shaver; and bug 318625 - Make a version of nsTArray.AppendElement that doesn't copy-construct, r=darin 2005-12-02 16:34:42 +00:00
jst%mozilla.jstenback.com 175fe145fe Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2005-12-01 19:35:27 +00:00
dougt%meer.net 92d3b408b7 add option to disable fastload. Bug 194308. r=benjamin 2005-12-01 17:37:21 +00:00
bsmedberg%covad.net efbde9b480 Bug 316414 part 1, try #2 - Add xpcom-shutdown-threads and xpcom-shutdown-loaders notifications, r=darin 2005-11-30 18:51:27 +00:00
bsmedberg%covad.net b904585df0 nsDirectoryServiceUtils.h uses nsIFile without including it, rs=shaver 2005-11-30 18:02:27 +00:00
jst%mozilla.jstenback.com 7a5af690c6 Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
bryner%brianryner.com 2365e05a33 Fix crashes when dealing with 0-sized arrays (bug 317959). Patch by darin, r+sr=me. 2005-11-28 20:27:42 +00:00
timeless%mozdev.org 2200a0e903 Bug 317962 make stack walking code not reinit in a way that fails and improve stack bottom detection
r=dougt
2005-11-28 17:15:52 +00:00
timeless%mozdev.org 3db428f6ac Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org 532329ac75 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
darin%meer.net dfb84730db Backing out last change to resolve SunOS bustage (bug 316782) 2005-11-24 08:46:56 +00:00
darin%meer.net fa96619e36 prevent "nsTArray< nsAutoPtr<T> >", which could easily lead to problems. bug 316782 r+sr=jag 2005-11-24 00:10:59 +00:00
bsmedberg%covad.net 8cb7c747fb Backing out the rest of 316414 due to persistent orange. 2005-11-23 21:37:16 +00:00
bsmedberg%covad.net 10ebc1459f Backing out even more of bug 316414 to try and fix orange. 2005-11-23 20:21:46 +00:00
darin%meer.net 22ddfeaaa2 fixes bug 316782 "Provide templatized array class" r=brettw,bsmedberg sr=bryner 2005-11-23 19:44:16 +00:00
bsmedberg%covad.net 58b348c13c Reverting part of bug 316414 to see if this fixed tbox orange. 2005-11-23 18:15:42 +00:00
bsmedberg%covad.net 7d31bfeeda Bustage fix, bug 316414 part 1. 2005-11-23 14:41:41 +00:00
bsmedberg%covad.net 4ef7769813 Bug 316414 part 1 - Add "xpcom-shutdown-threads" and "xpcom-shutdown-loaders" notifications during XPCOM Shutdown, r=darin 2005-11-23 14:32:18 +00:00
jshin%mailaps.org 63deef0005 bug 317281 : Make UCS4 to High/Low surrogate pair a little bit more efficient (r=smontagu, sr=bz) 2005-11-22 07:48:49 +00:00
mark%moxienet.com 8ec53f9346 Bug 317345, nsLocalFile(OSX)::IsHidden is broken garbage. Use kFSCatInfoFinderInfo to obtain Finder attributes. r=josh sr=smfr 2005-11-22 05:09:38 +00:00
dougt%meer.net f31bce7a4f Aaron Reed and I are unsure of this patch, but it does fix a Windows CE bustage. From my reading, arm pushing 4, not 3. Aaron introduce a patch which keyed on 3 instead of four. 2005-11-22 02:39:40 +00:00
vladimir%pobox.com 715d3629e1 windows sdk missing include fix 2005-11-21 21:32:36 +00:00
vladimir%pobox.com bf11b0cbe0 b=279521, add a way to generate UUIDs, r=darin,sr=shaver 2005-11-21 21:01:45 +00:00
pedemont%us.ibm.com 6116765186 Bug 312927 - fix Win32 registry comments in glue code. r=bsmedberg 2005-11-21 19:40:46 +00:00
pedemont%us.ibm.com 60fb3554b7 Bug 316098 - Add 'const' to function impl to fix linking issue and fix error check. r=bsmedberg 2005-11-21 19:36:15 +00:00
timeless%mozdev.org 9ef60db03e Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless rs=brendan
2005-11-21 06:30:34 +00:00
bzbarsky%mit.edu b62746498b Make definition match declaration for AppendUCS4ToUTF16. Bug 316859, patch by
Greg Onufer <gonufer@yahoo.com>, r+sr=bzbarsky
2005-11-20 19:21:48 +00:00
bsmedberg%covad.net fc5ac31007 Followup to bug 316732 - impls actually have to QI to the interface (pointed out by bz) 2005-11-18 20:12:46 +00:00
mkaply%us.ibm.com 28a72e5ab2 OS/2 version of 316732 2005-11-18 18:54:19 +00:00
mkaply%us.ibm.com 836ec9014a OS/2 version of 316098 2005-11-18 18:48:45 +00:00
bsmedberg%covad.net 181f10ab85 Bug 316098 - Need standalone glue functions for loading symbols from libxul, r=darin 2005-11-18 17:45:59 +00:00
bsmedberg%covad.net d611b236bb Bug 316732 - Allow for hashing on nsIFile by introducing a new nsIHashable interface and implementing it for the file types r=darin 2005-11-18 14:18:49 +00:00
ginn.chen%sun.com a19b1f552c Bug 295306 Firefox is unusable in solaris x86 using Sun SOS10 compiler.
patch maker=brian.lu@sun.com r+sr=darin
2005-11-18 03:37:58 +00:00
brettw%gmail.com cfdf1aa014 Bug 316869, r+sr=darin
Convenience function: nsEscape with CString
2005-11-17 19:28:05 +00:00
bzbarsky%mit.edu c839e0fd36 Fix stupid mistake in previous commit. Bug 316394, caught by smontagu 2005-11-17 15:13:25 +00:00
dougt%meer.net 7072b65bdc Fixes mem leak in nsPersistentProperties::Enumerate. Bug 305208. r=dougt, sr=bsmedberg, patch=chpe@gnome.org 2005-11-16 21:27:11 +00:00
bzbarsky%mit.edu e67c2cf95d Fix HashCodeAsUTF8 to work properly for non-BMP stuff, and update it to the
current UTF8 spec.  Bug 316573, r=smontagu, sr=jst
2005-11-16 02:31:54 +00:00
darin%meer.net 78d87a9725 fixes bug 315786 "Make the functions defined in nsEscape.h more useful" r=biesi 2005-11-15 21:41:57 +00:00
bsmedberg%covad.net 67d34972a6 Bug 316558 - Stop implementing a few old nsIComponentManagerObsolete methods, r=darin 2005-11-15 20:15:05 +00:00
bzbarsky%mit.edu 68ad0ac6e7 Fix build bustage. Bug 316394 2005-11-15 19:18:26 +00:00
bzbarsky%mit.edu c53597de74 Move some basic macros for working with UTF16 from intl to XPCOM; use them in
some places including the HTML parser.  Part of fix for bug 316394; the CSS
parser changes are still coming.  r=smontagu, r=mrbkap on parser changes, sr=dbaron
2005-11-15 18:17:22 +00:00
dbaron%dbaron.org 8e1263ab28 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
bsmedberg%covad.net a7747c2992 Backing out bug 313309 part 3 due to various intermingled bustages. 2005-11-14 16:37:43 +00:00
bsmedberg%covad.net ca0e0a4bd6 The XPCOM glue cannot use NSPR, provisional r=bz to fix btek bustage until I can find an XPCOM peer. 2005-11-14 16:36:39 +00:00
bsmedberg%covad.net 03ff0b8a3c Bug 313309 part 3 - use static data symbol (it's a weak symbol, we're tricking compilers into emitting a weak symbol by using templates) for NS_GET_IID instead of an inline function, r=shaver. This may break some tinderboxen (in which case I'll backout), especially the old mac tinderboxen which haven't yet been upgraded from xcode1.1 to a newer version. 2005-11-14 15:07:07 +00:00
smfr%smfr.org 3aedf290f4 Fix bug 208843: make AddRef and Release of nsPipeInput/OutputStreams threadsafe, so that we don't abort long downloads on fast dual CPU machines. r=dougt, wtchang. sr=darin 2005-11-12 23:31:57 +00:00
dbaron%dbaron.org 51ae9d48e4 Fix bad advice in comment on how to use PL_InitEvent. b=305278 r=dougt 2005-11-12 21:11:33 +00:00
darin%meer.net 56de173b8c Initial patch for bug 312760 "Provide base channel for use by protocol implementations" r=biesi sr=bzbarsky 2005-11-12 18:17:19 +00:00
bsmedberg%covad.net dff1dea638 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
dougt%meer.net 6280e93a08 Fixing 314997. Fixing Sun Studio 9 bustage from bug 289010 2005-11-10 16:53:25 +00:00
bsmedberg%covad.net faf7d08562 Bug 315401 - XPTI_GetInterfaceInfoManager is a bad signature and should be removed, r=darin sr=jst 2005-11-10 16:19:44 +00:00
bsmedberg%covad.net 041e5ac68a Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver 2005-11-10 15:09:38 +00:00
bsmedberg%covad.net 123e65e0e5 Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver 2005-11-10 14:43:22 +00:00
bsmedberg%covad.net be9a220c32 Try to fix brad bustage by backing out these declarations, which aren't on the equivalent nsVoidArray symbols 2005-11-08 20:55:30 +00:00
bsmedberg%covad.net 1172c33dfc Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree. 2005-11-08 18:17:49 +00:00
bsmedberg%covad.net f863dad70b Bug 315438 - Want nsTAString const char_type* BeginWriting() const; signature r=darin 2005-11-08 14:16:16 +00:00
dougt%meer.net f5f736b3bd Build/config changes to allow static xpcom link for Minimo. b=314880, r=dveditz. 2005-11-07 20:59:43 +00:00
dougt%meer.net 1e937de1a3 Build/config changes to allow static xpcom link for Minimo. b=314880, r=dveditz. 2005-11-07 19:08:03 +00:00
smfr%smfr.org 2254bafe1b Fix bug 315246: nsGetInterface::operator() can use an uninitialized nsresult variable, if the source fails to implement nsIInterfaceRequestor (which fires an assertion in debug builds). r=dougt, sr=bzbarsky. 2005-11-06 18:31:09 +00:00
bzbarsky%mit.edu e64707f230 Implement a in-place (no copy) CompareUTF8toUTF16, and use it to make the atom
hashtable lookups zero-copy.  Patch by jst, bug 314465 (with lots of the
discussion in bug 277479), r=bsmedberg,dbaron,brendan (on the PLDHashTable
keyhash value assumptions), sr=bzbarsky, moa=shaver.
2005-11-04 19:52:18 +00:00
bsmedberg%covad.net ea1cb71f29 Bug 289010 - Move nsVoidArray/nsCOMArray to the XPCOM glue, and a few other things to make the glue easier to use, r=shaver+darin . The following files were CVS-copied from xpcom/ds to xpcom/glue: nsVoidArray.h nsVoidArray.cpp nsCOMArray.h nsCOMArray.cpp nsQuickSort.h nsQuickSort.cpp 2005-11-02 20:39:39 +00:00
bsmedberg%covad.net fabafe8410 Bug 289010 - Move nsVoidArray/nsCOMArray to the XPCOM glue, and a few other things to make the glue easier to use, r=shaver+darin . The following files were CVS-copied from xpcom/ds to xpcom/glue:
nsVoidArray.h
nsVoidArray.cpp
nsCOMArray.h
nsCOMArray.cpp
nsQuickSort.h
nsQuickSort.cpp
2005-11-02 20:38:21 +00:00
gerv%gerv.net 080496ae3e Bug 236613: change to MPL/LGPL/GPL tri-license, and other license-related fixups. 2005-11-02 16:05:27 +00:00
cvshook%sicking.cc e8546826a1 Bug 312226: Fix minor things i missed in last patch.
r/sr=jag
2005-11-02 16:05:26 +00:00
bzbarsky%mit.edu b3322114f4 nsCOMArray::RemoveObjectAt fails to remove nulls correctly. Bug 265772,
r=darin, sr=dbaron
2005-11-02 16:05:25 +00:00
cvshook%sicking.cc 9553d3277e Bug 312226: Get rid of virtuality in nsVoidArray and optimize nsSmallVoidArray.
r=rjesup sr=jst
2005-11-02 16:05:24 +00:00
caillon%redhat.com 496208d872 Kill off nsComObsolete.h
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
2005-11-02 16:05:23 +00:00
Olli.Pettay%helsinki.fi dd0fbf625f Bug 255792, nsSmallVoidArray::ReplaceElementAt does not work in the same way as nsVoidArray::ReplaceElementAt, r=rjesup,sr=alecf 2005-11-02 16:05:22 +00:00
dbaron%dbaron.org c431366ba0 Add nsVoidArray::FastElementAt that requires the caller to do bounds checks (0 <= aIndex < Count()). Make ElementAt a little safer without loss of speed (back to the old safety). Make nsCOMArray<T>::ObjectAt use FastElementAt. b=96108 r=darin 2005-11-02 16:05:21 +00:00
gerv%gerv.net 38ff5d49ce Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-11-02 16:05:20 +00:00
dbaron%dbaron.org 82cc7e433d Add nsVoidArray::FastElementAt that requires the caller to do bounds checks (0 <= aIndex < Count()). Make ElementAt a little safer without loss of speed (back to the old safety). Make nsCOMArray<T>::ObjectAt use FastElementAt. b=96108 r=darin 2005-11-02 16:05:19 +00:00
bzbarsky%mit.edu b04d4ee164 Make ReplaceObjectAt a little safer. Bug 227780, r=timeless, sr=alecf 2005-11-02 16:05:18 +00:00
timeless%mozdev.org dfe35fbcbf Bug 106386 Correct misspellings in source code
Changes strings which meant "referring"
patch by ajvincent@juno.com r=timeless sr=dmose
2005-11-02 16:05:17 +00:00
seawood%netscape.com 726e8be040 Remove xp_core.h & xp_mem.h and all build references to them.
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski
2005-11-02 16:05:16 +00:00
sicking%bigfoot.com e6a66af666 Bug 225507: Implement nsCOMArray::SafeObjectAt for out-of-bounds safe access.
r=bryner sr=alecf
2005-11-02 16:05:15 +00:00
bsmedberg%covad.net 21c841ce0f Bug 212222 - Load default prefs from the GRE and from the application. r/sr=alecf/darin
NOTE: This is only the backend work necessary to load prefs. The actual separation of prefs into application/embedding will happen in another bug.
2005-11-02 16:05:14 +00:00
dbaron%dbaron.org 58618cb325 nsCOMArray should not use nsDerivedSafe. b=221525 r=bryner 2005-11-02 16:05:13 +00:00
bryner%netscape.com 549507b762 Correcting the description of the third argument to NS_QuickSort. r=dbaron. 2005-11-02 16:05:12 +00:00
jshin%mailaps.org 67638ecdf3 bug 229705 : CStringArray should accept |nsACString&| instead of |nsCString&|. r=mscott, sr=alecf (with darin, jst, dbaron helping) 2005-11-02 16:05:11 +00:00
dougt%meer.net 562bac8f06 add Sort() to nsCOMArray. Patch from ari the_great_spam_bin@yahoo.com. r=alecf, b=211535 2005-11-02 16:05:10 +00:00
neil%parkwaycc.co.uk 100f075a91 Bug 198685 need nsCOMArray function like IndexOf that checks COM object identity p=bsmedberg@covad.net r=alecf (no sr needed) 2005-11-02 16:05:09 +00:00
bzbarsky%mit.edu b0a45e4a36 fix build bustage 2005-11-02 16:05:08 +00:00
jshin%mailaps.org 0433a8ff30 bug 229705: make CStringArray:CStringAt accept nsACString& as out param. (r=alecf, sr=bz) 2005-11-02 16:05:07 +00:00
dbaron%dbaron.org e1d666b76b Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2005-11-02 16:05:06 +00:00
dougt%netscape.com c7b7d950ac Fixes many compiler warnings from xpcom/ds/nsVoidArray.h. r=dougt, sr=darin, patch=colin@theblakes.com, a=asa, b=166427 2005-11-02 16:05:05 +00:00
dbaron%fas.harvard.edu fbcc0ac4be Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2005-11-02 16:05:04 +00:00
cathleen%netscape.com 3ad3d60c41 eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan 2005-11-02 16:05:03 +00:00
racham%netscape.com 38678fcafb Fixing bug 122309. Adding a new routine that can take a string and parse it on a delimiter to add elements to the nsCStringArray. r=dougt, sr=jag 2005-11-02 16:05:02 +00:00
cathleen%netscape.com 8d57d8c401 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan 2005-11-02 16:05:01 +00:00
dougt%netscape.com 03d8aa909c 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2005-11-02 16:05:00 +00:00
cathleen%netscape.com 76d0de1185 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2005-11-02 16:04:59 +00:00
blythe%netscape.com 00e4d1adc5 Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2005-11-02 16:04:58 +00:00
rjesup%wgate.com 3e60b6f7c1 Remove nsVoidArray:: from method defs 2005-11-02 16:04:57 +00:00
rjesup%wgate.com 585c87203b Bug 96108: Fix Win32/opt horkage (SizeOf()) in nsSmallVoidArray should be
#if dEBUG)
2005-11-02 16:04:56 +00:00
rjesup%wgate.com 5bf52466e2 Bug 96108: Additional assertions requested by jst. sr=jst 2005-11-02 16:04:55 +00:00
rjesup%wgate.com e779a74a25 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2005-11-02 16:04:54 +00:00
dbaron%fas.harvard.edu 0978688333 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2005-11-02 16:04:53 +00:00
alecf%netscape.com 69c4f40601 bug 104126 - remove nsStringArray::IndexOfIgnoreCase and its one consumer. sr=attinasi, r=jag 2005-11-02 16:04:52 +00:00
gerv%gerv.net 846e640dde Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2005-11-02 16:04:51 +00:00
rjesup%wgate.com 8712de15d3 Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.
2005-11-02 16:04:50 +00:00
alecf%netscape.com 4678c4c82b fix an assertion from nsCOMArray where ReplaceElementAt() wouldn't property extend the array because we were just using ObjectAt()
residual stuff from bug 197827, which caused an assertion browsing frame
patch by keeda@hotpop.com, r/sr=alecf
2005-11-02 16:04:49 +00:00
sicking%bigfoot.com 33ca821d9e Bug 162115: Make nsCOMArray return nsDeriviedSafes to avoid bad addrefs/releases
r=bz sr=alecf
2005-11-02 16:04:48 +00:00
bzbarsky%mit.edu 44aca08ea8 Make the nsCOMArray destructor release all the objects. Bug 178813,
r=bbaetz, sr=rpotts
2005-11-02 16:04:47 +00:00
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