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
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
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
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
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
c0d9b37cf5
set type name correctly for Closure Compiler types ( #226 )
2012-10-28 20:07:04 -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
97e5cb9bf2
fix bad regexp in JSHint test; make plugins JSHint-clean
2012-10-20 15:06:56 -07:00
Jeff Williams
6adf120a0f
remove irrelevant test that was out of sync with default config
2012-10-19 22:07:26 -07:00
Jeff Williams
05b2331d6e
accommodate Windows paths
2012-10-19 21:59:46 -07:00
Jeff Williams
371506038f
fix path issues that caused the test to fail on Windows ( #168 )
2012-10-19 21:51:39 -07:00
Jeff Williams
0eeda4dd6a
Merge pull request #230 from matthewkastor/Fix-for-issue-#227
...
Fix for issue #227 (typos in references to jsdocCommentFound events).
2012-10-18 08:20:08 -07:00
Jeff Williams
17d9a0f4a7
don't refuse to run tests when installed via npm
2012-10-17 09:17:35 -07:00
Jeff Williams
1ad33e0e52
update license info and README files
2012-10-17 08:21:04 -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
Matthew Kastor
235ea57681
Fix for issue #227 jsDocComment Found typos.
...
All of the code refers to jsdocCommentFound but the documentation and
comments in the code refer to jsDocCommentFound. This confused someone
for understandable reasons. I've fixed the typos.
2012-10-16 11:16:06 -04:00
Jeff Williams
a82ba2b37c
update jshint module; move to node_modules
2012-10-15 20:54:17 -07:00
Jeff Williams
da0a55e577
update 'wrench' module; move to node_modules
2012-10-15 06:01:39 -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
d2ffcb9563
don't blow up on windows when we require() publish.js ( #200 )
2012-09-27 08:32:40 -07:00
Jeff Williams
ec47356ee6
make templates work from relative and absolute paths ( #196 , #197 , #198 )
2012-09-23 21:06:36 -07:00
Michael Mathews
20f8709463
Fix for property tag being malformed.
2012-09-20 01:21:13 +01:00
Jeff Williams
bf84d3cd1d
say that comments must have leading asterisks when using Markdown ( #177 )
2012-09-17 21:59:47 -07:00
Jeff Williams
c8ce159342
use 'defaultvalue' property, not 'default', to hold the default value ( closes #180 )
2012-09-09 21:12:35 -07:00
Jeff Williams
e9a9dc988e
if a child overrides an ancestor member, don't document the ancestor member ( closes #158 )
2012-09-09 20:06:49 -07:00
Jeff Williams
8622efd2ba
Merge remote-tracking branch 'upstream/master' into type-refactor
2012-09-09 07:41:41 -07:00
Jeff Williams
e59dc9023a
tests for doclets with Markdown asterisks
2012-09-09 07:18:13 -07:00
Jeff Williams
75071e9875
allow @augments to point at an undocumented dependency
2012-08-19 19:14:54 -07:00
Jeff Williams
d091675cfa
make 'fs' and 'path' modules more consistent with Node.js
2012-08-19 15:25:02 -07:00
Jeff Williams
c643a6a1b9
Merge branch 'master' into type-refactor
2012-08-18 09:03:55 -07:00
Jeff Williams
33a41878b0
support lends tags in multiline doclets (fixed by @kpozin)
2012-08-18 07:58:01 -07:00
Jeff Williams
d04ed34612
in lenient mode, suppress as many exceptions as possible, logging errors to the console. closes #159 .
2012-08-18 07:34:37 -07:00
Jeff Williams
39cb076e1a
Merge remote-tracking branch 'upstream/master' into type-refactor
2012-08-17 14:21:01 -07:00
Jakob Heuser
d61259a90c
attempt to make npm compatible paths by removing node_modules as a path... darn you npm
2012-08-15 11:09:58 -07:00
Jeff Williams
45b24cc04c
refactor type parsing; add tests
2012-07-15 15:40:40 -07:00
Konstantin Pozin
73ed12733d
Added doclet parsing for object literal getters and setters ( #100 )
2012-07-11 09:26:50 -04:00
Jeff Williams
5b97cd0b32
Revert "Throw an error if user provides a command line arg value when none is allowed. Closes #142 "
...
This reverts commit 4ac7f4b488b6b648c9bf56959ca97b8deaa7f9ee.
2012-07-10 08:00:28 -07:00
Michael Mathews
717c2bb0d8
Added test fixture for extended external.
2012-07-08 01:11:54 +01:00
Michael Mathews
99cf39fe96
Avoid linting code that isnt owned by JSDoc. Avoid me having to fix errors in temporary folders I keep inside the main project folder.
2012-07-08 01:09:22 +01:00
Michael Mathews
4ac7f4b488
Throw an error if user provides a command line arg value when none is allowed. Closes #142
2012-07-05 22:23:49 +01:00
Michael Mathews
494af17d90
Allow function to coerce command line arguments to a preferred type. Closes #143
2012-07-05 22:10:07 +01:00
Jeff Williams
0fd9a3fee1
replace broken --strict option with working --lenient option
...
also fixes the test so that console.log actually works after it runs.
2012-07-05 00:00:03 -07:00
Jeff Williams
22e899fa9d
change __dirname to env.dirname
...
this fixes a JSHint error that cannot be suppressed.
2012-07-03 17:37:17 -07:00
Jeff Williams
16bee54b4c
whoops, fix a silly mistake in the JSHint test (+ cleanup)
2012-07-03 17:13:13 -07:00
Jeff Williams
6a5c2f07d4
add JSHint to the tree, with all JSHint tests disabled
2012-07-03 16:42:59 -07:00
Michael Mathews
81f145708d
Merge pull request #138 from hegemonic/strict-option
...
add a strict validation option that controls whether validation errors are fatal (issue #134 )
2012-07-03 15:28:42 -07:00