Activity
From 05/01/2013 to 05/07/2013
05/07/2013
-
11:39 PM Bug #8379 (Closed): json dependency problem
- json の Makefile の依存関係ですが、generator.o と parser.o の依存先の
ヘッダファイルが足りないようです。
過不足を調べてくれるスクリプト (update-deps) によれば、以下が足りないようです。
ext/json/generator/generator.o は以下が依存先として記述されていない:
include/ruby.h
include/ruby/ruby.h
.ext/include/i6... - 10:51 PM Revision 2816e539 (git): * 2013-05-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:51 PM Revision bbcf97fa (git): * ext/socket/socket.c (socket_s_ip_address_list): fix wrongly filled
- sin6_scope_id on KAME introduced by r40593 for OpenIndiana.
KAME uses fe80:<scope_id>::<interface id> for link-local address
internally.
Setting sin6_scope_id causes it leaked.
see also comments of sockaddr_obj().
git-svn-id: sv... -
10:26 PM Bug #8378 (Closed): json/generator/generator.c: warning: array subscript has type 'char'
- ふと、cygwin を target とする cross-compile をしてみたところ、
以下の警告を見つけました。
(たぶん cross でなくても警告されると思います)
make[2]: Entering directory `/extdisk/chkbuild/chkbuild/tmp/build/20130507T115727Z/ruby/ext/json/generator'
compiling generator.c
generator.c... -
09:51 PM Bug #8376: utc method changes original time object
- I admit this is a bad design, but changing it introduces incompatibility.
We don't consider it as a bug (thus we rejected).
Submit feature request instead, if you really want to change.
Maybe fixed in the future, if we can provide pro... -
09:39 PM Bug #8376: utc method changes original time object
- naruse (Yui NARUSE) wrote:
> Time#utc is destructive method.
> ...
That seems the point of this issue. The behaviour is inconsistent. `t.utc!` should be the way to destroy `t` in the example. This should be changed... ruby isn't PHP.
-
07:35 PM Bug #8376 (Rejected): utc method changes original time object
- Time#utc is destructive method.
Use dup if you want a copy. -
07:32 PM Bug #8376 (Rejected): utc method changes original time object
- The utc method changes the original time object when called.
For example when on a system with a CET timezone.
t = Time.new(2013)
t.zone # CET
t.utc
t.zone # UTC -
07:49 PM
Feature #8377 (Rejected): Deprecate :: for method calls in 2.1
- =begin
(({::})) is usually a constant lookup operator, but it can also be used to call methods. This can confusing to people learning Ruby.
I propose deprecating (({::})) as a method call operator in Ruby 2.1, then removing it in 2.2... -
04:49 PM Revision 555035a3 (git): merge revision(s) 40208: [Backport #8380]
- * internal.h (MUL_OVERFLOW_SIGNED_INTEGER_P): New macro.
(MUL_OVERFLOW_FIXNUM_P): Ditto.
(MUL_OVERFLOW_LONG_P): Ditto.
* array.c (rb_ary_product): Don't overflow on signed integer
multiplication.
... -
04:45 PM Bug #8374 (Assigned): race condition when two threads require a gem
- Seems rubygems specific.
-
02:43 PM Bug #8374 (Closed): race condition when two threads require a gem
- =begin
Requiring a gem with a C extension seems to be not threadsafe.
Any one of the require lines below will frequently (but not always) cause an error like the following:
/usr/local/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/k... -
01:15 PM Revision 42642407 (git): * ext/readline/readline.c (insert_ignore_escape): Add a cast to
- unsigned char * before dereference.
This suppress a warning on Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:12 PM Bug #8373 (Rejected): Failure to run "rails server"
- "[BUG] unknown type 0x22" is most probably T_DATA for ruby 1.8.
You have an extension library (or more) for older ruby.
Try `otool -L` for followings.
1 /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/x86_64-darwin12.2.1/en... -
07:47 AM Bug #8373 (Rejected): Failure to run "rails server"
- Yesterday, running "rails server" worked. Today it didn't. What happened is the following:
First, I will describe the bug error I have received (and a recommendation to post here), then I will describe the full set of my actions.
I... -
11:18 AM Revision b6f0a306 (git): * test/ruby/test_thread.rb (invoke_rec): extend timeout 10 -> 50 sec,
- to investigate test failure on rubyci.
http://a.mrkn.jp/~mrkn/chkbuild/mountain_lion/ruby-2.0.0-m64-o0/log/20130507T052909Z.log.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40600 b2dd03c8-39d4-4d8f-98ff-823... -
10:03 AM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
- =begin
Thank you for valuable input.
That indicates the need for something like (({str.strip(:ascii)})), or opposite (({str.strip(:utf8)}))
Matz.
=end -
01:59 AM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
- matz (Yukihiro Matsumoto) wrote:
> Akira, Thank you for pointing out.
> ...
Modern protocol like SMTPUTF8 <http://tools.ietf.org/html/rfc6532> and URL Standard <http://url.spec.whatwg.org/>
use UTF-8 as its character encoding, but the... -
01:12 AM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
- Akira, Thank you for pointing out.
But it's hard for me to imagine concrete problematic cases.
When text from network connection is marked as Unicode, that's OK to process them as Unicode text,
otherwise they should be marked as 'AS... -
03:41 AM Bug #8372 (Rejected): Segmentation fault with Factory Girl when using :class, typo on related factory
- This is a duplicate of #8100
Please try it again with trunk. -
02:29 AM Bug #8372 (Rejected): Segmentation fault with Factory Girl when using :class, typo on related factory
- =begin
This bug is partially the result of a typo, partially learning and switching things around in FactoryGirl, and resulting in a seg fault
I have a nested ActiveRecord model (Person::Identity), when I define a FactoryGirl factory... -
03:19 AM Revision 593c24f8 (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): Add a cast to
- suppress warning.
Bionic defines socklen_t as int.
Bionic defines msg_controllen as unsigned int (__kernel_size_t)
instead of socklen_t as POSIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40599 b2dd03c8-39d4-4d8f-98ff-82... -
03:14 AM Revision cb2f3c1b (git): * ext/socket/ancdata.c (ancillary_inspect): Don't call
- anc_inspect_ipv6_pktinfo if !HAVE_TYPE_STRUCT_IN6_PKTINFO.
anc_inspect_ipv6_pktinfo is not defined in the case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:12 AM Revision 2b792abd (git): * ext/socket/socket.c (socket_s_ip_address_list): Cast EXTRA_SPACE as
- int. This suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:10 AM Revision 301821bd (git): * ext/socket/extconf.rb: Set close_fds false for Cygwin.
- Cygwin doesn't support fd passing.
This enables socket extension library cross-compilable by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:09 AM Revision f4fd7790 (git): * 2013-05-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:09 AM Revision 570015a1 (git): * pack.c (swap32): Don't redefine it if it is already defined.
- Bionic defines it.
(swap64): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:01 AM Feature #8366: Exception.message take time to execute depending on the instance variables
- nobu (Nobuyoshi Nakada) wrote:
> You should define inspect method.
But it is not practical to define inspect on all the classes I write or add inspect to all third party code or plugins I use, easier and better solution would be to ...
05/06/2013
-
10:53 PM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
- 2013/5/6 matz (Yukihiro Matsumoto) <[email protected]>:
>
> Everything that can be resolved without locale/language information (for most of the cases).
> Case conversion may have problems with some characters, e.g. german eszett... -
09:52 PM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
- Everything that can be resolved without locale/language information (for most of the cases).
Case conversion may have problems with some characters, e.g. german eszett or turkish i, but can be converted mostly.
Of course it would take ... -
09:25 PM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
- Current string-related policy is ASCII-based.
If it is changed, how wide it is applied is the issue; for example
* strip
* split
* upcase/downcase -
05:58 PM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
- Five yeas have passed since the decision in [ruby-core:19379], and Unicode had almost taken over the world.
Maybe it's time to relax the limitation at least when we are using Unicode.
Matz.
-
02:28 PM Feature #7845 (Open): Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
- naruse (Yui NARUSE) wrote:
> Did you read [ruby-core:19379]?
I did.
Out of respect, I will assume that you read [ruby-core:53374] which explains nicely that [ruby-core:19379] has absolutely nothing to do with what constitutes a s... -
10:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- 2013/5/6 SASADA Koichi <[email protected]>:
>
> You are right. It was my mistake.
RGenGC is ABI incompatible.
I understood.
--
Tanaka Akira -
09:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/05/06 21:23), Tanaka Akira wrote:
> I think many extension libraries uses RARRAY_PTR macro.
> I feel such libraries are normal.
> I guessed such libraries should be re-compiled but you said that
> such libraries works with... -
09:29 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- 2013/5/6 SASADA Koichi <[email protected]>:
> (a) ABI compatibility will be braek
> (b) But normal C-exts can work without any modification
> (and most of case, without any re-build)
I wonder here.
I think many ext... -
03:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/05/06 11:47), sam.saffron (Sam Saffron) wrote:
> @ko1 can we backport the GC optimisations (non rgengc ones in this branch into 2.0? )
I think nagachika-san (release manager of 2.0.0 series) don't admint
`optimization' p... -
03:53 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/05/06 11:50), Tanaka Akira wrote:
> Is it ABI compatible?
(1) ABI compatbible for most of part.
You don't need to consider if you don't
(2) ABI incompatibility fo exceptional C-exts
If C api manages RBASIC(ob... -
11:53 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- 2013/5/4 SASADA Koichi <[email protected]>:
>
> Thank you for your positive response.
> I will merge it soon.
Is it ABI compatible?
This is just a question.
I don't against it.
--
Tanaka Akira -
11:47 AM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- @ko1 can we backport the GC optimisations (non rgengc ones in this branch into 2.0? )
-
08:33 PM Feature #8368: Socket.getifaddrs
- I updated the patch to fix compile error on environments which has no getifaddrs().
Also I refined the result of Socket::Ifaddrs#inspect.
% ./ruby -rsocket -rpp -e 'pp Socket.getifaddrs'
[#<Socket::Ifaddr lo UP,LOOPBACK,RUNNING,0x10... -
01:40 AM Feature #8368: Socket.getifaddrs
- judofyr (Magnus Holm) wrote:
> Shouldn't this be moved to CommonRuby?
There's no such consensus yet, especially bundled libraries. -
01:23 AM Feature #8368: Socket.getifaddrs
- Shouldn't this be moved to CommonRuby?
-
12:00 AM Feature #8368: Socket.getifaddrs
- I'm for this method.
-
06:17 PM
Bug #8364: Vim's if_ruby feature sometimes crash.
- Thank you for your advice.
You can close this issue. -
11:51 AM Revision 9e08404b (git): * ext/socket/socket.c (socket_s_ip_address_list): Fill sin6_scope_id
- if getifaddrs() returns an IPv6 link local address which
sin6_scope_id is zero, such as on OpenIndiana SunOS 5.11.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:40 AM Revision 85bfd730 (git): * compar.c (Comparable#==): fix typo.
- Patch by Andrew Grimm. [Fix GH-297]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:26 AM Feature #8371 (Feedback): Make some enumerators mimic arrays
- Some enumerators yields data by one element so that in some way such enumerators can be treated as arrays in some ways. But they are still enumerators, so they doesn't respond to methods each array responds. As an example, there is code ...
-
02:31 AM Bug #8369 (Closed): r40574 build fail
-
02:29 AM Bug #8310 (Rejected): resque-web crashes with segfault on Ruby 2.0.0-p0 only, Resque 1.24.1, Redis 2.6.12
- Duplicate of #8100
- 01:22 AM Revision ef07aa79 (git): * 2013-05-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:22 AM Revision 912f9dcc (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/05/2013
-
09:59 PM Feature #8365: Make variables objects
- Interesting, but this would make Ruby VERY SLOW.
I am not sure whether it's worth the performance degration.
Matz.
-
03:26 PM
Feature #8365: Make variables objects
- Here is my understanding of the original author's idea, which, I hope, will not turn out to be dismally and irremediably flawed. Its mind-boggling quality pleasantly intrigues me, as is the case with many extant Ruby features. I was made...
-
08:54 PM Feature #8370 (Closed): Constants MAX_MULTIPART_LENGTH in cgi/core.rb
- Reported by Andreas Kraus via gmail.
> hi xibbar,
> ...
-
06:54 PM Bug #8364: Vim's if_ruby feature sometimes crash.
- I don't know the rationale, but adding RUBY_INIT_STACK before init() seems to suppress the crash.
int main(int argc, char **argv) {
RUBY_INIT_STACK;
init();
rbexe("10000.times { 'x' * 10000 }");
return 0;
}
T... -
01:19 PM
Bug #8364: Vim's if_ruby feature sometimes crash.
- You are right. With -Wall flag, I got warning "implicit declaration of
function 'ruby_error_print'". But it is not related to crash. My
program still doesn't work after removing ruby_error_print() call.
/* rubyembed.c */
#incl... -
12:40 PM Bug #8364: Vim's if_ruby feature sometimes crash.
- =begin
I couldn't link your source because (({ruby_error_print})) is not exported.
It run successfully by replacing the call with (({printf()})).
=end
-
04:08 PM Revision e5463b4c (git): merge revision(s) 40587:
- * lib/cgi/session.rb: Fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:08 PM Revision 8aceebf8 (git): merge revision(s) 40586:
- * doc/syntax/refinements.rdoc : Fix a missing quote
Patch by Robin Dupret. [Fix GH-271]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:07 PM Feature #4592: Tempfileを直接保存したい
- Tempfile#to_file!(path)
とか?
# 自分の提起チケットなので反応してみました。
# いろいろあった結果、担当がMatzになっていますね。 -
01:28 PM Bug #8369: r40574 build fail
- Ah yes, a red herring issue. Removing those ignored, generated files from the source dir fixed it, and they're now being generated in the build dir. Must have been stale files from an earlier regression.
Thank you. -
12:34 PM Bug #8369: r40574 build fail
- Hello,
I have encountered the same build failure few days ago.
In my case, removing id.h and id.c in the source directory solved the build error.
Could you try it? -
11:35 AM Bug #8369: r40574 build fail
- Similar build fails on 64bit arch (gcc 4.8.0) and 64bit ubuntu server 13.04 (gcc 4.7.3)
-
10:46 AM Bug #8369 (Closed): r40574 build fail
- The following build fail info is from my arch 32bit system with gcc 4.8.0, but I see the same fail (less descriptive error log) on ubuntu server 13.04 using gcc 4.7.3:
[jon@archee build]$ svn log -1 -l 1 ..
--------------------------... - 01:27 PM Revision 3957501d (git): * lib/cgi/session.rb: Fix a typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:49 AM Revision 96e14ad2 (git): * doc/syntax/refinements.rdoc : Fix a missing quote
- Patch by Robin Dupret. [Fix GH-271]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:02 AM Revision f620e9e7 (git): * test/ruby/test_defined.rb (TestDefined#test_super_toplevel):
- additional test for r40584.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:57 AM Revision babae049 (git): insns.def: refactor by wanabe
- * insns.def (defined): use vm_search_superclass() like as normal super
call. based on a patch <https://gist.github.com/wanabe/5520026> by
wanabe.
* vm_insnhelper.c (vm_search_superclass): return error but not raise
exceptions.
* v... -
09:24 AM Bug #8310: resque-web crashes with segfault on Ruby 2.0.0-p0 only, Resque 1.24.1, Redis 2.6.12
- @zzak Just tried it on trunk, seems fixed for me after ~15 minutes of running (v2.1.0dev with redis: 1.24.1, redis: 3.0.4) and I was able to reproduce this with v2.0.0p0 using the listed reproduction steps (seg fault in ~2 min) (same ver...
-
07:29 AM Revision 08fbd2ce (git): insns.def: method entry from method frame
- * insns.def (defined): get method entry from the method top level
frame, not block frame. [ruby-core:54769] [Bug #8367]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:54 AM Revision 13bd7afc (git): configure.in: default LINK_SO
- * configure.in: should not strip newline at the beginning for the
default link command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:37 AM Revision 38ea534c (git): configure.in: keep POSTLINK
- * configure.in: keep POSTLINK in LINK_SO macro till rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:29 AM Revision 36de5e4d (git): ruby.pc.in: rubyarchhdrdir
- * template/ruby.pc.in (Cflags): use rubyarchhdrdir for multiarch.
[Bug #7874]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:40 AM Revision f259b884 (git): * 2013-05-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:40 AM Revision 4bbd1d9d (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:03 AM Feature #7845 (Rejected): Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
- marcandre (Marc-Andre Lafortune) wrote:
> Let's reopen this issue.
> ...
Did you read [ruby-core:19379]? -
01:50 AM Feature #7845: Strip doesn't handle unicode space characters in ruby 1.9.2 & 1.9.3 (does in 1.9.1)
- A patch for this is pretty straightforward, see https://gist.github.com/tgarnett/5032660 which is only a couple of lines.
As someone dealing with a lot of web crawling and chinese source data, having strip remove non-breaking / ideogr... -
01:24 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- Hello,
matz (Yukihiro Matsumoto) wrote:
> I agree with most of your changes in the patch, especially using rb_check_funcall instead of rb_rescue.
> ...
Many classes including Comparable already define #== themselves and most definit...
05/04/2013
-
11:22 PM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- I agree with most of your changes in the patch, especially using rb_check_funcall instead of rb_rescue.
But I personally dislike the equal operator (==) to raise error, since equal comparison is so fundamental, and most of us write code... -
06:23 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- matz (Yukihiro Matsumoto) wrote:
> Show us the patch first. I am afraid I misunderstand you.
Sorry, I was not clear.
My intent is to remove error hiding, that is not reporting in any way exceptions.
In the case of Range checki... -
09:00 PM Feature #8366: Exception.message take time to execute depending on the instance variables
- You should define inspect method.
-
04:02 PM Feature #8366: Exception.message take time to execute depending on the instance variables
- nobu (Nobuyoshi Nakada) wrote:
> You can see the reason by reducing the size of the instance variable.
What do you mean? I have a big project where I load plugins and each plugin can have megabytes of data and if one plugin does not ... -
03:22 PM Feature #8366: Exception.message take time to execute depending on the instance variables
- You can see the reason by reducing the size of the instance variable.
-
08:16 AM Feature #8366: Exception.message take time to execute depending on the instance variables
- also tried with ruby 2.0.0 at http://www.compileonline.com/execute_ruby_online.php
-
08:11 AM Feature #8366 (Open): Exception.message take time to execute depending on the instance variables
- I am seeing very interesting and catastrophic behavior with ruby, see the code below
class ExceptionTest
def test
@result = [0]*500000
begin
no_such_method
rescue Exception ... -
07:12 PM
Bug #8364: Vim's if_ruby feature sometimes crash.
- Thank you for your advice.
I tried RUBY_INIT_STACK in rbexe(). But it still crash.
/* rubyembed.c */
#include <ruby.h>
void rbinit() {
int dummy_argc = 2;
char *dummy_argv[] = {"foo", "-e0"};
RUBY_INIT_STACK;
... -
02:10 PM Bug #8364 (Third Party's Issue): Vim's if_ruby feature sometimes crash.
- rbexe() also needs RUBY_INIT_STACK, in every interface function calling ruby from outside.
Your patch is not a portable fix.
# You can't use Markdiwn here, RD only. -
06:14 PM Feature #8361: Alternative syntax for block parameter
- =begin
Nobu: i do not think the conflict with ternary expression is the worst part: i think that if in ambiguous cases the colon was interpreted as a part of ternary expression, there would be no conflict with existing code.
It was prob... -
03:12 PM Feature #8361: Alternative syntax for block parameter
- It conflicts with ternary expressions, and symbol literals.
You should abandon use of colon and brackets. -
04:57 PM Feature #8368 (Closed): Socket.getifaddrs
- I'd like to add a method: Socket.getifaddrs.
This method is a wrapper to getifaddrs() function.
The result is an array of instances of Socket::Ifaddr class as follows.
% ./ruby -rpp -rsocket -e 'pp Socket.getifaddrs'
[#<Socke... - 03:00 PM Revision 649d6f47 (git): * 2013-05-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:00 PM Revision ec1f8cbb (git): merge revision(s) 40574:
- * doc/security.rdoc: Add note about reporting security vulns
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:48 PM Revision f824c6f1 (git): merge revision(s) 40561: [Backport #8357]
- * object.c (rb_obj_is_kind_of): skip prepending modules.
[ruby-core:54742] [Bug #8357]
* object.c (rb_class_inherited_p): ditto.
[ruby-core:54736] [Bug #8357]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra... -
02:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- (2013/05/04 12:08), Narihiro Nakamura wrote:
>> > How about to introduce this new GC algorithm/implementation into Ruby 2.1.0?
> I agree :)
Thank you for your positive response.
I will merge it soon.
--
// SASADA Koic... -
12:23 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- 2013/4/28 SASADA Koichi <[email protected]>:
> (2013/04/28 9:23), authorNari (Narihiro Nakamura) wrote:
>> Great work!!! Does RGenGC Ruby pass test-all?
>
> Sure.
Great!
> How about to introduce this new GC algorithm/imple... -
12:12 PM Feature #8365 (Feedback): Make variables objects
- I am sorry I don't understand the proposal, nothing more than vague idea.
Proposals should be concrete and be able to implement.
Could you describe both the model and the syntax for the proposal?
Matz.
-
01:45 AM
Feature #8365 (Feedback): Make variables objects
- While refactoring a wiki article about Ruby, I found this anonymous proposal:
"How about making variables objects. And assignment is the default message you send to the variable object (not the underlying reference). anintvar 5, now t...
05/03/2013
-
10:24 PM Feature #8361: Alternative syntax for block parameter
- =begin
I agree, it is getting complicated, maybe it was a bad idea. It may be closed if you do not think it is worth consideration.
The best i could think of was to allow to use some symbol, the colon for example, to separate explic... -
08:17 PM Feature #8361: Alternative syntax for block parameter
- I don't think the syntax cannot be defined without conflict.
Prove me I am wrong.
Matz.
-
06:40 PM Feature #8361: Alternative syntax for block parameter
- =begin
It's unacceptable to distinguish two semantics of "(({[ ]}))" by a token following ((*after*)) it.
=end
-
04:32 PM Feature #8361: Alternative syntax for block parameter
- =begin
From the top of my mind, i can propose only this:
p = lambda [x]->{
# ...
}
[2, 3, 4].map [x]->{x*x}.reduce [0, 1] [m, o]->{m << o}
(i didn't like the new lambda syntax anyway:) ).
Another possibility:
p = lambda ... -
04:25 PM Feature #8361: Alternative syntax for block parameter
- =begin
You are right, there is a problem. It is similar to the problem with hashes:
def f(h); end
f {1=>2}
# => SyntaxError: unexpected =>, expecting '}'
It can be worked around in the same way:
foo([1, 2, 3]) [x] {x*x}
But ... -
09:17 AM Feature #8361 (Feedback): Alternative syntax for block parameter
-
09:17 AM Feature #8361: Alternative syntax for block parameter
- If it were introduced, how could you pass an array with a block?
-
08:00 AM Feature #8361 (Closed): Alternative syntax for block parameter
- =begin
I propose an alternative syntax for block parameters:
p = lambda [x] {
# do whatever you like with x here, but be sure to return the result
}
instead of
p = lambda { |x|
# ...
}
This would be consi... -
10:23 PM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- Show us the patch first. I am afraid I misunderstand you.
Matz -
10:21 PM Revision 5835461b (git): * doc/security.rdoc: Add note about reporting security vulns
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:10 PM Bug #8313: rubygem 2.0 can't communicate with remote sources http://rubygems.org/
- Workaround :
I uninstall all macports ruby packages. And install RVM (https://rvm.io/rvm/). Activate ruby 2.0.0-p0 by rvm. And now, the "gem list -r" is fully functionnal. So, we have a bug with gem in macport.
I opened a bug in macpo... - 09:04 PM Revision b2580fb2 (git): * 2013-05-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:03 PM Revision 9b89888d (git): * include/ruby/defines.h (RUBY_ATTR_ALLOC_SIZE): New for
- attribute((alloc_size(params))).
* include/ruby/defines.h (xmalloc, xmalloc2, xcalloc)
(xrealloc, xrealloc2): Annotated by RUBY_ATTR_ALLOC_SIZE.
* include/ruby/ruby.h (rb_alloc_tmp_buffer): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org... -
08:50 PM
Bug #8364 (Third Party's Issue): Vim's if_ruby feature sometimes crash.
- =begin
This problem was originally reported to vim-jp project. See
((<URL:https://github.com/vim-jp/issues/issues/372>)) (Japanese discussion).
((<Vim|URL:http://www.vim.org/>)) is an text editor and it supports embedded
ruby inte... -
08:23 PM Feature #8354 (Closed): lib/cgi/util.rb を関数としても使えるようにしたい
- This issue was solved with changeset r40571.
Takeyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/cgi/util.rb: class methods modulize for using like a fu... -
10:59 AM Feature #8354: lib/cgi/util.rb を関数としても使えるようにしたい
- CGI でも、いわゆるロジックっぽい部分で h を使うのは推奨されないと思うんですが、
確かに CGI の html 生成の部分は、ERB と同じ理由で短い名前が欲しそうですね。
納得しました。賛成しないのを取り下げます。
--
Yusuke Endoh <[email protected]> -
08:57 AM Feature #8354: lib/cgi/util.rb を関数としても使えるようにしたい
- 一般的なコードの中でescapeHTMLが多用されるとは思わないのですが、
cgiアプリの中ではある程度escapeHTMLが必要になります。
これが随所に出てきて、
@cgi = CGI.new("html5")
login = @cgi['login']
family_name = @cgi[family_name']
first_name = @cgi[first_name']
@cgi.out do
@cgi.header do
@... -
12:10 AM Feature #8354: lib/cgi/util.rb を関数としても使えるようにしたい
- escapeHTML を関数として呼び出せるのはいいと思います。
しかし h のエイリアスはあまり賛成でないです。一般的なプログラムの中で
s = h s
みたいなコードを書くことを Ruby が推奨しているとは思わないので。
ERB の h は原則として <%=h ... %> というイディオム限定で許されていると
思います。
他に 1 文字メソッドというと p がありますが、こっちはデバッグ時限定で
許されていると思います。(最終的... -
04:56 PM Bug #8330 (Rejected): WEBrick::HTTPUtils::parse_query replaces plus (+) with space
- WEBrick::HTTPUtils::parse_query decodes application/x-www-form-urlencoded; it's encodes " " as "+".
see also http://url.spec.whatwg.org/#application/x-www-form-urlencoded -
04:33 PM Bug #8330: WEBrick::HTTPUtils::parse_query replaces plus (+) with space
- I am not sure about RFC, but attached patch could fix this issue.
I want to get feedback from an expert about this.
https://github.com/ayumin/ruby/commit/179602196f25d1fd7350cfd88a44f0a5c49be3aa -
12:47 PM Feature #8107: [patch] runtime flag to track object allocation metadata
- > Another consideration is lack of EVENTs bit. It is restricted to 32bit.
> ...
ko1-san, is this what you have in mind?
/* GC events (c-api only) */
#define RUBY_EVENT_OBJ (1<<31)
#define RUBY_EVENT_OBJ_NEW (RUBY_EVE... - 11:23 AM Revision b35529bb (git): * lib/cgi/util.rb: class methods modulize for using like a function.
- [Feature #8354]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:11 AM Revision 86d4511f (git): * ext/socket/extconf.rb: Make default_ipv6 true for Cygwin.
- Cygwin supports IPv6 since Cygwin 1.7.1 (2009-12).
http://cygwin.com/ml/cygwin-announce/2009-12/msg00027.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:50 AM Revision d0b7b41e (git): * common.mk (yes-test-all): needs sudo-precheck for dtrace.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:35 AM Revision 8202d626 (git): {getaddrinfo,getnameinfo}.c: fix for old platforms
- * ext/socket/{getaddrinfo,getnameinfo}.c: define socklen_t if not
defined, e.g., older VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:29 AM Revision 3b62e8e7 (git): win32.h: INTPTR_MAX, INTPTR_MIN, UINTPTR_MAX
- * include/ruby/win32.h (INTPTR_MAX, INTPTR_MIN, UINTPTR_MAX): also
should be defined when defining intptr_t and uintptr_t.
bigdecimal.c requires the former two now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40567 b2dd03c8-39... -
04:22 AM Revision 6d32a4e3 (git): win32.c: fix build error
- * win32/win32.c (poll_child_status): fix build error on older mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:22 AM Revision c61af204 (git): win32.c: optimization
- * win32/win32.c (poll_child_status): trivial optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/02/2013
-
11:56 PM Bug #8342 (Assigned): IO.readlines ignores Encoding.default_internal if Encoding.default_external is ASCII-8BIT
- leocassarani (Leo Cassarani) wrote:
> Thanks naruse. However, this seems inconsistent with the way encodings are handled for individual IO instances. For example:
> ...
That side sounds buggy -
11:12 PM Bug #8342: IO.readlines ignores Encoding.default_internal if Encoding.default_external is ASCII-8BIT
- Thanks naruse. However, this seems inconsistent with the way encodings are handled for individual IO instances. For example:
io = File.open('hi', :encoding => "ascii-8bit:utf-16")
puts io.gets.encoding
# => UTF-16
This happens ev... -
10:50 PM Feature #7701: Non-optional (required) keyword args
- (Same question as Charles) this will be included with 2.1 (I didn't see it in this list, but assume it will anyway? https://bugs.ruby-lang.org/projects/ruby-trunk/roadmap#Ruby-210 ).
Thank you. -
09:04 PM Bug #8359: If p is a proc, p.call(x) can take a block, but p[x] cannot
- =begin
Ok, maybe this is not a bug report but a feature request. Is there a reason to not allow (({ p[x] do ...}))?
=end
-
08:45 PM
Bug #8359 (Rejected): If p is a proc, p.call(x) can take a block, but p[x] cannot
- =begin
You can pass a block to (({ #[] })) in two ways:
format[[1, 2], "\n", &proc {|c| "[ #{ c } ]"}]
or:
format.[]([1, 2], "\n") {|c| "[ #{ c } ]"}
=end -
07:46 PM Bug #8359 (Rejected): If p is a proc, p.call(x) can take a block, but p[x] cannot
- =begin
format = lambda { |l, s = '', &w|
l.map {|e| w ? w[e] : e}.join(s)
}
format.call([1, 2], "\n") {|c| "[ #{ c } ]"}
# => "[ 1 ]\n[ 2 ]"
format[[1, 2], "\n"] {|c| "[ #{ c } ]"}
# => SyntaxError: unexpected ... -
05:57 PM Bug #8358 (Closed): TestSprintf#test_float test failure
- I noticed TestSprintf#test_float
http://ci.rubyinstaller.org/job/ruby-trunk-x86-test-all/1287/console
~~~
1) Failure:
TestSprintf#test_float [C:/Users/Worker/Jenkins/workspace/ruby-trunk-x86-build/test/ruby/test_sprintf.rb:193]:
... -
05:08 PM Bug #8353 (Closed): segfault with puma-1.6.3
- trevor (trevor 6) wrote:
> /lib64/libpthread.so.0() [0x3533c0f500]
> ...
This line is rb_gc_mark_unlinked_live_method_entries(), and it seems same as [Bug #8100].
-
08:57 AM Bug #8353: segfault with puma-1.6.3
- charliesome (Charlie Somerville) wrote:
> Are you able to provide the 'Loaded features' section of the segfault info dump?
I was able to get the following partial (I can email someone the reported process memory map off-list if it'... -
07:52 AM
Bug #8353: segfault with puma-1.6.3
- Are you able to provide the 'Loaded features' section of the segfault info dump?
-
07:40 AM Bug #8353 (Closed): segfault with puma-1.6.3
- not sure if this is helpful, but it's all I can provide.
intel xeon X5670, linux 2.6.32
---
/usr/local/lib/ruby/gems/2.0.0/gems/puma-1.6.3/lib/puma/client.rb:127: [BUG] Segmentation fault
ruby 2.0.0p0 (2013-02-24 revision 39474) ... - 03:22 PM Revision 4aa97ae6 (git): * 2013-05-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:22 PM Revision b5d877e6 (git): * common.mk: remove timestamp in distclean-ext realclean-ext.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:40 PM Revision 453bb57d (git): merge revision(s) 39939: [Backport #8360]
- * thread.c (double2timeval): convert the infinity to TIME_MAX to avoid
SEGV by Thread.new {}.join(Float::INFINITY) on
Debian GNU/Linux (amd64).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40562 b... -
02:23 PM Revision a58c224d (git): object.c: skip prepending modules
- * object.c (rb_obj_is_kind_of): skip prepending modules.
[ruby-core:54742] [Bug #8357]
* object.c (rb_class_inherited_p): ditto.
[ruby-core:54736] [Bug #8357]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40561 b2dd03c8-39d4-4d8... -
01:11 PM Revision 908e7018 (git): irb: dead code
- * bin/irb: remove dead code from sample/irb.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:43 AM Feature #8354 (Closed): lib/cgi/util.rb を関数としても使えるようにしたい
- cgi/util.rb には CGI.escapeHTML などのメソッドがあります。
これらを使うにはCGI.escapeHTML(str) みたいにして
いちいち全部書かなきゃならなくて、
長いと思っています。
erbを使っている人なら include ERB::Util すると h(str) と使えるのですが、
私はerb使わずに素のCGIを書いているので、hが使えず不便でした。
なので、中身をutil.rb の中身を丸ごとmoduleにして
inc... -
08:32 AM Revision 5e79c1a5 (git): marshal.c: no overwriting ivars
- * marshal.c (copy_ivar_i): get rid of overwriting already copied
instance variales. c.f. [Bug #8276]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:30 AM Revision b996367e (git): variable.c: move warnings to rb_ivar_get
- * variable.c (generic_ivar_get, ivar_get): return undef value instead
of Qnil with warnings, for uninitialized instance variable.
* variable.c (rb_ivar_get): warn for uninitialized instance variable
here.
git-svn-id: svn+ssh://ci.r... -
07:55 AM Revision 31457774 (git): thread.c: id locals
- * thread.c (id_locals): use cached ID.
* vm.c (ruby_thread_init): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:54 AM Revision 97982e82 (git): id.def: predefined IDs
- * defs/id.def: add more predefined IDs used in core.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:30 AM Revision 149f8f17 (git): Fix rondom failure introduced by r40553
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:07 AM Revision 078ffd0e (git): Fix test of parallel test breaked by r40553
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:48 AM Revision f8e5c7c7 (git): Imported minitest 4.7.4 (r8483)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:02 AM Revision ce3029cd (git): process.c: fix failed status with spawnv
- * process.c (proc_spawn_cmd_internal, proc_spawn_sh): spawn() with
P_NOWAIT returns process ID, so it must not be set as a status.
* process.c (rb_spawn_process): set failed status on error on
platforms using spawnv not only on Wind... - 03:35 AM Revision 30afde95 (git): * win32/win32.c (poll_child_status): constified.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:34 AM Revision 50cc7057 (git): * test/ruby/test_process.rb (TestProcess#test_no_curdir): maybe now
- we can test it.
* test/ruby/test_thread.rb (TestThread#test_thread_timer_and_interrupt):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:34 AM Revision 25acda25 (git): * win32/win32.c (poll_child_status): [experimental] set the cause of
- a child's death to status if its exitcode seems to be an error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:34 AM Bug #8352: URI squeezes a sequence of slashes in merging paths when it shouldn't
- s/RFC 2896/RFC 2396/
-
02:27 AM Bug #8352 (Closed): URI squeezes a sequence of slashes in merging paths when it shouldn't
- RFC 2396 (on which the library currently is based) or RFC 3986 says nothing about a sequence of slashes in the path part except for parsing rules when a URI (path) starts with two slashes.
It should be perfectly valid to have a slash ... - 02:24 AM Revision fe2177fd (git): * 2013-05-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:24 AM Revision 0b9b99c1 (git): * lib/yaml.rb: nodoc EngineManager, add History doc #8344
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
05/01/2013
-
11:00 PM Bug #8221: 2 AES-128-GCM (probably same in AES-256-GCM) bug?
- =begin
Is this related to ((<URL:https://s3.amazonaws.com/archive.travis-ci.org/jobs/6783150/log.txt>))?
4) Error:
test_aes_gcm_wrong_tag(OpenSSL::TestCipher):
OpenSSL::Cipher::CipherError: unable to set GCM tag
/home/tr... -
07:04 PM Bug #8351 (Closed): Error message is not grammatical
- This issue was solved with changeset r40539.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* enum.c (Enumerable#chunk): fix grammar of error message
for... -
07:01 PM Bug #8351: Error message is not grammatical
- Thanks, it will be committed soon!
-
04:54 PM Bug #8351 (Closed): Error message is not grammatical
- Enumerable#chunk has the error message "symbol begins with an underscore is reserved".
This is not grammatical. Assuming that error messages can be modified, possible fixes include
"symbol begins with an underscore, which is reserv... -
04:47 PM Feature #8339: Introducing Geneartional Garbage Collection for CRuby/MRI
- @ko1 I ran some basic benches against Discourse, results are here:
http://meta.discourse.org/t/ruby-may-be-getting-a-generational-gc-what-this-means-to-you/6289
was surprised that the tuned stack performed better for requests not ... -
03:40 PM Revision 5362d2e2 (git): merge revision(s) 40498:
- * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
This fixes a compilation failure while cross-compiling for Tensilica
Xtensa Processor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_... -
03:20 PM Revision 83222f7c (git): merge revision(s) 40478: [Backport #8334]
- * dir.c (dir_set_pos): Fix a compilation error when seekdir() is not
exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:17 PM Revision 72c4bf29 (git): merge revision(s) 40504,40505,40507,40511: [Backport #7982]
- * README.EXT: Add note to warn use of %i in Exceptions [Bug #7982]
* README.EXT: Update note from r40504, by Jeremy Evans [Bug #7982]
* README.EXT: Copy note from r40505 for rb_sprintf() [Bug #7982]
* README.EX... - 03:14 PM Revision 4dfec53d (git): * 2013-05-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:14 PM Revision 682e5bef (git): merge revision(s) 39932,39934,39935,39937,39955,40491:
- Use assert_separately to speed up on test-all
This creates large string and it pressure GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@40542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:52 PM Revision 4d3df433 (git): merge revision(s) 40462: [Backport #8323]
- * io.c (rb_io_ext_int_to_encs, parse_mode_enc): bom-prefixed name is
not a real encoding name, just a fallback. so the proper conversion
should take place even if if the internal encoding is equal to the
bo... -
01:09 PM Bug #8347 (Assigned): Couldn't find file to include 'lib/rake/doc/README.rdoc' from ../lib/rake/version.rb
- Fixed warning but ri does not work:
`ri Rake` does not show the README content, only "includes" and "extended by" for other classes -
12:21 PM Bug #8347 (Closed): Couldn't find file to include 'lib/rake/doc/README.rdoc' from ../lib/rake/version.rb
- This issue was solved with changeset r40535.
Zachary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rake/version.rb: Fix RDoc warning with :include: [Bug #... -
12:12 PM Revision a4460ddb (git): * time.c (localtime_with_gmtoff_zone): musl libc may return NULL for
- tm_zone.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:04 AM Revision bd14f5bf (git): * enum.c (Enumerable#chunk): fix grammar of error message
- for symbols beginning with an underscore [Bug #8351]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:48 AM Revision f0a5e1fc (git): curses/extconf.rb: simplify
- * ext/curses/extconf.rb (curses_version): try once for each tests, a
function or a variable. fallback to variable for old SVR4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:17 AM Revision 262669e6 (git): extmk.rb: always dynamic non-install extensions
- * ext/extmk.rb (extmake): extensions not to be installed should not
make static libraries, but make dynamic libraries always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:16 AM Feature #8350 (Rejected): Extending `%{}` notation in string to accept an array
- sawa (Tsuyoshi Sawada) wrote:
> but that would not cause any conflict.
> ...
It does allow.
"%2$-5s: %1$08x" % [self.object_id, "ID"] #=> "ID : 200e14d6"
-
02:09 AM Feature #8350 (Rejected): Extending `%{}` notation in string to accept an array
- =begin
`String#%` accepts a hash as an argument and interpolates the values into `%{}`-notated portions of the string:
"%{b} said %{a} to %{c}" % {a: "Foo", b: "Bar", c: "Baz"} #=> "Bar said Foo to Baz"
I would like to ... -
04:43 AM Revision 84c8319c (git): ancdata.c: suppress warnings
- * ext/socket/ancdata.c (bsock_sendmsg_internal): suppress warnings on
platforms where msghdr does not have msg_control.
* ext/socket/ancdata.c (bsock_recvmsg_internal): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40536 b... -
03:21 AM Revision bb35edf3 (git): * lib/rake/version.rb: Fix RDoc warning with :include: [Bug #8347]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:14 AM Revision cdce1dd4 (git): process.c: rb_daemon should not raise
- * process.c (rb_daemon): should not raise exceptions, since
proc_daemon() will deal with errors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:03 AM Revision 93f83417 (git): configure.bat: remove stale message
- * win32/configure.bat (help): remove stale message. win95 support had
been thrown away long ago.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:40 AM Revision 7ef7a65d (git): eval.c: use predefined IDs
- * eval.c (frame_func_id): use predefined IDs.
* vm.c (rb_vm_control_frame_id_and_class): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:38 AM Revision 84ad7e65 (git): * 2013-05-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:38 AM Revision 9644f9b5 (git): proc.c: use predefined IDs
- * defs/id.def (predefined): add "idProc".
* proc.c (mnew, mproc, mlambda): use predefined IDs.
* vm.c (Init_VM): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e