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

Commit Graph

  • ac2417a6c6 various so that we can chomp through monodevelop. mostly it seems to be workarounds for antlr :( Kevin Glynn 2011-05-20 19:54:47 +02:00
  • c457c5c6f8 fixes after stress test against libomv Kevin Glynn 2011-05-20 15:34:16 +02:00
  • 63cbb54855 handle null delegates Kevin Glynn 2011-05-20 14:00:45 +02:00
  • f49d562c9c treat normal events like fields (their delegate type is sufficient for the translation). Still need to address add/remove blocks Kevin Glynn 2011-05-20 13:40:32 +02:00
  • 05c15f501a support for += and -= for delegates Kevin Glynn 2011-05-20 13:08:11 +02:00
  • 53e2c3b8c7 support for adding / subtracting delegates Kevin Glynn 2011-05-20 09:20:54 +02:00
  • 9e9bba2f40 pass type contexts a bit more widely Kevin Glynn 2011-05-19 22:31:08 +02:00
  • d71a5f83f2 lambda body: expression -> statement by adding return Kevin Glynn 2011-05-19 22:30:17 +02:00
  • ea85f4a396 little bits so that ScormEngine translation doesn't regress Kevin Glynn 2011-05-19 18:28:20 +02:00
  • e39fc12be4 Make delegate classes / interfaces static if they are inner Kevin Glynn 2011-05-19 17:31:14 +02:00
  • 1967cfb048 fix up inherits for MultiDelegateClass case when type params are involved Kevin Glynn 2011-05-19 17:17:42 +02:00
  • 84a767f445 big delegates commit. Autogenerated code for delegate support is pretty much done now Kevin Glynn 2011-05-19 16:37:45 +02:00
  • ff574c6af9 fix new line in string Kevin Glynn 2011-05-11 11:17:00 +02:00
  • 260de07443 In C# format strings positions are indexed from 0, in Java they are indexed from 1 Kevin Glynn 2011-05-11 10:41:24 +02:00
  • 76bb9265ca delegates are rewritten to interfaces Kevin Glynn 2011-05-09 15:57:44 +02:00
  • 4c9deebfe1 add a javaInvoke template for applying a delegate value Kevin Glynn 2011-05-09 15:57:12 +02:00
  • 7803381f66 type params on interfaces Kevin Glynn 2011-05-09 15:56:26 +02:00
  • 752f86e065 Ordinarily cast expressions have only unary_expressions as target, but 'as' expansion can provide full expressions Kevin Glynn 2011-05-06 12:35:07 +02:00
  • 6b3c19f823 fix up jump statements that call methods with ref / out params so that these param's values don't get lost. Kevin Glynn 2011-05-06 10:44:48 +02:00
  • ab6882062d -> in this branch Kevin Glynn 2011-05-05 16:53:06 +02:00
  • 980e721888 - i++ should return new value (this is broken for properties :( ) - if ref / out params are updated from another ref or out param then need to use setValue() - pre and post statements need to be added around statements (e.g. local_variable_declaration doesn't use embedded_statement) - jump statements need special treatment (still a bit broken) Kevin Glynn 2011-05-05 16:15:22 +02:00
  • aa380e6da3 a version of setValue that returns old or new value Kevin Glynn 2011-05-05 16:12:13 +02:00
  • fdc89af56b correct translation for Property++ Kevin Glynn 2011-05-03 15:46:47 +02:00
  • 7e85ac4a83 fix support for IDisposable.close(), it was broken in SE/Logic :( Kevin Glynn 2011-05-02 15:35:12 +02:00
  • 4e9f105c54 add Double.tryParse using new RefSupport class Kevin Glynn 2011-05-02 15:34:21 +02:00
  • 0a7af29e58 support for ref/out params in calls in if-then-else conditional expression Kevin Glynn 2011-05-02 12:54:18 +02:00
  • 1c0fa6586b Sets are IEnumerable, fix AddToImports to be satisifed with that Kevin Glynn 2011-05-02 12:53:30 +02:00
  • 9d6b510a59 support ref and out parameters Kevin Glynn 2011-04-30 09:29:06 +02:00
  • 82e2dcf770 move imports into CommonWalker so that we can add to imports from JavaMaker too (currently not needed) Kevin Glynn 2011-04-30 09:28:15 +02:00
  • 5eff7e331c add some write methods, stolen from Console.xml Kevin Glynn 2011-04-30 09:26:39 +02:00
  • 2d76f823aa add translation for currentthread Kevin Glynn 2011-04-28 11:19:58 +02:00
  • abc4163a86 add ascii encoder Kevin Glynn 2011-04-28 11:19:47 +02:00
  • 91608a3344 add InvalidOperationException Kevin Glynn 2011-04-28 11:19:27 +02:00
  • c89cd6ae39 add string.format Kevin Glynn 2011-04-28 11:18:41 +02:00
  • 32c3ae4b6c move csfmttojavafmt to stringsupport Kevin Glynn 2011-04-28 11:18:25 +02:00
  • 2aa89a54d9 to build openmetaverse library Kevin Glynn 2011-04-27 13:06:38 +02:00
  • f960e50051 add translations Kevin Glynn 2011-04-27 13:06:24 +02:00
  • 65bd4c53b7 Translations can have a warning that is emitted at translation time Kevin Glynn 2011-04-27 13:05:49 +02:00
  • aa4266bccc make unimplemented message a comment Kevin Glynn 2011-04-27 13:05:11 +02:00
  • 878dcf69de Don't lowercase excludes filenames, we are case-sensitive everywhere else Kevin Glynn 2011-04-27 13:04:42 +02:00
  • 8eec6a60d1 Don't force IDisposable to implement close() Kevin Glynn 2011-04-27 13:04:11 +02:00
  • 17fdd8498d Don't import everything Kevin Glynn 2011-04-27 13:03:54 +02:00
  • 56d607ee3a ICollection -> Collection Kevin Glynn 2011-04-19 10:23:39 +02:00
  • 0529896ca2 type argument to instanceof cannot be primitive. Arrays are not primitive Kevin Glynn 2011-04-19 10:23:11 +02:00
  • 830987e80a firtle with enumerators and collection templates Kevin Glynn 2011-04-18 19:27:23 +02:00
  • 0bbd8402db rename Equals -> equals, GetHashCode -> hashCode (part II) Kevin Glynn 2011-04-18 19:26:33 +02:00
  • a611047b13 rename Equals -> equals, GetHashCode -> hashCode Kevin Glynn 2011-04-18 18:03:32 +02:00
  • 03cfff361a missed index increment Kevin Glynn 2011-04-18 18:02:57 +02:00
  • 187c6528a9 Add CollectionSupport class to turn a java collection into a c# collection Kevin Glynn 2011-04-13 15:58:32 +02:00
  • 8084a63eeb Dictionary inherits IDictionary Kevin Glynn 2011-04-13 14:48:49 +02:00
  • 696453dbac missed csproj change Kevin Glynn 2011-04-13 11:46:36 +02:00
  • e33b58e258 member banes of the form Interface.member are translated as Interface___member Kevin Glynn 2011-04-13 11:46:12 +02:00
  • dafcee91d6 Use parseString to generate (java) Collection methods when translating a type that implements ICollection Kevin Glynn 2011-04-13 11:45:38 +02:00
  • 18fb3d4063 Add parseString and IsJavaish so that we can parse arbitrary snippets of Java(ish) code and weave them into the output Kevin Glynn 2011-04-13 11:44:29 +02:00
  • 71beb7eef6 KeyCollection and CopyTo method Kevin Glynn 2011-04-07 10:51:52 +02:00
  • 1bb7b32442 Support FileStreams Kevin Glynn 2011-04-06 16:30:12 +02:00
  • aa8cf2f8c0 add some undercooked collection support. needs more work. Kevin Glynn 2011-04-06 16:29:37 +02:00
  • 6a40909662 inner classes are declared static because (as I understand it) that is what .Net inner classes / structs really are. Kevin Glynn 2011-04-06 16:28:01 +02:00
  • 83fcfd0882 Add --experimental-transforms for undercooked implementations and add boxing of primitive types (see noise added to ScormEngine for aesthetic problems) Kevin Glynn 2011-04-06 16:27:15 +02:00
  • 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) Kevin Glynn 2011-04-06 10:56:18 +02:00
  • e0893b1e6f add hashcode to Object Kevin Glynn 2011-04-06 10:54:43 +02:00
  • f6e9216b39 keep a patch to make trial version from master Kevin Glynn 2011-03-27 15:22:47 +02:00
  • 25947236fe Make trial version from master branch Kevin Glynn 2011-03-27 14:44:47 +02:00
  • 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 Kevin Glynn 2011-03-27 09:37:01 +02:00
  • 724119b99b Include local copy of source to antlr3-ant task so that we can modify conversiontimeout parameter Kevin Glynn 2011-03-26 17:29:28 +01:00
  • 299911f77b Make sure we are using internal java templates, must try to keep up to date .... Kevin Glynn 2011-03-25 18:21:51 +01:00
  • 6b3e3f5106 Merge branch 'trialcs2j' Kevin Glynn 2011-03-25 13:36:38 +01:00
  • 8d607c2f47 mkit (and new mkit.bat) now use the ant script to rebuild app Kevin Glynn 2011-03-25 13:33:35 +01:00
  • 464f69e2f7 Remove conversiontimeout attribute, which is ignored by antlr3-ant task Kevin Glynn 2011-03-25 13:32:50 +01:00
  • 0a4758a9dd Update contact address Kevin Glynn 2011-03-25 13:32:07 +01:00
  • 4377e2a9b7 mkit (and mkit.bat) now reuse ant builder Kevin Glynn 2011-03-24 13:57:21 +01:00
  • 2dd72a343c Merge remote-tracking branch 'origin/trialcs2j' into trialcs2j Kevin Glynn 2011-03-24 12:57:23 +01:00
  • 5231bbd4e0 update contact address Kevin Glynn 2011-03-24 12:56:03 +01:00
  • 983f0623b1 Revert "Enable Trial" Kevin Glynn 2011-03-24 12:41:58 +01:00
  • 61127a5291 fix spelling Kevin Glynn 2011-03-23 16:33:09 +01:00
  • a41b6ad0d8 fix spelling trial110323 Kevin Glynn 2011-03-23 16:33:09 +01:00
  • 94f1edde7d add dist target Kevin Glynn 2011-03-23 16:31:34 +01:00
  • 31f037b987 updated user doc Kevin Glynn 2011-03-23 16:25:40 +01:00
  • 42d851a739 more sensible version number Kevin Glynn 2011-03-23 15:53:01 +01:00
  • d270148bba Hmmmm, added \n as newline separator, windows was generating more than 120 lines. probably due to line endings in comments Kevin Glynn 2011-03-23 09:50:48 -05:00
  • ed14c2b1a1 Forgot to populate xml document. while I'm there use same code as signer to get signature Kevin Glynn 2011-03-23 09:18:17 -05:00
  • 7c8f511eff extend timeouts for antlr translation, add signtxfiles, getuserguide, mkcs2jlibprojsrcand mkarchive targets Kevin Glynn 2011-03-23 14:54:47 +01:00
  • ab2daebcbf specify tx files via csdir Kevin Glynn 2011-03-23 14:53:25 +01:00
  • 5d258d38fe add external documentation: README, User Guide Kevin Glynn 2011-03-23 14:52:45 +01:00
  • 46c8366a31 updated sigs Kevin Glynn 2011-03-23 11:37:32 +01:00
  • ed501a2894 fix up 3rd party license info Kevin Glynn 2011-03-23 11:33:50 +01:00
  • a069bb0f79 git doesn't like colons in tag names Kevin Glynn 2011-03-22 17:43:48 +01:00
  • 527fa461c9 support for tagging and pushing to origin trial.release.2011-03-22T17h43m00 Kevin Glynn 2011-03-22 17:34:03 +01:00
  • 83480a5b0e yield was causing an ambiguity. Make translation more solid Kevin Glynn 2011-03-22 16:57:40 +01:00
  • a291721b2d fix broken cs2j transform directory Kevin Glynn 2011-03-22 10:46:12 -05:00
  • 4ad800e2e1 initial build script Kevin Glynn 2011-03-22 16:37:50 +01:00
  • 468f099417 Enable Trial Kevin Glynn 2011-03-22 09:11:39 +01:00
  • df565a1278 update my email address Kevin Glynn 2011-03-22 08:50:05 +01:00
  • 2cf5701edb track if we are in a statement list context. If so, don't generate ugly braces around using and switch translations Kevin Glynn 2011-03-22 08:28:45 +01:00
  • 75dee12b3f Support limiting number of lines output Kevin Glynn 2011-03-21 17:00:24 +01:00
  • 96aedea537 mogrify key a bit Kevin Glynn 2011-03-21 12:12:10 +01:00
  • 257b7fc186 Add code to count unsigned translation files Kevin Glynn 2011-03-21 10:27:35 +01:00
  • b12fce2bff move a copy of output templates into the executable so that we don;t have to distribute them Kevin Glynn 2011-03-18 18:40:24 +01:00
  • 0a42009425 Merge branch 'tmp' into trialcs2j Kevin Glynn 2011-03-18 17:52:01 +01:00
  • 3e2673d7b6 Add signatures to translation files Kevin Glynn 2011-03-18 17:40:02 +01:00