Activity
From 03/28/2014 to 04/03/2014
04/03/2014
-
11:16 PM Feature #9696: More Flexible Refinement Syntax
- Thomas, although I don't deny the possibility of "more flexible refinement syntax", I prefer creating new issues for each design proposals, so that we can refer them by issue numbers. Please resubmit if you have new idea.
Matz. -
04:55 PM Feature #9696: More Flexible Refinement Syntax
- I gave it a try here: https://gist.github.com/rosenfeld/9958332
If you keep your files simple it should be somewhat easy to generate the refinement versions from the original monkey patches... -
03:20 PM Feature #9696: More Flexible Refinement Syntax
- If there "could be better design" could this ticket be set to feedback? Maybe others have some ideas about it.
Am I wrong to think that the most applicable use-cases for refinements by-far are the ActiveSupport and Facets core extens... -
09:58 AM Feature #9696: More Flexible Refinement Syntax
- For a practical solution you might be interested on you might build a
preprocessor that would generate the duplicate files you need which could
be ignored by your VCS but included in your gem.
-
09:10 AM Feature #9696 (Rejected): More Flexible Refinement Syntax
- In that case, string/foo.rb will work differently loaded by #using or #require.
I don't think it is a good design, although I admit there could be better design.
Matz.
-
03:21 AM Feature #9696 (Rejected): More Flexible Refinement Syntax
- I am the maintainer of Ruby Facets, the core extensions library. For the next release of Facets I have long planned to provide support for Refinements. Unfortunately, after working with the code to determine what would be necessary to su...
-
10:13 PM Bug #9698 (Closed): r45509以降、Solarisにて configureが thread model is missing でエラー
- Applied in changeset r45513.
----------
configure.in: restore flags
* configure.in (ac_cv_func___builtin_setjmp): should not skip
flags restoration in RUBY_WERROR_FLAG by `break`.
[ruby-dev:48086] [Bug #9698] -
04:04 PM Bug #9698 (Closed): r45509以降、Solarisにて configureが thread model is missing でエラー
- r45509以降、Solarisにて configureが thread model is missing でエラーになります。
$ autoconf --version
autoconf (GNU Autoconf) 2.68
$ autoconf
$ ./configure --prefix=/XXXXXXXXXX --build=sparc64-sun-solar... - 10:13 PM Revision d41af17d (git): * 2014-04-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:13 PM Revision 5c20b012 (git): configure.in: restore flags
- * configure.in (ac_cv_func___builtin_setjmp): should not skip
flags restoration in RUBY_WERROR_FLAG by `break`.
[ruby-dev:48086] [Bug #9698]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:13 PM Revision 80b36a7b (git): configure.in: indent
- * configure.in (ac_cv_func___builtin_setjmp): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:01 PM Bug #9700 (Rejected): [DOC] Fix for documentation of URI::Escape
- I was trying to use URI.escape to encode "."
http://www.ruby-doc.org/stdlib-2.1.0/libdoc/uri/rdoc/URI/Escape.html
the REGEXP::UNSAFE was no longer exist. -
08:50 PM Bug #9699 (Closed): Cannot require .so file on Windows if the file path is unicode (Includes patch)
- It doesn't seem possible to load a C extension that is inside a non-ascii path.
To reproduce:
- Extract the attached zip file (with a decent unzip program such as 7-zip, that preserves unicode paths)
- cd to where you extracted
- lau... -
03:59 PM Bug #9694: Bad regexp hangs ruby
- Rafael, i'm sorry, the bad regexp is not displaying properly, something is obviously wrong with my formatting. Gergo reproduced it same as i have it.
Urabe, do you know how Perl does that? Also, i'll be grateful for the link to regex... -
02:42 AM Bug #9694: Bad regexp hangs ruby
- Ruby's regexp engine is NP-complete. It's ultimately impossible to guarantee
regexp matches to run fast (if you don't think so please send us a proof). It
might be possible to warn your specific bad regexp, but in general it's also
... -
02:27 PM Bug #9695: Substring search exhibit quadratic behaviour.
- It's `O(m*n)`, not `O(m**2)`, where `m` and `n` are the lengths of the receiver and the searching strings respectively.
-
02:17 AM Bug #9695: Substring search exhibit quadratic behaviour.
- Interesting, and I'm pretty sure this also interests matz.
-
02:07 PM Bug #1685: Some windows unicode path issues remain
- B Kelly wrote:
> =begin
> ...
In Ruby 2.0 there appear to still be several issues with Ruby and Unicode characters in filenames. Dir.entries fail, load and require fail. __FILE__ has the wrong encoding. I see some things slated for Rub... -
01:12 PM Bug #9697: rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- This is the line am geting the error
http = Net::HTTP.start(host, port)
Its not occuring for all hosts and ports, Some of the hosts and ports are getting error.
Actually am looping 100k hosts and ports to run this code. So am no... -
01:01 PM Bug #9697: rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- The ruby 1.9.3-p545 is the patch applied version.
Thus, this issue is not the same bug with bug #8627.
I guess the getaddrinfo call returns EAI_SYSTEM and errno is not ENOENT in your case.
Could you attach strace log or a simple rep... -
10:03 AM Bug #9697: rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- So Which version of **ruby patch** i should use for this issue?
My current patch is 1.9.3-p545 -
08:46 AM Bug #9697: rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- -- Ruby level backtrace information ----------------------------------------
/home/deploysearch/ruby/1.9.1/gems/celluloid-0.14.1/lib/celluloid/internal_pool.rb:59:in `block in create'
/home/deploysearch/ruby/1.9.1/gems/celluloid-0.14.1... -
07:05 AM Bug #9697: rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- It seems that this issue is somewhat similar to the bug #8627( https://bugs.ruby-lang.org/issues/8627 ).
But the bug #8627 was fixed and backported to 1.9.3 already( https://bugs.ruby-lang.org/projects/ruby-193/repository/revisions/4493... -
06:05 AM Bug #9697: rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- My Envoronment is ubuntu 13.10
Ruby - 1.9.3
Patch - 535 -
05:50 AM Bug #9697 (Closed): rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
- /home/deploysearch/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/net/http.rb:763: [BUG] rb_sys_fail(getaddrinfo) - errno == 0
ruby 1.9.3p545 (2014-02-24 revision 45159) [x86_64-linux]
-- Control frame information -----------------------... -
12:50 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
- Same thing, but noticed *** glibc detected *** ruby: corrupted double-linked list: 0x00007f9c23f51fc0 *** in backtrace (See attached)
-
09:17 AM Bug #9454: The define_method(:class) segfault
- FYI, `TestException#test_machine_stackoverflow_by_define_method` fails on my environment, too: Linux 2.6.32-71.el6.x86_64 and glibc 2.12-1.7.el6.
~~~
$ ruby -v
ruby 2.2.0dev (2014-04-01 trunk 45498) [x86_64-linux]
~~~
The problem ... -
06:38 AM Bug #9683: Segmentation fault when using default proc feature in ruby Hash object
- There are two stacks, VM stack and machine stack.
> ~~~ruby
> ...
causes VM stack overflow, but recursive default proc causes machine stack overflow.
The former is detected by the VM, so no dirty pages is used.
Your patch prevent... -
04:52 AM Bug #9683: Segmentation fault when using default proc feature in ruby Hash object
- Nobu, Is p466 an unreleased version? Is it ruby_2_0_0 branch? In any case, you are correct: can reproduce in 2.0.0-p451 and -353. 2.1.x seem to correctly SystemStackError.
There remains a bug in trunk (and 2.1.x), however: the first S... - 05:59 AM Revision 16f07789 (git): * 2014-04-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:59 AM Revision 22305ffe (git): * lib/csv.rb: fix minor typo by @baroquebobcat [fix GH-583][ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/02/2014
-
10:34 PM Bug #9694: Bad regexp hangs ruby
- For some reason the regex is not displayed correctly. I'm able to reproduce the reported issue (see the correct regex below):
~~~
$ cat test.rb
str = ('a' * ARGV[0].to_i) + '?'
re = /(\w*)*$/
re.match(str)
$ time ruby test.rb 14... -
10:21 PM Bug #9694: Bad regexp hangs ruby
- I tried to reproduce with your script and could not:
```
$ ruby -v
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]
$ cat foo.rb
str = ('a' * ARGV[0].to_i) + '?'
re = /(\w)$/
re.match(str)
$ time ruby foo.rb 14... -
09:36 AM Bug #9694 (Closed): Bad regexp hangs ruby
- Here is an extracted problem i ran into recently:
~~~
$ cat test.rb
str = ('a' * ARGV[0].to_i) + '?'
re = /(\w*)*$/
re.match(str)
~~~
On few chars match returns quite fast, but here's what happens on 14 'a'-s and up:
~~~
$ t... -
09:19 PM Bug #9695 (Rejected): Substring search exhibit quadratic behaviour.
- http://nelhagedebugsshit.tumblr.com/post/81301884746/surveying-various-languages-string-search-algorithms
~~~ruby
12.upto(21).map do |i|
needle='a'*(2**(i-1)) + 'b'
haystack = 'a' * (2**i)
a = Time.now; haystack.include?(nee... -
01:00 PM Revision 08d40c92 (git): configure.in: use the first candidate
- * configure.in (ac_cv_func___builtin_setjmp): use the first cast
which works with __builtin_longjmp(). [Bug #9692]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:50 PM Revision a0237409 (git): configure.in: fix for clang 5.1 __builtin_longjmp
- * configure.in (ac_cv_func___builtin_setjmp): __builtin_longjmp() in
clang 5.1 uses `void**`, not `jmp_buf`. [Bug #9692]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:04 PM Revision fb59efb9 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:03 PM Revision 295480a0 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:59 AM Revision 37067ed9 (git): * gc.c, gc.h (rb_objspace_each_objects_without_setup):
- Add a new (hidden) C-API to iterate objspace snapshot.
This API is not safe to call any C-APIs in a given callback
function. Be careful to use this C-API.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45505 b2dd03c8-39d4-4d8f-... -
10:57 AM Revision b230d20e (git): eval_intern.h: __builtin_longjmp requires literal 1 on gcc 4.9
- * eval_intern.h (rb_threadptr_tag_jump): gcc 4.9 disallows other than
literal 1 as the second argument of __builtin_longjmp().
[ruby-core:61800] [Bug #9692]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45504 b2dd03c8-39d4-4d8f-... -
08:43 AM Bug #9692 (Closed): __builtin_longjmp is called with a value greater than 1 (GCC compilation error)
- Applied in changeset r45503.
----------
configure.in: do not use a variable for longjmp
* configure.in (`ac_cv_func___builtin_setjmp`): gcc 4.9 disallows a
variable as the second argument of `__builtin_longjmp()`.
[ruby-core... -
08:41 AM Bug #9692: __builtin_longjmp is called with a value greater than 1 (GCC compilation error)
- I think `JUMP_TAG` in the trunk doesn't use a variable.
-
08:43 AM Revision 4ad0071d (git): configure.in: do not use a variable for longjmp
- * configure.in (ac_cv_func___builtin_setjmp): gcc 4.9 disallows a
variable as the second argument of __builtin_longjmp().
[ruby-core:61800] [Bug #9692]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45503 b2dd03c8-39d4-4d8f-98ff-... -
08:27 AM Bug #9683: Segmentation fault when using default proc feature in ruby Hash object
- I could reproduce it with 2.0.0p353 but 2.0.0p466 occurred `SystemStackError`.
-
06:15 AM Misc #9511 (Closed): [Doc] Relic url in `make help` instructions
- Applied in changeset r45502.
----------
* common.mk: Use redmine-2.x url for DeveloperHowto wiki.
[ruby-core:60657] [Bug #9511] -
06:15 AM Revision 1f208200 (git): * common.mk: Use redmine-2.x url for DeveloperHowto wiki.
- [ruby-core:60657] [Bug #9511]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:55 AM Revision b3b9b6e5 (git): * doc/syntax/assignment.rdoc: [DOC] Fix typo unclosed HTML tag by @andrewdotn
- [fix GH-574][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:50 AM Feature #9602: Logic with `Enumerable#grep`
- I've updated my patch some more with Enumerable#reject and Array#reject. (Array#reject was weird... I reabsorbed `ary_reject()` into `rb_ary_reject()` and left the only use of `rb_ary_push_1()` intact. I think some of this code was very ...
- 02:51 AM Revision bb81bbf3 (git): * 2014-04-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:51 AM Revision 60d4fc9f (git): Fix error with empty args.
- * ext/pathname/lib/pathname.rb (Pathname#join): Fix error with
empty args. Reported by ko1 via IRC.
* test/pathname/test_pathname.rb (TestPathname#test_join): Add the
test for above case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... -
12:49 AM Bug #9693 (Rejected): \x{} in regexp
- https://github.com/rurema/doctree/issues/80 の話です。
`regparse.c` の `OnigSyntaxRuby` では `ONIG_SYN_OP_ESC_X_BRACE_HEX8` が有効になっていて、使えることを意図しているように見えるのですが、正規表現リテラルだと parser が通してくれなくて `syntax error, unexpected '{', expecting end-of-input` にな...
04/01/2014
-
07:23 PM Bug #9683: Segmentation fault when using default proc feature in ruby Hash object
- Currently, trunk act's like Eran's example: `a[1]` first results in SystemStackError, then results in segmentation fault. I've tracked the segfault down to vm.c, in `vm_exec()`:
1327 vm_loop_start:
1328 result = vm_exe... -
06:26 PM Bug #9691: Wrong value on float
- Use Fixnum (14995 * 100) or BigDecimal:
~~~
require 'bigdecimal'
d = BigDecimal.new('149.95')
d * 100
# => 0.14995E5
~~~
More info on floating point vs. decimal numbers:
http://www.youtube.com/watch?v=PZRI1IfStY0 -
11:29 AM Bug #9691 (Rejected): Wrong value on float
- This is how it works. Learn floating point numbers.
"What Every Computer Scientist Should Know About Floating-Point Arithmetic"
http://docs.sun.com/source/806-3568/ncg_goldberg.html -
09:52 AM Bug #9691 (Rejected): Wrong value on float - Getting strange value on multiplying a float
149.95 * 100
=> 14994.999999999998 -
02:57 PM Bug #9692: __builtin_longjmp is called with a value greater than 1 (GCC compilation error)
- I found the problem in configuration:
without LTO:
~~~
configure:15773: checking for __builtin_setjmp
configure:15790: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -flto=9 -fno-lto -fno-use-linker-plugin -fno-stric... -
09:55 AM Bug #9692 (Closed): __builtin_longjmp is called with a value greater than 1 (GCC compilation error)
- Hello,
during testing of LTO on a gentoo machine:
Linux qemubox 3.12.13-gentoo #2 SMP Fri Mar 28 22:30:38 Local time zone must be set--see zic x86_64 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz GenuineIntel GNU/Linux
Configure dete... - 02:40 PM Revision 1170b057 (git): * lib/csv.rb: Symbol HeaderConverter: strip leading/trailing space.
- Reported by Skye Shaw
[Fixes GH-575]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:35 PM Revision 7c4d4e1e (git): * lib/csv.rb: Don't attempt to convert nil headers.
- Reported by Skye Shaw
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:12 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
- As nobu said, I guess that backporting r45015 helps to solve the issue.
-
11:45 AM Bug #9321: rb_mod_const_missing does not generate a c-return event
- As far as I'm concerned, this changes an (incorrect) behaviour and it should be backported. In byebug's case, having a balanced count of call and return events is critical and directly affects usability of the debugger. And when I though...
-
06:13 AM Bug #9321: rb_mod_const_missing does not generate a c-return event
- This issues is available on 2.1 and 2.0.
This is possible that some applications implement workaround for this issue. This patch can breaks such applications. However, I'm not sure such applications exist (maybe don't exist).
-
06:07 AM Bug #9321 (Closed): rb_mod_const_missing does not generate a c-return event
- ささださん曰く、
> const_missing が呼ばれると、c_call は飛ばれるのに c_return が呼ばれない、ので、デバッガ作るときに困るので、
> ...
とのこと。
具体的に結果がどう変わるかは
https://bugs.ruby-lang.org/issues/9321#note-20
-
05:19 AM Bug #9321: rb_mod_const_missing does not generate a c-return event
- Ah, I see.
I think it should be backported, but it changes a behavior.
@naruse-san, can we backport it?
-
10:55 AM Revision 86034eaf (git): fix the example of failed URI
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:59 AM Bug #9662 (Closed): [Doc] Typo in README.EXT
- Applied in changeset r45495.
----------
* README.EXT: fix typo.
[ruby-core:61634] [Bug #9662]
* README.EXT.ja: ditto. -
08:58 AM Revision 4192341e (git): * README.EXT: fix typo.
- [ruby-core:61634] [Bug #9662]
* README.EXT.ja: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:29 AM Bug #9690 (Closed): Better orror message for config.guess downloading
- Applied in changeset r45494.
----------
config_files.rb: show failure
* tool/config_files.rb (ConfigFiles.download): show failed URI.
[ruby-core:61792] [Bug #9690] -
06:27 AM Bug #9690 (Closed): Better orror message for config.guess downloading
- I recently tried to compile Ruby on a new machine and got the error below:
Trying again today, it suddenly worked, but I think it would be great if there were a better error message. "getaddrinfo: Name or service not known (SocketErro... -
08:29 AM Revision 0b57f675 (git): config_files.rb: show failure
- * tool/config_files.rb (ConfigFiles.download): show failed URI.
[ruby-core:61792] [Bug #9690]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:10 AM Bug #9685 (Closed): psych-2.0.5 のバックポート
-
05:12 AM Bug #9689 (Closed): (BigDecimal + Float) no longer commutative due to #7176
- So, there was a bug filed a while back (#7176) about Rational + BigDecimal failing, despite BigDecimal + Rational working.
https://bugs.ruby-lang.org/issues/7176
When this bug was fixed (in r37406), the new BigDecimal#+ also (I bel... -
03:38 AM Revision 99d1f5f8 (git): * addr2line.c (rb_dump_backtrace_with_lines): don't depend hard coded
- symbol '_start'.
* addr2line.c (fill_lines): instead of above, get a dynamic symbol
in the main executable and use it to know the base address.
* addr2line.c (follow_debuglink0): use obj_info_t instead of
line_info_t to handle obje... -
12:07 AM Revision f6686b51 (git): * parse.y (rb_str_dynamic_intern): set mark bit if dynamic symbol
- is before sweeping.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
03/31/2014
-
10:39 PM Revision f265ce70 (git): * addr2line.c (fill_lines): use dynsym, which is used for dynamic
- linking and always exists, if there's no symtab.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:34 PM Revision e1952036 (git): * 2014-04-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:34 PM Revision 6ba2c24c (git): * vm_dump.c (rb_print_backtrace): current implementation
- uses dladdr to get the path of objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:58 PM Bug #9660: test/unit, minitest & bundler
- normalperson@yhbt.net wrote:
> e@zzak.io wrote:
> > I like the name ruby-unit, in this case we should also consider
> > changing the namespaces to match (ie: RubyUnit)
>
> Might as well use Minitest:: at that point, right?
... -
05:58 PM Bug #9660: test/unit, minitest & bundler
- e@zzak.io wrote:
> I like the name ruby-unit, in this case we should also consider
> changing the namespaces to match (ie: RubyUnit)
Might as well use Minitest:: at that point, right? -
08:21 AM Bug #9660: test/unit, minitest & bundler
- I like the name ruby-unit, in this case we should also consider changing the namespaces to match (ie: RubyUnit)
-
07:49 AM Bug #9660: test/unit, minitest & bundler
- I think bundled test-unit should be rename like rbunit or ruby-unit. many of users is confused by bundled test-unit and test-unit gem.
If we can't merge their, it should be renamed. -
02:58 PM Bug #9578: ‘Function’ undeclared in readline.c
- Takahiro Kambe wrote:
> Who are you asking to commit? (BTW, I am not a commiter.)
Really!?
-
02:57 PM Bug #9578 (Closed): ‘Function’ undeclared in readline.c
- Applied in changeset r45488.
----------
`readline/extconf.rb`: fix typo
* `ext/readline/extconf.rb`: fix typo, `$defs` not `$DEFS`.
[ruby-core:61756] [Bug #9578] -
03:44 AM Bug #9578: ‘Function’ undeclared in readline.c
- Nobuyoshi Nakada wrote:
> Takahiro Kambe wrote:
> ...
Who are you asking to commit? (BTW, I am not a committer.)
-
02:57 PM Revision 66481367 (git): readline/extconf.rb: fix typo
- * ext/readline/extconf.rb: fix typo, `$defs` not `$DEFS`.
[ruby-core:61756] [Bug #9578]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:38 PM Revision 6b9b8531 (git): variable.c, vm_method.c: pin down
- * variable.c (rb_alias_variable): ensure pinned down.
* vm_method.c (rb_method_entry_make): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:17 PM Bug #9657: Segfault in bigdecimal/util.rb Float#to_d
- Same thing as Dieter - intermittent fault at util.rb:39, haven't been able manually reproduce yet but it's happening regularly in production ( every few days )
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/bigdecimal/util.rb:39: [BU... -
02:10 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
- no no I was missing something.... :( I thought this bug fix was included in 2.1 but it's not. Last master works fine. I'm sorry for the confusion. And thanks a lot for having a look so quick!
Can I ask for this to be backported to 2.0... -
09:31 AM Bug #9321: rb_mod_const_missing does not generate a c-return event
- I check with test/unit (modified as follow) and I got no error. Do I miss anything?
```ruby
require 'test/unit'
class TestTracePoint < Test::Unit::TestCase
def test_method_missing
events = []
assert !respond_to?(:miss... -
10:55 AM Bug #9681 (Feedback): miniruby Bus Error at 0x3d44c4
- It might be due to GCC bug, because GCC 4.5.2 is too old. Could you please try latest GCC?
- 08:24 AM Revision bf905503 (git): * test/ruby/memory_status.rb: require envutil before accessing EnvUtil
- module. reported by ko1 via twitter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:39 AM Bug #9592: Fix segfault with old OpenSSL
- backported into ruby_1_9_3 at r45485. (see #9672)
- 06:38 AM Revision f150dbba (git): merge revision(s) 45271: [Backport #9672]
- * ext/openssl/ossl.c (ossl_make_error): check NULL for unknown
error reasons with old OpenSSL, and insert a colon iff formatted
message is not empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@4... -
02:48 AM Revision 97cef275 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:34 AM Revision d14458fb (git): signal.c: preserve encoding
- * signal.c (esignal_init): preserve encoding in error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:34 AM Revision 03f0ca4c (git): vm.c: avoid inadvertent pin-down
- * vm.c (vm_stat): get rid of inadvertent dynamic symbol pin-down,
and preserve encoding in error messages. also should not use
RSTRING_PTR macro on function calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45482 b2dd03c8-39... - 01:34 AM Revision 8125399c (git): st.c (st_init_table_with_size): update comment
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:14 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
- As I wrote, the check is useless. It should be removed.
03/30/2014
-
10:38 PM Bug #9321 (Open): rb_mod_const_missing does not generate a c-return event
-
04:32 PM Bug #9321: rb_mod_const_missing does not generate a c-return event
- Hi @koichi, I'm still running into this issue... :( I really don't know what's going on, because the tests pass in ruby's test suite, but the `c_return` event is not generated when I use the TracePoint API.
require 'minitest/autor... -
10:26 PM Bug #9578: ‘Function’ undeclared in readline.c
- Takahiro Kambe wrote:
> But it should be `$defs` instead of `$DEFS`?
Exactly. Please commit it.
-
01:22 PM Bug #9578 (Assigned): ‘Function’ undeclared in readline.c
-
12:30 AM Bug #9578: ‘Function’ undeclared in readline.c
- r45240 added these lines to extconf.rb:
> ~~~ruby
> ...
But it should be $defs instead of $DEFS? -
09:55 PM Revision a9237467 (git): gc.c: avoid inadvertent pin-down
- * gc.c (gc_info_decode): get rid of inadvertent dynamic symbol
pin-down, and preserve encoding in error messages. also should
not use RSTRING_PTR macro on function calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45480 b2dd... - 09:00 PM Revision 1cd98eb9 (git): * 2014-03-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:00 PM Revision c0dee604 (git): process.c: preserve encodings
- * process.c (rlimit_resource_type, rlimit_resource_value):
preserve argument encoding in error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:00 PM Revision 956745ee (git): test_process.rb: test if success?
- * test/ruby/test_process.rb (test_rlimit_value): should not use
magic number 0, which may not be EXIT_SUCCESS. use `success?`
instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:01 PM Bug #8405: CSV module - improper regexp for escaping special characters
- r45374 was backported to ruby_2_0_0 at r45476.
-
04:01 PM Revision 5d53e5b7 (git): merge revision(s) r45374: [Backport #8405]
- * lib/csv.rb: Fixed a broken regular expression that was causing
CSV to miss escaping some special meaning characters when used
in parsing.
Reported by David Unric
[ruby-core:54986] [Bug #8405]
g... -
03:52 PM Revision fe736ccf (git): * test/ruby/envutil.rb (assert_no_memory_leak): increase default value
- of `limit` keyword argument.
assert_no_memory_leak occasionally fails with limit=1.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:46 PM Bug #9651: __dir__ returns nil in instance_eval/module_eval
- r42230 and r42231 were backported to ruby_2_0_0 at r45473. These changesets were required for resolv conflict.
And r45360 and r45361 were backported to ruby_2_0_0 at r45474. -
03:43 PM Revision d0be5c2d (git): merge revision(s) r45360,r45361: [Backport #9651]
- * vm_eval.c (eval_string_with_cref): Use file path even if scope is
given. Related to [ruby-core:56099] [Bug #8662] and r42103.
* vm_eval.c (eval_string_with_cref): Unify to use NIL_P.
git-svn-id: svn+ssh://ci.ruby-l... -
03:06 PM Revision 3041f215 (git): merge revision(s) r42230,r42231: [Backport #9651]
- parse.y, vm_eval.c: file encoding in eval
* parse.y (yycompile): store file name as String to keep the encoding.
* parse.y (rb_parser_compile_string_path, rb_parser_compile_file_path):
new functions to pass file name ... -
02:53 PM Bug #9592: Fix segfault with old OpenSSL
- r45271 was backported to `ruby_2_0_0` at r45472.
コミット連動で閉じてしまいましたが、trunk では修正済みなので Closed にした上で Backport 欄を使うということでそのままにしておきます。 -
02:50 PM Bug #9592 (Closed): Fix segfault with old OpenSSL
- Applied in changeset ruby-200:r45472.
----------
merge revision(s) r45271: [Backport #9592] [Backport #9670]
* ext/openssl/ossl.c (ossl_make_error): check NULL for unknown
error reasons with old OpenSSL, and insert a colon iff form... -
02:50 PM Revision 0cc54369 (git): merge revision(s) r45271: [Backport #9592] [Backport #9670]
- * ext/openssl/ossl.c (ossl_make_error): check NULL for unknown
error reasons with old OpenSSL, and insert a colon iff formatted
message is not empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@4... -
02:43 PM Bug #9688 (Closed): Ruby's child process inherits parent's sockets (mswin)
- Applied in changeset r45471.
----------
* win32/win32.c (rb_w32_accept, open_ifs_socket, socketpair_internal):
reset inherit flag of socket to avoid unintentional inheritance of
socket. note that the return value of SetHandleInform... -
02:38 PM Bug #9688: Ruby's child process inherits parent's sockets (mswin)
- Thank you for testing my patch!
- 02:42 PM Revision 38c3ba2f (git): * win32/win32.c (rb_w32_accept, open_ifs_socket, socketpair_internal):
- reset inherit flag of socket to avoid unintentional inheritance of
socket. note that the return value of SetHandleInformation() is not
verified intentionally because old Windows may return an error.
[Bug #9688] [ruby-core:61754]
... -
01:16 PM Bug #9687 (Closed): Make a cap for malloc_limit adjustment
- 08:10 AM Revision 97a3464b (git): * 2014-03-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:10 AM Revision e4879afe (git): * parse.y (rb_str_dynamic_intern): [DOC] move rdoc from rb_str_intern.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:38 AM Bug #9608: [PATCH] avoid large alloca on Complex/Rational calls
- tadf: ping?
-
03:28 AM Feature #9632: [PATCH 0/2] speedup IO#close with linked-list from ccan
- Eric Wong <normalperson@yhbt.net> wrote:
> normalperson@yhbt.net wrote:
> > 0001-doubly-linked-list-from-ccan-to-manage-vm-living_thr.patch (68.1 KB)
>
> I'll de-duplicate the CC0 declaration files if allowed to commit this.
> The...
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 troubles.
In my situation, I have some web services using WEBrick and Sinatra. They invoke child process as a batch file usi... -
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)
is not really intuitive. Besides that, you can define private_attr_reader, etc. by yourself.
In that case, the code w... -
08:10 AM Bug #9518: Objects in large arrays are leaked
- (2014/03/29 15:48), normalperson@yhbt.net wrote:
> I strongly believe there should no magic based on size.
I need to ask tarui-san, who introduce this mechanism.
Tarui-san, could you give me a comment?
--
// SASADA Koichi a... -
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 case for large hash/array
http://bogomips.org/ruby.git/patch?id=40849ff1bc881
git://80x24.org/ruby.git gc-nomagic
... -
04:43 AM Bug #9687 (Open): Make a cap for malloc_limit adjustment
-
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. It can grow and grow with such case:
`loop{"a" * (1024 ** 2)}'
[Bug #9687]
This issue is pointed by Tim Rober... -
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/ruby-garbage-collection-still-not-ready-for-production/) pointed out that the following code consumes all of memory:
... -
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 issue is pointed by Tim Robertson.
http://www.omniref.com/blog/blog/2014/03/27/ruby-garbage-collection-still-not-ready... -
04:08 AM Feature #9686: Syntax for symbols used in hashes
- Sorry, `string.to_sym`.
03/28/2014
-
10:58 PM Feature #9686: Syntax for symbols used in hashes
- On Mar 29, 2014 8:52 AM, <nobu@ruby-lang.org> wrote:
>
> You can write simply for that case:
>
> ~~~ruby
> string = 'foo'
> {string => 'bar'}
> ~~~
You'd need
~~~ruby
{string.to_s => 'bar'}
~~~ -
10:52 PM Feature #9686: Syntax for symbols used in hashes
- You can write simply for that case:
~~~ruby
string = 'foo'
{string => 'bar'}
~~~
-
08:22 PM Feature #9686: Syntax for symbols used in hashes
- See #4276
-
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 a little inconvenience when using the alternative `:"name"` literal syntax:
~~~ruby
string = 'foo'
{:"#{string}" =>... - 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
-
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 failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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 OpenSSL that I've taken for granted are provided in CentOS/RHEL-specific patches. So you may not be able to duplicate th...
-
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? -
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/browse/PUP-1840.
-
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 the prototypes of digest initialization and finalization functions in the digest extension to return int instead of void;... -
03:55 PM Feature #9453 (Assigned): Return symbols of defined methods for `attr` and friends
-
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.
* struct.c (rb_struct_aref_sym, rb_struct_aset_sym): use Symbol
instead of ID.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
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/ruby/trunk@45464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:56 AM Feature #9678: New heredoc syntax
- Some use cases for fun:
system <<:
> ./configure
> make
> make install
eval <<:
> 10.times do
> puts <<:
> > Who is the silly person who wrote this program?
> end -
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.org/ruby/trunk@45463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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 error and use same error
messages. based on the patch by Marcus Stollsteimer <sto.mar AT
web.de> at [ruby-core:61721]. ... -
06:02 AM Bug #9684 (Feedback): Use same error messages in struct.c
- Do you have code to raise those exceptions?
-
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 Stollsteimer <sto.mar AT
web.de> at [ruby-core:61721]. [Bug #9684]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45462 b2d... -
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
-
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/ruby/trunk@45460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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 substitution if
replacement string has backref escapes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45459 b2dd03c8-39d4-... -
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@45458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
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
-
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
-
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 commits. r45454, r45455 -
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
- 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
-
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/yaml/yaml_private.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e