2040 Commits

Author SHA1 Message Date
Jeff Williams
e17b785a43 whitespace 2013-10-31 09:25:24 -07:00
Jeff Williams
3c2c0e3b7b whitespace 2013-10-31 09:03:06 -07:00
Jeff Williams
ce27f860aa update license info 2013-10-30 21:18:19 -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
Jeff Williams
843e63b413 update license info 2013-10-25 23:40:25 -07:00
Jeff Williams
751bea1b0a fixes for Node.js compatibility (see details)
- new Rhino .jar to help find module paths
(https://github.com/hegemonic/rhino/commit/31b70105)
- make __dirname and process.cwd() provide the current module path; use
only env.dirname for JSDoc's home dir; fix callers
- get rid of jsdoc/util/include (and update test framework accordingly)
- avoid running Rhino/Node.js tests on the wrong runtime
- remove support for global 'publish' function, which relied upon
jsdoc/util/include
- update jsdoc/util/dumper for consistency with Node.js'
JSON.stringify()
- fix jsdoc/util/runtime to detect Node.js correctly
- add Node.js versions of jsdoc/fs and jsdoc/path
- other minor cleanup
2013-10-25 23:30:56 -07:00
Jeff Williams
9745685dde make the fs.statSync shim throw an error (consistent with Node.js) 2013-10-23 09:32:20 -07:00
Jeff Williams
e02afd570e create parser, THEN attach plugins
fixes broken test
2013-10-21 09:11:23 -07:00
Jeff Williams
8847733e08 remove unused file 2013-10-21 08:56:29 -07:00
Jeff Williams
23003541ad add config setting to choose a parser 2013-10-21 08:54:39 -07:00
Jeff Williams
6c994c1fe9 fix bad merge 2013-10-21 08:54:21 -07:00
Jeff Williams
e7752cde18 Merge branch 'master' into parsimony
Conflicts:
	lib/jsdoc/name.js
	lib/jsdoc/src/handlers.js
	lib/jsdoc/src/parser.js
	lib/jsdoc/tag/dictionary/definitions.js
	lib/jsdoc/util/templateHelper.js
	package.json
	test/specs/documentation/alias.js
	test/specs/documentation/modules.js
	test/specs/tags/augmentstag.js
	test/specs/tags/overviewtag.js
2013-10-21 08:42:29 -07:00
Jeff Williams
735a9b790c esprima parser (currently disabled) 2013-10-21 08:02:03 -07:00
Jeff Williams
752e871f98 prevent undocumented overrides from replacing documented parents (#503) 2013-10-15 08:54:13 -07:00
Jeff Williams
5fb3839389 don't rename a function param called "prototype" (#505); minor cleanup 2013-10-14 23:16:40 -07:00
Jeff Williams
ca1048d84c clarify option descriptions (#506) 2013-10-14 22:33:18 -07:00
Jeff Williams
30d9692c17 update catharsis to fix issues with repeatable types (#502) 2013-10-14 09:32:20 -07:00
Jeff Williams
68fb9cab6a Revert "clean up redundant code"
This reverts commit d78b10a890b6c99078694029175ed3a0ea657fdf.
2013-10-07 20:25:52 -07:00
Jeff Williams
40587eb745 update package.json 2013-10-05 09:05:13 -07:00
Jeff Williams
4e3cf294b1 3.2.1 changelog; bump revision
Conflicts:
	package.json
2013-10-05 09:04:37 -07:00
Jeff Williams
77546a9d52 more fixes to ensure that we always generate valid filenames (#440) 2013-10-02 22:37:28 -07:00
Jeff Williams
463dd0a05b generate valid filenames for incorrectly tagged modules (#458) 2013-10-01 09:29:08 -07:00
Jeff Williams
1a8fac17f0 Merge branch 'master' of https://github.com/jsdoc3/jsdoc 2013-09-30 22:25:06 -07:00
Jeff Williams
3ce43c2f32 remove hashbang before parsing JS file (#499) 2013-09-30 22:24:50 -07:00
Jeff Williams
fa6b2f34db Merge pull request #497 from livelazily/fix-for-issue-496
read source files using user-defined encoding, fix #496
2013-09-30 08:31:37 -07:00
livelazily
2b845d7590 read source files using user defined encodeing, fix #496 2013-09-28 15:40:32 +08:00
Jeff Williams
7415bda02b ignore Tern temp files 2013-09-21 16:39:06 -07:00
Jeff Williams
193f7d18d6 support the type expression 'function[]' (#493) 2013-09-21 16:38:07 -07:00
Jeff Williams
b31db5bab9 require name/description separators to start on the same line as the name (#459)
ensures we won't interpret a Markdown bullet on the following line as a
name/description separator
2013-09-20 08:37:44 -07:00
Jeff Williams
687aceec04 bump version to 3.3.0-dev (belatedly) 2013-09-17 21:57:53 -07:00
Jeff Williams
7093310ac1 fix shells that don't support [[ … ]] pattern matching (#492) 2013-09-17 21:51:38 -07:00
Brian Donovan
79487b786a Account for relative jsdoc symlinks.
This happens when you install jsdoc via homebrew on Mac OS X. The jsdoc binary is actually a link to "../Cellar/jsdoc3/3.2.0/bin/jsdoc", which without this patch the BASEPATH line below tries to cd up a level from the current working directory and into a non-existent Cellar directory.
2013-09-17 11:36:07 -07:00
Jeff Williams
a36769ac7d fix syntax issue 2013-09-15 22:39:21 -07:00
Jeff Williams
7863eb3eb9 test for #439 (and fix existing parseComplete test) 2013-09-14 09:02:06 -07:00
Jeff Williams
bb0f6733a8 Merge branch 'pr/439' 2013-09-14 08:38:05 -07:00
Jeff Williams
700e5d9ea9 fix type tag for type expressions that span multiple lines (#427) 2013-09-14 08:33:54 -07:00
Jeff Williams
7d6fefe1c2 update excludePattern to match conf.json.EXAMPLE (#487) 2013-09-10 03:04:05 -07:00
Jeff Williams
30011780c7 cleanup 2013-09-10 02:48:52 -07:00
Jeff Williams
da524aa558 allow requires tag text to be an inline link tag (#486) 2013-09-09 22:24:44 -07:00
Jeff Williams
09b489a792 Merge pull request #475 from Kienz/lineJumpFix
Fix for jump to line in source file
2013-08-19 08:32:24 -07:00
Jeff Williams
c48bbc006a long-overdue update to the template README 2013-08-19 08:15:43 -07:00
Kienz
f7b6bd6988 Add class line to span-tags for line-numbers
Update css
2013-08-18 10:33:53 +02:00
Jeff Williams
abeb539a33 unit tests for let keyword (#477) 2013-08-17 00:24:36 -07:00
Jeff Williams
c8167b8d76 set Rhino shell's JS version to 180 (#477)
fixes a crash with JS 1.8 keywords (such as `let`)
2013-08-15 07:44:30 -07:00
Kienz
b4029d0559 Fix for jump to source file line 2013-08-12 12:41:33 +02:00
Jeff Williams
7459bbbd52 bump revision 2013-08-06 07:37:48 -07:00
Jeff Williams
770f5ebb43 generate links correctly when text has extra [bracketed] strings (#470) 2013-08-05 21:26:43 -07:00
Jeff Williams
912f548343 make the default template generate pretty-printed source files by default (#454) 2013-08-04 23:46:21 -07:00
Jeff Williams
a2f947bd34 change 'virtual' to 'abstract' in default template output (#432) 2013-08-04 23:34:21 -07:00
Jeff Williams
47fe83de3d prevent crashes in lenient mode when a param tag has an invalid type expression (#451) 2013-08-04 23:21:01 -07:00