Activity
From 05/29/2014 to 06/04/2014
06/04/2014
-
07:51 PM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
- KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> So, I'd suggest two phase action.
>
> 1. Commit your patch, but disable by default.
OK, r46349
> 2. Gather more use-case and performance data.
> Note: They should be re... - 07:34 PM Revision 045aef85 (git): * 2014-06-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:34 PM Revision 22d8480e (git): configure.in: add --with-jemalloc option
- * configure.in: add --with-jemalloc option
[ruby-core:62912]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:47 PM Bug #9709: Large string causes SEGV with x64-mingw32
- It's not a security issue but affects other platforms.
You need to make a 1GiB string on 32-bit platforms or on Windows, and a 4EiB string on other 64-bit platforms. -
02:49 PM Bug #9709: Large string causes SEGV with x64-mingw32
- Hi,
I'm seeking explanation if this [security issue] only applies to mingw, and if so, why, as the same code appears to run on other platforms as well.
Thank you,
Christian
-
01:33 PM Revision 2f73dbd0 (git): * gc.c: introduce RZombie to manage zombie objects.
- Rewrite finalizing logics with this type.
* gc.c (gc_verify_internal_consistency): verify zombie (finalizing)
objects count.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:11 PM Revision b165f9b5 (git): fix typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:10 PM Bug #9903 (Closed): Regexp#[] doesn't consider capture name encoding
- Applied in changeset r46346.
----------
re.c: consider name encoding
* re.c (match_aref, rb_reg_regsub): consider encoding of captured
names, encoding-incompatible should not match.
[ruby-dev:48278] [Bug #9903] -
01:05 PM Bug #9903 (Closed): Regexp#[] doesn't consider capture name encoding
- Regexp#[]が引数の文字列やシンボルを考慮していません。
~~~ruby
key = "\xb1\xb2".force_encoding(Encoding::EUC_JP)
m = /(?<#{key}>.*)/.match("xxx")
p m[key.dup.force_encoding(Encoding::Shift_JIS)]
# => "xxx"
~~~ -
01:09 PM Revision 5861d4f1 (git): re.c: consider name encoding
- * re.c (match_aref, rb_reg_regsub): consider encoding of captured
names, encoding-incompatible should not match.
[ruby-dev:48278] [Bug #9903]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:33 PM Revision ea0e8e61 (git): re.c: reduce new strings
- * re.c (match_aref, rb_reg_regsub): reduce new strings creation
for exceptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:24 PM Bug #9902 (Closed): Regexp#[] ignores after NUL byte in named capture index
- Applied in changeset r46344.
----------
re.c: fix name with NUL
* re.c (match_aref): should not ignore name after NUL byte.
[ruby-dev:48275] [Bug #9902] -
12:12 PM Bug #9902 (Closed): Regexp#[] ignores after NUL byte in named capture index
- Regexp#[]に"\0"を含む文字列やシンボルを指定したとき、それ以降が無視されます。
~~~
$ ruby -w -e 'p(/(?<a>.*)/.match("foo")["a\0foo"])'
"foo"
$ ruby -w -e 'p Regexp.new("(?<foo\0bar>.*?)").match("xxx")["foo\0bar"]'
-e:1:in `[]': undefined group name reference: f... -
12:23 PM Revision 561fe110 (git): re.c: fix name with NUL
- * re.c (match_aref): should not ignore name after NUL byte.
[ruby-dev:48275] [Bug #9902]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:05 AM Bug #9901 (Closed): Clarify documentation for Array#insert
- The current documentation for Array#insert is misleading regarding negative indices. The attached patch clarifies the documentation.
-
06:37 AM Bug #9900 (Closed): Segmentation fault with recursive reference of a hash
- It may have been fixed already, but not sure because the link doesn't reveal the revision and the platform.
-
04:10 AM Bug #9900 (Closed): Segmentation fault with recursive reference of a hash
- The following code raises a segmentation fault.
Hash.new{|h,k| h[k]}[:foo]
# => [BUG] Segmentation fault at 0x007fff5f3fff80
This bug was found on stackoverflow http://stackoverflow.com/questions/24028557/irb-crash-segment... -
02:45 AM Feature #9892 (Closed): Contributing guide for github
- solved by r46312
-
02:44 AM Feature #9894 (Closed): [RFC] README.EXT: document rb_gc_register_mark_object
- duprecated #9893
06/03/2014
-
10:59 PM Feature #9852: How to bundle test-unit2 and minitest5
- I don't think we need to actually commit the gem files to SVN, but I think your patch is a good start.
We could have a manifest of the gems & versions we want to package and have that be part of the packaging and/or compiling step. Wi... -
10:34 PM Bug #9899 (Closed): Seg fault on Ruby 2.1.1 with newrelic_rpm
- A user of New Relic has reported seeing a seg fault using Ruby 2.1.1 with our agent. Given that newrelic_rpm is pure Ruby code, this seems likely to be a Ruby bug.
We haven't been able to reliably reproduce it yet, but the user report... -
07:13 PM Bug #9874 (Third Party's Issue): Segmentation fault when loading rails console or rails server
- Your `oj.bundle` extension library is linked against libruby.2.0.0.
~~~
4 libruby.2.1.0.dylib 0x000000010b4128c9 sigsegv + 153 (signal.c:638)
5 libsystem_platform.dylib 0x00007fff8de515aa _sigtramp + 26
6 ???... -
05:55 PM Bug #9874: Segmentation fault when loading rails console or rails server
- Attaching .crash file from ~/Library/Logs/DiagnosticReports. (this is the only directory that contained a related .crash file...)
-
07:08 PM Bug #9898 (Closed): Keyword argument oddities
- Applied in changeset r46342.
----------
vm.c: return the result hash
* vm.c (core_hash_merge_kwd): should return the result hash, which
may be converted from and differ from the given argument.
[ruby-core:62921] [Bug #9898] -
03:48 PM Bug #9898 (Closed): Keyword argument oddities
- Case 1: If a method takes a single argument, and the method is called with a keyword splat, the method receives the passed object, not the result of calling `#to_hash` on the object:
~~~ruby
# kw1.rb
def m(a) a end
o = Object.new
... - 07:08 PM Revision 161a0df7 (git): * 2014-06-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:08 PM Revision 140929d8 (git): vm.c: return the result hash
- * vm.c (core_hash_merge_kwd): should return the result hash, which
may be converted from and differ from the given argument.
[ruby-core:62921] [Bug #9898]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46342 b2dd03c8-39d4-4d8f-98... -
06:42 PM Bug #9897 (Feedback): Build fails for fiddle with libffi version 3.1
- Does this work?
~~~diff
diff --git a/ext/fiddle/extconf.rb b/ext/fiddle/extconf.rb
index 2190aa9..466d77e 100644
--- a/ext/fiddle/extconf.rb
+++ b/ext/fiddle/extconf.rb
@@ -7,7 +7,8 @@ dir_config 'libffi'
pkg_config("libffi")
... -
09:54 AM Bug #9897 (Closed): Build fails for fiddle with libffi version 3.1
- ext/fiddle/extconf.rb expects a 3-digit version string from the libffi pkg-config.
Latest libffi is version 3.1 and building of fiddle fails because version is only 2-digit. -
02:33 PM Revision fc3c52eb (git): + * ruby.c (load_file_internal2): Extracted from load_file_internal.
- + (load_file_internal): Invoke load_file_internal2 using rb_protect.
+ Close an opened FD if load_file_internal2 raises an exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46341 b2dd03c8-39d4-4d8f-98ff-823fe... -
10:17 AM Revision 7ad125d7 (git): * gc.c (rb_objspace_free): should not rest_sweep() here.
- Some data structures are already freed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:47 AM Revision a5fd4c45 (git): * test/ruby/test_gc.rb: allocate more objects to invoke GC by newobj.
- GC allows extending pages depends on heap_increment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:13 AM Revision 29bee7e8 (git): revert r46332 because RVALUE_OLD_P() returns int by r46334
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:02 AM Revision 75604b07 (git): * gc.c (rb_gc_call_finalizer_at_exit): add
- gc_verify_internal_consistency() when RGENGC_CHECK_MODE >= 2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:00 AM Revision 2e437f8b (git): * gc.c: change the counting method for young objects.
- clear counter at the beggining of every GC and
count promoted (infant->young) objects.
Some promotions (infant->young) are transition of promoting to old
objects. We should not count such promotions.
With this technique, we don't... -
07:50 AM Revision 9d71a0ae (git): * gc.c: add verifying counters code in gc_verify_internal_consistency().
- gc_verify_internal_consistency() counts all
- live objects
- young objects (if age2 promotion)
- old objects
in all pages and compares with objspace managing counters.
* gc.c (gc_after_sweep): do gc_verify_internal_consistency()
... -
07:44 AM Revision b2597910 (git): gc.c: int for simple predicates
- * gc.c: use int for simple predicate functions instead of VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:44 AM Revision 3809c47d (git): ChangeLog: remove garbages
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:37 AM Revision 3d42f229 (git): * gc.c (rb_gc_force_recycle): we only need to know the result (0/1)
- of RVALUE_OLD_P(). clang fails to compile it because is_old is
`int' but RVALUE_OLD_P() returns VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:22 AM Bug #9895 (Assigned): net/imap stops responding when trying to create a message to an unexisting folder
-
04:20 AM Bug #9885 (Closed): lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
- Applied in changeset r46331.
----------
* lib/net/imap.rb (body_type_1part): Gmail IMAP reports a body
type as "MIXED" followed immediately by params
[ruby-core:62864] [Bug #9885] -
04:19 AM Revision 87505dd7 (git): * lib/net/imap.rb (body_type_1part): Gmail IMAP reports a body
- type as "MIXED" followed immediately by params
[ruby-core:62864] [Bug #9885]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:19 AM Revision e7d8c473 (git): * gc.c (objspace_live_slot): live slot count should not include final
- slot (contains T_ZOMBIE) count.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:03 AM Revision a0bbf948 (git): * gc.c (obj_free): fix spacing.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:00 AM Revision 58390617 (git): * gc.c (check_gen_consistency): fix error message.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:55 AM Revision baff4dfe (git): * gc.c: count old/young objects more correctly.
- * gc.c (RVALUE_DEMOTE_FROM_OLD): decrement old object count.
* gc.c (RVALUE_DEMOTE_FROM_YOUNG): decrement young object count.
* gc.c (rb_gc_resurrect): increment old object count.
* gc.c (gc_marks_body): should not add old object count.
... -
03:29 AM Revision d27a685b (git): * test/ruby/memory_status.rb: add $LOAD_PATH to load test/unit
- correctly for fiddle/import unavailable environments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:10 AM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
- Hans de Graaff wrote:
> My point was that, being one of the Gentoo ruby maintainers, I would not want to use this mechanism to officially support jemalloc or tmalloc for the ruby packages that we offer in Gentoo.
~~~
$ ./configure -... -
12:42 AM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
- On Sat, May 24, 2014 at 9:48 PM, <normalperson@yhbt.net> wrote:
> Issue #9113 has been updated by Eric Wong.
>
>
> KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> > Do we have only one benchmark provided by Sam? I don't thi... -
12:48 AM Bug #9881 (Closed): stuck in test/openssl/test_ssl.rb on Windows
- Applied in changeset r46325.
----------
* test/openssl/test_ssl.rb (OpenSSL::TestSSL#test_verify_result):
shouldn't use same server for respective tests, because the 1st
test sometimes kills the server main loop silently.
[Bug #98... - 12:48 AM Revision 5d9eae4a (git): * test/openssl/test_ssl.rb (OpenSSL::TestSSL#test_verify_result):
- shouldn't use same server for respective tests, because the 1st
test sometimes kills the server main loop silently.
[Bug #9881] [ruby-dev:48266]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46325 b2dd03c8-39d4-4d8f-98ff-823fe6... -
12:48 AM Feature #9888: Hide Complex internal
- The prefix is to avoid potential name-clashes with other libraries.
06/02/2014
- 10:35 PM Revision 25e8bfce (git): * win32/win32.c (rb_w32_conv_from_wchar): follow nobu's previous commit.
- hey nobu, why don't you write Changelog for such serious changes?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:23 PM Revision 0fec24f9 (git): encoding.c: move ruby_encoding_index stuff
- * encoding.c: move `ruby_encoding_index` stuff from
include/ruby/encoding.h to hide the extra field.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:23 PM Revision f2980e3e (git): encoding.h: constify rb_encoding
- * include/ruby/encoding.h: constify `rb_encoding` itself, not only
arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:11 PM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
- Nobuyoshi Nakada wrote:
> It's a common method for autoconfisticated programs.
> ...
I have not tried. My point was that, being one of the Gentoo ruby maintainers, I would not want to use this mechanism to officially support jemalloc... -
02:56 AM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
- Hans de Graaff wrote:
> I'd rather not do that with the LIBS mechanism since then I cannot be sure that this is a maintained and supported configuration.
It's a common method for autoconfisticated programs.
Did you have troubles wit... - 04:38 PM Revision b875b4a6 (git): * 2014-06-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:38 PM Revision 61bc5c34 (git): * README.EXT: [DOC] Add rb_call_super when subclassing from @robin850
- [Fixes GH-623] https://github.com/ruby/ruby/pull/623 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:08 PM Bug #9890: Empty Date class
- I have not been able to come up with a workaround that allows removal of Date or provides a working Date class.
-
02:46 AM Bug #9890: Empty Date class
- The first related commit seems:
https://github.com/rubygems/rubygems/commit/04422c3c7fc0273a5ef9d01641fb0a2a4ee0d03d#diff-05477d38d75c98664b0e7dec6eb73b45R44 -
02:40 AM Bug #9890 (Third Party's Issue): Empty Date class
- It seems intended.
https://github.com/rubygems/rubygems/commit/ec07d2bb5c51f3a3606e1febc93b7c73699de58e#diff-05477d38d75c98664b0e7dec6eb73b45R17 -
03:48 PM Bug #9616: [PATCH] class.c: check for malloc failures
- Backported into `ruby_2_1` branch at r46319.
-
03:48 PM Revision 16318094 (git): merge revision(s) r45302: [Backport #9616]
- * class.c (rb_class_subclass_add): use xmalloc
* class.c (rb_module_add_to_subclasses_list): ditto
* class.c (rb_class_remove_from_super_subclasses): use xfree
* class.c (rb_class_remove_from_module_subclasses)... -
01:47 PM Revision d3c07588 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:46 PM Revision 72912ec3 (git): fix usage
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:46 PM Revision 06ba0050 (git): fix typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:34 AM Revision 59ae4924 (git): Join threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:26 AM Feature #9888: Hide Complex internal
- Nobuyoshi Nakada wrote:
> Why keep `RCOMPLEX_SET_REAL` and `RCOMPLEX_SET_IMAG` public?
> ...
If deleting now-public APIs are OK, I'd be happy to do so. Having rb_ prefix
makes absolutely zero sense because they are for backward API ... -
02:33 AM Feature #9888: Hide Complex internal
- Why keep `RCOMPLEX_SET_REAL` and `RCOMPLEX_SET_IMAG` public?
They don't seem to be used anywhere else.
At least, they have to have `rb_` prefix. -
09:38 AM Bug #9895 (Closed): net/imap stops responding when trying to create a message to an unexisting folder
- trying to create a message to unexisting folder makes net/imap to eternize, instead of raising an exception:
~~~
2.0.0p353> require 'net/imap'
0.0600 (0.1808) => true
2.0.0p353> imap = Net::IMAP.new('mail.example.com', 143, false... -
08:17 AM Revision bbfe069e (git): * vm.c (ruby_vm_destruct): remove useless call of
- rb_gc_force_recycle().
At this line, a VM object is already freed
(is changed to T_NONE) by rb_gc_call_finalizer_at_exit().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:51 AM Revision 7af941da (git): * eval.c (rb_using_refinement): add write-barriers for
- cref->nd_refinements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:27 AM Bug #9254 (Closed): ./doc/contributing.rdoc -> CONTRIBUTING.md
- Fixed by r46312, thank you @hsbt!
-
12:00 AM Bug #9254: ./doc/contributing.rdoc -> CONTRIBUTING.md
- current docs/contributing.rdoc is too long. I'm against to move it.
-
05:37 AM Feature #9894 (Closed): [RFC] README.EXT: document rb_gc_register_mark_object
- Any comment on officially supporting this as part of the C API?
```diff
diff --git a/README.EXT b/README.EXT
index d66d6c5..dded850 100644
--- a/README.EXT
+++ b/README.EXT
@@ -1176,6 +1176,12 @@ void rb_global_variable(VALUE *va... -
04:13 AM Feature #9893 (Closed): [RFC] README.EXT: document rb_gc_register_mark_object
- ref [ruby-core:62862]
Any comment on officially supporting this as part of the C API?
diff --git a/README.EXT b/README.EXT
index d66d6c5..dded850 100644
--- a/README.EXT
+++ b/README.EXT
@@ -1176,6 +1176,12 @@ void rb_global_va... -
03:29 AM Revision be29ae6b (git): * CONTRIBUTING.md: added contibuting guide for github. [fix GH-625]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:11 AM Bug #9705: Installing ruby 2.1.1 fails while compiling (after: rvm install 2.1.1)
- Hello,
Could you try with trunk? I wonder if this is already fixed on trunk. -
01:54 AM Bug #9891 (Assigned): infinite fibers crash Ruby
-
12:43 AM Revision 3ef5adb4 (git): xmlrpc/client: fix documentation typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:01 AM Feature #9892: Contributing guide for github
- commented to #9254.
06/01/2014
-
11:57 PM Feature #9892: Contributing guide for github
- Did you see #9254?
-
11:52 PM Feature #9892: Contributing guide for github
- https://github.com/ruby/ruby/pull/625
-
10:58 AM Feature #9892 (Closed): Contributing guide for github
- github supports to show contributing guideline when send pull requests.
https://github.com/blog/1184-contributing-guidelines
Some people don't know our official issue tracker.
I think better that show contribute instructions to th... -
10:31 PM Revision fe38158f (git): * test/ruby/envutil.rb (default_warning): New method.
- * test/ruby/test_autoload.rb: Use EnvUtil.default_warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:06 PM Revision 04683109 (git): constify rb_encoding and OnigEncoding
- * include/ruby/encoding.h: constify `rb_encoding` arguments.
* include/ruby/oniguruma.h: constify `OnigEncoding` arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:50 PM Revision b1624514 (git): gmake.mk: fix argument
- * defs/gmake.mk: fix missing loop variable of `foreach`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:32 PM Revision 2f0c383d (git): gmake.mk: universal assembler rules
- * Makefile.in (CFLAGS_NO_ARCH): split from ARCH_FLAG.
* defs/gmake.mk: define assembler rules per architectures for
universal binaries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:32 PM Revision b1b88695 (git): gmake.mk: universal cpp rules
- * defs/gmake.mk: define preprocessing rules per architectures for
universal binaries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:27 PM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
- Eric Wong wrote:
> ko1@atdot.net wrote:
> ...
Speaking from the Gentoo perspective: with "--enable-jemalloc" I could give my Gentoo users a choice of enabling jemalloc via our "USE flag" mechanism. I'd rather not do that with the LIBS ... -
05:21 PM Bug #9688: Ruby's child process inherits parent's sockets (mswin)
- Backported into `ruby_2_1` branch at r46305.
-
05:21 PM Revision e373773a (git): merge revision(s) r45471: [Backport #9688]
- * win32/win32.c (rb_w32_accept, open_ifs_socket, socketpair_internal):
reset inherit flag of socket to avoid unintentional inheritance of
socket. note that the return value of SetHandleInformation() is not
... -
05:18 PM Bug #9652: Marshal doesn't dump/load Time#zone correctly with too many time object
- r45364, r45395, r45396, r45403 and r45406 were backported into `ruby_2_1` branch at r46304.
-
05:17 PM Revision 282462b2 (git): merge revision(s) r45364,r45395,r45396,r45403,r45406: [Backport #9652]
- * time.c (time_mload): freeze and preserve marshal-loaded time zone
* test/ruby/test_time.rb: add test for GC on loaded object
[Bug #9652]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46304 b2dd03c8-... -
05:07 PM Bug #9656: check for -fno-defer-pop option in ext/dl/extconf.rb
- Backported into `ruby_2_1` branch at r46303.
-
05:07 PM Revision 52950d94 (git): merge revision(s) r45365: [Backport #9656]
- dl/extconf.rb: check for -fno-defer-pop option
* ext/dl/extconf.rb: check for -fno-defer-pop option, since clang
5.1 no longer support -fno-defer-pop option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46303... -
05:04 PM Bug #9622: Extra method arguments are magically swallowed after first successful call, possible method cache bug
- Backported into `ruby_2_1` at r46302.
-
05:03 PM Revision 5d2ea904 (git): merge revision(s) r45320,r45321: [Backport #9622]
- * vm_insnhelper.c (vm_callee_setup_arg): turn a macro into an
inline function.
* vm_insnhelper.c (vm_callee_setup_arg): disable fastpath if splat
argument, since argc may differ for each calls.
[rub... -
04:56 PM Bug #9645: [PATCH] variable.c: avoid memory leak on const redefinition
- Backported into `ruby_2_1` branch at r46301.
-
04:55 PM Revision 5a22835c (git): merge revision(s) r45350: [Backport #9645]
- * variable.c (rb_const_set): delete existing entry on redefinition
[Bug #9645]
* test/ruby/test_const.rb (test_redefinition): test for leak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46301 b2dd03c8... -
03:41 PM Revision 20e6b3a3 (git): Use EnvUtil.suppress_warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:25 PM Revision 9b0ea861 (git): Suppress a warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:14 PM Revision b9ea7476 (git): * 2014-06-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:13 PM Revision 49aac865 (git): Suppress warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:08 PM Revision fcdec9bf (git): Stop DRb service.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:47 PM Revision be4b37df (git): Finish threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:09 PM Revision 49d68ba1 (git): Suppress a warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:20 AM Bug #7859: Readline: Incorrect arrow key behavior in vi_editing_mode insert mode with Readline 6.2
- David Albert wrote:
> =begin
> ...
vi mode uses an escape character to exit insert mode, enter command mode. ANSI terminals send escape sequences (Escape [ <letter>) for arrow keys.
vi and vim resolve this by using short timeouts; if ... -
03:07 AM Revision 5cd71131 (git): * test/drb: Wrap tests definitions by DRbTests module. This makes
- several tests (ACLEntryTest, TestBug4409, etc.) easier to understand
that they are tests for DRb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:37 AM Revision 09ab3a0a (git): * lib/rinda/ring.rb (RingFinger#make_socket): Close the socket on exception.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:30 AM Bug #9447: Bad interaction between Fibers and Trap handlers in Ruby > 2.0.0
- I found this bug report while searching for another bug.
This seems a bug in the Alarm implementation, not a bug in Ruby. *Alarm::alarm* pauses the fiber in the trap, so it never left trap context. The fix is to escape the trap with *... -
01:21 AM Revision f64541d7 (git): Close FDs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/31/2014
-
11:54 PM Revision 28229e4a (git): Join threads before close pipes.
- closing a FD interrupts threads which uses the FD.
rb_thread_io_blocking_region (for write()) checks an interrupt after write() is finished.
So, joining the thread after closing() may raise "IOError: stream closed".
git-svn-id: svn+ss... -
10:20 PM Bug #9891 (Closed): infinite fibers crash Ruby
- When a program makes too many fibers, Ruby crashes. I found this bug while playing with an Enumerator that recursively enumerates itself.
Bug is easy to reproduce. This one-line fiber bomb will crash Ruby:
~~~
p = proc { Fiber.new... -
09:55 PM Revision 70d34c62 (git): parse.y: no duplicate attrset ID
- * parse.y (intern_str): dynamic attrset ID is registered by
`rb_id_attrset()` already, so no further registration is needed.
[ruby-core:62861]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:54 PM Revision bcd25152 (git): * lib/English.rb: [DOC] $LOADED_FEATURES moved to load.c [Fixes GH-620]
- Patch submitted by @leafac in https://github.com/ruby/ruby/pull/620
* doc/globals.rdoc: Added $LOADED_FEATURES to list
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:31 PM Revision 9529ed2c (git): * 2014-06-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:31 PM Revision 6f6dd30d (git): Join threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:48 PM Revision 06fb8234 (git): Join threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:48 PM Revision 45328723 (git): configure.in: remove rb_cv_typeof
- * configure.in (rb_cv_typeof): no longer needed because of
AC_C_TYPEOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:48 PM Revision ffc1ea22 (git): ChangeLog: fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:28 PM Revision e555e28e (git): Join threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:05 PM Revision f07096f7 (git): Join threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:53 PM Bug #9890 (Closed): Empty Date class
- Before anything is loaded/required, there is a non-functional `Date` class.
~~~
$ GEM_HOME= GEM_PATH= irb
irb(main):001:0> Date
=> Date
irb(main):002:0> Date.ancestors
=> [Date, Object, Kernel, BasicObject]
irb(main):003:0> Da... -
01:33 PM Feature #9887: Add uninclude please
- Same as #8967
-
02:06 AM Feature #9887 (Open): Add uninclude please
- Hi!
I would like to have a way to cleanly uninclude a module.
Consider:
```ruby
module Foo
TEST = '123'
end
class Bar
include Foo
end
```
Now I would like to uninclude Foo. I can remove constants and methods alread... -
01:31 PM Revision 6c6f9b19 (git): * test/lib/leakchecker.rb: Leak checker extracted from
- test/lib/minitest/unit.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:30 PM Revision 87847876 (git): don't remove test results
- r46180 removed dots but they express the result of tests: don't remove them.
Moreover I don't understand why `read` is still used.
http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20140530T200301Z.fail.html.gz
git-svn-id: svn+ssh://ci.ru... -
01:20 PM Feature #9889 (Closed): Hide Hash internal
- ~~~Patch
From b042711f88b74c9b260a8a6d82d3e040174c01d2 Mon Sep 17 00:00:00 2001
From: "Urabe, Shyouhei" <shyouhei@ruby-lang.org>
Date: Sat, 31 May 2014 22:13:24 +0900
Subject: [PATCH] Hide Hash internal
I chose struct RHash for se... -
12:53 PM Feature #9888 (Closed): Hide Complex internal
- ~~~Patch
From 428bce1d9b43210ca07c89e7c594925dda3b7934 Mon Sep 17 00:00:00 2001
From: "Urabe, Shyouhei" <shyouhei@ruby-lang.org>
Date: Sat, 31 May 2014 21:48:10 +0900
Subject: [PATCH] Hide Complex internal
So I agree with Eric and... -
12:24 PM Revision e00ac167 (git): * thread.c (rb_thread_atfork_internal): My compiler complains
- about this variable being used before initialized. I looked at
the code and expanded the macro and turned out it was actually
USED for pointer arithmetic, not dereferenced. So this was
never a serious bug. But is annoying indeed ... -
07:36 AM Revision f84ef81d (git): * lib/ipaddr.rb: extracted inline tests into test dir.
- * test/test_ipaddr.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:30 AM Revision a5afd235 (git): * ext/digest/lib/digest/hmac.rb: extracted inline tests into test dir.
- * test/digest/test_digest_hmac.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:03 AM Revision aae667d2 (git): * test/test_syslog.rb: remove executable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:15 AM Bug #9886 (Third Party's Issue): [BUG] Segmentation fault ruby 2.0.0p481 (2014-05-08) [x64-mingw32]
-
12:28 AM Bug #9886: [BUG] Segmentation fault ruby 2.0.0p481 (2014-05-08) [x64-mingw32]
- This issue is a duplicate of Bug #8591.
For an in-depth description, refer to https://github.com/brianmario/mysql2/issues/372 -
01:35 AM Bug #9885: lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
- It feels more like a bug to me. The existing code throws a parsing exception when I fetch the bodystructure of the message in my inbox that prompted me to make this change. I have not dug deep enough into the RFCs yet to know how close t...
-
12:01 AM Revision 1c01f22d (git): Join threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/30/2014
-
11:58 PM Revision dd20f904 (git): unicode.c: no initialization
- * enc/unicode.c (init_case_fold_table): no longer need to
initialize tables at runtime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:58 PM Revision 7e67b396 (git): case-folding.rb: perfect hash for case unfolding3
- * enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
lookup case unfolding table 3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:58 PM Revision 8f598676 (git): case-folding.rb: perfect hash for case unfolding2
- * enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
lookup case unfolding table 2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:58 PM Revision 35348a08 (git): case-folding.rb: perfect hash for case unfolding1
- * enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
lookup case unfolding table 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:57 PM Revision c39e6592 (git): case-folding.rb: perfect hash for case folding
- * enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
lookup case folding table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:56 PM Revision 88eae358 (git): case-folding.rb: merge tables
- * enc/unicode/case-folding.rb (print_table): merge non-locale and
locale tables, and reduce initializing loops.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:55 PM Revision 1d588b4f (git): case-folding.rb: modularize
- * enc/unicode/case-folding.rb (CaseFolding): modularize, and add
--output-file option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:49 PM Revision 0148bd15 (git): case-folding.rb: conversion script
- * enc/unicode/case-folding.rb: script to convert CaseFolding.txt,
tranlated from CaseFolding.py.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:37 PM Bug #9885 (Feedback): lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
- Maybe a feature-request?
-
09:30 PM Bug #9885: lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
- Pull request: https://github.com/ruby/ruby/pull/622
-
09:06 PM Bug #9885 (Closed): lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
- Gmail's IMAP server is giving me ("MIXED ("BOUNDARY" "abcdefgh") ..) for a the body portion of a message/rfc822 part and Net::IMAP raises an exception when parsing it.
I've got a pull request w/ test just about ready to go. Will post ... -
11:32 PM Revision 40ec5528 (git): * test/lib/minitest/unit.rb: Check Tempfile leaks for each test method
- again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:28 PM Bug #9884: thread_pthread.c assumes pthread_t is a scalar type
- How about this patch? I tested this on x86/Linux with -DTHREAD_DEBUG=-1. No error happened in make test or test-all.
-
09:07 AM Bug #9884 (Closed): thread_pthread.c assumes pthread_t is a scalar type
- Many code lines in `thread_pthread.c` assume `pthread_t` is a scalar type. For example,
~~~
thread_debug("ubf_select_each (%p)\n", (void *)th->thread_id);
~~~
and
~~~
if (!timer_thread_id) {
~~~
I don't think the ... -
09:09 PM Bug #9886 (Third Party's Issue): [BUG] Segmentation fault ruby 2.0.0p481 (2014-05-08) [x64-mingw32]
- ****** Start content of ruby script *********
require 'rubygems'
require 'mysql2'
puts "hello world"
***** End Content of ruby script ************
C:\projects\test\mysql_test>ruby test.rb
C:/Ruby200_x64/lib/ruby/gems/2.0.0/... -
06:53 PM Bug #9839: Segment fault in http
- We also have the same problem, even after upgrading to ruby 2.1.2. I've attached the logging output. I can supply a core dump if that helps.
This has been happening on a regular basis (once every few days) for a few months, at least.
... -
06:52 PM Revision cfe2cbda (git): * lib/delegate.rb: [DOC] Document raise in Delegator class
- Patch by @lucasmazza. [Fixes GH-621]
https://github.com/ruby/ruby/pull/621
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:04 PM Feature #9880: Dir#fileno
- とりあえず現在の作業のために ext/-test-/dir/ に入れました。
これで ruby 本体についてはテストで close しなかった fd を
より確実に確認できるようになりました。
しかし、close を忘れるのは (残念ながら) 珍しいことではないので、
Dir#fileno を ruby 本体以外にも提供することにより、
この確認を容易にするのは良いことだと思っています。
-
03:06 PM Revision e5acaa03 (git): add --disable-gem
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:03 PM Revision 3134c2d5 (git): * 2014-05-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:03 PM Revision 4565cd66 (git): Close FDs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:50 PM Revision 69105a17 (git): Close FDs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:46 PM Feature #9451: Refinements and unary & (to_proc)
- IMHO, splat should be affected by refinements, because there is no intermediate method calls.
-
02:28 PM Revision 60cb6f6e (git): Close sockets.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:17 PM Revision bf6c098d (git): Close pipes.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:06 PM Revision 9a51bc62 (git): Use the block form of Open3.popen3 to close FDs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:48 PM Revision ab4c6921 (git): Join threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:28 PM Revision 5b75a061 (git): Join threads, not kill.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:51 PM Revision e6da7c5c (git): test/io/console/test_io_console.rb: Close FDs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:32 PM Revision 6f226d9d (git): * lib/webrick/server.rb: Use a pipe to detect server shutdown.
- shutdown() or close() for listening socket is not a reliable.
Actually, both doesn't work (doesn't wake up select()) on
DragonFly BSD 3.6.2.
* test/webrick/utils.rb: :ShutdownSocketWithoutClose is not required
now to immediate ser... -
12:03 PM Revision 99e389a6 (git): svn:ignore property added.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:01 PM Revision 283e5d5a (git): * test/lib/minitest/unit.rb (check_fd_leak): Sort the inspected
- objects list for a FD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:08 AM Revision e03e2b95 (git): * test/lib/minitest/unit.rb (check_fd_leak): Try GC to delete leaked
- FDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:52 AM Revision d4101d63 (git): force_encoding to get the log of failure by Encoding::CompatibilityError
- https://travis-ci.org/ruby/ruby/jobs/26361118
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:43 AM Feature #7836: Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
- Can't you achieve this by `Method#super_method`?
-
06:30 AM Bug #9883 (Closed): Different behaviour between `==` and hash key lookup regarding multibyte character fragment
-
04:27 AM Bug #9883: Different behaviour between `==` and hash key lookup regarding multibyte character fragment
- This issue is a duplicate of Bug #9882.
And already solved with changeset r46243. -
04:06 AM Bug #9883 (Closed): Different behaviour between `==` and hash key lookup regarding multibyte character fragment
- This question is reported in stackoverflow (http://stackoverflow.com/questions/23946127). When a multibyte character is split by `slice`, `==` ignores the split fragment of the character, while key lookup on hash does not:
~~~ruby
s1... -
06:27 AM Revision bb1fb116 (git): minitest/unit.rb: defer requiring -test-
- * test/lib/minitest/unit.rb (find_fds): defer requiring a library
under "-test-" until needed, or can't work in other (installed)
ruby. grep doesn't need separated map.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46248 b2dd03... -
05:53 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Charles Nutter wrote:
> JRuby master (1.7.4) now has a new ext io/try_nonblock that implements just the IO portion of wycats's patch (I did not implement the StringIO and SSLSocket logic).
Just closing the circle here... JRuby 9000 w... -
03:18 AM Revision 5cc1d57c (git): fileno.c: suppress warnings
- * ext/-test-/dir/fileno.c (dir_check): suppress unused-function
warnings, used only when dirfd() is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:18 AM Revision 279aaaf9 (git): printf.c: suppress warnings
- * ext/-test-/printf/printf.c (printf_test_call): suppress
maybe-uninitialized warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:06 AM Revision 0dea3e1a (git): * test/lib/test/unit/parallel.rb (_run_suite): orig_stdout may be nil
- though I don't know the reason.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:55 AM Revision b901b875 (git): test_string.rb: move and add assertions
- * test/ruby/test_string.rb (test_slice): move the assertion for
[Bug #9882], and more assertion for `ascii_only?` too, as
pointed out by Heesob Park in [ruby-core:62846].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46244 b2dd0... -
02:33 AM Bug #9882 (Closed): Issue with hash string keys
- Applied in changeset r46243.
----------
string.c: reset code range
* string.c (rb_str_substr): need to reset code range for shared
string too, not only copied string.
[ruby-core:62842] [Bug #9882] -
02:31 AM Bug #9882: Issue with hash string keys
- This issue is due to the different result of String#hash of each string.
Why `slice_url.hash != str.hash` in splite of `slice_url == str` ?
And I found the root cause is `slice_url.ascii_only? != str.ascii_only?`
~~~
C:\work... -
12:51 AM Bug #9882: Issue with hash string keys
- tim@nexgate.com wrote:
> I have the following code. In a nutshell i am slicing a string to pull out strings to use as keys in a hash. However when running the following code, I am getting odd results.
> context = "Marriott Internation... -
12:21 AM Bug #9882 (Closed): Issue with hash string keys
- I have the following code. In a nutshell i am slicing a string to pull out strings to use as keys in a hash. However when running the following code, I am getting odd results.
~~~ruby
context = "Marriott International World’s Most AD... -
02:33 AM Revision 950508e9 (git): string.c: reset code range
- * string.c (rb_str_substr): need to reset code range for shared
string too, not only copied string.
[ruby-core:62842] [Bug #9882]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:32 AM Revision 361978be (git): test_beginendblock.rb: avoid leaking threads
- * test/ruby/test_beginendblock.rb (test_endblock_raise): not only
kill, but also wait the end.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 AM Bug #9881: stuck in test/openssl/test_ssl.rb on Windows
- Akira Tanaka wrote:
> close するようにしたら刺さるようになるというのは
> ...
はい、2回目の ssl.connect (266行目) です。
> あと思いつくこととしては、test_verify_result は 3つのテストが入っている感じなので、
> ...
なるほど。
というわけで、今作業途中なのですが、247行目の ssl.sync_close = true があると266行目で刺さる
(249行目でなく)と... -
01:22 AM Revision 4e741f4b (git): erb.rb: ERB#result does not accept a proc.
- * lib/erb.rb (result): [DOC] no longer accepts a Proc, as
Kernel.eval does not. [fix GH-619]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/29/2014
-
10:28 PM Revision 83ead3c4 (git): * ext/-test-/dir: Dir#fileno implemented.
- * test/lib/minitest/unit.rb (find_fds): Don't return the fd used to
scan /proc/$$/fd.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:13 PM Bug #9881: stuck in test/openssl/test_ssl.rb on Windows
- まず ssl.sync_close = true の意味は、
ssl.close としたときに ssl に入っている
IO も同時に close するようにする、という意味です。
これがないと、test_verify_result で
sock = TCPSocket.new("127.0.0.1", port) として作ったソケットを close し忘れることになります。
close するようにしたら刺さるようになるというのは
ちょっと原因が想像し... -
03:40 PM Bug #9881 (Closed): stuck in test/openssl/test_ssl.rb on Windows
- r46223以降、WindowsにおいてOpenSSL::TestSSL#test_verify_resultで刺さってしまうようになりました。
(CI等で確認できます)
調べてみたところ、この変更時に追加された、
ssl.sync_close = true
の1行が問題のようです。
よくわからないのですが、他のテストメソッドはこれがあっても問題ありません。
意味がわかってないので私にはなんとも言えないのですが、何かわかりますでし... - 07:49 PM Revision fae18c95 (git): remove empty rb_gc_mark_parser function
- * parse.y (rb_gc_mark_parser): remove, empty since r8758
* internal.h: ditto, not usable from extensions since 2.0.0
* gc.c (gc_mark_roots): remove checkpoint for parser
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46239 b2dd03c8-3... - 03:45 PM Revision d2684fd1 (git): * 2014-05-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:45 PM Revision 6c42f571 (git): * vm_trace.c, vm.c, thread.c: get rid of (maybe false positive) warnings about
- using uninitialized var with VC++.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:19 PM Bug #9568: Ruby interpreter crashes when executing a script in debug mode
- r45178, r45180 and r45183 were backported to `ruby_2_1` branch at r46236.
-
03:19 PM Revision fca433e2 (git): merge revision(s) r45178,r45180,r45183: [Backport #9568]
- eval.c: remove unneeded GC guard
* eval.c (setup_exception): remove RB_GC_GUARD which is no longer
needed since r41598.
* eval.c (setup_exception): preserve errinfo across calling #to_s
method on the exceptio... -
02:59 PM Revision ce0c2b21 (git): test/test_syslog.rb: Close fds.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:47 PM Revision 1a956cea (git): test/readline/test_readline.rb: Close fds.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:28 PM Bug #9878 (Closed): ruby_signal() should return either sa_sigaction or sa_handler, depending on SA_SIGINFO
- Applied in changeset r46233.
----------
signal.c: return proper member
* signal.c (ruby_signal): should return either `old.sa_sigaction`
or `old.sa_handler`, depending on whether `SA_SIGINFO` is set in
`old.sa_flags`, because they ... -
09:52 AM Bug #9878 (Closed): ruby_signal() should return either sa_sigaction or sa_handler, depending on SA_SIGINFO
- `ruby_signal()` in signal.c returns `old.sa_handler`,
but it should return either `old.sa_sigaction` or `old.sa_handler`,
depending on whether `SA_SIGINFO` is set in `old.sa_flags`.
~~~diff
--- signal.c (revision 46222)
+++ sig... -
02:27 PM Revision fad56622 (git): signal.c: return proper member
- * signal.c (ruby_signal): should return either `old.sa_sigaction`
or `old.sa_handler`, depending on whether `SA_SIGINFO` is set in
`old.sa_flags`, because they may not be a union.
[ruby-core:62836] [Bug #9878]
git-svn-id: svn+ssh:... -
02:13 PM Revision 52e91e0f (git): * io.c (pipe_open): Close pipes when rb_execarg_fixup() raises
- an exception.
(rb_execarg_fixup_v): New function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:38 PM Revision 6f39cf2d (git): test/test_pty.rb: Close fds.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:26 PM Revision b519ce9a (git): * test/lib/minitest/unit.rb (capture_subprocess_io): Close fds.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:12 PM Revision 2edc9ea5 (git): test/logger/test_logdevice.rb: Close fds.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:42 PM Revision a2f9b00a (git): test/io/nonblock/test_flush.rb: Close fds.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:09 PM Bug #9570: Something wrong with Enumerator#size ?
- r45187, r45205, r45206, r45212 and r45213 were backported into `ruby_2_1` at 46226.
-
12:07 PM Revision a1afdfeb (git): test/fileutils/test_fileutils.rb: Close fds.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:07 PM Revision 74d6b682 (git): merge revision(s) r45187,r45205,r45206,r45212,r45213: [Backport #9570]
- * numeric.c (ruby_num_interval_step_size): check signs and get rid
of implementation dependent behavior of negative division.
[ruby-core:61106] [Bug #9570]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2... -
11:40 AM Feature #9880 (Closed): Dir#fileno
- Dir#fileno を追加したいのですがどうでしょうか。
最近、fd を close せずに終わるテストを調べています。
そのために、テストの前後で、Dir.entries("/proc/#$$/fd") として、
fd が変化しているかどうか調べているのですが、
これには少し問題があります。
現在使われている fd のリストを得るために
Dir.entries("/proc/#{$$}/fd") とすると、
以下のようにひとつ余計なものが出てき... -
11:29 AM Revision be4d1fd9 (git): * io.c (rb_io_s_pipe): Close pipes if io_encoding_set() raises an
- exception.
(io_encoding_set_v): New function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:55 AM Bug #9879 (Closed): fix fd leaks in UNIXSocket.open (fixed at r46218)
- UNIXSocket のアドレスチェックでエラーになった時の fd leak が r46218 で修正されています。
バックポート管理用にチケット化しておきます。 -
10:44 AM Revision 2ad20073 (git): * lib/csv.rb (CSV.open): Close the opened file when an exception occur.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:32 AM Revision 68ac33a5 (git): * ext/openssl/lib/openssl/ssl.rb (SSLServer#accept): Close a socket
- if any exception occur.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:45 AM Bug #9877 (Rejected): IRB::OutputMethod defines "pp", but it's actually "p"
- IRB::OutputMethod#pp is actually more like Kernel#p than PrettyPrint#pp. There doesn't seem to be a good reason for the misleading name, and use of OutputMethod requires all the Kernel print methods. (Predicated on #9876 being fixed, of ...
-
05:26 AM Bug #9876 (Closed): IRB::Context output_method is not used
- IRB::Context takes an optional output_method, but it is never used. IRB::Irb.output_value, and IRB::Irb.eval_input call print / printf directly, which always goes to STDOUT.
-
04:27 AM Bug #9875 (Closed): ERB#result documentation incorrect
- This issue duplicates: https://github.com/ruby/ruby/pull/619
---
ERB#result does not accept a proc, the documentation says:
> Executes the generated ERB code to produce a completed template, returning the results of that code.
>... -
03:59 AM Feature #9852: How to bundle test-unit2 and minitest5
- redmine can't handle my attachments file.
Please see https://github.com/hsbt/ruby/compare/ruby:trunk...bundle-gem -
03:17 AM Feature #9852: How to bundle test-unit2 and minitest5
- I implemented gem install task when running with "make install".
This task detect gems from gems directory and install it. -
12:58 AM Revision c65ef153 (git): configure.in: fix messages
- * configure.in (RUBY_FUNC_ATTRIBUTE): show the attribute name in
the message if the macro name is not given. fix up r45608.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e