48 Commits

Author SHA1 Message Date
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
Jeff Williams
5b97cd0b32 Revert "Throw an error if user provides a command line arg value when none is allowed. Closes #142"
This reverts commit 4ac7f4b488b6b648c9bf56959ca97b8deaa7f9ee.
2012-07-10 08:00:28 -07:00
Michael Mathews
4ac7f4b488 Throw an error if user provides a command line arg value when none is allowed. Closes #142 2012-07-05 22:23:49 +01:00
Michael Mathews
494af17d90 Allow function to coerce command line arguments to a preferred type. Closes #143 2012-07-05 22:10:07 +01:00
Jeff Williams
6a5c2f07d4 add JSHint to the tree, with all JSHint tests disabled 2012-07-03 16:42:59 -07:00
Michael Mathews
b23811db6c Merge branch 'master' of github.com:jsdoc3/jsdoc 2012-06-21 21:10:08 +01:00
Michael Mathews
c29e4e3309 Add support for default configuration values. Closes Issue #129. References Issue #126. 2012-06-21 21:09:40 +01:00
Ben Blank
a3c2147e17 make allowances for Windows-style paths when testing 2012-06-16 15:41:31 -07:00
Michael Mathews
ef37251464 Fix for exception thrown when documenting symbols with special names like "hasOwnProperty". Closes #125. 2012-06-07 22:36:22 +01:00
Jannon Frank
7d97a17421 Merge pull request #117 from jannon/SmartTestRunner
Upgrade testing framework
2012-05-06 03:59:43 -07:00
Jannon
2d73440b3d Testing Framework Upgrade Part I
This first part of the testing framework upgrade:

- enhances the jsdoc script to allow switching to debug mode from the command line
- uses Jasmine to run tests
- adds flexibility to run tests from multiple root directories
- does automatic test discovery, so test files can just be created, dropped in an appropriate folder, and run without having to explicity add it to the test runner
- cleans up the test directory layout
- incorporates env.rhino.js which should make it easier to test templates
- is incomplete: this is just a savepoint.  About 1/3 of the tests have been converted.  The rest are still run through the old testrunner
2012-04-30 17:39:50 -07:00
Ben Blank
660338e93b allow GFM hardwrapping to be disabled
Note that hardwrapping is enabled by default in the GFM script (to preserve its behavior), but that it is disabled by default in the JSDoc plugin, as that seems more useful for inline documentation.
2012-04-21 08:19:58 -07:00
Ben Blank
a49fc092fb add CommonJS module exports for Showdown and make its GFM extensions sandboxable 2012-04-21 08:19:21 -07:00
Ben Blank
0003041ad9 add GFM script 2012-04-21 08:19:11 -07:00
Jannon
60197c6164 Add 'install' task to Jakefile and ignore conf.json
Also adding wrench for directory copy goodness and pointing to more up-to-date Jake information
2012-03-16 02:46:39 -07:00
Rafał Wrzeszcz
65bd3c0069 Dropped dependency on underscore/underscore - Rhino 1.7 (which we use) implements ECMAScript5. 2012-01-04 12:46:41 +01:00
Michael Mathews
818c97399a Using underscore now to simplify some of the array convolutions in publish.js. 2011-11-17 07:01:11 +00:00
Michael Mathews
2c38b21159 Moved link generation code out into its own module: templateHelper. Added feature to convert unsafe filenames to md5 hashes. 2011-08-06 21:39:54 +01:00
Michael Mathews
6786e850f5 Moved jsdoc module to rhino_modules. 2011-08-04 21:01:21 +01:00
Michael Mathews
32f6b1f460 Added testhelper to resolve {@link ...} tags. 2011-08-04 20:46:02 +01:00
Michael Mathews
51c8046fcc Added support in default template for modules that are also classes. 2011-06-23 21:50:09 +01:00
Michael Mathews
8799668ccf Added more nodejs compatible version of require(). 2011-06-17 21:06:37 +01:00