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
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
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
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
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
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
Jeff Williams
883b181ac7
use the correct comment when creating doclets for overloaded methods ( #179 )
2013-04-14 17:50:25 -07:00
Jeff Williams
407a718543
Merge branch 'pr/365'
2013-04-07 07:14:57 -07:00
Jeff Williams
e5be860cc4
support modules that export a single non-constructor function ( #384 )
2013-04-06 16:53:20 -07:00
Jeff Williams
a9405a8d10
fix for "variable" (repeatable) params ( #381 )
2013-04-02 07:41:53 -07:00
mathematicalcoffee
66321a196f
Merge branch 'master' into feature-listens
2013-03-25 10:30:24 +10:00
Jeff Williams
eb9d95fa60
add 'parseBegin' and 'parseComplete' events ( #299 )
2013-03-23 18:37:04 -07:00
Jeff Williams
d433b191e3
Merge branch 'tests-tag' of github.com:mathematicalcoffee/jsdoc into mathematicalcoffee-tests-tag
...
Conflicts:
test/specs/jsdoc/tag/type.js
test/specs/jsdoc/tag/type/closureCompilerType.js
2013-03-23 18:05:09 -07:00
Jeff Williams
d01442172f
Merge pull request #359 from freejosh/master
...
Allow other whitespace between @link tags and content
2013-03-23 17:57:08 -07:00
Jeff Williams
b37f7bcc73
test multiple types of line endings ( #228 )
2013-03-23 10:59:50 -07:00
Jeff Williams
450ea226fa
allow jsdocCommentFound handlers to change the comment ( #228 )
2013-03-23 10:42:34 -07:00
Jeff Williams
016ee85362
might as well turn the URL into a link ( #371 )
2013-03-23 09:39:19 -07:00
Jeff Williams
306046ce0e
allow see tag to contain URLs, like < http://example.org > or http://example.org ( #371 )
2013-03-23 08:17:13 -07:00
Jeff Williams
f4e814ba87
improve error reporting for type expressions that cannot be parsed
2013-03-21 08:35:58 -07:00
Jeff Williams
8d6f746091
don't execute templateHelper tests twice ( #256 )
2013-03-20 10:52:21 -07:00
Jeff Williams
05656a01df
fix parsing issue with nested braces
2013-03-20 08:10:25 -07:00
Jeff Williams
edcd94eeba
link to type applications correctly in template output ( #152 )
2013-03-19 22:43:27 -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
mathematicalcoffee
36763a9fbb
added function addEventListeners with tests to templateHelper
2013-03-18 14:32:35 +10:00
mathematicalcoffee
17a69c727f
modified @listens test fixture so I can use it for addEventListeners too
2013-03-18 14:31:46 +10:00
mathematicalcoffee
a789bc3187
Merge branch 'master' into feature-listens
2013-03-18 12:48:04 +10: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
9f3fd681b4
temporarily disable failing tests ( #363 )
2013-03-15 08:41:53 -07:00
Jeff Williams
d87fd048cc
appease JSHint
...
`private` is only a reserved word in strict mode, so JSHint wants dot
notation for `env.opts.private`. whatever.
2013-03-15 08:41:40 -07:00
Jeff Williams
aa66f3c7f6
temporarily disable failing tests ( #363 )
2013-03-15 08:40:35 -07:00
Jeff Williams
5caca420e5
appease JSHint
...
`private` is only a reserved word in strict mode, so JSHint wants dot
notation for `env.opts.private`. whatever.
2013-03-15 08:38:30 -07:00
Josh Freeman
f132ecc45a
tests for other whitespace in link tags
2013-03-11 10:26:07 -04:00
mathematicalcoffee
66d4b0623a
updated @listens test to use a fixture
2013-02-26 14:59:52 +10:00
mathematicalcoffee
db3451be72
Merge branch 'master' into feature-listens
2013-02-26 14:19:14 +10:00
mathematicalcoffee
245cce8202
switch to spyOn(console, 'log'). paramtag: fixed typo in test text
2013-02-26 14:01:21 +10:00
mathematicalcoffee
933615da86
Merge branch 'master' into tests-tag
...
Conflicts:
test/specs/tags/paramtag.js
2013-02-26 13:54:35 +10:00