1098 Commits

Author SHA1 Message Date
Jeff Williams
44650343a9 use git+https:// instead of git://. fixed by @shootaroo. (#352) 2013-03-22 06:08:19 -07:00
Jeff Williams
691b7987b9 update submodule (fixes #369) 2013-03-22 05:53: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
f0224e9845 don't crash if a file does not contain any comments (#368) 2013-03-21 12:41:04 -07:00
Jeff Williams
ef4ba57adb update submodule
parser fix for function type expressions
2013-03-21 09:30:35 -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
cf89e494ec update submodule; prevents errors when type expressions contain newlines (#366) 2013-03-20 21:02:02 -07:00
Jeff Williams
8d6f746091 don't execute templateHelper tests twice (#256) 2013-03-20 10:52:21 -07:00
Jeff Williams
4bf63b4185 Merge branch 'types' 2013-03-20 08:25:26 -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
2cb86c13e3 added 'Listeners:' section to the default template 2013-03-18 14:33:01 +10:00
mathematicalcoffee
36763a9fbb added function addEventListeners with tests to templateHelper 2013-03-18 14:32:35 +10:00
mathematicalcoffee
17a69c727f modified @listens test fixture so I can use it for addEventListeners too 2013-03-18 14:31:46 +10:00
mathematicalcoffee
a789bc3187 Merge branch 'master' into feature-listens 2013-03-18 12:48:04 +10:00
Jeff Williams
fdf5293f1c update submodule 2013-03-16 07:00:47 -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
9f3fd681b4 temporarily disable failing tests (#363) 2013-03-15 08:41:53 -07:00
Jeff Williams
d87fd048cc appease JSHint
`private` is only a reserved word in strict mode, so JSHint wants dot
notation for `env.opts.private`. whatever.
2013-03-15 08:41:40 -07:00
Jeff Williams
aa66f3c7f6 temporarily disable failing tests (#363) 2013-03-15 08:40:35 -07:00
Jeff Williams
5caca420e5 appease JSHint
`private` is only a reserved word in strict mode, so JSHint wants dot
notation for `env.opts.private`. whatever.
2013-03-15 08:38:30 -07:00
Jeff Williams
892de28312 hasOwnProperty hygiene 2013-03-15 08:29:42 -07:00
Jeff Williams
35513fc5cc 3.1.1 changelog 2013-03-14 07:39:18 -07:00
Billiam
5a84918099 Fix repeated classes header in sidenav
Fixes multiple <h3>classes</h3> navigation menus appearing in navigation
sidebar when using modules.

Removes magic -1 value and module counting in favor of more explicit
boolean, only appending class heading if necessary.
2013-03-11 10:42:11 -05:00
Josh Freeman
f132ecc45a tests for other whitespace in link tags 2013-03-11 10:26:07 -04:00
Josh Freeman
6b7125b33e Allow other whitespace between @link and content 2013-03-11 11:03:12 -03:00
Billiam
282fc16e49 Adding excludeTags to markdown config. 2013-03-09 23:14:33 -06:00
Jeff Williams
f90f631980 address changes in recent JSHint versions
- be sneaky about assignment to global "app" and "env"
- disable the newly aggressive test for trailing whitespace
2013-03-07 21:48:17 -08:00
mathematicalcoffee
19417afba3 first attempt at finding listeners for an event, need to test. 2013-02-26 17:04:00 +10:00
mathematicalcoffee
01c13bd425 display everything a method listens to in the template 2013-02-26 16:42:05 +10:00
mathematicalcoffee
66d4b0623a updated @listens test to use a fixture 2013-02-26 14:59:52 +10:00
mathematicalcoffee
db3451be72 Merge branch 'master' into feature-listens 2013-02-26 14:19:14 +10:00
mathematicalcoffee
245cce8202 switch to spyOn(console, 'log'). paramtag: fixed typo in test text 2013-02-26 14:01:21 +10:00
mathematicalcoffee
933615da86 Merge branch 'master' into tests-tag
Conflicts:
	test/specs/tags/paramtag.js
2013-02-26 13:54:35 +10:00
Jeff Williams
65ddd955e5 Merge pull request #348 from mathematicalcoffee/tests-tags
Tests for *tag.js
2013-02-22 08:33:49 -08:00
Jeff Williams
6802941cf3 Merge pull request #345 from mathematicalcoffee/tests-util
Tests for jsdoc/util/ files.
2013-02-22 08:26:49 -08:00
mathematicalcoffee
bbf6f51f77 Moved inline doclet definition to external fixtures 2013-02-22 14:47:34 +10:00
mathematicalcoffee
f64ae8098b Merge branch 'master' into tests-tags
Conflicts:
	test/specs/tags/eventfirestag.js
2013-02-22 12:51:41 +10:00
mathematicalcoffee
2c4d5cdd06 updated getAncestorLinks tests to reflect previous revert 2013-02-22 12:48:03 +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
956c70becc Merge pull request #350 from garpeer/readme-in-config
allow settings README.md & package.json in config file
2013-02-17 09:32:43 -08:00
Gergely Aradszki
ef9660119f Merge source includes with command line arguments *before* checking for README.md and package.json.
Allows to set these in configs source.includes.
2013-02-17 14:54:09 +01:00
Jeff Williams
e553dad941 add @emits as a synonym for @fires (#324) 2013-02-15 21:32:57 -08:00