6504 Commits

Author SHA1 Message Date
Sebastian McKenzie
35ac8bbe9b update babel-plugin-jscript 2015-07-24 03:10:12 +01:00
Sebastian McKenzie
54f852e466 generator: rewrite automatic parentheses insertion to be smarter, includes some buffer state that automatically triggers a parentheses to be pushed also has the positive side effect of cleaning up a lot of redundant code - fixes #2064 2015-07-24 03:10:06 +01:00
Sebastian McKenzie
c731d2d6dc update jscript tests 2015-07-23 18:48:38 +01:00
Sebastian McKenzie
c4c801ffcb Merge pull request #1907 from samccone/sjs/pipeline-opt
️ switch to reduce for pipeline
2015-07-23 18:42:59 +01:00
Sam Saccone
23527544fa 🎨 switch to reduce for pipeline 2015-07-23 13:41:55 -04:00
Sebastian McKenzie
b9dde49ab6 use Object.setPrototypeOf and fallback to __proto__ in inherits helper - fixes #2053 2015-07-22 17:28:58 +01:00
Sebastian McKenzie
236a9a6285 Merge branch 'master' of github.com:babel/babel
t push# especially if it merges an updated upstream into a topic branch.
2015-07-21 22:44:54 +01:00
Sebastian McKenzie
b277f2c986 revert changes to use strict literal newline generation 2015-07-21 22:44:35 +01:00
Sebastian McKenzie
3f0ac54032 simplify CodeGenerator#print 2015-07-21 22:40:58 +01:00
Sebastian McKenzie
fd72abf450 Merge pull request #2046 from atonparker/master
fix tryCreateRegexp function scope
2015-07-21 22:38:30 +01:00
Chris Parker
51cdae25cf fix tryCreateRegexp function scope 2015-07-21 17:23:31 -04:00
Sebastian McKenzie
1ff63329a3 fix directive newline insertion 2015-07-21 18:50:08 +01:00
Sebastian McKenzie
beb8061d3f better identification of strict directives - cc @jmm 2015-07-21 18:43:10 +01:00
Sebastian McKenzie
0fbc714315 add scripts folder to npmignore 2015-07-21 18:41:50 +01:00
Sebastian McKenzie
b0c90acff0 add 5.8.0-5.8.3 changelog 2015-07-21 18:41:43 +01:00
Sebastian McKenzie
68d58af8b1 v5.8.3 2015-07-21 18:22:42 +01:00
Sebastian McKenzie
8e798cbc9c v5.8.2 2015-07-21 18:11:11 +01:00
Sebastian McKenzie
2eba8376d2 add force version environment variable 2015-07-21 18:08:58 +01:00
Sebastian McKenzie
0d2356ed8c v5.8.1 2015-07-21 18:00:22 +01:00
Sebastian McKenzie
78707e212c update test to reflect UIDs 2015-07-21 17:55:35 +01:00
Sebastian McKenzie
dd225b5b74 add handling for loops when doing rest parameter allocation optimisation 2015-07-21 17:51:20 +01:00
Sebastian McKenzie
f6e7b7716b add onComment shim to babel.parse API 2015-07-21 17:50:49 +01:00
Sebastian McKenzie
7fa684b120 don't reset raw of \x escape literals - cc @jmm 2015-07-21 14:53:05 +01:00
Sebastian McKenzie
437a201315 v5.8.0 2015-07-21 02:52:14 +01:00
Sebastian McKenzie
da60230801 add missing dependencies for older non-flat npm versions 2015-07-21 02:50:03 +01:00
Sebastian McKenzie
4545ade6ba v5.7.6 2015-07-21 02:44:54 +01:00
Sebastian McKenzie
412208745b v5.7.5 2015-07-21 02:39:55 +01:00
Sebastian McKenzie
30be1317e6 update flow literal annotations to have a rawValue 2015-07-21 02:37:43 +01:00
Sebastian McKenzie
73f0f26ae2 add missing semicolon 2015-07-21 02:31:33 +01:00
Sebastian McKenzie
ef5d8bb786 add a shitty onToken acorn option shim 2015-07-21 02:30:01 +01:00
Sebastian McKenzie
956fd8d770 Merge branch 'master' into development 2015-07-21 02:28:00 +01:00
Sebastian McKenzie
5507590dc2 fix unicode literal conversion check 2015-07-21 02:20:49 +01:00
Sebastian McKenzie
b6007ce4ea remove comments form test 2015-07-21 02:16:03 +01:00
Sebastian McKenzie
0a5a00d6f8 properly disallow type casts in reference lists 2015-07-21 02:01:48 +01:00
Sebastian McKenzie
495b880372 only register an Identifier node as static if it's a constant 2015-07-21 01:14:38 +01:00
Sebastian McKenzie
b97dc4778b add Flow virtual type 2015-07-21 01:14:19 +01:00
Sebastian McKenzie
512707c7de update API test to use an async promise shim 2015-07-21 01:14:00 +01:00
Sebastian McKenzie
00fa5f2286 switch es6 parameters rest nested iife test to use external helpers 2015-07-21 01:13:48 +01:00
Sebastian McKenzie
40f19586af reimplement async function type parameters backfix - fixes #2028 2015-07-21 01:13:35 +01:00
Sebastian McKenzie
f0994f106e add comment attachment to the parser and remove dead acorn options 2015-07-21 01:13:07 +01:00
Sebastian McKenzie
538d24b2a3 Merge pull request #2040 from jmm/basic-pretransform-doc-test
Add basic description & existence test for `pretransform()`.
2015-07-20 19:03:10 +01:00
Jesse McCarthy
029146719e Add basic desc. & existence test for pretransform. 2015-07-20 13:38:21 -04:00
Sebastian McKenzie
47f790502e Merge pull request #1878 from kpdecker/tagged-template-object
Convert template objects to singletons
2015-07-20 12:18:07 +01:00
Sebastian McKenzie
d4917d74f0 Merge pull request #2035 from frankychung/flow-number-literal-type-annotations
Number literal type annotations for Flow
2015-07-20 11:41:07 +01:00
kpdecker
4eb1a45f02 Handle _blockHoist value of zero safely 2015-07-20 11:06:09 +03:00
Franky Chung
0876209847 Add number literal type annotations for flow 2015-07-20 11:35:46 +09:00
Sebastian McKenzie
a523f60209 output type annotations of type instantiation parameters - fixes #2036 2015-07-20 00:20:40 +01:00
kpdecker
b2e3a73e2f Use generic name for templateObject
Rather than using variable names that could be quite long, just use indexed generic names that use runtime lookup for the string parameter mapping.
2015-07-19 10:39:38 +03:00
kpdecker
eed750206c Convert template objects to singletons
Create file-scoped template objects that are instantiated once and reused between different tagged template evaluations. This is a closer match to the spec behavior which demands reuse, but does not match the spec exactly with respect to scoping as it’s possible to have similar template objects defined in different file scopes within the same program. For now we are not able to cleanly handle this case as it would require a registry or similar lookup mechanism that is consistent across different combinations of builds and optimizers.

This has a 40x increase in six-speed throughput.

Partial fix for #971
2015-07-19 09:49:40 +03:00
Sebastian McKenzie
faa6ce1a08 Merge pull request #2030 from arthurvr/patch-2
Add `make test-cov` to `contributing.md`
2015-07-18 04:46:23 -07:00