gecko-dev/xpcom
Nicholas Nethercote e105cad299 Bug 1346132 (part 2) - Remove set_stderr_callback(). r=mstange.
It's a very general mechanism for replacing the implementation of
printf_stderr().

It's primarily used by the profiler, sparingly, and not in an important way.
Worse, it prevents us from using MOZ_LOG in the profiler, which is something I
want. Because if any code that locks gPSMutex also calls MOZ_LOG, that then
calls printf_stderr(), which calls profiler_log(), which locks gPSMutex, which
deadlocks.

The only other use of set_stderr_callback() is for the ultra-hacky,
for-local-use-only copy_stderr_to_file() function, which was added for B2G
debugging and is no longer necessary.

This patch removes set_stderr_callback() altogether.

--HG--
extra : rebase_source : d31ecb482fe5899f62dc56a38e87d91f9271bab0
2017-03-16 08:17:56 +11:00
..
base Bug 1346132 (part 2) - Remove set_stderr_callback(). r=mstange. 2017-03-16 08:17:56 +11:00
build Bug 1320134 - Part 1: Tracking TLS allocations for diagnosing out-of-TLS-slots crashes on Windows. r=froydnj 2017-03-15 18:20:30 +08:00
components Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2017-03-06 23:53:55 +01:00
doc
ds Bug 1348123 - Add release bounds checking when inserting and replacing. r=froydnj 2017-03-17 16:40:53 -07:00
glue Bug 1332639 followup. I apparently didn't actually remove the nsStringAPI.* files, but that was the intention, r=oops 2017-03-02 09:23:08 -05:00
idl-parser Backed out changeset c8fe57b085bd (bug 1333631) 2017-01-30 23:17:34 +01:00
io Bug 1346583 - Remove the PContent::Msg_OpenAnonymousTemporaryFile sync IPC; r=billm 2017-03-21 09:27:48 -04:00
libxpt/xptcall
reflect Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm 2017-03-08 20:15:45 +01:00
rust/nsstring Bug 1347224 - Part 1: Expose fallible methods on the rust ns[C]String bindings, r=froydnj 2017-03-20 14:40:45 -04:00
string Bug 1349719 - Share max capacity logic in nsTString. r=froydnj 2017-03-23 12:32:53 -07:00
system Bug 1322611 - After a crash compute the SHA256 hash of a minidump and attach it to the crash ping; r=Ted, nchen 2017-02-16 07:36:57 +01:00
tests Bug 1344629 - Part 6: Rewrite unnecessary uses of nsLiteralString. r=dbaron 2017-03-14 15:26:27 +13:00
threads Bug 1348331 part 2. Switch Preferences::RegisterCallback/RegisterCallbackAndCall consumers that want prefix matches to the new RefisterPrefixCallback(AndCall) APIs. r=froydnj,padenot 2017-03-21 14:59:02 -04:00
typelib Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps 2017-02-07 17:52:56 +01:00
windbgdlg Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
xpidl Bug 1293784 - Only recurse into xpcom/idl-parser/xpidl once; r=gps 2016-08-09 16:58:18 -04:00
moz.build Bug 1295762 - Part 1: Implement rust bindings to XPCOM's string types, r=froydnj 2016-09-20 11:26:43 -04:00
xpcom-config.h.in Bug 1326145 - Remove HAVE_CPP_AMBIGUITY_RESOLVING_USING. r=froydnj 2016-12-29 18:05:20 +11:00
xpcom-private.h.in