71 Commits

Author SHA1 Message Date
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
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
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
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
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
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
mathematicalcoffee
5ce79aa0bc jsdoc3/jsdoc#332 : added ability to define multiple tutorials' information in one file 2013-02-02 16:09:34 +10:00
Jeff Williams
5488737ec6 allow users to specify class attributes for generated links (#331) 2013-01-30 20:41:10 -08:00
Jeff Williams
a8d7cd5bdf possible fix for path.commonPrefix issue (#330) 2013-01-30 18:03:46 -08:00
Jeff Williams
f85a74d9fe need to escape author tag's text if the match fails 2013-01-28 07:48:17 -08:00
Jeff Williams
434c80e803 turn '@author' tag text into mailto: link where possible (#326) 2013-01-28 07:33:07 -08:00
Peter Droogmans
151a38a344 removed lineno added back 2013-01-27 21:32:15 +01:00
Peter Droogmans
787741314d Revert "removed lineno added back"
This reverts commit d4c1bf951401d8a940fb4eeea6c9b5f22ecb22fd.
2013-01-27 21:29:42 +01:00
Peter Droogmans
d4c1bf9514 removed lineno added back 2013-01-27 20:12:12 +01:00
Jeff Williams
2e90fa5a98 correct type 2013-01-27 08:31:35 -08:00
Jeff Williams
0bf88a611c replace linelength and absposition with Esprima-style range 2013-01-27 08:28:54 -08:00
Peter Droogmans
9bb0a23932 added linelength and absposition to meta 2013-01-27 08:10:23 -08:00
Jeff Williams
87cd24728f allow plugins to be installed outside of the JSDoc directory (#277) 2013-01-27 07:56:43 -08:00
Jeff Williams
92ba112ece de-IIFE; minor refactoring 2013-01-25 22:49:03 -08:00
Jeff Williams
9e5a47f195 add '@callback' tag (#260) 2013-01-23 22:56:21 -08:00
Jeff Williams
964f6e97e2 Merge branch 'master' of https://github.com/jsdoc3/jsdoc 2013-01-22 20:36:39 -08:00
Jeff Williams
5df4fd432d update the default template to generate pretty-printed source files (#208)
enabled by default. to disable pretty-printed source files, add the
property templates.default.outputSourceFiles: false to your conf.json
file.
2013-01-22 20:34:41 -08:00
Jeff Williams
3fed4ebf32 Merge pull request #293 from mathematicalcoffee/bugfix-gfm-hardwrap
Bugfix: github-flavoured-markdown was ignoring the hardwrap configuration.
2013-01-17 18:12:23 -08:00
Jeff Williams
b814da3e8b support -v option; provide more detailed version info (#303) 2013-01-17 18:06:31 -08:00
mathematicalcoffee
ac14eda668 added --version switch. 2013-01-18 10:16:41 +10:00
Jeff Williams
4a57a3718c escape less-than sign in signature headings (#307) 2013-01-17 07:20:23 -08:00
mathematicalcoffee
24a3c6b448 filled out markdown tests for getParser to test asking for specific parsers 2012-12-28 23:55:39 +10:00
Jeff Williams
ddb700e957 fix Windows bustage (#291) 2012-12-26 20:12:54 -08:00
Jeff Williams
d73570defc make fs module consistent with Node.js (#211) 2012-12-26 19:03:05 -08:00
Jeff Williams
b786527ea4 add mechanism for loading VM-specific functions (#289) 2012-12-26 11:56:33 -08:00
Jeff Williams
e4236eaa42 remove most globals from jsdoc.js (#287)
for clarity, also forward-declared all variables in main()
2012-12-25 04:55:50 -08:00
Jeff Williams
6c9ef48324 clean up VM-specific code (#210) 2012-12-23 17:57:38 -08:00
Jeff Williams
d5877c1217 move rhino_modules/ to lib/ 2012-12-23 14:09:37 -08:00
Jeff Williams
9af22fdc3f move lib/ to rhino/ (#210) 2012-12-23 09:51:58 -08:00