38 Commits

Author SHA1 Message Date
Jeff Williams
87cd24728f allow plugins to be installed outside of the JSDoc directory (#277) 2013-01-27 07:56:43 -08:00
Jeff Williams
92ba112ece de-IIFE; minor refactoring 2013-01-25 22:49:03 -08:00
Jeff Williams
9e5a47f195 add '@callback' tag (#260) 2013-01-23 22:56:21 -08:00
Jeff Williams
964f6e97e2 Merge branch 'master' of https://github.com/jsdoc3/jsdoc 2013-01-22 20:36:39 -08:00
Jeff Williams
5df4fd432d update the default template to generate pretty-printed source files (#208)
enabled by default. to disable pretty-printed source files, add the
property templates.default.outputSourceFiles: false to your conf.json
file.
2013-01-22 20:34:41 -08:00
Jeff Williams
3fed4ebf32 Merge pull request #293 from mathematicalcoffee/bugfix-gfm-hardwrap
Bugfix: github-flavoured-markdown was ignoring the hardwrap configuration.
2013-01-17 18:12:23 -08:00
Jeff Williams
b814da3e8b support -v option; provide more detailed version info (#303) 2013-01-17 18:06:31 -08:00
mathematicalcoffee
ac14eda668 added --version switch. 2013-01-18 10:16:41 +10:00
Jeff Williams
4a57a3718c escape less-than sign in signature headings (#307) 2013-01-17 07:20:23 -08:00
mathematicalcoffee
24a3c6b448 filled out markdown tests for getParser to test asking for specific parsers 2012-12-28 23:55:39 +10:00
Jeff Williams
ddb700e957 fix Windows bustage (#291) 2012-12-26 20:12:54 -08:00
Jeff Williams
d73570defc make fs module consistent with Node.js (#211) 2012-12-26 19:03:05 -08:00
Jeff Williams
b786527ea4 add mechanism for loading VM-specific functions (#289) 2012-12-26 11:56:33 -08:00
Jeff Williams
e4236eaa42 remove most globals from jsdoc.js (#287)
for clarity, also forward-declared all variables in main()
2012-12-25 04:55:50 -08:00
Jeff Williams
6c9ef48324 clean up VM-specific code (#210) 2012-12-23 17:57:38 -08:00
Jeff Williams
d5877c1217 move rhino_modules/ to lib/ 2012-12-23 14:09:37 -08:00
Jeff Williams
9af22fdc3f move lib/ to rhino/ (#210) 2012-12-23 09:51:58 -08:00
Jeff Williams
a17c90dfd2 deprecate env.dirname in favor of __dirname (#286)
plus some minor cleanup to address JSHint warnings
2012-12-23 09:45:11 -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
37a7fd0f12 fix shims for process.stderr.write() and process.stdout.write() 2012-11-06 20:18:27 -08:00
Jeff Williams
2634e70d82 more Node.js code/shims 2012-11-06 06:12:04 -08:00
Jeff Williams
ca988054ea reimplement timeout/interval functions (#204) 2012-10-23 22:02:18 -07:00
Jeff Williams
7dff20de33 make process.env shim consistent with Node.js (#202) 2012-10-20 11:42:04 -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
Jeff Williams
1ad33e0e52 update license info and README files 2012-10-17 08:21:04 -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
4a269974b9 restore __dirname global; comment cleanup 2012-10-14 16:35:48 -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
914d2409c6 add native timeout/interval functions 2012-10-03 08:18:01 -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
22e899fa9d change __dirname to env.dirname
this fixes a JSHint error that cannot be suppressed.
2012-07-03 17:37:17 -07:00
Jannon
2d73440b3d Testing Framework Upgrade Part I
This first part of the testing framework upgrade:

- enhances the jsdoc script to allow switching to debug mode from the command line
- uses Jasmine to run tests
- adds flexibility to run tests from multiple root directories
- does automatic test discovery, so test files can just be created, dropped in an appropriate folder, and run without having to explicity add it to the test runner
- cleans up the test directory layout
- incorporates env.rhino.js which should make it easier to test templates
- is incomplete: this is just a savepoint.  About 1/3 of the tests have been converted.  The rest are still run through the old testrunner
2012-04-30 17:39:50 -07:00
Jannon
f717abf6e1 fix and tests for #55 2012-03-20 23:24:21 -07:00
Jannon
e35ef82d99 A different take on a more flexible parser/plugin architecture
Plugins can now do any or all of three things:
- Add tags to the dictionary by exporting a 'defineTags' function
- Register event handlers like before, but exporting them in a 'handlers' object.
- Add a node visitor to the parser.  As the parser visits nodes, it will give all attached plugin visitors an opportunity to process the node as well.  This gives plugin creators an opportunity to do things with symbols that the standard parser doesn't handle (like class factory function calls)

This includes a new Rhino jar just for JSDoc3!  Well, it just has a small change that causes Rhino's parser to attach jsdoc comments to function call nodes when present.
2012-02-24 05:53:03 -08:00
tschaub
71393844ad Use Rhino's require implementation. 2011-09-21 17:37:32 -06:00
Michael Mathews
90ac234799 Added some internal debugging features. FIX: Added initialiser for variable that sometimes caused an error to be thrown when it was undefined. Closes #24. 2011-08-30 08:41:41 +01:00
Michael Mathews
8799668ccf Added more nodejs compatible version of require(). 2011-06-17 21:06:37 +01:00