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

539 Commits

Author SHA1 Message Date
Kevin Glynn
542817993a cosmetic 2010-07-15 14:18:50 -05:00
Kevin Glynn
3eea1c7aaf simplify #define processing 2010-07-15 14:18:17 -05:00
Kevin Glynn
da70cd4b9a move templates into CLR directory (not C# specific) 2010-07-15 14:17:20 -05:00
Kevin Glynn
ae4f47d268 change namespace, don't take #define's directly from comandline 2010-07-15 14:16:34 -05:00
Kevin Glynn
f718a71970 support for new String('x',5) === "xxxxx" 2010-07-14 15:51:49 -05:00
Kevin Glynn
749a91af39 ugly hack to stop translation segfaulting on New<byte>() code 2010-07-14 15:16:15 -05:00
Kevin Glynn
eea4e54a17 add type arguments to quiten java compiler 2010-07-14 15:14:57 -05:00
Kevin Glynn
1f2a9adba8 Support for StingBuilder.ensurecapacity and corrected translation for setlength 2010-07-14 15:13:57 -05:00
Kevin Glynn
aa8dd21ace support for ToString(X2) and number.round(places) 2010-07-14 15:13:05 -05:00
Kevin Glynn
2d332eb986 add IsLetterOrDigit 2010-07-14 15:10:50 -05:00
Kevin Glynn
a20120407f Add small support for new C# feature optional values 2010-07-14 15:10:27 -05:00
Kevin Glynn
a097df8a0e support for goto and labelled statements
goto is converted (wrongly in general) to a continue statement
2010-07-14 13:18:46 -05:00
Kevin Glynn
577c5b21c3 hack: Ignore duplicate fields
(probably due to insufficient #iffery treatment we are processing extra lines that we shouldn't)
2010-07-14 13:16:15 -05:00
Kevin Glynn
d07f3a97de Add descriptions, let dumpProperties run init to read in properties from files 2010-07-12 20:21:27 -05:00
Kevin Glynn
7069b42023 Turn C# destructors into finalize() methods.
TODO: probably should call super.finalize()
2010-07-12 20:11:50 -05:00
Kevin Glynn
4c9ef39275 Refresh cs2j parser from AntlrCSharp repository 2010-06-27 17:19:15 -05:00
Kevin Glynn
11663b51fd Add antlr-3.3 jar and CSharp 3.2 runtime source
The Antlr.Runtime source is taken from the AntlrCSharp source repository.
A readme.txt there says:

*** WARNING ***
This project uses Tree Pattern Matching, which was added to ANTLR 3.2.  The CSharp 3.1 runtime has no support for
Tree Pattern Matching.  There is no CSharp 3.2 Runtime :)  There will not be a CSharp 3.2 Runtime.

Build Instructions:
- To build this project from the .g grammar files you must use the included antlr-3.3.jar.  The antlr-3.2.jar does
not have string templates (used to generate the parser/lexer) that work with the updated runtime.  Your
parser/lexer will not compile if you do not use the included antlr3.3.jar.
- You must use this solution's custom Antlr3.Runtime (already done for you).  This is a snapshot of the source, with
bug fixes I have made.  The runtime pieces I use seem to work just fine.  YMMV if you use others.  Good luck with that :)
2010-06-27 16:47:02 -05:00
Kevin Glynn
0b73f7ddcd Include version number in src zip
- We use git describe to generate a build number from most recent tag
2010-06-21 18:47:25 -05:00
Kevin Glynn
6262fde7e2 Sync from svn trunk v2010.1.0 2010-06-21 16:31:42 -05:00
Kevin Glynn
4e9eef902d Ignore .bak files (from winMerge) 2010-06-21 16:25:17 -05:00
Kevin Glynn
de2680aebd Add Type arguments to squelch some warnings 2010-06-07 12:32:32 -05:00
Kevin Glynn
d9d7530103 (broken) support for X509Certificates
- Add placeholder
2010-06-07 12:07:59 -05:00
Kevin Glynn
0532c9dc6f Support Convert base64
- Use commons-codec for base64 encoding support
- Add 3rd party reame for licenses
- add apache commons-codec.jar
2010-06-07 12:06:55 -05:00
Kevin Glynn
0a5d22e8dd Adapt translations to new EncodingSupport wrapper class
- Encoding is now a wrapper class, not translated directly to coding string
2010-06-07 12:04:23 -05:00
Kevin Glynn
e1729486cc Simplify build.xml
- remove antcalls because I thought they were breaking cancel behaviour
- fix cancel (ugly, looks like depends are run before unless= is checked, so add unless=is.run.cancelled to all tagets that do work)
- remove echoTranslateCS2J, better to use -v option to cs2j
2010-06-06 20:44:45 -05:00
Kevin Glynn
befc9e5ddc Add build files into solution 2010-06-04 08:29:23 -05:00
Kevin Glynn
81fe4a6e4a Fix encoding for utf-8 2010-06-04 08:27:49 -05:00
Kevin Glynn
b30ae76c17 Add simple launch option
- add simple launch option that just asks for source and target
- simplify properties,  death to ScormEngine baggage
2010-06-03 07:51:24 -05:00
Kevin Glynn
b9664f1484 Add excluded files 2010-06-03 07:48:04 -05:00
Kevin Glynn
7e9f4187d5 Add gitignore file for antlr2 cs2j 2010-06-01 13:22:23 -05:00
Kevin Glynn
d4e1d843ed Add gitignore files 2010-05-31 08:24:37 -05:00
Kevin Glynn
7a90354938 Add build instructions 2010-05-31 08:23:55 -05:00
Kevin Glynn
b1f489d7dc Convert to VS2010 2010-05-31 08:22:58 -05:00
Kevin Glynn
4badcad961 Ignore boring files 2010-05-30 23:40:51 -05:00
Kevin Glynn
de6c0fcada Add Antlr3 rewrite from Rustici Subversion 2010-05-29 10:08:47 -05:00
Kevin Glynn
1442852119 Merge updates from productized branch
- Accept (and discard) generic types in the parser
- Add README.txt
- Don't add static modifier to class
- Add antform launcher to build.xml
2010-05-29 09:52:33 -05:00
Kevin Glynn
416040160e Import CSharpTranslator from Rustici Software subversion repository. This is the trunk branch. 2010-05-29 09:34:44 -05:00
Kevin Glynn
3bc9847b15 Import CS2JLibrary from Rustici Software subversion repository. This is the trunk branch. 2010-05-29 09:20:16 -05:00
Kevin Glynn
eab7b15d2f first commit 2010-05-29 08:57:35 -05:00