summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-24Revert "tool/test-bundled-gems.rb: Use the bundled RBS code to test TypeProf"Yusuke Endoh
This reverts commit 22deda43cb98aa3cee48d0bebbff7c4db1d7652a. It was incomplete. Sorry!
2021-08-24[ruby/un] gemspec: Explicitly list 0 executablesOlle Jonsson
This gem exposes no executables, so this makes that clear to the reader. https://github.com/ruby/un/commit/012c298e12
2021-08-24[ruby/un] LICENSEHiroshi SHIBATA
https://github.com/ruby/un/commit/762c38c176
2021-08-24[ruby/un] Use STDIN if no argumentsKazuhiro NISHIYAMA
https://github.com/ruby/un/commit/8e0d6f62cb
2021-08-24[ruby/un] Add colorize commandKazuhiro NISHIYAMA
https://github.com/ruby/un/commit/4d080eeec0
2021-08-24Added ruby/un entryHiroshi SHIBATA
2021-08-24.github/workflows/compilers.yml: Specify a container running user as root.Jun Aruga
Explicitly specify the root as a user to run tests in the containers. Coming new ruby/ruby-ci-image images are required to run the container as a regular user by default, while the root user is required to run the compilers.yml. Add `id` command to print the user info. Co-authored-by: fedor <fedor@cirruslabs.org> Notes: Merged: https://github.com/ruby/ruby/pull/4766
2021-08-24tool/test-bundled-gems.rb: Use the bundled RBS code to test TypeProfYusuke Endoh
Formerly, TypeProf was tested with the latest RBS code during `make test-bundled-gems`. However, when a new version of rbs is released, and if it is incompatible with TypeProf, `make test-bundled-gems` starts failing, which was annoying. By this change, TypeProf is tested with the bundled version of RBS.
2021-08-24[ruby/fiddle] Simplify libc and libm path logics ↵Nobuyoshi Nakada
(https://github.com/ruby/fiddle/pull/91) * Simplify libc_so and libm_so If nil, no need to set to nil. * Get rid of repeating inversions https://github.com/ruby/fiddle/commit/4323e689d8
2021-08-24[ruby/fiddle] Improve "offsetof" calculations ↵Aaron Patterson
(https://github.com/ruby/fiddle/pull/90) I need to get the offset of members inside sub structures. This patch adds sub-structure offset support for structs. https://github.com/ruby/fiddle/commit/cf78eddbb6
2021-08-24netbsd coroutine uses assembly instead and little build fix.David Carlier
Notes: Merged: https://github.com/ruby/ruby/pull/4762
2021-08-24Moved rb_deprecate_constant declaration [Feature #18051]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4763
2021-08-24Moved rb_int_positive_pow declaration [Feature #18051]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4763
2021-08-24Moved exported symbols in internal/util.h to ruby/util.hNobuyoshi Nakada
[Feature #18051] Notes: Merged: https://github.com/ruby/ruby/pull/4763
2021-08-24Add stat_time functionS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/4761
2021-08-24* 2021-08-24 [ci skip]git
2021-08-23Replace intptr_t with uintptr_t in gc.cPeter Zhu
Pointers may be large to the point where intptr_t would be negative. This is problematic when doing comparisons of pointers. Notes: Merged: https://github.com/ruby/ruby/pull/4765
2021-08-23Revert "[Feature #18045] Implement size classes for GC"Peter Zhu
This reverts commits 48ff7a9f3e47bffb3e4d067a12ba9b936261caa0 and b2e2cf2dedd104acad8610721db5e4d341f135ef because it is causing crashes in SPARC solaris and i386 debian. Notes: Merged: https://github.com/ruby/ruby/pull/4764
2021-08-23[Feature #18045] Implement size classes for GCPeter Zhu
This commits implements size classes in the GC for the Variable Width Allocation feature. Unless `USE_RVARGC` compile flag is set, only a single size class is created, maintaining current behaviour. See the redmine ticket for more details. Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/4680
2021-08-23[Feature #18045] Remove T_PAYLOADPeter Zhu
This commit removes T_PAYLOAD since the new VWA implementation no longer requires T_PAYLOAD types. Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/4680
2021-08-23[DOC] Match each `Time.now` for comparison [ci skip]Nobuyoshi Nakada
2021-08-23* 2021-08-23 [ci skip]git
2021-08-23improves message. thanks to eregonKentaro Goto
Notes: Merged: https://github.com/ruby/ruby/pull/4415
2021-08-23Display httpd URLs supporting HTTPSKentaro Goto
Notes: Merged: https://github.com/ruby/ruby/pull/4415
2021-08-23Display httpd URLsKentaro Goto
Notes: Merged: https://github.com/ruby/ruby/pull/4415
2021-08-22Fix links [ci skip]Kazuhiro NISHIYAMA
2021-08-22[ruby/date] Add zontab.list dependencyNobuyoshi Nakada
https://github.com/ruby/date/commit/7e1ffbf568
2021-08-22Suppress unused-label warningsNobuyoshi Nakada
2021-08-22Fix failures on non-UTF-8 environment [Bug #18077]Nobuyoshi Nakada
Call `IOSpecs.io_fixture` with the default encoding explicitly. `IOSpecs.closed_io` calls the method without optional `mode` which is set to UTF-8 by default, while the default external encoding depends on the locale environment variables.
2021-08-22Add rb_encoding_check functionS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/4759
2021-08-22Fix Marshal.dump(closed_io) to raise TypeError and allow encoding on closed IOLars Kanis
Mashalling a closed IO object raised "closed stream (IOError)" before instead of TypeError. This changes IO#(in|ex)ternal_encoding to still return the encoding even if the underlying FD is closed. Fixes bug #18077 Notes: Merged: https://github.com/ruby/ruby/pull/4758
2021-08-22Bundle RBS 1.5.1 (#4760)Soutaro Matsumoto
Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2021-08-22* 2021-08-22 [ci skip]git
2021-08-21Allow tracing of optimized methodsJeremy Evans
This updates the trace instructions to directly dispatch to opt_send_without_block. So this should cause no slowdown in non-trace mode. To enable the tracing of the optimized methods, RUBY_EVENT_C_CALL and RUBY_EVENT_C_RETURN are added as events to the specialized instructions. Fixes [Bug #14870] Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/4739 Merged-By: jeremyevans <code@jeremyevans.net>
2021-08-21[DOC] prefer RUBY_DEFAULT_FREE to a magic number [ci skip]Nobuyoshi Nakada
2021-08-21[DOC] mention rb_define_alloc_func [ci skip]Nobuyoshi Nakada
2021-08-21* 2021-08-21 [ci skip]git
2021-08-21[DOC] update extension.ja.rdoc [ci skip]Nobuyoshi Nakada
`rb_cData` has been deprecated for years.
2021-08-20[ruby/error_highlight] Fixed the argument for DidYouMean.formatter=Yusuke Endoh
Looks like this bug was hidden by did_you_mean's rescuing any exceptions. https://github.com/ruby/error_highlight/commit/7a8f0b4796
2021-08-20ast.c: Rename "save_script_lines" to "keep_script_lines"Yusuke Endoh
... as per ko1's preference. He is preparing to extend this feature to ISeq for his new debugger. He prefers "keep" to "save" for this wording. This API is internal and not included in any released version, so I change it in advance.
2021-08-20Turned the reminder comment to a compile-time messageNobuyoshi Nakada
2021-08-20Add RBIMPL_TODONobuyoshi Nakada
Make `RUBY_VERSION_SINCE` and `RUBY_VERSION_BEFORE` to take major and minor numbers so usable also in preprocessor directives. Old macros are renamed with "STRING".
2021-08-20Simplify repeated member access macrosNobuyoshi Nakada
2021-08-20Module#ancestors should not return superclasses of refinementsShugo Maeda
[ruby-core:86949] [Bug #14744] Reported by Eregon (Benoit Daloze). Thanks!
2021-08-20* 2021-08-20 [ci skip]git
2021-08-20undefine alloc functions for C extensionsMike Dalessio
per guidance in doc/extension.rdoc, these classes now undefine their alloc functions: - ObjectSpace::InternalObjectWrapper - Socket::Ifaddr Notes: Merged: https://github.com/ruby/ruby/pull/4604
2021-08-20Undefine the alloc function for T_DATA classesMike Dalessio
which have not undefined or redefined it. When a `T_DATA` object is created whose class has not undefined or redefined the alloc function, the alloc function now gets undefined by Data_Wrap_Struct et al. Optionally, a future release may also warn that this being done. This should help developers of C extensions to meet the requirements explained in "doc/extension.rdoc". Without a check like this, there is no easy way for an author of a C extension to see where they have made a mistake. Notes: Merged: https://github.com/ruby/ruby/pull/4604
2021-08-19Remove old warning aged nearly 8 yearsNobuyoshi Nakada
2021-08-19Fix test failure on spec/ruby/language/pattern_matching_spec.rbKazuki Tsujimoto
https://github.com/ruby/ruby/runs/3369486308
2021-08-19Allow omission of parentheses in one line pattern matching [Feature #16182]Kazuki Tsujimoto