David Mandelin
bdecc882a0
Bug 422555: outparam and inoutparam attributes
2008-04-24 15:05:06 -07:00
benjamin@smedbergs.us
e6abb3a465
Merge cvs-trunk-mirror -> mozilla-central
...
--HG--
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
2008-03-12 16:32:37 -04:00
reed@reedloden.com
f595a22e33
Bug 414063 - "annotate xpidl-generated c++ headers with attributes for scriptable and deprecated methods" [p=Pidgeot18@gmail.com (Joshua Cranmer) r=dbradley a1.9=damons]
2008-03-12 04:00:24 -07:00
benjamin@smedbergs.us
4358bb36ee
Bug 419624 - Build framework, basic usage, and testsuite for statically checking the codebase using gcc-dehydra, r=luser,dbaron,tglek
2008-02-27 11:28:13 -05:00
jag@tty.nl
dfa403949b
Fix bustage from previous checkin for bug 392055. Move #define of XPCOM_GLUE_AVOID_NSPR from nsISupportsImpl.h to nscore.h. r/a=bsmedberg
2007-09-28 13:33:32 -07:00
jwalden@mit.edu
8d8754b0e8
Bug 348748 - Remove the NS_.*_CAST macros completely! r=bsmedberg, a=no-functionality-change
2007-09-05 15:31:12 -07:00
jwalden@mit.edu
12e960c504
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
roc+@cs.cmu.edu
0054412272
Bug 374866. Reftests for text-transform. r=dbaron
2007-03-22 16:01:14 -07:00
reed%reedloden.com
915cc2f649
Bug 414063 - "annotate xpidl-generated c++ headers with attributes for scriptable and deprecated methods" [p=Pidgeot18@gmail.com (Joshua Cranmer) r=dbradley a1.9=damons]
2008-03-12 11:00:59 +00:00
jag%tty.nl
ba8a8d1242
Fix bustage from previous checkin for bug 392055. Move #define of XPCOM_GLUE_AVOID_NSPR from nsISupportsImpl.h to nscore.h. r/a=bsmedberg
2007-09-28 20:33:33 +00:00
jwalden%mit.edu
97daf72ebf
Bug 348748 - Remove the NS_.*_CAST macros completely! r=bsmedberg, a=no-functionality-change
2007-09-05 22:31:12 +00:00
jwalden%mit.edu
ef68fcf595
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 07:08:56 +00:00
mats.palmgren%bredband.net
57cc88bce4
Make NS_LIKELY/NS_UNLIKELY accept pointers etc and always return 0 or 1. b=340244 r+sr=darin
2006-11-18 00:48:56 +00:00
mats.palmgren%bredband.net
cfb7879dc8
Backing out the NS_LIKELY/NS_UNLIKELY change to see if it fixes Tinderbox orange. b=340244
2006-11-09 22:52:19 +00:00
mats.palmgren%bredband.net
038bf019d7
Make NS_LIKELY/NS_UNLIKELY accept pointers etc. b=340244 r+sr=darin
2006-11-09 17:41:03 +00:00
cbiesinger%web.de
33e35afd71
bug 348748 make NS_*_CAST always use C++-style casts (in preparation for
...
removing the macros altogether)
r=bsmedberg sr=dbaron
2006-09-04 23:04:57 +00:00
benjamin%smedbergs.us
66d7b11b39
Bug 305949 - stop exporting nonfrozen XPCOM symbols when libxul is enabled, r=darin
2006-08-02 18:27:25 +00:00
benjamin%smedbergs.us
6cb145f253
Bug 334038 - Separate out the frozen C stringapi and the glued C++ wrappers, fix a few bugs along the way, and move some of the utils from nsCRT into nsCRTGlue for use by frozen-linkage code. r=darin
...
CVS history for xpcom/string/public/nsXPCOMStrings.h is at xpcom/string/public/nsStringAPI.h
CVS history for xpcom/build/nsXPCOMStrings.cpp is at xpcom/build/nsStringAPI.cpp
CVS history for xpcom/glue/nsStringAPI.h is at xpcom/string/public/nsStringAPI.h
2006-05-03 16:11:14 +00:00
mkaply%us.ibm.com
2248c57ea5
#3011064
...
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-03-08 19:56:32 +00:00
timeless%mozdev.org
59922a25dd
Bug 327997 warning C4005: 'EXTERN_C' : macro redefinition nscore.h and winnt.h
...
r=darin sr=darin
2006-03-06 01:49:10 +00:00
benjamin%smedbergs.us
da580e6a3c
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
mark%moxienet.com
142f6828fb
323337 Use fastcall on Mac OS X x86: __attribute__(regparm(3)). r=josh
2006-01-23 20:11:08 +00:00
bsmedberg%covad.net
176c7174c5
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
123e65e0e5
Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver
2005-11-10 14:43:22 +00:00
bsmedberg%covad.net
1172c33dfc
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
6239862472
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
joshmoz%gmail.com
6bf82a547b
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
cb9a437785
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
e5d57face6
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
bsmedberg%covad.net
a451abf58c
Backout bug 298047 per Chase as it breaks some downrev mac systems unexpectedly.
2005-06-30 02:04:23 +00:00
bsmedberg%covad.net
94e08bd10b
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
joshmoz%gmail.com
0653646f70
remove XP_MAC code from xpcom/base. r=josh r=dougt a=bsmedberg
2005-06-24 00:24:42 +00:00
bzbarsky%mit.edu
ddc9743e5e
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
7da9618f88
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
564337d16d
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
darin%meer.net
02f8c9d9ad
fixes bug 286147 "switch from .xulapp to application.ini" r=bsmedberg
2005-03-28 19:36:24 +00:00
bryner%brianryner.com
884453541b
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
darin%meer.net
fb118993e7
fixes bug 266006 "xpcom/glue should not declare methods with NS_COM" r=bsmedberg
2004-10-29 19:43:51 +00:00
mkaply%us.ibm.com
b8fca0d80e
This stuff doesn't work on OS/2 and is causing thousands of warnings errors
2004-07-22 20:27:48 +00:00
dbaron%dbaron.org
49453aa5cd
Only use __attribute__ on gcc 3 or higher. Fixing bustage.
2004-07-14 23:43:15 +00:00
bryner%brianryner.com
377380315d
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
gerv%gerv.net
6f486a3c92
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-18 14:21:17 +00:00
neil%parkwaycc.co.uk
63e200f5f3
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
bryner%brianryner.com
d2eefcf3f2
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
bryner%brianryner.com
0cf1253322
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
48117afde3
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
6c7448b0e3
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
mkaply%us.ibm.com
f7c33c2698
#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
577de49b39
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
5a2b401762
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