jeffwi
abe3fe2429
show the help if there are no input files ( #609 )
2014-04-10 09:17:35 -07:00
Jeff Williams
b7782fc151
Merge pull request #617 from cdparks/fix-excludes
...
Fix for #616 , making excluded-filepaths play nicely with -r
2014-04-09 16:52:32 -07:00
jeffwi
933db9f032
handle Esprima parse errors more gracefully ( #625 )
2014-04-09 16:50:47 -07:00
Christopher D. Parks
40d5a352bb
Adding test for fix
...
Without the fix, we get the following when running ./jsdoc -T:
Failures:
jsdoc/src/filter Filter isIncluded
1) should be able to exclude descendants of excluded subdirectories
Message:
Expected 4 to be 2.
Stacktrace:
undefined
2) should be able to exclude descendants of excluded subdirectories
Message:
Expected 1 to be -1.
Stacktrace:
undefined
3) should be able to exclude descendants of excluded subdirectories
Message:
Expected 3 to be -1.
Stacktrace:
undefined
Finished in 6.696 seconds
849 tests, 2050 assertions, 3 failures
This test passes with the fix.
2014-04-07 10:44:21 -07:00
Jeff Williams
cd639a5c18
bump revision
2014-04-07 08:48:53 -07:00
Jeff Williams
62406412b6
walk children of ES6 nodes ( #555 )
...
For now, the node visitor discards these and logs a warning.
2014-04-07 08:47:51 -07:00
Jeff Williams
f454e8ad35
log warnings by default
2014-04-07 08:44:02 -07:00
Jeff Williams
8a2ca0f37a
update Esprima
...
includes fixes for:
- https://code.google.com/p/esprima/issues/detail?id=526
- https://code.google.com/p/esprima/issues/detail?id=527
2014-04-07 08:43:36 -07:00
Jeff Williams
a61cf5cc8a
WIP for walking ES6 nodes (accidental commit)
2014-04-07 08:43:15 -07:00
Jeff Williams
c15f905ee4
remove an obsolete Esprima config setting
2014-04-06 09:02:52 -07:00
Jeff Williams
e72f1663b1
use Esprima's harmony branch ( #555 )
2014-04-06 08:57:27 -07:00
Jeff Williams
92602c82a1
fix type-expression parsing issue ( #619 )
...
In record types, we can now parse property names that start
with a keyword (for example, `undefinedHTML`).
2014-04-05 13:36:27 -07:00
Jeff Williams
a476aef10b
correct title for "Attributes" column ( #618 )
2014-04-04 08:58:47 -07:00
Christopher D. Parks
c5a24af559
We should compare filepath with excluded path using "starts-with" because the filepath may be a child of the excluded path
...
This makes the excludes array work when using -r
2014-04-03 11:43:24 -07:00
Jeff Williams
003099a0a8
bump revision
2014-03-31 09:17:43 -07:00
Jeff Williams
50cd99fa2f
handle lends tag without adding a dummy name ( #611 )
2014-03-31 09:09:04 -07:00
Jeff Williams
c5e5b04f94
bump revision
2014-03-30 22:08:14 -07:00
Jeff Williams
3e4e48accd
attach inline type annotations to function params ( #611 )
...
includes a new Rhino jar: jsdoc3/rhino@bb2446ad
2014-03-30 22:01:04 -07:00
Jeff Williams
8df4472a2d
set the correct longname when the doclet's name starts with the namespace's name ( #608 )
...
plus some cleanup
2014-03-27 15:12:24 -07:00
Jeff Williams
65b2fd6499
fix typo; cleanup
2014-03-27 14:42:54 -07:00
Jeff Williams
a2512832a7
remove obsolete text fixtures
2014-03-27 14:39:17 -07:00
Jeff Williams
3242a5de52
fancy new Travis CI badge
2014-03-27 08:26:04 -07:00
Jeff Williams
40733507a1
bump revision
2014-03-26 21:19:22 -07:00
Jeff Williams
778ea31bd6
DRY out
2014-03-26 21:19:08 -07:00
Jeff Williams
463065d996
clean up tests
2014-03-18 22:02:58 -07:00
Jeff Williams
8128dc5335
handle default values that are array literals ( #604 )
...
plus some test cleanup
2014-03-18 10:16:41 -07:00
Jeff Williams
cd6c89ec10
re-enable default values that are object literals ( #607 )
2014-03-18 10:00:16 -07:00
Jeff Williams
3ec52a3a35
bump revision
2014-03-16 20:01:40 -07:00
Jeff Williams
3b5db81d92
fix closures with multiple lends tags ( #569 )
...
There were three separate problems here:
1. The visitor called `trackVars` at the wrong time for `AssignmentExpression` and `VariableDeclarator` nodes, which prevented JSDoc from setting the `funcscope` property correctly.
2. The `funcscope` property was being added to `VariableDeclarator` nodes. It should only be added to `AssignmentExpression` nodes.
3. We were trying to resolve the variable name `____` in `AssignmentExpression` nodes. This is a special value we add to the source code so that the `lends` tag will work, and it should never be resolved against the enclosing scope.
The previous, buggy behavior looked reasonable in most cases, but it didn't work for closures that contain multiple `lends` tags.
2014-03-16 19:58:34 -07:00
Jeff Williams
c6fd086f4b
comment
2014-03-16 19:38:03 -07:00
Tim Popham
c1617b8e1f
Add "Mixins" to module view
2014-03-14 12:50:49 -07:00
Jeff Williams
f9e36811ae
add links to 3rd-party templates; update copyright
2014-03-12 09:26:38 -07:00
Jeff Williams
2c1d466b83
fix Rhino crash on EmptyStatement nodes ( #597 )
...
Rhino commit: jsdoc3/rhino@b5607c5e6f
2014-03-06 20:53:01 -08:00
Jeff Williams
36832c8fec
bump revision
2014-03-04 13:48:15 -08:00
Jeff Williams
49ad746e49
trailing whitespace cleanup
2014-03-04 13:47:57 -08:00
Jeff Williams
dd27185ad9
fix issues with doclet names that are filepaths ( #590 )
...
Prior to this fix, if a file was outside of the JSDoc
directory, and your code included something like a
`@file` tag, we would set the doclet's name to the
entire filepath instead of the shortened filepath.
With this fix, we set the name to the shortened
filepath.
2014-03-04 12:31:09 -08:00
Jeff Williams
72b595143c
enable trailing-whitespace check
2014-03-03 07:43:12 -08:00
Jeff Williams
48e6c392d5
huge whitespace cleanup
...
- remove all trailing whitespace
- for consistency, replace all tabs with spaces
2014-03-03 07:43:01 -08:00
Jeff Williams
0a05ede45c
whitespace
2014-03-02 19:20:51 -08:00
Jeff Williams
dda4e00f88
bump revision
2014-03-02 16:33:34 -08:00
Jeff Williams
ab9ca215a1
exclude subdirectories of included directories ( #484 )
2014-03-02 16:30:30 -08:00
Jeff Williams
e095462a57
delint
2014-03-02 16:13:59 -08:00
Jeff Williams
fb63fb8daa
whitespace
2014-03-02 15:41:27 -08:00
Jeff Williams
39daa9ab23
hide source location if outputSourceFiles is false ( #571 )
...
revised fix to address the regression in #592
2014-03-01 08:18:08 -08:00
Jeff Williams
3caf49520d
Revert "hide source location if outputSourceFiles is false ( #571 )"
...
Caused regression #592 .
This reverts commit 8a50d1f064fc719e4099faf426d81e45690f07fd.
2014-03-01 08:09:43 -08:00
Jeff Williams
60c7c8a606
add debugging properties to AST nodes ( #589 )
2014-02-26 08:31:53 -08:00
Jeff Williams
2442df893d
allow newDoclet event handlers to modify doclets ( #584 )
2014-02-23 20:34:38 -08:00
Jeff Williams
4e3e4a0151
fix lends tag inside nested function calls ( #565 )
...
plus some minor test cleanup
2014-02-23 20:16:16 -08:00
Jeff Williams
ec93145550
fix the lends tag inside of closures ( #573 )
2014-02-23 09:36:59 -08:00
Jeff Williams
2a61c9f613
oops, forgot to commit a new test fixture ( #574 )
2014-02-16 09:35:27 -08:00