summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636"Hiroshi SHIBATA2020-09-23274-672/+0
| | | | | 31a6eaabc165d8a222e176f2c809d90622d88ec2 is obsoleted with https://github.com/rubygems/rubygems/pull/3820
* bump Bundler's version to 2.2.0.rc.1Hiroshi SHIBATA2020-09-232-2/+2
|
* Manually merged from https://github.com/rubygems/rubygems/pull/2636Hiroshi SHIBATA2020-09-23274-0/+672
| | | | Enable Style/EmptyLinesAroundClassBody rubocop cop.
* bundle-package.* was removed at upstream repoHiroshi SHIBATA2020-09-233-206/+0
|
* strip trailing spaces [ci skip]Nobuyoshi Nakada2020-09-231-1/+1
|
* Update the version number of rubygems and bundler at NEWS.mdHiroshi SHIBATA2020-09-231-2/+2
|
* Fix call-seq [ci skip]Kazuhiro NISHIYAMA2020-09-231-1/+1
| | | | | | | | | `encoding` can be not only an encoding name, but also an Encoding object. ``` s = String.new('foo', encoding: Encoding::US_ASCII) s.encoding # => #<Encoding:US-ASCII> ```
* Bundle rbs gem as bundled gems (#3496)Hiroshi SHIBATA2020-09-233-3/+12
| | | | * Added rbs as bundled gems * Added the missing dependencies for rbs gem
* Removed rb_find_file_ext_safe and rb_find_file_safeHiroshi SHIBATA2020-09-232-16/+0
|
* Update UnixSocket#recv_io tests to handle receiving a UnixSocketJeremy Evans2020-09-221-2/+8
| | | | | | | | Receiving UnixSocket works fine if you don't provide a mode, and I think it is reasonable to expect that you should not provide a mode if klass.for_fd would not accept a mode. Fixes [Bug #11778]
* Enhanced RDoc for String (#3565)Burdette Lamar2020-09-221-44/+42
| | | | | | | | | | | | | Makes some methods doc compliant with https://github.com/ruby/ruby/blob/master/doc/method_documentation.rdoc. Also, other minor revisions to make more consistent. Methods: try_convert +string -string concat << prepend hash
* Rudimentary support for disassembling rb_iseq_tAaron Patterson2020-09-221-0/+197
| | | | | | | | | | | | | | | | | | | | | | | I need to disassemble instruction sequences while debugging, so I wrote this. Usage is like this: ``` (lldb) p iseq (rb_iseq_t *) $147 = 0x0000000101068400 (lldb) rbdisasm iseq 0000 putspecialobject( 3 ) 0002 putnil 0003 defineclass( ID: 0x560b, (rb_iseq_t *)0x1010681d0, 2 ) 0007 pop 0008 putspecialobject( 3 ) 0010 putnil 0011 defineclass( ID: 0x56eb, (rb_iseq_t *)0x101063b58, 2 ) 0015 leave ``` Also thanks a ton to @kivikakk helping me figure out how to navigate LLDB's Python 😆
* Revert "Prevent SystemStackError when calling super in module with activated ↵Jeremy Evans2020-09-223-93/+20
| | | | | | | | | | | | | | refinement" This reverts commit eeef16e190cdabc2ba474622720f8e3df7bac43b. This also reverts the spec change. Preventing the SystemStackError would be nice, but there is valid code that the fix breaks, and it is probably more common than cases that cause the SystemStackError. Fixes [Bug #17182]
* Add a comment about why we're checking the finalizer tableAaron Patterson2020-09-221-0/+5
|
* * 2020-09-23 [ci skip]git2020-09-231-1/+1
|
* Revert "Pin values in the finalizer table"Aaron Patterson2020-09-221-0/+6
| | | | | | If an object has a finalizer flag set on it, prevent it from moving. This partially reverts commit 1a9dd31910699c7cd69f2a84c94af20eacd5875c.
* Make hash returned by Hash#transform_values not have a defaultJeremy Evans2020-09-212-0/+2
| | | | | | | This sets an explicit default of nil. There is probably a better approach of removing the default. Fixes [Bug #17181]
* * 2020-09-22 [ci skip]git2020-09-221-1/+1
|
* Comply with guide for method doc: string.c (#3528)Burdette Lamar2020-09-211-70/+42
| | | | | | | | | | | | Methods: ::new #length #bytesize #empty? #+ #* #%
* Make Thread#join always convert its argument, as before 70f08f1eedBenoit Daloze2020-09-212-3/+13
|
* Simplify the implementation of Scheduler#blockBenoit Daloze2020-09-211-13/+15
| | | | | * This shows block() with a timeout is similar to #kernel_sleep and also does not need to change `@blocking`.
* Make it clear the first field of join_arg is the waiting threadBenoit Daloze2020-09-211-11/+11
| | | | * And not some list of sort.
* Fix Thread leak in Thread#join specsBenoit Daloze2020-09-211-1/+2
|
* Add NEWS about `Fiber#backtrace` and `Fiber#backtrace_locations`.Samuel Williams2020-09-211-0/+3
|
* Update NEWS & documentation relating to scheduler.Samuel Williams2020-09-213-140/+171
|
* Make `Thread#join` non-blocking.Samuel Williams2020-09-217-128/+169
|
* * 2020-09-21 [ci skip]git2020-09-211-1/+1
|
* When setting current thread scheduler to nil, invoke `#close`.Samuel Williams2020-09-217-6/+75
|
* Update heap_pages_himem after freeing pagesPeter Zhu2020-09-201-0/+6
|
* Fulfill missing tests and stabilize testsQuang-Minh Nguyen2020-09-201-22/+126
|
* Validate name during initializationQuang-Minh Nguyen2020-09-202-17/+43
|
* Add status to Ractor#inspectQuang-Minh Nguyen2020-09-202-3/+27
|
* * 2020-09-20 [ci skip]git2020-09-201-1/+1
|
* Remove from waiter in Mutex#lock with ensure when calling rb_scheduler_block()Benoit Daloze2020-09-202-6/+45
| | | | | * Previously this could lead to an invalid waiter entry and then trying to wake up that waiter would result in various issues in rb_mutex_unlock_th().
* [ruby/io-wait] update required_ruby_versionNobuyoshi Nakada2020-09-191-1/+1
| | | | | | | As d387029f39d976565c955377117103499d47ff09 made io/wait unbuildable with older versions, drop older versions tentatively. Also the change seems to instroduce behavioral incompatibilities, may address them or bump up the version later.
* strip trailing spaces [ci skip]Nobuyoshi Nakada2020-09-193-6/+6
|
* Add assertions when inline caches are copied to MJITAaron Patterson2020-09-181-0/+11
| | | | | | This is a temporary commit to try to find a GC issue. It seems like mjit is pointing at a moved address in the call cache. I want to assert that they aren't TMOVED or garbage objects at the time they get copied
* [ruby/irb] Version 1.2.7aycabta2020-09-191-2/+2
| | | | https://github.com/ruby/irb/commit/0eaa06838b
* [ruby/irb] Drop OMIT_ON_ASSIGNMENT and add :truncate option for ↵aycabta2020-09-194-50/+22
| | | | | | ECHO_ON_ASSIGNMENT https://github.com/ruby/irb/commit/4c89b0775b
* * 2020-09-19 [ci skip]git2020-09-191-1/+1
|
* Pin values in the finalizer tableAaron Patterson2020-09-181-7/+9
| | | | | | | | | | When finalizers run (in `rb_objspace_call_finalizer`) the table is copied to a linked list that is not managed by the GC. If compaction runs, the references in the linked list can go bad. Finalizer table shouldn't be used frequently, so lets pin references in the table so that the linked list in `rb_objspace_call_finalizer` is safe.
* Added sync task for bigdecimalHiroshi SHIBATA2020-09-181-0/+8
|
* The executable file of erb is under the libexec on ruby/erb repoHiroshi SHIBATA2020-09-181-1/+1
|
* Fix copy/paste error from 5bb5e706f1d310a467075630145d2cc277045765Benoit Daloze2020-09-181-1/+1
|
* Only interrupt when there is no scheduler in sync_wakeup()Benoit Daloze2020-09-181-2/+4
| | | | | | | | * When there is a scheduler, the Fiber that would be blocked has already been rescheduled and there is no point to interrupt something else. That blocked Fiber will be rescheduled as the next call to the scheduler (e.g., IO, sleep, other blocking sync). * See discussion on https://github.com/ruby/ruby/commit/d01954632d
* [ruby/rdoc] Add man/ri.1 for distribution filesaycabta2020-09-181-0/+1
| | | | https://github.com/ruby/rdoc/commit/7cb5c3611f
* [ruby/rdoc] Fix spelling error in parser commentDorian Marié2020-09-181-1/+1
| | | | https://github.com/ruby/rdoc/commit/f237c9e223
* [ruby/rdoc] update all files if any file is newerNobuyoshi Nakada2020-09-183-21/+34
| | | | | | | | | Cross references need parse all files which define the subject names. This commit makes `--force-update` option enforce to parse all files if any file is newer than the previous parse, not only updated files. https://github.com/ruby/rdoc/commit/13e9a44896
* [ruby/rdoc] Support full filename to make a link for a text fileaycabta2020-09-183-2/+10
| | | | https://github.com/ruby/rdoc/commit/41db49c485
* sync ruby_global_symbolsKoichi Sasada2020-09-182-103/+199
| | | | | ruby_global_symbols can be accessed with multiple ractors so that the accesses should be synchronized.