Alexander Ljungberg
4316192b8d
Support NSButtonCell (e.g. checkboxes) in table columns through nib2cib.
2011-05-29 21:24:41 -04:00
Alexander Ljungberg
b2e13919e0
Support for editing level indicators.
2011-05-29 15:41:53 -04:00
Alexander Ljungberg
3f2607c2d0
CPLevelIndicator nib2cib support.
2011-05-28 18:44:32 -04:00
Alexander Ljungberg
5419272e48
Fixed: don't import NSSlider.j in NSSlider.j.
2011-05-28 18:08:17 -04:00
cacaodev
ca1a1b43f1
CPRuleEditor & CPPredicateEditor & CPPredicateEditorRowtemplate implementations with theming, nib2cib support.
...
Tests: CPRuleEditorCibTest, CPPredicateEditorCibTest, SmartFoldersDemo: a real world usage of CPPredicateEditor.
Documentation for these 3 new classes.
2011-05-23 10:59:43 +02:00
Alexander Ljungberg
64f9309994
Merge pull request #1268 from primalmotion/cappuccino
...
---
This patch makes nib2cib dealing with NSButtons much more better by setting particular offsets
according to the the kind of button.
Here is a screenshot of what I have done in IB :
<http://img839.imageshack.us/img839/4379/19894787.png >
This is the rendering of nib2cib without this patch:
<http://img263.imageshack.us/img263/1708/without.png >
This is the rendering of nib2cib with this patch:
<http://img263.imageshack.us/img263/1097/with.png >
2011-05-19 21:54:12 -04:00
Antoine Mercadal
4acb757aec
adjust CPTextField positioning. Offsets changed since the usage of the new Aristo Art
2011-05-17 23:02:25 +02:00
Antoine Mercadal
9708985901
Make CPPopUpButton positionning pixel perfect
2011-05-17 22:16:26 +02:00
Antoine Mercadal
fde18bba2e
Correct button positionning.
...
This patch makes nib2cib dealing with NSButtons much more better by setting particular offsets
according the the kind of button.
2011-05-17 19:30:42 +02:00
Alexander Ljungberg
f7a2a2e6fd
Merge branch '0.9.1'
...
Conflicts:
Tools/nib2cib/NSFont.j
2011-05-17 01:18:56 -04:00
Alexander Ljungberg
f414ed2e8d
Refs #1266 . Still convert default font size in nib2cib even if the default font is bold.
...
(E.g. Lucida Grande 13 Bold should become Arial 12 Bold, not Arial 13 Bold.)
2011-05-17 01:16:03 -04:00
Alexander Ljungberg
86f3cc1831
Refs #1266 . Minor optimisation.
2011-05-17 00:45:36 -04:00
Antoine Mercadal
e77c706c38
nib2cib now takes care of bold and italic
...
This allows to set bold and italic in IB even if the size of the font is the default one
2011-05-17 00:45:28 -04:00
Alexander Ljungberg
ec5c0e361d
Refs #1266 . Minor optimisation.
2011-05-17 00:38:39 -04:00
Alexander Ljungberg
533dbbfc69
Merge branch 'master' of github.com:280north/cappuccino
2011-05-17 00:12:08 -04:00
Antoine Mercadal
e4c708efde
nib2cib now takes care of bold and italic
...
This allows to set bold and italic in IB even if the size of the font is the default one
2011-05-17 00:28:33 +02:00
Aparajita Fishman
c9faea8753
NSColorWell was not setting its enabled state
2011-05-16 11:16:22 -07:00
Aparajita Fishman
025e761929
If $CAPP_BUILD is not set or entity is not found in it, look in the narwhal cappuccino package.
2011-04-13 18:02:08 -04: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
f1f78d6c6a
Fixed the infamous "wandering checkbox" bug
2011-03-24 23:39:25 -04:00
Aparajita Fishman
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