summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-03goruby.c: include golf_prelude.c to get rid of overwriting EXTOBJSNobuyoshi Nakada
2021-07-03Separate toolchain dependent testNobuyoshi Nakada
2021-07-03Remove copy coroutine build rule.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/4623
2021-07-03* 2021-07-03 [ci skip]git
2021-07-03Removed extinit.o from main programsNobuyoshi Nakada
It is included in libruby, which is linked into the main programs.
2021-07-03Fix linking bundled zlibNobuyoshi Nakada
* Prefix "./" to the import library name to expanded when static linking exts. * Copy zlib shared library to the top build directory.
2021-07-03Library arguments to VC are bare file namesNobuyoshi Nakada
2021-07-03Use $ignore_error defined in mkmf.rbNobuyoshi Nakada
2021-07-02[ruby/error_highlight] Suppress SyntaxError during RubyVM::AST.ofYusuke Endoh
When the original source code is erb, RubyVM::AST.of does not work well. https://github.com/rails/rails/issues/42678. https://github.com/ruby/error_highlight/commit/b1572761a6
2021-07-02Fix default prompt mode in doc/irb/irb.rd.jaKazuhiro NISHIYAMA
2021-07-01Keep GC disabled until VM bootstrap has done [Bug #17583]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4617
2021-07-02Ignore dead threads in `coroutine_join`.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/4620
2021-07-02* 2021-07-02 [ci skip]git
2021-07-01Remove gdbm/dbm related code from CIJeremy Evans
The related extensions have been removed. Notes: Merged: https://github.com/ruby/ruby/pull/4619
2021-07-01- add regression tests for U+6E7F (湿) in ISO-2022-JPMartin Dürst
In ISO-2022-JP, the bytes use to code are the same as those for "<>". This adds regression tests to make sure that these bytes, when representing 湿, are NOT escaped with encode("ISO-2022-JP, xml: :text) or similar. These are additional regression tests for #12052.
2021-07-01[DOC] fixed the default value of flags [ci skip]Nobuyoshi Nakada
2021-07-01[DOC] expanded `pattern`s in examples of File.fnmatch [ci skip]Nobuyoshi Nakada
2021-07-01More general matrix "configure" parameter, add `--with-coroutine=pthread`.Samuel Williams
2021-07-01Replace copy coroutine with pthread implementation.Samuel Williams
2021-07-01rbinstall.rb: get rid of making directories when dryrunNobuyoshi Nakada
2021-07-01[ruby/irb] Update ls.rb without requiring Set, because Set is one of ↵Keiko Kaneko
standard libraries https://github.com/ruby/irb/commit/7092ad2ab5
2021-07-01* 2021-07-01 [ci skip]git
2021-06-30Use stride passed into os_obj_of_iPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4614
2021-06-30[ruby/irb] Rescue a specific errorTakashi Kokubun
Rescuing StandardError is prone to bugs caused by a typo or obsoleted methods. https://github.com/ruby/irb/commit/eb5260fcd5
2021-06-30[ruby/irb] Fix error on `ls object_cant_define_singleton`Masataka Pocke Kuwabara
such as `ls 42`, `ls :sym` and so on https://github.com/ruby/irb/commit/b1d436a853
2021-06-30"nodoc" needs to exclude "doc" [ci skip]Nobuyoshi Nakada
2021-06-30[ruby/error_highlight] Allow the development version (= master branch) of ↵Yusuke Endoh
Ruby 3.1 https://github.com/ruby/error_highlight/commit/2dca1446c9
2021-06-30[DOC] add notes and examples for pipe [ci skip]Nobuyoshi Nakada
2021-06-30Add the gemspec for error_highlightYusuke Endoh
2021-06-30Prevent "warning: ambiguity between regexp and two divisions"Yusuke Endoh
2021-06-30[ruby/error_highlight] Bump versionYusuke Endoh
https://github.com/ruby/error_highlight/commit/8d483c251e
2021-06-30[ruby/error_highlight] Reconsider the API of ErrorHighlight.spotYusuke Endoh
https://github.com/ruby/error_highlight/commit/acb2046a82
2021-06-30[ruby/error_highlight] Experimentally support a custom formatterYusuke Endoh
https://github.com/ruby/error_highlight/commit/f40a1de20e
2021-06-30[ruby/error_highlight] Add some commentsYusuke Endoh
https://github.com/ruby/error_highlight/commit/e0c90c72c3
2021-06-30tool/sync_default_gems.rb: remove unneeded code for error_highlight syncYusuke Endoh
2021-06-30tool/sync_default_gems.rb: Add error_highlight gemYusuke Endoh
2021-06-30Use Module#ancestors order in recursive constant lookupAlan Wu
Before this commit, const_get with inherit=true and constant lookup expressions searched the ancestors of the starting point in an order different from `starting_point.ancestors`. Items in the ancestry list introduced through prepend were searched after searching the module they were prepended into. This oddity allowed for situations where constant lookups gave different results even though `starting_point.ancestors` is the same. Do the lookup in the same order as `starting_point.ancestors` by skipping classes and modules that have an origin iclass. The origin iclass is in the super chain after the prepended modules. Note that just like before this commit, the starting point of the constant lookup is always the first item that we search, regardless of the presence of any prepended modules. [Bug #17887] Notes: Merged: https://github.com/ruby/ruby/pull/4585
2021-06-30* 2021-06-30 [ci skip]git
2021-06-30Specify version to remove as bare numbersNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3972
2021-06-30Ensure that version number starts with digitsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3972
2021-06-30Show the removal versionNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3972
2021-06-30rb_warn_deprecated_to_remove_at [Feature #17432]Nobuyoshi Nakada
At compilation time with RUBY_DEBUG enabled, check if the removal version has been reached. Notes: Merged: https://github.com/ruby/ruby/pull/3972
2021-06-29tool/test-bundled-gems.rb: Stop tests conflicting with error_highlightYusuke Endoh
This hack should be removed after the minitest side is updated. https://github.com/seattlerb/minitest/pull/880 Notes: Merged: https://github.com/ruby/ruby/pull/4586
2021-06-29Rename error_squiggle to error_highlightYusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/4586
2021-06-29[WIP] add error_squiggle gemYusuke Endoh
``` $ ./local/bin/ruby -e '1.time {}' -e:1:in `<main>': undefined method `time' for 1:Integer (NoMethodError) 1.time {} ^^^^^ Did you mean? times ``` https://bugs.ruby-lang.org/issues/17930 Notes: Merged: https://github.com/ruby/ruby/pull/4586
2021-06-29Fix crash on RGENGC_CHECK_MODE=4Peter Zhu
When running btest there is a crash when compiled with RGENGC_CHECK_MODE=4. The crash happens because `during_gc` is not turned off before `gc_marks_check` is called, causing the marking to happen on the main mark stack instead of mark stack created in `objspace_allrefs`. Notes: Merged: https://github.com/ruby/ruby/pull/4610
2021-06-29Add basic test for updated IO wait functions.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/4612
2021-06-29Use assert_not_match "Did you mean?" for UncorrectableNameCheckTestYusuke Endoh
... instead of exact matching. I'm now creating a built-in gem that modifies Exception's error message, so the expectation value is changed. IMO, it is good to check that did_you_mean suggestion is NOT added in the uncorrectable case. https://github.com/ruby/did_you_mean/commit/ebe88ec4d2
2021-06-29Use String#include? instead of end_with? to avoid message duplicationYusuke Endoh
Previously, did_you_mean used `msg.end_with?(suggestion)` to check if its suggestion is already added. I'm now creating a gem that also modifies Exception's message. This breaks did_you_mean's duplication check. This change makes the check use String#include? instead of end_with?. https://github.com/ruby/did_you_mean/commit/b35e030549
2021-06-29Let Correctable#original_message skip prepended method definitionsYusuke Endoh
Previously, DidYouMean::Correctable#original_message did `method(:to_s).super_method.call` to call the original to_s method by skipping Correctable#to_s. I'm now creating a gem that prepends another to_s method to NameError, which confuses the hack. An immediate solution is to replace it with `method(:to_s).super_method.super_method.call` to skip the two methods. But it is too ad-hoc. This changeset uses more extensible approach and allow a prepended module to declare that they should be skipped by defining a constant named `SKIP_TO_S_FOR_SUPER_LOOKUP`. https://github.com/ruby/did_you_mean/commit/8352c154e3