Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
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
.cargo
accessible Bug 1330484 - crash in NotificationController::WillRefresh, r=yzen 2017-03-23 13:59:16 -04:00
addon-sdk Bug 1275958 - Rewrite SDK 'Get Image' clipboard test to prevent its intermittent failures. r=mossop 2017-03-16 14:23:37 +01:00
b2g Bug 1347047 Part 3 - Remove pref layout.accessiblecaret.timeout_ms. r=TYLin 2017-03-17 08:50:39 +08:00
browser Backed out changeset f9ca413eb209 (bug 1348069) for Windows a11y assertions/crashes 2017-03-23 18:46:31 -07:00
build Backed out changeset a89806ba0faa (bug 1333003) for bustage 2017-03-23 10:38:48 +01:00
caps Backed out changeset ef22dba0dac5 (bug 1316683) for various test failures, e.g. xpcshell netwerk/test/unit/test_bug826063.js and browser-chrome browser/components/downloads/test/browser/browser_iframe_gone_mid_download.js. r=backout on a CLOSED TREE 2017-03-22 20:28:39 +01:00
chrome Bug 1060419 - make nsChromeRegistry.cpp use Printf.h, r=froydnj 2016-12-09 09:58:57 -10:00
config Bug 1348157 - Add RUST_BACKTRACE=1 for cargo build. r=glandium 2017-03-22 10:08:48 +11:00
db Bug 1345627 - add BUG_COMPONENT to db/* files. r=mak 2017-03-10 12:31:59 -05:00
devtools Merge m-c to inbound, a=merge 2017-03-23 16:55:48 -07:00
docshell Backed out changeset ef22dba0dac5 (bug 1316683) for various test failures, e.g. xpcshell netwerk/test/unit/test_bug826063.js and browser-chrome browser/components/downloads/test/browser/browser_iframe_gone_mid_download.js. r=backout on a CLOSED TREE 2017-03-22 20:28:39 +01:00
dom Merge m-c to inbound, a=merge 2017-03-23 16:55:48 -07:00
editor merge mozilla-inbound to mozilla-central a=merge 2017-03-22 14:26:27 +01:00
embedding Bug 1332392 - embedding/* should have BUG_COMPONENTS specified in moz.build files. r=ted 2017-02-06 09:45:58 -05:00
extensions Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot 2017-03-22 11:38:40 +01:00
gfx Merge m-c to inbound, a=merge 2017-03-23 16:55:48 -07:00
gradle/wrapper
hal Bug 1342636 - Part 3: Remove the GetCurrentScreenConfiguration sync IPC message; r=billm 2017-03-10 21:29:04 -05:00
image merge mozilla-inbound to mozilla-central a=merge 2017-03-23 13:44:09 +01:00
intl Backed out changeset cc308a73ad05 (bug 1347314) for eslint failure in test_device.html. r=backout 2017-03-22 18:20:26 +01:00
ipc Backed out changeset f9ca413eb209 (bug 1348069) for Windows a11y assertions/crashes 2017-03-23 18:46:31 -07:00
js Bug 1326454 - Make TokenStream::updateLineInfoForEOL fallible, and immediately handle errors when it fails instead of temporarily deferring such handling. r=arai 2017-01-04 14:45:37 -08:00
layout Bug 1346132 (part 2) - Remove set_stderr_callback(). r=mstange. 2017-03-16 08:17:56 +11:00
media merge autoland to mozilla-central a=merge 2017-03-23 13:42:40 +01:00
memory Backed out changeset 2f6d3cbedd12 (bug 1349002) for build bustage a=backout 2017-03-20 18:08:43 -07:00
mfbt Bug 1349957 Change reference (in disabled code) to new/correct member r=froydnj 2017-03-23 10:27:25 -05:00
mobile Backed out 3 changesets (bug 1348820) for testANRReporter failures on Android rc1 a=backout 2017-03-23 14:45:57 -07:00
modules Merge m-c to inbound, a=merge 2017-03-23 16:55:48 -07:00
mozglue Bug 1312087 - part 0 - use PTHREAD_MUTEX_ADAPTIVE_NP mutexes on Linux/glibc; r=erahm 2017-03-21 11:20:36 -04:00
netwerk merge autoland to mozilla-central a=merge 2017-03-23 13:42:40 +01:00
nsprpub Bug 1347932, uplift NSPR_4_14_BETA2, r=franziskus 2017-03-16 17:22:25 +01:00
other-licenses Bug 1324617 - Allow any of multiple installations to be set as the Windows default browser; r=jimm,rstrong 2017-01-09 08:14:00 -08:00
parser Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot 2017-03-22 11:38:40 +01:00
probes
python Backed out changeset 42cf5ddabc8a (bug 1333003) 2017-03-23 10:38:09 +01:00
rdf Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot 2017-03-22 11:38:40 +01:00
security Merge inbound to central, a=merge 2017-03-23 16:15:37 -07:00
services Bug 1349709 - Ensure PasswordEngine conforms to the new pullAllChanges interface. r=tcsc 2017-03-22 19:21:08 -07:00
servo servo: Merge #16104 - Properly serialize <box-shadow> (from Wafflespeanut:box-shadow-serialization); r=Wafflespeanut 2017-03-23 10:57:03 -07:00
startupcache Bug 1348991 - Use unified sources in startup cache. r=froydnj 2017-03-21 12:24:41 -07:00
storage Bug 1347712 - Move toolkit/.eslintrc.js rules into a 'recommended' set within eslint-plugin-mozilla. r=jaws 2017-03-22 10:43:00 +01:00
taskcluster Merge inbound to central, a=merge 2017-03-23 16:15:37 -07:00
testing Merge inbound to central, a=merge 2017-03-23 16:15:37 -07:00
third_party/rust Merge m-c to graphics 2017-03-23 10:01:31 -04:00
toolkit Bug 1346132 (part 1) - Initialize Mozilla logging earlier in nsAppRunner.cpp. r=erahm. 2017-03-10 18:55:40 +11:00
tools Bug 1346132 (part 2) - Remove set_stderr_callback(). r=mstange. 2017-03-16 08:17:56 +11:00
uriloader Backed out changeset ef22dba0dac5 (bug 1316683) for various test failures, e.g. xpcshell netwerk/test/unit/test_bug826063.js and browser-chrome browser/components/downloads/test/browser/browser_iframe_gone_mid_download.js. r=backout on a CLOSED TREE 2017-03-22 20:28:39 +01:00
view Bug 1333482 part 5 - [css-ui] Enable '-moz-appearance' support for some tests. r=dholbert 2017-03-23 23:13:18 +01:00
widget merge mozilla-inbound to mozilla-central a=merge 2017-03-23 13:44:09 +01:00
xpcom Bug 1346132 (part 2) - Remove set_stderr_callback(). r=mstange. 2017-03-16 08:17:56 +11:00
xpfe Bug 1343933 - Renaming Principal classes - part 4 - ContentPrincipal, r=qdot 2017-03-22 11:39:31 +01:00
.clang-format
.clang-format-ignore Bug 1343185 - Add the JNI generate files in the list of ignored elements r=mystor 2017-02-28 08:27:33 +01:00
.clang-tidy
.cron.yml Bug 1338871 - Enable Talos tests for linux64-stylo builds r=jmaher DONTBUILD 2017-03-23 12:12:46 -04:00
.eslintignore Merge inbound to central, a=merge 2017-03-23 16:15:37 -07:00
.eslintrc.js Bug 1345294 - add an eslint rule to reject usage of {get,set}ComplexValue for nsISupportsString and suggest {get,set}StringPref instead, and make it pass, r=Mossop. 2017-03-16 19:26:02 +01:00
.flake8
.gdbinit
.gdbinit_python
.gitignore
.hgignore Bug 1332691: Add script to regenerate tests, update the WPT manifest and expectations; r=luke 2017-02-17 20:13:54 +01:00
.hgtags No bug - Tagging mozilla-central 6583496f169cd8a13c531ed16e98e8bf313eda8e with FIREFOX_AURORA_54_BASE a=release DONTBUILD CLOSED TREE 2017-03-06 23:43:32 +01:00
.lldbinit
.taskcluster.yml Bug 1334810: temporarily revert {{owner}}; r=garndt 2017-02-07 16:18:19 +00:00
.ycm_extra_conf.py
aclocal.m4
Android.mk
AUTHORS Backed out changeset fe7303de56be (bug 1302763) for failing webdriver tests on Linux x64 debug (geckodriver.manifest fetch failed). r=backout 2016-12-19 21:15:07 +01:00
build.gradle
client.mk Bug 1317778 - Emit a depfile with python configure dependencies so Make will know when to re-run configure. r=glandium 2016-12-02 10:05:57 -08:00
client.py
CLOBBER Bug 1343682 followup, touch CLOBBER since the previous backout didn't actually stop the failures 2017-03-22 19:59:41 -07:00
configure.in
configure.py Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
GNUmakefile
gradle.properties
gradlew
LEGAL
LICENSE
mach Bug 1316140 - Allow use of multiprocessing from config.status on windows. r=mshal 2016-12-21 16:28:28 -08:00
Makefile.in Bug 1339182 - Remove OSX universal support in the build system; r=glandium 2017-02-10 16:52:17 -05:00
moz.build Merge inbound to central, a=merge 2017-03-08 17:07:55 -08:00
moz.configure Bug 1339673 - Add an option to disable building the gtest xul and set it for valgrind builds in automation. r=ted 2017-02-16 10:47:55 -08:00
mozilla-config.h.in
old-configure.in Bug 1348356 - Make libpng 1.6.29 the minimum required version in old-configure.in. r=jrmuizel 2017-03-18 11:51:00 -04:00
README.txt Bug 1349108 - Update links in README.txt to HTTPS r=RyanVM 2017-03-21 00:11:02 -04:00
settings.gradle
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/