Activity
From 09/04/2014 to 09/10/2014
09/10/2014
-
08:34 PM Bug #10221: You may have encountered a bug in the Ruby interpreter or extension libraries.
- this is ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
-
08:33 PM Bug #10221: You may have encountered a bug in the Ruby interpreter or extension libraries.
- I seem to be experiencing the same or a similar bug.
Iam running rake assets:precompile and the process crashes.
This is the crashdump: http://dl.ffm.freifunk.net/pastebin/ruby-crash -
10:31 AM Bug #10221 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries.
- Hi guys recently i'd installed ruby.
i'm trying to run beef(browsing exploitation framework),
i'd installed ruby sucessfull and when i tried to run beef it is showing me a error message that
"You may have encountered a bug in t... -
03:02 PM Bug #10191: Possible memory leak using dup and setting an unassigned instance variable (Windows)
- r46501, r47372 and r47460 were backported into `ruby_2_1` branch at r47520.
I add limit: 2.5 option argment to assert_no_memory_leak in the testcase because it fails with default threshold (1.5) on 2.1. -
02:57 PM Revision 4d238acd (git): merge revision(s) r46501,r47372,r47460: [Backport #10191]
- * object.c (rb_obj_copy_ivar): extract function to copy instance
variables only for T_OBJECT from init_copy.
* object.c (rb_obj_copy_ivar): allocate no memory for empty
instance variables. [ruby-core:64700] ... -
02:32 PM Bug #9344: warning origin incorrect with instance_eval
- merge partially r46831 into `ruby_2_1` branch at r47519.
The patch was derived from https://github.com/k-takata/Onigmo/commit/bdfc1997aa15b6baddaf9a482c6610b32504bd86 -
02:30 PM Revision 5d913e21 (git): merge r46831 partially. extracted commits are as follows. [Bug #9344]
- https://github.com/k-takata/Onigmo/commit/bdfc1997aa15b6baddaf9a482c6610b32504bd86
* regcomp.c: Merge Onigmo 5.14.1 25a8a69fc05ae3b56a09.
this includes Support for Unicode 7.0 [Bug #9092].
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... -
02:30 PM Bug #10223: Stack level too deep in CSV when parsing long line
- I guess, that CSV has not much to do with that error. Probably the root cause is that `*mappings` inside
~~~
|category,*mappings|
~~~
is a very long array, which is (de)composed recursively. And this causes the Stack-level to deep ... -
02:21 PM Bug #10223 (Closed): Stack level too deep in CSV when parsing long line
- The following code:
~~~ruby
#!/usr/bin/env ruby
# encoding: utf-8
require 'bu... -
02:23 PM Bug #10222: require_relative and require should be compatible with each other when symlinks are used
- I can't change the title myself. Could someone with privileges please change it to something like: "require_relative and require should be compatible with each other when symlinks are used".
I think this would make it easier to be sea... -
12:53 PM Bug #10222 (Closed): require_relative and require should be compatible with each other when symlinks are used
- Not sure if this should be considered a bug or a feature request since I don't know whether the current behavior is intended or not.
Recently I got a report for my gem rails-web-console related to require_relative causing trouble with... -
02:08 PM Bug #10161: C API docs not generated properly without baseruby
- Backported into `ruby_2_1` branch at r47518.
-
02:07 PM Revision 46075e24 (git): merge revision(s) r47248: [Backport #10161]
- * common.mk (Doxyfile): revert r43888, not to require preinstalled
ruby. [ruby-core:64488] [Bug #10161]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:21 PM Feature #10208: Passing block to Enumerable#to_h
- I agree `to_h` isn't the right method to do this.
I completely agree that we need new methods to do this.
This would also be a solution for #4151, and the multiple other proposals related to it. -
10:32 AM Feature #8923: Frozen nil/true/false
- Hans Mackowiak wrote:
> i am unsure about toally freeze them ... some might extend/include some "Boolean" module into true/false or the TrueClass/FalseClass to specially check if a value is only true or false
Can you explain that use... -
08:30 AM Feature #8923: Frozen nil/true/false
- Hans Mackowiak wrote:
> i am unsure about toally freeze them ... some might extend/include some "Boolean" module into true/false or the TrueClass/FalseClass to specially check if a value is only true or false
> ...
```ruby
p true.froz... -
08:28 AM Feature #8923: Frozen nil/true/false
- The following patch makes test-all green.
```
Index: gc.c
===================================================================
--- gc.c (revision 47513)
+++ gc.c (working copy)
@@ -2286,11 +2286,11 @@ should_be_callable(VALUE bl... -
09:10 AM Feature #10187: minor iseq memory reductions
- [email protected] wrote:
> Eric Wong wrote:
> > Nobody hits the limit, so reusing rb_memerror keeps code size down.
>
> how about to use rb_fatal() to declare give up?
Actually, nobody hits that check anymore, I removed it.
Correc... -
07:35 AM Feature #10187: minor iseq memory reductions
- Eric Wong wrote:
> Nobody hits the limit, so reusing rb_memerror keeps code size down.
how about to use rb_fatal() to declare give up? - 09:00 AM Revision 02dade3b (git): variable.c (rb_ivar_set): remove unnecessary check
- r47512 contains the proper fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:53 AM Revision 6f7eda7b (git): * compile.c (rb_vm_addr2insn): rename to rb_vm_insn_addr2insn
- to clear what address.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:25 AM Revision c544c985 (git): test_date.rb: nonsense assertion
- * test/date/test_date.rb (TestDate#test__const): remove nonsense
assertion. nil.frozen? is not date's concern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:22 AM Revision 24974c0e (git): gc.c: preserve encoding
- * gc.c (should_be_callable): preserve encoding of class name in
error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:05 AM Revision 826341c7 (git): compile.c: remove useless cast
- * compile.c (rb_iseq_original_iseq): remove useless cast to fix
compile error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:05 AM Revision ddf6eb40 (git): variable.c: check index overflow
- * variable.c (rb_ivar_set), vm_insnhelper.c (vm_setivar): check
instance variable index overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:04 AM Revision 6a6362d6 (git): pack.c: no nil.taint
- * pack.c (pack_pack): nil is not taintable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:24 AM Revision cf692592 (git): * test/ruby/test_gc.rb: fix condition.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:32 AM Revision b3a4367c (git): rb_call_info_t: shrink to 96 bytes from 104 bytes on 64-bit
- This keeps ci->flag and ci->aux.index consistent across 32-bit
and 64-bit platforms.
ci->flag: VM_CALL_* flags only use 9 bits, currently
ci->aux.index: 2 billion ivars per class should be enough for anybody
This saves around 50K alloc... -
06:18 AM Feature #10121: Dir.empty?
- https://github.com/nobu/ruby/compare/Feature%2310121-Dir.empty-p
-
02:28 AM Feature #10121 (Feedback): Dir.empty?
- What should happen if the `dir` is not a directory name?
Just returns `false`, or raises `Errno::ENOTDIR`? -
06:14 AM
Feature #10185 (Closed): [PATCH] iseq: free untranslated iseq->iseq at compile
- Applied in changeset r47508.
----------
compile: translate iseq in-place
running "ruby -rpp -e 'pp GC.stat'", a reduction in
malloc usage is shown:
before:
:malloc_increase=>118784,
:oldmalloc_increase=>1178736,
after:
:malloc_inc... - 06:14 AM Revision ea4c9790 (git): compile: translate iseq in-place
- running "ruby -rpp -e 'pp GC.stat'", a reduction in
malloc usage is shown:
before:
:malloc_increase=>118784,
:oldmalloc_increase=>1178736,
after:
:malloc_increase=>99832,
:oldmalloc_increase=>1031976,
F... - 06:01 AM Revision fd31eb3f (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:01 AM
Feature #10219 (Closed): [PATCH] time.c: DATA_PTR is never NULL
- Applied in changeset r47506.
----------
time.c: DATA_PTR is never NULL
* time.c (time_mark): remove NULL check
(time_memsize): ditto
(time_free): remove, use RUBY_TYPED_DEFAULT_FREE instead
[Feature #10219]
Tiny improvement on m... -
01:24 AM Feature #10219 (Assigned): [PATCH] time.c: DATA_PTR is never NULL
- Seems fine.
`RUBY_TYPED_DEFAULT_FREE` also does nothing if `DATA_PTR` is `NULL`, as same as `time_free` does now.
And `tobj` should not be `NULL` as `Time.allocate` always allocate it. - 06:01 AM Revision 6c396e94 (git): time.c: DATA_PTR is never NULL
- * time.c (time_mark): remove NULL check
(time_memsize): ditto
(time_free): remove, use RUBY_TYPED_DEFAULT_FREE instead
[Feature #10219]
Tiny improvement on my old Phenom II X4 945 system:
$ ruby --disable=gems -e '6000000.times { ... -
05:20 AM Bug #10220 (Assigned): enc/trans/*.c の依存関係不足?
- たぶん依存もれはこれでいいと思います。
distcleanの方は未対応です。
そもそもenc.mkに処理を投げてない気がするんですが、マジで? どっか見落としてるかなあ。 -
05:16 AM Bug #10220 (Closed): enc/trans/*.c の依存関係不足?
- Applied in changeset r47505.
----------
* common.mk (encs enc trans libencs libenc libtrans): force to run
enk.mk because common.mk does not know the dependency, but enk.mk
knows. [ruby-dev:48530] [Bug #10220] -
04:50 AM Bug #10220 (Closed): enc/trans/*.c の依存関係不足?
- r47221 の EUC-KR の文字追加後に make test-all するとこの変更についてのテストが失敗しました。
make distclean してやりなおしてもやはり失敗しました。
手動で enc/trans/korean.c を削除してから make で再ビルドすると変更が反映されてテストが通るようになりました。
enc/trans/*.c の依存関係が足りないか、または少なくとも make distclean の削除対象から漏れているのではない... - 05:16 AM Revision e564a82a (git): * common.mk (encs enc trans libencs libenc libtrans): force to run
- enk.mk because common.mk does not know the dependency, but enk.mk
knows. [ruby-dev:48530] [Bug #10220]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:38 AM Revision 23abce4b (git): * test/ruby/envutil.rb: remove duplicated method. this problem was introduced
- at r47479.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:36 AM Bug #10153: File.open block does not throw "No space left on device (Errno::ENOSPC)" if the data fits the buffer of IO.write
- backported into `ruby_2_0_0` at r47503.
- 03:36 AM Revision 9d742d73 (git): merge revision(s) 47288: [Backport #10153]
- * io.c (io_close): ignore only "closed stream" IOError and
NoMethodError, do not swallow other exceptions at the end of
block. [ruby-core:64463] [Bug #10153]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rub... -
03:33 AM Bug #10149: Some characters in EUC-KR does not encode to UTF-8 properly
- backported into `ruby_2_0_0` at r47502.
- 03:32 AM Revision 07b140ec (git): merge revision(s) 47221: [Backport #10149]
- * enc/trans/euckr-tbl.rb (EUCKR_TO_UCS_TBL): add missing euro and
registered signs. [ruby-core:64452] [Bug #10149]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:26 AM Bug #10144: [PATCH] time_timespec: fix tv_nsec overflow on float conversion
- backported into `ruby_2_0_0` at r47501.
- 03:26 AM Revision b84c5c3e (git): merge revision(s) 47196: [Backport #10144]
- * time.c (time_timespec): fix tv_nsec overflow
[Bug #10144]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:24 AM Bug #10101: Zlib::GzipReader produce different outputs for different methods applied
- backported into `ruby_2_0_0` at r47500.
- 03:24 AM Revision 33e54f34 (git): merge revision(s) 47327: [Backport #10101]
- * ext/zlib/zlib.c (gzfile_reset): preserve ZSTREAM_FLAG_GZFILE
[Bug #10101]
* test/zlib/test_zlib.rb (test_rewind): test each_byte
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47500 b2dd03c8-39d4-4... -
03:21 AM Bug #10043: Crash Report log file on MacOS X
- backported into `ruby_2_0_0` at r47499.
- 03:20 AM Revision 1b7b4701 (git): merge revision(s) 44916: [Backport #10043]
- error.c: Crash Report log
* error.c (REPORTBUG_MSG): mention about Crash Report log file on
MacOS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:08 AM Bug #10039: "a+" mode for File.open doesn’t work
- backported into `ruby_2_0_0` at r47498.
- 03:08 AM Revision 53c0a52d (git): merge revision(s) 46876: [Backport #10039]
- * io.c (rb_io_initialize): [DOC] fix rdoc of append mode. it does
not move the pointer at open. [ruby-core:63747] [Bug #10039]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47498 b2dd03c8-39d4-4d8f-98ff-82... -
03:05 AM Bug #9982: Kernel#sprintf: unmbered widht and precision with numbered argument
- backported into `ruby_2_0_0` at r47497.
- 03:05 AM Revision ae6d2485 (git): merge revision(s) 46569: [Backport #9982]
- * sprintf.c (GETASTER): should not use the numbered argument to be
formatted, raise ArgumentError instead.
[ruby-dev:48330] [Bug #9982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47497 b2dd03c8-... -
02:59 AM Revision c1b05c53 (git): * gc.c (gc_stat): update rdoc.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:54 AM Feature #9924 (Open): Revisitting GC.stat keys
- fixed.
https://docs.google.com/spreadsheets/d/11Ua4uBr6o0k-nORrZLEIIUkHJ9JRzRR0NyZfrhEEnc8/edit?usp=sharing
Feedbacks are welcome.
-
01:42 AM Feature #9924 (Closed): Revisitting GC.stat keys
- Applied in changeset r47488.
----------
* gc.c (objspace_total_slot): rename objspace_available_slots.
* gc.c (objspace_live_slot, objspace_free_slot): rename
..._slot() to ..._slots().
* gc.c (objspace_free_slot): should subtract hea... -
02:53 AM Revision 52c41f1e (git): * gc.c (gc_stat_internal): rename:
- * malloc_increase -> malloc_increase_bytes
* malloc_limit -> malloc_increase_bytes_limit
* oldmalloc_increase -> oldmalloc_increase_bytes
* oldmalloc_limit -> oldmalloc_increase_bytes_limit
ref: [Feature #9924]
git-svn-id: svn... -
02:49 AM Bug #9984: OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak timeouts on ARM
- backported into `ruby_2_0_0` at r47494.
- 02:49 AM Revision 1872f299 (git): merge revision(s) 47362: [Backport #9984]
- * test/openssl/test_pkey_rsa.rb (OpenSSL#test_sign_verify_memory_leak):
added timeout into testcase for low performance environment.
[Bug #9984][ruby-core:63367]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/... -
02:47 AM Revision ed729d39 (git): * gc.c (gc_stat_internal): rename `heap_used' to `heap_allocated_pages'.
- ref: [Feature #9924]
* test/ruby/test_gc.rb: add constraints test for gc stat information.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:42 AM Bug #9976: ENV doesn't raise SecurityError except for aset and delete
- backported into `ruby_2_0_0` at r47492.
- 02:42 AM Revision 5483a6b8 (git): merge revision(s) 46547: [Backport #9976]
- * hash.c (env_aset, env_has_key, env_assoc, env_has_value),
(env_rassoc, env_key): prohibit tainted strings if $SAFE is
non-zero. [Bug #9976]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47492 b2... -
02:35 AM Revision 6b398398 (git): * gc.c (gc_stat_internal): rename:
- * remembered_shady_object -> remembered_wb_unprotected_objects
* remembered_shady_object_limit -> remembered_wb_unprotected_objects_limit
* old_object -> old_objects
* old_object_limit -> old_objects_limit
ref: [Feature #9924]
... -
02:13 AM Revision 2d581d6c (git): * gc.c (gc_stat_internal): support:
- * total_allocated_pages
* total_freed_pages
ref: [Feature #9924]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:48 AM Revision 83f02b98 (git): * test/ruby/test_gc.rb: catch up last fix.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:42 AM Revision 6c625427 (git): * gc.c (objspace_total_slot): rename objspace_available_slots.
- * gc.c (objspace_live_slot, objspace_free_slot): rename
..._slot() to ..._slots().
* gc.c (objspace_free_slot): should subtract heap_pages_final_slots.
* gc.c (gc_stat_internal):
* add `heap_available_slots' field
* rename heap_liv...
09/09/2014
-
10:32 PM Revision 6b4a7aa2 (git): * gc.c: refactoring for RGENGC_PROFILE > 0.
- * rename rb_objspace_t::profile::..._count
to rb_objspace_t::profile::total_..._count
* rename promote_infant_types to promote_types
* gc.c (gc_remember_unprotected): count remembered shady objects here.
git-svn-id: svn+ssh://ci... -
09:28 PM Feature #10219 (Closed): [PATCH] time.c: DATA_PTR is never NULL
- Tiny improvement on my older Phenom II X4 945 system:
$ ruby --disable=gems -e '6000000.times { Time.now }'
before: 2.51user 0.00system 0:02.51elapsed 100%CPU
after: 2.45user 0.00system 0:02.45elapsed 100%CPU
Will commit soon unle... -
06:48 PM Bug #10153: File.open block does not throw "No space left on device (Errno::ENOSPC)" if the data fits the buffer of IO.write
- Backported into `ruby_2_1` branch at r47486.
-
06:47 PM Revision 8f01a278 (git): merge revision(s) r47288: [Backport #10153]
- * io.c (io_close): ignore only "closed stream" IOError and
NoMethodError, do not swallow other exceptions at the end of
block. [ruby-core:64463] [Bug #10153]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/rub... -
06:26 PM Bug #10149: Some characters in EUC-KR does not encode to UTF-8 properly
- Backported into `ruby_2_1` branch at r47485.
-
06:25 PM Revision 5545b8b4 (git): merge revision(s) r47221: [Backport #10149]
- * enc/trans/euckr-tbl.rb (EUCKR_TO_UCS_TBL): add missing euro and
registered signs. [ruby-core:64452] [Bug #10149]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:23 PM Revision 1bb70431 (git): * 2014-09-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:23 PM Revision 9aacc92b (git): * gc.c (init_mark_stack): MEMZERO() receive type as 2nd argument instead
- of size.
Coverity Scan found this bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:10 PM Bug #10144: [PATCH] time_timespec: fix tv_nsec overflow on float conversion
- Backported into `ruby_2_1` branch at r47482.
-
06:10 PM Revision 609961a4 (git): merge revision(s) r47196: [Backport #10144]
- * time.c (time_timespec): fix tv_nsec overflow
[Bug #10144]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:59 PM Revision d2f4d58d (git): merge revision(s) r47191: [Backport #10140]
- * iseq.c (rb_iseq_clone): Should not insert write barrier from
non-RVALUE data (to non-RVALUE data, of course).
Ruby 2.1 also has a same problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47481 b... -
05:46 PM Revision 8ba979b0 (git): merge revision(s) r47190: [Backport #10139]
- * string.c (setup_fake_str): fake strings should not set class by
RBASIC_SET_CLASS() because it insert write barriers to fake
(non-RVALUE) structure.
It can cause unexpected behaviour.
Ruby 2.1 als... -
05:27 PM Bug #10218: 手続きを再帰するとSegmentation faultが発生する
- https://bugs.ruby-lang.org/issues/9945 と同じ原因で、既に修正済みのような気がする
-
05:14 PM Bug #10218 (Closed): 手続きを再帰するとSegmentation faultが発生する
- `stack level too deep (SystemStackError)`が発生することを期待した。
~~~
% ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
% ruby -e"r = ->(n){ print %(#{n},); r.(n+1) }; r.(0)" > /tmp/foo_out 2>/tmp/foo_err
zsh: abort ... -
03:18 PM Feature #10217 (Open): Dir constructor similar to Pathname constructor
- Make Dir(path) an alias for Dir.new(path)
Dir('.').entries
Dir('test').each do |entry|
.. -
01:09 PM Revision 5623c00f (git): s/stressfull/stressful/g
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:01 PM Bug #10213: bundled gems ignored by make install
- Hans Mackowiak wrote:
> my use case would be i writing a script that makes a dot graph from the installed/requested gems and the dependencies between them ... with this some gems are different styled depending on some conditions, like i... -
01:01 PM Revision 9d0a6f3d (git): * ext/win32ole/sample/excel2.rb: remove some commented-out code.
- rotate graph more slowly to see graph clearly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:52 PM Revision 36dc2e4b (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:51 PM Feature #9924 (Open): Revisitting GC.stat keys
- r47472
r47473
r47474
are also related changes (and not finished).
These fixes break prorgrams depends on specific GC.stat() keys.
Any other objections?
-
09:34 AM Feature #9924 (Closed): Revisitting GC.stat keys
- Applied in changeset r47471.
----------
* gc.c (rb_objspace_t::heap_pages): rename field names:
* used -> allocated_pages
* increment -> allocatable_pages
* length -> sorted_length
And remove unused `limt' field.
* gc.c: rename ... -
12:50 PM Revision eebdf04c (git): fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:22 AM Revision fa326bf3 (git): GC.stat key name
- * test/-ext-/tracepoint/test_tracepoint.rb: follow the change of
key name of GC.stat.
* test/ruby/test_hash.rb (TestHash#test_AREF_fstring_key): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47475 b2dd03c8-39d4-4d8f-98ff-8... -
10:55 AM Revision 9b6bc26f (git): * gc.c: rename rb_objspace_t::marked_objects to marked_slots.
- * gc.c (gc_marks_start): should be clear first.
* gc.c (gc_marks_start): remembered shady objects are also marked.
* gc.c (gc_stat_internal): add heap_marked_slots.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47474 b2dd03c8-39d4... -
10:01 AM Revision 97fef1cd (git): * gc.c: rename
- * total_allocated_object_num -> total_allocated_objects
* total_allocated_object_num_at_gc_start -> total_allocated_objects_at_gc_start
* total_freed_object_num -> total_freed_objects
* gc.c (gc_stat_internal):
* rename total_alloc... -
10:00 AM Feature #10187: minor iseq memory reductions
- [email protected] wrote:
>
> ...
I took the hint from compile_data_alloc:
~~~C
if (size >= INT_MAX) rb_memerror();
if (storage->pos + size > storage->size) {
unsigned int alloc_size = storage->size;
while (alloc_size < ... -
10:00 AM Feature #10187: minor iseq memory reductions
- [email protected] wrote:
> > Subject: [PATCH] iseq_inline_storage_entry: 24=>16 bytes on x86-64
>
> > ~~~diff
> > +#define RUNNING_THREAD_ONCE_DONE ((rb_thread_t *)(0x1))
>
> How about to define macro such as
>
> ~~~C
... -
09:14 AM Feature #10187: minor iseq memory reductions
- > ~~~diff
> ...
memerror?
-
09:11 AM Feature #10187: minor iseq memory reductions
- > Subject: [PATCH] iseq_inline_storage_entry: 24=>16 bytes on x86-64
> ...
How about to define macro such as
~~~C
#define ONCE_FINISHED(once) ((once)->running_thread == 0x01)
~~~
and use as
~~~C
if (ONCE_FINIHSED(&is->onc... -
08:32 AM Feature #10187: minor iseq memory reductions
- updated 2/2 patch to adjust for r47456 (redundant SYM2ID <=> ID2SYM removal)
-
09:53 AM Revision 72749760 (git): * gc.c (gc_stat_internal): fix symbol names
- * heap_final_slot -> heap_final_slots
* heap_swept_slot -> heap_swept_slots
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:33 AM Revision 8ee9071c (git): * gc.c (rb_objspace_t::heap_pages): rename field names:
- * used -> allocated_pages
* increment -> allocatable_pages
* length -> sorted_length
And remove unused `limt' field.
* gc.c: rename macros:
* heap_pages_used -> heap_allocated_pages
* heap_pages_length -> heap_pages_sorted_leng... -
08:21 AM Feature #10185: [PATCH] iseq: free untranslated iseq->iseq at compile
- This combines both patches to do translation in-place.
I couldn't make rb_iseq_original_iseq return const because of
rb_iseq_line_trace_each, but it now caches iseq->iseq field
(at the bottom of rb_iseq_t, away from hotter fields).
... -
01:47 AM Feature #10185: [PATCH] iseq: free untranslated iseq->iseq at compile
- Koichi Sasada wrote:
> - rename rb_iseq_untranslate_threaded_code to rb_iseq_decode_encoded_iseq() and fill iseq->iseq if iseq->iseq is not NULL.
decode is also strange.
const VALUE *rb_iseq_orignal_iseq() ?
-
01:39 AM Feature #10185: [PATCH] iseq: free untranslated iseq->iseq at compile
- Thank you for waiting my comment.
I'm thinking about compatibility and expandability.
Now, in Ruby source, iseq->iseq is used only for disasm. So that your patch works completely.
However we have several compilers (iseq -> C) to u... -
06:39 AM Revision eb7a7801 (git): gc.c: fix typos
- * gc.c (gc_stat_transition): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:00 AM Revision 886e2799 (git): * gc.c: continue layout changing.
- newobj_of() also touch:
(4) increment total_allocated_object_num
(5) check hook_events
And gather fields related to marking phase.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:24 AM Revision 15e4903c (git): * gc.c: fix layout of rb_objsapce_t to improve cache locality.
- newobj_of() accesses:
(1) rb_objspace_t::flags
(2) rb_objspace_t::eden_heap::freelist
(3) and rb_objspace_t::eden_heap::free_pages if freelist is NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47468 b2dd03c8-39d4-4d8f-9... -
05:12 AM Revision 3238a4a7 (git): * gc.c: move rb_objspace_t::flags::gc_stressfull after during_gc
- to make accesssing both parameters easy.
* gc.c (heap_get_freeobj): add LIKELY() hint.
* gc.c (heap_get_freeobj_from_next_freepage): ditto.
* gc.c (newobj_of): check both parameters at once for exceptional
case.
git-svn-id: svn+ssh:... -
04:56 AM Revision ddac04d2 (git): * gc.c: add rb_objspace_t::flags::gc_stressfull and
- ruby_gc_stressfull macro.
Rename objspace->gc_stress to objspace->gc_stress_mode.
If objspace->gc_stress_mode is true (!nil and !false) then
ruby_gc_stressfull becomes TRUE.
ruby_gc_stressfull will speedup newobj_of() slightly.
*... -
04:12 AM Revision 0c391a55 (git): * gc.c: remvoe ruby_disable_gc_stress and add ruby_disable_gc
- to speed-up newobj_of().
* gc.c (ready_to_gc): check ruby_disable_gc.
* signal.c: use ruby_disable_gc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:13 AM Revision 335ca560 (git): * gc.c: rename gc_stat entries and check stat transition.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:07 AM Revision 71990d0e (git): * gc.c (gc_sweep_rest): remove wrong modification of during_gc flag.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:59 AM Revision ce71cfaa (git): * gc.c (rb_objspace_t::profile): reduce padding.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:45 AM Revision c5e13c32 (git): * gc.c: pack boolean values into rb_objspace_t::flags with bit fields
- to improve cache locality.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:14 AM Revision dba34989 (git): * test/ruby/test_object.rb: extend timeout.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:08 AM Bug #10206: garbage symbols crash symbol GC
- One problem about it is ripper.
The result of `Ripper.parse` is transient, but symbols by its side-effect are permanent, right now.
So now I'm thinking the plan:
1. make all IDs permanent, as ko1 claims
2. isolate Symbols in ripp... -
01:43 AM Bug #10206: garbage symbols crash symbol GC
- > Unfortunately, I do not yet understand why we avoid pindown in parse.y
> ...
Exactlly. However, nobu wants to reduce immoratal symbols from parse.y.
(I'm strongly against for such optimization)
My proposal is to avoid such `withou... -
12:31 AM Revision f32e38a9 (git): fake.rb.in: use absolute path
- * template/fake.rb.in (top_srcdir): use absolute path to resolve
symbolic links in srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:27 AM Revision 097c3e9c (git): mkmf.rb: -I flags to $INCFLAGS
- * lib/mkmf.rb (MakeMakefile#pkg_config): separate -I flags to
$INCFLAGS, which is used by CPP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:02 AM Bug #8315 (Closed): mkmf does not include include paths from pkg_config anymore
- Applied in changeset r47457.
----------
mkmf.rb: --cflags to $CXXFLAGS
* lib/mkmf.rb (MakeMakefile#pkg_config): append --cflags to also
$CXXFLAGS, as they are often used by C++ compiler.
[ruby-core:54532] [Bug #8315] -
12:02 AM Revision 5be82d14 (git): mkmf.rb: --cflags to $CXXFLAGS
- * lib/mkmf.rb (MakeMakefile#pkg_config): append --cflags to also
$CXXFLAGS, as they are often used by C++ compiler.
[ruby-core:54532] [Bug #8315]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47457 b2dd03c8-39d4-4d8f-98ff-823fe6...
09/08/2014
-
11:20 PM Bug #10206: garbage symbols crash symbol GC
- I'm looking into uses of intern_cstr_without_pindown in parse.y causing
garbage syms.
Unfortunately, I do not yet understand why we avoid pindown in parse.y
(or much of parse.y). I thought symbol GC was only to help users who
use... -
10:38 AM Bug #10206: garbage symbols crash symbol GC
- Eric Wong <[email protected]> wrote:
> I think this may be a fix (still testing):
Nope. However, I think it takes longer in the test-all loop to
reproduce the problem.
> ```diff
> --- a/symbol.c
> +++ b/symbol.c
... -
08:38 AM Bug #10206: garbage symbols crash symbol GC
- [email protected] wrote:
> At first, Symbol is VALUE and it should be marked.
> ...
Looking at this more, we may run dsymbol_check too late in
dsymbol_pindown. I think we must run dsymbol_check immediately after
looking up dynamic syms ... -
02:23 AM Bug #10206: garbage symbols crash symbol GC
At first, Symbol is VALUE and it should be marked.
So that the following code should not be allowed.
```
id = SYM2ID(garbage_sym);
```
In this case, afeter sweeping, garbage_sym becomes freed VALUE.
What happen on it?
-
10:58 PM Feature #10185: [PATCH] iseq: free untranslated iseq->iseq at compile
- > https://bugs.ruby-lang.org/issues/10185#change-48562
>
> ---Files--------------------------------
> iseq-tc-diet.patch (4.43 KB)
> iseq-iseq-diet.patch (9.54 KB)
Ping? I hope to commit these two soon. -
10:57 PM Bug #9800: Ship 2.1.2 with GC_HEAP_OLDOBJECT_LIMIT_FACTOR of 1.3
- The following charts 32bit linux server with 64gb 100 puma aplications and rails 2.3.11. The first chart contains ruby 2.0, the second ruby 2.1 and the third ruby 2.1 with GC_HEAP_OLDOBJECT_LIMIT_FACTOR = 1.3.
I dispose doing tests wi... -
10:30 PM Misc #10207 (Closed): [PATCH cleanup] compile.c: remove needless ID2SYM/SYM2ID conversions
- Sorry for overlooking this ticket.
You are right.
Before Ruby 2.0, it should be VALUE (Symbol) because it is target of GC marking.
However, now they are not target of GC marking.
- 10:08 PM Revision 49db57f7 (git): compile.c: remove needless SYM2ID <-> ID2SYM conversions
- Needless conversions made the code harder to follow.
[misc #10207]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:51 PM Revision ec177aa5 (git): symbol.c (rb_intern_cstr_without_pindown): check dsymbol on return
- This is not a complete fix for bug 10206, but seems to reduce
that crash and also looks correct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:49 PM Bug #10212: MRI is not for lambda calculus
- SASADA Koichi <[email protected]> wrote:
> Cool. Could you commit it?
Done, r47453.
I think the xcalloc was overreaching, though.
Removing redundant zero from env_alloc + rb_proc_alloc has a measurable
effect:
http://80x24.org... -
06:58 PM Bug #10212: MRI is not for lambda calculus
- (2014/09/08 19:48), Eric Wong wrote:
> rb_env_t may use a flexible array, helps a little even on my busy system:
>
> http://80x24.org/misc/m/1410173063-19208-1-git-send-email-e%4080x24.org.txt
Cool. Could you commit it?
Drasti... -
10:59 AM Bug #10212: MRI is not for lambda calculus
- rb_env_t may use a flexible array, helps a little even on my busy system:
http://80x24.org/misc/m/1410173063-19208-1-git-send-email-e%4080x24.org.txt
trunk 135.18708946416155
trunk 123.50244501209818
trunk 133.271879326086... -
08:58 AM Bug #10212: MRI is not for lambda calculus
- [email protected] wrote:
> I haven't dig details, but maybe it is because of GC perforamance.
> Because Proc (and Env) objects are wb-unprotected, such objects are
> marked on every minor GC.
Right, perf says lots of calloc/free.
M... -
05:14 AM Bug #10212 (Closed): MRI is not for lambda calculus
- # title is joke.
I added benchmark/bm_lc_fizzbuzz.rb which solve fizz buzz program by lambda calculus.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47447
(This program is closly described by ["Understanding ... - 07:38 PM Revision f7085f6b (git): * 2014-09-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:38 PM Revision 27f9e707 (git): vm_core.h (rb_env_t): use flexible array
- * vm_core.h (rb_env_t): use flexible array
This reduces allocations and speeds up the lambda calculus
fizzbuzz (bm_app_lc_fizzbuzz.rb) benchmark [ruby-core:64858]
* proc.c (get_local_variable_ptr): deconst to adjust for flex array
* ... -
06:18 PM Feature #10211: Implement Signal.current_trap(sig)
- David Rodríguez wrote:
> Disregard my previous message, I thought all traps were executed from last to first, but only last one is. I guess that's why you're implementing Multitrap, right Kyrylo?
Exactly :) -
05:57 PM Feature #10211: Implement Signal.current_trap(sig)
- Disregard my previous message, I thought all traps were executed from last to first, but only last one is. I guess that's why you're implementing Multitrap, right Kyrylo?
-
04:54 PM Feature #10211: Implement Signal.current_trap(sig)
- Nobuyoshi Nakada wrote:
> I can't get your point.
> ...
I want to get the trap defined by RSpec (and probably other gems loaded
before Multitrap that define various `trap` callbacks for other signals).
If I define a new `trap('INT'... -
02:52 PM Feature #10211: Implement Signal.current_trap(sig)
- I happen to need something like this too.
I'd like to be able to override RSpec's trap somehow. For example, if someone types something in byebug or pry's prompt, we surely don't want to quit rspec but only empty the input written so ... -
08:28 AM Feature #10211: Implement Signal.current_trap(sig)
- I can't get your point.
Do you want to get the previous trap defined before RSpec is loaded? -
04:57 AM Feature #10211: Implement Signal.current_trap(sig)
- Well, even monkey-patching won't help.
-
04:52 AM Feature #10211: Implement Signal.current_trap(sig)
- Akira Tanaka wrote:
> Any problem with the return value of trap?
There's no problem with it by itself. However, there are some libraries like RSpec that use `trap`
and not store its return value: https://github.com/rspec/rspec-core/... -
03:37 AM Feature #10211 (Feedback): Implement Signal.current_trap(sig)
-
03:36 AM Feature #10211: Implement Signal.current_trap(sig)
- Any problem with the return value of trap?
~~~
% ruby -e '
def trap2(sig)
previous_proc = Signal.trap(sig){
previous_proc.call if previous_proc
yield
}
end
trap(:INT) { p 1 }
trap2(:INT) { p 2 }
Process.kill :I... -
03:06 AM Feature #10211 (Feedback): Implement Signal.current_trap(sig)
- Here's pseudocode by ko1:
~~~
def trap2(sig)
previous_proc = Signal.current_trap(sig)
Signal.trap(sig){
previous_proc.call if previous_proc
yield
}
end
trap2(:INT){...}
~~~
## Motivation
I'm developing ... -
01:51 PM Feature #10216 (Closed): Add methods to Method and UnboundMethod classess to retrieve method instance for super
-
12:56 PM Feature #10216 (Closed): Add methods to Method and UnboundMethod classess to retrieve method instance for super
- Because of ruby dynamism nature it is very usefull to check method source location directly in irb/pry by SomeClass.instance_method(:foo).source_location. Very often checked method will call super method and we also want to check this me...
-
01:44 PM Feature #10214: new functions for compare of symbols in C API
- If an ID has been created by pinning down with `ID2SYM`, `rb_intern` returns that ID, and ditto for `Symbol`s.
-
09:55 AM Feature #10214: new functions for compare of symbols in C API
- i did some testing with that if someone is interested:
~~~C
#include <ruby.h>
VALUE is_dyn(VALUE self)
{
return DYNAMIC_SYM_P(self) ? Qtrue : Qfalse;
}
VALUE check_symbol(VALUE self)
{
VALUE str = rb_sym2str(self);
I... -
09:19 AM Feature #10214: new functions for compare of symbols in C API
- (2014/09/08 18:06), [email protected] wrote:
> i need to check it, is the VALUE object the same pointer for symbols with same content? (because some might be static and the other dynamic, so == of the VALUE might not work)
did you verif... -
09:06 AM Feature #10214: new functions for compare of symbols in C API
- i need to check it, is the VALUE object the same pointer for symbols with same content? (because some might be static and the other dynamic, so == of the VALUE might not work)
i think thats only the case if the ID object is greated fi... -
07:45 AM Feature #10214 (Feedback): new functions for compare of symbols in C API
- You can do
~~~C
ID2SYM(rb_intern("name")) == sym
~~~
`rb_intern` creates a permanent ID which never changes. -
06:57 AM Feature #10214 (Closed): new functions for compare of symbols in C API
- currently i often use Symbols as enums in my bindings,
have something like this with comparing symbols by their ID
~~~C
if(SYMBOL_P(sym))
{
if(rb_intern("name") == SYM2ID(sym))
return ENUM_NAME;
}
~~~
now with dynamic... -
12:23 PM Bug #10213: bundled gems ignored by make install
- a "Gem::Specification#bundled_gem?" would have been the same use case as a "Gem::Specification#default_gem?" i think ... hm currently you can remove bundled gems with "gem uninstall", i dont know if that is such a good idea because it mi...
-
11:27 AM Bug #10213: bundled gems ignored by make install
- Hans Mackowiak wrote:
> EDIT: i forgot it might be good if there is a way to detect if a gem is installed as bundled like there is "Gem::Specification#default_gem?" for the default installed gems
Could you show us an use case when do... -
09:30 AM Bug #10213 (Assigned): bundled gems ignored by make install
-
07:02 AM Bug #10213: bundled gems ignored by make install
- EDIT: i forgot it might be good if there is a way to detect if a gem is installed as bundled like there is "Gem::Specification#default_gem?" for the default installed gems
-
06:42 AM Bug #10213 (Feedback): bundled gems ignored by make install
- i am often working with ruby trunk, and then i notice that
"sudo make install" does ignore the gems that got moved from
"defs/default_gems" to "gems/bundled_gems"
means gems listed in "gems/bundled_gems" toally got ignored and migh... -
08:10 AM Revision 66d09c6d (git): test_time_tz.rb: have_tz_offset?
- * test/ruby/test_time_tz.rb (TestTimeTZ::Util#have_tz_offset?): append
?-suffix as a predicate method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:03 AM Revision 7a666d95 (git): test_time_tz.rb: right timezone
- * test/ruby/test_time_tz.rb (has_right_tz): check if right
timezones are installed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:29 AM Feature #10215 (Open): prohibit subclassing for classes without allocator in Ruby
- for the Ruby side it might be interesting if there is a way to prohibit the subclassing of classes that has no allocator like Symbol or Integer or TrueClass
but blocking it generally would break some C-Ext where it has base classes wi... -
07:17 AM Feature #8923: Frozen nil/true/false
- i am unsure about toally freeze them ... some might extend/include some "Boolean" module into true/false or the TrueClass/FalseClass to specially check if a value is only true or false
i dont know if freezing this objects would break ... -
07:08 AM Revision 2a0cca3c (git): * benchmark/bm_app_lc_fizzbuzz.rb: should skip output on benchmark.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:08 AM Revision f5ac3ea6 (git): * benchmark/bm_app_lc_fizzbuzz.rb: `answer.to_a' does not return
- a string, but an array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:47 AM Bug #8315: mkmf does not include include paths from pkg_config anymore
- have somone time to fix that?
currently it still does needed to fix it by myself to get the gems working - 04:23 AM Revision 8d498680 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:22 AM Revision 628dac10 (git): * benchmark/bm_app_lc_fizzbuzz.rb: added.
- This program is described closely in "Understanding Computation"
chapter 6 by Tom Stuart. <http://computationbook.com/>
Japanese translation will be published soon.
<http://www.oreilly.co.jp/books/9784873116976/>
git-svn-id: svn... -
04:11 AM Feature #10137 (Closed): Introducing Incremental GC algorithm
- Applied in changeset r47444.
----------
* gc.c: add incremental GC algorithm. [Feature #10137]
Please refer this ticket for details.
This change also introduces the following changes.
* Remove RGENGC_AGE2_PROMOTION and introduce o... - 04:11 AM Revision c6da45b7 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:11 AM Revision 765ad358 (git): * 2014-09-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:11 AM Revision 123eeb1c (git): * gc.c: add incremental GC algorithm. [Feature #10137]
- Please refer this ticket for details.
This change also introduces the following changes.
* Remove RGENGC_AGE2_PROMOTION and introduce object age (0 to 3).
Age can be count with FL_PROMOTE0 and FL_PROMOTE1 flags in
RBasic::fla...
09/07/2014
-
11:42 PM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
- I agree with First Last that has_key? is better than key? from an English readability standpoint. Not knowing the history but being aware of both methods, I've always used has_key? instead of key? for that reason.
In my opinion, the ... -
08:33 PM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
- in the interest of maximizing the English readability and sensibility (self documentability) of predicates, it is key? that should be deprecated.
when you have an instance method predicate in the form receiver.noun? this reads in Engl... -
07:47 PM Bug #10210 (Closed): LDSHARED and LDSHAREDXX set to null ('')
- While attempting to build Ruby on custom linux setup versions from 1.9.3-p547 to 2.1.2 fail to build, setting `LDSHARED` to "gcc -shared" and `LDSHAREDXX` to "g++ -shared" kind of sorted the problem but I still see some messages in the b...
-
03:47 AM Revision e6368921 (git): * process.c: PTHREAD_CANCEL_DISABLE is not defined on Android.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:04 AM Revision a179d0d2 (git): configure.in: use ac_cv_func_vfork
- * configure.in (ac_cv_func_vfork): ac_cv_func_vfork_works is
overridden always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:57 AM Revision ed0a7d46 (git): process.c: disable vfork on OS X
- * process.c (retry_fork_async_signal_safe): revert r47439 but
disable use of vfork on OS X instead, as it cause hang-up at
test_process.rb:test_deadlock_by_signal_at_forking with parallel
test.
git-svn-id: svn+ssh://ci.ruby-lang.o... - 01:10 AM Revision cd99e0f2 (git): * 2014-09-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:10 AM Revision e81a0d8f (git): process.c: vfork may not work with pthread
- * process.c (retry_fork_async_signal_safe): vfork may not work
with pthread always even if fork works with it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/06/2014
-
11:26 PM Bug #10209: attr_reader vulnerability
- And, when you wonder if it is a vulnerability, please feel free to post to [email protected], instead of an issue here.
-
11:19 PM Bug #10209 (Rejected): attr_reader vulnerability
- A spec.
-
09:10 PM Bug #10209: attr_reader vulnerability
- mmm I think IMHO that the attr_reader accessor should return a .dub version of the object. That way there will be no chance to edit the class attribute on a read action.
-
08:18 PM Bug #10209: attr_reader vulnerability
- This isn't a vulnerability, it's expected behavior. If you don't want to allow modification of an object, freeze the object.
-
08:11 PM Bug #10209: attr_reader vulnerability
- Output:
~~~
"Original atributes:"
"-------------------------"
"value"
[1, 2, 3, 4]
{:name=>"Carlos", :age=>25}
"-------------------------"
"After Hacking attributes:"
"-------------------------"
""
[]
{}
"-----------------... -
08:08 PM Bug #10209 (Rejected): attr_reader vulnerability
- It is possible to change a read_only class attribute:
~~~ruby
require 'pp'
class Attributes
attr_reader :string, :array, :hash
def initialize
@string = 'value'
@array = [1, 2, 3, 4]
@hash = { name: 'Carlos', age... -
10:20 PM Bug #10206: garbage symbols crash symbol GC
- [email protected] wrote:
> Or revert `dsymbol_check()`?
But we need to replace with rb_gc_resurrect, right?
I tried http://80x24.org/10206/resurrect.patch but test-all loop
failed with:
http://80x24.org/10206/resurrect-gdb-bt... -
11:12 AM Bug #10206: garbage symbols crash symbol GC
- Or revert `dsymbol_check()`?
-
03:59 AM Bug #10206 (Closed): garbage symbols crash symbol GC
- This is reproducible with just a test loop running for serveral minutes/hours:
while make test-all TESTS=-j8; do :; done
It looks like SYM2ID/rb_sym2id interacts badly with dsymbol_check
when it encounters garbage objects.
dsy... -
04:14 PM Feature #7793: New methods on Hash
- An issue with the name is that "map" semantically means to create an Array, i.e.`ahash.map{ |k,v| ... }` produces an Array. So `map_keys` would make sense to mean `ahash.map_keys{ |k| ... }` and produce an Array too. `Hash#map_pair` woul...
-
12:14 PM Feature #10208: Passing block to Enumerable#to_h
- I agree with Nobu.
Matz.
-
11:16 AM Feature #10208: Passing block to Enumerable#to_h
- The name `to_h` doesn't feel nice for it, IMHO.
-
04:25 AM Feature #10208 (Closed): Passing block to Enumerable#to_h
- Now that we can convert 'a list of [key, value] pairs' into a hash with Enumerable#to_h,
how about make it take a block to specify 'how to convert each element into a [key, value] pair'?
Example:
~~~
# Convert users into an {id ... -
12:08 PM Revision 11a8187b (git): * process.c (has_privilege): The gid zero is not a privilege.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:20 AM Revision 42becbdd (git): * process.c (struct child_handler_disabler_state): cancelstate field
- added.
(disable_child_handler_before_fork): Record cancelstate.
(disable_child_handler_fork_parent): Restore cancelstate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:27 AM Revision 3de392de (git): * process.c (struct child_handler_disabler_state): Defined.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:31 AM Revision 463b5603 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:31 AM Revision ac231ef2 (git): * append newline at EOF.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:31 AM Revision f6d2b485 (git): * lib/rake.rb, lib/rake/*, test/rake/*: Update latest rake master(e47d023)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:52 AM Revision 6057695c (git): * ext/win32ole/win32ole_variant.c (ole_val2variant_err,
- ole_val2variantdata, Init_win32ole_variant): support VT_ERROR
variant with error code. add WIN32OLE_VARIANT::NoParam.
* test/win32ole/test_win32ole_variant.rb(test_c_noparam,
test_vt_error_noparam): ditto.
* ext/win32ole/win32ole.c: ... -
04:05 AM Misc #10207 (Closed): [PATCH cleanup] compile.c: remove needless ID2SYM/SYM2ID conversions
- Needless conversions made the code harder to follow.
Will commit in a few days unless there's objections.
-
02:08 AM Bug #10204 (Closed): A little bit misleading warning message
- Applied in changeset r47431.
----------
parse.y: fix warning message
* parse.y (arg_ambiguous_gen): fix warning message, "even" does
not mean the number of spaces here. state the place to put a
space and the operator. [ruby-core:... -
02:08 AM Revision 3fd37d08 (git): parse.y: fix warning message
- * parse.y (arg_ambiguous_gen): fix warning message, "even" does
not mean the number of spaces here. state the place to put a
space and the operator. [ruby-core:64790] [Bug #10204]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... - 12:14 AM Revision c79117f6 (git): * 2014-09-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@47430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:14 AM Revision 779fa960 (git): Backport r47425
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@47429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:12 AM Revision 7fdb955c (git): Backport r47425
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:08 AM Revision 247d8312 (git): Bump patch level from r47426
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:04 AM Revision 25552e2a (git): Backport r47425
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/05/2014
-
11:46 PM Revision f0ee1e67 (git): * lib/rdoc/generator/template/darkfish/js/jquery.js: Backport
- rdoc/rdoc@74f60fcb04fee1778fe2694d1a0ea6513f8e67b7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:45 PM Revision c54e8cab (git): process.c: missing semicolon
- * process.c (rb_exec_without_timer_thread): add missing semicolon
to fix compilation error on OS X and Haiku.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:11 PM Revision f4ed799b (git): test/ruby/test_io.rb: use IO#nonblock=
- * test/ruby/test_io.rb (test_readpartial_locktmp): use IO#nonblock=
Old fcntl invocation may drop necessary flags on some platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:59 PM Bug #10205 (Third Party's Issue): Abort trap: 6You may have encountered a bug in the Ruby interpreter or extension libraries.
- You mix 1.9.3 by rvm and system 2.0.0.
-
02:18 PM Bug #10205 (Third Party's Issue): Abort trap: 6You may have encountered a bug in the Ruby interpreter or extension libraries.
- * Loaded script: script/rails
~~~
Completed 302 Found in 210ms (ActiveRecord: 0.4ms)
/Library/Ruby/Site/2.0.0/chartdirector.rb:32: [BUG] Segmentation fault
ruby 2.0.0p451 (2014-02-24 revision 45167) [universal.x86_64-darwin13]
~~~... - 10:49 PM Revision c3c1d6c6 (git): test/ruby/test_io.rb: avoid EBADF
- * test/ruby/test_io.rb (test_readpartial_locktmp): avoid EBADF
[ruby-core:64773] [ruby-core:64775]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:30 PM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
- [email protected] wrote:
> This is the result with patch applied:
Sorry, I meant to ask whether removing _RAW support fixes the
original test case for you. -
08:48 AM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
- This is the result with patch applied:
http://paste.fedoraproject.org/131177/90664414 -
04:36 PM Revision 31468275 (git): * process.c (rb_f_exec): Call before_exec_async_signal_safe and
- after_exec_async_signal_safe around rb_exec_async_signal_safe.
(rb_exec_async_signal_safe): Don't call
before_exec_async_signal_safe and after_exec_async_signal_safe.
(rb_exec_without_timer_thread): Call before_exec and
after_exe... -
04:10 PM Revision 2942657a (git): Unwrap a useless block.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:01 PM Bug #10101: Zlib::GzipReader produce different outputs for different methods applied
- Thank you Eric! It is a great insight.
Backported into `ruby_2_1` at r47419. -
03:58 PM Revision c44e4364 (git): merge revision(s) r47327: [Backport #10008]
- * ext/zlib/zlib.c (gzfile_reset): preserve ZSTREAM_FLAG_GZFILE
[Bug #10101]
* test/zlib/test_zlib.rb (test_rewind): test each_byte
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47419 b2dd03c8-39d4-4d8... -
03:56 PM Bug #10008: conftest crashed: installing mri 2.1.2: EXC_BAD_ACCESS (SIGABRT)
- Backported into `ruby_2_1` branch at r47418.
-
03:55 PM Revision ea08099e (git): merge revision(s) r46796: [Backport #10008]
- * configure.in (rb_cv_broken_backtrace): exit with failure
normally, no needs to abort. [ruby-core:63678] [Bug #10008]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:54 PM Bug #9372: Date function cweek reports innaccurately for the date December 30, 2013
- Nobuyoshi Nakada wrote:
> This is a repeated question, so it feels nice to add examples.
Even though this is a closed issue, I am seeing the same issue for the years 2018 and 2019:
```
$> date = Date.new(2018,12,31)
=> #<Date: 2018-12-... -
03:50 PM Revision 99acd378 (git): * signal.c (ruby_signal): Don't set SA_SIGINFO for SIG_IGN and
- SIG_DFL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:41 PM Bug #10043: Crash Report log file on MacOS X
- Backported into `ruby_2_1` branch at r47416.
-
03:41 PM Revision 0f1fb3d6 (git): merge revision(s) r44916: [Backport #10043]
- error.c: Crash Report log
* error.c (REPORTBUG_MSG): mention about Crash Report log file on
MacOS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:15 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
- r45046, r45047, r45063, r45087, r45146, r45150, r45151 and r45152 were backported into `ruby_2_1` branch at r47415.
-
02:54 PM Bug #9525: Stuck with Socket.pack_sockaddr_in
- I have confirmed that this issue is already fixed.
https://twitter.com/sonots/status/507804708153483264
Add related commits: r45146
-
03:14 PM Revision 667af1ee (git): merge revision(s) r45046,r45047,r45063,r45087,r45146,r45150,r45151,r45152: [Backport #9525]
- * ext/socket: Wrap struct addrinfo by struct rb_addrinfo.
* ext/socket: Bypass getaddrinfo() if node and serv are numeric.
Reporeted by Naotoshi Seo. [ruby-core:60801] [Bug #9525]
* ext/socket/extconf.rb: Det... - 03:04 PM Revision d1f332d1 (git): * 2014-09-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:03 PM Revision 2f188ee7 (git): Fix typo and method name [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:46 PM Revision 0610a859 (git): * process.c (disable_child_handler_before_fork): New function.
- (disable_child_handler_fork_parent): Ditto.
(disable_child_handler_fork_child): Ditto.
(retry_fork_async_signal_safe): Call above functions to disable
signal handlers in child process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
12:03 PM Revision 01689aa9 (git): * process.c (handle_fork_error): Make try_gc_p argument volatile to
- suppress "clobbered" warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:49 AM Revision 5e42cc30 (git): * process.c (handle_fork_error): Don't need state_p argument.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:36 AM Revision 4eed59e6 (git): * process.c (has_privilege): Fix a return value.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:07 AM Bug #10204 (Closed): A little bit misleading warning message
- ~~~
ruby -we "''.scan //"
~~~
warns "-e:1: warning: ambiguous first argument; put parentheses or even spaces".
Despite ruby indicates me to put spaces there, I actually couldn't stop ruby warning no matter how much spaces I put there... -
10:00 AM Bug #10155 (Closed): lib/shellwords.rb: proofreading documentation
- Applied in changeset r47408.
----------
* lib/shellwords.rb: proofreading documentation.
[Bug #10155][ruby-core:64471] -
10:00 AM Revision 925ac7ad (git): * lib/shellwords.rb: proofreading documentation.
- [Bug #10155][ruby-core:64471]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:37 AM Revision 1ffb9ba0 (git): * ChangeLog: added reference to github
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:34 AM Revision 7e3b185a (git): * test/csv/test_row.rb: Added some missing tests in CSV.
- * test/csv/test_table.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:12 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
- Also, a colleague using Arch Linux checked (using the same Ruby version). He doesn't have IPv6 enabled.
And he also got the "TypeError: no implicit conversion of nil into String" exception instead of the Errno::EADDRINUSE one. -
07:25 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
- that was from the Debian package indeed. I haven't rebuilt Ruby from source. The Debian package does not carry any Debian-specific patch at the moment. You cannot reproduce it?
-
07:07 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
- I know you was Debian porter, but show the actual ruby -v
-
05:35 AM Feature #9826: Enumerable#slice_between
- I'm grad to see an acceptable name.
Non-block form can be used to split paragraphs (sequence of non-empty lines
with trailing empty lines), for example.
~~~
% ruby -e '
lines = ["foo\n", "bar\n", "\n", "baz\n", "\n", "\n", "qux\... -
05:10 AM Bug #10127: WIN32OLE segfaults
- backported into `ruby_2_0_0` at r47405.
- 05:10 AM Revision cd171e48 (git): merge revision(s) 47153: [Backport #10127]
- * ext/win32ole/win32ole.c (ole_create_dcom): use the converted
result if the argument can be converted to a string, to get rid
of invalid access. Thanks to nobu. [ruby-dev:48467] [Bug #10127]
git-svn-id: svn+ssh://c... -
05:05 AM Bug #9946: [Win32] redirection doesn't support non-codepage
- backported into `ruby_2_0_0` at r47404.
- 05:05 AM Revision 2e86a92b (git): merge revision(s) 46441: [Backport #9946]
- * process.c (open): use UTF-8 version function to support
non-ascii path properly. [ruby-core:63185] [Bug #9946]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:54 AM Bug #10117: Invalid char does not cause syntax error in eval
- backported into `ruby_2_0_0` at r47403.
- 04:54 AM Revision b7a34106 (git): merge revision(s) 47098: [Backport #10117]
- * parse.y (parser_yylex): fix invalid char in eval, should raise
an syntax error too, as well as directly coded.
[ruby-core:64243] [Bug #10117]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47403 b... -
04:52 AM Bug #10114: syntax error raised from instance_eval has unexpected encoding
- backported into `ruby_2_0_0` at r47402.
- 04:52 AM Revision 98e5eb6f (git): merge revision(s) 47090: [Backport #10114]
- * parse.y (parser_yyerror): preserve source code encoding in
syntax error messages. [ruby-core:64228] [Bug #10114]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:50 AM Bug #10078: String#count() returns wrong count under specific conditions
- backported into `ruby_2_0_0` at r47401.
- 04:50 AM Revision fc47ac27 (git): merge revision(s) 46896-46898: [Backport #10078]
- * string.c (rb_str_count): fix wrong single-byte optimization.
7bit ascii can be a trailing byte in Shift_JIS.
[ruby-dev:48442] [Bug #10078]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47401 b2dd... -
04:42 AM Bug #8716: segmation fault 正規表現で大量のグループを利用時
- 遅ればせながら `ruby_2_0_0` にも取り込みました。ありがとうございます。
- 04:42 AM Revision cad94dbe (git): merge r46831 partially. these changes are from:
- https://github.com/k-takata/Onigmo/commit/7abd7b29481f98eb92be786e3d33611fc7d000a0
[Bug #8716]
* include/ruby/oniguruma.h (ONIG_MAX_CAPTURE_GROUP_NUM,
ONIGERR_TOO_MANY_CAPTURE_GROUPS): add cheking the number of capture
groups.
* re... -
04:25 AM Bug #9934: High memory usage from file_expand_path_*
- backported into `ruby_2_0_0` at r47399.
note: ruby 2.0.0 doesn't recognize the length of the teminator of the string's encoding. - 04:23 AM Revision b9e63060 (git): merge revision(s) 46408,46410,46413,46414,46424,46436,46437: [Backport #9934]
- string.c: shrink too big buffer
* string.c (rb_str_resize): shrink the buffer even if new length
is same but it is enough smaller than the capacity.
* file.c (expand_path): shrink expanded path which no longer needs
... -
03:58 AM Revision 192c3953 (git): * process.c (has_privilege): Refine uid/gid check.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:55 AM Feature #10181: New method File.openat()
- May be it is not a best option, but just to be considered:
~~~
d1 = Dir.open('d1') => aDir
d2 = d1.opendir('subdir') => aDir relative to d1
file = d2.open('file') => aFile relative to d2
d1.rename_at("foo", d2,"bar")
Dir::AT_FDCW... -
03:43 AM Revision 82d85fe4 (git): * configure.in: Check sys/id.h, getuidx and getgidx for AIX.
- * process.c (getresuid): Defined for AIX.
(getresgid): Ditto
AIX don't have getresuid/getresgid but getuidx/getgidx.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:28 AM Revision 2cf2d7ee (git): * process.c (has_privilege): Fix assignements.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:10 AM Revision 8fada420 (git): * lib/rdoc/generator/pot/po.rb: fixed broken tests for trailing whitespace.
- * test/rdoc/test_rdoc_generator_pot.rb: ditto.
* test/rdoc/test_rdoc_generator_pot_po.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:41 AM Revision cf0a8d28 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:41 AM Revision ce18f59a (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:41 AM Revision bf095117 (git): * test/rdoc/test_rdoc_rdoc.rb (TestRDocRDoc#test_parse_file_encoding):
- typofix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:41 AM Revision d42d6e69 (git): * lib/rdoc.rb, lib/rdoc, test/rdoc: Update to RDoc 4.2.0.alpha(313287)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/04/2014
-
09:28 PM Feature #10096: [PATCH] use khash for fstring and id_str tables
- updated patch:
* khash.h moved to top-level, klib/ removed
* updated for recent fstring-related changes in string.c
- 09:05 PM Revision 670c6e8c (git): vm.c: remove unused USE_THREAD_RECYCLE [misc #10198]
- Unused feature, and it is a no-op even if enabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:59 PM Bug #10193: TestIO#test_readpartial_locktmp fails randomly
- Eric Wong <[email protected]> wrote:
> Testing the following:
Sorry, bad patch. The big rescue/ensure clauses was hiding bugs.
The problem is th.stop? happens twice:
1) release GVL for read() => EAGAIN
2) release GVL f... -
08:38 PM Bug #10193: TestIO#test_readpartial_locktmp fails randomly
- [email protected] wrote:
> Applied in changeset r47353.
>
> ----------
> test_io.rb: ignore stream closed IOError
>
> * test/ruby/test_io.rb (test_readpartial_locktmp): stream closed
> IOError while reading is not a matter. ... -
07:23 PM Bug #10194: OpenStruct does not throw an exception when calling missing method with no arguments.
- Thanks for mentioning Hashie gem. It does exactly what I need.
-
05:12 PM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
- [email protected] wrote:
> http://paste.fedoraproject.org/130924/14098270/
~~~
1144. 22470 clock_gettime(CLOCK_MONOTONIC_RAW, {18856, 134154424}) = 0 <0.000039>
<snip>
1152. 22470 clock_gettime(CLOCK_MONOTONIC_RAW, {18857, 1351... -
10:38 AM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
- > Just curious, can you show strace with Benchmark.realtime {} wrapped
> ...
http://paste.fedoraproject.org/130924/14098270/ -
08:48 AM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
- [email protected] wrote:
> http://paste.fedoraproject.org/130884/81461414/
So I think everything looks right with FUTEX_WAIT_BITSET_PRIVATE
taking > 1.0s according to strace.
And your CLOCK_MONOTONIC output seems about right,... -
07:12 AM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
- > The real bug might be a timer firing too soon.
> ...
http://paste.fedoraproject.org/130884/81461414/
-
04:41 PM Revision f0b12c04 (git): Describe about vfork().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:54 PM Feature #9880 (Closed): Dir#fileno
- Applied in changeset r47387.
----------
* configure.in (dirfd): Check function.
* dir.c (dir_fileno): New method.
[ruby-dev:48265] [Feature #9880] -
11:09 AM Feature #9880: Dir#fileno
- Dir#fileno accepted. But we have to address portability issues in the document.
Matz.
- 03:54 PM Revision 4d59fd10 (git): * 2014-09-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:54 PM Revision d03315d8 (git): * configure.in (dirfd): Check function.
- * dir.c (dir_fileno): New method.
[ruby-dev:48265] [Feature #9880]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:20 PM Bug #10203 (Closed): TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
- after:
irb(main):003:0> TCPServer::new(10001)
=> #<TCPServer:fd 9>
I get irb listening to port 10001 using IPv4, but not IPv6:
tcp 0 0 0.0.0.0:10001 0.0.0.0:* LISTEN 1000 376068 24437/irb
a se... -
03:07 PM Feature #9826: Enumerable#slice_between
- I prefer #slice_when. Besides that, could you explain the behavior when no block is given?
#slice_when might not suitable for that calling pattern. But maybe we don't need that.
Matz.
-
12:08 PM Feature #9826: Enumerable#slice_between
- ~~~
[1,2,4,9,10,11,12,15,16,19,20,21].slice_when {|i, j| i+1 != j}
~~~ -
02:56 PM Revision f20d51b0 (git): * process.c (has_privilege): New function.
- (retry_fork_async_signal_safe): Don't use vfork() for privileged
process.
* configure.in (getresuid): Check function.
(getresgid): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:54 PM Bug #10043 (Closed): Crash Report log file on MacOS X
- I close this ticket because it's already committed into trunk.
-
11:27 AM Feature #8923: Frozen nil/true/false
- I agreed with making those values, if no significant comparability problem happens.
Please experiment.
Matz.
-
11:22 AM Revision d80282ee (git): * test/pathname/test_pathname.rb: added testcase for Pathname#mountpoint.
- [fix GH-709]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:19 AM Feature #10200 (Closed): Symbol list/count API with Symbol GC
-
11:00 AM Feature #10200: Symbol list/count API with Symbol GC
- This request is bit vague.
As a result of the developers meething on 2014-09-04, we will:
* keep Symbol.all_symbols as it is.
* remove Symbol.find(name).
Matz.
-
11:18 AM Feature #9816: 文字列内の数字を数値として比較するメソッド
- 熟考の結果、Gem::Versionと仕様をあわせました。
理由は、
* Gem::Versionでこれを使ってくれればオブジェクトの生成数が減る
* 2.2.0-preview1のようなRubyのバージョンの比較ができる
からです。
順序のイメージは Prereleases sort between real releases (newest to oldest) のような感じです
1. 1.0
2. 1.0.b1
3. 1.0.a.2
4.... -
11:17 AM Feature #10201 (Rejected): Dynamically changing GC tuning parameters
- After the discussion in the developers meeting on 2014-09-04, we concluded this request may conflict with future adaptive GC. So we reject this for the time being.
Matz.
-
11:11 AM Revision b549ced9 (git): * removed symbian directory.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:09 AM Feature #10199 (Closed): Drop to support Symbian
- Applied in changeset r47383.
----------
* symbian/*: removed Symbian support.
[Feature #10199][ruby-core:64725]
* dln.c: ditto.
* include/ruby/defines.h: ditto.
* thread_pthread.c: ditto.
* vm.c: ditto. -
10:26 AM Feature #10199: Drop to support Symbian
- Agreed to remove.
Matz.
-
11:09 AM Revision 8362f9b5 (git): * symbian/*: removed Symbian support.
- [Feature #10199][ruby-core:64725]
* dln.c: ditto.
* include/ruby/defines.h: ditto.
* thread_pthread.c: ditto.
* vm.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:50 AM Revision 68f55c4b (git): * dir.c (glob_helper): use #ifdef instead of #if.
- gcc's -Wundef option shows warning for undefined macro.
* numeric.c (flo_is_finite_p): ditto.
* vm_dump.c (rb_vmdebug_thread_dump_state): ditto.
* vm_core.h: define VM_DEBUG_VERIFY_METHOD_CACHE to 0.
git-svn-id: svn+ssh://ci.ruby-lang... -
05:40 AM Feature #10173: Remove meaningless ensure
- @ Tomoyuki Chikanaga san
Thank you for letting me know.
I have reported to "https://github.com/rubygems/rubygems/" as you said.
https://github.com/rubygems/rubygems/pull/1003
Thanks, gogo.