bent.mozilla%gmail.com
ffd74d2c73
Bug 289689 - "Memory leak: nsDebugImpl::Assertion, Create Process". r=dougt, sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@198922 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 23:37:10 +00:00
joshmoz%gmail.com
4f6ed4fe6d
add a comment for my last checkin, b=339987
...
git-svn-id: svn://10.0.0.236/trunk@198899 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 20:20:52 +00:00
joshmoz%gmail.com
51cd8132db
Make Mac OS X debug trap impl use raise(SIGTRAP) instead of Mac OS X debugging function so we're only required to set the XPCOM debug env variable and not also the Mac OS X debug break variable. Also make GNUC/x86 test more robust, include '__i386__' in the test because not all platforms define '__i386' (Mac OS X is one of those, though it doesn't really matter here since we do a separate test for Mac OS X). b=339987 r=mento sr=dougt
...
git-svn-id: svn://10.0.0.236/trunk@198898 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 20:06:43 +00:00
bzbarsky%mit.edu
bac81d19fc
Make it ok to call nsUUIDGenerator from off the main thread. Bug 334983,
...
r=vlad, sr=darin
git-svn-id: svn://10.0.0.236/trunk@196494 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-14 22:41:47 +00:00
darin%meer.net
506ad714d2
fix btek bustage.
...
git-svn-id: svn://10.0.0.236/trunk@196259 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:47:50 +00:00
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
benjamin%smedbergs.us
dd146efb7b
Bug 334038 - Separate out the frozen C stringapi and the glued C++ wrappers, fix a few bugs along the way, and move some of the utils from nsCRT into nsCRTGlue for use by frozen-linkage code. r=darin
...
CVS history for xpcom/string/public/nsXPCOMStrings.h is at xpcom/string/public/nsStringAPI.h
CVS history for xpcom/build/nsXPCOMStrings.cpp is at xpcom/build/nsStringAPI.cpp
CVS history for xpcom/glue/nsStringAPI.h is at xpcom/string/public/nsStringAPI.h
git-svn-id: svn://10.0.0.236/trunk@195900 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 16:11:14 +00:00
bzbarsky%mit.edu
c4f7acfe09
Add an interface for nested URIs (like jar:, view-source:, etc) to implement
...
and use it in various places. Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:). Bug 334407, r=biesi,dveditz, sr=darin
git-svn-id: svn://10.0.0.236/trunk@195823 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 18:54:19 +00:00
gavin%gavinsharp.com
22425f5122
Bug 333302: OOM [@ NS_NewInterfaceRequestorAggregation], patch by Ryan Flint <rflint@dslr.net>, r=timeless, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@194365 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 23:39:49 +00:00
peterv%propagandism.org
d04fb5dec2
Fix for bug 332908 (nsUUIDGenerator should use CFUUIDCreate on OS X). r=vlad, sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@193743 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 21:48:47 +00:00
darin%meer.net
d52d34fca1
restoring warning per bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@193292 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 00:59:02 +00:00
darin%meer.net
70deb5f58d
fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
mark%moxienet.com
20d06ba923
331827 Provisional build patch to make gtk2/darwin builds functional out of the box. There may be additional changes needed for static builds. r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@193147 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-28 20:06:17 +00:00
dbaron%dbaron.org
ee0c4c2b8e
Workaround brokenness of __builtin_frame_address(0) on gcc 4.1 (as shipped with FC5, at least). b=331436 r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@192881 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 23:21:27 +00:00
bryner%brianryner.com
7ec5e10667
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.
...
git-svn-id: svn://10.0.0.236/trunk@192401 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 04:59:42 +00:00
mkaply%us.ibm.com
d6529a89aa
#3011064
...
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
git-svn-id: svn://10.0.0.236/trunk@191996 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-08 19:56:32 +00:00
timeless%mozdev.org
3cd791230d
Bug 327997 warning C4005: 'EXTERN_C' : macro redefinition nscore.h and winnt.h
...
r=darin sr=darin
git-svn-id: svn://10.0.0.236/trunk@191815 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-06 01:49:10 +00:00
mnyromyr%tprac.de
64a25c8847
Bug 328900: Crash in StuffFixedBuffer; r=bsmedberg, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@191606 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-02 20:30:58 +00:00
benjamin%smedbergs.us
9d75222418
Bug 328855 - Support x86-64 in nsStackFrameUnix, r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@191410 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 18:28:54 +00:00
benjamin%smedbergs.us
4a30ab1ce3
Typo from bug 325229, caught by dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@191155 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 16:11:33 +00:00
benjamin%smedbergs.us
4bf3112d3d
Backout bug 313309 part 3 again due to gcc2.9x bustage and an ICE on MSVC6
...
git-svn-id: svn://10.0.0.236/trunk@191063 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 19:57:50 +00:00
benjamin%smedbergs.us
40064a30ee
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
...
git-svn-id: svn://10.0.0.236/trunk@191047 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 18:31:02 +00:00
cls%seawood.org
40e7ef5034
Fix mingw cross-compile bustage.
...
Original patch by <basic@mozdev.org>.
Bug #320646 r=cls
git-svn-id: svn://10.0.0.236/trunk@190537 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-19 07:43:19 +00:00
mark%moxienet.com
312c2ed8c4
323657 Fixing XULRunner bustage by moving nsMacUtils class to nsMacUtilsImpl. r=dbaron sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@190526 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-18 21:09:59 +00:00
mark%moxienet.com
8676063f50
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
...
git-svn-id: svn://10.0.0.236/trunk@190359 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-17 16:19:53 +00:00
benjamin%smedbergs.us
bdd2b20300
Followup to bug 325229 - don't stick bell in stderr on platforms that have a dbgdlg
...
git-svn-id: svn://10.0.0.236/trunk@189854 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-13 20:21:20 +00:00
benjamin%smedbergs.us
29f4002425
Bug 326981 - build broken on BeOS from bug 325229, patch by Doug Shelton <doug@sheltonfamily.org> r=me
...
git-svn-id: svn://10.0.0.236/trunk@189824 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-13 16:19:31 +00:00
benjamin%smedbergs.us
be891ac66c
Bug 325229 followup: only dump refcnt statistics if logging has been initialized
...
git-svn-id: svn://10.0.0.236/trunk@189560 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 16:19:13 +00:00
benjamin%smedbergs.us
70d82c362b
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
...
git-svn-id: svn://10.0.0.236/trunk@189558 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 15:00:36 +00:00
dbaron%dbaron.org
700736bdc2
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
...
git-svn-id: svn://10.0.0.236/trunk@189528 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 23:03:49 +00:00
timeless%mozdev.org
578da30c2b
backing out changes from
...
Bug 323853 - JB_BP not exported by newer glibc
per shaver, r=shaver
git-svn-id: svn://10.0.0.236/trunk@188872 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 19:35:14 +00:00
wr%rosenauer.org
d9d7edb8b3
Bug 323853 - JB_BP not exported by newer glibc (2.4), r=bsmedberg, sr=shaver
...
git-svn-id: svn://10.0.0.236/trunk@188144 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 05:46:27 +00:00
mark%moxienet.com
a862a15819
323337 Use fastcall on Mac OS X x86: __attribute__(regparm(3)). r=josh
...
git-svn-id: svn://10.0.0.236/trunk@188060 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-23 20:11:08 +00:00
jag%tty.nl
82e227df49
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
...
git-svn-id: svn://10.0.0.236/trunk@187964 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 11:39:22 +00:00
bsmedberg%covad.net
307bdb2267
Bug 319999 - XPCOM Shutdown: xpcom-shutdown-threads notification and cleanup of event queues before component manager shutdown, r=darin
...
git-svn-id: svn://10.0.0.236/trunk@187710 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-17 15:41:40 +00:00
darin%meer.net
fb0f74dfda
fixes bug 322908 "ASSERTION: NS_Alloc of size 0: 'size'" r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@187256 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 20:39:35 +00:00
bsmedberg%covad.net
f53200dc8e
Bug 321847 - C++-style comments in C header (bah! this is #if 0 it shouldn't matter)
...
git-svn-id: svn://10.0.0.236/trunk@186854 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-03 16:54:26 +00:00
bsmedberg%covad.net
117197e182
Re-landing bug 316416 with biesi's uninitialized-rv catch and with the windows nsIFile hashing cached (bug 316732)
...
git-svn-id: svn://10.0.0.236/trunk@185996 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-13 17:55:43 +00:00
bsmedberg%covad.net
9c52a8d23a
Reverting bug 316416 due to Ts regression and mysterious monkey orange :-(
...
git-svn-id: svn://10.0.0.236/trunk@185645 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-03 15:27:17 +00:00
bsmedberg%covad.net
dc84be3e28
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
...
git-svn-id: svn://10.0.0.236/trunk@185574 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 16:34:42 +00:00
timeless%mozdev.org
7a6d11d1b9
Bug 317962 make stack walking code not reinit in a way that fails and improve stack bottom detection
...
r=dougt
git-svn-id: svn://10.0.0.236/trunk@185326 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 17:15:52 +00:00
darin%meer.net
b702f3ebbe
Backing out last change to resolve SunOS bustage (bug 316782)
...
git-svn-id: svn://10.0.0.236/trunk@185255 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-24 08:46:56 +00:00
darin%meer.net
0412b0df5d
prevent "nsTArray< nsAutoPtr<T> >", which could easily lead to problems. bug 316782 r+sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@185232 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-24 00:10:59 +00:00
vladimir%pobox.com
5bca1dbc11
windows sdk missing include fix
...
git-svn-id: svn://10.0.0.236/trunk@185085 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 21:32:36 +00:00
vladimir%pobox.com
01e1b79a0c
b=279521, add a way to generate UUIDs, r=darin,sr=shaver
...
git-svn-id: svn://10.0.0.236/trunk@185079 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 21:01:45 +00:00
timeless%mozdev.org
1a6d3e8564
Bug 106386 Correct misspellings in source code
...
patch by supernova_00@yahoo.com r=timeless rs=brendan
git-svn-id: svn://10.0.0.236/trunk@185036 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 06:30:34 +00:00
bsmedberg%covad.net
b3fec8fa65
Backing out bug 313309 part 3 due to various intermingled bustages.
...
git-svn-id: svn://10.0.0.236/trunk@184585 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 16:37:43 +00:00
bsmedberg%covad.net
f9e96a984f
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.
...
git-svn-id: svn://10.0.0.236/trunk@184581 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 15:07:07 +00:00
bsmedberg%covad.net
7344fa60e3
Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver
...
git-svn-id: svn://10.0.0.236/trunk@184392 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 14:43:22 +00:00
bsmedberg%covad.net
112c33275c
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.
...
git-svn-id: svn://10.0.0.236/trunk@184304 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 18:17:49 +00:00