Martin Carlberg
bef0ca18c6
New: New option to generate code for the objjc tool
...
A new option flag '-G' can be added to let the compiler generate the code instead of copy and alter it from the source code
2013-03-17 20:45:34 +01:00
Antoine Mercadal
5312524871
Define navigator.userAgent as another ugly Rhino fix
2013-02-28 15:41:14 -08:00
Antoine Mercadal
1080ace4cd
Make the ugly fix for rhino a little bit uglier, but makes build on linux works
2013-01-25 10:11:07 -08:00
Alexander Ljungberg
cc05df412e
Fixed: objjc didn't print some errors.
...
Before this fix, certain errors during compilation such as not being able to load a file, would cause the compilation to fail without stating what went wrong.
This fix prints such errors and avoids crashing later when the result of the compilation is undefined.
2013-01-21 01:08:28 +00:00
Martin Carlberg
f076b05e7e
More information: Shows that the new compiler is used when doing "objjc --help". New output: "Usage (objjc 2.0):…"
2013-01-11 08:06:51 +01:00
Martin Carlberg
c192f3b47b
Fix to make the Cappuccino framework compile with rhino
2013-01-10 11:21:45 +01:00
Martin Carlberg
89da16afec
Fixed objjc to output compiled source not the input source
2013-01-09 14:58:22 +01:00
Martin Carlberg
1dfc77a4ba
Fixed objjc to use new acorn based compiler
2013-01-09 14:12:58 +01:00
Alexander Ljungberg
b032c9e455
Fixed: objcc --includeTypeSignatures typo.
2012-08-21 22:37:08 +01:00
Alexander Ljungberg
c4eaf083b4
Code formatting. Don't shadow compressor function name.
2012-03-13 20:29:38 +00:00
Alexander Ljungberg
df6b592d11
Refs #1474 . Allow -T argument before -- in objjc and document it in help.
...
Seems like all options should be before -- really.
2012-03-13 20:27:20 +00:00
Georges Auberger
70432f0198
Added -T directive to enable ObjectiveJ.Preprocessor.Flags.IncludeTypeSignatures flag on preprocessor
2012-03-07 22:10:16 -08:00
Alexander Ljungberg
7147266ddf
objjc option to compile to plain JavaScript (suitable for linting).
2011-11-10 11:59:26 +00:00
Alexander Ljungberg
ed4fc3b20f
objjc compile to stdout, argument parsing, --help.
2011-11-10 10:37:46 +00:00
Alexander Ljungberg
7e8b71dd52
Semicolons.
2011-11-10 10:36:47 +00:00
Francisco Ryan Tolmasky I
f46bbf83a8
Slight fix for correctness with --include.
...
Reviewed by me.
2010-11-01 11:26:59 -07:00
Francisco Ryan Tolmasky I
52f7844aee
Made it so .h files are automatically included in AppKit (avoiding needing to manually include Platform.h, etc.).
...
Also changed a bunch of <AppKit/*> imports to "*" imports.
Reviewed by me.
2010-11-01 11:10:01 -07:00
Francisco Ryan Tolmasky I
06bb1a96f3
Fix for objjc not compiling.
...
Reviewed by me.
2010-09-19 15:21:01 -07:00
Francisco Ryan Tolmasky I
841ed9ea89
Major cleanup of globals and exports. Removed many accidental globals and no more need for eval in the initialization process. Also fixes Theme Showcase.
...
Reviewed by me.
2010-02-20 01:04:17 -08:00
Tom Robinson
c201990cb0
Switch compressor to use CommonJS packages for ShrinkSafe, etc.
2010-02-15 21:26:02 -08:00
Tom Robinson
04529897dc
Add setCode to Executable; use toMarkedString() in compiler; more robust function wrapper stripping in compressor
2010-02-09 14:55:50 -08:00
Francisco Ryan Tolmasky I
79cd8603a2
Removed now unecessary CommonJS files.
...
Reviewed by me.
2010-01-29 16:37:53 -08:00
Francisco Ryan Tolmasky I
ec210c49c5
Beginnings of new loader.
...
Reviewed by me.
2010-01-27 00:43:54 -08:00
Francisco Ryan Tolmasky I
403fcd8fff
Preparing for options fix in Narhwal.
...
Reviewed by me.
2009-12-30 23:52:55 -08:00
Tom Robinson
4581fe4f22
Cleanup command line tool args (change objj to include command at args[0])
2009-11-30 21:45:01 -08:00
Ross Boucher
b9664681a3
Better error reporting for narwhal-jsc
2009-11-19 15:29:20 -08:00
Ross Boucher
0639f4b00f
Exit from subjake if the subjake returns non zero status code. Don't exit in the compiler (required for building in Atlas to not kill the process)
2009-11-19 14:48:18 -08:00
Tom Robinson
31feec0465
Flush stdin after writing file to ShrinkSafe process (fixes building in Rhino)
2009-11-17 17:02:07 -08:00
Francisco Ryan Tolmasky I
aa8689a4f0
Fix for compiling with spaces in path name and misidentifying IE.
...
Reviewed by me.
2009-11-15 19:13:13 -08:00
Francisco Ryan Tolmasky I
44cbcc60fa
Check for gcc.
...
Reviewed by me.
2009-11-15 15:07:58 -08:00
Francisco Ryan Tolmasky I
8f9d83495c
Use interactive shrinksafe to improve buildtimes.
...
Reviewed by me.
2009-11-05 00:04:37 -08:00
Francisco Ryan Tolmasky I
0c13138a20
Split up objective-j and cappuccino CommonJS packages, and added ability to include Objective-J frameworks in CommonJS packages.
...
Reviewed by me.
2009-11-02 14:49:58 -08:00