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
Alexander Ljungberg
aa4eff9f8d
Format code, fix accidental global.
2012-05-25 00:04:46 +01:00
Alexander Ljungberg
9ffaf538e2
Remove unary + warning from capp_lint.
...
A statement like `x = +y;` actually does have an effect in JavaScript.
2012-05-24 23:58:01 +01:00
Alexander Ljungberg
2a21ce4a0c
Support function argument types in capp_lint.
...
Syntax such as function(/*CPString*/anArgument) {} should not generate a warning, and in general inline /**/ comments should be ignored for linting purposes.
2012-05-24 23:52:30 +01:00
Alexander Ljungberg
09d5957c82
Code formatting.
2012-05-24 23:40:15 +01:00
Alexander Ljungberg
2b8b570dd4
Fixed: capp_lint exponential warnings.
...
capp_lint issued warnings over numerical literals like 2.1e+6 even that they were correctly formatted.
2012-05-24 23:22:24 +01:00
Alexander Ljungberg
a7bee74fb0
Report the original line contents in capp_lint.
...
capp_lint does some preprocessing of lines to simplify the lint tests, but the user will expect the regular, non processed lines in the output.
2012-05-24 22:34:50 +01:00
Alexander Ljungberg
1f803f52d1
Add some illustrative capp_lint doctests.
2012-05-24 19:37:30 +01:00
Alexander Ljungberg
0d5b4d4958
Fixed: if linted text didn't end with a newline the last character would be ignored.
2012-05-24 19:26:05 +01:00
Alexander Ljungberg
24cce3ca8a
Make LintChecker().lint_text('<code>') possible.
...
Made LintChecker()'s "view" and lint_text's "filename" arguments optional. Filename will default to <stdin> like Python does when you pipe to it. Also return found errors from lint_text as a convenience.
2012-05-24 19:24:50 +01:00
ggsato
2a0ee14130
wrapped window.status clear statement
2012-05-25 01:52:09 +09:00
Alexander Ljungberg
e25394a322
Code formatting.
2012-05-24 17:10:46 +01:00
ggsato
ab1dc15393
moved types declaration
2012-05-24 23:58:59 +09:00
ggsato
3a750591bb
moved types declaration
2012-05-24 23:55:04 +09:00
ggsato
7da9877c5f
fixed shared CPDocumentController instantiation and added its test
2012-05-24 23:12:07 +09:00
Alexander Ljungberg
66ff5dcb86
Merge pull request #1550 from ggsato/cappuccino
...
---
This is a tiny little minor fix of MainMenu.xib template.
Before
https://www.dropbox.com/s/cqq8zhy8o2yof51/NibTemplate_Before.png
After
https://www.dropbox.com/s/78j95f1gl596vro/NibTemplate_After.png
2012-05-24 13:54:57 +01:00
ggsato
f50a6ea7a3
fixed menu labels by removing numbers at Identity Label
2012-05-24 18:09:17 +09:00
Adam Radabaugh
253d7497ef
Merge branch 'master' of git://github.com/cappuccino/cappuccino
2012-05-23 00:15:22 -06:00
Aparajita Fishman
1efc2e3c15
Fixed parsing in CGSizeFromString and CGPointFromString
2012-05-22 12:52:54 -07:00
Adam Radabaugh
909c6ed171
Fix style issue in CPControl
2012-05-19 16:56:57 -06:00
Aparajita Fishman
b4f916351e
Added capp_lint check for space inside parens and dependent statement on same line, cleaned up CPString.j
2012-05-19 14:20:07 -07:00
Adam Radabaugh
a47a5b76eb
Fix style issue in CPButton.j
2012-05-18 23:15:26 -06:00
Adam Radabaugh
919bfb7960
Fix style issue in CPControl
2012-05-18 17:11:04 -06:00
Antoine Mercadal
bc09c99952
Merge branch 'master' of https://github.com/cappuccino/cappuccino
2012-05-18 12:51:34 -07:00
Antoine Mercadal
28ccb27d4f
Merge branch 'cpstring_append_path_component_cocoa_way' of https://github.com/mrcarlberg/cappuccino into PR_mrcarlberg_cpstring_append_path_component_cocoa_way
2012-05-18 12:47:41 -07:00