Jeff Williams
f55feb1a0e
'use strict'ify
2013-11-11 23:49:54 -08:00
Jeff Williams
6142dccf9c
escape ampersands in HTML-safe text ( #511 )
2013-11-07 08:25:55 -08: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
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
770f5ebb43
generate links correctly when text has extra [bracketed] strings ( #470 )
2013-08-05 21:26:43 -07:00
Jeff Williams
01ce3042d1
prevent crashes in lenient mode when a returns tag has no value ( #451 )
2013-08-04 18:07:27 -07:00
Jeff Williams
6c4f59b107
minor code cleanup
2013-08-04 11:52:37 -07:00
Jeff Williams
da22d723b7
Merge branch 'master' into parsimony
...
Conflicts:
lib/jsdoc/src/parser.js
test/specs/tags/defaulttag.js
2013-06-23 21:40:21 -07:00
Jeff Williams
44d9ec6831
new parser infrastructure
...
consumes ASTs that follow the Mozilla Parser API spec:
https://developer.mozilla.org/en-US/docs/SpiderMonkey/Parser_API
passes all tests on OS X; performance is comparable to previous
version. also includes some miscellaneous cleanup.
remaining issues:
- only Rhino AST builder is supported
- node visitors (old and new) may not be hooked up yet
- circular-reference issues in doclets
- docs are (mostly) missing
- various other TODO comments
2013-06-23 10:18:13 -07:00
Louis-Dominique Dubeau
32d00c20ca
Changes to allow target and text in {@link target text} to be separated by newlines and for text to contain newlines.
2013-06-21 10:03:26 -04:00
Jeff Williams
992827ce58
don't parse inline tags as type expressions ( #372 )
2013-04-29 08:42:55 -07:00
Jeff Williams
398595d796
use inline tag module in templateHelper; allow inline tag replacers to operate on the entire string
...
the latter change undoes part of
9de918ab942c3d9a5c2883130d5b9b1a965b2bb2
2013-04-29 07:47:44 -07:00
Jeff Williams
d6f1eed8c0
refactor link-generating code
...
linkto and resolveLinks now rely on shared functions instead of
reimplementing one another
2013-04-28 10:03:02 -07:00
Jeff Williams
070903fb88
link to individual line numbers in source files ( #316 )
2013-04-20 09:19:10 -07:00
Jeff Williams
263e3ca2e4
remove variations before generating filenames ( #179 )
2013-04-15 06:50:27 -07:00
Jeff Williams
407a718543
Merge branch 'pr/365'
2013-04-07 07:14:57 -07:00
Jeff Williams
e5be860cc4
support modules that export a single non-constructor function ( #384 )
2013-04-06 16:53:20 -07:00
mathematicalcoffee
66321a196f
Merge branch 'master' into feature-listens
2013-03-25 10:30:24 +10:00
Jeff Williams
d01442172f
Merge pull request #359 from freejosh/master
...
Allow other whitespace between @link tags and content
2013-03-23 17:57:08 -07:00
Jeff Williams
016ee85362
might as well turn the URL into a link ( #371 )
2013-03-23 09:39:19 -07:00
Jeff Williams
306046ce0e
allow see tag to contain URLs, like < http://example.org > or http://example.org ( #371 )
2013-03-23 08:17:13 -07:00
Jeff Williams
badff421bc
for complex type expressions, use the expression as the link text
...
fixes test failure.
2013-03-21 12:50:03 -07:00
Jeff Williams
2ccd9c4f39
more improvements to error handling for type expressions
2013-03-21 09:25:52 -07:00
Jeff Williams
edcd94eeba
link to type applications correctly in template output ( #152 )
2013-03-19 22:43:27 -07:00
mathematicalcoffee
36763a9fbb
added function addEventListeners with tests to templateHelper
2013-03-18 14:32:35 +10:00
Josh Freeman
6b7125b33e
Allow other whitespace between @link and content
2013-03-11 11:03:12 -03:00
mathematicalcoffee
19417afba3
first attempt at finding listeners for an event, need to test.
2013-02-26 17:04:00 +10:00
mathematicalcoffee
2a8166cf3b
Revert "FEATURE/FIX: jsdoc/util/templateHelper.getAncestorLinks: direct parents punctuation should be part of the link text. <a href="">Parent~</a> vs <a href="">Parent</a>~"
...
This reverts commit dad08be08a3cc92df3a73f58959c8847b7733a6c.
2013-02-22 12:46:21 +10:00
mathematicalcoffee
7c497b0580
Merge branch 'master' into tests-util
...
Conflicts:
test/specs/jsdoc/util/templateHelper.js
2013-02-22 12:37:26 +10:00
Jeff Williams
dfe917a35a
generate human-readable filenames ( #339 )
2013-02-19 07:02:08 -08:00
mathematicalcoffee
096f1dd9d1
BUGFIX (tutorial/resolver, util/templateHelper): be careful when tutorial names are reserved JS keywords (e.g. 'constructor'))
2013-02-14 16:48:49 +10:00
mathematicalcoffee
c37e801291
BUGFIX: linkto and toLink should use hasOwnProp to avoid errors from linking to reserved keywords, e.g. {@link constructor} or linkto('constructor')
2013-02-14 15:41:57 +10:00
mathematicalcoffee
dad08be08a
FEATURE/FIX: jsdoc/util/templateHelper.getAncestorLinks: direct parents punctuation should be part of the link text. <a href="">Parent~</a> vs <a href="">Parent</a>~
2013-02-12 16:51:35 +10:00
Jeff Williams
5488737ec6
allow users to specify class attributes for generated links ( #331 )
2013-01-30 20:41:10 -08:00
Jeff Williams
f85a74d9fe
need to escape author tag's text if the match fails
2013-01-28 07:48:17 -08:00
Jeff Williams
434c80e803
turn '@author' tag text into mailto: link where possible ( #326 )
2013-01-28 07:33:07 -08:00
Jeff Williams
4a57a3718c
escape less-than sign in signature headings ( #307 )
2013-01-17 07:20:23 -08:00
Jeff Williams
d5877c1217
move rhino_modules/ to lib/
2012-12-23 14:09:37 -08:00