Commit Graph

43 Commits

Author SHA1 Message Date
Steve Fink
e8e225562e Bug 1162310 - Do not use nonexistent macro when XGILL_PLUGIN is defined, r=bhackett 2015-05-07 09:49:41 -07:00
Ehsan Akhgari
342a09c057 Bug 1156030 - Remove some obsolete static assertion macros from the tree; r=Waldo 2015-04-21 14:22:43 -04:00
Ehsan Akhgari
2ee96212b6 Bug 1156028 - Teach clang-analyzer about XPCOM assertion macros; r=froydnj 2015-04-20 13:10:35 -04:00
Nicholas Nethercote
0f5dc1f481 Bug 1127201 (attempt 2, part 3) - Remove the NS_ABORT_IF_FALSE macro. r=Waldo. 2015-02-04 20:07:09 -08:00
Andrew McCreight
f3dd98b6fc Back out Bug 1127201 (part 3) for various problems. 2015-02-06 15:04:00 -08:00
Nicholas Nethercote
aa8347555e Bug 1127201 (part 3) - Remove the NS_ABORT_IF_FALSE macro. r=Waldo. 2015-02-04 20:07:09 -08:00
Kartikaya Gupta
86dc212385 Bug 1111407 - Allow sending a copy of all stderr to a file to get around logcat overflow. r=ehsan 2014-12-15 15:00:56 -05:00
L. David Baron
0af7d1998e Bug 1100770 - Better document existing printf_stderr, vprintf_stderr, fprintf_stderr functions. r=froydnj 2014-11-26 22:29:44 -08:00
Botond Ballo
de236fcf39 Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel
--HG--
extra : rebase_source : 667fc18943d84f1ae28579fc23f846f9350e6fe2
2014-08-26 17:14:51 -04:00
Nicholas Nethercote
97292033d3 Bug 1058388 - Remove NS_COM_GLUE and IMETHOD_VISIBILITY. r=bsmedberg.
--HG--
extra : rebase_source : 250ec1323d4097101a8e0331a2bf7fab59f72b1d
2014-08-27 15:47:27 -07:00
Ryan VanderMeulen
dc257cd65c Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Botond Ballo
3d7ea0d29f Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel 2014-08-25 18:28:25 -04:00
Birunthan Mohanathas
2bf30da924 Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
Birunthan Mohanathas
f00a91dc9a Bug 1022456 - Convert xpcom/glue/ to Gecko style. r=froydnj 2014-06-26 18:35:39 -07:00
Benoit Girard
7fe0725c7a Bug 1004899 - Add stderr to profile output. r=ehsan
--HG--
extra : rebase_source : e21a60c60521bcd0471c36645378ef9231c9e243
2014-05-01 22:05:49 -04:00
Nathan Froyd
73dbe7d676 Bug 984443 - get rid of #ifndef $OTHER_HEADER bits from xpcom/ as relics of a bygone era; r=ehsan 2014-03-17 12:20:47 -04:00
Landry Breuil
d37a93b867 Bug 944410 - add missing #include <stdarg.h> for va_list on OpenBSD after bug 942483 r=bgirard 2013-11-30 13:48:34 +01:00
Benjamin Smedberg
09c0296c7a Bug 938794 - Annotate OOM size as infallible string or data structures abort, r=froydnj
--HG--
extra : rebase_source : f84278dfbba92c6d75458b525a559b6f8598500f
2013-11-25 15:06:17 -05:00
Benoit Girard
74c90d1629 Bug 942483 - Port paint-dumping to android/b2g. r=gal 2013-11-23 17:44:18 -05:00
Benjamin Smedberg
d866f6b84f Bug 672843 part B - Remove NS_ENSURE_PROPER_AGGREGATION, r=froydnj 2013-11-19 16:27:36 -05:00
Benjamin Smedberg
f9d80661a4 Bug 672843 part A - Create the new macro NS_WARN_IF and deprecate NS_ENSURE_* in favor of the explicit warning/return style. Also localize each macro so that it's debug and non-debug versions are local in the file, because that makes it easier for new contributors to understand. r=froydnj sr=jst 2013-11-19 16:27:36 -05:00
Kyle Huey
60f633a49e Bug 907914: Turn on refcounting threadsafety assertions in opt trunk builds. r=bent 2013-08-30 10:06:37 -07:00
Jacek Szpot
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Nathan Froyd
9738536099 Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Ehsan Akhgari
5d0ab6fa28 Backout changeset 9e38c5518605, fc59bd8d49ba, d0ba1abde985, and acf91f25f228 (bugs 796119, 796279, and 797106) because of broken reftests on 64-bit platforms 2012-10-02 23:16:36 -04:00
Nathan Froyd
d1cd4155c7 Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Kyle Huey
233491396d Bug 753659: Make refcounting threadsafety assertions fatal. r=bsmedberg 2012-09-22 12:45:44 -07:00
Koosha Khajeh Moogahi
e98cd6bf45 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Ehsan Akhgari
59fbcc9b3c Bug 788014 - Part 2: Reduce the inclusion of prtypes.h in the tree to help using stdint types; r=jrmuizel
--HG--
extra : rebase_source : 66b3b6b9858fb032bebcc070347f781bdf61770c
2012-09-06 17:54:59 -04:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Benoit Jacob
d5e77f32fc Bug 754572 - add option to use fatal assertions in NS_CheckThreadSafe, use it in nsBaseScreen and nsScreenManagerAndroid - r=bsmedberg 2012-07-05 10:32:10 -04:00
Benoit Jacob
d494041006 Bug 754572 - let NS_CheckThreadSafe(x,y) be empty in XPCOM_GLUE case, as opposed to letting it evaluate to (x,y) - r=bz 2012-07-05 10:14:09 -04:00
Jonathan Watt
9ac7bb2267 Bug 767388 - Kill NS_DEBUG. r=bz.
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Hackett
abdc87c9ca Header changes for sixgill, annotations. bug 601129, r=jorendorff 2010-10-01 21:00:55 -07:00
Brian Hackett
7977c3b1cb Remove spurious \r's. Go Windows. b=541220, r=aidan 2010-04-22 11:13:05 -07:00
Brian Hackett
cd6ae28e5f Bug 541220 - Integrate sixgill into build system. r=dwitte 2010-04-15 11:44:23 -07:00
Chris Jones
002151e9b2 Bug 58904: Create strong types for synchronization primitives. r=bsmedberg. 2009-04-18 18:54:23 -07:00
Jeff Walden
71119aeb18 Bug 429930 - NS_ABORT_IF_FALSE lies and doesn't abort if the given condition is false, making it exactly equivalent to NS_ASSERTION. Make it abort so we can use it when we really want a fatal assertion, if only the NS_ASSERTION macro implemented it. r+sr=shaver 2008-06-04 22:24:05 -04:00
jag@tty.nl
8bd7c5cef0 Bug 392055: NS_ENSURE_SUCCESS should print out the error code. Original patch by Shawn Wilsher (sdwilsh) <comrade693+bmo@gmail.com>, updated by me to handle the standalone xpcom glue case and to use printf safely. r=bsmedberg, sr=bzbarsky, a=dsicore. 2007-09-28 11:59:07 -07:00
gavin@gavinsharp.com
f2774a0bcb Back out bug 392055 due to bustage 2007-09-23 20:44:28 -07:00
sdwilsh@shawnwilsher.com
cc8e5bfb57 Bug 392055 - NS_ENSURE_SUCCESS should print out the error code. r=benjamin, sr=bzbarsky, a=bzbarsky 2007-09-23 19:04:47 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00