aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix failure when build in srcdir/buildKazuhiro NISHIYAMA2021-01-291-0/+1
| | | | | If `build` directory exists, `rake build` is `Rake::FileTask`. So skip if exists.
* Fixed Kernel#rand specNobuyoshi Nakada2021-01-291-10/+10
| | | | Float should not be compared by identity.
* Fix absolute path predicate on WindowsNobuyoshi Nakada2021-01-291-1/+24
| | | | | A path starts with '/' is not an absolute path on Windows, because of drive letter or UNC.
* * 2021-01-29 [ci skip]git2021-01-291-1/+1
|
* Update to ruby/spec@8cafaa5Benoit Daloze2021-01-2835-10/+832
|
* Add fallback when PWD is not setKazuhiro NISHIYAMA2021-01-281-2/+6
|
* Use PWD instead of source_rootKazuhiro NISHIYAMA2021-01-281-1/+2
| | | | | Because `.ext/common` is not relative from top source directory. Fix failures with out-of-place build directory.
* Remove require_path from $LOADED_FEATURESKazuhiro NISHIYAMA2021-01-281-0/+1
| | | | because some features are already loaded.
* Delete path including `/../` tooKazuhiro NISHIYAMA2021-01-281-1/+4
|
* * 2021-01-28 [ci skip]git2021-01-281-1/+1
|
* [Fixes #17538] Fix assertion failure when rincgc is turned offPeter Zhu2021-01-271-2/+3
| | | | Co-Authored-By: Matt Valentine-House <31869+eightbitraptor@users.noreply.github.com>
* In test, need to pass a context to IRB::WorkSpace.new explicitlyaycabta2021-01-271-2/+2
|
* [ruby/irb] specify the `VERBOSE` to `false` and fix tests to fitNobuhiro IMAI2021-01-271-8/+6
| | | | https://github.com/ruby/irb/commit/502c590925
* [ruby/irb] use `RubyLex::TerminateLineInput` appropriately [Bug #17564]Nobuhiro IMAI2021-01-273-2/+56
| | | | | | | | * using the appropriciate exception instead of `break` so that the session can be continue after the `irb_source` and `irb_load` commands * suppress extra new line due to one more `#prompt` call https://github.com/ruby/irb/commit/bdefaa7cfd
* [ruby/irb] add `IRB::FileInputMethod.open` to ensure closing associated FileNobuhiro IMAI2021-01-272-20/+40
| | | | | | | * tweak some methods not to raise exception after `#close` * use it in `IRB::IrbLoader#{source_file,load_file} https://github.com/ruby/irb/commit/ec2947acbd
* Clear unexpanded `mjit_std_cflag`Nobuyoshi Nakada2021-01-271-3/+3
|
* Disable fast-mathNobuyoshi Nakada2021-01-271-1/+1
| | | | | As `RUBY_TRY_CFLAGS` restores `CFLAGS`, appending to the variable in its block has no effect.
* Taint flags has been deprecated in 3.1Nobuyoshi Nakada2021-01-274-2/+17
|
* Update include/ruby/internal/fl_type.h 卜部昌平2021-01-271-1/+1
| | | | | https://github.com/ruby/ruby/pull/4100#pullrequestreview-576059827 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* include/ruby/internal/fl_type.h: refactor hoist out #if conditions卜部昌平2021-01-271-9/+11
| | | | cf: https://github.com/ruby/ruby/pull/4100#pullrequestreview-575952836
* kill CLONESETUP and DUPSETUP卜部昌平2021-01-273-14/+35
| | | | | | | | They are no longer how Object#clone/Object#dup are defined. In fact DUPSETUP is not used from anywhere. CLONESETUP has only one usage. Let's not expose them to extension libraries. cf https://github.com/ruby/ruby/pull/4100#discussion_r563481718
* win32/win32.c:getcwd_value: delete OBJ_TAINT卜部昌平2021-01-271-1/+0
| | | | Makes no sense any longer.
* win32/file.c:rb_file_expand_path_internal: delete OBJ_TAINT卜部昌平2021-01-271-24/+0
| | | | Makes no sense any longer.
* attributes on enumerators are GCC6-ism卜部昌平2021-01-271-0/+18
| | | | | | | | | See also https://gcc.gnu.org/gcc-6/changes.html Clang has this feature when __has_extension(enumerator_attributes) is set. MSVC has #pragma deprecated instead.
* warnings on use of RUBY_FL_TAINT卜部昌平2021-01-271-2/+14
| | | | | | | | matz said in [ruby-core:94979]: > 3.0: > * taint/trust/untaint/untrust non-verbose warning when called This is it, for C extensions.
* kill OBJ_TAINT etc.卜部昌平2021-01-272-27/+9
| | | | | | | | | Now that RUBY_FL_TAINT is recycled to become new RUBY_FL_SHAREABLE. Setting/clearing this flag from extension libraries break Ractor. Especially problematic one is OBJ_INFECT, which would make non-shareable objects travel across Ractor boundaries. Such operations should just be prohibited.
* fix OBJ_UNTRUST etc.卜部昌平2021-01-271-2/+2
| | | | | It seems I broke them in commit 9e6e39c3512f7a962c44dc3729c98a0f8be90341 Sorry!
* Add compaction notes for class/module creation C APIsAlan Wu2021-01-262-0/+12
|
* Make rb_define_module_id_under() pin existing modulesAlan Wu2021-01-261-0/+2
| | | | | | Just like rb_define_class_id_under(). Also makes rb_define_module_under() consistent with rb_define_class_under() in the same regard.
* Fix broken link in RDoc for String (#4123)Burdette Lamar2021-01-261-1/+1
| | | Link was correct; its target was incorrect; now fixed.
* Re-enable RGENGC_DEBUG for platforms with HAVE_VA_ARGS_MACROMatt Valentine-House2021-01-261-0/+2
| | | | | | | | after this commit turned it off globally. 888cf28a7e3a07fc0a41688777a40910654005ad Co-authored-by: peterzhu2118 <peter@peterzhu.ca>
* * 2021-01-27 [ci skip]git2021-01-271-1/+1
|
* Fix RGENGC CHECK MODE >= 4Matt Valentine-House2021-01-261-2/+7
| | | | | | | | [A previous commit](b59077eecf912a16efefc0256f6e94a000ce3888) removes some macro definitions that are used when RGENGC_CHECK_MODE >=4 because they were using data stored against objspace, which is not ractor safe This commit reinstates those macro definitions, using the current ractor Co-authored-by: peterzhu2118 <peter@peterzhu.ca>
* CFLAGS includes ARCH_FLAGNobuyoshi Nakada2021-01-261-1/+1
|
* Removed YYUSE [Bug #17582]Nobuyoshi Nakada2021-01-261-1/+0
| | | | | | | Although it was used just to suppress an "unsed argument" warning in the same manner as other bison-provided functions, it has been dropped since Bision 3.7.5. And we always suppress that warnings.
* vcs.rb: fix for baseruby 2.2Nobuyoshi Nakada2021-01-261-1/+2
|
* * 2021-01-26 [ci skip]git2021-01-261-1/+1
|
* vcs.rb: support `d` command in log-fixNobuyoshi Nakada2021-01-261-0/+3
|
* vcs.rb: allow log-fix to insert an empty lineNobuyoshi Nakada2021-01-261-1/+1
|
* [ruby/rdoc] Support iso-strict format in git-logNobuyoshi Nakada2021-01-252-3/+14
| | | | https://github.com/ruby/rdoc/commit/2a6c22da63
* [ruby/rdoc] Support other date formats in git-logNobuyoshi Nakada2021-01-252-3/+25
| | | | https://github.com/ruby/rdoc/commit/ad8cf37d72
* * 2021-01-25 [ci skip]git2021-01-251-1/+1
|
* Clear each test own temporary directoriesNobuyoshi Nakada2021-01-251-3/+2
|
* Revert "Remove temporary directory properly"Nobuyoshi Nakada2021-01-241-3/+10
| | | | | This reverts commit 80bad36989bbc4ad6167fe9670327f95b78089ce, because a few CI machines fail continuously.
* Remove temporary directory properlyNobuyoshi Nakada2021-01-241-10/+3
| | | | | | | | | For each `make check`, rubygems test makes "tmp" directory and some "gem_generate_index..." directories remain there. * Do not create a (fixed name) directory in the current working directory * Should remove its own temporary directory
* [ruby/rdoc] Skip non-date logs by git-logNobuyoshi Nakada2021-01-242-14/+24
| | | | | | | | | | `RDoc::Parser::ChangeLog` mis-parses ChangeLog generated by git-log, because of too heuristic `Time.parse`. For instance, "commit 8187228de0142d3ac7950b7d977c2849e934c637" results in "8187-08-16", that is, day 228 in the year 8187. https://github.com/ruby/rdoc/commit/9711e6f6d9
* [ruby/rdoc] Sort by CommitDate if availableNobuyoshi Nakada2021-01-242-3/+48
| | | | https://github.com/ruby/rdoc/commit/455715e930
* [ruby/rdoc] Add links to the commitsNobuyoshi Nakada2021-01-242-36/+107
| | | | https://github.com/ruby/rdoc/commit/1821628076
* [ruby/rdoc] Shorten commit hashesNobuyoshi Nakada2021-01-242-2/+2
| | | | https://github.com/ruby/rdoc/commit/5d3e153963
* [ruby/rdoc] Tweak log entry markdownNobuyoshi Nakada2021-01-242-2/+54
| | | | | | | * add 3 levels to headings * prefix commit log to labels to make unique IDs https://github.com/ruby/rdoc/commit/5074c13209