Antoine Mercadal
ef4cd6a4a7
[NEW] --theme option for capp tool
...
This patch provides a new option to capp. You can do
```objj
capp gen [-f] [-l] -T CustomTheme1 -T CustomTheme2 MyProject
```
This will copy/symlink custom theme(s) from your CAPP_BUILD into the
current project’s `Resources` folder
2015-02-06 11:31:25 -08:00
Aparajita Fishman
866e1f00f7
Objj2 compiler fixes
...
- Each file compiles individually with no errors or warnings.
- Added missing imports.
- Fixed imports to remove circularity.
- Removed unnecessary imports.
- Added missing headers.
- Added missing action_button.png.
- Replace CPMakeRect with CGRectMake.
2013-01-23 15:48:56 +07:00
Aparajita Fishman
e2ead56256
Collection KVC fixes, nextObject correctness
...
- Moved common CPArray/CPSet collection KVC operators to _CPCollectionKVCOperators.
- Implemented KVC operator dispatch using Objective-J.
- Fixed infinite loop with empty collection in @min, @max and @sum operators.
- Correctly return valueForUndefinedKey when necessary.
- valueForUndefinedKey reason uses raw description for consistency, class' overridden description may not helpful at all.
- Don't create a forwarder for @ operators with property paths.
- Fixed CPSet -valueForKeyPath to correctly deal with nil/undefined/empty values.
- Added tests for collection KVC operators.
- enumerator -nextObject should always compare against nil for clarity, correctness, and consistency.
2012-04-03 22:16:55 -07:00
Aparajita Fishman
b958911c63
Support for postinstall scripts
2011-07-17 09:15:26 +03:00
Aparajita Fishman and Randall Luecke
7b6713aa90
Better error checking, error messages, and help.
2011-03-23 21:47:02 -04:00
Francisco Ryan Tolmasky I
0ab92c77bd
More capp_linting.
...
Reviewed by me.
2010-12-01 22:57:57 -08:00
Paul Baumgart
45ebe2c905
Fix deprecation warnings
2010-10-06 23:04:46 -07:00
Ross Boucher
8175dbca53
Updates to the Jakefile and capp gen.
2010-04-06 12:26:35 -07:00
Tom Robinson
9c3a579ff8
Exit with error from capp gen
2010-03-02 01:40:00 -08:00
Tom Robinson
7938384162
Fix "capp gen -l"
2010-03-01 18:31:00 -08:00
Tom Robinson
3a1ebcaf3f
Allow interleaved arguments in "capp gen" (requires latest Narwhal)
2010-02-23 20:07:17 -08:00
Tom Robinson
9ff73e5e63
Make "capp" print usage if more than one file argument is given
2010-02-23 17:04:56 -08:00
Tom Robinson
338860d05b
Allow additional frameworks to be copied by capp gen. Use args parser.
2010-02-19 18:27:43 -08:00
Derek Hammer and Tom Robinson
579cc98e4f
Adding the --symlink and --build flags. capp gen -l something is now just an alias for capp gen --symlink --build something. This allows for easy copying of built Frameworks for those hacking on Cappuccino
2010-02-08 01:04:22 -08:00
Tom Robinson
ee5817e480
Cleanup objj arguments story. objj-executable and "objj path/to/main.j" are now consistent.
2010-01-27 17:53:05 -08:00
Tom Robinson
b12b1bf662
Incorrect case in require("os")
2009-11-16 14:12:53 -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
13c5736a0f
Fix for capp gen sometimes failing.
...
Reviewed by me.
2009-11-13 10:10:26 -08:00
Tom Robinson
3d42cba823
Fix capp gen -f . putting frameworks in /
2009-11-11 15:25:27 -08:00
Tom Robinson
b6e9625729
Update capp gen to use objj-frameworks data.
2009-11-02 19:38:48 -08:00
Francisco Ryan Tolmasky I
72adaa51ee
Skip all images, not just .gif.
...
Reviewed by me.
2009-11-02 17:36:13 -08:00
Tom Robinson
6b3f05f517
Several fixes in "capp": handle empty config file, skip reading gifs, escape config keys in regex
2009-11-02 17:03:16 -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
Tom Robinson
d7b778e8ac
Improved capp gen frameworks installing
2009-10-27 23:39:41 -07:00
Francisco Ryan Tolmasky I
238da6b80f
Narwhal fixes for capp gen.
...
Reviewed by me.
2009-10-15 13:27:27 -07:00
Francisco Ryan Tolmasky I
99697926d9
Resource fixes, added index.html support.
...
Reviewed by me.
2009-09-29 15:44:46 -07:00
Tom Robinson
c895170597
Fix capp gen -f with no path.
2009-09-05 00:37:52 -07:00
Tom Robinson
3a7dee6cc2
Added template config file to "capp", and ability to specify an absolute path for a template.
2009-09-03 01:11:19 -07:00
Tom Robinson
e5dd36d807
Add --force to capp gen
2009-05-19 05:05:16 -07:00
Francisco Tolmasky
ad03ab01e2
Temporary fix for gif/UTF 8 issue.
...
Reviewed by me.
2009-05-19 04:01:30 -07:00
Francisco Tolmasky
be72a3ff47
Allow fully building capp apps with Rake, and added to template Rakefiles.
...
Reviewed by me.
2009-05-19 03:54:54 -07:00
Francisco Tolmasky
8391f593d9
Various unicode fixes.
...
Reviewed by me.
2009-05-18 21:24:46 -07:00
Francisco Tolmasky
a0cd03caa4
Added config option to capp and default Rakefiles for new projects.
...
Reviewed by me.
2009-05-18 15:57:39 -07:00