summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-23Fix a typo [ci skip]Kazuhiro NISHIYAMA
2022-01-23* 2022-01-23 [ci skip]git
2022-01-23Reuse the default `AC_LANG_PROGRAM(C)` definitionNobuyoshi Nakada
2022-01-22Override `AC_C_PROGRAM` on old autoconfNobuyoshi Nakada
Autoconf 2.69 fails to detect `-Werror=old-style-definition` due to the old style definition of `main`.
2022-01-22GCC provides -Wdiv-by-zeroNobuyoshi Nakada
2022-01-22Fix error: old-style function definitionKazuhiro NISHIYAMA
https://rubyci.s3.amazonaws.com/debian-riscv64/ruby-master/log/20220122T050018Z.log.html.gz#miniruby ``` compiling vm_trace.c vm_trace.c: In function 'rb_vm_memsize_postponed_job_buffer': vm_trace.c:1599:1: error: old-style function definition [-Werror=old-style-definition] 1599 | rb_vm_memsize_postponed_job_buffer() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
2022-01-22[ruby/psych] Add strict_integer option to parse numbers with commas as stringsSeth Boyles
Authored-by: Seth Boyles <sethboyles@gmail.com> https://github.com/ruby/psych/commit/75bebb37b8
2022-01-22* 2022-01-22 [ci skip]git
2022-01-21Accurately report VM memsizeKevin Newton
Currently the calculation only counts the size of the struct. This commit adds the size of the associated st tables, id tables, and linked lists. Still missing is the size of the ractors and (potentially) the size of the object space. Notes: Merged: https://github.com/ruby/ruby/pull/5428
2022-01-21respect `--quiet` option for btestKoichi Sasada
Do not print anymore except errors.
2022-01-21* 2022-01-21 [ci skip]git
2022-01-21[ruby/etc] Exclude change logs for pre 1.0Nobuyoshi Nakada
https://github.com/ruby/etc/commit/c8a133fe95
2022-01-21[ruby/etc] Derive extra_rdoc_files from filesNobuyoshi Nakada
https://github.com/ruby/etc/commit/e8ecce3442
2022-01-21[ruby/etc] Move development dependencies to GemfileNobuyoshi Nakada
https://github.com/ruby/etc/commit/5cabc3996a
2022-01-20Mark `rb_clear_constant_cache` as internal use onlyNobuyoshi Nakada
In the past, many internal functions are declared in intern.h under include/ruby directory, because there were no headers for internal use.
2022-01-20[wasm] skip pull-requests labeled as Documentation [ci skip]Nobuyoshi Nakada
2022-01-20[ruby/psych] Remove alias of load to unsafe_loadMichael Nikitochkin
https://github.com/ruby/psych/commit/39e23cc86f
2022-01-20Fix warningsKazuhiro NISHIYAMA
``` compiling ..../ruby/ruby/dln.c ..../ruby/ruby/dln.c:108:1: warning: unused function 'init_funcname_len' [-Wunused-function] init_funcname_len(const char **file) ^ ..../ruby/ruby/dln.c:122:19: warning: unused variable 'funcname_prefix' [-Wunused-const-variable] static const char funcname_prefix[sizeof(FUNCNAME_PREFIX) - 1] = FUNCNAME_PREFIX; ^ 2 warnings generated. ```
2022-01-20[rubygems/rubygems] Rename `Gem.open_with_flock` to `Gem.open_file`David Rodríguez
Since it only uses `flock` on Windows. https://github.com/rubygems/rubygems/commit/b877de4d9c
2022-01-20[rubygems/rubygems] Restrict `flock` to WindowsDavid Rodríguez
It was introduced to fix some race conditions there, but it doesn't seem necessary on other systems and it's actually causing issues there. https://github.com/rubygems/rubygems/commit/27b682c812
2022-01-20MinGW also uses `rb_w32_shutdown`Nobuyoshi Nakada
Winsock's `shutdown` is incompatible with the other platforms. And autoconf fails to detect WINAPI functions on 32bit Windows, probably due to the argument size suffixes. Notes: Merged: https://github.com/ruby/ruby/pull/5469 Merged-By: nobu <nobu@ruby-lang.org>
2022-01-20* 2022-01-20 [ci skip]git
2022-01-20[rubygems/rubygems] Change generated namespaced test class name in minitestYusuke Nakamura
* `foo` => `TestFoo` * `foo_bar` => `TestFooBar` * `foo-bar` => `Foo::TestBar` https://github.com/rubygems/rubygems/commit/353cdd61c3
2022-01-20[rubygems/rubygems] Add spec to class name definition in newgem specYusuke Nakamura
https://github.com/rubygems/rubygems/commit/5f698fc4a0
2022-01-20[rubygems/rubygems] Update generated minitest file styleYusuke Nakamura
foo => test/test_foo.rb foo-bar => test/foo/test_bar.rb foo_bar => test/test_foo_bar.rb https://github.com/rubygems/rubygems/commit/c795e5d40d
2022-01-20[rubygems/rubygems] Create minitest file to underscored path in "bundle gem" ↵Yusuke Nakamura
command ...with dashed gem name In "bundle gem" command with dashed name gem (e.g. foo-bar) generates `test/test_foo/bar.rb`, but this file contains undefined class `TestFoo` and moreover, does not include in "bundle exec rake test" target. Therefore, intentially the first test after gem created is fail, but in case of gem name contains dash character is not. The change doings... (when "bundle gem foo-bar" called) * create `test/test_foo_bar.rb` * define `TestFooBar` class in `test/test_foo_bar.rb` https://github.com/rubygems/rubygems/commit/5d9a69fc0f
2022-01-19Refactor dln_load into dln_open and dln_symPeter Zhu
Refactor dln_load into dln_open and dln_sym to simplify the code for Windows and platforms that have dlopen. Notes: Merged: https://github.com/ruby/ruby/pull/5459
2022-01-19remain `RUBY_ON_BUG` for child processes.Koichi Sasada
`RUBY_ON_BUG` is useful for child processes created by the test process. Notes: Merged: https://github.com/ruby/ruby/pull/5466
2022-01-19Do not create core file if it is intentional abortKoichi Sasada
Two tests abort intentionally and they create core files if possible. In these case, we don't need to see core files so disable by `"Process.setrlimit(Process::RLIMIT_CORE, 0)` for those cases. Notes: Merged: https://github.com/ruby/ruby/pull/5466
2022-01-19`rb_fiber_terminate` must not return [Bug #18497]Nobuyoshi Nakada
In a forked process from a fiber, the fiber becomes the only fiber, `fiber_switch` does nothing as there is no other fibers, `rb_fiber_terminate` does not terminate the fiber. In that case, reaches the end of `fiber_entry` finaly, which is declared as "COROUTINE" and should never return. Notes: Merged: https://github.com/ruby/ruby/pull/5468
2022-01-19Assuming EXIT_SUCCESS equals 0 is not portableNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5468
2022-01-19include/ruby/win32.h: explicitly define HAVE_SHUTDOWNYuta Saito
Configuration for mingw32 can't detect 'shutdown' due to wrong -l option even though it's available (this has been going on for a while, and it needs to be fixed). In this situation, include/ruby/missing.h declares a stub shutdown function since 7ee786388a, and another shutdown decl is came from system header. They are incompatible at stdcall attribute, so it causes compilation failure. This change defines a HAVE_SHUTDOWN to guard a newly introduced stub decl in include/ruby/missing.h Notes: Merged: https://github.com/ruby/ruby/pull/5465
2022-01-19[rubygems/rubygems] Don't pass regexp to `Gem::Dependency.new` during `gem ↵David Rodríguez
dependency` https://github.com/rubygems/rubygems/commit/89dd5158a4
2022-01-19[rubygems/rubygems] Remove dead methodDavid Rodríguez
https://github.com/rubygems/rubygems/commit/477d5f6f6e
2022-01-19[rubygems/rubygems] Don't pass regexp to `Gem::Dependeny.new` from list, ↵David Rodríguez
search, and query commands It's deprecated functionality. https://github.com/rubygems/rubygems/commit/13d3eb6cb0
2022-01-19[rubygems/rubygems] Simplify argument processing logic in `gem list` & `gem ↵David Rodríguez
search` Make it more explicit that if not specific arguments are given, the value of `-n` is used. https://github.com/rubygems/rubygems/commit/ed811ddc00
2022-01-19.github/workflows: BASERUBY check for Ruby 3.1卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/5463
2022-01-19Merge rubygems/rubygems HEAD.Hiroshi SHIBATA
Picked at 12aeef6ba9a3be0022be9934c1a3e4c46a03ed3a Notes: Merged: https://github.com/ruby/ruby/pull/5462
2022-01-19Fix a missing commaNobuyoshi Nakada
2022-01-19Fix format size qualifier on IL32P64Nobuyoshi Nakada
2022-01-19include/ruby/io.h: use 0 as POLLPRI when no support for itYuta Saito
0x003 is not suitable as a bit mask, and it's ok just to be 0 to avoid setting unsupported bit. Notes: Merged: https://github.com/ruby/ruby/pull/5461
2022-01-19test/ruby/test_assignment.rb: Prevent a warningYusuke Endoh
``` /home/chkbuild/chkbuild/tmp/build/20220119T003004Z/ruby/test/ruby/test_assignment.rb:727: warning: assigned but unused variable - m ``` http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20220119T003004Z.log.html.gz
2022-01-19[DOC] Enhanced Process.groups relatedNobuyoshi Nakada
* On some platforms (e.g., macOS), the user's default group access list may exceed `NGROUPS_MAX`. * Use upcase "GID" instead of "gid" for other than variable names.
2022-01-19[rubygems/rubygems] Fix regression with old marshaled specs having null ↵David Rodríguez
required_rubygems_version https://github.com/rubygems/rubygems/commit/91f07a0208
2022-01-19[rubygems/rubygems] Fix skipped spec on WindowsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/bf0f4b98ee
2022-01-19[rubygems/rubygems] Normalize end alignment style with BundlerDavid Rodríguez
https://github.com/rubygems/rubygems/commit/f7f504b24c
2022-01-19* expand tabs. [ci skip]git
Tabs were expanded because the file did not have any tab indentation in unedited lines. Please update your editor config, and use misc/expand_tabs.rb in the pre-commit hook.
2022-01-19[wasm] add ci workflow .github/workflows/wasm.ymlYuta Saito
Notes: Merged: https://github.com/ruby/ruby/pull/5407
2022-01-19[wasm] include/ruby/io.h: define RB_WAITFD_PRI by ourselves for wasiYuta Saito
RB_WAITFD_PRI uses POLLPRI for other platforms, but wasi-libc doesn't have POLLPRI for now. Notes: Merged: https://github.com/ruby/ruby/pull/5407
2022-01-19[wasm] wasm/README.md: write a brief instruction to cross buildYuta Saito
Notes: Merged: https://github.com/ruby/ruby/pull/5407