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

678 Commits

Author SHA1 Message Date
Kevin Glynn
aa380e6da3 a version of setValue that returns old or new value 2011-05-05 16:12:13 +02:00
Kevin Glynn
fdc89af56b correct translation for Property++ 2011-05-03 15:46:47 +02:00
Kevin Glynn
7e85ac4a83 fix support for IDisposable.close(), it was broken in SE/Logic :( 2011-05-02 15:35:12 +02:00
Kevin Glynn
4e9f105c54 add Double.tryParse using new RefSupport class 2011-05-02 15:34:21 +02:00
Kevin Glynn
0a7af29e58 support for ref/out params in calls in if-then-else conditional expression 2011-05-02 12:54:18 +02:00
Kevin Glynn
1c0fa6586b Sets are IEnumerable, fix AddToImports to be satisifed with that 2011-05-02 12:53:30 +02:00
Kevin Glynn
9d6b510a59 support ref and out parameters 2011-04-30 09:29:06 +02:00
Kevin Glynn
82e2dcf770 move imports into CommonWalker so that we can add to imports from JavaMaker too (currently not needed) 2011-04-30 09:28:15 +02:00
Kevin Glynn
5eff7e331c add some write methods, stolen from Console.xml 2011-04-30 09:26:39 +02:00
Kevin Glynn
2d76f823aa add translation for currentthread 2011-04-28 11:19:58 +02:00
Kevin Glynn
abc4163a86 add ascii encoder 2011-04-28 11:19:47 +02:00
Kevin Glynn
91608a3344 add InvalidOperationException 2011-04-28 11:19:27 +02:00
Kevin Glynn
c89cd6ae39 add string.format 2011-04-28 11:18:41 +02:00
Kevin Glynn
32c3ae4b6c move csfmttojavafmt to stringsupport 2011-04-28 11:18:25 +02:00
Kevin Glynn
2aa89a54d9 to build openmetaverse library 2011-04-27 13:06:38 +02:00
Kevin Glynn
f960e50051 add translations 2011-04-27 13:06:24 +02:00
Kevin Glynn
65bd4c53b7 Translations can have a warning that is emitted at translation time 2011-04-27 13:05:49 +02:00
Kevin Glynn
aa4266bccc make unimplemented message a comment 2011-04-27 13:05:11 +02:00
Kevin Glynn
878dcf69de Don't lowercase excludes filenames, we are case-sensitive everywhere else 2011-04-27 13:04:42 +02:00
Kevin Glynn
8eec6a60d1 Don't force IDisposable to implement close() 2011-04-27 13:04:11 +02:00
Kevin Glynn
17fdd8498d Don't import everything 2011-04-27 13:03:54 +02:00
Kevin Glynn
56d607ee3a ICollection -> Collection 2011-04-19 10:23:39 +02:00
Kevin Glynn
0529896ca2 type argument to instanceof cannot be primitive. Arrays are not primitive 2011-04-19 10:23:11 +02:00
Kevin Glynn
830987e80a firtle with enumerators and collection templates 2011-04-18 19:27:23 +02:00
Kevin Glynn
0bbd8402db rename Equals -> equals, GetHashCode -> hashCode (part II) 2011-04-18 19:26:33 +02:00
Kevin Glynn
a611047b13 rename Equals -> equals, GetHashCode -> hashCode 2011-04-18 18:03:32 +02:00
Kevin Glynn
03cfff361a missed index increment 2011-04-18 18:02:57 +02:00
Kevin Glynn
187c6528a9 Add CollectionSupport class to turn a java collection into a c# collection 2011-04-13 15:58:32 +02:00
Kevin Glynn
8084a63eeb Dictionary inherits IDictionary 2011-04-13 14:48:55 +02:00
Kevin Glynn
696453dbac missed csproj change 2011-04-13 11:46:36 +02:00
Kevin Glynn
e33b58e258 member banes of the form Interface.member are translated as Interface___member 2011-04-13 11:46:12 +02:00
Kevin Glynn
dafcee91d6 Use parseString to generate (java) Collection methods when translating a type that implements ICollection 2011-04-13 11:45:38 +02:00
Kevin Glynn
18fb3d4063 Add parseString and IsJavaish so that we can parse arbitrary snippets of Java(ish) code and weave them into the output 2011-04-13 11:44:29 +02:00
Kevin Glynn
71beb7eef6 KeyCollection and CopyTo method 2011-04-07 10:51:52 +02:00
Kevin Glynn
1bb7b32442 Support FileStreams 2011-04-06 16:30:12 +02:00
Kevin Glynn
aa8cf2f8c0 add some undercooked collection support. needs more work. 2011-04-06 16:29:37 +02:00
Kevin Glynn
6a40909662 inner classes are declared static because (as I understand it) that is what .Net inner classes / structs really are. 2011-04-06 16:28:01 +02:00
Kevin Glynn
83fcfd0882 Add --experimental-transforms for undercooked implementations and add boxing of primitive types (see noise added to ScormEngine for aesthetic problems) 2011-04-06 16:27:15 +02:00
Kevin Glynn
158e22b44f add mkNonGeneric scope so that we can remove generic arguments from a type if we want to (these aren't carried at runtime, so instanceof has to just check against the base type) 2011-04-06 10:56:18 +02:00
Kevin Glynn
e0893b1e6f add hashcode to Object 2011-04-06 10:54:43 +02:00
Kevin Glynn
f6e9216b39 keep a patch to make trial version from master 2011-03-27 15:22:47 +02:00
Kevin Glynn
6689f78028 If we notice that we are calling a method on an expression with primitive type, then cast it to the equivalent boxed type first 2011-03-27 09:37:01 +02:00
Kevin Glynn
724119b99b Include local copy of source to antlr3-ant task so that we can modify conversiontimeout parameter 2011-03-26 17:33:31 +01:00
Kevin Glynn
299911f77b Make sure we are using internal java templates, must try to keep up to date .... 2011-03-25 18:21:51 +01:00
Kevin Glynn
6b3e3f5106 Merge branch 'trialcs2j' 2011-03-25 13:36:38 +01:00
Kevin Glynn
8d607c2f47 mkit (and new mkit.bat) now use the ant script to rebuild app 2011-03-25 13:33:35 +01:00
Kevin Glynn
464f69e2f7 Remove conversiontimeout attribute, which is ignored by antlr3-ant task 2011-03-25 13:32:50 +01:00
Kevin Glynn
0a4758a9dd Update contact address 2011-03-25 13:32:07 +01:00
Kevin Glynn
4377e2a9b7 mkit (and mkit.bat) now reuse ant builder 2011-03-24 13:57:21 +01:00
Kevin Glynn
2dd72a343c Merge remote-tracking branch 'origin/trialcs2j' into trialcs2j 2011-03-24 12:57:23 +01:00