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

1013 Коммитов

Автор SHA1 Сообщение Дата
benjamin%smedbergs.us f9148b34a2 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
cls%seawood.org add2f3fbb9 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 6127078dc6 323657 Fixing XULRunner bustage by moving nsMacUtils class to nsMacUtilsImpl. r=dbaron sr=dbaron 2006-02-18 21:09:59 +00:00
mark%moxienet.com 995f7e1d52 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
benjamin%smedbergs.us 5e34dab253 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 9a5e353afa 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 a9d8f4e8f9 Bug 325229 followup: only dump refcnt statistics if logging has been initialized 2006-02-10 16:19:13 +00:00
benjamin%smedbergs.us 8b72bb0f97 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 5c0a0a1611 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
timeless%mozdev.org 66f1b2ad42 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
wr%rosenauer.org e02549661e Bug 323853 - JB_BP not exported by newer glibc (2.4), r=bsmedberg, sr=shaver 2006-01-25 05:46:27 +00:00
mark%moxienet.com 18681d809c 323337 Use fastcall on Mac OS X x86: __attribute__(regparm(3)). r=josh 2006-01-23 20:11:08 +00:00
jag%tty.nl 75b6f54f62 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
bsmedberg%covad.net 3530da7ba8 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
darin%meer.net 146ceb4bc3 fixes bug 322908 "ASSERTION: NS_Alloc of size 0: 'size'" r=bsmedberg 2006-01-10 20:39:35 +00:00
bsmedberg%covad.net 8c240e5441 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
bsmedberg%covad.net 75f0b3fd3c 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
bsmedberg%covad.net d54d3d7b09 Reverting bug 316416 due to Ts regression and mysterious monkey orange :-( 2005-12-03 15:27:17 +00:00
bsmedberg%covad.net 28e3019754 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
timeless%mozdev.org f175783805 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
darin%meer.net 2943b93b4b Backing out last change to resolve SunOS bustage (bug 316782) 2005-11-24 08:46:56 +00:00
darin%meer.net ba9e9cba22 prevent "nsTArray< nsAutoPtr<T> >", which could easily lead to problems. bug 316782 r+sr=jag 2005-11-24 00:10:59 +00:00
vladimir%pobox.com 0c036ccbf2 windows sdk missing include fix 2005-11-21 21:32:36 +00:00
vladimir%pobox.com 5e3e04251d b=279521, add a way to generate UUIDs, r=darin,sr=shaver 2005-11-21 21:01:45 +00:00
timeless%mozdev.org 98c84e24ac 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
bsmedberg%covad.net 638b74d7bd Backing out bug 313309 part 3 due to various intermingled bustages. 2005-11-14 16:37:43 +00:00
bsmedberg%covad.net afaacd8030 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
bsmedberg%covad.net a4d3866df3 Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver 2005-11-10 14:43:22 +00:00
bsmedberg%covad.net a7253270ad 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 5a3dee9942 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
bsmedberg%covad.net e54a5866ab Bug 310976 - Treat 1.5.* as 1.5.infinity r=darin 2005-10-04 02:47:02 +00:00
peterv%propagandism.org 8702e6b0aa Fix for bug 307713 (Improve and use nsAgg's macros). r=dougt, sr=darin. 2005-09-28 13:13:27 +00:00
mrbkap%gmail.com 784e8e72cd 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
bsmedberg%covad.net 3e2adc9538 Bug 306334 - XULRunner debug doesn't link on mac r=darin/brendan 2005-08-31 17:20:09 +00:00
bsmedberg%covad.net db1b972744 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
timeless%mozdev.org aa089c5d09 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 458cade5ef 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)
2005-08-09 13:39:12 +00:00
timeless%mozdev.org aaae570aa3 Bug 302698 [@ DumpStackToFileMain64]
r=dougt a=bsmedberg
2005-08-02 22:17:59 +00:00
bsmedberg%covad.net b3905512fd Bug 300731 - Change app/extension version scheme going forward, r=darin+shaver a=shaver 2005-07-23 14:05:25 +00:00
joshmoz%gmail.com 275e8624be don't use regparm on i386 Mac OS X. Patch by Apple Computer, Inc. r=josh r=smfr sr=bsmedberg a=bsmedberg 2005-07-21 19:02:52 +00:00
shaver%mozilla.org 63a3c5efc3 Bug 269823: invalid casts prevent compilation on 64-bit platforms with gcc4.
Patch from falk@debian.org, r=darin, sr+a=shaver.
2005-07-20 13:12:13 +00:00
bsmedberg%covad.net c212b869b8 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 2005-07-01 12:24:07 +00:00
timeless%mozdev.org ead709b608 Bug 297723 stackwalk code not working for WinXP
patch by colin@theblakes.com r=dougt a=asa
2005-07-01 05:21:02 +00:00
bsmedberg%covad.net 9b68fa2754 Backout bug 298047 per Chase as it breaks some downrev mac systems unexpectedly. 2005-06-30 02:04:23 +00:00
bsmedberg%covad.net d7b586a56b 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) 2005-06-29 18:53:30 +00:00
timeless%mozdev.org 719c577712 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
2005-06-24 14:48:12 +00:00
timeless%mozdev.org b5a19bd671 backiing out 2005-06-24 05:20:27 +00:00
timeless%mozdev.org 5d1f516686 Bug 297723 stackwalk code not working for WinXP
patch by colin@theblakes.com (cenzic) r=dougt a=bsmedberg
2005-06-24 02:32:05 +00:00
joshmoz%gmail.com f2954af59f remove XP_MAC code from xpcom/base. r=josh r=dougt a=bsmedberg 2005-06-24 00:24:42 +00:00
bsmedberg%covad.net d2c7c9131d Bug 295247 - Allow extensions to ship plugin DLLs, part 1 - r=darin a=shaver 2005-06-02 13:29:04 +00:00
dougt%meer.net e6f2bbca35 IsLowMemory predicate needs to use total memory, page filess. WINCE only. r=dougt NPODB 2005-06-02 04:24:07 +00:00
bzbarsky%mit.edu 205abaab34 Don't use C++ comments in a file included from C code. r+sr+a=dbaron 2005-04-28 20:57:42 +00:00
dbaron%dbaron.org 5d312ec4b3 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 2005-04-07 18:11:59 +00:00
bsmedberg%covad.net 7e03c0b224 Bug 288626 - Switch the strict API from opt-in (MOZILLA_STRICT_API) to opt-out (MOZILLA_INTERNAL_API) r=darin 2005-04-06 03:35:24 +00:00
bsmedberg%covad.net beadf6cd74 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. 2005-04-01 18:22:57 +00:00
darin%meer.net a87b534479 fixes bug 286147 "switch from .xulapp to application.ini" r=bsmedberg 2005-03-28 19:36:24 +00:00
bzbarsky%mit.edu e4fa0ae687 Make console service init handle out-of-memory. Bug 281093, patch by Daniel de
Wildt <dewildt@gmail.com>, r+sr=bzbarsky
2005-03-02 16:37:53 +00:00
dougt%meer.net 55eb21a1ac bug 280245. WinCE build and support changes. r=darin 2005-01-30 21:33:47 +00:00
timeless%mozdev.org 34ab6391e1 Bug 127760 complete patch file for OpenUNIX and OpenServer ports
patch by bugzilla@hiram.ws r=dougt
2005-01-17 07:09:33 +00:00
bryner%brianryner.com d9626f6746 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. 2004-12-15 05:52:44 +00:00
doronr%us.ibm.com 9c78c6f546 Bug 223097 - XML Schema Validation initial checkin, not built by default. Lives in extensions/schema-validation. r=jst for build changes. 2004-12-10 15:11:31 +00:00
shaver%mozilla.org e1c7af5c96 add STORAGE error module, r=bz 2004-12-08 23:14:13 +00:00
timeless%mozdev.org 0f580b3f96 Bug 251078 Remove xpcom's rebase utility
patch by sdwalker@myrealbox.com r=bryner
2004-11-23 20:00:26 +00:00
bsmedberg%covad.net ab83401377 Bug 271313 - nsMemory::HeapMinimize crashes r=darin (regression introduced in bug 267767 2004-11-23 17:20:00 +00:00
darin%meer.net f103a62f64 fixes bug 261083 "Channels do not uniformly query their notification callbacks" r=biesi sr=bzbarsky 2004-11-15 20:16:52 +00:00
bsmedberg%covad.net 2ab6a99b48 Remove extraneous semicolon (breaks gcc3.4 and mingw) r=bustage 2004-11-12 21:46:49 +00:00
bsmedberg%covad.net 82022506fd Bug 267767 - Make XPCOM memory management functions frozen exports. r=darin sr=shaver 2004-11-12 19:26:37 +00:00
darin%meer.net 189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
darin%meer.net abcd15ca39 fixes bug 266006 "xpcom/glue should not declare methods with NS_COM" r=bsmedberg 2004-10-29 19:43:51 +00:00
timeless%mozdev.org f731589825 Bug 254555 mark nsConsoleService as nsIClassInfo::THREAD_SAFE
r=dougt
2004-10-28 07:34:41 +00:00
darin%meer.net 52ac61d678 landing patch for bug 262218 "libxpcom.so should only export frozen symbols" r=bsmedberg sr=bryner 2004-10-25 19:34:45 +00:00
cls%seawood.org 6b54ce8078 Only use Debugger() if building against carbon or cocoa toolkits.
Fixing OSX/X11 bustage.
Bug #249028 sr=darin
2004-09-18 16:35:28 +00:00
mkaply%us.ibm.com ae6ca1e908 This stuff doesn't work on OS/2 and is causing thousands of warnings errors 2004-07-22 20:27:48 +00:00
tor%cs.brown.edu f463a3d401 Bug 249048 - Implement SVG exceptions.
p=jonathan.watt@strath.ac.uk, r=afri, sr=peterv
2004-07-22 18:34:36 +00:00
peterv%propagandism.org 994a35f4b3 Fix for bug 249028 (Make XPCOM_DEBUG_BREAK=trap work on OS X). r=bryner, sr=dougt. 2004-07-22 14:44:38 +00:00
dbaron%dbaron.org 13588951d2 Only use __attribute__ on gcc 3 or higher. Fixing bustage. 2004-07-14 23:43:15 +00:00
bryner%brianryner.com 23089547be 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. 2004-07-14 22:14:34 +00:00
caillon%redhat.com 178bb153f1 Kill off nsComObsolete.h
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
2004-05-18 18:09:16 +00:00
darin%meer.net 63f37119b2 fixes bug 242985 "Define module for IPC specific error codes" r/moa=dougt 2004-05-11 05:04:25 +00:00
gerv%gerv.net 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
neil%parkwaycc.co.uk 5a5283ca12 Supplementary patch to bug 227537 because some versions of gcc don't accept all placements of the visibility attribute r=bryner sr=blizzard a=asa 2004-03-25 19:55:16 +00:00
timeless%mozdev.org f89754b7da Bug 190766 nsStackFrameUnix.cpp crashes on Solaris [@ write_address_file]
r=dbaron
2004-03-08 07:47:44 +00:00
bryner%brianryner.com 146a922871 Add NS_LIKELY and NS_UNLIKELY macros that can be used to give the compiler branch probability information. Make NS_SUCCEEDED and NS_FAILED use these macros so that we optimize for the success case. Bug 236753, r+sr=dbaron. 2004-03-07 23:32:08 +00:00
cls%seawood.org 486c2570e0 Remove troublesome libiberty dependency by using __cxa_demangle instead of cplus_demangle. (redux)
Bug #232763 r=dbaron sr=brendan
2004-02-11 07:16:11 +00:00
cls%seawood.org 1a0e9742d7 Backing out previous changes.
Missed a cplus_demangle call and it turns out that all of trace-malloc needs to be tweaked to use c++ instead of C.
Bug #232763
2004-02-10 18:55:04 +00:00
cls%seawood.org 761be36b61 Remove troublesome libiberty dependency by using __cxa_demangle instead of cplus_demangle.
Bug #232763 r=dbaron sr=brendan
2004-02-10 16:19:47 +00:00
bryner%brianryner.com 6e68ebaa46 Second try at enabling hidden visibility for NS_IMETHOD on ELF platforms (bug 227537). r+sr=dbaron for the changes. 2004-02-04 04:55:57 +00:00
bryner%brianryner.com e93d497a66 Turn off visibility until I can figure out how to fix this for older gcc's that won't accept visibility=default 2004-02-03 09:09:41 +00:00
bryner%brianryner.com 0ca4d12034 Make NS_IMETHOD set hidden symbol visibility by default on ELF platforms. This is always desirable for virtual methods implemented in XPCOM component libraries, since it's impossible to reference the symbol from outside of the library. The behavior can be overridden as needed, such as a base class in a shared library that's linked against. For more details, see the comments in nscore.h and bug 227537. r=dbaron, sr=darin. 2004-02-03 08:32:33 +00:00
bryner%brianryner.com a10a5e8383 Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron. 2004-01-22 01:01:19 +00:00
bryner%brianryner.com 0c7c3a2ff3 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
bryner%brianryner.com f464f8b3fc Kill old file full of IIDs. r=dbaron sr=jst 2004-01-14 23:12:41 +00:00
bzbarsky%mit.edu 8093efd14c Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
2004-01-13 23:14:49 +00:00
bryner%brianryner.com 0286fde9c1 Eliminate old nsCWeakReference implementation (bug 230480). This rewrites nsListControlFrame's event listener to be a little more sane. r+sr=dbaron. 2004-01-09 22:18:26 +00:00
bryner%brianryner.com 9cd047f172 removing some old dead (or never alive) files. not part of the build. 2004-01-09 08:49:01 +00:00
dbaron%dbaron.org b7de5d5648 Remove pc tests in stack walking code that prevent it from working on Fedora Core 1. b=227396 r=bryner 2004-01-03 19:16:31 +00:00
dbaron%dbaron.org 6931545fdc Remove include of stdio.h from nsTraceRefcnt.h. b=227074 r=dougt sr,a=brendan 2003-12-12 23:02:12 +00:00
caillon%returnzero.com 9dcccc1156 Microsoft didn't prefix their core interface names with 'ns'.
Fixing comment grammar.
No bug.
r=timeless rs=dbaron
2003-11-11 21:53:36 +00:00
bsmedberg%covad.net 2034fc15f9 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.
2003-11-03 16:46:13 +00:00
timeless%mozdev.org b47650a711 Bug 220062 Cleanup NS_METHOD_GETTER_STR/NS_METHOD_SETTER_STR
r=dougt
2003-09-24 01:56:06 +00:00