Jeff Williams
8ea7078d39
modify dumper.dump() to support multiple arguments; only define the dump() global in debug mode ( #812 )
2015-02-18 17:24:02 -08:00
Jeff Williams
f9073e6361
turn app global into a module, and use the module instead of the global ( #812 )
...
The `app` global remains available, since templates and plugins may rely upon it, but it's deprecated as of JSDoc 3.4.0.
2015-02-18 09:27:40 -08:00
Jeff Williams
ae94af0cd8
turn env global into a module, and use the module instead of the global ( #812 )
...
The `env` global remains available, since templates and plugins may rely upon it, but it's deprecated as of JSDoc 3.4.0.
2015-02-17 19:07:10 -08:00
Jeff Williams
ef75f132b8
print the usage information if there's a bad command-line option ( #840 )
2014-12-18 16:09:28 -08:00
Jeff Williams
5fa636ab7b
create doclets for mixed-in symbols ( #378 )
...
Also includes a fair amount of cleanup.
2014-12-07 11:05:56 -08:00
Jeff Williams
a2e119a88b
update ESLint dependency; enable new rules; delint
2014-10-27 12:58:32 -07:00
Jeff Williams
c45fdaa0c3
allow any file to be used as a package or README file ( #708 )
2014-10-17 12:46:52 -07:00
Jeff Williams
8d36936454
remove dead code
2014-10-17 12:25:12 -07:00
MinHyeong Kim
ef70ffe2bd
modify codes for @interface, @implements annotation.
2014-08-11 16:01:59 -07:00
Jeff Williams
1a15f92ea2
update Requizzle; remove workaround for jsdoc/package require issue ( #662 )
2014-06-11 09:18:53 -07:00
Jeff Williams
bbd06c4ff8
work around Requizzle bug ( #662 )
2014-06-10 09:34:51 -07:00
Jeff Williams
d4219bafad
strip comments from the JSON config file ( #660 )
2014-06-09 20:36:38 -07:00
Jeff Williams
fd5ca944d2
abolish the post-install script and template/plugin copying ( #519 , #612 )
...
JSDoc has a few requirements that are somewhat unusual for a Node.js app:
1. We need `require('jsdoc/foo')` to work from any module.
2. We need `require('jsdoc/foo')` to work from external code, such as templates and plugins.
Prior to this commit, JSDoc did two separate things to meet these requirements:
1. Use an npm post-install script to create a symlink from `lib/jsdoc` to `node_modules/jsdoc`.
2. When a user runs JSDoc, copy templates and plugins into the JSDoc directory.
These fixes worked, sort of. But they also caused numerous issues with file permissions, especially on Windows.
We now use the Requizzle module, which hacks the Node.js module system to support JSDoc's use cases. There's no longer a post-install script, and there's no need for a symlink in `node_modules`.
2014-06-09 17:27:06 -07:00
Jeff Williams
073d7e83e3
enable ESLint space-infix-ops rule (and associated cleanup)
2014-04-19 11:04:53 -07:00
Jeff Williams
bce238bb51
replace JSHint with ESLint (and associated cleanup)
2014-04-19 10:38:02 -07:00
jeffwi
abe3fe2429
show the help if there are no input files ( #609 )
2014-04-10 09:17:35 -07:00
Jeff Williams
49ad746e49
trailing whitespace cleanup
2014-03-04 13:47:57 -08:00
Jeff Williams
48e6c392d5
huge whitespace cleanup
...
- remove all trailing whitespace
- for consistency, replace all tabs with spaces
2014-03-03 07:43:01 -08:00
Jeff Williams
844fb2f47f
improvements to logging code
2014-01-25 20:45:08 -08:00
Jan Kryl
469c764add
fix jsdoc3/jsdoc#558
2014-01-07 10:30:29 -05:00
Jeff Williams
d29632364b
remove URI-conversion and dirname-specification cruft
...
includes new Rhino .jar to allow module directories to be specified as paths:
https://github.com/jsdoc3/rhino/tree/5dd82a4c
2013-12-24 21:08:28 -08:00
Jeff Williams
6ca671434a
support external templates/plugins on Node.js ( #543 )
2013-12-24 14:54:21 -08:00
Jeff Williams
ac11bb6e53
prevent double logging
2013-12-24 12:55:44 -08:00
Jeff Williams
c9b0237c12
overhaul logging and error handling ( #416 )
2013-12-23 15:25:28 -08:00
Jeff Williams
5a15c74177
make the -h/--help output look nicer
2013-11-24 21:41:26 -08:00
Jeff Williams
f55feb1a0e
'use strict'ify
2013-11-11 23:49:54 -08:00
Jeff Williams
f7256d8d07
make npm installs work correctly; misc cross-platform fixes; cleanup
...
includes new Rhino jar that strips hashbangs before execution:
https://github.com/jsdoc3/rhino/commit/95487737
2013-11-02 23:14:04 -07:00
Jeff Williams
de4297b20b
refactor jsdoc.js; update Rhino
...
- Switched to a new Rhino fork: https://github.com/jsdoc3/rhino
(currently reflects mozilla/rhino HEAD + enhancements for JSDoc)
- Removed jsdoc/util/global; new Rhino fork provides a `global` alias
just like Node.js
- Moved most of jsdoc.js into cli.js, and refactored for clarity
2013-10-27 10:46:27 -07:00