Commit Graph

1180 Commits

Author SHA1 Message Date
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Chris Peterson
8949f73d27 Bug 1277106 - Part 1: Use VS2015's real char16_t instead of aliasing wchar_t. r=Waldo
and remove MOZ_CHAR16_IS_NOT_WCHAR #ifdefs.
2016-07-20 22:01:43 -07:00
Wes Kocher
2aee968459 Backed out changeset 229cd3b8bf5d (bug 1279048) for build bustage CLOSED TREE 2016-07-08 12:02:33 -07:00
Gregory Szorc
f0d4aad828 Bug 1279048 - Check MOZ_SOURCE_REPO for repository URL; r=ted
MOZ_SOURCE_REPO is set by automation to indicate the URL of the current
repository. I'm not sure what SRCSRV_ROOT is from. Probably legacy.

Use MOZ_SOURCE_REPO instead of SRCSRV_ROOT.

MozReview-Commit-ID: IfCSiaqgJb5

--HG--
extra : rebase_source : a3877173837cdd9217ea2a8a1dac66db0b2b9988
2016-06-08 14:54:58 -07:00
Ted Mielczarek
73ec0ca7ec bug 1283916 - Fix DWARF handling of inlined functions in namespaces. r=mento
Currently an inlined function in a namespace in DWARF will
be given a name comprised of just `namespace::`. This is due
to a logic error in ComputeQualifiedName, where it doesn't
handle an empty `unqualified_name` properly.

We apparently have a fair number of these in our Mac builds,
an example of the DWARF that's being mishandled looks like:
0x117eda40:     TAG_namespace [5] *
                 AT_name( "js" )
                 AT_decl_file( "../../dist/include/js/Utility.h" )
                 AT_decl_line( 35 )

0x11808500:         TAG_subprogram [251] *
                     AT_low_pc( 0x0000000002f12110 )
                     AT_high_pc( 0x0000000002f1216b )
                     AT_APPLE_omit_frame_ptr( 0x01 )
                     AT_frame_base( rsp )
                     AT_abstract_origin( {0x0000000011800a4f}"_ZN2js40TraceManuallyBarrieredGenericPointerEdgeEP8JSTracerPPNS_2gc4CellEPKc" )
                      AT_MIPS_linkage_name( "_ZN2js40TraceManuallyBarrieredGenericPointerEdgeEP8JSTracerPPNS_2gc4CellEPKc" )
                      AT_name( "TraceManuallyBarrieredGenericPointerEdge" )
                      AT_decl_file( "/builds/slave/rel-m-rel-m64_bld-000000000000/build/js/src/gc/Marking.cpp" )
                      AT_decl_line( 547 )
                      AT_external( 0x01 )
                      AT_APPLE_optimized( 0x01 )
                      AT_inline( DW_INL_inlined )

This turned a few instances of this in the file I was testing on into
`<name omitted>`, which seems to just be a symptom of the
"DW_AT_abstract_origin comes later in the file" issue. (Which is probably
also worth fixing given that it occurs some 29k times when dumping
symbols from Firefox's XUL binary, but it's a separate issue.)

R=mark@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1887033002 .

MozReview-Commit-ID: L3cn5z4FY6M

--HG--
extra : rebase_source : 03ebda4cf2d1179b2180a2817137a5f600f7ad1a
2016-07-06 09:36:35 -04:00
Ting-Yu Chou
fc01fbfe6e Bug 1267329 - part 2 - Record the memory information for the minidumps on Windows. r=ted 2016-06-30 08:59:02 +08:00
Ting-Yu Chou
c7626aa7a5 Bug 1267329 - part 1 - Add a new argument to specify the minidump type to write on Windows. r=ted 2016-05-16 10:02:47 +08:00
Kirk Steuber
5b3eba1f2b Bug 1263774 - Include memory reports in content process crash reports. r=mccr8, r=aklotz
MozReview-Commit-ID: 7y3GFBZxjsS

--HG--
extra : rebase_source : 9d5aaaa6caad336c85c42002df321b382c90c8a9
2016-06-21 11:45:25 -07:00
Thomas Zimmermann
89ae3af487 Bug 1276927: Fix breakpad to build on B2G, r=mshal
This patch unifies the include search directories for the breakpad
on B2G and Android, and protects breakpad-internal workarounds against
multiple definition.

As a side-effect of the patch set, no more Gonk-specific headers from
'gonk-include' are requried to build toolkit/ or xpcom/. The related
artifacts are removed by this patch.

MozReview-Commit-ID: E94I2rspDtJ
2016-06-16 08:43:51 +01:00
Sebastian Hengst
277e158ff3 Backed out changeset a7cc17d184bd (bug 1276927) 2016-06-15 12:23:59 +02:00
Thomas Zimmermann
5693604fd0 Bug 1276927: Fix breakpad to build on B2G, r=mshal
This patch unifies the include search directories for the breakpad
on B2G and Android, and protects breakpad-internal workarounds against
multiple definition.

As a side-effect of the patch set, no more Gonk-specific headers from
'gonk-include' are requried to build toolkit/ or xpcom/. The related
artifacts are removed by this patch.

MozReview-Commit-ID: E94I2rspDtJ
2016-06-15 10:59:49 +01:00
Ralph Giles
abf915d42c Bug 1275630 - Update breakpad documentation links. r=ted
These locations have changed since the end of Google Code.

MozReview-Commit-ID: FSGhFBDaTCq

--HG--
extra : rebase_source : 4ef004b2d0b8f1a6331db0f44ccf70d05ad62774
2016-05-25 10:01:52 -07:00
eyim
559c3bbfea Bug 1276714 - Add about:crashes telemetry r=BenWa,bsmedberg
MozReview-Commit-ID: 11GfIgkC5q6

--HG--
extra : rebase_source : 9b3195b5bc00f87d8fed4a36989e3c8675e3ba34
2016-05-31 15:30:32 -04:00
Brad Lassey
68359e5cd1 bug 1269998 - Prompt users with pending crash reports to submit them r=mconley ui-r=shorlander 2016-05-10 23:50:55 -07:00
Gregory Szorc
ada7d3fd11 Bug 1275672 - Remove accidental trailing /D from makecab.exe arguments; r=me
This was causing the "path" argument to get swallowed because makecab.exe
thought it was the argument to /D. Derp.

MozReview-Commit-ID: 6Bd3l7ISsPj

--HG--
extra : rebase_source : fbba4e8aff9a164aa10278de08de67c3f38cdf58
2016-05-31 09:09:03 -07:00
Gregory Szorc
72878ea229 Bug 1275672 - Change symbols compression format to MSZIP; r=ted
makecab.exe has 3 options for compression: disable, MSZIP, and LZX.

Here is a breakdown of the 3 levels of compression for an opt 32-bit
build on my i7-6700K:

       directory size     full.zip   xul.pd_  `buildsymbols`
None     1,360 MB          227 MB     146 MB        49s
MSZIP      520 MB          221 MB     142 MB       113s
LZX        436 MB          169 MB     102 MB       248s

(The original size of xul.pdb is ~500 MB.)

This commit switches us to MSZIP as the compression format. This
makes `builsymbols` >2x faster while only increasing the full zip
archive size by ~31%. This feels like an appropriate trade-off.

The memory related flag has been removed because it only applies
to LZX compression.

It's worth noting that using `zip` to compress xul.pdb and xul.sym:

Level  Zip Size    xul.pdb Compressed   Time
9        160.6 MB      139.8 MB         76s
7        161.4 MB      140.5 MB         30s
5        164.7 MB      143.2 MB         16s
4        170.0 MB      147.3 MB         12s
3        176.4 MB      151.6 MB         11s

So "MSZIP" compression appears to be using level 9. If we could swap
in our own cab generator that uses a zlib compression level less
than 9, we'll make symbol generation significantly faster without
sacrificing too much size. I'm inclined to punt that to a follow-up
bug.

MozReview-Commit-ID: GbbClkn9PLN

--HG--
extra : rebase_source : 05f94f381a892d82f512b5c3682e51f6735714f3
2016-05-27 16:03:58 -07:00
Phil Ringnalda
b9ee856eba Backed out changeset ae50c61cb134 (bug 1264367) for breaking crash stacks on at least Android and Linux 2016-09-21 13:26:24 -07:00
Gabriele Svelto
b3a7e5c8a0 Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted 2016-09-21 17:44:50 +02:00
Sebastian Hengst
c7e22a6a2a Backed out changeset 10db03f821c4 (bug 1270686) for crashes on Windows 7 opt in e.g. M-e10s(bc5). r=backout 2016-05-26 11:24:09 +02:00
Jeff Muizelaar
4ee421d8de Bug 1270686. Log all dlls ever loaded. r=aklotz
This is a temporary patch to try to figure out if a dll is being unloaded that we still need.
2016-05-25 23:08:32 -04:00
Sebastian Hengst
aeeebc9c3a Backed out changeset 8b5b058bf71f (bug 1270686) for crashes. r=backout on a CLOSED TREE 2016-05-25 20:46:31 +02:00
Jeff Muizelaar
6a2f0915f9 Bug 1270686. Log all dlls ever loaded. r=aklotz
This is a temporary patch to try to figure out if a dll is being unloaded that we still need.
2016-05-25 11:07:48 -04:00
Carsten "Tomcat" Book
00f7f47247 Backed out changeset 153591394598 (bug 1270686) for causing Windows 8 x64 opt e10s crashes on a CLOSED TREE 2016-05-25 12:29:51 +02:00
Jeff Muizelaar
38d984d342 Bug 1270686. Log all dlls ever loaded. r=aklotz
This is a temporary patch to try to figure out if a dll is being unloaded that we still need.
2016-05-25 04:09:55 -04:00
Carsten "Tomcat" Book
bd6a13ce6d Backed out changeset 8b76fb7a3e31 (bug 1270686) for bustage on a CLOSED TREE 2016-05-25 10:07:42 +02:00
Jeff Muizelaar
48a99153d3 Bug 1270686. Log all dlls ever loaded. r=aklotz
This is a temporary patch to try to figure out if a dll is being unloaded that we still need.
2016-05-25 03:42:08 -04:00
Dylan Roeh
374fa51f6f Bug 1262536 - Report minidump success/failure in CrashReporter. r=snorp 2016-05-17 15:53:15 -05:00
Wes Kocher
1dd8a84da8 Merge fx-team to central, a=merge 2016-05-17 14:15:06 -07:00
Iaroslav Sheptykin
2af537d12e Bug 1145188: Shifting TelemetrySession init control to TelemetryController (test). r=Dexter 2016-05-13 09:30:00 +02:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
L. David Baron
55b6b3268e Bug 1111440 - Replace rest of -moz-/Moz prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find * -type f -exec sed -i -f ../mozpropsub {} \;
in the root of the repository, with the file ../mozpropsub containing:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
s/\<MozPaddingEnd\>/paddingInlineEnd/g
s/\<MozPaddingStart\>/paddingInlineStart/g
s/\<MozMarginEnd\>/marginInlineEnd/g
s/\<MozMarginStart\>/marginInlineStart/g
s/\<MozBorderEnd\>/borderInlineEnd/g
s/\<MozBorderEndColor\>/borderInlineEndColor/g
s/\<MozBorderEndStyle\>/borderInlineEndStyle/g
s/\<MozBorderEndWidth\>/borderInlineEndWidth/g
s/\<MozBorderStart\>/borderInlineStart/g
s/\<MozBorderStartColor\>/borderInlineStartColor/g
s/\<MozBorderStartStyle\>/borderInlineStartStyle/g
s/\<MozBorderStartWidth\>/borderInlineStartWidth/g

The diffs for the following files:
  layout/style/nsCSSPropAliasList.h
  layout/style/test/property_database.js
  layout/style/test/test_value_computation.html
were then manually removed from the patch.

MozReview-Commit-ID: 8fbYnlZcn9U
2016-05-14 00:00:18 -07:00
Wes Kocher
a960c70ca2 Backed out changeset 53ab4450aff9 (bug 1269998) for browser_ext_tabs_captureVisibleTab.js failures 2016-05-13 16:09:00 -07:00
Brad Lassey
1291088205 bug 1269998 - Prompt users with pending crash reports to submit them r=mconley ui-r=shorlander 2016-05-10 23:50:55 -07:00
Bob Owen
1752376e74 Bug 1035125 Part 2: Back out changeset 3c59642f6445 and associated subsequent changes. r=glandium
The original changeset that is being backed out had comment:
Bug 1023941 - Part 4: Static-link the CRT into crashreporter.exe.

MozReview-Commit-ID: AWoYiy4TfNW

--HG--
extra : rebase_source : 97dd66786c1d9fbd9374158e703665c371940401
2016-05-15 16:23:56 +01:00
Ted Mielczarek
bebd89cd61 bug 1272278 - Don't let PDBSourceLineWriter::GetSymbolFunctionName return empty function names. r=mento
It's possible for `IDiaSymbol::get_name` to return S_OK and provide
and empty string. I haven't figured out the exact root cause yet
(the symbols in question are coming from the Rust standard library),
but FUNC lines with missing function names break the processor and
so we should never do it. This change makes it output "<name omitted>"
which matches the behavior of the DWARF dumping code.

Review URL: https://codereview.chromium.org/1985643004 .

MozReview-Commit-ID: E8jZZM5KVtJ

--HG--
extra : rebase_source : 7236563a7a4bada7c7126cebd24f3551e70919ae
2016-05-16 12:37:58 -04:00
Milan Sreckovic
ec474ef177 Bug 1250637: Allow child process crash annotation off main thread. r=aklotz
MozReview-Commit-ID: B1oq7KlZrff

--HG--
extra : rebase_source : a42e0576de0ede41f522825cacdd8ce16313c953
2016-05-10 15:59:00 -04:00
Sebastian Hengst
d0b575b3af Backed out changeset 756948b3ac0f (bug 1269998) for unexpected file access of crashreporter.ini on startup. r=backout 2016-05-11 10:44:57 +02:00
Sebastian Hengst
b54155769c Backed out changeset eb3aee42c9a8 (bug 1269998) because it didn't fix the eslint bustage. r=backout 2016-05-11 10:44:49 +02:00
Sebastian Hengst
2995111984 Bug 1269998 - Prompt users with pending crash reports to submit them. r=eslint-fix 2016-05-11 10:10:28 +02:00
Brad Lassey
25f5af3107 bug 1269998 - Prompt users with pending crash reports to submit them r=mconley ui-r=shorlander 2016-05-10 23:50:55 -07:00
Mike Shal
5ab92bb3fa Bug 1252804 - remove TARGET_LOCAL_INCLUDES; r=ted
MozReview-Commit-ID: 6s1SWINNMM9

--HG--
extra : rebase_source : 3c64cc907a41215be454ccae4230d3d216e097d9
2016-04-29 17:09:57 -04:00
Wes Kocher
56fe7c4bcb Merge m-c to fx-team a=merge
MozReview-Commit-ID: 3H9BxQQQnNI
2016-04-29 16:05:30 -07:00
Sebastian Hengst
439ccdd10a Backed out changeset e7570b6d28aa (bug 1145188) 2016-04-29 21:29:13 +02:00
Iaroslav Sheptykin
c1c4ebbd1d Bug 1145188: Shifting TelemetrySession init control to TelemetryController (test). r=Dexter 2016-04-26 06:28:00 +02:00
Mike Shal
8689f72e8b Bug 1266875 - Remove custom install rules; r=chmanchester
MozReview-Commit-ID: CoWdHidlDrV
2016-04-18 10:36:07 -04:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Ted Mielczarek
9dd47ee41b bug 1264242 - Write memory info streams for Windows Minidumps of child processes. r=bsmedberg
MozReview-Commit-ID: COHFdNiJIqm

--HG--
rename : toolkit/crashreporter/test/unit/test_crashreporter_crash.js => toolkit/crashreporter/test/unit_ipc/test_content_memory_list.js
extra : rebase_source : b8cd3465d10438116a10553ba3eedf5e4cf23f32
2016-04-13 08:05:46 -04:00
Chris Manchester
a77dfaff4a Bug 1262866 - Move crashreport.sjs from browser.ini to TEST_HARNESS_FILES to prevent failure in --disable-crashrepoter builds. r=ted
MozReview-Commit-ID: 6kMEMAmxBhM
2016-04-12 11:19:21 -07:00
Phil Ringnalda
1087454416 Back out changeset 76411e442ff3 (bug 1262866) for causing the crashreporter browser-chrome tests to run on, and thus fail on, the --disable-crashreporter ASan builds 2016-04-11 20:34:05 -07:00
Chris Manchester
dc426e9cbb Bug 1262866 - Include toolkit/crashreporter/test/browser/browser.ini in a more central moz.build to avoid a failure when running tests against --disable-crashreporter builds. r=mshal
MozReview-Commit-ID: 9DzmJjzpZe7
2016-04-11 11:21:20 -07:00
Ted Mielczarek
6e351deef3 bug 1156300 - symbolstore.py FixFilenameCase doesn't fix up directory names. r=gps
MozReview-Commit-ID: 2nEaouS1oHD

--HG--
extra : rebase_source : c993a749f7c932cc1e7026a82332a127b5f7e3ca
2016-04-11 08:53:42 -04:00
Cervantes Yu
3540ae23db Bug 1257486 - Annotate global memory status in the crash reporter for child process; r=bsmedberg
MozReview-Commit-ID: ExVZS3aAp41

--HG--
extra : rebase_source : 9ddf96d5ce95aa96629e8772ae33719a6898e235
2016-03-29 19:16:09 +08:00
Chris Manchester
f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Dustin J. Mitchell
6618eec31d Bug 1261045: remove unused SYMBOL_SERVER_*; r=ted.mielczarek
MozReview-Commit-ID: 4fyzQufrXbO

--HG--
extra : rebase_source : a739e0c0004df6d3d49d3ec9687a25010b024dfe
2016-04-01 14:00:27 +00:00
Aaron Klotz
0367a22494 Bug 1256541: Fix incorrect generation of path for child process .extra files when content sandboxing is disabled; r=bsmedberg
MozReview-Commit-ID: JQgqlntQ6cu

--HG--
extra : rebase_source : a1538a2430ff1960cd2a10d646b37cfdd56986df
2016-03-16 12:35:50 -06:00
Wes Kocher
6eae4e772d Backed out changeset 0827e0e5d9d4 (bug 1256541) for timeouts and crashes in browser_CTP_crashreporting.js
MozReview-Commit-ID: 704JC6wknXc
2016-03-24 13:04:48 -07:00
Aaron Klotz
e84e757350 Bug 1256541: Fix incorrect generation of path for child process .extra files when content sandboxing is disabled; r=bsmedberg
Since the minidump path can be overridden programmatically in the chrome
process, using that path as the base for .extra files won't work since content
is unaware of it.

This patch changes everything to use the temp path when MOZ_CONTENT_SANDBOX is
not defined or when sandboxing is disabled via pref. It also moves the derivation
of the content temp path out of exception context on Windows and Mac, as I
found out that those functions touch the heap.

I also noticed that xpcshell is not sandbox-aware when utilized as a parent
process. I've filed bug 1257098 to take care of that, but this patch includes a
hack for the immediate term.

MozReview-Commit-ID: 3SIB5Nihqxh

--HG--
extra : rebase_source : f4f83c4474f12ececa34e9dda68fc19abc56a899
2016-03-16 12:35:50 -06:00
Daniel Holbert
b84ccd903b Bug 1258269: Declare logging string-literals in exception_handler.cc as 'const char[]' to fix build warning & for consistency. r=ted
MozReview-Commit-ID: 9UDHiPJus0C

--HG--
extra : rebase_source : a1eda37de65b7d25b37291c993d5c0a369fe29fc
2016-03-20 23:35:13 -07:00
Benjamin Smedberg
ea170a13cf Bug 1257209 - record uptime in crash metadata/pings, r=gfritzsche
MozReview-Commit-ID: 8MVRwALXvW5

--HG--
extra : rebase_source : e79362e885ca4986c1c4b8a3a82830de88f1107b
2016-03-16 16:59:06 -04:00
Mike Hommey
7f131dbc35 Bug 1256988 - Replace tests on MOZ_ENABLE_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester 2016-03-17 06:49:44 +09:00
Benjamin Smedberg
702c087507 Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
MozReview-Commit-ID: GwVI0dfsT4H

--HG--
extra : rebase_source : 0ae9efbce919efcd0f20314bd89848da017b7e57
2016-03-14 09:31:19 -04:00
Wes Kocher
3b14ab8ca2 Merge inbound to m-c a=merge 2016-03-15 17:24:43 -07:00
Blair McBride
3a42cce9c7 Bug 750054 - Update loading throbbers in secondary UI. r=mikedeboer,dolske
--HG--
rename : toolkit/themes/linux/global/icons/loading_16.png => toolkit/themes/linux/global/icons/loading.png
rename : toolkit/themes/osx/global/icons/loading_16.png => toolkit/themes/osx/global/icons/loading.png
rename : browser/themes/osx/tabbrowser/loading@2x.png => toolkit/themes/osx/global/icons/loading@2x.png
rename : toolkit/themes/windows/global/icons/loading_16.png => toolkit/themes/windows/global/icons/loading.png
rename : browser/themes/windows/tabbrowser/loading@2x.png => toolkit/themes/windows/global/icons/loading@2x.png
extra : rebase_source : 0dee8b2270eb2ef74cc2224270712bedb5fe8e6a
2016-03-15 23:04:22 +13:00
Ted Mielczarek
7b1faa29bc bug 1255479 - make mach python-tests use TestResolver for discovery, make mach test work for python tests. r=nalexander
MozReview-Commit-ID: CK2Vh6gdnb0

--HG--
extra : rebase_source : 2b1b05224ade41ad500dc66116beb3b091db9cde
extra : amend_source : 349f7cc876383d873acb1c73c0118d394f39284d
extra : histedit_source : 6d1d44188bb3a4fc69da2900e8118ce2a88a5fd7
2016-03-10 12:30:10 -05:00
Mike Shal
89f2907216 Bug 1254120 - Remove toolkit/crashreporter/test/Makefile.in; r=ted
MozReview-Commit-ID: 9RTd5ty1GDC
2016-03-11 14:24:36 -05:00
Masatoshi Kimura
857d45278a Bug 1254963 - Fix build error C2664 on MSVC 2015. r=aklotz 2016-03-11 07:25:33 +09:00
Sebastian Hengst
3f2ab6d07e Backed out changeset c1dbec35e0c5 (bug 1254963) for bustage. r=bustage on a CLOSED TREE 2016-03-10 00:14:49 +01:00
Masatoshi Kimura
8377f8426d Bug 1254963 - Fix build error C2664 on MSVC 2015. r=aklotz 2016-03-10 07:45:49 +09:00
Birunthan Mohanathas
ec65f12dd8 Bug 623183 - Build dump_syms on Windows when using VS2015; r=ted
MozReview-Commit-ID: LCvipO5FXdR

--HG--
extra : source : e68a8c608182025bac53dcbb48b0c0d474931f90
extra : amend_source : 3113865fb4be93db6b51ce55514cd2a55e577df9
2016-03-08 14:07:28 -08:00
Aaron Klotz
89e67972f0 Bug 1236108: Add support for exception-context annotations for content processes to the crash reporter; r=bsmedberg
This patch redefines XP_PATH_MAX on Windows to be MAX_PATH + 1. I did this
because the longer definition would actually not work with most Windows APIs.
Some APIs can work with longer lengths if the path is prefixed with "\\?\", but
that is not guaranteed in general.

See https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#maxpath

MozReview-Commit-ID: LhT5oM5hlkl

--HG--
extra : rebase_source : 377f92157010c924d8ab1d9af5f93a9496526d5f
2016-03-07 12:48:58 -08:00
Mike de Boer
cf23a40c78 Bug 1241930: Part 6 - convert all assertion methods used inside content tasks to the Assert.* family in toolkit tests. r=mconley 2016-03-04 14:32:34 +01:00
James Willcox
915320dbd0 Bug 1247399 - Put r7 in clobber registers for breakpad's sys_clone() r=glandium 2016-02-26 14:50:39 -06:00
Jeffrey Tran
27795d6f6e Bug 637238 - Uncheck rich text option in MainMenu.nib. r=ted
--HG--
extra : commitid : EjcmdJqqaQl
extra : amend_source : e31dee840c9ff49b579c18f85c0e8854369c9b58
2016-02-22 09:21:15 -08:00
Milan Sreckovic
2967cf9b23 Bug 1240160: Add the TimeStamp based uptime value to crash reports, tagging it as UptimeTS, to differentiate from an existing Uptime value. A bit of additional code, avoiding the usage of C libraries to format some strings and a way to gtest these. r=BenWa,ted.mielczarek carrying ted.mielczarek review for the exception handler changes.
MozReview-Commit-ID: 12pRuD7agIG

--HG--
extra : rebase_source : f4427c8a6fdc1054f0f74cdce8d42bbf470dd143
2016-02-17 17:44:21 -05:00
Birunthan Mohanathas
a22220e378 Bug 1236343 - Cherry-pick upstream Breakpad commit "Try loading msdiaNNN.dll if CoCreateInstance(CLSID_DiaSource) fails". r=ted
1e24e66fbb

DONTBUILD because we don't build pdb_source_line_writer.cc yet.
2016-02-17 11:36:19 -05:00
James Willcox
67da777b83 Bug 1247978 - Ensure minidump header gets written during crash dump on Linux r=ted 2016-02-16 10:16:57 -06:00
James Willcox
4a644027c8 Bug 1247399 - Add some debug spew to Linux crash handler r=ted 2016-02-16 10:16:57 -06:00
Mike Hommey
64173a71ed Followup for bug 1069556: Remove what was removed in bug 1245055. r=me 2016-02-10 10:16:07 +09:00
Blake Kaplan
8801eafc2e Bug 1245723 - Make crashreporter browser-chrome tests e10s compatible. r=felipe 2016-02-09 14:40:35 -08:00
James Willcox
34358e8ff5 Bug 1245612 - Send texture usage bytes in crash reports r=bsmedberg 2016-02-08 09:18:52 -06: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
Ted Mielczarek
f2d72aa588 bug 1069556 - change update-breakpad.sh to work with Breakpad's git repo (NPOTB)
--HG--
extra : commitid : 8m3oeXmF9Ok
extra : rebase_source : fafe1efc3d5660dd82350fc9c6db727a201d0355
extra : intermediate-source : a319694b46d54d9240842f0c525cf5570cf4649a
extra : source : 0e628eff02f5cf6fdc118ef0e61f3e17f627e7d2
2015-10-23 15:25:30 -04: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
Dave Townsend
541b00204a Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe
--HG--
extra : commitid : DrYPQokQp9O
extra : rebase_source : e0bacf124280ecdbeccfc34dbf66fd80f5a9d296
2016-02-03 13:12:18 -08:00
Mike Hommey
9ec0d0969f Bug 1245055 - Remove toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in. r=mshal
The remains in this file come from bug 633436. I'm not sure what the
toolchain was back then (5 years ago), but it doesn't appear what it
was trying to work around happens nowadays, so just get rid of the
workaround.
2016-02-03 08:41:26 +09:00
Blake Kaplan
31fb709fc3 Bug 1243928 - Make these tests work in e10s. r=felipe 2016-02-02 13:44:11 -08:00
James Willcox
084cb94a2c Bug 1142944 - Don't use PTRACE_GETFPREGS when getting crash trace on Android/ARM r=ted 2016-01-26 11:49:59 -06:00
Carsten "Tomcat" Book
770228e318 Backed out changeset 0e628eff02f5 (bug 1069556) for multiple test failures after landing on a CLOSED TREE 2016-01-26 14:53:45 +01:00
Carsten "Tomcat" Book
1bcf4b4b99 Backed out changeset 09fd4f3ab6e7 (bug 1069556)
--HG--
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc
2016-01-26 14:53:06 +01:00
Carsten "Tomcat" Book
db55b0fa77 Backed out changeset 31c98f5e107b (bug 1069556)
--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in
2016-01-26 14:53:02 +01:00
Carsten "Tomcat" Book
345f60ff8d Backed out changeset 168001ae11e4 (bug 1069556) 2016-01-26 14:53:00 +01:00
Ted Mielczarek
d41a42ce86 Fix dep build bustage from bug 1069556. r=bustage CLOSED TREE HOSED TREE
--HG--
extra : commitid : 9bb4g7fFAHe
extra : amend_source : 39bb10daaad5fcd6093261e00d3c8bc0ee48e24f
2016-01-26 06:25:27 -05:00
Ted Mielczarek
bf718146b7 bug 1069556 - local build changes to match up with upstream Breakpad. r=benwa,glandium
This commit contains a few things:
* 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/client/linux/handler/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in
extra : commitid : GR2H5y5DM7E
extra : rebase_source : 212b8f04703555658e1df026de2211ea20ac390b
2015-11-09 08:14:52 -05:00
Ted Mielczarek
8b33bf2725 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium
--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 : commitid : JrvwN8snpm2
extra : rebase_source : 3433235330b64ae20abbcc6defb26218617a165f
2015-10-09 15:29:26 -04:00
Ted Mielczarek
0b8ac6acb9 bug 1069556 - change update-breakpad.sh to work with Breakpad's git repo (NPOTB)
--HG--
extra : commitid : 3RrJbnViuO3
extra : rebase_source : b2e37a5830d384ee689bbddc09b37b4ba65ddf47
2015-10-23 15:25:30 -04:00
Sylvestre Ledru
ab4e3a0d42 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
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