1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

445 Commits

Author SHA1 Message Date
Kevin Glynn
a1e6eb4a24 refine obfuscation so that we can graft in code in the trial version again 2011-12-09 13:32:36 +01:00
Kevin Glynn
9719bd8e26 update version number for release 2011-12-09 10:53:48 +01:00
Kevin Glynn
706afb8575 Do not crash horribly if we don't have translations for some basic types (e.g. user passes invalid NetFramework) 2011-12-09 10:51:48 +01:00
Kevin Glynn
1518806ac9 Don't obfuscate TypeRep Templates 2011-12-05 13:44:02 +01:00
Kevin Glynn
445f387144 tidyup for release 2011-11-27 11:37:46 +01:00
Kevin Glynn
7f8a732e66 ordering direction is optional 2011-11-26 18:09:39 +01:00
Kevin Glynn
826bf6b515 grrr, wasn't properly copying the invoker method causing painful to debug symptoms :( 2011-11-13 21:43:37 +01:00
Kevin Glynn
b446f68eb6 If we wrap a parameter's type in RefSupport then *that* is the value for boxedType 2011-11-11 19:33:38 +01:00
Kevin Glynn
7f197becf2 update version for release 2011-11-05 14:25:13 +01:00
Kevin Glynn
9012b7c07a Take account JavaMaker's renaming of built in types 2011-10-22 14:50:49 +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
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
52b4b0c8f5 fixes to additional collection method code 2011-10-12 10:33:50 +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
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
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
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
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
4d5f5aead0 make mono develop happier 2011-09-14 15:07:51 +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
Kevin Glynn
aefe0f98c2 make excludes agnostic to trailing directory characters 2011-09-09 13:32:22 +02:00
Kevin Glynn
bc0b63bf12 Do not crash if modifier list is empty 2011-09-08 11:00:42 +02:00
Kevin Glynn
68b1c5d3de S stands for signed ..... 2011-09-07 12:24:19 +02:00
Kevin Glynn
3ad0b16e4b Changes necessary to ensure that mono and windows both serialize templates identically 2011-09-07 11:12:05 +02:00
Kevin Glynn
58dcc0fd50 add LCC first if JavaNamingConvention and thus at lowest priority) 2011-09-06 16:04:36 +02:00
Kevin Glynn
47607a041e add option -experimental-unsigned-to-bigger-signed 2011-09-06 15:04:03 +02:00
Kevin Glynn
cf49dd694f allow to add multiple variants in one go (separate by semi-colon) 2011-09-06 15:03:14 +02:00
Kevin Glynn
fb9b27763f rename methods to follow java conventions by default 2011-09-06 15:00:03 +02:00
Kevin Glynn
091650f33c update version number 2011-09-06 14:59:03 +02:00
Kevin Glynn
11402e0865 support variants to smooth java naming convention support 2011-09-06 10:05:40 +02:00
Kevin Glynn
8fef1242e9 use built in void type 2011-09-06 10:05:02 +02:00