1876 Commits

Author SHA1 Message Date
Túbal Martín
2447c035c2 Select source code only
Works on Chrome, FF, Opera, Safari, IE10+.
More info about compatibility: http://caniuse.com/#feat=user-select-none
2013-11-16 21:43:59 +01:00
Túbal Martín
78f39383f3 Fix for long numbers in line numbers column (up to 5 digits which should be enough). 2013-11-15 15:11:10 +01:00
Túbal Martín
7ba1d5da6b Format according to JSdoc style guidelines. 2013-11-14 17:45:55 +01:00
Túbal Martín
6ce7a5a36f Make anchors work again and highlight the anchored line. 2013-11-14 16:58:38 +01:00
Túbal Martín
86db992861 Show line numbers in source code. 2013-11-14 14:16:14 +01:00
Jeff Williams
f55feb1a0e 'use strict'ify 2013-11-11 23:49:54 -08:00
Jeff Williams
3716df0e23 update JSHint to 2.3.0, and only run it on Node.js 2013-11-10 23:20:03 -08:00
Jeff Williams
8f51a6f9a1 cleanup 2013-11-10 22:47:30 -08:00
Jeff Williams
e0df71b1ae fix various path-related issues on Windows
- add env.pwd global, and use it instead of process.env.PWD, which is
undefined in Node.js on Windows
- normalize paths where necessary
2013-11-10 16:57:48 -08:00
Jeff Williams
a21948c068 updated Rhino that can load modules from a path
thanks to this change, we can rip out some code that converts paths to
URIs and vice-versa.

https://github.com/jsdoc3/rhino/0f7750b1
2013-11-10 16:52:48 -08:00
Jeff Williams
4e4a5419e9 whitespace 2013-11-10 16:34:34 -08:00
Jeff Williams
679dd6498b on Rhino, optimize the order of the module paths
resolves a Windows issue that caused modules to be discovered in the
wrong order
2013-11-10 07:40:44 -08:00
Jeff Williams
6333e5d90d comment out hashbangs in files with Windows line endings 2013-11-10 07:29:26 -08:00
Jeff Williams
8d36f92e7a fix Node.js postinstall script on Windows
should now work on Windows XP and in shells without admin privileges
2013-11-09 10:58:04 -08:00
Jeff Williams
ac88f30936 escape @example tag contents (#511) 2013-11-07 08:26:15 -08:00
Jeff Williams
6142dccf9c escape ampersands in HTML-safe text (#511) 2013-11-07 08:25:55 -08:00
Jeff Williams
8ba5919b77 resolve path before creating directory (#516) 2013-11-06 23:16:21 -08:00
Jeff Williams
f070c59731 prevent Markdown parser from breaking the {@link} tag (#518) 2013-11-06 22:04:24 -08:00
Jeff Williams
15b18bab8c resolve resource file paths relative to working directory (#516) 2013-11-05 21:30:28 -08:00
Jeff Williams
705e72b77f permissions change 2013-11-05 20:57:03 -08:00
Jeff Williams
f958ab0fd2 prevent doclet paths from being shortened twice (#514) 2013-11-05 20:52:59 -08:00
Jeff Williams
5225cb13f5 remove stray comma 2013-11-04 21:39:25 -08:00
Jeff Williams
52610295f3 clean up dependencies 2013-11-04 21:35:26 -08:00
Jeff Williams
1670745352 fix npm syntax 2013-11-04 21:32:28 -08:00
Jeff Williams
95338341a8 update installation/usage instructions 2013-11-04 21:22:57 -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
a8c910090d 3.2.2 changelog 2013-11-04 08:50:18 -08:00
Jeff Williams
01882a231b test for variable-scoping issue in JSDoc 3.2.1 (#513) 2013-11-04 07:51:23 -08:00
Jeff Williams
a3d3384293 resolve paths relative to the user's working directory 2013-11-04 07:12:23 -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
cd29b7cb91 require the jasmine helpers only once 2013-11-02 23:21:40 -07: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
b81de7863d use an empty excludePattern if the config file does not specify one (#508) 2013-11-02 21:37:17 -07:00
Jeff Williams
4e93dcbd6c whitespace 2013-11-02 12:38:45 -07: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
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