cacaodev
8373ffbf10
Replace some direct ivar access with objj
2015-02-27 01:08:34 +01:00
cacaodev
0233dca884
FIXED: replace _segments[i] with [_segment objectAtIndex:i]
...
This will raise an out of bound exception if needed in the methods
whose documentation says it should.
2015-02-26 15:28:16 +01:00
cacaodev
c1a3162a54
FIXED: CPSegmentedControl uninitialized ivars
2015-02-26 15:28:15 +01:00
daboe01
fc2f5c3615
formatting
2015-02-26 05:55:04 +01:00
daboe01
3a5ac9df10
formatting
2015-02-26 05:53:37 +01:00
Alexandre Wilhelm
63f634af00
Merge pull request #2300 from ahankinson/fix-domserver-dead-code
...
Fixed: Remove unreachable code in CPDOMDisplayServer.h
2015-02-25 17:28:15 -08:00
Antoine Mercadal
9cb3eefdc4
Merge pull request #2319 from Dogild/TokenFieldkeyEquivalent
...
Fixed: CPApplication dispatch the event when having the auto complete menu of a CPTokenField opened
2015-02-25 11:34:44 -08:00
Antoine Mercadal
1c9e9da10f
Merge pull request #2315 from Dogild/CPTableView-ViewAtColumn
...
New: Added method viewAtColumn:row:makeIfNecessary: in CPTableView
2015-02-25 11:31:36 -08:00
Antoine Mercadal
71c0ba63ca
Merge pull request #2318 from cacaodev/CPTableView-columnbinding
...
FIXED: Exception when rows were removed in a table with binded columns.
2015-02-25 11:25:53 -08:00
Antoine Mercadal
c04d3b2ace
Merge pull request #2316 from Dogild/MethodSetNeedsLayout
...
New: added the method setNeedsLayout:
2015-02-25 11:23:45 -08:00
daboe01
e8497bb0cc
typing attributes fix
2015-02-25 20:20:48 +01:00
Alexandre Wilhelm
3430349dd1
Fixed: CPApplication dispatch the event when having the auto complete menu of a CPTokenField opened
...
Previously, the CPApplication dispatched the current event when having the auto complete menu of a CPTokenField opened.
This occurs weird behavior. For instance when hitting enter on the menu and having a default button, the action of the button was triggered.
Now, the CPTokenField handles the key enter when the autocomplete menu is opened.
2015-02-25 10:16:56 -08:00
daboe01
fa6a5f75af
fractional clicking support
2015-02-24 20:39:42 +01:00
daboe01
7b9eb4c87c
color well font panel sync
2015-02-24 20:22:03 +01:00
cacaodev
808411bc0b
FIXED: Exception when rows were removed in a table with binded columns.
...
Before this fix, the CPTableColumn binder was not correctly reloading
the table when the number of rows changed. Now we reload fully the
dataviews when the number of rows changes. If no rows are
inserted/deleted, there is an optimization: we just need to reload the
objectValues and leave the dataviews untouched.
With Test in Tests/AppKitCPTableViewTest.j
Fixes #2317
2015-02-24 16:15:20 +01:00
daboe01
c3ab510b57
fix copy paste of curly braces
2015-02-22 20:55:38 +01:00
Antoine Mercadal
cbc653be37
Merge pull request #2313 from Dogild/UnionDistinct
...
New: added KVC operators unionOfObjects, distinctUnionOfObjects, unionOfArrays, distinctUnionOfArrays, distinctUnionOfSets
2015-02-21 11:38:26 -08:00
daboe01
e9efe5bbb7
fix cornercases
2015-02-21 20:01:53 +01:00
daboe01
a7c234b272
smart copy paste
2015-02-21 15:14:50 +01:00
Alexandre Wilhelm
bb64d0dd54
New: added method needsLayout in CPView
2015-02-20 15:49:08 -08:00
Alexandre Wilhelm
f82b478a77
New: added the method setNeedsLayout:
...
This PR adds the possibility to layout or not a CPView.
Previously, once setNeedsLayout was called on a CPView, it wasn't possible to cancel the layout of the view.
Now we can as in cocoa. The method setNeedsLayout will still work (it calls the method setNeedsLayout: with YES).
UnitTests in Tests/AppKit/CPViewTest.j
2015-02-20 14:36:27 -08:00
Alexandre Wilhelm
2028642efe
Typo: removed console.error in CPTableView
2015-02-20 10:58:25 -08:00
Alexandre Wilhelm
9af9bd0c4c
New: Added method viewAtColumn:row:makeIfNecessary: in CPTableView
...
This PR adds the method viewAtColumn:row:makeIfNecessary: in CPTableView.
This method first attempts to return an available view, which is generally in the visible area. If there is no available view, and makeIfNecessary is YES, a prepared temporary view is returned. If makeIfNecessary is NO, and the view is not available, nil will be returned.
An exception will be thrown if row is an invalid row index and if column is an invalid column index.
The returned result should generally not be held onto for longer than the current run loop cycle. Instead they should re-query the table view for the row view.
UnitTests in Tests/AppKit/CPTableViewTests.j
2015-02-20 10:54:45 -08:00
Alexandre Wilhelm
662bf83a88
Typo: type in _CPCollectionKVCOperators
2015-02-17 14:42:23 -08:00
Antoine Mercadal
2d474ccbda
Merge pull request #2215 from Dogild/RetinaDisplayed
...
New: possibility to draw automatically in high DPI in canvas2D
2015-02-17 14:34:47 -08:00
Antoine Mercadal
cec746d632
Merge pull request #2312 from cacaodev/CPTableView-issue2310
...
Fix for CPTableView issue #2310 : wrong textcolor in unfocused table.
2015-02-17 14:32:45 -08:00
Alexandre Wilhelm
8371ac5b0d
New: added KVC operators unionOfObjects, distinctUnionOfObjects, unionOfArrays, distinctUnionOfArrays, distinctUnionOfSets
...
This PR adds the KVC operators unionOfObjects, distinctUnionOfObjects, unionOfArrays, distinctUnionOfArrays, distinctUnionOfSets for array and set.
Unit-Tests Tests/Foundation/CPKVCArrayTest.j
Unit-Tests Tests/Foundation/CPSetTest.j
2015-02-17 00:14:48 -08:00
cacaodev
f248788d14
Test for #2310 fix, CPTableView whitespace.
...
Note: It seems that CPThemeStateKeyWindow cannot be tested in the
console. A manual test with multiple windows and table views exists in
Manual/TableTest/OldTest/
2015-02-15 19:29:29 +01:00
cacaodev
bf202f25dd
Merge remote-tracking branch 'upstream/master' into CPTableView-issue2310
2015-02-15 18:44:32 +01:00
cacaodev
2d2472dbe9
FIXED: The firstResponder state of a table dataView was not correctly removed on dismiss. fixes #2310
2015-02-15 11:00:25 +01:00
Antoine Mercadal
3adfa3c2a8
Merge branch 'master' of https://github.com/cappuccino/cappuccino
2015-02-12 16:01:59 -08:00
Antoine Mercadal
bf05155c5e
[FIXED] Merge issues
...
During a previous merge the call to ..willDisplayView:.. and
…willRemoveView:.. for delegate methods were removed from CPTableView
and CPOutlineView
2015-02-12 16:01:38 -08:00
Antoine Mercadal
d50df6a6fc
Merge pull request #2306 from Dogild/WarningAppkit
...
Fixed: compilation warning for NSTableHeaderView.j
2015-02-12 15:58:42 -08:00
Antoine Mercadal
a2b38c8d05
Merge pull request #2307 from cacaodev/patch-1
...
CPTableView & CPTableHeaderView : style, typos, tabs.
2015-02-12 15:57:05 -08:00
Alexandre Wilhelm
d546da8b5f
Fixed: issue with scaling a view. The associated canvas now upadtes its size when having a zoom
2015-02-12 12:49:18 -08:00
Antoine Mercadal
7c60ffa88d
Merge pull request #2311 from Dogild/PopoverPosition
...
Fixed: CPPopover position does not update each time
2015-02-11 12:36:34 -08:00
Alexandre Wilhelm
6b235ab083
Fixed: CPPopover position does not update each time
...
Previously, when the frame of a superview of the targetedView would update, the popover did not update its position.
Now it does by observing each frame of each superviews of the targetedView.
2015-02-10 22:58:03 -08:00
Antoine Mercadal
7c4cdef66d
Merge pull request #2309 from Dogild/SegmentedControlNice
...
Fixed: CPSegmentedControl divider wrong color
2015-02-10 11:42:07 -08:00
Antoine Mercadal
c0a2da443a
Merge pull request #2308 from Dogild/InvalidDateCPDatePicker
...
Fixed: The CPDatePicker can take invalid date
2015-02-10 11:41:56 -08:00
Alexandre Wilhelm
e53658759b
Merge remote-tracking branch 'origin' into RetinaDisplayed
2015-02-09 18:03:29 -08:00
Alexandre Wilhelm
6dc4c1c03a
Fixed: CPSegmentedControl divider wrong color
...
Previously, when clicking on segment, the divider did not have the expected color. Now they does.
2015-02-09 17:56:23 -08:00
Alexandre Wilhelm
818c3b6092
Typo in CPDatePicker
2015-02-09 16:46:08 -08:00
Alexandre Wilhelm
6e5dee13e1
Fixed: The CPDatePicker can take invalid date
...
Previously, the CPDatePicker could get an invalid javascript date.
Now it will raise an exception when getting an invalidate date.
2015-02-09 16:44:59 -08:00
Alexandre Wilhelm
cae78622f6
Fixed comiling warning for the class CPTableHeaderView
2015-02-08 22:36:25 -08:00
cacaodev
c5db677663
Style, typos, tabs.
2015-02-08 21:07:27 +01:00
Alexandre Wilhelm
c6942daf74
Fixed: compilation warning for NSTableHeaderView.j
...
Previously, there was a warning when compiling the file NSTableHeaderView.j
2015-02-06 17:11:06 -08:00
Antoine Mercadal
ea644a2293
Merge pull request #2301 from krodelin/fix-setValue_forKey
...
Fixed: Wrong value parameter in CPObjectController>>setValue:forKey:
2015-02-06 16:00:30 -08:00
Antoine Mercadal
01e69ce2b0
Merge pull request #2303 from cacaodev/check-box-theming
...
FIXED: The text color of a checkbox inside a selected table row was black
2015-02-06 16:00:11 -08:00
Antoine Mercadal
187a017c4d
Merge pull request #2305 from Dogild/DuplicateTests
...
Fixed: Duplicate unit-tests
2015-02-06 15:58:27 -08:00
Antoine Mercadal
f9ce1d17c8
Merge pull request #1892 from cacaodev/CPTableView-enumerateRows
...
CPTableView formatting and fixes [+1]
2015-02-06 15:52:36 -08:00