Antoine Mercadal
5acc15ea9e
Merge https://github.com/jivadevoe/cappuccino into pr-1545
2012-06-12 11:45:34 -07:00
Malte Tancred
52fff2056b
Fixed code standard issues.
2012-06-12 17:44:17 +02:00
Alexander Ljungberg
2a955884b8
Fix header.
2012-06-11 13:14:00 +01:00
Alexander Ljungberg
ad5403b538
Setting the shadow style just once will do.
2012-06-11 13:13:36 +01:00
cacaodev
4daef7fc07
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-06-10 08:57:30 +02:00
Alexander Ljungberg
f538cbc51d
Re #1560 . Remove obsolete function.
2012-06-10 01:18:56 +01:00
Alexander Ljungberg
e232b18b94
Merge pull request #1560 from mrcarlberg/cappuccino
...
---
I needed to sort a lot of objects and was not impressed by the speed.
Sharing my improvements...
2012-06-10 01:00:40 +01:00
Alexander Ljungberg
fcf62080d6
Re #1562 . Make native comparison more realistic.
...
This might have a small speed implication.
2012-06-10 00:59:08 +01:00
Alexander Ljungberg
58103ce0f3
Re #1562 . Also performance test selector sort.
...
It looks like issue #1560 will cause a different sorting function to be used for selectors vs descriptors so performance of both should be monitored for regressions.
2012-06-10 00:58:27 +01:00
Alexander Ljungberg
0827f584be
Re #1562 . Simplify.
2012-06-10 00:39:37 +01:00
Alexander Ljungberg
f042996e7f
Re #1562 . Only load sort text for tests which use it.
2012-06-09 23:16:52 +01:00
Alexander Ljungberg
7b307a6fb4
Re #1562 . Format code.
2012-06-09 23:08:27 +01:00
Alexander Ljungberg
bb8a7bacdc
Merge pull request #1562 from cacaodev/cappuccino
...
---
for random numeric array and text array.
2012-06-09 16:49:23 +01:00
Martin Carlberg
0696b22971
Fixed formatting
2012-06-08 20:18:22 +02:00
Martin Carlberg
d7ff93f7f2
SortUsingDescriptors: Using the selector in the descriptor instead of always using compare:
2012-06-08 19:48:39 +02:00
cacaodev
0483f9d714
CPArrayPerformanceTest: fixed native sort testing, added tests for random numeric array and text array
2012-06-08 18:19:37 +02:00
Malte Tancred
56c0f7f6f1
Create support sources folder if necessary.
...
Make sure the the xCodeSupport/Sources folder is always
present. The objj tool will fail if it's missing.
The Sources folder could be missing if it's not checked
into a repos for example.
2012-06-08 13:21:47 +02:00
Martin Carlberg
dc30092b60
A very fast sortUsingDescriptors:
...
I needed to sort a lot of objects and was not impressed by the speed.
Sharing my improvements...
2012-06-07 23:25:58 +02:00
cacaodev
25a4a00b16
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-06-07 15:08:51 +02:00
aparajita
7ccd6f842b
Merge pull request #1557 from cacaodev/CPTableView-selectedColumn-typo
...
CPTableView -selectedColumn : missing return statement
2012-06-06 08:08:23 -07:00
cacaodev
299a664b9c
CPTableView -selectedColumn : missing return statement
2012-06-06 14:24:28 +02:00
Alexander Ljungberg
0ed398310f
Merge branch 'master' of github.com:cappuccino/cappuccino
2012-06-02 13:19:13 -07:00
Alexander Ljungberg
55709cb83a
Test CPDate testInitWithString with a date prior to 1970.
...
This verifies that there are no problems with negative time intervals.
2012-06-02 13:18:58 -07:00
Alexander Ljungberg
d0c7796e7c
Match CPDate distantPast and distantFuture with Cocoa.
2012-06-02 13:17:34 -07:00
aparajita
544dff205d
Merge pull request #1556 from cacaodev/CPDate-referenceDate
...
CPDateReferenceDate should be 'Jan 1 2001' instead of 'Feb 1 2001'
2012-06-02 12:41:46 -07:00
Alexander Ljungberg
25763962b2
Code formatting.
2012-06-02 11:53:04 -07:00
Alexander Ljungberg
fc858933be
Re #1556 . Make CPDate testSince1970 agree with new reference date.
2012-06-02 11:32:19 -07:00
Alexander Ljungberg
6877aaaf61
Re #1556 . Unit test CPDate dateWithTimeIntervalSinceReferenceDate:.
2012-06-02 11:27:19 -07:00
Alexander Ljungberg
e4ab1256da
Merge pull request #1556 from cacaodev/cappuccino
...
---
See <https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSDate_Class/Reference/Reference.html#//apple_ref/occ/clm/NSDate/dateWithTimeIntervalSinceReferenceDate :>
2012-06-02 11:23:22 -07:00
cacaodev
f2dd6b5dce
CPDateReferenceDate should be 'Jan 1 2001' instead of 'Feb 1 2001'
2012-06-02 19:38:34 +02:00
Blair Duncan
eeceaa0c9b
unlite if mouse is moved off and cursor up hilites last item if none
2012-06-01 20:17:09 -04:00
Alexander Ljungberg
bc79d57712
Clean up.
2012-05-27 22:21:11 +01:00
cacaodev
36bbab1d84
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-05-27 22:29:39 +02:00
Blair Duncan
59b6ddc29e
Merge branch 'autosaveTableColumnsFix' of github.com:BlairDuncan/cappuccino into autosaveTableColumnsFix
2012-05-26 22:23:49 -04:00
Blair Duncan
f04032aa97
added updated test file to show bug that this fixes
2012-05-26 22:19:34 -04:00
Blair Duncan
96cba7281a
removed unnecessary comment and updated test file
2012-05-26 22:13:22 -04:00
aparajita
954ec26e80
Merge pull request #1551 from ggsato/subclassingDocController
...
fixed shared CPDocumentController instantiation and added its test
2012-05-26 12:44:18 -07:00
cacaodev
63e8c732cc
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-05-26 08:04:10 +02:00
cacaodev
086c0e6ef0
Merge remote-tracking branch 'upstream/master' into CPTableView-content-binding
2012-05-26 08:03:56 +02:00
ggsato
fabe1d8991
formatting and now subclassing is tested by Open a document
2012-05-26 11:08:57 +09:00
Antoine Mercadal
02b65e6dfb
Fix a bug in Nib2Cib.j when configInfo is null
2012-05-25 18:06:05 -07:00
Alexander Ljungberg
aa546374f3
Fixed: typo in aa4eff9.
2012-05-26 00:22:23 +01:00
Alexander Ljungberg
288ec78c3e
Fixed: split view autosave.
...
The fix to prevent incorrect autosaving prevented correct autosaving as well.
2012-05-26 00:04:12 +01:00
Martin Carlberg
2f875615a2
Removed hardcoded width in disclosure button
2012-05-25 11:14:43 +02:00
Martin Carlberg
49adcd85fc
Removed useless space after capp_lint warning
2012-05-25 10:54:10 +02:00
Martin Carlberg
8e785c2210
Removed set and get methods and blank line before if added.
2012-05-25 10:47:07 +02:00
ggsato
310422adb1
Added another way to subclass CPDocumentController
2012-05-25 17:09:31 +09:00
ggsato
0dbebf2f04
Added another way to subclass CPDocumentController
2012-05-25 16:54:10 +09:00
Alexander Ljungberg
46aabf0ea2
Code formatting.
2012-05-25 01:12:57 +01:00
Alexander Ljungberg
1a14ef2418
Fixed: capp_lint handling of string literals with escapes.
...
This could cause capp_lint to warn about what it perceived as code inside of string literals if the string literal ended with an escaped backslash.
2012-05-25 01:07:35 +01:00