gecko-dev/tools
Andrew Halberstadt 464b3a9f2e Bug 1273556 - [mozlint] Better SIGINT handling, return partial results on Ctrl-C, r=jgraham
Currently a bug in python (https://bugs.python.org/issue8296) is preventing a KeyboardInterrupt from
reaching the parent process, meaning we can't kill the process with SIGINT. There is a workaround to
this bug, but instead I decided to ignore SIGINT in the parent process completely. Now, each child
process is responsible for handling SIGINT on its own. Since child processes should all shutdown
relatively quickly anyway, this effectively also ends the parent process.

The benefit of doing it this way is that each child process can return the results they have collected
to date. So when a developer hits Ctrl-C, they'll still see some (but not all) formatted lint output.
The downside is that a poorly implemented external linter could block the parent process from exiting
quickly, but if this happens we should just fix the linter.

MozReview-Commit-ID: 2tRJgtmoPYP

--HG--
extra : rebase_source : e72282bcc29c9b22690168dc973a817236cdf8ca
2016-05-17 12:24:42 -04:00
..
bloatview
check-moz-style Bug 875605 - Add tests to check-moz-style. r=ms2ger 2013-05-26 09:42:31 -04:00
docs Bug 1259514 - Add manifestparser and reftest to Python search path; r=chmanchester 2016-03-24 11:19:44 -07:00
jprof Bug 1261384: Clean up warnings-as-errors nits in jprof (NPOTB) rs=me 2016-04-01 11:08:04 -04:00
leak-gauge Bug 1146875 - Fix the leak-gauge.html broken and add a encoding declaration. r=dbaron 2015-03-24 06:23:00 -04:00
lint Bug 1273556 - [mozlint] Better SIGINT handling, return partial results on Ctrl-C, r=jgraham 2016-05-17 12:24:42 -04:00
memory
memory-profiler Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
mercurial Bug 1270907 - Update bitbucket.org certificate fingerprint; r=sfink 2016-05-06 11:05:54 -07:00
power Revert "Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer" because of widespread breakage due to whitelisted executable names in third parties 2016-04-08 13:34:40 -04:00
profiler Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
quitter Bug 1255567 - Sign quitter extension for valgrind-test and pgo/profileserver, r=jgriffin 2016-03-10 15:37:51 -05:00
rb Bug 1270091 - Handle missing function names. r=dminor 2016-05-10 16:15:17 -07:00
rewriting Bug 1203477 - Moved Mozilla specific files to glue directory, and third party files to hyphen directory. Adjusted moz.build files. r=glandium 2015-09-16 21:01:00 +02:00
update-packaging Bug 1272483 - Remove MOZ_UPDATE_PACKAGING and --enable-update-packaging; r=chmanchester 2016-05-12 12:15:58 -04:00
mach_commands.py Bug 1244736 - Remove `mach update-uuids` and related code; r=froydnj 2016-02-01 16:10:08 -08:00
moz.build Bug 1230962 - Create mach/build system integration for mozlint, r=smacleod 2016-03-18 13:54:07 -04:00