cacaodev
01c5cf98df
FIXED: Unknown function getPropertyCSSValue in Chrome
...
getPropertyCSSValue have been deprecated in chrome. Replacing with
getPropertyValue supported by all browsers.
2016-04-23 10:54:22 +02:00
Alexandre Wilhelm
cd92ebd69c
Merge pull request #2437 from mrcarlberg/cpobjectcontroller_set_entity_name_from_code
...
Fixed: Setting entity name from code does not work
2016-04-06 18:15:23 -07:00
Alexandre Wilhelm
5c58552d91
Merge pull request #2438 from mrcarlberg/cppopupbutton_binding_select_is_done_before_content
...
Fixed: First popup item is always selected if selected binding value is set before content binding value
2016-04-06 18:14:53 -07:00
Antoine Mercadal
43a2480699
Merge pull request #2430 from herbatnik/master
...
FIXED: Cursor key binding methods do not fire in IE11 #2365
2016-04-06 08:35:14 -07:00
Martin Carlberg
699503042f
Fixed: First item is always selected if selected binding value is set before content binding value.
...
Test case is provided.
2016-04-05 23:22:29 +02:00
Martin Carlberg
c24c3868bb
Merge pull request #2434 from Dogild/TrackingAreaTableViewHeader
...
Fixed: crash when having a CPTableViewHeader without a CPTableView
2016-04-05 19:49:27 +02:00
Martin Carlberg
480a125a20
Fixed: When setting entity name from code the _managedProxy will be null and the name will not be stored
2016-04-05 18:43:32 +02:00
Antoine Mercadal
598a6ebaed
Merge pull request #2278 from cacaodev/CPAnimationContext
...
Animations: CPAnimationContext & animator
2016-04-04 09:57:55 -07:00
Alexandre Wilhelm
185ad5e747
Fixed: crash when having a CPTableViewHeader without a CPTableView
...
Previously, when having a CPTableViewHeader without a CPTableView, cappuccino just crashed.
We now check if _tableView is set before iterating on the tableview's columns.
2016-04-04 06:48:26 -07:00
Marek Kresnicki
f0e736962d
FIXED: Cursor key binding methods do not fire in IE11 #2365
2016-03-21 11:23:51 +00:00
Alexandre Wilhelm
b12d1491d4
Merge pull request #2415 from cacaodev/CPViewController-loadviewAsynchronously
...
NEW: CPViewController -loadViewAsynchronously:(Function/*view, error*/)
2016-03-20 19:40:20 -07:00
cacaodev
a1248db3e7
CPSearchField: use CPMenuItem -setIndentationLevel: now that it's available.
2016-03-13 16:09:27 +01:00
cacaodev
6fd2d12d3f
Merge remote-tracking branch 'cappuccino/master' into CPAnimationContext
2016-03-12 23:29:46 +01:00
Aparajita Fishman
96d2b001ea
Merge branch 'tableview-edit-fix'
2016-03-08 15:04:55 -08:00
Alexandre Wilhelm
310c0e8379
Merge pull request #2423 from mrcarlberg/cpobject_controller_extension
...
Allow CPObjectController to get more attributes from the xib/cib file.
2016-03-06 18:20:51 -08:00
Martin Carlberg
f0dbffe4f8
Fixed: Formatting
2016-03-06 11:14:22 +01:00
Martin Carlberg
808591df56
Fixed: Allow CPObjectController to get more attributes from the xib/cib file.
2016-03-01 21:40:00 +01:00
cacaodev
d3dab982a1
Remove ignored argument _ in CPColorPanel
2016-02-07 11:54:16 +01:00
cacaodev
2f6adbae3c
Documentation for -loadViewWithCompletionHandler:
...
Also clarified a note in -loadView doc.
2016-02-07 11:19:26 +01:00
cacaodev
ccdc1eed5a
Rename to loadViewWithCompletionHandler:
2016-02-07 11:17:53 +01:00
cacaodev
65dee154f7
Remove ignored argument _
2016-02-06 20:39:49 +01:00
cacaodev
0327f6b1ea
Merge remote-tracking branch 'cappuccino/master' into CPArray-arrayByApplyingBlock-replace
2016-02-04 21:46:10 +01:00
Aparajita Fishman
8908fb7ee0
Merge pull request #2414 from didierkorthoudt/CPTrackingArea-fixes2
...
FIXED: CPTrackingArea incorrect handling of view hierarchy updates while processing events
2016-01-23 07:02:03 -08:00
Didier Korthoudt
2877178b34
Formatting: following Aparajita's recommandations
2016-01-21 20:46:37 +01:00
Didier Korthoudt
b3d8180541
FORMATTING: added comment to workaround
2016-01-21 00:10:38 +01:00
Didier Korthoudt
3411c340ab
FIXED: incorrect view hierarchy update
2016-01-20 23:50:22 +01:00
Didier Korthoudt
4482089712
FIXED: corrected replaceSubview parameters order
2016-01-20 22:08:10 +01:00
cacaodev
d547d04277
NEW: CPViewController -loadViewAsynchronously:(Function/*view, error*/)
...
with manual test CPViewControllerTest
2016-01-20 11:54:02 +01:00
Aparajita Fishman
8f1191733b
Fixed race condition when editing table cells
...
Previously, when double-clicking on a table cell to edit it, there was a possibility of a race condition. A refresh of the display was requested, then the run loop was passed through once. But it was possible for the display refresh to not be queued when the run loop was passed through, in which case the refresh would cancel the editing. Or at least I think that's what was happening. ;-)
This commit (hopefully) eliminates the race condition by synchronously refreshing the layout and display.
Made some miscellaneous formatting fixes as well.
2016-01-19 23:12:11 -08:00
Antoine Mercadal
00bdbcf857
FIXED: only set a content view of CPBox if it is not a separator
2016-01-19 16:10:31 -08:00
Antoine Mercadal
bf8070c42d
Revert "FIXED: Bug introduced by https://github.com/cappuccino/cappuccino/commit/9fba72cbab42145dc585c01efd82ce645373c04e#diff-227ef108401c2160357ae3fc65018c65R620 "
...
This reverts commit ad48381744 .
2016-01-19 16:08:59 -08:00
Antoine Mercadal
ad48381744
FIXED: Bug introduced by https://github.com/cappuccino/cappuccino/commit/9fba72cbab42145dc585c01efd82ce645373c04e#diff-227ef108401c2160357ae3fc65018c65R620
...
The changes in CPBox were messing with the subviews encoding. This patch restores the previous behavior of CPBox.
The original bug might be reintroduced, but this was definitly not the good solution
2016-01-19 13:26:10 -08:00
Didier Korthoudt
0f30d7744d
FIXED: CPTrackingArea incorrect handling of view hierarchy updates while processing events
2016-01-19 07:07:45 +01:00
cacaodev
095a978120
Replace loops with arrayByApplyingBlock:
2016-01-17 20:54:43 +01:00
Alexandre Wilhelm
9fba72cbab
Fixed: nib2cib on a NSBox fails when having a CPTableView in it
...
Previously, when having a CPTableView in a CPBox, nib2cib failed due to a superview not defined yet. This was raised because in nib2cib we used the method setFrame on the CPBox to modify the frame of the CPBox (we need to modify this frame because the sizing difference between cappuccino and cocoa). We now directly modify the attribute _frame from the object and update the bounds in the same time.
This PR fixed another bug as well. Previously the contentView of the CPBox was not encoded, we now encode it. This allows us to get a full CPView object for the contentView, previously we got a weird (I have no idea how this object was created though...) object CPView with some missing attributes. This raised a crash because _trackingAreas or _themeState were not defined in this object.
Fixed #2400
2015-12-28 17:58:10 -08:00
Aparajita Fishman
932b825818
Merge pull request #2395 from didierkorthoudt/CPTrackingArea
...
Implementation of CPTrackingArea
2015-12-21 15:23:51 -08:00
Didier Korthoudt
2ab50c6b61
code style fixed
2015-12-20 09:29:54 +01:00
Didier Korthoudt
d7426f6d35
Several fixes
2015-12-19 21:56:27 +01:00
Didier Korthoudt
8f15266f0a
delayed cursorUpdates modification
2015-12-17 21:48:27 +01:00
Didier Korthoudt
2a7c50d356
events-during-drag-fix
2015-12-15 15:09:19 +01:00
Didier Korthoudt
05bca368c2
several-fixes
2015-12-10 18:29:34 +01:00
Didier Korthoudt
7089abcef2
missing-fix
2015-12-08 22:41:18 +01:00
Didier Korthoudt
e6148a97a3
_CPWindowView-fix
2015-12-08 18:33:27 +01:00
Didier Korthoudt
9e40033a92
skipped-fix
2015-12-07 15:13:31 +01:00
Didier Korthoudt
08d4e19851
various-fixes
...
Following @aparajita indications
2015-12-07 14:58:42 +01:00
Didier Korthoudt
dcc0768411
Unit-test+fix
2015-12-05 20:14:24 +01:00
Didier Korthoudt
f14062c721
Style-fixes
2015-12-03 20:44:34 +01:00
Didier Korthoudt
a649a6ebac
CIB-fix
...
For some (yet unknown) reason, when declaring a view with tracking area
in a CIB, there’s some weird things happening that try to use the
_trackingAreas array when it’s not yet initialized… So, replacing
_trackingAreas.length by [_trackingAreas count] resolves the problem.
2015-12-02 00:03:59 +01:00
Didier Korthoudt
634a8b4532
cocoadev-fix
2015-12-01 21:16:02 +01:00
Didier Korthoudt
f3709a41e3
removeAllTrackingAreas
2015-12-01 21:06:55 +01:00