668 Commits

Author SHA1 Message Date
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
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