Renaud Pawlak
77d384751c
support for @Replace (with markers)
2017-03-17 13:56:49 +01:00
Renaud Pawlak
2ebb0b2f35
better public API for adapters (and extended elements)
2017-03-15 09:15:54 +01:00
Renaud Pawlak
f6d236c7bc
native support for Map.entrySet
2017-03-10 17:54:01 +01:00
Renaud Pawlak
66c9df1c4d
more built-in support for Java APIs
2017-03-10 16:22:54 +01:00
Renaud Pawlak
1d6c6cc4a9
add native support for java.lang.Stack
2017-03-10 12:02:08 +01:00
Renaud Pawlak
071b35e390
adapt class/constructor comments to conform to JSDoc
2017-02-23 14:29:50 +01:00
Renaud Pawlak
e991a3fe97
add an option to set a header file
2017-02-23 11:32:45 +01:00
Renaud Pawlak
41a5a8f033
do not delegate jsdoc adaptation
2017-02-22 11:53:36 +01:00
Renaud Pawlak
f560af79d8
added includes/excludes filters for command-line launcher + test
2017-02-21 11:30:46 +01:00
Renaud Pawlak
6238b6f97a
revert over-engineered/typed API + test + change adapter life cycle
2017-02-21 09:25:45 +01:00
Renaud Pawlak
3294131670
fix issue #220 (+test)
2017-02-20 13:48:14 +01:00
Renaud Pawlak
b6588b37e7
fix #221
2017-02-20 13:12:40 +01:00
Renaud Pawlak
f51bd15cae
Add support for annotation adapters
...
- annotation adapters can be used to change the way the Java AST is
annotated in a chainable and composable way
- add a simple extension using annotations (issue #219 )
- add a test
2017-02-20 12:32:06 +01:00
Louis Grignon
283fc93d26
add #222 test
2017-02-12 15:22:40 +01:00
Renaud Pawlak
4ceffd4172
fix regression + test for $super
2017-02-09 09:49:12 +01:00
lgrignon
5e0c9aa680
method with special characters
2017-02-09 08:27:38 +01:00
lgrignon
fc85e93a88
method names with invalid chars
2017-02-08 19:23:53 +01:00
Renaud Pawlak
b0f2a047a4
fixed special characters in field names
2017-02-07 13:53:19 +01:00
Renaud Pawlak
e2eff87bac
better support for cloning and field initialization
...
- clone behaves much like Java clone
- fields are initialized with Java-like default values (null, 0) instead
of undefined
2017-02-07 12:11:34 +01:00
Renaud Pawlak
8feea10338
add an instanceof test for superclasses
2017-02-07 09:06:58 +01:00
lgrignon
cbc5fe7339
fixed forbidden chars in @Name
2017-02-05 15:30:25 +01:00
lgrignon
8041fba8b2
integrated PR https://github.com/cincheo/jsweet/pull/217 fixing https://github.com/cincheo/jsweet/issues/216
2017-02-04 17:36:45 +01:00
Renaud Pawlak
ec44c6e9a1
small adjustments
2017-02-03 18:25:03 +01:00
Renaud Pawlak
028bc72312
MAJOR: fixed various complex issues with overloading and Java APIs
...
- more extensive support of overloading (including distinction when
possible between types that were not distinguishable so far -- for
instance double, float, and int, or String and char)
- better support of Java APIs (arrays, collections)
2017-02-02 18:57:10 +01:00
Renaud Pawlak
9d34ac3962
support for toArray(targetArray)
2017-02-01 17:34:01 +01:00
Renaud Pawlak
6c0ab0dd56
initialize array of numbers with 0 to conform to Java semantics
2017-02-01 16:13:48 +01:00
Renaud Pawlak
9052940c18
support more overload cases
2017-02-01 15:33:05 +01:00
Renaud Pawlak
984d905632
better support for array overloading
2017-01-31 22:22:35 +01:00
Renaud Pawlak
f60d839f6a
better jsdoc support
2017-01-28 11:08:55 +01:00
Renaud Pawlak
1fddf0e68f
first support for JSDoc
2017-01-27 15:20:37 +01:00
Renaud Pawlak
c789f3af14
fix cast issue for type variables
2017-01-25 09:02:19 +01:00
Renaud Pawlak
5b1cf57841
add more code generation tuning
...
- allow adapting case statements
- add an annotation to substitute a Java method body with plain raw
TypeScript
2017-01-25 05:22:10 +01:00
Renaud Pawlak
ca7126d02e
more native support
...
- Arrays.deepEquals
- Some TimeZone basic functions
- Number.xxxValue() to go to primitive type
- fixed bug in casting to longs
- Number.compare(n1,n2)
2017-01-22 20:47:34 +01:00
Renaud Pawlak
f98745ac24
fix problems with @Erased
2017-01-22 11:33:07 +01:00
Renaud Pawlak
c80fb0ce63
more extensive support for enums and inner classes
...
- abstract methods and anonymous classes are not allowed in enums (see
the test)
- now you have basic support for local classes declared in methods (wip)
- recursive structure support improved (with some code cleaning)
2017-01-20 20:56:37 +01:00
Renaud Pawlak
0a35b6ed5c
basic built-in support for calendars
2017-01-20 12:22:44 +01:00
Renaud Pawlak
deb7bb9188
more built-in support
2017-01-19 18:10:54 +01:00
Renaud Pawlak
f7f8e037bf
default basic support for WeakHashMap
2017-01-19 16:19:27 +01:00
Renaud Pawlak
0b29505ed3
default basic support for java.text.Collator
2017-01-19 16:14:31 +01:00
Renaud Pawlak
01ca31b469
add native support for WeakReference
2017-01-19 06:59:57 +01:00
Renaud Pawlak
48c895c5c6
support for erasing StringBuffer/StringBuilder Java types
2017-01-17 13:47:16 +01:00
Renaud Pawlak
cf2befe29b
add support for programmatic annotation filters
2017-01-17 11:55:55 +01:00
Renaud Pawlak
fc825bb64e
fixed problem with singletonMap macro
2017-01-17 09:53:46 +01:00
Renaud Pawlak
31427bf699
more collections support
2017-01-13 08:49:32 +01:00
Renaud Pawlak
b73479741b
more macros for maps
2017-01-12 15:10:36 +01:00
Renaud Pawlak
b8e65ebb31
test for anonymous class private field access
2017-01-12 15:09:55 +01:00
Renaud Pawlak
9b0e120445
support for array equality and cloning
2017-01-12 13:10:30 +01:00
Renaud Pawlak
e91844c1d8
added support for arraycopy macro
2017-01-12 11:28:02 +01:00
Renaud Pawlak
4dd52f1cf6
added support for native Maps + removed useles option
2017-01-12 10:41:28 +01:00
Renaud Pawlak
937f169f53
support more for the Java API removal option
2017-01-09 16:15:19 +01:00