Antoine Mercadal
d6961889fb
FIXED: Do not invoke sudo in install.sh for capp_lint
2014-04-21 11:14:57 -07:00
Antoine Mercadal
120ac31394
Merge pull request #2106 from Dogild/CappLintxCode
...
New: Integration of capp_lint in xCodeCapp
2014-04-21 10:52:18 -07:00
Alexandre Wilhelm
372372a0aa
Fixed: capp_lint doesn't handle protocol
...
Previously capp_lint didn't handle protocol. Now it does
Fixed #2060
2014-04-18 18:41:27 -07:00
Alexandre Wilhelm
cd19fc7c81
New: capp_lint is installed with jake install
...
Previously we had to install capp_lint separately from Cappuccino.
Now capp_lint will be installed with Cappuccino.
Before capp_lint was installed in /urs/local/bin/, now it is in /usr/local/narwhal/bin/.
2014-04-16 16:49:40 -07:00
Aparajita Fishman
17f07ee888
capp_lint will not flag CPRectEdge, more linking
2013-01-20 07:24:00 +07:00
Aparajita Fishman
7c831fa19d
capp_lint flags deprecated CPPoint/Rect/Size types/functions
...
- Changed to corresponding CG types/functions in all files
- Fixed some demo app bugs
2013-01-19 16:51:56 +07:00
Alexander Ljungberg
dfad18e047
New website location.
2013-01-19 02:11:37 +00: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
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
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
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
Aparajita Fishman
3eb4155489
Switched to /usr/bin/env bash for better cross-platform compatibility
2012-04-26 19:11:05 +02:00
Aparajita Fishman
e657e7a684
Make capp_lint use a single code base for command line and SublimeLinter
2012-04-26 18:14:06 +02:00
Alexander Ljungberg
5446bedfcc
Fixes #1519 . Fixed: capp_lint __init__ takes at least 2 arguments error.
...
Some SublimeLinter specific bits appear to have made it into the standalone capp_lint.
2012-04-26 16:02:41 +01:00
Aparajita Fishman
1e3c668c9b
Added instructions for using pre-commit hook
2012-04-24 10:37:40 +02:00
Aparajita Fishman
092cb01bb3
Added capp_lint to Tools
2012-04-20 11:57:18 +02:00