Kevin Glynn
26667b96e3
Map List<T> to new CSList, which wraps an ArrayList
2011-10-22 14:51:44 +02:00
Kevin Glynn
9012b7c07a
Take account JavaMaker's renaming of built in types
2011-10-22 14:50:49 +02:00
Kevin Glynn
48b6b3b8fa
config for tester project
2011-10-13 16:06:10 +02:00
Kevin Glynn
3930e1a05d
provide LCC variants of built in delegate interfaces
2011-10-13 16:05:55 +02:00
Kevin Glynn
65d533f5a6
hmmm, use return when the expression does NOT have void type
2011-10-13 16:05:09 +02:00
Kevin Glynn
37b80a1fbd
- ForceUnsharedType::share allows to force a copy of the type in case we want to update it latter (e.g. IsWrapped)
...
- use rewriteXXXX methods from base
2011-10-13 16:04:42 +02:00
Kevin Glynn
b5f2f3126b
use rewriteXXX methods from base, set up combine and remove for __MultiXXX classes
2011-10-13 16:02:29 +02:00
Kevin Glynn
7f0cc54156
use rewriteMethods from base, mark method calls in code fragment
2011-10-13 16:01:20 +02:00
Kevin Glynn
f61a635bc1
use rewriteXXXX methods to rewrite method names, imports etc.
2011-10-13 16:00:19 +02:00
Kevin Glynn
e1a6104a0d
move rewriteXXXX methods into CommonWalker
2011-10-13 15:59:15 +02:00
Kevin Glynn
b75004cd20
Can make a fresh copy by calling Instantiate(null)
2011-10-13 15:58:39 +02:00
Kevin Glynn
d35c8c196b
rename translation file since EventHandler has a type argument, provide LCC version
2011-10-13 15:57:02 +02:00
Kevin Glynn
2c4ca85ba5
rework collection interfaces for GNfaDfa.cs
2011-10-12 10:40:18 +02:00
Kevin Glynn
a6f8dac7c6
- have black listed methods that should not be renamed
...
- supported interfaces map points to Import list and blacklisted methods list
- create empty symtab in InitParser
- class_member_declaration has symtab scope
- add isJavaIsh route for type arguments
2011-10-12 10:38:18 +02:00
Kevin Glynn
a71555167a
more stream to print, hmmmm need to overhaul the IO translations when I have some time
2011-10-12 10:35:24 +02:00
Kevin Glynn
52b4b0c8f5
fixes to additional collection method code
2011-10-12 10:33:50 +02:00
Kevin Glynn
ac4aed1ef0
rewrite Application to Application, not Object ....
2011-10-12 10:32:34 +02:00
Kevin Glynn
c62a2e241b
make net phase optional, we don't use it from JavaMaker
2011-10-12 10:32:06 +02:00
Kevin Glynn
a3b3e67d76
make has_boxed_rep explicit in translation templates for primitive types, "guessing" wasn't working out
2011-10-12 10:30:57 +02:00
Kevin Glynn
63addf1b1c
add some more config files
2011-10-12 10:21:56 +02:00
Kevin Glynn
985368b2e5
Handle any 'params' parameter
2011-10-10 09:34:22 +02:00
Kevin Glynn
dc3d4691e4
include new classes in solution
2011-10-09 19:39:55 +02:00
Kevin Glynn
2930f11d1f
fix netapps line
2011-10-09 19:39:19 +02:00
Kevin Glynn
85b9a3afc4
Writer -> PrintWriter, Stream -> PrintStream
2011-10-09 19:38:56 +02:00
Kevin Glynn
1ab62778f7
- Don't use IxxxxxxSupport naming for interfaces, just Ixxxxxxx
...
- fix up translations and classes for new interfaces support (e.g. IEnumerable becomes an Iterable)
2011-10-09 19:38:23 +02:00
Kevin Glynn
87f38f84e9
- Generalize the interfaces that we can support by adding in additional code
...
- If we are overriding, or implementing, a method with type vars as result or param then we need to make sure that primitive types get their unboxed version
2011-10-09 19:34:09 +02:00
Kevin Glynn
c43d5ec4a4
leave method renaming to NetMaker phase
2011-10-09 19:31:00 +02:00
Kevin Glynn
34fdb5266a
parseString calls a Init method which can be overridden in sub classes. Use in NetMaker to initialize dynamic scopes
2011-10-09 19:29:32 +02:00
Kevin Glynn
eb760267f9
add HasBoxedRep for types that need different translations when they are in a boxed context
2011-10-09 19:25:51 +02:00
Kevin Glynn
3c5ec9fcb6
Move additional code fragments into new base classes for JavaMaker and NetMaker
2011-10-09 19:24:45 +02:00
Kevin Glynn
3ef1333259
pass delegate definition into method construction so that we can force arguments to be boxed if needed
2011-09-25 10:26:19 +02:00
Kevin Glynn
dc2f6c6201
type references in templates are now TypeRepRefs rather than straight strings
2011-09-25 10:25:24 +02:00
Kevin Glynn
e65f6be61c
exclude tests
2011-09-25 10:23:43 +02:00
Kevin Glynn
5a5dabc5fe
want to pass stdout as a Writer
2011-09-21 14:43:37 +02:00
Kevin Glynn
cbba3febbf
better than nothing ...
2011-09-21 14:43:11 +02:00
Kevin Glynn
bee6696044
need list to be an ICollection, so map to supported interface
2011-09-21 14:42:55 +02:00
Kevin Glynn
d1144d51db
fix up modifiers. Missing access modifier or explicit internal map to public
2011-09-21 14:38:18 +02:00
Kevin Glynn
1e0d4a90e8
support #IF(ccc)
2011-09-21 14:37:08 +02:00
Kevin Glynn
9165fc200e
add some sample ini files
2011-09-21 14:36:49 +02:00
Kevin Glynn
84d55bf3d5
missing import
2011-09-21 14:36:07 +02:00
Kevin Glynn
78d2ed1e29
add some built in delegates, predicate and action
2011-09-21 14:35:43 +02:00
Kevin Glynn
946bd4741a
Include explicit BoxedJava field in translation templates for primitives
2011-09-21 14:34:50 +02:00
Kevin Glynn
87e67c5035
fix -help message after option renaming
2011-09-14 15:08:22 +02:00
Kevin Glynn
f0c1dc6894
bundle DefaultSettings.ini in release
2011-09-14 15:08:08 +02:00
Kevin Glynn
4d5f5aead0
make mono develop happier
2011-09-14 15:07:51 +02:00
Kevin Glynn
5a013caf81
update nini license info
2011-09-14 12:38:37 +02:00
Kevin Glynn
20cb333fa6
add support for configuration file. rename options
2011-09-13 18:08:59 +02:00
Kevin Glynn
1bee5bb9ac
wrap options in a CS2JOption class that remembers if the option has been set since it was given its default value
...
(in preparation for supporting config file)
2011-09-12 16:08:00 +02:00
Kevin Glynn
67f5662d77
option handling tidy up
...
- Error if option is unrecognized.
- Print version when we are asked to be verbose
2011-09-12 16:07:06 +02:00
Kevin Glynn
c0c2fe6a1a
argument_list argument to JAVAWRAPPERARGUMENTLIST is optional
2011-09-11 17:14:59 +02:00