aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/etc] Exclude change logs for pre 1.0Nobuyoshi Nakada2022-01-211-1/+1
| | | | https://github.com/ruby/etc/commit/c8a133fe95
* [ruby/etc] Derive extra_rdoc_files from filesNobuyoshi Nakada2022-01-211-7/+3
| | | | https://github.com/ruby/etc/commit/e8ecce3442
* [ruby/etc] Move development dependencies to GemfileNobuyoshi Nakada2022-01-211-5/+0
| | | | https://github.com/ruby/etc/commit/5cabc3996a
* Mark `rb_clear_constant_cache` as internal use onlyNobuyoshi Nakada2022-01-203-11/+5
| | | | | | In the past, many internal functions are declared in intern.h under include/ruby directory, because there were no headers for internal use.
* [wasm] skip pull-requests labeled as Documentation [ci skip]Nobuyoshi Nakada2022-01-201-1/+1
|
* [ruby/psych] Remove alias of load to unsafe_loadMichael Nikitochkin2022-01-201-1/+0
| | | | https://github.com/ruby/psych/commit/39e23cc86f
* Fix warningsKazuhiro NISHIYAMA2022-01-201-0/+2
| | | | | | | | | | | | | ``` 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. ```
* [rubygems/rubygems] Rename `Gem.open_with_flock` to `Gem.open_file`David Rodríguez2022-01-203-7/+7
| | | | | | Since it only uses `flock` on Windows. https://github.com/rubygems/rubygems/commit/b877de4d9c
* [rubygems/rubygems] Restrict `flock` to WindowsDavid Rodríguez2022-01-201-1/+1
| | | | | | | 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
* MinGW also uses `rb_w32_shutdown`Nobuyoshi Nakada2022-01-201-0/+1
| | | | | | 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.
* * 2022-01-20 [ci skip]git2022-01-201-1/+1
|
* [rubygems/rubygems] Change generated namespaced test class name in minitestYusuke Nakamura2022-01-203-2/+4
| | | | | | | | * `foo` => `TestFoo` * `foo_bar` => `TestFooBar` * `foo-bar` => `Foo::TestBar` https://github.com/rubygems/rubygems/commit/353cdd61c3
* [rubygems/rubygems] Add spec to class name definition in newgem specYusuke Nakamura2022-01-201-0/+10
| | | | https://github.com/rubygems/rubygems/commit/5f698fc4a0
* [rubygems/rubygems] Update generated minitest file styleYusuke Nakamura2022-01-202-9/+19
| | | | | | | | 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
* [rubygems/rubygems] Create minitest file to underscored path in "bundle gem" ↵Yusuke Nakamura2022-01-203-6/+10
| | | | | | | | | | | | | | | | | | | | | 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
* Refactor dln_load into dln_open and dln_symPeter Zhu2022-01-191-76/+81
| | | | | Refactor dln_load into dln_open and dln_sym to simplify the code for Windows and platforms that have dlopen.
* remain `RUBY_ON_BUG` for child processes.Koichi Sasada2022-01-191-1/+6
| | | | | `RUBY_ON_BUG` is useful for child processes created by the test process.
* Do not create core file if it is intentional abortKoichi Sasada2022-01-192-2/+4
| | | | | | | 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.
* `rb_fiber_terminate` must not return [Bug #18497]Nobuyoshi Nakada2022-01-194-2/+23
| | | | | | | | 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.
* Assuming EXIT_SUCCESS equals 0 is not portableNobuyoshi Nakada2022-01-191-3/+3
|
* include/ruby/win32.h: explicitly define HAVE_SHUTDOWNYuta Saito2022-01-191-0/+2
| | | | | | | | | | | | 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
* [rubygems/rubygems] Don't pass regexp to `Gem::Dependency.new` during `gem ↵David Rodríguez2022-01-191-22/+20
| | | | | | dependency` https://github.com/rubygems/rubygems/commit/89dd5158a4
* [rubygems/rubygems] Remove dead methodDavid Rodríguez2022-01-191-8/+0
| | | | https://github.com/rubygems/rubygems/commit/477d5f6f6e
* [rubygems/rubygems] Don't pass regexp to `Gem::Dependeny.new` from list, ↵David Rodríguez2022-01-195-13/+11
| | | | | | | | search, and query commands It's deprecated functionality. https://github.com/rubygems/rubygems/commit/13d3eb6cb0
* [rubygems/rubygems] Simplify argument processing logic in `gem list` & `gem ↵David Rodríguez2022-01-191-4/+4
| | | | | | | | | 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
* .github/workflows: BASERUBY check for Ruby 3.1卜部昌平2022-01-191-1/+2
|
* Merge rubygems/rubygems HEAD.Hiroshi SHIBATA2022-01-1935-234/+400
| | | | Picked at 12aeef6ba9a3be0022be9934c1a3e4c46a03ed3a
* Fix a missing commaNobuyoshi Nakada2022-01-191-1/+1
|
* Fix format size qualifier on IL32P64Nobuyoshi Nakada2022-01-191-1/+1
|
* include/ruby/io.h: use 0 as POLLPRI when no support for itYuta Saito2022-01-191-4/+3
| | | | | 0x003 is not suitable as a bit mask, and it's ok just to be 0 to avoid setting unsupported bit.
* test/ruby/test_assignment.rb: Prevent a warningYusuke Endoh2022-01-191-2/+1
| | | | | | | ``` /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
* [DOC] Enhanced Process.groups relatedNobuyoshi Nakada2022-01-191-6/+7
| | | | | | * 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.
* [rubygems/rubygems] Fix regression with old marshaled specs having null ↵David Rodríguez2022-01-192-0/+60
| | | | | | required_rubygems_version https://github.com/rubygems/rubygems/commit/91f07a0208
* [rubygems/rubygems] Fix skipped spec on WindowsDavid Rodríguez2022-01-191-3/+1
| | | | https://github.com/rubygems/rubygems/commit/bf0f4b98ee
* [rubygems/rubygems] Normalize end alignment style with BundlerDavid Rodríguez2022-01-1930-294/+294
| | | | https://github.com/rubygems/rubygems/commit/f7f504b24c
* * expand tabs. [ci skip]git2022-01-191-1/+1
| | | | | 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.
* [wasm] add ci workflow .github/workflows/wasm.ymlYuta Saito2022-01-191-0/+106
|
* [wasm] include/ruby/io.h: define RB_WAITFD_PRI by ourselves for wasiYuta Saito2022-01-191-1/+6
| | | | | RB_WAITFD_PRI uses POLLPRI for other platforms, but wasi-libc doesn't have POLLPRI for now.
* [wasm] wasm/README.md: write a brief instruction to cross buildYuta Saito2022-01-191-0/+54
|
* [wasm] configure.ac: disable mjit on wasi by defaultYuta Saito2022-01-191-6/+9
|
* [wasm] bootstraptest, basictest: disable backquote literal testsYuta Saito2022-01-193-2/+16
| | | | WASI doesn't support spawning a new process for now.
* [wasm] configure.ac: don't require dup and dup2 only for wasiYuta Saito2022-01-191-1/+8
|
* [wasm] add unit test suite for fiber, register scan, sjlj in platform dirYuta Saito2022-01-195-0/+304
|
* configure.ac: stop overwriting cc wrapper by darwin-cc everytimeYuta Saito2022-01-191-2/+1
|
* ruby.c: initialize extra optional extensions linked staticallyYuta Saito2022-01-191-0/+10
| | | | | | | Add a hook point to initialize extra extension libraries. The default hook function is replaced when linking a strong `Init_extra_exts` symbol. A builder can insert an object file that defines Init_extra_exts by XLDFLAGS.
* dir.c: ignore ENOTCAPABLE while glob similar to EACCESYuta Saito2022-01-191-1/+5
|
* [wasm] add no thread variant for freestanding environmentYuta Saito2022-01-195-1/+306
| | | | | This implementation does nothing around preemptive context switching because there is no native thread.
* thread.c: put platform specific part in each impl fileYuta Saito2022-01-193-19/+13
|
* [wasm] gc.c: scan wasm locals and c stack to mark living objectsYuta Saito2022-01-191-21/+40
| | | | | | | WebAssembly has function local infinite registers and stack values, but there is no way to scan the values in a call stack for now. This implementation uses Asyncify to spilling out wasm locals into linear memory.
* [wasm] gc.c: disable read signal barrier for wasiYuta Saito2022-01-191-0/+14
| | | | WASI currently does not yet support signal