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
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
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
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
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
Antoine Mercadal
ef4cd6a4a7
[NEW] --theme option for capp tool
...
This patch provides a new option to capp. You can do
```objj
capp gen [-f] [-l] -T CustomTheme1 -T CustomTheme2 MyProject
```
This will copy/symlink custom theme(s) from your CAPP_BUILD into the
current project’s `Resources` folder
2015-02-06 11:31:25 -08:00
Alexandre Wilhelm
6a1543cb82
Fixed: Duplicate unit-tests
...
Previously, some unit-tests had the same name in a test file. Now they have unique name.
2015-02-03 16:46:49 -08:00
cacaodev
32a73ad4b9
FIXED: The text color of a checkbox inside a selected table row was black.\n Now it is white. the text-color values match the CPTextField values for the same theme states
2015-01-28 14:45:35 +01:00
cacaodev
452e03b894
FIXED: remove observation in -init. It was already handled in -viewWillMoveToWindow:
2015-01-27 22:01:32 +01:00
cacaodev
01bdddaee4
Merge 34c7ded (CPSelectionHighlightStyleNone and mouse click)
2015-01-27 13:09:33 +01:00
cacaodev
f7c82b0920
FIXED : -startObservingFirstResponder: remaining renaming.
2015-01-27 13:04:45 +01:00
cacaodev
820eeb7752
_stopObservingFirstResponder -> _stopObservingFirstResponderForWindow:
2015-01-25 17:30:14 +01:00
cacaodev
2e25ef6f81
Merge remote-tracking branch 'upstream/master' into CPTableView-enumerateRows
...
Conflicts:
AppKit/CPTableHeaderView.j
AppKit/CPTableView.j
Tests/AppKit/CPTableViewTest.j
2015-01-25 17:25:32 +01:00
Udo Schneider
056a1f6a33
Fixed: Wrong value parameter in CPObjectController>>setValue:forKey:
2015-01-21 23:53:49 +01:00
Antoine Mercadal
a2c0b47908
Merge pull request #2297 from daboe01/datepicker-date-constraint
...
Fixed: CPDatePicker does not grey out dates outside of minDate and maxDate
2015-01-15 13:44:23 -08:00
Antoine Mercadal
f2528b5e9a
Merge pull request #2296 from ahankinson/fixed-inconsistent-DOM-method
...
Fixed: Inconsistent naming of CPDOMDisplayServerSetStyleBackgroundSize
2015-01-15 11:38:32 -08:00
Antoine Mercadal
02f301dae0
Merge pull request #2294 from ahankinson/fix-issue-2293
...
Fixed: CPStepper class method returns `id` instead of CPStepper type
2015-01-15 11:37:38 -08:00
daboe01
6c47fc9023
disable forbidden dates
2015-01-15 20:28:46 +01:00
Andrew Hankinson
f03adf727b
Fixed: Inconsistent naming of CPDOMDisplayServerSetStyleBackgroundSize
...
Previously the method `CPDOMDisplayServerSetStyleBackgroundSize` was named `CPDomDisplayServerSetStyleBackgroundSize`, which was inconsistent with the names of all other similar methods in the CPDOMDisplayServer.h file. This commit fixes this and updates all instances of its use in CPView.j.
2015-01-15 13:59:19 -05:00
Andrew Hankinson
77684dfe31
Merge branch 'refs/heads/master' into fix-issue-2293
2015-01-15 12:00:09 -05:00
Antoine Mercadal
ee688d9ae4
Merge pull request #2295 from Dogild/showCase-theme-collectionView
...
Fixed: showcase of themes are broken
2015-01-15 08:50:25 -08:00
Alexandre Wilhelm
9b16d3624e
Fixed: showcase of themes are broken
...
Previously the showcase of the themes were broken. This was due to a change of the CPCollectionView, previously we used to use the delegate collectionViewDidChange. This delegate method has been removed. We now use an observer on the selectionIndexes.
2015-01-14 17:15:37 -08:00