Nicholas Nethercote
c0681f567c
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
Jonathan Watt
276bdfa251
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
478ad1a412
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
512be86d8c
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
906d82a1fc
Bug 680625 part 0: Remove checks and workarounds for 20th century compilers. r=ted
2011-08-26 00:35:13 +01:00
Matheus Kerschbaum
44209e0bdf
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Jesse Ruderman
d9ffe57ec1
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
370eb55bf7
Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew
2011-05-23 18:54:47 +02:00
Jacek Caban
89d95b5426
Bug 614631 - Macros for SEH exception depending on compiler configuration r+a=benjamin
2011-01-11 10:16:59 +00:00
Walter Meinl
010030bdc2
Bug 577011 - [OS/2] make _declspec unconditionally default symbol export r=daveryeo@telus.net a=benjamin
2010-11-09 11:13:03 +01:00
Saint Wesonga
a5cb67c11a
Bug 581479 - Convert C++ style comment. r=benjamin, a=comment-only
2010-08-08 17:06:35 +02:00
Benjamin Smedberg
33e4115e46
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
dabbd7d323
Bug 569547 - fastcall useless on win64. r=benjamin
2010-06-14 12:12:48 +02:00
Philip Prindeville
0ca1608b61
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
c4df938d48
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
3b4ab9f5a1
Bug 547964 - r=dbaron
2010-04-12 11:53:59 -04:00
Chris Jones
4eb274531d
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
3a57955620
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
aeab3a15f2
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
1823ed419e
Make NS_IsMainThread faster on our major platforms. (Bug 521750) r=dbaron
2009-10-28 10:28:57 -07:00
Chris Jones
e2ae8bdb88
Backed out changeset 8cbc47eee659
2009-10-02 18:09:08 -05:00
Chris Jones
054774d2e1
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
d52442a811
Bug 500870 - NS_OVERRIDE indicates that a method must override a base-class method, r=taras
2009-09-04 11:21:31 -04:00
Zack Weinberg
b6fe8205dd
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
a23bd7dfcd
Bug 499262 - Remove Metoworks Code for OS 9. r+sr=bsmedberg
2009-07-24 19:11:23 +09:00
Henry Jia
e6b86184f2
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
ff8c87ea4c
Bug 440714 use -xldscope for Sun Studio on Solaris r=vladimir,benjamin sr=benjamin
2008-09-08 14:21:07 +08:00
Benjamin Smedberg
4353a8dec9
Fix stupid static-checking-only typo
2008-09-04 10:51:06 -04:00
Benjamin Smedberg
ffda0b1a76
Bug 453341 - Allow stack checking to be suppressed per-function, r=dmandelin sr=jst
2008-09-03 13:00:12 -04:00
Benjamin Smedberg
176db77f5d
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
d18d71ab4f
Whitespace change to effectively clobber orange Windows test boxes
2008-07-30 09:55:13 -07:00
David Mandelin
9da220efd7
Bug 431832: NS_inparams attr for outparams checker, r=bsmedberg, a=bsmedberg
2008-05-02 18:03:38 -07:00
Benjamin Smedberg
d15afd418d
Bug 431677 - outparam errors in netwerk/cookie, r=dmandelin
2008-05-01 15:12:33 -04:00
David Mandelin
c3e559def3
Bug 422555: outparam and inoutparam attributes
2008-04-24 15:05:06 -07:00
2dee9c165a
Merge cvs-trunk-mirror -> mozilla-central
2008-03-12 16:32:37 -04:00
8d2f3315fd
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
fb05675162
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
3dc49bfcd5
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
f9a0ad5c97
Bug 348748 - Remove the NS_.*_CAST macros completely! r=bsmedberg, a=no-functionality-change
2007-09-05 15:31:12 -07:00
98de634631
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
8f3818269d
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
b698bf533f
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
b5714c2970
Make NS_LIKELY/NS_UNLIKELY accept pointers etc. b=340244 r+sr=darin
2006-11-09 17:41:03 +00:00
cbiesinger@web.de
059442a48d
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
4625d1f717
Bug 305949 - stop exporting nonfrozen XPCOM symbols when libxul is enabled, r=darin
2006-08-02 18:27:25 +00:00
benjamin@smedbergs.us
fa111bf45b
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
9a87720c62
#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
a38fe476db
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
00d84a96a3
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
04900764df
323337 Use fastcall on Mac OS X x86: __attribute__(regparm(3)). r=josh
2006-01-23 20:11:08 +00:00