summaryrefslogtreecommitdiff
path: root/test/rdoc
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/rdoc] Read generated files in binary modeNobuyoshi Nakada2023-03-311-13/+12
| | | | | | | So that fixes crash with "invalid byte sequence in US-ASCII" on ci.rvm.jp and some RubyCIs. https://github.com/ruby/rdoc/commit/4b416644f0
* [ruby/rdoc] Add test coverage for -C flagzzak2023-02-061-0/+20
| | | | https://github.com/ruby/rdoc/commit/564be08f4b
* [ruby/rdoc] Add rdoc:coverage default taskzzak2023-02-031-0/+9
| | | | https://github.com/ruby/rdoc/commit/157fbaf575
* [ruby/rdoc] Fix fragile testsNobuyoshi Nakada2022-12-231-2/+2
| | | | | | | When the temporary path is long enough, the formatter may fold the path and may hit a hyphen at the end of line, and miscounted. https://github.com/ruby/rdoc/commit/5f46479543
* Debug for zlinux CI [ci skip]Nobuyoshi Nakada2022-12-231-2/+2
|
* [ruby/rdoc] Clean up home directories for each testNobuyoshi Nakada2022-12-233-12/+8
| | | | https://github.com/ruby/rdoc/commit/f067c174da
* [ruby/rdoc] Non-RD part feature has not been imported to RDocNobuyoshi Nakada2022-12-011-0/+21
| | | | https://github.com/ruby/rdoc/commit/fe0159de2f
* [ruby/rdoc] Add `--no-skipping-tests` optionSven Riedel2022-11-282-0/+53
| | | | https://github.com/ruby/rdoc/commit/33925f885f
* Skip a broken RDoc testTakashi Kokubun2022-11-271-0/+1
| | | | | | | | | | | | | | | | | | http://ci.rvm.jp/results/trunk-yjit@phosphorus-docker/4309535 http://ci.rvm.jp/results/trunk-random0@phosphorus-docker/4309536 http://ci.rvm.jp/results/trunk-random1@phosphorus-docker/4309538 http://ci.rvm.jp/results/trunk-random2@phosphorus-docker/4309541 http://ci.rvm.jp/results/trunk-random3@phosphorus-docker/4309544 http://ci.rvm.jp/results/trunk-no-mjit@phosphorus-docker/4309550 http://ci.rvm.jp/results/trunk-yjit@phosphorus-docker/4309556 http://ci.rvm.jp/results/trunk-random0@phosphorus-docker/4309562 http://ci.rvm.jp/results/trunk-random1@phosphorus-docker/4309564 http://ci.rvm.jp/results/trunk-random2@phosphorus-docker/4309567 http://ci.rvm.jp/results/trunk-random3@phosphorus-docker/4309570 http://rubyci.s3.amazonaws.com/solaris10-gcc/ruby-master/log/20221127T200003Z.fail.html.gz http://ci.rvm.jp/results/trunk-random-repeat@phosphorus-docker/4309581 http://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20221127T203002Z.fail.html.gz http://ci.rvm.jp/results/trunk-yjit@phosphorus-docker/4309588
* [ruby/rdoc] Revert "Refactor `RDoc::Markup::Parser#tokenize`"Nobuyoshi Nakada2022-11-271-10/+11
| | | | | | This reverts commit https://github.com/ruby/rdoc/commit/41ceae93b3bc. https://github.com/ruby/rdoc/commit/5d2c47e8b8
* [ruby/rdoc] Refactor `RDoc::Markup::Parser#tokenize`Nobuyoshi Nakada2022-11-271-11/+10
| | | | | | Make verbatims text or newline only, and simplify `build_verbatim`. https://github.com/ruby/rdoc/commit/41ceae93b3
* [ruby/rdoc] Darkfish: Nest sidebar ToC as a tree of headingsnick evans2022-11-271-0/+25
| | | | | | | This uses `<details><summary>heading</summary><ul>nested</ul></detail>`, similar to how the classes and pages lists are now nested. https://github.com/ruby/rdoc/commit/e57beff287
* [ruby/rdoc] Special characters are prohibited as filename on WindowsNobuyoshi Nakada2022-10-071-1/+10
| | | | https://github.com/ruby/rdoc/commit/13b9da5932
* [ruby/rdoc] Escape file namesNobuyoshi Nakada2022-10-071-0/+14
| | | | | | https://hackerone.com/reports/1321358 https://github.com/ruby/rdoc/commit/8c07cc4657
* [ruby/rdoc] Escape main titleNobuyoshi Nakada2022-10-071-0/+21
| | | | | | https://hackerone.com/reports/1187156 https://github.com/ruby/rdoc/commit/5dedb5741d
* [ruby/rdoc] Escape HYPERLINKsNobuyoshi Nakada2022-10-071-0/+5
| | | | https://github.com/ruby/rdoc/commit/ac35485be6
* [ruby/rdoc] Escape RDOCLINKsNobuyoshi Nakada2022-10-071-0/+25
| | | | | | https://hackerone.com/reports/1187156 https://github.com/ruby/rdoc/commit/7cecf1efae
* [ruby/rdoc] Escape TIDYLINKsNobuyoshi Nakada2022-10-071-0/+23
| | | | | | https://hackerone.com/reports/1187156 https://github.com/ruby/rdoc/commit/1ad2dd3ca2
* [ruby/rdoc] Add center alignNobuyoshi Nakada2022-10-061-2/+2
| | | | https://github.com/ruby/rdoc/commit/512cc55a0e
* [ruby/rdoc] Allow spaces around pipesNobuyoshi Nakada2022-10-061-1/+1
| | | | https://github.com/ruby/rdoc/commit/3b3a583580
* [ruby/rdoc] Allow escaped pipes in cellsNobuyoshi Nakada2022-10-061-1/+3
| | | | https://github.com/ruby/rdoc/commit/333952a62d
* [ruby/rdoc] Allow leading pipes to be ommittedNobuyoshi Nakada2022-10-061-3/+3
| | | | https://github.com/ruby/rdoc/commit/d263a2c9c4
* [ruby/rdoc] Allow trailing pipes to be ommittedNobuyoshi Nakada2022-10-061-0/+19
| | | | https://github.com/ruby/rdoc/commit/1318048877
* [ruby/rdoc] Allow RDoc markups in table cellsNobuyoshi Nakada2022-10-061-0/+4
| | | | https://github.com/ruby/rdoc/commit/b16d3f1727
* [ruby/rdoc] Add `RDoc::Markup::ToHtml#accept_table` testNobuyoshi Nakada2022-10-061-0/+23
| | | | https://github.com/ruby/rdoc/commit/0cb3df713b
* [ruby/rdoc] Fix ruby script in "test_parse_method_bracket" ↵Yuichiro Kaneko2022-09-261-4/+4
| | | | | | | | (https://github.com/ruby/rdoc/pull/927) Because it's syntax error. https://github.com/ruby/rdoc/commit/993f2532ff
* [ruby/rdoc] Allow multiple footnotes without in-between blank linesNobuyoshi Nakada2022-08-081-1/+0
| | | | | | | | | | | | https://github.com/ruby/ruby/commit/e4e054e3ce40 used four footnotes without blank lines. And the ChangeLog generated from that commit resulted in ``undefined method `parts' for nil`` error. For now, let a footnote terminated by the next footnote mark. Also refined the error message when undefined footnote is used. https://github.com/ruby/rdoc/commit/a7f290130b
* [ruby/rdoc] Fix blockquote with word in verbatimNobuyoshi Nakada2022-07-301-0/+9
| | | | https://github.com/ruby/rdoc/commit/75eee668a5
* [ruby/rdoc] Fix formatting blockquote in verbatimNobuyoshi Nakada2022-07-291-0/+11
| | | | | | Reported at https://github.com/ruby/rdoc/pull/907#discussion_r932505816 https://github.com/ruby/rdoc/commit/86384ac7f9
* [ruby/rdoc] Fix call-seq for aliased method with similar namesPeter Zhu2022-07-181-0/+14
| | | | | | | | | | deduplicate_call_seq has a bug that skips call-seq for methods where the alias is a prefix of the method name. For example, if the alias name is "each" and the current method name is "each_line", then deduplicate_call_seq will skip all call-seq for "each_line" since it will believe that it is for the alias. https://github.com/ruby/rdoc/commit/1148988ccc
* [ruby/rdoc] `RubyVM` is implementation dependentNobuyoshi Nakada2022-07-111-0/+2
| | | | https://github.com/ruby/rdoc/commit/aaeb5ce1ce
* [ruby/rdoc] Fix the known classes moreNobuyoshi Nakada2022-07-111-2/+23
| | | | https://github.com/ruby/rdoc/commit/9f47234e0e
* [ruby/rdoc] Fix an exception class nameNobuyoshi Nakada2022-07-111-0/+2
| | | | https://github.com/ruby/rdoc/commit/87301da71b
* [ruby/rdoc] Support attributes defined by `rb_struct_define`Nobuyoshi Nakada2022-06-281-0/+14
| | | | https://github.com/ruby/rdoc/commit/854b370763
* [ruby/rdoc] Parse also InitVM-prefixed functionsNobuyoshi Nakada2022-06-281-0/+17
| | | | | | Initialization depending on VM is separated. https://github.com/ruby/rdoc/commit/030d10fccd
* [ruby/rdoc] Allow boolean arguments to `rb_attr` and `rb_define_attr`Nobuyoshi Nakada2022-06-071-70/+19
| | | | | | | | | | Currently only literal `0` and `1` are accepted as `read`/`write` flags. This patch allows other boolean arguments, C macros (`FALSE`/`TRUE`), Ruby `VALUE`s (`Qfalse`/`Qtrue`), and C99 `bool`s (`false`/`true`), as well. https://github.com/ruby/rdoc/commit/169dc02e3c
* [ruby/rdoc] Use runnable command as DUMMY_PAGERNobuyoshi Nakada2022-06-061-1/+6
| | | | https://github.com/ruby/rdoc/commit/fec1ab2e41
* [ruby/rdoc] Remove `RDoc::RI::Driver#in_path?`Nobuyoshi Nakada2022-06-041-17/+0
| | | | https://github.com/ruby/rdoc/commit/83051403d6
* [ruby/rdoc] Enable pager testsNobuyoshi Nakada2022-06-041-5/+3
| | | | https://github.com/ruby/rdoc/commit/ce63794fde
* [ruby/rdoc] Apply matching word pairs to underscore-methodsNobuyoshi Nakada2022-04-141-0/+2
| | | | | | | Protected characters with `PROTECT_ATTR` should not have special roles. https://github.com/ruby/rdoc/commit/c318af0ea2
* [ruby/rdoc] Allow cross references to methods including underscoresNobuyoshi Nakada2022-04-141-6/+8
| | | | | | | As underscores are masked to "protect" from the conversion, consider also `PROTECT_ATTR` as a word character. https://github.com/ruby/rdoc/commit/db58bb5170
* [ruby/rdoc] Only parse valid URLsPeter Zhu2022-04-131-0/+1
| | | | | | | | | Only valid characters for URLs should be used for generating URLs. A list of valid characters can be found in sections 2.2 and 2.3 of IETF RFC 3986 (https://www.ietf.org/rfc/rfc3986.txt). https://github.com/ruby/rdoc/commit/2bd8fcdd4f
* [ruby/rdoc] Expand the enclosing tree of the current fileNobuyoshi Nakada2022-03-221-0/+4
| | | | https://github.com/ruby/rdoc/commit/f9f90ef2ff
* [ruby/rdoc] Fold files in the page directoryNobuyoshi Nakada2022-03-221-0/+5
| | | | https://github.com/ruby/rdoc/commit/b7b4cdab6c
* [ruby/rdoc] Add test_generate_pageNobuyoshi Nakada2022-03-221-0/+8
| | | | https://github.com/ruby/rdoc/commit/c870284163
* [ruby/rdoc] Fix full name of known classNobuyoshi Nakada2022-03-161-0/+11
| | | | | | | | | | | | | | Properly set the name of `File::Constants`, which is the only name with a namespace in `RDoc::KNOWN_CLASSES`, and fixes longstanding bug that `File::Constants` becomes `File::File::Constants`. When it is generated by `rb_file_const` in dir.c, `name` is set to the qualified name as same as `full_name`, and generated in the normal way in file.c later, already set `full_name` is cleared and `name` will be constructed from the enclosing namespace and the `name`. It will results in duplicated namespace, `File::File::Constants`. https://github.com/ruby/rdoc/commit/3a8d6df562
* [ruby/rdoc] Fold class and module indexNobuyoshi Nakada2022-03-141-0/+5
| | | | https://github.com/ruby/rdoc/commit/4c7c46fcc4
* [ruby/rdoc] Support crossref of methods with multiple argumentsPeter Zhu2022-03-091-0/+6
| | | | | | | | | | | | | | | | | | For example, consider the following markup: C1#m(a, b) Before this patch, it generated this HTML: <p><a href=\"C1.html#method-i-m\"><code>C1#m</code></a>(a, b)</p> Which places the method arguments outside of the link. Now it generates this HTML: <a href=\"C1.html#method-i-m\"><code>C1#m(a, b)</code></a> https://github.com/ruby/rdoc/commit/05a2b2222b
* [ruby/rdoc] Load YAML library for each testNobuyoshi Nakada2022-02-121-0/+4
| | | | https://github.com/ruby/rdoc/commit/a93e1bcd68
* [ruby/rdoc] Dump plain objects as `RDoc::Options`Nobuyoshi Nakada2022-02-122-14/+37
| | | | | | So that the generated `.rdoc_options` file is loadable. https://github.com/ruby/rdoc/commit/6cf6e1647b