Activity
From 08/28/2014 to 09/03/2014
09/03/2014
-
07:40 PM Bug #9115: Logger traps all exceptions; breaks Timeout
- The source code for 2.1.2 doesn't seem to have changed: the LogDevice::write method still does a rescue Exception and ignores the result.
Our application ran into this problem when one thread raises an exception in another thread that's... - 06:58 PM Revision 1e55b27e (git): * 2014-09-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:58 PM Revision 1540b1fe (git): man/ruby.1: spelling fix ("bellow" => "below") [ci-skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:58 PM Revision 3c9e195f (git): man/ruby.1: add trailing slash to URLs [ci-skip]
- URLs without path component needs trailing slash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:59 PM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
- v.ondruch@tiscali.cz wrote:
> I observe following error on ARM:
>
> ~~~
> 3) Failure:
> TestBenchmark#test_realtime_output [/builddir/build/BUILD/ruby-2.2.0-r47372/test/benchmark/test_benchmark.rb:159]:
> Expected 1.0 to be < 0... -
01:55 PM Bug #10202 (Closed): TestBenchmark#test_realtime_output breaks on ARM
- I observe following error on ARM:
~~~
3) Failure:
TestBenchmark#test_realtime_output [/builddir/build/BUILD/ruby-2.2.0-r47372/test/benchmark/test_benchmark.rb:159]:
Expected 1.0 to be < 0.999977873172611.
~~~
It seems to be i... -
03:48 PM Bug #10062: Segfault involving Queue
- Backported into `ruby_2_1` branch at r47378.
-
03:47 PM Revision aac5c2c7 (git): merge revision(s) r47217: [Backport #10062]
- * ext/thread/thread.c (get_array): check instance variables are
initialized properly. [ruby-core:63826][Bug #10062]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:30 PM Bug #10039: "a+" mode for File.open doesn’t work
- Backported into `ruby_2_1` branch at r47377.
-
03:29 PM Revision 17fc590e (git): merge revision(s) r46876: [Backport #10039]
- * io.c (rb_io_initialize): [DOC] fix rdoc of append mode. it does
not move the pointer at open. [ruby-core:63747] [Bug #10039]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47377 b2dd03c8-39d4-4d8f-98ff-823f... -
03:26 PM Bug #9982: Kernel#sprintf: unmbered widht and precision with numbered argument
- Backported into `ruby_2_1` branch at r47376.
-
03:25 PM Revision f909bee1 (git): merge revision(s) r46569: [Backport #9982]
- * sprintf.c (GETASTER): should not use the numbered argument to be
formatted, raise ArgumentError instead.
[ruby-dev:48330] [Bug #9982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47376 b2dd03c8-39... -
03:21 PM Bug #9984: OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak timeouts on ARM
- Backported into `ruby_2_1` branch at r47375.
-
02:33 AM Bug #9984 (Closed): OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak timeouts on ARM
- Applied in changeset r47362.
----------
* test/openssl/test_pkey_rsa.rb (OpenSSL#test_sign_verify_memory_leak):
added timeout into testcase for low performance environment.
[Bug #9984][ruby-core:63367] -
03:21 PM Revision f28cfce8 (git): merge revision(s) r47362: [Backport #9984]
- * test/openssl/test_pkey_rsa.rb (OpenSSL#test_sign_verify_memory_leak):
added timeout into testcase for low performance environment.
[Bug #9984][ruby-core:63367]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/... -
02:55 PM Feature #10181: New method File.openat()
- The proposed Dir api must provide a way to open both files and directories in order to be useful.
New proposal:
d1 = Dir.open('d1') => aDir
d2 = d1.open('subdir') => aDir relative to d1
file = d2.open_file('file') => aFile relati... -
09:29 AM Feature #10181: New method File.openat()
- akr@fsij.org wrote:
> We should consider other *at functions, as well as openat.
>
> renameat and linkat takes two file descriptors to specify directories.
> Also, they may be a special value, AT_FDCWD.
>
> How do we map
> rena... -
07:46 AM Feature #10181: New method File.openat()
- We should consider other *at functions, as well as openat.
renameat and linkat takes two file descriptors to specify directories.
Also, they may be a special value, AT_FDCWD.
How do we map
renameat(AT_FDCWD, "foo", newfd, "bar") ... -
07:31 AM Feature #10181: New method File.openat()
- > But I think we should use Dir.open instead of File.open/File.new for
> ...
Totally agree: it is reasonable to add methods to Dir object for manipulating files relative to directory -
06:20 AM Feature #10181: New method File.openat()
- We already have opendir (in the form of Dir.open), so would
Dir.at would be an alias of Dir.open?
I do not like aliases since they makes reading/searching code harder.
But I think we should use Dir.open instead of File.open/File.... -
04:58 AM Feature #10181: New method File.openat()
- If you can reuse result of `opendir(dirname)` why you couldn't reuse result
of `Dir.at(dirname)` ?
29.08.2014 11:55 пользователь "Eric Wong" <normalperson@yhbt.net> написал:
> Joel VanderWerf <joelvanderwerf@gmail.com> wrote:
> > ... -
02:36 PM Feature #10201: Dynamically changing GC tuning parameters
- Do you mean you gave up adaptive GC parameters?
Matz.
-
09:39 AM Feature #10201 (Rejected): Dynamically changing GC tuning parameters
- Now, MRI has several GC tuning parameters to modify GC behavior given by environment variables. However, these parameters can not be changed after launched.
We can change these parameter in runtime.
For example, mruby provides some m... -
10:23 AM Revision 777d61fa (git): * process.c (before_fork_ruby): Renamed from before_fork.
- (after_fork_ruby): Renamed from after_fork.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:56 AM Revision ed0f2528 (git): * process.c (forked_child): Removed.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:23 AM Feature #10096: [PATCH] use khash for fstring and id_str tables
- Sorry for delay.
I read your patch, and I'm not sure it is good idea to make klib directory.
This is only one thing I'm afraid.
-
09:19 AM Feature #10197: document RUBY_* stack size/GC params in ruby.1 manpage
- Most of environemnt variables should be implementation dependent.
I recommend you to use comment in gc.c:
https://github.com/ruby/ruby/blob/trunk/gc.c#L5848
Maybe on 2.2 I will add some more variables. -
08:55 AM Bug #9739: TestException#test_machine_stackoverflow(_by_define_method) failures on x64-mingw32
- Interestingly, I met this test error recently on Fedora's builder:
~~~
3) Failure:
TestException#test_machine_stackoverflow_by_define_method [/builddir/build/BUILD/ruby-2.2.0-r47288/test/ruby/test_exception.rb:555]:
pid 19431 kil... -
08:16 AM Feature #10200: Symbol list/count API with Symbol GC
- New hash entries.
I'm not sure that "T_" prefix is appropriate here, though. -
08:12 AM Feature #10200: Symbol list/count API with Symbol GC
- Akira Tanaka wrote:
> I feel ObjectSpace.count_objects can be extended to return number of symbols.
Make a new method? Or return a hash object with new types like T_SYMBOL_MORTAL and T_SYMBOL_IMMORTAL?
Now, ObjectSpace.count_objec... -
08:03 AM Feature #10200: Symbol list/count API with Symbol GC
- I feel ObjectSpace.count_objects can be extended to return number of symbols.
-
07:53 AM Feature #10200 (Closed): Symbol list/count API with Symbol GC
- # Abstract
We need to consider specification of "Symbol.all_symbols" method because of Symbol GC.
# Backgraound
Symbol.all_symbols returns an array includes all symbols in this Ruby interpreter process.
```
"a#{1+2}b".to_sym... -
07:56 AM Bug #10191 (Closed): Possible memory leak using dup and setting an unassigned instance variable (Windows)
- Applied in changeset r47372.
----------
object.c: fix memory leak
* object.c (rb_obj_copy_ivar): allocate no memory for empty
instance variables. [ruby-core:64700] [Bug #10191] -
07:56 AM Revision b46b1e3f (git): object.c: fix memory leak
- * object.c (rb_obj_copy_ivar): allocate no memory for empty
instance variables. [ruby-core:64700] [Bug #10191]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:05 AM Revision 8322ca8a (git): * tool/make-snapshot (usage): X.Y means the head of a branch now.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:47 AM Revision cf08cf97 (git): * tool/make-snapshot (package): no teeny means a branch since 2.1.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:44 AM Feature #10199 (Closed): Drop to support Symbian
- Symbian OS is ended in 2012.
see. http://symbian.nokia.com/
We should removed symbian from support platforms.
https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/SupportedPlatforms -
04:42 AM Bug #9875: ERB#result documentation incorrect
- backported into `ruby_2_0_0` at r47369.
- 04:42 AM Revision d7f49a9b (git): merge revision(s) 46241: [Backport #9875]
- * 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/branches/ruby_2_0_0@47369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:40 AM Bug #9865: frozen IO object causes RuntimeError with inspect and fileno
- backported into `ruby_2_0_0` at r37368.
note: respect existing security checks on this version. - 04:39 AM Revision 47264c4e (git): merge revision(s) 46151,46165: [Backport #9865]
- * io.c (rb_io_fileno, rb_io_inspect): non-modification does not
error on frozen IO. [ruby-dev:48241] [Bug #9865]
* io.c (rb_io_autoclose_p): Don't raise on frozen IO.
* test/lib/minitest/unit.rb: IO#autoclose... -
04:18 AM Bug #9914: posix_fadvise() does not work correctly with _LARGE_FILES on 32-bit AIX
- backported into `ruby_2_0_0` at r47367.
- 04:18 AM Revision 0187f76a (git): merge revision(s) 46382,46384,46913: [Backport #9914]
- * io.c (rb_io_advise): AIX currently does not support a 32-bit call to
posix_fadvise() if _LARGE_FILES is defined. Patch by Rei Odaira.
[ruby-core:62968] [Bug #9914]
* configure.in (posix_fadvise): disable us... -
03:53 AM Bug #9769: un-infection in StringIO#write
- backported into `ruby_2_0_0` at r47366.
- 03:52 AM Revision 101e636d (git): merge revision(s) 45676,45677: [Backport #9769]
- stringio.c: move GC guard
* ext/stringio/stringio.c (strio_write): move GC guard after the
last using position.
* ext/stringio/stringio.c (strio_write): use rb_str_append to
reuse coderange bits other than AS... -
03:44 AM Bug #9978: memory leak at ENV.select on Windows
- backported into `ruby_2_0_0` at r47365.
-
03:43 AM Bug #9983: memory leak at ENV.shift on Windows
- backported into `ruby_2_0_0` at r47365.
-
03:43 AM Bug #9977: memory leak at ENV.[]= on Windows
- backported into `ruby_2_0_0` at r47365.
- 03:43 AM Revision 6ed3a352 (git): merge revision(s) 46550,46557,46565,46570,46585,46595,46822: [Backport #9977] [Backport #9978] [Backport #9983]
- * hash.c (ruby_setenv): fix memory leak on Windows, free
environment strings block after check for the size.
[ruby-dev:48323] [Bug #9977]
* hash.c (env_select): fix memory leak and crash on Windows, make
... -
03:29 AM Bug #9903: Regexp#[] doesn't consider capture name encoding
- backported into `ruby_2_0_0` at r47364.
note that it needed r42251. - 03:27 AM Revision d910ce1f (git): merge revision(s) 42251,46345,46346: [Backport #9903]
- * sprintf.c (ruby__sfvextra): add QUOTE flag to escape unprintable
characters.
* sprintf.c (ruby__sfvextra): add QUOTE flag to escape unprintable
characters.
* re.c (match_aref, rb_reg_regsub): consi... -
03:06 AM Revision 9b16f906 (git): * process.c (retry_fork_async_signal_safe): Use vfork() if available.
- vfork() is still faster than fork() especially when the parent
process uses big memory.
ruby -rbenchmark -e 'a = "a" * 1_000_000_000; puts Benchmark.measure { system("true") }'
fork: 0.000000 0.010000 0.010000 ( 0.014968)
... -
02:33 AM Revision 51ee0a63 (git): * test/openssl/test_pkey_rsa.rb (OpenSSL#test_sign_verify_memory_leak):
- added timeout into testcase for low performance environment.
[Bug #9984][ruby-core:63367]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/02/2014
-
10:51 PM Revision 93a7bf4b (git): * configure.in: Use AC_FUNC_FORK.
- * io.c: Use HAVE_WORKING_FORK instead of HAVE_FORK.
* process.c: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:24 PM Misc #10198 (Closed): [PATCH cleanup] vm.c: remove unused USE_THREAD_RECYCLE ifdefs
- This is a totally unused ifdef branch, and does not do anything even
when it is enabled, so it only confuses new developers.
Will commit in a few days unless there's objections.
-
08:44 PM Feature #10197 (Closed): document RUBY_* stack size/GC params in ruby.1 manpage
- Good idea or too implementation/internals-dependent?
We can note it is implementation-dependent behavior in the manpage.
I can prepare patches based on existing NEWS-* files.
-
08:39 PM Bug #10194: OpenStruct does not throw an exception when calling missing method with no arguments.
- The design of OpenStruct is to allow all method calls. (It is similar to a Hash but with method access.)
You can use a regular Struct if you need strict properties, or something from the Hashie gem might do what you're looking for. -
08:17 PM Bug #10194 (Rejected): OpenStruct does not throw an exception when calling missing method with no arguments.
- It would have been a possible design choice to prevent calling a getter unless a member has been previously set.
I believe it is too late for this change though, as it could produce severe incompatibilities. -
04:44 PM Bug #10194 (Rejected): OpenStruct does not throw an exception when calling missing method with no arguments.
- Below is the sample that shows the problem:
#!/usr/bin/env ruby
require 'ostruct'
class TestMethodMissing < OpenStruct
def initialize ()
super(
{ "foo" => "bar" }
)
... -
08:28 PM Bug #10196 (Closed): rdoc should not depend on gems
- Hello,
It seems in rdoc code that it can run without gems.
However, at some places, it explicitly cites gem or Gem without dealing with
the exception. Also, it requires "rubygems", which might be useless since
gem_prelude does th... -
06:59 PM Feature #10195 (Closed): Alternative to rb_proc_new that provides access to self, super and passed block
- I'm developing a Haskell binding to the Ruby C API. Unfortunately, `rb_proc_new`
does not provide any means of accessing super, self and/or any passed block. A
better alternative to `rb_proc_new` would make it possible to create procs ... -
03:47 PM Revision 50190956 (git): Ruby can delay arbitrarily because Ruby is not a realtime system,
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:13 PM Revision 8a4c2316 (git): * 2014-09-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:13 PM Revision 34af76e3 (git): * process.c (retry_fork_async_signal_safe): Don't return on in child
- process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:47 PM Revision 93621161 (git): * process.c (retry_fork_async_signal_safe): Specialized version of
- retry_fork respect to rb_fork_async_signal_safe.
(retry_fork_ruby): Specialized version of retry_fork respect to
rb_fork_ruby.
(rb_fork_ruby): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47357 b2dd03c8-39d4-4d8f-9... -
02:27 PM Revision de884088 (git): * process.c (send_child_error): Simplified.
- (recv_child_error): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:56 PM Revision a78a9b0d (git): * process.c (rb_fork_async_signal_safe): Inline rb_fork_internal.
- (rb_fork_ruby): Ditto.
(rb_fork_internal): Removed.
(chfunc_protect): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:45 PM Revision 51f41f66 (git): * test/ruby/test_io.rb (test_new_with_block): Set autoclose to avoid EBADF.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:33 PM Bug #10193 (Closed): TestIO#test_readpartial_locktmp fails randomly
- Applied in changeset r47353.
----------
test_io.rb: ignore stream closed IOError
* test/ruby/test_io.rb (test_readpartial_locktmp): stream closed
IOError while reading is not a matter. [Bug #10193] -
10:37 AM Bug #10193 (Closed): TestIO#test_readpartial_locktmp fails randomly
- ~~~
4) Error:
TestIO#test_readpartial_locktmp:
IOError: stream closed
/builddir/build/BUILD/ruby-2.2.0-r47288/test/ruby/test_io.rb:2861:in `readpartial'
/builddir/build/BUILD/ruby-2.2.0-r47288/test/ruby/test_io.rb:2861:in ... -
01:32 PM Revision 6bd80ffc (git): test_io.rb: ignore stream closed IOError
- * test/ruby/test_io.rb (test_readpartial_locktmp): stream closed
IOError while reading is not a matter. [Bug #10193]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:04 PM Revision 1a37c5a4 (git): * Makefile.in (update-coverage): Remove a never executed line.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:47 AM Revision 557802a1 (git): * process.c (handle_fork_error): Extracted from retry_fork.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:08 AM Revision bd1f4738 (git): * ChangeLog: added link of github issue
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:03 AM Bug #10192 (Closed): Install local versions of bundeld gems
- Applied in changeset r47349.
----------
* tool/rbinstall.rb: fixed error of local installation.
[Bug #10192][ruby-core:64702] -
08:02 AM Revision 4032c76a (git): * tool/rbinstall.rb: fixed error of local installation.
- [Bug #10192][ruby-core:64702]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:59 AM Feature #10189 (Closed): Coverage report with Simplecov
- Applied in changeset r47347.
----------
* test/runner.rb: reporting test coverage for test-all with COVERAGE env.
[Feature #10189][ruby-core:64681]
* Makefile.in: added task for coverage report.
* common.mk: added definition of forked... - 07:59 AM Revision 3e95253e (git): * 2014-09-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:59 AM Revision 355c032f (git): * test/runner.rb: reporting test coverage for test-all with COVERAGE env.
- [Feature #10189][ruby-core:64681]
* Makefile.in: added task for coverage report.
* common.mk: added definition of forked simplecov url.
* .gitignore: ignored coverage directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47347 b2...
09/01/2014
-
05:46 PM Bug #6592: test_call_double(DL::TestDL) fails on ARM HardFP
- Fails with gcc-4.8.2 also.
~~~
$ make check
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -W... -
01:24 PM Bug #6592: test_call_double(DL::TestDL) fails on ARM HardFP
- ping ... any update? Still an issue with ruby 2.2.0dev (2014-08-26 trunk 47288) [armv7hl-linux]
-
05:34 PM Bug #9976: ENV doesn't raise SecurityError except for aset and delete
- Backported into `ruby_2_1` branch at r47346.
-
05:34 PM Revision 3513d077 (git): merge revision(s) r46547: [Backport #9976]
- * hash.c (env_aset, env_has_key, env_assoc, env_has_value),
(env_rassoc, env_key): prohibit tainted strings if $SAFE is
non-zero. [Bug #9976]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47346 b2dd... -
05:20 PM Bug #9971: potential stack overflow check deadlock (fixed at r46495)
- 見すごしていました。 test_machine_stack_size のタイムアウトは r46499 で収まったとみていいんでしょうか?
-
05:17 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
- r45911, r45912, r45917, r45918 and r45919 were backported into `ruby_2_1` branch at r47345.
-
05:16 PM Revision 06042f85 (git): merge revision(s) r45911,r45912,r45917,r45918,r45919: [Backport #9820]
- * signal.c (rb_f_kill): directly enqueue an ignored signal to self,
except for SIGSEGV and SIGBUS. [ruby-dev:48203] [Bug #9820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47345 b2dd03c8-39d4-4d8f-98ff-823f... -
04:49 PM Feature #7517: Fixnum::MIN,MAX
- An obvious use case would be to make algorithms know how large an integer they can represent in Fixnum without overflowing to Bignum. This is strictly a Fixnum thing, too, so I think having the constants on Fixnum is exactly right. In JR...
-
12:30 PM Bug #10192 (Assigned): Install local versions of bundeld gems
-
12:06 PM Bug #10192 (Closed): Install local versions of bundeld gems
- Trying to build recent version of Ruby in Fedora's builder, which has no access to the internet, the "make install" fails with error:
~~~
installing bundle gems: /usr/share/ruby/gems/ (build_info, cache, doc, extensions, gems, ... - 11:17 AM Revision e8473a67 (git): * 2014-09-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:16 AM Revision c5487618 (git): * ext/win32ole/win32ole.c (rbtime2vtdate): try to convert millisecond
- of Time object to millisecond of VT_DATE VARIANT.
* test/win32ole/test_win32ole_variant.rb
(test_conversion_time2date_with_msec): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:21 AM Bug #10188: Regression of Benchmark.realtime
- Eric Wong wrote:
> shibata.hiroshi@gmail.com wrote:
> ...
It's VM(AWS)
> $ uname -a
> ...
```
[hsbt@chkbuild001 ~]$ cat /boot/config-3.10.53-56.140.amzn1.x86_64 | grep HZ
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CO... -
05:52 AM Bug #10191 (Closed): Possible memory leak using dup and setting an unassigned instance variable (Windows)
- Steps:
1. Run the following code (tested on Window 7):
~~~ruby
class Leaky
attr_accessor :v
def leak; d = dup; d.v = nil; end
end
l = Leaky.new
while true; l.leak; end
~~~
2. Watch the memory usage i... -
02:44 AM Feature #10189: Coverage report with Simplecov
- Eric Wong wrote:
> Can we keep it out-of-tree and use it like rubyspec?
Good point.
I implemented ```make update-coverage``` task like update-rubyspec.
https://github.com/ruby/ruby/pull/708/files
> ...
simplecov can switch ter...
08/31/2014
-
11:56 PM Bug #10190 (Closed): Segmentation fault when Thread::Queue#push is called through dRuby
- The fix has been backported at patchlevel 170.
-
09:52 PM Bug #10190 (Closed): Segmentation fault when Thread::Queue#push is called through dRuby
- I found a segmentation fault when `Thread::Queue` is attached to a dRuby server as a front object and `#push` is called from a dRuby client.
Here are programs, a procedure and logs.
## server.rb
~~~ruby
require 'drb/drb'
require '... -
08:16 AM Bug #9961: TracePoint can skip c_return with rb_rescue()
- backported into `ruby_2_0_0` at r47342.
note:
* ruby 2.0.0にはa_call/a_returnがありません。
* ruby 2.0.0だとcoerceの冒頭でto_sが呼ばれるますね。2.1だけ違う? - 08:14 AM Revision b10c3b6d (git): merge revision(s) 46465,46469,46484: [Backport #9961]
- * vm.c (rb_vm_rewind_cfp): add new function to rewind specified cfp
with invoking RUBY_EVENT_C_RETURN.
[Bug #9961]
* vm_core.h: ditto.
* eval.c (rb_protect): use it.
* eval.c (rb_rescue2): d... -
07:59 AM Revision 8bd2d31d (git): * lib/benchmark.rb: Fix a syntax error.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:56 AM Bug #9964: TracePoint invoke unexpected b_call events with redo
- backported into `ruby_2_0_0` at r47340.
(note that ruby 2.0.0 doesn't have a_call/a_return events.) - 07:55 AM Revision 3ed06c80 (git): merge revision(s) 46471: [Backport #9964]
- * compile.c (rb_iseq_compile_node): put start label of block after
trace (b_call).
[Bug #9964]
* test/ruby/test_settracefunc.rb: add a test.
added assert_consistent_call_return() method check call/r... -
07:49 AM Bug #9959 (Assigned): TracePoint can invoke inconsistent call event with bmethod
- 2.0.0にはそもそも th->passed_bmethod_me がなくて、現在のtrunkのelse節に相当する部分がないんですけど、どうしたもんでしょうか?
-
07:39 AM Bug #9957: TracePoint catch b_return at rescue/ensure
- backported into `ruby_2_0_0` at r47339.
- 07:39 AM Revision f6838bc9 (git): merge revision(s) 46463: [Backport #9957]
- * vm_core.h: add VM_FRAME_MAGIC_RESCUE to recognize normal block or
rescue clause.
* vm.c (vm_exec): use VM_FRAME_MAGIC_RESCUE on at rescue/ensure.
* test/ruby/test_settracefunc.rb: should not invoke b_return ... -
07:35 AM Bug #9767: test-all parallel fails if a test is skipped after raise
- backported into `ruby_2_0_0` at r47338.
- 07:35 AM Revision 7b55994c (git): merge revision(s) 45953,45961: [Backport #9767]
- * lib/test/unit/parallel.rb: fix test-all parallel failure if a test
is skipped after raise.
DL::TestFunc#test_sinf is skipped after raise on mingw ruby.
But it causes Mashal.load failure due to undefined cl... -
07:26 AM Bug #9618: Pathname#cleanpath creates mixed path separators
- backported into `ruby_2_0_0` at r47337.
- 07:25 AM Revision 1f452734 (git): merge revision(s) 45827: [Backport #9618]
- * ext/pathname/lib/pathname.rb (cleanpath_aggressive): make all
separators File::SEPARATOR from File::ALT_SEPARATOR.
Reported by Daniel Rikowski.
Fixed by Nobuyoshi Nakada. [Bug #9618]
* ext/pathna... -
07:24 AM Bug #9571: "Error: TestFileUtils#test_rmdir: Errno::EEXIST: File exists @ dir_s_rmdir - data" on Solaris
- backported into `ruby_2_0_0` at r47336.
- 07:23 AM Revision 7eb57e5a (git): merge revision(s) 45720: [Backport #9571]
- * lib/fileutils.rb (rmdir): rescue Errno::EEXIST in addition to
ENOTEMPTY (and ENOENT), because SUSv3 describes that "If the
directory is not an empty directory, rmdir() shall fail and set
errno to [EEXIST] ... -
07:22 AM Bug #9544: Ruby resolver not using autoport
- backported into `ruby_2_0_0` at r47335.
- 07:22 AM Revision 96fac49c (git): merge revision(s) 45144: [Backport #9544]
- * lib/resolv.rb (bind_random_port): Rescue EPERM for FreeBSD which
security.mac.portacl.port_high is changed.
See mac_portacl(4) for details.
Reported by Jakub Szafranski. [ruby-core:60917] [Bug #9544]
gi... -
07:19 AM Bug #9902: Regexp#[] ignores after NUL byte in named capture index
- backported into `ruby_2_0_0` at r47334.
- 07:19 AM Revision 6ffd2d5d (git): merge revision(s) 46344: [Backport #9902]
- * 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/branches/ruby_2_0_0@47334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:12 AM Bug #9759 (Assigned): [TracePoint API] return event missing when raising exception
- (reminder)
-
07:11 AM Bug #9913: Digest == throws TypeError when testing against nil
- backported into `ruby_2_0_0` at r47333.
- 07:11 AM Revision a102b685 (git): merge revision(s) 46368,46371: [Backport #9913]
- * ext/digest/digest.c (rb_digest_instance_equal):
fix #== for non-string arguments. [ruby-core:62967] [Bug #9913]
* test/digest/test_digest.rb: add test for above.
* ext/digest/digest.c (rb_digest_instance_equ... -
06:57 AM Bug #9939: segfault by modifying array during Array#combination
- backported into `ruby_2_0_0` at r47332.
- 06:56 AM Revision bea02d1b (git): merge revision(s) 46417,46418: [Backport #9939]
- * array.c (yield_indexed_values): extract from permute0(),
rpermute0(), and rcombinate0().
* array.c (rb_ary_combination): iterate on a shared copy, and use
array of indexes instead of array of chosen objects... -
06:31 AM Bug #9942: reduce memory allocation in Array#permutation (fixed at r46416)
- Backported into `ruby_2_0_0` at r47331.
- 06:30 AM Revision 1abe5c8d (git): merge revision(s) 46416: [Backport #9942]
- * array.c (rb_ary_permutation): `p` is the array of size `r`, as
commented at permute0(). since `n >= r` here, buffer overflow
never happened, just reduce unnecessary allocation though.
git-svn-id: svn+ssh://ci.rub... -
06:05 AM Revision cf990c5a (git): benchmark.rb: Process::CLOCK_MONOTONIC_RAW may be unavailable
- * lib/benchmark.rb (BENCHMARK_CLOCK): Process::CLOCK_MONOTONIC_RAW
is not supported on old linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:26 AM Feature #8923: Frozen nil/true/false
- Matz, what do you think about it?
-
02:49 AM Revision d723b930 (git): test_benchmark.rb: use assert_in_epsilon
- * test/benchmark/test_benchmark.rb (test_realtime_output): use
assert_in_epsilon which compares in relative range, instead of
assert_in_delta which compares in absolute range.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47329 ... -
02:38 AM Feature #10189: Coverage report with Simplecov
- Can we keep it out-of-tree and use it like rubyspec?
I may also extract the terminal-friendly coverage output of yahns
into a standalone gem, its only a few lines:
http://bogomips.org/yahns.git/plain/test/covshow.rb
http://bog... -
02:16 AM Feature #10189 (Closed): Coverage report with Simplecov
- I ported [simplecov](https://github.com/colszowka/simplecov) into ruby core for measurement of test coverage.
see. https://github.com/ruby/ruby/pull/708
simplecov is MIT license. we can bundle it to ruby. Can I merge it?
08/30/2014
-
11:58 PM Bug #10101: Zlib::GzipReader produce different outputs for different methods applied
- nagachika00@gmail.com wrote:
> I don't have time to investigate this right now.
> And zlib has no maintainer according to
> https://bugs.ruby-lang.org/projects/ruby/wiki/MaintainersStdlib
> Are there anyone who can handle this?
H... -
11:53 PM Bug #10101 (Closed): Zlib::GzipReader produce different outputs for different methods applied - Applied in changeset r47327.
----------
zlib: GzipReader#rewind preserves ZSTREAM_FLAG_GZFILE
* ext/zlib/zlib.c (gzfile_reset): preserve ZSTREAM_FLAG_GZFILE
[Bug #10101]
* test/zlib/test_zlib.rb (test_rewind): test each_byte
We mus... -
10:03 PM Bug #10101: Zlib::GzipReader produce different outputs for different methods applied
`read` returns a string with external encoding. In your case it seems to be `UTF-8`. The encodings of the given `IO` object are ignored. Using `Zlib::GzipReader.open` doesn't work either, by the way. It still ignores the b`, but as a...- 11:53 PM Revision 3bfd894a (git): * 2014-08-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:53 PM Revision 3cee6a22 (git): zlib: GzipReader#rewind preserves ZSTREAM_FLAG_GZFILE
- * ext/zlib/zlib.c (gzfile_reset): preserve ZSTREAM_FLAG_GZFILE
[Bug #10101]
* test/zlib/test_zlib.rb (test_rewind): test each_byte
We must preserve the ZSTREAM_FLAG_GZFILE flag to prevent
zstream_detach_buffer from:
a) returning Qni... -
10:30 PM Feature #7517: Fixnum::MIN,MAX
- Even if the use-cases aren't really convincing, I think the informational purpose alone is a good enough argument to add it. If you search for “ruby fixnum max” or something similar, you'll find the interest is there, but the solution(s)...
-
04:32 PM Bug #9607: Change the full GC timing
- Thank you ko1 for providing a patch to `ruby_2_1`. I can apply it cleanly.
Ant thank you eric for your confirmation.
Backported into `ruby_2_1` branch at r47326. -
04:29 PM Revision 478a0180 (git): merge revision(s) r46387: [Backport #9607]
- * gc.c: change full GC timing to keep lower memory usage.
Extend heap only at
(1) after major GC
or
(2) after several (two times, at current) minor GC
Details in https://bugs.ruby-lang.or... -
04:09 PM Bug #10127: WIN32OLE segfaults
- Backported into `ruby_2_1` branch at r47325.
-
04:09 PM Revision 9fa0d836 (git): merge revision(s) r47153: [Backport #10127]
- * ext/win32ole/win32ole.c (ole_create_dcom): use the converted
result if the argument can be converted to a string, to get rid
of invalid access. Thanks to nobu. [ruby-dev:48467] [Bug #10127]
git-svn-id: svn+ssh://c... -
04:05 PM Bug #9946: [Win32] redirection doesn't support non-codepage
- Backported into `ruby_2_1` branch at r47324.
-
04:04 PM Revision 6491d862 (git): merge revision(s) r46441: [Backport #9946]
- * process.c (open): use UTF-8 version function to support
non-ascii path properly. [ruby-core:63185] [Bug #9946]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:40 PM Feature #10173: Remove meaningless ensure
- The patch looks good to me.
But rubygems has upstream repository.
https://github.com/rubygems/rubygems/
Please report to it first. -
01:29 PM Revision b6c425aa (git): internal.h: WARN_UNUSED_RESULT
- * internal.h (WARN_UNUSED_RESULT): warn unused result by gcc 3.4
or later.
* symbol.c: declare some functions with WARN_UNUSED_RESULT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:30 AM Revision 765e4e2e (git): symbol.c (rb_sym2id): do not return garbage object
- The dynamic sym passed to rb_sym2id may be a garbage object
(as accounted for by dsymbol_check). This fixes an occasional
segfault in "make test-all" for me.
No need to backport, this is from the new symbol GC feature.
git-svn-id: svn... -
06:38 AM Bug #10188: Regression of Benchmark.realtime
- shibata.hiroshi@gmail.com wrote:
> I investigate this on Amazon Linux 2014.3
Is this shared machine/VM? What kernel config/version?
Kernel config may be in /proc/config.* , otherwise distros may put
kernel config in /boot/confi... -
05:56 AM Bug #10188 (Rejected): Regression of Benchmark.realtime
- After r47260, rubyci is sometimes failed. It seems to relate https://bugs.ruby-lang.org/issues/10165 .
* http://chkbuild001.hsbt.org/chkbuild/ruby-trunk/log/20140830T000025Z.fail.html.gz
* http://fb64b.rubyci.org/~chkbuild/ruby-tru... -
06:30 AM Feature #10186 (Rejected): configure の with-out-ext オプション
- 残念ながらautoconfの--without-*では引数を取れないのです。
-
05:36 AM Feature #10186: configure の with-out-ext オプション
- ごめんなさい。間違ってました。
--withext-out
じゃなくて
--without-ext
と書きたかったのでした。
--without-ext の方が --with-out-extより
単語の切れ目として自然だし英語として自然だからというのが根拠です。
-
01:55 AM Feature #10186: configure の with-out-ext オプション
- > ビルド対象から除外する拡張ライブラリを指定する configure のオプション
> ...
根拠が無いと比較できないのではないだろうか -
06:18 AM Revision 42e5ff99 (git): test_benchmark.rb: extend sleep time
- * test/benchmark/test_benchmark.rb: extend sleep time, as 1ms is
too short on some environments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:15 AM Revision 4274b797 (git): benchmark.rb: prefer Process::CLOCK_MONOTONIC_RAW
- * lib/benchmark.rb (BENCHMARK_CLOCK): prefer Process::CLOCK_MONOTONIC_RAW
if available to more accurate measure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:43 AM Feature #10187: minor iseq memory reductions
- Missed patch 2/2
-
01:42 AM Feature #10187 (Closed): minor iseq memory reductions
- Pretty trivial and low impact, but I figure we might as well reduce
memory footprint a few kilobytes where we can and let the reductions
accumulate. Feature #10185 has much bigger impact.
* [PATCH 1/2] iseq_inline_storage_entry: 24...
08/29/2014
-
11:10 PM Feature #10185: [PATCH] iseq: free untranslated iseq->iseq at compile
- Patch #2:
Subject: [PATCH] iseq (rb_iseq_t): remove iseq->iseq field
It is unnecessary and reduces transient malloc/free during compile.
For "ruby -e exit", valgrind reports over 300K reduction in
overall allocations.
before... -
09:24 PM Feature #10185 (Closed): [PATCH] iseq: free untranslated iseq->iseq at compile
- running "ruby -rpp -e 'pp GC.stat'", a reduction in
malloc usage is shown:
before:
:malloc_increase=>118784,
:oldmalloc_increase=>1178736,
after:
:malloc_increase=>99832,
:oldmalloc_increase=>1031976,
(numbers from x86-... -
10:28 PM Feature #10186 (Rejected): configure の with-out-ext オプション
- ビルド対象から除外する拡張ライブラリを指定する configure のオプション
が --with-out-extになっています。
個人的には、--withext-out の方がいいと思います。
win32/configure.bat は --withext-out になっています。 -
09:41 PM Revision 66d3b975 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: fix NameError dumping and
- loading. Fixes GH #85. Thanks @brentdax for the patch!
* test/psych/test_exception.rb: test for fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:24 PM Revision 8662841a (git): * ext/psych/lib/psych/scalar_scanner.rb: fix loading strings that
- look like integers but have a newline. Fixes GH #189
* test/psych/test_string.rb: test for fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:11 PM Revision 73645bb8 (git): * ext/psych/lib/psych/visitors/to_ruby.rb: merge keys with a hash
- should merge the hash in to the parent.
* test/psych/test_merge_keys.rb: test for change. Fixes GH #202
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:02 PM Revision 53220c49 (git): * 2014-08-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:02 PM Revision 7a5dedf2 (git): * ext/psych/lib/psych/visitors/to_ruby.rb: quoted "<<" strings
- should not be treated as merge keys.
* ext/psych/lib/psych/visitors/yaml_tree.rb: hashes with keys
containing "<<" should roundtrip.
* test/psych/test_merge_keys.rb: test for change. Fixes GH #203
git-svn-id: svn+ssh://ci.ruby-lang.or... -
06:36 PM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
- I liked has_key? but if matz prefers the other way I am fine,
and I like that there is a consistent definition there.
Making stdlib / corelib more consistent would be great, and hopefully
gem-installable in a modular way too, so
... -
06:33 PM Feature #10183: An alternative name for method `class`
- The problem with object_class is that it is longer than self.class
Remember that object_id used to be called id in the past before that was renamed.
-
02:02 PM Feature #10183: An alternative name for method `class`
- Thomas Sawyer wrote:
> I once suggested `object_class` to go along with `object_id`.
> ...
What is `__class__`? -
01:40 PM Feature #10183: An alternative name for method `class`
- I once suggested `object_class` to go along with `object_id`.
Also, see https://bugs.ruby-lang.org/issues/6478 which talks about `BasicObject#__class__`. -
12:52 PM Feature #10183 (Open): An alternative name for method `class`
- The method `class` is special in that it always has to have an explicit receiver in order to avoid crash with the keyword `class`. But this is very inconvenient. I have seen so many
self.class
in codes. I propose that there sho... -
06:30 PM Bug #10184: irb terminates with no method error
- Indeed. I have a similar error but different:
def !; end # => :!
/usr/lib/ruby/2.1.0/irb/init.rb:250:in `rc_file': private method `!' called for #<Proc:0x00000001a19338@/usr/lib/ruby/2.1.0/irb/init.rb:273> (NoMethodError)
... -
04:33 PM Bug #10184 (Closed): irb terminates with no method error
- When I input the following lines in irb, the irb terminates.
~~~
$ irb
irb(main):001:0> def !; end
=> :!
irb(main):002:0> !
/usr/local/lib/ruby/2.1.0/irb/input-method.rb:153:in `gets': private method `!' called for false:FalseCla... -
05:11 PM Bug #10167: Prime#include?(mod) hangs up
- It's difficult to delete `Prime.inlude?` method because this method is included by `include Enumerable`.
So, I overrided `Prime.include?` and `Prime.instance.include?`. Please review my patch. -
04:22 PM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
- (2014/08/29 10:20), nobu@ruby-lang.org wrote:
>> > I belive fstring codes in string.c.
> OK.
I like current code.
--
// SASADA Koichi at atdot dot net -
01:20 PM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
- Koichi Sasada wrote:
> I belive fstring codes in string.c.
OK.
~~~diff
diff --git i/eval.c w/eval.c
index f0a06fb..fbe17d0 100644
--- i/eval.c
+++ w/eval.c
@@ -52,7 +52,6 @@ ruby_setup(void)
Init_BareVM();
Init_h... -
08:53 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
- (2014/08/29 5:30), nobu@ruby-lang.org wrote:
>
> What about moving `fstring` stuffs to vm.c?
I belive fstring codes in string.c.
--
// SASADA Koichi at atdot dot net -
08:53 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
- nobu@ruby-lang.org wrote:
> What about moving `fstring` stuffs to vm.c?
Your patch looks good to me. ko1? -
08:30 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
- What about moving `fstring` stuffs to vm.c?
-
07:42 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
- (2014/08/29 4:24), Eric Wong wrote:
> OK, I made r47312. I kept the initialization changes since I think
> it was ugly to do lazy st_init_table (in case we need thread-safety
> in the future, using something like rculfhash (from Use... -
07:32 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
- ko1@atdot.net wrote:
> (2014/08/28 19:51), normalperson@yhbt.net wrote:
> > Cleanup in case MVM development proceeds.
>
> Now, mvm is stopping.
I am sad :*(
> I don't like to include vm_core.h only for such purpose. It ... -
06:53 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
- (2014/08/28 19:51), normalperson@yhbt.net wrote:
> Cleanup in case MVM development proceeds.
Now, mvm is stopping.
I don't like to include vm_core.h only for such purpose. It extends
dependency, taking long build time, and so o... -
06:33 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
- nobu@ruby-lang.org wrote:
> The dependency of string.o in common.mk will need `$(VM_CORE_H_INCLUDES)`.
Thanks, r47310.
I've been spoiled by automake :x -
06:30 AM Feature #10182 (Closed): [PATCH] string.c: move frozen_strings table to rb_vm_t - Applied in changeset r47310.
----------
string.c: move frozen_strings table to rb_vm_t
Cleanup in case MVM development proceeds.
* string.c: remove static frozen_strings
* string.c (Init_frozen_strings): new function
* string.c (rb_fs... -
02:17 AM Feature #10182: [PATCH] string.c: move frozen_strings table to rb_vm_t
- The dependency of string.o in common.mk will need `$(VM_CORE_H_INCLUDES)`.
-
09:03 AM Feature #10181: New method File.openat()
- nobu@ruby-lang.org wrote:
> I don't think it is possible to emulate `openat` family by FD in user space.
> So adding `rb_cloexec_open2()` is a bad idea, IMHO, not only its name.
Right, we cannot emulate `openat`; this needs kernel ... -
08:53 AM Feature #10181: New method File.openat()
- Joel VanderWerf <joelvanderwerf@gmail.com> wrote:
> On 08/29/2014 01:21 AM, Eric Wong wrote:
> >Joel VanderWerf <joelvanderwerf@gmail.com> wrote:
> >>On 08/29/2014 12:55 AM, Eric Wong wrote:
> >>>Joel VanderWerf <joelvanderwerf@gmai... -
08:44 AM Feature #10181: New method File.openat()
- I don't think it is possible to emulate `openat` family by FD in user space.
So adding `rb_cloexec_open2()` is a bad idea, IMHO, not only its name. -
08:23 AM Feature #10181: New method File.openat()
- Joel VanderWerf <joelvanderwerf@gmail.com> wrote:
> On 08/29/2014 12:55 AM, Eric Wong wrote:
> >Joel VanderWerf <joelvanderwerf@gmail.com> wrote:
> >>On 08/28/2014 02:53 PM, Eric Wong wrote:
> >>>I like this feature.
> >>>
> >>>If... -
08:03 AM Feature #10181: New method File.openat()
- Joel VanderWerf <joelvanderwerf@gmail.com> wrote:
> On 08/28/2014 02:53 PM, Eric Wong wrote:
> >I like this feature.
> >
> >If matz approves, I assume you also want to add other *at functions?
> >e.g. fstatat, renameat, unlinkat, m... -
08:57 AM Revision 7df9a77d (git): * test/net/imap/test_imap_response_parser.rb: removed needless code.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:37 AM Revision f587cf79 (git): * test/rinda/test_rinda.rb: removed useless assignment variables.
- * test/rss/rss-assertions.rb: ditto.
* test/rss/test_maker_itunes.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:22 AM Revision 343f8b02 (git): string.c: remove vm_core.h dependency [ruby-core:64627]
- * string.c: revert part of r47311, add rb_vm_fstring_table(),
remove vm_core.h dependency. [ruby-core:64627]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:30 AM Revision 2bb4c268 (git): * 2014-08-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:30 AM Revision a1e95636 (git): string.c: move frozen_strings table to rb_vm_t
- Cleanup in case MVM development proceeds.
* string.c: remove static frozen_strings
* string.c (Init_frozen_strings): new function
* string.c (rb_fstring): remove check for frozen strings,
use per-VM table
* string.c (rb_str_free): use... -
03:26 AM Bug #10164 (Closed): Reproducable segfault for 2.1
- Hello, Genadi. Thank you for your report.
And thank you shibata san for your investigation.
Maybe this was already fixed by backport for #9454, #9828.
I'll close this ticket. -
01:30 AM Bug #10162 (Feedback): Error while installing ruby 2.1.2 on freebsd
- Hello, yogesh. Thank you for your report.
Please show us command line options to configure.
And could you try to reproduce with trunk?
08/28/2014
-
10:51 PM Feature #10182 (Closed): [PATCH] string.c: move frozen_strings table to rb_vm_t
- Cleanup in case MVM development proceeds.
-
09:55 PM Feature #10181: New method File.openat()
- I like this feature.
If matz approves, I assume you also want to add other *at functions?
e.g. fstatat, renameat, unlinkat, mkdirat, etc. -
09:45 PM Feature #10181 (Open): New method File.openat()
- The purpose of the openat() function is to enable opening files in directories other than the current working directory without exposure to race conditions. Any part of the path of a file could be changed in parallel to a call to open(),...
-
08:14 PM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
- @ Mr. Benoit Daloze
oh.. Yes, that's what I meant!
Thank you. -
12:29 PM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
- I guess your second sentence is meant the other way round:
"And I agree with him, I supposed Hash#key? should be preferred over Hash#has_key?, " -
02:44 PM Misc #10178: refinements unactivated within refine block scope?
- I had posted some more code but remembered "send" doesn't apply yet! Sorry for my confusion. Any plans on indirect method access?
-
01:33 PM Misc #10178: refinements unactivated within refine block scope?
- Nobuyoshi Nakada wrote:
> In general, the scope inside a method definition is different from outside.
> ...
So I was correct, in that `refine` invokes a different scope where the refinements aren't activated? Ok, cool.
That's kind o... -
06:23 AM Misc #10178 (Closed): refinements unactivated within refine block scope?
- In general, the scope inside a method definition is different from outside.
Consider method arguments and class/module level local variables. -
03:03 AM Misc #10178: refinements unactivated within refine block scope?
- Here is an executable version of what I was roughing out above, I apologize for not vetting it beforehand to prevent confusion:
~~~ruby
require 'active_support/core_ext'
module A
refine Time do
def weekday
self.strfti... -
02:50 AM Misc #10178: refinements unactivated within refine block scope?
- Nobuyoshi Nakada wrote:
> I can't get your point.
> ...
Yes, I mistakenly left out the "do" after `refine ActiveSupport::Time` (which should be `ActiveSupport::TimeWithZone`) and `refine Time`, with it the code does indeed work, and my... -
02:44 AM Misc #10178 (Feedback): refinements unactivated within refine block scope?
- I can't get your point.
`Module#refine` requires a block, so your code doesn't work, simply. -
02:10 AM Misc #10178 (Closed): refinements unactivated within refine block scope?
- I doubt I am seeing a bug, but I was hoping someone could clarify for me the reason why I am seeing what I see. I tried pouring over the spec and wasn't quite able to pin it down.
My use case of refinements is not the normal one, so t... -
01:56 PM Revision dacc19e4 (git): io.c: fix uninitialized variable
- * io.c (argf_next_argv): fix uninitialized variable in skipping
message when inplace edit without backup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:01 PM Revision 8e99842d (git): test_io.rb: non UTF-8 pattern
- * test/ruby/test_io.rb: (test_invalid_advise): fix pattern for non
UTF-8 environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:23 AM Bug #9154: Support for OpenSSL with MD5 disabled for certificate verification
- Actually, 1.9.3 is affected by this issue as well.
-
11:17 AM Bug #9154: Support for OpenSSL with MD5 disabled for certificate verification
- This seems to be fixed by r46899, r46903 and r46904, backported for Ruby 2.1 by r46908, but it would be nice to have this also in Ruby 2.0, since that is the version officially shipped with RHEL/CentOS 7.
-
11:12 AM Bug #10180 (Rejected): #to_hash vs. #to_h
- Ruby often has two conversion methods for an object, e.g. #to_s and #to_str, #to_i and #to_int, #to_h and #to_hash.
The former is used for explicit conversion, the latter is used for implicit conversion (from an object with identical me... -
10:54 AM Bug #10180 (Rejected): #to_hash vs. #to_h
- The class Hash has a method try_convert, that is documented as "Try to convert obj into a hash, using #to_hash method." Surpisingly, the Array class doesn't have a method to_hash, but it does have a method to_h which converts it into a H...
-
08:27 AM Revision 9c639efb (git): test_io_m17n.rb: leaked FDs
- * test/ruby/test_io_m17n.rb (test_ignored_encoding_option): fix
leaked file descriptors by r47305.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:18 AM Revision 58c2571b (git): io.c: preserve encodings
- * io.c (argf_next_argv): preserve encodings in warning messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:55 AM Revision ffa153f2 (git): io.c: preserve encodings
- * io.c (rb_io_extract_encoding_option): preserve encodings in
warning messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:55 AM Revision 7a4f7046 (git): * 2014-08-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:55 AM Revision cdacaa0a (git): io.c: preserve encodings
- * io.c (advice_arg_check): preserve encodings in warning messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:55 AM Revision 20da2394 (git): io.c: preserve encodings
- * io.c (rb_io_s_new): preserve encodings in warning messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:45 AM Feature #10123: Named capture groups don't set local vars when matched using ~
- I'm not sure if this should be a bug or a new feature.
-
03:10 AM Feature #10179: Net::HTTP::Get.new("https://google.com").basic_auth(user_name, password) should throw exception stating the need to set use_ssl to true
- shankga@gmail.com wrote:
> Alternatively Net::HTTP could just detect https urls and do this for you.
This sounds good. I cannot think of any downside... -
02:39 AM Feature #10179 (Open): Net::HTTP::Get.new("https://google.com").basic_auth(user_name, password) should throw exception stating the need to set use_ssl to true
- Alternatively Net::HTTP could just detect https urls and do this for you.
I suggest:
raise Exception("Accessing https without ssl\n url:#{URL}\n Please use http.use_ssl = true") -
02:12 AM Bug #10159 (Assigned): Ruby 2.x Syslog::Logger is newer than the one in Rubygems but version is the same
-
01:21 AM Feature #2324: Dir instance methods for relative path
- Related PR: [GH-706](https://github.com/ruby/ruby/pull/706)