Activity
From 09/21/2013 to 09/27/2013
09/27/2013
-
11:33 PM Feature #8839: Class and module should return the class or module that was opened
- headius (Charles Nutter) wrote:
> One use:
> ...
I fail to see why it needs to be a local variable.
Why don't you use `Foo` instead of `my_class`?
> Another:
> ...
It is very arguable if the new idiom should be encouraged.
Pers... -
09:11 PM Feature #8839: Class and module should return the class or module that was opened
- I see now. I really tried a few times to get something like your second example to work:
~~~ruby
class MyProcessor
...
end.new(params).process
~~~
I'd usually use such pattern in small scripts since methods are not hoisting li... -
07:29 PM Feature #8839: Class and module should return the class or module that was opened
- mame (Yusuke Endoh) wrote:
> How useful is this proposal?
> ...
One use:
~~~ruby
my_class = class Foo
...
end
~~~
We can get the reference to a class being created immediately without adding "`self`" at the end. It also bri... -
04:22 AM Feature #8839: Class and module should return the class or module that was opened
- Actually, I don't understand even why returning a symbol from method definition is useful...
-
04:22 AM Feature #8839: Class and module should return the class or module that was opened
- I've been wondering the same thing since I saw this ticket being created...
-
10:50 PM Feature #8931: Update URL in REPORTBUG_MSG
- I agree with zzak.
Linking to www.ruby-lang.org/whatever which redirects to bugs.ruby-lang.org/something_else sounds so wrong and will easily break (it **had** been broken for months). Links might change.
But information on bug rep... -
01:23 PM Feature #8931: Update URL in REPORTBUG_MSG
- I don't think redirect is acceptable, we should correct the problem at the source. Please reconsider..
> On Sep 26, 2013, at 7:35 PM, "naruse (Yui NARUSE)" <naruse@airemix.jp> wrote:
>
>
> Issue #8931 has been updated by naruse ... -
10:35 AM Feature #8931 (Rejected): Update URL in REPORTBUG_MSG
- If it is http://www.ruby-lang.org/bugreport.html, we can change redirect target if we want to change the target.
If it is http://bugs.ruby-lang.org/, we can't changet the target for example to http://bugs.ruby-lang.org/projects/ruby/wik... -
09:45 PM Feature #8961: Synchronizable module to easily wrap methods in a mutex
- Having this as a method on Module directly would of course be ideal. However, I believe the mutex/monitor used should still be exposed as a private method so it can be used without the 'synchronized' method.
-
08:40 PM Feature #8961: Synchronizable module to easily wrap methods in a mutex
- I would like to see this in 2.1, as a standard Module method. The fact that "def" returns the method name now makes this really easy.
I think this would need to be implemented natively to work, however. The prototype above has a key f... -
08:23 PM Feature #8961 (Open): Synchronizable module to easily wrap methods in a mutex
- =begin
I propose a Synchronizable mixin to easily wrap methods in a mutex which works together with Ruby 2.1's method name symbols returned from '(({def}))'.
The Mixin adds a new '(({synchronized}))' class method which would alias th... -
08:35 PM Feature #8556: MutexedDelegator as a trivial way to make an object thread-safe
- Similar in nature to the "synchronized" module method proposed in https://bugs.ruby-lang.org/issues/8961. I like that proposal as well, but it does not help the case where you have a concurrency-unsafe object in hand that you would like ...
-
08:13 PM Feature #8556: MutexedDelegator as a trivial way to make an object thread-safe
- That would be a useful feature.
+1 -
07:59 PM Feature #8556: MutexedDelegator as a trivial way to make an object thread-safe
- Any comments here? This would be pretty easy to add to delegate.rb for 2.1.
-
08:19 PM Feature #6309: Add a reference queue for weak references
- I again request approval from matz to add this feature :-) Can we do it for 2.1, please?
-
08:18 PM Feature #6647: Exceptions raised in threads should be logged
- So, can we do this for 2.1? I have heard from many other users that really would like exceptions bubbling out of threads to be reported in some way. We have had numerous bug reports relating to code where threads disappear without a trace.
-
08:17 PM Feature #6308: Eliminate delegation from WeakRef
- I believe this is just waiting on approval by matz. Can we make this change in 2.1, please?
-
08:15 PM Bug #8208 (Rejected): Raise cached exceptions for nonblocking IO to avoid allocation/stack-copying costs
- https://bugs.ruby-lang.org/issues/5138 has been accepted in a slightly altered form, so I think perhaps this can be rejected. Since it is now possible to use read_nonblock with no exception raise, my proposal is unnecessary.
-
08:15 PM Feature #8948: Frozen regex
- > but it would be difficult to tell which regexes are intended to be the same
i'm not sure i understand. how is
~~~ruby
def r1; /ab/f; end
def r2; /ab/f; end
~~~
different from
~~~ruby
def s1; 'ab'f; end
def s2; 'ab'f; e... -
08:14 PM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
- Hah... I was just stopping by to suggest the keyword argument as a compromise form...and it turns out that's exactly what we went with. Excellent!
-
08:12 PM Feature #7895: Exception#backtrace_locations to go with Thread#backtrace_locations and Kernel#caller_locations
- I have filed https://bugs.ruby-lang.org/issues/8960 to get this feature added to MRI. It is already available in JRuby.
-
08:11 PM Feature #8960 (Assigned): Add Exception#backtrace_locations
- All parties agreed this would be useful to add in https://bugs.ruby-lang.org/issues/7895 and ko1 suggested I file a feature against ruby-trunk. So here it is.
I might be able to come up with a patch, but I'm not sure when. Help wanted... -
08:04 PM Feature #8257: Exception#cause to carry originating exception along with new one
- Any further comments here? I might be able to do part of the implementation, but I don't know how to automatically stick $! into cause. I'd like to see this in 2.1.
-
08:02 PM Bug #8488 (Rejected): Refactor rbinstall.rb for maintenance, clarity, reuse
- RubyGems 2.1 incorporated my new logic for default gems while still supporting the MRI 2.0 layout for default specs.
Given that I have not maintained my cleaned-up rbinstall and no longer need the logic, I'm rejecting this. I hope at ... -
07:58 PM Feature #8570: Better mechanisms to safely load classes concurrently
- normalperson (Eric Wong) wrote:
> So the insertion of a new class will need a namespace lock (just like
> ...
The sequence of events here sounds sorta like how autoload was made "thread safe".
Possible states for a class/module in ... -
07:45 PM Feature #8568: Introduce RbConfig value for native word size, to avoid Fixnum#size use
- In for 2.1?
-
07:44 PM Feature #8088: Method#parameters (and friends) should provide useful information about core methods
- Any possibility of getting this in for 2.1?
-
07:41 PM Bug #8875: Select is not usable with SSLSocket
- akr (Akira Tanaka) wrote:
> 2013/9/8 headius (Charles Nutter) <headius@headius.com>:
> ...
Doing a select followed by a blocking read of more data than is actually available would block on any socket. The amount of data available in th... - 03:26 PM Revision c77d56ff (git): * 2013-09-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:26 PM Revision 2328b4b2 (git): * ext/curses/extconf.rb: check the size of chtype.
- * ext/curses/curses.c (NUM2CH, CH2NUM): use proper macros for
the size of chtype.
[ruby-core:56090] [Bug #8659]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:16 PM Feature #8956: Allow hash members delimited by \n inside of {}
- If this proposal is going to be considered, then I think it should not be just for hashes, but also for arrays, and for arguments passed to a method.
~~~ruby
[
:foo
:bar
]
foo(
"arg1"
"arg2"
)
~~~
Also note that,... -
01:41 PM Feature #8956: Allow hash members delimited by \n inside of {}
- Same about arrays, i guess? :)
-
12:47 PM Feature #8956: Allow hash members delimited by \n inside of {}
- Additional patch for labeled `assocs`.
~~~diff
diff --git a/parse.y b/parse.y
index b0a7cc4..63b4334 100644
--- a/parse.y
+++ b/parse.y
@@ -5013,4 +5013,7 @@ trailer : /* none */
assoc_seperator : '\n'
+ {
+ comman... -
02:11 AM Feature #8956: Allow hash members delimited by \n inside of {}
- I feel the need to mention that at this time, my changes do not include Ruby 1.9 style symbol hashes. These still require commas, e.g.,
~~~ruby
some_hash = {
foo: 'bar',
bar: 'foo',
baz: {
qux: 'quux',
corge: 'grau... -
03:06 PM Bug #8957 (Rejected): Ruby tk control variables for radiobutton menu radiobutton and menu checkbutton not working correctly.
- It depends on bugs on the reporter's code.
--- test_control_variables.rb 2013-09-27 14:48:40.000000000 +0900
+++ test_control_variables_mod.rb 2013-09-27 14:51:26.000000000 +0900
@@ -49,12 +49,12 @@
def b_button
puts("set... -
10:52 AM Bug #8957 (Assigned): Ruby tk control variables for radiobutton menu radiobutton and menu checkbutton not working correctly.
-
03:50 AM Bug #8957 (Rejected): Ruby tk control variables for radiobutton menu radiobutton and menu checkbutton not working correctly.
- The control variables for radiobutton menu radiobutton and menu checkbutton are not working correctly. In a starter project I am coding, they do not set the variable at all, and if set, it does not affect the button that is checked. I've...
-
02:31 PM Revision 0e2f5210 (git): [DOC]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:36 AM Revision 2c0d74b7 (git): * gc.c: add two GC tuning environment variables.
- RUBY_GC_MALLOC_LIMIT_MAX and RUBY_GC_MALLOC_LIMIT_GROWTH_FACTOR.
See r43067 for details.
* gc.c (rb_gc_set_params): refactoring. And change verbose notation.
Mostly duplicated functions get_envparam_int/double is not cool.
Please r... -
08:45 AM Revision a31ff891 (git): * gc.c (GC_MALLOC_LIMIT): 8,000,000 -> 8 * 1,024 * 1,024.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:20 AM Revision 78a49728 (git): * gc.c (gc_before_sweep): cast to size_t to suppress warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:14 AM Revision 3c5529f6 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:12 AM Revision 752cc234 (git): * gc.c: add some fine-grained profiling codes to tuning marking phase.
- If you enable RGENGC_PRINT_TICK to 1, then profiling results by RDTSC
(on x86/amd64 environment) are printed at last.
Thanks Yoshii-san.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:01 AM Revision f365cd2c (git): * gc.c: simplify threshold of GC caused by malloc_increase.
- Now, malloc_limit is increased/decreased by mysterious logic.
This fix simplify malloc_limit increase/decrease logic such as:
if (malloc_increase > malloc_limit) /* so many malloc */
malloc_limit += malloc_limit * (GC_MALLOC_LIMIT_... -
06:24 AM Feature #8959 (Assigned): Allow top level prepend
- Since `include` works on top level, it's reasonable to enable top level
`prepend` as well.
I've already added a patch (it was partially merged by nobu): https://github.com/ruby/ruby/pull/395 -
02:18 AM Revision 1ccdddb7 (git): .gdbinit: insert a colon
- * .gdbinit (rp): insert a colon between type "SYMBOL" and ID value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 AM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
- 2013/9/27 ko1 (Koichi Sasada) <redmine@ruby-lang.org>:
> Issue #8953 has been updated by ko1 (Koichi Sasada).
> And all of versions ignore the redefinition.
> I implemented 1.9 VM as this behaviour because I think it is spec.
... -
01:23 AM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
- (2013/09/27 1:13), ko1 (Koichi Sasada) wrote:
> And all of versions ignore the redefinition.
> I implemented 1.9 VM as this behaviour because I think it is spec.
>
> Could you ask matz?
I have no objection about that.
Ho... -
01:13 AM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
- I checked previous behavior.
versions/install-tags_v1_6_5_/bin/ruby
versions/install-tags_v1_6_6_/bin/ruby
versions/install-tags_v1_6_7_/bin/ruby
versions/install-tags_v1_6_8_/bin/ruby
versions/install-tags_v1_8_5_/bin/ruby
versi... -
12:59 AM Feature #8953 (Assigned): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
-
01:07 AM Bug #8205 (Closed): Regexp.union behavior and Regexp.try_convert
- This issue was solved with changeset r43061.
Alexander, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* re.c: [DOC] arguments of Regexp::union receive #to_regexp ... -
01:02 AM Feature #7429: Provide options for core collections to customize behavior
- Maybe combine it with https://bugs.ruby-lang.org/issues/8909
options = {klass:Hamster}
{ bug_number: 7429, status: maybe}.f(options)
node_option = {f:deep , size: 2}
[:add, [:left, :right]].f( f:node_option) -
01:01 AM Bug #8913: Unclear licensing terms on lib/gserver.rb
- r42994 is backported to ruby_2_0_0 at r43060.
-
12:56 AM Feature #8637: I18n documentation
- Sutou-san has began implementation for this on rdoc tracker: https://github.com/rdoc/rdoc/pull/254
-
12:41 AM Bug #8936 (Closed): Improve explanation about passing more number of params to instance of Struct
- This issue was solved with changeset r43058.
Prathamesh, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* struct.c: [DOC] grammar of ArgumentError in Struct.new [B... -
12:39 AM Misc #8905: Add documentation to semantics of method default arguments
- It's defined as left-to-right order, always.
-
12:35 AM Bug #8952 (Feedback): [DOC] required keyword arguments
- @nobu did you see #8905?
-
12:25 AM Bug #8889 (Feedback): Nodoc large parts of RSS
- I like RSS, I think we should provide api-level documentation for things like Feed and Channel and Entry. The entity types might not be as important though.
Would you agree? With no objection, I would like to reject this ticket and as... -
12:19 AM Bug #8812: RSS: document more constants
- This patch is good, thank you!
-
12:19 AM Bug #8821: Add documentation for Time#w3cdtf
- I would just say "this method", instead of "the <name> method".
Otherwise, its good. Thank you!
09/26/2013
-
11:54 PM Feature #8956 (Rejected): Allow hash members delimited by \n inside of {}
- Currently, hashes require members to be delimited by commas (`,`), even inside curly braces. E.g.,
~~~ruby
some_hash = {
:foo => 'bar',
:bar => 'foo',
:baz => {
:qux => 'quux',
:corge => 'grault'
}
}
~~~
In... -
11:49 PM Bug #8954 (Third Party's Issue): Execution crashed when querying twitter using the Twitter Gem
- ruby_debug.gem issue.
-
09:02 PM Bug #8954 (Third Party's Issue): Execution crashed when querying twitter using the Twitter Gem
- Ruby 2.0 crashed when I was executing a script which hits the twitter search api for tweets containing certain keywords. I am on Mac OS X 10.8.5
Attaching the crash report and source code.
Just run the tweet_parser.rb file and you ... -
11:33 PM Revision 59d48e55 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:33 PM Bug #8955 (Closed): LocalJumpError - no block given (yield) after implementation of class hierarchy method cache invalidation
- Hi.
I use Ruby 2.1 on a Texas instruments C6678 DSP in a Linux environment based on uclinux and uClibc with NPTL/Pthread support. The DSP does not have an MMU.
After commit r42822/git commit 2f522b9cc6f3e184404040b12af4486520a73b26 the... -
08:21 PM Feature #8839 (Assigned): Class and module should return the class or module that was opened
- How useful is this proposal?
I think we should not change anything without consideration of use case.
--
Yusuke Endoh <mame@tsg.ne.jp> -
12:03 PM Feature #8839: Class and module should return the class or module that was opened - nobu: I don't understand what you mean by "evaluated in different timings". Could you please explain?
I think this proposal is a good idea. For example, this makes no sense:
~~~ruby
class A
def foo
end
end # => :foo
~~~
... -
11:57 AM Feature #8839: Class and module should return the class or module that was opened
- No, class and def are evaluated in different timings.
This proposal makes no sense. -
06:43 AM Feature #8839: Class and module should return the class or module that was opened
- +1
-
06:41 AM Feature #8839: Class and module should return the class or module that was opened
- So...if there's no objections, can we get this into 2.1? I think with the new def return value change it really needs to happen.
-
04:59 PM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
- Please backport r43050, 43052
-
04:58 PM Feature #8953 (Closed): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
- This issue was solved with changeset r43052.
Goro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* insns.def (opt_regexpmatch2): Check String#=~ hasn't overridden... -
04:52 PM Feature #8953 (Assigned): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
- Testing my patch on my machine for regexpmatch2
-
04:48 PM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal - Ah you are right. Thanks for pointing that out sorah.
-
04:46 PM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
- >The problem still exists for opt_regexpmatch1, right?
s/opt_regexpmatch1/opt_regexpmatch2/ -
04:46 PM Feature #8953 (Open): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
- The problem still exists for opt_regexpmatch1, right?
-
04:39 PM Feature #8953 (Closed): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal - This issue was solved with changeset r43050.
Goro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* insns.def (opt_regexpmatch1): check Regexp#=~ is not defined be... -
04:20 PM Feature #8953: `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
- hm...
ruby -e'class Regexp; def =~(o); true; end; end; p /a/ =~ "b"' #=> nil -
04:05 PM Feature #8953 (Closed): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
- The expression `a =~ b` does not call the =~ method in some cases.
I think it is a bug that results from optimizations.
See the following code for details:
Code that does not work as expected (shows nothing):
$ ruby -e 's = "fo... -
04:46 PM Revision 87791df3 (git): * lib/rubygems: Update to Rubygems 2.0.10. [ruby-core:57360]
- [Backport #8950]
the patch is provided by drbrain (Eric Hodel).
this update contains a security fix for CVE-2013-4363.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:22 PM Revision dafc1f75 (git): merge revision(s) 42980,42981: [Backport #8927]
- * parse.y (lambda): adjust position to the beginning of the block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:08 PM Revision b5ad2a59 (git): merge revision(s) 42930: [Backport #8898]
- * lib/uri/generic.rb (URI::Generic.find_proxy): return nil if
http_proxy environment variable is empty string.
[ruby-core:57140] [Bug #8898]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43062 b2dd... -
04:07 PM Revision dc308ee3 (git): * re.c: [DOC] arguments of Regexp::union receive #to_regexp [Bug #8205]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:00 PM Revision fe17a46e (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_2_0_0@43060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:41 PM Revision b96a432e (git): * 2013-09-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:41 PM Revision ddb04eba (git): * struct.c: [DOC] grammar of ArgumentError in Struct.new [Bug #8936]
- Patch by Prathamesh Sonpatki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:47 PM Feature #8948: Frozen regex
- jwille, I agree with the use case, but it would be difficult to tell which regexes are intended to be the same, so I would not request that feature.
Probably, it makes sense to have all static regexes frozen, and have the `f` flag fre... -
02:46 PM Bug #8680 (Closed): ruby crashes when built with AddressSanitizer
- This issue was solved with changeset r43047.
Ruby, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
gc.c: disable AddressSanitizer
* gc.c (mark_locations_array): di... -
02:12 PM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
- I think there's a big opportunity here for immutable collection types... at least the sort that you know at the time you declared it is immutable.
I would hate to see a syntax like this that doesn't guarantee a deeply frozen data struct... -
06:49 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
- Any other thoughts on this? Any other reasons why it shouldn't be done?
There are other advantages to having literal frozen array and hash:
* Alternative representation of small hashes knowing they won't need to change. Good for sm... -
01:13 PM Revision 8603fdcc (git): * ext/bigdecimal/bigdecimal.c: [DOC] several fixes by @chastell
- This includes fixing the capitalization of Infinity, return value of
example "BigDecimal.new('NaN') == 0.0", and code style in example.
[Fixes GH-398] https://github.com/ruby/ruby/pull/398
git-svn-id: svn+ssh://ci.ruby-lang.org/rub... -
01:09 PM Revision 327cd077 (git): * lib/observer.rb: [DOC] syntax improvement in example by @chastell
- [Fixes GH-400] https://github.com/ruby/ruby/pull/400
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:04 PM Revision 017a975e (git): * ext/digest/digest.c: [DOC] typo in overview by @chastell
- [Fixes GH-399] https://github.com/ruby/ruby/pull/399
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:01 PM Revision 12fdf4bc (git): * ext/openssl/ossl.c: [DOC] typo in example by @zoranzaric
- [Fixes GH-401] https://github.com/ruby/ruby/pull/401
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:16 PM Revision e59f453e (git): * misc/ruby-electric.el (ruby-electric-delete-backward-char): Add
- support for smartparen-mode.
* misc/ruby-electric.el (ruby-electric-cua-replace-region-maybe)
(ruby-electric-cua-delete-region-maybe): New functions that
combine `ruby-electric-cua-*-region` with
`ruby-electric-cua-*-region-p`, us... -
10:41 AM Bug #8952 (Closed): [DOC] required keyword arguments
- Shouldn't "required keyword arguments" be described in the doc, probably in syntax/methods.rdoc?
There is only "optional keyword arguments" now.
-
10:38 AM Feature #8796 (Closed): Use GMP to accelerate Bignum operations
- Introduced on r42743.
-
09:07 AM Feature #8951: Please add a hash-to-hash alternative of the map method to Hash - In my private library, I have 3 map-like methods defined on hash:
Hash#with_keys
Hash#with_values
Hash#modify
They work like this:
h = { a: 1, b: 2 }
h.with_keys do |k| k.to_s end #=> { "a"=>1, "b"=>2 }
h.with_values do |v| v.to_s end... -
07:58 AM Revision c4b4e77c (git): * insns.def (opt_regexpmatch2): Check String#=~ hasn't overridden
- before calling rb_reg_match().
* test/ruby/test_string.rb: Test for above.
* vm.c (vm_init_redefined_flag): Add BOP flag for String#=~
[ruby-core:57385] [Bug #8953]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43052 b2dd03c8-39d... - 07:50 AM Revision 26f7f7da (git): * misc/ruby-electric.el: Avoid use of the interactive function
- `self-insert-command` which fires `post-self-insert-hook` and
`post-command-hook`, to make the ruby-electric commands work
nicely with those minor modes that make use of them to do
similar input assistance, such as electric-pair-mo... - 07:39 AM Revision b18151cf (git): * insns.def (opt_regexpmatch1): check Regexp#=~ is not defined before
- calling rb_reg_match()
* test/ruby/test_regexp.rb: add test
* vm.c (ruby_vm_redefined_flag): change type to short[]
* vm.c (vm_redefinition_check_flag): return REGEXP_REDEFINED_OP_FLAG if
klass == rb_cRegexp
* vm.c (vm_init_redefin... -
07:22 AM Revision 4190cddd (git): * gc.c (vm_xrealloc): use TRY_WITH_GC().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:06 AM Revision 165ebcb4 (git): Fix compilation on gcc 4.6
- if __has_feature is not defined, it can't compile
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:46 AM Revision 2bf5be1d (git): gc.c: disable AddressSanitizer
- * gc.c (mark_locations_array): disable AddressSanitizer. based on a
patch by halfie (Ruby Guy) at [ruby-core:57372].
[ruby-core:56155] [Bug #8680]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43047 b2dd03c8-39d4-4d8f-98ff-823f... - 02:31 AM Revision f1e99541 (git): * 2013-09-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:31 AM Revision 89919f4e (git): gc.c: atomical add
- * gc.c (gc_before_sweep, gc_after_sweep): add to increase2 atomically.
* gc.c (gc_marks): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/25/2013
-
11:46 PM Feature #8948: Frozen regex
- besides regexps being frozen, there might still be a use case for regexp literals that would only be allocated once:
~~~ruby
def r1; /ab/; end; r1.object_id #=> 70043421664620
def r2; /ab/; end; r2.object_id #=> 70043421398060
... -
09:46 PM Feature #8948 (Feedback): Frozen regex
- sawa: do you want to request `Regexp` to always be `#frozen?` or should the issue be closed?
-
08:42 AM Feature #8948: Frozen regex
- Eregon, thank you for the information.
-
06:00 AM Feature #8948: Frozen regex
- We already have immutable (created only once) regexps: it is always the case for literal regexps and for dynamic regexps you need the 'o' flag: `/a#{2}b/o`.
So there are in practice immutable, but currently not `#frozen?`. Do you want... -
04:08 AM Feature #8948: Frozen regex
- Sorry, there was a mistake in the above. The three regexes with the same content `/pattern1/` (or `/pattern1/f`) in the respective examples are supposed to represent different patterns.
-
04:02 AM Feature #8948 (Assigned): Frozen regex
- =begin
I see that frozen string was accepted for Ruby 2.1, and frozen array and hash are proposed in https://bugs.ruby-lang.org/issues/8909. I feel there is even more use case for a frozen regex, i.e., a regex literal that generates a r... -
10:27 PM Bug #8680: ruby crashes when built with AddressSanitizer
- Attaching latest patch against tip. Feedback is welcome.
-
05:44 PM Bug #8399 (Closed): Remove usage of RARRAY_PTR in C extensions when not needed
- This issue was solved with changeset r43044.
Dirkjan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* README.EXT, README.EXT.ja: remove description of RARRAY_PTR(... -
12:53 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
- (2013/09/25 6:00), Eric Wong wrote:
> Hi, it looks like the API is mostly fleshed out now since 2.1.0preview1
> is released.
>
> Can you please update README.EXT with advice for using (or avoiding)
> RARRAY_* family of macros... -
06:23 AM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
- SASADA Koichi <ko1@atdot.net> wrote:
> (2013/05/15 14:38), dbussink (Dirkjan Bussink) wrote:
> > If we're changing something anyway, it makes far more sense to change to either RARRAY_AREF or rb_ary_entry in extensions. I also discu... -
02:23 PM Feature #8951: Please add a hash-to-hash alternative of the map method to Hash
- #rehash is taken: http://www.ruby-doc.org/core-2.0.0/Hash.html#method-i-rehash
I was thinking about 'projection' or something, but everything feels just like an alternative to 'map' (#map, in my opinion, should return a hash).
... -
01:36 PM Feature #8951: Please add a hash-to-hash alternative of the map method to Hash
- How about:
`Hash#graph`
or
`Hash#rehash`
-
01:23 PM Feature #8951: Please add a hash-to-hash alternative of the map method to Hash
- Wow, I missed this a couple of days ago. Totally supported.
--
Fuad Saud
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Wednesday, September 25, 2013 at 1:05 AM, behrangsa (Behrang Saeedzadeh) wrote:
> ... -
01:05 PM Feature #8951 (Closed): Please add a hash-to-hash alternative of the map method to Hash
- Please see this thread: https://twitter.com/behrangsa/status/382670159086776323
-
01:00 PM Bug #8616: Process.daemon messes up threads
- FWIW, it looks like the relevant change that fixed it for 2.1.0-preview1 was https://github.com/ruby/ruby/commit/300b7c80e
-
12:56 PM Bug #8616: Process.daemon messes up threads
- Actually, it looks like this is fixed in Ruby 2.1.0-preview1 (Thread#alive? returns false for background threads spawned before a call to Process.daemon), but still broken in 2.0.0-p247. Any chance of a backport?
-
08:06 AM Bug #8616: Process.daemon messes up threads
- I agree with Evan. The behavior he describes would be consistent with how threads are handled when a process forks via Process.fork in Ruby.
See this example for a demonstration: https://gist.github.com/benweint/6692546 -
12:25 PM Bug #8774: rb_file_dirname return wrong encoding string when dir is "."
- Any progress?
-
12:12 PM Bug #8677: $LOAD_PATH did not encoded into the "internal encoding"
- Hope fix in Ruby 2.1
-
10:16 AM Bug #8940 (Assigned): printing UTF-32 crashs ruby
- r43033, r43034, and r43035 also looks related.
Note that though Unicode spec says non endian encoding should be Big Endian, actual world is often Little Endian.
Therefore don't guess its encoding if it doesn't have BOM. -
08:44 AM Revision 9215982a (git): * README.EXT, README.EXT.ja: remove description of RARRAY_PTR()
- and add a caution of accessing internal data structure directly.
Also add a description of rb_ary_store().
[Bug #8399]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:24 AM Revision dc626dba (git): * include/ruby/ruby.h: rename RARRAY_RAWPTR() to RARRAY_CONST_PTR().
- RARRAY_RAWPTR(ary) returns (const VALUE *) type pointer and
usecase of this macro is not acquire raw pointer, but acquire
read-only pointer. So we rename to better name.
RSTRUCT_RAWPTR() is also renamed to RSTRUCT_CONST_PTR()
(I ... -
07:58 AM Revision d700d340 (git): internal.h: move inline functions
- * internal.h (rb_float_value, rb_float_new): move inline functions
from ruby/ruby.h.
* numeric.c (rb_float_value, rb_float_new): define external functions
for extension libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43... -
07:46 AM Revision b328a43f (git): test_command_processor.rb: fix for mswin/mingw and test for directory
- * test/shell/test_command_processor.rb (test_system_external): fix for
mswin and mingw. one of EXECUTABLE_EXTS is needed but shell.rb does
not support it.
* test/shell/test_command_processor.rb (test_system_directory): test
not t... -
06:37 AM Revision d12d47c4 (git): * test/rdoc/test_rdoc_generator_darkfish.rb: add a guard for windows.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:27 AM Bug #8941 (Rejected): strptime %Y parsing
- we don't need any bug reports for python.
ruby's one isn't wrong. -
03:29 AM Feature #4830: Provide Default Variables for Array#each and other iterators
- I don't like this. The only thing that doesn't hurt so much would be
something like scala's underscores for one parameter blocks, but I'm not
really sure about those either.
--
Fuad Saud
twitter <http://twitter.com/fuad... -
02:59 AM Feature #4830: Provide Default Variables for Array#each and other iterators
- How should nested blocks behave?
[[1, 2], [3, 4]].map { item.map { item + 1 } } -
12:53 AM Revision 8eb39185 (git): * lib/rubygems: Fix CVE-2013-4363. Miscellaneous minor improvements.
- * test/rubygems: Tests for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:29 AM Revision 61f3a787 (git): * 2013-09-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:29 AM Revision e1c4d844 (git): NEWS: required keyword arguments
- * NEWS (Language changes): mention about required keyword arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/24/2013
-
09:40 PM Bug #7940: Mistaken use of inline rescues in stdlib - Bump.
Should dblack be discharged under the 3 month rule? He has not been active for quite some time. -
09:34 PM Feature #8947 (Open): make alias, alias_method, attr_* return name of the alias
- Now that def returns the method name, it would be handy to have alias/alias_method return the name of the alias:
class Foo
private def foo() end
protected alias_method :bar, :foo
end
Same goes for the attr_* methods:
clas... -
04:29 PM Bug #8946 (Closed): Segmentation fault while NoMemoryError expected
I was trying to watch gc behavior by generating NoMemoryError intentionally, a segmentation fault occurred without any exception raised.
the simple ruby code goes here:
```rb
arr= []
begin
while true
arr << 1
end
...-
02:14 PM Bug #8161 (Closed): String#+ should inherit untrustedness - Untrustedness is now deprecated and behaves the same as tainting.
Taintedness is properly propagated in your examples, so I'm closing this. -
02:02 PM Bug #8930 (Closed): some benchmark programs are slow since r42822 - This issue was solved with changeset r43027.
Narihiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* class.c (class_alloc): remove mc_tbl
* gc.c (obj_free): di... -
01:07 PM Bug #8945 (Closed): Unmarshaling an Array containing a Bignum from a tainted String returns a frozen, tainted Bignum
- In 2.1, Symbol, Fixnum, Bignum, and Float (at least) have been changed to frozen by default. Consequently, calling #taint on an instance of those classes raises a RuntimeError because a frozen object cannot be modified to be tainted. How...
-
12:18 PM Bug #8944 (Closed): Error in example code of DL::CFunc
- I found an error in the example code of DL::CFunc.
libc,['strcpy'] should be libc['strcpy'] -
09:56 AM Bug #8493: Random Segmentation fault in sass
- We've encountered the same problem with 1.9.3p488. We have deployed to our Ubuntu 12.04 servers several times without any issue. This is the first time we've encountered a segmentation fault.
/apps/app_name/shared/bundle/ruby/1.9.1/ge... -
09:40 AM Revision b9c316da (git): tabify indent
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:39 AM Revision 3788742b (git): string.c: fix for UTF-16/32
- * string.c (rb_str_inspect): get rid of out-of-bound access.
* string.c (rb_str_inspect): when a UTF-16/32 string doesn't have a
BOM, inspect as a dummy encoding string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43035 b2dd03c8... -
08:15 AM Revision d8441fcc (git): encdb.c, encoding.c: make BOM-encodings dummy
- * enc/encdb.c (ENC_DUMMY_UNICODE): make BOM-encodings dummy.
* encoding.c (enc_autoload): keep dummy encodings dummy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:48 AM Revision 84a56226 (git): test_encodings.rb: remove BOM encodings
- * test/csv/test_encodings.rb (TestCSV#each_encoding): encodings with
BOM are external use only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:42 AM Revision f894022b (git): string/test_ellipsize.rb: remove non-sense tests
- * test/-ext-/string/test_ellipsize.rb (Test_StringEllipsize#test_nonascii):
rb_str_ellipsize() does not support BOM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:41 AM Revision 360c6673 (git): win32/registry.rb: size in bytes
- * ext/win32/lib/win32/registry.rb (Win32::Registry#write): data size
is in bytes, not chars. terminators should be placed automatically.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:39 AM Revision 79e880c9 (git): win32/registry.rb: encode name
- * ext/win32/lib/win32/registry.rb (Win32::Registry#each_value): encode
name.
* ext/win32/lib/win32/registry.rb (Win32::Registry#each_key): ditto.
* ext/win32/lib/win32/registry.rb (Win32::Registry#export_string):
encode to locale enc... -
07:35 AM Revision 14695c4c (git): win32/registry.rb: fix runtime errors
- * ext/win32/lib/win32/registry.rb (Win32::Registry::API#EnumKey):
size of the name is in WCHARs, not in bytes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:23 AM Feature #8700: Integer#bitsize (actually Fixnum#bitsize and Bignum#bitsize)
- I like it. Pretty neat for low level bit brushing stuff.
--
Fuad Saud
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Saturday, August 31, 2013 at 3:47 AM, matz (Yukihiro Matsumoto) wrote:
>
> Issue #... - 05:09 AM Revision 4cf9b669 (git): * gc.c (free_method_cache_entry_i): unused function
- * gc.c (rb_free_mc_table): ditto
* internal.h (method_cache_entry_t): unused struct
* vm_method.c (verify_method_cache): remove unused variable
* vm_method.c (rb_method_entry): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... -
05:06 AM Feature #8691 (Closed): Add warning for variable that is re-assigned but not re-used
- closing, see ruby-core:57091
- 05:02 AM Revision f0888281 (git): * class.c (class_alloc): remove mc_tbl
- * gc.c (obj_free): ditto
* internal.h (struct rb_classext_struct): ditto
* method.h (rb_method_entry): remove ent param
* vm_method.c: restore the global method cache. Per class cache tables
turned out to be far too slow.
[ruby-c... -
03:51 AM Revision aaccbfed (git): win32/registry.rb: fix runtime errors
- * ext/win32/lib/win32/registry.rb (Win32::Registry::API): need
Constants.
* ext/win32/lib/win32/registry.rb (Win32::Registry::API#EnumValue):
size of the name is in WCHARs, not in bytes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
03:27 AM Feature #8938 (Closed): it keyword
- I'm not familiar with bug process here so let me know if I'm overstepping here. Since there's at least one other bug asking for exactly the same thing, I'm closing this as a duplicate.
-
01:41 AM Feature #8938: it keyword
- i think the main problem is that some iterators react differently when the block has different block parameters ... with this it does not work so nice
-
01:33 AM Feature #8938: it keyword
- There are two others.
The oldest is here: https://bugs.ruby-lang.org/issues/4475
The most active is here: https://bugs.ruby-lang.org/issues/4830
I believe the primary objections are that it would require "it" to be a keyword (or...
09/23/2013
-
10:45 PM Bug #8941 (Assigned): strptime %Y parsing
-
09:39 PM Bug #8941 (Rejected): strptime %Y parsing
- Time.strptime("1", "%Y")
=> 0001-01-01 00:00:00 +0642
Is it expected behavior?
strftime docs say this:
# %Y - Year with century (can be negative, 4 digits at least)
# -0001, 0000, 1995, 2009, 14292, ... -
10:16 PM Bug #8940 (Closed): printing UTF-32 crashs ruby
- This issue was solved with changeset r43023.
Hans, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
encdb.c, utf_16_32.h: Unicode with BOM
* enc/encdb.c, enc/utf_16... -
08:57 PM Bug #8940: printing UTF-32 crashs ruby
- hm it maybe is ...
funny thing:
this works:
"äöü".encode("UTF-32BE") #=> "\u00E4\u00F6\u00FC"
"äöü".encode("UTF-32") #=> "\uFEFF\u00E4\u00F6\u00FC"
"äöü".encode("UTF-32LE") #=> "\u00E4\u00F6\u00FC" # << imo this should be wr... -
08:39 PM Bug #8940: printing UTF-32 crashs ruby
- It'd be related to that UTF-32 is a pseudo encoding, probably.
-
06:24 PM Bug #8940 (Closed): printing UTF-32 crashs ruby
- using
p "äöü".encode("UTF-32")
does cause a SEGFAULT
-- C level backtrace information -------------------------------------------
0 libruby.2.1.0.dylib 0x00000001023f6679 rb_vm_bugreport + 137
1 libruby.2.1... -
08:39 PM Feature #8077: Returning Dir objects from C extensions
- Any chance of this going ahead?
-
08:30 PM Feature #8938: it keyword
- I'm sure that this is a duplicate, but it is hard to search.
-
04:49 PM Feature #8938 (Closed): it keyword
- automatic 'it' keyword for block variable:
items.each{|x| puts x.name }
=>
items.each{puts it.name} -
07:43 PM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
- @Sing9898 no you cant do that because it could break existing ruby code
{a:"b"} is the short form for {:a => "b"}, you can not easily change it to {"a"=>"b"} without breaking multiple ruby programs
i think you still does not unders... -
07:35 PM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
- the confusing became probably more immediate after the introduction of the new {a:"b"} syntax.
because for novices it might not be clear whether {a:"b"} means {"a"=>"b"} or {:a =>"b"} -
07:27 PM Feature #7797: Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess
- I am so glad this ticket wasn't rejected because it is a constructive solution to one of the biggest Ruby frustrations. (Even if you understand the difference between strings and symbol it still causes many hidden bugs).
-
07:42 PM Feature #8939: symbol / string invariance (for hashes)
- yes,duplicate, thanks
-
07:07 PM Feature #8939: symbol / string invariance (for hashes)
Duplicate of Feature #7797 "Hash should be renamed to StrictHash and a new Hash should be created to behave like AS HashWithIndifferentAccess"
others like
Feature #7792 "Make symbols and strings the same thing"
are rejected
you...-
06:36 PM Feature #8939: symbol / string invariance (for hashes)
- Update: then let's make HashWithIndifferentAccess the standard hash somehow
-
05:38 PM Feature #8939: symbol / string invariance (for hashes)
- no it should not because Symbol and String are two different Classes,
if you want that are the same use ActiveSupport::HashWithIndifferentAccess
-
04:51 PM Feature #8939 (Closed): symbol / string invariance (for hashes)
- hash={key:"value"}
hash["key"] should return "value"
hash={"key"=>"value"}
hash[:key] should return "value" -
07:05 PM Bug #8935: Zlib::GzipWriter.new with block truncates output to 20 corrupted bytes
- Whoa. Has that always been the case? Cause I'm pretty sure I saw this code used somewhere else too.
The problem with .open, which definitely takes a block, is that it only works with file names, not IO objects and thus not StringIO. B... -
03:00 PM Bug #8935: Zlib::GzipWriter.new with block truncates output to 20 corrupted bytes
- Every ruby method can be accept a block.
Zlib::GzipWriter.new just return a object, not callback the block,
Zlib::GzipWriter.new(StringIO.new){ |gz| gz.write input }.close.string
is equal
Zlib::GzipWriter.new(StringIO.new).clos... - 03:03 PM Revision e16d9c42 (git): * 2013-09-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:02 PM Revision e29c3bfb (git): test_transcode.rb: base encoding
- * test/ruby/test_transcode.rb (TestTranscode#test_pseudo_encoding_inspect):
test for proper base encoding. [ruby-core:57318] [Bug #8940]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:16 PM Revision 3a2aca50 (git): encdb.c, utf_16_32.h: Unicode with BOM
- * enc/encdb.c, enc/utf_16_32.h (ENC_DUMMY_UNICODE): Unicode with BOM
must be based on big endian variants, so that actual encodings would
work. [ruby-core:57318] [Bug #8940]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43023 b... -
12:52 PM Revision e6fe59e9 (git): [DOC]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:47 AM Revision 64525726 (git): tracepoint.c: no empty initializer list
- * ext/-test-/tracepoint/tracepoint.c (tracepoint_track_objspace_events):
C89 disallows empty initializer lists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:17 AM Revision 7eaee5b5 (git): * hash.c (env_each_pair): do not call rb_assoc_new() if
- it isn't needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:42 AM Revision d190241a (git): test_module.rb: toplevel include
- * test/ruby/test_module.rb (TestModule#test_include_toplevel): test
for top level main.include. based on a part of the patch by
kyrylo at [GH-395].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43019 b2dd03c8-39d4-4d8f-98ff-823... -
01:34 AM Revision c10b7435 (git): test_module.rb: use assertions for messages
- * test/ruby/test_module.rb (TestModule#assert_top_method_is_private):
use assert_separately and assert_raise_with_message for better
messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/22/2013
-
08:11 PM Bug #8888: Fix grammar for documentation of #bm of Benchmark module
- zzak (Zachary Scott) wrote:
> This issue was solved with changeset r43002.
> ...
Thanks @zzak -
08:10 PM Revision f856c123 (git): tracepoint.c: wrap data in a struct
- * ext/-test-/tracepoint/tracepoint.c (struct tracepoint_track): wrap
tracepoint tracking data in a struct to be placed on the stack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:07 PM Revision 3f3bec49 (git): * 2013-09-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:07 PM Revision f5f0b869 (git): intern.h: move rb_ary_cat from internal.h
- * include/ruby/intern.h (rb_ary_cat): move from internal.h, since it
is described in README.EXT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:05 PM Bug #8936 (Closed): Improve explanation about passing more number of params to instance of Struct
-
11:57 AM Revision 0b39c8a0 (git): * vm_insnhelper.c (vm_make_proc_with_iseq): fix bug message.
- This is follow up to changes in r42637.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:37 AM Revision d2f4e701 (git): * ext/-test-/tracepoint/tracepoint.c (Init_tracepoint): prevent from GC.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:01 AM Revision 3557a5f8 (git): * benchmark/bm_app_answer.rb: revert r42990, benchmark scripts should
- be self-contained and avoid dependencies, especially such small one.
See https://github.com/ruby/ruby/pull/393#issuecomment-24861301.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:26 AM Bug #8935: Zlib::GzipWriter.new with block truncates output to 20 corrupted bytes
- Come to think of it, 20 bytes seems like what the gzip header + footer would take up...
-
12:33 AM Bug #8935: Zlib::GzipWriter.new with block truncates output to 20 corrupted bytes
- Sorry, another try without any formatting:
#!/usr/bin/ruby -w
require "zlib"
require "stringio"
input = File.read "/dev/urandom", 200
# corrupted and only 20 bytes long:
out1 = Zlib::GzipWriter.new(StringIO.new){ |gz| g... -
12:31 AM Bug #8935 (Closed): Zlib::GzipWriter.new with block truncates output to 20 corrupted bytes
- =begin
(({Zlib::GzipWriter.new})) with block truncates output to 20 corrupted bytes.
#!/usr/bin/ruby -w
require "zlib"
require "stringio"
input = File.read "/dev/urandom", 200
corrupted and only 20 bytes long:
out... - 03:43 AM Revision 011bd850 (git): * 2013-09-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:43 AM Revision 6876f79b (git): [DOC]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/21/2013
-
08:11 PM Bug #8769 (Closed): [PATCH] process.c (rb_fork_internal): remove cloexec setting
- This issue was solved with changeset r43008.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
process.c: remove cloexec setting
* process.c (rb_fork_internal)... -
06:23 PM Bug #8769: [PATCH] process.c (rb_fork_internal): remove cloexec setting
- "nobu (Nobuyoshi Nakada)" <nobu@ruby-lang.org> wrote:
> Eric can't?
I never accepted commit bit to any project in years. I'm not
trustworthy/sane enough nor do I want to feel obligated to Ruby.
It should be easier to acce... -
12:08 PM Bug #8934 (Third Party's Issue): Shut down my Thin server, then the terminal spit out 1182 lines and told me to report it to you.
- Seems it happens in ruby_debug hook.
-
10:34 AM Bug #8934 (Third Party's Issue): Shut down my Thin server, then the terminal spit out 1182 lines and told me to report it to you.
- I was debugging my app using rails 4, ruby 2.0 and the Thin gem using OS 10.7.5. Then I stopped doing anything with it for a few hours and realized I hadn't stopped the server and when I closed the server then this happened:
^C>> Stop... -
11:11 AM Revision ddef263a (git): process.c: remove cloexec setting
- * process.c (rb_fork_internal): remove cloexec setting on pipes
created by rb_cloexec_pipe. patch by normalperson (Eric Wong) at
[ruby-core:56523]. [Bug #8769]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43008 b2dd03c8-39d4-... -
08:07 AM Bug #8870: Method-Missing breaking irb
- I know nothing about what your script does.
-
05:42 AM Bug #8870: Method-Missing breaking irb
- I do understand that its bad to use method_missing in the global space, but the behavior should be same irrespective of scope
This works:
2.0.0-p247 :002 > m "2","a","b"
=> ["2", "a", "b"]
2.0.0-p247 :003 > (m "2","a","b").class
=> Ar... -
07:52 AM Revision 42cc5964 (git): [DOC]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:43 AM Bug #8933 (Closed): ruby-2.0.0-p247/gems/rubyzip-0.9.9/lib/zip/inflater.rb:42: [BUG] Segmentation fault
- Hello,
My program is working on Linux and Windows but not on my mac OSX, I have the error segmentation fault
Program example:
require 'rubygems'
require 'nokogiri'
require 'zip/zip' #rubyzip 0.9.9
require 'lib/semboxlib'
@zip = Z... -
07:41 AM Bug #8932 (Closed): ruby-2.0.0-p247/gems/rubyzip-0.9.9/lib/zip/inflater.rb:42: [BUG] Segmentation fault
- Hello,
My program is working on Linux and Windows but not on my mac OSX, I have the error segmentation fault
Program example:
require 'rubygems'
require 'nokogiri'
require 'zip/zip' #rubyzip 0.9.9
require 'lib/semboxlib'
@zip = Z... -
05:15 AM Revision 50ffa683 (git): rdoc/constant.rb: workaround of NoMethodError
- * lib/rdoc/constant.rb (RDoc::Constant#documented?): workaround for
NoMethodError when the original of alias is not found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:42 AM Revision 7fff518d (git): io.c: [DOC]
- * io.c (rb_io_advise): [DOC] adjust indent and fix lists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:42 AM Revision 28e50d05 (git): io.c: [DOC]
- * io.c (rb_f_select): [DOC] adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:50 AM Revision fa24a0c5 (git): [DOC]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:05 AM Bug #8888 (Closed): Fix grammar for documentation of #bm of Benchmark module
- This issue was solved with changeset r43002.
Prathamesh, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/benchmark.rb: [DOC] grammar of Benchmark#bm [Bug #888... -
12:26 AM Bug #8758 (Closed): Add initial documentation for SSLServer
- I have committed the changes in r42995 but missed the bug number on the commit :(
-
12:12 AM Bug #8758: Add initial documentation for SSLServer
- I'm going to skip the generator part, its a little verbose for my liking. Thank you for the patch, I will commit the other changes!
-
12:25 AM Bug #7348: marshaling an object by a float does not work
- commit miss orz