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
60e15098e5
stub out tests for util/markdown.js
2012-11-16 08:02:57 -08:00
Jeff Williams
05ae20e060
stub out missing tests; reorganize to match the target file's ordering
2012-11-12 07:25:17 -08:00
Jeff Williams
7354ab8874
update change history. work in progress.
2012-11-11 10:12:04 -08: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
ef6d78f88e
simpler solution to #257
...
keeping env.run.finish in case we add more logging at some point
2012-11-11 02:48:30 -08:00
Jeff Williams
1a7a7f8588
allow shutdown to happen without swallowing exceptions ( #257 )
2012-11-10 12:04:35 -08:00
Jeff Williams
13274551c5
Revert "don't swallow uncaught exceptions ( #257 )"
...
This reverts commit f205e2bde105c3b7a5244ec0ac1733cee111dbca.
2012-11-10 11:27:08 -08:00
Jeff Williams
f205e2bde1
don't swallow uncaught exceptions ( #257 )
2012-11-10 11:19:30 -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
68383c6b6d
Merge branch 'master' into override
2012-11-06 20:41:30 -08:00
Jeff Williams
1758a93a50
Merge pull request #254 from ryu2/master
...
include the method signature in the heading for each method
2012-11-06 20:39:47 -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
37a7fd0f12
fix shims for process.stderr.write() and process.stdout.write()
2012-11-06 20:18:27 -08:00
Mark Wang
1a1ce5701f
Merge https://github.com/ryu2/jsdoc
2012-11-06 18:23:29 -08:00
Mark Wang
ea7f8cb408
Fix #253
2012-11-06 18:22:43 -08:00
Jeff Williams
6d5d526c52
Merge pull request #248 from nschonni/travis-ci-pr-testing
...
Add Travis CI config and status image
2012-11-06 08:45:54 -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
1c1ce62a0e
Fix link to documentation source
2012-11-04 21:48:02 -08:00
Jeff Williams
0403706e5d
Correct filename in README
2012-11-04 21:44:32 -08:00
Nick Schonning
9aa6729d75
Add Travis build status image to README
2012-11-03 20:18:44 -04:00
Nick Schonning
edefdc2850
Add config for Travis CI PR testing
...
Setup instructions here
http://about.travis-ci.org/docs/user/getting-started/
2012-11-03 20:17:41 -04:00
Jeff Williams
9bcb916ab8
Merge pull request #246 from nschonni/move-contributor-guidelines
...
Rename contributor guide for GitHub API
2012-11-03 17:13:20 -07:00
Nick Schonning
4c726c1186
Rename contributor guide for GitHub update
...
Special filename supported by the GitHub API
https://github.com/blog/1184-contributing-guidelines
2012-11-03 19:07:08 -04: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
10cd4a077d
get rid of superfluous [[string0]] on console when running tests
2012-10-30 22:55:32 -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
dc47bac827
eliminate circular refs when using global dump() function
2012-10-29 20:00:22 -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
b8c54e4e0a
run async test in parallel, not in series
2012-10-24 20:41:28 -07:00
Jeff Williams
8dea758764
fix test for JSHint cleanliness
2012-10-24 08:58:44 -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
ca988054ea
reimplement timeout/interval functions ( #204 )
2012-10-23 22:02:18 -07:00
Matthew Kastor
efaeea4d24
Moved css files into prettyPrintSource template
...
The three css files moved were not used by the default template. I only
had them there so the prettyPrintSource plugin would work. Since plugins
can use templates without ruining everything I've moved the css files to
their proper place and copy them over in
templates\prettyPrintSource\publish.js This makes it possible to enable
the plugin and get the same results with any template. Now all I need to
figure out is how to inject links to the generated pages into the
docs...
2012-10-20 23:13:16 -04:00
Jeff Williams
65e4a47201
Merge branch 'master' of https://github.com/jsdoc3/jsdoc
...
Conflicts:
plugins/prettyPrintSource.js
2012-10-20 15:37:54 -07:00
Jeff Williams
3f60724f92
fix JSHint errors (again)
2012-10-20 15:36:59 -07:00
Matthew Kastor
202357d4d0
jslint doesn't like comment switches
...
The block is toggled by deleting /*
/*// Explanation of junk
somejunk
//*/
2012-10-20 18:34:55 -04:00