summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-27Update include/ruby/internal/fl_type.h 卜部昌平
https://github.com/ruby/ruby/pull/4100#pullrequestreview-576059827 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2021-01-27include/ruby/internal/fl_type.h: refactor hoist out #if conditions卜部昌平
cf: https://github.com/ruby/ruby/pull/4100#pullrequestreview-575952836
2021-01-27kill CLONESETUP and DUPSETUP卜部昌平
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
2021-01-27win32/win32.c:getcwd_value: delete OBJ_TAINT卜部昌平
Makes no sense any longer. Notes: Merged: https://github.com/ruby/ruby/pull/4100
2021-01-27win32/file.c:rb_file_expand_path_internal: delete OBJ_TAINT卜部昌平
Makes no sense any longer. Notes: Merged: https://github.com/ruby/ruby/pull/4100
2021-01-27attributes on enumerators are GCC6-ism卜部昌平
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. Notes: Merged: https://github.com/ruby/ruby/pull/4100
2021-01-27warnings on use of RUBY_FL_TAINT卜部昌平
matz said in [ruby-core:94979]: > 3.0: > * taint/trust/untaint/untrust non-verbose warning when called This is it, for C extensions. Notes: Merged: https://github.com/ruby/ruby/pull/4100
2021-01-27kill OBJ_TAINT etc.卜部昌平
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. Notes: Merged: https://github.com/ruby/ruby/pull/4100
2021-01-27fix OBJ_UNTRUST etc.卜部昌平
It seems I broke them in commit 9e6e39c3512f7a962c44dc3729c98a0f8be90341 Sorry! Notes: Merged: https://github.com/ruby/ruby/pull/4100
2021-01-26Add compaction notes for class/module creation C APIsAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/3885
2021-01-26Make rb_define_module_id_under() pin existing modulesAlan Wu
Just like rb_define_class_id_under(). Also makes rb_define_module_under() consistent with rb_define_class_under() in the same regard. Notes: Merged: https://github.com/ruby/ruby/pull/3885
2021-01-26Fix broken link in RDoc for String (#4123)Burdette Lamar
Link was correct; its target was incorrect; now fixed. Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2021-01-26Re-enable RGENGC_DEBUG for platforms with HAVE_VA_ARGS_MACROMatt Valentine-House
after this commit turned it off globally. 888cf28a7e3a07fc0a41688777a40910654005ad Co-authored-by: peterzhu2118 <peter@peterzhu.ca> Notes: Merged: https://github.com/ruby/ruby/pull/4073
2021-01-27* 2021-01-27 [ci skip]git
2021-01-26Fix RGENGC CHECK MODE >= 4Matt Valentine-House
[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> Notes: Merged: https://github.com/ruby/ruby/pull/4074
2021-01-26CFLAGS includes ARCH_FLAGNobuyoshi Nakada
2021-01-26Removed YYUSE [Bug #17582]Nobuyoshi Nakada
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. Notes: Merged: https://github.com/ruby/ruby/pull/4121
2021-01-26vcs.rb: fix for baseruby 2.2Nobuyoshi Nakada
2021-01-26* 2021-01-26 [ci skip]git
2021-01-26vcs.rb: support `d` command in log-fixNobuyoshi Nakada
2021-01-26vcs.rb: allow log-fix to insert an empty lineNobuyoshi Nakada
2021-01-25[ruby/rdoc] Support iso-strict format in git-logNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/2a6c22da63
2021-01-25[ruby/rdoc] Support other date formats in git-logNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/ad8cf37d72
2021-01-25* 2021-01-25 [ci skip]git
2021-01-25Clear each test own temporary directoriesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4117
2021-01-24Revert "Remove temporary directory properly"Nobuyoshi Nakada
This reverts commit 80bad36989bbc4ad6167fe9670327f95b78089ce, because a few CI machines fail continuously.
2021-01-24Remove temporary directory properlyNobuyoshi Nakada
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 Notes: Merged: https://github.com/ruby/ruby/pull/4115
2021-01-24[ruby/rdoc] Skip non-date logs by git-logNobuyoshi Nakada
`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
2021-01-24[ruby/rdoc] Sort by CommitDate if availableNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/455715e930
2021-01-24[ruby/rdoc] Add links to the commitsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/1821628076
2021-01-24[ruby/rdoc] Shorten commit hashesNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/5d3e153963
2021-01-24[ruby/rdoc] Tweak log entry markdownNobuyoshi Nakada
* add 3 levels to headings * prefix commit log to labels to make unique IDs https://github.com/ruby/rdoc/commit/5074c13209
2021-01-24[ruby/rdoc] Make each commit entries h3Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/11eefb2ae9
2021-01-24[ruby/rdoc] Support ChangeLog generated by `git log`Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/5e0a123ca1
2021-01-24[ruby/rdoc] Fix failing test by adding gettext as a development dependencyDorian Marié
The failing test was: ======================================================================================== rdoc/test/rdoc/test_rdoc_i18n_locale.rb:35:in `rescue in test_load_existent_po' Omission: gettext gem is not found [test_load_existent_po(TestRDocI18nLocale)] ======================================================================================== https://github.com/ruby/rdoc/commit/e5f85839e1
2021-01-24Add test for String#casecmp?NARUSE, Yui
String#casecmp? also normalize upper case characters in legacy encodings.
2021-01-24Moved --verbose, --verbose and --help options to last [ci skip]Nobuyoshi Nakada
2021-01-24* 2021-01-24 [ci skip]git
2021-01-24[ruby/irb] Indent correctly with method calling with receiveraycabta
https://github.com/ruby/irb/commit/e7c68e74a0
2021-01-24[ruby/irb] Indent correctly with keyword "for" and "in"aycabta
https://github.com/ruby/irb/commit/47c83ea724
2021-01-23Update power_assert to 2.0.0Kazuki Tsujimoto
2021-01-23Sort autogenerated dependencies [ci skip]Nobuyoshi Nakada
2021-01-23Warn the defined location as deprecation as well as the main messageNobuyoshi Nakada
[Bug #17575]
2021-01-23coroutine/emscripten/: Experimentally support emscripten fiber APIYusuke Endoh
2021-01-23configure.ac: Add some compiler options for emscriptenYusuke Endoh
"-lc" and "-s ALLOW_MEMORY_GROWTH=1" are needed
2021-01-23bignum.c: Make sure the argument of LONG2FIX is longYusuke Endoh
... because BDIGIT_DBL may be long long. POSFIXABLE and NEGFIXABLE ensures that the value is representable as long, but it failed to build on emscripten with -Werror -Wshorten-64-to-32.
2021-01-23thread_pthread.c: pthread_kill is not available on emscriptenYusuke Endoh
2021-01-23io.c: popen is not available on emscriptenYusuke Endoh
2021-01-23Rationalize floats in coerce [Bug #17572]Nobuyoshi Nakada
2021-01-23Fix a warningKazuhiro NISHIYAMA
``` .../ruby/test/net/http/test_httpresponse.rb:81: warning: constant RubyVM::MJIT is deprecated ```