931 Commits

Author SHA1 Message Date
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
bsmedberg%covad.net
e98012647a Backout bug 298047 per Chase as it breaks some downrev mac systems unexpectedly.
git-svn-id: svn://10.0.0.236/trunk@175375 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-30 02:04:23 +00:00
bsmedberg%covad.net
eda69baeea Bug 298047 - Drop the dependencies of the XPCOM standalone glue on NSPR (this patch covers everything except dynamic linking) r=darin a=asa (The file xpcom/sample/nsTestSample.cpp moved to xpcom/sample/program/nsTestSample.cpp)
git-svn-id: svn://10.0.0.236/trunk@175333 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:53:30 +00:00
timeless%mozdev.org
90c4e1abe8 Bug 297723 stackwalk code not working for WinXP
patch by colin@theblakes.com (cenzic) r=dougt a=bsmedberg
_IMAGEHLP64 ifdefs added to support an old psdk


git-svn-id: svn://10.0.0.236/trunk@175092 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 14:48:12 +00:00
timeless%mozdev.org
3137cde7b2 backiing out
git-svn-id: svn://10.0.0.236/trunk@175082 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 05:20:27 +00:00
timeless%mozdev.org
2c05685e07 Bug 297723 stackwalk code not working for WinXP
patch by colin@theblakes.com (cenzic) r=dougt a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@175080 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 02:32:05 +00:00
joshmoz%gmail.com
f3e632451e remove XP_MAC code from xpcom/base. r=josh r=dougt a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@175068 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-24 00:24:42 +00:00
bsmedberg%covad.net
e46d9782ad Bug 295247 - Allow extensions to ship plugin DLLs, part 1 - r=darin a=shaver
git-svn-id: svn://10.0.0.236/trunk@174059 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 13:29:04 +00:00
dougt%meer.net
7b439fd222 IsLowMemory predicate needs to use total memory, page filess. WINCE only. r=dougt NPODB
git-svn-id: svn://10.0.0.236/trunk@174038 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 04:24:07 +00:00
bzbarsky%mit.edu
34cf5965da Don't use C++ comments in a file included from C code. r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@172824 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 20:57:42 +00:00
dbaron%dbaron.org
a3f24ccfd1 Make it possible for apps, extensions, and vendors to all add tokens to the User-Agent string (using default preferences) without overwriting each other. b=274928 r+sr=darin a=mkaply
git-svn-id: svn://10.0.0.236/trunk@171858 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 18:11:59 +00:00
bsmedberg%covad.net
f0ad878c0e Bug 288626 - Switch the strict API from opt-in (MOZILLA_STRICT_API) to opt-out (MOZILLA_INTERNAL_API) r=darin
git-svn-id: svn://10.0.0.236/trunk@171774 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 03:35:24 +00:00
bsmedberg%covad.net
06d0e4ec39 Bug 288626 - Begin switch from MOZILLA_STRICT_API to MOZILLA_INTERNAL_API rs=darin for the Makefile var additions. Should not affect the build yet, until we flip a few switches at the end.
git-svn-id: svn://10.0.0.236/trunk@171465 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-01 18:22:57 +00:00
darin%meer.net
2c2a166b53 fixes bug 286147 "switch from .xulapp to application.ini" r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@171271 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-28 19:36:24 +00:00
bzbarsky%mit.edu
524ff8b031 Make console service init handle out-of-memory. Bug 281093, patch by Daniel de
Wildt <dewildt@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@170096 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-02 16:37:53 +00:00
dougt%meer.net
e01d005842 bug 280245. WinCE build and support changes. r=darin
git-svn-id: svn://10.0.0.236/trunk@168534 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-30 21:33:47 +00:00
timeless%mozdev.org
cf0cc2c5ac Bug 127760 complete patch file for OpenUNIX and OpenServer ports
patch by bugzilla@hiram.ws r=dougt


git-svn-id: svn://10.0.0.236/trunk@167874 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-17 07:09:33 +00:00
bryner%brianryner.com
59c875f83e Add support for using gcc's visibility pragma to treat all function and method declarations as "hidden" unless declared otherwise. Create wrappers for system headers that cause them to be treated as default-visibility declarations. This gives a substantial code size and performance win on compilers that support it, and should show up on the gruff tinderbox. Bug 273336, r=darin sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@166738 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-15 05:52:44 +00:00
doronr%us.ibm.com
2561ed3582 Bug 223097 - XML Schema Validation initial checkin, not built by default. Lives in extensions/schema-validation. r=jst for build changes.
git-svn-id: svn://10.0.0.236/trunk@166562 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-10 15:11:31 +00:00
shaver%mozilla.org
eff2dae6fa add STORAGE error module, r=bz
git-svn-id: svn://10.0.0.236/trunk@166456 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 23:14:13 +00:00
timeless%mozdev.org
41ffe5147a Bug 251078 Remove xpcom's rebase utility
patch by sdwalker@myrealbox.com r=bryner


git-svn-id: svn://10.0.0.236/trunk@165659 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 20:00:26 +00:00
bsmedberg%covad.net
adf71a12ee Bug 271313 - nsMemory::HeapMinimize crashes r=darin (regression introduced in bug 267767
git-svn-id: svn://10.0.0.236/trunk@165640 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:20:00 +00:00
darin%meer.net
e3117874fa fixes bug 261083 "Channels do not uniformly query their notification callbacks" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165373 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 20:16:52 +00:00
bsmedberg%covad.net
2e8365dc8d Remove extraneous semicolon (breaks gcc3.4 and mingw) r=bustage
git-svn-id: svn://10.0.0.236/trunk@165322 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-12 21:46:49 +00:00
bsmedberg%covad.net
80c1808b53 Bug 267767 - Make XPCOM memory management functions frozen exports. r=darin sr=shaver
git-svn-id: svn://10.0.0.236/trunk@165320 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-12 19:26:37 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
darin%meer.net
ba445e81f5 fixes bug 266006 "xpcom/glue should not declare methods with NS_COM" r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164620 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 19:43:51 +00:00
timeless%mozdev.org
8c9f105a7f Bug 254555 mark nsConsoleService as nsIClassInfo::THREAD_SAFE
r=dougt


git-svn-id: svn://10.0.0.236/trunk@164548 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-28 07:34:41 +00:00
darin%meer.net
3f701b6803 landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner
git-svn-id: svn://10.0.0.236/trunk@164375 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 19:34:45 +00:00
cls%seawood.org
91c0c9bfc4 Only use Debugger() if building against carbon or cocoa toolkits.
Fixing OSX/X11 bustage.
Bug #249028 sr=darin


git-svn-id: svn://10.0.0.236/trunk@162524 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-18 16:35:28 +00:00
mkaply%us.ibm.com
d924b7872b This stuff doesn't work on OS/2 and is causing thousands of warnings errors
git-svn-id: svn://10.0.0.236/trunk@159688 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-22 20:27:48 +00:00
tor%cs.brown.edu
07fbe41a19 Bug 249048 - Implement SVG exceptions.
p=jonathan.watt@strath.ac.uk, r=afri, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@159672 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-22 18:34:36 +00:00
peterv%propagandism.org
64199b57a4 Fix for bug 249028 (Make XPCOM_DEBUG_BREAK=trap work on OS X). r=bryner, sr=dougt.
git-svn-id: svn://10.0.0.236/trunk@159654 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-22 14:44:38 +00:00
dbaron%dbaron.org
53e38ceb98 Only use __attribute__ on gcc 3 or higher. Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@159218 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 23:43:15 +00:00
bryner%brianryner.com
e372b2e9a3 Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@159199 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 22:14:34 +00:00
caillon%redhat.com
aa28f26b6c Kill off nsComObsolete.h
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@156539 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-18 18:09:16 +00:00