Граф коммитов

1138 Коммитов

Автор SHA1 Сообщение Дата
Jared Wein ea0b3d77bc Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
MozReview-Commit-ID: GDfvwWRLNm5
2016-08-16 21:27:37 -04:00
Sebastian Hengst c66c2fee3a Backed out changeset 7914e9dc6f88 (bug 1294542) for xpcshell failure in test_Log.js. r=backout 2016-08-17 01:24:58 +02:00
Jared Wein e6276ea7f5 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Jared Wein b82aa6f6de Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
MozReview-Commit-ID: AAXqh63QNv3
2016-08-16 15:44:13 -04:00
Igor 175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor a57972337d Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Nicholas Nethercote 8f51d02c97 Bug 1293117 (part 5) - Change many NS_METHOD occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_METHOD F() override;      --> NS_IMETHOD F() override;
- NS_METHOD F() override {...} --> NS_IMETHOD F() override {...}
- NS_METHOD F() final;         --> NS_IMETHOD F() final;
- NS_METHOD F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 3010fade82a170eab7f13d81bf61b02cd693f3cf
2016-08-08 10:54:50 +10:00
Nicholas Nethercote e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Kashyap Gajera a2fde92e87 Bug 1290701 - Replace in-tree consumer of non-standard Iterator() with Object.{values,entries} in toolkit/. r=dtownsend 2016-08-03 11:53:10 +05:30
Jared Wein fd84c776c7 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt

--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
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
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