Jeff Williams
3f1ecac83a
never make AST nodes enumerable
2015-03-06 08:35:09 -08:00
Jeff Williams
3801e12c34
cleanup
2015-03-05 15:39:31 -08:00
Jeff Williams
9cd830383e
copy user-specified static files to the correct location when the output directory is an absolute path ( #939 )
2015-03-05 15:28:20 -08:00
Jeff Williams
4713925d78
correctly infer when the class tag contains a class description ( #935 )
...
Fixes a regression caused by f1354563965792b8dd183f5a5331f8fcc67ea319.
2015-03-05 15:08:22 -08:00
Jeff Williams
878115e1c1
autodetect string, boolean, and numeric default values of parameters ( #555 )
...
We ignore other types based on these assumptions:
1) It doesn't make sense to show variable identifiers, which may refer to (for example) module-private values that should not be documented.
2) If we tried to capture objects and arrays, we would have to iterate over them to see if they contain any variable identifiers, which would be a pain (and potentially confusing: "Why do some objects appear in the docs but not others?")
3) Most developers will not define complex default values in a function definition.
4) In many cases, object and array default values will be `{}` and `[]`, respectively, and usually those don't merit documentation.
2015-03-03 17:22:30 -08:00
Jeff Williams
e2b454512c
prevent a crash when only some parameters have default values ( #555 )
2015-03-02 09:00:09 -08:00
Jeff Williams
46cbd5c452
Merge pull request #928 from acbabis/patch-1
...
Make the commentsOnly plugin work correctly when a file contains no comments (#928 )
2015-03-01 18:01:48 -08:00
Jeff Williams
e00ea913cf
actually prevent a StringIndexOutOfBoundsException on empty comments ( #920 )
...
includes a new Rhino JAR: jsdoc3/rhino@1455d1a6
2015-02-28 13:28:55 -08:00
Jeff Williams
1c754e98f2
fix build breakage on Rhino parser
2015-02-27 16:08:55 -08:00
Jeff Williams
058cf91392
ignore SpreadElement nodes ( #555 )
2015-02-27 16:06:05 -08:00
Jeff Williams
96c8f6994d
handle ES 2015 rest parameters ( #555 )
...
As part of this commit, we automatically flag rest parameters as repeatable, even if the JSDoc comment doesn't identify the parameter as repeatable. As a result, it's difficult to document a rest parameter as though it were a normal parameter (should you want to do that for some reason). I may revert this piece if it generates complaints.
2015-02-27 14:39:20 -08:00
Jeff Williams
a243719fb2
cleanup
2015-02-26 16:05:22 -08:00
Jeff Williams
cc4ffc762e
update Espree and LICENSE file
2015-02-26 14:59:05 -08:00
acbabis
e99ecb5dd4
Works for no comments
2015-02-24 14:15:43 -07:00
Jeff Williams
65f307322a
resolve this correctly in chained class declarations within modules ( #894 )
2015-02-23 16:58:33 -08:00
Jeff Williams
fe04fa18f9
change ID for pure JS parser to 'js'; remove half-baked ability to use arbitrary parsers; test coverage
2015-02-23 09:14:42 -08:00
Jeff Williams
8ea7078d39
modify dumper.dump() to support multiple arguments; only define the dump() global in debug mode ( #812 )
2015-02-18 17:24:02 -08:00
Jeff Williams
f9073e6361
turn app global into a module, and use the module instead of the global ( #812 )
...
The `app` global remains available, since templates and plugins may rely upon it, but it's deprecated as of JSDoc 3.4.0.
2015-02-18 09:27:40 -08:00
Jeff Williams
bfa610682c
bump revision
2015-02-17 19:07:38 -08:00
Jeff Williams
ae94af0cd8
turn env global into a module, and use the module instead of the global ( #812 )
...
The `env` global remains available, since templates and plugins may rely upon it, but it's deprecated as of JSDoc 3.4.0.
2015-02-17 19:07:10 -08:00
Jeff Williams
ea773af2ed
allow Visitor instances to be created before Parser instances ( #923 )
2015-02-17 16:00:26 -08:00
Jeff Williams
17715c8434
attempt to prevent a StringIndexOutOfBoundsException on empty comments ( #920 )
...
jsdoc3/rhino@20e5d9b55a
2015-02-16 09:49:45 -08:00
Jeff Williams
8377c309e6
Merge pull request #916 from jviotti/910-disable-footer-date
...
Allow disabling footer date with includeDate template config (#910 )
2015-02-10 16:22:57 -08:00
Juan Cruz Viotti
254391e138
Allow disabling footer date with includeDate template config ( #910 )
2015-02-10 08:17:27 -04:00
Jeff Williams
034432a0e7
bump revision
2015-02-08 12:57:28 -08:00
Jeff Williams
ea1932e4fc
prevent crash on non-string default values ( #914 )
2015-02-08 12:54:49 -08:00
Jeff Williams
f92245794b
correctly handle classes that implement interfaces that extend other interfaces ( #909 )
...
The fix for this issue also introduces a regression; see jsdoc3/jsdoc#911 .
2015-02-06 08:49:04 -08:00
Jeff Williams
8d896db809
process implements tags before augments tags ( #906 )
2015-02-05 08:25:24 -08:00
Jeff Williams
028c65c037
in param/property names, cast default values that appear to be boolean/numeric ( #900 )
2015-02-02 16:24:17 -08:00
Jeff Williams
eadccea5d2
use a nested table for every param with properties, not just the first one ( #901 )
2015-02-02 08:24:28 -08:00
Jeff Williams
fdd7b31f94
don't convert boolean/number default values to strings ( #900 )
2015-02-01 13:35:37 -08:00
Jeff Williams
62f563d730
automatically treat const declarations as constants ( #555 )
2015-01-30 07:58:36 -08:00
Jeff Williams
2e1a209815
remove function names
2015-01-29 17:07:09 -08:00
Jeff Williams
09bddc4610
re-enable linting as part of npm test
2015-01-29 17:07:00 -08:00
Jeff Williams
456fff47dd
commit test fixture ( #897 )
2015-01-29 16:18:13 -08:00
Jeff Williams
80bce1db42
allow interfaces to augment other interfaces ( #897 )
2015-01-29 16:10:47 -08:00
Jeff Williams
930cc2c473
remove incorrect spec
2015-01-29 16:04:09 -08:00
Jeff Williams
fb4cb530e3
remove unnecessary guards
2015-01-29 15:33:35 -08:00
Jeff Williams
33cd4c5fbb
minor cleanup
2015-01-29 14:43:40 -08:00
Jeff Williams
cefe615263
remove branches that appear to be dead code
2015-01-27 16:58:03 -08:00
Jeff Williams
46c2227cc3
remove branches that appear to be dead code
2015-01-27 16:54:59 -08:00
Jeff Williams
25e7e63f59
flip more ES 2015 flags ( #555 )
2015-01-27 12:19:45 -08:00
Jeff Williams
4b4445fd9b
ignore template-related AST nodes ( #555 )
2015-01-27 09:02:12 -08:00
Jeff Williams
7ef0a401da
update supported ES 2015 features ( #555 )
2015-01-27 09:02:01 -08:00
Jeff Williams
04559dbe7d
switch from Esprima to Espree ( #555 )
2015-01-27 08:53:11 -08:00
Jeff Williams
efe34bde89
doc fix
2015-01-26 16:56:22 -08:00
Jeff Williams
e0ec38047b
correctly augment the inheritors of virtual doclets ( #893 )
2015-01-26 16:25:47 -08:00
Jeff Williams
b968ceaa94
Merge pull request #892 from TimothyGu/props-p-css
...
Remove margins for paragraphs in .props too
2015-01-25 13:39:13 -08:00
Jeff Williams
f963fb1266
update dev dependencies; remove linting from "npm test" because gulp-eslint is out of date
2015-01-25 09:45:10 -08:00
Timothy Gu
105bdfe467
Remove margins for paragraphs in .props too
2015-01-24 18:26:48 -08:00