Nicholas Nethercote
2c805ac89f
Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
...
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.
This patch finishes the job.
- It removes the nsISupportsString support.
- It converts existing code that relied on the nsISupportsString.
- It removes the lint that was set up to detect such uses of nsISupportsString.
2017-11-10 09:07:48 +11:00
Boris Zbarsky
5e2f01813d
Bug 1415389. Make ChromeUtils a WebIDL namespace. Remove ThreadSafeChromeUtils. r=kmag
...
MozReview-Commit-ID: 9ysAeaBMNVt
2017-11-08 00:25:33 -05:00
Francois Marier
02f03de1ae
Bug 1411450 - Switch devtools CoreDump.proto to the LITE_RUNTIME. r=fitzgen
...
The "lite" runtime allows us to pull in a lot less of the protocol
buffers library:
https://developers.google.com/protocol-buffers/docs/proto#options
MozReview-Commit-ID: 2m41fqa9j09
2017-10-26 16:12:51 -07:00
Valentin Gosu
01fa9dd0ad
Bug 1407720 - Merge nsICookieManager and nsICookieManager2 r=nwgh
...
MozReview-Commit-ID: HuzeeB43YZZ
2017-10-31 13:02:28 +01:00
Mark Banner
78a008150e
Bug 1411368 - Automatically fix padded-blocks issues raised when using ESLint 4. r=mossop
...
MozReview-Commit-ID: 7GvGbTjz0pe
2017-10-26 12:27:04 +01:00
Mark Banner
3c2a2c87c9
Bug 1411368 - Automatically fix indent-legacy issues raised when using ESLint 4. r=mossop
...
MozReview-Commit-ID: BaQ8GXIGV5v
2017-10-26 12:20:08 +01:00
Mark Banner
e47ccbfec3
Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
...
MozReview-Commit-ID: H5YVp3rnzGo
2017-10-26 11:47:01 +01:00
Nicolas Chevobbe
1be39f71c2
Bug 1403458 - Convert browser_webconsole_assert.js to a backend test; r=bgrins.
...
The test ensures that packet are sent for falsy console.assert calls,
and that no packet are sent for truthy console.assert.calls, using a timeout.
Mochitest and support files are removed from the new frontend.
MozReview-Commit-ID: C9QpXfBySLo
2017-10-24 10:45:29 +02:00
Patrick Brosset
971a0b5090
Bug 1409428 - Cast inject urls from URL object to Strings; r=miker
...
MozReview-Commit-ID: GPHRMaJj6Zq
2017-10-18 09:49:38 +02:00
Francois Marier
af9d19f286
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
https://github.com/google/protobuf/blob/b04e5cba356212e4e8c66c61bbe0c3a20537c5b9/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
https://github.com/google/protobuf/blob/b04e5cba356212e4e8c66c61bbe0c3a20537c5b9/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
https://github.com/google/protobuf/blob/b04e5cba356212e4e8c66c61bbe0c3a20537c5b9/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
2017-10-18 15:02:05 -07:00
Julian Descottes
bd6e92d071
Bug 1171482 - extract throttle to dedicated util;r=bgrins
...
MozReview-Commit-ID: L0CVtw2w03a
2017-10-18 13:05:32 +02:00
Tom Tromey
562df04b80
Bug 1384463 - only trim CSS-allowed whitespace in declaration parser; r=gl
...
MozReview-Commit-ID: 7bnu2a9G1uq
2017-10-19 11:04:30 -06:00
Sebastian Hengst
1a372bb01d
merge mozilla-central to autoland. r=merge a=merge
2017-10-20 11:45:03 +02:00
Julian Descottes
647701fd51
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
2017-10-06 15:14:56 +02:00
Michael Ratcliffe
99ac6efb0f
Bug 1399493 - Upgrade to React 15.6.1 and include dev & prod version r=jdescottes,jlast
...
- Removed devtools.react.dev pref
- Changed condition that cause react dev files to be loaded (back to what they were before my change):
- .mozconfig contains `ac_add_options --enable-debug-js-modules`
- .mozconfig contains ac_add_options --enable-debug
- Successful try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6182dd41e4d611b6e32a7d6efd16991acd256a2f
MozReview-Commit-ID: JpvL8cRxPcL
2017-09-14 13:32:06 +01:00
Sebastian Hengst
85a417c111
merge mozilla-central to autoland. r=merge a=merge
2017-10-17 23:54:52 +02:00
Dragana Damjanovic
425236a2cf
Bug 1384679 - Fix network-monitor.js.
2017-10-17 17:08:42 +02:00
Dragana Damjanovic
5d2b7d09a7
Bug 1384679 - Fix timing for TFO. r=mcmanus r=honza
2017-10-17 15:28:33 +02:00
Julian Descottes
64b9fa6e15
Bug 1406311 - sprintfjs: optimise string-format for %S patterns;r=bgrins
...
MozReview-Commit-ID: AOi3cUTedX9
2017-10-17 21:11:48 +02:00
Julian Descottes
9fa80e6cc0
Bug 1406311 - sprintfjs: remove getType;r=bgrins
...
MozReview-Commit-ID: Ar1iSbqew2L
2017-10-17 21:04:58 +02:00
Julian Descottes
e881cf9dd4
Bug 1406311 - add unit test to cover sprintfjs;r=bgrins
...
We would like to optimize sprintfjs for performances.
To avoid regressions, add a basic unit test taken from the original
sprintfjs repository.
MozReview-Commit-ID: IKkDHpYfL4I
2017-10-12 13:08:08 +02:00
Julian Descottes
80c77e800f
Bug 1406311 - memoize number formatters in devtools l10n.js;r=ochameau
...
MozReview-Commit-ID: 7YIeimLREGg
2017-10-06 14:59:39 +02:00
Gabriel Luong
7c39967bdc
Bug 1409968 - Implement FlexboxActor for fetching all flexbox containers. r=pbro
2017-10-19 15:24:57 -04:00
Tom Tromey
a0b8c7abbd
Bug 1179820 - Remove source map handling from stylesheets actor; r=gl
...
MozReview-Commit-ID: 88Sw3TSx5yL
2017-09-29 10:00:36 -06:00
Tom Tromey
9cd806bb69
Bug 1179820 - Convert style editor to client-side source maps; r=gl
...
MozReview-Commit-ID: CV53VKKZz4A
2017-09-29 07:36:30 -06:00
Hiroyuki Ikezoe
05d87ec883
Bug 1399314 - Introdue CssLogic.getCSSStyleRules to get style rules for ::before and ::after pseudo elements handy. r=bgrins
...
For pseudo elements, inIDOMUtils.getCSSStyleRules needs to take the parent
element of the pseudo element and pseudo name. This new function wraps
inIDOMUtils.getCSSStyleRules so that we can get style rules for pseudo elements
handy.
MozReview-Commit-ID: LRQBdiizoL7
2017-10-13 07:19:54 +09:00
Hiroyuki Ikezoe
e780a1d2b8
Bug 1399314 - Move getBindingElementAndPseudo into shared/inspector/css-logic.js. r=ochameau
...
MozReview-Commit-ID: 4Ka61REglh
2017-10-13 07:19:54 +09:00
Mike Hommey
9315ab9691
Bug 1407838 - Replace UniquePtr<T, NSFreePolicy> with UniqueFreePtr. r=njn
2017-10-12 11:22:05 +09:00
Mike Hommey
261761b534
Bug 1407838 - Remove the remains of NS_Alloc/NS_Realloc/NS_Free. r=njn
...
Bug 1134923 removed the use of those functions in gecko, and left some
for the XPCOM standalone glue. The XPCOM standalone glue was severely
stripped down in bug 1306327, with the effect of removing the
implementation for those functions.
The remains in nsXPCOM.h are:
XPCOM_API(void*) NS_Alloc(size_t aSize);
XPCOM_API(void*) NS_Realloc(void* aPtr, size_t aSize);
XPCOM_API(void) NS_Free(void* aPtr);
With no implementation left, the first arm is never actually used, and
the second arm means every remaining use of those functions in the tree
is a macro expansion to one of moz_xmalloc, moz_xrealloc or free.
2017-10-12 11:08:44 +09:00
sole
800306938b
Bug 1391738 - Screenshot with filename fails with unknown error in Linux. r=jwalker
...
MozReview-Commit-ID: 7XLXyNkL4Le
2017-10-09 16:57:06 +01:00
Sebastian Hengst
e0cc99523e
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 36L7JL73CzG
2017-10-09 23:52:04 +02:00
Ben Kelly
68a0ed540e
Bug 1391693 P10 Don't expect extraneous console message from service worker any more. r=bgrins
2017-10-09 10:03:41 -07:00
Ben Kelly
605e6c61c9
Bug 1391693 P9 Make nsHttpChannel redirect to InterceptedHttpChannel to fire a ServiceWorker FetchEvent. r=asuth r=valentin
2017-10-09 10:03:41 -07:00
Kyle Machulis
90bec39eec
Bug 1405792 - Remove nsIDOMHTMLIFrameElement r=bz
...
MozReview-Commit-ID: 1u9C66X8j59
2017-10-04 20:41:24 -07:00
Julian Descottes
d3239a75b1
Bug 1399886 - remove unnecessary invertable CSS classes on devtools icons;r=gl
...
Using fill instead of filter we don't need to define each icon as
invertable or not. If the icon is a SVG and supports fill="context-fill"
then it will be inverted/highlighted etc... as expected.
If not then it won't be impacted by DevTools themes.
MozReview-Commit-ID: CLFprKMuCt9
2017-10-04 21:13:48 +02:00
Nicolas Chevobbe
8519505b53
Bug 1403106 - Use absolute path to not have issues with webpack aliasing; r=Honza
...
MozReview-Commit-ID: 88NkFh8arI6
2017-10-04 13:29:08 +02:00
Oriol Brufau
1cf70ea491
Bug 1406660 - Remove all wrappers when checking if a getter is safe. r=jimb
...
MozReview-Commit-ID: KcTGDuwqFYu
2017-10-07 18:27:29 +02:00
Kyle Machulis
ec8a7dce22
Bug 1404079 - Remove nsIDOMHTMLFrameElement; r=bz
...
MozReview-Commit-ID: GSvMwRpl7g4
2017-09-28 19:06:14 -07:00
Alexandre Poirot
7e1be13a0a
Bug 1399589 - Move domnodelist, disconnectedNode and disconnectedNodeArray to node spec and front. r=jdescottes
...
MozReview-Commit-ID: B5l1X4pc2Kf
2017-10-03 17:19:56 +02:00
Alexandre Poirot
48d30de94b
Bug 1399589 - Move NodeFront to its own module. r=jdescottes
...
MozReview-Commit-ID: EVeaFmqAmKL
2017-10-02 17:14:38 +02:00
Alexandre Poirot
d3ffc63362
Bug 1399589 - Remove unused performance-entries actor. r=jdescottes
...
MozReview-Commit-ID: LaGB7vP5Pj2
2017-10-03 17:57:08 +02:00
Alexandre Poirot
bc66ae545e
Bug 1399589 - Register all spec and front modules lazily in specs/index.js. r=jdescottes
...
MozReview-Commit-ID: 3U2D0PWivm2
2017-10-03 17:56:35 +02:00
Wes Kocher
10b9e0b764
Merge inbound to central, a=merge
...
MozReview-Commit-ID: I1ge4dvWtTB
2017-10-03 14:37:35 -07:00
sole
bd556f44be
Bug 1383037 - Use only one debounce function in devtools. r=pbro
...
MozReview-Commit-ID: J9t90N1U2XY
2017-10-03 11:03:19 +01:00
Nicolas Chevobbe
fee723d060
Bug 1403895 - Remove devtools/shared/client/main.js; r=ochameau.
...
Remove the main file that we don't need anymore and modify all
the imports to target the specific file they now need.
MozReview-Commit-ID: 2uWjTnAMAU0
2017-09-29 15:24:14 +02:00
Nicolas Chevobbe
9518aed487
Bug 1403895 - split main.js in mulitple files; r=ochameau.
...
This patch keeps the main.js file so we don't have to change
consumer code that uses objects fom this file.
MozReview-Commit-ID: KhFoPPApE2L
2017-09-28 17:29:55 +02:00
Towkir Ahmed
9f9eb184a7
Bug 1382171 - Remove MDN Docs widget. r=jdescottes
2017-10-03 09:13:00 -04:00
Tom Tromey
2472b4e90e
Bug 1403610 - update to source-map 0.6.1; r=bgrins
...
Import the source-map 0.6.1 bundle.
MozReview-Commit-ID: AkVLlBJRD1l
2017-09-27 09:39:44 -06:00
J. Ryan Stinnett
8757662806
Bug 1305777 - Clean up touch simulator after old RDM removal. r=ochameau
...
Only `simulator-core` is used by new RDM via the Emulation actor, so I've moved
this server side and renamed it to `touch-simulator`.
MozReview-Commit-ID: 5YgpYNDwBvw
2017-09-27 16:53:23 -05:00
Sebastian Hengst
d1206e92bd
Backed out changeset 0169ee5c78fb (bug 1305777)
2017-09-29 10:43:24 +02:00