Aparajita Fishman
99cd246ed8
Fix clipping of text due to fractional pixels
2012-07-10 18:08:33 -07:00
Aparajita Fishman
872df9fe39
Fixed window positioning
2012-07-10 17:35:42 -07:00
Aparajita Fishman
68c001e0c0
Don't attempt show CPScrollView, CPScroller or tooltips in the showcase, it doesn't work
2012-07-10 15:36:33 -07:00
Aparajita Fishman
5e40d6702e
jake clobber should only clobber the theme, not Cappuccino
2012-07-10 12:47:55 -07:00
Aparajita Fishman
a3d4dc2f9a
Wrap _DOMElement access in #if PLATFORM(DOM), cleanup
2012-07-09 22:19:26 -07:00
aparajita
a8d1224097
Merge pull request #1607 from slevenbits/archive-formatter
...
CPControl archives/unarchives its formatter
This allows you to use a formatter with a table column's data view.
2012-07-09 21:32:24 -07:00
Aparajita Fishman
73fea44aa2
CPControl now archives/unarchives its formatter
...
This allows you to use a formatter with a table column's data view.
2012-07-09 21:30:09 -07:00
Aparajita Fishman
37a89a7b0a
Cleanup
2012-07-09 15:47:26 -07:00
Antoine Mercadal
2712a4d45c
removed debug console.log
2012-07-09 15:05:03 -07:00
Antoine Mercadal
d93fa98d1e
Merge branch 'master' of https://github.com/cappuccino/cappuccino
2012-07-09 15:04:17 -07:00
Antoine Mercadal
63616cc50a
fix enter key not working to select items in CPComboBox. With the help of @aparajita
2012-07-09 15:03:59 -07:00
Alexander Ljungberg
eb643a2df8
Simplify code.
2012-07-09 20:31:29 +01:00
Alexander Ljungberg
81f958eee1
Merge pull request #1605 from slevenbits/colorwell-styling
...
`CPColorWell` and `CPColorPanel` updates.
2012-07-09 20:17:49 +01:00
Alexander Ljungberg
613f61a898
Unit test CPColorWell archiving.
2012-07-09 20:03:19 +01:00
Alexander Ljungberg
77a009c9a6
Highlighted and disabled looks for bordered CPColorWell.
2012-07-09 19:53:57 +01:00
Alexander Ljungberg
2d8a849d12
nib2cib size fix for bordered CPColorWell.
2012-07-09 19:19:38 +01:00
Alexander Ljungberg
b09908e6af
Themable CPColorWell with Aristo look when bordered.
2012-07-09 19:18:46 +01:00
Antoine Mercadal
ad74e93ea2
use CPPopUpMenuWindowLevel for _CPPopUpList's window level
2012-07-09 10:20:18 -07:00
Alexander Ljungberg
754311d2e2
More colour panel clean up.
2012-07-09 16:06:09 +01:00
Alexander Ljungberg
f6514f3c64
Fix CPColorPanel errors and code style.
2012-07-09 15:57:24 +01:00
Alexander Ljungberg
f398185aad
CGRectInsetByInset geometry function.
...
This operation appears again and again in Cappuccino.
2012-07-09 15:44:13 +01:00
Alexander Ljungberg
4390bea31f
Simplify CPColorWell drawing and mouse handling.
...
Use standard CPControl mouse handling and highlighting.
Switch to setNeedsLayout based drawing and hook up first themed property.
2012-07-09 13:01:44 +01:00
Alexander Ljungberg
660c98d6e5
Use theme system for CPColorWell bordered state.
...
This is more consistent with the rest of Cappuccino and prepares for theming support.
2012-07-09 12:20:47 +01:00
Alexander Ljungberg
1154a629a7
Code formatting.
2012-07-09 11:11:37 +01:00
Alexander Ljungberg
09e235eb60
Refs #1603 . Optimise slightly.
2012-07-08 21:26:47 +01:00
Alexander Ljungberg
9dab0f083d
Merge pull request #1603 from slevenbits/indexset-passingtest
...
Add *passingTest methods to CPIndexSet
2012-07-08 21:26:05 +01:00
Ilya Kulakov
6dd44687c5
Implement *passingTest methods of CPIndexSet.
2012-07-09 02:40:47 +07:00
Alexander Ljungberg
1a639afd99
Typos.
2012-07-08 14:13:21 +01:00
Antoine Mercadal
72cc494df4
fix bug showing the CPComboBox's list under popover
2012-07-06 16:02:40 -07:00
aparajita
98fbf3abc1
Merge pull request #1601 from slevenbits/CPComboBox
...
CPComboBox and CPTextField enhancements
- Full Cocoa-compliant implementation of CPComboBox and CPComboBoxDelegate.
- Better focus ring for CPTextField and all subclasses.
- CPTextField and its subclasses draw disabled contents differently, per Cocoa.
2012-07-06 13:24:01 -07:00
Alexander Ljungberg
34e7d4abe5
Merge pull request #1600 from slevenbits/window-controller-container-view
...
Window controller container view
2012-07-06 16:36:26 +01:00
Ilya Kulakov and Alexander Ljungberg
f434717372
Fix style.
2012-07-06 16:03:29 +01:00
Ilya Kulakov and Alexander Ljungberg
88f8581dcc
Implement -[CPWindowController setViewControllerContainerView:], fix -[CPWindowController setViewControllerView:]
...
Container view is responsible for laying out its views.
Container view is a content view of the window.
If there is no container view, view controller's view is a content view of the window.
2012-07-06 16:03:29 +01:00
Alexander Ljungberg
552ba68187
Refs #1599 . Fix teacher.car.year unit test message.
2012-07-06 15:53:19 +01:00
Alexander Ljungberg
cff29904d7
Refs #1599 . Format code.
2012-07-06 15:53:03 +01:00
Alexander Ljungberg
b1774cdccf
Merge pull request #1599 from slevenbits/kvo-fix
...
Wrong key path and change send to the observer
2012-07-06 15:38:50 +01:00
Aparajita Fishman
32737e0b72
CPComboBox and CPTextField enhancements
...
- Full Cocoa-compliant implementation of CPComboBox and CPComboBoxDelegate.
- Better focus ring for CPTextField and all subclasses.
- CPTextField and its subclasses draw disabled contents differently, per Cocoa.
2012-07-06 00:15:23 -07:00
aparajita
b54ce4d782
Merge pull request #1597 from slevenbits/cptableview-grid
...
Make the default grid color in IB show correctly in CPTableView.
- Changed the default grid color from #dce0e2 to #ccc.
- Fixed NSColor to recognize the named color "gridColor" and set it to #ccc.
- NSTableView always saves the grid color from IB.
2012-07-05 16:16:30 -07:00
Aparajita Fishman
b6adf26549
Make Alexander happy. ;-)
2012-07-05 12:26:55 -07:00
Aparajita Fishman
d0bfde1887
Annotate indexOfObject methods, use "index" instead of "idx"
2012-07-05 11:34:01 -07:00
Ilya Kulakov
4094a1f826
Fix wrong change is sent to observer when top level object is changed.
...
When you change the top level object, observer MUST receive value
for the key path of the previous top level object as old and
value for the key path of the new top level object as new.
2012-07-05 17:59:29 +07:00
Alexander Ljungberg
8afb67521d
Annotate indexesOfObjectsPassingTest: function signature.
2012-07-04 23:26:07 +01:00
Alexander Ljungberg
34be9cea3a
Refs #1559 . Fix split view autosave test.
2012-07-04 23:17:38 +01:00
Aparajita Fishman
618194996a
Fixed CPString -hasSuffix docs
2012-07-04 17:29:28 -04:00
aparajita
e444a5d60a
Merge pull request #1598 from slevenbits/array-filters-fix
...
Fixed the method names committed in 0f5a6b4e5e
2012-07-04 14:16:14 -07:00
Aparajita Fishman
593f3c2109
Fixed the method names
2012-07-04 17:03:53 -04:00
Aparajita Fishman
e9fb821721
Make the default grid color in IB show correctly in CPTableView
...
Currently #888888 is being used as the default, mainly because NSColor.j doesn't recognize the "gridColor" named color, and the cached color in the .xib is #888888 for some reason. Actually the default grid color is #CCCCCC.
2012-07-04 16:39:47 -04:00
aparajita
a4afe1bde9
Merge pull request #1596 from slevenbits/cptableview-typos
...
Added missing @
2012-07-04 13:29:45 -07:00
Aparajita Fishman
1d29fda5fd
Added missing @
2012-07-04 16:25:59 -04:00
aparajita
16b7093e19
Merge pull request #1595 from slevenbits/array-filters
...
Added CPArray -indexesOfObjectPassingTest methods
2012-07-04 12:46:51 -07:00