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
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