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

341 Commits

Author SHA1 Message Date
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
Kevin Glynn
48235fdba6 Use TypeParams for element type 2011-01-25 12:20:22 +01:00
Kevin Glynn
9436713f94 some support for generics, length works for arraya now 2011-01-24 20:19:00 +01:00
Kevin Glynn
c536686bf6 support explicit casts 2011-01-23 17:13:59 +01:00
Kevin Glynn
d27c25c2c8 fix the type of true and false 2011-01-21 19:41:20 +01:00
Kevin Glynn
54acb6c050 whoops, fix for parameterless constructors 2011-01-21 19:05:56 +01:00
Kevin Glynn
b95326690d translate qualified type names 2011-01-21 18:23:11 +01:00
Kevin Glynn
e5a46160b2 inherit from system.object and add final carriage return as side-effect .... 2011-01-21 17:53:06 +01:00
Kevin Glynn
29b0ba7c1d generalised typeof_type 2011-01-21 16:36:16 +01:00
Kevin Glynn
cf3d57a3bd generate cast methods, implement TYPEOF_expr_TYPE 2011-01-21 16:34:23 +01:00
Kevin Glynn
4c882a08e2 Convert some switch statements to if-then-else 2011-01-20 14:34:08 +01:00
Kevin Glynn
7d6a95b347 Merge branch 'master' of github.com:twiglet/cs2j HengtianSoft-Devel-1 2011-01-18 17:06:40 +01:00
Kevin Glynn
fd0bee8e58 ok, finally believe that we won't be needing TypeRep's :) 2011-01-18 14:39:36 +01:00
Kevin Glynn
95753d6591 get rid of annoying warning 2011-01-18 14:38:38 +01:00
Kevin Glynn
8b61151866 another missing System.Object inheritor 2011-01-18 10:58:21 +01:00
Kevin Glynn
0bc9a9022c strip off prefix from fully qualified case labels, Java doesn't like them 2011-01-18 10:57:56 +01:00
Kevin Glynn
4288147e00 fix up arraylist translations 2011-01-18 07:41:09 +01:00
Kevin Glynn
d760e8528f carry through dotNetType on postinc/dec expressions 2011-01-18 07:40:26 +01:00
Kevin Glynn
8c875d3b41 inherit from object 2011-01-17 18:30:39 +01:00
Kevin Glynn
66094e129b fix resolve for enums 2011-01-17 18:24:26 +01:00