Jeff Williams
8bc7f7246a
Revert "support a raw array of doclets in addition to TaffyDB objects ( #258 )"
...
This reverts commit aad7b4896e503b66a29f46c02cc08f84e5535f42.
Conflicts:
test/specs/jsdoc/util/templateHelper.js
2012-12-04 21:53:17 -08:00
Jeff Williams
3227854077
cleanup
2012-12-02 18:25:19 -08:00
Jeff Williams
fd79b328e6
Merge pull request #271 from mathematicalcoffee/improve-link-tag
...
Improve link tag, jsdoc3/jsdoc#250
2012-12-02 18:18:25 -08:00
Jeff Williams
2de416da7d
fix broken hrefs in output files ( #264 )
2012-12-02 08:03:54 -08:00
mathematicalcoffee
8e67e866fd
moved configuration variables from conf.tags to conf.templates
2012-11-27 09:33:59 +10:00
mathematicalcoffee
266d6c7a1f
implemented {@linkplain}, {@linkcode}, monospaceLinks config (all links in monospace, false by default) and cleverLinks config (if true, links to symbols are monospace)
2012-11-26 21:27:59 +10:00
mathematicalcoffee
edb1be2a0d
first attempt at adding cleverLinks and monospaceLinks features; needs testing
2012-11-26 17:17:21 +10:00
mathematicalcoffee
73af01d213
Support link text for symbols and allow both space and pipe as link delimiters for #250
2012-11-26 16:22:55 +10:00
Jeff Williams
df39b6458a
Merge pull request #262 from mathematicalcoffee/fix-for-issue-259
...
jsdoc3/jsdoc#259 : protect underscores in {@link} tags from markdown
2012-11-20 21:58:31 -08:00
Jeff Williams
aad7b4896e
support a raw array of doclets in addition to TaffyDB objects ( #258 )
2012-11-20 21:55:49 -08:00
mathematicalcoffee
bc94dd03aa
oops - left a stub of half of a comment. removed it.
2012-11-21 15:54:15 +10:00
mathematicalcoffee
280d98f00a
Moved underscore escaping to a dedicated function, fixed typo in test comment (evilstreak -> gfm)
2012-11-21 15:52:59 +10:00
mathematicalcoffee
0973e636fc
fix for jsdoc3/jsdoc#259 : underscores in {@link} tags should not be touched by the markdown parser
2012-11-21 09:55:13 +10:00
Jeff Williams
dc75f6328b
fix several tutorial-related issues ( #222 )
...
- Tutorial code allowed JSON files to have a .js extension, then tried
to parse all .js files as JSON. The code now only looks for JSON files
with a .json extension. This allows .js files and tutorials to live in
the same directory.
- Recent changes caused tutorials to be generated with the wrong
filename. This is now fixed.
2012-11-11 03:17:02 -08:00
Jeff Williams
461bc2c8ac
DRY out error constructors, plus a couple of small fixes
...
- error messages won't end with '\nundefined' if meta.comment is missing
- better prototypal inheritance
2012-11-09 09:27:09 -08:00
Jeff Williams
d5991a2d71
don't overwrite pages like 'index.html' if a namespace has a name like 'index' ( #244 )
...
also, improved the default template's efficiency--we now create lists
of all classes/members/etc. just once, instead of once per longname
2012-11-08 07:47:05 -08:00
Jeff Williams
dabd3c4abe
make it possible to set env.opts.destination in a config file ( #252 )
2012-11-07 06:33:02 -08:00
Jeff Williams
b0536de3ff
improve parsing of --query parameter
...
The argument parser now converts the query string to an object, and it
casts booleans and numbers in the query string to the correct
JavaScript types.
2012-11-06 20:24:48 -08:00
Jeff Williams
2634e70d82
more Node.js code/shims
2012-11-06 06:12:04 -08:00
Jeff Williams
7cd2737306
reorganize/rename option-parsing files, plus some minor cleanup
2012-11-06 05:15:22 -08:00
Jeff Williams
42711b3cf8
provide Node.js' 'querystring' module
2012-11-05 22:43:46 -08:00
Jeff Williams
e743016137
remove unused shim for deprecated Node.js module
2012-11-05 21:48:37 -08:00
Jeff Williams
82e96930ee
use Node.js shim
2012-11-05 19:38:52 -08:00
Jeff Williams
5aa1ba33c1
remove unused variable
2012-11-05 19:32:31 -08:00
Jeff Williams
81a8a81526
use Node.js shims
2012-11-05 19:27:27 -08:00
Jeff Williams
99abd07308
refactoring
...
- move a few functions to the prototype
- call bind() on the function that's used as a NodeVisitor
- for clarity, replace `currentParser` with `this` (made possible by
the previous changes)
- for consistency, move currentSourceName to the prototype
2012-11-01 13:58:50 -07:00
Jeff Williams
09ffe2ec78
DRY out visitNode()
2012-11-01 13:31:12 -07: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
ddbe0315d4
if a member name is the same as its namespace's name, set the member's longname correctly ( #214 )
2012-10-29 20:10:35 -07:00
Jeff Williams
44b2c364a0
whitespace
2012-10-29 20:01:09 -07:00
Jeff Williams
c0d9b37cf5
set type name correctly for Closure Compiler types ( #226 )
2012-10-28 20:07:04 -07:00
Jeff Williams
589eb300c8
add plugin to dump parser events to the console ( #242 )
2012-10-28 17:17:13 -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
0e63f27113
remove unnecessary comment that caused the JSHint test to fail
2012-10-20 15:10:46 -07:00
Matthew Kastor
5ea5f62fc0
template.js - cache, settings now instance fields
...
`cache` and `settings` are no longer private fields.
This was done so
that plugins could use this class without messing up
the final output
when template name collisions occur. i.e. each instance
has it's own
template cache. The `settings` were made specific to each
instance so
that users of this class could redefine the underscore
template
settings if they want to.
2012-10-20 17:56:35 -04:00
Jeff Williams
d0c702a313
provide EOL constant ( #219 )
2012-10-20 11:09:56 -07:00
Jeff Williams
cab6e29ebd
Merge branch 'markdown-refactor'
...
Conflicts:
plugins/markdown.js
rhino_modules/jsdoc/readme.js
rhino_modules/jsdoc/tutorial.js
2012-10-19 21:34:44 -07:00
Matthew Kastor
818e26c5bc
Add escape tag for templates
...
The new underscore template includes a tag sequence for escaping. I
added an override for that tag that is consistent with our overrides for
evaluation and interpolation.
2012-10-19 20:20:17 -04:00
Matthew Kastor
e36cb0f96b
Markdown Input EOL Filtering
...
Added filters for input end of line character where evilstreak/markdown
was called because it chokes on `\r\n`. We'll have to do this to any
input to this markdown parser unless/until they accept my pull request
and we update the upstream source.
https://github.com/evilstreak/markdown-js/pull/64
2012-10-19 17:11:45 -04:00
Jeff Williams
97d289c65f
refactor markdown-related code ( #220 )
2012-10-19 03:45:43 -07:00
Jeff Williams
487ce7a8b9
move common files from nodejs_modules to rhino_modules; remove unused files; de-lint
2012-10-17 08:20:53 -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
a095001157
add path.relative() function
2012-10-15 05:59:41 -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
Jeff Williams
c1c15e8156
Merge branch 'master' into timers
2012-10-07 07:41:14 -07:00
Jeff Williams
e17601feb1
remove Envjs from test harness; remove broken --coffee option; add --nocolor option
2012-10-07 07:39:47 -07:00
Jeff Williams
10a54620fc
use consistent path separators on windows ( #207 )
2012-10-04 09:20:44 -07:00
Michael Mathews
570a585f4e
Fix bug that caused failing tests when no conf.json file is present. Closes #206
2012-10-01 17:42:48 +01:00