Activity
From 11/29/2015 to 12/05/2015
12/05/2015
- 11:41 PM Revision 8f91b46d (git): * 2015-12-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:40 PM Revision 1f1e3d12 (git): * ext/json/json.gemspec: bump version to json 1.8.3. CRuby already contained
- upstream changes.
https://github.com/ruby/ruby/commit/4d059bf9f5f10f3d3088de49fc87e5555db7770d
https://github.com/flori/json/commit/d4c99de78905d96c3f301f48b2c789943bb3f098
* ext/json/lib/json/version.rb: ditto.
git-svn-id: svn+ssh:... -
07:01 PM Bug #11775 (Closed): Backport r52892 (fix the argument order of ATOMIC_SIZE_CAS)
- このチケットはバックポート管理用です。
r52892 で修正されている InterlockedCompareExchange64() を使った ATOMIC_SIZE_CAS() の修正部分は 2.0.0〜2.2 も同様なのでバックポート必要そうです。 -
04:54 PM Bug #11774 (Third Party's Issue): OpenSSL::PKey.read produces ArgumentError on invalid passphrases
- If we try to read out an RSA encrypted key with an invalid passphrase like so:
```ruby
require 'openssl'
OpenSSL::PKey.read(File.read("#{ENV['HOME']}/.ssh/id_rsa"), 'invalid')
```
We get an argument error:
```
ArgumentError: C... -
04:32 PM Bug #11762: Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
- > I think it should return nil in this case.
Anyone else have an opinion? -
04:20 PM Bug #11759: URI breaks with frozen strings
- > Outputs:
> ...
That is more significant than I thought. `''.dup` wins.
> No, we shouldn't worry about performance with older versions of Ruby
> ...
Good to have that confirmed. Then we should definitely leave the magic comment at... -
10:47 AM Misc #11770: [PATCH] $KCODEへの代入時にwarningが発生することのテストを追加
- > 将来的には$KCODEの特別扱いをなしにしたい
$KCODEを削除するという意味でしょうか?
現時点ではwarningがでることをテストしておいてもいいのかなと思っています。
> ...
誤解していました、ありがとうございます。
`test_KCODE_warning`と`test_ignorecase_warning`に分割します。
また細かい修正になりますが、以下のテストの3・4番目のasserttionを`test_ignorecase`に切... -
08:48 AM Revision bf52a8b6 (git): Fix cross build
- * tool/fake.rb: Fix cross build when srcdir is an absolute path.
* Makefile.in: PREP dependency is needed when cross build too, not
"-r$(arch)-fake" to be used before created. [Fix GH-1125]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... -
08:33 AM Revision 80bedec6 (git): assertions.rb: fallback encoding error
- * test/lib/test/unit/assertions.rb (message): fallback when
outputs from different encoding commands mixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:26 AM Bug #8822 (Closed): Incorrect encoding for ENV in Windows
- Applied in changeset r52896.
----------
hash.c: env encoding fallback on Windows
* hash.c (env_str_new, env_path_str_new): make default string
UTF-8 for the case conversion is not possible. [Bug #8822]
* hash.c (get_env_cstr): conve... -
08:26 AM Revision 5e3467c4 (git): hash.c: env encoding fallback on Windows
- * hash.c (env_str_new, env_path_str_new): make default string
UTF-8 for the case conversion is not possible. [Bug #8822]
* hash.c (get_env_cstr): convert non-ASCII string to UTF-8 string.
* hash.c (ruby_setenv): use wide char version ... -
07:58 AM Feature #11537 (Closed): Introduce "Safe navigation operator"
- Applied in changeset r52895.
----------
node.c: NODE_QCALL
* node.c (dump_node): dump NODE_QCALL. [Feature #11537]
http://twitter.com/watson1978/status/673042429931446272 -
07:58 AM Revision 613737ee (git): node.c: NODE_QCALL
- * node.c (dump_node): dump NODE_QCALL. [Feature #11537]
http://twitter.com/watson1978/status/673042429931446272
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:33 AM Feature #11773 (Closed): Enumerator::Lazy#grep_v
- `Enumerable#grep_v` was introduced in #11049.
But `Enumerator::Lazy` doesn't have the method.
I've attached a patch that adds `grep_v` to `Enumerator::Lazy`.
-
05:54 AM Bug #11772 (Closed): Implicit conversion of Array in String interpolation does not call to_str
- As (implicitly) requested at ruby-core:71843.
-
05:32 AM Bug #11772: Implicit conversion of Array in String interpolation does not call to_str
- My main point here is that anything that happens within String interpolation is "implicitly" going to be a String. So shouldn't it call `to_str` before `to_s` on anything given?
~~~ruby
class B
def to_str
"Hello from B"
e... -
05:22 AM Bug #11772 (Closed): Implicit conversion of Array in String interpolation does not call to_str
- While providing an example in https://bugs.ruby-lang.org/issues/10930#note-7 I found that the implicit changing of an Array calls to_s without trying to_str first. Isn't String interpolation "implicitly" converting items to strings?
... -
04:53 AM Feature #10930: Allow splat operator to work for string interpolation
- To better demonstrate the pain point here.
~~~ruby
class Example
def method_missing m, *a
puts "Method #{m} called with arguments ", *a
end
end
Example.new.foo :bar, :baz
#Method foo called with arguments
#bar
#baz... -
03:23 AM Bug #9715: ENV data yield ASCII-8BIT encoded strings under Windows with unicode username
- Agreed: although Ruby 2.2 appears to be trying to use locale to determine the encoding for environment vars, it's not producing reasonable results on Windows. (E.g. w32_getenv() in hash.c, and also putenv() in hash.c)
Its current beh... -
02:57 AM Revision b8172ec9 (git): Makefile.in: set CONFIGURE_TTY directly
- * Makefile.in (reconfig-exec-0): set CONFIGURE_TTY without
intermediate variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:56 AM Revision e65f38b9 (git): ruby_atomic.h: fix old value type of ATOMIC_CAS
- * ruby_atomic.h (ATOMIC_CAS): old value to be swapped should be
same as the destination. immediate value may need type
promotion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:25 AM Revision c5d2ef80 (git): ruby_atomic.h: fix the argument order
- * ruby_atomic.h (ATOMIC_SIZE_CAS): fix the argument order of
InterlockedCompareExchange64. new value and then old value is
the last.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 AM Revision 4a1b9786 (git): random.c: fix filling size
- * random.c (fill_random_seed): fix the size to be filled, not the
size of element, but the whole size of array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/04/2015
-
11:43 PM Feature #11737: Pass in expression to then block in `case expression`
- ~~~ruby
case 4 # __case__ = 4
when 4 # 4 === __case__
puts "Success! #{__case__} is what we wanted!" # __case__ not defined! ... where did it go?
end
~~~ -
11:14 PM Bug #11771: unable to pass keyargs to []=
- Eric Wong wrote:
> Affects back to 2.0 (when keyword args were introduced),
> ...
The problem here is that the []= syntax compiled into a method dispatch where positional value arg is passed last, after keyargs, something you can't eve... -
08:38 PM Bug #11771: unable to pass keyargs to []=
- Affects back to 2.0 (when keyword args were introduced),
so this doesn't seem to be an optimization bug introduced in 2.1/2.2
I'm actually not sure about the specs and if there's some special case
for kwargs interacting with aref/a... -
07:42 PM Bug #11771 (Closed): unable to pass keyargs to []=
- ```ruby
module Foo
def self.[]=(key, val, option: nil)
end
end
Foo[:key] = 1 # ok
Foo[:key, option: 1] = 1 # wrong number of arguments (3 for 2)
```
if you declare the []= params using *
```ruby
module Bar
... - 09:08 PM Revision 1e2a4575 (git): vm.c: make ruby_vm_*_ptr static
- No point in wasting space until we get MVM (if ever).
* vm.c (ruby_vm_verbose_ptr): make static
(ruby_vm_debug_ptr): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:37 PM Bug #9715: ENV data yield ASCII-8BIT encoded strings under Windows with unicode username
- Dāvis Mosāns wrote:
> looks like same as bug #8822 and seems it's still wrong even with latest Ruby 2.2
Yes, I just ran my own set of tests on the latest 2.2 release and I'm getting #<Encoding:IBM437> for ENV entries despite internal... -
04:27 PM Bug #9715: ENV data yield ASCII-8BIT encoded strings under Windows with unicode username
- looks like same as bug #8822 and seems it's still wrong even with latest Ruby 2.2
-
02:09 PM Bug #9715: ENV data yield ASCII-8BIT encoded strings under Windows with unicode username
- Trying to bump this. Even just some feedback on what an acceptable change would be and I could try to produce a patch.
-
05:28 PM Revision a560f2a4 (git): compile.c: no extra parentheses
- * compile.c (COMPILE_ERROR): remove extra parentheses to enclose
variadic arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:26 PM Revision 650f8905 (git): compile.c: just append compile error message
- * compile.c (append_compile_error, prepare_compile_error): simply
append messages to the same SyntaxError exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:59 PM Revision d7d265cd (git): * 2015-12-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:59 PM Revision bc9ac3ab (git): * include/ruby/ruby.h (RB_OBJ_TAINT): follow-up of r52881.
- Turn into void expression not to use unexpected result.
Fix "operands have incompatible types" error with
Oracle Solaris Studio 12.x on Solaris.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52886 b2dd03c8-39d4-4d8f-98ff-823fe6... -
02:31 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- Usaku NAKAMURA wrote:
> What can I say now is that we are planning to use UTF-8 as filesystem encoding on Windows at Ruby 3.0.
That's very promising to hear. I'll keep an eye out for that.
Though, Ruby 3 is quite a bit away, isn't i... -
02:15 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- What can I say now is that we are planning to use UTF-8 as filesystem encoding on Windows at Ruby 3.0.
-
01:35 PM Feature #9713: __FILE__ return unexpected encoding - breaks Dir.glob
- Revisiting this issue again. Is there a resolution to what can be done to improve this and still satisfy compatibility concerns?
- 10:53 AM Revision c949208d (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:52 AM Revision e1f69b39 (git): enc/iso_8859_13.c: Added three missing lower/upper-case
- character pairs (from Kimihito Matsui)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:57 AM Revision dddbd864 (git): enc/iso_8859_4.c: Added missing lower/upper-case character
- pair (U+014A and U+014B, LATIN CAPITAL/SMALL LETTER ENG)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:48 AM Revision cae3905e (git): string.c: should not taint fstring
- * string.c (rb_obj_as_string): fstring should not be infected.
re-apply r52872 and fix a typo.
TODO: other frozen strings also may not be.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:32 AM Revision 7eb6942d (git): ruby.h: make flag setting macros void
- * include/ruby/ruby.h (RB_FL_{SET,UNSET,REVERSE,INFECT,FREEZE}):
turn into void expressions not to use unexpected results. these
macros were statements till 2.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52881 b2dd03c8-39d4... -
06:21 AM Revision e2cf71a0 (git): * lib/rubygems: Update to RubyGems 2.5.0+ HEAD(fdab4c4).
- this version includes #1396, #1397, #1398, #1399
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:01 AM Misc #11770: [PATCH] $KCODEへの代入時にwarningが発生することのテストを追加
- どちらかと言えば、将来的には`$KCODE`の特別扱いをなしにしたい気持ちがあるので、ちょっと微妙な印象です。
それと、`$=`は`$KCODE`とは別です。 -
02:11 AM Misc #11770 (Closed): [PATCH] $KCODEへの代入時にwarningが発生することのテストを追加
- testケースがなかったので、追加します。
-
05:42 AM Revision e4c15e31 (git): KNOWNBUGS.rb: assertion failure
- * KNOWNBUGS.rb: add test for r52872, assertion failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:28 AM Feature #11768: Add a polymorphic inline cache
- Aaron Patterson <tenderlove@ruby-lang.org> wrote:
> Probably OT for this list, but do you have sequel installed as a gem?
> If so, can you try running against rubygems master? I've put some
> patches on RubyGems master that *should*... -
03:40 AM Feature #11768: Add a polymorphic inline cache
- Thank you for your patch.
Comments:
Implementation:
* Did you run some big application with your patch? it seems to have a bug. cc->aux also depends on cc->call, so that you need to duplicate the aux field.
* Sliding is one goo... -
03:08 AM Feature #11768: Add a polymorphic inline cache
- On Fri, Dec 04, 2015 at 02:28:57AM +0000, Eric Wong wrote:
> Aaron Patterson <tenderlove@ruby-lang.org> wrote:
> > On Thu, Dec 03, 2015 at 10:51:08PM +0000, Eric Wong wrote:
> > > Perhaps you can simplify the code so the existing mon... -
02:38 AM Feature #11768: Add a polymorphic inline cache
- Aaron Patterson <tenderlove@ruby-lang.org> wrote:
> On Thu, Dec 03, 2015 at 10:51:08PM +0000, Eric Wong wrote:
> > Perhaps you can simplify the code so the existing monomorphic cache is
> > just: POLYMORPHIC_CACHE_SIZE == 1
>
> Ye... -
04:10 AM Revision f2532ab8 (git): Revert r52872 "string.c: should not taint fstring"
- This reverts commit b887c7c20ab81b50ed7cb8c7db3218c443985d6b.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:38 AM Feature #11769: optimize case / when for `nil`
- tenderlove@ruby-lang.org wrote:
> I've attached a patch that adds `nil` to the optimized case such that
> the above code will use `opt_case_dispatch`. My patch defines `===`
> on `nil`, then adds nil to the list of "optimizable lite... - 02:23 AM Revision 8068925a (git): * 2015-12-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:22 AM Revision 0ada28f9 (git): thread.c: name must be ascii-compatible
- * thread.c (rb_thread_setname): name must be ascii-compatible, as
pthread APIs do not accept legacy wide char strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:56 AM Bug #11767: Range#to_s and Range#inspect are not infected by the receiver
- ruby_2_1 r52875 merged revision(s) 52868.
- 01:56 AM Revision 0399a3d4 (git): merge revision(s) 52868: [Backport #11767]
- * range.c (range_to_s): should be infected by the receiver.
str2 infects by appending. [ruby-core:71811] [Bug #11767]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@52875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:08 AM Feature #11664: [PATCH] introduce rb_autoload_value to replace rb_autoload
- Eric Wong <normalperson@yhbt.net> wrote:
> nobu@ruby-lang.org wrote:
> > We used to append `_str` in many cases, IIRC.
>
> So rename rb_autoload_value => rb_autoload_str?
Did that, I'd like to commit the following, soon:
http...
12/03/2015
-
11:58 PM Feature #11768: Add a polymorphic inline cache
- On Thu, Dec 03, 2015 at 10:51:08PM +0000, Eric Wong wrote:
> tenderlove@ruby-lang.org wrote:
> > I haven't run every benchmark that's checked in, but this patch speeds
> > up the polymorphic call benchmark by about 20%.
>
> Nice!
... -
10:58 PM Feature #11768: Add a polymorphic inline cache
- tenderlove@ruby-lang.org wrote:
> I haven't run every benchmark that's checked in, but this patch speeds
> up the polymorphic call benchmark by about 20%.
Nice!
> The down side of this patch is that it increases memory usage bec... -
07:25 PM Feature #11768 (Closed): Add a polymorphic inline cache
- Hi,
I've attached a patch that adds a PIC to the existing Mono IC struct.
I haven't run every benchmark that's checked in, but this patch speeds up the polymorphic call benchmark by about 20%. Here is the benchmark *before* my pat... -
11:48 PM Bug #11759: URI breaks with frozen strings
- colin@invoca.com wrote:
> Compared to the surrounding code in the full method, would the extra
> ...
64 bytes on ruby 2.3.0dev (2015-12-03 trunk 52872) [x86_64-linux].
~~~ruby
require 'objspace'
iseq = RubyVM::InstructionSequence
... -
05:20 AM Bug #11759: URI breaks with frozen strings
- > Yes, but I prefer to avoid String.new because the constant lookup
> ...
Compared to the surrounding code in the full method, would the extra constant lookup make a measurable difference in code size?
> But maybe String.new is sligh... -
09:43 PM Feature #11769 (Closed): optimize case / when for `nil`
- Hi,
I've noticed that when there are certain values in a case / when statement it gets optimized to a hash lookup. For example, code like this:
~~~
def foo socket
case str = socket.read_nonblock(10, exception: false)
when :... -
07:55 PM Bug #11766: sprintf formatting Rationals as floats produces garbage
- Backported into `ruby_2_2` branch at r52874.
-
06:33 AM Bug #11766 (Closed): sprintf formatting Rationals as floats produces garbage
- Applied in changeset r52869.
----------
sprintf.c: fix garbage inserted with Rational
* sprintf.c (rb_str_format): fix wrong shifting position in
Rational conversion when not at the beginning of the result.
[ruby-core:71806] [Bug #... -
12:43 AM Bug #11766: sprintf formatting Rationals as floats produces garbage
- Another case:
~~~
"ABC%8.1fDEF" % [1r]
~~~
Expected:
~~~
"ABC 1.0DEF"
~~~
Actual result:
~~~
"ABC \u0000\u0000\u0000DEF"
~~~ -
12:39 AM Bug #11766 (Closed): sprintf formatting Rationals as floats produces garbage
- Test case:
~~~
"%8.1f %8.1f" % [1r, 1r]
~~~
Expected:
~~~
" 1.0 1.0"
~~~
Actual result:
~~~
" \u0000\u0000\u0000"
~~~
-
07:55 PM Revision f50d0b98 (git): merge revision(s) 52869: [Backport #11766]
- * sprintf.c (rb_str_format): fix wrong shifting position in
Rational conversion when not at the beginning of the result.
[ruby-core:71806] [Bug #11766]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@5... -
05:57 PM Bug #11767: Range#to_s and Range#inspect are not infected by the receiver
- Backported into `ruby_2_2` branch at r52873.
-
05:22 AM Bug #11767 (Closed): Range#to_s and Range#inspect are not infected by the receiver
- Applied in changeset r52868.
----------
range.c: infected by the receiver
* range.c (range_to_s): should be infected by the receiver.
str2 infects by appending. [ruby-core:71811] [Bug #11767] -
04:16 AM Bug #11767 (Closed): Range#to_s and Range#inspect are not infected by the receiver
- In general, `to_s` and `inspect` on a tainted object should result a tainted string.
`Range` seems the only exception.
## code
~~~ruby
p ("0".taint.."1").to_s.tainted?
p ("0".."1".taint).to_s.tainted?
p ("0".."1").taint.to_s.tain... -
05:56 PM Revision c35409c2 (git): merge revision(s) 52868: [Backport #11767]
- * range.c (range_to_s): should be infected by the receiver.
str2 infects by appending. [ruby-core:71811] [Bug #11767]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@52873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:02 AM Revision b887c7c2 (git): string.c: should not taint fstring
- * string.c (rb_obj_as_string): fstring should not be infected.
TODO: other frozen strings also may not be.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:39 AM Revision e2977fc8 (git): * lib/scanf.rb: fixed double words typo.
- [ci skip][fix GH-1123] Patch by @jwworth
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:38 AM Revision e1d28384 (git): * test/ruby/test_mixed_unicode_escapes.rb: fixed typo.
- [fix GH-1122] Patch by @davydovanton
* test/ruby/test_object.rb: ditto.
* test/socket/test_tcp.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:33 AM Revision 77e9edc3 (git): sprintf.c: fix garbage inserted with Rational
- * sprintf.c (rb_str_format): fix wrong shifting position in
Rational conversion when not at the beginning of the result.
[ruby-core:71806] [Bug #11766]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52869 b2dd03c8-39d4-4d8f-98ff-... -
05:22 AM Revision f7fb4e00 (git): range.c: infected by the receiver
- * range.c (range_to_s): should be infected by the receiver.
str2 infects by appending. [ruby-core:71811] [Bug #11767]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:08 AM Feature #11607: [PATCH] fiddle: release GVL for ffi_call
- ngotogenome@gmail.com wrote:
> After r52723, SEGV occurred during Fiddle::TestFunc#test_qsort1 test/fiddle/test_func.rb:83 on Solaris 10 i386 on RubyCI.
>
http://rubyci.s3.amazonaws.com/unstable10x/ruby-trunk/log/20151123T224815Z.fa... -
03:14 AM Feature #11607: [PATCH] fiddle: release GVL for ffi_call
- After r52723, SEGV occurred during Fiddle::TestFunc#test_qsort1 test/fiddle/test_func.rb:83 on Solaris 10 i386 on RubyCI.
(r52725) http://rubyci.s3.amazonaws.com/unstable10x/ruby-trunk/log/20151123T224815Z.fail.html.gz
Because this... -
04:07 AM Feature #11737: Pass in expression to then block in `case expression`
- Nobuyoshi Nakada wrote:
> It reminded me a rejected proposal:
> ...
Is the proposal [ ruby-dev:17615 ] ?
Or other? - 02:57 AM Revision 1c7f7579 (git): * 2015-12-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:57 AM Revision dfe27428 (git): configure.in: split SET_THREAD_NAME
- * configure.in: separate SET_CURRENT_THREAD_NAME, which can set
the name of current thread only, and SET_ANOTHER_THREAD_NAME,
which can set the name of other threads.
* thread.c (rb_thread_setname): use SET_ANOTHER_THREAD_NAME. OS X...
12/02/2015
-
11:36 PM Feature #11747: "bury" feature, similar to 'dig' but opposite
- Tsuyoshi Sawada wrote:
> > inferred from the what the user is passing (such as a symbol or string for a hash or an integer for an array)
> ...
I agree. I should clarify that I was assuming the class of the receiver (`data`) was known ... -
09:38 PM Bug #11759: URI breaks with frozen strings
- colin@invoca.com wrote:
> Isn't it sufficient to initialize the string buffer with String.new?
Yes, but I prefer to avoid String.new because the constant lookup
requires an inline cache lookup + storage entry in the iseq.
Here's ... -
07:11 AM Bug #11759: URI breaks with frozen strings
- Isn't it sufficient to initialize the string buffer with String.new?
I've attached a patch that also includes the magic comment to indicate that this file has been converted.
-
04:10 AM Bug #11759: URI breaks with frozen strings
- Don't mix optimization and incompatible change.
Incompatible change should be separated to another feature ticket.
Don't assume global "mode" for frozen-string-literal: true/false.
This comment is specified for each file.
So, what ... -
03:56 AM Bug #11759: URI breaks with frozen strings
- Hey Eric, thanks for the alternative! I was under the impression that we should assume strings to be frozen in this mode but if that's not the case I'd be happy to update the attached patch.
-
01:48 AM Bug #11759: URI breaks with frozen strings
- Hi David, a new problem is to_s now returns a frozen string.
This has the potential to break many existing callers of to_s.
Perhaps the following (untested) one-liner is enough?
~~~patch
--- a/lib/uri/generic.rb
+++ b/lib/uri/ge... -
01:30 AM Bug #11759: URI breaks with frozen strings
- I just realized that the patch contained many cosmetic updates, so I reverted them to maintain the existing style. Sorry about that.
-
01:18 AM Bug #11759: URI breaks with frozen strings
- I've attached a patch you can try out. It will avoid string mutation in URI#to_s, though I'm not sure it's optimal to generate so many new strings in this way. I'm happy to edit as necessary.
-
12:01 AM Bug #11759 (Closed): URI breaks with frozen strings
- It appears URI uses String mutation and breaks frozen string mode.
~~~
$ RUBYOPT="--enable-frozen-string-literal" bundle exec rake
/Users/mike/.rubies/ruby-2.3.0-preview1/lib/ruby/2.3.0/uri/generic.rb:1344:in `to_s': can't modify fr... -
08:35 PM Bug #11765: Trouble using fiddle to call Fortran from C
Found a bug in my Fortran file, it works now.-
08:11 PM Bug #11765 (Third Party's Issue): Trouble using fiddle to call Fortran from C
Hi, I tried to transfer my project from Mac to Linux, but have trouble to use fiddle to call
the dynamic library which I generated using same Fortran and C codes I used in Mac. I used same
version of Ruby both in Mac and Linux. To na...-
01:58 PM Revision 2962b6e0 (git): * vm_core.h, iseq.h: remove rb_iseq_t::variable_body.
- Fields in rb_iseq_t::variable_body are contained by
rb_iseq_t::body::mark_ary (hidden Array object).
Index 0 to 2 of mark_ary are reserved by these objects.
* iseq.c: catch up this fix.
* compile.c (rb_iseq_original_iseq): trivial... -
09:47 AM Feature #11761: `Hash#default_set` and `Hash#default_proc_set`
- Resetting the default value/proc for a Hash multiple times seems a rather special case, could you illustrate why you want to do this?
Hash#merge is not affected by the default values, isn't it?
If it's more like Python setdefault, ... -
06:55 AM Feature #11761: `Hash#default_set` and `Hash#default_proc_set`
- `Kernel#tap` has been added for such purpose, I think.
-
06:48 AM Feature #11761: `Hash#default_set` and `Hash#default_proc_set`
- Or, perhaps there should be just one method `Hash#default_set` that can take either an argument or a block:
h.default_set(default_value)...
h.default_set{default_proc_value}... -
06:34 AM Feature #11761 (Rejected): `Hash#default_set` and `Hash#default_proc_set`
- I often want to assign a default value or proc to an existing hash `h` and chain method after it. The way I do it is:
Hash.new(default_value).merge(h)...
Hash.new{default_proc_value}.merge(h)...
It would be convenient if I... -
09:17 AM Revision afd564ee (git): thread.c: rb_thread_setname on OS X
- * thread.c (rb_thread_setname): pthread_setname_np() on OS X takes
the name only and sets the current thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:17 AM Revision bc6e31ee (git): missing.h: __STDC_WANT_LIB_EXT1__
- * include/ruby/missing.h: get rid of redefinition of
__STDC_WANT_LIB_EXT1__.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:20 AM Revision cfd1157f (git): * iseq.h: introduce ISEQ_ORIGINAL_ISEQ() and
- ISEQ_ORIGINAL_ISEQ_ALLOC() macro.
* compile.c: use them to access original iseq buffer.
* iseq.c: ditto.
* vm_core.h: rename iseq field to support this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52862 b2dd03c8-39d4-4d8... -
08:11 AM Revision a9c0cf4f (git): * iseq.h: introduce ISEQ_FLIP_CNT_INCREMENT() macro.
- * compile.c (iseq_compile_each): use it.
* vm_core.h: rename flip_cnt field to support this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:05 AM Revision 417240b7 (git): * iseq.h: introduce ISEQ_COVERAGE() and ISEQ_COVERAGE_SET() macro.
- * compile.c: use them.
* iseq.c: ditto.
* iseq.c (rb_iseq_coverage): added.
* thread.c (update_coverage): use rb_iseq_coverage().
* vm_core.h: rename coverage field name to support this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org... -
08:00 AM Revision e86f66b3 (git): encoding.c: make fstring
- * encoding.c (enc_name, rb_enc_name_list_i, rb_enc_aliases_enc_i):
make fstring instead of making each copies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:52 AM Bug #11764 (Closed): ext/tk/lib/multi-tk.rb: fix three typos.
- * ext/tk/lib/multi-tk.rb: fix three typos.
-
07:52 AM Revision 7afefea5 (git): * iseq.h: introduce ISEQ_COMPILE_DATA() macro.
- * compile.c, iseq.c: use ISEQ_COMPILE_DATA().
* vm_core.h: rename compile_data field to support this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:38 AM Bug #11763 (Closed): gc.c: fix two typos.
- * gc.c: fix two typos.
-
07:38 AM Bug #11762 (Closed): Array#dig can raise TypeError: no implicit conversion of Symbol/String into Integer
- If you try to `dig` in an Array using a symbol or string, a `TypeError` exception will be raised:
irb> ['zero', 'one', 'two'].dig(:first)
TypeError: no implicit conversion of Symbol into Integer
from (irb):1:in `dig'
from (... -
07:31 AM Revision e917af64 (git): compile.c: fix the element
- * compile.c (iseq_set_sequence): fix the element for line number
to rb_compile_bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:27 AM Bug #11760 (Closed): Encoding is tainted unexpectedly by Marshal.load
- Applied in changeset r52856.
----------
encoding.c: defer finding encoding
* encoding.c (enc_m_loader): defer finding encoding object not to
be infected by marshal source. [ruby-core:71793] [Bug #11760]
* marshal.c (r_object0): enab... -
06:26 AM Bug #11760 (Closed): Encoding is tainted unexpectedly by Marshal.load
- By `Marshal.load`ing tainted source, `Encoding` object will be tainted.
## code to reproduce
~~~ruby
e = Encoding::UTF_8
p e.tainted?
p e == Marshal.load(Marshal.dump(e).taint)
p e.tainted?
~~~
## expected results
`false`, `... -
07:27 AM Revision 2a66cc55 (git): encoding.c: defer finding encoding
- * encoding.c (enc_m_loader): defer finding encoding object not to
be infected by marshal source. [ruby-core:71793] [Bug #11760]
* marshal.c (r_object0): enable compatible loader on USERDEF
class. the loader function is called with ... -
06:50 AM Revision a497ed37 (git): marshal.c: lookup and remove
- * marshal.c (r_fixup_compat): delete compatible object with
lookup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:48 AM Revision 4bef8cff (git): encoding.c: use rb_check_arity
- * encoding.c (enc_dump): use rb_check_arity to just check number
of arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:14 AM Bug #11751: allow --with-libedit to work when a path is specified
- ruby_2_1 r52853 merged revision(s) 52795.
- 06:14 AM Revision 1745d258 (git): merge revision(s) 52795: [Backport #11751]
- * ext/readline/extconf.rb: call dir_config("libedit")
if --enable-libedit is spcified. [Bug #11751]
patched by John Hein
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@52853 b2dd03c8-39d4-4d8f-98ff-82... -
06:13 AM Bug #11698 (Closed): Fix a bad double-negative comment
- Applied in changeset r52852.
----------
* configure.in: Fixed double negative comments.
[Bug #11698][ruby-core:71506] -
06:12 AM Revision bf072364 (git): * configure.in: Fixed double negative comments.
- [Bug #11698][ruby-core:71506]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:56 AM Revision b875b1c3 (git): * test/ruby/test_string.rb: removed non executing tests.
- [Misc #11757][ruby-dev:49397]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:40 AM Revision b14f4209 (git): csv.rb: fix encoding
- * lib/csv.rb: encoding must be plased at the first line except for
shebang. [fix GH-1116]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:36 AM Revision 97fe4014 (git): explicit_bzero.c: fix typos
- * missing/explicit_bzero.c (explicit_bzero): fix typos, probably.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:28 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
- normalperson@yhbt.net wrote:
> https://bugs.ruby-lang.org/issues/11339
For OpenSSL connect_nonblock/accept_nonblock, it seems to be not worth
the effort for a 1% improvement given the overheads of various parts of
OpenSSL. But I'... -
02:23 AM Revision aed0db8b (git): * lib/csv.rb: enable frozen_string_literal.
- [fix GH-1116] Patch by @marshall-lee
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:50 AM Revision 4a7dedf7 (git): missing.h: __STDC_WANT_LIB_EXT1__
- * include/ruby/missing.h: __STDC_WANT_LIB_EXT1__ is necessary for
memset_s.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:36 AM Revision d1decf0d (git): * ext/bigdecimal/bigdecimal.c: Fix double word typo.
- [ci skip][fix GH-1120] Patch by @jwworth
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:55 AM Revision 9849555a (git): explicit_bzero.c: fix comments
- * missing/explicit_bzero.c: fix comments. Microsoft Visual Studio
does not provide memset_s() in 12.0 at least.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:45 AM Revision 0167fc15 (git): string.c: adjust argument qualifier
- * string.c (str_make_independent_expand): adjust argument
qualifier to get rid of a VC bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:03 AM Revision bb5bd52a (git): undef for tha case missing.h defines it as macro
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/01/2015
- 10:49 PM Revision ebcefd79 (git): ext/openssl/ossl_ssl.c: hide globals
- * ext/openssl/ossl_ssl.c (mSSLExtConfig): make static
(eSSLError): ditto
(ID_callback_state): ditto
(ossl_ssl_ex_vcb_idx): ditto
(ossl_ssl_ex_store_p): ditto
(ossl_ssl_ex_ptr_idx): ditto
* ext/openssl/ossl_ssl.h: remove extern ... - 10:42 PM Revision fd8f7848 (git): missing/explicit_bzero.c (explicit_bzero): fixup r52839
- ...for compilers with "weak" attribute.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:55 PM Revision 93ce51b0 (git): * 2015-12-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:52 PM Revision 48de9684 (git): * missing/explicit_bzero.c: add ruby_explicit_bzero_hook_unused
- for preventing optimization. Inspired from OpenBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:58 PM Feature #11741: Migrate Ruby to Git from Subversion
- web2004@sytse.com wrote:
> Eric Wong <normalperson@yhbt.net> wrote:
> > The main site's Terms of Service (or any ToS) is still a problem
> > for me. Currently there is no ToS at all on our Redmine instance
> > and registration i... -
06:29 PM Bug #11751: allow --with-libedit to work when a path is specified
- Backported into `ruby_2_2` branch at r52838.
-
06:28 PM Revision 8458ff3a (git): merge revision(s) 52795: [Backport #11751]
- * ext/readline/extconf.rb: call dir_config("libedit")
if --enable-libedit is spcified. [Bug #11751]
patched by John Hein
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@52838 b2dd03c8-39d4-4d8f-98ff-82... -
06:16 PM Bug #11748: [BACKPORT] ripper misses on_tstring_content callback result
- Backported into `ruby_2_2` branch at r52837.
-
06:15 PM Revision 15cf9331 (git): merge revision(s) 52777: [Backport #11748]
- * parse.y (parser_here_document): store dispatched result of
on_tstring_content at the last fragment of a here document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@52837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:14 PM Feature #11758 (Closed): Add keyword assignment syntax
- I think keyword assignments would be a useful addition, especially since the introduction of keyword arguments
The basic example would be, and is expected to work like required keyword arguments:
~~~ruby
a:, b: = {a: 1, b: 2}
~~~... -
02:37 PM Revision 8ea55641 (git): fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:36 PM Revision 62b511d9 (git): thread.c: reset name
- * thread.c (rb_thread_setname): allow to reset thread name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:14 PM Bug #11756 (Closed): SEGV Thread#inspect when sets the thread#name as a OpenStruct
- Applied in changeset r52834.
----------
thread.c: check name argument
* thread.c (rb_thread_setname): check the argument if valid
string. [ruby-core:71774] [Bug #11756] -
06:53 AM Bug #11756 (Closed): SEGV Thread#inspect when sets the thread#name as a OpenStruct
- How to reproduce:
Run this script:
~~~ruby
require 'ostruct'
thread = Thread.new { 0 }
thread.name = OpenStruct.new
puts thread.inspect
~~~
Result:
~~~
../thread_name.rb:6: [BUG] Segmentation fault at 0x000000000000... -
02:14 PM Revision c56d9aaa (git): thread.c: check name argument
- * thread.c (rb_thread_setname): check the argument if valid
string. [ruby-core:71774] [Bug #11756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:58 PM Misc #11757 (Closed): test_string.rbから不要なコードを削除する
- テストでは`pre_1_7_1`に渡したブロックは実行されていないので、削除します
-
09:55 AM Bug #11755 (Third Party's Issue): ENV['TZ'] timezone
- It's the convention.
-
07:02 AM Bug #11755: ENV['TZ'] timezone
- TZ database https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
'Etc/GMT+8' corresponding UTC is '-08:00'
@Nobuyoshi Nakada @Matthew Kerwin thanks -
06:05 AM Bug #11755: ENV['TZ'] timezone
- Matthew Kerwin wrote:
> Jon Xie wrote:
> ...
I'm sorry, I didn't describe clearly....
I think timezone should be '+0800'
~~~
ENV['TZ'] = 'GMT+8'; Time.now
=> 2015-12-01 11:35:06 +0800
~~~
And then it was '-0800 '
~~~
... -
05:46 AM Bug #11755: ENV['TZ'] timezone
- Jon Xie wrote:
> What reason is this excuse me?
Presumably you took 12 seconds between the first two commands, and then another 6 between the second and third. The clock keeps on ticking...
-
05:24 AM Bug #11755: ENV['TZ'] timezone
- Nobuyoshi Nakada wrote:
> Seems correct output.
> ...
I'm expect:
~~~
ENV['TZ'] = 'GMT+8'; Time.now
=> 2015-12-01 11:35:06 +0800
~~~
What reason is this excuse me? -
04:22 AM Bug #11755 (Feedback): ENV['TZ'] timezone
- Seems correct output.
What do you expect? -
03:55 AM Bug #11755: ENV['TZ'] timezone
- System: OS X 10.10.5
-
03:49 AM Bug #11755 (Third Party's Issue): ENV['TZ'] timezone
- ~~~ruby
2.2.3 :001 > Time.now
=> 2015-12-01 11:35:06 +0800
2.2.3 :002 > ENV['TZ'] = 'GMT+8'; Time.now
=> 2015-11-30 19:35:18 -0800
2.2.3 :003 > ENV['TZ'] = 'GMT-8'; Time.now
=> 2015-12-01 11:35:24 +0800
~~~
Why is this so? -
08:13 AM Revision d58f17f3 (git): string.c: no frozen error at cstr
- * string.c (rb_string_value_cstr): should not raise on frozen
string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:09 AM Revision 41cbb7f0 (git): cstr.c: split bug_str_cstr_unterm
- * ext/-test-/string/cstr.c (bug_str_cstr_unterm): split
unterminating from bug_str_cstr_term.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:01 AM Bug #11444: STDIN.each_codepoint hangs indefinitely on certain codepoints
- ruby_2_1 r52831 merged revision(s) 51583,51594,51638.
- 08:00 AM Revision f81b6694 (git): merge revision(s) 51583,51594,51638: [Backport #11444]
- * io.c (rb_io_each_codepoint): read more data when read partially.
[ruby-core:70379] [Bug #11444]
* io.c (rb_io_each_codepoint): raise an exception at incomplete
character before EOF when conversion takes pla... -
06:20 AM Feature #9098: Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
- "8 spaces for tab stops" is not enough to make the spec.
When tabs and spaces are mixed, e.g., there are`"\t"*2+"2 tabs"` line and `" "*10+"10 spaces"` line, what should be expected?
1. dedent at the greatest indent column where al... -
05:55 AM Revision 8d7d4e33 (git): compile.c: consistent messages
- * compile.c (EXPECT_NODE, EXPECT_NODE_NONULL, UNKNOWN_NODE): make
compile bug messages consistent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:25 AM Revision 9fcfaa8d (git): win32.c: fix argument type
- * win32/win32.c (dupfd): promote argument type for old VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:13 AM Bug #11753 (Third Party's Issue): Building ruby-git on Arch Linux eats all memory on ./configure
- It's a part of standard `AC_INIT()`.
Probably a bug of Arch Linux which `autoconf` does not support yet.
Please report it to [Arch Linux](https://bugs.archlinux.org/) and/or [`autoconf`](http://www.gnu.org/software/autoconf/autoconf.... - 04:07 AM Revision a1171a95 (git): * ext/digest/sha1/sha1ossl.c: fixed build error introduced at r52797.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@52828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:52 AM Revision 24dcb128 (git): explicit_bzero.c: needs windows.h
- * missing/explicit_bzero.c, random.c (explicit_bzero):
SecureZeroMemory() needs windows.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:39 AM Revision e84000fc (git): missing.h: explicit_bzero by SecureZeroMemory
- * include/ruby/missing.h (explicit_bzero): use SecureZeroMemory on
Windows. assume Windows XP or later at compile time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:25 AM Revision a73f0f2c (git): parse.y: TAB_WIDTH
- * parse.y (TAB_WIDTH, token_info_get_column): add constant for
column calcuation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:24 AM Revision 10bb9e6f (git): missing.h: explicit_bzero by memset_s
- * include/ruby/missing.h (explicit_bzero_by_memset_s): call
memset_s directly if available.
* missing/explicit_bzero.c: optimization is not a matter if
memset_s is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52824 ... -
01:05 AM Revision ff113d52 (git): configure.in: FUNC_UNOPTIMIZED
- * configure.in: check if optimize pragma is supported.
* include/ruby/defines.h (FUNC_UNOPTIMIZED): fallback definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:35 AM Revision 586c1749 (git): * missing/explicit_bzero.c: add a few comment.
- * missing/explicit_bzero.c: add disabling optimization on gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:07 AM Revision ed0858a8 (git): fix r52806
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/30/2015
- 10:53 PM Revision b44b129e (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:53 PM Revision cae8e96b (git): missing/explicit_bzero.c: Fixup r52806
- Maybe kosaki had a better version, but CI failure emails are
annoying.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:27 PM Feature #11665: Support nested functions for better code organization
- According to #11754, this change seemed to cause an actual issue for some gems.
--
Yusuke Endoh <mame@ruby-lang.org> -
09:13 PM Bug #11754: Visibility scope is kept after lexical scope is closed
- To provide some context, this creates issues with two gems I am using that have dynamically defined methods (that now seems to be incorrectly private in 2.3.0preview1) :
- paranoia (`really_destroy!` method defined in https://github.c... -
05:49 PM Bug #11754: Visibility scope is kept after lexical scope is closed
- Better example
~~~ruby
module X
def self.test_def(name)
define_method(name) {}
end
test_def :x
private
test_def :y
def pr; end
end
X.test_def :z
X.public_instance_methods
# 2.2.2 => [:x, :y, :z]
... -
05:42 PM Bug #11754 (Closed): Visibility scope is kept after lexical scope is closed
- ~~~
module X
def self.test_def
def x; end;
end
private
def y; end;
end
X.test_def
X.instance_methods
~~~
In 2.2 it returns [:x], in 2.3-preview1 it returns empty array. Is it ok? -
08:33 PM Revision 487748fa (git): * thread_pthread.c (register_ubf_list): renamed from
- add_signal_thread_list.
* thread_pthread.c (unregister_ubf_list): renamed
from remove_signal_thread_list.
* thread_pthread.c (ubf_wakeup_all_threads): renamed from
ping_signal_thread_list.
* thread_pthread.c (ubf_wakeup_thread): rena... -
08:33 PM Revision a014e9e8 (git): * test/ruby/test_rand.rb (TestRand#test_default_seed): add
- srand case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:32 PM Revision 86af9bba (git): * random.c (InitVM_Random): move Random::DEFAULT initialization
- bits to Init_Random_default.
* random.c (Init_Random_default): renamed from Init_Rndom2.
* random.c (Init_RandomSeedCore): renamed from Init_Random.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52816 b2dd03c8-39d4-4d8f-98ff-823fe69... -
08:31 PM Revision 99c05fb3 (git): * random.c (Init_RandomSeed): move all Random::DEFAULT
- construction bits to Init_RandomSeed2. Random::DEFAULT
and Ruby internal hashes are no longer shared their seed.
* random.c (Init_RandomSeed2): ditto. And, kill evil
rb_obj_reveal() stuff.
* random.c (init_hashseed): add MT argument.... -
08:31 PM Revision 052535be (git): * random.c (init_hashseed, init_siphash): extract initialize
- functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:30 PM Revision 0c4e7767 (git): * configure.in: sort AC_CHECK_HEADERS() by alphabetical order.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:29 PM Revision 12e059b1 (git): * random.c (init_randomseed): remove "initial" argument. It never
- be used from outside of this function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:29 PM Revision 7104a473 (git): * lib/securerandom.rb (SecureRandom::gen_random): use /dev/urandom
- for initialize OpenSSL's rand.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:29 PM Revision 07083767 (git): * ext/openssl/ossl_rand.c (ossl_rand_bytes): RAND_bytes could
- be return -1 as an error. Therefore, added error handling.
* ext/openssl/ossl_pkey_dsa.c (dsa_generate): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:27 PM Revision 86caaefc (git): * include/ruby/util.h: remove a warning suppression C4723
- (potential divide by zero) for VisualC++. It's meaningless.
Before r26197, there is ruby_div0() in this place and it
actually made divide by zero. But now it's just garbage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52809 b2... -
08:27 PM Revision f7bd7d6f (git): * random.c: random_raw_seed don't use GRND_NONBLOCK. GRND_NONBLOCK
- mean the result might not have an enough cryptic strength and
easy predictable. That's no good for SecureRandom.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:27 PM Revision 9401002f (git): * 2015-12-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:26 PM Revision dea685c7 (git): * missing/explicit_bzero.c: new file. define explicit_bzero.
- * common.mk: add a rule for explicit.o.
* configure.in: detect explicit_bzero and memset_s.
* include/ruby/missing.h: add explicit_bzero.
* random.c (init_randomseed): use explicit_bzero() instead of
memset(). memset could be eliminate... -
05:53 PM Revision 4e869246 (git): merge partially revision(s) 52391:
- explicitly overwrite signal handling
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@52805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:36 PM Bug #11444: STDIN.each_codepoint hangs indefinitely on certain codepoints
- Backported r51594 into `ruby_2_2` branch at r52804.
-
10:51 AM Bug #11444: STDIN.each_codepoint hangs indefinitely on certain codepoints
- usa san: Thank you for your notice.
Hmm, I will backport r51594. -
05:35 PM Revision 4af525b1 (git): merge revision(s) 51594: [Backport #11444]
- * io.c (rb_io_each_codepoint): raise an exception at incomplete
character before EOF when conversion takes place. [Bug #11444]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@52804 b2dd03c8-39d4-4d8f-98ff-823fe... -
04:55 PM Bug #11595: Time#utc? and Time#gmt? return misleading results based on $TZ
- Yasuhiro Nakamura wrote:
> Anyway I write a patch.
> ...
To me it seems like a bug, since the expectation is that Time#utc? would return true for any time with an offset of 0 -
01:27 PM Bug #11595: Time#utc? and Time#gmt? return misleading results based on $TZ
- Anyway I write a patch.
Is it a bug? or specification? -
02:45 PM Bug #11753: Building ruby-git on Arch Linux eats all memory on ./configure
- Bar Hofesh wrote:
> Hi,
> ...
Ok, using the "echo here and there" debug method I got to the part where it is getting stuck:
~~~sh
echo "Testing 1"
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
_as_can... -
02:27 PM Bug #11753 (Third Party's Issue): Building ruby-git on Arch Linux eats all memory on ./configure
- Hi,
I'm trying to build Ruby from sources.
What I tried:
1) Build from git using git clone, autoconf, ./configure
2) Build with RVM versions 2.2.1, 2.2-head, 2.1.5, ruby-head
All have failed when reaching the "./configure" ... -
01:48 PM Bug #10891: /[[:punct:]]/ POSIX group broken (with string literals?)
- Yui NARUSE wrote:
> It follows UTR#18's Standard Recommendation.
> ...
In general, it would be a reasonable choice.
However, in Ruby, the problem is that it's hard to guess the programmers intention from code,
because the behavior ... -
09:42 AM Bug #10891 (Feedback): /[[:punct:]]/ POSIX group broken (with string literals?)
- It follows UTR#18's Standard Recommendation.
http://www.unicode.org/reports/tr18/#punct -
03:14 AM Bug #10891: /[[:punct:]]/ POSIX group broken (with string literals?)
- How about to interpret `[[:punct]]` as `[\p{P}\p{S}]` for unicode strings so that `[[:punct]]` will be a superset of POSIX's one?
-
01:44 PM Bug #11752 (Closed): Bug in Rational documentation
- Example for the + operator states that 900+1=900.
~~~
Rational(900) + Rational(1) #=> (900/1)
~~~
Seen in
http://ruby-doc.org/core-1.9.2/Rational.html
and
http://ruby-doc.org/core-2.2.3/Rational.html -
01:25 PM Revision 4eeec486 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:34 PM Bug #11211: defined(foo.bar) calls respond_to_missing? everytime
- ruby_2_1 r52802 merged revision(s) 50737.
- 12:34 PM Revision 99bcf86e (git): merge revision(s) 50737: [Backport #11211]
- * insns.def (defined): skip respond_to_missing? when
a method is available.
[Bug #11211]
* test/ruby/test_defined.rb: add a test for this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@... - 12:28 PM Revision 7caf8a50 (git): * ext/digest/rmd160/rmd160.c: fixed commit mistake at r52797.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@52801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:20 PM Bug #11738: ARGF.readpartial raises a wrong exception
- ruby_2_1 r52800 merged revision(s) 52745.
- 12:19 PM Revision 6602bc19 (git): merge revision(s) 52745: [Backport #11738]
- * io.c (argf_getpartial): should not resize str if the second
argument is not given.
[ruby-core:71668] [Bug #11738]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@52800 b2dd03c8-39d4-4d8f-98ff-823fe69... -
12:17 PM Bug #11401: Net::HTTP SSL session resumption does not send SNI
- ruby_2_1 r52799 merged revision(s) 52682.
- 12:17 PM Revision 041afd1c (git): merge revision(s) 52682: [Backport #11401]
- * lib/net/http.rb: set hostname before call ossl_ssl_set_session.
[Bug #11401][ruby-core:70152][fix GH-964] Patch by @mkarnebeek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@52799 b2dd03c8-39d4-4d8f-98ff-823f... -
12:15 PM Bug #11724 (Open): SNIでsessionが無効だったときにhostnameがサーバに送られない
- むしろ ext/openssl においては問題が解決してないわけなのでopenにしておこうかと。
-
12:12 PM Bug #11416: TestEncodingConverter#test_newline_option fails under GC stress
- ruby_2_1 r52798 merged revision(s) 51488,51489.
- 12:12 PM Revision 1237e7a5 (git): merge revision(s) 51488,51489: [Backport #11416]
- * transcode.c (rb_econv_open0): rb_econv_t::source_encoding_name
and rb_econv_t::destination_encoding_name should refer static
strings always or NULL. [ruby-core:70247] [Bug #11416]
git-svn-id: svn+ssh://ci.ruby-la... -
12:08 PM Bug #3231: Digest Does Not Build
- ruby_2_1 r52797 merged revision(s) 52694.
- 12:08 PM Revision cb826f3f (git): merge revision(s) 52694: [Backport #3231]
- * ext/digest/*/*.[ch]: include ruby.h before digest.h to avoid
includeing ext/digest/extconf.h. [Bug #3231]
https://msdn.microsoft.com/library/36k2cdd4.aspx
* ext/digest/*/extconf.rb: remove ext/digest from i... -
11:56 AM Bug #11722: Backport r52683 (Net::HTTP fix bug with "Expect: 100-continue" header)
- ruby_2_1 r52796 merged revision(s) 52683,52684.
-
11:56 AM Bug #11719: Backport request r52683
- ruby_2_1 r52796 merged revision(s) 52683,52684.
- 11:56 AM Revision 0f5bf067 (git): merge revision(s) 52683,52684: [Backport #11719] [Backport #11722]
- * lib/net/http.rb: Fixed regression for Net::HTTP::PUT with "Expect-100"
header.
* test/net/http/test_http.rb: added test.
* Added missing reference of GitHub
header. [fix GH-949]
git-svn-id: svn+s... -
11:48 AM Feature #11741: Migrate Ruby to Git from Subversion
- Em 28-11-2015 20:25, Eric Wong escreveu:
> me@jonathanmoss.me wrote:
> ... There's a bunch of Redmine-specific tools the maintainers use (I
> haven't checked in depth); and as I said before: Redmine works with
> git, too. So perha... -
01:19 AM Feature #11741: Migrate Ruby to Git from Subversion
- GitLab Inc. would be very happy to support this effort in any way possible. We can help with the conversion, add features to GitLab of anything else needed.
Eric Wong wrote:
> me@jonathanmoss.me wrote:
> ...
1. Is this about the ter... -
12:38 AM Feature #11741: Migrate Ruby to Git from Subversion
- me@jonathanmoss.me wrote:
> Eric, would you want to try Gitlab out with `w3m` before the
> switch?
The main site's Terms of Service (or any ToS) is still a problem
for me. Currently there is no ToS at all on our Redmine instance
... -
09:48 AM Bug #11751 (Closed): allow --with-libedit to work when a path is specified
- Applied in changeset r52795.
----------
* ext/readline/extconf.rb: call dir_config("libedit")
if --enable-libedit is spcified. [Bug #11751]
patched by John Hein -
04:47 AM Bug #11751: allow --with-libedit to work when a path is specified
- See also https://svnweb.freebsd.org/ports/head/lang/ruby22/files/patch-ext_readline_extconf.rb?view=markup&pathrev=400142
-
04:40 AM Bug #11751 (Closed): allow --with-libedit to work when a path is specified
- Adding dir_config("libedit") to ext/readline/extconf.rb allows the --with-libedit configuration knob to take a path (e.g., --with-libedit=/opt/libedit).
Patch against trunk attached. -
09:48 AM Revision 6db72c01 (git): * ext/readline/extconf.rb: call dir_config("libedit")
- if --enable-libedit is spcified. [Bug #11751]
patched by John Hein
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:11 AM Revision 794fb410 (git): parse.y: dispatch heredoc end
- * parse.y (ripper_dispatch_heredoc_end): at the end of here
document, the terminator always should present. has_scan_event
is true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:36 AM Bug #11750: SEGV with Enumerator, yield and proc.
- By bisecting, it raises `SytemStackError` or segfaults since r51243.
~~~
* vm_core.h: remove blockprocval field from rb_proc_t and rb_binding_t.
Instead of this field, mark given block in Proc at rb_env_t::env.
~~~
`Enumerator... -
04:44 AM Revision 4c6dd77d (git): vm_eval.c: make dsym
- * vm_eval.c (rb_throw, rb_catch): get rid of making static IDs,
use dynamic symbos instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:44 AM Revision 51964bf9 (git): symbol.c: rb_sym_intern
- * symbol.c (rb_sym_intern): rename from rb_cstr_intern and add
variants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/29/2015
-
11:58 PM Bug #11444: STDIN.each_codepoint hangs indefinitely on certain codepoints
- Tomoyuki Chikanaga wrote:
> I didn't backport r51594 because it introduce an incompatibility.
But without r51549, the test never pass on mswin.
See http://ruby-mswin.cloudapp.net/vc10-x64/ruby-2.2/log/20151129T090947Z.log.html.gz#ru... -
08:22 AM Bug #11444: STDIN.each_codepoint hangs indefinitely on certain codepoints
- Backported r51583 and r51638 into `ruby_2_2` at r52786.
I didn't backport r51594 because it introduce an incompatibility. - 11:54 PM Revision 23ce0a42 (git): * 2015-11-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:53 PM Feature #11749 (Closed): [PATCH] variable.c: remove spurious #define for globals - Applied in changeset r52790.
----------
variable.c: remove spurious #define for globals
Removing the indirection helps me with readability, at
least. It doesn't seem like there are many other places
in the Ruby code where macros are u... -
10:11 AM Feature #11749: [PATCH] variable.c: remove spurious #define for globals
- Eric Wong wrote:
> @nobu: They appeared in r19781 when the *_{getter,setter,marker}
> ...
Yes, please fix it. -
06:09 AM Feature #11749 (Closed): [PATCH] variable.c: remove spurious #define for globals
- variable.c: remove spurious #define for globals
Removing the indirection helps me with readability, at
least. It doesn't seem like there are many other places
in the Ruby code where macros are used like this.
@nobu: They appea... - 11:53 PM Revision 9f986169 (git): variable.c: remove spurious #define for globals
- Removing the indirection helps me with readability, at
least. It doesn't seem like there are many other places
in the Ruby code where macros are used like this.
[ruby-core:71735] [Feature #11749]
git-svn-id: svn+ssh://ci.ruby-lang.org... -
04:24 PM Bug #11750 (Closed): SEGV with Enumerator, yield and proc.
- I found SEGV as follows.
```
% cat z.rb
def f
Enumerator.new {|y|
1000000.times {
yield
y.yield
}
}
end
def g
x = proc {}
f(&x)
end
e = g
e.each {}
% ./miniruby z.rb
(snip)
```
-
04:16 PM Feature #11741: Migrate Ruby to Git from Subversion
- Hi Martin,
I think my previous response may have come out wrong -- I do think that a service like Gitlab should degrade gracefully, but then again I think the extreme of viewing webpages through a terminal window should not be support... -
05:58 AM Feature #11741: Migrate Ruby to Git from Subversion
- Hello Jon,
On 2015/11/29 01:20, me@jonathanmoss.me wrote:
> Issue #11741 has been updated by Jon Moss.
>
>
> Hi Eric,
>
> I think it's unreasonable to ask a website to degrade and work normally without any GUI or use of Javascr... -
11:45 AM Revision 42225163 (git): SIGTERM should be also captured
- because it will terminate the whole test process when it is
re-raised from this assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:10 AM Bug #11738: ARGF.readpartial raises a wrong exception
- Backported into `ruby_2_2` branch at r52788.
-
09:10 AM Revision 5925c930 (git): merge revision(s) 52745: [Backport #11738]
- * io.c (argf_getpartial): should not resize str if the second
argument is not given.
[ruby-core:71668] [Bug #11738]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@52788 b2dd03c8-39d4-4d8f-98ff-823fe69... -
09:01 AM Bug #11674: `local_variables` returns buffer-overflow garbage with methods with > 10 keyword arguments
- Backported into `ruby_2_2` branch at r52787.
-
09:01 AM Revision 979ba5fc (git): merge revision(s) 52536: [Backport #11674]
- * vm_eval.c (local_var_list_add): skip internal local variable
name by its type but not if it has a name. internal local
variable names are just unique per frame, not globally.
[ruby-core:71437] [Bug #11674... -
08:21 AM Revision 6d8ed07d (git): merge revision(s) 51583,51638: [Backport #11444]
- * io.c (rb_io_each_codepoint): read more data when read partially.
[ruby-core:70379] [Bug #11444]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@52786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:03 AM Bug #11724: SNIでsessionが無効だったときにhostnameがサーバに送られない
- r52785 でひとまず r52682 は `ruby_2_2` には backport しましたが、openssl の変更がある予定ということで Backport 欄は残しておきます。
-
08:02 AM Bug #11401: Net::HTTP SSL session resumption does not send SNI
- Backported into `ruby_2_2` branch at r52785.
-
08:01 AM Revision 43739c72 (git): merge revision(s) 52682: [Backport #11401] [Backport #11724]
- * lib/net/http.rb: set hostname before call ossl_ssl_set_session.
[Bug #11401][ruby-core:70152][fix GH-964] Patch by @mkarnebeek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@52785 b2dd03c8-39d4-4d8f-98ff-823f... -
07:44 AM Bug #11416: TestEncodingConverter#test_newline_option fails under GC stress
- r51488 and r51489 were backported into `ruby_2_2` branch at r52784.
-
07:44 AM Revision ed2205ff (git): merge revision(s) 51488,51489: [Backport #11416]
- * transcode.c (rb_econv_open0): rb_econv_t::source_encoding_name
and rb_econv_t::destination_encoding_name should refer static
strings always or NULL. [ruby-core:70247] [Bug #11416]
git-svn-id: svn+ssh://ci.ruby-la... -
07:29 AM Bug #11338: [PATCH] iseq.c (iseq_data_to_ary): dump kw_arg as symbol
- Backported into `ruby_2_2` branch at r52783.
-
07:29 AM Revision c07ec843 (git): merge revision(s) 51190: [Backport #11338]
- * iseq.c (iseq_data_to_ary): dump kw_arg as symbol
* test/-ext-/iseq_load/test_iseq_load.rb: test kw_arg roundtrip
[ruby-core:69891] [Bug #11338]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@52783 b2... -
02:25 AM Revision fc0c2d1c (git): version.c: remove ruby_engine_name
- * ruby.c (load_file_internal, ruby_process_options): share
ruby_engine instead of literal strings.
* version.c (Init_version): remove internal `ruby_engine_name`,
but set the VM program name in addition to the global constant.
* vm... - 12:13 AM Revision d6beaf32 (git): * 2015-11-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:13 AM Revision b71f6be0 (git): Corrected grammar errors [ci skip]
- * NEWS: [DOC] Various grammar corrections and clarifications to
increase readability. [Fix GH-1115]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:06 AM Bug #11748 (Closed): [BACKPORT] ripper misses on_tstring_content callback result
- 2.2以降、on_tstring_contentコールバックの戻り値が捨てられています。
~~~
$ ruby2.0 -rripper -e 'p Ripper.sexp("<<E\nx\nE")'
[:program, [[:string_literal, [:string_content, [:@tstring_content, "x\n", [2, 0]]]]]]
$ ruby2.1 -rripper -e 'p Ripper.sexp("<<E\...