91 Commits

Author SHA1 Message Date
Jeff Williams
692f9c9290 fix fallback code for loading conf.json 2013-04-23 11:24:18 -07:00
Jeff Williams
ac857da48d add the config file path to the error (#407) 2013-04-23 09:12:05 -07:00
Jeff Williams
352aa84091 refactor requires; don't suppress exceptions if the config file cannot be parsed (#407) 2013-04-23 09:02:02 -07:00
Jeff Williams
8c65d81e23 match Node.js' console.log/error/info/warn/trace; speed up -X option (#298) 2013-04-18 23:16:47 -07:00
Jeff Williams
a3286e38bc remove jsVersion config property (#390) 2013-04-17 17:45:46 -07:00
Jeff Williams
f90f631980 address changes in recent JSHint versions
- be sneaky about assignment to global "app" and "env"
- disable the newly aggressive test for trailing whitespace
2013-03-07 21:48:17 -08:00
Gergely Aradszki
ef9660119f Merge source includes with command line arguments *before* checking for README.md and package.json.
Allows to set these in configs source.includes.
2013-02-17 14:54:09 +01:00
Jeff Williams
41f538feb9 exit after catching a Rhino exception (#325) 2013-01-28 20:58:27 -08:00
Jeff Williams
7d4dd38902 store version info in env.version, and display version number in default template output (#321) 2013-01-27 21:07:23 -08:00
Jeff Williams
87cd24728f allow plugins to be installed outside of the JSDoc directory (#277) 2013-01-27 07:56:43 -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
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
8bc7f7246a Revert "support a raw array of doclets in addition to TaffyDB objects (#258)"
This reverts commit aad7b4896e503b66a29f46c02cc08f84e5535f42.

Conflicts:
	test/specs/jsdoc/util/templateHelper.js
2012-12-04 21:53:17 -08:00
Jeff Williams
374c0c1dda make the -c/--configure option work again
thanks to @majo44 for reporting the issue!

(also removed the unused __timerPool global from a JSHint comment.)
2012-12-04 08:08:41 -08:00
Jeff Williams
d2d05fcb88 fix conf.json issues
- don't try to create conf.json if it doesn't exist (resolves a
permissions issue when installing with npm -g)
- add default values for recently added properties (hopefully fixes
Travis CI build)
2012-12-02 20:26:05 -08:00
Jeff Williams
aad7b4896e support a raw array of doclets in addition to TaffyDB objects (#258) 2012-11-20 21:55:49 -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
13274551c5 Revert "don't swallow uncaught exceptions (#257)"
This reverts commit f205e2bde105c3b7a5244ec0ac1733cee111dbca.
2012-11-10 11:27:08 -08:00
Jeff Williams
f205e2bde1 don't swallow uncaught exceptions (#257) 2012-11-10 11:19:30 -08:00
Jeff Williams
dabd3c4abe make it possible to set env.opts.destination in a config file (#252) 2012-11-07 06:33:02 -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
dc47bac827 eliminate circular refs when using global dump() function 2012-10-29 20:00:22 -07:00
Jeff Williams
157d5c89ad update TaffyDB; move to node_modules 2012-10-15 05:22:13 -07:00
Jeff Williams
1228a8f794 remove global exit() function; remove unused variables 2012-10-08 03:51:35 -07:00
Jeff Williams
914d2409c6 add native timeout/interval functions 2012-10-03 08:18:01 -07: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
ec47356ee6 make templates work from relative and absolute paths (#196, #197, #198) 2012-09-23 21:06:36 -07:00
Jeff Williams
e7b28b6dc2 move detectVm() so it isn't global 2012-09-20 08:50:18 -07:00
Jeff Williams
7675640537 improve error message when template is missing (closes #171), plus minor cleanup 2012-09-08 18:00:16 -07:00
Jeff Williams
a3bf78410b Merge pull request #166 from hegemonic/exports-publish 2012-08-22 08:57:58 -07:00
Jeff Williams
56fa78573e keep track of which VM is running JSDoc 2012-08-19 15:17:56 -07:00
Jeff Williams
c43c183aaa disable JSHint's "asi" relaxing option 2012-07-06 07:40:24 -07:00
Jeff Williams
4524af7a09 enable JSHint's "latedef" test 2012-07-06 07:22:00 -07:00
Jeff Williams
ce287745f1 enable JSDoc's "trailing" test 2012-07-04 16:27:06 -07:00
Jeff Williams
1951ea3821 enable JSHint's "undef" test 2012-07-04 16:22:08 -07:00