summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-18* 2020-02-18 [ci skip]git
2020-02-18increment teenyNARUSE, Yui
2020-02-18Fix typo s/test_ruby2_keywords_hash!/test_ruby2_keywords_hash/Ryuta Kamizono
In #2818, `Hash.ruby2_keywords!` has renamed to `Hash.ruby2_keywords_hash`.
2020-02-18hash.c: Add a feature to manipulate ruby2_keywords flagYusuke Endoh
It was found that a feature to check and add ruby2_keywords flag to an existing Hash is needed when arguments are serialized and deserialized. It is possible to do the same without explicit APIs, but it would be good to provide them as a core feature. https://github.com/rails/rails/pull/38105#discussion_r361863767 Hash.ruby2_keywords_hash?(hash) checks if hash is flagged or not. Hash.ruby2_keywords_hash(hash) returns a duplicated hash that has a ruby2_keywords flag, [Bug #16486]
2020-02-13* 2020-02-13 [ci skip]git
2020-02-13Return the makefile contentNobuyoshi Nakada
Block for `create_makefile` is expected to return the content of the makefile.
2020-02-13Move .IGNORE in extconf.rbNARUSE, Yui
2020-02-13Support nmakeNARUSE, Yui
2020-02-13Ignore expected errors on compiling C++ source [Bug #16331]NARUSE, Yui
BSD make can run parallel more aggressively than GNU make. It communicate with other make process through -J option in MAKEFLAGS environment variable to notify a build failure happend in an other pararell make process. https://www.freebsd.org/cgi/man.cgi?make It usually works well but ext/-test-/cxxanyargs/Makefile has two targets which are expected to fail (failure.o and failurem1.o). Additional note: To test and debug this issue, following command will speed up it. `make -f exts.mk -j8 clean all`
2020-02-13Restart timer thread even after preparation failedNobuyoshi Nakada
If the timer thread is left stopped, memory crash or segfault can happen. [Bug #16624]
2020-01-30check ruby_2_7 branchNARUSE, Yui
2020-01-30Allow rexml to fail on macOS of Github ActionsNobuyoshi Nakada
And revert "Stop test-bundled-gems on macOS for now", 28b290f7f4cb332dab3ddf3132e1916d413ea65c.
2020-01-30Stop test-bundled-gems on macOS for nowNobuyoshi Nakada
2020-01-30.github/workflows/cygwin.yml: RemovedYusuke Endoh
There is no active maintainer for cygwin. The CI failure is too noisy. [Misc #16407]
2020-01-30Checkout with git on cygwin for EOL codeNobuyoshi Nakada
`shell: bash` runs bash on msys which prefers git on msys too, then checked out in CRLF mode. Cygwin sed doesn't consider the CR a part of EOL code, though.
2020-01-30Allow failures with rss tests on test-bundled-gemsHiroshi SHIBATA
2020-01-30Add branch option to checkout on pushKazuhiro NISHIYAMA
2020-01-30Slightly change the job wording [ci skip]Takashi Kokubun
mame-san said it's weird
2020-01-30Support running Actions on a forkTakashi Kokubun
Since 8c9450e7b875db846b19cc631af0d7fee66db5c6, we increased the chance to run GitHub Actions on a fork, as we usually use a topic branch instead of master when filing a pull request. This patch makes it possible to reuse the same GitHub Actions config on a fork repository.
2020-01-30Directly refer to GitHub eventsTakashi Kokubun
instead of unnecessarily defining env vars
2020-01-30Remove code to prevent double build on trunkTakashi Kokubun
trunk branch was deleted.
2020-01-30More consistent failure notificationsTakashi Kokubun
The format is the same as Travis / AppVeyor now.
2020-01-30Make test run condition consistent with other jobsTakashi Kokubun
When `make all` fails, we should not run tests and output of such run is confusing.
2020-01-30Run tests in the consistent orderTakashi Kokubun
`make check` runs test -> test-all -> test-spec, and other CIs follow that too.
2020-01-30Fix an outdated commentTakashi Kokubun
We're actually using it for PR :p
2020-01-30Actions MinGW - fix test-all (#2803)MSP-Greg
2020-01-30Use actions/checkout for PR (#2804)Takashi Kokubun
2020-01-30Official actions/checkout is uselessTakashi Kokubun
It died again https://github.com/ruby/ruby/runs/368837347
2020-01-30Make Slack notifications consistentTakashi Kokubun
2020-01-30There's no such targetTakashi Kokubun
2020-01-30Make all Actions job names consistentTakashi Kokubun
like "{platform} / make ({make target}, ...)"
2020-01-30Do not doubly build on trunkTakashi Kokubun
2020-01-30MinGW on Actions (#2791)MSP-Greg
* MinGW - skip spec in spec/ruby/optional/capi/thread_spec.rb C-API Thread function rb_thread_call_without_gvl -- runs a C function with the global lock unlocked and unlocks IO with the generic RUBY_UBF_IO stops/freezes spec tests See https://bugs.ruby-lang.org/issues/16265 * MinGW - skip test test/resolv/test_dns.rb Test times out in CI (both AppVeyor & Actions), cannot repo locally * MinGW - skip test test/ruby/test_thread_queue.rb * Add Actions mingw.yml
2020-01-30Revert "Remove TEST_BUNDLED_GEMS_ALLOW_FAILURES"Takashi Kokubun
This reverts commit 75e8dd58f69c190c9698d0133942032903fb2f07. We seem to randomly hit another issue these days: https://github.com/ruby/ruby/runs/368756135 https://github.com/ruby/ruby/runs/368756191
2020-01-30Fixed a segfault `GC.verify_compaction_references`Nobuyoshi Nakada
Which is by coercion of `Qundef`, when any keyword argument without `toward:` option is given. [Bug #16598]
2020-01-16Fix Proc#<< specAlan Wu
[Bug #16406]
2020-01-16`Regexp` in `MatchData` can be `nil`Nobuyoshi Nakada
`String#sub` with a string pattern defers creating a `Regexp` until `MatchData#regexp` creates a `Regexp` from the matched string. `Regexp#last_match(group_name)` accessed its content without creating the `Regexp` though. [Bug #16508]
2020-01-16reload AR table body for transient heap.Koichi Sasada
ar_talbe (Hash representation for <=8 size) can use transient heap and the memory area can move. So we need to restore `pair' ptr after `func` call (which can run any programs) because of moving. [Bug #16503]
2020-01-16lib/net/imap.rb: use `&blk` instead of Kernel#proc with no blockYusuke Endoh
[Bug #16488]
2020-01-16script_compiled event on compile error.Koichi Sasada
script_compiled event for TracePoint should not be invoked on compile error (SyntaxError) because it is not "compiled". [Bug #16459]
2019-12-25[ruby/reline] Version 0.1.2v2_7_0aycabta
https://github.com/ruby/reline/commit/b41024e317
2019-12-25Save last breaking point to completeaycabta
2019-12-25fix version regexpNARUSE, Yui
2019-12-25fix typoNARUSE, Yui
2019-12-25v2.7.0p0NARUSE, Yui
2019-12-25[bundler/bundler] Do `require "rubygems"` only when neededYusuke Endoh
This require causes circular require. ``` $ touch empty_file $ RUBYGEMS_GEMDEPS=empty_file ./local/bin/ruby -w -e '' /home/mame/work/ruby/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92: warning: /home/mame/work/ruby/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92: warning: loading in progress, circular require considered harmful - /home/mame/work/ruby/local/lib/ruby/2.7.0/rubygems.rb from <internal:gem_prelude>:1:in `<internal:gem_prelude>' from <internal:gem_prelude>:1:in `require' from /home/mame/work/ruby/local/lib/ruby/2.7.0/rubygems.rb:1417:in `<top (required)>' from /home/mame/work/ruby/local/lib/ruby/2.7.0/rubygems.rb:1203:in `use_gemdeps' from /home/mame/work/ruby/local/lib/ruby/2.7.0/rubygems/user_interaction.rb:47:in `use_ui' from /home/mame/work/ruby/local/lib/ruby/2.7.0/rubygems.rb:1204:in `block in use_gemdeps' from /home/mame/work/ruby/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require' from /home/mame/work/ruby/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require' from /home/mame/work/ruby/local/lib/ruby/2.7.0/bundler.rb:11:in `<top (required)>' from /home/mame/work/ruby/local/lib/ruby/2.7.0/bundler.rb:11:in `require_relative' from /home/mame/work/ruby/local/lib/ruby/2.7.0/bundler/rubygems_integration.rb:3:in `<top (required)>' from /home/mame/work/ruby/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require' from /home/mame/work/ruby/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require' ``` https://github.com/bundler/bundler/commit/c7c5bcea92
2019-12-25Update the version of bigdecimal to 2.0.0 (#2784)Kenta Murata
Notes: Merged-By: mrkn <mrkn@ruby-lang.org>
2019-12-25Show the error line only when same as the currentNobuyoshi Nakada
2019-12-25export a function for MJIT.Koichi Sasada
rb_iseq_complete() can be used by MJIT.
2019-12-25take care of USE_LAZY_LOAD=1.Koichi Sasada
On USE_LAZY_LOAD=1, the iseq should be loaded. So rb_iseq_check() is needed. Furthermore, now lazy loading with builtin_function_table is not supported, so it should cancel lazy loading.