summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-12Allow syncing tool/bundlerTakashi Kokubun
2023-12-12[PRISM] Compile NextNode argumentsMatt Valentine-House
2023-12-12[ruby/irb] Remove documents about deprecated/WIP features and someStan Lo
slight adjustments (https://github.com/ruby/irb/pull/811) https://github.com/ruby/irb/commit/6a9193e88b
2023-12-12[PRISM] Implementing forwarding of args for ForwardingSuperNodeJemma Issroff
ForwardingSuperNodes need to actually forward any applicable arguments. This commit implements that logic, by using the data stored on the local iseq about the parameters to forward the appropriate arguments.
2023-12-12[PRISM] Allow rest parameter to be `*`Jemma Issroff
Prior to this commit, if a rest parameters was `*`, we did not add it to the locals table correctly. This commit fixes that.
2023-12-12[ruby/prism] Use new flag setters for attribute writeKevin Newton
https://github.com/ruby/prism/commit/1e07832778
2023-12-12[Bug #19114] Fix for multiple calls of TracePoint#enableKouhei Yanagita
2023-12-12[ruby/prism] Start using flag macros/methods exclusivelyUfuk Kayserilioglu
https://github.com/ruby/prism/commit/5f05a6fe83
2023-12-12[ruby/prism] Add methods for setting/unsetting and macros for testing a flagsUfuk Kayserilioglu
https://github.com/ruby/prism/commit/e5f37d1407
2023-12-12[rubygems/rubygems] Bump rake version used by testsDavid Rodríguez
And make it easier to update next time. https://github.com/rubygems/rubygems/commit/1ea4bfa5d8
2023-12-12[ruby/prism] Flag for attribute write on callsKevin Newton
https://github.com/ruby/prism/commit/465731969c
2023-12-12Fix op asgn calls with keywordsJeremy Evans
Examples of such calls: ```ruby obj[kw: 1] += fo obj[**kw] &&= bar ``` Before this patch, literal keywords would segfault in the compiler, and keyword splat usage would result in TypeError. This handles all cases I can think of: * literal keywords * keyword splats * combined with positional arguments * combined with regular splats * both with and without blocks * both popped and non-popped cases This also makes sure that to_hash is only called once on the keyword splat argument, instead of twice, and make sure it is called before calling to_proc on a passed block. Fixes [Bug #20051] Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2023-12-12[rubygems/rubygems] Make RubyDsl a little easier to read; avoid a Hash sometimesMartin Emde
https://github.com/rubygems/rubygems/commit/2dca83722b
2023-12-12[PRISM] Do not hide syntactically required parentheses within macrosNobuyoshi Nakada
It makes code formatters confused when auto indenting.
2023-12-12Make WeakKeyMap safe for compaction during allocationPeter Zhu
During allocation, the table may not have been allocated yet which would crash in the st_foreach.
2023-12-12Make WeakMap safe for compaction during allocationPeter Zhu
During allocation, the table may not have been allocated yet which would crash in the st_foreach.
2023-12-12[ruby/prism] Update tests and snapshotsUfuk Kayserilioglu
https://github.com/ruby/prism/commit/0663e2bcfa
2023-12-12[ruby/prism] Start `KeywordHashNode`s with `STATIC_KEYS` set, until hit an ↵Ufuk Kayserilioglu
element that should clear it https://github.com/ruby/prism/commit/7c7c486507
2023-12-12[ruby/prism] Add `STATIC_KEYS` flag for `KeywordHashNode`Ufuk Kayserilioglu
https://github.com/ruby/prism/commit/aa83de39c1
2023-12-12[rubygems/rubygems] Resolve `ruby file: ".ruby-version"` relative to GemfileMartin Emde
https://github.com/rubygems/rubygems/commit/0cbbaed8a5
2023-12-12[ruby/irb] Remove trailing spaceStan Lo
This is required to fix ruby/ruby's CI https://github.com/ruby/irb/commit/3c77213209
2023-12-12[ruby/irb] [DOC] RDoc for module IRBBurdette Lamar
(https://github.com/ruby/irb/pull/738) [DOC] RDoc for module IRB https://github.com/ruby/irb/commit/f3a0626298
2023-12-12Partially revert "Set AI_ADDRCONFIG when making getaddrinfo(3) calls"KJ Tsanaktsidis
This _partially_ reverts commit d2ba8ea54a4089959afdeecdd963e3c4ff391748, but for UDP sockets only. With TCP sockets (and other things which use `rsock_init_inetsock`), the order of operations is to call `getaddrinfo(3)` with AF_UNSPEC, look at the returned addresses, pick one, and then call `socket(2)` with the family for that address (i.e. AF_INET or AF_INET6). With UDP sockets, however, this is reversed; `UDPSocket.new` takes an address family as an argument, and then calls `socket(2)` with that family. A subsequent call to UDPSocket#connect will then call `getaddrinfo(3)` with that family. The problem here is that... * If you are in a networking situation that _only_ has loopback addrs, * And you want to look up a name like "localhost" (or NULL) * And you pass AF_INET or AF_INET6 as the ai_family argument to getaddrinfo(3), * And you pass AI_ADDRCONFIG to the hints argument as well, then glibc on Linux will not return an address. This is because AI_ADDRCONFIG is supposed to return addresses for families we actually have an address for and could conceivably connect to, but also is documented to explicitly ignore localhost in that situation. It honestly doesn't make a ton of sense to pass AI_ADDRCONFIG if you're explicitly passing the address family anyway, because you're not looking for "an address for this name we can connect to"; you're looking for "an IPv(4|6) address for this name". And the original glibc bug that d2ba8ea5 was supposed to work around was related to parallel issuance of A and AAAA queries, which of course won't happen if an address family is explicitly specified. So, we fix this by not passing AI_ADDRCONFIG for calls to `rsock_addrinfo` that we also pass an explicit family to (i.e. for UDPsocket). [Bug #20048]
2023-12-12Update bundled gems list as of 2023-12-12git
2023-12-12[ruby/securerandom] [DOC] Satisfy RDoc coverageNobuyoshi Nakada
https://github.com/ruby/securerandom/commit/ddf2672e47
2023-12-12[ruby/securerandom] [DOC] Add documents of methods and constantsNobuyoshi Nakada
https://github.com/ruby/securerandom/commit/9a99978135
2023-12-12[ruby/securerandom] [DOC] Improve the document about reproducibility of uuid_v7Yusuke Endoh
https://github.com/ruby/securerandom/pull/19/files#r1329476195 https://github.com/ruby/securerandom/commit/156cbb8448
2023-12-11Make Dir#chdir never yield args, and return block return valueJeremy Evans
If no block is given, return 0 instead of nil for consistency with Dir.chdir and Dir.fchdir.
2023-12-11Initialize interrupt queue before signal handlers (#9196)Takashi Kokubun
2023-12-12[rubygems/rubygems] Ensure that the lockfile mtime is not altered on frozen ↵Martin Emde
install https://github.com/rubygems/rubygems/commit/6847709ee0
2023-12-12fix regexp pattern of diffNARUSE, Yui
2023-12-12[rubygems/rubygems] Allow bundle pristine to run in parallelSamuel Giddins
Also fix running when BUNDLE_NO_INSTALL happens to be set, same as with install/update commands https://github.com/rubygems/rubygems/commit/a555fd6ccd
2023-12-12Save $VERBOSE properlyNobuyoshi Nakada
2023-12-12Prevent a warning: assigned but unused variable - statusYusuke Endoh
2023-12-12Prevent a warning: method redefinedYusuke Endoh
2023-12-12Prevent warning: possibly useless use of a literal in void contextYusuke Endoh
2023-12-12Prevent a warning: setting Encoding.default_externalYusuke Endoh
2023-12-12Remove unused statementYusuke Endoh
... to disable a warning: assigned but unused variable - expected
2023-12-12[rubygems/rubygems] Refactor: Wrap filesystem accessFranz Liedke
https://github.com/rubygems/rubygems/commit/119d4bdc09
2023-12-12[rubygems/rubygems] Refactor: Move filesystem access into Definition classFranz Liedke
https://github.com/rubygems/rubygems/commit/2720da2659
2023-12-12[rubygems/rubygems] bundle lock: Always touch the lockfileFranz Liedke
https://github.com/rubygems/rubygems/commit/fd2e71dfdb
2023-12-12Unlock tilt since we no longer support Ruby 2.6David Rodríguez
2023-12-12[rubygems/rubygems] Remove doc not adding much valueDavid Rodríguez
https://github.com/rubygems/rubygems/commit/c241a88962
2023-12-12[rubygems/rubygems] Make tests compatible with paths that contain a + charMartin Emde
https://github.com/rubygems/rubygems/commit/3355c80c90
2023-12-12[rubygems/rubygems] Use StringIO 3.1.0 in tests to work with ruby 3.3.0Martin Emde
https://github.com/rubygems/rubygems/commit/8a936d733d
2023-12-12[rubygems/rubygems] Improve enabling bundled gems warningsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/7be5b40ca9
2023-12-12[rubygems/rubygems] Remove non-transparent requirement added to prerelease gemsDavid Rodríguez
I think we can safely assume these days that all RubyGems and Bundler versions that will ever bundle a new gem created in 2023 support prereleases. So this non transparent requirement is not necessary. In my opinion, it should be the gem author to explicitly add this constraint, not RubyGems. https://github.com/rubygems/rubygems/commit/b165e6d725
2023-12-12[rubygems/rubygems] Make the "auto-user-install" logic easier to followVít Ondruch
https://github.com/rubygems/rubygems/commit/4b4d9c0106
2023-12-12[rubygems/rubygems] Fix installing from source when same bundler version ↵David Rodríguez
already a default gem https://github.com/rubygems/rubygems/commit/620119308e
2023-12-12[rubygems/rubygems] Extract some common strings to variablesDavid Rodríguez
https://github.com/rubygems/rubygems/commit/48bc573310