Commit Graph

7670 Commits

Author SHA1 Message Date
Gabriel Luong
8b103875f0 Bug 1409970 - Part 1: Refactor the canvas position utility code to a separate file. r=pbro 2017-10-24 22:03:59 -04:00
Tom Schuster
d3b457113a Bug 638054 - Remove or fix tests outside JS using watch/unwatch. r=bz,fitzgen 2017-10-24 20:48:14 +02:00
Francois Marier
7f48d0bdd3 Bug 1385461 - Upgrade to the latest version of the protobuf library. r=dimi,fitzgen,glandium,mattwoodrow,mossop
The tarball that was imported is the 3.4.1 release:

  https://github.com/google/protobuf/releases/tag/v3.4.1
  https://github.com/google/protobuf/releases/download/v3.4.1/protobuf-cpp-3.4.1.tar.gz

This drops all of the customizations that are no longer needed,
which includes a few issues that were fixed upstream:

- r512.patch from bug 892856:

    https://searchfox.org/mozilla-central/rev/bab9dbe9c4ef71f71fb07e53b701fb2dfde277d9/toolkit/components/protobuf/r512.patch
    b04e5cba35/src/google/protobuf/io/zero_copy_stream_impl.cc (L43)

- vs2013.patch, also from bug 892856:

    https://searchfox.org/mozilla-central/rev/bab9dbe9c4ef71f71fb07e53b701fb2dfde277d9/toolkit/components/protobuf/vs2013.patch
    b04e5cba35/src/google/protobuf/wire_format_lite_inl.h (L39)

- sparc64 fixes in m-c-changes.patch from bug 1275204:

    https://hg.mozilla.org/integration/mozilla-inbound/rev/21d692e82582
    b04e5cba35/src/google/protobuf/stubs/platform_macros.h (L68)

The LOGLEVEL_ERROR hack in m-c-changes.patch from bug 1024774 and
bug 1320179 was replaced by a NOGDI define in moz.build as suggested
by upstream:

    https://github.com/google/protobuf/pull/3745/files#r144915445

The other customizations that were dropped came from bug 1024774.

The patch for OpenBSD/32-bit will likely be fixed upstream in a
future release:

    https://github.com/google/protobuf/pull/3747#issuecomment-336581244

Upgrading the protobuf library also required re-generating all
of the existing .pb.h and pb.cc files (they are neither forward
nor backward-compatible) and making adjustments to the build
config to make it compile (and silence warnings).

text_format.cc can now be compiled as part of UNIFIED_SOURCES.

MozReview-Commit-ID: 7F2IqFmwQnN

--HG--
extra : rebase_source : b907a28a8063ecd82bb38530d309faafc7b83175
2017-10-18 15:02:05 -07:00
Julian Descottes
c987281ee8 Bug 1171482 - throttle new-mutations events in inspector actor;r=bgrins
MozReview-Commit-ID: KaXW7UeNQny

--HG--
extra : rebase_source : 2b0308a141c1f5d0a6b0e8889c0968a146274308
extra : source : c40f41e3f68393a8d1aff7c231986bee035edcff
2017-10-09 13:20:25 +02:00
Julian Descottes
6a65c81de6 Bug 1171482 - wait for 2 distinct mutations in markup test;r=pbro
MozReview-Commit-ID: Jn0dEr4qe6U

--HG--
extra : rebase_source : de0bf26aff7c8c5ea70efe0d11e9afa963218717
2017-10-18 13:07:45 +02:00
Julian Descottes
28cdc89976 Bug 1171482 - extract throttle to dedicated util;r=bgrins
MozReview-Commit-ID: L0CVtw2w03a

--HG--
extra : rebase_source : d5633baf56d6afefbb2a0d7cd631a8c7cb5b898b
2017-10-18 13:05:32 +02:00
Julian Descottes
a38697372f Bug 1410659 - add context-fill to devtools reload icon;r=ntim
MozReview-Commit-ID: 8DZv2HOVKga

--HG--
extra : rebase_source : fd38c03eb0a9d76b423e5b01cf72684505bf2049
2017-10-23 10:21:29 +02:00
Nicolas Chevobbe
56aee668af Bug 1410071 - Remove space between user styled messages parts; r=bgrins.
The %c marker is only valid for the first argument, so if we find ourselves
between two parameters with user-styled messages, it means we should respect
the original formatting.

MozReview-Commit-ID: 4GORZyvvxRN

--HG--
extra : rebase_source : 11adda5e3a18a7e52a02bdbcf1a18a5bfee6ee2c
2017-10-19 16:03:03 +02:00
Simon Van Accoleyen
dedbda00a2 Bug 1406193 - Remove last remaining SocialAPI bits. r=dao
MozReview-Commit-ID: E5GKq2CYclF
2017-10-21 18:38:17 +02:00
Nicolas Chevobbe
7e81e50df6 Bug 1405652 - Enable browser_webconsole_view_source.js in new console frontend; r=bgrins.
MozReview-Commit-ID: DctteBfNgtC

--HG--
extra : rebase_source : cbe235b44e9aefed6e1cdb96b037b80f63709cd9
2017-10-20 08:58:07 +02:00
Tom Tromey
42097bd9cb Bug 1384463 - only trim CSS-allowed whitespace in declaration parser; r=gl
MozReview-Commit-ID: 7bnu2a9G1uq

--HG--
extra : rebase_source : 32fc701fe10f44e36c88aa73d4b234b94f9990f1
2017-10-19 11:04:30 -06:00
Nicolas Chevobbe
9bf7d76660 Bug 1409836 - Fix setting filters prefs when filters are reset or cleared; r=bgrins.
We were getting the filter state after dispatching the action, which made
all the filters to have an enabled state. Getting the state before dispatching
fixes the issue.
This patch enhance the Service mock in order to have a better idea of what is going on
with prefs. This allow us to introduce some tests to make sure prefs are updated in
reaction to given actions.

MozReview-Commit-ID: Byay0TwF25I

--HG--
extra : rebase_source : fd9e022c872783e2c6baa6ee0be5bf98f7eced78
2017-10-19 10:07:54 +02:00
Julian Descottes
b6c8ab7cc9 Bug 1408330 - remove mentions about styleeditor, webaudio and scratchpad;r=nchevobbe
MozReview-Commit-ID: 5QZDZb39cYV

--HG--
extra : rebase_source : c88f33d768101fd7825b26fd5d513e7b32e4f630
2017-10-18 12:33:32 +02:00
Julian Descottes
325c347f6c Bug 1408330 - UI polish on DevTools onboarding page;r=nchevobbe
MozReview-Commit-ID: 5JE7ZErxCxG

--HG--
extra : rebase_source : 448dbd30a273169685880362622ab27985ef7e7b
2017-10-16 16:53:55 +02:00
Sebastian Hengst
2592ce224a merge mozilla-central to autoland. r=merge a=merge 2017-10-20 11:45:03 +02:00
Sebastian Hengst
bc6dddb88b merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BY4c5BIOF81
2017-10-20 11:37:54 +02:00
Sebastian Hengst
24583b9443 merge mozilla-central to autoland. r=merge a=merge 2017-10-20 01:08:09 +02:00
Sebastian Hengst
20d769ea9c merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Gc5JIILUrPi
2017-10-20 00:05:39 +02:00
Patrick Brosset
714264d3e8 Bug 1406061 - Remove the unused Jsbeautify.jsm module; r=jdescottes
MozReview-Commit-ID: KF39qXJ2s11

--HG--
extra : rebase_source : 29394e085bf80d394dd4e1c6013082c0ebe94069
2017-10-19 09:58:19 +02:00
Sebastian Hengst
3148182768 Backed out changeset 6b88d856e00f (bug 1403927) for failing mochitest-clipboard's devtools/client/netmonitor/test/browser_net_copy_params.js. r=backout
--HG--
extra : amend_source : 8381b242fb5d6625f922413d1255157c3887d178
2017-10-19 11:40:42 +02:00
Sebastian Hengst
3b72f7b75f Backed out changeset ac5ebd3c7e82 (bug 1403927) 2017-10-19 11:40:36 +02:00
Jan Odvarko
e14412541c Bug 1403927 - Test for HTTPi Params panel; r=nchevobbe
MozReview-Commit-ID: 4k4kF3cGSTh

--HG--
extra : rebase_source : e1888f036624557015a72f15e45100067099ae4b
2017-10-18 20:45:54 +02:00
Jan Odvarko
7e514e201b Bug 1403927 - Fix Params panel in HTTPi; r=nchevobbe
MozReview-Commit-ID: 16djEqkEJMj

--HG--
extra : rebase_source : b717fd9fbdba85739d847269503788f686faca60
2017-10-18 18:58:38 +02:00
Sebastian Hengst
6ed80345bb merge mozilla-central to autoland. r=merge a=merge 2017-10-19 09:49:52 +02:00
Sebastian Hengst
c6b9718eb1 Bug 1408468 - Shapes highlighter handles for shapes in iframe cannot be clicked outside iframe. Follow-up: Add new line at end to make eslint happy. r=eslint-fix a=eslint-fix
MozReview-Commit-ID: AdlX5ArtKeg
2017-10-19 09:48:19 +02:00
Ryan VanderMeulen
cb612851ed Merge inbound to m-c. a=merge 2017-10-18 21:01:34 -04:00
Mike Park
c304a07e7a Bug 1408468 - Shapes highlighter handles for shapes in iframe cannot be clicked outside iframe. r=gl
MozReview-Commit-ID: 3J4J6vM96sj
2017-10-13 13:19:50 -04:00
Ryan VanderMeulen
9c3824dc0c Merge m-c to autoland. a=merge 2017-10-18 21:02:15 -04:00
Mark Banner
d4ad271c61 Bug 1230373 - Fix an issue with eslint-plugin-mozilla not detecting the global scope properly when arrow functions are used. r=mossop
MozReview-Commit-ID: IOCM8Fjl0xQ

--HG--
extra : rebase_source : 63face219569f50bdfb00bcd7384f334ec6113c2
2017-10-16 15:08:26 +01:00
Julian Descottes
4db2619112 Bug 1406375 - update animation inspector test to support formatted numbers;r=pbro
Integers used to skip localization & formatting.
We used to have (for 2 decimals formatting)
1000   -> 1000
1000.1 -> 1,000.10

With the other patches attached here, the behavior is now consistent
1000   -> 1,000
1000.1 -> 1,000.10

This changeset updates some regexp in an animation inspector test to be
compatible with the new format.

MozReview-Commit-ID: 4YUNGlKp98z

--HG--
extra : rebase_source : 638fced7a884a01c5fcd41e0df68e7c8d39c2e8c
2017-10-19 17:00:43 +02:00
Julian Descottes
4980535bfe Bug 1406375 - always localize numbers in l10n::numbersWithDecimals;r=Honza
With the previous implementation, zeros and integers passed to
numberWithDecimals would not be formatted according to the
locale.

This updates the method to make the formatting consistent,
regardless of the number argument.

MozReview-Commit-ID: KvU1AjhzXAf

--HG--
extra : rebase_source : 551faa5318c4b38b80ee4858e0dd473e6f0617c5
2017-10-06 15:14:56 +02:00
Julian Descottes
3ec8ed626a Bug 1406375 - test integers in browser_num-l10n.js;r=Honza
MozReview-Commit-ID: 49UwLBMZTiv

--HG--
extra : rebase_source : 983c1dd7194c5d702f92686b3507861fb8a1e861
2017-10-18 12:16:30 +02:00
Tim Nguyen
91e239073d Bug 1409684 - Polish d3 graphs style. r=bgrins
MozReview-Commit-ID: FUaRBk9knBW

--HG--
extra : rebase_source : f9b1adb7923e985b13b607d755813f926bd48eab
2017-10-18 18:43:11 +01:00
Miguel Useche
cdc677c157 Bug 1402390 - CamelCase all React component files in \devtools\client\netmonitor\src\components\. r=pbro
MozReview-Commit-ID: LseEecjdU7I

--HG--
rename : devtools/client/netmonitor/src/components/app.js => devtools/client/netmonitor/src/components/App.js
rename : devtools/client/netmonitor/src/components/cookies-panel.js => devtools/client/netmonitor/src/components/CookiesPanel.js
rename : devtools/client/netmonitor/src/components/custom-request-panel.js => devtools/client/netmonitor/src/components/CustomRequestPanel.js
rename : devtools/client/netmonitor/src/components/headers-panel.js => devtools/client/netmonitor/src/components/HeadersPanel.js
rename : devtools/client/netmonitor/src/components/mdn-link.js => devtools/client/netmonitor/src/components/MdnLink.js
rename : devtools/client/netmonitor/src/components/monitor-panel.js => devtools/client/netmonitor/src/components/MonitorPanel.js
rename : devtools/client/netmonitor/src/components/network-details-panel.js => devtools/client/netmonitor/src/components/NetworkDetailsPanel.js
rename : devtools/client/netmonitor/src/components/params-panel.js => devtools/client/netmonitor/src/components/ParamsPanel.js
rename : devtools/client/netmonitor/src/components/properties-view.js => devtools/client/netmonitor/src/components/PropertiesView.js
rename : devtools/client/netmonitor/src/components/request-list.js => devtools/client/netmonitor/src/components/RequestList.js
rename : devtools/client/netmonitor/src/components/request-list-column-cause.js => devtools/client/netmonitor/src/components/RequestListColumnCause.js
rename : devtools/client/netmonitor/src/components/request-list-column-content-size.js => devtools/client/netmonitor/src/components/RequestListColumnContentSize.js
rename : devtools/client/netmonitor/src/components/request-list-column-cookies.js => devtools/client/netmonitor/src/components/RequestListColumnCookies.js
rename : devtools/client/netmonitor/src/components/request-list-column-domain.js => devtools/client/netmonitor/src/components/RequestListColumnDomain.js
rename : devtools/client/netmonitor/src/components/request-list-column-duration.js => devtools/client/netmonitor/src/components/RequestListColumnDuration.js
rename : devtools/client/netmonitor/src/components/request-list-column-end-time.js => devtools/client/netmonitor/src/components/RequestListColumnEndTime.js
rename : devtools/client/netmonitor/src/components/request-list-column-file.js => devtools/client/netmonitor/src/components/RequestListColumnFile.js
rename : devtools/client/netmonitor/src/components/request-list-column-latency.js => devtools/client/netmonitor/src/components/RequestListColumnLatency.js
rename : devtools/client/netmonitor/src/components/request-list-column-method.js => devtools/client/netmonitor/src/components/RequestListColumnMethod.js
rename : devtools/client/netmonitor/src/components/request-list-column-protocol.js => devtools/client/netmonitor/src/components/RequestListColumnProtocol.js
rename : devtools/client/netmonitor/src/components/request-list-column-remote-ip.js => devtools/client/netmonitor/src/components/RequestListColumnRemoteIp.js
rename : devtools/client/netmonitor/src/components/request-list-column-response-header.js => devtools/client/netmonitor/src/components/RequestListColumnResponseHeader.js
rename : devtools/client/netmonitor/src/components/request-list-column-response-time.js => devtools/client/netmonitor/src/components/RequestListColumnResponseTime.js
rename : devtools/client/netmonitor/src/components/request-list-column-scheme.js => devtools/client/netmonitor/src/components/RequestListColumnScheme.js
rename : devtools/client/netmonitor/src/components/request-list-column-set-cookies.js => devtools/client/netmonitor/src/components/RequestListColumnSetCookies.js
rename : devtools/client/netmonitor/src/components/request-list-column-start-time.js => devtools/client/netmonitor/src/components/RequestListColumnStartTime.js
rename : devtools/client/netmonitor/src/components/request-list-column-status.js => devtools/client/netmonitor/src/components/RequestListColumnStatus.js
rename : devtools/client/netmonitor/src/components/request-list-column-transferred-size.js => devtools/client/netmonitor/src/components/RequestListColumnTransferredSize.js
rename : devtools/client/netmonitor/src/components/request-list-column-type.js => devtools/client/netmonitor/src/components/RequestListColumnType.js
rename : devtools/client/netmonitor/src/components/request-list-column-waterfall.js => devtools/client/netmonitor/src/components/RequestListColumnWaterfall.js
rename : devtools/client/netmonitor/src/components/request-list-content.js => devtools/client/netmonitor/src/components/RequestListContent.js
rename : devtools/client/netmonitor/src/components/request-list-empty-notice.js => devtools/client/netmonitor/src/components/RequestListEmptyNotice.js
rename : devtools/client/netmonitor/src/components/request-list-header.js => devtools/client/netmonitor/src/components/RequestListHeader.js
rename : devtools/client/netmonitor/src/components/request-list-item.js => devtools/client/netmonitor/src/components/RequestListItem.js
rename : devtools/client/netmonitor/src/components/response-panel.js => devtools/client/netmonitor/src/components/ResponsePanel.js
rename : devtools/client/netmonitor/src/components/security-panel.js => devtools/client/netmonitor/src/components/SecurityPanel.js
rename : devtools/client/netmonitor/src/components/source-editor.js => devtools/client/netmonitor/src/components/SourceEditor.js
rename : devtools/client/netmonitor/src/components/stack-trace-panel.js => devtools/client/netmonitor/src/components/StackTracePanel.js
rename : devtools/client/netmonitor/src/components/statistics-panel.js => devtools/client/netmonitor/src/components/StatisticsPanel.js
rename : devtools/client/netmonitor/src/components/status-bar.js => devtools/client/netmonitor/src/components/StatusBar.js
rename : devtools/client/netmonitor/src/components/tabbox-panel.js => devtools/client/netmonitor/src/components/TabboxPanel.js
rename : devtools/client/netmonitor/src/components/timings-panel.js => devtools/client/netmonitor/src/components/TimingsPanel.js
rename : devtools/client/netmonitor/src/components/toolbar.js => devtools/client/netmonitor/src/components/Toolbar.js
2017-10-15 22:46:03 -04:00
Aleksander Gurin
0485f5a283 Bug 1408143 - JSON Viewer: navigable (clickable) links (enhancement proposal). r=Honza 2017-10-12 23:05:46 +03:00
Sebastian Hengst
7beb660397 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-19 11:54:07 +02:00
Sebastian Hengst
c2ab267f86 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 7BbAIKxBpcI
2017-10-19 11:22:55 +02:00
Jason Laster
ebfefa4a4c Bug 1408562 - Update Debugger frontend (10-13). r=jdescottes
MozReview-Commit-ID: 6qEViJ9Z2Nw

--HG--
extra : rebase_source : cc99bd7f7f369588023e3c84e35b5253e4fbb6b5
2017-10-19 11:05:49 +02:00
Sebastian Hengst
94111c6b58 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-20 01:17:40 +02:00
Brian Grinstead
46fd998eb4 Bug 1408387 - Only run browser_webconsole_view_source.js task in the new debugger r=jmaher
MozReview-Commit-ID: HjzJsTLUD0O

--HG--
extra : rebase_source : 9bb0ef5c9a31fdc171fb594038b5ea1482506e1e
2017-10-19 09:36:33 -07:00
Nicolas Chevobbe
cc3e3b19aa Bug 1408916 - Rename and enable browser_webconsole_autocomplete-properties-with-non-alphanumeric-names.js in the new console frontend; r=bgrins.
MozReview-Commit-ID: DCFWNLGhCSM

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_autocomplete-properties-with-non-alphanumeric-names.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_autocomplete-properties-with-non-alphanumeric-names.js
extra : rebase_source : 9c6a4e51bcfa323105778ccfe8705f71d37e347f
2017-10-19 09:16:39 +02:00
Jan Odvarko
75159e0ad3 Bug 1403927 - Test for HTTPi Params panel; r=nchevobbe
MozReview-Commit-ID: 1DzpCgxlrQg

--HG--
extra : rebase_source : de3a5e16f136d42bfc1197c64c12fc50608bb9b0
2017-10-19 14:53:23 +02:00
Jan Odvarko
17a67c84d7 Bug 1403927 - Fix Params panel in HTTPi; r=nchevobbe
MozReview-Commit-ID: 8KIWYs5sDoG

--HG--
extra : rebase_source : 87d364ab98dca9ffb275fa979050e062a00daf65
2017-10-19 14:49:05 +02:00
Tom Tromey
a018db05a1 Bug 1409606 - use full URL in rule view's source tooltip; r=gl
MozReview-Commit-ID: E704sOJV4wp

--HG--
extra : rebase_source : 64a3ae2a0781e9003235e9dc8d933d0537311c63
2017-10-18 13:03:11 -06:00
Brian Grinstead
25d7f09a0e Bug 1400176 - Prevent extra reflows by resetting html and body to display:block;r=nchevobbe
MozReview-Commit-ID: 38cBYjNgVZo

--HG--
extra : rebase_source : 3aebceafaedfd0fc58f549761c8dab04d1a8fa04
2017-10-18 13:18:48 -07:00
Nicolas Chevobbe
760e1f9ef7 Bug 1409436 - Fix jsterm font-size warning; r=Honza.
The font-size property was trying to retrieve a non existing variable, which
was spamming the terminal with warning messages. Putting the property to
inherit since it was defaulted to that.

MozReview-Commit-ID: nMWUOvOTIt

--HG--
extra : rebase_source : 35b07bccdb7fd2da89957393c01d68268e6b99fe
2017-10-17 17:50:49 +02:00
Nicolas Chevobbe
cde551eee9 Bug 1408915 - Enable and rename browser_webconsole_add_edited_input_to_history.js in the new console frontend; r=Honza.
MozReview-Commit-ID: 41xj6osEFOM

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_add_edited_input_to_history.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_add_edited_input_to_history.js
extra : rebase_source : c088eb951b44fce1f5a17c12e7f1554ff759c913
2017-10-19 08:59:32 +02:00
Nicolas Chevobbe
4d400dcd9d Bug 1404829 - Test the repeat mechanism with different category in mocha;r=Honza.
Also, remove the useless mochitest that was doing the same thing.

MozReview-Commit-ID: AiSXglrcRfa

--HG--
extra : rebase_source : 3d311901937d2d440397e9f5576237ea548a217b
2017-10-18 10:05:20 +02:00
Sebastian Hengst
fea24c0daf merge mozilla-central to autoland. r=merge a=merge
--HG--
extra : rebase_source : 819bdfcc5e3f50cb5a3d8d76ce1f88ceeb0dd5a9
2017-10-17 23:54:52 +02:00
Sebastian Hengst
34714cebde merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2KL1o3EPUk
2017-10-17 23:52:28 +02:00