Kartikaya Gupta
f23e0ead9e
Bug 1484503 - Ensure spidermonkey style check output is deterministic. r=jandem
2018-08-20 06:44:07 -04:00
André Bargull
69a6c8ce90
Bug 1346211 - Part 6: Use ICU for all time zone computations when available. r=Waldo
...
--HG--
extra : rebase_source : 7b7216fadc6cf2dd048c85b7c935b2c2a6b3b1c7
2018-08-17 03:04:39 -07:00
Sylvestre Ledru
a80feff40b
bug 1463425 - Fix flake8/pep8 issue by hand in config/ r=gps
...
MozReview-Commit-ID: 6B60uh4n2nY
--HG--
extra : rebase_source : 4fd44789a9ee6376c72bae1132f73c81dd1eacbc
2018-05-22 06:22:46 -07:00
Sylvestre Ledru
3d085810e5
bug 1463425 - autopep8 on config/ r=gps
...
MozReview-Commit-ID: EaTAhH2CAee
--HG--
extra : rebase_source : f278cd9fc6e8f9db720c1430121ba91e0417c9b9
2018-05-22 00:01:01 +02:00
Jan de Mooij
98422b2e61
Bug 1064316 - Rewrite check_spidermonkey_style.py to use os.walk instead of looking at the repo data. r=njn
2018-04-18 09:42:24 +02:00
David Teller
14b9afe8c3
Bug 1437004 - Porting BinAST to AST v3;r=arai,jorendorff
...
This patch is a nearly complete reimplementation of BinASTReader, with the following changes:
- Files BinToken.h, BinSource-auto.h (new), BinSource-auto.cpp (new) are now autogenerated by the generator in js/src/frontend/binsouce from the webidl specifications of BinAST and a small
configuration file.
- Optional fields have been removed. Rather, some specific fields may, if so marked in the specifications, contain a Null constant.
- `hasDirectEval` is now checked for consistency (NOT completeness).
- `varDeclaredNames` is now checked for consistency (NOT completeness).
- `lexicallyDeclaredNames` is now checked for consistency (NOT completeness).
- `parameterNames` is now checked for consistency (NOT completeness).
- `capturedNames` is NOT checked.
- Atoms read are now properly expected to be UTF8.
This patch does not implement the entire specifications, but should implement most of ES5. In particular, it is sufficient to parse the source code of:
- Facebook;
- jQuery;
- mootools;
- Underscore;
- Backbone;
- Angular.
MozReview-Commit-ID: HwkVB5dliZv
--HG--
extra : rebase_source : fd7e068343e2af8926c5185e7199ea110a5149bc
2018-02-21 17:07:03 +01:00
Jan de Mooij
68d3bff395
Bug 1445592 - Generate Ion LOpcodes.h and MOpcodes.h instead of updating them manually. r=nbp,froydnj
2018-03-14 18:58:52 +01:00
Jason Orendorff
405e06a621
Bug 1439936 - Change check_spidermonkey_style.py to support sorting "util/Windows.h". r=sfink.
...
Far more files #include "util/Windows.h" than <psapi.h>, so this makes the
style-checker check more things (and makes --fixup mode fix more things).
--HG--
extra : rebase_source : a0c4edf10ad7dd4b5e0265c49035acf242197e6c
2018-02-16 21:41:35 -06:00
Jeff Walden
5472050225
Bug 1438750 - Remove mfbt/double-conversion.h, and change existing users to instead do #include "double-conversion/double-conversion.h" themselves. r=froydnj on a CLOSED TREE
...
--HG--
extra : amend_source : 72f066d9c75ae5ccd4d1e929896a2b12aa0ddc8c
2018-02-21 10:15:43 +02:00
Gurzau Raul
14b89a5ae5
Backed out changeset 66c1c1596bea (bug 1438750) for assertion failure at TestFloatingPoint.cpp on Windows platform
2018-02-21 08:29:50 +02:00
Jeff Walden
2b6c4bedad
Bug 1438750 - Remove mfbt/double-conversion.h, and change existing users to instead do #include "double-conversion/double-conversion.h" themselves. r=froydnj
...
--HG--
extra : rebase_source : 76ecf4ab0caf7a5367636a866512931d3fd9b962
2018-02-15 21:02:53 -08:00
Jason Orendorff
c1d0be7190
Bug 1438278 - Part 4: Rename some files into js/src/util. r=jandem.
...
jsdtoa.* -> util/DoubleToString.*
jswin.h -> util/Windows.h
jsnativestack.cpp -> util/NativeStack.cpp
jsnativestack.h -> util/NativeStack.h
jsnspr.h -> util/NSPR.h
--HG--
rename : js/src/jsdtoa.cpp => js/src/util/DoubleToString.cpp
rename : js/src/jsdtoa.h => js/src/util/DoubleToString.h
rename : js/src/jsnspr.h => js/src/util/NSPR.h
rename : js/src/jsnativestack.cpp => js/src/util/NativeStack.cpp
rename : js/src/jsnativestack.h => js/src/util/NativeStack.h
rename : js/src/jswin.h => js/src/util/Windows.h
extra : rebase_source : 189adff9f7cb74dfbd101b6b39986d63b0274096
extra : amend_source : 34efb7c0a7dd23bb797940558616e0657b20ef20
extra : intermediate-source : 16fc0963cac52ccb1ed2de9c174855e8a3cb2b52
extra : source : 7b8377e2efd5994b37b65bebd1fdd4367a849b93
2018-02-14 16:04:42 -06:00
Jason Orendorff
1009666ca4
Bug 1429206 - Part 5: Rename jsscript* -> vm/JSScript*. r=jandem.
...
--HG--
rename : js/src/jsscriptinlines.h => js/src/vm/JSScript-inl.h
rename : js/src/jsscript.cpp => js/src/vm/JSScript.cpp
rename : js/src/jsscript.h => js/src/vm/JSScript.h
extra : rebase_source : 76a4533cf979baa37e00cabd2c415651c40dbb07
extra : source : d2e0574ed57e4185cef132acc3be30a29833f622
2018-02-12 13:07:16 -06:00
Jason Orendorff
9726925e27
Bug 1429206 - Part 4: Rename jsfun* -> vm/JSFunction*.
...
--HG--
rename : js/src/jsfuninlines.h => js/src/vm/JSFunction-inl.h
rename : js/src/jsfun.cpp => js/src/vm/JSFunction.cpp
rename : js/src/jsfun.h => js/src/vm/JSFunction.h
extra : rebase_source : 2fe8f01ec6ec2ad4dba3f80fb99cca89b0bcba9e
extra : source : 29b51bc766687c21a809acf8dae10ec214626ba3
2018-02-12 12:51:39 -06:00
Jason Orendorff
cad22c716c
Bug 1429206 - Part 3: Rename jsobj* -> vm/JSObject*. r=jandem.
...
--HG--
rename : js/src/jsobjinlines.h => js/src/vm/JSObject-inl.h
rename : js/src/jsobj.cpp => js/src/vm/JSObject.cpp
rename : js/src/jsobj.h => js/src/vm/JSObject.h
extra : rebase_source : 56a6d297b6cb63b72670b2310a48e00d56917648
extra : source : f61c33f738a6c5d2e52a6063bd18c632caea9e91
2018-02-12 12:03:37 -06:00
Jason Orendorff
89506377a3
Bug 1429212 - Add --fixup mode to check_spidermonkey_style.py. r=sfink.
...
--HG--
extra : rebase_source : fea02f44c54aa994f49c120c096be03774aac974
2018-02-12 11:37:12 -06:00
Christian Holler
5e6434ac23
Bug 1431090 - Add FuzzingInterface support to JS engine. r=jandem
...
This patch adds basic support for the fuzzing interface in the JS engine on top
of the last patch. This includes all the necessary code except for actual
targets (just an example target skeleton) and also makes sure that the fuzzing
code is packaged for the standalone release.
MozReview-Commit-ID: D6Tyebz3jZS
--HG--
extra : rebase_source : f07a5d2bf8e09fb6c93501e58fbb958004e2fa05
2018-01-17 17:05:04 +01:00
Coroiu Cristina
faa2f8c7da
Backed out 2 changesets (bug 1431090) for Bf bustage at src/tools/fuzzing/interface/harness/FuzzerTestHarness.h
...
Backed out changeset 2e98bda3f397 (bug 1431090)
Backed out changeset eb6acc9e44ad (bug 1431090)
--HG--
rename : tools/fuzzing/registry/FuzzerRegistry.cpp => tools/fuzzing/libfuzzer/harness/LibFuzzerRegistry.cpp
rename : tools/fuzzing/registry/FuzzerRegistry.h => tools/fuzzing/libfuzzer/harness/LibFuzzerRegistry.h
rename : tools/fuzzing/interface/harness/FuzzerRunner.cpp => tools/fuzzing/libfuzzer/harness/LibFuzzerRunner.cpp
rename : tools/fuzzing/interface/harness/FuzzerRunner.h => tools/fuzzing/libfuzzer/harness/LibFuzzerRunner.h
rename : tools/fuzzing/interface/harness/FuzzerTestHarness.h => tools/fuzzing/libfuzzer/harness/LibFuzzerTestHarness.h
rename : tools/fuzzing/interface/harness/moz.build => tools/fuzzing/libfuzzer/harness/moz.build
2018-01-23 13:49:26 +02:00
Christian Holler
08e812cc03
Bug 1431090 - Add FuzzingInterface support to JS engine. r=froydnj
...
This patch adds basic support for the fuzzing interface in the JS engine on top
of the last patch. This includes all the necessary code except for actual
targets (just an example target skeleton) and also makes sure that the fuzzing
code is packaged for the standalone release.
MozReview-Commit-ID: D6Tyebz3jZS
--HG--
extra : rebase_source : 58e4d85e657347b061de0ed912365f2a955a86e3
2018-01-17 17:05:04 +01:00
Jon Coppeard
a6e864d2ce
Bug 1410132 - Use a separate jemalloc arena for all SpiderMonkey malloc allocations r=njn r=nbp
2017-11-02 14:51:27 +00:00
Sebastian Hengst
a5d99d720e
Backed out 2 changesets (bug 1410132) for bustage, e.g. in spidermonkey non-unified at js/src/threading/Mutex.cpp:47: 'JS_IsInitialized' was not declared in this scope. r=backout on a CLOSED TREE
...
Backed out changeset 28c901411c1e (bug 1410132)
Backed out changeset 003ff6a2a254 (bug 1410132)
2017-11-07 20:04:43 +02:00
Jon Coppeard
45f03229f6
Bug 1410132 - Use a separate jemalloc arena for all SpiderMonkey malloc allocations r=njn r=nbp
2017-11-02 14:51:27 +00:00
André Bargull
c5c994ac71
Bug 1330149 - Part 1: Set time zone from TZ environment variable as default ICU time zone if it's a valid time zone name. r=Waldo
2017-01-12 14:57:47 -08:00
ANDREEA PAVEL
a859e870fe
Backed out changeset d3a0101e3936 (bug 1410132) for build failure ContainerParser.cpp:131 r=backout on a CLOSED TREE
2017-11-02 18:06:58 +02:00
Jon Coppeard
c6c2b4f6ba
Bug 1410132 - Use a separate jemalloc arena for all SpiderMonkey malloc allocations r=njn r=nbp
2017-11-02 14:51:27 +00:00
Zibi Braniecki
c14c88b4c3
Bug 1270140 - Add Intl.RelativeTimeFormat. r=Waldo
...
MozReview-Commit-ID: GqetnVVmXXL
--HG--
extra : rebase_source : 131c125e73e2132d6b1abb2489ecf8e96412b8a5
2017-10-06 07:00:08 -07:00
Gregory Szorc
0b25d43eaf
Bug 1393242 - Use hglib for get_files_in_working_directory(); r=mshal
...
And convert consumers to context managers because hglib requires that.
MozReview-Commit-ID: Ckf1yBYeUlm
--HG--
extra : rebase_source : 985220032bced1a7077fd9b04ca8ad6de822c887
2017-08-23 15:21:16 -07:00
Gregory Szorc
2b1957d1e5
Bug 1361172 - Rewrite code for finding files in VCS checkout; r=glandium
...
We're getting an intermittent failure running `hg manifest` in CI. I
have no clue why.
What I do know is that we now have the mozversioncontrol Python package
for containing utility code for interacting with version control. It is
slightly more robust and I'm willing to support it more than I am
check_utils.py.
This commit adds a new API to our abstract repository class to obtain the
files in the working directory by querying version control.
Since I suspect cwd was coming into play in automation, I've also
added a utility function to mozversioncontrol to attempt to find
a version control checkout from the current working directory. It
simply traces ancestor paths looking for a .hg or .git directory.
Finally, I've ported all callers of the now-deleted API to the new
one. The old code had some "../.." paths in it, meaning it only
worked when cwd was just right. Since we resolve the absolute path
to the checkout and store it on the repo object, I've updated the
code so it should work no matter what cwd is as long as a repo can
be found. I'm not 100% confident I found all consumers assuming cwd.
But it's a start.
I'm not 100% confident this will fix the intermittent issues in CI. But
at least we should get a better error message and at least we'll be
running less hacky code.
MozReview-Commit-ID: AmCraHXcTEX
--HG--
extra : rebase_source : 815ae369776577ad374333920fd645d412a55148
2017-05-18 16:06:49 -07:00
Jon Coppeard
e26d8d5744
Bug 1361458
- Generate the phase tree for GC statistics recording ahead of time r=sfink
2017-05-17 10:37:18 +01:00
Sebastian Hengst
0c5a87d59f
Backed out changeset 36f2908f6650 (bug 1361458
) for crashing [@ js::GCMarker::drainMarkStack], e.g. in devtools' devtools/client/debugger/new/test/mochitest/browser_dbg-sourcemaps.js. r=backout
2017-05-17 12:53:58 +02:00
Jon Coppeard
03c00562c3
Bug 1361458
- Generate the phase tree for GC statistics recording ahead of time r=sfink
2017-05-17 10:37:18 +01:00
André Bargull
f68188a9e5
Bug 1318403 - Part 4.1: Handle special casing characters in String.prototype.to(Lower|Upper)Case. r=Waldo
2017-04-06 10:11:05 +02:00
Sebastian Hengst
312ab71575
Backed out changeset c34970cf36e9 (bug 1318403)
2017-04-06 15:23:13 +02:00
André Bargull
7bead5484a
Bug 1318403 - Part 4.1: Handle special casing characters in String.prototype.to(Lower|Upper)Case. r=Waldo
...
--HG--
extra : rebase_source : 76ecb13008f5c7d5f224b08034653197df56966e
2017-04-06 10:11:05 +02:00
BharatR123
a919e5ab29
Bug 1317099 - Fix filename in check_spidermonkey_style.py error message r=arai
...
MozReview-Commit-ID: 14H09snq6ht
--HG--
extra : rebase_source : 867fe7d39ab9e79dfdde4b8af15ebd6b94e7c491
2017-03-09 18:14:03 +05:30
Zibi Braniecki
27ba812587
Bug 1312053 - Expose an API to get locale information. r=Waldo
...
MozReview-Commit-ID: LivVJzrb3X1
--HG--
extra : rebase_source : a8c566cf918f01216e9f22e953da935ce41b7654
2017-02-17 20:06:43 -08:00
Tooru Fujisawa
43fdb1c7f0
Bug 1336783 - Part 1: Rework on reserved word and remove TokenStream::KeywordIsName. r=jwalden
...
--HG--
rename : js/src/jsautokw.py => js/src/frontend/GenerateReservedWords.py
rename : js/src/vm/Keywords.h => js/src/frontend/ReservedWords.h
2017-02-15 23:53:05 +09:00
Zibi Braniecki
ee5fe1af13
Bug 1270146 - Add PluralRules API. r=Waldo
...
MozReview-Commit-ID: 2WCcMjiGjwZ
--HG--
extra : rebase_source : 4fa494e35424be579ba3714bab2a4e1932d6404c
2016-12-20 11:54:44 -08:00
André Bargull
fa6366e3c1
Bug 1319465 - Use the newer ICU string normalization API to improve performance for partially normalized strings. r=arai
2016-11-22 09:20:18 -08:00
Sebastian Hengst
e572ef1bbb
Backed out changeset aabf76e98464 (bug 1319465) for failure in Intl.h in Sm-tc(nu). r=backout
2016-11-23 17:40:54 +01:00
André Bargull
f65a5306ad
Bug 1319465: Use the newer ICU string normalization API to improve performance for partially normalized strings. r=arai
2016-11-22 09:20:18 -08:00
Zibi Braniecki
89b4923282
Bug 966559 - Use public C API for NumberingSystem. r=Waldo
...
MozReview-Commit-ID: CBICCJQXI7R
--HG--
extra : rebase_source : b74b9d6038580ab970565bb56c09d5330be92407
2016-11-01 12:15:26 -07:00
Luke Wagner
be263565b4
Bug 1276029 - Add subset of prio.h to PosixNSPR.h so PRFileDesc can be used in SpiderMonkey (r=terrence)
...
MozReview-Commit-ID: JhNhUcg3eC0
--HG--
extra : rebase_source : 43f5cebebdd4ef889ec71b57f7dd4109c72fa187
2016-07-15 12:26:40 -05:00
Tooru Fujisawa
3aedc7a677
Bug 933257 - Part 5: Use fdlibm in jsmath.cpp. r=jwalden
2016-01-07 12:30:29 +09:00
Tooru Fujisawa
51a605124e
Backed out changeset f3b11c2b7dbf (bug 933257)
2016-03-15 08:15:09 +09:00
Terrence Cole
09ab5adb49
Bug 956899 - Teach check_spidermonkey_style.py about mozglue; r=njn
...
--HG--
extra : rebase_source : ecc7287f248f654ae3b3fd514f604dc4075bbab7
2016-03-10 09:07:59 -08:00
Tooru Fujisawa
14da6310d3
Bug 933257 - Part 5: Use fdlibm in jsmath.cpp. r=jwalden
2016-01-07 12:30:29 +09:00
Jon Coppeard
55e8b979fd
Bug 1215063 - Implement a simple module loader for the shell r=shu r=froydnj
2015-11-10 09:44:53 +00:00
Ted Clancy
4ea6153280
Bug 1172609 - Part 5: Add js::ResetTimeZone() function. r=waldo, r=ted
2015-06-15 00:33:02 -07:00
Nicolas B. Pierron
96bd1b779a
Bug 1178772 - Add check_macroassembler_style.py: Verify that each MacroAssembler declaration maps to all its definitions. r=h4writer
2015-07-09 14:35:29 +02:00