1305 Commits

Author SHA1 Message Date
Jeff Williams
dcca9a4714 clean up constants exported by jsdoc/name 2014-07-03 12:35:56 -07:00
Jeff Williams
abfa24578c don't log an error when a comment only contains whitespace (#698) 2014-07-02 20:11:39 -07:00
Jeff Williams
5c59bc1488 fix a crash (and incorrect output) when a property has its own properties (#697) 2014-07-01 19:56:19 -07:00
Jeff Williams
19867a07b0 show mixins for members, not just classes and modules (#379) 2014-07-01 16:54:38 -07:00
Jeff Williams
6e940d275b do not show the default values for enums (#689) 2014-07-01 16:34:07 -07:00
Jeff Williams
8c66aef685 fix several template issues for modules (#522, #672)
- Show type info for modules that export something other than a class or a function. (#672)
- Do not duplicate the module description at the start of each page.
- Display the module description before the class description. (#522)
2014-06-30 20:55:57 -07:00
Jeff Williams
9c76d61834 document the Parser class as a static member of module:jsdoc/src/parser (#692) 2014-06-29 20:45:18 -07:00
Jeff Williams
fc929c9e88 bump revision 2014-06-29 17:12:21 -07:00
Jeff Williams
254c05fbf6 set the appropriate longname for function declarations in AMD modules (#685)
This is a hack. See #693 for details.
2014-06-29 17:11:55 -07:00
Jeff Williams
dabcb5904f cleanup 2014-06-28 20:21:22 -07:00
Jeff Williams
873480a3ed improve filename creation (#677)
We now allow a much larger range of characters in filenames. We also URL-encode HTML links when necessary, so that everything still works when you upload the files to a web server.
2014-06-28 16:59:01 -07:00
Jeff Williams
da7911bcf8 remove a bogus anchor tag for namespace links 2014-06-28 16:59:01 -07:00
Jeff Williams
4839915cec the mailing list is back! 2014-06-28 08:53:40 -07:00
Jeff Williams
b12ba68c82 bump revision 2014-06-28 08:26:17 -07:00
Jeff Williams
873f3dac3d regression test for #683 2014-06-28 08:23:32 -07:00
Jeff Williams
86da37d561 clarify comment 2014-06-23 13:01:05 -07:00
Jeff Williams
14d11c2844 remove parameter properties from the method signature (#680) 2014-06-22 19:45:02 -07:00
Jeff Williams
ae0a03af5c if a module exports one symbol, do not treat it as a global, regardless of the symbol's kind (#667)
Plus some test cleanup.
2014-06-20 17:36:49 -07:00
Jeff Williams
8840f30a0b autodetect parameter names in function expressions (#674) 2014-06-20 16:51:36 -07:00
Jeff Williams
941b647d5b prevent type info from overwriting existing doclet properties (#676) 2014-06-19 16:44:38 -07:00
Jeff Williams
6672668b48 add the AST node to doclets as a non-enumerable property by default
This change prevents a lot of clutter when using the `--explain` flag to log doclets to the console.

If the `--debug` flag is enabled, AST nodes are added as enumerable properties.
2014-06-17 21:42:45 -07:00
Jeff Williams
636bd83a17 test cleanup 2014-06-17 21:34:48 -07:00
Jeff Williams
2107d463da use throws as the primary name and exception as the synonym 2014-06-17 21:34:40 -07:00
Jeff Williams
be60e811eb when creating links, do not treat <anonymous> types as type applications, and handle union types without parentheses (#654) 2014-06-15 20:57:08 -07:00
Jeff Williams
eeb9c94c66 validate tags that have no text (#661) 2014-06-15 20:42:44 -07:00
Jeff Williams
a9a6ebd9ce clean up test spec 2014-06-15 20:38:24 -07:00
Jeff Williams
722241dd51 escape HTML characters in code blocks (#635) 2014-06-15 14:12:17 -07:00
Jeff Williams
92c8f101e4 streamline tests 2014-06-15 13:57:30 -07:00
Jeff Williams
72512fdc91 disable ESLint max-nested-callbacks rule 2014-06-15 13:53:25 -07:00
Jeff Williams
46c3710510 bump revision 2014-06-15 11:40:13 -07:00
Jeff Williams
cc53f6ac7e ignore Requizzle module 2014-06-15 11:39:29 -07:00
Jeff Williams
2d870909a6 allow templates/plugins to override JSDoc dependencies on Node.js (#671)
Also removes Requizzle from git, because this module is not used on Rhino.
2014-06-15 11:38:42 -07:00
Jeff Williams
fa57a07c6b refer questions to Stack Overflow until the mailing list is fixed 2014-06-14 07:58:25 -07:00
Jeff Williams
80ab18d65d bump revision 2014-06-11 17:02:07 -07:00
Jeff Williams
6b0c06eddd allow external templates/plugins to require() things in node_modules (#665) 2014-06-11 13:03:29 -07:00
Jeff Williams
1a15f92ea2 update Requizzle; remove workaround for jsdoc/package require issue (#662) 2014-06-11 09:18:53 -07:00
Jeff Williams
4eb0adcda2 add ESLint to gitignore 2014-06-10 23:00:35 -07:00
Jeff Williams
b5a5d09e02 update Catharsis so type unions without parens can be parsed (#644) 2014-06-10 22:25:01 -07:00
Jeff Williams
bbd06c4ff8 work around Requizzle bug (#662) 2014-06-10 09:34:51 -07:00
Jeff Williams
d4219bafad strip comments from the JSON config file (#660) 2014-06-09 20:36:38 -07:00
Jeff Williams
fd5ca944d2 abolish the post-install script and template/plugin copying (#519, #612)
JSDoc has a few requirements that are somewhat unusual for a Node.js app:

1. We need `require('jsdoc/foo')` to work from any module.
2. We need `require('jsdoc/foo')` to work from external code, such as templates and plugins.

Prior to this commit, JSDoc did two separate things to meet these requirements:

1. Use an npm post-install script to create a symlink from `lib/jsdoc` to `node_modules/jsdoc`.
2. When a user runs JSDoc, copy templates and plugins into the JSDoc directory.

These fixes worked, sort of. But they also caused numerous issues with file permissions, especially on Windows.

We now use the Requizzle module, which hacks the Node.js module system to support JSDoc's use cases. There's no longer a post-install script, and there's no need for a symlink in `node_modules`.
2014-06-09 17:27:06 -07:00
Jeff Williams
9555f6c43f update Underscore.js dependency 2014-05-29 22:54:54 -04:00
Jeff Williams
57b562f1b4 clean up require() calls, plus some odds and ends
- hoist require() calls into module scope to make them more efficient
- move some constants from jsdoc/doclet to jsdoc/name for sanity, and to break a circular dependency
- in jsdoc/src/astnode, define the node properties all at once
- remove the gratuitous constant for the `undocumented` tag; we only use it once
- remove a bit of dead code
2014-05-29 22:42:27 -04:00
Jeff Williams
329db29c4f fix syntax for modules that export a single constructor (#655) 2014-05-29 18:51:36 -07:00
Jeff Williams
92515fa5b3 bump revision 2014-05-27 16:55:02 -07:00
Jeff Williams
5d308963e5 improve test coverage; remove unreachable code; other cleanup 2014-05-27 16:54:38 -07:00
Jeff Williams
43ebd95874 add tests for external tag 2014-05-23 13:29:52 -07:00
Jeff Williams
ff81796a71 create doclets for externals
Fixes a regression introduced by #537.
2014-05-22 17:35:45 -07:00
Jeff Williams
3e1d704eac bump revision; fix "gulp bump" task
note: "gulp bump" currently creates unnecessary whitespace diffs.
2014-05-21 22:53:36 -07:00
Jeff Williams
90b0d21633 improve test coverage 2014-05-21 22:46:47 -07:00