aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/syntax_suggest] Hide internal document and detail of `Kernel` monkey ↵Nobuyoshi Nakada2023-01-271-0/+4
| | | | | | | | patching https://bugs.ruby-lang.org/issues/19285 https://github.com/ruby/syntax_suggest/commit/25ca82f8f9
* [ruby/fiddle] fiddle: Use C11 _Alignof to define ALIGN_OF whenKhem Raj2023-01-271-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | possible (https://github.com/ruby/fiddle/pull/120) WG14 N2350 made very clear that it is an UB having type definitions within "offsetof" [1]. This patch enhances the implementation of macro ALIGN_OF to use builtin "_Alignof" to avoid undefined behavior when using std=c11 or newer clang 16+ has started to flag this [2] Fixes build when using -std >= gnu11 and using clang16+ Older compilers gcc < 4.9 or clang < 8 has buggy _Alignof even though it may support C11, exclude those compiler versions [1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2350.htm [2] https://reviews.llvm.org/D133574 Signed-off-by: Khem Raj <raj.khem@gmail.com> https://github.com/ruby/fiddle/commit/ad6c9aa826
* [ruby/fiddle] Fix comment formattingAaron Patterson2023-01-271-12/+12
| | | | https://github.com/ruby/fiddle/commit/36b2432575
* [ruby/fiddle] Update documentationAaron Patterson2023-01-271-14/+19
| | | | | | | | (https://github.com/ruby/fiddle/pull/119) The documentation for `Fiddle.dlwrap` and `Fiddle.dlunwrap` were not very accurate and pretty confusing. This commit updates the documentation so it's easier to understand what the methods do.
* [ruby/openssl] Added CoreAssertionsHiroshi SHIBATA2023-01-271-1/+7
| | | | | | | https://github.com/ruby/openssl/commit/520601e11d This commits swtich to use ruby/ruby's envutil.rb instead of vendored in openssl repo.
* [ruby/openssl] Do not require test file in a forked process in testsAndrew Konchin2023-01-272-23/+15
| | | | https://github.com/ruby/openssl/commit/ae784673d7
* Pass through `line_offset` argument correctly (but it was always 0). (#7177)Samuel Williams2023-01-271-1/+1
|
* [rubygems/rubygems] Deprecate Gem::ListSamuel Giddins2023-01-262-9/+3
| | | | | | It is unused, we will remove it in the next major version https://github.com/rubygems/rubygems/commit/c3f6c27d6d
* Revert "Limit maximum number of IVs on a shape"Aaron Patterson2023-01-262-2/+1
| | | | This reverts commit 78fcc9847a9db6d42c8c263154ec05903a370b6b.
* Fix `target_cpu` at runtimeNobuyoshi Nakada2023-01-261-4/+6
|
* Link RUBYSPEC_CAPIEXT against the built libraryNobuyoshi Nakada2023-01-261-1/+1
|
* Get rid of duplicate "--disable=gems" optionsNobuyoshi Nakada2023-01-261-1/+1
|
* Enable code-coverage result for test-specHiroshi SHIBATA2023-01-261-0/+5
|
* Filter spec directory for code coverageHiroshi SHIBATA2023-01-261-0/+1
|
* Enable code-coverage result for test-syntax-suggestHiroshi SHIBATA2023-01-262-1/+3
|
* Ignore all of tool directory from code coverage, It contains tool/test and etc.Hiroshi SHIBATA2023-01-261-1/+1
|
* Ignore vendored libraries by rubygems from code coverageHiroshi SHIBATA2023-01-261-0/+3
|
* filter coverage result with vendored libraries and test codeHiroshi SHIBATA2023-01-261-1/+7
|
* [ruby/reline] Revert "correct Win32API capitalization for JRuby"Hiroshi SHIBATA2023-01-261-1/+1
| | | | | | This reverts commit https://github.com/ruby/reline/commit/d6e7c9e1d9af. https://github.com/ruby/reline/commit/c47a5b684c
* Need gemspec files instead of cloned directoriesNobuyoshi Nakada2023-01-261-2/+2
|
* Fixed clone nameHiroshi SHIBATA2023-01-261-1/+1
|
* Use timestamp files to track test revision of bundled gemsNobuyoshi Nakada2023-01-261-4/+13
|
* [Bug #19340] Fix bundle gems with test revisionNobuyoshi Nakada2023-01-263-11/+25
| | | | | Build temporary gem package from cloned repository if test revision is set.
* Limit maximum number of IVs on a shapeJemma Issroff2023-01-252-1/+2
| | | | | | Create SHAPE_MAX_NUM_IVS (currently 50) and limit all shapes to that number of IVs. When a shape has more than 50 IVs, fallback to the obj_too_complex shape which uses hash lookup for ivs.
* Support simplecov-0.22.0.Hiroshi SHIBATA2023-01-252-2/+2
| | | | | simplecov-0.22.0 no longer support pre-0.18 result format. result data needs `lines` key for coverage data.
* Remove not used argument from tokenize_identyui-knk2023-01-251-4/+4
| | | | This has not been used since 5e59be3eddd2ce28610ec8d1b42845cde0080833
* Remove function ary_recycle_hashPeter Zhu2023-01-241-28/+7
| | | | | | Freeing the memory of a Hash should be done by the garbage collector and not by array functions. This could potentially leak memory if ary_recycle_hash was not implemented properly.
* Add tests for variables in `END` block shared with the toplevelNobuyoshi Nakada2023-01-242-0/+9
|
* [rubygems/rubygems] Bump rb-sysdependabot[bot]2023-01-242-5/+5
| | | | | | | | | | | | | | | Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.56 to 0.9.58. - [Release notes](https://github.com/oxidize-rb/rb-sys/releases) - [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.56...v0.9.58) --- updated-dependencies: - dependency-name: rb-sys dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* [rubygems/rubygems] Bump rb-sys in ↵dependabot[bot]2023-01-232-5/+5
| | | | | | | | | | | | | | | | | /test/rubygems/test_gem_ext_cargo_builder/custom_name Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.56 to 0.9.58. - [Release notes](https://github.com/oxidize-rb/rb-sys/releases) - [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.56...v0.9.58) --- updated-dependencies: - dependency-name: rb-sys dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* svn.ruby-lang.org is already EOLHiroshi SHIBATA2023-01-231-11/+0
|
* Silence dozens of useless warnings from `ranlib` on macOS [ci skip]Nobuyoshi Nakada2023-01-233-1/+12
|
* Fix homepage url in gemspecYusuke Nakamura2023-01-231-3/+3
| | | | GitHub Pages now hosted on *.github.io
* update-coverage needs to build ruby and all C-ext librariesHiroshi SHIBATA2023-01-231-1/+1
|
* [rubygems/rubygems] blade is hosted under ruby-lang.org nowHiroshi SHIBATA2023-01-231-1/+1
| | | | https://github.com/rubygems/rubygems/commit/00fdef8a41
* blade is hosted under ruby-lang.org nowHiroshi SHIBATA2023-01-235-5/+5
|
* [ruby/cgi] blade is hosted under ruby-lang.org nowHiroshi SHIBATA2023-01-231-1/+1
| | | | https://github.com/ruby/cgi/commit/826ba3140c
* [DOC] Change local method to local variable in assignment docsTalal Al-Humaidi2023-01-231-1/+1
|
* [ruby/psych] Fix RestrictedYAMLTree allowing the Symbol class should allow ↵Jean Boussier2023-01-232-4/+7
| | | | | | | | | | | | | | | | all symbols Ref: https://github.com/ruby/psych/pull/495 That's how it works for `safe_load`: ```ruby >> YAML.safe_load(':foo', permitted_classes: [Symbol]) => :foo ``` So `safe_dump` should mirror that. https://github.com/ruby/psych/commit/592a75a656
* [DOC] Fix a link [ci skip]Kazuhiro NISHIYAMA2023-01-231-1/+2
|
* Fix Integer#ceildiv to respect #coerce (#7118)Kouhei Yanagita2023-01-222-1/+5
| | | Fixes [Bug #19343]
* Adjust braces [ci skip]Nobuyoshi Nakada2023-01-221-6/+4
|
* More coverage tests & specs. (#7171)Samuel Williams2023-01-224-1/+17
| | | | | * Add spec for eval and line coverage. * Add test for main file coverage.
* Ensure main file has default coverage if required. (#7169)Samuel Williams2023-01-221-2/+11
| | | * Extract common code for coverage setup.
* Windows build instructions documentation. (#6956)Samuel Williams2023-01-221-0/+42
| | | Windows build instructions.
* Add `doc/distribution.md` to help reduce some of the confusion. (#6856)Samuel Williams2023-01-221-0/+51
|
* tool/leaked-globals: ignore function typedef [ci skip]Nobuyoshi Nakada2023-01-212-3/+4
|
* Add `offsetof` so we can get the offset of membersAaron Patterson2023-01-201-0/+6
| | | | | | | | | | | | | | | | I want to get the offset of fields inside structs, but I don't want to instantiate the struct. I need to embed the offsets inside machine code, and I can't get the offsets without calling `new` on the struct. This commit adds an `offset` method so you can get the offset of a member without instantiating anything. You can do: ```ruby C.rb_control_frame_t.offsetof(:sp) #=> 8 ``` I don't think this implementation is perfect, you can only get immediate fields. But it is better than nothing!
* YJIT: Avoid BorrowError on GC.compact (#7164)Takashi Kokubun2023-01-201-2/+4
|
* Fix typo in RHASH_ST_CLEARPeter Zhu2023-01-201-1/+1
| | | | We should be setting as.st and not as.ar.