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

989 Коммитов

Автор SHA1 Сообщение Дата
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
mkaply%us.ibm.com 3686d6833a #215581
r=mkaply, sr=blizzard (platform specific)
Changes to get GCC 3.2.2 working on OS/2 - this set is OS/2 only changes
Also remove some VACPP references
2003-09-15 21:55:23 +00:00
bryner%brianryner.com 00aafbfddd Use typeof() to implement NS_STDCALL_FUNCPROTO so that pointer-to-member types using stdcall work on mingw gcc. Bug 203137, r=cls, sr=dbaron. 2003-09-15 04:20:20 +00:00
bryner%brianryner.com 00b3a1d601 Instead of repeating the same code for each event and listener interface, have nsEventListenerManager::HandleEvent use a table containing the event, interface and method, and array bits. This cuts out a _lot_ of redundant code. The checkin also adds the NS_IMETHOD_CALLBACK #define, which can be used to declare pointer-to-member types using stdcall. Bug 217124, r=jst, sr=dbaron. 2003-09-11 06:31:58 +00:00
timeless%mozdev.org 1f97351928 Bug 217852 ASSERTION: nsDebugImpl not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()'
r=dougt sr=darin
2003-09-11 01:42:41 +00:00
bryner%brianryner.com 06c7c1b2b4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:31:50 +00:00
cls%seawood.org 58164df36e Move chrome files from xpcom to intl.
Bug #214690 r=dougt sr=darin a=asa
2003-08-14 21:25:18 +00:00
dougt%meer.net 752aeaf186 Fixing bustage 2003-08-05 06:42:22 +00:00
dougt%meer.net b0a0a1d1bb Removing dead files 2003-08-05 05:41:37 +00:00
dougt%meer.net afedd7faa2 nsTraceRefcntImpl not nsTraceRefcnt. 2003-08-05 05:34:11 +00:00
dougt%meer.net ed09f93043 Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron 2003-08-05 05:29:10 +00:00
mkaply%us.ibm.com 1a38ab2d00 rs=leaf
Remove XP_OS2_VACPP from the tree
2003-07-22 18:38:01 +00:00
dougt%meer.net a856820d8e Enables debug stackcrawl support in GRE builds. b=208098. r=dbaron. 2003-07-07 22:11:36 +00:00
seawood%netscape.com cab1558f57 Move xpcom specific defines from mozilla-config.h into xpcom-config.h.
Bug #210409 r=dougt
2003-06-27 04:12:16 +00:00
seawood%netscape.com 7a7cda041f Use the documented __declspec keyword instead of _declspec.
Bug #206934 r=dougt
2003-06-24 22:12:37 +00:00
bsmedberg%covad.net 581fce1582 Bug 209622 - bustage fix for stupid compilers (Sun WS and DEC OSF1) -
also remove unused configure test. r=dbaron sr=alecf
2003-06-19 18:42:23 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
peterv%netscape.com 1db3c32cdc Fix for bug 208398 (Implement swap on nsRefPtr). r=sicking, sr=dbaron. 2003-06-10 11:39:54 +00:00
dbaron%dbaron.org 58f15ed67e Remove unneeded duplication from nsCOMPtr.h. b=208449 r=sicking sr=jag 2003-06-05 23:43:08 +00:00
jkeiser%netscape.com 3eaf824c9d Make nsAutoPtr declarable with forward-declared classes (bug 107291), r=bugmail@sicking.cc, sr=dbaron@dbaron.org 2003-06-05 17:55:33 +00:00
timeless%mozdev.org 2ba082c8ae Bug 205363 Remove SendStatusNotification/nsIPrintStatusCallback
r=dbaron sr=dmose
2003-05-23 22:10:13 +00:00
dbaron%dbaron.org 8eed196c97 Fix bustage on Sun Workshop compiler (nebiros tinderbox). r=darin 2003-05-16 00:52:17 +00:00
jst%netscape.com 8f24979ea4 Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com 2003-04-22 21:57:25 +00:00
seawood%netscape.com f7bf89f618 Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
timeless%mozdev.org 37891802cb Bug 199006 there are two independent initializations of nsMemoryImpl before Init_XPCOM2 finishes
r=dougt
2003-04-07 14:20:19 +00:00