Commit Graph

1032 Commits

Author SHA1 Message Date
Chris Peterson
993326cad9 Bug 1236390 - Suppress -Wimplicit-fallthrough warnings in third-party code from Google Breakpad. r=bsmedberg
toolkit/crashreporter/google-breakpad/src/common/dwarf/dwarf2reader.cc:195:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
toolkit/crashreporter/google-breakpad/src/processor/minidump.cc:4022:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-12-30 11:50:27 -07: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
Ryan VanderMeulen
f93b41b27c Merge inbound to m-c. a=merge 2016-01-01 19:29:16 -05:00
Nick Alexander
d29d7963fa Bug 1207890 - Post: Hacks to make --disable-compile-environment work on Mac OS X. r=glandium
--HG--
extra : commitid : BJ6pEARC8bF
extra : rebase_source : 6fb8638fc55c0f402fbe011b8fd10904a4681d13
2015-12-23 16:50:47 -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
Mike Hommey
0cc838448f Backout changeset 0104f1c911ca (bug 1223530) because it breaks running on Windows XP on a CLOSED TREE
--HG--
rename : toolkit/components/maintenanceservice/Makefile.in => xpcom/windbgdlg/Makefile.in
2015-11-26 08:38:16 +09:00
Ted Mielczarek
879065de9d bug 1223530 - Move MOZ_WINCONSOLE to configure. r=glandium
This patch moves the logic for selecting MOZ_WINCONSOLE out of individual
Makefile.in files and into configure. It also changes config.mk to only
pass -SUBSYSTEM:CONSOLE if MOZ_WINCONSOLE=1. The MSDN docs state that
in the absence of -SUBSYSTEM, the linker will select the proper subsystem
based on whether the program contains [w]main or [w]WinMain, so let it
do that.

One program (windbgdlg) needed a tweak to add a wmain for when MOZ_WINCONSOLE
is defined.

This patch leaves one instance in security/sandbox/win/wow_helper/Makefile.in,
that Makefile has its own separate bug.

--HG--
extra : commitid : 8acDjmfKivj
extra : rebase_source : 03b4fa4c8ae077a894b08f3762ef93541e34ac1a
2015-11-11 06:24:39 -05:00
Ted Mielczarek
8b765abfbe bug 1224308 - Remove some Makefile cruft. r=gps
--HG--
extra : commitid : JdDnpW7zfHf
extra : rebase_source : 9eca8f978c43eb6f26c8d14d5d13fee5ea556a02
2015-11-12 06:39:11 -05:00
Nick Alexander
369f2f953d Bug 1208605 - Try MOZ_ANDROID_PACKAGE_NAME env var before static ANDROID_PACKAGE_NAME. r=snorp
--HG--
extra : commitid : LLwNfsnJpKj
extra : rebase_source : 279f247ab62455671d8e0eaa931cb67c9d276684
extra : amend_source : f7972c0f384233f4c78f8f5d3989244156f701de
2015-09-25 14:47:50 -07:00
Ted Mielczarek
737a624570 Remove some old clobber-workarounds. No bug.
--HG--
extra : commitid : Aq9m2eEAqGo
extra : rebase_source : 84ff27c8a144dca757608d6b59fdc3344fc1afa2
2015-11-09 09:36:35 -05:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Gregory Szorc
bd9f7fa2a2 Bug 1207871 - Process files in descending file size order; r=ted
Large files take longer to process. Scheduling large files after smaller
files means there is a higher chance a large file may be a long pole
during processing.

This commit changes the scheduling logic to exhaustively obtain the set
of files to be processed. It then sorts them by descending file size and
schedules them in the resulting order, thus minimizing the chances for a
large file to be the long pole holding up processing completion.

On my machine this doesn't change wall execution time. However,
automation may be different. And the logic of the new behavior is sound.

--HG--
extra : commitid : CTbEbvKdEY4
extra : rebase_source : b75e0d5993a07f5244bf204a2b83b4082afe0bfd
2015-09-23 22:26:41 -04:00
Gregory Szorc
ce82de310f Bug 1175632 - Record how long each symbol file took to process; r=ted
As part of this an unused import was removed.

--HG--
extra : commitid : GwdjhcoGwi1
extra : rebase_source : f94d5f3d1a601212b4307093f8b3717acb554bad
2015-10-26 15:58:15 -04: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
Ted Mielczarek
3d40a38f29 bug 1217051 - Pipe dump_syms stderr to /dev/null. r=catlee
--HG--
extra : amend_source : 7457ec915e764caeb9b13b59a925a6bae80ee0e1
2015-10-21 12:54:16 -04:00
Nicholas Nethercote
343f285eca Bug 1186785 - Replace nsBaseHashtable::EnumerateRead() calls in toolkit/ with iterators. r=froydnj.
--HG--
extra : rebase_source : d472ec1638cb1697af0d2f2dbae4f4229bea1a80
2015-10-19 15:46:46 -07:00
Nicholas Nethercote
5b34a25af2 Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
DONTBUILD because it only changes comments.

This will hopefully prevent confusion like that in bug 1215903.

--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
2015-10-19 18:05:20 -07:00
Chris Manchester
08c59074db Bug 1175857 - Build libraries composing dump_syms with optimization. r=glandium
A previous patch enabled optimizations when building the dump_syms executable.
This patch enables optimizations when building dependent libraries, where much
of the work is actually done, to achieve the expected speeedup.

--HG--
extra : commitid : 6Ud7gz1BNMU
2015-10-19 17:57:11 -07:00
Mike Hommey
5cf0641007 Bug 1235674 - Move CXXFLAGS from toolkit/crashreporter/client/Makefile.in to the corresponding moz.build. r=mshal 2015-12-31 07:46:00 +09:00
Chris Manchester
83de823d6b Bug 1175857 - Build dump_syms with compiler optimizations; r=glandium
dump_syms has been measured to be ~50% faster when compiled with
optimizations. Since symbol generation takes a lot of time on the
builders, this difference matters.

Compile dump_syms with optimizations to make symbol dumping faster
and hopefully making build jobs faster as well.

--HG--
extra : commitid : 6g0sbZClTNW
2015-09-24 17:05:40 -04:00
Eric Rahm
80fca20565 Bug 1194555 - Part 6: Run reporters asynchronously. r=njn,jld,ted 2015-10-14 16:52:59 -07:00
Michael Layzell
e4681ea6a5 Bug 1183355 - Annotate crash reports triggered by MOZ_CRASH in release builds, r=froydnj 2015-10-08 10:01:08 -04: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
Nicholas Nethercote
5fe56b4623 Bug 1209351 (part 6) - Optimize nsTHashTable::RemoveEntry() usage in toolkit/. r=froydnj.
--HG--
extra : rebase_source : 242da824dab1ff2d263429a522f62e082a9230d6
2015-09-24 21:38:04 -07:00
Ted Mielczarek
91fbb87e99 bug 543111 - fix symbolstore.py to work properly for cross-compiled mac builds on linux. r=gps
--HG--
extra : commitid : 7CIg3hPH66H
extra : rebase_source : c1c556c5d6738cdb0c9f5fd426f97a18d4050cd9
2015-09-22 08:00:34 -04:00
Ted Mielczarek
dc4944233c bug 543111 - Fix Mac Breakpad host tools to build in Linux cross-compile. r=mento,glandium
--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc
extra : commitid : 1MeVskegqFV
extra : rebase_source : 99fae330b3917e46c380e0c83054790ecd661ea5
2015-10-01 15:04:27 -04:00
Carsten "Tomcat" Book
d325d6fc78 Backed out 4 changesets (bug 543111) for mac bustage on a CLOSED TREE
Backed out changeset 81f6fdc25862 (bug 543111)
Backed out changeset d1a73eaa6113 (bug 543111)
Backed out changeset 08c7f9ed5970 (bug 543111)
Backed out changeset 3b323ed3b20a (bug 543111)

--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm
2015-10-01 14:32:11 +02:00
Ted Mielczarek
3a65045d06 bug 543111 - fix symbolstore.py to work properly for cross-compiled mac builds on linux. r=gps
--HG--
extra : commitid : 6vIiH9J85gH
extra : rebase_source : be382b2e952912983b611f632b654e05ccce44b6
2015-09-22 08:00:34 -04:00
Ted Mielczarek
c3b97accbb bug 543111 - Fix Mac Breakpad host tools to build in Linux cross-compile. r=mento,glandium
--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc
extra : commitid : 9ALTpfdqmnH
extra : rebase_source : 67000f6e4027b895df096a48f3255e864ac10167
2015-10-01 06:24:58 -04: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
Ted Mielczarek
6be16c3688 bug 1198226 - Move HOST_{C,CXX}FLAGS to moz.build HOST_{CFLAGS,CXXFLAGS,DEFINES}. r=mshal
As part of this move, HOST_NSPR_MDCPUCFG needed to be changed to get the quoting right.

--HG--
extra : commitid : J26MhSiPq9g
extra : rebase_source : 81c5b98371042803741ddace8d01b0097757dff3
2015-09-08 11:35:43 -04:00
Ted Mielczarek
d0e6114c5e bug 1201069 - retry symbol upload on any 500 error. r=ryanvm
--HG--
extra : commitid : AGN1INkPlp2
extra : rebase_source : 4fc7b0ee42a8108d454582dd712e59b830c42368
2015-09-04 08:13:05 -04:00
Benjamin Smedberg
3133303347 Bug 1199662 - Crash ping environment block is broken when any string field contains a quotation mark. Unescape INI fields properly using the library that already exists for the purpose. r=ted
--HG--
extra : commitid : 55V6027qEVE
extra : rebase_source : 700466ab6f872b049fae11c0ca3514def99dbd74
2015-08-28 12:53:43 -04:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Mike Hommey
8d4c5b336d Bug 1189967 - Be slightly more explicit about some conversions to std::wstring. r=nfroyd 2015-08-23 22:20:19 +09:00
Chris Peterson
1227e63de1 Bug 1190148 - Fix warnings in toolkit/crashreporter/client and mark as FAIL_ON_WARNINGS. r=ted 2015-08-01 11:59:40 -07:00
Ted Mielczarek
b2a52780fd bug 1164816 - Rewrite symbolstore.py to use concurrent.futures. r=gps
CLOSED TREE

--HG--
extra : commitid : 1m7vHey4bQo
extra : rebase_source : 03d72c7bcdc6f2343f71a0ad434c7840f087f3bb
extra : amend_source : 8ab051273feff157a90bb222f398db87da7a3a9f
2015-05-13 14:50:11 -04:00
Ted Mielczarek
6d5857bc49 bug 1164816 - Refactor symbolstore.py to remove WorkerInitializer. r=gps
concurrent.futures doesn't have a WorkerInitializer equivalent to what
multiprocessing.Pool has, so refactor things slightly to remove that dependency.

--HG--
extra : commitid : 4YBVznKwkhy
extra : rebase_source : abcd87bd5352f49dc39f52d4fa354cdb301af801
2015-05-13 14:14:08 -04:00
Petr Jasicek
5755b5bc07 Bug 1192243 - Fix Gtk3 crash reporter's ScrolledWindow and width. r=karlt 2015-08-11 14:12:44 -07:00
Makoto Kato
ed0bf31fba Bug 830801 - Part 3. Remove NOMINMAX define from cpp source. r=mshal 2015-08-03 10:07:20 +09:00
Makoto Kato
50e851b877 Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Anthony Miyaguchi
ed1a3ed8a5 Bug 1168979 part 1 - Add fallback for buildconfig in standalone use of upload_symbols script; r=mrrrgn 2015-07-10 09:56:16 -07:00
Ryan VanderMeulen
35cc22a996 Backed out 7 changesets (bug 1168979) for breaking the gecko decision task on a CLOSED TREE.
Backed out changeset 0d9496880482 (bug 1168979)
Backed out changeset 913594264a8c (bug 1168979)
Backed out changeset 18560f41c3fb (bug 1168979)
Backed out changeset dd5644a30469 (bug 1168979)
Backed out changeset 162318c4e626 (bug 1168979)
Backed out changeset 5bfd2e72d330 (bug 1168979)
Backed out changeset 0d97c2ab4fe4 (bug 1168979)
2015-07-16 16:51:36 -04:00
Anthony Miyaguchi
e73ef57d83 Bug 1168979 part 1 - Add fallback for buildconfig in standalone use of upload_symbols script; r=mrrrgn 2015-07-10 09:56:16 -07:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00