849 Commits

Author SHA1 Message Date
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
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
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
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
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
e7f3609e54 @undocumented: added tests 2013-02-15 16:00:18 +10:00
mathematicalcoffee
cdc8a1c224 @tutorial: added low-level tests 2013-02-15 16:00:08 +10:00
mathematicalcoffee
3fb96af55b @todo: added tests 2013-02-15 16:00:01 +10:00
mathematicalcoffee
af05ac417a @summary: added tests 2013-02-15 15:59:51 +10:00
mathematicalcoffee
f84e29363b @namespace: added tests 2013-02-15 15:59:44 +10:00
mathematicalcoffee
c2707f102e @member: added tests 2013-02-15 15:59:38 +10:00
mathematicalcoffee
93a8a59112 @license: added tests 2013-02-15 15:59:28 +10:00
mathematicalcoffee
b91796b3a4 @lends: added low-level tests 2013-02-15 15:59:21 +10:00
mathematicalcoffee
0911c710fc @kind: added test 2013-02-15 15:59:08 +10:00
mathematicalcoffee
ff77157eb1 @inner, @instance, @static tests added 2013-02-15 14:34:57 +10:00
mathematicalcoffee
bdfac98755 @function: added tests 2013-02-15 14:20:23 +10:00
mathematicalcoffee
0422add48f @example: added tests 2013-02-15 14:11:20 +10:00
mathematicalcoffee
dc5e6f0933 @desc: added tests 2013-02-15 13:21:02 +10:00
mathematicalcoffee
4019e537f0 @constant: added tests 2013-02-15 13:16:28 +10:00
mathematicalcoffee
d869c99c3d @classdesc: added test 2013-02-15 13:07:42 +10:00
mathematicalcoffee
0e8e1664f7 @mixes and @mixin tests added 2013-02-15 13:04:57 +10:00
mathematicalcoffee
896f1bd909 @alias tag - added test that doc.alias is populated (further tests already in documentation/alias.js) 2013-02-15 12:53:05 +10:00
mathematicalcoffee
e4c90b2fee @augments tests - add test that you can @augment multiple doclets 2013-02-15 12:52:33 +10:00
mathematicalcoffee
cd1fb6c96a @author tests - test that you can have multiple authors 2013-02-15 12:52:06 +10:00
mathematicalcoffee
2ca61c1beb existing tags tests: toEqual -> toBe where appropriate 2013-02-15 12:25:41 +10:00
mathematicalcoffee
52528958da @returns: fixed typo in test description 2013-02-15 12:15:59 +10:00
mathematicalcoffee
1674f87259 forgot to add a fixture that is used for the templateHelper tests... 2013-02-14 17:49:41 +10:00
mathematicalcoffee
8e9e06b3e4 filled out setTutorials and toTutorial links 2013-02-14 17:37:34 +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
338e129edc test improvements: toEquals vs toBe, instanceof Array vs Array.isArray, .indexOf(X).not.toEqual(-1) vs .contains(X) 2013-02-14 15:44:33 +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
21dbd5804f document OS X fix for bad Rhino version (#340) 2013-02-13 08:28:36 -08: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