cncolder
5a6e266c8d
nib2cib binding with buildin transformers support.
2010-12-18 15:02:25 +08:00
Brian Donovan
6f724e34f5
Fix apostrophe typo.
2010-12-17 17:14:58 -08:00
Antoine Mercadal
7cec421419
revert test
2010-12-17 12:55:49 +01:00
Antoine Mercadal
967f541659
change inset for CPTokenField
2010-12-17 12:52:23 +01:00
Antoine Mercadal
6e78d903e0
make only border translucent in disabled state
2010-12-17 12:52:22 +01:00
Antoine Mercadal
03a243fd20
Make CPPopUpButton art pixel perfect
2010-12-17 12:52:22 +01:00
Antoine Mercadal
0b8d3744bb
update MainMenu bar art
2010-12-17 12:52:22 +01:00
Antoine Mercadal
a0bb3b31a3
adding the art for disabled CPTextField
2010-12-17 12:52:22 +01:00
Antoine Mercadal
1f79402a0a
use alpha-ized art..
2010-12-17 12:52:22 +01:00
Antoine Mercadal
f7db4058a8
fix another inset issue
2010-12-17 12:52:22 +01:00
Antoine Mercadal
4d9854695a
fix a offset in inset
2010-12-17 12:52:22 +01:00
Antoine Mercadal
e90133ebd0
uses the new CPPPopUpButton Aristo art
2010-12-17 12:52:22 +01:00
Antoine Mercadal
d4818b5a71
uses the new CPTextField Aristo art
2010-12-17 12:52:21 +01:00
Ross Boucher
68a15c5c7c
Be more lenient in documents about strings versus URLs.
...
Fix a typo in CPTextField.
2010-12-16 17:22:32 -08:00
Francisco Ryan Tolmasky I
42db55fabd
Apply Chrome Frame fix across the board.
...
Reviewed by me.
2010-12-16 14:49:15 -08:00
Francisco Ryan Tolmasky I
e6c1dfc51e
Merge branch 'google-chrome-frame-support' of https://github.com/eventualbuddha/cappuccino into eventualbuddha-google-chrome-frame-support
2010-12-16 14:24:26 -08:00
Stephen Ierodiaconou
4f3146dc7b
Remove unnecessary defines of MIN/MAX/ABS
2010-12-16 20:20:58 +02:00
Francisco Ryan Tolmasky I
4372edb7c4
Fix for remaining reference to objj_standardize_path.
...
Closes #1040 .
Reviewed by me.
2010-12-16 09:51:44 -08:00
Stephen Ierodiaconou
d105388d82
Move CPOrderedX to CPObjRuntime only instead of duplicated in CPSortDescriptor
2010-12-16 19:16:38 +02:00
Stephen Ierodiaconou
fd812f25a5
Imports additions
...
Import fixes and clean up
Missing import
Missing imports
Missing import
Remove uncessary comments
2010-12-16 19:16:33 +02:00
Stephen Ierodiaconou
9f5904eaf2
Alphabetical order
2010-12-16 17:34:02 +02:00
Stephen Ierodiaconou
d246b19750
Some linting and deprecation error and ivar '_' addition
2010-12-16 17:18:11 +02: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
Ross Boucher
abd908949a
Merge branch 'master' of github.com:280north/cappuccino
2010-12-15 15:53:23 -08:00
Ross Boucher
ab083a3baf
Clean up several flaws in CPTabView:
...
- should not force empty space above and below, but only where the tabs are
- box should fill frame when no tabs are present
- ivars should be prefixed with underscore
- not sure about the current background color code, may revisit
2010-12-15 15:48:42 -08:00
Alexander Ljungberg
45ee3aa0a3
Merge branch 'master' of github.com:280north/cappuccino
2010-12-15 23:32:16 +01:00
Alexander Ljungberg
d587016cc3
Fixed: CPSegmentedControl did not take divider width into account when auto sizing. This resolves the incorrect tab sizes in CPTabView.
...
If a segmented control was initialised with a zero width and then expanded with setSegmentCount, it would not allocate space for any needed dividers. The more tabs were added the more the segmented control would be undersized. The fix is to automatically adjust the width when dividers are added or removed.
2010-12-15 23:26:31 +01:00
Alexander Ljungberg
8edee4e755
Fix accidental globals, cleanup.
2010-12-15 16:02:50 +01:00
Klaas Pieter Annema
8aeaa6681a
implement menuForEvent in CPTableView
2010-12-15 15:30:10 +01:00
Klaas Pieter Annema
8a0a68248c
don't check valid row range in dragging code
2010-12-15 15:30:10 +01:00
Alexander Ljungberg
251ba407be
Implement CPURL isEqualToURL:.
2010-12-15 11:08:28 +01:00
Jeremy Lujan
41d757e0c4
*Fix issue in setParameters due to expression in while condition in CPFlashView
...
*Protect against overwriting flashvars in _params when setParams is called after setFlashVars in CPFlashView
2010-12-14 21:38:52 -06:00
Alexander Ljungberg
bd28d688aa
Merge branch 'CPScrollView-home-end-fix' of https://github.com/eventualbuddha/cappuccino into eventualbuddha-CPScrollView-home-end-fix
2010-12-15 01:06:32 +01:00
Alexander Ljungberg
6ab679a725
Optimise _processKeyboardUIKey by only declaring the keys of interest once.
2010-12-15 01:06:02 +01:00
Brian Donovan
6b7d636b0d
Follow tolmasky's suggestions.
...
- Fixes a bug in moveByOffset where we called CGPointMake with a CGPoint.
- Remove _moveToPoint: and just inline it where it was used.
2010-12-14 16:00:20 -08:00
Alexander Ljungberg
f72749fbd6
Allow home and end function keys as unqualified key equivalents. Manual test for home and end function keys.
2010-12-15 00:26:42 +01:00
Alexander Ljungberg
9a032a57d0
Merge branch 'CPScrollView-home-end-fix' of https://github.com/eventualbuddha/cappuccino into eventualbuddha-CPScrollView-home-end-fix
2010-12-15 00:12:30 +01:00
Alexander Ljungberg
244ff0d846
Finished unit test based on Cocoa example With And Without Bindings 02.
2010-12-14 23:57:51 +01:00
Alexander Ljungberg
c65726fb12
Fixed: CPURL isEqual threw an exception if the argument was not a CPURL.
2010-12-14 23:49:24 +01:00
Alexander Ljungberg
8ef7f07195
Fixed: CPArrayController's addObject and CPArray's insertObject:inArraySortedByDescriptors:.
...
CPArray insertObject:inArraySortedByDescriptors: now quickly inserts objects at the end of the array if no sort descriptors are specified.
CPArrayController initialises its sort descriptors to an empty array.
Fixed: array controller's addObject added objects to the arranged objects array in a different order than in the content array if no sort descriptor was set.
2010-12-14 23:33:14 +01:00
Alexander Ljungberg
2af2fc31a1
Fixed: archived table views could end up with a nil sort descriptor instead of an empty array.
2010-12-14 21:36:04 +01:00
Brian Donovan
9bf0edb5df
Implement CPScrollView scrollToBeginningOfDocument: and scrollToEndOfDocument:.
...
Also ensures that the home/end DOM keys were properly mapped to their Cocoa equivalents, so that home/end will trigger scrollToBeginningOfDocument:/scrollToEndOfDocument:.
2010-12-14 12:12:25 -08:00
Alexander Ljungberg
53f4baa9ac
Fixed: CPArrayController add: and insert: would fail if automaticallyPreparesContent was NO.
...
This was caused by an unimplemented method in the original adapted from Cocotron CPObjectController.
2010-12-14 20:44:22 +01: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
Brian Donovan
751a80afb7
Google Chrome Frame doesn't work with duplicate X-UA-Compatible header.
...
There should only be one X-UA-Compatible header and it should have the chrome=1 part at the end, per http://www.chromium.org/developers/how-tos/chrome-frame-getting-started .
"You may recognize the X-UA-Compatible flag as the same mechanism introduced with IE 8 for controlling the rendering engine that IE uses for a particular page. In cases where GCF is not installed, the values can be combined to control IE's rendering behavior:"
<meta http-equiv="X-UA-Compatible" content="IE=8,chrome=1">
2010-12-14 10:37:15 -08:00
Alexander Ljungberg
f2b2852b76
Allow array controllers as table sources in cibs.
...
When an array controller is loaded from a cib, the data source may be connected before the bindings are. Hence, we can't check for required data source methods at the time because we do not know if we are using bindings yet. The new behaviour is to only warn when the methods are actually required, which matches Cocoa.
2010-12-14 17:35:34 +01:00
Alexander Ljungberg
f36d8224a6
Unit test based on Cocoa example With And Without Bindings 01.
...
This test exercises loading of an array controller with bindings to a table and a content array, plus various editing actions.
2010-12-14 15:05:30 +01:00
Alexander Ljungberg
c5c2a80af9
More unit tests on 01_WithoutBindings.
2010-12-14 13:40:44 +01:00
Alexander Ljungberg
b9dfd2a795
Merge branch 'master' of github.com:280north/cappuccino
2010-12-14 12:36:53 +01:00