Jeff Williams
a29a03b2d9
move jsdoc/util/logger into a new package
2019-01-19 21:49:27 -08:00
Jeff Williams
261c116e03
move jsdoc/src/syntax into a new package
2019-01-19 13:26:16 -08:00
Alexandrine Boissière
0af05bea81
Add bluebird promises, make publish method work asynchronously if needed
2015-03-15 16:45:06 -07: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
d426d5696b
add Grunt tasks to run tests for all supported runtimes/parsers ( #525 )
...
To run the tests:
1. npm install -g grunt-cli
2. npm install (in JSDoc directory)
3. npm test (or: grunt test)
2013-12-25 21:47:38 -08:00
Jeff Williams
c9b0237c12
overhaul logging and error handling ( #416 )
2013-12-23 15:25:28 -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
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
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
8d6f746091
don't execute templateHelper tests twice ( #256 )
2013-03-20 10:52:21 -07:00
Jeff Williams
d73570defc
make fs module consistent with Node.js ( #211 )
2012-12-26 19:03:05 -08:00
Jeff Williams
e17601feb1
remove Envjs from test harness; remove broken --coffee option; add --nocolor option
2012-10-07 07:39:47 -07:00
Jannon
034205baa8
Testing Framework Upgrade Part II
...
The second half of the first phase of the testing framework upgrade. This finishes moving the exisintg tests to jasmine and the new test directory structure
2012-05-04 18:52:19 -07:00
Jannon
2d73440b3d
Testing Framework Upgrade Part I
...
This first part of the testing framework upgrade:
- enhances the jsdoc script to allow switching to debug mode from the command line
- uses Jasmine to run tests
- adds flexibility to run tests from multiple root directories
- does automatic test discovery, so test files can just be created, dropped in an appropriate folder, and run without having to explicity add it to the test runner
- cleans up the test directory layout
- incorporates env.rhino.js which should make it easier to test templates
- is incomplete: this is just a savepoint. About 1/3 of the tests have been converted. The rest are still run through the old testrunner
2012-04-30 17:39:50 -07:00
Jannon
1252d83ebc
A couple more tests of exisiting functions as object keys
2012-04-23 20:22:52 -07:00
Jannon
11aacdef1b
Fix for valueOf key in object literals
...
This is a test (provided by julienbachmann) and a fix for an issue where the parser crashes when valueOf is used as a key in an object literal
2012-04-21 04:04:48 -07:00
Jannon
f717abf6e1
fix and tests for #55
2012-03-20 23:24:21 -07:00
Jannon
a2259ac14c
adding recursive alias resolving from rafalwrzeszcz
2012-03-15 20:09:50 -07:00
Rafał Wrzeszcz
fcc26990ca
@abstract/@virtual tag support.
2011-12-10 10:27:33 +01:00
Michael Mathews
d7e74062b1
Fixed issue that caused members of named function statements to have the wrong memberof attributes generated by the parser. Closes Issue #60 .
2011-11-20 22:12:51 +00:00
Michael Mathews
39667e6b47
Added test cases for @memberof! tag.
2011-10-15 20:46:12 +01:00
Michael Mathews
39b5e09bb6
Fixed issue that caused incorrect longname to be calculated when a @memberof tag was applied to a constructor nested within another constructor.
2011-10-15 16:15:19 +01:00
Michael Mathews
134227b6d4
Added support for @variation tag.
2011-10-14 20:41:06 +01:00
Michael Mathews
badf1fcacd
Added unit tests for @enum.
2011-10-08 22:00:38 +01:00
Michael Mathews
7d840bcaa3
The event namespace is now optional for symbols mentioned in @fires tags. Closes #40 .
2011-10-07 20:42:23 +01:00
Michael Mathews
df45f945b4
Fix for case where a @lends tag was on an object literal, and an anonymous @constructs tag was on a property would throw an error.
2011-10-06 21:34:13 +01:00
Michael Mathews
de4f31b46e
Now support /*!* comments. Closes #26 .
2011-09-23 22:04:53 +01:00
tschaub
497982de67
Tests for adding inherited members.
2011-09-20 17:22:36 -06:00
Michael Mathews
bf21286685
The value for a @constructs tag can now be inferred from the source code, if no value is provided. Closes #31 .
2011-09-12 21:38:50 +01:00
Michael Mathews
dfe7474ece
Inner functions are now tracked, same as inner vars. Fixes bug where some inner functions were not documented as members of their enclosing function. Closes #30 .
2011-09-08 23:34:00 +01:00
Michael Mathews
e3e79e4742
Fix scope property for symbols documented as members of <global>.
2011-09-02 21:26:15 +01:00
Michael Mathews
ed40b7bb27
JSDoc will recognise documented inner members of JS modules. Closes #27 .
2011-09-01 08:06:51 +01:00
Michael Mathews
32f6b1f460
Added testhelper to resolve {@link ...} tags.
2011-08-04 20:46:02 +01:00
Michael Mathews
a8cd6b59de
Tweaks to get UTF-8 reading/writing correct on Windows.
2011-06-19 10:47:24 +01:00
Michael Mathews
8799668ccf
Added more nodejs compatible version of require().
2011-06-17 21:06:37 +01:00
Michael Mathews
2b3553dd64
Added boolean trus and false to the list of @default values recognised from the code source. Added support for invalid variable name characters in the keys of objectliterals, plus tests.
2011-04-10 00:31:54 +02:00
Michael Mathews
20416aa65c
Added support for @lends to the global.
2011-04-09 21:44:44 +02:00
Michael Mathews
79964a8727
Implemented excludePattern option in conf.json to exclude source files that match a given pattern.
2011-03-17 23:04:26 +00:00
Michael Mathews
98bd032049
Added borrow module to resolve borrowed symbols.
2011-03-17 22:19:50 +00:00
Michael Mathews
91a6cdb245
Added support for {type} clauses in @property, @const, and @module.
2011-03-12 22:28:15 +00:00
Michael Mathews
71fc8b4e3c
The @lends tag now marks itself as undocumented, so it doesnt overwrite the symbol being lent to.
2011-02-26 20:29:59 +00:00
Michael Mathews
7402f3fffb
Added more tests for @lends tag.
2011-02-25 22:58:28 +00:00
micmath
81cc2e4939
Fixes for var scoping, @lends and @borrows.
...
git-svn-id: https://jsdoc.googlecode.com/svn/trunk/@17 d5942f49-e6af-b5c1-9d01-85772c7ca168
2011-02-24 17:11:05 +00:00
micmath
cbab597b91
Improved detection of outer/inner scoped variables.
...
git-svn-id: https://jsdoc.googlecode.com/svn/trunk/@14 d5942f49-e6af-b5c1-9d01-85772c7ca168
2011-02-24 17:10:24 +00:00
micmath
6af99edab7
Added support for @typedef tag.
...
git-svn-id: https://jsdoc.googlecode.com/svn/trunk/@13 d5942f49-e6af-b5c1-9d01-85772c7ca168
2011-02-24 17:10:12 +00:00
micmath
ff90450af5
Doclets that are immediately adjacent to each other are now considered @also docs.
...
git-svn-id: https://jsdoc.googlecode.com/svn/trunk/@12 d5942f49-e6af-b5c1-9d01-85772c7ca168
2011-02-24 17:10:00 +00:00
Michael Mathews
92b54f6f32
Added support for the @default tag.
2011-02-04 21:37:36 +00:00
Michael Mathews
2facb898bf
Additional tests for @borrows.
2011-01-30 15:54:07 +00:00
Michael Mathews
bf7b667861
Added tests for the @borrows tag.
2011-01-30 14:31:59 +00:00