aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [DOC] Improve docs for GC.startPeter Zhu2023-08-151-20/+25
|
* [DOC] Improve some GC docsPeter Zhu2023-08-152-2/+2
|
* Add description to the empty test file [ci skip]Nobuyoshi Nakada2023-08-151-0/+4
|
* * append newline at EOF. [ci skip]git2023-08-151-0/+1
|
* An empty test file for satisfy chkbuild [ci skip]Nobuyoshi Nakada2023-08-151-0/+0
|
* Remove a misplaced and duplicate file [ci skip]Nobuyoshi Nakada2023-08-151-28/+0
|
* [DOC] Remove Document-class from trace_point.rbPeter Zhu2023-08-141-2/+0
|
* YJIT: Chain guard classes on instance_of (#8209)Takashi Kokubun2023-08-141-2/+9
|
* Fix test and precheck order for old GNU MakeNobuyoshi Nakada2023-08-143-8/+30
|
* [DOC] RDoc for numeric.rb (#8216)Burdette Lamar2023-08-131-146/+125
|
* [DOC] Don't suppress autolinksBurdetteLamar2023-08-131-8/+8
|
* [ruby/irb] Support seamless integration with ruby/debugStan Lo2023-08-1311-114/+642
| | | | | | | | | | | | | | | | | | | | | | | | | | (https://github.com/ruby/irb/pull/575) * Support native integration with ruby/debug * Prevent using multi-irb and activating debugger at the same time Multi-irb makes a few assumptions: - IRB will manage all threads that host sub-irb sessions - All IRB sessions will be run on the threads created by IRB itself However, when using the debugger these assumptions are broken: - `debug` will freeze ALL threads when it suspends the session (e.g. when hitting a breakpoint, or performing step-debugging). - Since the irb-debug integration runs IRB as the debugger's interface, it will be run on the debugger's thread, which is not managed by IRB. So we should prevent the 2 features from being used at the same time. To do that, we check if the other feature is already activated when executing the commands that would activate the other feature. https://github.com/ruby/irb/commit/d8fb3246be
* [ruby/irb] Move IO configuration to IRB::IrbStan Lo2023-08-134-731/+766
| | | | | | | | | (https://github.com/ruby/irb/pull/681) It shouldn't be `RubyLex`'s responsibility to handle IO. So this moves the configuration to `IRB::Irb`. https://github.com/ruby/irb/commit/daff750076
* [ruby/irb] Remove useless `begin`/`end` [ci skip]Nobuyoshi Nakada2023-08-131-50/+48
| | | | | | | | (https://github.com/ruby/irb/pull/680) The `rescue` was removed at https://github.com/ruby/irb/commit/420e7d227011. https://github.com/ruby/irb/commit/8fa688e9c0
* Prohibit copying to `fixtures` and dot-direcotry just under `test`Nobuyoshi Nakada2023-08-132-2/+18
| | | | | | Do not add directories which would let chkbuild fires accidentally, to just under `test`. The "fixtures" directory is often used to place test stuffs.
* Move test files of ruby/set under `test/set`Nobuyoshi Nakada2023-08-134-1/+1
| | | | Chkbuild fires accidentally on `test/fixtures` directory.
* Prefix `excludes` with a dot to prevent chkbuild from firing wronglyNobuyoshi Nakada2023-08-1311-3/+3
| | | | | Chkbuild runs for each directories just under `test` directory when `test-all` failed. `test/excludes` itself should not be a target.
* Fix the precedence of `--backtrace-limit` optionNobuyoshi Nakada2023-08-132-1/+9
| | | | | | In general, if the same option specifying a single value is given multiple times at the same level, the last one overrides the earlier ones, unless prohibited.
* [DOC] Don't suppress autolinksBurdetteLamar2023-08-122-22/+22
|
* [DOC] Don't suppress autolinksBurdetteLamar2023-08-121-61/+61
|
* [ruby/irb] Drop showing indent level number in DEFAULT prompt andtomoya ishida2023-08-123-58/+58
| | | | | | | | | | | INF_RUBY prompt (https://github.com/ruby/irb/pull/679) * Drop showing indent level number in DEFAULT prompt and INF_RUBY prompt * Update prompt part of test_rendering's expected result https://github.com/ruby/irb/commit/3847532e54
* [ruby/irb] Reline/ReadlineInputMethod should inheritStan Lo2023-08-121-56/+6
| | | | | | | | | | | StdioInputMethod (https://github.com/ruby/irb/pull/671) They are both built on top of stdio and are basically extended version of StdioInputMethod. They also share several attributes and methods with StdioInputMethod. https://github.com/ruby/irb/commit/c5f5abdbde
* Update bundled gems list at 2023-08-12git2023-08-122-1/+2
|
* [DOC] Update to use `SPECOPTS` instead of `MSPECOPT`Nobuyoshi Nakada2023-08-122-10/+10
|
* Use the default test-spec formatter on TravisNobuyoshi Nakada2023-08-121-1/+1
|
* Make test-spec on Windows silent a littleNobuyoshi Nakada2023-08-122-3/+5
|
* Add dotted countsNobuyoshi Nakada2023-08-121-6/+26
|
* For parallel testNobuyoshi Nakada2023-08-121-1/+2
|
* Fold dotted outputs from test-specNobuyoshi Nakada2023-08-121-0/+48
|
* Reorder bp_check and jit_return in cfpTakashi Kokubun2023-08-111-10/+8
| | | | | It's the actual cfp[6] in the default build, so it's confusing to say otherwise in the comment.
* [DOC] Don't suppress autolinks (#8208)Burdette Lamar2023-08-111-31/+31
|
* [DOC] Don't suppress autolinks (#8207)Burdette Lamar2023-08-112-65/+71
|
* Extend the CI timeout for macOSTakashi Kokubun2023-08-111-1/+1
| | | | https://github.com/ruby/ruby/actions/runs/5836610844/job/15830549311
* YJIT: Implement GET_BLOCK_HANDLER() for invokesuper (#8206)Takashi Kokubun2023-08-113-66/+80
|
* [ruby/irb] Remove needless removal of trailing whitespace intomoya ishida2023-08-112-5/+12
| | | | | | | check_code_state (https://github.com/ruby/irb/pull/678) https://github.com/ruby/irb/commit/4a6af7d1ed
* [ruby/irb] Move assignment check to RubyLexStan Lo2023-08-114-99/+98
| | | | | | | | | | (https://github.com/ruby/irb/pull/670) Since assignment check relies on tokenization with `Ripper`, it feels like the responsibility of `RubyLex`. `Irb#eval_input` should simply get the result when calling `each_top_level_statement` on `RubyLex`. https://github.com/ruby/irb/commit/89d1adb3fd
* [ruby/irb] Skip integration tests in core CIStan Lo2023-08-113-12/+4
| | | | | | | | | | | | | | | | (https://github.com/ruby/irb/pull/677) We already skipped history integration tests in core CI in #675 due to suspicion on nested IRB sessions don't work on certain operating systems. But after #669, the evaluation integration test also started to fail on some Core CI suites. So, it looks like the integration test setup may not work in Core CI, at least in some suites. Consider `ruby/irb` already has rather sophisticated test suite, I think it's better to skip the integration tests in core CI for now. https://github.com/ruby/irb/commit/6f49b4c108
* YJIT: increase max chain depth for expandarray (#8205)Maxime Chevalier-Boisvert2023-08-111-2/+5
|
* [ruby/irb] Don't echo an expression's result when it ends with aStan Lo2023-08-113-2/+46
| | | | | | | semicolon (https://github.com/ruby/irb/pull/669) https://github.com/ruby/irb/commit/50185c2833
* [ruby/irb] Add black and white color to IRB::ColorStan Lo2023-08-111-0/+2
| | | | | | (https://github.com/ruby/irb/pull/676) https://github.com/ruby/irb/commit/a2763acade
* YJIT: implement codegen for rb_int_lshift (#8201)Maxime Chevalier-Boisvert2023-08-115-16/+36
| | | | | | | | | | | * YJIT: implement codegen for rb_int_lshift * Update yjit/src/asm/x86_64/mod.rs Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> --------- Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
* Group test-syntax-suggest and leaked-globals [ci skip]Nobuyoshi Nakada2023-08-112-0/+4
|
* Fix test-bundler dependenciesNobuyoshi Nakada2023-08-112-2/+3
|
* Fix order of test-syntax-suggest-prepare for old GNU MakeNobuyoshi Nakada2023-08-112-1/+2
|
* Remove uneeded fix2int and rational_raw property for Universal ParserS-H-GAMELINKS2023-08-113-6/+0
|
* YJIT: Implement checkmatch instruction (#8203)Takashi Kokubun2023-08-104-0/+39
|
* [Bug #19831] Remove duplicate library optionsNobuyoshi Nakada2023-08-111-3/+3
| | | | `$(MAINLIBS)` should include `$(LIBS)` already.
* Update an outdated YJIT bindingTakashi Kokubun2023-08-101-1/+5
|
* Fix the yjit-bindgen jobTakashi Kokubun2023-08-101-1/+1
| | | | | `YJIT_BINDGEN_DIFF_OPTS=--exit-code make yjit-bindgen` is not the same as `make yjit-bindgen YJIT_BINDGEN_DIFF_OPTS=--exit-code`, of course.
* [ruby/zlib] Zlib.gunzip should not fail with utf-8 stringsSorah Fukumori2023-08-102-1/+8
| | | | | | | | | | | | | | | | | | | | (https://github.com/ruby/zlib/pull/55) zstream_discard_input was encoding and character-aware when given input is user-provided, so this discards `len` chars instead of `len` bytes. Also Zlib.gunzip explains in its rdoc that it is equivalent with the following code, but this doesn't fail for UTF-8 String. ```ruby string = %w[1f8b0800c28000000003cb48cdc9c9070086a6103605000000].pack("H*").force_encoding('UTF-8') sio = StringIO.new(string) p gz.read #=> "hello" gz&.close p Zlib.gunzip(string) #=> Zlib::DataError ``` Reported and discovered by eagletmt at https://twitter.com/eagletmt/status/1689692467929694209 https://github.com/ruby/zlib/commit/c5e58bc62a