Jonathan Watt
66f54fe5a4
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Rafael Ávila de Espíndola
16f77da63f
Bug 682066 - Drop NS_DEFCALL. r=benjamin.
...
Having NS_DEFCALL around causes problems for clang since it uses
the regpart attribute when deciding template instantiations. In
particular, it would not use the generic method specialization of
nsRunnableMethodTraits.
2011-08-30 14:22:00 -04:00
Matheus Kerschbaum
5a0a7c6411
Bug 680625 part 0: Remove checks and workarounds for 20th century compilers. r=ted
2011-08-26 00:35:13 +01:00
Matheus Kerschbaum
8a4cb927fd
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Jesse Ruderman
02491c57ba
Bug 659825 - Rename NS_DEPRECATED to MOZ_DEPRECATED to avoid conflict with Mac 10.7 SDK. r=jcranmer sr=bsmedberg
2011-06-08 09:34:02 +02:00
Matheus Kerschbaum
6eb93f7dd3
Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew
2011-05-23 18:54:47 +02:00
Jacek Caban
5eafd1843f
Bug 614631 - Macros for SEH exception depending on compiler configuration r+a=benjamin
2011-01-11 10:16:59 +00:00
Walter Meinl
859a94a18d
Bug 577011 - [OS/2] make _declspec unconditionally default symbol export r=daveryeo@telus.net a=benjamin
...
--HG--
extra : rebase_source : f73a926174bd7905f177b2e914492e42b90ac8c0
2010-11-09 11:13:03 +01:00
Saint Wesonga
3a14ffd62c
Bug 581479 - Convert C++ style comment. r=benjamin, a=comment-only
2010-08-08 17:06:35 +02:00
Benjamin Smedberg
013eba5ec7
Bug 573268 - The XPTI rewrite caused an (intentional) leak at shutdown; free this data only in trace-malloc builds so that leakstats are still useful. r=dbaron
2010-07-14 13:09:42 -04:00
Jacek Caban
4bf278c5e9
Bug 569547 - fastcall useless on win64. r=benjamin
2010-06-14 12:12:48 +02:00
Philip Prindeville
94c342007d
Bug 529921 browser part. Implement core support for RFC-2597/2598/3168 Quality-of-Service (DSCP) marking. r=biesi
2010-06-02 22:25:01 -04:00
Chris Jones
ce99d8226f
Bug 557060: Interpose _Throw() on MSVC and centralize pseudo-throw code in mozalloc. r=ehsan sr=bsmedberg
2010-04-20 15:12:02 -05:00
Julian Seward
4b42858919
Bug 547964 - r=dbaron
...
--HG--
extra : rebase_source : 88834502ab1cdac1aa7dac9557ee1aa40ccc354f
2010-04-12 11:53:59 -04:00
Chris Jones
aeb1d69308
Bug 550401: Do the __declspec import/export dance in mozalloc to avoid MSVC warnings. r=bsmedberg
2010-04-08 13:05:02 -05:00
Chris Jones
f181d3cf73
Bug 441324, part 4: Enable infallible operator new (leaving malloc fallible) in Gecko, and play well with the wince shunt. r=bsmedberg r=blassey r=vlad
2010-03-03 23:02:58 -06:00
Benjamin Smedberg
80f60eef3f
Bug 526586 - XULRunner crashes on startup on Windows r=bustage fix and at least agreement on the approach from dbaron
2009-11-09 14:30:01 -05:00
Benjamin Smedberg
9a7ff08a35
Make NS_IsMainThread faster on our major platforms. (Bug 521750) r=dbaron
2009-10-28 10:28:57 -07:00
Chris Jones
708e2e04ae
Backed out changeset 8cbc47eee659
2009-10-02 18:09:08 -05:00
Chris Jones
f2df9d3504
bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad
2009-10-01 21:50:09 -05:00
Benjamin Smedberg
b4cc34446e
Bug 500870 - NS_OVERRIDE indicates that a method must override a base-class method, r=taras
...
--HG--
extra : rebase_source : 3dc3327030dc2cdf45bdd9170c5e9d02908c0d0c
2009-09-04 11:21:31 -04:00
Zack Weinberg
d47e0f433b
Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc
2009-09-12 17:49:24 +01:00
Makoto Kato
152810b974
Bug 499262 - Remove Metoworks Code for OS 9. r+sr=bsmedberg
2009-07-24 19:11:23 +09:00
Henry Jia
7df96eb40c
Bug 178189 - |nsCOMPtr|: do we still care about VC++4.2? and if not, can we remove this comment; r=(scc + benjamin)
2008-09-29 00:17:30 +02:00
Ginn Chen
61f1976cbb
Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin
2008-09-08 14:21:07 +08:00
Benjamin Smedberg
29ff8b1d70
Fix stupid static-checking-only typo
2008-09-04 10:51:06 -04:00
Benjamin Smedberg
cb3eb39381
Bug 453341 - Allow stack checking to be suppressed per-function, r=dmandelin sr=jst
2008-09-03 13:00:12 -04:00
Benjamin Smedberg
e67d75888e
Bug 445570 - Mark CSSToken::mIdent heap autostring as we-know-what-we're-doing, r=dbaron
2008-08-27 10:58:50 -04:00
Robert O'Callahan
73dea772b7
Whitespace change to effectively clobber orange Windows test boxes
2008-07-30 09:55:13 -07:00
David Mandelin
f8c68d8368
Bug 431832: NS_inparams attr for outparams checker, r=bsmedberg, a=bsmedberg
2008-05-02 18:03:38 -07:00
Benjamin Smedberg
858a24815d
Bug 431677 - outparam errors in netwerk/cookie, r=dmandelin
2008-05-01 15:12:33 -04:00
David Mandelin
0da1bbdc0b
Bug 422555: outparam and inoutparam attributes
2008-04-24 15:05:06 -07:00
benjamin@smedbergs.us
0864212f35
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
bb454ebb6a
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
62231824a0
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
f7413d87e3
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
303ffaf798
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
6d7584839a
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
mats.palmgren%bredband.net
cca3292d36
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
e5aa498240
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
c0ddcdaf16
Make NS_LIKELY/NS_UNLIKELY accept pointers etc. b=340244 r+sr=darin
2006-11-09 17:41:03 +00:00
cbiesinger%web.de
161e140b5e
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
a1d0d30501
Bug 305949 - stop exporting nonfrozen XPCOM symbols when libxul is enabled, r=darin
2006-08-02 18:27:25 +00:00
benjamin%smedbergs.us
08887664c9
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
1a19fc9e12
#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
37681661b1
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
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
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
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