Commit Graph

66 Commits

Author SHA1 Message Date
Alexandre Poirot
f131594dd6 Bug 1355994 - Stop flagging DevTools sandboxes with an Addon ID. r=kmag
MozReview-Commit-ID: 5aJ5osJIt5i

--HG--
extra : rebase_source : b37230366178f5dbaf10263dcedb55eec7a838f1
2017-04-24 11:38:13 +02:00
Kris Maglione
f8c1ebdfda Bug 1314861: Minor optimization: Avoid the more expensive parts of path joining and normalization where possible. r=ochameau
MozReview-Commit-ID: Jh71D8XulVp

--HG--
extra : rebase_source : 533d148ee91839e2cb56169cf32d0d8f97105754
2017-04-07 16:37:47 -07:00
Kris Maglione
0930ff384d Bug 1314861: Add caching to some of the more expensive and repetitive parts of module resolution. r=ochameau
MozReview-Commit-ID: 8vHcu4c8jDe

--HG--
extra : rebase_source : 051523f98e582b1246893e985a0464d671c0d822
2017-04-07 18:22:33 -07:00
Kris Maglione
7ad7cc25be Bug 1314861: Some trivial optimizations that add up something significant. r=ochameau
MozReview-Commit-ID: FmiH8daYxK8

--HG--
extra : rebase_source : 4a6b8dbfe38984f4b469157faf19c08284f06b56
2017-04-07 18:05:18 -07:00
Kris Maglione
cbfb61ba92 Bug 1314861: Pre-compute path mapping function to save on runtime lookups. r=ochameau
MozReview-Commit-ID: Lc4ju1XOfgR

--HG--
extra : rebase_source : f5ab7bc0ab70945b88d3f76363107cac9c3ba256
2017-04-13 15:40:09 -07:00
Kris Maglione
0ee4a22385 Bug 1314861: Minor optimization: Define globals for shared sandbox modules on the sandbox rather than each module. r=ochameau
MozReview-Commit-ID: Lre6L2u4Y2r

--HG--
extra : rebase_source : 118422fee9361152037f7746fa4beaffa6d5157d
2017-04-14 16:13:41 -07:00
Kris Maglione
04e16d2f2a Bug 1314861: Add defineLazyGetter global to SDK loader modules. r=ochameau
MozReview-Commit-ID: L1NShFpnb2S

--HG--
extra : rebase_source : 8d4b132da64a3af03a120f45f160731295a8b086
2017-04-14 13:28:02 -07:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Kris Maglione
28c12fe125 Bug 1313767: Deobfuscate events/core.js r=rpl
MozReview-Commit-ID: Ktj70L3DcQF

--HG--
extra : rebase_source : 26e8bd522e086b0e089f2bc1885ef932c9e1f249
extra : histedit_source : 97187dd90d6665f8ca2da4d8b66016a5da2c0b2a
2017-03-25 15:06:25 -07:00
Tom Tromey
92a5c63599 Bug 1310702 - use webpack-like require.context in devtools l10n; r=jryans
MozReview-Commit-ID: 5noH0y0MgaK

--HG--
extra : rebase_source : e7a4507a89f467fa8143be1899cd5e6ba80aa6fe
2016-10-20 11:00:28 -06:00
Kris Maglione
67e2b2f753 Bug 1309350: Part 2 - Speed up synchronous resolution of module paths. r=gps,ochameau
r?gps for the build changes and ochameau for the rest.

This results in about a 28% speed-up for Jetpack mochitest runs, for me.

MozReview-Commit-ID: K30q7BfvTLs

--HG--
extra : rebase_source : 8074947062c73a329f1d8a255a9601147ba1ba0c
2016-10-14 05:27:15 +01:00
Kris Maglione
d62ecef263 Bug 1309351: Part 2 - Use a shared global sandbox and simple module resolution for built-in modules. r=ochameau
This takes another 21% off the Jetpack test suite run time for me.

MozReview-Commit-ID: 1U2lq4PN21w

--HG--
extra : rebase_source : 1a639e8d920e083ce891312475fcb6fe2f401977
2016-10-14 06:14:10 +01:00
Kris Maglione
45bae3f6ed Bug 1309350: Part 1 - Remove dead code and clean up cruft. r=ochameau
I had to untangle a lot of this mess just to understand what was going on well
enough to make changes.

MozReview-Commit-ID: 2ygiK2ED1pX

--HG--
extra : rebase_source : 95e39c47450b6cecd32cf2a73cdce4b31f5e3e11
2016-10-13 00:24:32 +01:00
Christoph Kerschbaumer
5630855495 Bug 1280200 - Convert toolkit/loader.js to use channel.open2() r=gkrizsanits
--HG--
extra : rebase_source : 7d32b22d79b03fa43a01a062fbf8e4ad0f5c3660
2016-06-20 11:20:59 +02:00
Luca Greco
f2b5928950 Bug 1170258 - Add cache of node style module resolutions. r=gkrizsanits
MozReview-Commit-ID: 2fb8aWYzs5L

--HG--
extra : transplant_source : %B7%02R%CF%83%81%ABTd%F0%8F%F8%3C%F8%3F%92%2C%8B%99P
2016-06-02 11:38:50 +02:00
Gijs Kruitbosch
2df3a1b2b8 Bug 1138737 - improve naming of sharedGlobal list of exceptions, r=jsantell
--HG--
extra : commitid : 44jVFuEBuSC
extra : rebase_source : c755026d10dcf13846cd771c2af87d3430ba3859
2016-01-26 12:25:31 +00:00
James Long
b299ca191c Bug 1239060 - add exports hook in loader r=zer0 2016-01-25 20:23:04 -05:00
Carsten "Tomcat" Book
248f7a3dee merge mozilla-inbound to mozilla-central a=merge 2016-01-20 15:34:34 +01:00
James Long
8b55567bdc Bug 1224765 - add production version of React for devtools and use it in release modes r=fitzgen 2016-01-19 16:55:06 -05:00
Jason Orendorff
f81ea0f69a Bug 603201 - Enable primitive receivers in [[Set]]. r=jorendorff 2015-03-01 13:37:42 -06:00
Gabor Krizsanits
c7423240ab Bug 1196975 - part5: waiveInterposition for childloader. r=mossop 2015-11-05 12:06:00 +01:00
J. Ryan Stinnett
986f2a5cde Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Tooru Fujisawa
e8e8df02e7 Bug 1209470 - Remove use of expression closure from Add-on SDK. r=mossop
--HG--
extra : commitid : 2WUp20yv0ej
extra : rebase_source : cbc4ae0914a0028f32454197ee4e8e347f9fd7cf
2015-09-29 20:34:48 +09:00
Alexandre Poirot
89cb263b54 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop
--HG--
rename : devtools/shared/Console.jsm => toolkit/modules/Console.jsm
2015-10-15 03:45:22 -07:00
J. Ryan Stinnett
efe328f1b2 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.

--HG--
extra : commitid : F2ItGm8ptRz
extra : rebase_source : b082fe4bf77e22e297e303fc601165ceff1c4cbc
2015-09-21 12:04:18 -05: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
James Long
5c64f5dcd1 Bug 1178609 - fix join in add-on SDK loader to work with resource:/// (uplifted from addon-sdk) r=zer0 2015-08-13 12:48:52 -04:00
James Long
a2b3aa843c Bug 1180955 - Add the ability to override the require function in loaders (uplifted from addon-sdk) r=zer0 2015-08-13 10:46:01 -04:00
Dave Townsend
a184de4560 Bug 1179013: Uplift Add-on SDK. a=me
d8ba32821e...96ae8d914f

--HG--
extra : commitid : a69qoBWTUP
extra : rebase_source : 7d0464d7fa1af660b5971bda97786112b0c76053
2015-06-30 15:10:35 -07:00
Christoph Kerschbaumer
6b24d4a573 Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update newChannel2 (r=sicking,paolo) 2015-05-21 19:52:03 -07:00
Dave Townsend
1ef136e4f7 Bug 1146943: Uplift Add-on SDK. a=me
3394ad5d1d...af7133332a

--HG--
extra : rebase_source : ff09c46381c13391addbb815a3c9fed5de6c2ce7
2015-03-23 15:24:56 -07:00
Dave Townsend
cac13216a3 Bug 1139189: Uplift the Add-on SDK to Firefox a=me
3fbf5a6bdd..3394ad5d1d

--HG--
rename : addon-sdk/source/test/addons/l10n/locale/en-GB.properties => addon-sdk/source/test/addons/e10s-l10n/locale/en.properties
rename : addon-sdk/source/test/addons/l10n/locale/en-GB.properties => addon-sdk/source/test/addons/l10n/locale/en.properties
extra : rebase_source : f29b067cf47279b79946d01c510e52780798a64f
2015-03-11 22:19:48 -07:00
Erik Vold
8e54462bcd Bug 1134759 - Uplift the Add-on SDK to Firefox a=me 2015-02-25 18:53:25 -08:00
Erik Vold
eba25816af Bug 1114752 - Uplift Add-on SDK to Firefox a=me
--HG--
rename : addon-sdk/source/test/fixtures/test-page-worker.html => addon-sdk/source/test/addons/e10s-content/data/test-page-worker.html
rename : addon-sdk/source/test/fixtures/test-page-worker.js => addon-sdk/source/test/addons/e10s-content/data/test-page-worker.js
rename : addon-sdk/source/test/addons/places/favicon-helpers.js => addon-sdk/source/test/addons/places/lib/favicon-helpers.js
rename : addon-sdk/source/test/addons/places/httpd.js => addon-sdk/source/test/addons/places/lib/httpd.js
rename : addon-sdk/source/test/addons/places/places-helper.js => addon-sdk/source/test/addons/places/lib/places-helper.js
rename : addon-sdk/source/test/addons/places/tests/test-places-utils.js => addon-sdk/source/test/addons/places/lib/test-places-utils.js
rename : addon-sdk/source/test/fixtures/test-page-worker.html => addon-sdk/source/test/fixtures/addon-sdk/data/test-page-worker.html
rename : addon-sdk/source/test/fixtures/test-page-worker.js => addon-sdk/source/test/fixtures/addon-sdk/data/test-page-worker.js
2015-02-03 09:51:16 -08:00
Christoph Kerschbaumer
a4cc7b2651 Bug 1087723: Make JS callers of ios.newChannel call ios.newChannel2 in addon-sdk/ (r=erikvold) 2015-01-22 19:56:49 -08:00
Alexander J. Vincent
179821a35d Bug 1092477 - Let the subscript Loader report any URL it fails on, when it can. r=bholley 2014-11-08 17:08:09 -08:00
Dave Townsend
c936429261 Bug 1083327: Uplift Add-on SDK.
57b8a4a...1aee56d
2014-11-05 16:52:46 -08:00
Erik Vold
e1d24f07cb Bug 1075429 - Uplift Add-on SDK to Firefox
cbf6cdd0d6...34141d4d4c
2014-10-02 19:41:36 +01:00
Dave Townsend
c8227e3f8b Bug 1068440: Uplift Add-on SDK to Firefox.
cc3242d1ca...cbf6cdd0d6
2014-09-26 08:32:55 -07:00
Paul Rouget
bfba482515 Backed out changeset a6d02cff43d3 (bug 1037235) for breaking WebIDE (bug 1067331)
--HG--
extra : amend_source : a7bfb1e931122663e7c14a7362a849520388e495
2014-09-15 16:23:04 +02:00
Erik Vold
d3d9b5a320 Bug 1037235 - toolkit/loader doesn't check module compatibility r=Mossop 2014-09-09 18:33:55 -07:00
Erik Vold
26c5a58e14 Bug 1053911 - Uplift Add-on SDK to Firefox r=me 2014-08-23 08:30:34 -07:00
Bill McCloskey
0f6b688b48 Bug 1046964 - Fix some JS warnings (r=ttaubert) 2014-08-19 17:27:58 -07:00
Erik Vold
0f7bcfe67c Bug 1037374 - Uplift Add-on SDK to Firefox r=me 2014-07-15 06:19:40 -07:00
Alexandre Poirot
f2b703b3b6 Bug 1013997 - Use only one compartment for all devtools modules. r=mossop, r=past 2014-07-07 06:07:00 -04:00
Erik Vold
0497c225dc Bug 1021280 - Uplift Add-on SDK to Firefox r=me 2014-06-05 16:22:03 -07:00
Erik Vold
59f30ad9f1 Bug 1004395 - Uplift Add-on SDK to Firefox r=me 2014-05-09 10:10:05 -07:00
Erik Vold
6effd4ef72 Bug 985956 - Uplift Add-on SDK to Firefox 2014-03-20 08:07:16 -07:00