895 Commits

Author SHA1 Message Date
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
darin%meer.net
12eda6a14c fixes bug 242985 "Define module for IPC specific error codes" r/moa=dougt
git-svn-id: svn://10.0.0.236/trunk@156227 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-11 05:04:25 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
neil%parkwaycc.co.uk
ab665b1b67 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
git-svn-id: svn://10.0.0.236/trunk@154263 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-25 19:55:16 +00:00
timeless%mozdev.org
97c5b38243 Bug 190766 nsStackFrameUnix.cpp crashes on Solaris [@ write_address_file]
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@153669 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-08 07:47:44 +00:00
bryner%brianryner.com
d6862f7987 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.
git-svn-id: svn://10.0.0.236/trunk@153661 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-07 23:32:08 +00:00
cls%seawood.org
3fbe4d6c86 Remove troublesome libiberty dependency by using __cxa_demangle instead of cplus_demangle. (redux)
Bug #232763 r=dbaron sr=brendan


git-svn-id: svn://10.0.0.236/trunk@152657 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 07:16:11 +00:00
cls%seawood.org
3cf0350971 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


git-svn-id: svn://10.0.0.236/trunk@152605 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 18:55:04 +00:00
cls%seawood.org
929086f7ff Remove troublesome libiberty dependency by using __cxa_demangle instead of cplus_demangle.
Bug #232763 r=dbaron sr=brendan


git-svn-id: svn://10.0.0.236/trunk@152593 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 16:19:47 +00:00
bryner%brianryner.com
b4bcadff7f Second try at enabling hidden visibility for NS_IMETHOD on ELF platforms (bug 227537). r+sr=dbaron for the changes.
git-svn-id: svn://10.0.0.236/trunk@152272 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 04:55:57 +00:00
bryner%brianryner.com
23399a7583 Turn off visibility until I can figure out how to fix this for older gcc's that won't accept visibility=default
git-svn-id: svn://10.0.0.236/trunk@152213 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 09:09:41 +00:00
bryner%brianryner.com
34c56dea27 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.
git-svn-id: svn://10.0.0.236/trunk@152211 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 08:32:33 +00:00
bryner%brianryner.com
1bd144eac3 Continuing removal of unneeded virtual destructors (bug 229875). r=dougt, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151669 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 01:01:19 +00:00
bryner%brianryner.com
b5ccad4460 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.
git-svn-id: svn://10.0.0.236/trunk@151359 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:14:18 +00:00
bryner%brianryner.com
bbc08089a8 Kill old file full of IIDs. r=dbaron sr=jst
git-svn-id: svn://10.0.0.236/trunk@151333 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-14 23:12:41 +00:00
bzbarsky%mit.edu
86fee95b4d 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


git-svn-id: svn://10.0.0.236/trunk@151268 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-13 23:14:49 +00:00
bryner%brianryner.com
ac18b979bc Eliminate old nsCWeakReference implementation (bug 230480). This rewrites nsListControlFrame's event listener to be a little more sane. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151106 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 22:18:26 +00:00
bryner%brianryner.com
0bb2f3af2f removing some old dead (or never alive) files. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@151072 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 08:49:01 +00:00
dbaron%dbaron.org
5230556c2f Remove pc tests in stack walking code that prevent it from working on Fedora Core 1. b=227396 r=bryner
git-svn-id: svn://10.0.0.236/trunk@150851 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-03 19:16:31 +00:00
dbaron%dbaron.org
22320a099e Remove include of stdio.h from nsTraceRefcnt.h. b=227074 r=dougt sr,a=brendan
git-svn-id: svn://10.0.0.236/trunk@150261 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-12 23:02:12 +00:00
caillon%returnzero.com
ce6c2717ae Microsoft didn't prefix their core interface names with 'ns'.
Fixing comment grammar.
No bug.
r=timeless rs=dbaron


git-svn-id: svn://10.0.0.236/trunk@149168 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-11 21:53:36 +00:00
bsmedberg%covad.net
d806a6edb3 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.


git-svn-id: svn://10.0.0.236/trunk@148776 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-03 16:46:13 +00:00
timeless%mozdev.org
12c84812b3 Bug 220062 Cleanup NS_METHOD_GETTER_STR/NS_METHOD_SETTER_STR
r=dougt


git-svn-id: svn://10.0.0.236/trunk@147211 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 01:56:06 +00:00
mkaply%us.ibm.com
1d41bd9a94 #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


git-svn-id: svn://10.0.0.236/trunk@146927 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-15 21:55:23 +00:00
bryner%brianryner.com
210c2d536d 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.
git-svn-id: svn://10.0.0.236/trunk@146894 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-15 04:20:20 +00:00
bryner%brianryner.com
109b8ccff8 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.
git-svn-id: svn://10.0.0.236/trunk@146737 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 06:31:58 +00:00
timeless%mozdev.org
64863e483a Bug 217852 ASSERTION: nsDebugImpl not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()'
r=dougt sr=darin


git-svn-id: svn://10.0.0.236/trunk@146702 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 01:42:41 +00:00
bryner%brianryner.com
c81aa21722 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146626 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:31:50 +00:00
cls%seawood.org
1697ac2c12 Move chrome files from xpcom to intl.
Bug #214690 r=dougt sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@146013 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-14 21:25:18 +00:00
dougt%meer.net
5461ee7fb8 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@145594 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 06:42:22 +00:00
dougt%meer.net
45280d0383 Removing dead files
git-svn-id: svn://10.0.0.236/trunk@145590 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 05:41:37 +00:00
dougt%meer.net
725dea8d61 nsTraceRefcntImpl not nsTraceRefcnt.
git-svn-id: svn://10.0.0.236/trunk@145588 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 05:34:11 +00:00
dougt%meer.net
6dfc67684a Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@145587 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 05:29:10 +00:00
mkaply%us.ibm.com
bd3b62e584 rs=leaf
Remove XP_OS2_VACPP from the tree


git-svn-id: svn://10.0.0.236/trunk@145075 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 18:38:01 +00:00
dougt%meer.net
62a22c39a4 Enables debug stackcrawl support in GRE builds. b=208098. r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@144537 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 22:11:36 +00:00
seawood%netscape.com
69162837f6 Move xpcom specific defines from mozilla-config.h into xpcom-config.h.
Bug #210409 r=dougt


git-svn-id: svn://10.0.0.236/trunk@144208 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-27 04:12:16 +00:00
seawood%netscape.com
72290bc923 Use the documented __declspec keyword instead of _declspec.
Bug #206934 r=dougt


git-svn-id: svn://10.0.0.236/trunk@144112 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 22:12:37 +00:00