Darrell Walisser
339937a316
-support for tags on NSCell, useful for radio groups
2012-08-04 13:58:31 -04:00
Darrell Walisser
eed93dc30d
-capp_lint
2012-08-04 13:57:56 -04:00
Darrell Walisser
bff22779ae
-capp_lint
2012-08-04 13:53:05 -04:00
Darrell Walisser
24ef4d41d2
-capp_lint
...
-enable close buttons based on context
-remove stuff that doesn't work
2012-08-04 13:20:35 -04: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
729d2493cd
Merge pull request #1642 from slevenbits/currency-formatter
...
`CPNumberFormatter` improvements.
2012-08-04 14:10:39 +01: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
534635cbc2
Fix CPNumberFormatter maximum/minimum fraction digits property name.
2012-08-04 01:21:42 +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
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