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
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
Didier Korthoudt
76ab5fbf78
CPControl-fix
2015-11-30 09:07:33 +01:00
Didier Korthoudt
c0b0c74638
CPTableHeaderView-fix
2015-11-30 05:49:11 +01:00
Didier Korthoudt
6c0b771758
CPSplitView-fix
2015-11-29 21:54:36 +01:00
Didier Korthoudt
2f983fc305
optimization
2015-11-29 15:37:33 +01:00
Didier Korthoudt
924b994df2
First updateTrackingAreas implementation
2015-11-21 17:25:43 +01:00
Didier Korthoudt
b10de5e82c
Code-refactoring
2015-11-21 09:20:28 +01:00
Didier Korthoudt
e1daf9467c
Code-style-fixes
2015-11-19 06:13:18 +01:00
Didier Korthoudt
8d058a53fd
CursorUpdate management + various fixes
2015-11-08 12:06:13 +01:00
Didier Korthoudt
d864ae9fef
Code style
2015-11-07 07:07:14 +01:00
Didier Korthoudt
f1eeb61264
Fix: log traces removal
2015-11-06 15:05:34 +01:00
Didier Korthoudt
1418dd8b29
First submit for CPTrackingArea
2015-11-06 14:09:23 +01:00
cacaodev
5e94aaa2cb
Merge pull request #2391 from zittix/fix_initial_cptabview_selection
...
Fixed: default selection of a CPTabView item
2015-11-02 09:25:04 +01:00
Martin Carlberg
b929a8fe2e
Merge pull request #2389 from mrcarlberg/faster_theme_attribute
...
Faster theme attribute handling
2015-11-01 20:42:13 +01:00
Martin Carlberg
8c2f0bacf1
Merge pull request #2384 from mrcarlberg/even_faster_objj_msg_send
...
Speedup of the Cappuccino framework by more efficient objj_msgSend
2015-11-01 20:39:18 +01:00
Alexandre Wilhelm
0bc02de012
Fixed: method loadCibNamed:(CPString)aName owner:(id)anOwner is broken
...
Previously, the method CPBundle loadCibNamed:(CPString)aName owner:(id)anOwner was broken, it loaded the cib asynchronous instead of synchronous. This was due to bad refactoring of a previous commit refs#c5b250236fa662e3da04e442f4414f95d64d9308
This PR refactor this piece of code and make works the method synchronous as it should.
More information here : https://github.com/cappuccino/cappuccino/commit/c5b250236fa662e3da04e442f4414f95d64d9308#commitcomment-14109453
2015-11-01 08:57:06 -08:00
Alexandre Wilhelm
6c4d55622b
Fixed: travis was broken because variable named char
2015-10-31 18:09:53 -07:00
Alexandre Wilhelm
e214bf3581
Refactoring: refacroting of the method charPositionOfString:(CPString)aString withFont:(CPFont)aFont forPoint:(CGPoint)aPoint refs#78e29d2bbfe43f5a8bda2e65d974f7effb8fcbd4
2015-10-31 14:50:41 -07:00
Alexandre Wilhelm
78e29d2bbf
Fixed: position of cursor in a CPTextField was wrong when becoming firstResponder
...
Previously, when a CPTextField became firstResponder, the cursor was always set at the first position. Now it position it at the expected location.
2015-10-31 12:31:49 -07:00
Martin Carlberg
3240d6f11a
Fixed: Added TODO comments that deprecated use should be remove in future release
2015-10-30 11:20:51 +01:00
Antoine Mercadal
d5f38fe2f2
Merge pull request #2392 from Dogild/RunLoopBlock
...
New: added the method performBlock in CPRunLoop
2015-10-27 17:36:22 -07:00
Alexandre Wilhelm
d4b1680727
Fixed: new CPPLatformWindow did not have a platformPasteboard. copy and paste did not work for other platformWindow except the main one
2015-10-27 12:08:10 -07:00
Martin Carlberg
42c629ca45
Fixed: Use ’;’ instead of ’,’
2015-10-27 09:03:55 +01:00