1876 Commits

Author SHA1 Message Date
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
Jeff Williams
74ad8efe39 present multiple exceptions more clearly (#389) 2013-04-20 22:01:40 -07:00
Jeff Williams
070903fb88 link to individual line numbers in source files (#316) 2013-04-20 09:19:10 -07:00
Jeff Williams
655dfa0f5f fix test failures 2013-04-19 17:28:46 -07:00
Jeff Williams
00b52df5b1 make '%j' work as expected in util.format, console.log, and so on 2013-04-19 15:56:49 -07:00
Jeff Williams
140883c553 Merge pull request #297 from phasmal/add-see-tag-support
Added support for @see tag in markdown plugin
2013-04-19 15:08:33 -07:00
Jeff Williams
b082de462b remove github-flavored-markdown; automatically use marked instead (#385) 2013-04-19 15:05:16 -07:00
Jeff Williams
a12b361648 fix merge conflict 2013-04-19 14:59:42 -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
525e6fa8ec make the "Global" heading clickable when the only globals are typedefs (#261) 2013-04-19 14:50:20 -07:00
Jeff Williams
8c65d81e23 match Node.js' console.log/error/info/warn/trace; speed up -X option (#298) 2013-04-18 23:16:47 -07:00
Jeff Williams
5c69bbd289 cleanup 2013-04-18 16:13:34 -07:00
Jeff Williams
5b219ababb fix the name/scope of properties whose names include single quotes (#386) 2013-04-17 18:08:27 -07:00
Jeff Williams
a3286e38bc remove jsVersion config property (#390) 2013-04-17 17:45:46 -07:00
Jeff Williams
8e83e0ba22 add package.json info to instructions for contributing 2013-04-17 17:17:52 -07:00