Activity
From 09/07/2014 to 09/13/2014
09/13/2014
-
11:58 PM Feature #9632: [PATCH 0/2] speedup IO#close with linked-list from ccan
- [email protected] wrote:
> 4. Should we use it on compile.c?
Yes, and probably gc.c, too. I think it would help imp... - 11:49 PM Revision e7f6d9e2 (git): ccan/container_of: add container_of_or_null
- * ccan/container_of/container_of.h (container_of_or_null): added
[ccan 7ec5b8e06b2fd5fa98b1fcde1158c286d2d429d8] (D... - 11:49 PM Revision a5fc33c0 (git): * 2014-09-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:49 PM Revision c975dc96 (git): ccan/list: new list_{del,node}_init functions
- * ccan/list/list.h (list_del_init, list_node_init): new functions
for multiple list_del() calls
[ccan ec8654d94d3... -
11:28 PM Feature #10177: Hash#has_key? and Hash#has_value? should be deprecated
- @Robert A. Heiler
@First Last
@Jeremy Evans
Thank you so much for replying. I could acquire new point of view. I... -
10:59 PM Feature #10237 (Open): Transform all elements of one Encoding into another Encoding for Array and Hash
- I find myself to sometimes have to convert one encoding to the other.
For string objects, this is trivial:
.enc... -
10:56 PM Feature #10228: Statistics module
- I concur that statistics would be useful.
For bioinformatics I am forced to use R (http://www.r-project.org/) righ... -
10:45 PM Bug #10236 (Closed): [PATCH] test_modify_expand.rb: increase limit for {je,tc}malloc
- In this test, jemalloc and tcmalloc are both more hesitant to
release memory to the kernel than the stock glibc allo... -
09:21 PM Feature #10059: [PATCH and SUGGEST] 代数構造を記述する時にメタプログラミングは非常に非常に強力ですが
- @Naohisa Goto さん
なるほど、そちら面白いですね.
しかし、そちらの場合はむしろドキュメントが生成されない方が好ましい気もしますし
`method_define` を用いた場合は生成されて欲しいです.
... -
04:51 PM Bug #10235: make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
- Please close, installing OpenSSL under my home directory appears to have resolved the problem (though the permissions...
-
02:21 PM Bug #10235: make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
- Also, from what I read it sounds like libsocket and libnsl are part of libc on Darwin.
-
02:08 PM Bug #10235 (Rejected): make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
- "Failed to configure openssl. It will not be installed."
OPENSSL
-------
$ which openssl
/usr/local/ssl/bin/o... -
01:19 PM Revision f3c9ffe0 (git): hash.c: [DOC] fix for Hash#store docs
- * hash.c (rb_hash_aset): fix misleading example which may suggest
that Hash.store will return self instead of value... -
01:07 PM Revision ab22202a (git): class.c: simplify
- * class.c (singleton_class_of): use local variable and remove
duplicated member access.
git-svn-id: svn+ssh://ci.r... -
01:03 PM Revision 4df147d6 (git): class.c: freeze meta class only
- * class.c (singleton_class_of): should not propagete freezing to
meta meta class.
git-svn-id: svn+ssh://ci.ruby-la... -
06:49 AM Misc #10233: iseq.cのget_line_info()でバイナリサーチを使うように修正するか
- Koichi Sasada wrote:
> ありがとうございます。
> 性能評価みたいなことって出来ますか?
> (短いと、実は、線形サーチのほうが速かったりして)
これでよいかちょっとわからないのですが、一応とってみま... - 06:17 AM Revision 05b374b8 (git): class.c: use ALLOC(rb_subclass_entry_t)
- It is easier to search for allocations by type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47573 b2dd03c8-39d... - 05:14 AM Revision d2e3c034 (git): simplify some trivial rb_data_type_t callbacks
- * process.c (free_exec_arg): remove
(memsize_exec_arg): ptr is never NULL
(exec_arg_data_type): use RUBY_TYPED_DE... - 04:44 AM Revision 161deb21 (git): doc/NEWS-2.0.0: fix typo for default RUBY_FIBER_MACHINE_STACK_SIZE
- Checked against definition in vm_core.h
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47571 b2dd03c8-3... -
04:40 AM Feature #10197: document RUBY_* stack size/GC params in ruby.1 manpage
- Work-in-progress here with *_STACK_SIZE.
I added a header section hopefully clarifying the difference between
VM vs... -
02:58 AM Bug #10206: garbage symbols crash symbol GC
- (2014/09/13 7:59), Eric Wong wrote:
>> 1. make all IDs permanent, as ko1 claims
+1
--
// SASADA Koichi at a... -
01:29 AM Bug #10206 (Closed): garbage symbols crash symbol GC
- Applied in changeset r47569.
----------
parse.y: intern_cstr
* parse.y (intern_cstr): remove `_without_pindown` suf... -
02:28 AM Revision 5b800bef (git): * ext/win32ole/win32ole_event.c(ev_advise, ole_event_free,
- fev_s_allocate, fev_unadvise): avoid segmentation fault when COM
server freed before calling Unadvise from WIN32OLE... -
01:28 AM Revision da7475b0 (git): parse.y: intern_cstr
- * parse.y (intern_cstr): remove `_without_pindown` suffix and use
rb_intern3() as well as RIPPER, for the time bein... -
01:22 AM Revision 0fa95536 (git): eval.c: fix message as same as previous versions
- * eval.c (rb_frozen_class_p): fix message for singleton class of
class/module as same as previous versions.
git-sv... - 12:48 AM Revision 92c1d1a9 (git): man/ruby.1: use https for *.ruby-lang.org links
- Avoid redirects which may be MitM-ed and slow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47567 b2dd03c8-39d4... -
12:47 AM Revision bf1c869b (git): test_yield.rb: use temporary instance
- * test/ruby/test_yield.rb (test_with_enum): use temporary
instance, do not define a method on the global class obje...
09/12/2014
-
11:11 PM Bug #10206: garbage symbols crash symbol GC
- [email protected] wrote:
> One problem about it is ripper.
> The result of `Ripper.parse` is transient, but symbol... - 09:34 PM Revision 2e33fdfb (git): vm.c (thread_alloc): remove needless volatile
- If we needed a volatile there, every other alloc function would need it.
There is nothing special I can see about thr... - 09:34 PM Revision 1972a313 (git): proc/env DATA_PTR is never NULL
- * proc.c (proc_free): remove, use RUBY_TYPED_DEFAULT_FREE
(proc_mark, proc_memsize): remove needless branching
* v... -
09:30 PM Bug #10234 (Third Party's Issue): /v8/function.rb:13: [BUG] Segmentation fault at 0x00000000000000
- The SEGV was caused in therubyracer.
Please ask the author first. -
09:16 PM Bug #10234 (Third Party's Issue): /v8/function.rb:13: [BUG] Segmentation fault at 0x00000000000000
- When I run less with ruby 2.1.2p95, the following error happens
/usr/lib/ruby/gems/2.1.0/gems/therubyracer-0.12.0/... - 08:58 PM Revision bb2cec10 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:57 PM Revision ec475ab3 (git): proc.c (rb_proc_alloc): inline and move to vm.c
- * proc.c (rb_proc_alloc): inline and move to vm.c
(rb_proc_wrap): new wrapper function used by rb_proc_alloc
(pro... -
08:42 PM Bug #10231: Process.detach(pid) defines new singleton classes every call
- [email protected] wrote:
> Eric Wong wrote:
> > I haven't checked the inits.c ordering change closely, but
> > ... -
07:42 PM Bug #10231 (Closed): Process.detach(pid) defines new singleton classes every call
- Applied in changeset r47561.
----------
Process.detach: avoid singleton class creation
* process.c (Init_process): ... -
02:52 PM Bug #10231 (Assigned): Process.detach(pid) defines new singleton classes every call
- Probably, you can use `rb_undef_alloc_func`.
And should join the waiter thread. -
01:46 PM Bug #10231: Process.detach(pid) defines new singleton classes every call
- Eric Wong wrote:
> I haven't checked the inits.c ordering change closely, but
> make check and test-rubyspec passe... - 07:42 PM Revision afa512d9 (git): Process.detach: avoid singleton class creation
- * process.c (Init_process): subclass Thread as Process::Waiter
(rb_detach_process): use Process::Waiter instead of ... -
06:11 PM Feature #10077: [PATCH] Implement Matrix#row_merge and Matrix#column_merge
- FWIW, Matlab calls these operations "horzcat" (for "horizontal concatenation") and "vertcat" (for "vertical concaten...
-
05:11 PM Feature #10077: [PATCH] Implement Matrix#row_merge and Matrix#column_merge
- @Hiroshi SHIBATA san
Thank you so much!
いつもありがとうございます. 助かっています. -
06:22 AM Feature #10077 (Assigned): [PATCH] Implement Matrix#row_merge and Matrix#column_merge
-
04:13 AM Feature #10077: [PATCH] Implement Matrix#row_merge and Matrix#column_merge
- Is there anything I should do with?
- 03:39 PM Revision 5311e0af (git): * 2014-09-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:39 PM Revision f52dc332 (git): ext/Setup.nacl: remove trainling space.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:21 PM Revision 8c62365f (git): set svn:ignore
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:45 PM Misc #10233: iseq.cのget_line_info()でバイナリサーチを使うように修正するか
- とりあえずインデントは揃えてください。
-
12:21 PM Misc #10233: iseq.cのget_line_info()でバイナリサーチを使うように修正するか
- ありがとうございます。
性能評価みたいなことって出来ますか?
(短いと、実は、線形サーチのほうが速かったりして)
-
11:50 AM Misc #10233 (Closed): iseq.cのget_line_info()でバイナリサーチを使うように修正するか
- 以下のPullRequestを投げさせていただきました。
https://github.com/ruby/ruby/pull/712
TODOコメントがあって気になったのでその通りの修正をとりあえず作ってみた形です。
た... -
02:25 PM Revision 3889eaca (git): ruby/ruby.h: freeze singleton class
- * include/ruby/ruby.h (rb_obj_freeze_inline): propagate freezing
to the singleton class if it is existing.
git-svn... -
02:21 PM Feature #9816: 文字列内の数字を数値として比較するメソッド
- Yui NARUSE wrote:
> 熟考の結果、Gem::Versionと仕様をあわせました。
> 理由は、
> * Gem::Versionでこれを使ってくれればオブジェクトの生成数が減る
> * 2.2.0-previ... -
02:16 PM Revision 4817ab23 (git): follow RIncGC
- * .gdbinit (rp), debug.c (RUBY_FL_PROMOTED): follow RIncGC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47556 ... -
01:11 PM Revision 24b03b32 (git): readline.c: use rb_setup_fake_str
- * ext/readline/readline.c (readline_s_delete_text): initialize a
fake string by rb_setup_fake_str().
* internal.h ... -
12:51 PM Bug #10221: You may have encountered a bug in the Ruby interpreter or extension libraries.
- klaus dieter wrote:
> is there a workaround for this?
Please report to therubyracer's issue tracking.
https:/... -
12:36 PM Bug #10221: You may have encountered a bug in the Ruby interpreter or extension libraries.
- is there a workaround for this?
-
12:17 PM Revision 858d1cad (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:16 PM Revision 2a9e679d (git): fix typos and indent [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:28 AM Bug #10212: MRI is not for lambda calculus
- SASADA Koichi <[email protected]> wrote:
> (2014/09/12 19:03), Eric Wong wrote:
> > Yes, I think the following API is ... -
10:19 AM Bug #10212: MRI is not for lambda calculus
- (2014/09/12 19:03), Eric Wong wrote:
> Yes, I think the following API is OK. rb_proc_t is big.
> The new inline r... -
10:10 AM Bug #10212: MRI is not for lambda calculus
- [email protected] wrote:
> Eric Wong wrote:
> > Any comment? I think the improvement is worth it since proc allocati... -
02:09 AM Bug #10212: MRI is not for lambda calculus
- Eric Wong wrote:
> Any comment? I think the improvement is worth it since proc allocation
> only happens in 2 pl... - 09:22 AM Revision ea6de7a2 (git): vm.c (env_alloc): inline to avoid extra zeroing
- tiny speedup [ruby-core:64980]
benchmark results:
Execution time (sec)
name trunk built
app_lc_fizzbuzz 100.411... -
08:13 AM Revision b41909f6 (git): vm_method.c: should not modify frozen objects
- * vm_method.c (rb_method_entry_make, remove_method): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47551 ... -
07:44 AM Revision 94ee7c47 (git): ruby/ruby.h: move comments
- * include/ruby/ruby.h (enum ruby_special_consts): move bit pattern
comments side-by-side.
git-svn-id: svn+ssh://ci... -
06:47 AM Bug #8982: NoMethodError#message produces surprising output when #inspect is defined on an anonymous class
- So I've run into this issue again, and as it turns out, this is a much more widespread problem than I first thought. ...
-
05:40 AM Revision 6f3fb65e (git): * gems/bundled_gems: Upgraded to test-unit-3.0.1 and minitest-5.4.1
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:04 AM Feature #10059: [PATCH and SUGGEST] 代数構造を記述する時にメタプログラミングは非常に非常に強力ですが
- 現在のRDocの挙動では、以下のように、メソッド定義そっくりだが実際には定義されない文を記述しておくと、メソッドは定義されないがRDocには反映されるので、私はそれを活用しています。
ただし、これが本当に正しいのか、単に現在のRDo... -
04:26 AM Feature #10059: [PATCH and SUGGEST] 代数構造を記述する時にメタプログラミングは非常に非常に強力ですが
- Feedbackを頂いたのにも関わらず、見落としておりました.
失礼しました.
Akira Tanaka wrote:
> ふとパッチを見たのですが、これって rdoc で生成されるドキュメントはどうなるのでしょうか。
... -
03:31 AM Bug #10232: Trivial change of IMMEDIATE VALUE bits layout
- Eric Wong wrote:
> > Strange thing is: vm1_const
>
> I suspect this is CPU-specific behaviors. I cannot see t... -
03:10 AM Bug #10232: Trivial change of IMMEDIATE VALUE bits layout
- [email protected] wrote:
> (1) can be incompatibility issue so that I don't propose this fix strongly.
> Interpreter c... -
01:27 AM Bug #10232 (Rejected): Trivial change of IMMEDIATE VALUE bits layout
The following patch improves performance a bit.
```
!USE_FLONUM
-------------------------
...xxxx xxx1 Fixnum...-
02:37 AM Bug #10191: Possible memory leak using dup and setting an unassigned instance variable (Windows)
- backported into `ruby_2_0_0` at r47548.
In my environment, I don't have to change the limit of assert_no_memory_le... - 02:36 AM Revision 9f67424d (git): merge revision(s) 46501,47372,47460: [Backport #10191]
- * object.c (rb_obj_copy_ivar): extract function to copy instance
variables only for T_OBJECT from init_copy... -
02:33 AM Bug #9344: warning origin incorrect with instance_eval
- committed into `ruby_2_0_0` at r47547.
- 02:32 AM Revision 97acdd71 (git): * regcomp.c: Merge Onigmo 988517a4f16f14acbd7cc9d5b51a096d5153992c.
- [Bug #9344].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47547 b2dd03c8-39d4-4d8f-98ff-823fe69b... -
02:23 AM Bug #10161: C API docs not generated properly without baseruby
- backported into `ruby_2_0_0` at r47546.
- 02:23 AM Revision c6a2b2e1 (git): merge revision(s) 47248: [Backport #10161]
- * common.mk (Doxyfile): revert r43888, not to require preinstalled
ruby. [ruby-core:64488] [Bug #10161]
... -
02:20 AM Bug #9036: [PATCH] io.c: make IO#reopen("pathname") atomic for non-stdio
- backported into `ruby_2_0_0` at r47545.
- 02:20 AM Revision 027748a3 (git): merge revision(s) 43373: [Backport #9036]
- * io.c (rb_io_reopen): create a new, temporary FD via rb_sysopen and
call rb_cloexec_dup2 on it to atomical...
09/11/2014
-
09:59 PM Feature #10225: [PATCH] *math.c: New method Math.normcdf
- FWIW, the Ruby/GSL gem already provides support for this (and many other things):
```
$ ruby -r gsl -e 'p GSL::C... -
06:26 AM Feature #10225 (Open): [PATCH] *math.c: New method Math.normcdf
- I know it looks kind of arbitrary or unnecessary feature ,but I believe that
to provide such a feature as official... - 09:57 PM Revision a4a2b9be (git): string.c (Init_frozen_strings): use st_init_table_with_size
- All symbols have an fstring entry, and we initialize symbol tables
with 1000 bins. This reduces resizes during start... -
09:22 PM Revision a8ec4b2c (git): * string.c (sym_find): remove Symbol.find because we have Symbol GC now.
- https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20140904Japan
If you still want this, request again ... -
09:20 PM Bug #10231: Process.detach(pid) defines new singleton classes every call
- I haven't checked the inits.c ordering change closely, but
make check and test-rubyspec passes:
~~~diff
diff --g... -
09:11 PM Bug #10231: Process.detach(pid) defines new singleton classes every call
- [email protected] wrote:
> I would suggest that Process.detach should return a subclass of Thread
> that has the... -
08:02 PM Bug #10231 (Closed): Process.detach(pid) defines new singleton classes every call
- The logic for Process.detach(pid) adds a singleton "pid" method to the thread it returns for every call. This is bad ...
- 07:25 PM Revision f0c968a7 (git): iseq_inline_storage_entry: 24=>16 bytes on 64-bit
- We may tag the running_thread pointer to avoid making the "once" struct
bigger than "struct iseq_inline_cache_entry".... -
07:21 PM Bug #10212: MRI is not for lambda calculus
- Eric Wong <[email protected]> wrote:
> I think the xcalloc was overreaching, though.
>
> Removing redundant ... -
05:58 PM Feature #10090: Display of program name in process listing under AIX
- I wanted to update this with our findings. This is definitely a result of the functionality in `missing/setproctitle....
-
05:16 PM Revision 1d0de2a5 (git): * class.c (rb_prepend_module): fix typos in a comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:13 PM Revision 5c1dcf5c (git): * 2014-09-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:13 PM Revision 7adbc6a9 (git): * ChangeLog: fix a typo for r47533.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:43 PM Feature #10208: Passing block to Enumerable#to_h
- We have #max and #max_by. When we have #hash and #hash_by, people may expect something else.
But it may not matter m... -
04:19 PM Feature #10208: Passing block to Enumerable#to_h
- Marc-Andre Lafortune wrote:
> I completely agree that we need new methods to do this.
Thanks. One idea is name it... -
05:29 AM Feature #10208: Passing block to Enumerable#to_h
- I think the creation of intermediate arrays for each pair is waste of resource. Can we use combination of two methods...
-
03:05 PM Bug #10229: RFC 5649 implementation in OpenSSL breaks Ruby.
- Let me quote Fedora's OpenSSL maintainer on this issue:
~~~
>t8m< "Ruby should not expect that blindly trying any... -
02:11 PM Bug #10229 (Closed): RFC 5649 implementation in OpenSSL breaks Ruby.
- Recently updated OpenSSL in Fedora 21+ [1] introduces support for RFC 5649 [2, 3]. However, this breaks Ruby's test s...
-
02:40 PM Bug #10230 (Closed): make install fails with mingw ruby
- `make install` fails with mingw ruby on Windows MSYS environemnt.
ruby 2.2.0dev (2014-09-11 trunk 47535) [i386-min... -
01:34 PM Bug #9728: Regexp bug
- This bug is fixed with the following Onigmo's commit:
https://github.com/k-takata/Onigmo/commit/15ddec6d18e27fdc1988... -
12:01 PM Revision c566990f (git): add revision number.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:59 AM Revision 7b5b3eb3 (git): update NEWS for frozen nil/true/false.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:56 AM Revision 45246bc0 (git): update NEWS for new GC related features.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:23 AM Revision e45fb73d (git): * vm.c (rb_thread_mark): use rb_gc_mark_values() to mark VM stack.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:53 AM Revision 8c6c9c46 (git): * vm.c (rb_vm_register_special_exception): make new function to
- make and register special exceptions.
* vm.c (rb_vm_mark): do not need to mark special exceptions
because they are ... -
10:34 AM Revision c653db51 (git): * gc.c (rb_gc_mark_values): added.
- This function is similar to rb_gc_mark_locations(), but not
conservertive.
* internal.h: ditto.
* vm.c (env_mark): ... -
10:23 AM Revision 51101947 (git): * gc.c (gc_mark_ptr): rename to gc_mark_set.
- * gc.c (gc_mark): add gc_mark_ptr() to skip is_markable_object()
check. gc_mark_maybe() can use gc_mark_ptr() direc... -
09:40 AM Revision dcd1c227 (git): * .gitignore: ignored temporary files and coverage results.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:15 AM Revision a5dea648 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:15 AM Revision 558bca64 (git): * .gitignore: ignored only simplecov.
- * coverage/README: Added coverage docs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47529 b2dd03c8-39d4-4d8f-9... -
08:46 AM Revision 970d8cb6 (git): * include/ruby/ruby.h, gc.c: add new internal events
- RUBY_INTERNAL_EVENT_GC_ENTER and
RUBY_INTERNAL_EVENT_GC_EXIT.
When invoking GC process, GC_ENTER event is called.... -
08:45 AM Revision 310462e1 (git): * ChangeLog: use ascii character
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:14 AM Feature #10228: Statistics module
- @Yukihiro Matsumoto san
Oh.. I know the exchanges like that.. we have had such a talks before.. I'm so sorry for y... -
07:46 AM Feature #10228 (Feedback): Statistics module
- Why don't you create a gem and polish the spec before adding it in the core?
Matz.
-
07:41 AM Feature #10228 (Feedback): Statistics module
- I'm gonna implement some features related with statistics to `Math` module now.
Like that -> https://bugs.ruby-la... -
08:11 AM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
- Thanks for the confirmation! r47526 removes CLOCK_MONOTONIC_RAW.
r47526 | normal | 2014-09-11 08:09:07 +0000 (Thu... -
08:09 AM Bug #10202 (Closed): TestBenchmark#test_realtime_output breaks on ARM
- Applied in changeset r47526.
----------
lib/benchmark.rb: remove CLOCK_MONOTONIC_RAW support
In addition to being u... -
07:52 AM Bug #10202: TestBenchmark#test_realtime_output breaks on ARM
- The test passes with the applied patch:
~~~
$ ruby -Itest/lib/ test/benchmark/test_benchmark.rb -n test_realtime_... - 08:09 AM Revision b8eec6b6 (git): lib/benchmark.rb: remove CLOCK_MONOTONIC_RAW support
- In addition to being unaffected by _offset_ correction,
CLOCK_MONOTONIC_RAW is also unaffected by _frequency_ correct... -
07:06 AM Bug #10223: Stack level too deep in CSV when parsing long line
- The shortest code would be:
~~~ruby
def t;yield [0]*200000; end
t{|a,|}
~~~ -
06:31 AM Feature #10227 (Closed): array.include? is much slower than array.index
- I benchmarked both, and found that `include?` is about ten times slower than `index` (for the test below).
~~~
re... -
06:30 AM Feature #10226 (Rejected): [PATCH] *math.c: Slight refactoring
- Through `https://bugs.ruby-lang.org/issues/10225` I found something refactorable.
-
06:28 AM Feature #9614: ordering of non-Hash items which use st_ internally
- I forget, ordering is easy to add to ihash with ccan/list.
Work-in-progress, this is only for method entries with... -
06:14 AM Feature #8923 (Closed): Frozen nil/true/false
- Applied in changeset r47525.
----------
test_object.rb: add assertions
* test/ruby/test_object.rb (test_freeze_imme... -
05:24 AM Feature #8923: Frozen nil/true/false
- @ko1 you have proven there's no significant issue. Go ahead.
Of course, we might have to revert it if something happ... -
06:13 AM Revision dd9a9241 (git): test_object.rb: add assertions
- * test/ruby/test_object.rb (test_freeze_immediate): assertions for
[Feature #8923].
git-svn-id: svn+ssh://ci.ruby-... -
05:40 AM Bug #10221 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries.
- Seems a therubyracer's issue.
-
05:38 AM Revision 8e3c057d (git): add reference to the ticket.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:37 AM Revision cc3088ea (git): * include/ruby/ruby.h: freeze nil/true/false.
- * gc.c (should_be_finalizable): check frozen after checkin FL_ABLE.
* object.c (rb_obj_taint): check
OBJ_TAINTABLE(... -
05:17 AM Bug #10224: Server crash
- From your log, the SEGV point was:
https://github.com/typhoeus/ethon/blob/v0.7.1/lib/ethon/multi/operations.rb#L17... -
03:23 AM Bug #10224: Server crash
- Usaku NAKAMURA wrote:
> It seems that there is a wrong call of libcurl via ffi.
Sorry I'm new to this. How would ... -
02:25 AM Bug #10224 (Third Party's Issue): Server crash
- It seems that there is a wrong call of libcurl via ffi.
-
02:13 AM Bug #10224: Server crash
- I just tried changing my version from 2.1.1 back to 1.9.3 and the problem is no longer there.
-
02:04 AM Bug #10224 (Third Party's Issue): Server crash
- Every time I try to run the application that I created with ruby my server crashes. I am actually a beginner to progr...
-
02:38 AM Feature #10096: [PATCH] use khash for fstring and id_str tables
- [email protected] wrote:
> File khash-fstring-v3.patch added
OK to commit before 9/14? I think khash is the... - 01:03 AM Revision d2d4017d (git): * 2014-09-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:03 AM Revision 80325bab (git): * lib/rdoc.rb, lib/rdoc, test/rdoc: Update to RDoc 4.2.0.alpha(21b241a)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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.
Th... -
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 rub... -
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 asser... -
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... -
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/Onig... -
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 ... -
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
~~~
|cat... -
02:21 PM Bug #10223 (Closed): Stack level too deep in CSV when parsing long line
- The following code:
~~~ruby
#!/usr/bin/env ruby ... -
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 ...
-
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 i...
-
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]
... -
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 ... -
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 int... -
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 int... -
08:28 AM Feature #8923: Frozen nil/true/false
- The following patch makes test-all green.
```
Index: gc.c
====================================================... -
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.
... -
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... - 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-823fe... -
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.
gi... -
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... -
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.... -
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+... -
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-4d... -
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 ... -
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 red... - 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,... - 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
(t... -
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.
... - 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 in... -
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 ... -
04:50 AM Bug #10220 (Closed): enc/trans/*.c の依存関係不足?
- r47221 の EUC-KR の文字追加後に make test-all するとこの変更についてのテストが失敗しました。
make distclean してやりなおしてもやはり失敗しました。
手動で enc/trans/kore... - 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... - 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 a... -
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... -
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/b... -
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.... -
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-... -
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-cor... -
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.
... -
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
Fee... -
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 (objsp... -
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 -> ... -
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... -
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://c... -
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... -
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_unp... -
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/t... -
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): sho...
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_t... -
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:... -
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 a... -
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... - 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-... -
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/b... -
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 cour... -
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 writ... -
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) [... -
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 ... -
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-39... -
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 s... -
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 -> allocate... -
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 (Te... -
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.
* ... -
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... -
10:00 AM Feature #10187: minor iseq memory reductions
- [email protected] wrote:
>
> > + if (newsize > INT_MAX) rb_memerror();
>
> memerror?
I took the h... -
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
>... -
09:14 AM Feature #10187: minor iseq memory reductions
- > ~~~diff
> + if (newsize > INT_MAX) rb_memerror();
memerror?
-
09:11 AM Feature #10187: minor iseq memory reductions
- > Subject: [PATCH] iseq_inline_storage_entry: 24=>16 bytes on x86-64
> ~~~diff
> +#define RUNNING_THREAD_ONCE_DON... -
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.o... -
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' f... -
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 ... -
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->is... -
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... -
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-9... -
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 relate... -
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::ed... -
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_... -
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 ... -
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:... -
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-823fe69... -
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 perman... -
01:43 AM Bug #10206: garbage symbols crash symbol GC
- > Unfortunately, I do not yet understand why we avoid pindown in parse.y
> (or much of parse.y). I thought symbol GC... -
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://c... -
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... -
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): app... -
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....
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 ye... -
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... -
08:38 AM Bug #10206: garbage symbols crash symbol GC
- [email protected] wrote:
> At first, Symbol is VALUE and it should be marked.
>
> So that the following code should n... -
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 ...-
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-di... -
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 rub...
-
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 targ... - 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... - 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... -
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 overr... -
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:
>... -
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-1920... -
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)... -
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://sv... - 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 (b... -
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 on... -
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 th...
-
04:54 PM Feature #10211: Implement Signal.current_trap(sig)
- Nobuyoshi Nakada wrote:
> I can't get your point.
> Do you want to get the previous trap defined before RSpec is lo... -
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 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, t... -
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){
... -
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){
... -
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.i...
-
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)
{
... -
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 wit... -
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...
-
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
... -
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 ...
-
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... -
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::Spec...
-
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 ... -
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:... -
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-... -
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 alloca...
-
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 TrueC...
-
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.c... -
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 t... - 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_PRO...
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 hi...
-
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...
-
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 `LDSHAR...
-
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... -
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 han... - 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...
Also available in: Atom