2040 Commits

Author SHA1 Message Date
Jeff Williams
01ce3042d1 prevent crashes in lenient mode when a returns tag has no value (#451) 2013-08-04 18:07:27 -07:00
Jeff Williams
d27619be17 improve debug stack traces by disabling optimization 2013-08-04 12:14:00 -07:00
Jeff Williams
6c4f59b107 minor code cleanup 2013-08-04 11:52:37 -07:00
Jeff Williams
24a5b6b34f Merge pull request #444 from lddubeau/bugfix-return-without-type-with-inline
Allow the presence of inline tags for a @returns tag that does not have a type spec.
2013-08-04 09:51:23 -07:00
Jeff Williams
0acab115f7 Merge pull request #467 from cgwyllie/patch-1
Update GitHub URL in README.md
2013-08-04 09:28:06 -07:00
cgwyllie
c236bf955f Update README.md
Changed clone URL for repo to HTTPS read-only so it doesn't require keypair access.
2013-08-01 10:05:02 +01:00
Jeff Williams
c058a60ed1 hook up node visitors; gratuitous refactor of 'runtime' module (formerly 'vm'); move runtime-specific code
includes updated Rhino jar:
https://github.com/hegemonic/rhino/commit/b63c00d5
2013-07-05 09:11:27 -07:00
Jeff Williams
1f627daee2 temporarily disable the changes for #419 2013-06-30 11:11:16 -07:00
Louis-Dominique Dubeau
8ca34b69ad Typo fix. 2013-06-28 09:37:01 -04: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
06565a11b0 improve doop module 2013-06-23 20:29:20 -07:00
Jeff Williams
a507eced37 fail when a nonexistent config file is specified (#425) 2013-06-23 15:21:19 -07:00
Jeff Williams
c16f6dc0ef fix failing tests on windows (#420) 2013-06-23 15:13:36 -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
Jeff Williams
12cdd46dba update Rhino jar
adds the new class org.jsdoc.AstBuilder.

https://github.com/hegemonic/rhino/commit/305193a5
2013-06-23 09:18:36 -07:00
Jeff Williams
6b3d96a3b6 Merge pull request #441 from lddubeau/allow-newlines-in-link-text
Changes to allow target and text in {@link target text} to be separated ...
2013-06-21 07:56:03 -07:00
Louis-Dominique Dubeau
32d00c20ca Changes to allow target and text in {@link target text} to be separated by newlines and for text to contain newlines. 2013-06-21 10:03:26 -04:00
Ernst Haagsman
c89c75fd88 parseComplete event now also supplies doclets
The parseComplete event only supplied plugins a list of files that
have been looked at before, now it also supplies the parsed doclets
2013-06-19 15:22:21 +02:00
Jeff Williams
2090b8d2fe Merge pull request #422 from ErnstHaagsman/true-augments
@augments tag: Inherited members correctly identify their origin
2013-06-02 16:51:33 -07:00
Jeff Williams
11be32b325 fireProcessingComplete cleanup 2013-06-02 16:49:49 -07:00
Jeff Williams
0f79895be2 Merge pull request #421 from ErnstHaagsman/processingcomplete-event
Plugins: Created processingComplete event
2013-06-02 16:45:01 -07:00
Jeff Williams
1fb2fe0d90 Merge pull request #419 from ErnstHaagsman/default-tag-objects
@default tag: added support for object literal defaults
2013-06-02 16:43:21 -07:00
Ernst Haagsman
93859fe94c processingComplete event: covered by unit tests
The processingComplete event now contains an object with the docs array under the 'doclets' key. The event is now covered by a unit test.
2013-05-15 11:18:03 +02: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
8fb1e5318d @augments tag: Inherited members correctly identify their origin
'inherits' tag is only written if it is empty. Before this change
all members inherited from the direct parent, even if it actually
came from a grandparent.
2013-05-10 14:28:55 +02:00
Ernst Haagsman
d4ee1d324e Plugins: Created processingComplete event
The processingComplete event fires after all processing has been
done. It gets the entire docs as its only parameter.
2013-05-10 11:56:34 +02:00
Jeff Williams
a9a2ceff79 typo 2013-05-09 07:33:03 -06: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
780637450c add async versions of Node.js fs/path methods
the methods are really asynchronous; the file I/O is not.
2013-05-03 08:42:41 -07:00
Jeff Williams
8a6fe881e8 resolve relative paths before scanning/filtering (#405) 2013-05-02 22:00:21 -07:00
Jeff Williams
78c0437f79 add a jsdoc symlink to node_modules 2013-05-02 20:26:35 -07:00
Jeff Williams
f97803ad69 use Object.keys instead of Object.hasOwnProperty where possible 2013-05-02 20:06:04 -07:00
Jeff Williams
e0ffe52411 just export the extras; don't attach them to the built-in fs module 2013-05-02 19:59:17 -07:00
Jeff Williams
d78b10a890 clean up redundant code 2013-05-02 19:46:36 -07:00
Jeff Williams
6edb4a1817 formatting 2013-05-02 19:24:03 -07:00
Jeff Williams
facdb5c08f formatting 2013-05-02 19:23:12 -07:00
Jeff Williams
ebc68efeca 3.2.0 changelog 2013-05-02 19:22:14 -07:00
Jeff Williams
0042847a0d copy user-specific static files to the default template's output directory (#393) 2013-04-30 20:57:16 -07:00
Jeff Williams
9433b863b0 undo some unnecessary (and possibly harmful) changes to method signatures 2013-04-29 09:23:17 -07:00
Jeff Williams
dbfdf946c1 remove stray log message 2013-04-29 09:15:50 -07:00
mathematicalcoffee
791181b65d fix #363 (I think) where tutorial tests fail on the second round of execution 2013-04-29 09:14:32 -07:00
Jeff Williams
992827ce58 don't parse inline tags as type expressions (#372) 2013-04-29 08:42:55 -07:00
Jeff Williams
398595d796 use inline tag module in templateHelper; allow inline tag replacers to operate on the entire string
the latter change undoes part of
9de918ab942c3d9a5c2883130d5b9b1a965b2bb2
2013-04-29 07:47:44 -07:00
Jeff Williams
9de918ab94 rework type extraction and inline tag parsing
- brace-counting logic now lives in the type code, which is where it's
needed
- we now replace (and return) ALL instances of an inline tag, not just
the first one
2013-04-28 22:03:48 -07:00
Jeff Williams
d6f1eed8c0 refactor link-generating code
linkto and resolveLinks now rely on shared functions instead of
reimplementing one another
2013-04-28 10:03:02 -07:00
Jeff Williams
692f9c9290 fix fallback code for loading conf.json 2013-04-23 11:24:18 -07:00
Jeff Williams
ac857da48d add the config file path to the error (#407) 2013-04-23 09:12:05 -07:00
Jeff Williams
352aa84091 refactor requires; don't suppress exceptions if the config file cannot be parsed (#407) 2013-04-23 09:02:02 -07:00
Jeff Williams
e887dadc82 refactor some tag-related code 2013-04-23 08:41:57 -07:00