Jeff Williams
3c8437b9d9
replace GFM parser; package.json cleanup
2012-10-16 09:16:20 -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
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
a82ba2b37c
update jshint module; move to node_modules
2012-10-15 20:54:17 -07:00
Jeff Williams
e185f20a45
remove unused module
2012-10-15 20:47:52 -07:00
Jeff Williams
bdee90463f
replace JSON-to-XML serializer
2012-10-15 20:47:08 -07:00
Jeff Williams
da0a55e577
update 'wrench' module; move to node_modules
2012-10-15 06:01:39 -07:00
Jeff Williams
a095001157
add path.relative() function
2012-10-15 05:59:41 -07:00
Jeff Williams
0bae5d04aa
update Rhino to correctly use the 'main' property in package.json
...
https://github.com/hegemonic/rhino/commit/08a54c9a
2012-10-15 05:56:56 -07:00
Jeff Williams
157d5c89ad
update TaffyDB; move to node_modules
2012-10-15 05:22:13 -07:00
Jeff Williams
4a269974b9
restore __dirname global; comment cleanup
2012-10-14 16:35:48 -07:00
Jeff Williams
929e60dd99
update evilstreak markdown plugin; move to node_modules
2012-10-14 09:13:53 -07:00
Jeff Williams
8993be2049
start looking in node_modules for JS modules
2012-10-14 09:11:04 -07:00
Jeff Williams
8a58a72ae3
remove bogus test spec for markdown plugin
2012-10-14 08:53:42 -07:00
Jeff Williams
33703539f1
use Rhino 1.7R3 fork with Node.js/CommonJS package support
...
https://github.com/hegemonic/rhino/commit/9f9382cfb8dbf83ec89972ad4e3554
01f74302c1
2012-10-13 23:19:02 -07:00
Jeff Williams
1228a8f794
remove global exit() function; remove unused variables
2012-10-08 03:51:35 -07:00
Jeff Williams
8bc3354154
on windows, use --nocolor option while running tests
2012-10-07 08:05:25 -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
Jeff Williams
cdee70fe4c
correct docs
2012-10-03 08:18:26 -07:00
Jeff Williams
914d2409c6
add native timeout/interval functions
2012-10-03 08:18:01 -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
Jeff Williams
46959b53a1
use Java's File/URI classes to convert between paths and URIs ( #203 )
2012-09-29 21:07:58 -07:00
Jeff Williams
0fdcdd0794
preserve exception message when publish.js can't be loaded
2012-09-29 20:25:28 -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
9ae503e6ed
improve function name
2012-09-24 08:55:23 -07:00
Jeff Williams
b9ed72118c
whitespace
2012-09-24 07:55:44 -07:00
Jeff Williams
e2ed15141c
clarify comment
2012-09-24 06:53:33 -07:00
Jeff Williams
716adbabf3
fix error in exceptions template ( #199 )
2012-09-23 21:15:46 -07:00
Jeff Williams
ec47356ee6
make templates work from relative and absolute paths ( #196 , #197 , #198 )
2012-09-23 21:06:36 -07:00
Jeff Williams
add0b09638
don't show "type" section if there are no types to display ( #195 )
2012-09-22 11:22:01 -07:00
Jeff Williams
c890b0cf79
replace SHJS syntax highlighter with prettify.js ( #193 )
2012-09-21 14:17:12 -07:00
Jeff Williams
c20f399d1d
show type of events; link to type of return values ( #192 )
2012-09-21 11:11:47 -07:00
Jeff Williams
0a199914a1
replace more syntax that makes the dash shell cranky ( #187 )
2012-09-21 09:14:47 -07:00
Jeff Williams
9f8f7bfba8
Replace syntax that makes the dash shell cranky ( #184 )
...
Thanks to http://www.dartmouth.edu/~rc/classes/ksh/flow-control-ex.html
for this monstrosity.
2012-09-21 08:19:09 -07:00
Jeff Williams
48cd77e77c
remove unused variable
2012-09-20 16:00:55 -07:00
Michael Mathews
3bdd67e737
Merge pull request #191 from steidinger/template-overwrites-css-files
...
Proposed fix for Issue #190 (default template truncates CSS files on Windows)
2012-09-20 14:49:47 -07:00
Jeff Williams
e7b28b6dc2
move detectVm() so it isn't global
2012-09-20 08:50:18 -07:00
Jeff Williams
6b95d8b29d
replace broken tag in tutorial template ( #188 )
2012-09-20 08:06:34 -07:00
Frank Steidinger
132a6da310
Prevent default template from trying to copy its static files into themselves if env.dirname contains a backslash. Otherwise they end up empty.
...
Filenames provided by fs.ls already use slashes instead of backslashes so the replace(fromDir, toDir) does nothing and the file is truncated. (Issue #190 )
2012-09-20 12:35:27 +02:00
Michael Mathews
20f8709463
Fix for property tag being malformed.
2012-09-20 01:21:13 +01:00
Jeff Williams
3463a472a6
add FunctionNode reference to parser
2012-09-18 22:31:39 -07: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
4e0af2967a
refactor default template and templateHelper.js ( #186 )
2012-09-17 21:50:26 -07:00
Jeff Williams
f1a104eb06
add helper function for debugging parse events
2012-09-16 11:37:56 -07:00
Jeff Williams
da485dff2c
Merge pull request #182 from BobKerns/mingw
...
Make jsdoc script work with MinGW and Cygwin
2012-09-12 07:12:01 -07:00
Jeff Williams
6df6fafaf2
Merge pull request #183 from BobKerns/path-fix
...
Use the java facilities to handle path manipulations portably.
2012-09-12 07:04:50 -07:00
Bob Kerns
dc2ec62e70
Use the java facilities to handle path manipulations portably.
...
This was causing it to mis-calculate the paths, and end up losing the
output directory entirely, and overwrite the template static files
with themselves, resulting in truncation to zero-length. Of course,
they were also missing in the output.
It was expecting to be able to split paths on
System.getProperty("path.separator"), but that describes how to put a
path together, not how to take one apart, which is more complicated.
In particular, in windows, / is as valid a separator as \ in all but a
few UI contexts.
And since we need to pass / in paths that may get turned into URI's,
it's important to handle this correctly.
Java already provides a File facility to handle these sorts of operations.
This patch makes use of java.io.File to:
1) Find the parent of a File for dirname.
2) Find the name of a File for basename.
It also now makes use of substring for removing the ext for basename,
rather than Array.prototype.slice + join(""). I'm not sure what that
was all about... It does have the effect of ensuring it's a Javascript
String, but calling String() has the same benefit and is much more clear.
You can put that back if there was a reason for it, but it looks just
confused to me.
2012-09-11 22:57:50 -07:00