Antoine Mercadal
48ffdf419f
Restore art for ButtonBar
2013-01-03 14:16:50 -08:00
Alexander Ljungberg
252b8f5ca5
Fixed: [CPApp windows] contained nil.
...
Before this fix, CPApp tried to add nil to its internal list of windows, even that nil should not be added to a CPArray. Second, that nil was actually returned by [CPApp windows] rather than an expected list of only CPWindow instances.
This fix makes [CPApp windows] return only actual windows, replaces the internal _windows[0] placeholder with CPNull, and ensures this CPNull is never actually exposed outside of the class.
2012-12-15 11:48:15 +00:00
Alexander Ljungberg
7b2464a740
Fix tab view test to work after 2758454.
...
Now that we use layoutSubviews in CPTabView we have to make sure it's called in a unit test scenario.
2012-12-15 01:12:29 +00:00
Alexander Ljungberg
282e96649a
Formatting.
2012-12-03 22:21:01 +00:00
Alexander Ljungberg
59ad8499df
Refs #1676 . Whitespace.
2012-09-24 17:05:35 +01:00
Johan Stille
02a885eb09
Added test for initially hidden table column fix.
2012-09-24 14:22:39 +02:00
Antoine Mercadal
2f428fa389
test item visibility when expanding/collapsing items
2012-09-10 15:19:32 -07:00
Ilya Kulakov
c1ace9a7c3
Fix wrong indexes are selected when removing arranged objects.
2012-08-06 19:19:13 +07:00
Alexander Ljungberg
4d8758f755
Fix CPTextFieldTest.
2012-08-04 13:58:29 +01:00
Antoine Mercadal
0922f3dab7
Merge pull request #1573 from mrcarlberg/binding_support_popup_button
...
Added key value binding support for CPPopupButton
2012-08-02 15:58:15 -07:00
Alexander Ljungberg
b4cfa8cefb
CPEvent description.
2012-08-02 15:53:27 +01:00
Alexander Ljungberg
1ccd89ddd8
Refs #1640 . Unit test.
2012-08-02 15:44:19 +01:00
Alexander Ljungberg
31ab70d6fc
Refs #1530 . Fixed: table views could not be interacted with if they couldn't become the first responder.
2012-08-01 18:59:54 +01:00
Martin Carlberg
a688a3de79
Added test case for selectedIndex binding with CPInsertsNullPlaceholderBindingOption
2012-07-23 12:14:53 +02:00
Martin Carlberg
f6b378513d
Merge branch 'master' of https://github.com/cappuccino/cappuccino into binding_support_popup_button
...
Conflicts:
AppKit/CPKeyValueBinding.j
AppKit/CPPopUpButton.j
Tests/AppKit/CPPopUpButtonTest.j
2012-07-23 11:19:21 +02:00
Alexander Ljungberg
b0a56f1690
Fixed: removing selected CPPopUpButton item.
...
When the selected item of a `CPPopUpButton` is removed the first item should become selected. This matches Cocoa's behaviour.
2012-07-18 19:21:20 +01:00
Alexander Ljungberg
6a67243460
CPFontManager convertFont:toFace:.
2012-07-16 03:11:21 +01:00
Alexander Ljungberg
7f1b396ce8
CPFontManager weightOfFont: and traitsOfFont:.
2012-07-15 23:39:29 +01:00
Alexander Ljungberg
1e5bccd48e
CPFontManager convertFont:, convertFont:toHaveTrait: and addFontTrait:.
2012-07-15 23:38:32 +01:00
Alexander Ljungberg
d016e8a5e8
CPFontManager setSelectedFont:isMultiple: and other basic properties.
2012-07-15 21:45:50 +01:00
Alexander Ljungberg
fc49574947
Test CPFontManager.
2012-07-15 21:01:29 +01:00
Alexander Ljungberg
2ca3f657f9
Refs #1530 . Fix CPTableViewTest to work regardless of #1530 decision.
2012-07-13 13:24:43 +01:00
Alexander Ljungberg
9abb79d191
Merge pull request #1612 from slevenbits/cpgeometry-improvements
...
Cpgeometry improvements
2012-07-13 11:37:02 +01:00
aparajita
629f12a851
Merge pull request #1543 from cacaodev/CPTableView-content-binding
...
Added support for using bindings with CPTableView content (as opposed to CPTableColumn value bindings)
2012-07-12 19:58:12 -07:00
aparajita
7586af8f91
Merge pull request #1606 from slevenbits/system-font
...
Overhaul of system font handling
- System fonts now track the currently configured system font at runtime.
- You can specify CPFontCurrentSystemSize as a system font size to track the currently configured system font size at runtime.
- Theme fonts and nib2cib now determine face and size at runtime, there is no need to recompile if the system font is changed in Info.plist.
- All hard-coded references to 12.0 as a system font size have been replaced by the current system font size.
- Documented the font substitution algorithm and how to use custom fonts in the CPFont class docs.
- See Tests/Manual/FontEnhancementTest for a demo.
2012-07-12 07:01:30 -07:00
Vladimir Shevchenko
a6d6fb1a1e
CPGeometry moved to Foundation
2012-07-11 16:29:30 +07:00
Aparajita Fishman
ec4bfa00ee
Per Cocoa, 0 size means create a static font in the current system font size. Added tests.
2012-07-10 16:40:44 -07:00
Alexander Ljungberg
613f61a898
Unit test CPColorWell archiving.
2012-07-09 20:03:19 +01:00
Alexander Ljungberg
754311d2e2
More colour panel clean up.
2012-07-09 16:06:09 +01:00
Alexander Ljungberg
34be9cea3a
Refs #1559 . Fix split view autosave test.
2012-07-04 23:17:38 +01:00
cacaodev
c7a8124be8
CPPopUpButtonTest test CPContentValuesBinding with value transformer. Currently failing.
2012-07-04 17:55:39 +02:00
Martin Carlberg
e5f4a7c39a
Added support for CPNullPlaceholderBindingOption and made some clean up of code
2012-07-03 12:36:19 +02:00
Aparajita Fishman
cae5486ec6
Added missing class checks in +initialize, regularized checking code
2012-06-28 12:05:18 -07:00
Alexander Ljungberg
bd83885eca
Refs #1527 . Backwards compatibility.
...
If no highlight or state masks were encoded (button was encoded prior to them being added), make sure to let the default settings stand.
2012-06-25 17:42:31 +01:00
Alexander Ljungberg
d34d139658
Refs #1572 . Default CPButton type.
...
If a button is created in code it should act like a regular momentary push in button by default.
2012-06-25 17:21:56 +01:00
cacaodev
539a8f0ca9
An OJTest for the table view's content binding
2012-06-22 21:59:41 +02:00
Alexander Ljungberg
288ec78c3e
Fixed: split view autosave.
...
The fix to prevent incorrect autosaving prevented correct autosaving as well.
2012-05-26 00:04:12 +01:00
Alexander Ljungberg
afbfde0909
Code formatting.
2012-05-10 16:01:22 +01:00
Alexander Ljungberg
e72093c91e
Merge pull request #1531 from BlairDuncan/cappuccino
...
---
2012-05-10 15:50:10 +01:00
Blair Duncan
74431972d8
added missing LOG math global and replaced any math. with correspoinding global
2012-05-10 08:55:19 -04:00
Blair Duncan
934691fffb
nib2cib all of current test files xib's
2012-05-04 20:10:55 -04:00
cacaodev
6fe3d53a13
Merge remote-tracking branch 'upstream/master' into CPRulePredicateEditor
2012-04-26 20:34:18 +02:00
Alexander Ljungberg
a0c7305334
Fixed: collection views cleared their selection whenever the content was changed.
...
This was unlike Cocoa and prevented CPArrayController's selectsInsertedObjects from working.
2012-04-26 15:19:18 +01:00
cacaodev
3ab2ebf71f
Merge remote-tracking branch 'upstream/master' into CPRulePredicateEditor
...
Conflicts:
AppKit/CPRuleEditor/CPRuleEditor.j
2012-04-26 15:38:30 +02:00
Alexander Ljungberg
21a34f88b2
Fixed: don't crash when removing objects from an array controller which has its arrangedObjects.@count observed.
2012-04-20 15:12:59 +01:00
Aparajita Fishman
5763ebdf2b
Fixed CPEvent -timestamp to return seconds since startup, as documented in Cocoa.
...
Miscellaneous cleanup of timestamp usage as well.
2012-04-15 11:30:27 -04:00
Aparajita Fishman
5c0e079873
CPBinder: In reverseSetValueFor:, suspend observation to avoid unwanted setValueFor:
...
isssue #1463
Manual test and ojtest.
2012-04-10 17:28:20 -04:00
Alexander Ljungberg
56c7e1991e
Fixed: check box binding value transformers were ignored.
2012-03-27 13:53:32 +01:00
Alexander Ljungberg
ff68ccdeab
Fix CPPopUpButtonTest.
2012-03-27 13:51:52 +01:00
Alexander Ljungberg
90514bd3cb
Test table view notifications for deselectAll. Verify absence of CPTableViewSelectionIsChangingNotification when changing programmatically.
2012-03-18 15:21:09 +00:00