Jeff Williams
44ff7255e2
correctly retrieve the name from @const tags, with or without a type ( #367 )
2013-12-01 08:14:19 -08:00
Jeff Williams
71cf7d7a1e
rename text fixture for consistency
2013-11-26 07:51:20 -08:00
Bill Tutt
89ff00bbc7
longnames for external's no longer contain braces if the tag's text contained braces.
...
This fixes #351 .
2013-11-26 07:48:22 -08:00
Jeff Williams
6651a85b35
Merge branch 'master' into parsimony
...
Conflicts:
lib/jsdoc/src/filter.js
lib/jsdoc/src/scanner.js
package.json
test/specs/jsdoc/src/filter.js
test/specs/jsdoc/src/scanner.js
test/specs/tags/exportstag.js
2013-11-04 08:54:46 -08:00
Jeff Williams
01882a231b
test for variable-scoping issue in JSDoc 3.2.1 ( #513 )
2013-11-04 07:51:23 -08:00
Jeff Williams
de4297b20b
refactor jsdoc.js; update Rhino
...
- Switched to a new Rhino fork: https://github.com/jsdoc3/rhino
(currently reflects mozilla/rhino HEAD + enhancements for JSDoc)
- Removed jsdoc/util/global; new Rhino fork provides a `global` alias
just like Node.js
- Moved most of jsdoc.js into cli.js, and refactored for clarity
2013-10-27 10:46:27 -07:00
Jeff Williams
751bea1b0a
fixes for Node.js compatibility (see details)
...
- new Rhino .jar to help find module paths
(https://github.com/hegemonic/rhino/commit/31b70105 )
- make __dirname and process.cwd() provide the current module path; use
only env.dirname for JSDoc's home dir; fix callers
- get rid of jsdoc/util/include (and update test framework accordingly)
- avoid running Rhino/Node.js tests on the wrong runtime
- remove support for global 'publish' function, which relied upon
jsdoc/util/include
- update jsdoc/util/dumper for consistency with Node.js'
JSON.stringify()
- fix jsdoc/util/runtime to detect Node.js correctly
- add Node.js versions of jsdoc/fs and jsdoc/path
- other minor cleanup
2013-10-25 23:30:56 -07:00
Jeff Williams
e7752cde18
Merge branch 'master' into parsimony
...
Conflicts:
lib/jsdoc/name.js
lib/jsdoc/src/handlers.js
lib/jsdoc/src/parser.js
lib/jsdoc/tag/dictionary/definitions.js
lib/jsdoc/util/templateHelper.js
package.json
test/specs/documentation/alias.js
test/specs/documentation/modules.js
test/specs/tags/augmentstag.js
test/specs/tags/overviewtag.js
2013-10-21 08:42:29 -07:00
Jeff Williams
735a9b790c
esprima parser (currently disabled)
2013-10-21 08:02:03 -07:00
Jeff Williams
752e871f98
prevent undocumented overrides from replacing documented parents ( #503 )
2013-10-15 08:54:13 -07:00
Jeff Williams
700e5d9ea9
fix type tag for type expressions that span multiple lines ( #427 )
2013-09-14 08:33:54 -07:00
Jeff Williams
da524aa558
allow requires tag text to be an inline link tag ( #486 )
2013-09-09 22:24:44 -07:00
Jeff Williams
abeb539a33
unit tests for let keyword ( #477 )
2013-08-17 00:24:36 -07:00
Jeff Williams
47fe83de3d
prevent crashes in lenient mode when a param tag has an invalid type expression ( #451 )
2013-08-04 23:21:01 -07:00
Louis-Dominique Dubeau
39bf9adb2b
Allow the presence of inline tags for a @returns tag that does not have a type spec.
2013-06-28 09:33:05 -04:00
Jeff Williams
da22d723b7
Merge branch 'master' into parsimony
...
Conflicts:
lib/jsdoc/src/parser.js
test/specs/tags/defaulttag.js
2013-06-23 21:40:21 -07:00
Jeff Williams
44d9ec6831
new parser infrastructure
...
consumes ASTs that follow the Mozilla Parser API spec:
https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API
passes all tests on OS X; performance is comparable to previous
version. also includes some miscellaneous cleanup.
remaining issues:
- only Rhino AST builder is supported
- node visitors (old and new) may not be hooked up yet
- circular-reference issues in doclets
- docs are (mostly) missing
- various other TODO comments
2013-06-23 10:18:13 -07:00
Ernst Haagsman
70109a2956
@default tag with object literals
...
Changed boolean 'doclet.defaultobject' to 'doclet.defaultvaluetype' field. Improved unit testing and fixed template.
2013-05-15 10:54:55 +02:00
Ernst Haagsman
9af5ea424e
@default tag: added support for object literal defaults
...
Default object literals are now stored as a string. In the default
template they are shown with syntax highlighting.
2013-05-09 14:38:14 +02:00
Jeff Williams
32b2ea5a1d
recognize Closure Compiler-style typedefs ( #391 )
2013-04-16 03:21:30 -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
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
mathematicalcoffee
66321a196f
Merge branch 'master' into feature-listens
2013-03-25 10:30:24 +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
66d4b0623a
updated @listens test to use a fixture
2013-02-26 14:59:52 +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
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
Jeff Williams
e553dad941
add @emits as a synonym for @fires ( #324 )
2013-02-15 21:32:57 -08:00
mathematicalcoffee
4019e537f0
@constant: added tests
2013-02-15 13:16:28 +10:00
mathematicalcoffee
0e8e1664f7
@mixes and @mixin tests added
2013-02-15 13:04:57 +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
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
Jeff Williams
87cd24728f
allow plugins to be installed outside of the JSDoc directory ( #277 )
2013-01-27 07:56:43 -08:00
Jeff Williams
9e5a47f195
add '@callback' tag ( #260 )
2013-01-23 22:56:21 -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
a17c90dfd2
deprecate env.dirname in favor of __dirname ( #286 )
...
plus some minor cleanup to address JSHint warnings
2012-12-23 09:45:11 -08:00
Jeff Williams
ddbe0315d4
if a member name is the same as its namespace's name, set the member's longname correctly ( #214 )
2012-10-29 20:10:35 -07:00
Jeff Williams
993d0fe49c
create a fake async file I/O method (fs.readFile); use it in a test as a proof of concept
2012-10-23 22:06:33 -07:00
Michael Mathews
20f8709463
Fix for property tag being malformed.
2012-09-20 01:21:13 +01:00
Jeff Williams
e59dc9023a
tests for doclets with Markdown asterisks
2012-09-09 07:18:13 -07:00
Jeff Williams
75071e9875
allow @augments to point at an undocumented dependency
2012-08-19 19:14:54 -07:00
Jeff Williams
33a41878b0
support lends tags in multiline doclets (fixed by @kpozin)
2012-08-18 07:58:01 -07:00
Jeff Williams
d04ed34612
in lenient mode, suppress as many exceptions as possible, logging errors to the console. closes #159 .
2012-08-18 07:34:37 -07:00
Konstantin Pozin
73ed12733d
Added doclet parsing for object literal getters and setters ( #100 )
2012-07-11 09:26:50 -04:00
Michael Mathews
717c2bb0d8
Added test fixture for extended external.
2012-07-08 01:11:54 +01:00
Jeff Williams
22e899fa9d
change __dirname to env.dirname
...
this fixes a JSHint error that cannot be suppressed.
2012-07-03 17:37:17 -07:00
Michael Mathews
6d914ee30e
Added support for including README.md content on the output index page. Closes #128
2012-06-21 22:46:32 +01:00