Activity
From 12/03/2014 to 12/09/2014
12/09/2014
-
08:47 PM Bug #10582: String#chomp strips off more newlines than its documentation states
- Looks good to me. Thanks!
-
12:27 PM Bug #10582: String#chomp strips off more newlines than its documentation states
- I merged https://github.com/ruby/ruby/pull/780
-
02:49 AM Bug #10582 (Assigned): String#chomp strips off more newlines than its documentation states
-
02:32 AM Bug #10582 (Closed): String#chomp strips off more newlines than its documentation states
- Given an empty string as its parameter, String#chomp strips off as many trailing newlines as are present, plus a prec...
- 05:51 PM Revision bf4b7f3b (git): * test/net/http/test_https.rb
- (TestNetHTTPS#test_certificate_verify_failure): on Windows,
Errno::ECONNRESET will be raised when the verify is fai... -
05:44 PM Bug #10583 (Rejected): Process.spawn stalls forever opening named pipes (fifo)
- Ruby's implementation of Process.spawn seems to attempt to send error/success information from the spawned process ba...
-
03:44 PM Feature #10575 (Closed): [RFC] struct: avoid all O(n) behavior on access
- Applied in changeset r48748.
----------
struct: avoid all O(n) behavior on access
This avoids O(n) on lookups with ... -
08:52 AM Feature #10575: [RFC] struct: avoid all O(n) behavior on access
- Looks fine.
- 03:44 PM Revision 9d237f43 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:44 PM Revision 45210a36 (git): * 2014-12-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:43 PM Revision 65651b34 (git): struct: avoid all O(n) behavior on access
- This avoids O(n) on lookups with structs over 10 members.
This also avoids O(n) behavior on all assignments on Struct... -
11:24 AM Revision 93db27d5 (git): * string.c: [DOC] Add missing documentation around String#chomp.
- Patchby @stderr [ci skip][fix GH-780]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48747 b2dd03c8-39d4-4d8f-98f... -
09:20 AM Bug #10526 (Closed): [DOC] Revise documentation in object.c
- Applied in changeset r48746.
----------
object.c: [DOC] Revise documentation
* object.c: [DOC] Revise documentation... -
09:20 AM Revision 9e256261 (git): object.c: [DOC] Revise documentation
- * object.c: [DOC] Revise documentation by Marcus Stollsteimer at
[ruby-core:66368]. [Bug #10526]
* #inspect: be ... -
04:27 AM Bug #10450: multiple assignment in conditional
- Yukihiro Matsumoto wrote:
>
> But I am afraid it's meaningless, since multiple assignment always return an array a... -
03:48 AM Revision 3992aaa3 (git): vm_eval.c: fix `rb_eval_string_wrap` rdoc
- * vm_eval.c (rb_eval_string_wrap): [DOC] Fix `rb_eval_string_wrap`
documentation. It is referencing `require` inst... -
01:16 AM Bug #10579 (Closed): Segmentation fault at 0x00000000000000
- Applied in changeset r48744.
----------
thread.c: get rid of invalid ID symbol
* eval.c (rb_frame_last_func): retur... -
01:16 AM Revision 42879154 (git): thread.c: get rid of invalid ID symbol
- * eval.c (rb_frame_last_func): return the most recent frame method
name.
* thread.c (recursive_list_access): use th... - 01:05 AM Revision 1b13e1e6 (git): * 2014-12-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:05 AM Revision 3b0ca105 (git): ruby.c: do not modify shared string
- * ruby.c (ruby_init_loadpath_safe): get rid of modify shared
string directly.
git-svn-id: svn+ssh://ci.ruby-lang.o...
12/08/2014
-
11:48 PM Bug #10579: Segmentation fault at 0x00000000000000
- One of the simplest code to reproduce it is:
~~~
$ ruby -e '{["foo"]=>nil}; p Thread.current[:__recursive_key__]'... -
09:12 PM Bug #10579: Segmentation fault at 0x00000000000000
- Not only openssl.so, resolv.rb too.
The cause is `exec_recursive` used by `rb_hash_any` stores the current method ... -
02:12 PM Bug #10579: Segmentation fault at 0x00000000000000
- The root cause of this issue is openssl.so.
~~~
C:\>ruby -ropenssl.so -e "ObjectSpace.each_object{|obj| p obj}"
... -
12:54 PM Bug #10579 (Closed): Segmentation fault at 0x00000000000000
- Following script cause a Segmentation fault
~~~
$ ruby -rresolv -e 'ObjectSpace.each_object { |obj| p obj }' > te... -
10:20 PM Bug #10581 (Rejected): OpenSSL::ASN1 fails to decode DKIM public keys
- Recently I needed to decode a DKIM public key. I found that OpenSSL::ASN1 failed to decode the key, while Krypt::ASN1...
-
08:44 PM Feature #10499: Eliminate implicit magic in Proc.new and Kernel#proc
- Adding a deprecation warning would be easy if we can get buy-in from matz.
matz: ball's in your court, I think! -
08:20 PM Bug #10564: DelegateClass, method_missing, and instance_eval -- different behavior in ruby 2.1
- Okay, thanks.
What I don't understand is, if `method_missing` is not defined in the `< DelegateClass(Object)` cla... -
04:24 PM Bug #10580 (Closed): TestProcess#test_deadlock_by_signal_at_forking fails on ARM
- Testing with Fedora Rawhide:
~~~
1) Error:
TestProcess#test_deadlock_by_signal_at_forking:
Timeout::Error: ex... -
01:40 PM Feature #10510: Remove REXML instead of patching it
- Erik Michaels-Ober wrote:
> I believe semantic versioning prevents doing this until Ruby 3 is released (many years f... -
01:05 PM Bug #9249: Ruby incorrectly inspects opaque libc jmp_buf for pointers to heap during GC.
- Was this resolved somehow? Testing this on Fedora 20, where the FP mangling was enabled [1], Ruby 2.0.0 fails:
htt... -
10:09 AM Bug #10578 (Closed): Allow undefining methods in refinements
- Since refinements are locally scoped monkey patches, and it is possible and useful to undef a method globally, I thin...
-
09:42 AM Bug #10450: multiple assignment in conditional
- Multiple assignment returns the object on the right hand side, *before* `to_ary` is called on it:
~~~Ruby
irb(mai... - 04:18 AM Revision 3af8e150 (git): * 2014-12-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:18 AM Revision 07bb8b4c (git): struct.c: trivial optimization
- * struct.c (rb_struct_set): get rid of calling rb_frame_this_func
twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
02:00 AM Bug #10466: rb_eval_string_wrap does not actually wrap in a module binding
- You can reproduce this without C code also.
```ruby
Module.new {X = 5} #=> #<Module:0x000000012186c0>
Module.ne...
12/07/2014
-
07:26 PM Bug #10450: multiple assignment in conditional
- Yukihiro Matsumoto wrote:
>
> But I am afraid it's meaningless, since multiple assignment always return an array a... -
03:34 PM Bug #10450 (Rejected): multiple assignment in conditional
- It's a limitation of LALR syntax defined by yacc.
Wrap the multiple assignment in parentheses.
```
if (a,b = 1,2... -
05:40 PM Bug #10317: JSON::State is not using the parameter space_before
- Sent pull request to the JSON implementation repo:
https://github.com/flori/json/pull/225 -
02:01 PM Revision f975d115 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:59 PM Revision f53a1931 (git): * test/net/imap/test_imap.rb (ImapTest#imaps_test): forced error on SSL sockets
- causes Errno::ECONNRESET or Errno::ECONNABORTED instead of Errno::EPIPE on
Windows.
git-svn-id: svn+ssh://ci.rub... -
01:03 PM Bug #10577 (Rejected): Confusing behavior of File.open with bad filenames in windows
- Google "NTFS Alternate Data Streams".
-
12:44 PM Bug #10577 (Rejected): Confusing behavior of File.open with bad filenames in windows
- I've used a colon in a filename in my script and confronted with a confusing behavior when ran program in windows. Ru...
-
10:40 AM Revision eebb6bfc (git): * ext/socket/basicsocket.c, ext/socket/sockssocket.c:
- remove code for $SAFE=4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:40 AM Revision c6380006 (git): known_classes.rb: remove DL
- * lib/rdoc/known_classes.rb: reverted regression changes of rdoc
known class.
git-svn-id: svn+ssh://ci.ruby-lang.o... - 02:20 AM Revision 512705e6 (git): io.c: Typo close -> closes.
- Patch by @cirosantilli [Fixes GH-757]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48735 b2dd03c8-39d4-4d8f-98f... - 01:22 AM Revision b75be6b7 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:22 AM Revision 4b0ebe8f (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:22 AM Revision 4260aa1d (git): * lib/rdoc: Update to RDoc 4.2.0.
- * test/rdoc: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:53 AM Revision 7d2d6d0a (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:53 AM Revision 04a79e46 (git): * 2014-12-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:53 AM Revision 97f80207 (git): * lib/rubygems: Update to RubyGems 2.4.5.
- * test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/06/2014
-
07:20 PM Bug #10576: [DOC] Several fixes for the BigDecimal documentation
- Patch 3:
Improve documentation for #round and #truncate. -
01:56 PM Bug #10576 (Closed): [DOC] Several fixes for the BigDecimal documentation
- Patch 1:
Clarify the return value types of abs, fix, and frac.
(They return the results as a BigDecimal; target... -
07:14 PM Bug #10450: multiple assignment in conditional
- It seems wierd to me that this is a syntax error.
~~~
def foo
a,b = (1,2)
end
if foo
put 'hello'
end
~~... -
02:01 PM Bug #10569: BigDecimal#fix returns a BigDecimal object instead of a Integer
- I submitted a patch that clarifies the documentation accordingly, see issue #10576 (and provides some additional impr...
-
01:13 AM Revision a0b80a44 (git): * lib/net/imap.rb: Fix undefined variable usage & refactor/DRY
- code. Patch by @aledovsky. [Fixes GH-770]
* test/net/test_imap.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lan... - 01:10 AM Revision f9e3213f (git): thread.c (do_select): rename parameters to avoid shadowing
- Sometimes we may use write(2) syscalls for debugging inside
this function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
12:31 AM Feature #10575 (Closed): [RFC] struct: avoid all O(n) behavior on access
- This avoids O(n) on lookups with structs over 10 members.
This also avoids O(n) behavior on all assignments on Struc... -
12:22 AM Revision e2bbfaa6 (git): * lib/rake: Update to rake 10.4.2
- * test/rake: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/05/2014
- 09:49 PM Revision e70210ca (git): compile.c (rb_iseq_build_from_ary): remove misc handling
- iseq->local_size is calculated, too, along with stack_size and
param.size, meaning there is no need to blindly load v... -
09:37 PM Revision dd155e02 (git): ruby.c: no safe_level 4
- * ruby.c (process_options): safe_level 4 was removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48724 b2dd03... -
09:14 PM Bug #10572 (Closed): configure with custom ruby-version does not work
- Applied in changeset r48723.
----------
configure.in: fix --with-ruby-version [ci skip]
* configure.in (RUBY_LIB_VE... -
12:51 PM Bug #10572 (Closed): configure with custom ruby-version does not work
- ~~~
$ configure --with-ruby-version=foo
...
snip
...
$ make
...
snip
...
In file included from loadpath.... -
09:14 PM Revision deba55eb (git): configure.in: fix --with-ruby-version [ci skip]
- * configure.in (RUBY_LIB_VERSION): Fix --with-ruby-version
configuration option. get rid of quoting in config.stat... -
08:43 PM Revision 4a69c35c (git): io.c: fix rdoc [ci skip]
- * io.c (Init_IO): ARGF is not a class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48722 b2dd03c8-39d4-4d8f-98... -
08:37 PM Feature #10574 (Assigned): Add String#lchomp and String.lchomp!
- With the expected behavior, i.e.
~~~
irb(main):013:0> 'foobar'.lchomp('foo')
=> "bar"
irb(main):014:0> 'foobar'... - 07:48 PM Revision d0352860 (git): * test/test_pp.rb (PPTestModule::PPFileStatTest): test for r48719.
- is this the right place here?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48721 b2dd03c8-39d4-4d8f-98ff-823f... - 07:35 PM Revision b614474e (git): * 2014-12-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:35 PM Revision d2cee782 (git): * lib/pp.rb (File::Stat#pritty_print): some platforms (such as Windows)
- does not have major/minor parts of device.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48719 b2dd03c8-39d4-4d... -
05:05 PM Bug #10573 (Rejected): bigdecimal, io-console and json gems update error
- There is a known issue of Ruby 1.9.3 and RubyGems 2.4.x:
- https://groups.google.com/forum/#!topic/rubyinstaller/2... -
04:59 PM Bug #10573 (Rejected): bigdecimal, io-console and json gems update error
- Environment:
OS: Win7 Ent SP1 x64
Ruby: 1.9.3p545
gem: 2.4.5
DevKit: DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
... -
01:43 PM Revision e599d8d1 (git): * ext/psych/lib/psych.rb: bump version to 2.0.8
- * ext/psych/psych.gemspec: ditto.
* ext/psych/psych_emitter.c: ditto.
* ext/psych/psych_parser.c: ditto.
git-svn-id:... -
11:37 AM Revision 8a7690a5 (git): test_rubyoptions.rb: non-codepage names glob
- * test/ruby/test_rubyoptions.rb (test_command_line_glob_noncodepage):
more assertion for fallback replacement on no... -
10:35 AM Revision bbd0c7a3 (git): test_rubyoptions.rb: non-codepage names glob
- * test/ruby/test_rubyoptions.rb (test_command_line_glob_noncodepage):
test for command line globbing on non-codepag... -
09:57 AM Feature #10571: Keyword arguments with local variable
- @Yukihiro Matsumoto san
Thank you so much. It does make sense, I need to more deepen understanding your language.
... -
09:10 AM Feature #10571: Keyword arguments with local variable
- You can define a method shares the scope with the outside by `define_method`.
-
06:06 AM Feature #10571 (Closed): Keyword arguments with local variable
-
06:06 AM Feature #10571: Keyword arguments with local variable
- `var` is a local variable in the class scope, which cannot be accessed from the method. a method has independent scop...
-
06:05 AM Feature #10571: Keyword arguments with local variable
- Ops.. not only Keyword arguments also other arguments with default value has same behavior.
I suppose there must b... -
05:53 AM Feature #10571 (Closed): Keyword arguments with local variable
- It's kind of curiosity. As far as I searched, I couldn't get sensible reason.
Please give me information if you have... -
09:35 AM Revision da2f1a2d (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:08 AM Bug #10568: segmentation fault after pack & ioctl & unpack
- Sorry, forgot to explicitly mention that this is running on linux and that sudo is required to run the snippet (becau...
-
08:09 AM Revision c2fb27ac (git): socket/option.c: fix inet_ntop link error on mswin
- * ext/socket/option.c (inet_ntop): link aliased inet_ntop in
libruby on mswin not rb_w32_inet_ntop which fails to l... -
07:28 AM Feature #10570: Allow `+=` etc. to be methods
- Yukihiro Matsumoto wrote:
> `Array#[]=` can be defined by alternation of elements of an array, which does not contai... -
12:57 AM Feature #10570: Allow `+=` etc. to be methods
- `Array#[]=` can be defined by alternation of elements of an array, which does not contain any assignment to variables...
-
12:56 AM Feature #10570: Allow `+=` etc. to be methods
- David MacMahon wrote:
> Yukihiro Matsumoto wrote:
> > For example, how can we define `Integer#+=`?
>
> Immutable... -
12:48 AM Feature #10570: Allow `+=` etc. to be methods
- Thanks for your thoughtful reply!
Yukihiro Matsumoto wrote:
> `a+=b` is a short hand form of `a = a + b` by defin... -
12:15 AM Feature #10570 (Rejected): Allow `+=` etc. to be methods
- `a+=b` is a short hand form of `a = a + b` by definition. It's fundamentally an assignment. Target of assignment (inc...
-
03:39 AM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- nobu: any comment? Should I commit my original patch? Thanks.
We'll also need to investigate why Alex's test co... -
03:21 AM Bug #9580: Refinements regression in IRB
- I'm embarrassed that I missed these responses to my bug report. I had forgotten that I had created this issue. Sorry!...
-
02:58 AM Misc #10541: Remove shorthand string interpolation syntax
- Recursive Madman wrote:
> Did you also check what character followed those interpolations? e.g. "#{@foo}bar" wouldn'... -
02:10 AM Feature #10565 (Closed): [cleanup] remove unused rb_iseq_new_with_bopt
- Applied in changeset r48713.
----------
iseq.c: remove unused rb_iseq_new_with_bopt
* iseq.c (prepare_iseq_build): ... - 02:10 AM Revision d71c745b (git): iseq.c: remove unused rb_iseq_new_with_bopt
- * iseq.c (prepare_iseq_build): remove unused block_opt param
(rb_iseq_new_with_bopt_and_opt): remove
(rb_iseq_new... -
12:46 AM Revision cbdac1ea (git): parse.y: fix lex_state after tLABEL_END
- * parse.y (parser_yylex): fix lex_state after tLABEL_END, should
be EXPR_LABELARG to be followed by "paren with arg...
12/04/2014
-
10:49 PM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
- I think the name #path should always refer to a #path of sorts using it as #filename is kind of odd. Which is a big r...
-
07:22 PM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
- I'd like to have some extra clarification on this matter as well. Right now in Rubinius we return _just_ the filename...
-
10:30 PM Feature #10570 (Rejected): Allow `+=` etc. to be methods
- In MRI, it is currently possible to create `#+=` methods in C extensions and even `+=` aliases for existing methods i...
-
07:28 PM Feature #4276: Allow use of quotes in symbol syntactic sugar for hashes
- Hi, any reason it doesn't work with inner hashes or arrays?
```
{ foo: {} } # => {:foo=>{}}
{ 'foo': {} }
# Syn... -
06:35 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
- Brian Hempel wrote:
> Sometimes code libraries forget to make a separate object for every error
This was, in fact... -
04:38 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
- You’re right there may be some risk for anti-patterns, but from my experience this example in the original proposal i...
-
08:24 AM Feature #10481: Add "if" and "unless" clauses to rescue statements
- Any update on this? Is this just waiting for 2.2 to make it out the door?
-
06:31 PM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
- David MacMahon wrote:
> Maybe this could become a feature request to allow `<OP>=` to be methods instead of just syn... -
05:11 PM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
- I imagine that Python also lets one override the `+=` method. I think this is impossible on Ruby because I think it ...
-
08:55 AM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
- Of note, Python does implement `+=` this way. `+=` is (almost) an alias for `list.extend`:
~~~
>>> x = []
>>> y ... -
06:28 PM Bug #10569 (Rejected): BigDecimal#fix returns a BigDecimal object instead of a Integer
- It returns the integer part as a `BigDecimal`.
-
04:14 PM Bug #10569: BigDecimal#fix returns a BigDecimal object instead of a Integer
- Seems that Python works the same way. Probably is not a bug:
~~~
>>> decimal.Decimal(7).imag
Decimal('0')
>>> d... -
03:56 PM Bug #10569: BigDecimal#fix returns a BigDecimal object instead of a Integer
- BigDecimal, sorry for the typo :)
I'm pasting again the example because some chars were deleted in the original re... -
03:51 PM Bug #10569 (Rejected): BigDecimal#fix returns a BigDecimal object instead of a Integer
- According docs (http://www.ruby-doc.org/stdlib-2.1.5/libdoc/bigdecimal/rdoc/BigDecimal.html#method-i-fix): fix metho...
-
06:25 PM Bug #10566: Failure to compile ruby-trunk via mingw-w64 on linux
- Nobuyoshi Nakada wrote:
> Applied in changeset r48711.
>
> ----------
> extmk.rb: no EXTOBJS to main if enable-s... -
05:42 PM Bug #10566: Failure to compile ruby-trunk via mingw-w64 on linux
- Ah, one second. Some of the redundancy is due to archlinux shipping a pair of configure wrapper scripts to make loopi...
-
05:28 PM Bug #10566 (Closed): Failure to compile ruby-trunk via mingw-w64 on linux
- Applied in changeset r48711.
----------
extmk.rb: no EXTOBJS to main if enable-shared
* ext/extmk.rb: as all extens... -
04:39 PM Bug #10566 (Feedback): Failure to compile ruby-trunk via mingw-w64 on linux
- Could you show your exts.mk file?
And...
* --enable-static is not a valid option
* --disable-install-doc impli... -
08:10 AM Bug #10566: Failure to compile ruby-trunk via mingw-w64 on linux
- my configure command:
configure_args=' '\''--host=i686-w64-mingw32'\'' '\''--target=i686-w64-mingw32'\'' '\''--build... -
08:05 AM Bug #10566 (Closed): Failure to compile ruby-trunk via mingw-w64 on linux
- =begin
Greetings;
In my quest for optimizing my network usage (very slow connection), I've been migrating my
arc... -
05:38 PM Bug #10558: failing require digest.so on OSX statically compiled ruby
- it's few libraries, most important here `openssl 1.0.1j`:
~~~
CFLAGS="-fPIC" LDFLAGS="-fPIC" ./Configure darwin6... -
05:27 PM Revision 1e6a1012 (git): extmk.rb: no EXTOBJS to main if enable-shared
- * ext/extmk.rb: as all extension objects including initializations
of ext and enc shouild be linked to libruby if e... - 05:10 PM Revision 34c3ac0e (git): * 2014-12-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:09 PM Revision 10cd530e (git): socket/option.c: use rb_w32_inet_ntop
- * ext/socket/option.c (inet_ntop): the fallback implementaion is
always available on Windows.
git-svn-id: svn+ssh:... -
02:01 PM Bug #10568 (Closed): segmentation fault after pack & ioctl & unpack
- This snippet produces a segmentation fault on rubies on ruby_2_1 branch from git commit [1]
onwards and ruby_2_0_0 b... -
11:30 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Koichi Sasada wrote:
> Ok, I understand the reason.
>
> For each hash access, new Hash object are created each ti... -
10:31 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Ok, I understand the reason.
For each hash access, new Hash object are created each time.
You can check this beha... -
10:27 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Perhaps there is some VM optimization? As for the test: I've just mimic the code we have in debase native code, I do...
-
10:21 AM Bug #10511: fix for #9940 causes dramatic performance regression
- I understood.
First hash (Hash.new) contains empty st table.
Second hash ({}) does not have st table (NULL).
S... -
10:12 AM Bug #10511: fix for #9940 causes dramatic performance regression
- I found strange behaviour.
Using Hash.new, it is slow as you say:
```
Hash.new
ruby 2.2.0dev (2014-12-02 trun... -
09:35 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Eric Wong wrote:
> Oops, [Feature #9425] (power-of-two hash sizes :)
If the problem is in implementation of hash ... -
06:48 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Oops, [Feature #9425] (power-of-two hash sizes :)
-
05:21 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Eric Wong wrote:
> Oops, OK. I was suspicious of [Feature #9325] hurting performance
> (for cases where a hash fu... -
05:08 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Oops, OK. I was suspicious of [Feature #9325] hurting performance
(for cases where a hash function needs tuning). -
04:30 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Eric Wong wrote:
> [email protected] wrote:
> > I think I've found one more source of performance degradation:
> ... -
10:28 AM Bug #10567 (Closed): A fiber issue with `autoload`: `fiber called across stack rewinding barrier (FiberError)`
- We have two ruby files as following:
test.rb
autoload :User, './user.rb'
f = Fiber.new do
p U... -
09:37 AM Feature #10565: [cleanup] remove unused rb_iseq_new_with_bopt
- No problem.
Thanks. -
12:22 AM Feature #10565 (Closed): [cleanup] remove unused rb_iseq_new_with_bopt
- OK to remove? Or is block-inlining to be resurrected in the future?
rb_iseq_new_with_bopt seems unused and block_... -
08:21 AM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- I'm no longer able to reproduce the issue on trunk, so this looks fine. I tested both patches and Eric's does indeed ...
-
01:13 AM Feature #4147: Array#sample で重みを指定したい
- Yui NARUSE wrote:
> わたしの知る限りでは進捗ないと思います。
> うらべさん、あるいは他のどなたか何かありますか?
進捗ダメです。
このスレッドのコメント#1でも書きましたが実装があると話が大幅に進...
12/03/2014
-
11:34 PM Bug #10564 (Closed): DelegateClass, method_missing, and instance_eval -- different behavior in ruby 2.1
- It's not a bug.
Delegator which is superclass of DelegateClass, is a subclass of BasicObject, not Object, so that ... -
03:23 PM Bug #10564: DelegateClass, method_missing, and instance_eval -- different behavior in ruby 2.1
- Oh, and you can note `Kernel.raise` and `Kernel.puts` in the reproduction -- this was neccesary to actually access `r...
-
03:22 PM Bug #10564 (Closed): DelegateClass, method_missing, and instance_eval -- different behavior in ruby 2.1
- This is an odd one, I don't completely understand. But there is different behavior in ruby 2.0 vs 2.1, and the 2.0 be...
-
11:25 PM Revision bc0f1312 (git): prelude.c.tmpl: require_relative
- * template/prelude.c.tmpl (Prelude#translate): support for
require_relative and comments followed by #.
git-svn-id... -
11:24 PM Revision f64ba5d5 (git): iseq_load.c: rb_path2class
- * ext/-test-/iseq_load/iseq_load.c (Init_iseq_load): use
rb_path2class.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... -
11:08 PM Bug #10511: fix for #9940 causes dramatic performance regression
- [email protected] wrote:
> I think I've found one more source of performance degradation:
I cannot reproduce the... -
11:39 AM Bug #10511: fix for #9940 causes dramatic performance regression
- I think I've found one more source of performance degradation:
in debase we keep contexts for threads in hash and on... -
10:17 PM Bug #8543 (Closed): new rb_iseq_load crash
- Applied in changeset r48705.
----------
mostly fix rb_iseq_load
This allows reporters commenters of [Feature #8543]... - 10:17 PM Revision 14b42c28 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:16 PM Revision 9581954a (git): mostly fix rb_iseq_load
- This allows reporters commenters of [Feature #8543] to load
instruction sequences directly. Some test cases are stil... - 10:03 PM Revision 0c662b34 (git): iseq.c: avoid segfault on incomplete iseq
- Compile failures will trigger iseq_free before
iseq->callinfo_entries are allocated at all.
* iseq.c (iseq_free): av... -
09:49 PM Feature #10017: Add `Hash#fetch_values`
- I submitted PR for this change: https://github.com/ruby/ruby/pull/776 calling the method `fetch_values`.
- 07:20 PM Revision ddc4cd4a (git): * 2014-12-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:20 PM Revision 14b56401 (git): load.c: reset errinfo
- * load.c (ruby_require_internal): ignore error detail, just return
an error.
git-svn-id: svn+ssh://ci.ruby-lang.or... -
02:39 PM Revision 9a12b5ae (git): load.c: defer static linked ini
- * load.c (register_init_ext, ruby_init_ext): defer running the
registered initialization function until required, n... -
01:58 PM Bug #10460: Segfault instead of stack level too deep
- I've got similar snippet:
~~~
describe "SEGV" do
let(:foo) do
foo
end
it "crashes" do
foo
... -
08:21 AM Bug #9759: [TracePoint API] return event missing when raising exception
- Did you get the chance to have a look at this, ko1? Thanks!
-
08:13 AM Revision aacc35e1 (git): encoding.c: load by rb_require_internal
- * encoding.c (load_encoding): use rb_require_internal instead of
calling rb_require_safe with protection.
git-svn-... -
07:47 AM Revision 638ba473 (git): load.c: defer static linked init
- * enc/encinit.c.erb (Init_enc): initialize encdb and transdb
directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... -
07:47 AM Revision 673f1b30 (git): enc/prelude.rb: no encdb and transdb
- * enc/prelude.rb: no longer need to load encdb and transdb here.
Init_enc should load them if possible.
git-svn-id... -
06:13 AM Revision a177c276 (git): load.c: tweak the return value
- * load.c (rb_require_internal): tweak the return value, 1 and 0
correspond to true and false in Kernel#require, res... -
05:51 AM Revision f235dbee (git): dmyenc.c: try to load encdb
- * load.c (ruby_require_internal): separate from rb_require_safe,
not to raise exceptions.
* ruby.c (process_options... -
05:34 AM Revision 49b3b2d8 (git): string.c: fake string is not sharing
- * string.c (setup_fake_str): fake string does not share another
string, but just should not free.
git-svn-id: svn+... -
04:04 AM Feature #10255: Math.log: check domain of base argument
- Hi there. I'm just gonna add a explain.
```ruby
Math.log(1,-1)
#=> NaN
Math.log(0.0,-1)
#=> -Infinity
Mat... -
03:52 AM Feature #10255: Math.log: check domain of base argument
- Associated revision [10487](https://bugs.ruby-lang.org/issues/10487)
-
04:04 AM Revision ed52fa6e (git): tcltklib.c: revert RUBY_UNTYPED_DATA_WARNING
- * ext/tk/tcltklib.c (RUBY_UNTYPED_DATA_WARNING): Data_Get_Struct
is not affected.
git-svn-id: svn+ssh://ci.ruby-la... -
03:32 AM Feature #7511: short-circuiting logical implication operator
- to be precise, implies is a derived operator, not a core one.
racket has this operator, as does eiffel, which supp... -
03:25 AM Revision aaed1071 (git): intern.h: SIZED_ENUMERATOR
- * include/ruby/intern.h (SIZED_ENUMERATOR): separate from
RETURN_SIZED_ENUMERATOR.
* string.c (rb_str_enumerate_ch... -
03:25 AM Revision c95b3a16 (git): ruby.h: no warnings of hidden objects
- * include/ruby/ruby.h (rb_data_object_alloc_warning): no warnings
of internal hidden objects which klass == 0.
git... -
03:25 AM Revision b040788b (git): tkutil.c: typed data
- * ext/tk/tkutil/tkutil.c (cbsubst_info_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4869... -
02:29 AM Bug #10563 (Closed): system() call hangs if command is too long
- fixed at r48690.
-
01:56 AM Bug #10563 (Assigned): system() call hangs if command is too long
- Thank you for reporting!
We'll fix it.
memo: This is a bug of w32_spawn(). - 02:16 AM Revision 396e3da7 (git): * win32/win32.c (w32_spawn): `v2` is used not only for `shell` but also
- `cmd`, so must not free before using `cmd`.
[ruby-core:66648] [Bug #10563]
git-svn-id: svn+ssh://ci.ruby-lang.org... -
02:03 AM Bug #10562 (Third Party's Issue): Rails command fault
- Seems json library's issue.
You should report to the developer, with the crash report log file. -
12:48 AM Revision 655285b5 (git): cparse.c: typed data
- * ext/racc/cparse/cparse.c (cparse_params_type): use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4...
Also available in: Atom