Commit Graph

215 Commits

Author SHA1 Message Date
Blake Kaplan
8801eafc2e Bug 1245723 - Make crashreporter browser-chrome tests e10s compatible. r=felipe 2016-02-09 14:40:35 -08:00
Ted Mielczarek
ea6f9a1958 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium, benwa
This commit contains a few things:
* Update our copy of google-breakpad to upstream c53ed143108948eb7e2d7ee77dc8c0d92050ce7c
* Get rid of all but one local patch, fold a few related local patches into one
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux

--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc
extra : histedit_source : 43e65f5432657f548cac5aa7936461e58454c3b6%2C7b56ccc79d9d58ebde0583d920f3593e25212621
extra : rebase_source : f6dbfb8fb2ba5b27e63b26d57c404962679c7a76
extra : commitid : DMQlXPms868
extra : source : 09fd4f3ab6e764016fe073efb226f03b5969af59
extra : intermediate-source : 16f9d3a6d2ef6a6efd088e3b8eff0a4723daef8f
2016-01-27 09:39:53 -05:00
Dave Townsend
c8e4d5fbbc Bug 1245649: Turn on use-isnan, no-unexpected-multiline, no-octal and no-self-compare. r=MattN
--HG--
extra : commitid : oKFzhSyf1r
extra : rebase_source : 0d31d93961cdfb2e5e467e0c7f28edb4ab14a083
2016-02-03 18:21:30 -08:00
Dave Townsend
e496a11771 Bug 1245649: Turn on no-extra-semi. r=markh
--HG--
extra : commitid : HReQFPDOA6x
extra : rebase_source : 303a92f511c3c9dd2d26135975d4dc7c85e823b3
2016-02-03 17:27:36 -08:00
Dave Townsend
33281c75f0 Bug 1245649: Turn on linebreak-style. r=Gijs
--HG--
extra : commitid : 7JJb4UFNKj9
extra : rebase_source : 5c30f388ad82d3b73ce7d14c71a48a1f0ed84db7
2016-02-03 17:04:56 -08:00
Blake Kaplan
31fb709fc3 Bug 1243928 - Make these tests work in e10s. r=felipe 2016-02-02 13:44:11 -08:00
Dave Townsend
86f03db916 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
--HG--
extra : commitid : CKT2WDkxE4k
extra : rebase_source : 0be50c483317355b1e9af5985d53e85604748432
extra : histedit_source : 65d203f57ebd38b8c130e5db9aaa8ae3f507e7ac
2015-11-30 13:05:00 -08:00
Dave Townsend
6fcdc1e67d Bug 1229519: Fix miscellaneous parts of toolkit to pass eslint checks. r=MattN
--HG--
extra : commitid : 1iLsb7ZpSpI
extra : rebase_source : ed920934f04e520f5410454ec3930cd5992aa965
2015-12-03 10:02:45 -08:00
Mike Hommey
8caec249c9 Bug 1228742 - Don't install CrashTestUtils.jsm to dist/bin/modules. r=mshal
It's actually shipped by mistake, and it's copied to the appropriate
test directory by other means.
2015-12-01 08:25:22 +09:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Tooru Fujisawa
65e2703499 Bug 1217082 - Remove for-each from toolkit/. r=Gijs
--HG--
extra : commitid : Ewr7Bixammr
extra : rebase_source : 91e560a7b8b8d4b78debb1db2512867262b18375
2015-10-19 04:57:14 +09:00
Eric Rahm
80fca20565 Bug 1194555 - Part 6: Run reporters asynchronously. r=njn,jld,ted 2015-10-14 16:52:59 -07:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Tooru Fujisawa
8a0aa17cb2 Bug 1207497 - Part 2: Remove use of expression closure from tests in toolkit/. r=Gijs
--HG--
extra : commitid : F0AJXZT2xzk
extra : rebase_source : 4b076123afebebf10abfe62872d98f0a21e91ac8
2015-09-24 21:25:24 +09:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Ms2ger
ce50a0bf86 Bug 1194603 - Remove INTERNAL_TOOLS; r=mshal
Its only purpose is to disable PGO. Where that was not already explicitly done,
or irrelevant (because the directory only contains python), I disabled it in
moz.build.
2015-09-10 13:49:19 +02:00
Makoto Kato
50e851b877 Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Ted Mielczarek
543daa65bc bug 1166759 - force annotateCrashReport arguments to be UTF-8. r=bsmedberg
--HG--
extra : rebase_source : ffc4ee94de01206b853d5f69b26d0ad62836c2b2
2015-05-22 10:50:32 -04:00
Jose' Rios
a224ee9100 Bug 1142300 - Closing descriptor when fscanf fails. r=erahm 2015-05-14 15:49:00 -07:00
Mike Hommey
fe90037862 Bug 1043692 - Add a DIST_INSTALL variable to moz.build, and replace NO_DIST_INSTALL with it. r=gps 2015-05-12 07:55:21 +09:00
Benjamin Smedberg
254715ac08 Bug 1121013 part B - test that part A is writing out event files and annotations are making it back into the crash manager, r=ted
--HG--
extra : rebase_source : cf6a43d67c4876be6ec19db5f4389d405e88cfe0
extra : source : 7cecb4e23fcf3bd8693e7b421abe29abb07ce01e
2015-03-25 14:41:13 -04:00
jp111
6137a8c380 Bug 958147 - Choose one of run-if or skip-if and get rid of the other. r=ted 2015-01-28 06:17:00 -05:00
Gregory Szorc
0babb98b86 Backout 7cbe50231e18 (bug 1103825) for xpcshell test failures
toolkit/crashreporter/test/unit_ipc/test_content_annotation.js was
failing with this commit applied. Backing out.
2014-11-25 19:16:57 -08:00
Gregory Szorc
0f6c7a12e1 Bug 1103825 - Use misc tier in toolkit/crashreporter/test; r=mshal
--HG--
extra : rebase_source : 56e5266d114dc802ac769fbf3f3dc0cd48457a0b
extra : histedit_source : 7fc3e342616f87bd1ecd47e8cc375f0d77af849b
2014-11-23 16:21:31 -08:00
David Rajchenbach-Teller
41848ac6fa Bug 1044020 - Add duration of shutdown phases to Telemetry. r=froydnj 2014-11-10 13:58:14 +01:00
David Major
8ca591dc71 Bug 1084162 - Part 0: Mark testcrasher.dll as INTERNAL_TOOLS to prevent PGO. r=ted 2014-11-04 14:26:01 +13:00
Mike Hommey
47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Ed Morley
1090f50427 Backed out changeset 0ec9bd8e9880 (bug 1044020) for asan failures 2014-09-30 17:35:44 +01:00
David Rajchenbach-Teller
33d73c6559 Bug 1044020 - Add the duration of shutdown phases to Telemetry. r=froydnj 2014-09-30 11:43:46 +02:00
Stephen Pohl
579061de7c Mac v2 signing - Bug 1060562 - Update xpcshell-tests for the new v2 bundle structure on OSX. r=jmaher 2014-09-29 11:51:29 -07:00
Ed Morley
33d7b690ac Backed out changeset 49b1465d3e5e (bug 1044020) for compilation failures 2014-09-29 15:41:54 +01:00
David Rajchenbach-Teller
e3611bca94 Bug 1044020 - Add the duration of shutdown phases to Telemetry. r=froydnj 2014-09-25 17:19:34 +02:00
Mike Hommey
4b99580194 Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +09:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
David Major
73981dd834 Bug 1007534 - Part 6: xpcshell test for memory data in crash reporter. r=ted 2014-08-30 17:22:14 +12:00
David Major
8cb88f5b6b Bug 1007534 - Part 5: Support memory files in CrashSubmit.jsm. r=ted 2014-08-30 17:21:25 +12:00
David Rajchenbach-Teller
eb93e16fa1 Bug 1038342 - Add a Shutdown watchdog. r=froydnj, r=ted, sr=bsmedberg 2014-08-26 14:54:43 +02:00
Mike Hommey
89777800f9 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Nathan Froyd
542214c4df Bug 1044162 - part 1 - make EXTRA_{PP_,}JS_MODULES communicate their installation path; r=mshal
This patch makes EXTRA_{PP_,}JS_MODULES similar in functionality to
TESTING_JS_MODULES: we indicate the path relative to
$(FINAL_TARGET)/modules with an appropriate hierarchy of paths.
2014-07-25 13:40:07 -04:00
Mike Hommey
7cab62150a Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +09:00
Mike Hommey
95063176fa Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
5fab42fcaf Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Mike Hommey
d3f990ebdb Bug 1040639 - Remove LIBS_DIR. r=mshal 2014-07-19 08:42:16 +09:00
David Rajchenbach-Teller
24fcd57abd Bug 1008944 - Expose AsyncShutdown barriers for OS.File. r=froydnj 2014-06-17 15:11:00 -04:00
Nathan Froyd
d337b14be1 Bug 1022684 - add -Wno-unused-local-typedefs to various bits of crashreporter building; r=mshal 2014-06-09 11:12:06 -04:00
David Rajchenbach-Teller
394d31a92b Bug 1018895 - Make AsyncShutdown output easier to parse by TBPL. r=froydnj, r=edmorley 2014-06-03 01:14:00 -04:00
Jason Orendorff
0629a4a901 Bug 987995, part 4 - Add new crash reporter annotations for JS out-of-memory conditions. r=mccr8,r=bsmedberg. 2014-05-22 08:18:02 -05:00