966 Commits

Author SHA1 Message Date
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
bsmedberg%covad.net
76775ba5fc 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
git-svn-id: svn://10.0.0.236/trunk@183915 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 14:14:18 +00:00
bsmedberg%covad.net
f54fe4e3de Bug 310976 - Treat 1.5.* as 1.5.infinity r=darin
git-svn-id: svn://10.0.0.236/trunk@181538 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 02:47:02 +00:00
peterv%propagandism.org
9d15dc1e32 Fix for bug 307713 (Improve and use nsAgg's macros). r=dougt, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@181126 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-28 13:13:27 +00:00
mrbkap%gmail.com
790fe5f0f5 bug 308418: The windbgdlg pops up even when the debugger is currently active. r=dougt sr=jst
git-svn-id: svn://10.0.0.236/trunk@180233 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 21:00:37 +00:00
bsmedberg%covad.net
1d2d5dce42 Bug 306334 - XULRunner debug doesn't link on mac r=darin/brendan
git-svn-id: svn://10.0.0.236/trunk@179397 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 17:20:09 +00:00
bsmedberg%covad.net
8c52ef6218 Bug 305992 - nsIVersionComparator broken in some circumstances (UMR) - patch by Justin Bradford <jabradford@gmail.com> r=shaver+me
git-svn-id: svn://10.0.0.236/trunk@179047 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 14:16:11 +00:00
timeless%mozdev.org
da5ae77bc6 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


git-svn-id: svn://10.0.0.236/trunk@177666 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 23:11:35 +00:00
bsmedberg%covad.net
02b8310366 Bug 288954 - Make the non-inline members of nsID part of the glue, so that embedders don't link against C++ symbols by accident - r=darin a=shaver
This moves nsID.h|cpp from xpcom/base to xpcom/glue (CVS copies were performed)


git-svn-id: svn://10.0.0.236/trunk@177424 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-09 13:39:12 +00:00
timeless%mozdev.org
bab3ba6a84 Bug 302698 [@ DumpStackToFileMain64]
r=dougt a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@177029 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 22:17:59 +00:00
bsmedberg%covad.net
cd0b3d77cc Bug 300731 - Change app/extension version scheme going forward, r=darin+shaver a=shaver
git-svn-id: svn://10.0.0.236/trunk@176485 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-23 14:05:25 +00:00
joshmoz%gmail.com
629699c509 don't use regparm on i386 Mac OS X. Patch by Apple Computer, Inc. r=josh r=smfr sr=bsmedberg a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176401 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-21 19:02:52 +00:00
shaver%mozilla.org
0656ce1457 Bug 269823: invalid casts prevent compilation on 64-bit platforms with gcc4.
Patch from falk@debian.org, r=darin, sr+a=shaver.


git-svn-id: svn://10.0.0.236/trunk@176326 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 13:12:13 +00:00
bsmedberg%covad.net
573e4d6f0c Bug 298047 - Drop the dependencies of the XPCOM standalone glue on NSPR, try #2 - Re-landing this in such a way that we're not going to break non-xulrunner builds on mac with xcode < 1.5 until we have the tinderboxen and official build instructions upgraded properly (see the XXXNote in xpcom/sample/Makefile.in, and the continued ifdef MOZ_ENABLE_LIBXUL hack in config/autoconf.mk.in around MOZ_FIX_LINK_FLAGS). r=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@175481 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 12:24:07 +00:00
timeless%mozdev.org
187caaa487 Bug 297723 stackwalk code not working for WinXP
patch by colin@theblakes.com r=dougt a=asa


git-svn-id: svn://10.0.0.236/trunk@175475 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-01 05:21:02 +00:00