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

743 Commits

Author SHA1 Message Date
Kevin Glynn
52d9b3b5a7 We want to be able to pass ints where long is expected. Adding Int64 to inherits had some unpleasant side effects 2011-02-28 20:27:14 +01:00
Kevin Glynn
e4600b7885 Support for Generic Types (to be continued ....). 2011-02-28 12:34:49 +01:00
Kevin Glynn
c0cfaf00c0 Avoid generating some unused dummyCatchVars 2011-02-28 11:25:00 +01:00
Kevin Glynn
590efcda26 New option: warning-resolve-failures for when we can't find a translation. Off by default because it can be very noisy 2011-02-25 14:07:31 +01:00
Kevin Glynn
f1db436236 fix up indentation, its not perfect but its close and consistent 2011-02-21 16:40:42 +01:00
Kevin Glynn
b6d57d4bd2 identify typevars in findType. TypeVarRepTemplate derives from ClassRepTemplate so that we don't try to initialise variables of type T 2011-02-18 17:05:00 +01:00
Kevin Glynn
94fa86d57e Retain complete unknown types in final source 2011-02-18 16:25:15 +01:00
Kevin Glynn
adb34dffbe Change to create instantiated generic types. For the moment we probably just have arrays working(ish) 2011-02-18 15:26:30 +01:00
Kevin Glynn
0b380e063d Add TypeVarRepTemplates, keep track of type var instantiations 2011-02-18 15:24:41 +01:00
Kevin Glynn
f82c7c8627 fix up key in type environment for types with generic arguments 2011-02-18 13:51:52 +01:00
Kevin Glynn
85b5e57e3c move mkGenericTypeAlias and NSPrefix into CommonWalker and start using them consistently 2011-02-17 11:15:47 +01:00
Kevin Glynn
f87cf09735 fix up templategenerator project after move of TypeHelper 2011-02-17 11:11:59 +01:00
Kevin Glynn
041258790f add gitattributes so that we don't export .git files with git archive 2011-02-15 17:32:22 +01:00
Kevin Glynn
07cfecff4e error if we can't find class name in the environment 2011-02-14 11:49:55 +01:00
Kevin Glynn
19ec2e3478 Move utility class into TemplateGenerator project (only user ....) 2011-02-14 11:46:24 +01:00
Kevin Glynn
7c5b7b02bb set output path 2011-02-14 09:50:18 +01:00
Kevin Glynn
3196d840a6 do not forget to xbuild 2011-02-14 09:49:58 +01:00
Kevin Glynn
91dad6410f monodevelop changes 2011-02-14 09:33:05 +01:00
Kevin Glynn
76694386d3 Use 3.5 runtime and remove unused reference 2011-02-13 09:54:15 +01:00
Kevin Glynn
b0e224d9ec give up, let executable go to Debug\! 2011-02-13 09:20:54 +01:00
Kevin Glynn
852de1adae remove app.config 2011-02-13 09:20:23 +01:00
Kevin Glynn
87296d6562 Big Code Reorg 2011-02-12 19:48:16 +01:00
Kevin Glynn
68132938bc remove ArrayListSupport wrapper, we now use java's ArrayList 2011-02-08 17:54:25 +01:00
Kevin Glynn
4a989b6ce3 remove hardcoded logger name 2011-02-08 13:10:13 +01:00
Kevin Glynn
19e3dcc413 Use version in CS2JLibrary 2011-02-08 13:09:52 +01:00
Kevin Glynn
67ec9338a7 no more subversion 2011-02-08 13:09:29 +01:00
Kevin Glynn
9150be454e Add copyright statements 2011-02-08 12:27:00 +01:00
Kevin Glynn
b25a8137ef update copyright statements 2011-02-08 12:10:55 +01:00
Kevin Glynn
31dfe71d06 move RusticiSoftware namespace to CS2JNet 2011-02-08 11:55:45 +01:00
Kevin Glynn
4341ea8484 Remove (old) NetTranslations. Move RusticiSoftware namespace to CS2JNet 2011-02-08 10:25:05 +01:00
Kevin Glynn
861ffa6398 initialize enum fields with zeroth enum value 2011-02-07 19:51:53 +01:00
Kevin Glynn
88dc6aab15 when creating structs call the default constructor 2011-02-07 18:06:44 +01:00
Kevin Glynn
4cb4a2bfd5 configurable throws Throwable/Exception 2011-02-07 14:51:24 +01:00
Kevin Glynn
0eb19d14a5 don't add sub-types to imports (this is an error if they are private, e.g.) 2011-02-04 19:43:12 +01:00
Kevin Glynn
796ba6bbaf Add an AddToImports wrapper in case we need it later 2011-02-04 19:03:08 +01:00
Kevin Glynn
f7d383eea5 Use support routines for comparing datetimes 2011-02-04 18:12:41 +01:00
Kevin Glynn
ec87c3e44c translate to java's Cloneable 2011-02-04 18:12:03 +01:00
Kevin Glynn
788db4523d translate operators when args are string or datetime 2011-02-04 15:37:11 +01:00
Kevin Glynn
753225903e make max translation work for all numbers 2011-02-04 12:22:11 +01:00
Kevin Glynn
f13ac6a7d5 give a type to real literals 2011-02-04 12:21:32 +01:00
Kevin Glynn
62659c1def If a class inherits from System.Attribute then convert to annotation 2011-02-04 11:58:50 +01:00
Kevin Glynn
1eefd61854 simplify rules by pushing atts and modifiers down into type descriptions 2011-02-04 10:05:07 +01:00
Kevin Glynn
c2633e58d5 collect uses later so that we include the type - needed for nested entities 2011-02-04 08:51:16 +01:00
Kevin Glynn
d35eab4be3 decimal -> double 2011-02-04 08:50:41 +01:00
Kevin Glynn
978db39518 move MailMessage into CS2JLibrary 2011-02-04 06:51:19 +01:00
Kevin Glynn
dd23453b72 support for <exp>[ff] <op>= <rhs> 2011-02-04 06:21:58 +01:00
Kevin Glynn
839a67bf19 support for Prop <op>= exp 2011-02-03 17:34:54 +01:00
Kevin Glynn
5e3dc6d5a0 support ToArray(int[]) 2011-02-03 14:16:29 +01:00
Kevin Glynn
283d0d4d7a Cast Objects to boxed types, not unboxed types 2011-02-02 16:53:27 +01:00
Kevin Glynn
b091f2a08b Add IsUnboxedType for cases where we know that the expression / type is unboxed. Unused for now 2011-02-02 16:52:35 +01:00