Commit Graph

68 Commits

Author SHA1 Message Date
Steve Fink
4696bbb9bb Bug 1162310 - Do not use nonexistent macro when XGILL_PLUGIN is defined, r=bhackett 2015-05-07 09:49:41 -07:00
Ehsan Akhgari
d9acf29164 Bug 1156030 - Remove some obsolete static assertion macros from the tree; r=Waldo 2015-04-21 14:22:43 -04:00
Ehsan Akhgari
5f0881261e Bug 1156028 - Teach clang-analyzer about XPCOM assertion macros; r=froydnj 2015-04-20 13:10:35 -04:00
Nicholas Nethercote
4f4023f6d8 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
64644acbbe Back out Bug 1127201 (part 3) for various problems. 2015-02-06 15:04:00 -08:00
Nicholas Nethercote
2c827a086e Bug 1127201 (part 3) - Remove the NS_ABORT_IF_FALSE macro. r=Waldo. 2015-02-04 20:07:09 -08:00
Kartikaya Gupta
a88f0901d0 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
759583e9b0 Bug 1100770 - Better document existing printf_stderr, vprintf_stderr, fprintf_stderr functions. r=froydnj 2014-11-26 22:29:44 -08:00
Botond Ballo
ba2a1aee57 Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel 2014-08-26 17:14:51 -04:00
Nicholas Nethercote
b35d1d1aa7 Bug 1058388 - Remove NS_COM_GLUE and IMETHOD_VISIBILITY. r=bsmedberg. 2014-08-27 15:47:27 -07:00
Ryan VanderMeulen
e36f8c0dfc 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
3511fdd230 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
8a4a4c8465 Bug 1022456 - Fix modelines in xpcom/{base,glue,io,string,threads}/. r=froydnj 2014-06-30 08:39:45 -07:00
Birunthan Mohanathas
ce774b1fa6 Bug 1022456 - Convert xpcom/glue/ to Gecko style. r=froydnj 2014-06-26 18:35:39 -07:00
Benoit Girard
5fe3d6ebd3 Bug 1004899 - Add stderr to profile output. r=ehsan 2014-05-01 22:05:49 -04:00
Nathan Froyd
8e40c7cede 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
4f48122d93 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
1246de99b0 Bug 938794 - Annotate OOM size as infallible string or data structures abort, r=froydnj 2013-11-25 15:06:17 -05:00
Benoit Girard
6bbceb3263 Bug 942483 - Port paint-dumping to android/b2g. r=gal 2013-11-23 17:44:18 -05:00
Benjamin Smedberg
5fe1e0ff3b Bug 672843 part B - Remove NS_ENSURE_PROPER_AGGREGATION, r=froydnj 2013-11-19 16:27:36 -05:00
Benjamin Smedberg
7aa4f21572 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
2b254a140d Bug 907914: Turn on refcounting threadsafety assertions in opt trunk builds. r=bent 2013-08-30 10:06:37 -07:00
Jacek Szpot
09f9b9a1c3 Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Nathan Froyd
e2fbb0a25b 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
e4907ec4f6 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
a2064e331e 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
2aa021cb1f Bug 753659: Make refcounting threadsafety assertions fatal. r=bsmedberg 2012-09-22 12:45:44 -07:00
Koosha Khajeh Moogahi
0fb083278a 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
fc7d584a56 Bug 788014 - Part 2: Reduce the inclusion of prtypes.h in the tree to help using stdint types; r=jrmuizel 2012-09-06 17:54:59 -04:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Benoit Jacob
eb504165d5 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
9f552caaa7 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
131c149f2a Bug 767388 - Kill NS_DEBUG. r=bz. 2012-06-25 20:59:42 +01:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Hackett
ca0d17e1a6 Header changes for sixgill, annotations. bug 601129, r=jorendorff 2010-10-01 21:00:55 -07:00
Brian Hackett
6d61aca91a Remove spurious \r's. Go Windows. b=541220, r=aidan 2010-04-22 11:13:05 -07:00
Brian Hackett
ae3aaa1e16 Bug 541220 - Integrate sixgill into build system. r=dwitte 2010-04-15 11:44:23 -07:00
Chris Jones
3fa45fa574 Bug 58904: Create strong types for synchronization primitives. r=bsmedberg. 2009-04-18 18:54:23 -07:00
Jeff Walden
193ef4fe77 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
82e41f0587 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
785b635561 Back out bug 392055 due to bustage 2007-09-23 20:44:28 -07:00
39875a5cb2 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
asqueella@gmail.com
82fec4f76f Bug 366742 - printf_stderr should be declared as NS_COM_GLUE
p=Andrew Miller <ak.miller@auckland.ac.nz>
r=bsmedberg, sr=shaver
2007-02-20 20:28:53 +00:00
benjamin@smedbergs.us
34da44c811 Bug 340443 - Not possible to use the XPCOM glue with the static CRT, r=neil sr=darin 2006-09-12 18:22:40 +00:00
darin@meer.net
b781c3869c fixes bug 305987 "NS_WARN_IF_FALSE asserts" r=bsmedberg 2006-02-28 22:19:55 +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
pkw@us.ibm.com
9eb5573338 Bug 307478 - Build failure with syntax error in nsDebug.h - Fixes AIX build bustage.
Patch by Rupesh Thota <trupesh@in.ibm.com>
r=benjamin@smedbergs.us
2005-09-08 13:59:09 +00:00
bsmedberg@covad.net
9b4c5f6686 Bug 306344 bustage fix: NS_COM_GLUE and NS_HIDDEN_() are not compatible, and we wanted NS_COM_GLUE here (verified by mrbkap) 2005-08-31 18:23:36 +00:00
bsmedberg@covad.net
8d61b3ddf0 Bug 306334 - XULRunner debug doesn't link on mac r=darin/brendan 2005-08-31 17:20:09 +00:00
bsmedberg@covad.net
fd93006b6c 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