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

760 Commits

Author SHA1 Message Date
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
Kevin Glynn
eaa3a0cb18 add precedences 2011-02-01 22:52:28 +01:00
Kevin Glynn
6add10d734 Add IsExplicitNull. If a type is attched to an explicit null then it has any type you like ... 2011-02-01 22:36:08 +01:00
Kevin Glynn
45bc3d78de cope with untranslatable replacements 2011-02-01 22:35:13 +01:00
Kevin Glynn
00e34a788d add some precedences 2011-02-01 22:34:27 +01:00
Kevin Glynn
83768111c5 remove crummy cast, eventually I will find out why it was added and hopefully do it right ... 2011-02-01 22:33:53 +01:00
Kevin Glynn
1a0959de61 add some needed precedences 2011-01-31 21:46:40 +01:00
Kevin Glynn
fb4d2e0ae8 java wrapper tamplates can now include a precedence in marker names so that parenthesis will be added if required, e.g. %{this:16}. says that the context of has a precedence of 16, see table in JavaPrettyPrint.g 2011-01-31 20:46:29 +01:00
Kevin Glynn
6fde5f3c7c add an accessor for parent, though we don't use it, to avoid a warning message 2011-01-31 20:45:08 +01:00
Kevin Glynn
d7298e12b5 create arraylists from arrays, fix java type corresponding to NumberFormatInfo and NumberStyles 2011-01-31 16:29:14 +01:00
Kevin Glynn
b4bd3cf697 add a close method 2011-01-31 16:28:32 +01:00
Kevin Glynn
1aeca0f563 process comments before returning: escape \u, because this is a java error even in comments 2011-01-31 16:27:30 +01:00
Kevin Glynn
8fc09afe75 return type from new 'type'[] {...} 2011-01-29 14:27:32 +01:00
Kevin Glynn
3b61fce97f Exception -> Throwble now 2011-01-29 09:29:03 +01:00
Kevin Glynn
a55b7d48e1 add embedded enums 2011-01-29 09:27:04 +01:00
Kevin Glynn
d32f508073 add a iterable for Hashtable 2011-01-28 21:49:15 +01:00
Kevin Glynn
d5bad8bc11 treat failures to resolve as unknowntypes (and then they become eligible to be treated as system.Object) 2011-01-28 18:22:36 +01:00
Kevin Glynn
fb578b8dc2 fix arraylist sort 2011-01-28 18:22:00 +01:00
Kevin Glynn
403d42044f fix some broken translations 2011-01-28 17:17:34 +01:00
Kevin Glynn
0d8f99a118 remove lonely break statements 2011-01-28 08:10:28 +01:00
Kevin Glynn
d0c882dd7b finish release document 2011-01-27 18:04:46 +01:00
Kevin Glynn
2b2fc571c6 add file describing release process HengtianSoft-Devel-2 2011-01-27 16:57:00 +01:00
Kevin Glynn
e60dcbfee3 Change ReturnType to ElementType 2011-01-27 14:12:08 +01:00
Kevin Glynn
26b8a021c2 Make a fresh copy of typereps before instantiating their type variables 2011-01-27 14:11:40 +01:00
Kevin Glynn
8ab08fe52b strip unnecessary extra braces around foreach block, add missing semi 2011-01-26 13:18:30 +01:00
Kevin Glynn
98cf331db2 Add source project for cs2j testing 2011-01-26 11:47:54 +01:00
Kevin Glynn
1fe7bceade add support for iterables 2011-01-26 11:47:15 +01:00
Kevin Glynn
5ece315769 fix broken translation file 2011-01-25 18:45:04 +01:00
Kevin Glynn
43323f46ea resolve indexers 2011-01-25 18:26:47 +01:00
Kevin Glynn
27e774356d move get___idx and set___idx to Indexers section 2011-01-25 18:26:01 +01:00
Kevin Glynn
da43225127 remove indexers, they are compiled into methods 2011-01-25 14:58:44 +01:00
Kevin Glynn
6310e5bfde build arrays 2011-01-25 12:22:03 +01:00
Kevin Glynn
4edac33a13 fix converion if array types to string 2011-01-25 12:21:46 +01:00
Kevin Glynn
8aaa64d8bd add variable args to symbol table 2011-01-25 12:21:10 +01:00