Activity
From 01/17/2015 to 01/23/2015
01/23/2015
-
08:17 PM Bug #10777 (Rejected): variable gets reset when passing a named argument to a function, if the name of this argument is the same as variable name
- This is not Python ;)
= is assignment, or in method declarations indicates the default value for an argument.
So `func2(param="Goodbye")` is effectively the same as
param="Goodbye"
func2(param)
which makes the current be... -
08:10 PM Bug #10777 (Rejected): variable gets reset when passing a named argument to a function, if the name of this argument is the same as variable name
- I have a function, say function1 that has a variable, named param with a value of true.
from this function I call another function, function2 with the following call:
function2(param=false)
During this call the value of param in funct... -
07:58 PM Misc #10754: Tiny optimisation of Set#include?
- I didn't notice the old code being faster, and I don't see your
benchmark triggering GC. Perhaps it is related to memory size
(swapping or CPU cache misses) or power management
(CPU clock frequency adjustment, "turbo boost", etc...)... -
07:51 PM Bug #9505: Bug that should cause SystemStackError segfaults under Ruby 2.1
- For what it's worth, this appears to be fixed in ruby-2.2.0-preview2.
-
06:38 PM Bug #10776 (Closed): Ruby Chooses Incorrect Load Path For rubygems.rb
- ### Problem
I believe this problem affects version 1.9.3 and up based on a git blame, but I haven't actually checked them.
The following conditions need to all be met:
1. Ruby must be compiled without `--enable-shared`
2. argv... -
02:57 PM Revision 26d0a2a3 (git): vm_insnhelper.c: break from nested rescue
- * vm_insnhelper.c (vm_throw_start): search the target to break
from a block with nested rescue, from the nested blocks.
[ruby-core:67765] [Bug #10775] [Fix GH-820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49390 b2dd03c8-39d... -
01:54 PM Bug #10775 (Closed): "break" from a block with nested begin-rescue became impossible
- "break" from a block with nested begin-rescue became impossible.
Example(it is valid on Ruby 2.2.0, 2.1.5):
~~~ruby
2.times do
begin
raise
rescue
begin
raise
rescue
break
end
end
end
~~... -
11:36 AM Bug #10774: Regression: URI::MAilTo#to_mailtext - undefined method unescape for URI::RFC3986_Parser
- I've created a failing test for this.
-
11:08 AM Bug #10774 (Closed): Regression: URI::MAilTo#to_mailtext - undefined method unescape for URI::RFC3986_Parser
- Using this example: https://github.com/ruby/ruby/blob/ruby_2_2/lib/uri/mailto.rb#L257-L259
Ruby 2.2.0:
~~~
$ ruby -v
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
$ ruby -ruri -e 'puts UR... -
11:01 AM Revision e567f351 (git): marshal.c: indetity tables
- * marshal.c (w_object, marshal_dump): use indetity tables for
arbitrary VALUE keys, because of performance of FLONUM.
[Bug #10761]
* marshal.c (obj_alloc_by_klass, marshal_load): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
10:26 AM Feature #10773: nested module should work in instance_eval
- my ruby version:
~~~
roroco@roroco ~ $ ruby -v
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
~~~
my sys info:
~~~
roroco@roroco ~ $ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Descript... -
10:16 AM Feature #10773 (Rejected): nested module should work in instance_eval
- see my code:
~~~
module M
module M2
end
end
class C
include M
def ivk_m2(*args, &blk)
M2
end
end
C.new.ivk_m2 # work
C.new.instance_eval do
meth_in_m # work
M2 # not work
end
~~~
and outp... - 08:14 AM Revision bb7830c7 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:13 AM Revision 200b582f (git): benchmark/bm_marshal_dump_flo.rb: new benchmark for [Bug #10761]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:36 AM Revision 059ea6e4 (git): hash.c: move Hash specific functions
- * hash.c (rb_ident_hash): move compare_by_identity specific
function from st.c.
* hash.c (rb_ident_hash_new): ditto from thread.c.
* st.c (st_numhash): remove ruby's Hash specific implementation.
* thread.c (recursive_list_access): ... - 02:11 AM Revision 51efda1e (git): * 2015-01-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:11 AM Revision 1318ed39 (git): vcs.rb: fix after_export
- * tool/vcs.rb (VCS#after_export): fix nesting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/22/2015
-
11:20 PM Feature #10772: Add ability to change rotated log file extention
- See https://github.com/ruby/ruby/pull/818 for a solution.
-
11:18 PM Feature #10772 (Closed): Add ability to change rotated log file extention
- This patch allows a logger to be created that has a custom date format
to the rotated log files when shift_age is set, instead of the hardcoded
value ("%Y%m%d"), like so:
Logger.new('foo.log', 1024000, '%Y-%m-%d')
Making this... -
02:39 PM Feature #7361: Adding Pathname#touch
- Any way i can help?
-
01:20 PM Misc #10757: Vagrant environment for MRI contributors
- Clean up after the Tck/Tk installs.
-
06:40 AM Misc #10757: Vagrant environment for MRI contributors
- Nice catch on the Ubuntu version being old.
* Included patch by Nobu
* Updated Ubuntu to trusty64
* Added the Tcl/Tk dependency
* Removed nasty openssl hacks because trusty64 already has updated openssl
* Included a link to the De... -
11:51 AM Bug #10633: OpenSSL RangeError on update
- Backported into ruby_2_1 at r49383.
-
11:51 AM Revision 2558571d (git): merge revision(s) r48923: [Backport #10633]
- * ext/openssl/ossl_cipher.c (ossl_cipher_update_long): update huge
data gradually not to exceed INT_MAX. workaround of OpenSSL API
limitation. [ruby-core:67043] [Bug #10633]
git-svn-id: svn+ssh://ci.ruby-lang.org/... -
10:19 AM Feature #10770: chr and ord behavior for ill-formed byte sequences and surrogate code points
- Masaki Kagaya wrote:
> ~~~ruby
> ...
Sounds like a bug of `String#each_char`, but maybe intensional.
> The one way of keeping consistency is change `ord` to return substitute code point such as 0xFFFD adopted by `scrub`.
Implicit... -
01:12 AM Feature #10770: chr and ord behavior for ill-formed byte sequences and surrogate code points
- This issue comes from discussion about mruby's behavior (https://github.com/mruby/mruby/issues/2708).
-
01:09 AM Feature #10770 (Open): chr and ord behavior for ill-formed byte sequences and surrogate code points
- `ord` raises error when meeting ill-formed byte sequences, thus the difference of atttiute exists between `each_char` and `each_codepoint`.
~~~ruby
str = "a\x80bc"
str.each_char {|c| puts c }
# no error
str.each_codepoint {|c| pu... -
09:22 AM Bug #10735: Memory leak in openssl ossl_pkey_sign
- Confirming the same with the current Ruby 2.2 (ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]):
~~~
{:count=>5, :heap_allocated_pages=>74, :heap_sorted_length=>75, :heap_allocatable_pages=>0, :heap_available_slots=>30164,... -
09:16 AM Bug #10668: Fix description for Zlib.crc32
- ruby_2_0_0 r49382 merged revision(s) 49202.
- 09:15 AM Revision eec0044d (git): merge revision(s) 49202: [Backport #10668]
- * ext/zlib/zlib.c: fix document of method signatures.
[Bug #10668][ruby-core:67186][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:11 AM Bug #9917: TestIO#test_io_select_with_many_files results in timeout expiration on AIX
- ruby_2_0_0 r49381 merged revision(s) 49148.
- 09:10 AM Revision 8c519e28 (git): merge revision(s) 49148: [Backport #9917]
- * test/ruby/test_io.rb: added timeout for AIX environment.
[ruby-core:62983][Bug #9917]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@49381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:06 AM Revision a80f7f05 (git): * ChangeLog: tabify.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:05 AM Revision aa56ab4a (git): * tool/redmine-backporter.rb (find_svn_log): use double quotes instead
- of single quotes because cmd.exe doesn't handle them.
* tool/redmine-backporter.rb (done): the 2nd element of matched data
is the offset of the end of matched string, not length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@493... -
09:02 AM Bug #10692: there is no response body with HEAD request (fixed at r49105)
- ruby_2_0_0 r49378 merged revision(s) 49104,49105.
- 08:31 AM Revision acdab5fd (git): merge revision(s) 49104,49105: [Backport #10692]
- * test/net/http/test_http.rb (_test_send_request__HEAD): Added
failing test for send_request with HEAD method.
* lib/net/http.rb (Net::HTTP#send_request): there is no response body
with HEAD request. Patch by... -
07:58 AM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
- Committed as r49376. Scary regression, sorry for the breakage :x
-
07:49 AM Bug #10761 (Closed): Marshal.dump 100% slower in 2.2.0 vs 2.1.5 - Applied in changeset r49376.
----------
fix flonum hashing regression from r45384
* st.c (st_numhash): mix float value for flonum
* hash.c (rb_any_hash): ditto
* benchmark/bm_hash_aref_flo.rb: new benchmark
* benchmark/bm_hash_ident_fl... -
12:58 AM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
- Eric Wong <normalperson@yhbt.net> wrote:
> normalperson@yhbt.net wrote:
> > patch (also attached):
> > http://80x24.org/spew/m/flonum-hash-fixup-r45384-v1@r49365.txt
>
> NAK. "gem install <anything>" seems to infinite loop with t... -
12:08 AM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
- normalperson@yhbt.net wrote:
> patch (also attached):
> http://80x24.org/spew/m/flonum-hash-fixup-r45384-v1@r49365.txt
NAK. "gem install <anything>" seems to infinite loop with this. - 07:49 AM Revision 8341ca05 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:48 AM Revision 6d56fd06 (git): fix flonum hashing regression from r45384
- * st.c (st_numhash): mix float value for flonum
* hash.c (rb_any_hash): ditto
* benchmark/bm_hash_aref_flo.rb: new benchmark
* benchmark/bm_hash_ident_flo.rb: ditto
[Bug #10761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49376 ... -
06:50 AM Misc #10742: segmentation fault error while running ruby project
- any update please
-
05:50 AM Feature #10771 (Closed): An easy way to get the source location of a constant
- For constants, it is difficult to get the source location where it was (last) defined. I request either of the following to be implemented:
* Tracepoint emits a signal when a constant is defined.
* Implement a `Constant` class (simil... -
02:47 AM Bug #10671: Update documentation for literal syntax to reflect the fact that symbols are GC-ed
- ruby_2_2 r49375 merged revision(s) 49056.
-
02:47 AM Revision b5e22aa1 (git): merge revision(s) 49056: [Backport #10671]
- * doc/syntax/literals.rdoc (Symbols): now Symbols created by
interpolation can be garbage collected. patch by Yihang Ho in
[ruby-core:67194]. [Bug #10671]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_... -
02:46 AM Bug #10689: `unexpected break' occurs when TracePoint#binding is called
- ruby_2_2 r49374 merged revision(s) 49266.
-
02:46 AM Revision 0ee6afe2 (git): merge revision(s) 49266: [Backport #10689]
- * eval_intern.h, vm.c, vm_eval.c, vm_insnhelper.c:
change throw mechanism (not save target ep, but save target cfp).
It fixes `unexpected break' bug that occurs when
TracePoint#binding is called.
[... -
01:49 AM Bug #10767 (Rejected): Time.local doesn't raise an exception during the dead hour on DST
- Sometimes an application needs a time object near the given arguments even if the time object doesn't represent the arguments exactly.
It is especially useful for DST and leap second because an application cannot expect DST and leap sec... -
12:35 AM Feature #10769 (Closed): Negative counterpart to Enumerable#slice_when
- It seems to me that most useful cases of `Enumerable#slice_when` involve a negative condition inside the block. That observation seems to be confirmed by the official examples in http://docs.ruby-lang.org/ja/2.2.0/method/Enumerable/i/sl...
-
12:14 AM Revision c73f2d28 (git): rmdirs.bat: remove last "."
- * win32/rmdirs.bat: remove last "." since rmdir fails to remove it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:14 AM Revision aee73bd6 (git): * 2015-01-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:14 AM Revision 000c0792 (git): common.mk: reorder clean
- * common.mk (clean): clean local at last, and remove enc/trans.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/21/2015
-
11:06 PM Bug #10768: segfault during ruby_vm_destruct() in cont_free()
- There are also some other threads present in this app at shutdown time, created by a c-extension as worker threads. These threads do not interact with the ruby vm directly, but instead communicate over a queue. I guess this must be relat...
-
10:52 PM Bug #10768 (Closed): segfault during ruby_vm_destruct() in cont_free()
- ~~~
(gdb) where
#0 rb_vm_bugreport () at vm_dump.c:738
#1 0x00007ff4f279de2c in report_bug (file=<optimized out>, line=<optimized out>, fmt=0x7ff4f27cfce7 "Segmentation fault at %p", args=0x7ff4f4afd998) at error.c:312
#2 0x00007f... -
10:20 PM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
- Using Marshal.load on untrusted data is too risky for me,
so I only tested your last test case:
$ ./patched/ruby --disable=gems /tmp/marshal.rb
real 0m0.311s
user 0m0.308s
sys 0m0.002s
$ ~/ruby-2.1/bin/ruby --disable=... -
08:38 PM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
- janmayjuldec-programming@yahoo.com wrote:
> Final repro, no data files, all code:
Thanks, looks like my fault in r45384 [Feature #9425]
Looking for a fix which doesn't involve reverting... -
04:15 PM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
- Final repro, no data files, all code:
~~~
require 'benchmark'
class ToBeMarshaled
def initialize n
@a = []
n.times do |i|
@a << i.to_f
end
end
end
tbm = ToBeMarshaled.new(10000)
n = 100
Be... -
02:48 PM Bug #10761: Marshal.dump 100% slower in 2.2.0 vs 2.1.5
- I have an even better repro (attached) which yielded the following results:
2.1.5
user system total real
Marshal Dump 4.250000 0.080000 4.330000 ( 4.682933)
Marshal Dump 4.440000 0.040000 ... -
05:13 AM Bug #10761 (Closed): Marshal.dump 100% slower in 2.2.0 vs 2.1.5
- Calling Marshal.dump on a complex (nested) object 100 times shows the following:
2.1.5
user system total real
Marshal Dump 24.350000 0.250000 24.600000 ( 29.330294)
2.2.0
user ... -
08:22 PM Bug #10767 (Rejected): Time.local doesn't raise an exception during the dead hour on DST
- At the begin of DST ruby is accepting the 0 hour which in fact doesn't exists:
Time.local(2014, 10, 19, 0, 30)
#=> 2014-10-19 01:30:00 -0200
Time.local(2014, 10, 19, 1, 30)
#=> 2014-10-19 01:30:00 -0200
Tim... -
05:37 PM Misc #10766 (Feedback): Build failed generating RDoc documentation
- build on system:
Linux precisepuppy 3.9.11 #1 SMP Sat Jul 27 19:40:54 GMT-8 2013 i686 i686 i386 GNU/Linux
source ruby-2.2.0.tar.xz
problem:
`make` failed generating RDoc with the following error,
**
Generating RDoc documentation
i... -
04:15 PM Bug #10615: SIGKILL is not supported by signal() of some versions of MSVCRT
- Backported into ruby_2_1 at r49370.
-
04:15 PM Revision bdfd5fd1 (git): merge revision(s) r48884,r48885: [Backport #10615]
- * signal.c (ruby_signal): since SIGKILL is not supported by MSVCRT,
should be treated before calling signal(3).
[Bug #10615]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49370 b2dd03c8-39d4-4d8f-98f... -
04:10 PM Bug #10579: Segmentation fault at 0x00000000000000
- Backported into ruby_2_1 at r49369.
-
04:09 PM Revision 4b0a168d (git): merge revision(s) r48744,r48752: [Backport #10579]
- * eval.c (rb_frame_last_func): return the most recent frame method
name.
* thread.c (recursive_list_access): use the last method name,
instead of the current method name which can be unset in some
c... -
03:59 PM Bug #10524: %I segfaults with --dump=parsetree
- Backported into ruby_2_1 at r49368.
-
03:59 PM Revision 83c5b533 (git): merge revision(s) r48484: [Backport #10524]
- * parse.y (symbol_list): fix the node type of literal symbol list
with no interpolation. [ruby-core:66343]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:52 PM Bug #10526: [DOC] Revise documentation in object.c
- r45375,r48260,r48320 and r48746 were backported into ruby_2_1 at r49367.
r45375,r48260,r48320 are also documentation fix and need to resolve conflicts.
-
03:50 PM Revision f3ac23e4 (git): merge revision(s) r45375,r48260,r48320,r48746: [Backport #10526]
- * complax.c: [DOC] Document number conversion of `nil` by @skade [fix GH-570] [ci skip]
* object.c, rational.c: ditto.
* object.c: fix document of Kernel.Stirng by @suzukaze
[fix GH-743][ci skip]
* obj... -
03:38 PM Revision 8715551b (git): merge revision(s) r48186: [Backport #10448]
- * load.c (rb_f_load): path name needs to be transcoded to OS path
encoding. [ruby-list:49994]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@49366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:36 PM Bug #10568 (Closed): segmentation fault after pack & ioctl & unpack
- Hello Balazs.
Thank you for your precise report and a patch.
I've found that r44803 and r44804 seems related changesets.
I'll move this ticket to ruby-trunk again and fill Backport field because this should be backported into ru... -
01:50 PM Bug #10765: Module#remove_method remove refined method entry.
- I attached a patch for this.
-
01:47 PM Bug #10765 (Closed): Module#remove_method remove refined method entry.
- `Module#remove_method` should raise a `NameError`
if method is not defined in refined class, such as [`undef`](https://bugs.ruby-lang.org/issues/8966).
But if method is defined in refined class, `Module#remove_method` should keep refin... - 01:39 PM Revision e65fa1f4 (git): Import ruby-electric.el 2.2.1.
- * misc/ruby-electric.el: Import version 2.2.1 from
https://github.com/knu/ruby-electric.el. Improve compatibility
with and optimize for Emacs 24.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49365 b2dd03c8-39d4-4d8f-98ff-8... -
12:52 PM Bug #10764 (Closed): TracePoint API reports events for the last last line of multiline ||=
- Here is a simple test which demonstrates the problem:
~~~ruby
TracePoint.new do |tp|
printf "%8s %s:%-2d %13s\n", tp.event, tp.path, tp.lineno, tp.method_id
end.enable
def foo
end
def bar
@foo ||= foo do
end
@fo... -
12:40 PM Bug #10763 (Closed): do not receive TracePoint event for elsif
- Here is a simple test which shows that we do not receive TracePoint event for line with elsif,
and so it is impossible to implement debugger which will be able to set breakpoint on that line
(originally reported agains RubyMine's debu... -
09:58 AM Revision c51293ff (git): Makefile.in: clean ext from toplevel
- * Makefile.in (clean-ext): clean extension directories from upper
level.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:42 AM Bug #9432: ThreadError [ Attempt to unlock a mutex which is locked by another thread ]
- In Ruby 1.9.3, thread.rb has Queue.pop defined as:
~~~
183 def pop(non_block=false)
184 @mutex.synchronize{
185 while true
186 if @que.empty?
187 raise ThreadError, "queue empty" if non_block
188 ... -
07:43 AM Bug #9432: ThreadError [ Attempt to unlock a mutex which is locked by another thread ]
- The error also shows up here: https://github.com/iconara/cql-rb/issues/68
This is not an issue with the applications or the gems, or that eventmachine is written in C++. It's an MRI Ruby problem in the 2.0 implementation of Queue.pop,... -
08:38 AM Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
- Great!
-
04:45 AM Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
- Thank you. I can reproduce it.
```ruby
class A
def initialize
loop{return}
end
def foo
loop { return }
end
def bar
end
end
TracePoint.new(:return){|tp|
p tp
}.enable{
a = A.new
a.foo
a... -
06:18 AM Bug #10762 (Rejected): Math **
-
05:46 AM Bug #10762: Math ** - It's operator precedence. `**` has higher precedence than unary `-`
```
irb> -1 ** 0
=> -1
irb> (-1) ** 0
=> 1
irb> -(1 ** 0)
=> -1
``` -
05:22 AM Bug #10762 (Rejected): Math **
- According to the Maths, "any number raised to the zero power equals one".
Yet:
~~~
ruby -e 'puts((-1 ** 0) == 1)'
=> false
~~~
-
04:22 AM Revision dcdbe0f2 (git): extmk.rb: extract CLEANFILES and DISTCLEANFILES
- * ext/extmk.rb (extract_makefile): extract CLEANFILES and
DISTCLEANFILES regardless previous configration succeeded, as
ext/tk/extconf.rb makes config_list file always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49363 b2dd03c... -
12:44 AM Bug #10760 (Closed): NEWS file should include ticket / reference
- Applied in changeset r49360.
----------
* NEWS: References to tickets added.
[ruby-core:67701] [Bug #10760] Suggested by Zachary Scott. -
12:44 AM Revision 49088270 (git): * file.c: Document other cases of missing birthtime on OS with patch
- provided by @sho-h similar to GH-817. [ci skip] [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:22 AM Revision c7ba10cc (git): #10714 is a feature.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:10 AM Revision cb03af1a (git): * NEWS: References to tickets added.
- [ruby-core:67701] [Bug #10760] Suggested by Zachary Scott.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/20/2015
- 11:57 PM Revision 6b85ac36 (git): * 2015-01-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:57 PM Revision de89cd4b (git): make-snapshot: remove unused files
- * tool/make-snapshot (package): remove working directories and
unused files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:57 PM Revision df0dcd48 (git): make-snapshot: make revision.h by make
- * tool/make-snapshot (package): keep VCS management files until
prerequisites build, so that revision.h can be made by make.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:51 PM Misc #10754: Tiny optimisation of Set#include?
- With the benchmarks I've run I noticed that ~~sometimes~~ rarely, the old include? was faster.
Do you have any idea why is that? The only cause I can think of is the GC. -
08:32 PM Bug #10640: build fail with mingw-w64 gcc 4.9.2 due to configure NET_LUID check
- r44876,r47130,r48988,r48997 were backported into ruby_2_1 at r49356
-
07:27 PM Bug #10640: build fail with mingw-w64 gcc 4.9.2 due to configure NET_LUID check
- see #10679
-
08:31 PM Revision 12ef4f02 (git): merge revision(s) r44876,r47130,r48988,r48997: [Backport #10640] [Backport #10679]
- configure.in: use C99
* configure.in: ISO9899:1999 is necessary for strtoll() on FreeBSD
10, (and may be possibly other platforms).
* configure.in (NET_LUID): include also ifdef.h as a workaround of
a bug in ... -
08:28 PM Bug #10760: NEWS file should include ticket / reference
- +1
-
06:50 PM Bug #10760 (Closed): NEWS file should include ticket / reference
- Currently our [NEWS](https://github.com/ruby/ruby/blob/trunk/NEWS) file doesn't include any reference to the change, just a brief description.
I think we should follow similar conventions to Rails [release notes](https://github.com/ra... -
04:38 PM Bug #10759 (Third Party's Issue): Socket in Windows Fails to Close Correctly (message: An operation was attempted on something that is not a socket) (fptr_finalize issue?)
- Hello,
Summary:
With current versions of Ruby from the Ruby Installer (Windows 7 and Win Server 2008 R2), I will frequently (without exact recreate steps), either have my Rails app freeze or show a stack trace with an error message '... -
02:43 PM Revision b448b792 (git): vcs.rb: fix for local svn
- * tool/vcs.rb (VCS.local_path?): predicate that the argument is a
local path.
* tool/vcs.rb (VCS::SVN.search_root): extract a method to search
working root directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49355 b2dd03c8... -
02:00 PM Revision 6c68a3ed (git): * tool/vcs.rb: fix the exception given remote-url of svn.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:26 PM Bug #10758: undefined method `year' for nil:NilClass
- Hiroshi SHIBATA wrote:
> You should report rails/rails repository in github at first
Sorry but I did not know this is Rails issue. As the same code works fine on Ruby 2.1.2 but throws error on Ruby 2.2.0 despite keeping same Active r... -
01:21 PM Bug #10758 (Third Party's Issue): undefined method `year' for nil:NilClass
- You should report rails/rails repository in github at first
-
11:28 AM Bug #10758: undefined method `year' for nil:NilClass
- try to use newer activesupport version, it seems to be fixed in newer versions
-
09:37 AM Bug #10758 (Third Party's Issue): undefined method `year' for nil:NilClass
- I am facing this error only in Ruby 2.2.0 as I recently upgraded to latest Ruby 2.2.0
Here is the console log
~~~
2.2.0 :008 > Time.zone.parse("2014-12-29 20:16:32 -0400")
NoMethodError: undefined method `year' for nil:NilClass
... -
01:22 PM Bug #10724: [TracePointAPI] Missing return event from initialize method when using `domain_name` gem
- Hi again, I've been able to reduce this to the following minimal program which misses the `return` event for the `initialize` call. Attaching a failing test case.
class A
def initialize
loop { return }
end
... -
05:11 AM Revision 76d05741 (git): redmine-backporter.rb: garbage lines
- * tool/redmine-backporter.rb: remove garbage lines, and should not
override Kernel#readline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:06 AM Misc #10757: Vagrant environment for MRI contributors
- That image is Ubuntu 12.04, just after 2.0 release.
I'm afraid that is too old in these days.
And I'm not sure if these files are nice to be bundled or distributed separatedly.
Anyway, my patch against your v2 patch:
* add `vag... -
04:01 AM Misc #10757: Vagrant environment for MRI contributors
- Added a setting to VirtualBox to cause the time to be better synced with the host machine. This resolves an issue in make where the common.mk file ends up with a future timestamp and make does not like that.
-
05:05 AM Bug #10697: WIN32OLE: WIN32OLE_RECORD を使用したスクリプト終了時にruby.exe がクラッシュすることがある
- ruby_2_2 r49352 merged revision(s) 49315.
-
05:05 AM Revision a45cd375 (git): merge revision(s) 49315: [Backport #10697]
- * ext/win32ole/win32ole.c (ole_invoke): avoid SEGV when VT_RECORD
variable is passed by reference. [ruby-dev:48803] [Bug #10697]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49352 b2dd03c8-39d4-4d8f-98ff-823f... - 04:23 AM Revision 66c05ce0 (git): * tool/redmine-backporter.rb: fix bugs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:09 AM Revision aa6b7b07 (git): redmine-backporter.rb: try Readline
- * tool/redmine-backporter.rb (readline): try Readline.readline if
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:09 AM Revision 87bb3275 (git): redmine-backporter.rb: get rid of wrapping
- * tool/redmine-backporter.rb (readline): get rid of wrapping at
the right edge on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:59 AM Revision 4b1784c6 (git): * tool/redmine-backporter.rb: now can change the page of `ls`.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:34 AM Revision 08e96e69 (git): * ChangeLog: use tab.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:32 AM Revision 3b801a8c (git): redmine-backporter.rb: fix for Windows
- * tool/redmine-backporter.rb (readline): make binmode so that
single enter works on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:30 AM Revision 64318f2a (git): * tool/redmine-backporter.rb (readline): fallback to normal gets on
- Windows because IO.console.getch is not always do as expected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:14 AM Revision 506cb406 (git): redmine-backporter.rb: like Readline.readline
- * tool/redmine-backporter.rb (readline): rename and add optional
argument prompt, like Readline.readline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:09 AM Revision 6cb0b95f (git): redmine-backporter.rb: improve mygets
- * tool/redmine-backporter.rb (mygets): newline to finish, fix DEL
code, erase the last character at DEL/BS, and use \C escapes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:31 AM Revision 2076f1e0 (git): * tool/redmine-backporter.rb: update usage.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:28 AM Revision 1e75c183 (git): merge revision(s) 49340:
- Use master instead of HEAD
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:25 AM Revision e7317dde (git): Use master instead of HEAD
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:25 AM Revision 5a314fbc (git): * tool/redmine-backporter.rb (mygets): to support Backspace
- implement gets by itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:58 AM Revision 62ef3835 (git): test_module.rb: more tests
- * test/ruby/test_module.rb: more tests for multiple prepend.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/19/2015
- 05:57 PM Revision fbf5509d (git): * 2015-01-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:57 PM Revision 857756ac (git): * file.c: NotImplementedError is raised if birthtime is unavailable.
- Patch by @y-yagi san and [Fixes GH-817] [ci skip] [DOC]
* ext/pathname/pathname.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:27 PM Bug #10733 (Closed): Time.httpdate raises ArgumentError when DateTime.now.httpdate is provided as input
-
10:54 AM Bug #10733: Time.httpdate raises ArgumentError when DateTime.now.httpdate is provided as input
- Maybe it's worth trying with some other encodings (e.g. 'iso-8859-1' or so). Or change the order. I'd also suggest to find out what encoding the regexp has, and try and create the regexp from a string with a different encoding. In theory...
-
10:02 AM Bug #10733: Time.httpdate raises ArgumentError when DateTime.now.httpdate is provided as input
- Oh and if you comment out the local_httpdate(date_UTF) line, the space is consumed.
~~~
~/src/bugs/10733 bundle exec ruby 10733.rb
19 Jan 2015 08:43:19 GMT
~~~
So definitely spooky action in the regex engine - which is written i... -
09:54 AM Bug #10733: Time.httpdate raises ArgumentError when DateTime.now.httpdate is provided as input
- ok, the US-ASCII encoding is not having its space consumed as the regex matches! I've extracted the part of the regex from Time.httpdate that is working, and looking at the post-match parts - they should be the same.
```ruby
def loca... -
09:35 AM Bug #10733: Time.httpdate raises ArgumentError when DateTime.now.httpdate is provided as input
- defintely a regex issue, not related to DateTime or Time at all (other than them being affected the same)
```ruby
def local_httpdate(date)
if /\A\s*
(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun),\x20
(\d{2})\x20
(Jan|Feb|Ma... -
09:00 AM Bug #10733: Time.httpdate raises ArgumentError when DateTime.now.httpdate is provided as input
- This is a tricky one. It is a spooky interaction when calling `Time.httpdate` with an US-ASCII encoding _after_ calling `Time.httpdate` with an UTF-8 encoding.
If you just pass the result of `DateTime.now.httpdate` (which has a US-ASC... -
02:09 PM Revision 0fb2cd45 (git): class.c: add callback argument
- * class.c (rb_class_foreach_subclass): add argument for callback
function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:44 PM Revision 97d71ce8 (git): .travis.yml: for r49326
- * .travis.yml (before_script): need MAKEDIRS to make enc/trans.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:08 PM Revision 877875ec (git): * 2015-01-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:08 PM Revision 59270c60 (git): class.c: prepend for each classes
- * class.c (include_modules_at): allow prepend each modules upto
once for each classes. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:47 AM Bug #10707: Segmentation fault when get refined new method in BasicObject
- ruby_2_2 r49331 merged revision(s) 49184.
-
06:46 AM Revision 4949acb2 (git): merge revision(s) 49184: [Backport #10707]
- * vm_method.c (rb_method_entry): if no super class, no original
method entry. [ruby-core:67389] [Bug #10707]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:47 AM Misc #10742: segmentation fault error while running ruby project
- Hay any solution on this?
-
03:22 AM Misc #10757: Vagrant environment for MRI contributors
- That is a good question. I don't know why but it is what is recommended in the developer how to and the Travis CI setup uses it as well.
https://bugs.ruby-lang.org/projects/ruby/wiki/DeveloperHowto
https://travis-ci.org/ruby/ruby/jo... -
03:04 AM Bug #10752: Ruby 2.2.0 does not build on FreeBSD 8.4
- ruby_2_2 r49330 merged revision(s) 49321.
-
03:04 AM Revision 6222c208 (git): merge revision(s) 49321: [Backport #10752]
- * vm_dump.c (rb_vm_bugreport): check by configured result instead
of system name for old FreeBSD. based on a patch by Steve Wills
at [ruby-core:67655]. [Bug #10752]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bran... -
03:01 AM Bug #10750: configure script has bashism on Ruby 2.2.0
- ruby_2_2 r49329 merged revision(s) 49306.
-
03:01 AM Revision e8e1a374 (git): merge revision(s) 49306: [Backport #10750]
- * configure.in: get rid of pattern substitution, which is not
supported by ash, and ash on NetBSD parses whole source first
and fails to start. [ruby-dev:48823] [Bug #10750]
git-svn-id: svn+ssh://ci.ruby-lang.org/r... -
02:59 AM Bug #10716: Erroneous semicolon after AC_CASE
- ruby_2_2 r49328 merged revision(s) 49192.
-
02:59 AM Revision b55129c3 (git): merge revision(s) 49192: [Backport #10716]
- * configure.in (RUBY_SETJMP_TYPE): Remove superfluous semicolon
which causes a syntax error with autoconf 2.63.
[ruby-core:67429] [Bug #10716]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49328 b2dd... -
02:45 AM Bug #10732: rdoc:ファイル中に単独の\rがあるとrdocがハングアップする
- ruby_2_2 r49327 merged revision(s) 49223.
-
02:45 AM Revision 9dd9feab (git): merge revision(s) 49223: [Backport #10732]
- * lib/rdoc/text.rb (expand_tabs): get rid of infinite loop with
CR. should check if substitution occurred too.
[ruby-dev:48813] [Bug #10732]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49327 b2dd0...
01/18/2015
-
04:28 PM Bug #10686: Memory leaking from torture test of symbol GC
- Eric Wong wrote:
> Symbol GC is a new feature in 2.2. In 2.1, symbols could never be GC-ed
> ...
I see, thanks for the explanation. Not back porting makes sense then. -
02:46 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
- Alex Boyd wrote:
> In addition to the above, here's another one: a block of code that could fail for reasons beyond your control, where you want to catch errors in a production environment and handle them as gracefully as possible while... -
01:12 PM Revision 4c3d694f (git): common.mk: make enc/trans
- * common.mk: buildtin encoding and transcoder objects need output
directories when out-place build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:46 AM Feature #4921: Remove intern.h
- 掘り返し失礼します.
まだ include/ruby/intern.h はご健在の様ですが、
将来的に非公開になると念頭に置いていた方が好ましいのでしょうか.
(その場合でも晒しぱなしにして頂けると嬉しいAPIが何個かあったりします.) -
09:32 AM Revision 2d47bf62 (git): * math.c (math_atan2): revive documentation before r49220.
- http://d.hatena.ne.jp/nagachika/20150112/ruby_trunk_changes_49213_49226
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:47 AM Revision 5b7850da (git): README files renamed
- .document: README files renamed at r44684. [Bug #9255]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:17 AM Revision 459c590c (git): merge revision(s) 49225: [Backport #10711]
- * test/ruby/test_numeric.rb (TestNumeric#test_coerce): fixed wrong message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:53 AM Misc #10757: Vagrant environment for MRI contributors
- Why `build-dep ruby1.9.1`?
Debian seems having `ruby2.1`. -
03:47 AM Misc #10757 (Rejected): Vagrant environment for MRI contributors
- This patch includes a Vagrant file that will quickly and easily setup a development environment for MRI contributors. Following are some benefits of having a vagrant setup for contributors.
* Increase the number of contributors by ma... -
06:57 AM Bug #10753 (Closed): Refined class returns unexpected value when call public_method_defined?, protected_method_defined?, private_method_defined?
- Applied in changeset r49322.
----------
vm_method.c: method defined should not use refinements.
* vm_method.c (check_definition): Module#public_method_defined?,
Module#private_method_defined?, Module#protected_method_defined?
shoul... -
06:57 AM Revision dd1baaab (git): vm_method.c: method defined should not use refinements.
- * vm_method.c (check_definition): Module#public_method_defined?,
Module#private_method_defined?, Module#protected_method_defined?
should not use refinements. [ruby-core:67656] [Bug #10753]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... -
06:50 AM Bug #10752 (Closed): Ruby 2.2.0 does not build on FreeBSD 8.4
- Applied in changeset r49321.
----------
vm_dump.c: check by configured result
* vm_dump.c (rb_vm_bugreport): check by configured result instead
of system name for old FreeBSD. based on a patch by Steve Wills
at [ruby-core:67655]. ... -
06:50 AM Revision 6d2e8b05 (git): vm_dump.c: check by configured result
- * vm_dump.c (rb_vm_bugreport): check by configured result instead
of system name for old FreeBSD. based on a patch by Steve Wills
at [ruby-core:67655]. [Bug #10752]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49321 b2dd03c8-... -
06:50 AM Revision 00459aa8 (git): vcs.rb: search svn directory
- * tool/vcs.rb (VCS::SVN#wcroot): search svn directory by
traversing parent directories for old svn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:25 AM Revision d32a13a3 (git): vcs.rb: debug
- * tool/vcs.rb (VCS::SVN#wcroot): debug info.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:24 AM Revision 6b6178fc (git): vcs.rb: workaround
- * tool/vcs.rb (VCS::SVN#export): workaround for the case
wcroot-abspath is not present.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:56 AM Revision fbbf3afc (git): builtin encodings and transcoder locations
- * Makefile.in (VPATH, NEWLINE_C), common.mk (common-srcs): make
and use newline.c under enc/trans directory, not toplevel. no
longer search enc directory implicitly.
* configure.in, enc/Makefile.in (BUILTIN_ENCS, BUILTIN_TRANSES):
... -
03:18 AM Misc #10756 (Rejected): Add spaces between args
- Hi!
Priority is super low, so please take you time or you can even ignore :) -
03:10 AM Feature #10755 (Open): Use rb_define_alias instead of rb_define_method for rb_cHash
- Hi, there.
The main reason for using `rb_define_alias` is generating more prefer Document and making code more readable.
Is there any reason `rb_define_method` is prefered to `rb_define_alias`?
If so, please let me know :)
If n... -
02:53 AM Bug #10697 (Closed): WIN32OLE: WIN32OLE_RECORD を使用したスクリプト終了時にruby.exe がクラッシュすることがある
- Applied in changeset r49315.
----------
* ext/win32ole/win32ole.c (ole_invoke): avoid SEGV when VT_RECORD
variable is passed by reference. [ruby-dev:48803] [Bug #10697] - 02:53 AM Revision 20e9b15e (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:53 AM Revision 8f67e980 (git): * ext/win32ole/win32ole.c (ole_invoke): avoid SEGV when VT_RECORD
- variable is passed by reference. [ruby-dev:48803] [Bug #10697]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:22 AM Revision 8287581a (git): vcs.rb: export without remote svn
- * tool/vcs.rb (VCS::SVN#export): export without access to the
remote server.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:58 AM Misc #10754: Tiny optimisation of Set#include?
- This speedup probably happens because Hash#[] has an optimized dispatch
VM instruction (opt_aref in insns.def) while Hash#include? does not.
Seems like an OK change to make, I'll commit in a few days unless others
raise objections. -
01:29 AM Misc #10754 (Closed): Tiny optimisation of Set#include?
- Hi!
I'm not sure if this a relevant optimisation but here it goes. A simple way to improve Set#include?
I don't think there should be any side effects with this change.
Here are some dummy benchmarks https://gist.github.com/ismael... -
01:55 AM Bug #10723: [PERF] bm_tread_create_join 20% slower
- akr: any comments? I'll commit my patch in a few days, but I hope we
can recover more performance. Thanks.
01/17/2015
-
11:05 PM Bug #10745: Special combinations of parameters in assert_equal (test/unit) may cause exceptions
- Benoit Daloze wrote:
> I disagree, the exception is more useful as an error than just assert_equal returning false.
According to http://docs.ruby-lang.org/ja/2.1.0/method/Test=3a=3aUnit=3a=3aAssertions/i/assert_equal.html, it should... -
10:50 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
- I think this is a terrible idea. Error messages should be used only for creating outputs, and not for internal conditioning. They should be able to be revisited independently of other parts of the code. Hard coding conditions based on th...
-
07:37 PM Feature #10481: Add "if" and "unless" clauses to rescue statements
Might 'case-when' follow this syntax where 'if' can be used...
or maybe just add some new method like 'raise' but try next recuse clause?-
09:49 PM Bug #10686: Memory leaking from torture test of symbol GC
- Symbol GC is a new feature in 2.2. In 2.1, symbols could never be GC-ed
at all so you'll see this growth, and I don't think it's the policy to
backport new features. -
06:58 PM Bug #10686: Memory leaking from torture test of symbol GC
- I have to disagree that this isn't needed to be back ported to 2.1. I just tried it with my ruby 2.1 and saw memory growing rather quickly. My ruby -v:
ruby 2.1.5p273 (2014-11-13 revision 48405) [amd64-freebsd11]
-
06:47 PM Bug #10753: Refined class returns unexpected value when call public_method_defined?, protected_method_defined?, private_method_defined?
- I create a patch for this.
-
06:44 PM Bug #10753 (Closed): Refined class returns unexpected value when call public_method_defined?, protected_method_defined?, private_method_defined?
- When I call `public_method_defined?` or `protected_method_defined?` or `private_method_defined?` methods of the class,
the result is not expected if the method is refined.
i confirmed with following example programs in ruby-trunk, 2.... -
05:07 PM Bug #10752 (Closed): Ruby 2.2.0 does not build on FreeBSD 8.4
- Trying to build Ruby 2.2.0 on FreeBSD 8.4 produces an error:
vm_dump.c:718:25: error: libprocstat.h: No such file or directory
See http://poudriere.mouf.net/poudriere/data/84amd64-default/2015-01-17_15h18m45s/logs/errors/ruby-2.2.0... -
04:00 PM Bug #10711: Incorrect error message in coerce failed
- ruby_2_2 r49313 merged revision(s) 49224,49234,49235.
-
04:00 PM Revision 636f1919 (git): merge revision(s) 49224,49234,49235: [Backport #10711]
- * numeric.c (bit_coerce): use original value for error message
[ruby-core:67405] [Bug #10711]
* test/ruby/test_numeric.rb (test_coerce): check error message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2... -
03:57 PM Revision 632fb2e1 (git): drb.rb: do not wait handler threads
- * lib/drb/drb.rb (stop_service): just stop but do not wait handler
threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:53 PM Bug #10731: Segmentation fault when create alias to refined method
- ruby_2_2 r49311 merged revision(s) 49221.
-
03:53 PM Revision 38921417 (git): merge revision(s) 49221: [Backport #10731]
- * vm_method.c (rb_alias): raise a NameError when creating alias to
a refined method if the original method of the refined method is
not defined. [ruby-core:67523] [Bug #10731]
git-svn-id: svn+ssh://ci.ruby-lang.org... -
03:35 PM Revision c474ecb0 (git): drb.rb: stop all handlers to fix thread leaks
- * lib/drb/drb.rb (stop_service): stop all handler threads started
in main_loop. fix thread leaks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:03 PM Revision 46fe9f1d (git): * 2015-01-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:03 PM Revision f8f2b0f1 (git): file2lastrev.rb: no ellipsis shorter names
- * tool/file2lastrev.rb (revision_h): do not truncate and ellipsis
names shorter than the limit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:59 PM Revision f59ce53f (git): yaml_tree.rb: fix anchor
- * ext/psych/lib/psych/visitors/yaml_tree.rb (visit_String):
anchors like `\Z` are not valid inside character class. use
negative-lookahead instead.
Fixes: https://github.com/tenderlove/psych/issues/221
git-svn-id: svn+ssh://ci.ru... -
02:42 PM Bug #10750 (Closed): configure script has bashism on Ruby 2.2.0
- Applied in changeset r49306.
----------
configure.in: no pattern substitution
* configure.in: get rid of pattern substitution, which is not
supported by ash, and ash on NetBSD parses whole source first
and fails to start. [ruby-de... -
02:25 PM Bug #10750 (Closed): configure script has bashism on Ruby 2.2.0
- On Ruby 2.2.0, configure script has bashism part and it cause syntax error:
~~~
./configure: 21262: Syntax error: Bad substitution
~~~
The problem line:
~~~
test "x${linker_flag}" = x || flag="${linker_flag}${flag// /,}"
... -
02:42 PM Revision 748372be (git): configure.in: no pattern substitution
- * configure.in: get rid of pattern substitution, which is not
supported by ash, and ash on NetBSD parses whole source first
and fails to start. [ruby-dev:48823] [Bug #10750]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49306 b... -
02:36 PM Bug #10751 (Closed): Abandon (core dumped)
- Hi
I have many of those:
/home/user/.rvm/gems/ruby-2.0.0-p598@global/bin/bundle: malloc.c:3695: _int_malloc: Assertion `(unsigned long) (size) >= (unsigned long) (nb)' failed.
Bundle install a few package, then crache.
If i start... -
01:56 PM Revision e1aabbd3 (git): file2lastrev.rb: limit branch names
- * tool/file2lastrev.rb (revision_h): limit branch names upto 16
chars, and replace extra part with ".." not to exceed the limit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:56 PM Revision ae273826 (git): vcs.rb: no empty names
- * tool/vcs.rb (get_revisions): branch names must not be empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:25 PM Revision 223a4a5a (git): merge revision(s) 49168: [Backport #10700]
- * dir.c (need_normalization): not only HFS+, CIFS (SMB) is also
decomposed. [Bug #10704]
* dir.c (NORMALIZE_UTF8PATH): Unicode decomposition seems to
perform in an upper layer than file systems on OSX, as al... -
01:25 PM Bug #10719: empty splatting literal hash after other keywords causes SEGV
- ruby_2_2 r49302 merged revision(s) 49193.
-
01:25 PM Revision 6170db40 (git): merge revision(s) 49193: [Backport #10719]
- * parse.y (assocs, assoc): eliminate splatting empty literal
hashes. [ruby-core:67446] [Bug #10719]
* compile.c (compile_array_): supprt splatted hash in hash type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branch... -
12:56 PM Revision 63491598 (git): version.h: include branch name
- * tool/file2lastrev.rb, tool/vcs.rb (get_revisions): define
RUBY_BRANCH_NAME from the current branch name.
* version.h (RUBY_REVISION_STR): include the current branch name
not "trunk" always.
git-svn-id: svn+ssh://ci.ruby-lang.org/... -
10:52 AM Revision 8cfce153 (git): fiddle: --disable-bundled-libffi
- * ext/fiddle/extconf.rb: disable bundled libffi if explicitly
disabled by --disable-bundled-libffi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:55 AM Bug #6232: Ruby : Segmentation fault on Readline.refresh_line after screen resize.
- ruby_2_2 r49299 merged revision(s) 49244.
-
07:50 AM Revision b66b6452 (git): merge revision(s) 49244: [Backport #6232]
- * ext/readline/readline.c (readline_s_refresh_line): initialize
before rl_refresh_line(), as some function make the internal
state non-clean but rl_refresh_line() does not re-initialize it.
[ruby-core:43957]... -
07:47 AM Bug #10727: Segfault with newlines + multibyte characters in exception message
- ruby_2_2 r49298 merged revision(s) 49201,49203.
-
07:47 AM Revision 6c4e9b2b (git): merge revision(s) 49201,49203: [Backport #10727]
- * eval_error.c (error_print): pos and len parameters of rb_str_substr()
are counted by characters, not bytes. use rb_str_subseq() instead.
[Bug #10727] [ruby-core:67473]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
07:38 AM Bug #10706: Segmentation fault when change visibility of refined new method
- ruby_2_2 r49297 merged revision(s) 49182,49183.
-
07:36 AM Revision 2ca46bfc (git): merge revision(s) 49182,49183: [Backport #10706]
- vm_method.c: fix change refined new method visibility
* vm_method.c (rb_export_method): bail out if the original method
is undefined when the method is refined.
[ruby-core:67387] [Bug #10706]
git-svn-id: svn... -
07:17 AM Bug #10700: On case-sensitive filesystem on OS X, Dir.glob("*.TXT") matches case-insensitively
- ruby_2_2 r49296 merged revision(s) 49178.
-
07:16 AM Revision 7405ea0c (git): merge revision(s) 49178: [Backport #10700]
- * dir.c (glob_helper): match in case-folding only if the directory
resides on a case-insensitve file system, on OSX.
[ruby-core:67364] [Bug #10700]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@49296... -
06:55 AM Revision 3842ebb4 (git): suppress alert warnings
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:55 AM Revision 8d5bdaa6 (git): make-snapshot: clear RUBY_PLATFORM
- * tool/make-snapshot (package): clear RUBY_PLATFORM of the
building platform to suppress warnings in rbconfig.rb at
universal-darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:13 AM Revision 0e7c4908 (git): common.mk: unicode header locations
- * common.mk (unicode.o): fix unicode header locations, so that the
rule for name2ctype.h works.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:17 AM Bug #10723: [PERF] bm_tread_create_join 20% slower
- Minor micro-optimization, I could not find much improvement while
keeping functionality:
http://80x24.org/spew/m/thread-microopt-v1%40r49282.txt
target 0: 2.1.5 (ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]) at "/hom... -
02:49 AM Feature #10740: Base64 urlsafe methods are not urlsafe
- Nobuyoshi Nakada wrote:
> Why does `urlsafe_decode64` use `strict_decode64`, but not just `unpack("m")`?
unpack("m") and Base64.decode64 are based on RFC 2045. unpack("m0"), Base64.strict_decode64, and Base64.urlsafe_decode64 (base6... -
02:30 AM Feature #10740: Base64 urlsafe methods are not urlsafe
- Why does `urlsafe_decode64` use `strict_decode64`, but not just `unpack("m")`?
-
02:45 AM Revision 378480e1 (git): enc/unicode/name2ctype.h.blt: update for r46831
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:42 AM Revision f93a6aaa (git): make-snapshot: extract gems
- * tool/make-snapshot (package): extract bundled gems for package.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:17 AM Revision 84c181a6 (git): vcs.rb: fake string for branch names
- * tool/vcs.rb (VCS::GIT#branch): make fake string for branch names
to suppress expanding as a path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:05 AM Revision b20b9f67 (git): make-snapshot: check the first word of commands
- * tool/make-snapshot: commands stored in environment variables may
contain options, so check only the first word.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:01 AM Revision 20ad7c92 (git): * 2015-01-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:00 AM Revision 63271833 (git): rbinstall.rb: load zlib earlier
- * tool/rbinstall.rb: try to load zlib before using Gem::Installer,
not to let LoadError raise during autoloading.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e