Saikat Chakrabarti
c3d2decdec
Fix bugs with CPThemeAttribute encoding and decoding
2014-02-20 17:30:28 -08:00
Saikat Chakrabarti
d862d701f3
Add note to ThemeState object about it being private
2014-02-20 17:30:28 -08:00
Saikat Chakrabarti
883c4a185d
Some cleanup of CPSegmentedControl.j
2014-02-20 17:30:28 -08:00
Saikat Chakrabarti
7eb35ef33d
Clarify documentation for CPThemeState()
2014-02-20 17:30:28 -08:00
Saikat Chakrabarti
1563b0bf55
Get all tests to pass
2014-02-20 17:30:28 -08:00
Saikat Chakrabarti
bad731c86f
Fix subtracting theme states
2014-02-20 17:30:28 -08:00
Saikat Chakrabarti
5309cc5916
Change CPTheme implementation to fix how searching for a matching theme works
2014-02-20 17:30:28 -08:00
Saikat Chakrabarti
f8ef6ab397
Fix accidental semicolon
2014-02-20 17:30:27 -08:00
Saikat Chakrabarti
9e61991ad2
Fix bug when setting themeStates in a themeAttribute
2014-02-20 17:30:27 -08:00
Saikat Chakrabarti
c644e8a30f
Change CPTheme to be hash-backed to make it a bit faster
2014-02-20 17:30:27 -08:00
Saikat Chakrabarti
45a237af16
Handle null inputs for subtracting CPThemes.
2014-02-20 17:30:27 -08:00
Saikat Chakrabarti
0450fdb542
Get jaking working
2014-02-20 17:30:27 -08:00
Saikat Chakrabarti
7d304fbd51
First round of changes to change theming system to use arrays and not bitmasks as their underlying datatype
2014-02-20 17:30:27 -08:00
Antoine Mercadal
22ef6ca56a
Merge pull request #2067 from Dogild/DatePickerOneDigit
...
Fixed: Textual CPDatePicker issue with number of digit
2014-02-17 15:34:26 -08:00
Antoine Mercadal
4531b017b3
Merge pull request #2054 from cacaodev/CPPredicateEditor-dates
...
Fixed: support for dates (CPDatePicker) in CPPredicateEditor
2014-02-11 10:53:15 -08:00
Alexandre Wilhelm
8147f648a1
Fixed: Textual CPDatePicker issue with number of digit
...
Previously, the day/month/hour of the textual datePicker had always two digits, even when the number was under 10. For instance the day 8 was displayed 08.
Now it's like in cocoa, 8 is displayed 8.
Fixes #2059
2014-02-07 16:36:05 -08:00
Antoine Mercadal
1814f6b545
FIXED: Crash when clicking on an empty CPTableView with variable row height.
...
Previously, clicking anywhere in an empty CPTableView with variable row height was causing a crash due to the code trying to find the latest cached row height. This patch adds a check to ensure the last cached row height is not nil.
2014-01-23 12:56:39 -08:00
cacaodev
93b48ba973
Fixed: support for dates (CPDatePicker) in CPPredicateEditor
...
Before this commit, row templates and views belo,ging to them were copied via archiving/unarchiving.
This was causing problems when the view was not completely CPCoding compliant, like for CPDatePicker.
With this commit, template views use CPCopying (-copy method) when available.
Also added CPCopying for CPDatePicker as a category in CPPredicateEditor.
Test: in CPPredicateEditorTest, on the right panel, choose a keypath, operator, and select 'Dates' in the popup for the right expression.
Fixes #2041
2014-01-17 10:49:52 +01:00
Antoine Mercadal
047983d7bf
Merge pull request #2052 from Dogild/CPDatePickerRefactor
...
Fixed : CPDatePicker textual issues
2014-01-14 16:04:17 -08:00
Alexandre Wilhelm
ebccbf28a7
Fixed: issues with timeZone
...
This PR fixes several issues with the timeZone.
It also changes the way to "calculate" the date of the textual datePicker.
2014-01-14 15:12:10 -08:00
Antoine Mercadal
b6bd132066
Merge pull request #2037 from Dogild/protocolToolbar
...
New : Added protocol CPToolbarDelegate
2014-01-14 14:49:26 -08:00
Antoine Mercadal
3ce2f28303
Merge pull request #2036 from Dogild/protocolTabView
...
New : Added CPTabViewDelegate protocol
2014-01-14 14:48:59 -08:00
Antoine Mercadal
0d9cda8a85
Merge pull request #2035 from Dogild/protocolOutlineView
...
New : Added protocols CPOutlineViewDelegate and CPOutlineViewDataSource
2014-01-14 14:48:44 -08:00
Antoine Mercadal
f2decc09a5
Merge pull request #2034 from Dogild/protocolApplication
...
New : Added CPApplicationDelegate protocol
2014-01-14 14:48:31 -08:00
Antoine Mercadal
b1c55b23ee
Merge pull request #2033 from Dogild/protocolCollectionView
...
New: Added CPCollectionViewDelegate protocol
2014-01-14 14:48:14 -08:00
Antoine Mercadal
4622600ab0
Merge pull request #2031 from Dogild/protocolTableView
...
New : Added protocols CPTableViewDelegate and CPTableViewDataSource
2014-01-14 14:47:39 -08:00
Alexandre Wilhelm
8b975f50dd
Fixed : CPDatePicker textual issues
...
This PR fixes several issues about the textual CPDatePicker :
- Fixed the issue about keyView loop when not assigning the nextKeyView
- Changed the behavior of the component when editing or deleting the date. It works as in cocoa now.
- Fixed bug about frameSize of each component when editing
- Fixed bug about NaN or null values
- Added optimization
- Refactoring the code
2014-01-10 08:52:25 -08:00
Alexandre Wilhelm
68310bb479
Fixed: objectValueForTableColumn and numberOfRowsInTableView are required methods
2013-12-10 11:01:49 -08:00
Alexandre Wilhelm
fa3ebf2ca7
Fixed: CPAlertDelegate protocol does not implement CPObject protocol
2013-12-09 01:24:51 -08:00
Alexandre Wilhelm
d2bf2539b5
Fixed: CPApplicationDelegate protocol does not implement CPObject protocol
2013-12-09 01:24:03 -08:00
Alexandre Wilhelm
8a0acedc94
Fixed: CPCollectionViewDelegate protocol does not implement CPObject protocol
2013-12-09 01:23:14 -08:00
Alexandre Wilhelm
11e5cd4f84
Fixed: CPOutlineViewDelegate and CPOutlineViewDataSource protocol do not implement CPObject protocol
2013-12-09 01:22:05 -08:00
Alexandre Wilhelm
27fdb3116c
Fixed: CPTabViewDelegate protocol does not implement CPObject protocol
2013-12-09 01:21:01 -08:00
Alexandre Wilhelm
b9c0c89a24
Fixed: CPTableViewDelegate and CPTableViewDataSource protocol do not implement CPObject protocol
2013-12-09 01:20:11 -08:00
Alexandre Wilhelm
8078889a09
Fixed: CPToolbarDelegate protocol do not implement CPObject protocol
2013-12-09 01:19:04 -08:00
Alexandre Wilhelm
5dd4266ccc
New : Added protocol CPToolbarDelegate
...
This pr adds the protocol CPToolbarDelegate
Also, now, delegate methods are called as we are used to do it in Cappuccino.
2013-12-08 19:14:30 -08:00
Alexandre Wilhelm
7d14676bce
New : Added CPTabViewDelegate protocol
...
This PR adds the CPTabViewDelegate protocol
2013-12-08 19:01:50 -08:00
Alexandre Wilhelm
db113da121
New : Added protocols CPOutlineViewDelegate and CPOutlineViewDataSource
...
This PR add protocols CPOutlineViewDelegate and CPOutlineViewDataSource
2013-12-08 18:52:26 -08:00
Alexandre Wilhelm
5b2bfcef7d
New : Added CPApplicationDelegate protocol
...
This PR add the protocol CPApplicationDelegate
2013-12-08 18:42:50 -08:00
Alexandre Wilhelm
4d266f4ad2
New: Added CPCollectionViewDelegate protocol
...
This PR adds the protocol CPCollectionViewDelegate.
Also, now the delegate methods are called like we are used to do it in Cappuccino.
2013-12-08 18:35:52 -08:00
Alexandre Wilhelm
b81a325b28
Fixed : Remove unused method
2013-12-08 18:06:43 -08:00
Alexandre Wilhelm
09eca10eb6
New : Added protocol CPAlertDelegate
...
This PR adds the protocol CPAlertDelegate.
The delegate methods are called as we are used to in Cappuccino.
2013-12-08 18:01:06 -08:00
Alexandre Wilhelm
7b86465d7b
New : Added protocols CPTableViewDelegate and CPTableViewDataSource
...
This PR adds protocols CPTableViewDelegate and CPTableViewDataSource
Unit test in Tests/AppKit/CPTableViewTest.j
2013-12-08 17:48:41 -08:00
Alexander Ljungberg
b4cabc97d1
Merge pull request #1974 from mrcarlberg/protocol
...
Protocol support for Objective-J
2013-11-28 17:18:16 +00:00
Martin Carlberg
e511638962
Fixed: Cleaned up return and parameter types on methods.
2013-11-24 22:21:56 +01:00
Martin Carlberg
8419001810
Merge branch 'master' of https://github.com/cappuccino/cappuccino into protocol
2013-11-22 14:23:52 +01:00
Alexandre Wilhelm
e058d2e143
Fixed: when doubleClicking to open/close a sheet, issues with the parentWindow and the frameOrigin of the sheet
...
When opening a sheet, with a double click the frame origin of the sheet changed and the parent disappeared.
This PR fix this issue.
Test app in Tests/Manual/AttachedSheet/AppController.j
2013-11-21 17:42:43 -08:00
Antoine Mercadal
616f0c61ef
Fixed: Typo introduced in previous PR merge
2013-11-18 16:26:50 -08:00
Antoine Mercadal
d0ef8a2885
Merge pull request #2005 from adamsowinski/master
...
Fixes a bug with CPCursor push method.
2013-11-18 16:22:43 -08:00
Antoine Mercadal
985db21ed9
Merge pull request #1990 from spebbe/cpanimation_frame_rate
...
CPAnimation frame rate fixes.
2013-11-18 16:20:29 -08:00