Commit Graph
61 Commits
Author SHA1 Message Date
Kris Maglione 577041cc1e Bug 1314861: Minor optimization: Avoid the more expensive parts of path joining and normalization where possible. r=ochameau
MozReview-Commit-ID: Jh71D8XulVp
2017-04-07 16:37:47 -07:00
Kris Maglione 5ad65a57a6 Bug 1314861: Add caching to some of the more expensive and repetitive parts of module resolution. r=ochameau
MozReview-Commit-ID: 8vHcu4c8jDe
2017-04-07 18:22:33 -07:00
Kris Maglione 019811c647 Bug 1314861: Some trivial optimizations that add up something significant. r=ochameau
MozReview-Commit-ID: FmiH8daYxK8
2017-04-07 18:05:18 -07:00
Kris Maglione 217ff99a2a Bug 1314861: Pre-compute path mapping function to save on runtime lookups. r=ochameau
MozReview-Commit-ID: Lc4ju1XOfgR
2017-04-13 15:40:09 -07:00
Kris Maglione 527c833970 Bug 1314861: Minor optimization: Define globals for shared sandbox modules on the sandbox rather than each module. r=ochameau
MozReview-Commit-ID: Lre6L2u4Y2r
2017-04-14 16:13:41 -07:00
Kris Maglione 9c259c85e9 Bug 1314861: Add defineLazyGetter global to SDK loader modules. r=ochameau
MozReview-Commit-ID: L1NShFpnb2S
2017-04-14 13:28:02 -07:00
Kris Maglione ffcc3a3341 Bug 1313767: Deobfuscate events/core.js r=rpl
MozReview-Commit-ID: Ktj70L3DcQF
2017-03-25 15:06:25 -07:00
Tom Tromey 75af5c1f19 Bug 1310702 - use webpack-like require.context in devtools l10n; r=jryans
MozReview-Commit-ID: 5noH0y0MgaK
2016-10-20 11:00:28 -06:00
Kris Maglione 928093e0b8 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
2016-10-14 05:27:15 +01:00
Kris Maglione b054c8401d 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
2016-10-14 06:14:10 +01:00
Kris Maglione 21835efc0e 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
2016-10-13 00:24:32 +01:00
Christoph Kerschbaumer a395029c8a Bug 1280200 - Convert toolkit/loader.js to use channel.open2() r=gkrizsanits 2016-06-20 11:20:59 +02:00
Luca Greco 7b9792db7f Bug 1170258 - Add cache of node style module resolutions. r=gkrizsanits
MozReview-Commit-ID: 2fb8aWYzs5L
2016-06-02 11:38:50 +02:00
Gijs Kruitbosch 62d6cab36a Bug 1138737 - improve naming of sharedGlobal list of exceptions, r=jsantell 2016-01-26 12:25:31 +00:00
James Long 9a0cb61cc4 Bug 1239060 - add exports hook in loader r=zer0 2016-01-25 20:23:04 -05:00
Carsten "Tomcat" Book c765b529cf merge mozilla-inbound to mozilla-central a=merge 2016-01-20 15:34:34 +01:00
James Long 9f8c93c713 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 bb4b6c4647 Bug 603201 - Enable primitive receivers in [[Set]]. r=jorendorff 2015-03-01 13:37:42 -06:00
Gabor Krizsanits 1226a80b76 Bug 1196975 - part5: waiveInterposition for childloader. r=mossop 2015-11-05 12:06:00 +01:00
Tooru Fujisawa ef7f96f74b Bug 1209470 - Remove use of expression closure from Add-on SDK. r=mossop 2015-09-29 20:34:48 +09:00
Alexandre Poirot f1439bdbe8 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop 2015-10-15 03:45:22 -07:00
J. Ryan Stinnett 2dada8f365 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.
2015-09-21 12:04:18 -05:00
Shu-yu Guo 37989840cd 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 7fe2ebab18 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 e8256198fe 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 13e8b55037 Bug 1179013: Uplift Add-on SDK. a=me
https://github.com/mozilla/addon-sdk/compare/d8ba32821ef1a53963f4b8015b61f97d624018b0...96ae8d914fab9baad903cac07bf9f37da98fc0bc
2015-06-30 15:10:35 -07:00
Christoph Kerschbaumer 4701bd2e1a 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 dfc89b24b8 Bug 1146943: Uplift Add-on SDK. a=me
https://github.com/mozilla/addon-sdk/compare/3394ad5d1d3e...af7133332a24
2015-03-23 15:24:56 -07:00
Dave Townsend a848aee169 Bug 1139189: Uplift the Add-on SDK to Firefox a=me
https://github.com/mozilla/addon-sdk/compare/3fbf5a6bdd6b2bfff3b916d9431fc4deab83f4a2..3394ad5d1d3eaa8e27ceea9b448ae39fa5cba0d9
2015-03-11 22:19:48 -07:00
Erik Vold aa75fa6a2a Bug 1134759 - Uplift the Add-on SDK to Firefox a=me 2015-02-25 18:53:25 -08:00
Erik Vold bd05d2922a Bug 1114752 - Uplift Add-on SDK to Firefox a=me 2015-02-03 09:51:16 -08:00
Christoph Kerschbaumer 1b70ed5a9a 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 e55ed4baf8 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 a0577b5463 Bug 1083327: Uplift Add-on SDK.
https://github.com/mozilla/addon-sdk/compare/57b8a4a...1aee56d
2014-11-05 16:52:46 -08:00
Erik Vold 744634eecb Bug 1075429 - Uplift Add-on SDK to Firefox
https://github.com/mozilla/addon-sdk/compare/cbf6cdd0d630...34141d4d4cc3765f997b352e44b1cca3373ec782
2014-10-02 19:41:36 +01:00
Dave Townsend f1e5377077 Bug 1068440: Uplift Add-on SDK to Firefox.
https://github.com/mozilla/addon-sdk/compare/cc3242d1ca8c...cbf6cdd0d630
2014-09-26 08:32:55 -07:00
Paul Rouget 7b3c0e4229 Backed out changeset a6d02cff43d3 (bug 1037235) for breaking WebIDE (bug 1067331) 2014-09-15 16:23:04 +02:00
Erik Vold 164a27af2b Bug 1037235 - toolkit/loader doesn't check module compatibility r=Mossop 2014-09-09 18:33:55 -07:00
Erik Vold ba676fe23e Bug 1053911 - Uplift Add-on SDK to Firefox r=me 2014-08-23 08:30:34 -07:00
Bill McCloskey 853c5d27a4 Bug 1046964 - Fix some JS warnings (r=ttaubert) 2014-08-19 17:27:58 -07:00
Erik Vold 664e06b87f Bug 1037374 - Uplift Add-on SDK to Firefox r=me 2014-07-15 06:19:40 -07:00
Alexandre Poirot 1d9e0ffb72 Bug 1013997 - Use only one compartment for all devtools modules. r=mossop, r=past 2014-07-07 06:07:00 -04:00
Erik Vold 234e2c6eae Bug 1021280 - Uplift Add-on SDK to Firefox r=me 2014-06-05 16:22:03 -07:00
Erik Vold c8de16d891 Bug 1004395 - Uplift Add-on SDK to Firefox r=me 2014-05-09 10:10:05 -07:00
Erik Vold 1553f9245e Bug 985956 - Uplift Add-on SDK to Firefox 2014-03-20 08:07:16 -07:00
Erik Vold e563d4d3f2 Bug 972925 - Uplift Add-on SDK to Firefox 2014-03-03 11:22:07 -08:00
Conrad Irwin 4cb87aea24 Bug 762556 - Error stack should contain column number. r=jorendorff 2014-02-19 11:30:08 -05:00
Erik Vold 2e2ce0d9c7 Bug 966416 - Uplift Add-on SDK to Firefox 2014-02-01 16:05:39 -08:00
Erik Vold 4976dfb24b Bug 960771 - Uplift Add-on SDK 2014-01-16 17:29:40 -08:00
Erik Vold a20917cd5a Bug 956129 - Uplift Addon SDK to Firefox 2014-01-09 20:21:33 -08:00