summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-02Decouple GC slot sizes from RVALUEPeter Zhu
Add a new macro BASE_SLOT_SIZE that determines the slot size. For Variable Width Allocation (compiled with USE_RVARGC=1), all slot sizes are powers-of-2 multiples of BASE_SLOT_SIZE. For USE_RVARGC=0, BASE_SLOT_SIZE is set to sizeof(RVALUE). Notes: Merged: https://github.com/ruby/ruby/pull/5517
2022-02-02Add `econv_get_encoding` functionS.H
Notes: Merged: https://github.com/ruby/ruby/pull/5509 Merged-By: nobu <nobu@ruby-lang.org>
2022-02-02[ruby/net-protocol] Fix typo in gem description [ci skip]Olle Jonsson
https://github.com/ruby/net-protocol/commit/35d7b08a54
2022-02-02[ruby/net-protocol] Drop unused gemspec directivesOlle Jonsson
This gem exposes no executables. https://github.com/ruby/net-protocol/commit/3c4def2a64
2022-02-02Update bundled gems list at d4a8c04dc7bb1c9aa48eaf50dc6b18 [ci skip]git
2022-02-02Update RBS (#5515)Soutaro Matsumoto
* Bundle RBS 2.1.0 Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2022-02-02* 2022-02-02 [ci skip]git
2022-02-02Fix a typo [ci skip]Kazuhiro NISHIYAMA
2022-02-01[rubygems/rubygems] Skip "seller shipped" notification after deliveryDan Jensen
If a Shipment has been delivered, there is no point in notifying the buyer that the seller shipped. Instead, we should simply notify the buyer that the shipment was delivered. This is relevant in cases where the seller is late to mark a Shipment as shipped, so the first EasyPost Tracker update marks it as delivered, or in cases where the seller fails to mark as shipped and the buyer marks it as delivered. This fixes a Shipment event handler so the buyer notification for shipment is no longer invoked if the Shipment is already delivered. https://github.com/rubygems/rubygems/commit/09c2cadc86
2022-02-01[ruby/io-wait] Exclude rake files from packagesNobuyoshi Nakada
https://github.com/ruby/io-wait/commit/7be58cd7f4
2022-02-01[ruby/io-wait] Make the gem a noop on Rubies older than 2.6Jean Boussier
Ref: https://github.com/mikel/mail/pull/1439 Some gems depend on io-wait, but still support older rubies, so they have to chose between droping support or not listing io-wait. But io-wait could act a a noop on older rubies. https://github.com/ruby/io-wait/commit/75fcb74c32
2022-02-01Update default gems list at fc4fbeef28b1d243e45d7fc8d60778 [ci skip]git
2022-02-01[ruby/io-wait] bump up to 0.2.2Nobuyoshi Nakada
https://github.com/ruby/io-wait/commit/e15a2486b2
2022-02-01Restore workaround for test_rubygems.rb, It still fails with chkbuild ↵Hiroshi SHIBATA
encironment
2022-02-01Try make this more readable and consistent with other targetsDavid Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/5512
2022-02-01Tweaks to freeze bundler CIDavid Rodríguez
Currently some specs are broken because `rspec-mocks-3.10.3` is used, which has some breaking changes, apparently. This change makes ruby-core install the same gems installed upstream for running bundle specs, so that things never break with 3rd party releases. Notes: Merged: https://github.com/ruby/ruby/pull/5512
2022-02-01Sync latest Bundler & RubyGemsDavid Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/5512
2022-02-01* 2022-02-01 [ci skip]git
2022-02-01[rubygems/rubygems] Remove encoding pragma from specification.rbJosef Šimánek
- it is not used since it is not at the top of the file - it is not useful anymore https://github.com/rubygems/rubygems/commit/6aee05d923
2022-01-31Fix heap page iteration in gc_verify_heap_pagePeter Zhu
The for loops are not correctly iterating heap pages in gc_verify_heap_page. Notes: Merged: https://github.com/ruby/ruby/pull/5503
2022-01-31[DOC] Fix case for new sentence.Steven Nunez
Notes: Merged: https://github.com/ruby/ruby/pull/5505 Merged-By: nobu <nobu@ruby-lang.org>
2022-01-31[DOC] Fix a typo in the NEWS.mdKoichi ITO
Follow up of https://github.com/ruby/ruby/commit/fbb3cab. Notes: Merged: https://github.com/ruby/ruby/pull/5507 Merged-By: nobu <nobu@ruby-lang.org>
2022-01-30[DOC] Enhanced RDoc for io.c (#5460)Burdette Lamar
Treats: Kernel#readline Kernel#readlines Kernel#`cmd` IO#advise IO.select IO#ioctl IO#fcntl Kernel#syscall IO.pipe Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-01-31* 2022-01-31 [ci skip]git
2022-01-31pend some tests while using to_binaryKoichi Sasada
ISeqs from ISeq#to_binary/load do not support `keep_script_lines` now so some tests should be pending tests with `RUBY_ISEQ_DUMP_DEBUG=to_binary` Notes: Merged: https://github.com/ruby/ruby/pull/5508
2022-01-29Ignore warnings at reading debug info for nowNobuyoshi Nakada
Something seems changed on FreeBSD 13.
2022-01-29[Bug#18556] Fallback `MAP_ ANONYMOUS`Nobuyoshi Nakada
Define `MAP_ANONYMOUS` to `MAP_ANON` if undefined on old systems. Notes: Merged: https://github.com/ruby/ruby/pull/5506 Merged-By: nobu <nobu@ruby-lang.org>
2022-01-29Add a NEWS entry about [Feature #16806]Takashi Kokubun
2022-01-29Remove a typo hash [ci skip]Nobuyoshi Nakada
2022-01-29mkmf: unify duplicate code in pkg_configNobuyoshi Nakada
2022-01-29mkmf: pkg_config accepts multiple optionsMike Dalessio
Notes: Merged: https://github.com/ruby/ruby/pull/5436
2022-01-29test: backfill coverage for MakeMakefile.pkg_configMike Dalessio
Notes: Merged: https://github.com/ruby/ruby/pull/5436
2022-01-29* 2022-01-29 [ci skip]git
2022-01-28Remove assert_equal that will never be runPeter Zhu
`@s1.set_len(3)` will raise so the `assert_equal` will never be ran.
2022-01-28* 2022-01-28 [ci skip]git
2022-01-28Update to ruby/spec@902ab83Benoit Daloze
2022-01-28Update to ruby/mspec@49adc2fBenoit Daloze
2022-01-27[ruby/reline] Add a comment for VK_MENUaycabta
https://github.com/ruby/reline/commit/ee307c2b01
2022-01-27[ruby/reline] The AltGr behaves exactly the same as Ctrl+Altaycabta
On European keyboards. https://github.com/ruby/reline/commit/75fe9759a4
2022-01-27[ruby/yaml] Add JRuby-specific warning when psych failsCharles Oliver Nutter
The error here is confusing for users because JRuby does not use libyaml and installing it will not help. Instead, JRuby directs them to a wiki page that describes an issue when multiple conflicting versions of SnakeYAML are installed. This change allows us to use the yaml gem and delete our local sources. https://github.com/ruby/yaml/commit/8122087ffb
2022-01-27Fix memory leak at the same named alias [Bug #18516]Nobuyoshi Nakada
When aliasing a method to the same name method, set a separate bit flag on that method definition, instead of the reference count increment. Although this kind of alias has no actual effect at runtime, is used as the hack to suppress the method re-definition warning. Notes: Merged: https://github.com/ruby/ruby/pull/5493
2022-01-27An alias can suppress method redefinition warningNobuyoshi Nakada
2022-01-27Shifting zero always results in zero [Bug #18517]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5494
2022-01-27[ruby/logger] Fix log rotation inter-process lock failed.Jesse Chavez
Issue only occurs in JRuby 9.3.0.0 and Windows and the full console output is: log rotation inter-process lock failed. D:\log.txt -> D:\log.txt.0: The process cannot access the file because it is being used by another process. log writing failed. closed stream log writing failed. closed stream ... https://github.com/ruby/logger/commit/19fc734638
2022-01-26[lldb] Handle MacOS 64Kb heap pages in the lldb helpersMatt Valentine-House
Notes: Merged: https://github.com/ruby/ruby/pull/5495
2022-01-26Streamline cached attr reader / writer indexesJemma Issroff
This commit removes the need to increment and decrement the indexes used by vm_cc_attr_index getters and setters. It also introduces a vm_cc_attr_index_p predicate function, and a vm_cc_attr_index_initalize function. Notes: Merged: https://github.com/ruby/ruby/pull/5485
2022-01-27* 2022-01-27 [ci skip]git
2022-01-27[ruby/irb] Changed to call Kernel.printmanga_osyo
If you call `binding.irb` on a class defined `#print`, it will crash, so call `Kernel.print`. Fix [Bug #18389] `binding.irb` can fail in some classes that implement `context` and `print` methods. https://github.com/ruby/irb/commit/d54b271984
2022-01-26Fix typo in assertion in gc.cPeter Zhu
2022-01-26Check if `execv` is available for ruby/missing.hNobuyoshi Nakada
As MinGW has the declaration, the `dllimport` attribute difference is warned when compiling missing/*.c without including ruby/win32.h. ``` ../src/include/ruby/missing.h:316:17: warning: 'execv' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] 316 | RUBY_EXTERN int execv(const char *, char *const []); | ^~~~~ ``` Notes: Merged: https://github.com/ruby/ruby/pull/5491 Merged-By: nobu <nobu@ruby-lang.org>