94 Commits

Author SHA1 Message Date
Jeff Williams
c96a1215bd add a warning about potential crashes (#554) 2014-02-01 19:36:34 -08:00
Jeff Williams
ae93b5e614 add omitNodes option to hide AST nodes 2014-01-26 15:05:15 -08:00
Jeff Williams
733eb6bc47 log objects in events more consistently 2014-01-26 09:37:36 -08:00
Jeff Williams
c9b0237c12 overhaul logging and error handling (#416) 2013-12-23 15:25:28 -08:00
Jeff Williams
f55feb1a0e 'use strict'ify 2013-11-11 23:49:54 -08:00
Jeff Williams
6651a85b35 Merge branch 'master' into parsimony
Conflicts:
	lib/jsdoc/src/filter.js
	lib/jsdoc/src/scanner.js
	package.json
	test/specs/jsdoc/src/filter.js
	test/specs/jsdoc/src/scanner.js
	test/specs/tags/exportstag.js
2013-11-04 08:54:46 -08:00
Jeff Williams
99ab99298d add partial test infrastructure to support testing multiple parsers in one runtime
not fully implemented.
2013-11-04 06:46:47 -08:00
Jeff Williams
84188d6e62 don't escape inline HTML in Markdown-tagged text; remove markdown-js parser, and default to marked (#510) 2013-11-02 12:37:34 -07:00
Jeff Williams
7ac6bfee1c cleanup 2013-10-31 15:32:08 -07:00
Jeff Williams
e17b785a43 whitespace 2013-10-31 09:25:24 -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
Ernst Haagsman
d4ee1d324e Plugins: Created processingComplete event
The processingComplete event fires after all processing has been
done. It gets the entire docs as its only parameter.
2013-05-10 11:56:34 +02:00
Jeff Williams
f97803ad69 use Object.keys instead of Object.hasOwnProperty where possible 2013-05-02 20:06:04 -07:00
Jeff Williams
140883c553 Merge pull request #297 from phasmal/add-see-tag-support
Added support for @see tag in markdown plugin
2013-04-19 15:08:33 -07:00
Jeff Williams
359fa84d3c add plugin making it easier to link to overloaded methods (#179) 2013-04-15 06:55:45 -07:00
Jeff Williams
eb9d95fa60 add 'parseBegin' and 'parseComplete' events (#299) 2013-03-23 18:37:04 -07:00
Jeff Williams
23914496ea Merge pull request #360 from Billiam/fix/markdown-exclude-tags-337
Add excludeTags config option for markdown plugin
2013-03-23 18:09:15 -07:00
Jeff Williams
f0224e9845 don't crash if a file does not contain any comments (#368) 2013-03-21 12:41:04 -07:00
Billiam
282fc16e49 Adding excludeTags to markdown config. 2013-03-09 23:14:33 -06:00
Jeff Williams
370c1ea1e7 update plugin docs 2013-01-27 08:37:31 -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
5df93a0136 improvements to eventDumper plugin 2013-01-26 08:07:09 -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
mathematicalcoffee
7678689278 for jsdoc3/jsdoc3.github.com#5 - mention jsdoc/util/error in plugin docs 2013-01-18 14:43:42 +10:00
Jeff Williams
2ad44a6c6a remove stray console.log 2013-01-15 08:39:11 -08:00
Jeff Williams
5880a7bd79 add plugin that removes everything except JSDoc comments from source files (#304) 2013-01-15 08:26:31 -08:00
phasmal
d7ea22b6f2 removed some tab chars 2013-01-03 13:14:51 +11:00
phasmal
554917137b Fixed jshint-clean issues reported on github .. again 2013-01-03 12:40:46 +11:00
phasmal
427a46177d Added support for @see tag in markdown plugin, including adding 'see' to default list and fixing recursion into Arrays 2013-01-03 11:43:46 +11:00
Jeff Williams
d73570defc make fs module consistent with Node.js (#211) 2012-12-26 19:03:05 -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
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
10cd4a077d get rid of superfluous [[string0]] on console when running tests 2012-10-30 22:55:32 -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
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
97e5cb9bf2 fix bad regexp in JSHint test; make plugins JSHint-clean 2012-10-20 15:06:56 -07:00
Jeff Williams
5295803fc7 replace all types of line endings 2012-10-19 22:07:42 -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
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
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
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