Activity
From 03/20/2017 to 03/26/2017
03/26/2017
-
10:29 PM Bug #13367 (Closed): Fix issue for MinGW / MSYS2 builds and testing
- I'm working to get test-all working in a stable fashion in a Windows MinGW / MSYS2 environment. One item I've looked at is skips. Some RubyGems tests require git. This requires adding and correctly setting an environment variable for t...
-
05:57 PM Misc #13366 (Rejected): error in ram reinstall
- Error running 'env GEM_HOME=/Users/krin/.rvm/gems/ruby-1.9.3-p551@global GEM_PATH= /Users/krin/.rvm/rubies/ruby-1.9.3-p551/bin/ruby -d /Users/krin/.rvm/src/rubygems-2.6.11/setup.rb --no-document',
showing last 15 lines of /Users/krin/.r... - 04:42 PM Revision b411090c (git): merge revision(s) 53566:
- * configure.in: improve ICC (Intel C Compiler) support.
* configure.in (CXX): The name of icc's c++ compiler is `icpc`.
* configure.in (warnings): Add `-diag-disable=2259` to suppress
noisy warnings: "non-poin... -
10:21 AM Feature #13295 (Closed): [PATCH] compile.c: apply opt_str_freeze to String#-@ (uminus) - Applied in changeset trunk|r58142.
----------
NEWS: feature number for String#-@ compile-time optimization
[ruby-core:79971] [Feature #13295] -
06:21 AM Feature #13295: [PATCH] compile.c: apply opt_str_freeze to String#-@ (uminus)
- shyouhei@ruby-lang.org wrote:
> We looked at this issue in today's developer meeting.
>
> Koichi pointed out that you have to consider redefinition of
> String#-@. You need to take care about such situation, like
> we do already ... - 10:21 AM Revision 833e42d1 (git): NEWS: feature number for String#-@ compile-time optimization
- [ruby-core:79971] [Feature #13295]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:23 AM Misc #13329: Creating a German ruby mailinglist on ruby-lang.org?
- I would appreciate it if there could at least be an indication as to whether this is possible or not. Because otherwise we're going to use a different mailinglist host (which I would find unfitting, but we need to go forward at some poin...
- 08:25 AM Revision ce3ea463 (git): * thread.c (rb_thread_fd_close): unintentionally removed at r58094.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:25 AM Revision 1fb37c4c (git): * test/ruby/test_thread.rb (test_thread_interrupt_for_killed_thread):
- may fix the test failure on some platforms introduced at r58108.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:22 AM Revision b2cdb79c (git): merge revision(s) 49806:
- envutil.rb: timeout_error argument to invoke_ruby
* test/lib/envutil.rb (invoke_ruby): add `timeout_error` optional
keyword argument, the exception class to be raised if the target
process timed out. if it i... -
07:13 AM Revision cb64ef24 (git): parse.y: unterminated content token
- * parse.y (parser_parse_string): defer the end token to next
reading, to yield tSTRING_CONTENT with the unterminated content.
[Bug #13363]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:21 AM Feature #13095: [PATCH] io.c (rb_f_syscall): remove deprecation notice
- ext/syscall with numbers defined would be nice, but I think optional.
Mainly, I want to be able to continue trying new syscalls before
they have libc support. -
04:48 AM Bug #13365 (Closed): Improve performance of rb_equal() with special constants
- rb_equal() is been using in many places to compare the object.
If objects are special constants,
"if (obj1 == obj2) return Qtrue;" can check whether objects are equal or not.
(https://github.com/ruby/ruby/blob/0b1f6aed9414a4d7714910... - 04:11 AM Revision 7b9fffe6 (git): * thread.c (rb_thread_sleep_deadly_allow_spurious_wakeup): need to
- mark as exported. this may fix the load error introduced at r58115.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:21 AM Revision 07e4aa67 (git): gmake.mk: multi mspec
- * defs/gmake.mk (MSPECOPT): enable multi exec if parallel make.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:50 AM Revision 0e22e24d (git): common.mk: test-rubyspec
- * common.mk (yes-test-rubyspec): make jobserver ready.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/25/2017
- 08:35 PM Revision 7c2a8668 (git): * 2017-03-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:35 PM Revision ab844e7a (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:35 PM Revision 14ae7869 (git): Add a tool for backporters.
- * tool/generate-backport-changelog.rb: Generate ChangeLog entries from svn log.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:31 PM Revision 9c3d2ca6 (git): * ChangeLog: log for r58102.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:30 PM Revision 544c352e (git): * ChangeLog: logs for r58085 - r58129.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:55 PM Bug #10944: Documentation of Array.new w.r.t. element index available to a block
- ruby_2_2 r58129 merged revision(s) 58037.
- 06:55 PM Revision 64cd400a (git): merge revision(s) 58037: [Backport #10944]
- docs for creating arrays
* array.c: [DOC] add example for Array.new with block and index.
Reported by Don Cruickshank. [ruby-core:68442] [Bug #10944]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@5812... -
06:55 PM Bug #10936: Error in Rubydoc for DateTime#rfc3339
- ruby_2_2 r58128 merged revision(s) 58020.
- 06:55 PM Revision 03ab27a8 (git): merge revision(s) 58020: [Backport #10936]
- date_core.c: fix error in DateTime docs
* ext/date/date_core.c: [DOC] fix format string for DateTime#rfc3339.
Reported by Andreas Rayo Kniep. [ruby-core:68418] [Bug #10936]
* ext/date/date_core.c: [DOC] ditto... -
06:54 PM Bug #9294: Documentation for IO#read claims resulting string is always ASCII-8BIT encoding
- ruby_2_2 r58127 merged revision(s) 58008.
- 06:54 PM Revision b41259dc (git): merge revision(s) 58008: [Backport #9294]
- io.c: improve docs
* io.c: [DOC] improve and harmonize docs for IO#read and ARGF#read;
fix invalid example code for IO#read to make it syntax highlighted.
* io.c: [DOC] various improvements for docs of IO, ARG... -
06:42 PM Bug #13096: error using undef_method + refinements
- ruby_2_2 r58126 merged revision(s) 57362.
- 06:42 PM Revision d5b08a46 (git): merge revision(s) 57362: [Backport #13096]
- vm_method.c: resolve refined method to undef
* vm_method.c (rb_undef): resolve the method entry which refines a
prepended method entry. [ruby-core:78944] [Bug #13096]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc... -
06:36 PM Bug #13225: [DOC] expand docs for Date shifting
- ruby_2_2 r58125 merged revision(s) 57737.
- 06:36 PM Revision 950758b0 (git): merge revision(s) 57737: [Backport #13225]
- date_core.c: expand docs for Date shifting
* ext/date/date_core.c: [DOC] expand docs for Date shifting
* add examples for Date#>> and Date#<< that clarify some edge cases
* add examples for Date#next_year an... -
06:35 PM Bug #13159: [DOC] Revise documentation for OpenStruct
- ruby_2_2 r58124 merged revision(s) 57887.
- 06:35 PM Revision d823f587 (git): merge revision(s) 57887: [Backport #13159]
- lib/ostruct.rb: [DOC] revise docs for OpenStruct
* update paragraph on implementation:
define_singleton_method is used, not define_method
* add call-seq with return values for each_pair
* adopt descript... -
06:31 PM Bug #13132: [DOC] Improve documentation for Binding
- ruby_2_2 r58123 merged revision(s) 57352.
- 06:31 PM Revision 25912b88 (git): merge revision(s) 57352: [Backport #13132]
- doc: improve documentation for Binding [ci skip]
* remove explicit return from code examples
* grammar fixes
* other small fixes
Patch by: Marcus Stollsteimer <sto.mar@web.de>
[ruby-core:79082] ... -
06:28 PM Bug #13281: [DOC] OptionParser docs leak into class documentation of Object
- ruby_2_2 r58122 merged revision(s) 57775.
- 06:28 PM Revision 352b041d (git): merge revision(s) 57775: [Backport #13281]
- nodoc OptParse
* lib/optparse.rb: [DOC] nodoc OptParse, introduced with r46126,
to avoid leaking of its documentation (OptionParser's docs) into
the class documentation of Object. [ruby-core:79909] [Bug #132... -
06:26 PM Bug #13233: [DOC] Fix rdoc for Rational
- ruby_2_2 r58121 merged revision(s) 57686.
- 06:26 PM Revision 02deb79d (git): merge revision(s) 57686: [Backport #13233]
- rational.c: fix rdoc
* rational.c: [DOC] fix wrong indentations and comment out some lines
in code examples to make them valid Ruby code and syntax highlighted
on the rendered page.
[ci skip] [ruby-c... -
06:24 PM Bug #13214: FileUtils::mkdir_p creates additional (unrequested) directory on Cygwin
- ruby_2_2 r58120 merged revision(s) 57640.
- 06:24 PM Revision acc6a302 (git): merge revision(s) 57640: [Backport #13214]
- fileutils.rb: do not make root
* lib/fileutils.rb (FileUtils#mkdir_p): no need to make root
directory which should be exist and cannot be made with mkdir
recent Cygwin can make a directory contains a colon.
... -
06:22 PM Bug #13081: resolv.rb may be the cause of the rubygems bug on Windows
- ruby_2_2 r58119 merged revision(s) 57265,57266.
- 06:22 PM Revision 1bd1e843 (git): merge revision(s) 57265,57266: [Backport #13081]
- win32/resolv.rb: ad hoc workaround
* ext/win32/lib/win32/resolv.rb (Win32::Resolv::SZ): an ad hoc
workaround for broken registry. SearchList and other registry
values must be REG_SZ, or Windows ignores anyth... -
06:19 PM Bug #13192: [DOC] Add example for Symbol#to_s
- ruby_2_2 r58118 merged revision(s) 57536.
- 06:19 PM Revision cc938265 (git): merge revision(s) 57536: [Backport #13192]
- doc: Add example for Symbol#to_s
* string.c: add example for Symbol#to_s.
The docs for Symbol#to_s only include an example for
Symbol#id2name, but not for #to_s which is an alias;
the docs should include... -
06:16 PM Bug #13242: SIGSEGV in rb_bigzero_p()
- ruby_2_2 r58117 merged revision(s) 57688,57689.
- 06:16 PM Revision f84d2864 (git): merge revision(s) 57688,57689: [Backport #13242]
- rational.c: infinity in power
* rational.c (nurat_expt): return Infinity due to overflow.
[ruby-core:79686] [Bug #13242]:
rational.c: infinity in power
* rational.c (nurat_expt): return 0 due to overfl... -
06:13 PM Bug #13015: Segfault when using super and underscore parameters
- ruby_2_2 r58116 merged revision(s) 57024.
- 06:13 PM Revision d4101846 (git): merge revision(s) 57024: [Backport #13015]
- vm.c: check type of hash to merge
* vm.c (core_hash_merge): check the type of the target hash to
merge. [ruby-core:78536] [Bug #13015]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58116 b2dd03c8-39d4... -
06:07 PM Bug #12405: Queue doesn't work inside of trap
- ruby_2_2 r58115 merged revision(s) 57477,57478,57479,57492.
-
05:54 PM Bug #12405: Queue doesn't work inside of trap
- nagachika-san, r57492 is also required.
- 06:07 PM Revision d014f463 (git): merge revision(s) 57477,57478,57479,57492: [Backport #12405]
- use TRUE/FALSE.
define rb_thread_sleep_deadly_allow_spurious_wakeup().
* thread.c, thread_sync.c: define new function
rb_thread_sleep_deadly_allow_spurious_wakeup() and use it instead of
using sleep_... -
05:55 PM Feature #13333: block to yield
- > Out of curiosity: What's the use case(s)?
Could be simply due to reciprocity. :)
-
05:45 PM Bug #13190: [DOC] Fix error for escape sequences in string literals
- ruby_2_2 r58114 merged revision(s) 51871,51872,51874,51875,51876,51877,51878,57517.
- 05:45 PM Revision ed20b256 (git): merge revision(s) 51871,51872,51874,51875,51876,51877,51878,57517: [Backport #13190]
- * doc/syntax/literals.rdoc (Strings): mention about ?a literal.
literals.rdoc: fix typos
* doc/syntax/literals.rdoc (Strings): fix typos.
* doc/syntax/literals.rdoc (Strings): [DOC] Document the full list
... -
05:37 PM Bug #13189: [DOC] Restore class documentation for Struct
- ruby_2_2 r58113 merged revision(s) 57522.
- 05:37 PM Revision fd69ec05 (git): merge revision(s) 57522: [Backport #13189]
- doc: restore class documentation for Struct
* struct.c: restore class documentation for Struct
that disappeared with r46663.
Due to r46663, the class documentation for Struct disappeared.
(The revision... -
05:36 PM Bug #13161: [DOC] Enumerable#{min,min_by,max,max_by} didn't mention they return a sorted array
- ruby_2_2 r58112 merged revision(s) 57434.
- 05:36 PM Revision 0a1e5646 (git): merge revision(s) 57434: [Backport #13161]
- Enumerable#{min,min_by,max,max_by} [ci skip]
* enum.c: [DOC] Enumerable#{min,min_by,max,max_by} return a sorted
array when +n+ argument is used.
* enum.c: Small typo : minimum -> maximum
[Bug #13161]
... -
05:35 PM Bug #11900: broken encoding of commandline on Windows
- ruby_2_2 r58111 merged revision(s) 54785.
- 05:35 PM Revision bf2d4e93 (git): merge revision(s) 54785: [Backport #11900]
- * ruby.c (process_options): convert -e script to the encoding
given by a command line option on Windows. assume it is the
expected encoding. [ruby-dev:49461] [Bug #11900]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... -
05:34 PM Bug #11752: Bug in Rational documentation
- ruby_2_2 r58110 merged revision(s) 57539.
- 05:34 PM Revision ae432a96 (git): merge revision(s) 57539: [Backport #11752]
- rational.c: fix rdoc [ci skip]
* rational.c (rb_rational_plus): [DOC] fix an example.
A patch by Trygve Flathen <at.ruby-lang AT flathen.net> in
[ruby-core:71755]. [Bug #11752]
git-svn-id: svn+ssh://ci.ruby... -
05:32 PM Bug #13364: Please backport r56310
- ruby_2_2 r58109 merged revision(s) 56310.
-
05:31 PM Bug #13364 (Closed): Please backport r56310
-
05:30 PM Bug #13364 (Closed): Please backport r56310
- バックポート管理用のチケットです。
- 05:32 PM Revision 8c34c05d (git): merge revision(s) 56310: [Backport #13364]
- * win32/win32.c (poll_child_status): rb_w32_wait_events_blocking() sets
errno internally, then should not set it here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:27 PM Bug #8996: pthread_mutex_lock EINVAL
- ruby_2_2 r58108 merged revision(s) 57595.
- 05:27 PM Revision f60e5af0 (git): merge revision(s) 57595: [Backport #8996]
- check thread deadness correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:13 PM Bug #12741: Timeout with specified exception class sets cause on error if timeout block is handling an exception when timeout occurs
- ruby_2_2 r58107 merged revision(s) 56125,56150.
- 05:13 PM Revision da0e2152 (git): merge revision(s) 56125,56150: [Backport #12741]
- * thread.c (rb_threadptr_raise): set cause from the called thread,
but not from the thread to be interrupted.
[ruby-core:77222] [Bug #12741]
* test/ruby/test_exception.rb: fix thread issues.
* use Q... -
05:11 PM Bug #10403: `puts` documentation fix
- ruby_2_2 r58106 merged revision(s) 57767,57943.
- 05:11 PM Revision 134c045f (git): merge revision(s) 57767,57943: [Backport #10403]
- io.c: documentation for puts
* io.c: [DOC] clarify that the 'record separator' between
arguments passed to 'puts' is always a newline.
Based on a patch by Mark Amery. [ruby-core:65801] [Misc #10403]
*... -
05:08 PM Bug #13273: [DOC] Proc#call docs show "Document-method: []" directive
- ruby_2_2 r58105 merged revision(s) 57765.
- 05:08 PM Revision 8ab5fe41 (git): merge revision(s) 57765: [Backport #13273]
- proc.c: documentation for Proc#{call,yield,[]}
* proc.c: [DOC] fix and improve docs for Proc#{call,yield,[]}:
* change order of Document-method directives as workaround for an
RDoc rendering problem where ... -
05:03 PM Bug #12975: Edit documentation for IO#print function
- ruby_2_2 r58104 merged revision(s) 57780.
- 05:03 PM Revision 673310ec (git): merge revision(s) 57780: [Backport #12975]
- docs for IO#print
* io.c: [DOC] split documentation for IO#print into smaller paragraphs,
delete duplicate sentence, fix call-seq.
Based on a patch by Dario Daic. [ruby-core:78291] [Bug #12975]
git-svn-id: s... -
05:01 PM Bug #13292: Invalid encodings in UTF-32
- ruby_2_2 r58103 merged revision(s) 57816,57817.
- 05:01 PM Revision ad075f69 (git): merge revision(s) 57816,57817: [Backport #13292]
- fix UTF-32 valid_encoding?
* enc/utf_32be.c (utf32be_mbc_enc_len): check arguments precisely.
[ruby-core:79966] [Bug #13292]
* enc/utf_32le.c (utf32le_mbc_enc_len): ditto.
* regenc.h (UNICODE_VALID_CO... - 04:58 PM Revision b824ac5f (git): * regcomp.c (set_bm_skip): Need to check the end of the string.
- this patch is from https://github.com/k-takata/Onigmo/commit/e5c0e6c36187898bb27960cd66d591f172558848 .
[Backport #12997]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:48 PM Bug #13193: [DOC] Revise docs for Date and DateTime
- ruby_2_2 r58101 merged revision(s) 57549.
- 04:48 PM Revision 33581853 (git): merge revision(s) 57549: [Backport #13193]
- date_core.c: [DOC] revise docs [ci skip]
* fix malformed rdoc for Date#today, Date._strptime,
and DateTime._strptime
* add code examples for Date#<< and Date#>> to demonstrate
that different dates can... -
04:35 PM Bug #13169: Fix OpenStruct#each_pair return value
- ruby_2_2 r58100 merged revision(s) 57515.
- 04:35 PM Revision fc7fa64b (git): merge revision(s) 57515: [Backport #13169]
- lib/ostruct.rb: Fix returned value of each_pair.
From a patch by Marcus Stollsteimer. [Fixes #13169]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:31 PM Bug #12855: Inconsistent keys identity in compare_by_identity Hash when using literals
- ruby_2_2 r58099 merged revision(s) 57278,57279.
- 04:31 PM Revision bdedc17f (git): merge revision(s) 57278,57279: [Backport #12855]
- fix optimization for hash aset/aref with fstring
Patch by Eric Wong [ruby-core:78797].
I don't like the idea of making insns.def any bigger to support
a corner case, and "test_hash_aref_fstring_identity" shows
... -
04:29 PM Bug #13135: Regexp.last_match returns nil with s.rindex(//)
- ruby_2_2 r58098 merged revision(s) 57374.
- 04:29 PM Revision 0d528f4a (git): merge revision(s) 57374: [Backport #13135]
- string.c: rindex(//) should set $~.
This seems a bug introduced by r520 (1.4.0). [ruby-core:79110] [Bug #13135]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:15 PM Bug #13254: Dir.exist? などで「ディスクがありません」ダイアログが表示される
- ruby_2_2 r58097 merged revision(s) 57741.
- 04:15 PM Revision 0f70d439 (git): merge revision(s) 57741: [Backport #13254]
- disable critical-error-handler
* win32/win32.c (rb_w32_sysinit): disable critical-error-handler
message box even on mswin, regardless of runtime DLL version.
[ruby-dev:49988] [Bug #13254]
git-svn-id: svn+ssh... -
04:14 PM Bug #13267: ruby 2.4.0 i686-w64-mingw32 + boost compilation error
- ruby_2_2 r58096 merged revision(s) 57762.
- 04:14 PM Revision 9f853b2e (git): merge revision(s) 57762: [Backport #13267]
- broken mingw
* configure.in: check whether frexp and modf are broken.
* include/ruby/win32.h (frexp, modf): ignore bad declarations when
compiling as C++. [ruby-core:79859] [Bug #13267]
git-svn-id: svn+ssh:/... -
04:13 PM Bug #13205: Backport r57589 (parallel.rb: fix intervention)
- ruby_2_2 r58095 merged revision(s) 57589.
- 04:13 PM Revision 2d5eca7f (git): merge revision(s) 57589: [Backport #13205]
- parallel.rb: fix intervention
* test/lib/test/unit/parallel.rb (_report): send a response and a
newline atomically, to get rid of intervention with "p" which
runs in a separate thread.
git-svn-id: svn+ssh://... -
04:03 PM Bug #13158: UNIXServer#closed? returns false after UNIXServer#close called
- ruby_2_2 r58094 merged revision(s) 57422.
- 04:03 PM Revision a48d1547 (git): merge revision(s) 57422: [Backport #13158]
- io.c: close before wait
* io.c (io_close_fptr): notify then close, and wait for other
threads before free fptr. [ruby-core:79262] [Bug #13158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58094 b2dd0... -
03:47 PM Bug #13076: SEGV in io.c when reading closed stream in Thread
- ruby_2_2 r58093 merged revision(s) 57199,57202,57206,57224.
- 03:47 PM Revision 8a14ed3d (git): merge revision(s) 57199,57202,57206,57224: [Backport #13076]
- io.c: fix race between read and close
* io.c (io_fillbuf): fix race between read and close, in the case
the IO gets closed before the reading thread achieve the lock.
[ruby-core:78845] [Bug #13076]
th... -
03:39 PM Bug #12884: Using a HashWithIndifferentAccess with a default value in a function with a keyword parameter converts it to a Hash.
- ruby_2_2 r58092 merged revision(s) 57360.
- 03:39 PM Revision d8b81e52 (git): merge revision(s) 57360: [Backport #12884]
- class.c: non-keyword hash class
* class.c (rb_extract_keywords): keep the class of non-keyword
elements hash as the original. [ruby-core:77813] [Bug #12884]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2... -
03:36 PM Bug #13119: String#scrub ignores the block if the string encoding is not ASCII-compatible
- ruby_2_2 r58091 merged revision(s) 57302,57303,57304.
- 03:36 PM Revision 8dc3d3fd (git): merge revision(s) 57302,57303,57304: [Backport #13119]
- string.c: block for scrub with ASCII-incompatible
* string.c (rb_enc_str_scrub): honor the given block with
ASCII-incompatible encoding. [ruby-core:79039] [Bug #13120]
string.c: yield invalid part
* s... -
03:30 PM Bug #12613: iseq_set_sequence: adjust bug -1 < 0 (retry inside begin/rescue)
- ruby_2_2 r58090 merged revision(s) 57368.
- 03:30 PM Revision a0f4f436 (git): merge revision(s) 57368: [Backport #12613]
- compile.c: check err_info
* compile.c (iseq_setup): bail out if any errors found.
[ruby-core:76531] [Bug #12613]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:26 PM Feature #13303: String#any? as !String#empty?
- My vote for is for not needed, with second choice of `not_empty?`.
1) neg - I don't believe it's always necessary to have pairs of logical attributes/properties, as it certainly clutters up the namespace.
2) pos - Ruby already supp... -
03:19 PM Bug #13089: r57227 の変更ではリークが起きるようです
- ruby_2_2 r58089 merged revision(s) 57236.
- 03:19 PM Revision d53acd85 (git): merge revision(s) 57236: [Backport #13089]
- rational.c: memory leak in gcd
* rational.c (rb_gcd_gmp): fix memory leak. patched by KISHIMOTO,
Makoto <ksmakoto AT dd.iij4u.or.jp> in [ruby-dev:49934].
[Bug #13089]
git-svn-id: svn+ssh://ci.ruby-lang.org/... -
03:16 PM Bug #13075: String#unpack with block / String#unpack1 exposes uninitialized memory
- ruby_2_2 r58088 merged revision(s) 57187,57234.
- 03:16 PM Revision c7405500 (git): merge revision(s) 57187,57234: [Backport #13075]
- pack.c: avoid returning uninitialized String
Fix unpacking with 'b', 'B', 'h' and 'H' format. Do not return an
uninitialized String to Ruby before filling the content bytes.
Fixes r11175 ("pack.c (pack_unpack): e... -
03:09 PM Bug #13012: irb fails to define a method with a reserved-word-ish keyword argument
- ruby_2_2 r58086 merged revision(s) 57027.
- 03:09 PM Revision 989532c5 (git): * 2017-03-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:09 PM Revision e58af076 (git): merge revision(s) 57027: [Backport #13012]
- ruby-lex.rb: fix for label
* lib/irb/ruby-lex.rb (identify_identifier): treat identifier just
followed by a colon as a lable. this is not a precise solution
but enough for the time being. [ruby-core:78526] ... -
02:43 PM Bug #12478: ruby2.2.5でオブジェクトに対して def_delegatorを行うとNoMethodError undefined method `method_defined?' が発生する。
- ruby_2_2 r58085 merged revision(s) 53383,55366.
- 02:43 PM Revision a14ba6e3 (git): merge revision(s) 53383,55366: [Backport #12478]
- * lib/forwardable.rb (def_instance_delegator): adjust backtrace of
method body by tail call optimization. adjusting the delegated
target is still done by deleting backtrace.
* lib/forwardable.rb (def_single_... -
07:46 AM Bug #13361 (Closed): Can't build Ruby trunk with i386 arch on macOS 10.12
- Applied in changeset trunk|r58084.
----------
configure.in: syscall is deprecated on macOS
* configure.in: syscall is no longer supported on macOS since
10.12. [ruby-core:80300] [Bug #13361] -
03:31 AM Bug #13361: Can't build Ruby trunk with i386 arch on macOS 10.12
- I succeeded to build i386 on my macOS with your patch.
Thank you, nobu !
-
07:46 AM Revision cd80709c (git): configure.in: syscall is deprecated on macOS
- * configure.in: syscall is no longer supported on macOS since
10.12. [ruby-core:80300] [Bug #13361]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:23 AM Bug #13236 (Closed): Ruby segfault
- Applied in changeset trunk|r58083.
----------
class.c: prohibit refinement module
* class.c (ensure_includable): cannot include refinement
module, or the type and the class do not match.
[ruby-core:79632] [Bug #13236] -
02:11 AM Bug #13236 (Assigned): Ruby segfault
- Thank you, reduced code with `GC.stress` could reproduce it.
```ruby
module M
include refine(String) {def test;:ok end}
end
class C
include M
end
GC.stress = true
C.new("foo").test
```
But I wonder if it is possible to... -
03:23 AM Revision 217f599a (git): class.c: prohibit refinement module
- * class.c (ensure_includable): cannot include refinement
module, or the type and the class do not match.
[ruby-core:79632] [Bug #13236]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:57 AM Revision 19a1f703 (git): class.c: ensure_includable
- * class.c (ensure_includable): extract checks to include and
prepend.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:44 AM Bug #13363 (Closed): Backport ripper location fix
- r58080 fixed a bug of line number after an unterminated string literal, which affected `Ripper.lex`.
- 01:07 AM Revision 0d0eefd9 (git): * 2017-03-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:07 AM Revision e5600caf (git): keep line number after unterminated string literal
- * parse.y (parser_parse_string): keep line number even after an
unterminated string literal. it does not matter in the parser,
ripper needs this value after this error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58080 b2dd03...
03/24/2017
-
11:38 PM Bug #13236: Ruby segfault
- nobu (Nobuyoshi Nakada) wrote:
> Could you enable debugging?
So I *think* I have managed to bisect the segfault. When I comment a specific test I never see the segfault, but when I uncomment it I get (sometimes) the segfault. The tes... -
11:30 PM Bug #13358: OpenStruct overriding allocate
- Eregon (Benoit Daloze) wrote:
> But not only, after all it is a public and well-known method (many hits on GitHub code search).
> ...
Methods of constructed objects will be used more than construction usually.
> but also various lib... -
04:48 PM Bug #13358: OpenStruct overriding allocate
- nobu (Nobuyoshi Nakada) wrote:
> For what purpose?
> ...
But not only, after all it is a public and well-known method (many hits on GitHub code search).
Many deserializing libraries will use it,
but also various libraries which need ... -
02:01 PM Bug #13358: OpenStruct overriding allocate
- Eregon (Benoit Daloze) wrote:
> Lots of Ruby code calls Class#allocate.
> ...
For what purpose?
It should be used by `Class#new`, `Kernel#dup`, `Kernel#clone`, and `Marshal.load`.
> Why another patch? It seems more hacky and less p... -
01:11 PM Bug #13358: OpenStruct overriding allocate
- nobu (Nobuyoshi Nakada) wrote:
> Note that `OpenStruct.allocate` is intended to be used by only psych.
> ...
Lots of Ruby code calls Class#allocate.
Of course, #initialize should be called directly after or some other way to initializ... -
12:16 PM Bug #13358 (Closed): OpenStruct overriding allocate
- Applied in changeset r58077.
----------
ostruct.rb: fix OpenStruct.allocate
* lib/ostruct.rb (OpenStruct.allocate): initialize an instance
variable directly, without calling `intialize` method which may
be overridden in a subclass.... -
08:14 AM Bug #13358: OpenStruct overriding allocate
- Note that `OpenStruct.allocate` is intended to be used by only psych.
Not only `OpenStruct`, `Class#allocate` is not intended to be called directly. -
06:20 PM Feature #13303: String#any? as !String#empty?
- mame (Yusuke Endoh) wrote:
> if h and h["value"].present?
I think `foo.present?` semantically should be the same as `!foo.nil?` ("is the object present?" = "does the object exist?"), which probably wouldn't make much sense as a m... -
03:14 PM Feature #13303: String#any? as !String#empty?
- duerst (Martin Dürst) wrote:
> [].any? is always true.
No, it is always false. I agree that `String#any?` is a bad name for the behavior, anyway.
I think that what Naruse-san really wants is, still, `Object#present?`.
if h... -
12:47 PM Feature #13303: String#any? as !String#empty?
- Maybe String#filled? or String#filled_in? ?
-
08:46 AM Feature #13303: String#any? as !String#empty?
- `any?` would definitely be the wrong name, because for Arrays, [].any? is always true.
Of the names proposed so far, I think `not_empty?` looks best. An alternative may be `unempty?`, but that may sound decidedly unenglish :-). Anothe... -
08:18 AM Feature #13303: String#any? as !String#empty?
- matz (Yukihiro Matsumoto) wrote:
> Use-case?
For example https://github.com/ruby/ruby/commit/0256fa889039295742448ad72634fec4ea638684#diff-9199d649a7165e719f0209c3c789f1bbR482
> ...
-
02:30 PM Bug #13361 (Feedback): Can't build Ruby trunk with i386 arch on macOS 10.12
- Does this work?
```diff
diff --git a/configure.in b/configure.in
index 1cec2e33ac..dcd56ba2f7 100644
--- a/configure.in
+++ b/configure.in
@@ -1100,6 +1100,12 @@ AS_CASE(["$target_os"],
],
[macosx_10_5=yes], [maco... -
09:24 AM Bug #13361: Can't build Ruby trunk with i386 arch on macOS 10.12
- The build error is occurred on i386 only.
-
07:07 AM Bug #13361: Can't build Ruby trunk with i386 arch on macOS 10.12
- Only i386 but not x86_64?
-
02:18 AM Bug #13361 (Closed): Can't build Ruby trunk with i386 arch on macOS 10.12
- Ruby uses deprecated function and it causes build error.
Here is reproduce operation.
~~~
$ svn co http://svn.ruby-lang.org/repos/ruby/trunk ruby
$ cd ruby
$ autoconf
$ ./configure --with-arch=i386
$ make
CC = clang
LD = ld
... -
02:06 PM Revision 33334546 (git): merge revision(s) 58078:
- export_changelog must specify the branch's url
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@58079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:05 PM Revision 8d1dacb2 (git): export_changelog must specify the branch's url
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:16 PM Revision cd911b93 (git): ostruct.rb: fix OpenStruct.allocate
- * lib/ostruct.rb (OpenStruct.allocate): initialize an instance
variable directly, without calling `intialize` method which may
be overridden in a subclass. [ruby-core:80292] [Bug #13358]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
10:39 AM Bug #13360 (Closed): MinGW svn 58071 Build broken! Appears unicode related...
- MSP-Greg (Greg L) wrote:
> Please close.
Done. -
03:53 AM Bug #13360: MinGW svn 58071 Build broken! Appears unicode related...
- Note to self - always check appveyor and travis files
make touch-unicode-files
Please close. -
12:46 AM Bug #13360 (Closed): MinGW svn 58071 Build broken! Appears unicode related...
- As mentioned previously, I've been building and using trunk for several months. Last build I did that was fine was 2017-03-22 svn 58055.
Today, I tried svn 58071, and it stopped before completing a build for both i686 and x86_64. I ... - 07:29 AM Revision 7142f5b5 (git): logger: remove redundant opt_str_freeze use
- Strings in "when" statements are allocation-free, so there's
never any reason to uglify the code to use opt_str_freeze over
the normal putobject instructions, here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58076 b2dd03c8-39d4-4... -
05:51 AM Feature #13362 (Closed): [PATCH] socket: avoid fcntl for read/write_nonblock on Linux
- On platforms where MSG_DONTWAIT works reliably on all sockets
(so far, I know of Linux), we can avoid fcntl syscalls and
implement IO#write_nonblock and IO#read_nonblock in terms of the
socket-specific send and recv family of syscalls... -
04:37 AM Revision 7cdf09ca (git): Do not update Unicode headers
- * common.mk (name2ctype.h, casefold.h): use as checked out unless
ALWAYS_UPDATE_UNICODE=yes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:42 AM Revision cf94bb9a (git): Don't download from Unicode.org
- * tool/make-snapshot: use checked out headers for Unicode, to get
rid of downloading data files from Unicode.org.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:44 AM Revision f5e26594 (git): common.mk: touch-unicode-files
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:10 AM Revision 489c1e33 (git): Make Unicode data directory
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:37 AM Bug #13062: 2.4.0-rc1 BigDecimal regression - to_d inconsistent with other numeric classes
- 1.3.1 still had the problem, but 1.3.2 worked, thanks! It would still be nice if this was ported over to 2.4.x
-
12:27 AM Bug #13062: 2.4.0-rc1 BigDecimal regression - to_d inconsistent with other numeric classes
- You can install and use bigdecimal-1.3.1 via standalone gem with Ruby 2.4
03/23/2017
-
11:55 PM Revision 96069e95 (git): Don't download from Unicode.org
- * .travis.yml, appveyor.yml: use checked out headers for Unicode,
to get rid of downloading data files from Unicode.org.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:52 PM Bug #13359 (Third Party's Issue): ruby-2.4.1/bin/ruby_executable_hooks: [BUG] Segmentation fault at 0x00000000000000
- Seems a pg gem's issue.
-
03:50 PM Bug #13359 (Third Party's Issue): ruby-2.4.1/bin/ruby_executable_hooks: [BUG] Segmentation fault at 0x00000000000000
- crashed after rspec spec
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16] -
08:32 PM Feature #13303: String#any? as !String#empty?
- Actually the name .nonempty? is easier to understand than .any? in this
context, or non-empty strings.
I think the only problem is that "nonempty" reads very ... strangely.
I can not come up with a good name either though.
~~~ ... -
03:55 PM Revision e1e5857c (git): enc-unicode.rb: fix version matching
- * tool/enc-unicode.rb (data_foreach): version comments do not
include sub directory names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:49 PM Revision 81ab4132 (git): fix GraphemeBreakProperty.txt
- * tool/downloader.rb: download to the file given in ARGV.
* tool/enc-unicode.rb (parse_GraphemeBreakProperty): fix data file
path as $(UNICODE_PROPERTY_FILES) in common.mk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58069 b2dd... - 03:47 PM Revision de418173 (git): * 2017-03-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:47 PM Revision a7b8741e (git): common.mk: updating name2ctype.h
- * common.mk (name2ctype.h): update if ALWAYS_UPDATE_UNICODE = yes,
as well as casefold.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:27 PM Bug #13358: OpenStruct overriding allocate
- I agree making OpenStruct.allocate an alias of Class#new is not a great idea and easily problematic.
We had a problem due to this in TruffleRuby (now fixed by renaming all our internal allocate methods).
The fix we came up with seems... -
01:15 PM Bug #13358 (Closed): OpenStruct overriding allocate
- In https://github.com/ruby/ruby/commit/15960b37e82ba60455c480b1c23e1567255d3e05 OpenStruct gained
~~~ruby
class << self # :nodoc:
alias allocate new
end
~~~
Which is rather severely conflicting with expected behavior as... -
11:08 AM Bug #13357 (Closed): Improve Time#+ & Time#- performance
- Improve Time#+ & Time#- performance
Time#+ & Time#- will be faster around 15%.
If internal values would have Fixnum,
optimized function improves performance.
### Before
~~~
user system total real
T... -
08:28 AM Feature #13355 (Closed): [PATCH] compile.c: optimize literal String range in case/when dispatch
- This seems obvious, and manages to pass existing tests.
Earlier, I found myself writing code like:
case RUBY_VERSION
when '2.0.0',
'2.1.0'..'2.1.9',
'2.2.0'..'2.2.6',
'2.3.0'..'2.3.3',
... -
07:59 AM Revision d77214e8 (git): enc-unicode.rb: ifdef blocks
- * tool/enc-unicode.rb (Unifdef#ifdef): enclose conditional blocks
in blocks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:59 AM Revision 8083a359 (git): enc-unicode.rb: uniname2ctype_offset
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:53 AM Revision 12b80586 (git): update name2ctype.h
- * enc/unicode/9.0.0/name2ctype.h: update due to merger of Onigmo
6.0.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:44 AM Bug #13062: 2.4.0-rc1 BigDecimal regression - to_d inconsistent with other numeric classes
- I can reproduce this in 2.4.1. Is this going to be fixed in 2.4.2? This is a significant issue that makes it hard to upgrade to Ruby 2.4.
-
04:38 AM Bug #13286: Segfault when using rb_debug_inspector_open / rb_debug_inspector_frame_binding_get with Fiddle, but not when directly from C extension
- Here's a link to a c-library extension that has been working great for us:
https://github.com/shreeve/bindings
-
02:00 AM Bug #13222: Array#sum inconsistency when init value is non-numeric
- I confirmed this behavior appears not only 2.5.0dev but also 2.4.x.
~~~
$ docker run ruby:2.4.1 ruby -e "p [0].sum('a')"
"a"
~~~
~~~
$ docker run ruby:2.4.0 ruby -e "p [0].sum('a')"
"a"
~~~
Should we backport the patch? -
12:49 AM Bug #13352: RegExp infinite looping
- Thank' to @naruse
> https://regex101.com/
Your's workaround is fine.
It OK that "Somewhere in my regular expression was bad".
The RegExp include "Catastrophic backtracking".
A similar regular expression does not fall into an...
03/22/2017
-
08:23 PM Bug #13306 (Closed): [DOC] rdoc for IO#puts
- Applied in changeset r58062.
----------
io.c: [DOC] expand docs for IO#puts
[ruby-core:80081] [Bug #13306] - 08:23 PM Revision df97d4e7 (git): * 2017-03-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:23 PM Revision 5f5f648c (git): io.c: [DOC] expand docs for IO#puts
- [ruby-core:80081] [Bug #13306]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:17 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
- Noticed after Ruby 2.4.1 upgrade today (Wed 2017.03.22) performance is generally a bit slower.
-
03:55 PM Bug #13354 (Closed): Improve Time#<=> performance
- Time#<=> will be faster around 60%.
If internal values would have Fixnum,
optimized function improves performance.
(https://github.com/ruby/ruby/blob/9b69e9fafc329aaa540d5adeb55124f020abfe3c/time.c#L57-L67)
### Before
~~~
... -
02:26 PM Bug #13253: SIGSEGV in parser_heredoc_dedent()
- ruby_2_3 r58061 merged revision(s) 56020,57717.
-
02:26 PM Revision ddd7dd0f (git): merge revision(s) 56020,57717: [Backport #13253]
- parse.y: heredoc token
* parse.y (parser_heredoc_identifier): gather branches by quote
char.
parse.y: indent at invalid identifier
* parse.y (parser_heredoc_identifier): set indent only when valid
... -
02:13 PM Bug #13242: SIGSEGV in rb_bigzero_p()
- ruby_2_3 r58060 merged revision(s) 57688,57689.
-
02:13 PM Revision 10e0fc1b (git): merge revision(s) 57688,57689: [Backport #13242]
- rational.c: infinity in power
* rational.c (nurat_expt): return Infinity due to overflow.
[ruby-core:79686] [Bug #13242]:
rational.c: infinity in power
* rational.c (nurat_expt): return 0 due to overfl... -
02:06 PM Revision 028bd4ae (git): stringio.gemspec: requires ruby 2.2
- * ext/stringio/stringio.gemspec: bump up required ruby version to
2.2, which exports rb_get_kwargs() first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 PM Bug #13076: SEGV in io.c when reading closed stream in Thread
- ruby_2_3 r58058 merged revision(s) 57199,57202,57206,57224.
-
02:01 PM Revision b866e34f (git): merge revision(s) 57199,57202,57206,57224: [Backport #13076]
- io.c: fix race between read and close
* io.c (io_fillbuf): fix race between read and close, in the case
the IO gets closed before the reading thread achieve the lock.
[ruby-core:78845] [Bug #13076]
th... -
01:55 PM Revision 0130bb01 (git): stringio.c: RB_INTEGER_TYPE_P
- * ext/stringio/stringio.c (RB_INTEGER_TYPE_P): fallback definition
for 2.3 or earlier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:46 PM Bug #13015: Segfault when using super and underscore parameters
- ruby_2_3 r58056 merged revision(s) 57024.
-
01:46 PM Revision 4e1f1ec1 (git): merge revision(s) 57024: [Backport #13015]
- vm.c: check type of hash to merge
* vm.c (core_hash_merge): check the type of the target hash to
merge. [ruby-core:78536] [Bug #13015]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@58056 b2dd03c8-39d4... -
01:27 PM Bug #13352 (Rejected): RegExp infinite looping
- 323字目の * を削ってください。
```
(?=\W)\W?(?:(?:(?:\/\*<)?[\'\"]?([\w_\$]+)[\'\"]?(?:>\*\/\s+this)?|(this))\.(\$scope|json)|([\'\"](?:\$scope|json)[\'\"]))((\.)(inputObjects)|(\.)(spreadSheets)(?:\.[\'\"]?([^\.\'\"\|\s,]+)[\'\"]?|\[[\'\"]?((?:... -
10:55 AM Bug #13352: RegExp infinite looping
- I haven't yet had time to analyze the regular expression in detail. Are you sure this is really an infinite loop, and not just a case of exponentially slow processing (e.g. similar to stackoverflow.com/questions/16580665/node-js-regex-en...
-
05:36 AM Bug #13352: RegExp infinite looping
- 正規表現ライブラリの共通的な問題かもしれないが、皆さんの影響力を行使して、改善されることを希望します。
少なくともrexEx.compileでは、与えた正規表現の不正を摘出して欲しいと思います。 -
05:32 AM Bug #13352 (Rejected): RegExp infinite looping
- ruby entered an infinite loop with the following three steps.
~~~ ruby
r = /(?=\W)\W?(?:(?:(?:\/\*<)?[\'\"]?([\w_\$]+)[\'\"]?(?:>\*\/\s+this)?|(this))\.(\$scope|json)|([\'\"](?:\$scope|json)[\'\"]))((\.)(inputObjects)|(\.)(spreadShee... -
12:27 PM Revision eaf4f2ec (git): Use https URL instead of http URL
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:22 AM Bug #13347 (Feedback): bug in the Ruby interpreter or extension libraries when using rails s
-
10:21 AM Bug #13347 (Rejected): bug in the Ruby interpreter or extension libraries when using rails s
-
12:49 AM Bug #13347 (Feedback): bug in the Ruby interpreter or extension libraries when using rails s
- Please show us the full console log since the Control-C. The parts shown in the screenshot does not seem to include any problem.
-
10:21 AM Bug #13345 (Rejected): bug in the Ruby interpreter or extension libraries
-
10:21 AM Bug #13346 (Rejected): bug in the Ruby interpreter or extension libraries
-
06:15 AM Bug #13353 (Closed): Backport stringio fixes
-
06:14 AM Bug #13353 (Closed): Backport stringio fixes
- Backport r58040 and r58041.
-
06:00 AM Revision 20c72dc8 (git): ruby tool/update-deps --fix
- Onigumo 6 (r57045) introduced new onigumo.h header file, which is
required from quite much everywhere. This commit adds necessary
dependencies.
Note: ruby/oniguruma.h now includes onigumo.h,
ruby/io.h includes oniguruma.h,
... -
05:54 AM Revision 7e811007 (git): merge revision(s) 58040,58041:
- stringio.c: check character code
* ext/stringio/stringio.c (strio_ungetc): check if the character
code is valid in the encoding. reported by Ahmad Sherif
(ahmadsherif) at https://hackerone.com/reports/209593... -
05:42 AM Bug #13349: Ruby unable to open files in /dev on AIX if compiled on AIX 7.1 or later
- That's AIX's bug. Please contact the vendor and fix your OS.
-
03:29 AM Bug #13349 (Feedback): Ruby unable to open files in /dev on AIX if compiled on AIX 7.1 or later
- It is rather AIX-specific issue.
`O_CLOEXEC` is defined on BSDs and mac OS, and `O_NOINHERIT` is defined on Windows.
So your patch is not acceptable as-is.
And do operations on regular files (not device files) succeed?
If so, it sh... - 01:58 AM Revision 6969f355 (git): * 2017-03-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:58 AM Revision 120dfdd5 (git): gemify stringio
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/21/2017
-
09:44 PM Feature #12921: Retrieve user and password for proxy from env
- If the user write a code this is also a user's problem. Programming language should be able to solve problems easily. Isn't it?
Monkey-patching is not a solution. -
09:02 PM Feature #12921: Retrieve user and password for proxy from env
- If the user wants to set its password inside a env variable, it is the user's problem. It is the widely used way to use it.
For those that need a quick fix:
~~~ ruby
class Net::HTTP
def proxy_user
if @proxy... -
08:46 PM Bug #13351 (Closed): net/http: Net::HTTP.start sets wrong default arg value
- Hello,
`start` is defined as:
~~~ruby
def HTTP.start(address, *arg, &block) # :yield: +http+
arg.pop if opt = Hash.try_convert(arg[-1])
port, p_addr, p_port, p_user, p_pass = *arg
port = https_default_port... -
04:39 PM Feature #13263: Add companion integer nth-root method to recent Integer#isqrt
- FYI for general interest and curiosity.
In Ruby 2.4.0 the 3 implementations below of Newton's general nth-root method all produce
correct results, using an initial root value that's 1-bit larger than the actual value.
Using **benc... -
04:28 PM Bug #13350 (Closed): File.read :newline option not respected on Linux
- ## Reproducable in irb
All examples run with:
`
Encoding.default_external = 'utf-8'
Encoding.default_internal = nil
`
### on Linux (unexpected behavior)
Prepare a file with CRLF newline characters
`
File.write("crlf.txt"... -
04:22 PM Revision 93e44f88 (git): Bump up version to 2.4.1
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@58047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:24 PM Bug #13349: Ruby unable to open files in /dev on AIX if compiled on AIX 7.1 or later
- Clarified that the supplied patch applies to ruby-2.0.0p468
-
03:20 PM Bug #13349: Ruby unable to open files in /dev on AIX if compiled on AIX 7.1 or later
- fixed syntax
-
02:18 PM Bug #13349 (Closed): Ruby unable to open files in /dev on AIX if compiled on AIX 7.1 or later
- In io.c there are 2 Linux specific flags (`O_CLOEXEC` and `O_NOINHERIT`) which are set regardless of the operating system it is compiled on.
Since AIX 7.1 /usr/include/fcntl.h defines `O_CLOEXEC` with the following statement:
~~~ c... -
02:12 PM Bug #13339: Assertion Failed: string.c:2061:rb_str_change_terminator_length:capa >= len
- ruby_2_4 r58046 merged revision(s) 58042.
-
05:28 AM Bug #13339 (Closed): Assertion Failed: string.c:2061:rb_str_change_terminator_length:capa >= len
- Applied in changeset r58042.
----------
string.c: use the usable size
* string.c (rb_str_change_terminator_length): when called after
the content has been copied, old terminator length no longer
makes sense. use the whole usable s... -
02:11 PM Revision 3cdf4f05 (git): merge revision(s) 58042: [Backport #13339]
- string.c: use the usable size
* string.c (rb_str_change_terminator_length): when called after
the content has been copied, old terminator length no longer
makes sense. use the whole usable size instead of ca... -
02:05 PM Bug #12705: yielding args to a lambda uses block/proc rather than lambda/method semantics
- ruby_2_4 r58045 merged revision(s) 57192,57464,58016,58018,58019.
-
02:04 PM Revision 539ab305 (git): merge revision(s) 57192,57464,58016,58018,58019: [Backport #12705]
- [Bug #12705]
add a ticket number.
test_lambda.rb: refine test
* test/ruby/test_lambda.rb (test_lambda_as_iterator): refine a
test for the intention of the original report.
[ruby-core:61340] [... -
01:46 PM Bug #13348 (Closed): win32/README.win32 のアイコンがリンク切れ
- @nifty の @homepage サービスが終了した影響で、win32/README.win32 に書いてある
```
* ((<URL:http://homepage1.nifty.com/a_nakata/ruby/>)) or
((<icon itself|URL:http://homepage1.nifty.com/a_nakata/ruby/RubyIcon.ico>))
```
がリンク切れになってしまっているようです。 -
08:03 AM Revision 6411b4a4 (git): Download Unicode data by appveyor [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:48 AM Bug #13347 (Closed): bug in the Ruby interpreter or extension libraries when using rails s
- when using rails s that time server was starting completely but when i was check the localhost for my application and click on any menu tab manu fewer time display and then connection was lost.
=> Booting Puma
=> Rails 5.0.2 applica... -
07:23 AM Bug #13346 (Rejected): bug in the Ruby interpreter or extension libraries
- bug in the Ruby interpreter or extension libraries
please give me proper command to solve this issue -
07:21 AM Bug #13345 (Rejected): bug in the Ruby interpreter or extension libraries
- bug in the Ruby interpreter or extension libraries
-
07:19 AM Revision 3805c444 (git): tool/downloader.rb: dryrun option [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:28 AM Revision f0e6e479 (git): string.c: use the usable size
- * string.c (rb_str_change_terminator_length): when called after
the content has been copied, old terminator length no longer
makes sense. use the whole usable size instead of capacity
without terminator. [ruby-core:80257] [Bug #1... -
05:23 AM Misc #13329: Creating a German ruby mailinglist on ruby-lang.org?
- I'm ready to help out managing the new list if this helps with it's creation.
The existence of ruby-fr is an interesting precedent, but I'd like to note that http://lists.ruby-lang.org/pipermail/ruby-fr/ says: "No messages have been p... -
04:24 AM Feature #13333: block to yield
- Out of curiosity: What's the use case(s)?
-
03:15 AM Revision c8d66b5d (git): stringio.c: check range
- * ext/stringio/stringio.c (strio_ungetc): raise RangeError instead
of TypeError at too big value, as well as IO#ungetc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:15 AM Revision 853ab866 (git): stringio.c: check character code
- * ext/stringio/stringio.c (strio_ungetc): check if the character
code is valid in the encoding. reported by Ahmad Sherif
(ahmadsherif) at https://hackerone.com/reports/209593.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58040... -
03:00 AM Bug #13344 (Closed): Improve performance of Array#sort with block
- Array#sort with block will be ~10% faster.
Seems that a performance was reduced at
https://github.com/ruby/ruby/blob/976becf7eb18aa1592c703ac4d86a2cf9dfa701e/vm_eval.c#L1042-L1046
So by this patch, a small argument will be given direc... -
12:49 AM Bug #13343 (Closed): Improve Hash#merge performance
- Hash#merge will be faster around 60%.
### Before
~~~
user system total real
Hash#merge 0.160000 0.020000 0.180000 ( 0.182357)
~~~
### After
~~~
user system tot... -
12:47 AM Feature #13342 (Open): Improve yielding block performance
- The yielding block will be faster around 9%.
This patch ensures that expand to inline codes in where invoke yielding block.
### Environment
* macOS 10.12.3
* clang 8.0.0 in Xcode 8.2
### Before
~~~
user ... -
12:45 AM Bug #13341 (Closed): Improve performance of implicit type conversion
- At least, Array#flatten will be faster around 20%.
Seems that strncmp() & strcmp() in convert_type() are slightly heavy to look up the method's id for type conversion.
(https://github.com/ruby/ruby/blob/4f2db15b42d7b8eb5b304a92ba229663... -
12:42 AM Bug #13340 (Closed): Improve performance of Array#sort with float elements
- Array#sort with float elements will be over 2 times faster.
### Before
~~~
user system total real
5.650000 0.020000 5.670000 ( 5.661151)
~~~
### After
~~~
user system total ... -
12:14 AM Bug #13338: MinGW SEGV in test/ruby/test_keyword.rb svn 58034, ok in svn 58021.
- I recently changed my build system from a dual core notebook to a quad core desktop. On the notebook, I never recall a SEGV that occurred in test-all that did not occur in the test pulled from the framework. On my desktop, I changed th...
-
12:11 AM Revision d3cd2e61 (git): link to README.win32 instead of mentioning it in plain text
- [Fix GH-1538][ci skip]
Author: Rouan Wilsenach <Rouan.Wilsenach@tesglobal.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/20/2017
-
08:30 PM Bug #10944 (Closed): Documentation of Array.new w.r.t. element index available to a block
- Applied in changeset r58037.
----------
docs for creating arrays
* array.c: [DOC] add example for Array.new with block and index.
Reported by Don Cruickshank. [ruby-core:68442] [Bug #10944] -
08:17 PM Bug #10944: Documentation of Array.new w.r.t. element index available to a block
- Although it's already documented in Array.new, an additional example in the class documentation cannot hurt; so I'll add one.
- 08:30 PM Revision d6a197ca (git): * 2017-03-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:30 PM Revision 56abb1cd (git): docs for creating arrays
- * array.c: [DOC] add example for Array.new with block and index.
Reported by Don Cruickshank. [ruby-core:68442] [Bug #10944]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:28 PM Bug #13339 (Closed): Assertion Failed: string.c:2061:rb_str_change_terminator_length:capa >= len
- This makes ruby 2.4.0 crash on my system (log attached):
```ruby
('a' * 23).encode('utf-16').encode!('utf-8')
```
If you change the length of the string (from 23 to 22 or 24), everything's fine. -
07:42 PM Bug #13338 (Closed): MinGW SEGV in test/ruby/test_keyword.rb svn 58034, ok in svn 58021.
- In a MinGW / MSYS2 64 bit build, the following line generates a SEGV in svn 58034 [test/ruby/test_keyword.rb:L373](https://github.com/ruby/ruby/blob/57d6dd5a461202f9824c3d1b8d3e5304aca2d21c/test/ruby/test_keyword.rb#L373). With 373 comm...
-
07:30 PM Bug #13321: String#codepoints for one-byte encodings
- Thanks!
-
06:36 PM Bug #13337 (Closed): Eval and Later Defined Local Variables
- I've noticed the following behavior with eval:
~~~ ruby
def example
eval("foo") # => nil, but would expect a NameError
eval("bar") # => NameError
foo = 1
end
~~~
I'm assuming this behavior is expected, since "eval" exec... -
05:34 PM Bug #13336 (Closed): Default Parameters don't work
- ```ruby
def funny(a = true, b: nil)
p a
end
funny([1,2,3]) # => [1,2,3]
funny({k:1}) # => in `funny': unknown keyword: k (ArgumentError)
``` -
12:26 PM Bug #12405: Queue doesn't work inside of trap
- ruby_2_3 r58036 merged revision(s) 57477,57478,57479.
-
12:26 PM Revision e120cc91 (git): merge revision(s) 57477,57478,57479: [Backport #12405]
- use TRUE/FALSE.
define rb_thread_sleep_deadly_allow_spurious_wakeup().
* thread.c, thread_sync.c: define new function
rb_thread_sleep_deadly_allow_spurious_wakeup() and use it instead of
using sleep_... -
11:45 AM Bug #13326: Forwarding methods to :method_missing produces a warning
- Ah, hadn't known about `respond_to_missing?`, thanks for the advise.
-
07:07 AM Feature #13335 (Closed): Gemify mathn
- Applied in changeset r58035.
----------
Added initial gemspec for mathn.
[Feature #13335] -
07:05 AM Feature #13335 (Closed): Gemify mathn
- mathn is deprecated [Feature #10169] from 2 years ago.
We should extract from stdlib at Ruby 2.5.0. -
07:07 AM Revision 719262ee (git): Added initial gemspec for mathn.
- [Feature #13335]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:07 AM Feature #10169 (Assigned): It might be better to make Mathn class deprecated
-
07:06 AM Feature #13334 (Assigned): Removed deprecated mathn extentions.
-
06:57 AM Feature #13334 (Closed): Removed deprecated mathn extentions.
- `mathn/complex` and `mathn/rational` is deprecated from 2008. We should remove it before Ruby 3.0 release.
https://github.com/ruby/ruby/pull/1542/files
-
04:53 AM Feature #13333 (Open): block to yield
- Currently, blocks can take a block by `do |&block| end` construct.
But the only way to pass a block or a bloc argument is making a `Proc` and calling `Proc#call` with a blockarg.
I think `yield` should take a block or a block argument ... -
01:36 AM Revision 57d6dd5a (git): Avoid integer overflow in sprintf()
- merged https://github.com/mruby/mruby/commit/ff03a9a61c62340cff62f8e0fdc1a1e8775b6f17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:33 AM Revision f31bb33a (git): sprintf.c: string limits
- * sprintf.c (ruby__sfvwrite): use long instead of size_t due to
string limits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e