Project

General

Profile

Activity

From 03/23/2014 to 03/29/2014

03/29/2014

03:16 PM Bug #9688 (Closed): Ruby's child process inherits parent's sockets (mswin)
When Ruby application creates child process, sockets are inherited from the parent process.
This causes severe troub...
arton (Akio Tajima)
02:58 PM Feature #9453 (Rejected): Return symbols of defined methods for `attr` and friends
I am not positive. The example
private *attr_reader(:images, :key_map, :window, :screen_manager,:animations)
...
matz (Yukihiro Matsumoto)
08:10 AM Bug #9518: Objects in large arrays are leaked
(2014/03/29 15:48), [email protected] wrote:
> I strongly believe there should no magic based on size.

I ne...
ko1 (Koichi Sasada)
06:48 AM Bug #9518: Objects in large arrays are leaked
ko1: may I commit the removal of special case for large array/hash?

* gc.c (rb_gc_writebarrier): remove special c...
normalperson (Eric Wong)
04:43 AM Bug #9687 (Open): Make a cap for malloc_limit adjustment
ko1 (Koichi Sasada)
04:37 AM Bug #9687 (Closed): Make a cap for malloc_limit adjustment
Applied in changeset r45468.
----------
* gc.c (gc_before_sweep): cap `malloc_limit' to
gc_params.malloc_limit_max...
ko1 (Koichi Sasada)
04:14 AM Bug #9687 (Closed): Make a cap for malloc_limit adjustment
The blog post [Ruby Garbage Collection: Still Not Ready for Production] (http://www.omniref.com/blog/blog/2014/03/27/... ko1 (Koichi Sasada)
04:37 AM Revision 835186a3 (git): * gc.c (gc_before_sweep): cap `malloc_limit' to
gc_params.malloc_limit_max. It can grow and grow with such case:
`loop{"a" * (1024 ** 2)}'
[Bug #9687]
This ...
ko1 (Koichi Sasada)
04:08 AM Feature #9686: Syntax for symbols used in hashes
Sorry, `string.to_sym`. nobu (Nobuyoshi Nakada)

03/28/2014

10:58 PM Feature #9686: Syntax for symbols used in hashes
On Mar 29, 2014 8:52 AM, <[email protected]> wrote:
>
> You can write simply for that case:
>
> ~~~ruby
> stri...
phluid61 (Matthew Kerwin)
10:52 PM Feature #9686: Syntax for symbols used in hashes
You can write simply for that case:
~~~ruby
string = 'foo'
{string => 'bar'}
~~~
nobu (Nobuyoshi Nakada)
08:22 PM Feature #9686: Syntax for symbols used in hashes
See #4276 bitsweat (Jeremy Daer)
07:56 PM Feature #9686 (Open): Syntax for symbols used in hashes
Symbols are often used literally as keys in hashes like this:
~~~ruby
{foo: 'bar'}
~~~
But acutally there is ...
saschamayr (Sascha Mayr)
10:43 PM Revision ec02cc29 (git): * 2014-03-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:43 PM Revision 8062cdc6 (git): test_member.rb: fix locale depending test failure
* test/-ext-/struct/test_member.rb (test_member_get): set
default_external encoding to fix locale depending test fa...
nobu (Nobuyoshi Nakada)
05:54 PM Bug #9659: crash in FIPS mode after unchecked algo->init_func failure
I've just compared the Debian and CentOS OpenSSL sources, and it looks like large parts of the FIPS functionality in ... jared.jennings.ctr (Jared Jennings)
05:11 AM Bug #9659 (Feedback): crash in FIPS mode after unchecked algo->init_func failure
I can't reproduce that assertion failure, with openssl 0.9.8y and 1.0.1f.
`OPENSSL_FIPS` needs to be defined, perhaps?
nobu (Nobuyoshi Nakada)
12:29 AM Bug #9659: crash in FIPS mode after unchecked algo->init_func failure
If any credit is given for finding this problem, it belongs to Joseph Yaworski; see https://tickets.puppetlabs.com/br... jared.jennings.ctr (Jared Jennings)
12:28 AM Bug #9659: crash in FIPS mode after unchecked algo->init_func failure
Attached are three cumulative patches against source:/trunk@45452.
The first, 001-detect-digest-failure, changes t...
jared.jennings.ctr (Jared Jennings)
03:55 PM Feature #9453 (Assigned): Return symbols of defined methods for `attr` and friends
usa (Usaku NAKAMURA)
12:36 PM Revision 1d223a3b (git): struct.c: avoid pinning down
* struct.c (rb_struct_set, rb_struct_aref, rb_struct_aset): get
rid of pinning down dynamic symbols by SYM2ID.
* s...
nobu (Nobuyoshi Nakada)
12:36 PM Revision fd8f3cb9 (git): parse.y: rb_id_attrget
* parse.y (rb_id_attrget): new function to convert setter ID to
getter ID.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
10:56 AM Feature #9678: New heredoc syntax
Some use cases for fun:
system <<:
> ./configure
> make
> make install
eval <<:
> 1...
alexeymuranov (Alexey Muranov)
10:32 AM Revision 4a463622 (git): struct.c: encoding of member name
* struct.c (not_a_member): preserve encoding of member name in
error messages.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
10:32 AM Bug #9684 (Closed): Use same error messages in struct.c
Applied in changeset r45462.
----------
struct.c: not_a_member message
* struct.c (not_a_member): extract name erro...
nobu (Nobuyoshi Nakada)
06:02 AM Bug #9684 (Feedback): Use same error messages in struct.c
Do you have code to raise those exceptions? nobu (Nobuyoshi Nakada)
10:32 AM Revision afb4bcbf (git): struct.c: not_a_member message
* struct.c (not_a_member): extract name error and use same error
messages. based on the patch by Marcus Stollsteim...
nobu (Nobuyoshi Nakada)
07:58 AM Revision 4a3f08d3 (git): .gdbinit (rp): dump T_SYMBOL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:28 AM Revision 9d1bf5b3 (git): string.c: infect match result
* string.c (rb_pat_search): match result should be infected by the
pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
02:28 AM Revision 2f14bde8 (git): string.c: backref substitution
* re.c (rb_reg_regsub): allow nil regexp for string matching.
* string.c (rb_str_sub_bang, str_gsub): make substitut...
nobu (Nobuyoshi Nakada)
02:27 AM Revision 2d82342c (git): string.c: unset $~ if unmatch
* string.c (rb_pat_search): unset $~ if the last match failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@454...
nobu (Nobuyoshi Nakada)
01:23 AM Revision 209a310c (git): revert r45417
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:17 AM Revision 0795c716 (git): revert r45417
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:28 AM Bug #9685 (Closed): psych-2.0.5 のバックポート
CVE-2014-2525 の修正を含んだ psych-2.0.5 のバックポートをお願いします。
ref. https://github.com/tenderlove/psych/pull/187
related commi...
hsbt (Hiroshi SHIBATA)
12:23 AM Revision 7a01bfcd (git): * ext/psych/psych.gemspec: update gemspec for psych-2.0.5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:19 AM Revision 7efc09ec (git): * 2014-03-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:19 AM Revision e221c6ce (git): * ext/psych/lib/psych.rb: Merge psych-2.0.5. bump version to
libyaml-0.1.6 for CVE-2014-2525.
* ext/psych/yaml/config.h: ditto.
* ext/psych/yaml/scanner.c: ditto.
* ext/psych/yam...
hsbt (Hiroshi SHIBATA)

03/27/2014

10:42 PM Bug #9680 (Closed): String#sub and siblings should not use regex when String pattern is passed
I missed to include this ticket reference in the commit log.
Inflector seems using other replacements with RE, so ...
nobu (Nobuyoshi Nakada)
07:03 PM Bug #9680: String#sub and siblings should not use regex when String pattern is passed
Good point, Benoit! This is actually why I started looking into #gsub in the first place. I benchmarked ActiveSupport... srawlins (Sam Rawlins)
04:17 PM Bug #9680: String#sub and siblings should not use regex when String pattern is passed
It would be interesting to run the benchmark on a more realistic example. One should use String#tr or String#tr! if i... Eregon (Benoit Daloze)
02:02 AM Bug #9680: String#sub and siblings should not use regex when String pattern is passed
I think the speedup in this patch comes almost entirely from skipping the regex engine, not from the GC savings.
P...
srawlins (Sam Rawlins)
01:28 AM Bug #9680: String#sub and siblings should not use regex when String pattern is passed
I had an idea to replace the current reg_cache with memoization for
converting string literals, but never got aroun...
normalperson (Eric Wong)
12:09 AM Bug #9680 (Closed): String#sub and siblings should not use regex when String pattern is passed
Currently `String#sub`, `#sub!`, `#gsub, and `#gsub!` all accept a String pattern, but immediately create a Regexp fr... srawlins (Sam Rawlins)
08:16 PM Feature #9678: New heredoc syntax
Yes, it has to be defined immediately, otherwise it would be impossible to reuse the same heredoc "identifier" (`Mess... alexeymuranov (Alexey Muranov)
08:13 PM Feature #9678: New heredoc syntax
Rodrigo Rosenfeld Rosas wrote:
> What should the scope for interpolation be?
I had thought about it, but i did no...
alexeymuranov (Alexey Muranov)
07:12 PM Feature #9678: New heredoc syntax
What should the scope for interpolation be?
~~~
def my_method
a = 1
b = <<:message
end
a = 2
message:
...
rosenfeld (Rodrigo Rosenfeld Rosas)
07:08 PM Feature #9678: New heredoc syntax
Rodrigo Rosenfeld Rosas wrote:
> Is it possible to start the '>' anywhere besides the first char?
Good point, why...
alexeymuranov (Alexey Muranov)
07:02 PM Feature #9678: New heredoc syntax
Is it possible to start the '>' anywhere besides the first char?
~~~
def my_method
a = <<Message1:
Message1...
rosenfeld (Rodrigo Rosenfeld Rosas)
01:36 PM Feature #9678: New heredoc syntax
I try to summarize again, hopefully better, and with a bit different syntax.
### Example
class C
def...
alexeymuranov (Alexey Muranov)
01:42 AM Feature #9678 (Feedback): New heredoc syntax
Could you summarize your proposal concretely? nobu (Nobuyoshi Nakada)
05:13 PM Feature #9453: Return symbols of defined methods for `attr` and friends
It's been almost 2 months...any chance we could get a comment on this from the core team? jballanc (Joshua Ballanco)
03:30 PM Bug #8358: TestSprintf#test_float test failure
We've decided to revert the whole sse2 block from configure.in in official Linux Arch ruby package. https://www.archl... anatolik (Anatol Pomozov)
02:36 PM Bug #9681: miniruby Bus Error at 0x3d44c4
Just to give an update.
After many different tries, the solutions for compiling ruby 2.1 is to use Sunstudio rathe...
genie (Genie Sol)
10:06 AM Bug #9681 (Closed): miniruby Bus Error at 0x3d44c4
Dear team,
I'm trying to compile ruby 2.1.1 on Solaris Oracle Solaris 11.1 SPARC, with gcc version 4.5.2 (GCC).
...
genie (Genie Sol)
02:00 PM Bug #9683: Segmentation fault when using default proc feature in ruby Hash object
In ruby-2.0.0
➜ bruno-v2 rvm:(ruby-2.0.0) git:(master) ✗ ruby -v
ruby 2.0.0p451 (2014-02-24 revision 45167) [x86_6...
levieb (Eran Barak Levi)
01:51 PM Bug #9683 (Closed): Segmentation fault when using default proc feature in ruby Hash object

➜ bruno-v2 rvm:(ruby-2.1.0) git:(master) ✗ uname -a
Darwin erans-mbp.intkontera.com 13.1.0 Darwin Kernel Version ...
levieb (Eran Barak Levi)
01:59 PM Bug #9684 (Closed): Use same error messages in struct.c
In `struct.c`, use the same error message "`foo' is not a struct member" in
- `rb_struct_getmember` (line 97) and
...
stomar (Marcus Stollsteimer)
01:42 PM Bug #9682 (Closed): [Doc] Improve Time.parse documentation (in lib/time)
Consistently use EST like all other examples in lib/time.
Also tries to clarify the behaviour by adding a comment wi...
stomar (Marcus Stollsteimer)
12:03 PM Revision fb3bd787 (git): string.c: suppress warnings
* string.c (rb_str_sub_bang, str_gsub): initialize conditionally
assigned variables to suppress maybe-uninitialized...
nobu (Nobuyoshi Nakada)
09:58 AM Revision 5752b61d (git): string.c: search by rb_str_index
* re.c (match_regexp): set regexp for MatchData from string.
* re.c (rb_backref_set_string): create MatchData from st...
nobu (Nobuyoshi Nakada)
09:47 AM Revision 227a5a2a (git): string.c: mustnot_broken
* string.c (mustnot_broken): extract function to reject invalid
byte sequence, from rb_str_split_m().
git-svn-id: ...
nobu (Nobuyoshi Nakada)
09:08 AM Revision ffdb3ce9 (git): re.c: class name encoding
* re.c (match_inspect): preserve class name encoding by PRIsVALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
09:08 AM Revision 2dc8f669 (git): test_m17n_comb.rb: refine assertions
* test/ruby/test_m17n_comb.rb (test_str_scan): refine assertion
messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
05:42 AM Revision 7c9f1aa3 (git): [DOC] Fix NEWS about Symbol GC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
05:18 AM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
kosaki: any ideas for the lack of guard page for the main thread?

I have one idea, but I hate it: run timer threa...
normalperson (Eric Wong)
03:48 AM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
Increasing guard page size doesn't not fit for x86 32bit, at least. They have no enough room.
I see no regression if...
kosaki (Motohiro KOSAKI)
03:03 AM Revision 949f1160 (git): string.c: invert flag
* string.c (str_gsub): invert and rename `str_replace` flag as
`need_backref`.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
03:01 AM Revision acc3cf5f (git): * addr2line.c (fill_lines): check shdr[i].sh_type because even if
.symtab section exists, the section's type can be SHT_NOBITS and
actual data doesn't exist in the file. [Bug #9654]...
naruse (Yui NARUSE)
02:58 AM Revision 6c27d383 (git): re.c: indent
* re.c (rb_reg_search): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45444 b2dd03c8-39d4-4d8f-98...
nobu (Nobuyoshi Nakada)
02:58 AM Revision d94dcf1e (git): parse.y: type-punning cast
* parse.y (rb_gc_free_dsymbol): use intermediate st_data_t and get
rid of type-punning cast.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)

03/26/2014

11:27 PM Bug #8508: Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
Add backport request drbrain (Eric Hodel)
10:48 PM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > I propose the following to test insid...
normalperson (Eric Wong)
07:48 AM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
[email protected] wrote:
> I propose the following to test inside threads:
> http://bogomips.org/ruby.git/pa...
normalperson (Eric Wong)
03:59 AM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
I found no problems.
Let's try it.
nobu (Nobuyoshi Nakada)
02:38 AM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
[email protected] wrote:
> It fails on x86 as well - #9198

It seems the common problem is the main thread sta...
normalperson (Eric Wong)
09:46 PM Revision b1cd933e (git): * 2014-03-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:46 PM Revision c6aa2c46 (git): temporally change for powerpc64-linux fc18
fc18 powerpc64's libc6-dbg has symtab/strtab but it can't be
referenced. therefore add workaround not to see them.
g...
naruse (Yui NARUSE)
09:28 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
Same thing...
~~~
2.1.0/lib/ruby/2.1.0/bigdecimal/util.rb:18: [BUG] Segmentation fault at 0x00000030d99000
ruby ...
[email protected] (Brent Theisen)
03:58 PM Bug #9679 (Third Party's Issue): /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.2/lib/chef/util/diff.rb:129: [BUG] Segmentation fault
Hi
Not sure if it's a Chef or Ruby issue, I just thought I would follow the last lines of the output and report th...
vkats (Katsikaros Vangelis)
02:19 PM Revision e6dcb3b1 (git): [DOC] Add NEWS about Symbol GC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
01:52 PM Feature #9678: New heredoc syntax
IMO, this would allow a program with heredocs to be easily readable without having to indent heredocs. Especially if... alexeymuranov (Alexey Muranov)
01:47 PM Feature #9678: New heredoc syntax
Sorry, of course:
f(42)
i would expect to output
Literal text
------------
Here text.

...
alexeymuranov (Alexey Muranov)
01:40 PM Feature #9678: New heredoc syntax
And the expected output? nobu (Nobuyoshi Nakada)
01:27 PM Feature #9678 (Feedback): New heredoc syntax
For whatever it is worth, i've just had this idea of a new heredoc syntax for some programming language:
class...
alexeymuranov (Alexey Muranov)
12:10 PM Bug #9177: Can't exit curses program and retain screen contents
Hiroshi SHIBATA wrote:
> curses is extracted from ruby-core. Please report this issue to https://github.com/ruby/cur...
walles (Johan Walles)
11:30 AM Revision bb1d0d28 (git): parse.y: set encoding
* parse.y (rb_str_dynamic_intern): associate proper encoding with
the result symbol.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
11:14 AM Revision e8de850e (git): encoding.c: fix encoding of dynsym
* encoding.c (rb_enc_get_index): the encoding of dynamic symbol
comes from fstr.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
10:59 AM Revision 2d8c3e78 (git): remove break because strtab/symtab is usually the last segment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:53 AM Bug #9652: Marshal doesn't dump/load Time#zone correctly with too many time object
Eric Wong wrote:
> Sorry about the portability problems.
Of course you don't have to take it seriously.
It's th...
usa (Usaku NAKAMURA)
08:26 AM Bug #9674: Segfault when marshaling Queue
Thank you for the fast fix! :) splattael (Peter Leitzen)
02:20 AM Bug #9674 (Closed): Segfault when marshaling Queue
Applied in changeset r45423.
----------
thread.c: undumpable
* ext/thread/thread.c (undumpable): ConditionVariable ...
nobu (Nobuyoshi Nakada)
08:24 AM Revision 45fff515 (git): encoding.c: enc_capable symbol
* encoding.c (enc_capable): Symbol is now encoding capable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45436 ...
nobu (Nobuyoshi Nakada)
07:40 AM Revision 623da152 (git): temporaly show sym->st_name and so on
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:43 AM Revision ef02cae5 (git): parse.y: fix rb_str_symname_type call
* parse.y (rb_str_dynamic_intern): fix the second argument to
rb_str_symname_type, which is a bit mask but not a bo...
nobu (Nobuyoshi Nakada)
06:36 AM Revision 5620a519 (git): * parse.y (rb_str_dynamic_intern): fix commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:34 AM Revision 33b8663f (git): parse.y: guard dup string
* parse.y (rb_str_dynamic_intern): prevent a string which may be
duplicated, from GC.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
06:34 AM Revision ad8ed59a (git): parse.y: dup iff needed
* parse.y (rb_str_dynamic_intern): dup the given string only if
needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
06:34 AM Revision 9a848c5f (git): parse.y: no dup US-ASCII string
* parse.y (rb_str_dynamic_intern): no needs to associate encoding
if it is US-ASCII.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
05:58 AM Revision e70b61d0 (git): * parse.y: inline must be static (for mswin).
fixed build error introduced at r45426.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45429 b2dd03c8-39d4-4d8f-...
U.Nakamura
05:54 AM Bug #9677 (Third Party's Issue): OpenSSL::PKey::EC#to_text causes a segmentation fault
I have Ruby 2.1.1p76 and when I try to run a particular snippet of code using the OpenSSL extension, I get a segmenta... DavidEGrayson (David Grayson)
05:39 AM Revision b9ea1359 (git): * internal.h (USE_SYMBOL_GC): enable Symbol GC by default (USE_SYMBOL_GC == 1).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
05:14 AM Revision 17a6f922 (git): cast to int to silence clang compile error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e authorNari (Narihiro Nakamura)
04:57 AM Feature #9634 (Closed): [PATCH]Symbol GC
Applied in changeset r45426.
----------
* parse.y: support Symbol GC. [ruby-trunk Feature #9634]
See this ticket a...
Anonymous
04:57 AM Revision 90b70738 (git): * parse.y: support Symbol GC. [ruby-trunk Feature #9634]
See this ticket about Symbol GC.
* include/ruby/ruby.h:
Declare few functions.
* rb_sym2id: almost same as old S...
authorNari (Narihiro Nakamura)
04:30 AM Revision 2bf56ded (git): * addr2line.c (fill_lines): loop reverse order not to overwrite
the basis of base addresses comparison.
* addr2line.c: use uintptr_t instead of intptr_t for poinrters.
* addr2line...
naruse (Yui NARUSE)
02:20 AM Revision 3935f2ae (git): marshal.c: undumpable hidden objects
* marshal.c (w_object): internal objects are not dumpable.
[ruby-core:61677] [Bug #9674]
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
02:20 AM Revision 1dd52701 (git): thread.c: undumpable
* ext/thread/thread.c (undumpable): ConditionVariable and Queue
are not dumpable. [ruby-core:61677] [Bug #9674]
g...
nobu (Nobuyoshi Nakada)
01:41 AM Bug #9675 (Rejected): Marshal.load fails with recursive structures and user defined hash method
Cody Cutrer wrote:
> It seems like the hash should be constructed during loading *without* calling #hash, and then a...
nobu (Nobuyoshi Nakada)
01:38 AM Revision f3867e22 (git): * addr2line.c (follow_debuglink): show message if it closes opened
(and maybe used) elf binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45422 b2dd03c8-39d4-4d8f-98ff-823fe69...
naruse (Yui NARUSE)
01:38 AM Revision b8ba4016 (git): * addr2line.c (fill_line): pass and use offset instead of
curobj_baseaddr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:48 AM Revision 62efb9c2 (git): add feature number to ChangeLog entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Yutaka Kanemoto
12:21 AM Feature #9673: pieをconfigureからdisableしたい
ありがとうございます。

入れておきました。
どこかで困っている人がいたら啓蒙しようと思います。

--
Yutaka KANEMOTO
http://d.hatena.ne.jp/kinpoco/
kanemoto (Yutaka Kanemoto)
12:13 AM Revision 738c3034 (git): add --disable-pie option to configure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Yutaka Kanemoto
12:02 AM Revision 537623e4 (git): don't write _start as is; use dlsym
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

03/25/2014

11:55 PM Revision 3bd0fd11 (git): temporaly change/add to debug on powerpc64-linux
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:55 PM Revision 633b2fc9 (git): * addr2line.c (fill_lines): don't run fill_lines multiple times.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:52 PM Revision df0034f8 (git): * internal.h (rb_reg_search0): not a public API.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:46 PM Bug #9676 (Closed): String#gsub shouldn't allocate so many Strings in its loop
Applied in changeset r45414.
----------
Stop allocating backref strings within gsub's search loop
* internal.h: add...
Anonymous
10:55 PM Bug #9676 (Closed): String#gsub shouldn't allocate so many Strings in its loop
`rb_reg_search()` allocates (dups) a String to attach to the backreference object ( `RMATCH(match)->str = rb_str_new4... srawlins (Sam Rawlins)
11:46 PM Revision a7720658 (git): Stop allocating backref strings within gsub's search loop
* internal.h: add prototype for rb_reg_search0
* re.c: rename rb_reg_search to rb_reg_search0, add set_backref_str
...
Charlie Somerville
11:29 PM Revision ebd9f1d0 (git): lib/rubygem.rb: Weirich
* lib/rubygem.rb: fix spelling of Jim Weirich. [Fixes GH-577]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@454...
nobu (Nobuyoshi Nakada)
10:29 PM Bug #9674: Segfault when marshaling Queue
For clarity, a Queue is not dumpable. With DRb a reference to the Queue (DRbObject) is sent instead. drbrain (Eric Hodel)
03:36 PM Bug #9674 (Closed): Segfault when marshaling Queue
Marshaling `Queue` segfaults on ruby 2.1.1p76 (see attachment)... splattael (Peter Leitzen)
06:44 PM Revision 0fe34c4c (git): main is not a pubic function, use _start instead
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:11 PM Bug #9652: Marshal doesn't dump/load Time#zone correctly with too many time object
[email protected] wrote:
> r45364 introduced a test failure on Windows, and r45395 didn't fix it.
> After all,...
normalperson (Eric Wong)
06:49 AM Bug #9652: Marshal doesn't dump/load Time#zone correctly with too many time object
r45364 introduced a test failure on Windows, and r45395 didn't fix it.
After all, there is no portabl time zone name...
usa (Usaku NAKAMURA)
06:02 PM Feature #9673: pieをconfigureからdisableしたい
さらっと見た感じ、あってそうです。どうせオプション増やしてるだけで失敗してても大きな影響はないんですから突っ込んでしまっていいのではないでしょうか。 kosaki (Motohiro KOSAKI)
02:38 PM Feature #9673 (Closed): pieをconfigureからdisableしたい
手持ちのある環境でtrunkを使いたくなって、./configure && makeでminirubyが落ちてしまいました。1.9の時代は動いていたという情報がたくさんあったので比較したところ、PIEが怪しかったので消してmakeした... kanemoto (Yutaka Kanemoto)
04:58 PM Revision 925a1e1d (git): * 2014-03-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:58 PM Revision c1b81d35 (git): * addr2line.c (rb_dump_backtrace_with_lines): a function to get must
be a function in the main executable, whose absolute path is not
available by dladdr, and ruby get it by /proc/self...
naruse (Yui NARUSE)
04:58 PM Revision cd2afc30 (git): * addr2line.c (fill_lines): skip if path is NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:54 PM Bug #9675 (Rejected): Marshal.load fails with recursive structures and user defined hash method
If a user class redefines hash to something that depends on instance variables, and the object is loaded both before ... ccutrer (Cody Cutrer)
02:57 PM Bug #9669 (Closed): Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
Applied in changeset r45408.
----------
parse.y: required kwarg without parentheses
* parse.y (parser_yylex): only ...
nobu (Nobuyoshi Nakada)
08:15 AM Bug #9669 (Open): Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
It doesn't work yet... nobu (Nobuyoshi Nakada)
07:47 AM Bug #9669 (Closed): Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
Applied in changeset r45405.
----------
parse.y: required kwarg without parentheses
* parse.y (lex_state_e, parser_...
nobu (Nobuyoshi Nakada)
05:25 AM Bug #9669: Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
Nobuyoshi Nakada wrote:
> Do you mean **all** line continuations?
I don't think so; the only one that ever comes ...
phluid61 (Matthew Kerwin)
04:52 AM Bug #9669: Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
Or put a semicolon after `b:`.
Matthew Kerwin wrote:
> I think Ruby should drop the line continuation, and interp...
nobu (Nobuyoshi Nakada)
03:42 AM Bug #9669: Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
It's because of line continuations. It interpreted the code as:
~~~ruby
def foo a:, b: 'bar'
# returns `nil`
...
phluid61 (Matthew Kerwin)
03:33 AM Bug #9669: Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
That is consistent. In the first example, `'bar'` is interpreted as the default value of `b`. In the second example, ... sawa (Tsuyoshi Sawada)
02:36 AM Bug #9669 (Closed): Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without parentheses.
Ruby allowed us to define method with arguments without parentheses.
~~~
def foo a:, b:
'bar'
end
#=> :foo
...
tejanium (Teja Sophista)
02:57 PM Revision dcd1e5e5 (git): parse.y: required kwarg without parentheses
* parse.y (parser_yylex): only a newline after label should be
significant. [ruby-core:61658] [Bug #9669]
git-svn...
nobu (Nobuyoshi Nakada)
02:42 PM Revision 6df5f314 (git): remove unnecessary unshift
* ext/pathname/lib/pathname.rb (Pathname#join): remove unnecessary unshift.
* test/pathname/test_pathname.rb (TestPat...
znz (Kazuhiro NISHIYAMA)
11:32 AM Feature #9620: Rename "curry" to "schönfinkelize"
http://en.wikipedia.org/wiki/Currying
> The name "currying", coined by Christopher Strachey in 1967, is a referenc...
mame (Yusuke Endoh)
05:09 AM Feature #9620: Rename "curry" to "schönfinkelize"
I think because the proposed method is not for “native” speakers, its meant for third party individuals ;)

It was...
zzak (zzak _)
07:57 AM Revision 602a9c14 (git): * test/ruby/test_time.rb: extended the timeout span and reduce the loop count.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
07:47 AM Revision d7442c32 (git): parse.y: required kwarg without parentheses
* parse.y (lex_state_e, parser_params, f_arglist, parser_yylex):
separate EXPR_LABELARG from EXPR_BEG and let newli...
nobu (Nobuyoshi Nakada)
07:39 AM Revision 0574b646 (git): parse.y: removing padding
* parse.y (parser_params): shrink struct size by removing padding
on 64-bit platforms.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
06:55 AM Revision 69c80f18 (git): * test/ruby/test_time.rb: use portable time zone. see [ruby-core:61671] [Bug #9652]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:48 AM Feature #9667: Optimization of __FILE__ and __dir__
`test/rubygems/test_gem.rb` fails at `untaint`ing `__FILE__`, when parallel test. nobu (Nobuyoshi Nakada)
01:30 AM Revision b8c376cb (git): defs/gmake.mk: no _FORTIFY_SOURCE unless optimization
* defs/gmake.mk (XCFLAGS): remove _FORTIFY_SOURCE if optimization is
disabled as it requires compiling with optimiz...
nobu (Nobuyoshi Nakada)

03/24/2014

11:00 PM Bug #9659: crash in FIPS mode after unchecked algo->init_func failure
I changed the `rb_digest_hash_init_func` typedef from a return type of `void` to `int`, so that the return value of `... jared.jennings.ctr (Jared Jennings)
07:08 PM Bug #9664: cannot resume transferred Fiber even if it should resume
More straightforward example and a convenient way to detect the bug:
~~~
begin
Fiber.new { Fiber.yield Fiber.c...
royaltm (Rafał Michalski)
03:28 PM Revision c54e268a (git): * 2014-03-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:28 PM Revision 4765f9c7 (git): vm.c: extract core_hash_merge
* vm.c (core_hash_merge): extract from m_core_hash_merge_ary and
m_core_hash_merge_ptr.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
03:28 PM Revision d617a02b (git): vm.c: merge code
* vm.c (m_core_hash_from_ary, m_core_hash_merge_ary): merge
duplicated code.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
01:51 PM Revision f9382d03 (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:19 PM Revision 0331e42b (git): parse.y: freeze filename
* parse.y (ripper_initialize): filename can not be modified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45397...
nobu (Nobuyoshi Nakada)
09:25 AM Feature #9667: Optimization of __FILE__ and __dir__
Sorry, my examples were inappropriate. Please ignore the examples above.
<hr>
Currently, different object id is ret...
sawa (Tsuyoshi Sawada)
09:19 AM Feature #9667 (Open): Optimization of __FILE__ and __dir__
In the same spirit as the string literal followed by `freeze` is optimized, I think `__FILE__` and `__dir__` should b... sawa (Tsuyoshi Sawada)
08:26 AM Revision 87108634 (git): test_time.rb: arguments order
* test/ruby/test_time.rb (TestTime#test_marshal_zone_gc): fix
the order of arguments. expected value should come f...
nobu (Nobuyoshi Nakada)
08:23 AM Feature #9620 (Rejected): Rename "curry" to "schönfinkelize"
> Status changed from Open to Third Party's Issue
This is a discussion about the name of Proc#curry, which is buil...
duerst (Martin Dürst)
08:12 AM Bug #9666 (Closed): Segmentation fault while printing out C level backtrace information, when $0 is set
It is because glibc's dladdr doesn't return absolute path.
r45394 fixes this with /proc/self/exe.
(this insists it ...
naruse (Yui NARUSE)
07:33 AM Bug #9666 (Closed): Segmentation fault while printing out C level backtrace information, when $0 is set
This might be related to [Bug #9654], but when $0 is set, a segmentation fault happens while printing out C-level bac... ReiOdaira (Rei Odaira)
08:02 AM Revision f664ffb5 (git): Asia/Tokyo is more portable value for ENV["TZ"] [Bug #9652]
FreeBSD doesn't accept "Japan".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45395 b2dd03c8-39d4-4d8f-98ff-823f...
naruse (Yui NARUSE)
07:31 AM Bug #8344 (Assigned): Status of Psych and Syck
zzak (zzak _)
06:28 AM Revision 2e47a521 (git): * addr2line.c (rb_dump_backtrace_with_lines): fetch path of the
executable from /proc/self/exe on Linux.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45394 b2dd03c8-39d4-4d8f-...
naruse (Yui NARUSE)
05:28 AM Revision 23d790e4 (git): gc.c: Fix up default GC params by @csfrancis [fix GH-556]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
04:18 AM Revision 75f44fc3 (git): * 2014-03-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:18 AM Revision d2b1deda (git): * addr2line.c (parse_debug_line_cu): explicitly specify signed char
because DWARF's line_Base is signed char and char maybe unsigned.
patched by Rei Odaira. [ruby-dev:48068] [Bug #965...
naruse (Yui NARUSE)
02:55 AM Bug #9654: Segmentation fault while printing out C level backtrace information
Thanks for the quick fix. The second segmentation fault no longer happens.
Unfortunately, I found another problem ...
ReiOdaira (Rei Odaira)

03/23/2014

09:48 PM Bug #9665 (Closed): Ruby 2.1.1 fails to build on PowerPC darwin, due to __builtin_unreachable
Ruby 2.1.1 (and possibly a few older versions) fails to build on PowerPC Darwin using Apple-provided GCCs. When linki... mistydemeo (Misty De Meo)
02:47 PM Revision d550d722 (git): .gdbinit: use st_numhash
* .gdbinit (rb_numtable_entry): use st_numhash() to follow r45384.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
08:25 AM Feature #9620 (Third Party's Issue): Rename "curry" to "schönfinkelize"
zzak (zzak _)
06:06 AM Bug #9664 (Rejected): cannot resume transferred Fiber even if it should resume
The simplified case:
~~~
root = Fiber.current
f = Fiber.new {
puts 'transfer'
root.transfer
puts 'yield...
royaltm (Rafał Michalski)
03:37 AM Bug #9653: gc_sweep(): unknown data type 0x0
Thanks again Eric. For reference, I posted the list of C extensions Gems I used. I am trying different versions of th... hongbin (Hongbin Lu)
02:05 AM Revision 0ab88d13 (git): vm_method.c fix commit miss
* vm_method.c (rb_method_entry_get_without_cache): fix commit miss.
remove extra !. [Bug #9663]
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
02:03 AM Bug #9663 (Closed): Segfault with alias_method and include
Applied in changeset r45387.
----------
vm_method.c: check if klass is 0
* vm_method.c (rb_method_entry_get_without...
nobu (Nobuyoshi Nakada)
02:03 AM Revision 99baae99 (git): vm_method.c: check if klass is 0
* vm_method.c (rb_method_entry_get_without_cache): me->klass is 0
for a method aliased in a module. [ruby-core:616...
nobu (Nobuyoshi Nakada)
02:03 AM Revision bedc6fdf (git): vm_method.c: check if klass is 0
* vm_method.c (rb_method_entry_get_without_cache): me->klass is 0
for a method aliased in a module. [ruby-core:616...
nobu (Nobuyoshi Nakada)
01:10 AM Revision 10cf7c5b (git): hash.c: use ID_SCOPE_SHIFT
* hash.c (rb_any_hash): use ID_SCOPE_SHIFT instead of magic number.
[Feature #9425]
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom