Alexander Ljungberg
e32b302c59
Fixed: don't return nil from CPController initWithCoder:.
2011-05-30 20:45:35 -04:00
Alexander Ljungberg
302e753ebc
Table nib2cib test with taller table rows and a level indicator cell. The latter is very useful when comparing cell spacing between Cappuccino and Cocoa.
2011-05-30 18:05:49 -04:00
Alexander Ljungberg
1c007461bd
Draw table view gridlines precisely inside the right side of cells so that grid line positioning and spacing matches Cocoa.
...
Checked against Cocoa with 0, 1, 2 and 3 px intercell spacing.
2011-05-30 17:46:46 -04:00
Alexander Ljungberg
3d1638c780
Fixed: remove unused var block.
2011-05-30 16:56:24 -04:00
Alexander Ljungberg
c5965c41d5
Fixed: don't repeat level indicator graphics downwards when the indicator is made taller than its natural size. Instead centre the indicator vertically.
...
This is not strictly like Cocoa - Cocoa places it on top vertically. But vertical centring makes more sense in e.g. tables with a large row height so it seems to make sense to deviate slightly here.
2011-05-30 16:21:50 -04:00
Alexander Ljungberg
7cc6fa348c
Less flashy level indicator colours.
2011-05-30 12:56:35 -04:00
Alexander Ljungberg
1e6bca2214
Test level indicator with many segments.
2011-05-30 12:44:00 -04:00
Alexander Ljungberg
d199bd86e6
More square level indicator segments which look better when each segment is very small. Colour and shadowing tweaks. Removed most of control border for a cleaner look.
2011-05-30 12:42:19 -04:00
Alexander Ljungberg
6338b01cb4
Fix accidental global.
2011-05-30 11:56:52 -04:00
Alexander Ljungberg
7714bcc34c
Merge pull request #1288 from primalmotion/cappuccino
...
---
This patch avoids to have this kind of problem when too much segments are present:
<http://gyazo.com/36da2019514c429dd6edc2318fc101fc >
And do this:
<http://gyazo.com/65e23eb978dc493be96633c612e538ca.png >
+ fix typo ("self" not "sef")
2011-05-30 11:55:21 -04:00
Antoine Mercadal
e6f029c1fa
use all remaining space for last segment
2011-05-30 17:17:42 +02:00
Antoine Mercadal
fe606e4757
fix typo + wrong sizing behaviour with too much segment
2011-05-30 17:06:39 +02:00
Alexander Ljungberg
a6ee37e030
Support level indicators as table cells through nib2cib.
2011-05-30 00:56:28 -04:00
Alexander Ljungberg
71364c9b1a
Fixed: very large numbers written to 280north1 plist files would be read back as very small numbers.
...
This affected nib2cib and cib files in particular.
2011-05-30 00:51:35 -04:00
Alexander Ljungberg
a34155da61
Whitespace cleanup.
2011-05-30 00:43:07 -04:00
Alexander Ljungberg
2b8fa11b84
Optimise level indicator archiving (don't record static background colour).
2011-05-30 00:03:12 -04:00
Alexander Ljungberg
8fdcbac2bd
Fix CPTableColumn width, minWidth and maxWidth encoding.
2011-05-29 23:18:30 -04:00
Alexander Ljungberg
4316192b8d
Support NSButtonCell (e.g. checkboxes) in table columns through nib2cib.
2011-05-29 21:24:41 -04:00
Alexander Ljungberg
19090de380
Relayout level indicator as needed.
2011-05-29 16:47:36 -04:00
Alexander Ljungberg
85c5094c8b
Manual test for level indicator.
2011-05-29 16:17:40 -04:00
Alexander Ljungberg
ed8811e66b
Click and drag edit support for level indicators.
2011-05-29 16:04:27 -04:00
Alexander Ljungberg
b2e13919e0
Support for editing level indicators.
2011-05-29 15:41:53 -04:00
Alexander Ljungberg
b4dabb6c35
Fix level indicator property names.
2011-05-29 15:26:21 -04:00
Alexander Ljungberg
e9d0be1b6a
Level indicator drawing.
2011-05-29 15:17:28 -04:00
Alexander Ljungberg
3f2607c2d0
CPLevelIndicator nib2cib support.
2011-05-28 18:44:32 -04:00
Alexander Ljungberg
ceaea9c5b0
Remove leftover reference code.
2011-05-28 18:44:16 -04:00
Alexander Ljungberg
5419272e48
Fixed: don't import NSSlider.j in NSSlider.j.
2011-05-28 18:08:17 -04:00
Alexander Ljungberg
888fc89f86
Foundation for CPLevelIndicator.
2011-05-28 17:53:39 -04:00
Alexander Ljungberg
66c644641c
Merge branch 'master' of github.com:280north/cappuccino
2011-05-28 02:08:22 -04:00
Alexander Ljungberg
669c6d4ac0
Merge branch '0.9.1b'
2011-05-28 02:08:03 -04:00
Alexander Ljungberg
8ed06169d1
Merge branch '0.9.1b' of github.com:280north/cappuccino into 0.9.1b
2011-05-28 02:07:33 -04:00
Alexander Ljungberg
cf04fcc9d0
Verify correctness of observation notifications on arrangedObjects when the addObjects: message is sent.
2011-05-28 02:06:27 -04:00
Alexander Ljungberg
2e5081b137
Optimise array controller addObject: by eliminating entirely pointless rearrange when added objects did not pass the filter. Also avoided double rearrange if clearsFilterPredicateOnInsertion.
...
CPArrayControllerPerformance.j execution time on "testAddObject_, sorted, filtered" down from ~420ms to ~60ms on my machine.
2011-05-28 02:02:24 -04:00
Alexander Ljungberg
a1a06c3f75
Performance test array controller addObject: when clearing the filter predicate.
2011-05-28 01:47:25 -04:00
Alexander Ljungberg
e4950bd831
Fixed: duplicate observer notification for array controller addObject: (on arrangedObjects).
2011-05-28 01:26:28 -04:00
Alexander Ljungberg
607f681780
Typo fix.
2011-05-26 23:59:49 -04:00
Alexander Ljungberg
6eb4bf6656
Add temporary @ref and @deref analogs.
2011-05-26 23:59:08 -04:00
Aparajita Fishman
9377cf9128
Test app and unit test to validate pinned ranges in beginsWith/endsWith predicate comparison.
2011-05-26 14:31:20 -07:00
Aparajita Fishman
e17d8ca302
Pin ranges to valid values.
2011-05-26 14:31:13 -07:00
Klaas Pieter Annema
9b3926cada
Merge branch '0.9.1b'
2011-05-24 12:30:07 +02:00
Klaas Pieter Annema
815e64356d
implement _minimumFrameSize in CPButton
2011-05-24 12:29:23 +02:00
Klaas Pieter Annema
249a63af95
don't use remove method for removeMany selector
2011-05-24 12:28:25 +02:00
Klaas Pieter Annema
8520247605
Merge pull request #1247 from primalmotion/bundletask-option-preventsnib2cib
...
add setPreventsNib2Cib to bundletask.js
2011-05-23 22:45:42 -07:00
Alexander Ljungberg
686bce00d9
Merge branch '0.9.1b'
2011-05-23 13:49:09 -04:00
Alexander Ljungberg
8ae94c2745
Put CPBox in the right documentation module and add some basic documentation.
2011-05-23 13:46:09 -04:00
Klaas Pieter Annema
8feb5b5cee
Merge branch 'right-command-key-fix' of https://github.com/aparajita/cappuccino into aparajita-right-command-key-fix
2011-05-23 11:14:12 +02:00
cacaodev and Klaas Pieter Annema
2b52f7d8da
- Fixed a bug where the right control was incorrectly recreated with a default value when switching operators.
...
- As per cocoa, the predicate is recomputed when you send the right control action, not when you change text. Update-as-you-type can be turned ON by subclassing -_sendsActionOnIncompleteTextChange method. Default is NO.
- Rewrote _reconfigureSubviews method, should be faster.
2011-05-23 10:59:44 +02:00
cacaodev and Klaas Pieter Annema
ea660e3dd4
CPPredicateEditorRowtemplate:
...
Fixed a bug when menu item titles and their corresponding keypath expressions where different and templates created in IB.
Fixed a bug appearing in Xcode4 IB when titles and keypath where identical.
2011-05-23 10:59:43 +02:00
cacaodev and Klaas Pieter Annema
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
Ross Boucher
6c6ac4bd2e
Merge pull request #1276 from hammerdr/Documentation
...
Elaborate what setItemPrototype expects and does in CPCollectionView.
2011-05-22 17:17:04 -07:00