1258 Commits

Author SHA1 Message Date
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
Jeff Williams
ce75a89955 bump revision 2014-02-16 09:15:49 -08:00
Jeff Williams
8a50d1f064 hide source location if outputSourceFiles is false (#571) 2014-02-16 09:15:14 -08:00
Jeff Williams
34d98ed438 add @also to tag definitions (#574)
This tag is used internally. It previously caused
"not a known tag" errors when
tags.allowUnknownTags was set to false.
2014-02-16 08:39:32 -08:00
Jeff Williams
8afd06613f alphabetize the tag definitions 2014-02-16 07:55:51 -08:00
Jeff Williams
3ae23b8b21 provide a setter for doclet scope (#574)
We previously set the doclet's scope by adding a
`@scope` tag, which, in turn, was used to update
the scope. Since this tag isn't defined or used in
any other context, it could cause "not a known
tag" errors.
2014-02-16 07:44:28 -08:00
Jeff Williams
f4a38b442f exclude the "jsdoc" shell script correctly (#577) 2014-02-15 21:50:03 -08:00
Jeff Williams
e68f049537 bump revision 2014-02-15 14:57:50 -08:00
Jeff Williams
d51faa18d1 update Marked; suppress IDs in headings (#582) 2014-02-15 14:57:35 -08:00
Jeff Williams
98d646a270 exit with an error if a test fails (#570) 2014-02-15 14:35:17 -08:00
Jeff Williams
29dc3df42b point to tarballs instead of git+https URLs (#581) 2014-02-15 14:06:02 -08:00
Jeff Williams
99a601b531 bump revision 2014-02-15 14:06:02 -08:00
Jeff Williams
e486377ad5 fix "module not found" errors on Windows (#533)
hat tip to @opengl-8080 for the fix!
2014-02-15 13:50:51 -08:00
Jeff Williams
6d62a114bf fix line break 2014-02-12 08:54:21 -08:00
Jeff Williams
4f8e9fb5dc don't use npm to install the Rhino version (#577) 2014-02-10 21:14:43 -08:00
Jeff Williams
43b6920085 document new properties on module.exports (#500) 2014-02-01 20:12:24 -08:00
Jeff Williams
c96a1215bd add a warning about potential crashes (#554) 2014-02-01 19:36:34 -08:00
Jeff Williams
7b297d063a display required modules for methods (#563) 2014-02-01 19:30:25 -08:00
Jeff Williams
d82928342c allow for members that can trigger events (#568) 2014-02-01 19:25:55 -08:00