Aparajita Fishman and Klaas Pieter Annema
635a0d965c
If $CAPP_BUILD is not set or entity is not found in it, look in the narwhal cappuccino package.
2011-04-18 10:36:55 +02:00
Aparajita Fishman
52ce4c1ebf
Properly documented the -F option, some formatting tweaks
2011-04-06 05:15:52 -04:00
Aparajita Fishman
a7161e3ca7
Changed comparison in initial check to <=, a cib with an equal mtime could not have been converted from an IB file, it would have a later mtime.
2011-04-06 04:40:05 -04:00
Aparajita Fishman
73746e00b0
Fixes and enhancements...
...
- If an IB file is deleted, the corresponding cib is no longer deleted.
- In watch mode, the first time through no conversion is done if an IB file has a corresponding cib file with a later mtime.
- In watch mode, an add does not convert if there is a corresponding cib file with a later mtime.
- When catching exceptions, deal correctly with both CPException and strings.
2011-04-06 04:34:56 -04:00
Aparajita Fishman
af6d38fd16
Fixes and enhancements
...
- When a xib/nib is deleted, the corresponding cib is deleted.
- Fixed the calculation of the output path when given a relative path.
- Works with .nib files now.
- Works with -R option now. NSCustomResource was assuming an image path would always be relative to cwd().
- The Resources directory is always inferred from the input path, so the -R option is usually unnecessary.
- Added --default-theme option.
- Multiple extra themes can be specified with the --theme option.
- Verbose mode displays the inferred application and resources paths, and the source theme used when doing font substitutions.
- Added a man page.
- Themes are read using StaticResource instead of parsing the file myself.
- Error message tweaks.
2011-04-05 16:57:16 -04:00
Klaas Pieter Annema
40bfb55b64
don't resolve nib2cib output path
2011-04-04 14:23:36 +02:00
Aparajita Fishman
e07ff706ab
Fixed stupid bug in figuring out what directory to watch
2011-03-31 20:10:18 -04:00
Aparajita Fishman
7ec31a7c53
If no directory is passed to --watch, default to Resources
2011-03-31 19:51:22 -04:00
Aparajita Fishman
26fba1fdd9
Remove bogus line, not sure how it got there
2011-03-29 17:44:34 -04:00
Aparajita Fishman
16bacae7e3
More cool stuff...
...
- The holy grail! I took Klaas' great autonib2cib and rolled it into nib2cib.
- Removed check for stream in CPLogColorize, it isn't necessary and reduces its general-purpose usage.
2011-03-29 16:06:19 -04:00
Aparajita Fishman
d00a8b9d18
Use a parser action to show version and quit
2011-03-29 12:54:54 -04:00
Aparajita Fishman
90c19b1856
Added explicit size for completeness of sample, fixed font substitution if theme has no font, used LucidaGrande-Bold 13 to do better code coverage.
2011-03-28 23:55:31 -04:00
Aparajita Fishman
93f36a2326
Added missing license, added a lot more support for radio button attributes, included fix for issue #1190
2011-03-28 22:44:03 -04:00
Aparajita Fishman
79fde3fbeb
Factored out font substitution code, added special case for radio buttons
2011-03-28 22:38:26 -04:00
Aparajita Fishman
2599f820c7
Merge branch 'font-fun' into fonts
...
Conflicts:
Tools/nib2cib/NSButton.j
2011-03-28 18:51:10 -04:00
Aparajita Fishman
8fed2c7a9a
Factored code into functions, fixed input and output path computation
2011-03-28 18:45:03 -04:00
Aparajita Fishman
5133a7dc91
Fix NSButton so it will merge with master
2011-03-28 16:28:28 -04:00
Aparajita Fishman
ac7ff24dd7
These got left out in f1f78d6c6a
2011-03-27 15:22:13 -04:00
Aparajita Fishman
b54ea6e8ac
Ignore Xcode project user data, added fontinfo package
2011-03-25 23:38:49 -04:00
Aparajita Fishman and Randall Luecke
f1f78d6c6a
Fixed the infamous "wandering checkbox" bug
2011-03-24 23:39:25 -04:00
Aparajita Fishman and Randall Luecke
a3e70a56c5
Added support for sendsActionOnEndEditing flag in nibs
2011-03-17 01:16:43 -04:00
Aparajita Fishman
e18b21ec1b
Fixed output path check
2011-03-13 10:15:26 -04:00
Aparajita Fishman
42c71172f2
Better path checking and error messages, fixed issue #1154
2011-03-13 10:08:17 -04:00
Aparajita Fishman
32fd03b4a0
Explicitly test for null cibFont for clarity
2011-03-11 12:15:58 -05:00
Aparajita Fishman
6b72651a05
Error message tweaks
2011-03-11 12:00:58 -05:00
Aparajita Fishman
3a79e82ce8
Removed check for fontinfo, it will be part of the cappuccino package
2011-03-11 09:04:11 -05:00
Aparajita Fishman
522d4dcb2b
Removed layout constants
2011-03-11 08:39:41 -05:00
Aparajita Fishman
11f92353c8
Removed layoutMode references
2011-03-11 08:37:23 -05:00
Randall Luecke
e9dba10903
Move coder unarchiving logic to nib2cib.
2011-03-10 18:37:44 -05:00
Aparajita Fishman
627566465e
Moved legacy font substitution to nib2cib to avoid any side effects, linted NSTableColumn, NSTableColumn now uses cibFontForNibFont, finished test app
2011-03-10 18:13:35 -05:00
Aparajita Fishman
10bfeaf8f7
Added comment for non-obvious code, fixed option name in nib2cib
2011-03-10 12:49:50 -05:00
Aparajita Fishman
120c06fcb2
Further CPFont work, don't print nib2cib version all the time.
2011-03-09 14:33:11 -05:00
Aparajita Fishman
d303e6e96c
Initial commit before testing.
2011-03-08 17:40:41 -05:00
Klaas Pieter Annema
163550c3d5
determine NSControl enabled state from NSCellFlags
2011-03-04 08:56:25 +01:00
cacaodev and Ross Boucher
b715fb6182
Enable representedObject decoding in NSMenuItem.j
2011-03-02 13:32:56 -08:00
Randall Luecke
d000e67fc4
Merge branch 'master' of https://github.com/dbrajkovic/cappuccino into dbrajkovic-master
2011-02-24 01:28:14 -05:00
Randall Luecke
eaa4efc805
Imageview support for tableview nib2cib
2011-02-22 21:08:30 -05:00
Daniel Brajkovic
956b640339
Fixes #1122 . Nib2Cib was checking if NSSplitViewDividerStyle ==2 should be == 3 as NSSplitViewDividerStylePaneSplitter = 3.
...
In CPSplitView.j the divider thicknesses in the themeAttributes were swapped. Also swapped the statements in _setupDOMDivider if(_isPaneSplitter) statement.
2011-02-07 23:59:43 -06:00
Klaas Pieter Annema
5957e71967
enable nib2cib image support for CPMenuItem
2011-01-28 14:50:42 +01:00
Alexander Ljungberg
92cb69b623
Merge branch 'CPArrayControllerFixes' of https://github.com/cacaodev/cappuccino into cacaodev-CPArrayControllerFixes
2011-01-20 22:14:17 -03:00
Francisco Ryan Tolmasky I
d2f27408a5
Additional fix for archived CPPopUpButtons, and backwards compatibility support for old archives/cibs.
...
Reviewed by me.
2011-01-19 19:29:39 -08:00
cacaodev
54c3cc0187
CPArrayController & nib2cib: added _automaticallyRearrangeObjects flag (not used currently).
...
_sortDescriptors initial value is an emty array (like in cocoa), not nil;
Added shared _init with default values, added missing accessors.
2011-01-19 19:26:21 +01:00
Randall Luecke
c73e2e1a91
Fix for nib2cib'd textfields jumping when editing
2011-01-15 21:45:37 -05:00
cacaodev
72b8ed2faf
CPOutlineView: If nil, set outlineTableColumn when the first column is added.
...
nib2cib: handle indentationPerLevel when the key is not in the xib.
CPoutlineViewCibTest
2011-01-15 00:39:38 +01:00
Francisco Ryan Tolmasky I
c1b8ec8da1
Some minor style changes and perf improvements.
...
Reviewed by me.
2010-12-19 12:34:57 -08:00
cncolder
5a6e266c8d
nib2cib binding with buildin transformers support.
2010-12-18 15:02:25 +08:00
cncolder
128a3ac4d9
Commit ab083a3b change CPTabView variable names to underscore style. This patch fix nib2cib NSTabView.
2010-12-16 14:19:46 +08:00
Alexander Ljungberg
63cc9c4b36
Fixed: nib2cib did not properly transfer the 'isEditable' property for object and array controllers.
2010-12-14 20:28:57 +01:00
Alexander Ljungberg
8b60ef1156
Added nib2cib support for several array controller properties.
...
The properties in question are declaredKeys, automaticallyPreparesContent and objectClass, from the base object controller class.
2010-12-14 20:28:40 +01:00
Francisco Ryan Tolmasky I
ced3c2d778
Missing @end in NSMutableDictionary.
...
Reviewed by me.
2010-12-11 21:51:27 -08:00