Activity
From 11/08/2014 to 11/14/2014
11/14/2014
-
11:52 PM Bug #10514 (Closed): webrick fails with connection error when checking if socket is closed
- In this version and previous
/usr/local/rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/webrick/httpserver.rb
If the socket is closed early then the sock.eof? fails with a connection reset error
80 raise HTTPStatus::EOFError if ... -
11:35 PM Feature #10498: Make `loop` yield a counter
- Martin Dürst wrote:
> Shouldn't the version of loop that yields a number be called loop_with_index, to correspond with others such as each_with_index, map_with_index, and so forth? Maybe with a little bit of magic, that can be made to h... -
10:42 PM Feature #10498: Make `loop` yield a counter
- I agree with Martin, this should be Kernel#loop_with_index
-
10:28 PM Feature #10498: Make `loop` yield a counter
- Marc-Andre Lafortune wrote:
> Chris Seaton wrote:
> ...
This indeed was a mistake, I've re-submitted a new patch.
So now the counter starts at 0 and will eventually become a Bignum when bigger than FIXNUM_MAX. -
11:34 PM Bug #10512 (Rejected): Time.at produces imprecise nsec values
- It is because the float value 0.0000002 is less than 0.0000002.
```
% ruby -e 'p((Rational(0.0000002) * 1000000000).floor)'
199
```
Time records 0.0000002 as Rational(0.0000002).
It is the most precious record according to the ... -
07:19 PM Bug #10512 (Rejected): Time.at produces imprecise nsec values
- I'm working on improving JRuby parity with MRI, and I've found what I think is a bug in MRI and its test suite. test_time.rb, in test_at asserts:
assert_equal(199, Time.at(0.0000002).nsec)
This passes under MRI, but fails under... -
10:29 PM Misc #10513 (Assigned): instance_eval yields the receiver, but is documented to yield no arguments
- instance_eval yields the receiver, but is documented as yielding no arguments.
I searched the bug reports before writing this up and found bug #2476 which was closed with a message that contained "instance_eval yields the receiver in ... -
04:24 PM Bug #10488: Consistency of Module#const_defined? and constant lookup
- Regarding the first point, here `const_defined?` is consistent with `const_get`:
```ruby
X = 1
Module.new.const_get(:X) #=> 1
```
In general the constants API seems to be "closer" to the algorithm that resolves constant names th... -
01:31 PM Bug #10511: fix for #9940 causes dramatic performance regression
- Thank you for your report.
Could you make small benchmark program to debug it?
-
01:13 PM Bug #10511 (Closed): fix for #9940 causes dramatic performance regression
- Originally reported against debase gem (https://github.com/denofevil/debase/issues/16)
After fix for #9940 running anything under debugger became about 4 times slower.
I've verified that we I revert the fix performance is restored.
To... -
12:42 PM Feature #10508: Return enumerator in TSort iterators
- If you mean these .to_a calls, i have created dummy benchmark: https://gist.github.com/Ptico/a16a5fe221de91166c31 and it looks good
-
02:07 AM Feature #10508: Return enumerator in TSort iterators
- Unnecessary Enumerator slows the performance down.
-
12:27 AM Feature #10508: Return enumerator in TSort iterators
- Looks good.
-
10:08 AM Revision 03bbcf01 (git): fix typos and spaces [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:08 AM Revision 3cb9b550 (git): add missing filename [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:08 AM Revision bedd96fa (git): fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:05 AM Bug #10229: RFC 5649 implementation in OpenSSL breaks Ruby.
- Hi Martin, any change you can take a look into this?
-
08:37 AM Revision a73d8cd1 (git): * tool/update-deps: Support GNU Make 4.0.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:17 AM Revision 8ef4bdcd (git): I'm not good at English, but try to accept your hope.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:59 AM Revision 7a699d8b (git): gc.c: check arguments
- * gc.c (default_proc_for_compat_func): check arguments number and
type, and get rid of reentering this default proc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:35 AM Revision a84b2a6a (git): * gc.c (gc_stat_internal): support comatible layer for
- GC.stat(symbol) type acess.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:29 AM Feature #9924 (Closed): Revisitting GC.stat keys
- Applied in changeset r48423.
----------
* gc.c (gc_stat_internal): add compatible layer.
From Ruby 2.2, keys of GC.stat are changed [Feature #9924].
To provide compatible layer, GC.stat add a default_proc
(if default_proc of given... -
07:29 AM Revision 5d5c95f2 (git): * gc.c (gc_stat_internal): add compatible layer.
- From Ruby 2.2, keys of GC.stat are changed [Feature #9924].
To provide compatible layer, GC.stat add a default_proc
(if default_proc of given Hash object is not set).
At first use of this compatible layer of interpreter process,
... -
06:55 AM Revision ab157670 (git): id.def: attrset
- * defs/id.def: add attrset IDs, which no longer shares serial
numbers with local name IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:03 AM Revision b2acfab2 (git): * NEWS: mention about IO#nonblock_{read,write} of Windows' pipe.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:38 AM Revision 2eefb48f (git): proc.c: adjust argument type
- * proc.c (proc_new): adjust `is_lambda` argument type to
`rb_vm_make_proc_lambda` to suppress a warning by VC6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:13 AM Misc #10502 (Closed): Removing obsolete prot_tag comment
-
02:11 AM Feature #10426: A predicate to express congruence
- How about `similar?` or `analog?` ?
-
02:08 AM Feature #10510 (Closed): Remove REXML instead of patching it
- There have been at least 3 rexml vulerabilities to date,
having to patch ruby just to make sure it's not being used is taking a lot
of time/effort.
Afaik most people do not use xml anyway (and especially not rexml), just
for ... -
02:00 AM Misc #10500 (Rejected): Improve Pathname.glob documentation
-
01:44 AM Revision 4314ded8 (git): * gc.c: guard by #if/#endif with GC_ENABLE_INCREMENTAL_MARK
- to hide unused codes.
* gc.c: similar to GC_ENABLE_LAZY_SWEEP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:23 AM Revision c5f8d9c9 (git): vm_eval.c (rb_eval_cmd): use pre-defined idCall
- No need to use rb_intern, here. Reduces size slightly on x86-64:
$ ~/linux/scripts/bloat-o-meter ruby.before ruby.after
add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-31 (-31)
function old new de... -
12:26 AM Bug #10509 (Closed): [PATCH] vm_eval.c (rb_yield_splat): add missing GC guard - Applied in changeset r48417.
----------
vm_eval.c (rb_yield_splat): add missing GC guard
Nobody uses this function in our source tree, but maybe this
bug is triggered by certain C extensions.
[Bug #10509] -
12:24 AM Bug #10509 (Closed): [PATCH] vm_eval.c (rb_yield_splat): add missing GC guard
- Nobody uses this function in our source tree, but maybe this
bug is triggered by certain C extensions.
- 12:26 AM Revision f0208a89 (git): vm_eval.c (rb_yield_splat): add missing GC guard
- Nobody uses this function in our source tree, but maybe this
bug is triggered by certain C extensions.
[Bug #10509]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/13/2014
-
11:12 PM Revision 30a69a59 (git): * gc.c: fix build error caused by implicit conversion with clang.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:55 PM Feature #10501 (Closed): [PATCH] insns.def (opt_succ): remove Time#succ optimization - Applied in changeset r48415.
----------
insns.def (opt_succ): remove Time#succ optimization
Time#succ is a deprecated method and not frequently used, so this wastes
icache in vm_exec_core. Using bloat-o-meter in the Linux kernel sourc... -
04:27 PM Feature #10501: [PATCH] insns.def (opt_succ): remove Time#succ optimization
- +1
- 09:55 PM Revision 6c0a375c (git): insns.def (opt_succ): remove Time#succ optimization
- Time#succ is a deprecated method and not frequently used, so this wastes
icache in vm_exec_core. Using bloat-o-meter in the Linux kernel source
to shows a small reduction on my x86-64 system:
$ ~/linux/scripts/bloat-o-meter ruby.before... -
09:08 PM Feature #10508 (Closed): Return enumerator in TSort iterators
- Return an Enumerator if no block is given for:
* TSort.tsort_each
* TSort.each_strongly_connected_component
* TSort.each_strongly_connected_component_from -
08:31 PM Revision 97c2eac2 (git): * gc.c: refactoring.
- * gc.c: use GC_ENABLE_INCREMENTAL_MARK instead of USE_RINCGC.
* gc.c (gc_start): check FORCE_MAJOR_GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:16 PM Revision b887f4fb (git): * gc.c: Tuning RincGC parameters.
- Before this patch, gc_marks_step() marks (white -> grey) fixed
number objects. However, this strategy does not fit practical
cases, for example too slow to make progres.
This patch changes this strategy how many objects the
gc_ma... -
06:22 PM Bug #10507: URI Error: bad URI(is not URI?) in Ruby 2.0.0, 2.1.5, 2.2.0preview1
- Encode + URI + open.
```
ruby -v -ruri -e "open(URI(URI.encode 'http://localhost:3000/?url=google.com&clipRect={"top":0,"left":0,"width":1050,"height":700}'))"
ruby 2.0.0p598 (2014-11-13) [x86_64-darwin13.3.0]
-e:1:in `<main>': war... -
06:08 PM Bug #10507 (Closed): URI Error: bad URI(is not URI?) in Ruby 2.0.0, 2.1.5, 2.2.0preview1
- This url is used to get a screenshot from a [web service](https://github.com/fzaninotto/screenshot-as-a-service) and specify the dimensions.
### Ruby 2.0.0p598
```
ruby -v -ruri -e "URI 'http://localhost:3000/?url=google.com&cli... -
05:52 PM Feature #10505: [PATCH 2/n] 同相条件を扱いたい./Object#eql? with block. (ja/en)
- @Nobuyoshi Nakada san, @ Recursive Madman san, @Shota Fukumori san.
I'm honored to get such nice comments, thank so much.
OK, I'm not sure I'll use `["RUBY", "Ruby"].map(&:downcase).inject(:==)` or `%w(RUBY Ruby).map(&:downcase).uniq... -
12:04 PM Feature #10505: [PATCH 2/n] 同相条件を扱いたい./Object#eql? with block. (ja/en)
- I think this is actually a duplicate of #10426 except the method name.
Why did you create another ticket instead of adding a comment to that ticket?
--
Yusuke Endoh <mame@ruby-lang.org> -
08:34 AM Feature #10505: [PATCH 2/n] 同相条件を扱いたい./Object#eql? with block. (ja/en)
- `%w(RUBY Ruby).map(&:downcase).uniq.size == 1` covers multiple elements, but note that the original proposal doesn't cover such situation.
-
08:27 AM Feature #10505: [PATCH 2/n] 同相条件を扱いたい./Object#eql? with block. (ja/en)
- Nobuyoshi Nakada wrote:
> You can write:
> ...
In my opinion this is not a nice use of `inject`, since it won't work for arrays with > 2 elements.
-
08:16 AM Feature #10505: [PATCH 2/n] 同相条件を扱いたい./Object#eql? with block. (ja/en)
- You can write:
~~~ruby
["RUBY", "Ruby"].map(&:downcase).inject(:==)
~~~ -
03:35 AM Feature #10505: [PATCH 2/n] 同相条件を扱いたい./Object#eql? with block. (ja/en)
- @Shota Fukumori san
ok. I know you prefer later one.
And there are some people(included me) who prefer former one.
I never mention that which is minority or majority, but we can think about supporting both.
As far as I know, Ruby h... -
03:16 AM Feature #10505: [PATCH 2/n] 同相条件を扱いたい./Object#eql? with block. (ja/en)
- At least for me, later one: `func(obj1.method1.method2) == func(obj2.method1.method2)` is better.
-
03:04 AM Feature #10505: [PATCH 2/n] 同相条件を扱いたい./Object#eql? with block. (ja/en)
- @Shota Fukumori san
Thank you for your comment :)
I got your point, as you said `a % 2 == b % 2` is tottaly obvious for anybody,
On the other hand, `a.eql?(b) { |n| n % 2 }` looks little bit strange.
(note: I belive `a.eql?(b) {... -
02:21 AM Feature #10505: [PATCH 2/n] 同相条件を扱いたい./Object#eql? with block. (ja/en)
- This syntax helps writability but hard to read. We'll have to know that eql? takes an block and behaves like so...
IMO, I don't like such shorthand supports *only* writability. -
12:31 AM Feature #10505 (Open): [PATCH 2/n] 同相条件を扱いたい./Object#eql? with block. (ja/en)
- English follows japanese
## 文脈
両辺に同じ処理を施してその同値性を確かめたいという場面は往々にしてあると思います.
```ruby
a % 2 == b % 2
a.abs == b.abs
"RUBY".downcase == "Ruby".downcase
```
この際、施す処理を両辺に書くのは嫌だというのが今回のチケットの主たるモチベーションになります.
特に長い処理ともなると尚更だと思... - 04:32 PM Revision 5a79fda5 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:32 PM Bug #10112 (Closed): NET::IMAP fails to parse uid_search/search response with MODSEQ search criteria
- Applied in changeset r48411.
----------
* lib/net/imap.rb (search_response): parse MODSEQ in SEARCH
responses properly. [ruby-core:64203] [Bug #10112] -
04:32 PM Revision 772e9778 (git): * lib/net/imap.rb (search_response): parse MODSEQ in SEARCH
- responses properly. [ruby-core:64203] [Bug #10112]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:23 PM Bug #10412: DNS Resolv broken when resolv.conf has option ndots > 1
- Hi,
This should be a simple fix with the noted patch; is it possible for someone to have a look and see if it's fit for inclusion?
Thank you! - 04:06 PM Revision e84e56db (git): * 2014-11-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:05 PM Revision fb2008a7 (git): * test/lib/envutil.rb: Moved from test/ruby/.
- * test/lib/find_executable.rb: Ditto.
* test/lib/memory_status.rb: Ditto.
* test/lib/test/unit.rb: require envutil.
* test/: Don't require envutil in test files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48409 b2dd03c8-39d4... -
03:26 PM Feature #10506 (Rejected): Imprve Enumerator.any? behavior
- In other words, any? already has behavior when there is no block:
It uses an identity block { |e| e } as said in the documentation.
So it checks if there is any truthy member in the enumerable.
Changing it is unbearable for compatib... -
02:21 PM Feature #10506: Imprve Enumerator.any? behavior
- It probably should have returned an enumerator, but that wasn't as systematic then.
The problem with your proposal is breaking compatibility. I'm quite certain this will be rejected, but I'll let Matz do it.
In the meantime, know t... -
12:40 PM Feature #10506 (Rejected): Imprve Enumerator.any? behavior
- IMHO the API `Enumerable.any?` behavior could be improved in the following manner:
any? { |obj| block } → true or false
any? → an_enumerator
This would allow to do things like
[].any?.with_index { |obj, index| }
... - 01:39 PM Revision 23ccbdf5 (git): merge revision(s) 48402:
- * lib/rexml/document.rb: add REXML::Document#document.
reported by Tomas Hoger <thoger@redhat.com> and patched by nahi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@48406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:36 PM Revision e6561ee1 (git): merge revision(s) r48402:
- * lib/rexml/document.rb: add REXML::Document#document.
reported by Tomas Hoger <thoger@redhat.com> and patched by nahi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@48404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:35 PM Revision d6ea8d18 (git): merge revision(s) 48402:
- * lib/rexml/document.rb: add REXML::Document#document.
reported by Tomas Hoger <thoger@redhat.com> and patched by nahi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:29 PM Revision 2e8f953d (git): * lib/rexml/document.rb: add REXML::Document#document.
- reported by Tomas Hoger <thoger@redhat.com> and patched by nahi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:04 PM Revision b19c39f9 (git): * test/monitor/test_monitor.rb: Use assert_join_threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:46 PM Revision 3864eb82 (git): * test/openssl: Don't specify port number.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:28 PM Revision 1e502d2a (git): * test/openssl/ssl_server.rb: Unused file removed.
- It is not used since r16111, Ruby 1.9.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:27 PM Misc #10500: Improve Pathname.glob documentation
- My bad! I didn't know about this syntax. This usage here makes perfect
sense, because `/*` wouldn't be allowed in the actual C comment for
this method.
None of my other suggested changes are relevant or useful.
Please close this is... -
07:41 AM Misc #10500: Improve Pathname.glob documentation
- ~~~
"config/" "*.rb"
~~~
Is in fact valid syntax, and equivalent to
~~~
"config/*.rb"
~~~
-
09:51 AM Bug #10504 (Assigned): Gracefully handle CSV IO file descriptor problems
-
12:14 AM Bug #10504 (Closed): Gracefully handle CSV IO file descriptor problems
- This patch allows `CSV.open` to more gracefully handle user error. Because the IO object is passed to the user-provided block it's entirely possible the IO object can be closed before the block finishes. This would raise an error in the ...
-
09:50 AM Revision 07da5b29 (git): eval.c: obsolete comment [ci skip]
- * eval.c (rb_ensure): remove obsolete prot_tag comment. patch by
Jack Danger at [ruby-core:66238]. [misc #10502]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:31 AM Bug #10427: The WebKit of QtRuby crashed
- I've got a feeling this has more to do with the gem than it does with Ruby itself.
Typically, that issue occurs whenever you call ruby code from a non-Ruby created thread. -
09:10 AM Revision 2a754a73 (git): proc.c: make lambda directly
- * vm.c (rb_vm_make_proc_lambda): similar to rb_vm_make_proc() with
is_lambda argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:01 AM Feature #9528: mathn.rb library
- I wasn't aware of the existence of the gamma function before reading Your comment. I guess I got a bit smarter due to Your comment. Thank You for that. :-)
According to some sources, including the
http://mathworld.wolfram.com/G... -
05:31 AM Revision 787b98e3 (git): * test/bigdecimal/test_bigdecimal.rb: Add test for mult by nil.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:28 AM Feature #10423: [PATCH] opt_str_lit*: avoid literal string allocations
- normalperson@yhbt.net wrote:
> But I am thinking of trying an entirely different approach to this
> optimization (also able to target non-cfunc)
I had an idea to do lazy/late rb_str_resurrect before ci->call by
defining + settin... -
03:44 AM Revision d21daa2b (git): internal.h: define
- * internal.h (STATIC_ASSERT): fix missing preprocessor directive.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:18 AM Revision e9885185 (git): * rb_w32_fstat{,i64}: speed up. adjuting timestamps in this function
- is to get rid of the side effect of ENV["TZ"]. then, if ENV["TZ"] is
not set, no need to adjust. this change makes File#stat about 60%
faster.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48394 b2dd03c8-39d4-4d8f-98ff-823fe6... -
02:56 AM Revision 54af8757 (git): internal.h: STATIC_ASSERT
- * st.c: include "internal.h" for STATIC_ASSERT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:44 AM Feature #10498: Make `loop` yield a counter
- Shouldn't the version of loop that yields a number be called loop_with_index, to correspond with others such as each_with_index, map_with_index, and so forth? Maybe with a little bit of magic, that can be made to happen?
-
12:06 AM Feature #10503 (Open): introduce InvalidPercentEncoding error for failed URI parsing
- Currently an ArgumentError is raised if a URI has an invalid percent encoding. This makes it difficult to rescue safely. Here I'm adding a patch to introduce an InvalidPercentEncoding error that would help applications rescue and handle ...
11/12/2014
-
11:34 PM Misc #10502 (Closed): Removing obsolete prot_tag comment
- The Changelog records Matz mentioning that the following comment was obsolete as of Wed Sep 17 23:41:45 2003
This patch removes it so future developers don't get confused.
~~~
Index: eval.c
=======================================... -
10:08 PM Feature #10423: [PATCH] opt_str_lit*: avoid literal string allocations
- ko1@atdot.net wrote:
> > > 4. (neutral/not big issue) warning on VC (windows)
> >
> > Untested patch (cast to unsigned):
> > http://80x24.org/spew/m/30c309d1ad24319ad53813f8814e09be0554ccb0.txt
>
> Not solved yet :(
>
>... -
09:21 PM Feature #10501: [PATCH] insns.def (opt_succ): remove Time#succ optimization
- A timely request. Please note [this question on omniref][1] from a couple of days ago, regarding Time ranges (and the implicit use of Time#succ). It seems people aren't aware of the deprecation, and may be quite surprised to find the met...
-
08:25 PM Feature #10501 (Closed): [PATCH] insns.def (opt_succ): remove Time#succ optimization
- ~~~
Time#succ is a deprecated method and not frequently used, so this wastes
icache in vm_exec_core. Using bloat-o-meter in the Linux kernel source
to shows a small reduction on my x86-64 system:
$ ~/linux/scripts/bloat-o-meter ru... -
09:07 PM Bug #10300: Encoding error in conversion from UTF-16LE to UTF-8 to CP850
- Sorry, I just saw your replies. I will try the patch this week and let you know.
-
07:56 PM Misc #10500 (Rejected): Improve Pathname.glob documentation
- I was confused by two things about current `Pathname.glob`
documentation:
Pathname.glob("config/" "*.rb")
#=> [#<Pathname:config/environment.rb>, #<Pathname:config/routes.rb>, ..]
* `"config/" "*.rb"` is not valid syntax
... - 06:57 PM Revision 867aafe4 (git): * 2014-11-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:57 PM Revision 14fe2b6b (git): gc.c (struct heap_page): trivial packing
- 304 => 296 bytes on x86-64
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:09 PM Feature #10498: Make `loop` yield a counter
- Chris Seaton wrote:
> But doesn't this mean #loop will only run FIXNUM_MAX times?
Indeed, the patch is not acceptable.
Let's consider the feature request that loop infinitely and yields a number (that will eventually be a Bignum).... -
03:37 PM Feature #10498: Make `loop` yield a counter
- But doesn't this mean #loop will only run FIXNUM_MAX times? Rather than run infinitely as it currently does? That's a pretty big semantic change. Also, why not just overflow to Bignum?
-
03:31 PM Feature #10498: Make `loop` yield a counter
- I've also expected `loop` to yield a number and forget from time to time it doesn't.
Note you can achieve the same effect today with `(0..Float::INFINITY).each`. It's explicit, but quite a bit longer.
-
06:33 AM Feature #10498 (Assigned): Make `loop` yield a counter
- # Problem
Teaching Ruby, we always end up with that type of construct
```ruby
i = 0
loop do
i += 1
# do something with i....
raise StopIteration if i ...
end
```
# Solution
What I propose with this patch is makin... -
03:23 PM Feature #10499: Eliminate implicit magic in Proc.new and Kernel#proc
- I agree.
Deprecate first (2.2?), remove afterwards.
This would also simplify things if and when we want to warn/raise on unused blocks when calling user methods.
-
02:18 PM Feature #10499 (Closed): Eliminate implicit magic in Proc.new and Kernel#proc
- Proc.new and Kernel#proc have a little known feature: if called without a block, they capture whatever block was passed to the current method.
I propose that this feature should be removed, finally, since it:
* Doesn't enhance read... -
02:38 PM Feature #10042: Deprecate postfix rescue syntax for removal in 3.0
- On Mon, Nov 10, 2014 at 10:25 PM, <matz@ruby-lang.org> wrote:
> I haven't seen any "serious" problem caused by exceptions swallowed by
> postfix "rescue". So I don't worry too much about the issue.
I won't claim that writing a ... -
08:19 AM Feature #10042: Deprecate postfix rescue syntax for removal in 3.0
- I see how it would conflict when both forms (`do_a rescue(TypeError)` and `do_a rescue(TypeError) do_b`) are supported (the parser can't decide between recognizing parenthesized exceptions or stmt), but when the former form (i.e. not spe...
-
01:50 PM Revision 12c9560f (git): * gems/bundled_gems: Update to test-unit 3.0.6 and minitest 5.4.3.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:30 PM Revision bb6b37a9 (git): * lib/rubygems/*: Update to RubyGems 2.4.3 master (7b1f684).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:23 AM Bug #10428 (Closed): Segmentation fault when modifying local variables of binding obtained from the result of Method#to_proc
- Seems fixed by r48160.
-
04:17 AM Bug #10460: Segfault instead of stack level too deep
- When I run 'strace ./segfault.rb', it segfaults but doesn't hang. strace also shows a file, operating_system.so, that is missing:
open("/usr/local/bin/ruby-2.2.0-preview1/lib/ruby/vendor_ruby/2.2.0/x86_64-linux/rubygems/defaults/ope... -
01:17 AM Bug #10306: BigNum error
- Would you try latest trunk or 2.1 branch?
I fixed a bug recently. [Bug #10465]
Note that using GMP should also fix the problem.
11/11/2014
-
11:54 PM Revision 9efb9195 (git): test_unicode_normalize.rb: skip only once
- * test/test_unicode_normalize.rb (setup): skip only once, and
silently ignore other tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:30 PM Bug #10306: BigNum error
- My bad, copy-pasted the wrong line from irb during some test, i'm sorry.
Anyways, the problem arise when you do 1000000 ** 99999
~~~
1000000 ** 99999
=> 999999999999999999999999999999999999999999999999999999999999999999999999999... -
11:06 PM Revision 16d2f280 (git): test_unicode_normalize.rb: skip if not found
- * test/test_unicode_normalize.rb (read_tests): do nothing if the
test data file is not found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:56 PM Bug #10497 (Closed): OpenSSL Servers Do Not Support EC Certificates
- Also see https://bugs.ruby-lang.org/issues/10257
Here's a gist https://gist.github.com/bnagy/7a81e5387beeeea866c1 which works fine with an RSA key and fails with an EC key. I tried with an externally verified cert, which I have tested... -
10:29 PM Bug #10496 (Closed): Yaml: Serialization of cross-referrenced objects with psych
- I'm trying to run next code that serialize object B that has instance variable of A initialized with this B (cross referenced). After deserialization I'm getting 2 B objects instead of 1
https://gist.github.com/ineverov/3ce3ea21d97099... -
08:37 PM Bug #10495 (Closed): Attaching lldb to a program running `sleep` hangs the VM
- Here's the bit of Ruby code:
`loop do
sleep 1
puts 1
end`
Here's the lldb session:
`(lldb) attach 41619
Process 41619 stopped
(lldb) c
Process 41619 resuming
Process 41619 stopped
* thread #1: tid = 0x75fd5, 0x00007f... -
05:58 PM Feature #10042: Deprecate postfix rescue syntax for removal in 3.0
- Currently,
~~~ruby
do_something_messy rescue(TypeError)
~~~
is valid code, and `TypeError` is a expression to be returned when an exception raised.
With your proposal, it becomes an exception class to be rescued.
That means the... -
04:00 PM Feature #10042: Deprecate postfix rescue syntax for removal in 3.0
- Nobuyoshi Nakada wrote:
> Recursive Madman wrote:
> ...
Could you provide an example? -
03:41 PM Feature #10042: Deprecate postfix rescue syntax for removal in 3.0
- Recursive Madman wrote:
> An alternative syntax that doesn't introduce a new reserved word would be:
> ...
It conflicts with existing code for single exception class.
I thought a syntax like `rescue < exception`, but can't fix confl... -
02:43 PM Feature #10042: Deprecate postfix rescue syntax for removal in 3.0
- An alternative syntax that doesn't introduce a new reserved word would be:
~~~
do_something_messy rescue(TypeError, NameError) do_something_with($!)
~~~
The syntax within the parentheses could be the same as after a block rescue,... -
03:25 AM Feature #10042: Deprecate postfix rescue syntax for removal in 3.0
- Hedius, separate your concern, performance and language design.
I haven't seen any "serious" problem caused by exceptions swallowed by postfix "rescue". So I don't worry too much about the issue.
Of course specifying exception clas... -
02:18 AM Feature #10042: Deprecate postfix rescue syntax for removal in 3.0
- At the very least, we should introduce a syntax for rescuing a specific exception type, and warn when users don't use that syntax. The syntax proposed by Boris isn't too bad.
I wonder if there's a way we could make postfix rescue turn... -
02:13 AM Feature #10042: Deprecate postfix rescue syntax for removal in 3.0
- The problem is that postfix rescue is almost always used incorrectly, ending up swallowing 99% of errors that Ruby programs raise. It also masks the very high cost of creating an exception and backtrace (high on MRI, higher on Rubinius, ...
-
05:41 PM Revision b65b392e (git): tables.rb: add
- * lib/unicode_normalize/tables.rb: commit not to download and
convert Unicode data files every time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:41 PM Revision d91b502d (git): common.mk: relax dependency
- * common.mk (lib/unicode_normalize/tables.rb): should depend on
Unicode data files only when downloading.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:27 PM Bug #10493: Wrong encoding for Etc.getlogin in Windows
- Thanks, that was surprisingly easy. Only trunk didn't build so I compiled from ruby_2_1 branch and cherry-picked r48360, r48364
Now I can confirm that patch works.
```ruby
name = Etc.getlogin
puts name.inspect # "D\u0101vis"
put... -
02:35 PM Bug #10493: Wrong encoding for Etc.getlogin in Windows
- Davis,
You can build Ruby easily by using RubyInstaller recipes:
https://github.com/oneclick/rubyinstaller
You will also need a clone of Ruby source code and usage of `LOCAL` to indicate the PATH where to find Ruby source code.
... -
02:29 PM Bug #10493: Wrong encoding for Etc.getlogin in Windows
- Control Panel -> Region -> Administrative -> Change system locale
[Here's article describing how to change locale for Windows 7 and 8](http://www.7tutorials.com/changing-display-language-used-non-unicode-programs)
For Windows 7
![... -
01:59 AM Bug #10493: Wrong encoding for Etc.getlogin in Windows
- Dāvis Mosāns wrote:
> No, *Encoding.default_external* is based on current consoles encoding. And by default it is IBM775, but can be different for each opened console. Also it's not related to Encoding which is used by Windows ANSI API.... - 03:28 PM Revision f3ad4110 (git): * 2014-11-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:28 PM Revision ae831861 (git): * test/ruby/test_object.rb: Specify an exception class for rescue clause.
- * test/dbm/test_dbm.rb: Ditto.
* test/gdbm/test_gdbm.rb: Ditto.
* test/sdbm/test_sdbm.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:44 PM Revision 801c8ab0 (git): * test/fileutils/test_fileutils.rb: Use assert_join_threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:51 PM Revision 08bb9482 (git): * test/resolv/test_dns.rb: Use assert_join_threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:33 PM Revision 1fca7620 (git): * test/net/pop/test_pop.rb: Use assert_join_threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:08 PM Revision 7bb546a2 (git): * test/net/http/test_https_proxy.rb: Use assert_join_threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:29 AM Revision 50ad0f58 (git): * win32/Makefile.sub (prelude.c): search from source directory,
- not depending on VPATH, in parallel to r35135.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:18 AM Revision 1a9a3c39 (git): unicode_norm_gen.tmpl: fix build error
- * template/unicode_norm_gen.tmpl: fix build error on CentOS 5 with
ruby 1.8.5 which lacks Symbol#to_proc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:08 AM Feature #10482 (Feedback): Allow ignored items to vary in `Enumerable#chunk`.
- The method has a form which is incompatible with your proposal: enum.chunk(initial_state) { |elt, state| ... }
However I deprecated the form (since Ruby 2.2), your porposal may be considerable in future. -
09:46 AM Revision d24e7250 (git): common.mk: nmake
- * common.mk (prelude.c): workaround for nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:10 AM Revision df4c7727 (git): make-snapshot: no wait unless needed
- * tool/make-snapshot (package): no wait when using already
exported source without modification, assuming exported 2
seconds (the lowest timestamp resolution) ago or more.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48375 b2dd... -
09:09 AM Revision f760bb4b (git): common.mk: preludes
- * common.mk (preludes): make prelude.c too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:09 AM Revision 8e677dc4 (git): template/prelude.c.tmpl
- * template/prelude.c.tmpl: move from tool/compile_prelude.rb and
expand by generic_erb.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:00 AM Feature #10226: [PATCH] *math.c: Slight refactoring
- @Martin Dürst
That’s very nice of you :) -
02:14 AM Feature #10226 (Rejected): [PATCH] *math.c: Slight refactoring
- Withdrawn by submitter.
-
08:58 AM Feature #10423: [PATCH] opt_str_lit*: avoid literal string allocations
- ko1@atdot.net wrote:
> Eric Wong wrote:
> > > My comments:
> > >
> > > 1. (negative) Incompatibility
> >
> > > To solve this incompatibility, I have several ideas.
> > >
> > > (1-1) Make new instruction to replace with... -
07:18 AM Bug #10494: ioctl returns EINVAL instead of ENOTTY for pipes on older linux, breaking piped test suite
- I have reported to Travis that their kernel may be missing this patch. Not directly related to the outcome of this bug, but perhaps there will soon be fewer places to encounter it.
-
01:26 AM Bug #10494 (Closed): ioctl returns EINVAL instead of ENOTTY for pipes on older linux, breaking piped test suite
- Yeah I know the title is a mouthful. I'll try to explain.
BACKGROUND:
Starting sometime recently, MRI's test suite started to use a custom version of test/unit contained in test/lib. Inside unit.rb, there's code that uses io/consol... -
06:27 AM Revision 26074197 (git): suppress warning: shadowing outer local variable - line
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:22 AM Revision 7b4383a2 (git): remove debug code
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:44 AM Feature #9725: Do not inspect NameError target object unless verbose
- Josh: great examples, thank you. I've run into similar cases trying to debug applications on JRuby or help users find performance problems. This is a hidden gotcha that's *very* hard to find, especially if you have some library sticking ...
-
05:08 AM Revision 05eb6111 (git): * lib/rubygems/commands/contents_command.rb (files_in_default_gem):
- remove useless sort. show_files will sort the result and
another branch, files_in_gem, doesn't sort.
it should be removed for consistency.
* test/rubygems/test_gem_commands_contents_command.rb
(test_execute_default_gem): adjust th... -
01:42 AM Revision 495548ac (git): * string.c (sym_equal): use rb_obj_equal().
- rb_obj_equal() is specially optimized in
opt_eq_func()@vm_insnhelper.c.
This fix is made from this discussion:
https://www.omniref.com/ruby/2.1.4/symbols/Symbol/%3D%3D#line=8361.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk... -
12:39 AM Revision d5b7a701 (git): * lib/rdoc/known_classes.rb: reverted regression changes of
- rdoc known class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/10/2014
-
11:28 PM Feature #10169: It might be better to make Mathn class deprecated
- It might be annoying question, it's still open?
If so, please let me know why, otherwise could you make it closed?
I just wanna make sure my tickets remains or not.
I'm sorry to your extra trouble : ( -
11:15 PM Feature #10323: [PATCH] Improving doc for Math.atan2
- Hi, I just wanna check there is any problems? if so please feel free to ask me.
I'm totally OK you think my propose is improper and make it rejected.
note: I'm not in a hurry. take your time :) -
11:14 PM Feature #10226: [PATCH] *math.c: Slight refactoring
- I've found this patch doesn't make sense. so let me withdraw it.
-
11:10 PM Feature #10386: [PATCH 3/3] There is little possibility of using m_sqrt at complex.c
- Hi, I just wanna check there is any problems? if so please feel free to ask me.
I'm totally OK you think my propose is improper and make it rejected.
note: I'm not in a hurry. take your time :) -
11:09 PM Feature #10376: [PATCH 2/2] Remove comment-out about Nuby's method
- Hi, I just wanna check there is any problems? if so please feel free to ask me.
I'm totally OK you think my propose is improper and make it rejected.
note: I'm not in a hurry. take your time :) -
11:09 PM Feature #10370: [PATCH] We don't need to check whether rb_block_call exists
- Hi, I just wanna check there is any problems? if so please feel free to ask me.
I'm totally OK you think my propose is improper and make it rejected.
note: I'm not in a hurry. take your time :) -
11:08 PM Feature #10322: [PATCH] Improve doc for String#<=>
- Hi, I just wanna check there is any problems? if so please feel free to ask me.
I'm totally OK you think my propose is improper and make it rejected.
note: I'm not in a hurry. take your time :) -
11:07 PM Feature #10175: There’s no reason to prefer Proc.new over Kernel#proc anymore
- Hi, I just wanna check there is any problems? if so please feel free to ask me.
I'm totally OK you think my propose is improper and make it rejected.
note: I'm not in a hurry. take your time :) -
11:01 PM Feature #10228: Statistics module
- @Robert A. Heiler
oh, I'm sorry for missing your nice comment.
>Hopefully I can one day replace all of why I have to use R with Ruby (I guess the
> ...
I have same dream too. Fortunately, developing DataFrame library with Ruby bec... -
10:47 PM Feature #10228: Statistics module
- Associated revision [10225](https://bugs.ruby-lang.org/issues/10225)
-
10:39 PM Bug #10487: [PATCH 3/3] More than 3 arguments Passing to CMath.log doesn't make sense.
- Associated revision [10255](https://bugs.ruby-lang.org/issues/10255)
-
10:33 PM Feature #10255: Math.log: check domain of base argument
- Associated revision [10474](https://bugs.ruby-lang.org/issues/10474)
-
10:32 PM Feature #10225: [PATCH] *math.c: New method Math.normcdf
- Associated revision [10474](https://bugs.ruby-lang.org/issues/10474)
-
10:29 PM Feature #10474: [PATCH 1/1] Refactoring math.c (Combined some macros into one macro)
- Hi, I just wanna check there is any problems? if so please feel free to ask me.
And if it seems good, I'm gonna update these three my patches.
[10225](https://bugs.ruby-lang.org/issues/10225)
[10255](https://bugs.ruby-lang.org/iss... -
07:46 PM Bug #10493: Wrong encoding for Etc.getlogin in Windows
- No, *Encoding.default_external* is based on current consoles encoding. And by default it is IBM775, but can be different for each opened console. Also it's not related to Encoding which is used by Windows ANSI API. Windows-1257 encoding ...
-
08:24 AM Bug #10493 (Closed): Wrong encoding for Etc.getlogin in Windows
- Applied in changeset r48360.
----------
win32.c: login name encoding
* ext/etc/etc.c (etc_getlogin): set login name encoding properly.
[ruby-core:66163] [Bug #10493] -
07:14 AM Bug #10493 (Feedback): Wrong encoding for Etc.getlogin in Windows
- Is your `Encoding.default_external` Windows-1257?
-
12:35 AM Bug #10493 (Closed): Wrong encoding for Etc.getlogin in Windows
~~~ruby
name = Etc.getlogin # I've Windows username "Dāvis"
puts name # D�vis
puts name.inspect # "D\xE2vis"
puts name.encoding # ASCII-8BIT
name.force_encoding('Windows-1257')
puts name # Dāvis
~~~
As ...-
06:38 PM Feature #9528: mathn.rb library
- I like your propose. But I'd be glad if `Math.gamma(x)` could make sense for you : )
http://www.ruby-doc.org/core-2.1.4/Math.html#method-c-gamma
Even if we'er gonna add new method, except `mathn` might be better.
Because `mathn... -
04:21 PM Bug #6592 (Closed): test_call_double(DL::TestDL) fails on ARM HardFP
- DL was removed in rev48217 (#5458) so this is not issue anymore. Thanks Aaron!
- 03:22 PM Revision 3d5601ae (git): * 2014-11-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:22 PM Revision 97657441 (git): * test/net/imap/test_imap.rb: Don't ignore exceptions on server
- threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:40 PM Revision 9bf54574 (git): * test/net/ftp/test_ftp.rb (create_ftp_server): Don't ignore
- exceptions on server thread.
Delete read_timeout method call to fix NoMethodError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:24 PM Revision 0d70c707 (git): win32.c: user name
- * win32/win32.c (init_env): save USER environment variable in
login name if it is set. [ruby-core:66163] [Bug #10493]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:20 PM Feature #10480: Allow a catch-all approach to capture throws and rethrow them in a separate context
- I don't understand the code changes but looking at the tests this implementation looks pretty good to me. Could you please update the title for this issue so that it reflects the taken approach? Maybe "add an specialized UncaughtThrowErr...
- 11:21 AM Revision 1b0cbb6a (git): * win32/win32.c (rb_w32_read): retry with reduced length if cannot to
- write any data but no error occurs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:05 AM Revision 33bb38a6 (git): * lib/webrick/server.rb: Setup shutdown pipe in listen method.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:42 AM Revision fd9f6bde (git): * win32/win32.c, include/win32/win32.h (rb_w32_set_nonblock): new
- function to support nonblock-mode of pipes.
* win32/win32.c (rb_w32_read): nonblock-mode pipe returns ERROR_NO_DATA
if there is no data, but also returns it if remote-end is closed.
* win32/win32.c (rb_w32_write): if cannot to write ... -
08:24 AM Revision 6ccf3d68 (git): win32.c: login name encoding
- * ext/etc/etc.c (etc_getlogin): set login name encoding properly.
[ruby-core:66163] [Bug #10493]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:29 AM Bug #10488: Consistency of Module#const_defined? and constant lookup
- Benoit Daloze wrote:
> * if mod is a Module but not a class, `const_defined?` will look in `Object` and its ancestors, but constant access (::) will not look in `Object` or above.
`mod.const_defined?(:Const, false)` behaves like as `... -
07:20 AM Revision e899fb19 (git): * lib/rubygems/*.rb: Update to RubyGems master(3e36528).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:09 AM Bug #10492 (Closed): Please improve documentation for Process.kill
- Applied in changeset r48358.
----------
signal.c: signal list to kill
* signal.c (rb_f_kill): [DOC] mention known signal list.
[ruby-core:66162] [Bug #10492] -
07:09 AM Revision eae536ec (git): signal.c: signal list to kill
- * signal.c (rb_f_kill): [DOC] mention known signal list.
[ruby-core:66162] [Bug #10492]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:56 AM Revision 79c0b7fc (git): unicode_normalize: UNICODE_VERSION constant
- * template/unicode_norm_gen.tmpl (UnicodeNormalize): embed the
version of Unicode data files used to generate.
* test/test_unicode_normalize.rb (TestUnicodeNormalize): use the
embedded version to load the test data.
git-svn-id: svn... -
05:59 AM Revision 8cba9dcc (git): * lib/rdoc/*.rb: Update to RDoc 4.2.0.alpha(579a11c)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:55 AM Feature #10195 (Open): Alternative to rb_proc_new that provides access to self, super and passed block
- Passed block is passed as the fifth argument, as the test in r48350.
-
03:46 AM Revision 230fb3ce (git): * lib/webrick/server.rb: Less instance variables.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:20 AM Revision e62fe866 (git): * lib/webrick/server.rb (shutdown): Use close() on @shutdown_pipe_w to
- notify readability on the read side of the pipe.
write_nonblock() is not usable for pipe on Windows.
(cleanup_shutdown_pipe): Rescue IOError for @shutdown_pipe_w.close.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48354 b2dd0... -
12:54 AM Bug #10126: Dir.home encoding is incorrect on Windows
- Looks like this have been fixed in Ruby 2.1
Testing with ruby 2.1.4p265 (2014-10-27 revision 48166) [x64-mingw32]
```
dir = Dir.home
puts dir
=> C:/Users/Dāvis
puts dir.encoding
=> #<Encoding:Windows-1257>
```
11/09/2014
-
11:03 PM Revision 2a9ea113 (git): * lib/webrick/server.rb (initialize): Initialize shutdown pipe here
- to avoid race condition.
(cleanup_shutdown_pipe): New private method.
(cleanup_listener): Extracted from shutdown method.
Call this method from start method to avoid race condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... - 08:58 PM Revision ef82fcf0 (git): * 2014-11-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:58 PM Revision ed50872b (git): * test/webrick/webrick.cgi: Don't use debug mode.
- * test/webrick/webrick_long_filename.cgi: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:42 PM Bug #10492 (Closed): Please improve documentation for Process.kill
- Hi,
The current docu can be seen at:
http://www.ruby-doc.org/core-2.1.4/Process.html#method-c-kill
I would like to see all values that can be passed to
Process.kill
documented there.
Can someone add this please?
I wo... -
02:58 PM Feature #10195 (Closed): Alternative to rb_proc_new that provides access to self, super and passed block
- Applied in changeset r48350.
----------
test_bmethod.rb: block in bmethod test
* test/-ext-/proc/test_bmethod.rb (test_super_in_bmethod): block
in bmethod test for [Feature #10195]. -
02:35 PM Feature #10195 (Open): Alternative to rb_proc_new that provides access to self, super and passed block
- Fixed a bug that bound proc method couldn't call `rb_call_super()`.
-
02:33 PM Feature #10195 (Closed): Alternative to rb_proc_new that provides access to self, super and passed block
- Applied in changeset r48349.
----------
test_bmethod.rb: super in bmethod test
* test/-ext-/proc/test_bmethod.rb (test_super_in_bmethod): super
in bmethod test for [Feature #10195]. -
02:58 PM Revision 770128ad (git): test_bmethod.rb: block in bmethod test
- * test/-ext-/proc/test_bmethod.rb (test_super_in_bmethod): block
in bmethod test for [Feature #10195].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:33 PM Revision 71c8cf27 (git): test_bmethod.rb: super in bmethod test
- * test/-ext-/proc/test_bmethod.rb (test_super_in_bmethod): super
in bmethod test for [Feature #10195].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:25 PM Revision 26ae6455 (git): vm.c: super in bmethod
- * vm_eval.c (vm_call_super): allow bound proc method to call super
method.
* vm_insnhelper.c (vm_yield_with_cfunc): push defined class and
bound proc method entry to the control frame.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru... -
02:01 PM Revision ad58f048 (git): * test/open-uri: Test server log in server thread.
- * test/webrick: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:29 PM Revision 0d07bc20 (git): * lib/webrick/httpstatus.rb: require webrick/accesslog for AccessLog.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:12 PM Revision df2965fa (git): fix a typo in comment [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:12 PM Revision b550034c (git): Fix typos in assert messages [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:12 PM Revision f02f13c7 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:16 PM Revision b0132150 (git): * test/webrick: Fix the argument order of assert_equal.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:10 PM Feature #10480: Allow a catch-all approach to capture throws and rethrow them in a separate context
- https://github.com/nobu/ruby/compare/Feature%2310480-UncaughtThrowError
-
11:51 AM Revision 070c310e (git): * test/webrick: Store log in an array.
- * test/net/http: Ditto.
* test/open-uri: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:29 AM Bug #10491 (Closed): TestGc#test_latest_gc_info often fails on mswin CI
- 表題の通りです。
テストが不適切なのだと理解しています。
口頭で伝えるだけだと放置されちゃうのでチケット化しておきます。 -
10:01 AM Revision 9b559f19 (git): normalize.rb: fix syntax error
- * lib/unicode_normalize/normalize.rb (normalized): fix syntax
error, `when` clase allows `*` but not `**`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:36 AM Revision 5ab3fe5f (git): * test/xmlrpc: Refine log test.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:33 AM Revision 62b511b6 (git): lib/unicode_normalize/normalize.rb: Replaced if-else by case in self.normalized? in parallel to r48309.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:07 AM Revision b30ff683 (git): * test/xmlrpc: Use assert_join_threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:54 AM Feature #10490 (Rejected): A Proposal to add Method "factorial" to the Fixnum and Bignum Classes
- Hi, I reopened #9528
-
06:39 AM Feature #10490 (Rejected): A Proposal to add Method "factorial" to the Fixnum and Bignum Classes
- I'd like to re-open the #9528 , but I could not figure out, how to reopen a closed issue.
I added my comments and demo code/"batch" there.
-
07:54 AM Feature #9528 (Open): mathn.rb library
-
06:34 AM Feature #9528: mathn.rb library
- Well, I have the same wish, except that I also have a demo code available.
A speed optimized demo can be downloaded from
http://longterm.softf1.com/2014/demos/2014_11_08_ruby_factorial_proposal/the_code.rb
and run by
... -
05:06 AM Revision a4b5982b (git): * test/xmlrpc: Test webrick error log is empty.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:52 AM Revision a11aa756 (git): * gc.c (is_incremental_marking): use #if/#else because
- rb_objspace_t::flags::during_incremental_marking is not defined
when GC_ENABLE_INCREMENTAL_MARK is 0.
* gc.c (will_be_incremental_marking, is_full_marking): similar fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48335 b2dd03... -
04:50 AM Bug #10486: Crash running rspec let(:foo){undefinedhash['key']}
- I have a somewhat inconsistent steps to reproduce
1) in my existing terminal, I created the code that is in the attached tarball
2)
tar xzvf ruby-10486.tar
cd rubybug
bundle install --path=vendor
bundle exec rake doc
and I get ... -
04:14 AM Bug #8989: Ruby 2.1 unable to build because of problem with rdoc directory
- I can build 2.2.0-preview1 without rdoc, which is fine for now, by adding the configure flag --disable-install-rdoc
-
03:59 AM Bug #8989: Ruby 2.1 unable to build because of problem with rdoc directory
- This is still a problem when building 2.2.0-preview1. The problem still occurs even if first running 'make distclean'.
-
03:16 AM Revision 93ccab82 (git): securerandom.rb: separate implementations
- * lib/securerandom.rb (SecureRandom.gen_random): separate
implementation details and select at the load time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:09 AM Revision 0066d95f (git): win32/registry.rb: slice in WCHARs
- * ext/win32/lib/win32/registry.rb (Win32::Registry::API#Enum{Value,Key):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:49 AM Revision 0babd248 (git): * test/net/http: Examine webrick log.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:45 AM Revision f367fe81 (git): * gems/bundled_gems: upgraded to test-unit 3.0.5.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:42 AM Revision ee0a9dfb (git): * defs/known_errors.def: More errors for FreeBSD.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:30 AM Revision dc32dc54 (git): * gems/bundled_gems: upgraded to power_assert 0.2.0.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:57 AM Feature #10489 (Assigned): Add inherit method for clearer and multiple inheritance
- A new and more intuitive syntax:
class B
end
class A
inherit B
end
Instead of (but keeping this for backwards compatibility):
```
class B
end
class A < B
end
```
Besides, this allows multiple in... -
01:31 AM Revision 7d7bdcc5 (git): securerandom.rb: fix substring of FormatMessage result
- * lib/securerandom.rb: set the script encoding to make a string
literal in SecureRandom::Kernel32.last_error_message single byte
encoding so msg[] works in bytes, since FormatMessage() returns
the size in TCHARs, not in characters.... -
01:17 AM Revision ee0b5fbd (git): Fix previous change.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:51 AM Revision 7044cea3 (git): * test/webrick: Refine log tests.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:13 AM Revision f6695a95 (git): * defs/known_errors.def (EHWPOISON): New errno symbol.
- It is defined by glibc-2.16.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/08/2014
-
09:31 PM Bug #9907: Abbreviated method assignment with private attr_writer/attr_reader does not work.
- Until now, the ability to call private methods has always been a property verifiable at parse time
(no receiver or "receiver is self and methods ends with =").
I think it is good to remain that way so it is really easy to know whethe... -
08:53 PM Feature #5809 (Closed): Benchmark#bm: remove the label_width parameter
- Closing this since it would significantly break compatibility.
-
08:48 PM Feature #4978 (Rejected): forwardable: support for 'delegate :method => :accessor'
- No discussion and the current code works fine while the new one has unlikely but possible compatibility issues.
Therefore I close it. -
08:39 PM Feature #3067 (Closed): complex.c : Question: why Complex#~ is disabled? It's in the doc
- I see, it's from https://gcc.gnu.org/onlinedocs/gcc/Complex.html.
As said before, this is potentially confusing so the current behavior of not defining it seems best. -
08:30 PM Bug #10488 (Closed): Consistency of Module#const_defined? and constant lookup
- Currently, if for some module `mod` and constant `Const`,
`mod.const_defined?(:Const)` is true does not imply `mod::Const` is not an error.
This is inconsistent for at least the following cases:
* if mod is a Module but not a clas... - 08:01 PM Revision dc79945a (git): * lib/securerandom.rb (initialize): call the special method for Win32
- before cheking `/dev/urandom` because we know windows doesn't have it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:59 PM Revision 6999a866 (git): * lib/securerandom.rb: more refactoring.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:57 PM Bug #10487: [PATCH 3/3] More than 3 arguments Passing to CMath.log doesn't make sense.
- Only my concern is constant `E` can be overrided.
-
07:53 PM Bug #10487 (Closed): [PATCH 3/3] More than 3 arguments Passing to CMath.log doesn't make sense.
- Hi, there.
I was wondering which is prefer reporting this issue as bugs or feature.
Finally I decided to report as bugs because I thought such a issue being totally unexpected can be called bugs.
Aside from that, let me show the ... - 07:02 PM Revision b2247be9 (git): * lib/securerandom.rb (SecureRandom::AdvApi32): split from `initialize`.
- thanks @zzak to remember it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:35 PM Bug #10486: Crash running rspec let(:foo){undefinedhash['key']}
- I am working on the simplest test case. Mine is currently a lot of code.
-
12:23 AM Bug #10486 (Feedback): Crash running rspec let(:foo){undefinedhash['key']}
- How to reproduce it?
-
05:06 PM Revision 179fde39 (git): * test/net/http/utils.rb: Don't connect to spawned server
- before actual test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:54 PM Revision 61ad543a (git): * object.c (Module#const_defined?): [DOC] Revise the documentation.
- Patch by Xavier Noria.
[Fixes GH-754] https://github.com/ruby/ruby/pull/754
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:38 PM Revision 07e1bcaa (git): * 2014-11-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:38 PM Revision 742bbbb0 (git): * test/webrick: Examine log and use assert_join_threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:41 PM Revision 8222432c (git): Use assert_join_threads.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e