summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Hoisted out rb_digest_namespaceNobuyoshi Nakada2019-08-225-12/+11
|
* Debug GitHub context on broken notificationTakashi Kokubun2019-08-211-0/+5
| | | | | | sometimes Slack notification footer becomes just " at ". It seems like `github.event.head_commit` is missing. Let me debug the context.
* Separated initializing IDsNobuyoshi Nakada2019-08-211-2/+6
|
* The investigation is going on...Nobuyoshi Nakada2019-08-212-6/+10
|
* Enable more Time TZ tests on OpenBSDJeremy Evans2019-08-201-1/+1
|
* [bundler/bundler] Freeze time to avoid failures at midnightlolwut2019-08-211-2/+7
| | | | | | | | Specify just a string set @built_at as nil before testing https://github.com/bundler/bundler/commit/578ec96c9c
* [bundler/bundler] Share test fixtures with parallel_testsHiroshi SHIBATA2019-08-211-1/+1
| | | | https://github.com/bundler/bundler/commit/a38161c5be
* [bundler/bundler] Try to use RunTimeLogger for parallel_testsHiroshi SHIBATA2019-08-211-0/+5
| | | | https://github.com/bundler/bundler/commit/faccc522d1
* [bundler/bundler] Parallelize test suiteDavid Rodríguez2019-08-214-5/+22
| | | | https://github.com/bundler/bundler/commit/23007cb107
* [bundler/bundler] Fix a couple of typosDavid Rodríguez2019-08-212-2/+2
| | | | https://github.com/bundler/bundler/commit/52b6b94068
* [bundler/bundler] Remove the :ruby exclusion tagDavid Rodríguez2019-08-211-1/+0
| | | | | | | Our current set of specs is the same for all supported rubies, and we should keep it that way. https://github.com/bundler/bundler/commit/c9dc0f6f2c
* [bundler/bundler] Remove another 1.8.7 specific bitDavid Rodríguez2019-08-211-5/+0
| | | | https://github.com/bundler/bundler/commit/8c7942d2c6
* [bundler/bundler] Remove old rubies stuff no longer neededDavid Rodríguez2019-08-213-7/+3
| | | | https://github.com/bundler/bundler/commit/36fb3287f4
* * 2019-08-21 [ci skip]git2019-08-211-1/+1
|
* `rp(obj)` shows func, file and line. (#2394)Koichi Sasada2019-08-212-2/+11
| | | | | | rp() macro for debug also shows file location and function name such as: [OBJ_INFO:rb_call_inits@inits.c:73] 0x000056147741b248 ...
* Skip tests on Actions if [ci skip]Takashi Kokubun2019-08-203-4/+5
| | | | | It seems that we cannot easily apply job-level [ci skip]. Therefore this commit skips only Tests step if it's [ci skip].
* Deprecate alerting multiple channelsTakashi Kokubun2019-08-202-23/+0
| | | | | Some CIs report to two channels, and some others report to only one. This makes it consistent. Only alert channel should be alerted.
* Avoid creating Hash objects per each mon_synchronize call (#2393)Akira Matsuda2019-08-201-4/+7
|
* Removed unused literal assignments [ci skip]Nobuyoshi Nakada2019-08-201-7/+4
|
* Subjects may contain a comma [ci skip]Nobuyoshi Nakada2019-08-201-1/+1
|
* [rubygems/rubygems] Use `RbConfig::CONFIG['rubylibprefix']`Nobuyoshi Nakada2019-08-201-8/+1
| | | | | | It is defined since ruby 1.9.2. https://github.com/rubygems/rubygems/commit/84981ca908
* Investigation of a sporadic error at Github ActionsNobuyoshi Nakada2019-08-201-0/+6
|
* Fix some bundler specs (#2380)David Rodríguez2019-08-2025-61/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * These seem to consistenly pass already * Show actual command when running `make test-bundler` Current the setup command that installs the necessary gems for testing bundler was printed, but not the actual command that runs the tests. That was a bit confusing. * Borrow trick from setproctitle specs * A title that long doesn't get set sometimes No idea why, but the test doesn't need that the title is that long. * Fix most gem helper spec ruby-core failures * Fix the rest of the gem helper failures * Fix version spec by improving the assertion * Remove unnecessary `BUNDLE_RUBY` environment var We can use `RUBY` when necessary, and `BUNDLE_RUBY` is not a good name because bundler considers `BUNDLE_*` variables as settings. * Rename `BUNDLE_GEM` to `GEM_COMMAND` This is more descriptive I think, and also friendlier for bundler because `BUNDLE_` env variables are interpreted by bundler as settings, and this is not a bundler setting. This fixes one bundler spec failure in config specs against ruby-core. * Fix quality spec when run in core Use the proper path helper. * Fix dummy lib builder to never load default gems If a dummy library is named as a default gem, when requiring the library from its executable, the default gem would be loaded when running from core, because in core all default gems share path with bundler, and thus they are always in the $LOAD_PATH. We fix the issue by loading lib relatively inside dummy lib executables. * More exact assertions Sometimes I have the problem that I do some "print debugging" inside specs, and suddently the spec passes. This happens when the assertion is too relaxed, and the things I print make it match, specially when they are simple strings like "1.0" than can be easily be part of gem paths that I print for debugging. I fix this by making a more exact assertion. * Detect the correct shebang when ENV["RUBY"] is set * Relax assertion So that the spec passes even if another paths containing "ext" are in the load path. This works to fix a ruby-core issue, but it's a better assertion in general. We just want to know that the extension path was added. * Use folder structure independent path helper It should fix this spec for ruby-core. * Fix the last failing spec on ruby-core * Skip `bundle open <default_gem>` spec when no default gems
* Treat two types "do" correctlyaycabta2019-08-201-2/+20
| | | | | A "do" what has followed a token what has EXPR_CMDARG is for a block, and in other cases "do" is for "while", "until" or "for".
* Update moved objects in original_iseqAlan Wu2019-08-191-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without doing this, enabling a TracePoint on a method could lead to use of moved objects. This was found by running `env RUBY_ISEQ_DUMP_DEBUG=to_binary make test-all`, which sets orignal_iseq then runs the compaction tests and the tracepoint tests. Please excuse the lack of tests. I was not able to figure out how to reliably trigger a move on a specific iseq imemo to make a good regression test. To manually confirm the problem and this fix, you can run: ``` env RUBY_ISEQ_DUMP_DEBUG=to_binary make test-all \ TESTOPTS="test/ruby/test_gc_compact.rb \ test/gdbm/test_gdbm.rb \ test/ruby/test_settracefunc.rb" ``` Or the following script: ```ruby tp = TracePoint.new(:line) {} 1.times do # put it in a block to not keep these objects alive objects = 10_000.times.map { Object.new } objects.hash end 1.times do # this allocation pattern can realistically happen in an app # at load time beek = 10_000.times.map do eval(<<-RUBY) def foo a + b 1.times { 4 + 234234 } nil + 234 end RUBY Object.new Object.new end beek.hash end tp.enable(target: self.:foo) { 234 } # allocate original iseq GC.verify_compaction_references(toward: :empty) GC.compact tp.enable(target: self.:foo) { 234234 } # crash ``` [Bug #16098]
* Check whether syscall(2) is deprecated by actual warningsNobuyoshi Nakada2019-08-201-1/+7
|
* Check for minimum required OSX version earlierNobuyoshi Nakada2019-08-201-14/+15
|
* Bail out if unsupported old MacOSX is requiredNobuyoshi Nakada2019-08-201-10/+10
|
* Fixed the check for OSX versionNobuyoshi Nakada2019-08-201-5/+5
| | | | | | Should compare minimum required version, and with the particular macro defined for each version. Also made the error messages consistent.
* retrieve current path on macOSDavid Carlier2019-08-201-0/+13
|
* * 2019-08-20 [ci skip]git2019-08-201-1/+1
|
* io.c: make ioctl_req_t int in AndroidYusuke Endoh2019-08-201-1/+1
| | | | | | The second argument of ioctl seems to be int in Android. Android is not a supported platform, but this one-line change allows ruby to build by Android NDK r20.
* Reduce sub-shell and use `&&` instead of `;`Kazuhiro NISHIYAMA2019-08-191-1/+1
|
* Drop duplicated sample code (#2389) [ci skip]Kenichi Kamiya2019-08-194-28/+1
| | | | | | | | | | * Drop duplicated sample code * Drop another style sample https://github.com/ruby/ruby/pull/2389#issuecomment-522489520 * Update sample list
* Make portable for standalone test-unit gem.Hiroshi SHIBATA2019-08-192-1/+3
| | | | | * It can invoke test-unit with envutil.rb * refute_match of test-unit couldn't handle String instance.
* Remove unused variable to suppress warning (#2388) [ci skip]Kenichi Kamiya2019-08-191-1/+1
| | | | | ``` sample/observ.rb:30: warning: assigned but unused variable - clock ```
* Mark Travis osx cron-onlyTakashi Kokubun2019-08-191-1/+2
| | | | | | | because it has often hanged like https://travis-ci.org/ruby/ruby/jobs/573691637, and we also have almost the same test suite on GitHub Actions now, which seems to be stable in `make check` so far.
* Update a sample code (#2387)Kenichi Kamiya2019-08-191-1/+1
| | | | | Kernel#inspect does not call #to_s now To follow https://github.com/ruby/ruby/commit/fd7dc23d281f38a71fa7f9c32812cd468c4b1788
* Update the canonical repository urlHiroshi SHIBATA2019-08-191-2/+2
|
* crash report on mac little updateDavid CARLIER2019-08-192-0/+46
| | | | | | displaying vm info as Linux and FreeBSD. checking libproc as it is present only from 10.5 version. https://github.com/ruby/ruby/pull/2384
* Accurate a sample to show having some ext (#2385)Kenichi Kamiya2019-08-191-1/+1
|
* Prefer Regexp#=~ to Regexp#match when the RHS may be nilNobuyoshi Nakada2019-08-192-10/+5
|
* Use modifier for pid_tNobuyoshi Nakada2019-08-191-1/+1
|
* unsigned int should have enough bits for rb_thread_shield_waitingNobuyoshi Nakada2019-08-191-5/+11
|
* Fix FL_USER19Nobuyoshi Nakada2019-08-191-1/+1
| | | | | * include/ruby/ruby.h: cast via `unsigned int` explicitly, to get rid of signed extension by implicit integer promotion.
* Omit version.h when mergingNAKAMURA Usaku2019-08-191-2/+2
|
* cont.c: remove unused STACK_GROW_DIR_DETECTIONYusuke Endoh2019-08-191-2/+0
| | | | to suppress a waring for "unused variable"
* Roughly retry `brew update`Takashi Kokubun2019-08-191-1/+1
| | | | as it failed randomly https://github.com/ruby/ruby/runs/196712109
* Make it as clear as possible that RubyVM is MRI-specific and only exists on ↵Benoit Daloze2019-08-194-8/+28
| | | | | | | | | | | | | MRI (#2113) [ci skip] * Make it clear as possible that RubyVM is MRI-specific and only exists on MRI * See [Bug #15743]. * Use "CRuby VM" instead of "Ruby VM" for clarity. * Use YARV rather than "CRuby VM" for documenting RubyVM::InstructionSequence * Avoid introducing a new "CRuby VM" term in documentation
* missing/memcmp.c: suppress a `-Wparentheses` warningYusuke Endoh2019-08-191-1/+2
|