summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-26Revert "coroutine/arm32/Context.S: save/restore the registers via stack"Yusuke Endoh
This reverts commit 6df1814c08df93bbc0b3e7a73649bcf82e126064. It caused a SEGV again: https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190626T051707Z.fail.html.gz
2019-06-26Add `ucontext` coroutine implementation for generic fallback.Samuel Williams
2019-06-26test/ruby/test_array.rb (test_sort_with_replace): run in a subprocessYusuke Endoh
This test invokes GC.start 100 times, which takes approx. six minutes in Solaris. This change runs the test in a separated process, which makes GC.start faster.
2019-06-26Resize capacity for fstringJohn Hawthorn
When a string is #frozen, it's capacity is resized to fit (if it is much larger), since we know it will no longer be mutated. > puts ObjectSpace.dump(String.new("a"*30, capacity: 1000)) {"type":"STRING", "class":"0x7feaf00b7bf0", "bytesize":30, "capacity":1000, "value":"... > puts ObjectSpace.dump(String.new("a"*30, capacity: 1000).freeze) {"type":"STRING", "class":"0x7feaf00b7bf0", "frozen":true, "bytesize":30, "value":"... (ObjectSpace.dump doesn't show capacity if capacity is equal to bytesize) Previously, if we dedup into an fstring, using String#-@, capacity would not be reduced. > puts ObjectSpace.dump(-String.new("a"*30, capacity: 1000)) {"type":"STRING", "class":"0x7feaf00b7bf0", "frozen":true, "fstring":true, "bytesize":30, "capacity":1000, "value":"... This commit makes rb_fstring call rb_str_resize, the same as rb_str_freeze does. Closes: https://github.com/ruby/ruby/pull/2256
2019-06-26`ensure` is not a continuos lineNobuyoshi Nakada
2019-06-26coroutine/arm32/Context.S: save/restore the registers via stackYusuke Endoh
Retry of 518adcca0a and dbe232e24e
2019-06-25Respect --dest-dir when removing old default gemsJeremy Evans
Before this, tool/rbinstall would try to remove a gem file that it may not have access too. Fixes issue introduced in f550da512cefbe0283106ca839c4836a98efaf3a.
2019-06-26Decrease indent at "elsif" tooNobuyoshi Nakada
2019-06-26Remove other debug printsNobuyoshi Nakada
2019-06-26Added version guard for backtrace printing feature of psych to ruby/spec.Hiroshi SHIBATA
2019-06-26Remove debug print...sorryaycabta
2019-06-25Improve wording of Local Variables and eval sectionJeremy Evans
As pointed out by nobu, "defined" should be used instead of "assigned".
2019-06-26* 2019-06-26git
2019-06-26* remove trailing spaces.git
2019-06-25Document local variable interactions with evalJeremy Evans
Fixes [Bug #13337]
2019-06-25Revert 518adcca0a and dbe232e24eYusuke Endoh
518adcca0a: "Try using arm32 implementation for fibers." dbe232e24e: "Order of arguments might be incorrect in arm32 coroutine implementation." It seems to cause SEGV consistently on Ubuntu armv7l eabihf: https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190625T081710Z.fail.html.gz https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20190625T111708Z.fail.html.gz
2019-06-25Treat auto indent with newline correctlyaycabta
2019-06-25Decrease indent when "else", "rescue", "ensure", "when", or "in" comeaycabta
2019-06-25test/net/imap/test_imap.rb: use Thread#stop? to wait for server threadYusuke Endoh
Still timeout occurs. Retry for 5dd8fdd3f328f741fae4abba00c478e8a51d2a7e. https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-master/log/20190625T032405Z.fail.html.gz
2019-06-25Fixed broken ruby/spec related a53ab897c35586a836710a8afeb1e8c1abd9b087Hiroshi SHIBATA
2019-06-25Do not allocate a string to check if a scalar is an integerJean Boussier
2019-06-25Remove string_cache in ScalarScannerJean Boussier
2019-06-25Reduce string allocations in scalar_scannerJean Boussier
2019-06-25Removed CHANGELOG from rdoc files.SHIBATA Hiroshi
2019-06-25Retired to write CHANGELOG.rdoc. Because It has no update from 2015.SHIBATA Hiroshi
2019-06-25Dump Hash ivars before elementsAaron Patterson
When the Hash is revived, the ivars will be set before elements. This is for the case when the hash setter depends on ivars set on the hash.
2019-06-25Add test to demonstrate issue deserializing hash with ivarJordan Owens
Currently the elements of a hash are revived before any ivar values. This causes an issue when the `[]=` method references an instance variable.
2019-06-25Round trip exception backtracesAaron Patterson
This commit allows exception backtraces to round trip
2019-06-25Refactor exception dumpingAaron Patterson
2019-06-25Dumping the backtrace never worked, so remove itAaron Patterson
Dumping the backtrace for exceptions never worked, so lets remove it.
2019-06-25Fix IO#scanf on pipes on WindowsJeremy Evans
IO.seek on a pipe on Windows raises Errno::EINVAL instead of Errno::ESPIPE. Fixes Ruby Bug #15199
2019-06-25Require version file relativelyDavid Rodríguez
2019-06-25Bump version to 1.2.0.SHIBATA Hiroshi
2019-06-25Fixed the wrong path for io-console.Hiroshi SHIBATA
2019-06-25Order of arguments might be incorrect in arm32 coroutine implementation.Samuel Williams
2019-06-25* 2019-06-25git
2019-06-25Refactor calculation of corresponding token depthaycabta
2019-06-24Try using arm32 implementation for fibers.Samuel Williams
2019-06-24remove UNREACHABLENARUSE, Yui
2019-06-24array.c: Wrong heap size given to ruby_sized_xfree when freeing shared rootsLuke Gruber
Fixes [Bug #15953] Closes: https://github.com/ruby/ruby/pull/2253
2019-06-24Add new encoding CESU-8 [Feature #15931]NARUSE, Yui
2019-06-24Try using arm64 implementation for fibers.Samuel Williams
2019-06-24Use spaces for indentation in `configure.ac`.Samuel Williams
2019-06-24* remove trailing spaces.git
2019-06-24Print warning if not using native coroutine.Samuel Williams
2019-06-24* 2019-06-24git
2019-06-24httpstatus.rb 100% coveragemasakazutakewaka
2019-06-24Adds WebAssembly MIME typeRob
2019-06-24Remove extraneous spaces at the end of status lineNobuyoshi Nakada
Remove extraneous spaces after the status code that is non-compliant with RFC, i.e `HTTP 200 OK `, to unnecessary confusion for WEBrick users, by a risk that WEBrick instances in the wild will have server responses flagged as suspicious or malicious due to a similar bug in [Cobalt Strike misconfiguration]. Reported by Matt Tennis <mtennis@paloaltonetworks.com> [Cobalt Strike misconfiguration]: https://blog.fox-it.com/2019/02/26/identifying-cobalt-strike-team-servers-in-the-wild/
2019-06-23Max length of UNIX socket path is 104 bytes on macOSNobuyoshi Nakada