Alexander Ljungberg
fdf3e499be
Merge pull request #1644 from slevenbits/CPArrayController-preserveSelectionFix
...
Fix wrong indexes are selected when removing arranged objects.
2012-08-06 13:53:31 +01:00
Ilya Kulakov
c1ace9a7c3
Fix wrong indexes are selected when removing arranged objects.
2012-08-06 19:19:13 +07:00
Eric Wong
175c70d99e
fix a new bug in CPDecimalMakeWithString and remove some test cases
2012-08-05 08:37:44 +08:00
Eric Wong
9f1a8fa7a2
enable '.003' or '-.003' style number in CPDecimalMakeWithString function and add new test cases
2012-08-04 23:04:40 +08:00
Alexander Ljungberg
4d8758f755
Fix CPTextFieldTest.
2012-08-04 13:58:29 +01:00
Alexander Ljungberg
31ea0da526
CPNumberFormatter generatesDecimalNumbers support, enabled by default.
2012-08-04 13:45:45 +01:00
Alexander Ljungberg
3a2bf36359
Very basic CPNumberFormattercurrency style.
2012-08-04 13:37:42 +01:00
Alexander Ljungberg
dc0c63ccc3
Extend CPNumberFormatter CPCoding support and fix rounding default.
2012-08-04 02:31:43 +01:00
Alexander Ljungberg
a7f22a0c5a
Correct CPNumberFormatter maximumFractionalDigits default.
2012-08-04 01:09:51 +01:00
Alexander Ljungberg
b279a92e4c
CPNumberFormatter setMinimumFractionDigits: support.
2012-08-04 00:55:41 +01:00
Alexander Ljungberg
055dd7229e
Properly allow CPNumberFormatter to operate on most CPNumber types.
...
This only worked by accident before.
2012-08-04 00:48:45 +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
Alexander Ljungberg
7537f4d032
Eliminate some duplicate methods.
2012-08-01 16:35:34 +01:00
Alexander Ljungberg
bd0114aa06
Refs #1632 . Remove debug logging.
2012-07-26 13:42:01 +01:00
Alexander Ljungberg
3e218d6aec
Refs #1632 . Unit test for CPUndoManagerDidCloseUndoGroupNotification.
2012-07-26 13:32:01 +01:00
Alexander Ljungberg
b51a2e25c2
Refs #1631 . Unit test last index of index set with a single index.
2012-07-24 20:09:18 +02:00
Alexander Ljungberg
9eee7a214e
Refs #1630 . Add test.
2012-07-23 15:35:52 +02:00
Alexander Ljungberg
6d08f0d60b
Formatting.
2012-07-23 15:26:03 +02:00
Alexander Ljungberg
aab8ade15b
Refs #1629 . Fixed: aSet removeObject: for an object not a member is not an error.
2012-07-23 15:25:52 +02:00
cacaodev
5456bad23d
Remove unwanted import in AppController test app
2012-07-23 14:59:48 +02:00
Ilya Kulakov
985759ce91
Fix CPSet's member never checks equality of objects at Objj level.
2012-07-23 19:34:40 +07: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
030bd9388b
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-07-21 13:13:28 +01:00
Alexander Ljungberg
a78c1bf03a
Refs #1624 . Fix grouping separator support.
...
`perMillSymbol` was incorrectly used as the grouping separator.
2012-07-21 13:13:14 +01:00
aparajita
30509823bb
Merge pull request #1620 from ggsato/removingFirstObjectImprovement
...
fixed a bug that removeObject shows empty selection if an object at index 0 was removed
2012-07-20 16:24:15 -07: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
5724dfe21d
CPDictionary enumerateKeysAndObjectsUsingBlock:.
2012-07-17 20:48:52 +01:00
ggsato
364208e029
fixed a bug that removeObject shows empty selection if an object at index 0 was removed
2012-07-17 15:36:18 +09:00
Alexander Ljungberg
fea0299033
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-07-16 03:16:31 +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
Aparajita Fishman
c4dc9c8bdb
CPDictionary key methods
...
keysOfEntriesPassingTest:
keysOfEntriesWithOptions:passingTest:
keysSortedByValueUsingComparator:
2012-07-15 09:27:04 -07:00
Alexander Ljungberg
ccb6b3b4a2
Code formatting.
2012-07-14 14:11:38 +01:00
Alexander Ljungberg
5658ea2c1e
Merge pull request #1616 from slevenbits/kvo-willchange-fix-2
...
Fix crash if an observer is set between willChange…/didChange…
2012-07-14 13:58:18 +01:00
Ilya Kulakov
3886f27acd
Fix crash if an observer is set between willChange…/didChange…
...
When you add an observer to an object first time, its class is
implicitly changed to a KVO_originalClassName (subclass of original
class). This subclass adds willChange…/didChange… methods for
observable properties.
If you send willChange… before you add an observer, it does nothing.
But if you send didChange… just after, the app will crash, because
new KVO_originalClassName nerver receives willChange…
The idea is to maintain counter of all received willChange… messages
(per key) and decrease it in didChange…
When KVO_originalClassName is created and didChange… is received
(without opening willChange… to new class), exception is not thrown
immediately, but the counter is checked first.
If it's greater than 0, then didChange… just closes
an unboserved willChange… Otherwise exception is thrown, as expected.
2012-07-14 19:32:25 +07:00
Aparajita Fishman
590b7ec704
format strings was not set in the xib
2012-07-13 20:26:57 -07:00
Aparajita Fishman
dd686a0fca
Fixed spelling error in test app
2012-07-13 18:23:08 -07:00
cacaodev and Aparajita Fishman
7c01f14bfe
Fix for #1593
2012-07-13 07:44:48 -07: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
Antoine Mercadal
5c00ea627e
Add manual test case for label baseline alignment
2012-07-12 15:10:04 -07:00
Vladimir Shevchenko
ff074294ee
mistakes corrected
2012-07-13 03:47:34 +07:00