Activity
From 03/16/2013 to 03/22/2013
03/22/2013
- 11:01 PM Revision 1a56e716 (git): * test_enum.rb: Make test more precise
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:56 PM Revision e25f03a6 (git): * test_array.rb: Make test more precise
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:30 PM Revision d9012883 (git): * 2013-03-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:30 PM Revision cb0093d5 (git): * array.c: Avoid zip bug by not using obsolete rb_check_block_call [Bug #8153]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:03 PM Bug #8100 (Assigned): Segfault in trunk
-
08:22 PM Bug #8100: Segfault in trunk - =begin
Magnus and I reduced this down to an even simpler^2 test case:
loop do
def x
"hello" * 1000
end
method(:x).call
end
http://eval.in/13344
=end -
07:54 PM Bug #8100: Segfault in trunk
- After working with charliesome we've now found an even simpler test case:
http://eval.in/13339
This *always* segfaults for me on trunk. -
07:15 PM Bug #8100: Segfault in trunk
- They've obviously done work on the garbage collector for Ruby 2.0. This is likely a bug introduced as result of that. Good work tracking it down judofyr.
-
07:01 PM Bug #8100: Segfault in trunk
- Here's a backtrace I got in gdb: http://pastie.org/7064676. rb_gc_mark_unlinked_live_method_entries seems suspicious and related to what the script does.
-
06:38 PM Bug #8100: Segfault in trunk
- I've managed to reduce the script down to 30 lines (with no dependencies) that segfaults in both 2.0.0-p0 and trunk (39875). It doesn't segfault every time though so if it takes more than a few seconds to run it, simply Ctrl-C and try ag...
-
10:00 PM Bug #7521 (Closed): test_thr_kill(TestQueue) fails
- thanks. then closing by duplicate.
-
06:26 PM Bug #7521: test_thr_kill(TestQueue) fails
- Yesterday, I did 6 x 6 builds (i.e. 36 builds in total) on different platforms and every time at leas one failed. So I applied the r39728 from #8065, did again 6 x 6 builds and so far so good. Doing now official build and hope it will su...
-
07:47 PM Bug #8148 (Rejected): [patch] reduce allocations due to __FILE__ and {class,module}_eval
- In my application, I noticed many long lived "(eval)" strings on the heap.
I also noticed many copies of filename strings when using module_eval(.., __FILE__, ..). Attached patch adds a new NODE_FILE to re-use the original path string... -
06:23 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- (2013/03/22 17:41), tmm1 (Aman Gupta) wrote:
>
>> > - `task' is ambiguous (all of procedures are task).
> Do you prefer `rb_delayed_task_*` and vm_delayed_task.c ?
I prefer rb_delayed_task_. but if there is more good name, ... -
05:41 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- > - `task' is ambiguous (all of procedures are task).
Do you prefer `rb_delayed_task_*` and vm_delayed_task.c ?
> ...
Yes, I thought of that when using ALLOC_N. Is it safe to use regular allocation (without xmalloc)? Or better to ... -
05:38 PM Feature #8110 (Assigned): Regex methods not changing global variables
- It sounds reasonable.
The API can be some of following:
* new API like `Regexp#match_without_backref`
* new option for `Regexp` like `Regexp.new("foo", Regexp::NO_BACKREF)` or `/foo/B`
* new syntax -
04:26 PM Bug #8133: Regexp macro %r{} is loosing backslash on "\}"
- nagachika (Tomoyuki Chikanaga) wrote:
> Hmm, is it a bug introduced in 2.0.0?
> ...
\} in this case doesn't escape a regexp meta character, it escapes closing terminator of %r{...} literal. -
01:40 AM Bug #8133: Regexp macro %r{} is loosing backslash on "\}"
- Hmm, is it a bug introduced in 2.0.0?
I personally feel the behavior of 2.0.0 is natural. -
03:58 PM Bug #8134: Compilation failure for 2.0.0 on 10.6.8
- It seems because your clang is too old; use newer clang or gcc-4.2.
Or report rvm to use gcc-4.2 prior clang/llvm-gcc. -
11:57 AM Revision 4edd787b (git): cleanup by @vipulnsward [GH fixes #262]
- lib/net/http/generic_request.rb: Removes unnecessary assignment
lib/net/ftp.rb: Fixes dead code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:48 AM Revision cfe937b9 (git): forwardable.rb: reduce allocations in def_delegators
- * lib/forwardable.rb (Forwardable::FILE_REGEXP): create regexp object
outside sources for eval, to reduce allocations in def_delegators
wrappers. //o option does not make each regexps shared. patch by
tmm1 (Aman Gupta) in [ruby-c... -
08:38 AM Revision 228b29a6 (git): load.c: loaded_features_index st_table
- * load.c (rb_feature_p), vm_core.h (rb_vm_struct): turn
loaded_features_index into st_table. patches by tmm1 (Aman Gupta)
in [ruby-core:53251] and [ruby-core:53274] [Bug #8048]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3987... -
07:57 AM Revision 81cb1f63 (git): compiler version
- * common.mk (showflags): show the compiler version.
* configure.in (CC_VERSION): compiler with version option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:51 AM Bug #8139 (Closed): keyreq and keyrest
- This issue was solved with changeset r39869.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
vm_insnhelper.c: check required kwarg with resthash
* vm_ins... -
12:17 AM Bug #8139 (Closed): keyreq and keyrest
- =begin
Passing a hash without required key (:keyreq) to a method which takes keyreq: and **keyrest,
then a same hash is set to both keyreq and keyrest.
def m(keyreq:, **keyrest)
[keyreq, keyrest]
end
m(keyreq: 1, keyrest... - 01:38 AM Revision e52a4a70 (git): * ext/bigdecimal/bigdecimal.c: Fix style.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:19 AM Bug #8140 (Closed): Incorrect warning: `+' after local variable is interpreted as binary operator
- The statement:
puts '' +''
generates an invalid warning when executed with "ruby -w" which (a) implies a syntactical ambiguity where there is none, and (b) refers to a "local variable" of which there are none.
Note that:
puts...
03/21/2013
-
11:41 PM Bug #8133: Regexp macro %r{} is loosing backslash on "\}"
- Just for information: r39858 introduces the behavior change.
Whether %r{n{3\}}} matches with:
| "nnn}" | "n{3}}"
----------+--------+---------
1.9.3p392 | YES | NO
2.0.0p0 | NO | YES
trunk | YES | NO
... -
05:46 PM Bug #8133: Regexp macro %r{} is loosing backslash on "\}"
- nobu (Nobuyoshi Nakada) wrote:
> This issue was solved with changeset r39858.
Thank you. -
04:48 PM Bug #8133 (Closed): Regexp macro %r{} is loosing backslash on "\}"
- This issue was solved with changeset r39858.
Josef, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
parse.y: escape all closing parens
* parse.y (simple_re_meta): ... -
04:13 PM Bug #8133 (Open): Regexp macro %r{} is loosing backslash on "\}"
- It doesn't look to be issue of regexp but issue of parser:
C:\Projects>irb
irb(main):001:0> a = %r|\}|
=> /\}/
irb(main):002:0> b = %r{\}}
=> /}/
irb(main):003:0> a == b
=> false
a and b are apparently not the same. They us... -
11:26 AM Bug #8133 (Rejected): Regexp macro %r{} is loosing backslash on "\}"
- There is nothing different, as '}' is not a regexp meta character.
-
12:22 AM Bug #8133 (Closed): Regexp macro %r{} is loosing backslash on "\}"
- Hello,
Ruby 2.0.0 is loosing the backslash when used on "\}" string (exact match).
How to reproduce in irb:
2.0.0-p0 :003 > %r{\}}
=> /}/
2.0.0-p0 :004 > %r{\{}
=> /\{/
Compared to:
1.9.3p392 :001 > %r{\{}
=> /\{... -
11:17 PM Bug #8137 (Closed): r39819 以降 Process.kill(0, $$) が終了しない
- This issue was solved with changeset r39862.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
thread.c: fix deadlock
* thread.c (ruby_kill): get rid of dea... -
10:14 PM Bug #8137 (Closed): r39819 以降 Process.kill(0, $$) が終了しない
- r39819 以降、以下のコードが終了せずにデッドロックとなります。
$ ruby -e 'Process.kill(0, $$)'
1.9.3, 2.0.0 では正常に終了します。この影響により例えば以下のようなコードが動かなくなるので、デッドロックは回避するようにして頂けないでしょうか。
https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/pidlock.rb#L46 -
11:07 PM Bug #8138 (Closed): rpartition(regexp) for multibyte string
- =begin
以下のように、String#rpartition に正規表現を渡したとき、マルチバイト文字列だと挙動がおかしいようです。
# encoding: UTF-8
"user@domain".partition("@") # => ["user", "@", "domain"]
"user@domain".partition(/@/) # => ["user", "@", "domain"]
"user@domain".rp... -
10:50 PM Bug #7805 (Closed): ruby 2.0rc2 core on solaris
- This issue was solved with changeset r39860.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* marshal.c (marshal_dump, marshal_load): workaround for segv on
... -
10:04 PM Feature #7792: Make symbols and strings the same thing
- Also, as a nice side effect we wouldn't even have to worry about garbage collecting symbols to avoid DoS as they would be automatically collected just like strings. If MRI wants to keep the original notion of symbols as an internal imple...
-
10:01 PM Feature #7792: Make symbols and strings the same thing
- What I meant is that most people only use symbols as an identifier that could be a just a string as well. If you look at the code semanthic you'll notice that they don't really care about symbol vs strings differences. They just want an ...
-
12:09 PM Feature #7792: Make symbols and strings the same thing
- The problem is not "confusion", it is that there is an apparent effort to rework core features in a massive framework in little pieces. These things don't fail in isolation--it is an error to attempt to fix them in isolation.
-
12:02 AM Feature #7792: Make symbols and strings the same thing
- Just another confusion caused by different behavior of strings vs symbols: https://github.com/blog/1440-today-s-email-incident
-
09:57 PM Bug #8136: gsub strange behavior when substituting "\\'"
- Seems like \' is interpreted as $' ($POSTMATCH) which is in this case 'oo'.
-
07:05 PM Bug #8136 (Closed): gsub strange behavior when substituting "\\'"
- =begin
s = "\\'" # => "\\'"
print s # \'
"foo".gsub("f", s) # => "oooo"
Can anybody please explain to me why it works like this? Is this a bug?
=end
-
08:34 PM Revision c60c0503 (git): * test/ruby/envutil.rb (assert_warning): show diff.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:30 PM Revision 9150340b (git): parse.y: refine warning message
- * parse.y (ambiguous_operator): refine warning message, since this
warning is shown after literal too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:51 PM Revision 79f7dfab (git): vm_insnhelper.c: check required kwarg with resthash
- * vm_insnhelper.c (vm_callee_setup_keyword_arg): should check required
keyword arguments even if rest hash is defined. [ruby-core:53608]
[Bug #8139]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39869 b2dd03c8-39d4-4d8f-98ff-82... -
06:42 PM Feature #8111 (Closed): Redmine Manager?
- Make a ticket as category:Project.
-
04:53 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- (2013/03/20 12:19), tmm1 (Aman Gupta) wrote:
> But API is too simple, maybe.
Another issues:
- `task' is ambiguous (all of procedures are task).
Yes, name is always issue.
- Allocation during gc is dangerous (maybe, sh... -
04:11 PM Revision 7e052c7b (git): use rb_pid_t instead of pid_t.
- * process.c (rb_execarg_addopt, run_exec_pgroup): use rb_pid_t
instead of pid_t.
* ext/pty/pty.c (raise_from_check, pty_check): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:05 PM Revision f7108c5d (git): * 2013-03-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:04 PM Revision 65a277d7 (git): * addr2line.c (rb_dump_backtrace_with_lines): output line at once.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:55 PM Revision 03583814 (git): Retry ps if it doesn't do setproctitle
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:32 PM Revision 7f7621e7 (git): revert r39861
- * include/ruby/ruby.h: revert r39861 because RB_UNUSED_VAR() is used
for array variables in extension libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:17 PM Revision ccde88c1 (git): * thread_win32.c (native_sleep): suppress warning.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:17 PM Revision 5de144f3 (git): thread.c: fix deadlock
- * thread.c (ruby_kill): get rid of deadlock on signal 0.
[ruby-dev:47182] [Bug #8137]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:14 PM Revision 042594bb (git): ruby.h: RB_UNUSED_VAR from UNINITIALIZED_VAR
- * include/ruby/ruby.h (RB_UNUSED_VAR): move code from
UNINITIALIZED_VAR() in vm_core.h.
* vm_core.h (UNINITIALIZED_VAR): use RB_UNUSED_VAR().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:50 PM Bug #7756 (Closed): clang 4.2 sees through UNINITIALIZED_VAR macro, gives warning
- This issue was solved with changeset r39855.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
vm_core.h: suppress warnings
* vm_core.h (UNINITIALIZED_VAR): su... -
01:50 PM Revision 82b8467e (git): * marshal.c (marshal_dump, marshal_load): workaround for segv on
- Intel Solaris compiled with Oracle SolarisStudio 12.3.
Partly revert r38174. [ruby-core:52042] [Bug #7805]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:35 AM Revision 1191b359 (git): merge revision(s) 39809,39834,39837: [Backport #8132]
- * test/win32ole/test_err_in_callback.rb
(TestErrInCallBack#test_err_in_callback): shouldn't create a file in
source directory.
* test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup): use
... -
11:31 AM Bug #8017 (Third Party's Issue): Got segmentation fault on attempt to install ruby 2.0.0-p0 on Mac 10.6.8 via RVM
-
11:31 AM Bug #8134 (Third Party's Issue): Compilation failure for 2.0.0 on 10.6.8
-
03:45 AM Bug #8134: Compilation failure for 2.0.0 on 10.6.8
- This is the content of the log file reported by RVM:
[2013-03-20 19:28:58] make
current path: /Users/veleno/.rvm/src/ruby-2.0.0-p0
command(2): make install
CC = clang
LD = ld
LDSHARED = clang -dynamiclib
CFLAGS = -O3 -ggdb3 -Wall -W... -
03:45 AM Bug #8134 (Third Party's Issue): Compilation failure for 2.0.0 on 10.6.8
- Trying to install 2.0.0 with rvm on Mac OSX 10.6.8, the installation fails.
-
07:48 AM Revision ebd86634 (git): parse.y: escape all closing parens
- * parse.y (simple_re_meta): escape all closing characters, not only
round parenthesis. [ruby-core:53578] [Bug #8133]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:46 AM Feature #8096: introduce Time.current_timestamp
- Responding to some concerns:
1. nanoTime deficiencies
Yes, System.nanoTime is not monotonic. It is designed to be a timestamp from the start of the process, as fast as possible across platforms, and with as fine-grained resolution ... -
07:23 AM Feature #8096: introduce Time.current_timestamp
- (3/20/13 11:14 AM), naruse (Yui NARUSE) wrote:
>
> Issue #8096 has been updated by naruse (Yui NARUSE).
>
>
> Eregon (Benoit Daloze) wrote:
>> On 19 March 2013 17:56, headius (Charles Nutter) <headius@headius.com> wrote:
... -
06:53 AM Feature #8096: introduce Time.current_timestamp
- "naruse (Yui NARUSE)" <naruse@airemix.jp> wrote:
> Whether wall-clock or monotonic clock is desired is the most important point.
I would like an option/flag so both are available. -
12:14 AM Feature #8096: introduce Time.current_timestamp
- Eregon (Benoit Daloze) wrote:
> On 19 March 2013 17:56, headius (Charles Nutter) <headius@headius.com> wrote:
> ...
Python summarized those time related functions:
http://www.python.org/dev/peps/pep-0418/
> The doc says "This meth... -
05:26 AM Revision 1dfb5bb7 (git): Makefile.in: remove broken symlinks
- * Makefile.in ($(LIBRUBY_SO)): always try to remove symlink targets
for broken symlinks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:13 AM Revision 634779e6 (git): string.c: potential memory leak
- * string.c (rb_str_conv_enc_opts): allocate and hide wrapper before
creating converter to be wrapped, to get rid of potential memory
leak by failure on the allocation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39856 b2dd03c8... -
04:50 AM Revision 69d5f4ab (git): vm_core.h: suppress warnings
- * vm_core.h (UNINITIALIZED_VAR): suppress warnings by clang 4.2.
[ruby-core:51742] [Bug #7756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:19 AM Bug #8124: gem fails to install valid gems
- I periodically have similar but not the same issue.
>gem install rails
ERROR: Could not find a valid gem 'rails' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect SYSCALL returned=5 errno=...
03/20/2013
-
11:53 PM Feature #8096: introduce Time.current_timestamp
- On 19 March 2013 17:56, headius (Charles Nutter) <headius@headius.com> wrote:
>
> Issue #8096 has been updated by headius (Charles Nutter).
>
>
> A few more thoughts to keep this alive...
>
> Implementation in JRuby:
>
> def Ti... -
08:46 PM Feature #8096: introduce Time.current_timestamp
- kosaki (Motohiro KOSAKI) wrote:
> (3/19/13 9:31 PM), headius (Charles Nutter) wrote:
> ...
At the allocation view, there are 3 types:
1. embeded in VALUE itself
2. embeded in struct RVALUE
3. VALUE and extra data
Fixnum and small... -
11:53 AM Feature #8096: introduce Time.current_timestamp
- (3/19/13 9:31 PM), headius (Charles Nutter) wrote:
>
> Issue #8096 has been updated by headius (Charles Nutter).
>
>
> naruse (Yui NARUSE) wrote:
>> What class is it?
>> If Float, it introduces extra error.
>> If Rati... -
10:31 AM Feature #8096: introduce Time.current_timestamp
- naruse (Yui NARUSE) wrote:
> What class is it?
> ...
It is a Fixnum:
ext-jruby-local ~/projects/jruby $ jruby -e "def Time.timestamp; java.lang.System.nano_time / 1000; end; loop { p Time.timestamp; sleep 1.5 }"
1363742953730794
1... -
07:24 AM Feature #8096: introduce Time.current_timestamp
- headius (Charles Nutter) wrote:
> A few more thoughts to keep this alive...
> ...
What class is it?
If Float, it introduces extra error.
If Rational, I feel Time is better. -
01:56 AM Feature #8096: introduce Time.current_timestamp
- A few more thoughts to keep this alive...
Implementation in JRuby:
def Time.timestamp
java.lang.System.nano_time / 1000
end
There's also currentTimeMillis, but I think providing sub-ms precision is a good idea. µs seems suff... -
10:52 PM Bug #8115 (Closed): make install DESTDIR=/my/install/path fails
- This issue was solved with changeset r39841.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
mkmf.rb: prefix install_dirs only with DESTDIR
* lib/mkmf.rb (ins... - 10:35 PM Revision 91194dfd (git): * 2013-03-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:35 PM Revision 5d402803 (git): * ext/date/date_core.c: Typo in Date::MONTHNAMES by Matt Gauger
- [GH fixes #261]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:01 PM Bug #8124: gem fails to install valid gems
- For handle this issue, it need to know occasion of that "many people".
If you are not "many people" and you could not reproduce such problem, we can not fix it as same as you. -
04:37 PM Bug #8124: gem fails to install valid gems - $ gem sources
*** CURRENT SOURCES ***
http://rubygems.org/
Like I said, I'm not able to reproduce the issue, even after a `gem sources -c`. The issue I'm pointing out here is that the error reported on the original is... -
02:21 PM Revision 63b66167 (git): merge revision(s) 39835: [Backport #8058]
- * test/rubygems/test_gem_installer.rb (test_install_extension_flat):
use ruby in build directory in case ruby is not installed.
[ruby-core:53265] [Bug #8058]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby... -
02:17 PM Revision 2aaa9ab9 (git): merge revision(s) 39809,39834,39837: [Backport #8132]
- * test/win32ole/test_err_in_callback.rb
(TestErrInCallBack#test_err_in_callback): shouldn't create a file in
source directory.
* test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup): use
... -
02:10 PM Revision 7631f28c (git): merge revision(s) 39781,39783: [Backport #8080]
- missing.h: build fix
* include/ruby/missing.h: include time.h and sys/time.h iff needed,
but excepct for sys/time.h on linux to get rid of glibc bug.
* include/ruby/missing.h: removed __linux__. it's unnecessary.
git... -
02:07 PM Revision 4346f5d6 (git): merge revision(s) 39779: [Backport #8080]
- Makefile.sub: fix mswin build
* win32/Makefile.sub (config.h): fix mswin build, also VC has time.h
and struct timeval.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:06 PM Revision 68a2dd54 (git): merge revision(s) 39777: [Backport #8080]
- mingw build fix
* configure.in: struct timeval is defined in winsock2.h on mingw.
* include/ruby/missing.h: include time.h for time_t, and sys/time.h
for timeval and timespec.
git-svn-id: svn+ssh://ci.ruby-lang.org/r... -
02:03 PM Revision 9b0861fb (git): merge revision(s) 39200: [Backport #8080]
- * configure.in: move OS specific header/function knowledge before
automatic header tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 PM Revision c8755ba6 (git): merge revision(s) 39174: [Backport #8080]
- * configure.in: move header files check to the beginning of
"header and library section".
test rlim_t with sys/types.h and sys/time.h for MirOS BSD.
sys/types.h and sys/time.h is gurded by #ifdef and the abo... -
01:57 PM Revision 7d772fbd (git): merge revision(s) 39198: [Backport #8080]
- * configure.in: move the test for -march=i486 just after
RUBY_UNIVERSAL_ARCH/RUBY_DEFAULT_ARCH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:56 PM Revision 78a2c1a9 (git): merge revision(s) 39162,39163: [Backport #8080]
- * configure.in: change CFLAGS temporally to test
ARCH_FLAG="-march=i486".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:54 PM Revision d4e03967 (git): merge revision(s) 39160: [Backport #8080]
- * configure.in: don't define ARCH_FLAG="-march=i486" if it causes
compilation problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 PM Revision 9cbd4ac3 (git): mkmf.rb: format message
- * lib/mkmf.rb (find_library): fix to format message.
[ruby-core:53568] [Bug #8130]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:52 PM Revision 7e1d5045 (git): mkmf.rb: prefix install_dirs only with DESTDIR
- * lib/mkmf.rb (install_dirs, with_destdir): prefix with DESTDIR
directories to install only unless bundled extension libraries.
[ruby-core:53502] [Bug #8115]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39841 b2dd03c8-39d4-4d8... -
01:37 PM Revision 7ff076d5 (git): merge revision(s) 39775: [Backport #8080]
- * thread.c: disabled _FORTIFY_SOURCE for avoid to hit glibc bug.
[Bug #8080] [ruby-core:53349]
* test/ruby/test_io.rb (TestIO#test_io_select_with_many_files):
test for the above.
git-svn-id: svn+ssh://ci.ru... -
01:36 PM Revision 552817e5 (git): merge revision(s) 39774: [Backport #8080]
- * include/ruby/missing.h (__syscall): moved to...
* io.c: here. because __syscall() is only used from io.c.
* include/ruby/missing.h: move "#include <sys/type.h>" to ....
* include/ruby/intern.h: here. because ... -
01:34 PM Revision ccb9fb0b (git): merge revision(s) 39772,39773: [Backport #8080]
- * configure.in: check struct timeval exist or not.
* include/ruby/missing.h (struct timeval): check HAVE_STRUCT_TIMEVAL
properly. and don't include sys/time.h if struct timeval exist.
* file.c: include sys/tim... -
12:19 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- I implemented a basic task api: https://github.com/tmm1/ruby/compare/tmm1;task-api
But API is too simple, maybe.
- what if task job is holding onto VALUE, it will never be gc_mark()ed
- what if there is an exception during t... -
09:00 AM Bug #8129: String#index has drastically different performance when a single unicode character is included
- Thanks for the feedback Charlie and Nobuyoshi. This came up from https://github.com/kschiess/parslet/issues/73 which heavily uses String#index (http://www.ruby-doc.org/core-2.0/String.html#method-i-index) by passing a position to search ...
-
08:52 AM Bug #8129: String#index has drastically different performance when a single unicode character is included
- =begin
You may want to:
* use regexp, e.g. (({scan})).
* convert to fix width wide char encoding, i.e., ((|UTF-32LE|)) or ((|UTF-32BE|)).
=end
-
08:40 AM Bug #8129 (Rejected): String#index has drastically different performance when a single unicode character is included - When all the characters in a string are ASCII characters (single bytes), the byte index for any given character can be calculated in constant time.
When the string contains multibyte characters, finding the byte index given a characte... -
08:23 AM Bug #8129 (Rejected): String#index has drastically different performance when a single unicode character is included
- =begin
I created a simple ruby script:
#! /usr/bin/env ruby
raise "need a file name" unless ARGV[0]
contents = File.read(ARGV[0])
326_000.times do |i|
contents[(i + 23) % contents.size]
end
And I uploaded two file... - 08:52 AM Revision dd210d8f (git): * test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup):
- allow using different drive for source and build directories.
this may fixes a minor problem of r39834.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:30 AM Bug #8127 (Closed): NoMethodError for private / protected methods with Module#prepend
-
07:49 AM Bug #8127 (Closed): NoMethodError for private / protected methods with Module#prepend
- =begin
Calling protected / private methods after using Module#prepend raises NoMethodError exception.
module Foo
end
class Record
prepend Foo
def protected_method
end
protected :protected_method
end
... -
08:00 AM Feature #8128 (Rejected): New primitives for Rinda::TupleSpace
- =begin
= New primitives for Rinda::TupleSpace
This issue proposes adding two new primitives to TupleSpace for atomic bulk operations:
== 1. TupleSpace#replace_all
=== What it does
Calling
replace_all(tuple, new_tuple,... -
07:49 AM Revision f4274129 (git): * test/ruby/test_signal.rb (test_hup_me): skip if HUP isn't supported.
- On Windows this test causes ArgumentError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:49 AM Revision 7f2a13ea (git): * test/rubygems/test_gem_installer.rb (test_install_extension_flat):
- use ruby in build directory in case ruby is not installed.
[ruby-core:53265] [Bug #8058]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:38 AM Feature #8126 (Assigned): OpenSSL::SSL::SSLSocket does not define #recv and #send messages
- OpenSSL::SSL::SSLSocket does not define #recv/#send methods and is not compatible with TCPSocket.
- 06:24 AM Revision 46048d6d (git): * test/win32ole/test_err_in_callback.rb (TestErrInCallBack#setup): use
- relative path to get rid of "too long commandline" error.
* ChangeLog: fixed wrong description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:21 AM Revision 119aa9d2 (git): * test/win32ole/test_err_in_callback.rb: revert r39823 (debug code).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:48 AM Feature #7510: irb --help が古い
- add patche.(incl. ja)
-
02:21 AM Bug #8125 (Closed): lost-tuple bug and fix for Rinda::TupleSpaceProxy.take
- =begin
Rinda::TupleSpaceProxy prevents tuple loss during #take by exposing a "port" object on the client that the remote side (the tuplespace server) pushes to, instead of relying on the method return value. Pushing to the port fails ... -
02:11 AM Bug #7756: clang 4.2 sees through UNINITIALIZED_VAR macro, gives warning
- A macro can be following, but it still changes syntax from current UNINITIALIZED_VAR.
#if GCC_VERSION_SINCE(4,6,0) || defined(__clang__)
# define SUPPRESS_DIAGNOSTIC(arg,rest) \
_Pragma("GCC diagnostic push") \
_Pra... -
01:53 AM Bug #8120 (Rejected): OptionParser is not handling lists of arguments correctly
- You must use commas and no whitespace when entering a list as in your second arguments to opts.on
03/19/2013
-
09:02 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- This was my first time using the new TracePoint apis. I like the C API a lot- much more flexible than the old event hook api.
> GC related events are special. So I was thinking to separate ordinal
> ...
I agree, but I am not sure ho... -
08:53 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- (2013/03/19 19:26), tmm1 (Aman Gupta) wrote:
>> > Ah, it is my mistake. I want to say *newobj hook*, instead of Mark hook.
> Oh, OK. This makes much more sense now. I implemented these basic GC hooks in c-only tracepoint API.
>
... -
07:26 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- > Ah, it is my mistake. I want to say *newobj hook*, instead of Mark hook.
Oh, OK. This makes much more sense now. I implemented these basic GC hooks in c-only tracepoint API.
Is this what you have in mind? https://github.com/tmm1... -
06:23 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- (2013/03/19 18:02), tmm1 (Aman Gupta) wrote:
> I like your idea. A finalization task api provides an elegant solution for processing profiling data in a safe context.
Thanks.
>> * Introduce new GC related hooks (restricted ... -
06:02 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- I like your idea. A finalization task api provides an elegant solution for processing profiling data in a safe context.
> * Introduce new GC related hooks (restricted to C function)
> ...
What is the difference between Free and GC h... -
04:29 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- (2013/03/19 15:45), tmm1 (Aman Gupta) wrote:
> I agree this approach provides more flexibility. But GC hooks cannot allocate ruby objects or interact with GC, so it is tricky to use.
Yes exactly. This is why we need to be more ca... -
03:53 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- (2013/03/19 14:47), SASADA Koichi wrote:
> I believe this approach allows flexible statistics.
One flexibility example is to collect call-tree of object creation. Not
only collect method name, but collect call-tree.
"Memo... -
03:45 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- > Using this APIs, users can add your own statistics libraries.
I tried a similar approach in ruby 1.8 some while ago, emulating event hook api for GC events (newobj, free, gc start/end): https://github.com/tmm1/brew2deb/blob/master/... -
02:53 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- (2013/03/19 13:39), tmm1 (Aman Gupta) wrote:
> Maybe instead of file/line, this should be rb_iseq_t *iseq?
C methods doesn't have an iseq.
> ko1-san, do you have any opinion on this patch?
I'm considering another apprac... -
01:48 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- Here's an example using this feature in a rails app, to find files that are allocating many long lived objects:
% RUBYOPT=--debug-objects ruby -r config/environment -e'
GC.start
ObjectSpace.each_object.to_a.inject(Hash.new 0){ |... -
01:39 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- > +typedef struct rb_obj_metadata {
> ...
Maybe instead of file/line, this should be rb_iseq_t *iseq?
ko1-san, do you have any opinion on this patch? -
01:37 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- > Something like RubyVM.allocated_position(obj) => [file, line].
I'll defer API decisions to core, but a method under RubyVM or in the new objspace.so would be fine. I slightly prefer two separate methods, to avoid an array allocation... -
07:41 PM Revision dcbc7b01 (git): * test/rinda/test_rinda.rb: remove unused variables.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:23 PM Revision 49636da4 (git): * ext/bigdecimal/bigdecimal.c: fixed typo. same as r39830
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:19 PM Revision 6f072a36 (git): * ext/bigdecimal/bigdecimal.c: fixed typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:07 PM Bug #8124: gem fails to install valid gems
- Please check results of "gem source" command.
-
06:02 PM Bug #8124 (Closed): gem fails to install valid gems - I'm not able to reproduce this, but many people have reported it on occasion.
$ gem install bundler
ERROR: Could not find a valid gem 'bundler' (>= 0) in any repository
ERROR: Possible alternatives: bundler
Can anyo... -
06:34 PM Revision 62565929 (git): * test/ruby/test_signal.rb (test_hup_me): added a few comments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:26 PM Revision 8c52515e (git): * thread.c (ruby_kill): added a few comments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:26 PM Revision df4fcd34 (git): * 2013-03-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:26 PM Revision c9073822 (git): * thread.c (ruby_kill): release GVL while waiting signal delivered.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:06 PM Bug #7267 (Closed): Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- This issue was solved with changeset r39821.
Kenny, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
compose HFS file names
* dir.c (glob_helper): compose HFS file ... -
04:12 PM Revision 55f14b45 (git): merge revision(s) 39525: [Backport #8102]
- configure.in: escape double-quotes
* configure.in (unexpand_shvar): escape double-quotes in backquotes in
double-quotes for some shells. [Bug #7959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39825 b2dd0... -
03:05 PM Bug #8100: Segfault in trunk
- I'm also getting segfaults on Ruby 2.0.0. It seems to be related to threading or forking. Can't quite put my figure on it. All I can say is that I don't get in when running my web app in WEBrick on my Mac, but if running it on my CentOS ...
-
01:11 AM Bug #8100: Segfault in trunk
- Forgot to add a link to the repo on github: https://github.com/zzak/segfault_spec.rb
-
03:04 PM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
- Attached is the gdb backtrace from running nagai's test script.
-
11:09 AM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
- That script,
----------------------------------------------------------
module TkCore; RUN_EVENTLOOP_ON_MAIN_THREAD = true; end
require 'tk'
Tk.mainloop
----------------------------------------------------------
gives the result:
ca... -
10:53 AM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
- Could you test the following script?
----------------------------------------------------------
module TkCore; RUN_EVENTLOOP_ON_MAIN_THREAD = true; end
require 'tk'
Tk.mainloop
-------------------------------------------------... -
02:53 PM Bug #8122: [patch] gc: GC.stat improvements and related cleanup
- (2013/03/19 11:58), authorNari (Narihiro Nakamura) wrote:
> ko1-san, what do you think?
(1) Performance
One concern is making it fat seems slow it down.
(2) Usage
How to use new statistics?
--
// SASADA Koi... -
11:58 AM Bug #8122: [patch] gc: GC.stat improvements and related cleanup
- ko1-san, what do you think?
-
11:29 AM Bug #8122 (Closed): [patch] gc: GC.stat improvements and related cleanup
- I propose 4 related patches below. The end result is more information from GC.stat about mark and sweep activity.
1) Rename heap.free_num to heap.swept_num
This is a purely cosmetic change, to make the purpose of the variable mor... -
01:52 PM Bug #8123 (Closed): Transcoding exception when using replace along with universal_newline
- The following can be reproduced on 1.9.3-p385, 1.9.3-p392, and 2.0.0-p0.
body, charset = "hey", "hey".encoding.to_s
body = body.encode('UTF-8', charset,
:invalid => :replace, :undef => :replace,
:replace => '', :univers... -
11:27 AM Feature #8024 (Rejected): Lazy sweep を on/off するための機能
- 特にみなさんから反論もなさそうなのでRejectしておきます。
-
11:05 AM Feature #8121 (Closed): updated Curses::Window example
- The example on http://ruby-doc.org/stdlib-2.0/libdoc/curses/rdoc/Curses/Window.html produces somewhat garbled output. Subwindow can be used to avoid that:
require 'curses'
Curses.init_screen()
my_str = "LOOK! PONIES!"
bwin = Cu... - 10:51 AM Revision d617690a (git): * ruby_kill (internal.h, thread.c): use rb_pid_t instead of pid_t.
- this fixes the build failure of mswin introduced at r39819.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:44 AM Bug #8120 (Rejected): OptionParser is not handling lists of arguments correctly
- Only the first element in a list of arguments is being processed by OptionParser. With the following program:
-----------------------------------------------------
require 'optparse'
options = {}
optparse = OptionParser.new do... - 08:40 AM Revision e0b74f8a (git): * test/win32ole/test_err_in_callback.rb: debug print. I'll remove this later.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:18 AM Bug #8051 (Third Party's Issue): linux_iocparm_len in io.c is ifdef __linux__, but uses glibc specifics
- _IOC_SIZE is not glibc feature. It's a Linux feature. Please use Linux aware libc.
-
08:09 AM Revision 10f5312d (git): convert with one converter
- * string.c (rb_str_conv_enc_opts): convert with one converter, instead
of re-creating converters for each buffer expansion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:06 AM Revision 29dc980e (git): compose HFS file names
- * dir.c (glob_helper): compose HFS file names from UTF8-MAC.
[ruby-core:48745] [Bug #7267]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:04 AM Revision 353cd01e (git): * dir.c (join_path): move length of path to an argument.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:23 AM Feature #8119 (Assigned): more efficient version of Rinda::TupleSpaceProxy.take
-
06:13 AM Feature #8119 (Closed): more efficient version of Rinda::TupleSpaceProxy.take
- =begin
The purpose of Rinda::TupleSpaceProxy is to avoid losing tuples when a client disconnects during a #take call. This is implemented by sending the result value ((*twice*)): first by pushing it to a client-side array, second by r... -
04:40 AM Revision 4ea96ece (git): * internal.h: added a declaration of ruby_kill().
- * thread.c (ruby_kill): helper function of kill().
* signal.c (rb_f_kill): use ruby_kill() instead of kill().
* signal.c (rb_f_kill): call rb_thread_execute_interrupts()
to ensure that make SignalException if sent a signal
to myself... -
03:17 AM Revision b945ad28 (git): * io.c (linux_iocparm_len): enable only exist _IOC_SIZE().
- Because musl libc doesn't have it. [Bug #8051] [ruby-core:53229]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:17 AM Bug #8113 (Closed): ArgumentError: cannot interpret as DNS name: nil
- This was fixed by r39725. There is a backport ticket #8054
-
12:53 AM Bug #8113: ArgumentError: cannot interpret as DNS name: nil
- I cannot reproduce this with: ruby 2.1.0dev (2013-03-18 trunk 39805)
[x86_64-linux]
$irb -ropen-uri
open("http://www.ruby-lang.org/") { |f| f.each_line { |line| p line } }
Could you try it without rails? -
01:09 AM Revision 3ee89c62 (git): * ext/objspace/objspace.c: Fix typo in doc. Patch by Sho Hashimoto.
- [Bug #8116] [ruby-dev:47177]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:30 AM Bug #8092 (Closed): [patch] gc: improve accuracy of objspace_live_num() and allocated/freed counters
- This issue was solved with changeset r39812.
Aman, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c: Improve accuracy of objspace_live_num() and
allocated/f... -
12:22 AM Bug #8092: [patch] gc: improve accuracy of objspace_live_num() and allocated/freed counters
- Wow, thanks!! I'll commit it soon.
03/18/2013
-
11:16 PM Bug #8092: [patch] gc: improve accuracy of objspace_live_num() and allocated/freed counters
- With this updated patch the test is passing both before and after r39811. Problem was in finalize_list. After r39811 removing heap is less common, so the failure did not appear.
diff --git a/gc.c b/gc.c
index 2afd311..e72b198 100644
... -
10:27 PM Bug #8092: [patch] gc: improve accuracy of objspace_live_num() and allocated/freed counters
- This test is passing for me on trunk. Before r39811 it is failing.
[ 92/132] TestGc#test_stat
{:count=>357, :heap_used=>421, :heap_length=>811, :heap_increment=>283, :heap_live_num=>144... -
05:32 PM Bug #8092: [patch] gc: improve accuracy of objspace_live_num() and allocated/freed counters
- Thank you for bug report.
But, the following test case is failure.
I think ko1-san is the implementer of GC.stat.
ko1-san, what do you think?
=== start ===
$ git diff test
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc... -
09:52 PM Bug #7537: OptionParser treats negative digits as options
- Sent a pull-request. https://github.com/ruby/ruby/pull/259
I've made changes the same way as python do -- http://docs.python.org/dev/library/argparse.html#arguments-containing
This patch introduces one possible (but not very serious and... -
09:52 PM Bug #8115 (Closed): make install DESTDIR=/my/install/path fails
- =begin
In Fedora packaging, we used to use (({make install DESTDIR=/my/install/path})) to install compiled extension into the folder, which RPM used to pick up the extension. However, since Ruby 2.0.0, this approach fails with message s... -
09:44 PM Bug #8093 (Closed): [patch] gc: avoid unnecessary heap growth
- This issue was solved with changeset r39811.
Aman, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c: Avoid unnecessary heap growth. patched by tmm1(Aman Gupta... -
06:15 PM Bug #8093: [patch] gc: avoid unnecessary heap growth
- Thank you for the bug report.
I think this patch is acceptable.
ko1-san, what do you think?
# Because r37970 was committed by ko1-san. -
09:16 PM Bug #8114 (Closed): Issue in test coverage for CRL
- wrt: https://github.com/ruby/ruby/blob/trunk/test/openssl/test_x509crl.rb#L104
The crl variable seems to be unused, or not further processed. -
08:48 PM Bug #8113 (Closed): ArgumentError: cannot interpret as DNS name: nil
- Loading development environment (Rails 3.2.12)
irb(main):001:0> open("http://www.ruby-lang.org/") {|f|
irb(main):002:1* f.each_line {|line| p line}
irb(main):003:1> }
ArgumentError: cannot interpret as DNS name: nil
from /usr/loc... -
08:18 PM Feature #8111 (Closed): Redmine Manager?
- How/Who do you contact for Redmine management issues?
-
06:26 PM Feature #8110 (Closed): Regex methods not changing global variables
- It is useful to have methods allowing pattern matching without setting global variables. It can be very hard to understand where the problem is when you for example insert a string like `puts pat === my_str` and your program fails in a p...
-
06:03 PM Bug #8095 (Closed): [patch] gc: fix unlimited memory growth with large values of RUBY_FREE_MIN
- This issue was solved with changeset r39810.
Aman, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c: Fix unlimited memory growth with large values of
RUBY_F... -
05:39 PM Revision ab31e97c (git): Add comments to r39808
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:15 PM Revision 357b8c06 (git): * configure.in: set ac_cv_prog_cxx if CXX is supplied.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:22 PM Revision 5ef1525b (git): * configure.in: Fix c++ compiler auto-selection not only for
- Darwin 11.x, but also the other versions of Darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:14 PM Bug #8100: Segfault in trunk
- I got a similar one too, see here: https://github.com/padrino/padrino-framework/issues/1131
-
10:51 AM Bug #8100: Segfault in trunk
- I've updated the description of this ticket, because I'm able to reproduce a similar bug. Only similar in that we're using a lot of the same dependencies.
I also went ahead and created (as small as possible) reproducible script. Here'... - 03:30 PM Revision 65a709ae (git): * 2013-03-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:30 PM Revision 80329d3a (git): * gc.c: Improve accuracy of objspace_live_num() and
- allocated/freed counters. patched by tmm1(Aman Gupta).
[Bug #8092] [ruby-core:53392]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:22 PM Bug #7267: Dir.glob on Mac OS X returns unexpected string encodings for unicode file names
- Attaching my proof of concept code.
diff --git a/dir.c b/dir.c
index d4b3dd3..126c27e 100644
--- a/dir.c
+++ b/dir.c
@@ -81,6 +81,84 @@ char *strchr(char*,char);
#define rb_sys_fail_path(path) rb_sys_fail_str(path)
+#if d... -
12:44 PM Revision 1bc93a15 (git): * gc.c: Avoid unnecessary heap growth. patched by tmm1(Aman Gupta).
- [Bug #8093] [ruby-core:53393]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:04 PM Feature #2837 (Closed): Compile-time constant for HEAP_GROWTH_FACTOR (patch attached)
- I commited r39746.
We can change HEAP_GROWTH_FACTOR via an enviroment variable now.
So I close this ticket.
Thanks. -
09:03 AM Revision 03c7f0ca (git): * gc.c: Fix unlimited memory growth with large values of
- RUBY_FREE_MIN. patched by tmm1(Aman Gupta).
[Bug #8095] [ruby-core:53405]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:42 AM Bug #8049 (Rejected): Compiling error on Ruby 2.0 with OpenSSL
- Was a problem on the client side. See http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/405477 ff.
- 05:47 AM Revision ac454412 (git): * test/win32ole/test_err_in_callback.rb
- (TestErrInCallBack#test_err_in_callback): shouldn't create a file in
source directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:31 AM Revision aa24857f (git): * vm_dump.c (backtrace): on darwin use custom backtrace() to trace
- beyond _sigtramp. darwin's backtrace can't trace beyond signal
trampoline with sigaltstack.
* configure.in: check execinfo.h on darwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:06 AM Revision f8eaf3c6 (git): * vm_exec.h (END_INSN): revert r39517 because the segv seems fixed by
- r39806.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:45 AM Revision 9b113a0d (git): * vm_exec.c: Correct predefined macro name. This typo is introduced by
- r36534 and should be backported to ruby_2_0_0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/17/2013
-
06:19 PM Revision d883d756 (git): * array.c: Typo in Array#delete by Timo Sand [GH fixes #258]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:25 PM Revision ade879ec (git): * 2013-03-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:25 PM Revision a9cbf641 (git): * io.c (io_fillbuf): show fd number on failure to debug.
- http://c5632.rubyci.org/~chkbuild/ruby-trunk/log/20130316T050302Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:13 PM Revision d32d8b33 (git): merge revision(s) 39731: [Backport #7991]
- * lib/rubygems/commands/setup_command.rb: Don't delete non-rubygems
files when installing RubyGems.
* test/rubygems/test_gem_commands_setup_command.rb: Test for the
above.
* lib/rubygems/ext/ext_co... -
03:11 PM Revision cd1d3422 (git): merge revision(s) 39696: [Backport #7991]
- * lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
it is impossible to predict which file will be installed to where,
by the arguments, so use intermediate destination directory always.
... -
03:07 PM Revision cae2f1eb (git): merge revision(s) 39621,39622: [Backport #7991]
- * lib/rubygems/commands/setup_command.rb: Install .pem files.
* test/rubygems/test_gem_commands_setup_command.rb: Test for the
above.
* lib/rubygems/spec_fetcher.rb: Test HTTPS upgrade with URI::HTTPS,
... -
03:03 PM Revision c071b47a (git): merge revision(s) 39608: [Backport #7749]
- * test/rubygems/test_require.rb: Fix tests when 'a.rb' exists.
[ruby-trunk - Bug #7749]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:02 PM Revision 86ae4bc2 (git): merge revision(s) 39607: [Backport #7713]
- * lib/rubygems.rb: Allow specification of directory permissions.
[ruby-trunk - Bug #7713]
* test/rubygems/test_gem.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39798 b2dd0... -
03:01 PM Revision 3e3f0346 (git): merge revision(s) 39606,39609: [Backport #8019]
- * lib/rubygems/commands/query_command.rb: Only fetch remote specs when
showing details. [ruby-trunk - Bug #8019] RubyGems bug #487
* lib/rubygems/remote_fetcher.rb: ditto.
* lib/rubygems/security/policy.rb... -
02:57 PM Revision d1ce1051 (git): merge revision(s) 39603: [Backport #7991]
- for [Bug #7698]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:53 PM Revision 9a756111 (git): merge revision(s) 39597: [Backport #7991]
- * lib/rubygems.rb: Bump version to 2.0.1 for upcoming bugfix release
* lib/rubygems/ext/ext_conf_builder.rb: Restore ruby 1.8 compatibility
for [Bug #9698]
* test/rubygems/test_gem_installer.rb: Ditto.
... -
02:52 PM Revision 64766e9d (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:51 PM Revision b2a8d8a8 (git): merge revision(s) 39533: [Backport #7991]
- * lib/rubygems/available_set.rb: Undent for style
* lib/rubygems/dependency_installer.rb: Pick latest prerelease gem to
install. Fixes RubyGems bug #468.
* test/rubygems/test_gem_dependency_installer.rb: T... -
02:28 PM Revision a4e52a1a (git): merge revision(s) 39590,39592: [Backport #7991]
- * lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
clear DESTDIR so RUBYARCHDIR and RUBYLIBDIR are not be overrdden.
[Bug #7698]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@... -
02:27 PM Revision b28cb4fa (git): merge revision(s) 39579: [Backport #7991]
- * lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
fix for unusal cases again. install to a temporary directory once
and move instaled files to the destination directory, if it is same
... -
02:22 PM Revision 8ff247ae (git): merge revision(s) 39560,39562,39572: [Backport #7991]
- * lib/rubygems/ext/ext_conf_builder.rb
(Gem::Ext::ExtConfBuilder.hack_for_obsolete_sytle_gems): remove
circular dependencies for old style gems which locate extconf.rb on
the toplevel. [ruby-core:53059] [ru... -
02:20 PM Revision bbe80008 (git): merge revision(s) 39559: [Backport #7991]
- * lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
use RUBYOPT instead of -r option, and revert some tests. [Bug #7698]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39789 b2dd03c8-39d... -
02:20 PM Revision 5d6aa9ba (git): merge revision(s) 39558: [Backport #7991]
- * lib/rubygems/ext/ext_conf_builder.rb (Gem::Ext::ExtConfBuilder.build):
revert use of temporary directory for build, to work some buggy
extconf.rb which cannot build outside the source directory.
[ruby-core... -
02:19 PM Revision 937cf089 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:18 PM Revision 1ec03bfc (git): merge revision(s) 39542,39545: [Backport #7991]
- * lib/rubygems/ext/builder.rb: Fix incompatibilities when installing
extensions. Patch by Nobu.
[ruby-trunk - Bug #7968] [ruby-trunk - Bug #7971]
* lib/rubygems/ext/ext_conf_builder.rb: ditto.
* l... -
05:53 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations - On Sat, Mar 16, 2013 at 02:12:03AM +0900, headius (Charles Nutter) wrote:
>
> Issue #7895 has been updated by headius (Charles Nutter).
>
>
> kallistec (Daniel DeLeo) wrote:
> > Hi, I work on Opscode's Chef, a server conf... -
03:58 AM Feature #8107: [patch] runtime flag to track object allocation metadata
- No objections to adding this feature to MRI, but anything that goes on the standard core classes needs to involve other implementers. If this is not intended to be a standard Ruby (not MRI) feature, it would probably be best to have the ...
-
01:34 AM Revision e4811dc6 (git): * array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/16/2013
-
08:01 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- > + rb_gc_set_params();
> ...
This is a hack. I wanted to set track_metadata=1 as early as possible, before require('rubygems') especially.
Maybe it makes more sense to add an option instead of ENV flag, ruby --debug-objects ? -
05:47 PM Feature #8107 (Closed): [patch] runtime flag to track object allocation metadata
- When a ruby program contains a reference leak, debugging is a lot easier if you know where each object was allocated. Tools like bleakhouse and memprof have provided this functionality in the past, but were brittle and required source/ru...
-
05:40 PM Revision 326dd6e0 (git): * ext/date/date_core.c: include sys/time.h for avoiding implicit
- declaration of gettimeofday().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:58 PM Revision 28d3acb0 (git): * include/ruby/missing.h: removed __linux__. it's unnecessary.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:16 PM Revision 6b83f5e6 (git): * 2013-03-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:16 PM Revision 7c14f03c (git): missing.h: build fix
- * include/ruby/missing.h: include time.h and sys/time.h iff needed,
but excepct for sys/time.h on linux to get rid of glibc bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:48 PM Revision 090a6ca4 (git): test_bignum.rb: refine test
- * test/ruby/test_bignum.rb (test_interrupt_during_to_s): rename and
merge with assert_interrupt, separate Bignum power from to_s, get
rid of busy loop, and skip if the conversion is too fast.
git-svn-id: svn+ssh://ci.ruby-lang.org/r... -
02:48 PM Revision de9911f5 (git): Makefile.sub: fix mswin build
- * win32/Makefile.sub (config.h): fix mswin build, also VC has time.h
and struct timeval.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:20 AM Bug #8103 (Closed): Fix for URI.decode_www_form ArgumentError
- URI.decode_www_form pukes out an ArgumentError if passed any parameter names that aren't followed by an equals sign. Because of this it can't decode some of the strings that were encoded with URI.encode_www_form:
irb> require 'uri'
=... -
10:05 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- Since a committer nominee was given permission to commit I think you should commit it
-
02:24 AM Feature #6154: Eliminate extending WaitReadable/Writable at runtime
- mame or matz: Is this change approved? If so, I can proceed with a patch that includes what I've already posted plus OpenSSL changes.
-
10:00 AM Bug #8091: Class.new is not called when class is created using class keyword
- alexeymuranov (Alexey Muranov) wrote:
> I think partial overloading can be done by defining the `initialize` private method.
no initilize is called on `class X` that is why it is a bug
-
10:00 AM Bug #8091: Class.new is not called when class is created using class keyword
- Initialize is also not called on `class X` but it is called on `Class.new`
class Class
alias old_initialize initialize
def initialize(*args)
obj = old_initialize *args
print "initialize",obj,"\n"
... -
09:37 AM Feature #8096: introduce Time.current_timestamp
- Both Postgres and MySQL store timestamps with microsecond precision:
http://www.postgresql.org/docs/9.2/static/datatype-datetime.html
http://dev.mysql.com/doc/refman/5.6/en/datetime.html
-
06:53 AM Feature #8096: introduce Time.current_timestamp
- MySQL stores/transmits TIMESTAMP fields as integer seconds.
Sent from my phone, so excuse the typos.
On Mar 16, 2013 7:13 AM, "KOSAKI Motohiro" <kosaki.motohiro@gmail.com>
wrote:
> (3/15/13 4:36 PM), vipulnsward (Vipul Aml... -
06:23 AM Feature #8096: introduce Time.current_timestamp
- (3/15/13 4:36 PM), vipulnsward (Vipul Amler) wrote:
>
> Issue #8096 has been updated by vipulnsward (Vipul Amler).
>
>
> =begin
> It could be any number of purposes. On top of my head I could think of remote systems, time... -
05:36 AM Feature #8096: introduce Time.current_timestamp
- =begin
It could be any number of purposes. On top of my head I could think of remote systems, timestamps persisted to Databases, Event marking, Security Systems, Time conversions, etc (Although these are very bad examples)
Maybe http... -
08:55 AM Feature #7791: Let symbols be garbage collected
- marcandre (Marc-Andre Lafortune) wrote:
> So it's probably only MRI that does stuff like `rb_funcall(obj, '>', 1, INT2FIX(0))`
That can be changed to:
#define CHAR2SYM(X) _rb_char_symbol_table[X]
rb_funcall(obj, CHAR2SYM('>... -
07:10 AM Feature #7791: Let symbols be garbage collected
- Student (Nathan Zook) wrote:
> I'm sorry, but this example just gets more strange the more you explain it. Are you saying that there is one table with one two columns (id & value) for all of the text fields?
Basically, yes.
> ..... -
06:49 AM Feature #7791: Let symbols be garbage collected
- I'm sorry, but this example just gets more strange the more you explain it. Are you saying that there is one table with one two columns (id & value) for all of the text fields? That would certainly parallel your previous statement.
... -
06:05 AM Feature #7791: Let symbols be garbage collected
- kstephens (Kurt Stephens) wrote:
> Student (Nathan Zook) wrote:
> ...
The existing test cases all assume that symbol behaves the way that it currently does. There are tests to check a against certain deviations, but not all possible ... -
03:54 AM Feature #7791: Let symbols be garbage collected
- kstephens (Kurt Stephens) wrote:
> Unless we have a class of VALUES < 127 that are immediate single-ASCII character Symbols, and we cant do that because it will collide with other immediates.
Wouldn't it be safe to do this in ID2SY... -
03:33 AM Feature #7791: Let symbols be garbage collected
- I was thinking about how to implement this in JRuby. Couldn't you just have *all* Symbols be weakly-referenced in the symbol table, and just root the ones that are created from C?
I'll try to prototype something in JRuby. -
02:06 AM Feature #7791: Let symbols be garbage collected
- marcandre (Marc-Andre Lafortune) wrote:
> kstephens (Kurt Stephens) wrote:
> ...
Yup. That's an assumption I can't fix. Unless we have a class of VALUES < 127 that are immediate single-ASCII character Symbols, and we cant do that be... -
01:47 AM Feature #7791: Let symbols be garbage collected
- kstephens (Kurt Stephens) wrote:
> I'm considering creating a first-class struct RSymbol and making ID synonymous with VALUE
I might be mistaken, but wouldn't that be a problem because many external libraries assume, like MRI does, ... -
01:32 AM Feature #7791: Let symbols be garbage collected
- Student (Nathan Zook) wrote:
> Questions:
> ...
With the unit and functional tests that already exist. What cases do you have in mind?
> 2) In order to actually recover the memory, the symbol table has to be walked each time a sym... -
08:05 AM Revision 4002be60 (git): console.c: supppress warnings
- * ext/io/console/console.c (console_iflush, console_oflush): supppress
unused-but-set-variable warnings on no tcflush.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:28 AM Revision cab12477 (git): mingw build fix
- * configure.in: struct timeval is defined in winsock2.h on mingw.
* include/ruby/missing.h: include time.h for time_t, and sys/time.h
for timeval and timespec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39777 b2dd03c8-39d4-4d8... -
07:28 AM Revision af24f5ff (git): io.c: max_file_descriptor
- * io.c (max_file_descriptor): rb_atomic_t for ATOMIC_CAS().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:07 AM Revision 92b367e0 (git): * thread.c: disabled _FORTIFY_SOURCE for avoid to hit glibc bug.
- [Bug #8080] [ruby-core:53349]
* test/ruby/test_io.rb (TestIO#test_io_select_with_many_files):
test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:07 AM Revision c824d47e (git): * include/ruby/missing.h (__syscall): moved to...
- * io.c: here. because __syscall() is only used from io.c.
* include/ruby/missing.h: move "#include <sys/type.h>" to ....
* include/ruby/intern.h: here. because it was introduced for
fixing NFDBITS issue. [ruby-core:05179].
git-svn-id... -
05:07 AM Revision 03a6ce80 (git): * include/ruby/missing.h (struct timespec): include <sys/time.h>
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:06 AM Revision 798ff850 (git): * configure.in: check struct timeval exist or not.
- * include/ruby/missing.h (struct timeval): check HAVE_STRUCT_TIMEVAL
properly. and don't include sys/time.h if struct timeval exist.
* file.c: include sys/time.h explicitly.
* random.c: ditto.
* thread_pthread.c: ditto.
* time.c: ditt... -
05:06 AM Revision 2e544471 (git): * configure.in (_FORTIFY_SOURCE): added a few comments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:17 AM Bug #7037 (Closed): float formatting inconsistently rounds half to even
- >7037: float formatting inconsistently rounds half to even
> ...
>impl-specific, so this could be closed. -
02:27 AM Feature #6309: Add a reference queue for weak references
- I request a ruling by matz about adding a ReferenceQueue to weakref.rb.
-
02:26 AM Feature #6308: Eliminate delegation from WeakRef
- I request a ruling by matz for making the backward-incompatible change of having Weakref no longer be a Delegate. Alternatively, make it a Delegate where all delegated methods warn that you shouldn't use it as a Delegate.
If necessary... -
02:12 AM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
- kallistec (Daniel DeLeo) wrote:
> Hi, I work on Opscode's Chef, a server configuration framework. I have an interest in both parts of this topic. In Chef, we use set_backtrace but we also parse backtrace lines to find relevant code in o... -
02:01 AM Feature #8090: resolv.rb checks platform based on RUBY_PLATFORM, which is insufficient for JRuby
- I thought host_os is the OS that we're *actually* running on, and target_os was the OS name Ruby was built for. Was I mistaken?
I like checking RbConfig::CONFIG alone, if we can decide which key to use.