daboe01 and Alexander Ljungberg
c2534ae6da
unit-tests + simplification
2014-02-12 21:57:44 +00:00
daboe01 and Alexander Ljungberg
342ea97406
yet another minor fix
2014-02-12 21:57:43 +00:00
daboe01 and Alexander Ljungberg
6f66c06111
fixed one last minor glitch
2014-02-12 21:57:43 +00:00
daboe01 and Alexander Ljungberg
aaeffe61a6
editing fix
2014-02-12 21:57:43 +00:00
daboe01 and Alexander Ljungberg
f5daa96c8e
minor fix
2014-02-12 21:57:43 +00:00
daboe01 and Alexander Ljungberg
67fed5f3d7
fixing editing semantics
2014-02-12 21:57:43 +00:00
daboe01
067e6bf93d
formatting
2014-02-12 18:00:11 +01:00
daboe01
13dc31dc1f
formatting
2014-02-12 07:14:49 +01:00
daboe01
7f6bf21270
more formatting
2014-02-12 07:13:21 +01:00
daboe01
d647258856
formatting
2014-02-12 05:59:34 +01:00
daboe01
1eb7ed5e9c
formatting
2014-02-11 22:04:39 +01:00
daboe01
e78f1b05a7
formatting
2014-02-11 20:33:47 +01: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
Antoine Mercadal
101a03c38d
Merge pull request #2044 from krodelin/fix-CPNumber-numberWithBool
...
Fixed: CPNumber>>numberWithBool: breaks CPComparisonPredicate
2014-02-11 10:51:43 -08:00
daboe01
e45140b7ea
formatting
2014-02-10 21:28:25 +01:00
daboe01
41747a7a04
formatting
2014-02-10 21:25:56 +01:00
daboe01
e448430d8a
fix of circular imports
2014-02-10 21:07:57 +01:00
daboe01
394b1a1602
fix circular imports
2014-02-10 06:02:28 +01:00
daboe01
85abd5a8c3
eliminate warnings + style
2014-02-09 11:00:25 +01:00
daboe01
b9e0eb5b76
typos
2014-02-08 21:14:56 +01:00
daboe01
a8eae73b66
manual test
2014-02-08 20:46:04 +01:00
daboe01
9edd8d6f66
CPTextView commit
2014-02-08 20:43:15 +01: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
Carl Rosell
30b1fa9c5b
Docs: Added @class to make_headers documentation,
2014-02-05 10:05:58 +01:00
Carl Rosell
fa66c2692f
Fixed: Broken Documentation.
2014-02-05 09:29:25 +01: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
Udo Schneider
9d04ad5097
Merge branch 'refactor-locale' into fix-CPNumber-numberWithBool
2014-01-23 21:46:09 +01: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
Alexandre Wilhelm
1dc84f9b58
Fixed: issue with _dateWithTimeZone when timeZone is null
...
Fixed the private method _dateWithTimeZone when aTimeZone is null
2014-01-14 15:10:55 -08:00
Antoine Mercadal
35f3987803
Merge pull request #2048 from mrcarlberg/cpdateformatter_relative_dont_work_in_jan
...
Fixed: RelativeDateFormating didn't work in January
2014-01-14 15:01:28 -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
Antoine Mercadal
396358d4e5
Merge pull request #2032 from Dogild/protocolAlert
...
New : Added protocol CPAlertDelegate
2014-01-14 14:47:19 -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
daboe01
a1ea371c73
NEW: CPCoding for CPAttributedString
2014-01-10 12:26:52 +01:00
Martin Carlberg
acd5442246
Fixed: RelativeDateFormating didn't work in January and was inaccurate for some time intervals around when daylight saving time changed.
2014-01-09 17:16:05 +01:00
Udo Schneider
d176dd0623
Fixed: CPNumber>>numberWithBool: breaks CPComparisonPredicate
...
Commit df2be92 breaks CPComparisonPredicate if one side of the comparison is a property which returns a BOOL.
CPPredicateParser parses literal BOOLs (YES/NO) into 0/1 using CPNumber>>numberWithBool:. CPComparisonPredicate however does not cast a BOOL from a property using numberWithBool:. E.g.
[[YES,NO] filteredArrayUsingPredicate:[CPPredicate predicateWithFormat:'self = YES']]
used to return [true], now it returns [].
This fix addresses the issue by "typecasting" the lhs/rhs values to numbers using CPNumber>>numberWithBool: if they are of type boolean.
Fixes #2028
2013-12-27 18:30:15 +01:00
Alexandre Wilhelm
68310bb479
Fixed: objectValueForTableColumn and numberOfRowsInTableView are required methods
2013-12-10 11:01:49 -08:00
Alexandre Wilhelm
e822966464
Fixed: removed unused test case
2013-12-10 11:00:47 -08:00
Alexander Ljungberg
febce68bc8
Test: don't run Travis setup quietly to make it easier to track setup errors.
2013-12-09 17:13:43 +00:00
Alexander Ljungberg
fadffeedca
New: make bootstrap.sh use Github with SSL.
...
This is the default for Github now and accessing the old bare http URL just causes a redirect to https.
2013-12-09 17:12:52 +00:00
Alexander Ljungberg
2fc501fe59
Fixed: CPDateFormatter stringFromDate:"" did not return a default date.
...
In Cocoa formatting an empty string actually results in a particular date. For consistency we should handle an empty string the same way.
Refs #2030 .
2013-12-09 16:58:55 +00:00
Alexander Ljungberg
21aac76ba2
Fixed: CPDateFormatter getObjectValue: with nil errorDescription crash.
...
Like for all formatters, a nil errorDescription just means we don't care about the error description if there is an error.
Fixes #2030 .
2013-12-09 16:39:53 +00:00
Alexandre Wilhelm
fa3ebf2ca7
Fixed: CPAlertDelegate protocol does not implement CPObject protocol
2013-12-09 01:24:51 -08:00