summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move case-folding.rb to tooldir with enc-prefixNobuyoshi Nakada2022-09-172-6/+6
|
* Derive UNICODE_EMOJI_VERSION from UNICODE_VERSIONNobuyoshi Nakada2022-09-171-1/+3
|
* Emoji files header changed at 15.0 againNobuyoshi Nakada2022-09-171-2/+2
|
* Follow emoji data files header changeNobuyoshi Nakada2022-09-171-12/+13
| | | | | | The header of emoji data files in UCD, which were moved at 13.0.0, has been changed since 14.0.0. It seems to be the same as other files in UCD.
* [Bug #19005] dynamic_lookup linker option in external librariesNobuyoshi Nakada2022-09-172-12/+25
| | | | | | The warning against `-undefined dynamic_lookup` is just a warning yet, and many gems seem to pay no attention to warnings. Until it fails actually, keep it as a migration path, except for standard extension libraries and bundled extension gems.
* * 2022-09-17 [ci skip]git2022-09-171-1/+1
|
* [ruby/irb] Support --noscript option to not use first non-option argument as ↵Jeremy Evans2022-09-175-5/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | script Also add --script option to turn the option back on. Previously there wasn't a way to get an interactive IRB session and access arguments provided on the command line. Additionally, handle `-` as script as stdin. In Unix-like tools, `-` means to take standard input instead of a file. This doesn't result in exactly the same output for: ``` echo 'p ARGV' > args.rb; irb args.rb a b c ``` and ``` echo 'p ARGV' | irb - a b c ``` Due to how irb handles whether stdin is a tty. However, this change allows use of `-` as a argument, instead of giving an unrecognized switch error. This required some small changes to context.rb (to handle `-` as standard input) and input-method.rb (to have FileInputMethod accept IO arguments in addition to strings). Implements [Feature #15371] https://github.com/ruby/irb/commit/4192683ba2
* [ci skip] Fix typos in documentation in io.cPeter Zhu2022-09-161-2/+2
|
* Invalidate i-cache after link_labels (#6388)Takashi Kokubun2022-09-161-11/+11
|
* Update bundled_gemsKoichi Sasada2022-09-161-1/+1
| | | Try latest patch to avoid some race on Mac OS X.
* Omit a DRb test on MinGWTakashi Kokubun2022-09-161-2/+3
| | | | | | | | This test seems to leak a thread and let TestIOWait fail: https://github.com/ruby/ruby/actions/runs/3065426880/jobs/4949517274 DRb almost never seemed to stably work on MinGW. I don't think we intend to fix it either. We should just omit DRb tests when they fail on MinGW.
* Now test-bundler nees fake.rbNobuyoshi Nakada2022-09-161-1/+1
|
* * 2022-09-16 [ci skip]git2022-09-161-1/+1
|
* Fix splat args (#6385)Jimmy Miller2022-09-162-29/+35
| | | | | | | | | | | | | | | | | * Fix splat args Cfuncs were not working properly so I disabled them right now. There were some checks above that were also actually preventing splat args from being called. Finally I did some basic code cleanup after realizing I didn't need to mutate argc so much * Add can't compile for direct cfunc splat call * Fix typo * Update yjit/src/codegen.rs Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com>
* YJIT should die if we compile on Aarch64 with no instruction cache clear ↵Noah Gibbs2022-09-151-0/+2
| | | | | available (#6380) YJIT should die if we compile on ARM64 with no icache clear available
* Add asm comments to make disasm more readable (#6377)Maxime Chevalier-Boisvert2022-09-151-17/+7
|
* [rubygems/rubygems] Mask the file mode when extracting filesKevin Newton2022-09-153-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When extracting files from the tarball, a mode is retrieved from the header. Occasionally you'll encounter a gem that was packaged on a system whose permission bits result in a value that is larger than the value that File.chmod will allow (anything >= 2^16). In that case the extraction fails with a RangeError, which is pretty esoteric. If you extract the tarball with the tar and gunzip utilities, the file permissions end up being just the bottom 16 bits masked off from the original value. I've mirrored that behavior here. Per the tar spec: > Modes which are not supported by the operating system restoring > files from the archive will be ignored. I think that basically means what I've done here. --- This commit also changes the behavior very slightly with regard to when the chmod is called. Previously it was called while the file descriptor was still open, but after the write call. When write flushes, the file permissions are changed to the mode value from the File.open call, undoing the changes made by FileUtils.chmod. CRuby appears to flush the buffer after the chmod call, whereas TruffleRuby flushes before the chmod call. So the file permissions can change depending on implementation. Both implementations end up getting the correct file permissions for the bottom 9 bits (user, group, world), but differ with regard to the sticky bit in the next 3. To get consistent behavior, this commit changes it to close the file descriptor before attempting to chmod anything, which makes it consistent because the write flushes in both cases. https://github.com/rubygems/rubygems/commit/22ce076e99
* Remove warning for old TLS version connectionNobuyoshi Nakada2022-09-152-110/+1
| | | | | RubyGems.org already has refused connection requests using older than TLS 1.2.
* [rubygems/rubygems] Also added x86_64-darwin-21Hiroshi SHIBATA2022-09-152-0/+2
| | | | https://github.com/rubygems/rubygems/commit/c03e7e1564
* [rubygems/rubygems] Added arm64-darwin-22 to lockfiles for testingHiroshi SHIBATA2022-09-152-0/+2
| | | | https://github.com/rubygems/rubygems/commit/d7956e9ce5
* Make CodeQL ignore syntax_suggest because of the performance problemNobuyoshi Nakada2022-09-151-0/+4
| | | | https://github.com/github/codeql/discussions/10120#discussioncomment-3485880
* Fix style on vm_ivar benchmarks (#6379)Jemma Issroff2022-09-153-27/+27
|
* [ruby/irb] Refine assertion for failuresNobuyoshi Nakada2022-09-151-1/+1
| | | | https://github.com/ruby/irb/commit/fd047512b3
* [ruby/irb] `Dir.mktmpdir` creates a directory including the process IDNobuyoshi Nakada2022-09-151-2/+2
| | | | https://github.com/ruby/irb/commit/a15f68ffdb
* Add vm_ivar get, get_unitialized, and lazy_set benchmarksJemma Issroff2022-09-143-0/+61
|
* YJIT: Implement specialized respond_to? (#6363)John Hawthorn2022-09-148-2/+203
| | | | | | | | | | | * Add rb_callable_method_entry_or_negative * YJIT: Implement specialized respond_to? This implements a specialized respond_to? in YJIT. * Update yjit/src/codegen.rs Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com>
* [TravisCI] The source of YAML is no longer bundledNobuyoshi Nakada2022-09-151-0/+1
|
* [TravisCI] Make gems/src directory writableNobuyoshi Nakada2022-09-151-2/+2
|
* * 2022-09-15 [ci skip]git2022-09-151-1/+1
|
* Add noarch-fake.rb targetNobuyoshi Nakada2022-09-151-0/+3
| | | | | `yes-fake` depends on it when `arch=noarch` is given, but the rule to generate it from fake.rb.in is ignored now.
* Initial support for VM_CALL_ARGS_SPLAT (#6341)Jimmy Miller2022-09-146-37/+182
| | | | | | | | | | | | | | | | | | | * Initial support for VM_CALL_ARGS_SPLAT This implements support for calls with splat (*) for some methods. In benchmarks this made very little difference for most benchmarks, but a large difference for binarytrees. Looking at side exits, many benchmarks now don't exit for splat, but exit for some other reason. Binarytrees however had a number of calls that used splat args that are now much faster. In my non-scientific benchmarking this made splat args performance on par with not using splat args at all. * Fix wording and whitespace Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com> * Get rid of side_effect reassignment Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com>
* YJIT: Add Opnd#with_num_bits to use only 8 bits (#6359)Takashi Kokubun2022-09-147-16/+61
| | | | | | | | | * YJIT: Add Opnd#sub_opnd to use only 8 bits * Add with_num_bits and let arm64_split use it * Add another assertion to with_num_bits * Use only with_num_bits
* configure.ac: Apply suggestions from code review in #6366Kenta Murata2022-09-141-2/+2
| | | | Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Reuse `opt_arg_append` functionS.H2022-09-141-7/+1
|
* configure.ac: Add --with-gmp-dir (#6366)Kenta Murata2022-09-141-5/+9
| | | | | | Add the `--with-gmp-dir` to specify the prefix directory of GMP. The`--without-gmp` option is preserved for convenience. It can be used to force to reject using GMP even if the `--with-gmp-dir` option is specified.
* Add comments to touch libyjitNobuyoshi Nakada2022-09-141-2/+8
|
* Touch libyjit.a which may be still old due to the cacheNobuyoshi Nakada2022-09-141-0/+2
|
* Expand dependency for `$(YJIT_LIBS)`Nobuyoshi Nakada2022-09-141-19/+15
| | | | | Currently, miniruby is rebuild **always** when yjit is enabled, even if nothing is changed.
* Add link to how to build RubyNARUSE, Yui2022-09-141-0/+4
|
* Manage paths for bundler testsNobuyoshi Nakada2022-09-141-1/+5
|
* Pass job-server FDs to bundler testsNobuyoshi Nakada2022-09-141-2/+2
|
* -undefined dynamic_lookup is obsoleteNobuyoshi Nakada2022-09-141-1/+0
|
* Replace "Fixes"/"Fixed" in commit logs as well as vcs.rb [ci skip]Nobuyoshi Nakada2022-09-142-2/+2
| | | | | Use the same regexp to replace "(#NNNN)" and "GH-NNNN" style references in vcs.rb, too.
* [ruby/irb] Fix the error when LC_MESSAGES config value is nilNobuyoshi Nakada2022-09-141-1/+1
| | | | https://github.com/ruby/irb/commit/6bbde84369
* configure.ac: Manage OPT_DIR better (#6367)Nobuyoshi Nakada2022-09-141-54/+43
| | | | | * Check rpath flag earlier * Manage OPT_DIR at once
* [ruby/irb] Fix history file saving with concurrent irb sessions when history ↵Jeremy Evans2022-09-142-2/+24
| | | | | | | | | | | | | | file doesn't exist If history file didn't exist when irb was started, @loaded_history_mtime would be nil. However, if the history file didn't exist before, but it exists when saving history, that means the history file was modified, and we should handle it the same way as we handle the other case where the history file was modified. Fixes #388 https://github.com/ruby/irb/commit/8d277aafcb
* * 2022-09-14 [ci skip]git2022-09-141-1/+1
|
* Remove CODEOWNERS to switch to auto-request-review (#6365)Takashi Kokubun2022-09-141-11/+0
| | | | | | | | | * Remove CODEOWNERS to switch to auto-request-review * Random change to test reviews * Revert "Random change to test reviews" This reverts commit 814b10d062d82d953019ea4afadc3f8fcf638379.
* Add GMP support for mswinU.Nakamura2022-09-133-0/+17
|
* Increase the timeout for make all on MinGWTakashi Kokubun2022-09-131-1/+1
| | | | https://github.com/ruby/ruby/actions/runs/3041702828/jobs/4899106526#step:14:1219