Activity
From 12/01/2014 to 12/07/2014
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...
12/02/2014
-
10:08 PM Revision e0c3f581 (git): * test/test_open3.rb: Add a simple test for env hash on popen3.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:46 PM Bug #10563: system() call hangs if command is too long
- Actually I found this problem, while using rake and I raised another bug for rake first. Perhaps it contains some use...
-
08:36 PM Bug #10563 (Closed): system() call hangs if command is too long
- In some situations another process, which was started using Kernel::system(), hangs right from the beginning, i.e. th...
- 06:22 PM Revision d2550740 (git): * 2014-12-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:22 PM Revision 0b31b7cd (git): * test/ruby/test_eval.rb: add case to test "sticky" instance_eval
- self when passed a reified block (proc/lambda).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48686 b2dd03c8-39d... -
05:27 PM Bug #10526: [DOC] Revise documentation in object.c
- @zzak Please change assignee if you are the wrong person.
Nearly two weeks without feedback... are DOC fixes also ... -
01:24 PM Bug #10562 (Third Party's Issue): Rails command fault
- Segment fault error reported when running rails command.
error report:
~~~
appletekiMacBook-Air:Raylion apple... -
12:34 PM Revision f9dcfb2b (git): * ext/win32ole/win32ole.c: use typed data for com_hash.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:04 AM Bug #10554: preview2 fails to generate prelude.c
- Benoit Daloze wrote:
> A released tarball should be as easy to build as possible for a user and more importantly pro... -
07:56 AM Bug #10554: preview2 fails to generate prelude.c
- Vit Ondruch wrote:
> So while some pre-generated code in source tarball allows to remove the BASERUBY need, which is... -
07:06 AM Revision 56891028 (git): common.mk: html
- * common.mk (html): target to generate HTML form documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48... -
06:59 AM Revision 820e5ade (git): array.c: decoration
- * array.c (rb_ary_plus): inline decoration of the operator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48683 ... -
06:55 AM Feature #10561 (Open): Improve function of Thread::Backtrace::Location #path and #absolute_path
- I was working on this issue in Rails and hit an area where Backtrace Location can be improved
https://github.com/r... -
06:34 AM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
- I added some explanation to the documentation of Array#+ in r48682. I haven't been able to make RDoc create a separat...
-
06:30 AM Revision 24f5f816 (git): array.c (rb_ary_plus): in documentation, added note about
- inefficiency of repeated += operations. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48682 b2dd03c8-3... -
06:29 AM Revision 062f0edd (git): common.mk: clean more files
- * common.mk (distclean-local): clean fake file.
* common.mk (realclean-local): clean generated files under srcdir.
... -
06:18 AM Bug #10558: failing require digest.so on OSX statically compiled ruby
- I can't reproduce it:
* plain ruby-2.1.5 tarball
* in-place build
* *without* `~/.sm/pkg/active` directories
... -
04:45 AM Bug #10558: failing require digest.so on OSX statically compiled ruby
- Mine is also 10.10.
And I heard that it occurs with 2.1 but not with trunk. -
04:55 AM Revision ab9319d8 (git): compile.c: set true and false directly
- * compile.c (iseq_set_arguments): directly set true and false
default values not only nil to keyword arguments.
gi... -
04:54 AM Revision a81979ec (git): iseq.c: use lvar index
- * iseq.c (iseq_data_to_ary): use local variable indexes for hidden
variable instead of meaningless ID values.
git-...
12/01/2014
-
11:44 PM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- I'll see if I can get around to it tonight.
-
11:18 PM Bug #10537: Repeated creation and garbage collection of WeakRef instances against a single object leaks memory
- nobu, your patch looks fine to me. However, my original uses less memory
and time on Alex's test on my Phenom II
... -
11:22 PM Bug #10554: preview2 fails to generate prelude.c
- Jeremy Evans wrote:
> Vit Ondruch wrote:
> > Ok, this seems to be due to r48607 and associated commits. Looking at ... -
08:37 PM Bug #10554: preview2 fails to generate prelude.c
- Jeremy Evans wrote:
> By this argument, the source tarball shouldn't contain parse.c, only parse.y, making bison a r... -
04:59 PM Bug #10554: preview2 fails to generate prelude.c
- Vit Ondruch wrote:
> Ok, this seems to be due to r48607 and associated commits. Looking at builds of Ruby 2.1, prelu... -
04:32 PM Bug #10554: preview2 fails to generate prelude.c
- Ok, this seems to be due to r48607 and associated commits. Looking at builds of Ruby 2.1, prelude.c was always genera...
-
10:38 PM Bug #8543: new rb_iseq_load crash
- [email protected] wrote:
> iseq_data_to_ary() ignores hidden variables named by id_internal().
>
> It seems to ... - 10:32 PM Revision 7ec46047 (git): iseq.c (iseq_data_to_ary): keep hidden variables
- We must not ignore hidden variables when rb_id2str fails.
Thanks to wanabe [ruby-core:66566]
git-svn-id: svn+ssh://c... -
09:48 PM Revision 4297d55c (git): * ext/psych/lib/psych.rb: bumping version
- * ext/psych/psych.gemspec: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48677 b2dd03c8-39d4-4d8f-98ff-823... - 09:35 PM Revision 4eef908d (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:35 PM Revision 12396fda (git): * ext/psych/lib/psych/visitors/to_ruby.rb: support objects that are
- marshalable, but inherit from basic object.
Thanks Sean Griffin <[email protected]>
* ext/psych/lib/psych/visito... -
09:32 PM Revision 0a190272 (git): parse.y: preserve tSTRING_CONTENT results
- * parse.y (ripper_flush_string_content): preserve the dispatched
results at tSTRING_CONTENT. [ruby-dev:48714] [Bug... -
09:31 PM Revision 1549a6b7 (git): parse.y: check single regexp only
- * parse.y (regexp_contents): check in ripper only if the whole
content is a single regexp without interpolation.
... -
09:30 PM Revision 012c5581 (git): re.c: rb_reg_region_copy
- * re.c (rb_reg_region_copy): new function to try with GC if copy
failed and return the error.
git-svn-id: svn+ssh:... -
07:53 PM Revision 4ea50d7a (git): parse.y: remove garbage
- * parse.y (parser_magic_comment): remove a garbage line inserted
at previous ripper fix, r48668.
git-svn-id: svn+s... -
07:47 PM Revision 8b3813f6 (git): strscan.c: fix condition
- * ext/strscan/strscan.c (strscan_init_copy): fix inverted
condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t... -
07:43 PM Revision 4d63c850 (git): re.c: check if onig_region_copy failed
- * re.c (CHECK_REGION_COPIED): onig_region_copy() can fail when
memory exhausted but returns nothing, so check by if... -
07:37 PM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
- Ah right sorry I didn't see the 'doc' note. I think we could (theoretically) implement this optimisation without any ...
-
07:11 PM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
- Recursive Madman it's what I said in the ticket (but unwinded)
Chris Seaton I would assume the `doc` categorizatio... -
07:03 PM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
- I disagree with making the proposed change to +=. I would find it extremely surprising for += to modify an existing A...
-
05:55 PM Misc #10560 (Assigned): confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
-
03:59 PM Misc #10560: confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
- += doesn't change the object itself.
For strings for example:
```
x = y = 'foo'
x += 'bar'
x #=> 'foobar'
y... -
03:53 PM Misc #10560 (Assigned): confusion between x=x+y, x+=y, x.concat(y) and y.each{|z| x<<z}
- while discussing a ticket I have noticed that there is no documentation for `+=`
I was expecting `+=` to behave as... -
06:53 PM Bug #10412 (Closed): DNS Resolv broken when resolv.conf has option ndots > 1
- This should be fixed in r48534. Thanks!
-
05:53 PM Revision 11dc42c2 (git): parse.y: enable encoding pragma in ripper
- * parse.y (magic_comment_encoding): enable in ripper, since the
encoding is necessary to parse non-default encoding... - 05:37 PM Revision 689f0dd2 (git): * 2014-12-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:36 PM Revision e1606f92 (git): * lib/uri/generic.rb (URI::Generic.build):
- use hostname= to detect and wrap IPv6 hosts.
Build is accepting URI components and users may not expect
that a ho... -
03:33 PM Bug #10558: failing require digest.so on OSX statically compiled ruby
- Nobuyoshi Nakada what OSX version are you trying? mine was 10.10, also could it make difference if it was compiled in...
-
12:49 PM Bug #10558: failing require digest.so on OSX statically compiled ruby
- This is failing on Travis CI and unfortunately preventing us from offering 2.2.0-preview2.
See https://travis-ci.o... -
04:02 AM Bug #10558 (Feedback): failing require digest.so on OSX statically compiled ruby
- I can't reproduce it.
~~~
$ LDFLAGS="-fPIC -Bstatic" CFLAGS="-O3 -fPIC -mmacosx-version-min=10.7" ../src/configur... -
02:11 PM Misc #10541: Remove shorthand string interpolation syntax
- Martin Dürst wrote:
> Can you tell us what the situation is for Ruby itself (including build scripts and standard li... -
02:03 PM Misc #10541: Remove shorthand string interpolation syntax
- Recursive Madman wrote:
> Did you also check what character followed those interpolations? e.g. "#{@foo}bar" wouldn'... -
10:29 AM Misc #10541: Remove shorthand string interpolation syntax
- Brian Hempel wrote:
> Answer: 19,869 of those string interpolations were like "#{@ivar}" or "#{$gvar}" or "#{@@cvar}... -
06:00 AM Misc #10541: Remove shorthand string interpolation syntax
- Brian Hempel wrote:
> I analyzed the ~150,000 Ruby files in the top 1000 Ruby repositories on GitHub:
Can you tel... -
05:59 AM Misc #10541: Remove shorthand string interpolation syntax
- Nobuyoshi Nakada wrote:
> What kind of warnings?
> To warn all `#@ivar` things just makes it boring and would dis... -
04:53 AM Misc #10541: Remove shorthand string interpolation syntax
- Steve Richert asked me how many of those 353,199 regular interpolations could have been replaced by shorthand interpo...
-
03:38 AM Misc #10541: Remove shorthand string interpolation syntax
- Martin Dürst wrote:
> Maybe what we can do is to just produce a warning, without depreciation? That will help everyb... -
01:57 AM Misc #10541: Remove shorthand string interpolation syntax
- Brian Hempel wrote:
> I analyzed the ~150,000 Ruby files in the top 1000 Ruby repositories on GitHub:
>
> The reg... -
01:35 PM Bug #10449: [TracePoint API] Duplicated line events when using parenthesis
- Oops, I need to start thinking before talking... :) The change in the behaviour actually happened in [this example](h...
-
05:45 AM Bug #10449: [TracePoint API] Duplicated line events when using parenthesis
- > Hi Koichi, I've looked at the patch and it seems to me that _every_ duplicated event has been removed. So if I do s...
-
01:12 PM Bug #9937: Segfault in the TracePoint API
- Exactly. :)
-
04:53 AM Bug #9937 (Closed): Segfault in the TracePoint API
- Ah, I see.
You can't get method_id for top level.
```ruby
TracePoint.new(:class, :b_call){|tp|
p [tp.event,... -
01:11 PM Bug #10148: [TracePoint API] Extra block events generated
- Thanks to you!
-
04:49 AM Bug #10148 (Closed): [TracePoint API] Extra block events generated
- Thank you!
-
11:03 AM Revision 7f411d6e (git): * ext/win32ole/win32ole.c: use typed data for WIN32OLE.
- * ext/win32ole/win32ole.h: ditto.
* ext/win32ole/win32ole_event.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/r... -
09:01 AM Bug #9891: infinite fibers crash Ruby
- The reason of this SEGV is, rb_longjmp without TAG.
```c
void
rb_fiber_start(void)
{
...
TH_PUSH_TAG(th);... -
04:48 AM Bug #9891: infinite fibers crash Ruby
- > OpenBSD doesn't have getcontext()/setcontext(), so I suspect that cont.c defines FIBER_USE_NATIVE to 0. I don't kno...
-
08:20 AM Revision 15cfc955 (git): common.mk: rebuild verconf.h for each configure
- * win32/Makefile.sub (verconf.h): so depends on verconf.mk, which
is rebuilt by setup.mak.
git-svn-id: svn+ssh://c... -
06:38 AM Revision 6b6ba319 (git): common.mk: ext/json/parser/parser.c
- * common.mk (ext/json/parser/parser.c): sometimes need for local
development.
git-svn-id: svn+ssh://ci.ruby-lang.o... -
06:38 AM Revision e580a631 (git): use 0 for reserved
- use 0 for rb_data_type_t::reserved instead of NULL, since its type
may be changed in the future and possibly not a po... -
05:04 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Koichi Sasada wrote:
> Thank you for try. Can I close it?
> Should we wait for your rails test?
I think the tick... -
04:45 AM Bug #10511: fix for #9940 causes dramatic performance regression
- Thank you for try. Can I close it?
Should we wait for your rails test?
-
02:31 AM Bug #10557: Block not given when the argument is a string
- This is an issue in compile.c (opt_aref_with). There is same issue on opt_aset_with, opt_str_freeze.
-
02:09 AM Revision 06bdfd0d (git): * ChangeLog: fixed reference number of github issue [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:05 AM Revision 089429ea (git): * proc.c: fix grammar by @BenMorganIO [fix GH-764][ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:50 AM Revision 27e3e03a (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:49 AM Revision d4cd7b0b (git): * man/rake.1: Update latest man content by @aledovsky
- [fix GH-771][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:42 AM Revision a80343fa (git): * 2014-12-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:42 AM Revision 6ec023e5 (git): * doc/syntax/refinements.rdoc: refinements are no longer experimental.
- patch by @gaurish [fix GH-755][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48656 b2dd03c8-39d4-4d8f-9...
Also available in: Atom