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
6b660a0c76
Fixed: CPEvent data1 and data2 weren't stored right.
...
They were stored in globals instead of ivars, allowing only one data1 or data2 in the whole app.
2012-08-02 15:53:04 +01:00
Alexander Ljungberg
1ccd89ddd8
Refs #1640 . Unit test.
2012-08-02 15:44:19 +01:00
Alexander Ljungberg
cbb710cde7
Merge pull request #1640 from slevenbits/CPEvent-modifierFlags
...
Add +[CPEvent modifierFlags]
2012-08-02 14:36:17 +01:00
Ilya Kulakov
d3b38ac5e8
Add +[CPEvent modifierFlags].
2012-08-02 17:37:40 +07:00
Alexander Ljungberg
1fb09dcfae
Fix typo.
2012-08-02 00:53:30 +01:00
Alexander Ljungberg
f06be56fa3
Fixed: accidental global.
2012-08-02 00:45:33 +01:00
Alexander Ljungberg
9768ea4af9
Fixed: multiple rows of tokens in token fields wouldn't scroll right.
...
In recent versions, moving the cursor to a new row of tokens would place the scroll point somewhere halfway between the two rows of tokens.
2012-08-02 00:44:58 +01:00
Alexander Ljungberg
26c26914da
Fixed: token field scrolling away from selected token.
...
Sometimes clicking a token would cause the token field to scroll to some other spot. This appears to have been caused by the inactive input element gaining focus.
We no longer need the input element for keyboard navigation so we can hide it entirely when it's not used to input a new token. Also, avoid focusing the input element needlessly.
2012-08-02 00:38:21 +01:00
Alexander Ljungberg
41783e87a3
Fixed: in recent builds token field text didn't align.
...
Text inside of tokens appeared 1 px higher than text typed in the text field area.
2012-08-01 21:12:53 +01:00
Alexander Ljungberg
299998b247
Merge pull request #1639 from slevenbits/tokenfield-fix
...
Fixed: token fields would sometimes unexpectedly steal first responder status.
2012-08-01 21:02:44 +01:00
Alexander Ljungberg
90ae5766e6
Fixed: token fields would sometimes unexpectedly steal first responder status.
...
If an autocomplete choice was made followed by immediately focusing on another control, the token field would reclaim first responder status a moment later.
2012-08-01 19:18:40 +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
Darrell Walisser
32c5c82cb9
-removed unused import
2012-07-29 14:04:06 -04:00
Darrell Walisser
1c18862e0f
-added manual test
2012-07-29 12:54:34 -04:00
Darrell Walisser
97b3679101
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
AppKit/CPApplication.j
AppKit/CPWindow/_CPDocModalWindowView.j
2012-07-29 12:31:47 -04:00
cacaodev
7ecf6ece7c
Tests for previous commit
2012-07-28 12:50:17 +02:00
Alexander Ljungberg
22b882648b
Formatting.
2012-07-28 02:06:05 +01:00
Alexander Ljungberg
a8150a84be
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-07-28 01:59:06 +01:00
Alexander Ljungberg
df5a7104b1
Fixes #1638 . The case of the incomplete optimisation.
2012-07-28 01:58:41 +01:00
aparajita
2400b6aeab
Merge pull request #1637 from cacaodev/CPCib-initWithCibNamed
...
CPCib -initWithContentsOfURL: return nil if the requested data is nil.
2012-07-27 14:51:22 -07:00
cacaodev
f42b241469
CPCib -initWithContentsOfURL: return nil if the requested data is nil
2012-07-27 20:19:20 +02:00
cacaodev
1c3d658ca1
CPURLConnection -sendSynchronousRequest: return nil if CPHTTPRequest failed.
2012-07-27 20:11:59 +02:00
cacaodev
9cbb8fd5bc
Support for external cibs (a view in an individual cib). Added such view to ViewBasedCib. Also added an example of a view created manually in the delegate
2012-07-27 20:00:00 +02:00
aparajita
4c86c75b5f
Merge pull request #1635 from wmeddie/patch-1
...
Removed tailing comma from CPColorWithImages call.
2012-07-27 10:18:56 -07:00
cacaodev
f4904b8915
CPCib -initWithContentsOfURL: return nil if the returned data is nil (non existent URL, request failed for some reason ...)
2012-07-27 19:17:45 +02:00
cacaodev
176440eeae
CPURLConnection -sendSynchronousRequest: return nil if CPHTTPRequest failed
2012-07-27 19:16:38 +02:00
cacaodev
1a0434fd85
Fix action sent when an edited control is enqueued (see action log in test app).
...
A non bezeled text field is now bezeled when edited and unbezeled when editing ends - including when you hit enter (but text has to be modified, see comment in code)
2012-07-27 16:32:02 +02:00
Eduardo Gonzalez
9d2bdea8d9
Removed tailing comma from CPColorWithImages call.
...
The extra comma causes IE to think it was passed an array with 4
values and causes CPColorWithImages to return a NinePartImage even
though it only has three parts.
2012-07-27 20:51:29 +09:00
cacaodev
c6ccf1d487
-rowForView: early return if arg is not a CPView. Was causing an error when you click on table whose window was not frontmost.
...
Simplify -hitTest:, limit select-row behavior to left mouse events and extend to all data views accepting FR.
2012-07-27 09:48:36 +02:00
Alexander Ljungberg
bd0114aa06
Refs #1632 . Remove debug logging.
2012-07-26 13:42:01 +01:00
Alexander Ljungberg
43506e708d
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-07-26 13:32:20 +01:00
Alexander Ljungberg
3e218d6aec
Refs #1632 . Unit test for CPUndoManagerDidCloseUndoGroupNotification.
2012-07-26 13:32:01 +01:00
Alexander Ljungberg
bf3c22f42c
Merge pull request #1632 from slevenbits/cpundomanager-notification
...
Starting from 10.7 NSUndoManager posts NSUndoManagerDidCloseUndoGroupNotification
2012-07-26 13:05:40 +01:00
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