1098 Commits

Author SHA1 Message Date
Matthew Kastor
7ebf9c5976 prettyPrintSource now uses it's own template
now that the templates.js file is fixed, plugins can use templates
without trashing everything.
2012-10-20 18:20:33 -04:00
Jeff Williams
0e63f27113 remove unnecessary comment that caused the JSHint test to fail 2012-10-20 15:10:46 -07:00
Jeff Williams
a3530a6221 Merge branch 'master' of https://github.com/jsdoc3/jsdoc 2012-10-20 15:07:17 -07:00
Jeff Williams
97e5cb9bf2 fix bad regexp in JSHint test; make plugins JSHint-clean 2012-10-20 15:06:56 -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
7dff20de33 make process.env shim consistent with Node.js (#202) 2012-10-20 11:42:04 -07:00
Jeff Williams
d0c702a313 provide EOL constant (#219) 2012-10-20 11:09:56 -07:00
Jeff Williams
5295803fc7 replace all types of line endings 2012-10-19 22:07:42 -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
639a292a96 use Windows-friendly exclude pattern in conf.json 2012-10-19 22:03:37 -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
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
f6c281a810 Update Jake Install, fs.existsSync
jake install[something/somewhere]

1) would give a warning that `path.existsSync` has been changed to
`fs.existsSync`. This has been updated.

2) would throw an error if there was no templates folder in the
extension being installed. Changed the condition on line 75 to check for
the existence of the correct item.
2012-10-19 21:39:26 -04: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
b05e3bf147 Merge pull request #233 from matthewkastor/Fix-for-issue-#228-Pretty-Source
Adds Pretty Printed Source Code To Docs
2012-10-19 14:26:37 -07: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
409c62b22c don't set the github repo's nameWithOwner if the config is incomplete 2012-10-18 14:01:46 -07:00
Jeff Williams
4ad4dde687 remove bad link 2012-10-18 13:57:24 -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
45023f9553 fix bad URIs on Windows
https://github.com/hegemonic/rhino/commit/f2232b089afe344f3d4e3f9730f463
45201b4cc4
2012-10-18 07:09:16 -07:00
Matthew Kastor
838c4aad50 fixed typo 2012-10-17 15:28:20 -04:00
Matthew Kastor
c481cbdb32 apply white-space pre-wrap to all pretty code 2012-10-17 14:52:22 -04:00
Matthew Kastor
c502a8adc2 fs moved to func, can't dump here... 2012-10-17 14:38:56 -04:00
Jeff Williams
857ad8efc5 add npm command; remove test info 2012-10-17 09:24:05 -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
f7e8dee7af move JSHint to regular dependencies list
Technically, JSHint is only a dev dependency. But if you run `npm
install --dev git://github.com/jsdoc3/jsdoc.git`, npm tries to install
approximately every npm package that has ever existed, including many
that require gcc compilation.

This approach seems like the sanest workaround.
2012-10-17 09:15:23 -07:00
Jeff Williams
7085ec882c follow the Node.js convention and use a lowercase package name 2012-10-17 08:55:14 -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
77e2bd5f7a Adds Pretty Printed Source Code To Docs
Plugin generates pages using google prettify to highlight the source.
The three css files are the defaults that come with google prettify. The
plugin is set up to use the desert style as it's default stylesheet,
with prettify, sunburst and prettify-jsdoc listed as alternative
stylesheets.

Currently this plugin is not tied in with any template. There won't be
links in the documentation to bring you to the prettified source.
2012-10-17 03:21:10 -04:00
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