Antoine Mercadal
dcee0e5057
Revert "small fix in theme to avoid 1px offset when editing a CPTextField"
...
This reverts commit fa1441cf71 .
2012-07-25 18:19:15 -07:00
Antoine Mercadal
673c3c19f0
Merge branch 'master' of https://github.com/cappuccino/cappuccino
2012-07-25 12:00:36 -07:00
Antoine Mercadal
fa1441cf71
small fix in theme to avoid 1px offset when editing a CPTextField
2012-07-25 12:00:09 -07:00
Ilya Kulakov
c57ef67784
Starting from 10.7 NSUndoManager posts NSUndoManagerDidCloseUndoGroupNotification.
2012-07-25 17:02:06 +07:00
Alexander Ljungberg
b1e519fd62
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-07-24 20:09:58 +02: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
aparajita
7b2835028a
Merge pull request #1628 from cacaodev/CPCib-instantiateCibWithOwner_topLevelObjects_
...
CPCib -instantiateCibWithOwner:topLevelObjects:
2012-07-23 14:02:09 -07:00
cacaodev
0faf38a1e1
From within the delegate method, if you ask for an IB view (makeviewWithIdentifier:owner:), the view is now automatically reusable.
...
Before that, IB views were reusable only if the delegate method was not implemented.
If you create a view in code, you still need to make it reusable by calling -setIdentifier:
Woow ... now viewBasedCib loads the views x3 times faster.
2012-07-23 19:55:06 +02:00
Alexander Ljungberg
9eee7a214e
Refs #1630 . Add test.
2012-07-23 15:35:52 +02:00
Alexander Ljungberg
d0b152c638
Merge pull request #1630 from slevenbits/cparray-fix
...
Fix CPArray should throw an exception when observer is added/removed.
2012-07-23 15:34:38 +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
4c4a707624
In CPTableCellView initializers, enforce autoresizingMask to CPViewHeightSizable. Per cocoa except in cocoa it is done when the view is added to superview.
2012-07-23 15:12:06 +02:00
cacaodev
5456bad23d
Remove unwanted import in AppController test app
2012-07-23 14:59:48 +02:00
Alexander Ljungberg
8e6634168a
Merge pull request #1629 from slevenbits/cpset-fix
...
Fix CPSet's member never checks equality of objects at Objj level.
2012-07-23 14:56:29 +02:00
Ilya Kulakov
a3179080d3
Fix CPArray should throw an exception when observer is added/removed.
2012-07-23 19:48:05 +07: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
2184c7ca4d
Fixed code format issues
2012-07-23 12:12:55 +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
cacaodev
02a89e2343
CPCib -instantiateCibWithOwner:(id)anOwner topLevelObjects:(CPArray)topLevelObjects : allow anOwner to be nil
2012-07-22 22:08:31 +02:00
cacaodev
e2d4ae4acc
viewBasedCib example: fix some labels not sized-to-fit in IB
2012-07-22 21:32:24 +02:00
cacaodev
95b7f78a5a
Sorry George.
2012-07-21 20:32:02 +02:00
cacaodev
e694f8f173
Preemptive fix (currently disabled) to force drawBackground to YES for edited text fields embedded in a data view. dependency on issue #210 .
2012-07-21 20:14:27 +02:00
Alexander Ljungberg
8d1a5ac6b9
Format code.
2012-07-21 13:24:13 +01: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
cacaodev
be35ea2704
- Fix behavior when selecting a row in a view-based table (per cocoa). Editable text fields are edited only if the row is selected, otherwise the row is selected. Other controls can be edited directly, without selecting the row first.
...
- Fixed a bug where data views being FR or containing a FR subview were preserving their FR when reused.
2012-07-21 14:11:24 +02:00
Alexander Ljungberg
7e562fa3aa
Fixes #1624 . Fix grouping for CPNumberFormatter.
2012-07-21 13:08:54 +01:00
cacaodev
91f2252255
Remove old import in ViewBased, use CPTrace() to log perf.
2012-07-21 09:16:43 +02:00
ggsato
0582033fb7
a suggested fix for CPArrayController selection binding failure in retrieving initial selection values
2012-07-21 14:40:44 +09:00
aparajita
5caf76fb3a
Merge pull request #1536 from mrcarlberg/main_bundle_path_commonjs
...
Fixed mainBundle having no '/' at the end when running in CommonJS. This would make relative paths fail.
2012-07-20 17:18:16 -07: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
835bd59330
Fixed: popovers in modal windows couldn't be interacted with.
...
This prevented e.g. date picker popovers in sheet dialogs.
2012-07-19 16:34:15 +01:00
Alexander Ljungberg
e73cb7d363
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-07-19 01:05:48 +01:00
Alexander Ljungberg
8aee458022
nib2cib support for button and radio button tags.
2012-07-19 01:05:09 +01:00
Aparajita Fishman
20eb62b3d2
Use the proper modern DOCTYPE
2012-07-18 14:48:23 -07:00
Alexander Ljungberg
f4f9e8880c
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-07-18 19:21:43 +01: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
Aparajita Fishman
8444f808f6
By default controls will track the system font size
...
Use current system font size elsewhere
2012-07-18 09:53:09 -07:00
Aparajita Fishman
b959f13a0c
Merge branch 'master' of github.com:cappuccino/cappuccino into upstream
2012-07-17 15:11:13 -07:00
Aparajita Fishman
f0163e13c9
Added CGInsetMakeInvertedCopy
2012-07-17 15:10:58 -07:00
Alexander Ljungberg
a89ca14abe
Merge pull request #1622 from slevenbits/tableview-column-move-notify
...
Notify when a `CPTableView` column moves.
2012-07-17 22:59:53 +01:00
Alexander Ljungberg
9b77f1b7ac
Notify when a CPTableView column moves.
...
Both through `CPNotificationCenter` and to the delegate.
2012-07-17 22:57:36 +01:00
Alexander Ljungberg
e68077d159
Merge pull request #1621 from slevenbits/cpdictionary-enumerate
...
`CPDictionary enumerateKeysAndObjectsUsingBlock:`.
2012-07-17 20:51:22 +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
c1dd821c6e
Merge pull request #1618 from slevenbits/fontmanager
...
New `CPFontManager` methods.
2012-07-16 03:16:21 +01:00
Alexander Ljungberg
6a67243460
CPFontManager convertFont:toFace:.
2012-07-16 03:11:21 +01:00