daboe01
5c1cdea3c6
Removed: Obsoleted Nativehost stuff
2016-07-08 21:34:14 +02:00
Antoine Mercadal
c603326e58
Use try/finally to ensure popen streams are always closed
2015-05-09 10:22:13 -07:00
Antoine Mercadal
bcb1630f20
FIXED: Closes all streams after a OS.popen()
...
Previously, when popen was called, the 3 streams (stdin, stderr and stdourt) where never closed. This was the reason of the having an impossible number of open files.
This patch ensure all streams are closed after using them. This means that the ulimit trick is no more necessary
2015-04-23 16:46:01 -07:00
Antoine Mercadal
cdaed50939
Readd Aristo1 build process
...
Cappuccino will now continue to support Aristo1
By default Aristo2 will be used, unless you add in your Info.plist
<key>CPDefaultTheme</key>
<string>Aristo</string>
In that case Aristo2 will be use.
If you put
<key>CPDefaultTheme</key>
<string>MyCustomTheme</string>
It will use your custom theme as usual from your app's Resource folder
2013-01-08 15:03:14 -08:00
Antoine Mercadal
93e931e2b6
Fix Aristo2 Build process
2013-01-03 13:47:50 -08:00
Aparajita Fishman
606f3dfe6b
Replaced Java-based image utility with Cocoa command line app, cleaned up some fontinfo stuff
2012-06-29 11:29:46 -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
Andrea D'Amore
c1be09c692
press: fixing basedir being added twice to png destination path
2012-01-06 15:25:54 +01:00
Aparajita Fishman
1c2a304ee5
Assignment of function is a statement and should be semicolon terminated. Some miscellaneous linting as well.
2012-01-05 17:51:37 -10:00
Aparajita Fishman
b54ea6e8ac
Ignore Xcode project user data, added fontinfo package
2011-03-25 23:38:49 -04:00
Francisco Ryan Tolmasky I
62c00bb7f5
Fix for press removing all files.
...
Reviewed by me.
2011-01-10 00:19:34 -08:00
Paul Baumgart
45ebe2c905
Fix deprecation warnings
2010-10-06 23:04:46 -07:00
Klaas Pieter Annema
e2741ba604
made press work with custom themes
2010-09-08 16:13:45 +02:00
Koen Bok and Klaas Pieter Annema
5b7497093c
Made flatten work with custom themes.
2010-09-08 16:12:22 +02:00
Scott Kyle and Randall Luecke
1899250a53
Semicolons are nice...
2010-06-10 16:42:28 -05:00
Tom Robinson
e97af776a0
Fix press/flatten due to changes to CFHTTPRequest.
2010-05-04 15:40:35 -07:00
Tom Robinson
62e520a6a5
Some more NativeHost building enhancements.
2010-04-28 01:45:04 -07:00
Tom Robinson
5ff798306f
Copy CFBundleIconFile in NativeHost building.
2010-04-26 23:19:05 -07:00
Tom Robinson
dae1e44a8f
Merge Cappuccino Info.plist into NativeHost's Info.plist.
2010-04-25 23:22:16 -07:00
Tom Robinson
67bcc29baf
NativeHost.
2010-04-25 22:33:31 -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
eb24ba9835
Re-enable flatten compression by default.
2010-04-01 23:48:48 -07:00
Tom Robinson
468869821f
Add charset attributes to all external script tags, including flatten. Fixes unicode bugs in flatten.
2010-04-01 23:41:08 -07:00
Tom Robinson
0c85dbf9b0
Add some charset options, and disable compressor by default.
2010-04-01 23:15:47 -07:00
Tom Robinson
2db47e413e
Add comrpessor support to flatten.
2010-04-01 12:01:16 -07:00
Tom Robinson
b8fddc98bf
Fixes flatten, splitting mode. Also escape dollar signs before replacing.
2010-04-01 11:12:08 -07:00
Tom Robinson
467f798147
Fixes flatten, non-splitting mode.
2010-04-01 11:11:58 -07:00
Francisco Ryan Tolmasky I
8d1f787179
Fix for a few minor regressions:
...
1. Split out flatten specific code to get file size back down.
2. Fix for non-native string URL not working with the URLCache (typeof x !=== "string")
3. Fix for slight IE performance regression.
Reviewed by me.
2010-03-28 11:39:36 -07:00
Tom Robinson
df8357e1fc
Add --split option to flatten. Asynchronously load multiple flattened files.
2010-03-20 23:38:40 -07:00
Tom Robinson
5f4281b851
Add default theme to flattened app, "-P" option for specifying other inlined files.
2010-03-16 22:38:30 -07:00
Tom Robinson
ac69879fba
Update flatten to use new file/function caching system.
2010-03-13 21:42:51 -08:00
Tom Robinson
ece7996895
Cleanup flatten, use resourceAtURL instead of manually walking path.
2010-03-13 01:17:47 -08:00
Tom Robinson
94bf2a36cf
Updated flatten to work with new loader changes.
2010-03-11 15:56:58 -08:00
Tom Robinson
63127bf9c3
Fix CFBundle path deprecation warning and absoluteString not found.
2010-03-11 14:35:06 -08: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
Tom Robinson
91dda1f759
Remove warning from press.
2010-03-07 18:24:45 -08:00
Tom Robinson
65e12269d1
Fix flatten
2010-03-07 18:24:45 -08:00
Ross Boucher
e804d44934
Slight error in my sprintf change. Fixed here.
2010-03-07 17:54:57 -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
f02286e3f5
Update press to support new fileExecutableSearcher style.
...
Reviewed by me.
2010-03-07 14:33:39 -08:00
Tom Robinson
aff4883222
Initial fixes for "flatten". Loads everything correct but AppKit does not start completely.
2010-03-07 02:16:01 -08:00
Tom Robinson
fbed77fc64
Fix press yet again.
2010-03-07 00:53:08 -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
64eb440ea3
nib2cib will now launch a rhino process in order to get the size of images.
2010-03-06 15:39:46 -08:00
Tom Robinson
92b5b34d17
Add --index option to flatten to specify an alternate index.html file.
2010-03-02 00:52:19 -08:00
Tom Robinson
f5edf2a4c2
Cleanup press and flatten arguments.
2010-02-25 19:50:06 -08:00
Tom Robinson
ad99dca6ac
Move tools to cappuccino package's "bin" directory
2010-02-25 15:32:24 -08:00
Tom Robinson
b2179f14ab
Cleanup Jakefiles:
...
* require common.jake first
* require Objective-J/Cappuccino stuff only when needed (automatically requiring these caused too many problems)
* remove useless shebangs, cleanup whitespace
2010-02-19 16:09:39 -08:00
Francisco Ryan Tolmasky I
848828222b
Updated cappuccino dependency on objective-j. Also removed old install-tools script to remove confusion.
...
Reviewed by me.
2009-11-03 01:54:53 -08:00
Francisco Ryan Tolmasky I
7ae0f1fec9
Updated Application and ThemeDescriptor templates to use jake instead of rake. Also made all objective-j jake definitions accessible through cappuccino/jake as well.
...
Reviewed by me.
2009-11-02 17:23:50 -08:00