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

Commit Graph

  • a8627510b4 signing reminder Kevin Glynn 2011-03-18 17:39:28 +01:00
  • 905dde4b39 move resources out of src folder Kevin Glynn 2011-03-18 17:37:59 +01:00
  • 72e5b1b15f Add pub/private keys for signing translation files Kevin Glynn 2011-03-18 17:32:41 +01:00
  • 5c65b350b7 Add a utility to generate a rsa key pair and a utility to use the private key to sign xml files Kevin Glynn 2011-03-18 17:28:55 +01:00
  • af022fcbdb Merge branch 'master' of github.com:twiglet/cs2j Kevin Glynn 2011-03-17 14:11:10 +01:00
  • ef893a12bf Merge branch 'master' into tmp Kevin Glynn 2011-03-17 14:08:29 +01:00
  • f96c756dca Allow method calls on "new [] {...}" expressions Kevin Glynn 2011-03-17 13:57:27 +01:00
  • 69643b72ee whoops, can't count Kevin Glynn 2011-03-17 12:18:44 +01:00
  • 2f08d9c236 Add non-breaking space to Whitespace lexer rules Kevin Glynn 2011-03-17 12:18:32 +01:00
  • 4fdcf95d6a Support interface prefix on indexer declarations (not that we actually support these atm ....) Kevin Glynn 2011-03-17 09:48:56 +01:00
  • d3872ee2b7 pass yield statements through as [unsupported] comments Kevin Glynn 2011-03-16 14:48:56 +01:00
  • 7e74699021 conditional expressions have full expressions (e.g. assignments) as arguments Kevin Glynn 2011-03-16 12:44:52 +01:00
  • 82a57ca0a0 don't crash if enum is empty Kevin Glynn 2011-03-16 12:35:00 +01:00
  • e1359a1c71 conditional expressions have full expressions (e.g. assignments) as arguments Kevin Glynn 2011-03-16 12:35:00 +01:00
  • 893cc08278 Just pick out the rewritten elements from interface_indexer translation Kevin Glynn 2011-03-16 12:33:17 +01:00
  • 58d0405edc strip U characters from integer literal suffixes Kevin Glynn 2011-03-15 10:48:46 +01:00
  • 7ca153b7bc There are no commas between multiple where clauses in a type parameter constraint Kevin Glynn 2011-03-15 10:48:06 +01:00
  • 50bee76c4d Do not transform block if we are in backtracking mode Kevin Glynn 2011-03-14 17:02:42 +01:00
  • 40d260d2a0 Print warning if we have two classes with different numbers of generic arguments (we only spot this if they come from the same file) Kevin Glynn 2011-03-14 17:01:40 +01:00
  • 9c627e98ab Put braces around switch -> if-then-else transformation Kevin Glynn 2011-03-14 17:00:54 +01:00
  • f92d26412d NEW -> NEW, NEW_ARRAY, NEW_DELEGATE, NEW_ANON_OBJECT replace var and dynamic by imaginary nodes TYPE_VAR and TYPE_DYNAMIC Kevin Glynn 2011-03-14 17:00:08 +01:00
  • 2b87e38000 allow type parameters on method declarations in interfaces Kevin Glynn 2011-03-13 15:18:48 +01:00
  • d4e7da95ca fix >>= token Kevin Glynn 2011-03-13 13:46:00 +01:00
  • 85e2e6a663 do not generate dummy enums if the size would be greater than 500 Kevin Glynn 2011-03-13 13:01:57 +01:00
  • 9a1febb5a9 (Closes GH-8): In switch statements the default can appear anywhere (doesn't have to be last, who knew?). This was breaking the conversion to if..then..else. Added code to save away the default section separately. Kevin Glynn 2011-03-13 10:42:34 +01:00
  • 1c7101207d collecting stars was broken Kevin Glynn 2011-03-13 10:40:03 +01:00
  • cd739b9ab7 distinguish new array with a special token. fix broken new object[0].GetEnumerator() type expressions Kevin Glynn 2011-03-11 15:50:32 +01:00
  • 9c6356c773 fixes needed to stop seg faults on monodevelop Kevin Glynn 2011-03-11 11:13:27 +01:00
  • 409084a283 some csharp parser fixes Kevin Glynn 2011-03-11 11:10:11 +01:00
  • 77ea92d5d6 some support for events Kevin Glynn 2011-03-11 11:08:36 +01:00
  • 156c3bd866 (failed) attempt to detect empty file Kevin Glynn 2011-03-11 11:08:08 +01:00
  • 2f3d8fdce9 keys Kevin Glynn 2011-03-11 11:07:41 +01:00
  • 3fe67bac2d update filestream support, unfinished Kevin Glynn 2011-03-11 11:04:08 +01:00
  • 61c7200264 transform events in interface declarations Kevin Glynn 2011-03-09 08:40:30 +01:00
  • 32d01889f2 update translations Kevin Glynn 2011-03-04 18:46:29 +01:00
  • caaf13f4d3 Add Generic classes Kevin Glynn 2011-03-04 18:10:28 +01:00
  • 01a5d58bd1 Fix up InstantiatedTypes during substituion pass, not as side effect of mkTypeMap Kevin Glynn 2011-03-04 18:10:13 +01:00
  • a39ab27081 Don't cache FormattedTypeName. We have at least two representations using this routine. Move to callers if necessary Kevin Glynn 2011-03-04 18:08:30 +01:00
  • d20d2c689e do not freak out if we get an args of null Kevin Glynn 2011-03-04 12:51:39 +01:00
  • 41dc072776 Support for Random class Kevin Glynn 2011-03-04 11:30:16 +01:00
  • 7295a5df93 (Closes GH-5): If we are in the context of a generic type argument then generate Object Type equivalents, instead of primitive types Kevin Glynn 2011-03-04 11:29:53 +01:00
  • f1b125aa6f fix for new layout Syntel-Devel-1 ClientReleases Kevin Glynn 2011-03-03 08:42:27 +01:00
  • 45bf365e9f Add a tranlsation for dictionaries Kevin Glynn 2011-03-02 21:42:53 +01:00
  • a272b8105d Don't return null - return UnknownRepType Kevin Glynn 2011-03-02 21:42:19 +01:00
  • 8faedcd10a comment out broken IsA definition, rely on working version in base. Be explicit that typevars can ac like Object. Kevin Glynn 2011-03-02 19:36:48 +01:00
  • 52e51613cc improved BuildType, should work for generic types now Kevin Glynn 2011-03-02 19:35:29 +01:00
  • df2798a3a1 replace SurroundingTypeName by SurroundingType, so that components have access to all the features of their type, in particular the type parameters. Allows for better mkJava code Kevin Glynn 2011-03-02 19:34:32 +01:00
  • 792836217a for pretty printing we use <> around type arguments, but otherwise we use *[..]* Kevin Glynn 2011-03-02 19:31:41 +01:00
  • e8b59d4fdb simplify SubstituteInType, just try all strings that match [\w|\.]+ Kevin Glynn 2011-03-02 19:29:07 +01:00
  • eb6b494fb8 bug fix: C# already specifies that parameter array arguments are arrays Kevin Glynn 2011-03-02 19:26:50 +01:00
  • 69315e9b54 support for do ..while Kevin Glynn 2011-03-02 19:25:41 +01:00
  • 90a3461a27 add a split option for splitting on an array of strings Kevin Glynn 2011-03-02 19:25:18 +01:00
  • c0187d15da add iterable definitions Kevin Glynn 2011-03-02 19:24:42 +01:00
  • 8e788fbb46 Make Iterable translation work in generic types Kevin Glynn 2011-03-01 11:42:09 +01:00
  • b4f8818196 When looking for properties we need to specify read or write because they may appear in different parent classes Kevin Glynn 2011-03-01 11:00:23 +01:00
  • 895b538ba0 be more careful about collecting the components of a qualified type. Do it via thedottedtext return value instead of relying on passing it via UnknownRepTemplate (that meant we would be looking for qualified type names when we shouldn't be) Kevin Glynn 2011-02-28 20:30:29 +01:00
  • 922f535dcc generate static constructors in the NetMaker phase, mainly to stop a failed resolve error from the introduced exception constructors which are Java Kevin Glynn 2011-02-28 20:29:00 +01:00
  • 52d9b3b5a7 We want to be able to pass ints where long is expected. Adding Int64 to inherits had some unpleasant side effects Kevin Glynn 2011-02-28 20:27:14 +01:00
  • e4600b7885 Support for Generic Types (to be continued ....). Kevin Glynn 2011-02-28 12:34:49 +01:00
  • c0cfaf00c0 Avoid generating some unused dummyCatchVars Kevin Glynn 2011-02-28 11:25:00 +01:00
  • 590efcda26 New option: warning-resolve-failures for when we can't find a translation. Off by default because it can be very noisy Kevin Glynn 2011-02-25 14:07:31 +01:00
  • f1db436236 fix up indentation, its not perfect but its close and consistent Kevin Glynn 2011-02-21 16:40:42 +01:00
  • b6d57d4bd2 identify typevars in findType. TypeVarRepTemplate derives from ClassRepTemplate so that we don't try to initialise variables of type T Kevin Glynn 2011-02-18 17:05:00 +01:00
  • 94fa86d57e Retain complete unknown types in final source Kevin Glynn 2011-02-18 16:25:15 +01:00
  • adb34dffbe Change to create instantiated generic types. For the moment we probably just have arrays working(ish) Kevin Glynn 2011-02-18 15:26:30 +01:00
  • 0b380e063d Add TypeVarRepTemplates, keep track of type var instantiations Kevin Glynn 2011-02-18 15:24:41 +01:00
  • f82c7c8627 fix up key in type environment for types with generic arguments Kevin Glynn 2011-02-18 13:51:52 +01:00
  • 85b5e57e3c move mkGenericTypeAlias and NSPrefix into CommonWalker and start using them consistently Kevin Glynn 2011-02-17 11:15:47 +01:00
  • f87cf09735 fix up templategenerator project after move of TypeHelper Kevin Glynn 2011-02-17 11:08:52 +01:00
  • 041258790f add gitattributes so that we don't export .git files with git archive Kevin Glynn 2011-02-15 17:32:22 +01:00
  • 07cfecff4e error if we can't find class name in the environment Kevin Glynn 2011-02-14 11:49:55 +01:00
  • 19ec2e3478 Move utility class into TemplateGenerator project (only user ....) Kevin Glynn 2011-02-14 11:46:24 +01:00
  • 7c5b7b02bb set output path Kevin Glynn 2011-02-14 09:50:18 +01:00
  • 3196d840a6 do not forget to xbuild Kevin Glynn 2011-02-14 09:49:58 +01:00
  • 91dad6410f monodevelop changes Kevin Glynn 2011-02-14 09:33:05 +01:00
  • 76694386d3 Use 3.5 runtime and remove unused reference Kevin Glynn 2011-02-13 09:54:15 +01:00
  • b0e224d9ec give up, let executable go to Debug\! Kevin Glynn 2011-02-13 09:20:54 +01:00
  • 852de1adae remove app.config Kevin Glynn 2011-02-13 09:20:23 +01:00
  • 87296d6562 Big Code Reorg Kevin Glynn 2011-02-12 19:47:18 +01:00
  • 68132938bc remove ArrayListSupport wrapper, we now use java's ArrayList Kevin Glynn 2011-02-08 17:54:25 +01:00
  • 4a989b6ce3 remove hardcoded logger name Kevin Glynn 2011-02-08 13:10:13 +01:00
  • 19e3dcc413 Use version in CS2JLibrary Kevin Glynn 2011-02-08 13:09:52 +01:00
  • 67ec9338a7 no more subversion Kevin Glynn 2011-02-08 13:09:29 +01:00
  • 9150be454e Add copyright statements Kevin Glynn 2011-02-08 12:27:00 +01:00
  • b25a8137ef update copyright statements Kevin Glynn 2011-02-08 12:10:55 +01:00
  • 31dfe71d06 move RusticiSoftware namespace to CS2JNet Kevin Glynn 2011-02-08 11:55:45 +01:00
  • 4341ea8484 Remove (old) NetTranslations. Move RusticiSoftware namespace to CS2JNet Kevin Glynn 2011-02-08 10:25:05 +01:00
  • 861ffa6398 initialize enum fields with zeroth enum value Kevin Glynn 2011-02-07 19:51:53 +01:00
  • 88dc6aab15 when creating structs call the default constructor Kevin Glynn 2011-02-07 18:06:44 +01:00
  • 4cb4a2bfd5 configurable throws Throwable/Exception Kevin Glynn 2011-02-07 14:49:20 +01:00
  • 0eb19d14a5 don't add sub-types to imports (this is an error if they are private, e.g.) Kevin Glynn 2011-02-04 19:43:05 +01:00
  • 796ba6bbaf Add an AddToImports wrapper in case we need it later Kevin Glynn 2011-02-04 19:03:08 +01:00
  • f7d383eea5 Use support routines for comparing datetimes Kevin Glynn 2011-02-04 18:12:41 +01:00
  • ec87c3e44c translate to java's Cloneable Kevin Glynn 2011-02-04 18:12:03 +01:00
  • 788db4523d translate operators when args are string or datetime Kevin Glynn 2011-02-04 15:37:11 +01:00
  • 753225903e make max translation work for all numbers Kevin Glynn 2011-02-04 12:22:11 +01:00
  • f13ac6a7d5 give a type to real literals Kevin Glynn 2011-02-04 12:21:32 +01:00
  • 62659c1def If a class inherits from System.Attribute then convert to annotation Kevin Glynn 2011-02-04 11:58:50 +01:00
  • 1eefd61854 simplify rules by pushing atts and modifiers down into type descriptions Kevin Glynn 2011-02-04 10:05:07 +01:00
  • c2633e58d5 collect uses later so that we include the type - needed for nested entities Kevin Glynn 2011-02-04 08:51:16 +01:00