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

500 Commits

Author SHA1 Message Date
Kevin Glynn
bb423419b1 grap AppEnv, start generating dot net types for things 2011-01-07 16:20:14 +01:00
Kevin Glynn
380acc7e03 get uses path info from JavaMaker and pass to NetMaker with the AppEnv 2011-01-07 16:19:48 +01:00
Kevin Glynn
d0b00ea8d4 and add IMPORTS keyword for Java 2011-01-07 16:19:01 +01:00
Kevin Glynn
163b651cd6 change class_base to be a list of ^(IMPLEMENTS type). Easier to convert first to EXTENDS if its a class 2011-01-07 16:18:47 +01:00
Kevin Glynn
0cbed4a779 add import and modify package templates for imports 2011-01-07 16:14:17 +01:00
Kevin Glynn
31ce3adc19 Move AppEnv into CommonWalker 2011-01-07 16:13:20 +01:00
Kevin Glynn
6c19bc33a7 ToArray creates items in "pop" order. So parent is at position [1] 2011-01-07 16:12:23 +01:00
Kevin Glynn
a5912958f3 Add Set.cs from daddy cs2j 2011-01-07 16:10:05 +01:00
Kevin Glynn
f9aedc1607 fix for ContainsKey 2011-01-07 16:09:06 +01:00
Kevin Glynn
b336ae4ffe Collect search path in JavaMaker 2011-01-05 19:38:50 +01:00
Kevin Glynn
a8fae67dc0 use our namespace 2011-01-04 17:46:59 +01:00
Kevin Glynn
fe7aa5ea56 add our xmlns 2011-01-04 17:46:11 +01:00
Kevin Glynn
2990bcbf65 Add (autoupgraded) Net Framework translation files for son of cs2j 2011-01-04 15:58:18 +01:00
Kevin Glynn
09327bcefb Casts don't necessarily have both from and to types 2011-01-04 15:49:57 +01:00
Kevin Glynn
564e09ff14 write output files, don't miss out typereptemplate upgrade for interfaces and children 2011-01-04 14:18:51 +01:00
Kevin Glynn
186cc6aaf8 add (already implemented) support for interfaces 2011-01-04 14:12:05 +01:00
Kevin Glynn
7eed951d54 upgrade for classes 2011-01-04 14:10:27 +01:00
Kevin Glynn
eebc3210a3 Add Updgrader class 2011-01-03 11:11:31 -06:00
Kevin Glynn
99211b1a8c reference old TranslationTemplate 2010-12-30 18:45:36 +01:00
Kevin Glynn
a309b80531 add quotes for linux/mono build 2010-12-30 18:44:40 +01:00
Kevin Glynn
3a91ff3ac5 update xml files project 2010-12-29 13:32:30 +01:00
Kevin Glynn
959c489922 Merged from Rustici Trunk:
------------------------------------------------------------------------
r14544 | david.ells | 2010-12-12 00:14:41 +0100 (Sun, 12 Dec 2010) | 1 line

Since java doesn't store better than milli seconds, drop extra fractions of a second from iso timestamps beyond millis
------------------------------------------------------------------------
r14536 | david.ells | 2010-12-10 01:00:29 +0100 (Fri, 10 Dec 2010) | 1 line

Avoid NPE in XmlText when the value of the node is null
------------------------------------------------------------------------
r14527 | david.ells | 2010-12-08 18:21:43 +0100 (Wed, 08 Dec 2010) | 1 line

Add Subtract method to DateTime in CS2J types
------------------------------------------------------------------------
r14524 | david.ells | 2010-12-08 16:22:42 +0100 (Wed, 08 Dec 2010) | 1 line

Add count property
------------------------------------------------------------------------
r14411 | david.ells | 2010-11-18 05:29:46 +0100 (Thu, 18 Nov 2010) | 1 line

Exclude PENS for non ssp builds, add CS2J rule for .NET exception InnerException member
------------------------------------------------------------------------
r14294 | troy.foster | 2010-11-02 19:23:18 +0100 (Tue, 02 Nov 2010) | 1 line

change to handle XmlAttributeCollection appending
------------------------------------------------------------------------
r14074 | troy.foster | 2010-10-15 19:15:15 +0200 (Fri, 15 Oct 2010) | 1 line

Added support for the ToUpperInvariant and ToLowerInvariant functions of both classes
2010-12-22 15:08:31 +01:00
Kevin Glynn
de0fe58d63 tidy up, remove commented, dead code 2010-12-21 17:22:59 +01:00
Kevin Glynn
9c303dedce structs need default constructors 2010-12-21 17:11:10 +01:00
Kevin Glynn
4e2e1fb46b static constructors throw a ExceptionInInitializerError exception. map destructors to finalize() 2010-12-21 16:28:17 +01:00
Kevin Glynn
11624cc674 option to omit timestamps, static constructors, indexers 2010-12-21 12:03:24 +01:00
Kevin Glynn
f441c00bb5 prettier: add spaces between base classes 2010-12-20 22:08:38 +01:00
Kevin Glynn
0940c53833 implement using statements and fix indentation 2010-12-20 22:05:25 +01:00
Kevin Glynn
f1c9c5e6aa Implement ?? operator (assumes we can call the expression multiple times ....) add throws Exception to methods and interface methods 2010-12-20 16:13:28 +01:00
Kevin Glynn
7f3951aff0 make long literals Longs 2010-12-20 13:34:23 +01:00
Kevin Glynn
932115aa62 drop explicit dimensions when we have array initializer list 2010-12-20 12:56:07 +01:00
Kevin Glynn
9732e938bd unsupported: checed/unchecked/default 2010-12-20 10:58:48 +01:00
Kevin Glynn
e55bbd562c Change 'base' to 'super' token 2010-12-20 10:22:52 +01:00
Kevin Glynn
710d887c7b varargs support 2010-12-20 10:00:43 +01:00
Kevin Glynn
19bf099ae4 fix generic method calls and add unsupported to explicit interface implementations 2010-12-19 16:13:15 +01:00
Kevin Glynn
4bde4bfb14 change relative precedence of post++ and DOT so that i++.ToString() comes out right as (i++).ToString() 2010-12-19 11:04:17 +01:00
Kevin Glynn
65508713f0 generate java main method to wrap a C# Main method 2010-12-19 10:22:15 +01:00
Kevin Glynn
71512e308f ToString() -> toString() 2010-12-17 16:37:18 +01:00
Kevin Glynn
a9c0e5acc6 translate new T[] {e,e,e} don't emit 'new' modifier, comment 'extern' 2010-12-17 13:48:09 +01:00
Kevin Glynn
22caf78c9d simple array creation, improved comments for fields, fixed precedence of instanceof 2010-12-17 09:00:02 +01:00
Kevin Glynn
e03c9965c7 turn consts into static final fields 2010-12-16 15:47:43 +01:00
Kevin Glynn
401716aaa1 emit constructors 2010-12-15 12:26:21 +01:00
Kevin Glynn
8a9eea3fcc Convert properties to methods 2010-12-14 16:45:41 +01:00
Kevin Glynn
4e6828f24f fill out interface bodies 2010-12-13 19:00:39 +01:00
Kevin Glynn
02e3a859ea fix some precedence booboos 2010-12-13 16:27:06 +01:00
Kevin Glynn
77ee05660f fix for throw without argument (use var from current catch context) 2010-12-13 09:58:50 +01:00
Kevin Glynn
16dad136d8 simplify catch parsing so that we can easily get hold of exception name 2010-12-13 09:26:44 +01:00
Kevin Glynn
4aa87128e7 fix parens on ops and prettified multiple case labels 2010-12-11 12:59:42 +01:00
Kevin Glynn
8355519858 fix for multiple catch clauses, weird: is list() special in ST? 2010-12-11 11:19:53 +01:00
Kevin Glynn
bcae5ab029 more outputting 2010-12-10 20:36:47 +01:00