summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-13Sorted links by URLs and issue numbers [ci skip]Nobuyoshi Nakada
``` ruby -e 'puts readlines.sort_by {[_1[%r[(https?://.*?)(?:/\d+)?$],1], _1[/\d+$/].to_i]}' ```
2020-12-13Add NEWS about open-uri and Kernel#openJunichi Ito
There might be a lot of codes using redefined Kernel#open via open-uri, so it's worth mentioning that. Notes: Merged: https://github.com/ruby/ruby/pull/3894
2020-12-13Wait testing/helper threads to terminateNobuyoshi Nakada
2020-12-13Fixed a suspicious comparisonNobuyoshi Nakada
2020-12-13Narrowed down unaligned member access region in RB_OBJ_WRITENobuyoshi Nakada
Since UNALIGNED_MEMBER_ACCESS assigns to an intermediate variable, it can cause unused-value warnings.
2020-12-13Reintroduce `expr in pat` [Feature #17371]Kazuki Tsujimoto
2020-12-13Don't emit warning when the pattern of one-line pattern matching is just a ↵Kazuki Tsujimoto
variable pattern https://github.com/ruby/dev-meeting-log/blob/master/DevelopersMeeting20201210Japan.md#feature-17371-reintroduce-expr-in-pat-ktsj
2020-12-12Allow dumping a core file on ActionsTakashi Kokubun
to see a C backtrace.
2020-12-12Dump a backtrace with gdbTakashi Kokubun
Because Ruby often fails to dump a C backtrace.
2020-12-13* 2020-12-13 [ci skip]git
2020-12-13Fixed RUBY_RM_RECURSIVE when autoconf met the required versionNobuyoshi Nakada
Before 9189cf5793cd527a86b711d15d5fd0633ec082e1 the result of `m4_version_compare` was compared to -1, however the `$2` of `m4_version_prereq` has different meaning and is expanded when the required version met.
2020-12-12spec: suppress deprecations of "lambda(&proc_block)" patternYusuke Endoh
2020-12-12test/ruby/test_lambda.rb: prevent lambda(&proc_block) warningsYusuke Endoh
2020-12-12tool/mk_builtin_loader.rb: prevent "assigned but unused variable"Yusuke Endoh
2020-12-12Removed obsolete autoconf checksNobuyoshi Nakada
Use regular `AC_CHECK_MEMBERS` instead of: * `AC_STRUCT_ST_BLKSIZE` * `AC_STRUCT_ST_BLOCKS` * `AC_STRUCT_ST_RDEV` Notes: Merged: https://github.com/ruby/ruby/pull/3890
2020-12-12Signal handler type should be voidNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3889
2020-12-12Omit checks for C89 standard or laterNobuyoshi Nakada
Now we require C99, these features available of course. * prototypes * stdarg prototypes * token pasting * stringization * string literal concatenation Notes: Merged: https://github.com/ruby/ruby/pull/3889
2020-12-11Add some JIT options to MJIT ActionsTakashi Kokubun
hoping to improve C backtrace outputs
2020-12-12Added parentheses to silence sizeof-array-div warnings [Bug #17385]Nobuyoshi Nakada
As well as 2366c681166a1dab95de6b9ca8ffcaae18aadd39.
2020-12-12Remove unused function declarationsS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/3886
2020-12-11Lock GC while searching the best iseqTakashi Kokubun
To fix http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3286265
2020-12-12[DOC] Process::Status.wait return nil if no child processes [ci skip]Nobuyoshi Nakada
2020-12-12trap on non-main ractorKoichi Sasada
trap can accept blopck/Proc and it can violate Rator isolation, so the Proc should be isolatable when trap is used on non-main ractor. Notes: Merged: https://github.com/ruby/ruby/pull/3888
2020-12-12fix lambda's warning and testsKoichi Sasada
There are warning condition bugs and test bugs. b53ccb9c69abd24e3bdad66cbe4c7e7480eaef16
2020-12-12fix ivar with shareable objects issueKoichi Sasada
Instance variables of sharable objects are accessible only from main ractor, so we need to check it correctly. Notes: Merged: https://github.com/ruby/ruby/pull/3887
2020-12-12Let Fiber#raise work with transferring fibersnicholas a. evans
This automatically choosess whether to use transfer on a transferring fiber or resume on a yielding fiber. If the fiber is resuming, it raises a FiberError. Notes: Merged: https://github.com/ruby/ruby/pull/3795
2020-12-12* 2020-12-12 [ci skip]git
2020-12-12Remove unused link [ci skip]Kazuhiro NISHIYAMA
2020-12-11Strip trailing spaces [ci skip]Nobuyoshi Nakada
2020-12-11[ruby/reline] Fix breaking to input Emoji with ZWJ.ima1zumi
https://github.com/ruby/reline/commit/f21dfdbb11
2020-12-11RDoc states that Process::Status.wait returns nil if cannot waitNobuyoshi Nakada
2020-12-11[DOC] Fixed the RDoc location of Process::Status.wait [ci skip]Nobuyoshi Nakada
2020-12-10Allow an MJIT worker to show a backtrace on SEGVTakashi Kokubun
An MJIT worker thread doesn't have ec, and it's required for SDR() and rb_backtrace_print_as_bugreport(). Therefore it must be checked.
2020-12-10Save a core file from bootstraptestTakashi Kokubun
2020-12-11Removed needless gemspec of webrickHiroshi SHIBATA
2020-12-11Bump webrick-1.7.0 for version management with ruby/webrick.Hiroshi SHIBATA
2020-12-11[DOC] Moved RDoc of abort [ci skip]Nobuyoshi Nakada
2020-12-11addr2line.c: support debuglink by build_idYusuke Endoh
Currently, addr2line.c supports only one path format of debuglink: "/usr/lib/debug/usr/bin/ruby.debug". However, recent debian packages seem to use another format by build_id: "/usr/lib/debug/.build-id/ab/cdef1234.debug". https://github.com/Debian/debhelper/blob/5d1bb29841043d8e47ebbdd043e6cd086cad508e/dh_strip#L292 https://github.com/Debian/debhelper/blob/5d1bb29841043d8e47ebbdd043e6cd086cad508e/dh_strip#L353 This changeset makes ruby backtrace support the second format. Notes: Merged: https://github.com/ruby/ruby/pull/3627
2020-12-11Link zlib always if availableYusuke Endoh
Major Linux distribution packages including Debian, Ubuntu, and Fedora use `--compress-debug-sections=no` to build ruby, and then extract and compress debug symbols as separate files. However, the configure option makes ruby not link zlib, thus the generated binary cannot uncompress the compressed separate debug symbol files, and fails to show C level backtrace when a critical error like segfault occurs. This change makes ruby always link zlib if it is available so that it can show C level backtrace correctly. Related: Debian packages require https://github.com/ruby/ruby/pull/3627 to load debug symbol files. Notes: Merged: https://github.com/ruby/ruby/pull/3884
2020-12-11Exclude parenthesized function declarations such as NORETURNNobuyoshi Nakada
Fixes https://github.com/ruby/ruby/pull/3883
2020-12-11show deprecation warning correctly for lambda(&b)Koichi Sasada
lambda(&b) where b is given block of method (like: def foo(&b)) should warn correctly. [Feature #17361] Also labmda(&labmda_block) or lambda(&:to_s) (Symbol#to_proc) should not warn (but I'm not sure who cares about it).
2020-12-11add RUNOPT and RUNOPT0 for dev rules.Koichi Sasada
run, runruby, ... accept RUNOPT and RUNOPT0 configuration to pass some commandline argument like that: $(BTESTRUBY) $(RUNOPT0) $(TESTRUN_SCRIPT) $(RUNOPT) RUNOPT0 is options for ruby interpreter (-w, -v, ...) RUNOPT is options for the script (ARGV/ARGF)
2020-12-11Remove unimplemented parameter from commentMasaki Matsushita
:resolv_timeout of TCPSocket.new is not implemented for now.
2020-12-11revert da3bca513f437b05b3953c3712ff48621fc5e008Koichi Sasada
It seems introduce critical problems. Now I could not find out the issue. http://ci.rvm.jp/results/trunk-test@ruby-sky1/3286048
2020-12-11Import fiddle-1.0.4 (#3860)Kenta Murata
I don't use tool/sync_default_gem.rb because the last sync was incomplete. Co-authored-by: Hiroshi SHIBATA <hsbt@ruby-lang.org> Co-authored-by: Alan Wu <XrXr@users.noreply.github.com> Co-authored-by: sinisterchipmunk <sinisterchipmunk@gmail.com> Co-authored-by: Sutou Kouhei <kou@clear-code.com> Notes: Merged-By: mrkn <mrkn@ruby-lang.org>
2020-12-10Unfortunately getinstancevariable was still not leafTakashi Kokubun
https://github.com/ruby/ruby/runs/1533401436
2020-12-10Reintroduce the fix againTakashi Kokubun
2020-12-10Fix the path properlyTakashi Kokubun
:disappointed:
2020-12-10Try fixing the -I positionTakashi Kokubun
https://github.com/ruby/ruby/runs/1532260149 :thinking:
2020-12-10Make ruby -We the same as ruby -W -eJeremy Evans
This changes the behavior, which I'm not sure is acceptable. However, it's odd to allow an option to be combined, but change the behavior of the option when combined. Notes: Merged: https://github.com/ruby/ruby/pull/3867