Renaud Pawlak
1fd7f87bfd
improved README
2016-12-25 09:49:48 +01:00
Renaud Pawlak
4d8754ae65
Merge pull request #201 from lgrignon/master
...
licensing and readme for new structure + candy generator
2016-12-25 09:32:08 +01:00
lgrignon
a430497283
readme restore
2016-12-24 20:22:13 +01:00
lgrignon
9af61ee45a
licensing and readme for new structure + candy generator
2016-12-24 14:14:30 +01:00
lgrignon
2a214cf999
Merge remote-tracking branch 'upstream/master'
2016-12-24 12:21:17 +01:00
Renaud Pawlak
2a3f2ff212
added distribution management
2016-12-24 09:56:43 +01:00
lgrignon
3dab30adb8
Merge remote-tracking branch 'upstream/master'
2016-12-23 20:37:39 +01:00
Renaud Pawlak
dd77ec72ac
adjust for new package organization
2016-12-23 17:58:16 +01:00
Renaud Pawlak
3562fb48b9
disable candies tests for now
2016-12-23 16:09:52 +01:00
Renaud Pawlak
f3a12ae500
add j4ts
2016-12-23 16:06:49 +01:00
Renaud Pawlak
bf8d857f58
updated to new API
2016-12-23 14:40:24 +01:00
Renaud Pawlak
2b88ca0eb2
added core lib
2016-12-23 13:35:31 +01:00
lgrignon
cf59a6d23c
Merge remote-tracking branch 'upstream/master'
2016-12-23 12:49:58 +01:00
Renaud Pawlak
ff8aff8467
added .gitignore
2016-12-23 12:07:24 +01:00
Renaud Pawlak
dc0ccc3225
add .gitignore file
2016-12-23 12:01:10 +01:00
Renaud Pawlak
30b9481d58
removed useless files + update travis
2016-12-23 11:44:33 +01:00
Renaud Pawlak
8d19aaf88d
move transpiler to directory
2016-12-23 11:33:10 +01:00
lgrignon
8e53203a51
Merge branch 'master' of https://github.com/lgrignon/jsweet
2016-12-22 20:27:25 +01:00
lgrignon
fcfba62c8d
Merge remote-tracking branch 'upstream/master'
2016-12-22 20:20:50 +01:00
Renaud Pawlak
5b1a183995
update doc for 1.2.0
v1.2.0
2016-12-16 13:00:23 +01:00
Renaud Pawlak
2f4e1acd0f
change application.properties name to avoid clashes
2016-12-16 12:54:26 +01:00
Renaud Pawlak
44b9e4034c
better support for source maps (including for bundles)
...
- use Google's Closure compiler to generate Java -> js source maps
- works for bundle mode
- provide line mapping only (not column mapping) (enough for most use
cases)
- some known limitations with method overloads (to be fixed later)
- added option for sourceRoot
- added some basic tests
2016-12-15 13:39:35 +01:00
Renaud Pawlak
213708de38
fix typing bug on enums
2016-12-08 17:05:04 +01:00
Renaud Pawlak
d37fa8cec3
test and close #91
2016-12-03 11:46:23 +01:00
Renaud Pawlak
db0c3a05ea
test and close #88
2016-12-03 11:10:29 +01:00
Renaud Pawlak
3779b5c56e
fix #66
2016-12-03 09:22:22 +01:00
Renaud Pawlak
0cfca2105a
added quotes for identifier
2016-12-02 18:59:51 +01:00
Renaud Pawlak
ac7797b920
fix #94
2016-12-02 18:59:06 +01:00
Renaud Pawlak
31ac24ce0a
fix #107
2016-12-02 17:57:34 +01:00
Renaud Pawlak
b17b5922c6
test also keywords with modules
2016-12-02 16:37:47 +01:00
Louis Grignon
d4c927ff13
Merge remote-tracking branch 'upstream/master'
2016-12-02 12:39:38 +01:00
Renaud Pawlak
d5c9209086
add another overload test (with interfaces)
2016-11-30 08:50:12 +01:00
Renaud Pawlak
717cee3829
fix #192
...
Allow static methods in enums
2016-11-29 04:31:11 +01:00
lgrignon
88ff7981f5
Merge remote-tracking branch 'upstream/master'
2016-11-23 09:49:13 +01:00
Renaud Pawlak
4a8ecf17dd
support overloads with enums
...
This support has some limitation because enums are encoded with numbers
at runtime (so overloads cannot dissociate enums and numbers)...
eventually unsupported cases should report sound errors.
2016-11-23 09:03:55 +01:00
Renaud Pawlak
37caac7346
fix global import proble with modules
2016-11-21 17:19:29 +01:00
Renaud Pawlak
a91d95f17f
fix #190 (bundles don't work well anymore)
...
Reverted to strategy without imports and deal with qualified names.
2016-11-21 15:42:27 +01:00
Renaud Pawlak
c4efc3130c
uniformize tests + make sure that bundle mode is tested too
2016-11-21 12:00:07 +01:00
Renaud Pawlak
d8e0389fef
do not add interfaces in objects when not necessary
2016-11-21 09:45:09 +01:00
Renaud Pawlak
8534276d08
loosen Class<T> type
...
Class can now be constructors (classes) or strings (interfaces), so we
type them as any to avoid typing issues
2016-11-18 11:12:02 +01:00
Renaud Pawlak
4a3abfa809
fix problem when erasing method parameter types
...
see the add test for common scenarios
2016-11-18 10:56:45 +01:00
Renaud Pawlak
8f52b92662
fix #187 (+ test)
2016-11-18 09:19:45 +01:00
Renaud Pawlak
e3f53d52d2
fixed regressions from last commit
2016-11-17 22:18:13 +01:00
Renaud Pawlak
215d32f546
fix #173
...
... and more generally, various issues with qualified names and inner
classes with or without modules
2016-11-17 21:17:56 +01:00
Renaud Pawlak
98db585b03
added new enum tests
2016-11-17 16:48:53 +01:00
Renaud Pawlak
c48aa11955
fix #186
...
Handle better enum references in case statements when module option is
on
2016-11-17 16:45:53 +01:00
Renaud Pawlak
3f46fb5cf1
do not prefix names in bundle mode (use imports instead)
...
This new strategy avoids potential name clashes between local variables
names and sub-namespaces.
2016-11-17 11:15:09 +01:00
Renaud Pawlak
4ec51bfee2
also print stack trace when transpiler crashes
2016-11-17 11:11:17 +01:00
Renaud Pawlak
1f0874e2f1
fix #146 + proposal for #181
...
- anonymous classes can be passed when lambdas are expected
- Class.getName()/getSimpleName() returns a value for JS primitive types
2016-11-08 18:18:20 +01:00
Renaud Pawlak
9de04c5392
added a test for #146
2016-11-08 18:11:17 +01:00