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
80c8fd9794
Fix bundletask to include .js files.
...
Reviewed by @tolmasky.
2011-07-02 08:38:10 -07:00
Antoine Mercadal
3012cc7c92
add setPreventsNib2Cib to bundletask.js
...
This allows to be able to have the XIB/NIB and CIB version in the resource
directory and to prevent to run nib2cib by just copying the CIB version.
This is very usefull in the caseof using a Linux build machine for your application
2011-04-30 11:40:47 +02: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
Paul Baumgart
45ebe2c905
Fix deprecation warnings
2010-10-06 23:04:46 -07:00
Francisco Ryan Tolmasky I
06bb1a96f3
Fix for objjc not compiling.
...
Reviewed by me.
2010-09-19 15:21:01 -07:00
Ross Boucher
80b70ec6b9
Can't sprited resources whos resulting dataURL is larger than 32k, not resources which themselves are over 32k.
2010-05-12 19:08:30 -07:00
Francisco Ryan Tolmasky I
72a3888062
Add ObjectiveJ global to CommonJS so that references to it aren't broken in Cappuccino.
...
Reviewed by me.
2010-04-21 22:55:46 -07:00
Tom Robinson
a18fb1b686
Add manifest generation options to press and flatten, since manifests need to be updated after each is run.
2010-04-12 13:47:38 -07:00
Tom Robinson
9f50f08065
Add automated HTML5 cache manifest generation. Disabled by default.
2010-04-07 22:46:23 -07:00
Francisco Ryan Tolmasky I
99282026fa
One more fix for image spriting.
...
Reviewed by me.
2010-03-30 00:45:11 -07:00
Francisco Ryan Tolmasky I
fe0818c612
Don't generate image files if there aren't any.
...
Reviewed by me.
2010-03-27 13:54:07 -07:00
Francisco Ryan Tolmasky I
6843df410a
Fix for empty data URLs, MHTML, etc. files being created when no image resources exist, causing a useless xhr.
...
Reviewed by me.
2010-03-21 14:30:31 -07:00
Tom Robinson
d8fb849691
Refactor objj_eval to work in the browser. Move from CommonJS-specific code to Objective-J proper.
2010-03-16 23:57:37 -07:00
Tom Robinson
c53bff288a
Add a central version.json file. Change package building to insert version, revision, and timestamp. Auto-push tags.
2010-03-08 15:10:08 -08:00
Ross Boucher
e3dc9fd96b
Make sprintf no longer global, instead ObjectiveJ.sprintf.
2010-03-07 17:41:33 -08:00
Francisco Ryan Tolmasky I
2edcfbda35
Updated version strings in preparation for 0.8.0 Release Candidate.
...
Reviewed by me.
2010-03-06 22:30:51 -08:00
Ross Boucher
994383f73a
Remove print statement.
2010-03-06 15:32:07 -08:00
Francisco Ryan Tolmasky I
510eaabcfb
Fix some MHTML generation stuff.
...
Reviewed by me.
2010-03-06 01:57:10 -08:00
Francisco Ryan Tolmasky I
eb57d14673
Further migration from file paths to CFURLs.
...
Reviewed by me.
2010-03-03 01:04:25 -08:00
Tom Robinson
621e79fe33
Fixes press, objj-analysis-tools, etc broken due to changes to loader
2010-02-22 12:54:17 -08:00
Francisco Ryan Tolmasky I
272f938f2e
Fix for CPData naming issues, added test cases, and fixed isEqual: for CPDictionary.
...
Reviewed by me.
2010-02-21 23:29:41 -08:00
Francisco Ryan Tolmasky I
3968d35cac
Once again fix for Fix for accounting for non-Cappuccino libraries placing things on
...
Object.prototype and Don't recreate sprited resources every time, and fix a bug where two
bundle tasks in the same jakefile would conflict when creating sprited
resources.
Reviewed by me.
2010-02-20 02:24:54 -08: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
Ross Boucher
b7df6c1480
Fix support for MHTML. This uses feature detection to determine if DataURLs, and then if MHTML is supported, and falls back on the original unsprited images.
...
Closes #376 .
2010-02-19 16:48:57 -08:00
Paul Baumgart and Ross Boucher
25dfcd38a7
Fix case on require() parameter ("OS" -> "os")
2010-02-19 13:00:31 -08:00
Francisco Ryan Tolmasky I
3a9845f784
Don't recreate sprited resources every time, and fix a bug where two bundle tasks in the same jakefile would conflict when creating sprited resources.
...
Reviewed by me.
2010-02-18 23:32:11 -08:00
Tom Robinson
8f519caa77
Remove old shrinksafe jars
2010-02-17 18:02:32 -08:00
Tom Robinson
a26750d4f4
Fixed objj arguments parsing
2010-02-16 00:57:50 -08:00
Tom Robinson
c201990cb0
Switch compressor to use CommonJS packages for ShrinkSafe, etc.
2010-02-15 21:26:02 -08:00
Tom Robinson
94ca0ed71b
Read as binary then decode to string to workaround narwhal-rhino bug of adding newlines on read()
2010-02-13 13:54:38 -08:00
Tom Robinson
487412fa22
objj repl respects -I args. Closes gh-235
2010-02-10 18:17:41 -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
Ross Boucher
e6a0caa164
cplutil wasn't converting.
...
CFPropertyList couldn't output XML correctly.
2010-02-06 17:46:32 -08:00
Francisco Ryan Tolmasky I
cd3e2fbbb8
Fix for cplutil.
...
Reviewed by me.
2010-02-06 17:14:37 -08:00
Tom Robinson
8bc1c7445d
export fileExecuterForPath (and use exports.fileExecuterForPath internally so it can be overridden for press, etc)
2010-02-03 23:50:16 -08:00
Nicholas Small
972909902e
Added ApplicationTask#setFrameworks path. The default is local frameworks, you could also use ENV.CAPP_BUILD or pass capp to use the installed frameworks.
2010-02-03 11:43:48 -05:00
Francisco Ryan Tolmasky I
21ef259e1f
Fix for being too strict when accepting PLISTs and also fixes a regression with erroring when parsing code with shebangs(!).
...
Closes #69 .
Reviewed by me.
2010-02-03 00:31:37 -08:00
Tom Robinson
97ef1d1781
Added persistent history to objj repl.
2010-01-31 19:41:58 -08:00
Francisco Ryan Tolmasky I
e64a9a7ab9
Fix for objj command line tool not working.
...
Reviewed by me.
2010-01-31 18:36:36 -08:00
Ross Boucher
605e905f3e
Missing a local assignment of the task variable in one of our jake additions. Causes failures on non cappuccino builds.
2010-01-31 14:00:12 -08:00
Francisco Ryan Tolmasky I
a4d73330cc
Data URLs.
...
Reviewed by me.
2010-01-29 21:43:23 -08:00
Francisco Ryan Tolmasky I
ea6a983e9b
Merge branch 'jake' of git@github.com:280north/cappuccino into loader
2010-01-29 17:53:36 -08:00
Francisco Ryan Tolmasky I
79cd8603a2
Removed now unecessary CommonJS files.
...
Reviewed by me.
2010-01-29 16:37:53 -08:00