Activity
From 10/05/2013 to 10/11/2013
10/11/2013
-
10:42 PM Bug #8886: TracePoint API inconsistence when raise used
- I don't think ruby works like that right now. If :raise event occurs inside raise method, then when I print the backtrace of an exception, I should get the raise method as the first frame, just like when I do Thread.current.backtrace_loc...
-
10:21 PM Revision 86e6e2e7 (git): * remove trailing spaces, append newline at EOF.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:57 PM Feature #8636: Documentation hosting on ruby-lang.org
- >zzak
added you into docs.ruby-lang.org administrators. -
09:23 PM Feature #8636: Documentation hosting on ruby-lang.org
- Thank you shibata-san, could you add me to the new repository?
On Oct 11, 2013, at 2:04 AM, hsbt (Hiroshi SHIBATA) <shibata.hiroshi@gmail.com> wrote:
>
> Issue #8636 has been updated by hsbt (Hiroshi SHIBATA).
>
>
... -
09:23 PM Feature #8636: Documentation hosting on ruby-lang.org
- Sounds great, thanks okkez!!
On Oct 11, 2013, at 2:00 AM, okkez (okkez _) <redmine@ruby-lang.org> wrote:
>
> Issue #8636 has been updated by okkez (okkez _).
>
>
> zzak (Zachary Scott) wrote:
>>
>> I like docs subdomai... -
03:04 PM Feature #8636: Documentation hosting on ruby-lang.org
- >we need to rename this to https://github.com/docs.ruby-lang.org and merge zzak/docs.ruby-lang.org .
rename done!
-
03:00 PM Feature #8636: Documentation hosting on ruby-lang.org
- zzak (Zachary Scott) wrote:
>
> ...
This is OK to me.
BTW, we have a repository https://github.com/ruby/doc.ruby-lang.org .
If we decide to use docs subdomain,
we need to rename this to https://github.com/docs.ruby-lang.org and merge zz... -
09:35 PM Revision 9cadc95b (git): * NEWS (with all sufficient information):
- * lib/rake: Update to rake 10.1.0
* bin/rake: ditto.
* test/rake: ditto.
* NEWS: Update NEWS to include rake 10.1.0 and links to release notes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43264 b2dd03c8-39d4-4d8f-98ff-823fe6... -
06:27 PM Revision 52c13317 (git): * class.c, variable.c, gc.c (rb_class_tbl): removed.
- * vm.c, vm_core.h (rb_vm_add_root_module): added to register as a
defined root module or class.
This guard helps mark miss from defined classes/modules they are
only refered from C's global variables in C-exts.
Basically, it is e... -
06:26 PM Revision 86b2e9d0 (git): * vm_method.c (rb_gc_mark_unlinked_live_method_entries):
- revert last commit to introduce debug prints.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:03 PM Revision 9d70a175 (git): revert r43259 because it is possible to mark miss classes defined in C-exts. Thanks charliesome.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:33 PM Revision 3b0abede (git): * 2013-10-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:33 PM Revision 7aecb956 (git): * class.c, variable.c, gc.c (rb_class_tbl): removed.
- rb_class_tbl is no longer used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:23 PM Bug #9002: Use simpler example for File#expand_path
- Can we give both examples? I think the original example is a bit hard to understand due to two "..". In the first example we can show normal use and in second example, as you pointed out, how to resolve "..".
Eregon (Benoit Daloze) wrot... -
12:06 PM Revision 588586d9 (git): * internal.h, parse.y: use `full_mark' instead of `full_marking'.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:00 PM Revision 432834dd (git): * gc.c: use terminology `full_mark' instead of `minor_gc'
- in mark functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:46 AM Revision f6fcb9cc (git): * gc.c: use __GNUC__ instead of __GCC__.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:45 AM Revision f44b0e5b (git): * gc.c, parse.y: support generational Symbol relatetd marking.
- Each symbols has String objects respectively to represent
Symbols.
These objects are marked only when:
* full marking
* new symbols are added
This hack reduce symbols (related strings) marking time.
For example, on my Linux envir... - 10:31 AM Revision 73e01440 (git): Import ruby-electric.el 2.0.1, a bug fix release.
- * misc/ruby-electric.el: Import ruby-electric.el 2.0.1 which fixes
a bug and a flaw with auto-end introduced in the revamp.
* ruby-forward-sexp is inappropriate here because it moves the
cursor past the keyword.
* Fix a rever... -
10:18 AM Bug #7458: Depending on value of BigDecimal::limit, addition can give inaccurate results
- =begin
Still present in
(({ruby 2.1.0dev (2013-09-22 trunk 43011) [x86_64-linux]}))
=end
-
09:13 AM Revision 33ab98f9 (git): * ext/objspace/gc_hook.c: prohibit reentrant.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:12 AM Revision 542b31ca (git): * vm_trace.c (rb_postponed_job_flush): fix bit operation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:38 AM Revision 86597752 (git): Import ruby-electric.el 2.0.
- * misc/ruby-electric.el: Import ruby-electric.el 2.0 from
https://github.com/knu/ruby-electric.el which integrates changes
from another fork by @qoobaa.
* Allow ruby-electric-mode to be disabled by introducing a
dedicated key m... -
07:54 AM Revision 76f9281b (git): * vm_trace.c (rb_postponed_job_flush): simplify.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:23 AM Revision 19ae2748 (git): revert r43248. Should not set interrupt_flag.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:37 AM Bug #8492 (Closed): ObjectSpace.after_gc_start_hook aborts with GC.stress
- This issue was solved with changeset r43245.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
vm_trace.c: fix infinite hook
* thread.c (rb_threadptr_execute_in... -
12:09 AM Bug #8654: SEGV in Array#count
- ... and backport r42068, r42069 to suppress warning and fix failure on CI (run with -w option).
10/10/2013
-
11:56 PM Revision 12a5525b (git): vm_trace.c: use macro
- * vm_trace.c (rb_postponed_job_flush): use dedicated macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:52 PM Revision d7de5299 (git): vm_trace.c: suppress warnings
- * vm_trace.c (rb_postponed_job_flush): suppress clobbered variable
warnings on some gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:52 PM Revision 2d4c2453 (git): win32.h: define or declare finite always
- * include/ruby/win32.h (finite): always define or declare. some
mingw (maybe w64 only?) lack the declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:28 PM Bug #9013 (Closed): Crash on start
- I used RubyInstaller to install Ruby on Windows 7 (32-bit). I have many gems installed, though I'm not able to run gem list (no output). In my scripts I use mechanize.
I get the following error when I start irb:
C:\>irb
<internal:... -
11:16 PM Bug #9012: Interpreter crashes when I try to load any page in my rails 3.2 app
- =begin
naruse (Yui NARUSE) wrote:
> Could you make small reproducible code which doesn't include NDA code?
I can show you a trimmed-down controller, but it will probably not be of any help. Apparently, even a controller action that ... -
11:07 AM Bug #9012 (Feedback): Interpreter crashes when I try to load any page in my rails 3.2 app
- Could you make small reproducible code which doesn't include NDA code?
-
10:38 AM Bug #9012: Interpreter crashes when I try to load any page in my rails 3.2 app
- Can't deliver the code because of NDA. Alas.
-
10:34 AM Bug #9012 (Closed): Interpreter crashes when I try to load any page in my rails 3.2 app
- In my rails app (which works fine on all of my machines but Mac), attempting to request any page, either in the rails console or via the browser (using rails server) results in a ruby interpreter crash.
See the attached files for the ... -
09:30 PM Feature #5617: Allow install RubyGems into dediceted directory
- Here is recent version of the patch against ruby 2.1.0 preview1
http://pkgs.fedoraproject.org/cgit/ruby.git/tree/ruby-2.1.0-custom-rubygems-location.patch?h=private-ruby-2.1 -
09:27 PM Bug #7807: [PATCH] Remove duplicated load paths when empty version string is configured
- This is updated version of this patch against ruby 2.1 preview1:
http://pkgs.fedoraproject.org/cgit/ruby.git/tree/ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch?h=private-ruby-2.1 -
07:50 PM Bug #9010: ./configure --prefix= cannot handle directories with spaces
- maybe its a problem with your shell? on Mac i am currently using it works
hm or try if you can build ruby-trunk. -
10:22 AM Bug #9010 (Assigned): ./configure --prefix= cannot handle directories with spaces
-
07:50 AM Bug #9010 (Assigned): ./configure --prefix= cannot handle directories with spaces
- It appears that the linking task fails when the --prefix value contains spaces.
Steps to Reproduce:
1. ./configure --prefix="$HOME/foo bar"
2. make
Expected Result: success
Actual Result:
make[2]: Entering directory `/home/... -
06:48 PM Bug #9002: Use simpler example for File#expand_path
- I don't know, the original example shows File.expand_path does resolve ".." and such.
Your example could be interpreted as File.expand_path being just File.join with reversed arguments.
On the other hand, ".." could be used just once i... -
06:36 PM Revision 53861b8a (git): vm_trace.c: fix infinite hook
- * thread.c (rb_threadptr_execute_interrupts): flush postponed job only
once at last.
* vm_trace.c (rb_postponed_job_flush): defer calling postponed jobs
registered while flushing to get rid of infinite reentrance of
ObjectSpace.aft... -
06:33 PM Feature #8976: file-scope freeze_string directive
- akr (Akira Tanaka) wrote:
> 2013/10/10 headius (Charles Nutter) <headius@headius.com>:
> ...
I think freezing these literals by adding ".freeze" to each of them is appropriate, these literals should already (in current version) be froz... -
12:59 AM Feature #8976: file-scope freeze_string directive
- 2013/10/10 headius (Charles Nutter) <headius@headius.com>:
> Issue #8976 has been updated by headius (Charles Nutter).
>
> See also #8992 that might address all issues by simply making the compiler and #freeze methods smarter.
>... -
12:43 AM Feature #8976: file-scope freeze_string directive
- boris_stitnicky (Boris Stitnicky) wrote:
> "..."f might be mildly ugly, but is hard to beat.
> ...
I still don't like file-scope directive since it changes *behavior* rather than just *content*. In other words, a file that gains a froz... -
06:12 PM Feature #8823 (Rejected): Run trap handler in an independent thread called "Signal thread"
-
06:07 PM Bug #8492: ObjectSpace.after_gc_start_hook aborts with GC.stress
- 随分放置してしまってすみません。
これ、今でもなりますか? 手元ではなんか
$ ./ruby -robjspace -e'ObjectSpace.after_gc_start_hook=proc{};GC.stress=true;{}'
セグメンテーション違反です
などと出てしまう。これはこれでまずかろう、という気もしますが...。 -
06:06 PM Bug #7976 (Feedback): TracePoint call is at call point, not call site
- This behavior is same as backtrace.
Nearest file name and line number is used for C call,
because there are no file name and line for C methods.
```
# modify trace as follows:
tp = TracePoint.new(:call, :return, :c_call, :c_return... -
05:35 PM Bug #8886: TracePoint API inconsistence when raise used
- deivid (David Rodríguez) wrote:
> Expected output
> ...
Could you tell me why it is expected?
:raise event occures in raise method. So the current behavior works for me.
-
05:31 PM Bug #8622 (Closed): Tracepoint API: B_RETURN_EVENT not triggered when "return" used inside lambda
- This issue was solved with changeset r43237.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm.c (vm_exec): support :b_return event for "lambda{return}.ca... -
05:19 PM Bug #8974 (Closed): TestTracepointObj#test_tracks_objspace_events
- nobu fixed this issue by r43209. Thanks!!
- 04:29 PM Revision abd6dc8c (git): * 2013-10-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:28 PM Revision b28ce966 (git): st.c: revert st_keys
- * st.c: revert st_keys() at r43238. VALUE cannot be in st.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:09 PM Revision f0aa3711 (git): merge revision(s) 42068,42069: [Backport #8654]
- Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:04 PM Revision d4f37a55 (git): * array.c (rb_ary_or): remove unused variables.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:02 PM Revision 2423e3f3 (git): * array.c (rb_ary_or): use rb_hash_keys().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:37 PM Revision 840cd22d (git): * array.c (rb_ary_compact_bang): use ary_resize_smaller().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:06 PM Revision 026955e3 (git): * st.c (st_keys): define st_keys() for performance improvement of
- Hash#keys and Array#uniq.
* st.h: ditto.
* hash.c (rb_hash_keys): use st_keys().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:53 AM Feature #8998: string keys for hash literals should use fstrings
- The issue I had with my original patch is fixed by nobu with r43210
Thanks!
So my proposed patch should be safe to apply, but it's only a partial
implementation of the idea for this feature.
I don't think I'll have time+en... -
11:53 AM Bug #9011: rb_fstring unsafe to use in general case
- "ko1 (Koichi Sasada)" <redmine@ruby-lang.org> wrote:
> Nobu's patch r43210 may solve this problem. Could you verify it?
Thanks, I did not think to update my repo :x
Anyways, r43210 works fine.
> BTW, I don't like this fix.... -
10:01 AM Bug #9011: rb_fstring unsafe to use in general case
- Nobu's patch r43210 may solve this problem. Could you verify it?
BTW, I don't like this fix. I'll try fix by another way.
-
09:26 AM Bug #9011 (Closed): rb_fstring unsafe to use in general case
- I don't think the current "frozen"f in pure Ruby code is unsafe
(I haven't reproduced a crash)
But I do not think rb_fstring is generally safe for other C code, including extension authors
Consider the following case:
f... -
11:53 AM Feature #7854: New method Symbol[string]
- Is this feature request rejected? I thought it would be in 2.1
On 10/01/2013 06:15 PM, Student (Nathan Zook) wrote:
> Issue #7854 has been updated by Student (Nathan Zook).
>
>
> This was set to "next minor" a LONG time... -
10:56 AM Bug #8995: バイナリデータを文字列として encode! すると readbyte の結果が変化する
- なかださんの指摘の通り、
> return params.force_encoding("UTF-8").encode!
の行は何がしたいのかよくわかりませんね。
本当は
> ...
とやって、まさに Ruby 2.1 の挙動にしたかったのかな。
結論もなかださんの仰るとおり、
バイナリデータフラグを加えるか、ASCII-8BITで流すかあたりになるんじゃないかと思います。 -
08:31 AM Revision 4599d3ef (git): * vm.c (vm_exec): support :b_return event for "lambda{return}.call".
- [Bug #8622]
* test/ruby/test_settracefunc.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:33 AM Revision d63f9e93 (git): win32.c: bail out if no memory
- * win32/win32.c (rb_w32_write_console): bail out when buffer
allocation failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:33 AM Revision 09b02349 (git): numeric.c: no declaration of finite
- * numeric.c (finite): disable declaration on Windows, which can be
defined in ruby/win32.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:56 AM Revision fa7bf880 (git): * vm_trace.c (postponed_job): use preallocated buffer.
- Pre-allocate MAX_POSTPONED_JOB (1024) sized buffer
and use it.
If rb_postponed_job_register() cause overflow, simply it
fails and returns 0.
And maybe rb_postponed_job_register() is signal safe.
* vm_core.h: change data structure... -
03:21 AM Bug #9009 (Closed): Wrong binding when tracing c-calls
- When I use set_trace_func to trace ruby code, I get a wrong binding in
case of c-calls. In this case binding.eval("self") is not the receiver
of the call. Whereas in case of ruby-calls binding.eval("self") yields
the receiver of the c... -
03:13 AM Revision 3d3a0d88 (git): string.c: use str_duplicate
- * string.c (rb_str_resurrect): use str_duplicate(), which does
completely same.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:11 AM Revision 16095eb1 (git): vm.c: hide singleton class of frozen-core
- * vm.c (Init_VM): hide also the singleton class of frozen-core, not
only frozen-core itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:04 AM Feature #8956: Allow hash members delimited by \n inside of {}
- sawa,
Could you elaborate? I still find that expression to be ambiguous. Here's another example that works with ruby 2.0.0-p247:
~~~ruby
def foo(a, b = 0, c = 0)
a + b + c
end
def bar(a = 1, b = 0)
a + b
end
puts foo... -
12:54 AM Feature #8956: Allow hash members delimited by \n inside of {}
- adamdunson,
As I wrote already, omission of comma is to be allowed only when the `()[]{}|` is not omitted.
~~~ruby
foo(bar 1 2)
~~~
would be unambiguously `foo` taking three arguments `bar`, `1`, and `2`.
-
12:24 AM Feature #8956: Allow hash members delimited by \n inside of {}
- Hi sawa,
> Another case where similar syntax might be relevant is `| |` inside a block. ... should go together with ... arguments in method definition
I agree. Arguments in method definitions have been on my to-do list — I haven't ... -
01:37 AM Bug #9003: Range.new on objects without <=> but with Comparable does raise SystemStackError, and if this is catched it crash in "Segmentation fault"
- backport r43208 to ruby_2_0_0 at r43230.
-
01:29 AM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants fails on ARM
- > Why clock_gettime on Fedora Rawhide (ARM) doesn't cause EINVAL for
> ...
That is good question. I was hoping that you might know better ... So to say, I have no idea. I tried to identify the place where the error is risen, but I fail... -
01:12 AM Bug #8768: [PATCH] tempfile: undefine finalizer on unlink
- backport r43110 and r43155 to ruby_2_0_0 at r43229.
-
01:04 AM Bug #8654: SEGV in Array#count
- backported r42040, r42041 and r42047 to ruby_2_0_0 at r43228.
-
01:01 AM Feature #8977: String#frozen that takes advantage of the deduping
- Actually, I'm getting pretty down on having the fstring cache at all. It seems like if we want a string pool, it should be via a library. Adding something into Ruby that pools strings for you just seems like asking for trouble, either du...
-
12:46 AM Feature #8977: String#frozen that takes advantage of the deduping
- I believe we should just make #freeze use the fstring pool as mentioned in #8992. I do not see any disadvantages to this other than having strings stick around a bit longer in implementations that keep them in a weak map.
-
12:55 AM Bug #8769: [PATCH] process.c (rb_fork_internal): remove cloexec setting
- backported to ruby_2_0_0 at r43227.
-
12:39 AM Bug #8990: please disable *context on hurd
- backported to ruby_2_0_0 at r43225.
-
12:28 AM Feature #8257: Exception#cause to carry originating exception along with new one
- matz (Yukihiro Matsumoto) wrote:
> * Fundamentally accepted.
Hooray!
> ...
java.lang.Throwable does not have #setCause, so I agree. It does have #initCause, which can only be called once (if cause has not already been provided via... -
12:03 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
- =begin
Note that if #8992 is accepted, the same optimization could apply to arrays and hashes. In other words:
[].freeze
{}.freeze
[:foo, 1, true].freeze
{:foo => 1}.freeze
could all be optimized to return the same obje...
10/09/2013
-
11:46 PM Misc #9007 (Closed): ruby 1.9.x not maintained?
-
11:41 PM Misc #9007: ruby 1.9.x not maintained?
- looks great, thank you! - this ticket can be closed.
-
09:47 AM Misc #9007: ruby 1.9.x not maintained?
- There is a page:
http://bugs.ruby-lang.org/projects/ruby/wiki/ReleaseEngineering
-
08:14 AM Misc #9007 (Closed): ruby 1.9.x not maintained?
- I would like to warn users installing old Ruby via RVM about old versions, I was told that 1.9.1/2/3 is no more maintained but I can not find any announcement for that, is there a page displaing currently supported/maintained ruby versions?
-
10:27 PM Feature #8257: Exception#cause to carry originating exception along with new one
- Hi,
* Fundamentally accepted.
* I am against #cause=
* It's OK that #raise to have cause: keyword argument to specify cause
* I am not sure automagical capturing of $! would not cause wrong capturing or not
Matz.
-
10:23 PM Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants fails on ARM
- 2013/10/9 vo.x (Vit Ondruch) <v.ondruch@tiscali.cz>:
> Bug #9008: TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants fails on ARM
> https://bugs.ruby-lang.org/issues/9008
> I observe following... -
10:14 PM Bug #9008 (Rejected): TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants fails on ARM
- =begin
I observe following two errors on ARM Building Ruby for Fedora Rawhide. It seems that (({:CLOCK_REALTIME_ALARM})) and (({:CLOCK_BOOTTIME_ALARM})) are not supported there. The error message is confusing, though :/
3) Erro... -
09:53 PM Feature #8636: Documentation hosting on ruby-lang.org
- Hello Okkez, Thanks for your feedback!
On Oct 8, 2013, at 10:13 PM, okkez (okkez _) <redmine@ruby-lang.org> wrote:
>>
>> I think docs.ruby-lang.org/en will be default for now, as we add more translations we can list them on... -
11:13 AM Feature #8636: Documentation hosting on ruby-lang.org
- Sorry for my late response.
I couldn't notice this issue.
zzak (Zachary Scott) wrote:
> Hello!
> ...
I think docs.ruby-lang.org/ will show links to other languages.
(See doc.ruby-lang.org. It's very very simple page I craeted;-))
... -
01:23 AM Feature #8636: Documentation hosting on ruby-lang.org
- Hello!
> On Oct 7, 2013, at 11:10 AM, "kou (Kouhei Sutou)" <kou@cozmixng.org> wrote:
>
>> For now, I think we should just have docs.ruby-lang.org be the english documentation site. However, I'd like more feedback from the RUREMA t... -
09:04 PM Revision dcad4bda (git): * test/ruby/test_rand.rb: fix r43224. local variable `e' is
- no longer available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:12 PM Bug #7565: Redundant functions in ruby-additional.el
- I'll handle this.
-
04:36 PM Revision c05d019c (git): merge revision(s) 43208: [Backport #9003]
- * compar.c (cmp_eq): fail if recursion. [ruby-core:57736] [Bug #9003]
* thread.c (rb_exec_recursive_paired_outer): new function which is
combinnation of paired and outer variants.
git-svn-id: svn+ssh://ci.ruby-lang.... -
04:11 PM Revision a577137c (git): merge revision(s) 43110,43155: [Backport #8768]
- * lib/tempfile.rb (Tempfile#unlink): finalizer is no longer needed
after unlinking. patched by by normalperson (Eric Wong) at
[ruby-core:56521] [Bug #8768]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_... -
04:04 PM Revision 0a57e6c9 (git): merge revision(s) 42040,42041,42047: [Backport #8654]
- * array.c (rb_ary_count): iterate items appropriately.
[Bug #8654]
* array.c (rb_ary_count): check length to avoid SEGV
while iterating. Remove other pointer loop when arg is given.
* test/ruby/test_... -
04:03 PM Bug #8812: RSS: document more constants
- Any time. :)
-
04:03 PM Bug #8821: Add documentation for Time#w3cdtf
- Great! Do you need me to modify the patch, or is this simple enough to change as you apply it?
-
04:02 PM Bug #8889: Nodoc large parts of RSS
- Sounds good to me. I'm not sure when I will get to it, but that makes sense.
-
03:54 PM Revision f4811c7e (git): merge revision(s) 43008: [Backport #8769]
- * process.c (rb_fork_internal): remove cloexec setting on pipes
created by rb_cloexec_pipe. patch by normalperson (Eric Wong) at
[ruby-core:56523]. [Bug #8769]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/... -
03:37 PM Revision 1572c8ed (git): merge revision(s) 43179,43180,43181,43192,43193: [Backport #8990] [Backport #9000]
- * configure.in, win32/Makefile.sub (FIBER_USE_NATIVE): move conditions
from cont.c
* cont.c (FIBER_USE_NATIVE): split long conditions.
* cont.c: disable FIBER_USE_NATIVE on GNU/Hurd because it doesn't
... -
03:20 PM Revision 6da62ade (git): merge revision(s) 43077,43078: [Backport #8937]
- * test/dl/test_base.rb: {libc, libm} detection now handle GNU/Hurd
correctly. Patch by Gabriele Giacone (1o5g4r8o@gmail.com).
* test/fiddle/helper.rb: ditto.
[Bug #8937][ruby-core:57311]
git-svn-id: svn+ssh... -
03:17 PM Revision 2918f391 (git): test/ruby: assert_raise_with_message
- * test/ruby: use assert_raise_with_message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:08 PM Revision e92ee13c (git): * 2013-10-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:08 PM Revision 487a25d2 (git): * numeric.c (fix_aref): avoid a possible undefined behavior.
- 1L << 63 on 64-bit platform is undefined, at least, according to
ISO/IEC 9899 (C99) 6.5.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:07 PM Revision 8b73cefe (git): merge revision(s) 43177,43191: [Backport #8991]
- * lib/time.rb (Time.strptime): Use :offset.
Patch by Felipe Contreras. [ruby-core:57694]
* lib/time.rb (Time.strptime): Time.strptime('0', '%s') returns local
time Time object as Ruby 2.0 and before.
git-s... -
02:57 PM Revision 9eecfd5c (git): merge revision(s) 43092: [Backport #8969]
- * gc.c (rb_gc_disable): do rest_sweep() before disable GC.
This fix may solve a failure of
TestTracepointObj#test_tracks_objspace_events
[test/-ext-/tracepoint/test_tracepoint.rb:43].
git-svn-id: svn+ssh:/... -
02:57 PM Revision 24cf7202 (git): object.c: avoid inadvertent symbol creation
- * object.c (id_for_attr): avoid inadvertent symbol creation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:53 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- normalperson (Eric Wong) wrote:
> "headius (Charles Nutter)" <headius@headius.com> wrote:
> ...
I think we do. The worst case scenario is that *while referenced* we have more entries in the table, which may include strings that become ... -
02:48 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- headius (Charles Nutter) wrote:
> This question applies equally to "str"f logic. I'm not sure what the answer is, because I don't know how frozen strings in @charliesome's patch interact with C extensions.
Actually, it occurred to me... -
02:46 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- sam.saffron (Sam Saffron) wrote:
> @hedius
> ...
This question applies equally to "str"f logic. I'm not sure what the answer is, because I don't know how frozen strings in @charliesome's patch interact with C extensions.
I don't th... -
12:01 PM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- @hedius
What happens when a string pointer leaks out to a c extension? -
11:29 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- "headius (Charles Nutter)" <headius@headius.com> wrote:
> So here's the same question I asked in the #frozen feature: why can't
> #freeze just use the fstring table?
That would be an interesting experiment. After all, it is #f... -
09:25 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- sam.saffron (Sam Saffron) wrote:
> I am actually very concerned about compiler tricks with freeze cause it leads to non-obvious code.
> ...
I don't think you should *ever* rely on this to be true, since it won't be on older Ruby impls... -
06:56 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- I am actually very concerned about compiler tricks with freeze cause it leads to non-obvious code.
x = "hello".freeze
y = "hello".freeze
x.object_id
> 10
x.object_id == y.object_id
a = "hello"
a.object_id
> ...
a.freeze
a.o... -
06:47 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix - I feel like we're getting a bit off topic in this thread.
The main benefit of optimizing String#freeze is maintaining backwards compatibility with older Rubies. Think of it as a kind of 'progressive enhancement'.
Introducing new sy... -
06:04 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- Yep, we can discard the accent.
The double pipe can be tricky is you want to set a frozen string as default value of a block argument.
The double ^ has confict with the xor operator.
The double ~ has conflict with the complement ope... -
05:35 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- cibernox (Miguel Camba) wrote:
> I have another idea What about wrap strings in double backquotes or accents?
> ...
I don't think the parser can distinguish this from normal backquotes that are empty...but there's no value to supportin... -
04:24 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- I have another idea What about wrap strings in double backquotes or accents?
"this is an interpolable string"
'this is an uninterpolable string'
``this is a frozen string`` => double backquoute
´this is also a frozen string´ => simpl... -
02:14 PM Revision 372eb2cb (git): * ChangeLog; fix typos in r43170.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:03 PM Bug #8993: Request for clarification on method argument binding for keyword arguments
- I don't believe that's true. If I understand #8040 correctly, it's change is well summarized in comment 2:
> But, it may be good that we consider the hash for a keyword *only when* the number of arguments is more than the expected manda... -
01:53 PM Bug #9003 (Closed): Range.new on objects without <=> but with Comparable does raise SystemStackError, and if this is catched it crash in "Segmentation fault"
- This issue was solved with changeset r43208.
Hans, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
compar.c: fail if recursion
* compar.c (cmp_eq): fail if recursi... -
04:47 AM Bug #9003: Range.new on objects without <=> but with Comparable does raise SystemStackError, and if this is catched it crash in "Segmentation fault"
- about JRuby ... i heard that it ignores the "rescue SystemStackError" clause ... i try to file an bug somewhere
-
04:40 AM Bug #9003 (Closed): Range.new on objects without <=> but with Comparable does raise SystemStackError, and if this is catched it crash in "Segmentation fault"
- this code causes "Segmentation fault: 11"
o1=Object.new
o1.extend(Comparable)
o2=Object.new
o2.extend(Comparable)
begin
p Range.new(o1,o2) # raises Stack Error
rescue SystemStackError
end
begin
p Range.new(o1,o2) # S... -
01:27 PM Revision e3a716a2 (git): test_module.rb: quote name
- * test/ruby/test_module.rb (test_bad_constants, test_invalid_attr):
encode and quote name properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:23 PM Revision 437cfad0 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:23 AM Feature #8998: string keys for hash literals should use fstrings
- I think my failed patch exposes a bug with lazy sweep + rb_fstring.
Lazy sweep GC means the element remains in the frozen_string hash,
fstr1 = rb_fstring(str)
fstr1 goes out of scope
GC mark runs ...
fstr1 is eligible f... -
06:29 AM Feature #8998: string keys for hash literals should use fstrings
- attaching output of "make check" and gdb backtrace
-
06:17 AM Feature #8998: string keys for hash literals should use fstrings
- Proposed patch to partially implement this, but I get segfaults (backtrace/dump coming) with "make check".
There probably needs to be some RGenGC-related calls/fixes for this.
Note: this patch does not avoid the short-lived, unfrozen... -
09:03 AM Revision e70f74c3 (git): vm_method.c: preserve encoding
- * vm_method.c (rb_attr): preserve encoding of the attribute ID in
error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:03 AM Revision ef46e8d2 (git): test_inadvertent_creation.rb: fix assertion name
- * test/-ext-/symbol/test_inadvertent_creation.rb: fix assertion name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:45 AM Revision 6af3029c (git): test_inadvertent_creation.rb: use assert_not_interned?
- * test/-ext-/symbol/test_inadvertent_creation.rb: use
assert_not_interned? instead assert_not_send.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:43 AM Revision 9ef55da9 (git): test/unit/assertions.rb: return exception
- * lib/test/unit/assertions.rb (assert_raise_with_message): return
raised exception same as assert_raise.
* test/ruby, test/-ext-: use assert_raise_with_message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43212 b2dd03c8-39d4-4d... -
08:41 AM Revision 289d6bb3 (git): test: use assert_raise
- * test/ruby, test/-ext-: use assert_raise instead of assert_raises.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:40 AM Revision a28de81a (git): string.c: mark frozen string
- * string.c (rb_fstring): because of lazy sweep, str may be unmaked
already and swept at next time, so mark it for the time being.
[ruby-core:57756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43210 b2dd03c8-39d4-4d8f-98ff-823f... -
08:39 AM Revision b1b4724e (git): test_tracepoint.rb: include zombies
- * test/-ext-/tracepoint/test_tracepoint.rb (test_tracks_objspace_count):
free count should include zombies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:31 AM Misc #9006: build and host binary rubies
- oh that's my bad and easy thing to fix, thanks for heads up! (I guess the binaries can be build fresh if/when Ruby decides to take over the process)
-
08:25 AM Misc #9006: build and host binary rubies
- =begin
Hello Michal,
Platform binaries is a great thing, however I noticed that your username leaked into the generated (({rbconfig})) file:
$ gem env paths
/Users/mpapis/.rvm/gems/ruby-2.0.0-p247
I believe this is caused by... -
08:05 AM Misc #9006 (Rejected): build and host binary rubies
- I wanted to ask ruby to take back the binary rubies, currently they are maintained as part of RVM.
The build is done using: https://github.com/rvm/rvm-binary
The binaries are hosted: https://rvm.io/binaries/
I'm also fine with s... -
07:46 AM Bug #7445: strptime('%s %z') doesn't work
- So let's recap the current situation.
`Time.strptime()` has been fixed in Ruby Core, and Rubinious has fixed `strptime()` in both `Time`, and `DateTime` in rubysl.
So we have this:
### Ruby MRI
~~~ruby
puts Time.strptime('1 ... -
07:40 AM Bug #9005 (Closed): object.send(:define_method, ...){...} creates private method
- I assume this is caused by r40022, which made define_method consider visibility. However, visibility should only be considered if define_method is called normally, not via send. When called via send, it should define a public method. H...
-
07:04 AM Bug #8984: ObjectSpace.memsize_of(obj) should return with sizeof(RVALUE)
- Personally I have only ever seen mention of this in http://stackoverflow.com/questions/10068018/memory-size-of-a-hash-or-other-object
I googled pretty hard and all I saw was wonderful pictures of tenderlove and a slightly less accurat... -
04:53 AM Revision 90c1ebbf (git): compar.c: fail if recursion
- * compar.c (cmp_eq): fail if recursion. [ruby-core:57736] [Bug #9003]
* thread.c (rb_exec_recursive_paired_outer): new function which is
combinnation of paired and outer variants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@432... -
04:50 AM Bug #9004: gem which command should exit with status of '1' if 1 or more gem arguments are not found
- Apologies for breaking the formatting of Description.
rpm case
# rpm -q man
man-1.6f-32.el6.x86_64
# echo $?
0
# rpm -q man cheese
man-1.6f-32.el6.x86_64
package cheese is not installed
# echo $?
1
gem which case
$ ge... -
04:45 AM Bug #9004 (Closed): gem which command should exit with status of '1' if 1 or more gem arguments are not found
- =begin
Many unix utilities exit with a code of 1 if any parts of the command fail, in particular ((%rpm%)). I believe its desirable for ((%gem which%)) to behave similar to ((%rpm -q%)) for this use case.
# rpm -q man
man-1.6f-... -
04:27 AM Revision b203f673 (git): vm_backtrace.c: copy without creating prefix string
- * vm_backtrace.c (rb_profile_frame_full_label): copy from label
directly, without creating prefix string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:11 AM Revision 37fb9983 (git): test_require.rb: need verbose
- * test/ruby/test_require.rb (test_race_exception): need $VERBOSE
setting, to emit warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:06 AM Bug #9002 (Closed): Use simpler example for File#expand_path
- Use simpler example for File#exapnd_path when start_directory path is given.
-
12:21 AM Revision b753b960 (git): * include/ruby/debug.h,
- vm_backtrace.c (rb_profile_frame_full_label): add new C API
rb_profile_frame_full_label() which returns label with
qualified method name.
Note that in future version of Ruby label() may return
same return value of full_label().
*...
10/08/2013
-
11:43 PM Feature #9001 (Rejected): Please package better standard library
- Please package better alternative to the standard library
irb->pry,
rexml->nokogiri,
fiddle->ffi, ..
just mean include more better gem to standard install,
and use rubygem upgrade.
Ruby is designed to make programmers happ... -
11:34 PM Bug #8995: バイナリデータを文字列として encode! すると readbyte の結果が変化する
- 同じエンコーディング間では何もしていなかったので、防御にはなっていなかったんじゃないでしょうか。
-
11:14 PM Bug #8995: バイナリデータを文字列として encode! すると readbyte の結果が変化する
- rails の該当箇所は rails 3 リリース時から存在するもので、invalid な utf-8 をパラメータとして渡して攻撃するものを防御するためのコードのようです。いったん、rails 側で何とかできないか考えてきます。
-
11:06 PM Bug #8995 (Third Party's Issue): バイナリデータを文字列として encode! すると readbyte の結果が変化する
- まぁ、そもそもバイナリデータをエンコーディング変換したら壊れるのが当然ですね。
-
10:18 PM Bug #8995: バイナリデータを文字列として encode! すると readbyte の結果が変化する
- =begin
理由はr40390です。
* transcode.c (str_transcode0): If invalid: :replace is specified for
String#encode, replace invalid byte sequence even if the destination
encoding equals to the source encoding.
(({encode_params}))の... -
05:11 PM Bug #8995: バイナリデータを文字列として encode! すると readbyte の結果が変化する
- =begin
最小コードはこんな感じですね。
$ ruby -E:UTF-8 -e 'p "\xff".encode.unpack("C*")'
[239, 191, 189]
(({Encoding.default_internal}))をセットしていると、同じエンコーディング同士でも変換が起きているようです。
=end
-
04:49 PM Bug #8995 (Third Party's Issue): バイナリデータを文字列として encode! すると readbyte の結果が変化する
- =begin
Rails の以下のコードの結果が 2.0 と 2.1 とで異なるようです。
((<encode_params|URL:https://github.com/rails/rails/blob/3-2-stable/actionpack/lib/action_dispatch/http/parameters.rb#L51>))
以下が最小ケースです。
$ ruby -v
=> ruby 2.1.0dev (2013-10-07 tr... -
09:14 PM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- ektoric (Patrick Tou) wrote:
> http://rubyforge.org/tracker/index.php?func=detail&aid=17368&group_id=426&atid=1698
Thanks for the link.
> ...
Seems to me <=> including a "raise" still hides it:
class C; include Comparable; ... -
09:27 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- http://rubyforge.org/tracker/index.php?func=detail&aid=17368&group_id=426&atid=1698
Things have "improved" since 2008. If the <=> includes a raise, #== now also raises the exception. Unfortunately, if there is some other exception (... -
06:54 PM Feature #8998 (Closed): string keys for hash literals should use fstrings
- While we're introducing optimizations from frozen strings,
string keys inside hashes should be frozen at the compiler level
to prevent duplication.
a = { "ABC" => :t }
b = { "ABC" => :t }
# the following ought to print true
... -
06:36 PM Bug #8997 (Third Party's Issue): TestSignal#test_hup_me hangs up the test suite
- The TestSignal#test_hup_me was introduced in r39819 and there were attempt to fix some deadlock issue in r39862. However, I can still observe deadlock on Fedora Rawhide's builders. Not sure what is the cause, since I cannot reproduce it ...
-
05:43 PM Bug #8996 (Closed): pthread_mutex_lock EINVAL
- ruby crashes leaving a stacktrace. . Cause is pthread_mutex_lock EINVAL
Based on the ruby source line where the problem happens (line 121 below)
119 def stop
120 if @tcpServerThread
121 @tcpServerThread.raise... -
04:45 PM Feature #8994 (Open): add methods for Float to get if an NaN is quiet or not, also add class methods for Float to "generate" an quiet NaN and an loud NaN
- Currently its not easy possible to know of an NaN in ruby is silent or not
like Float::NAN.quiet?
there should also methods to make an new NaN like Float::quiet_nan, maybe with the possibility to set user data
also there is
... -
04:03 PM Feature #8976: file-scope freeze_string directive - "..."f might be mildly ugly, but is hard to beat.
5 minutes of my thinking did not yield any better idea.
I share mame's feeling abou the file-scope directive. -
09:29 AM Feature #8976: file-scope freeze_string directive
- 2013/10/8 mame (Yusuke Endoh) <mame@tsg.ne.jp>:
> Issue #8976 has been updated by mame (Yusuke Endoh).
>
> "...".dup looks too verbose to me.
> How about using "..." for a mutable string and '...' for an immutable?
I consid... -
08:50 AM Feature #8976: file-scope freeze_string directive
- "...".dup looks too verbose to me.
How about using "..." for a mutable string and '...' for an immutable?
I'm not so keen on a file-scope directive itself, though...
--
Yusuke Endoh <mame@tsg.ne.jp> -
03:56 PM Revision 21e858e5 (git): load.c: display backtrace to $stderr
- * load.c (load_lock): display backtrace to $stderr at circular
require.
* vm_backtrace.c (rb_backtrace_print_to): new function to print
backtrace to the given output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43204 b2dd03c8-... - 03:34 PM Revision 42976d75 (git): * 2013-10-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:34 PM Revision a2b44810 (git): io.c: use rb_funcallv
- * io.c (rb_io_write): use rb_funcallv() instead of rb_funcall() to get
rid of unnecessary alloca.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:50 PM Revision 3f167b72 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:42 PM Revision 6fa584e2 (git): Fix a typo: s/preceging/preceding/
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:08 PM Revision cff2b2b6 (git): * vm_backtrace.c, include/ruby/debug.h: add new APIs
- * VALUE rb_profile_frame_method_name(VALUE frame)
* VALUE rb_profile_frame_qualified_method_name(VALUE frame)
* iseq.c (rb_iseq_klass), internal.h: add new internal function
rb_iseq_method_name().
* ext/-test-/debug/profile_frames.c (p... -
11:53 AM Bug #8993: Request for clarification on method argument binding for keyword arguments
- JRuby's behavior is equal to MRI older than fixing #8040.
If the last argument is a Hash, and the method defines keyword arguments, the last argument is used as the keyword arguments. -
03:01 AM Bug #8993 (Closed): Request for clarification on method argument binding for keyword arguments
- =begin
I recently fixed keyword arguments in the JRuby interpreter, and I then found an example for which MRI and JRuby have different behavior:
def foo(a, b, c=1, *d, e, f:2, **g)
[a, b, c, d, e, f, g]
end
foo(1, 2, f... -
11:25 AM Bug #8990: please disable *context on hurd
- Committed at r43193. Thank you!
-
11:14 AM Bug #8990 (Closed): please disable *context on hurd
- This issue was solved with changeset r43193.
Gabriele, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* cont.c: disable FIBER_USE_NATIVE on GNU/Hurd because it doe... -
09:19 AM Bug #8990: please disable *context on hurd
- kosaki (Motohiro KOSAKI) wrote:
> 1. Every workaroud patch should have a comment why it is needed any which version has a problem. Even though prior work don't.
Comment might be: "GNU/Hurd doesn't fully support {get,set,make,swap}con... -
07:59 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- "headius (Charles Nutter)" <headius@headius.com> wrote:
> I propose that we eliminate the new "f" suffix and just make the compiler
> smart enough to see literal strings with .frozen the same way.
>
> So this code:
>
> str... -
05:33 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- I am happy to see another discussion on this, I feel "str"f is just a hack.
I strongly agree and think #freeze is the right name.
On the aesthetics side, I personally dislike prefix/suffix forms, they feel like u'str' in python whi... -
03:27 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- =begin
I am leaning toward #frozen if we want a new name... as in "give me the frozen version of this string". I know that there was some concern that "frozen" was too similar to "freeze" in http://bugs.ruby-lang.org/issues/8977 but it ... -
03:18 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix - +1 for optimized String#freeze as it will work on previous versions of Ruby:
I've written a patch implementing this feature: https://gist.github.com/charliesome/6836600 -
03:10 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- Optimizing the #freeze or #frozen methods to do this make a lot more sense to me
than the `""f` suffix to me.
I'm +1 on #frozen and preventing redefinition of that method, but I further
propose that we raise an error if redefining f... -
03:04 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- > If we do not want to overload the existing .freeze method in this way, we could follow suggestions in http://bugs.ruby-lang.org/issues/8977 to add a new "frozen" method (or some other name) that the compiler would understand.
I li... -
02:56 AM Feature #8992 (Closed): Use String#freeze and compiler tricks to replace "str"f suffix
- BACKGROUND:
In https://bugs.ruby-lang.org/issues/8579 @charliesome introduced the "f" suffix for creating already-frozen strings. A string like "str"f would have the following characteristics:
* It would be frozen before the expres... -
07:19 AM Revision 377758fd (git): test_rubyoptions.rb: only one Bogus object
- * test/ruby/test_rubyoptions.rb (test_segv_loaded_features): leave
only one Bogus object in $LOADED_FEATURES.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:11 AM Revision 9c6ea2f2 (git): array.c: use rb_hash_values
- * array.c (rb_ary_uniq): use rb_hash_values(), as well as the case no
block is given.
* internal.h: define rb_hash_values() as internal API.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:35 AM Revision 827f4d65 (git): array.c: set class
- * array.c (rb_ary_uniq): set class of the return value to the receiver
class. fix failure in TestArray#test_array_subclass.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:28 AM Feature #8579: Frozen string syntax
- See also http://bugs.ruby-lang.org/issues/8992 which proposes just making "literal string".freeze do the right thing in the compiler.
FROZEN { } is not terrible syntax, but it's the longest one suggested. -
02:53 AM Feature #8579: Frozen string syntax
- (2013/08/31 16:20), charliesome (Charlie Somerville) wrote:
> Feature #8579: Frozen string syntax
Just another syntax idea:
FROZEN{ 'foo' }
Advantage:
* Can implement on Ruby level in 2.0 or before
* Can extend fo... -
05:19 AM Revision 50148401 (git): array.c: remove unused variables
- * array.c (rb_ary_uniq): remove no longer used local variables since
r43194.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:56 AM Revision 41eb48b8 (git): * array.c (rb_ary_uniq): use rb_hash_keys().
- * internal.h: define rb_hash_keys() as internal API.
* hash.c (rb_hash_keys): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:14 AM Revision 1fa5d76a (git): * cont.c: disable FIBER_USE_NATIVE on GNU/Hurd because it doesn't
- support a combination getcontext() and threads. Patch by
Gabriele Giacone (1o5g4r8o@gmail.com). [Bug #8990][ruby-core:57685]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:44 AM Revision 88028426 (git): cont.c: supplement comments of FIBER_USE_NATIVE
- * cont.c (FIBER_USE_NATIVE): supplement comments the reason why it is
disabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:10 AM Feature #8636: Documentation hosting on ruby-lang.org
- zzak (Zachary Scott) wrote:
> We are also working on i18n support for RDoc so the japanese documentation team will not have to maintain a separate repository. Eventually with this supported, we can move to docs.ruby-lang.org/LANG
Ref...
10/07/2013
-
11:59 PM Feature #8840: Yielder#state
- 2013/10/3 marcandre (Marc-Andre Lafortune) <ruby-core@marc-andre.ca>:
> Issue #8840 has been updated by marcandre (Marc-Andre Lafortune).
>
>
> akr (Akira Tanaka) wrote:
>> Would you explain the incompleteness concretely?
>
... -
11:53 PM Feature #8976: file-scope freeze_string directive
- 2013/10/2 enebo (Thomas Enebo) <tom.enebo@gmail.com>:
> Issue #8976 has been updated by enebo (Thomas Enebo).
>
>
> I think having a pragma at the top of the file will be much more error prone than the f-syntax. As a file grows, th... -
09:00 PM Revision a8178c69 (git): * lib/time.rb (Time.strptime): Time.strptime('0', '%s') returns local
- time Time object as Ruby 2.0 and before.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:41 PM Revision 9410e7e0 (git): * .travis.yml: Rebuild Travis CI's "ruby-head" version on successful
- build. Patch by Konstantin Haase. [Fixes GH-417]
https://github.com/ruby/ruby/pull/417
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:43 PM Bug #8875: Select is not usable with SSLSocket
- headius (Charles Nutter) wrote:
> You should use read_nonblock in combination with select, so only what is available without blocking gets read off the wire. In this case, it would be an empty result (empty string or nil) or raise EAG... - 07:29 PM Revision 20eff9bd (git): * misc/ruby-mode.el: Use preceding-char/following-char
- (returning 0 at BOF/EOF) instead of char-before/char-after
(returning nil at BOF/EOF) to avoid error from char-syntax when
at BOF/EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:15 PM Revision 593855a0 (git): * misc/ruby-additional.el (ruby-mode-set-encoding): Add a missing
- else clause to unbreak with `cp932`, etc.
* misc/ruby-mode.el (ruby-mode-set-encoding): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:03 PM Revision 449822c7 (git): * misc/ruby-additional.el (ruby-mode-set-encoding): Use
- `default-buffer-file-coding-system` if the :prefer-utf-8
property is not available.
* misc/ruby-mode.el (ruby-mode-set-encoding): Ditto.
* misc/ruby-additional.el (ruby-encoding-map): Override the
default value.
git-svn-id: svn+ss... - 06:21 PM Revision 1ecf20cd (git): misc/ruby-mode.el: Improve `ruby-mode-set-encoding`.
- * misc/ruby-additional.el (ruby-mode-set-encoding): Add support
for `prefer-utf-8` which was introduced in Emacs trunk.
* misc/ruby-additional.el (ruby-encoding-map): Add a mapping from
`japanese-cp932` to `cp932` to fix the problem... -
03:36 PM Bug #8986 (Closed): test suite error: TestNetHTTP_v1_2_chunked#test_timeout_during_HTTP_session
- This issue was solved with changeset r43167.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Increase open_timeout [Bug #8986] -
03:33 PM Bug #8990 (Feedback): please disable *context on hurd
- 03:16 PM Revision 381784be (git): * 2013-10-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:16 PM Revision 96585420 (git): * misc/ruby-additional.el: Add a standard header and footer,
- including (provide 'ruby-additional).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:47 PM Revision 1189b5fe (git): Make ruby-electric play nicely with smartparens-mode.
- * misc/ruby-electric.el (ruby-electric-space-can-be-expanded-p):
Return nil to avoid "end" insertion when in smartparens-mode
that is configured to insert "end" for the same keyword.
* misc/ruby-electric.el (ruby-electric-keywords):... - 02:47 PM Revision ae8870e9 (git): * misc/ruby-additional.el: Use preceding-char/following-char
- (returning 0 at BOF/EOF) instead of char-before/char-after
(returning nil at BOF/EOF) to avoid error from char-syntax when
at BOF/EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:45 PM Revision 3bb86ae4 (git): cont.c: split conditions
- * cont.c (FIBER_USE_NATIVE): split long conditions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:19 PM Revision 9e3eb502 (git): configure.in: add mingw FIBER_USE_NATIVE
- * configure.in (FIBER_USE_NATIVE): add mingw condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:03 PM Revision 45498795 (git): configure.in: move FIBER_USE_NATIVE conditions
- * configure.in, win32/Makefile.sub (FIBER_USE_NATIVE): move conditions
from cont.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:32 AM Revision 1956ca5d (git): * lib/time.rb: [DOC] typo in Time.rb overview by @srt32 [Fixes GH-416]
- https://github.com/ruby/ruby/pull/416
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:10 AM Revision da6229a3 (git): * lib/time.rb (Time.strptime): Use :offset.
- Patch by Felipe Contreras. [ruby-core:57694]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:28 AM Bug #7445: strptime('%s %z') doesn't work - +1 Patch looks good to me
-
10:05 AM Revision 5ec7e5aa (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:19 AM Revision 0f7f11dc (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:14 AM Revision f14c312b (git): test_io.rb: fix r43164
- * test/ruby/test_io.rb (test_pid_after_close_read): fix rr43164 for
platforms other than Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:51 AM Revision 6b5d5e53 (git): * test/-ext-/debug/test_profile_frames.rb: rename class C to
- something long name because one test depends on absence of
class ::C.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:38 AM Revision d4939eef (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:35 AM Revision ef7df5a4 (git): * ext/-test-/debug/profile_frames.c:
- test/-ext-/debug/test_profile_frames.rb: add a test for new C-APIs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:21 AM Revision 774bff0a (git): * include/ruby/debug.h: add backtrace collecting APIs for profiler.
- * int rb_profile_frames(int start, int limit, VALUE *buff, int *lines);
Collect information of frame information.
* VALUE rb_profile_frame_path(VALUE frame);
* VALUE rb_profile_frame_absolute_path(VALUE frame);
* VALUE rb_profile_frame... -
07:20 AM Revision 6531e12e (git): win32/file.c: make mapping at initialization
- * win32/file.c (code_page_i, rb_w32_init_file): make encoding to code
page mapping at initialization directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:50 AM Revision 98e4a412 (git): win32/file.c: use encoding index
- * win32/file.c (code_page): use encoding index, which is primary
entity, instead of encoding name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:36 AM Revision 5df9f0d8 (git): Increase open_timeout [Bug #8986]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:34 AM Feature #8636: Documentation hosting on ruby-lang.org
- >Could you ping okkez and sutou-san?
I send to mail their. -
06:28 AM Revision 6d07beb4 (git): win32/file.c: using st_table
- * win32/file.c (code_page): cache using st_table, not RHash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:09 AM Revision 1c7b42e2 (git): win32/file.c: check ASCII encodings first
- * win32/file.c (code_page): check US-ASCII and ASCII-8bit before
ordinary mapping.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:08 AM Revision 1ccaef99 (git): test_io.rb: get rid of error message
- * test/ruby/test_io.rb (TestIO#test_pid_after_close_read): get rid of
broken pipe error message from invoked command, by let it exit
silently. echo in cmd.exe does not interpret double quotes.
git-svn-id: svn+ssh://ci.ruby-lang.org... -
05:31 AM Revision 40b1aa9a (git): * proc.c: catch up last commit.
- Type of return value of rb_iseq_first_lineno() is now VALUE.
* vm_insnhelper.c (argument_error): ditto.
* vm_method.c (rb_method_entry_make): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43163 b2dd03c8-39d4-4d8f-98ff-823fe... -
05:12 AM Revision 12f368d6 (git): * iseq.c, internal.h: change to public (but internal) functions
- * VALUE rb_iseq_path(VALUE iseqval);
* VALUE rb_iseq_absolute_path(VALUE iseqval);
* VALUE rb_iseq_label(VALUE iseqval);
* VALUE rb_iseq_base_label(VALUE iseqval);
* VALUE rb_iseq_first_lineno(VALUE iseqval);
And new (temporary) functi... -
05:03 AM Revision 72db853b (git): win32.c: internal functions
- * win32/win32.c (w32_spawn, w32_aspawn_flags): make internal functions
static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/06/2013
-
08:08 PM Feature #8636: Documentation hosting on ruby-lang.org
- Here's my TODO:
* get README's working as RDoc index page for each version
* produce a global index page to link to each version
I would prefer docs.ruby-lang.org as it is the best canonical url available for us
We are also wor... -
09:13 AM Feature #8636: Documentation hosting on ruby-lang.org
- I'm going to prepare docs.ruby-lang.org.
but I worried about doc.ruby-lang.org and docs.ruby-lang.org. doc is Japanese only and docs is English only. this situation is very confusion.
doc.ruby-lang.org/en is redirection of www.ruby-l... -
08:45 AM Feature #8636 (Feedback): Documentation hosting on ruby-lang.org
- I have a build script setup on github. It needs an index page and to be tested before we can get the server and dns going.
https://github.com/zzak/docs.ruby-lang.org
Anyone have some feedback on how the index.html page should look? - 06:43 PM Revision e51c6245 (git): * 2013-10-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:43 PM Revision d0526760 (git): NEWS: timeout
- * NEWS (Stdlib updates): uptdate of timeout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:43 PM Revision cd006f08 (git): io.c: use local variables instead of struct members
- * io.c (copy_stream_body): move src_io and dst_io back to top level
and use instead of stp->src and stp->dst.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:52 PM Revision 99526d0f (git): io.c: suppress false uninitialized-variable warning
- * io.c (io_ascii8bit_binmode): split from rb_io_ascii8bit_binmode() to
call with rb_io_t* directly.
* io.c (copy_stream_body): move src_io and dst_io into each blocks
where those are only used.
git-svn-id: svn+ssh://ci.ruby-lang.or... -
01:52 PM Revision 7f41aa5f (git): signal.c: get rid of system name
- * signal.c (sighandler_t): get rid of clash with system provided name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:17 AM Bug #7445: strptime('%s %z') doesn't work
- Also, if `'%s'` is used for UTC, then why do we get this?
~~~ruby
require 'time'
Time.strptime('0', '%s')
=> 1969-12-31 18:00:00 -0600
~~~
I'm attaching a patch that does exactly what we want:
~~~ruby
Time.strptime('0', '%s... -
08:46 AM Bug #8990: please disable *context on hurd
- 1. Every workaroud patch should have a comment why it is needed any which version has a problem. Even though prior work don't.
2. defined(__GNU__) is unclear and confusable because a lot of people aren't familiar Hurd. So, it should be ... -
06:48 AM Bug #8990 (Closed): please disable *context on hurd
- This bug can be reproduced in Ruby 1.8 as well.
Attached patch disables *context use on hurd.
Hurd implementation is not working yet and it's hard estimating whenever it will be.
Thanks. -
08:32 AM Bug #8989 (Feedback): Ruby 2.1 unable to build because of problem with rdoc directory
- Did you try "make distclean" first?
-
03:14 AM Bug #8989: Ruby 2.1 unable to build because of problem with rdoc directory
- Also, I have just tried to build Ruby 2.0.0-p247 on the same machine and have experienced the same problem. I have never had this problem before, so it looks like something that has changed in 2.0.0-p247.
-
02:59 AM Bug #8989 (Closed): Ruby 2.1 unable to build because of problem with rdoc directory
- Trying to build ruby-2.1.0-preview1 and am receiving the following error when running make:
Generating RDoc documentation
Directory .ext/rdoc already exists, but it looks like it isn't an RDoc directory.
Because RDoc doesn't wan... -
12:58 AM Bug #8988 (Closed): [DOC] fix incorrect documentation for SizedQueue
- The SizedQueue documentation was incorrect for both SizedQueue#pop and SizedQueue#num_waiting. This patch adds correct documentation using language that is very similar to Queue#pop and Queue#num_waiting.
* Document-method: pop
*... -
12:38 AM Revision be903332 (git): test_tempfile.rb: fix test on Windows
- * test/test_tempfile.rb (test_tempfile_finalizer_does_not_run_if_unlinked):
open file cannot be deleted on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:28 AM Revision 21212fba (git): test_old_thread_select.rb: ignore short wait on Windows
- * test/-ext-/old_thread_select/test_old_thread_select.rb
(test_old_select_signal_safe): ignore short wait on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:26 AM Feature #8987: map/collect extension which handles arguments
- In case of commutative operations like `+`, you can do it like this:
~~~ruby
[1, 2, 3, 4].map(&4.method(:+))
# => [5, 6, 7, 8]
-
12:22 AM Revision 803c3929 (git): test_sleep.rb: get rid of failure on Windows
- * test/ruby/test_sleep.rb (test_sleep_5sec): relax bottom on Windows.
assert_operator should test on the receiver.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:16 AM Revision 6d757c79 (git): test_thread.rb: ignore meaningless test
- * test/ruby/test_thread.rb (test_blocking_mutex_unlocked_on_fork):
ignore meaningless test on platforms where fork() is not supported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/05/2013
- 11:39 PM Revision c55e4dd3 (git): * 2013-10-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:39 PM Revision 1dc1171f (git): * lib/webrick.rb: [DOC] fix grammar in WEBrick overview [Fixes GH-413]
- Based on patch by @chastell https://github.com/ruby/ruby/pull/413
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:02 PM Feature #8987 (Open): map/collect extension which handles arguments
- Please consider extending map/collect by allowing additional arguments to be passed to proc, like:
A: `[1,2,3,4].map :+, 4`
and/or
B: `[1,2,3,4].map 4, &:+`
=> [5, 6, 7, 8]
Variant A is probably more readable. Variant B is more ... -
08:34 PM Bug #8433: Mutexes held by background threads at fork not always released
- Thank you for the quick response! Any chance this will be backported to 1.9.3?
-
11:21 AM Bug #8433 (Closed): Mutexes held by background threads at fork not always released
- This issue was solved with changeset r43148.
Ben, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
thread.c: fix some mutexes remaining locked after forking
* threa... -
12:44 AM Bug #8433: Mutexes held by background threads at fork not always released
- I've submitted a proposed patch for this issue at https://github.com/ruby/ruby/pull/415 . This seems to have done the trick for me running it through some basic tests, including the one you posted.
-
10:53 AM Feature #8985: xwillfree - promise to free memory
- (2013/10/04 21:38), funny_falcon (Yura Sokolov) wrote:
> Any way, I like idea with additional argument to functions.
One more advantage of additional argument is we can verify passed size
argument with CALC_EXACT_MALLOC_SIZE op... -
06:00 AM Bug #8986 (Closed): test suite error: TestNetHTTP_v1_2_chunked#test_timeout_during_HTTP_session
- =begin
Recently, I started to observe following test suite error quite often:
TestNetHTTP_v1_2_chunked#test_timeout_during_HTTP_session [/builddir/build/BUILD/ruby-2.1.0-preview1/test/net/http/test_http.rb:409]:
[Net::ReadTimeout]... -
02:21 AM Revision 6950d366 (git): thread.c: fix some mutexes remaining locked after forking
- * thread.c (terminate_atfork_i): fix locking mutexes not unlocked in
forks when not tracked in thread. [ruby-core:55102] [Bug #8433]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:21 AM Revision 57b8687d (git): thread.c: fix some mutexes remaining locked after forking
- * thread.c (terminate_atfork_i): fix locking mutexes not unlocked in
forks when not tracked in thread. [ruby-core:55102] [Bug #8433]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:28 AM Bug #8616: Process.daemon messes up threads
- ... and r40534 to resolve conflict.
merged r40534,r 41886 r41903, r41910 to ruby_2_0_0 at r43142. -
12:09 AM Bug #8616 (Closed): Process.daemon messes up threads
- I'll backport r41886, r41903 and r41910 to ruby_2_0_0.
Thank you for your notice! -
01:02 AM Revision a10c9a0e (git): common.mk: revert r43137 and r43145
- * common.mk (sizes.c): revert r43137 and r43145, because the former
commit made sizes.c rebuild always each build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:18 AM Revision 7ea58635 (git): * 2013-10-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:18 AM Revision 156eb848 (git): common.mk: sizes.c depends on PREP now
- * common.mk (sizes.c): now depends on PREP, which is miniruby if
native compile or fake.rb otherwise, to run MINIRUBY [Bug #8968]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e