Antoine Mercadal
8f4fdeaa8f
Improve CPTextField positioniing in nib2cib
2013-01-24 20:34:06 -08:00
Antoine Mercadal
cc45fb58a8
Compensate box frame in nib2cib
2013-01-24 19:46:08 -08:00
Antoine Mercadal
836d8d030c
Detect multiple actions with same name
2013-01-24 16:15:37 -08:00
Antoine Mercadal
f30b3afabd
XcodeCapp: parser.j is now using Objective-J 2.0
2013-01-24 16:06:54 -08:00
Antoine Mercadal
448d3958a2
Fix bug preventing any failure return.
2013-01-24 13:29:38 -08:00
Aparajita Fishman
93fb849296
Import fixes
2013-01-24 19:18:39 +08:00
Antoine Mercadal
98cfe2922a
Disable artificial inset for labels in nib2cib
2013-01-23 23:39:44 -08:00
Antoine Mercadal
fa708272bc
fix nib2cib to correctly place normal, small and mini labels
2013-01-23 16:38:16 -08:00
Aparajita Fishman
af47857a47
Fixed missing/circular imports in nib2cib
2013-01-23 23:10:10 +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
4f377bcebe
Objj2 compiler fixes
...
Compiled all files individually:
- Added missing imports.
- Added @class/@global declarations to break circular dependencies.
- Misc. code cleanup.
Conflicts:
AppKit/CPWindow/_CPWindow.j
AppKit/Platform/DOM/CPPlatformWindow+DOM.j
2013-01-23 15:48:55 +07:00
Antoine Mercadal
e25cee0855
Add missing @class
2013-01-22 13:10:55 -08:00
Aparajita Fishman
cc0503c8a4
Fixed missing import, deprecated CP functions, misnamed ivar
2013-01-21 12:07:03 +07:00
Alexander Ljungberg
06694061d2
Fix nib2cib error introduced by c3d8f4f.
...
This fixes `- [NSWindowTemplate setFullBridge:] unrecognized selector sent to instance` errors when running nib2cib.
2013-01-20 16:05:06 +00:00
Aparajita Fishman
17f07ee888
capp_lint will not flag CPRectEdge, more linking
2013-01-20 07:24:00 +07:00
Aparajita Fishman
7c831fa19d
capp_lint flags deprecated CPPoint/Rect/Size types/functions
...
- Changed to corresponding CG types/functions in all files
- Fixed some demo app bugs
2013-01-19 16:51:56 +07:00
Alexander Ljungberg
8eae427591
Merge branch 'master' of github.com:cappuccino/cappuccino
2013-01-19 02:27:55 +00:00
Alexander Ljungberg
b4fe13dfb1
Merge branch 'refs/heads/0.9.6'
2013-01-19 02:27:43 +00:00
Alexander Ljungberg
dfad18e047
New website location.
2013-01-19 02:11:37 +00:00
Antoine Mercadal
c3d8f4f80b
Fix bug in NSWindowTemplate.j where using a non existing ivar
2013-01-18 14:46:49 -08:00
Antoine Mercadal
bbb8bdb687
Fix other small bugs
2013-01-18 14:38:37 -08:00
Antoine Mercadal
6b172cd3a6
remove useless usage of self. in NSWindowTemplate.j
2013-01-18 14:34:22 -08:00
Antoine Mercadal
86e0282011
Fix nib2cib warnings
2013-01-18 14:29:25 -08:00
Antoine Mercadal
1006890b6e
Add missing import in nib2cib.
2013-01-16 10:50:33 -08:00
Antoine Mercadal
e5de031423
Merge branch 'objj_compiler2' into objj2integration
...
Conflicts:
AppKit/CPWindow/CPWindow.j
2013-01-14 11:43:24 -08:00
Martin Carlberg
0d6a962344
Merge branch 'master' of https://github.com/cappuccino/cappuccino into objj_compiler2
2013-01-10 11:22:41 +01:00
Antoine Mercadal
53fa384608
make nib2cib work either with Aristo1 or Aristo2 for dynamic widget adjustment
2013-01-09 20:25:32 -08:00
Antoine Mercadal
1cbe1cfaeb
Merge branch 'master' into Aristo2
2013-01-09 11:59:01 -08:00
Antoine Mercadal
295eedc0b9
Add missing import in NSMenuItem.j
2013-01-09 11:58:42 -08:00
Antoine Mercadal
06fae21c76
Merge branch 'master' into Aristo2
2013-01-09 09:55:20 -08:00
Antoine Mercadal
29fe631ce6
small style fix
2013-01-09 09:54:43 -08:00
Andrew Hankinson
40ab25d2a6
Minor formatting changes
2013-01-09 11:30:20 -05:00
Andrew Hankinson
0f9a2dc9d3
Fixed: XCodeCapp reads the user's shell environment
...
Before this fix, XCodeCapp always ran under /bin/bash, causing problems when trying to source the files from other shells, like /bin/zsh
This fix reads the shell information directly from the user's environment and XCC to run using that shell.
2013-01-09 11:27:47 -05:00
Martin Carlberg
7eba982278
Merge branch 'master' of https://github.com/cappuccino/cappuccino into objj_compiler2
2013-01-09 11:11:45 +01:00
Antoine Mercadal
6d43387c55
Remove actually useless chunck of code in NSSearchField.j
2013-01-08 22:23:08 -08:00
Antoine Mercadal
ed4094016b
Update nib2cib NSSearchField.j to use correct field height
2013-01-08 22:21:51 -08:00
Antoine Mercadal
56100f150d
Merge branch 'master' into Aristo2
2013-01-08 18:43:25 -08:00
Antoine Mercadal
6284f29a96
Fix regexp in XcodeCapp parser. Thanks to Andrew Hankinson
2013-01-08 18:43:09 -08:00
Martin Carlberg
1c3411f808
Merge remote-tracking branch 'upstream/master' into objj_compiler2
...
Conflicts:
AppKit/CPWindow/CPWindow.j
2013-01-08 09:25:54 +01:00
Antoine Mercadal
63a3a8a731
Use API to set themable attribute in nib2cib for CPBox
2013-01-04 18:45:53 -08:00
Antoine Mercadal
d87f86b2a4
Adjust CPSegmentedControl height to match new Aristo2 art
2013-01-04 12:20:36 -08:00
Antoine Mercadal
533fd0574a
Merge branch 'master' into Aristo2
2013-01-03 14:25:42 -08:00
Antoine Mercadal
93e931e2b6
Fix Aristo2 Build process
2013-01-03 13:47:50 -08:00
imageoptimiser and Adam Howard
787dd10c69
Optimised images
2012-12-24 12:10:02 +00:00
Martin Carlberg
897adf27f0
Fixed import statements in nib2cib, bug in load system and some more fixes to test cases
2012-12-17 14:57:18 +01:00
Martin Carlberg
c297e926f9
Compiler now works with jake and can compiler the whole Cappuccino framework. A lot of test cases still fail
2012-12-16 17:38:47 +01:00
Martin Carlberg
7dd034e56c
nib2cib will now adjust to the correct themed height for subclasses of CPButton.
...
For examples CPPopUpButton can get another height then CPButton.
2012-11-29 13:25:53 +01:00
Alexander Ljungberg
8819fd5fd7
Improve nib2cib support for NSMatrix based radio groups.
...
Without this fix, a matrix with a target-action pair would crash when the cib was loaded due to the matrix having been replaced with a `CPView` (which cannot take a target-action pair).
Now if the matrix is for radio buttons, the action connection for the matrix is made to the `CPRadioGroup` instead and works as expected when radio selections are made.
2012-10-15 02:55:04 +01:00
Alexander Ljungberg
adb6404a0f
Support Cib/Interface Builder window positioning masks.
...
Without this feature windows could easily end up being placed outside of the screen/browser when loaded in Cappuccino due to e.g. the window position being 100 px from the bottom of a 1418 px tall screen but the browser only being 800 px.
This commit adds support for all "initial position" window masks in Interface Builder except "centre". Position can be specified in current screen space coordinates and then adjusted proportionally to the browser size, or adjusted while preserving a left or right margin and a top or bottom margin.
2012-10-15 00:20:22 +01:00
Aparajita Fishman
c37783c895
Fixed table column header styling
...
- Attributes set in IB are now obeyed.
- Added accessor methods to programmatically style _CPTableColumnHeaderView.
Since we don't have an NSCell and _CPImageAndTextView is supposed to be private, it's better to have the styling methods in _CPTableColumnHeaderView.
2012-10-11 12:34:55 -04:00