Jeff Williams
333ac90968
use module to escape regexp special characters
2014-07-07 16:49:11 -07:00
Jeff Williams
2d870909a6
allow templates/plugins to override JSDoc dependencies on Node.js ( #671 )
...
Also removes Requizzle from git, because this module is not used on Rhino.
2014-06-15 11:38:42 -07:00
Jeff Williams
1a15f92ea2
update Requizzle; remove workaround for jsdoc/package require issue ( #662 )
2014-06-11 09:18:53 -07:00
Jeff Williams
b5a5d09e02
update Catharsis so type unions without parens can be parsed ( #644 )
2014-06-10 22:25:01 -07:00
Jeff Williams
d4219bafad
strip comments from the JSON config file ( #660 )
2014-06-09 20:36:38 -07:00
Jeff Williams
fd5ca944d2
abolish the post-install script and template/plugin copying ( #519 , #612 )
...
JSDoc has a few requirements that are somewhat unusual for a Node.js app:
1. We need `require('jsdoc/foo')` to work from any module.
2. We need `require('jsdoc/foo')` to work from external code, such as templates and plugins.
Prior to this commit, JSDoc did two separate things to meet these requirements:
1. Use an npm post-install script to create a symlink from `lib/jsdoc` to `node_modules/jsdoc`.
2. When a user runs JSDoc, copy templates and plugins into the JSDoc directory.
These fixes worked, sort of. But they also caused numerous issues with file permissions, especially on Windows.
We now use the Requizzle module, which hacks the Node.js module system to support JSDoc's use cases. There's no longer a post-install script, and there's no need for a symlink in `node_modules`.
2014-06-09 17:27:06 -07:00
Jeff Williams
9555f6c43f
update Underscore.js dependency
2014-05-29 22:54:54 -04:00
Jeff Williams
97dc742654
update tv4 files
2014-04-12 20:13:46 -07:00
Jeff Williams
8a2ca0f37a
update Esprima
...
includes fixes for:
- https://code.google.com/p/esprima/issues/detail?id=526
- https://code.google.com/p/esprima/issues/detail?id=527
2014-04-07 08:43:36 -07:00
Jeff Williams
e72f1663b1
use Esprima's harmony branch ( #555 )
2014-04-06 08:57:27 -07:00
Jeff Williams
92602c82a1
fix type-expression parsing issue ( #619 )
...
In record types, we can now parse property names that start
with a keyword (for example, `undefinedHTML`).
2014-04-05 13:36:27 -07:00
Jeff Williams
d51faa18d1
update Marked; suppress IDs in headings ( #582 )
2014-02-15 14:57:35 -08:00
Jeff Williams
1ff1b687fc
update tv4 module
2013-12-25 09:54:38 -08:00
Jeff Williams
5cde8d37ca
remove jshint from tree
2013-12-25 09:52:48 -08:00
Jeff Williams
866922906a
Revert "remove dev dependencies from git"
...
The Rhino tests need tv4 to be in the node_modules directory.
This reverts commit 027d42ad5d11efdb1d02158e4cf953f9d46e4c44.
2013-12-25 09:50:20 -08:00
Jeff Williams
d385611ace
update taffydb package file
2013-12-25 09:42:13 -08:00
Jeff Williams
027d42ad5d
remove dev dependencies from git
2013-12-25 09:40:30 -08:00
Jeff Williams
42e6822009
update JSON schema; validate doclets against schema ( #327 )
2013-12-03 16:45:36 -08:00
Jeff Williams
3716df0e23
update JSHint to 2.3.0, and only run it on Node.js
2013-11-10 23:20:03 -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
84188d6e62
don't escape inline HTML in Markdown-tagged text; remove markdown-js parser, and default to marked ( #510 )
2013-11-02 12:37:34 -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
30d9692c17
update catharsis to fix issues with repeatable types ( #502 )
2013-10-14 09:32:20 -07:00
Jeff Williams
193f7d18d6
support the type expression 'function[]' ( #493 )
2013-09-21 16:38:07 -07:00
Jeff Williams
78c0437f79
add a jsdoc symlink to node_modules
2013-05-02 20:26:35 -07:00
Jeff Williams
b082de462b
remove github-flavored-markdown; automatically use marked instead ( #385 )
2013-04-19 15:05:16 -07:00
François Frisch
b094885276
Add support for marked markdown parser
...
the dependency was added according to the instructions in gh-385
Conflicts:
package.json
2013-04-19 14:59:06 -07:00
Jeff Williams
23651f4731
update submodule ( fixes #395 )
2013-04-12 07:17:33 -07:00
Jeff Williams
4bdacabf22
update submodule to fix type parsing ( #381 )
...
fixes repeated literals (like {...*}) and name expressions that end in
something that's enclosed in parens (like {MyClass(foo)})
2013-04-08 23:06:42 -07:00
Jeff Williams
691b7987b9
update submodule ( fixes #369 )
2013-03-22 05:53:13 -07:00
Jeff Williams
ef4ba57adb
update submodule
...
parser fix for function type expressions
2013-03-21 09:30:35 -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
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
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
4da46d6a48
fix bustage in GFM module
2013-01-23 22:50:45 -08:00
Jeff Williams
fd8fc800af
fix for markdown links that use a reserved word as link text, like [constructor]{@link ...} ( #249 )
...
thanks to @mathematicalcoffee for the fix!
2013-01-23 08:52:35 -08:00
mathematicalcoffee
2fd96d2bb7
fix: env.conf.markdown.hardwrap is now respected.
2012-12-28 23:55:33 +10:00
Jeff Williams
35ac56fdd0
replace events and MD5 modules with equivalent Node.js shims
...
one notable change as a result: you now call emitter.emit() instead of
emitter.fire().
2012-10-30 22:49:04 -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
Jeff Williams
3c8437b9d9
replace GFM parser; package.json cleanup
2012-10-16 09:16:20 -07:00
Jeff Williams
508e4776cb
replace MD5 hash code
2012-10-16 07:54:19 -07:00
Jeff Williams
3b937e557f
use underscore.js for templates instead of a customized subset
2012-10-16 05:34:50 -07:00
Jeff Williams
a82ba2b37c
update jshint module; move to node_modules
2012-10-15 20:54:17 -07:00
Jeff Williams
bdee90463f
replace JSON-to-XML serializer
2012-10-15 20:47:08 -07:00
Jeff Williams
da0a55e577
update 'wrench' module; move to node_modules
2012-10-15 06:01:39 -07:00
Jeff Williams
157d5c89ad
update TaffyDB; move to node_modules
2012-10-15 05:22:13 -07:00
Jeff Williams
929e60dd99
update evilstreak markdown plugin; move to node_modules
2012-10-14 09:13:53 -07:00
Jakob Heuser
d61259a90c
attempt to make npm compatible paths by removing node_modules as a path... darn you npm
2012-08-15 11:09:58 -07:00