Activity
From 10/26/2013 to 11/01/2013
11/01/2013
-
11:24 PM Bug #9069 (Closed): test_weakref.rb with GC.stress causes [BUG] rb_gc_mark(): 0x8024ee94 is T_ZOMBIE
- This issue was solved with changeset r43509.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
gc.c: mark live objects only
* gc.c (wmap_mark_map): mark live ... -
10:20 PM Bug #9069 (Open): test_weakref.rb with GC.stress causes [BUG] rb_gc_mark(): 0x8024ee94 is T_ZOMBIE
- 直っていないように思います。
boron% ./ruby -e 'GC.stress = true; load("test/test_weakref.rb")'
Run options:
# Running tests:
[2/4] TestWeakRef#test_recycled = 1.04 s
1) Failure:
TestWeakRef#test_recycled [t... -
05:25 PM Bug #9069 (Closed): test_weakref.rb with GC.stress causes [BUG] rb_gc_mark(): 0x8024ee94 is T_ZOMBIE
- This issue was solved with changeset r43502.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
gc.c: zombie is not alive
* gc.c (is_live_object): finalizer ma... -
03:40 PM Bug #9069 (Closed): test_weakref.rb with GC.stress causes [BUG] rb_gc_mark(): 0x8024ee94 is T_ZOMBIE
- 気がついたのですが、GC.stress = true で test/test_weakref.rb を動かすと、
[BUG] rb_gc_mark(): 0x8024ee94 is T_ZOMBIE
というようなメッセージで異常終了することがあります。
たとえば、boron の ~akr/tst1 に install したものでは以下のようになりました。
boron% pwd
/home/akr/tst1/ruby
boron% ./ruby -... -
11:17 PM Feature #9070 (Assigned): Introduce `---` as synonym of `end` keyword
- =begin
This is just an idea: introduce "(({---}))" as synonym of "(({end}))" keyword.
It is a bit easier to type and to read, and makes whitespace insensitive language look as if it follows off-side rule. Compare:
class Person
... - 10:15 PM Revision 059c94d4 (git): * 2013-11-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:14 PM Revision 0749adc5 (git): * lib/logger.rb: Inter-process locking for log rotation
- Current implementation fails log rotation on multi process env.
by sonots <sonots@gmail.com>
https://github.com/ruby/ruby/pull/428 fix GH-428 [Bug #9046]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43511 b2dd03c8-39d4-4d8f-98f... -
06:09 PM Bug #9067: IO.reopen broken in 1.9/2.0, worked in 1.8
- Thanks for the quick turnaround!
$stdin.reopen(IO.new(1, "r+")) does what I want. - 02:27 PM Revision 052ef632 (git): fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:24 PM Revision 541dac0b (git): gc.c: mark live objects only
- * gc.c (wmap_mark_map): mark live objects only, but delete zombies.
[ruby-dev:47787] [Bug #9069]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:47 PM Revision 21a58208 (git): * gc.c (struct heap_page, gc_page_sweep, gc_sweep): Refactoring for
- performance. Add before_sweep condition to heap_page structure.
* gc.c (rb_gc_force_recycle): Use before_sweep member.
* gc.c (heap_is_before_sweep, is_before_sweep): Remove. They has not
already been used.
... -
01:46 PM Revision 99981ece (git): test_m17n.rb: fix encoding
- * test/ruby/test_m17n.rb (test_scrub): fix expected encoding, for
non-UTF-8 environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:22 PM Revision 3705b070 (git): * gc.c (make_deferred): Refactoring. Collect codes which should be
- atomic.
* gc.c (make_io_deferred, obj_free, rb_objspace_call_finalizer,
gc_page_sweep): Correspond to the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:49 PM Revision 1726b516 (git): * gc.c (typedef struct rb_objspace): Refactoring. Move some members
- into profile member.
* gc.c (newobj_of): Correspond to the above.
* gc.c (finalize_list): Ditto.
* gc.c (objspace_live_num): Ditto.
* gc.c (gc_page_sweep): Ditto.
* gc.c (rb_gc_force_recycle):... -
12:12 PM Revision e8d2806c (git): transcode.c: fix segv in String.encode!
- * transcode.c (str_transcode0): fix segv in String.encode!. now
rb_str_scrub() can return nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:53 AM Revision e7fac351 (git): string.c: fix typo
- * string.c (rb_str_scrub): fix typo, should yield invalid byte
sequence to be scrubbed. reported by znz at IRC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:25 AM Revision 21ea356a (git): gc.c: zombie is not alive
- * gc.c (is_live_object): finalizer may not run because of lazy-sweep.
[ruby-dev:47786] [Bug #9069]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:00 AM Revision d7b729dc (git): test_m17n.rb: nil replacement
- * test/ruby/test_m17n.rb (test_scrub, test_scrub_bang): now explicit
nil is allowed as replacement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:55 AM Revision adbdd97d (git): string.c: export rb_str_scrub
- * string.c (rb_str_scrub): export with fixed length arguments, and
allow nil as replacement string instead of omitting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 AM Revision 97b88a17 (git): load.c: suppress warning
- * load.c (rb_load_internal): split to suppress false "clobbered"
warning by gcc 4.4.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:37 AM Revision ea09a7b7 (git): load.c: use local variable
- * load.c (rb_load_internal): use local variable th instead of
GET_THREAD() for each time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:59 AM Feature #9068: [PATCH (trivial)] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64
- KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> (10/31/13 5:12 PM), Eric Wong wrote:
> >KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> >>ok, please commit.
> >
> >I never accepted commit bit.
>
> Sorry, I frequ... -
06:53 AM Feature #9068: [PATCH (trivial)] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64
- (10/31/13 5:12 PM), Eric Wong wrote:
> KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
>> ok, please commit.
>
> I never accepted commit bit.
Sorry, I frequently forget about this. You are a virtual committer.
I've com... -
06:27 AM Feature #9068 (Closed): [PATCH (trivial)] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64
- This issue was solved with changeset r43497.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread.c (rb_mutex_struct): reduce rb_mutex_t size by 8 bytes
... -
06:23 AM Feature #9068: [PATCH (trivial)] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64
- KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> ok, please commit.
I never accepted commit bit.
However I've been reconsidering that (because of dtas). But I can't
provide a useful GPG-signed pubkey, no web-of-trust ... -
05:29 AM Feature #9068: [PATCH (trivial)] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64
- (10/31/13 3:42 PM), normalperson (Eric Wong) wrote:
>
> Issue #9068 has been reported by normalperson (Eric Wong).
>
> ----------------------------------------
> Feature #9068: [PATCH (trivial)] thread.c: reduce rb_mutex_t siz... -
04:42 AM Feature #9068 (Closed): [PATCH (trivial)] thread.c: reduce rb_mutex_t size by 8 bytes on x86_64
- gcc can pack the structure better when both 32-bit fields
are next to each other.
(I realized I could have 10K-100K Mutexes potentially in one of my projects,
but maybe I'll change the design :)
-
04:28 AM Feature #6308: Eliminate delegation from WeakRef
- I have updated my PR to put the new non-delegating weak reference in a WeakReference class and add a deprecation warning to WeakRef.
https://github.com/ruby/ruby/pull/406 -
04:06 AM Feature #6308: Eliminate delegation from WeakRef
- headius (Charles Nutter) wrote:
> If we have to introduce a new class (I strongly protest) something like SimpleWeakRef might be better than a symbolic name.
Or how about WeakReference, and we add a warning saying WeakRef is deprecat... -
04:05 AM Feature #6308: Eliminate delegation from WeakRef
- nobu (Nobuyoshi Nakada) wrote:
> Chained WeakRef (WeakRef to WeakRef) doesn't work well without delegation.
> ...
I can't say I've ever had a need to wrap a weakref in a weakref. What's the use case?
> and
> ...
This looks fine to ... -
02:19 AM Feature #6308: Eliminate delegation from WeakRef
- Chained WeakRef (WeakRef to WeakRef) doesn't work well without delegation.
w = WeakRef.new(obj)
w = WeakRef.new(w)
w.foo
and
w = WeakRefWithoutDelegation.new(obj)
w = WeakRefWithoutDelegation.new(w)
w.get.get.foo... -
02:28 AM Bug #8384: Cannot build ruby against OpenSSL build with "no-ec2m"
- Thank you!
-
12:09 AM Bug #8384: Cannot build ruby against OpenSSL build with "no-ec2m"
- Backported to ruby_1_9_3 at r43486 and r43494.
-
12:05 AM Bug #9048: Remove legacy ±(binary) special cases.
- Backported to ruby_1_9_3 at r43493.
-
12:00 AM Bug #8654: SEGV in Array#count
- Backported to ruby_1_9_3 at r43491.
10/31/2013
-
11:44 PM Bug #8768: [PATCH] tempfile: undefine finalizer on unlink
- Backported to ruby_1_9_3 at r43490.
-
11:41 PM Bug #8913: Unclear licensing terms on lib/gserver.rb
- Backported to ruby_1_9_3 at r43489.
-
11:37 PM Bug #8864: sprintf segfaults with too high precision
- Backported to ruby_1_9_3 at r43488.
-
11:33 PM Bug #8792: HP-UX needs sys/pstat.h for missing/setproctitle.c
- Backported to ruby_1_9_3 at r43487.
-
11:30 PM Feature #9064: Add support for packages, like in Java
- david_macmahon (David MacMahon) wrote:
>... If we change the behavior, then the implicit creation of module MyModule and module MyModule::MyClass and module MyModule::MyClass::InnerModule will "work", but then any subsequent attempt ... -
02:23 PM Feature #9064: Add support for packages, like in Java
- On Oct 30, 2013, at 9:26 PM, Nobuyoshi Nakada wrote:
> (13/10/31 5:15), David MacMahon wrote:
> ...
Wow! Neat! Thanks! I had completely missed that! I guess I should re-check my examples before complaining!!! :-)
>> ~~~ruby
>... -
01:53 PM Feature #9064: Add support for packages, like in Java
- On Oct 30, 2013, at 2:55 PM, rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> When I talk about conflicts, I'm worried about an existing `MyModule::MyClass` in the project.
> ...
Yes, currently this raises NameError (uninitialized consta... -
01:29 PM Feature #9064: Add support for packages, like in Java
- (13/10/31 5:15), David MacMahon wrote:
> On a semi-related note, I find it mildly frustrating that all openings of a class requires specifying the same superclass. Sometimes I just want to add a constant or simple method to a class, so... -
09:29 AM Feature #9064: Add support for packages, like in Java
- Sorry, I forgot to mention I was replying Dave.
-
06:59 AM Feature #9064: Add support for packages, like in Java
- fuadksd (Fuad Saud) wrote:
> To define a constant you could use Module#const_set...
Was this message target at me? If so, I didn't understand how const_set could help implementing this feature. Would you mind in explaining what you m... -
06:55 AM Feature #9064: Add support for packages, like in Java
- When I talk about conflicts, I'm worried about an existing MyModule::MyClass in the project.
If you do "module MyModule::MyClass::InnerModule" without requiring the class first, it would create the MyClass constant as a module and the... -
05:53 AM Feature #9064: Add support for packages, like in Java
- To define a constant you could use Module#const_set, and you can avoid reopening the class with Module#instance_exec; maybe this isn’t better, though.
--
Fuad Saud -
05:23 AM Feature #9064: Add support for packages, like in Java
- On Oct 30, 2013, at 12:54 PM, rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
> David, I agree with you, and actually, I'd be already happy if "class" created the modules on the fly, but it can't without breaking compatibility, specially b... -
04:54 AM Feature #9064: Add support for packages, like in Java
- I'm not against Python (and Node.js) package import approaches, but I think it's a completely separate subject from this ticket, so I'll focus on what I'm requesting for now...
David, I agree with you, and actually, I'd be already hap... -
04:47 AM Feature #9064: Add support for packages, like in Java - I think it would be more interesting if you would also support package imports then (similar to Python) which would prevent namespace clashes. This could be introduced in a backward compatible way by putting unpackaged packages in some k...
-
03:53 AM Feature #9064: Add support for packages, like in Java
- It seems two things are needed for your request.
1. Define nested modules with one statement
2. Add implicit "end" statements at the end of each source file
Nested modules can already be defined in one statement, but the parent ... -
03:16 AM Feature #9064 (Feedback): Add support for packages, like in Java
- In Java, it's easy to define a package for a certain class:
package com.company.MyClass
We don't use that convention in Ruby but we have another way of packaging classes:
~~~ruby
module MyLibrary
module InnerNamespace
c... -
10:43 PM Bug #8384 (Assigned): Cannot build ruby against OpenSSL build with "no-ec2m"
-
10:42 PM Bug #8384: Cannot build ruby against OpenSSL build with "no-ec2m"
- r41808 and 41829 are backported to ruby_2_0_0 at r43481.
-
10:35 PM Bug #8384: Cannot build ruby against OpenSSL build with "no-ec2m"
- sorry, I've overlooked this ticket. I'll try to backport r41808 and 41829.
-
09:52 PM Bug #9062: lib/rexml/parsers/streamparser.rb に require "rexml/parsers/baseparser" を追加してほしい
- たしかにそのとおりですね!
追加しました! -
09:50 PM Bug #9062 (Closed): lib/rexml/parsers/streamparser.rb に require "rexml/parsers/baseparser" を追加してほしい
- This issue was solved with changeset r43480.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/parsers/streamparser.rb: Add dependency file require... -
12:54 AM Bug #9062 (Closed): lib/rexml/parsers/streamparser.rb に require "rexml/parsers/baseparser" を追加してほしい
- lib/rexml/parsers/streamparser.rb は内部で REXML::Parsers::BaseParser を使っていますが
rexml/parsers/baseparser を require していません。そのため StreamParser を使うとき
rexml/parsers/streamparser に加えて rexml/parsers/baseparser を require する必要があります。
面倒ですし streamp... -
09:27 PM Revision 02b50132 (git): * thread.c (rb_mutex_struct): reduce rb_mutex_t size by 8 bytes
- on 64bit platform. Patch by Eric Wong. [Feature #9068][ruby-core:58114]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:09 PM Revision 2ff79611 (git): * 2013-11-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:09 PM Revision cecbcc42 (git): * benchmark/gc/gcbench.rb: print HWM (high water mark) if possible.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:09 PM Revision b8a95c0f (git): merge revision(s) 41829: [Backport #8384]
- * test/openssl/test_pkey_ec.rb: Skip tests for "Oakley" curves as
they are not suitable for ECDSA.
[ruby-core:54881] [Bug #8384]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@43494 b2dd03c8-39d4-4d... - 03:05 PM Revision c84f8583 (git): merge revision(s) 43413: [Backport #9048]
- * parse.y: Remove +(binary) and -(binary) special cases
[Feature #9048]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@43493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:00 PM Revision 8a9679b8 (git): * 2013-11-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@43492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:00 PM Revision e165973d (git): merge revision(s) 42040,42041,42047,42068,42069: [Backport #8654]
- * array.c (rb_ary_count): iterate items appropriately.
[Bug #8654]
* array.c (rb_ary_count): check length to avoid SEGV
while iterating. Remove other pointer loop when arg is given.
* test/ruby/test_... - 02:44 PM Revision d1eababd (git): merge revision(s) 43110,43155: [Backport #8768]
- * lib/tempfile.rb (Tempfile#unlink): finalizer is no longer needed
after unlinking. patched by by normalperson (Eric Wong) at
[ruby-core:56521] [Bug #8768]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_... - 02:40 PM Revision 67f6196b (git): merge revision(s) 42994: [Backport #8913]
- * lib/gserver.rb: [DOC] correct gserver.rb license [Bug #8913]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@43489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:36 PM Revision c75767b4 (git): merge revision(s) 42908,42918: [Backport #8864]
- test_sprintf_comb.rb: split tests
* test/ruby/test_sprintf_comb.rb (test_format_integer),
(test_format_float): split huge tests by the formats.
* vsnprintf.c (MAXEXP, MAXFRACT): calculate depending on constants in
... - 02:32 PM Revision 739c6cea (git): merge revision(s) 42713: [Backport #8792]
- * configure.in (sys/pstat.h): fix missing header check for
missing/setproctitle.c on HP-UX. [ruby-core:56644] [Bug #8792]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@43487 b2dd03c8-39d4-4d8f-98ff-823fe69b... - 02:31 PM Revision 55b93007 (git): merge revision(s) 41808: [Backport #9066]
- * ext/openssl/ossl_pkey_ec.c: Ensure compatibility to builds of
OpenSSL with OPENSSL_NO_EC2M defined, but OPENSSL_NO_EC not
defined.
* test/openssl/test_pkey_ec.rb: Iterate over built-in curves
(and... - 02:24 PM Revision ab05a6dd (git): * object.c (rb_obj_cmp): [DOC] patched by Keith Bennett
- <kbennett AT verisign.com>. [ruby-core:57887] [Backport #9024]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@43485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:13 PM Revision 559ea470 (git): merge revision(s) 43077,43078: [Backport #8999]
- * test/dl/test_base.rb: {libc, libm} detection now handle GNU/Hurd
correctly. Patch by Gabriele Giacone (1o5g4r8o@gmail.com).
* test/fiddle/helper.rb: ditto.
[Bug #8937][ruby-core:57311]
git-svn-id: svn+ssh... -
02:07 PM Feature #6308: Eliminate delegation from WeakRef
- headius (Charles Nutter) wrote:
> Introducing another class will just add confusion to stdlib and allow the current broken WeakRef to perpetuate. We did not want any breaking changes in 2.0, but I think we really need to do this in 2.1.... - 02:06 PM Revision 53293d3c (git): merge revision(s) 43177,43191: [Backport #8991]
- * lib/time.rb (Time.strptime): Use :offset.
Patch by Felipe Contreras. [ruby-core:57694]
* lib/time.rb (Time.strptime): Time.strptime('0', '%s') returns local
time Time object as Ruby 2.0 and before.
git-s... - 02:03 PM Revision 97a5506f (git): merge revision(s) 43112,43114,43117,43118: [Backport #8980]
- * io.c (rb_io_close_read): keep fptr in write_io to be discarded, to
fix freed pointer access when it is in use by other threads, and get
rid of potential memory/fd leak.
* io.c (rb_io_close_write): detach ti... -
01:41 PM Revision f895841e (git): merge revision(s) 41808,41829: [Backport #8384] [Backport #9065]
- * ext/openssl/ossl_pkey_ec.c: Ensure compatibility to builds of
OpenSSL with OPENSSL_NO_EC2M defined, but OPENSSL_NO_EC not
defined.
* test/openssl/test_pkey_ec.rb: Iterate over built-in curves
(and... - 12:50 PM Revision 128d3e78 (git): * lib/rexml/parsers/streamparser.rb: Add dependency file require.
- [Bug #9062] [ruby-dev:47779]
Reported by Ippei Obayashi. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:17 AM Bug #9067 (Rejected): IO.reopen broken in 1.9/2.0, worked in 1.8
-
09:53 AM Bug #9067: IO.reopen broken in 1.9/2.0, worked in 1.8
- 2013/10/31 walles (Johan Walles) <johan.walles@gmail.com>:
> Bug #9067: IO.reopen broken in 1.9/2.0, worked in 1.8
> https://bugs.ruby-lang.org/issues/9067
> ./reopen-fail.rb:8:in `reopen': <STDIN> can't change access mode fro... -
05:04 AM Bug #9067 (Rejected): IO.reopen broken in 1.9/2.0, worked in 1.8
- Try piping some input into the attached code:
echo foo | reopen-fail.rb
Works as expected with ruby 1.8.7 (2012-02-08 patchlevel 358) [i686-linux]:
* "foo" is printed at the middle of the screen
* you can press RETURN to exit
... -
07:27 AM Bug #9063: irb crashes when #backtrace of raised Exception is nil
- attached a patch. (which is same with https://github.com/ruby/ruby/pull/434.patch )
-
01:37 AM Bug #9063 (Assigned): irb crashes when #backtrace of raised Exception is nil
- +1, I think irb shouldn't die even if caught Exception is something wrong.
Could you attach a patch for here too? -
01:05 AM Bug #9063 (Closed): irb crashes when #backtrace of raised Exception is nil
- =begin
See also the pull req on GitHub: https://github.com/ruby/ruby/pull/434
When an exception whose backtrace is nil is raised, irb crashes and exits with the following backtrace:
irb> class E < Exception; def backtrace; nil; e... -
05:26 AM Revision 667a519d (git): * vm_method.c (rb_method_entry_make): fix to pass an ISeq value.
- OBJ_WRITTEN() accepts only VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:13 AM Revision 12592f7e (git): * 2013-10-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:13 AM Revision 9f01bdae (git): Record dependency on Emacs 24.3 and update commentary.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/30/2013
-
11:33 PM Bug #9061 (Closed): REXML::Parsers::UltraLightParser で doctype を含む XML のパースがうまくいかない
- 以下のコード (test_ulp.rb)
require 'rexml/parsers/ultralightparser'
require 'pp'
pp REXML::Parsers::UltraLightParser.new(<<XML).parse
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE root SYSTEM "foo" [
<!ENTITY f "bar"... -
08:27 PM Bug #7565: Redundant functions in ruby-additional.el
- Cool, thanks!
-
07:13 PM Bug #7565: Redundant functions in ruby-additional.el
- ruby-mode-set-encoding is still there because it is updated after 24.3.
It can hopefully be removed when the next version of Emacs is released. -
07:11 PM Bug #7565 (Closed): Redundant functions in ruby-additional.el
- This issue was solved with changeset r43475.
Dmitry, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
misc/ruby-additional.el: Remove functions implemented in Emacs ... -
05:38 PM Feature #9060 (Rejected): "Assignment" operator overloading
- I am not sure what you want. Could you elaborate?
Doesn't defining regular method like #update do for you?
class Foo
def update(obj)
@data = obj.data
end
attr_accessor :data
end
class Bar < Foo
end
... -
10:00 AM Feature #9060 (Rejected): "Assignment" operator overloading
- =begin
I understand assignment in ruby is assigning an object to the variable. However there are other cases we need to use assignments. For example:
class Foo
end
class Bar < Foo
end
f = Foo.new
b = Bar.new
//Some o... -
12:22 PM Bug #9059 (Closed): Equal Time objects don't hash equal
- This issue was solved with changeset r43473.
Isaac, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* time.c (v2w): Normalize a rational value to an integer if poss... -
07:09 AM Bug #9059: Equal Time objects don't hash equal
- =begin
Further testing supports the above hypothesis:
$ cat test_time_hash.rb
#!/usr/bin/env ruby
require 'minitest/autorun'
describe Object do
before do
@x = Time.new(2013, 10, 29, 12, 30, 27)
@y = @x + ... -
03:50 AM Bug #9059 (Closed): Equal Time objects don't hash equal
- =begin
Time objects break the promise that if (({t0.eql? t1})), then (({t0.hash == t1.hash})).
It is possible that this is related to the resolution of ((<this problem|URL:https://www.ruby-forum.com/topic/4415234>)), since both issues ... -
12:04 PM Revision 63fef3d7 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:11 AM Revision 6ca6820a (git): misc/ruby-additional.el: Remove functions implemented in Emacs 24.3.
- * misc/ruby-additional.el (ruby-brace-to-do-end)
(ruby-do-end-to-brace, ruby-toggle-block): Remove functions that
are already in the latest released version of Emacs (24.3).
[Bug #7565]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/... -
03:44 AM Revision bfea5bc2 (git): Makefile.sub: add missing config variables
- * win32/Makefile.sub (config.status): add missing variables,
PLATFORM_DIR and THREAD_MODEL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:22 AM Revision caa3c880 (git): * time.c (v2w): Normalize a rational value to an integer if possible.
- [ruby-core:58070] [Bug #9059] reported by Isaac Schwabacher.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:11 AM Revision adcab6c1 (git): * array.c (rb_ary_uniq_bang): use rb_ary_modify_check() instead of
- rb_ary_modify() because the array will be unshared soon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:31 AM Bug #9057 (Closed): Thread documentation refers to thread_local_set/get but it only documents thread_variable_set/get
- http://ruby-doc.org/core-2.0.0/Thread.html#method-i-5B-5D
Shouldn't mentions to thread_local* be replaced by thread_variable*? Or document the former otherwise...
10/29/2013
-
10:03 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing - nobu (Nobuyoshi Nakada) wrote:
> ^ is XOR operator.
There you go. I'm yet to XOR things in my life :-) So basic ASCII is 100% covered.
-
09:39 PM Bug #8836: [BUG] Bus Error with bundler on large Gemfile when resolving dependencies
- I hope `ulimit -s 8192` should help on 32bit system. Will test later and report
-
06:25 PM Revision 06c6dcee (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: make less garbage when
- testing if a string is binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:10 PM Revision 64d97719 (git): * 2013-10-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:10 PM Revision e0c6dd91 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: string subclasses should
- not be considered to be binary. Fixes Psych / GH 166
https://github.com/tenderlove/psych/issues/166
* test/psych/test_string.rb: test for fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:54 PM Bug #9027: [Doc] improve rdoc of Digest module
- How do you handle backports? Will I have to open separate tickets as soon as this is merged to trunk?
-
06:32 AM Bug #9027: [Doc] improve rdoc of Digest module
- @stomar Thanks for the patch! seems good, I will do a full review and try to commit it soon!
-
02:08 PM Revision 887ff70f (git): * array.c (rb_ary_zip): some refactoring.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:14 PM Revision 806b93ed (git): * array.c (rb_ary_uniq_bang): use st_foreach() instead of for loop.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:16 AM Revision c5e08b76 (git): * add RUBY_TYPED_FREE_IMMEDIATELY to data types which only use
- safe functions during garbage collection such as xfree().
On default, T_DATA objects are freed at same points as fianlizers.
This approach protects issues such as reported by [ruby-dev:35578].
However, freeing T_DATA objects immedi... -
10:49 AM Revision 0c6940b7 (git): * include/ruby/ruby.h: fix typo (FL_WB_PROTECT -> FL_WB_PROTECTED).
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:47 AM Revision 5c1b9b38 (git): * vm_trace.c (tp_free): remvoed because empty free function.
- Use RUBY_TYPED_NEVER_FREE instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:42 AM Revision 52811ab1 (git): * include/ruby/ruby.h: introduce new flags for T_TYPEDDATA.
- * RUBY_TYPED_FREE_IMMEDIATELY: free the data given by DATA_PTR()
with dfree function immediately. Otherwise (default), the data
freed at finalizaton point.
* RUBY_TYPED_WB_PROTECTED: make this object with FL_WB_PROTECT
(no... -
07:49 AM Revision 5aa527fa (git): * gc.c (vm_malloc_increase): decrease it more carefully.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:25 AM Revision 97f0de6d (git): * gc.c (heap_page_resurrect): return a page in tomb heap even if
- freelist is NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:46 AM Revision 1058f206 (git): ruby_atomic.h: ATOMIC_SIZE_CAS
- * ruby_atomic.h (ATOMIC_SIZE_CAS): new macro, compare and swap size_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:31 AM Revision 52d8f9f3 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:09 AM Revision a69756de (git): * ext/readline/readline.c (readline_getc): Consider
- NULL as input.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:07 AM Bug #9053: SSL Issue with Ruby 2.0.0
- tisba (Sebastian Cohnen) wrote:
> chittoor (Rajesh Malepati) wrote:
> ...
Are you sure it's just Ruby 2.0? openssl doesn't attempt to download missing certificates.
Browsers on the other hand, look at 'Authority Information Access' ex... -
02:11 AM Revision 29dbed18 (git): * gc.c (gc_profile_total_time): fix off-by-one error in GC::Profiler.total_time.
- * test/ruby/test_gc.rb (class TestGc): test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:52 AM Revision fb3bd5a1 (git): * 2013-10-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:52 AM Revision 7fafa8f3 (git): * insns.def, vm.c, vm_insnhelper.c, vm_insnhelper.h, vm_method.c: split
- ruby_vm_global_state_version into two separate counters - one for the
global method state and one for the global constant state. This means
changes to constants do not affect method caches, and changes to
methods do not affect cons...
10/28/2013
-
06:44 PM Bug #9027: [Doc] improve rdoc of Digest module
- @zzak. Any Feedback...?
-
04:56 PM Bug #9053: SSL Issue with Ruby 2.0.0
- chittoor (Rajesh Malepati) wrote:
> tisba (Sebastian Cohnen) wrote:
> ...
Okay thanks, I'll take a look.
But this doesn't really explain, why only Ruby 2.0 is affected, or does it? -
03:01 PM Bug #9056: Segmentation fault after upgrading to OSX Maverick and runnning berks upload
- Thanks! turns out I had to install xcode. Perhaps the old version of xcode was interfering with the command line tools.
Before installing xcode my gcc version was:
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. bui... -
01:34 PM Bug #9056 (Third Party's Issue): Segmentation fault after upgrading to OSX Maverick and runnning berks upload
- Seems issue of ffi.
-
02:29 AM Bug #9056: Segmentation fault after upgrading to OSX Maverick and runnning berks upload
- Sorry, the full ruby -v:
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin13.0.0] -
02:28 AM Bug #9056 (Third Party's Issue): Segmentation fault after upgrading to OSX Maverick and runnning berks upload
- See full log:
http://pastebin.com/AU316Bx3
Let me know if you need more information.
The bug is with ruby 2 p247.
I tried reinstalling ruby with rvm after upgrading, but I get the same error. -
02:26 PM Revision e2ec7605 (git): * test/readline/test_readline.rb (teardown): Clear Readline.input and
- Readline.output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
- (13/10/26 17:11), boris_stitnicky (Boris Stitnicky) wrote:
> @mohawkjoh: Tilde is bad, too. From basic ASCII (I looked), everything is taken, except
> for ^, and which should be avoided because it means power in many languages.
... -
12:48 PM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
- Hello, melquiades
Don't you build your binary with --with-static-linked-ext ?
A similar issue is reported when extension library mathn/rational is statically linked.
See #8879
If so, require "mathn" explicitly ease the problem. -
10:38 AM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
- Hi
melquiades (Paul Cantrell) wrote:
> (2) The bug occurs when you include _nothing_ at all:
> ...
I can't reproduce this, with ruby 2.0.0p247, p195 nor trunk.
-
12:38 PM Revision 73ef296c (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:36 PM Revision d3e84880 (git): * ext/-test-/file/depend, ext/-test-/postponed_job/depend,
- ext/-test-/tracepoint/depend: New files for dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:58 AM Bug #9055 (Rejected): Global methods called from an object can access object's internals
- That's what global methods are. If you have objection, you need to be more specific and concrete.
What exactly do you want, and what behavior of global methods will satisfy you?
Matz.
-
12:21 AM Bug #9055 (Rejected): Global methods called from an object can access object's internals
- =begin
When I run the following program:
def foo()
bar(1)
puts "baz: #{@baz}"
end
def bar(n)
puts "global bar: #{n}"
end
class X
def initialize()
@baz = 42
foo()
end
... -
06:32 AM Revision 8f675f0b (git): openssl: work around of dependency
- * ext/openssl/depend (ossl.o): work around of dependency of
thread_native.h, which depends on headers by THREAD_MODEL.
[ruby-dev:47777]
* ext/openssl/extconf.rb: need THREAD_MODEL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4... -
06:32 AM Revision 106ce21e (git): * goruby.c (init_golf): append suffix.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:57 AM Revision 06969b6b (git): load.c: share feature names
- * load.c (ruby_init_ext): share feature names between frame name and
provided features.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:45 AM Revision 37015497 (git): * misc/ruby-electric.el: Import ruby-electric.el 2.1 from
- https://github.com/knu/ruby-electric.el.
* Hitting the newline-and-indent key within a comment fires
comment-indent-new-line.
* Introduce a new feature
`ruby-electric-autoindent-on-closing-char`.
* Fix fallback behavior ... -
04:17 AM Revision 6cb24cee (git): error.c: remove NameError#to_s
- * error.c (name_err_to_s): remove no longer needed overriding, since
r30455 which made exc_to_s almost same. Fixes [GH-413].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:11 AM Revision 4a21c8cc (git): test_exception.rb: missing test
- * test/ruby/test_exception.rb (test_to_s): missing test for r30455.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:43 AM Revision 674f14a0 (git): * common.mk, ext/objspace/depend, ext/coverage/depend,
- ext/-test-/debug/depend, ext/date/depend: Update dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:31 AM Revision 393e577d (git): * vm.c: vm_clear_all_cache is not necessary now we use a 64 bit counter
- for global state version.
* vm_insnhelper.h: ruby_vm_global_state_version overflow is unnecessary
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/27/2013
-
10:48 PM Revision 910cee22 (git): * vm_backtrace.c (rb_profile_frame_classpath): do not use rb_inspect
- directly, since it might have a custom implementation or show ivars.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:10 PM Bug #8749: Readline.readline stops STDOUT?
- この [ruby-dev:47033] [Bug #8749] と
[ruby-core:57951] [Bug #9040] の件をあわせて修正する変更を入れました。
パッチを出してから 2ヵ月くらい経っていますが反応が無く、
[ruby-core:57951] [Bug #9040] の件も見つかったし、
Ruby 2.1.0 のリリース直前に変更するのもよくないとおもうので。
問題があったら言ってください。
-
09:04 PM Bug #8749 (Closed): Readline.readline stops STDOUT?
- This issue was solved with changeset r43439.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/readline/readline.c: Include ruby/thread.h for
rb_thr... -
09:04 PM Bug #9040 (Closed): Readline duplicate file descriptors but doesn't close them
- This issue was solved with changeset r43439.
Eamonn, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/readline/readline.c: Include ruby/thread.h for
rb_threa... -
07:17 PM Revision 5b529e5a (git): * vm_backtrace.c (rb_profile_frame_classpath): handle singleton
- methods defined directly on an object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:52 PM Revision be16693f (git): * 2013-10-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:52 PM Revision ab453f90 (git): struct.c: fix warning message
- * struct.c (new_struct): fix warning message, class name and encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:53 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
- On Oct 26, 2013, at 1:11 AM, boris_stitnicky (Boris Stitnicky) wrote:
> Sadly, there is no way to overload : in regular Ruby anymore.
I'm not quite ready to give up on it yet, but I won't mention it again unless I can figure out s... -
12:04 PM Revision d5dad140 (git): * ext/readline/readline.c: Include ruby/thread.h for
- rb_thread_call_without_gvl2.
(readline_rl_instream, readline_rl_outstream): Record FILE
structures allocated by this extension.
(getc_body): New function extracted from readline_getc.
(getc_func): New function.
(readline_getc):... -
11:59 AM Bug #8982: NoMethodError#message produces surprising output when #inspect is defined on an anonymous class
- nobu (Nobuyoshi Nakada) wrote:
> myronmarston (Myron Marston) wrote:
> ...
Ruby itself provides many classes whose definition of `inspect` does not include `#`. Why cannot it not allow me to do the same? Also, `#` at the beginning of... -
11:44 AM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
- Somewhere in all the discussion, the actual bug got lost. This issue shouldn't be closed.
To clarify:
(1) The bug occurs when you do _not_ include mathn, and has nothing to do with mathn.
(2) The bug occurs when you include _not... -
01:38 AM Revision d956453a (git): process.c: Process::Tms
- * process.c (Init_process): rename Struct::Tms as Process::Tms. keep
the former defined for the backward compatibility, for the time
being.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:36 AM Revision 0139a6f0 (git): * 2013-10-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:36 AM Revision f8978ba3 (git): envutil.rb: fix disabling gems in assert_separately
- * test/ruby/envutil.rb (assert_separately): fix the position of
--disable=gems option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/26/2013
-
10:37 PM Bug #9053: SSL Issue with Ruby 2.0.0
- tisba (Sebastian Cohnen) wrote:
> =begin
> ...
Your certificate chain is incomplete.
Serve "StartCom Class 1 Primary Intermediate Server CA" certificate along with your server certificate. -
11:12 AM Bug #9053 (Assigned): SSL Issue with Ruby 2.0.0
- Ah, I missed that.
Maybe Martin knows, I have assigned the issue to him. -
10:30 AM Bug #9053: SSL Issue with Ruby 2.0.0
- =begin
as per the RVM ticket
rvm osx-ssl-certs update all
was used, I do not think this one is missing certificates, any steps to help debug it?
=end
-
05:59 AM Bug #9053 (Rejected): SSL Issue with Ruby 2.0.0
- You need to install certificates when using non-platform OpenSSL on OS X. Your certificates should be installed here:
ruby -ropenssl -e 'puts OpenSSL::X509::DEFAULT_CERT_FILE'
There are instructions on how to install them for RVM:... -
05:50 PM Bug #9051 (Closed): open-uri meta_add_field method removed
- This issue was solved with changeset r43430.
Eamonn, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/open-uri.rb (meta_add_field): : Re-implemented.
[ruby-... -
05:44 PM Revision d39041ba (git): * lib/rubygems: Update to RubyGems 2.0.13. [ruby-core:58031]
- [Backport #9052]
the patch is provided by drbrain (Eric Hodel).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:11 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing - On the secon thought, that m » my string « literal is problem-ridden, too.
-
05:11 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing - @mohawkjoh: Tilde is bad, too. From basic ASCII (I looked), everything is taken, except for ^, and ^ should be avoided, because it means power elsewhere. I'd stay with Matlab/Octave's colon, if you can't put up with .. / ... Sadly, there...
-
02:44 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
- @boris_stitnicky What about ~? x[3~4,1~5], for example. I don't like it as much as colon, but it looks a little more intuitive than %.
-
02:24 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing - @david_macmahon: Technical. Colon is already busy in the basic fabric of the language
( { a: :b }, ternary operator ... ? ... : ...). You'll see what matz will tell you.
Otherwise, I'm not proposing anything, just trying to be useful p... -
01:59 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing
- On Oct 25, 2013, at 8:43 PM, boris_stitnicky (Boris Stitnicky) wrote:
> @david_macmahon, mohawkjohn: Colon is busy, how about harassing % ?
>
> %s/1 1e6 step 12/ # %s would mean series, returning an enumerator
I don't think tha... -
12:43 PM Feature #9049: Shorthands (a:b, *) for inclusive indexing - @david_macmahon, mohawkjohn: Colon is busy, how about harassing % ?
%s/1 1e6 step 12/ # %s would mean series, returning an enumerator
As far as slicing (multidimensional) matrices is involved, I need to already get myself together
... -
10:42 AM Revision ad367a25 (git): * gc.c: catch up recent changes to compile on GC_DEBUG,
- RGENGC_CHECK_MODE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:08 AM Revision 64f2b9f9 (git): range.c: modify check
- * range.c (range_initialize_copy): disallow to modify after
initialized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:07 AM Revision 2c6518c3 (git): envutil.rb: disable gems in child process
- * test/ruby/envutil.rb (assert_separately): disable gems by default to
get rid of loading test-unit gem, which doesn't have _assertions
method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43432 b2dd03c8-39d4-4d8f-98ff-823fe69b... -
10:07 AM Revision 78d0fdce (git): signal.c: adjust indent
- * signal.c (ruby_atomic_compare_and_swap): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:49 AM Revision 11efba7e (git): * lib/open-uri.rb (meta_add_field): : Re-implemented.
- [ruby-core:58017] [Bug #9051] patch by Eamonn Webster.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:07 AM Revision b385f19c (git): * gc.c (gc_prof_set_heap_info): fix compile error when
- GC_PROFILE_MORE_DETAIL != 0.
the patch is provided by ko1 (Koichi Sasada).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:05 AM Bug #9054 (Third Party's Issue): bug error from ruby output
- Based on the call stack, this is a bug of the nfqueue or FFI libraries.
-
03:17 AM Bug #9054 (Third Party's Issue): bug error from ruby output
- I have never submitted an issue before so I am unsure of the proper protocol, but I got this output from the ruby interpreter today.
http://pastebin.com/iL9W6594 <- link to the paste of it. -
06:02 AM Bug #8836: [BUG] Bus Error with bundler on large Gemfile when resolving dependencies
- You ran out of stack space.
bundler uses a recursive algorithm for resolving gems, so if your Gemfile is overly complex this will occur.
Sometimes ruby does not properly detect that it has run out of stack space, so a crash occurs ... -
05:35 AM Revision b848aad5 (git): * gc.c (gc_profile_dump_on): use "Page" terminology.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:31 AM Revision d0391289 (git): * gc.c (gc_sweep, gc_heap_lazy_sweep): fix measurement code.
- We only need one sweep time measurement without lazy sweep.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:04 AM Revision fdf7b458 (git): * addr2line.c: Include ELF header after system headers (especially
- sys/types.h) to avoid compilation failure,
"usr/include/sh3/elf_machdep.h:4:2: error: #error Define _BYTE_ORDER!",
on NetBSD/sh3 (dreamcast, hpcsh, landisk, mmeye).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43426 b2dd03c8-... -
02:46 AM Revision 286d567b (git): * gc.c: tuning parameters.
- * gc.c (GC_MALLOC_LIMIT): change default value to 16MB.
* gc.c (GC_MALLOC_LIMIT_GROWTH_FACTOR): change default value to 2.0.
* gc.c (gc_before_sweep): change decrease ratio of `malloc_limit'
from 1/4 to 1/10.
git-svn-id: svn+ssh://c... -
02:34 AM Revision 6c458aec (git): * gc.c (vm_malloc_increase): do gc_rest_sweep() before GC.
- gc_rest_sweep() can reduce malloc_increase, so try it before GC.
Otherwise, malloc_increase can be less than malloc_limit at
gc_before_sweep(). This means that re-calculation of malloc_limit
may be wrong value.
git-svn-id: svn+s...