99 Commits

Author SHA1 Message Date
Jeff Williams
263e3ca2e4 remove variations before generating filenames (#179) 2013-04-15 06:50:27 -07:00
Jeff Williams
e592427fce prevent circular refs in doclets; misc. cleanup 2013-04-15 06:49:58 -07:00
Jeff Williams
883b181ac7 use the correct comment when creating doclets for overloaded methods (#179) 2013-04-14 17:50:25 -07:00
Jeff Williams
7ef78a434a fix spurious error when using JSHint 1.1.0 2013-04-12 07:44:07 -07:00
Jeff Williams
407a718543 Merge branch 'pr/365' 2013-04-07 07:14:57 -07:00
Jeff Williams
e5be860cc4 support modules that export a single non-constructor function (#384) 2013-04-06 16:53:20 -07:00
Jeff Williams
a9405a8d10 fix for "variable" (repeatable) params (#381) 2013-04-02 07:41:53 -07:00
mathematicalcoffee
66321a196f Merge branch 'master' into feature-listens 2013-03-25 10:30:24 +10:00
Jeff Williams
eb9d95fa60 add 'parseBegin' and 'parseComplete' events (#299) 2013-03-23 18:37:04 -07:00
Jeff Williams
d433b191e3 Merge branch 'tests-tag' of github.com:mathematicalcoffee/jsdoc into mathematicalcoffee-tests-tag
Conflicts:
	test/specs/jsdoc/tag/type.js
	test/specs/jsdoc/tag/type/closureCompilerType.js
2013-03-23 18:05:09 -07:00
Jeff Williams
d01442172f Merge pull request #359 from freejosh/master
Allow other whitespace between @link tags and content
2013-03-23 17:57:08 -07:00
Jeff Williams
450ea226fa allow jsdocCommentFound handlers to change the comment (#228) 2013-03-23 10:42:34 -07:00
Jeff Williams
016ee85362 might as well turn the URL into a link (#371) 2013-03-23 09:39:19 -07:00
Jeff Williams
306046ce0e allow see tag to contain URLs, like <http://example.org> or http://example.org (#371) 2013-03-23 08:17:13 -07:00
Jeff Williams
badff421bc for complex type expressions, use the expression as the link text
fixes test failure.
2013-03-21 12:50:03 -07:00
Jeff Williams
2ccd9c4f39 more improvements to error handling for type expressions 2013-03-21 09:25:52 -07:00
Jeff Williams
f4e814ba87 improve error reporting for type expressions that cannot be parsed 2013-03-21 08:35:58 -07:00
Jeff Williams
a0abba623b correct docs 2013-03-20 08:17:27 -07:00
Jeff Williams
05656a01df fix parsing issue with nested braces 2013-03-20 08:10:25 -07:00
Jeff Williams
edcd94eeba link to type applications correctly in template output (#152) 2013-03-19 22:43:27 -07:00
Jeff Williams
70bea4648e allow inline {@type} tag in description to override type expression (#152)
- create `jsdoc/tag/inline` module, a generalized parser for inline tags
- use the new module to look for an inline `{@type}` tag in tag text;
for tags that can have a type, the inline tag overrides the type
expression
- update submodule
2013-03-18 08:30:05 -07:00
mathematicalcoffee
36763a9fbb added function addEventListeners with tests to templateHelper 2013-03-18 14:32:35 +10:00
Jeff Williams
482c5aee83 partial support for Closure Compiler types (#152)
introduces a real parser for Closure Compiler types, and uses the
parser to interpret type expressions in JSDoc tags.

TODO:
- provide a way to override the type expression
- update templateHelper to generate the correct links in type
applications

future enhancement (to be filed as a new issue): create pseudo-tags for
members that are described in the type expression (e.g., if the type
expression for the parameter `foo` is `{bar: string}`, add a tag for
`foo.bar` with no description)
2013-03-15 08:51:59 -07:00
Jeff Williams
892de28312 hasOwnProperty hygiene 2013-03-15 08:29:42 -07:00
Josh Freeman
6b7125b33e Allow other whitespace between @link and content 2013-03-11 11:03:12 -03:00
mathematicalcoffee
19417afba3 first attempt at finding listeners for an event, need to test. 2013-02-26 17:04:00 +10:00
mathematicalcoffee
db3451be72 Merge branch 'master' into feature-listens 2013-02-26 14:19:14 +10:00
mathematicalcoffee
933615da86 Merge branch 'master' into tests-tag
Conflicts:
	test/specs/tags/paramtag.js
2013-02-26 13:54:35 +10:00
mathematicalcoffee
2a8166cf3b Revert "FEATURE/FIX: jsdoc/util/templateHelper.getAncestorLinks: direct parents punctuation should be part of the link text. <a href="">Parent~</a> vs <a href="">Parent</a>~"
This reverts commit dad08be08a3cc92df3a73f58959c8847b7733a6c.
2013-02-22 12:46:21 +10:00
mathematicalcoffee
32fe768ea7 minor cleanup, mainly console.log = function () {} --> spyOn(console, 'log') 2013-02-22 12:45:04 +10:00
mathematicalcoffee
7c497b0580 Merge branch 'master' into tests-util
Conflicts:
	test/specs/jsdoc/util/templateHelper.js
2013-02-22 12:37:26 +10:00
Jeff Williams
dfe917a35a generate human-readable filenames (#339) 2013-02-19 07:02:08 -08:00
Jeff Williams
9d13a1e6bb allow JSDoc to run from a path containing one or more spaces (#347) 2013-02-18 21:30:17 -08:00
Jeff Williams
e553dad941 add @emits as a synonym for @fires (#324) 2013-02-15 21:32:57 -08:00
Jeff Williams
f16fa3beb7 use a 'range' property in parser events rather than 'linelength' and 'absposition' (#346) 2013-02-15 21:17:40 -08:00
mathematicalcoffee
f8d1e877c0 Apply event: namespace to events in @listens 2013-02-15 16:28:50 +10:00
mathematicalcoffee
5ffaaff619 added @listens tag (need to add to template too) 2013-02-15 16:27:02 +10:00
mathematicalcoffee
096f1dd9d1 BUGFIX (tutorial/resolver, util/templateHelper): be careful when tutorial names are reserved JS keywords (e.g. 'constructor')) 2013-02-14 16:48:49 +10:00
mathematicalcoffee
c37e801291 BUGFIX: linkto and toLink should use hasOwnProp to avoid errors from linking to reserved keywords, e.g. {@link constructor} or linkto('constructor') 2013-02-14 15:41:57 +10:00
mathematicalcoffee
c6314a107a Merge branch 'master' of github.com:mathematicalcoffee/jsdoc into tests-util 2013-02-14 15:29:33 +10:00
mathematicalcoffee
8e52d6baad Merge branch 'master' of git://github.com/jsdoc3/jsdoc into tests-tag 2013-02-14 15:20:21 +10:00
Jeff Williams
d517c47ef5 Merge pull request #335 from mathematicalcoffee/tests-tutorial
added tests for Tutorial class.
2013-02-13 08:22:59 -08:00
mathematicalcoffee
bf4e356ee5 fixed typo in test, also Array.isArray instead of instanceof Array 2013-02-13 12:02:33 +10:00
mathematicalcoffee
dad08be08a FEATURE/FIX: jsdoc/util/templateHelper.getAncestorLinks: direct parents punctuation should be part of the link text. <a href="">Parent~</a> vs <a href="">Parent</a>~ 2013-02-12 16:51:35 +10:00
mathematicalcoffee
74555ae863 fixed an old comment 2013-02-12 13:57:58 +10:00
mathematicalcoffee
d985da693e BUGFIX: '@param [foo]' should have the 'optional' property set (tags with no type but implied properties in the name should have those properties set on the tag) 2013-02-12 13:55:20 +10:00
mathematicalcoffee
1c52170c09 FIX: in Tag constructor, we should look up the tag definition using the trimmed (and lowercased) title 2013-02-08 13:52:12 +10:00
mathematicalcoffee
e384a06b45 FIX: dictionary.isNamespace should do the lookup under the normalised name 2013-02-08 10:03:47 +10:00
mathematicalcoffee
5fadd37fb5 FIX: dictionary.defineTag should store tags under the normalised name. 2013-02-08 10:02:58 +10:00
mathematicalcoffee
5b5e4a38e5 Made Tutorial#addChild and Tutorial#removeChild modify the child's parent (as well as the parent's children property) 2013-02-04 16:56:04 +10:00