148 Commits

Author SHA1 Message Date
Jeff Williams
3c2c0e3b7b whitespace 2013-10-31 09:03:06 -07:00
Jeff Williams
752e871f98 prevent undocumented overrides from replacing documented parents (#503) 2013-10-15 08:54:13 -07:00
Jeff Williams
5fb3839389 don't rename a function param called "prototype" (#505); minor cleanup 2013-10-14 23:16:40 -07:00
Jeff Williams
ca1048d84c clarify option descriptions (#506) 2013-10-14 22:33:18 -07:00
Jeff Williams
68fb9cab6a Revert "clean up redundant code"
This reverts commit d78b10a890b6c99078694029175ed3a0ea657fdf.
2013-10-07 20:25:52 -07:00
Jeff Williams
77546a9d52 more fixes to ensure that we always generate valid filenames (#440) 2013-10-02 22:37:28 -07:00
Jeff Williams
463dd0a05b generate valid filenames for incorrectly tagged modules (#458) 2013-10-01 09:29:08 -07:00
Jeff Williams
3ce43c2f32 remove hashbang before parsing JS file (#499) 2013-09-30 22:24:50 -07:00
Jeff Williams
b31db5bab9 require name/description separators to start on the same line as the name (#459)
ensures we won't interpret a Markdown bullet on the following line as a
name/description separator
2013-09-20 08:37:44 -07:00
Jeff Williams
a36769ac7d fix syntax issue 2013-09-15 22:39:21 -07:00
Jeff Williams
bb0f6733a8 Merge branch 'pr/439' 2013-09-14 08:38:05 -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
7d6fefe1c2 update excludePattern to match conf.json.EXAMPLE (#487) 2013-09-10 03:04:05 -07:00
Jeff Williams
30011780c7 cleanup 2013-09-10 02:48:52 -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
770f5ebb43 generate links correctly when text has extra [bracketed] strings (#470) 2013-08-05 21:26:43 -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
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
6c4f59b107 minor code cleanup 2013-08-04 11:52:37 -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
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
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
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
8a6fe881e8 resolve relative paths before scanning/filtering (#405) 2013-05-02 22:00:21 -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
9433b863b0 undo some unnecessary (and possibly harmful) changes to method signatures 2013-04-29 09:23:17 -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
e887dadc82 refactor some tag-related code 2013-04-23 08:41:57 -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
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
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
32b2ea5a1d recognize Closure Compiler-style typedefs (#391) 2013-04-16 03:21:30 -07:00
Jeff Williams
263e3ca2e4 remove variations before generating filenames (#179) 2013-04-15 06:50:27 -07:00