Activity
From 08/01/2012 to 08/07/2012
08/07/2012
-
11:10 PM Feature #6842: Add Optional Arguments to String#strip
- The first example doesn't seem to make sense, e.g.
```ruby
"<b>bold text</b>".strip("</b>") #=> "old text"
```
I also think the interface needs to be a bit more specific about right and left stripping. Maybe use options:
```ru... -
08:24 PM Feature #6842 (Assigned): Add Optional Arguments to String#strip
- =begin
One of the very few things I miss from the ol' php days many years ago, was the ability to easily strip arbitrary characters from the ends of string using trim(). Typically, this is whitespace characters, and #strip currently ful... -
10:59 PM Bug #6836: Improve File.expand_path performance in Windows
- On Tue, Aug 7, 2012 at 4:28 AM, U.Nakamura <usa@garbagecollect.jp> wrote:
> Hello,
>
> In message "[ruby-core:47045] [ruby-trunk - Bug #6836] Improve File.expand_path performance in Windows"
> on Aug.07,2012 14:46:15, <h.shirosa... -
08:29 PM Bug #6836: Improve File.expand_path performance in Windows
- On Tue, Aug 7, 2012 at 2:34 AM, U.Nakamura <usa@garbagecollect.jp> wrote:
> However, it is very difficult to write safe code because there
> are too many traps in the file system of Windows.
> It's impossible for non-Windows pr... -
04:29 PM Bug #6836: Improve File.expand_path performance in Windows
- Hello,
In message "[ruby-core:47045] [ruby-trunk - Bug #6836] Improve File.expand_path performance in Windows"
on Aug.07,2012 14:46:15, <h.shirosaki@gmail.com> wrote:
> Expanding short name to long name is expensive and usi... -
02:46 PM Bug #6836: Improve File.expand_path performance in Windows
- Other web servers on Windows also have Windows Short (8.3) Filenames security issue.
http://www.coresecurity.com/content/filename-pseudonyms-vulnerabilities
http://www.acunetix.com/blog/web-security-zone/articles/windows-short-8-3-fi... -
10:26 AM Bug #6836: Improve File.expand_path performance in Windows
- On Mon, Aug 6, 2012 at 9:34 PM, U.Nakamura <usa@garbagecollect.jp> wrote:
>
> However, it is very difficult to write safe code because there
> are too many traps in the file system of Windows.
> It's impossible for non-Windows progr... -
09:54 AM Bug #6836: Improve File.expand_path performance in Windows
- Hello,
Thank you for the explanation, Luis.
In message "[ruby-core:47021] [ruby-trunk - Bug #6836] Improve File.expand_path performance in Windows"
on Aug.06,2012 23:02:11, <luislavena@gmail.com> wrote:
> Since this pa... -
10:32 PM Bug #6789 (Open): parse.y compilation error due not updated id.h
- 08:51 PM Revision 8637eac4 (git): * 2012-08-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:51 PM Revision 292a3196 (git): * proc.c (method_clone): Added documentation. Patch by Robin Dupret.
- Fixes #152 on github.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:50 PM Revision f45af0c6 (git): * 2012-08-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@36655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:50 PM Revision 6b3bac29 (git): merge revision(s) r36583, r36458, r36414, r36103, r35690, r35681, r35658, r35657, r35655, r35492: [Backport #6815]
- * ext/psych/lib/psych.rb: updated to released version.
* ext/psych/psych.gemspec: ditto
* ext/psych/emitter.c (initialize): allow a configuration object to be
passed to the constructor so that mutation isn't required afte... -
08:29 PM Feature #6841: Shorthand for Assigning Return Value of Method to Self
- Yeah, I thought about making "." a method, but I don't think that would be advantageous. If you were to overload ".", perhaps to intercept all method calls (can't think of any other reasons besides as hook method), it wouldn't really wor...
-
04:05 PM Feature #6841: Shorthand for Assigning Return Value of Method to Self
- =begin
Does `.` effectively become a "call dispatch operator" then? Could one write:
a.send('.', :foo)
I like the idea. But to complete the comparison to other operators, it made me think `.` would be some sort of method.
=end
-
11:39 AM Feature #6841: Shorthand for Assigning Return Value of Method to Self
- =begin
The formatting obviously didn't work. Try this one:
Quite often in Ruby, I find myself doing something like: (({my_var[:foo][:bar] = my_var[:foo][:bar].to_i})) or (({obj.foo.bar = obj.foo.bar.to_i})). Realising this, I thought... -
11:37 AM Feature #6841 (Assigned): Shorthand for Assigning Return Value of Method to Self
- =begin
Quite often in Ruby, I find myself doing something like: (({my_var[:foo][:bar] = my_var[:foo][:bar].to_i})) or (({obj.foo.bar = obj.foo.bar.to_i})). Realising this, I thought of what would be a fairly nice shorthand syntax for th... -
03:11 PM Feature #6596: New method `Array#indexes`
- =begin
Given a ordered list, swap items relative to those that match.
list.index_all{ |x| match?(x) }.each do |i|
list[i], list[i+1] = list[i+1], list[i]
end
vs. what?
list.each_with_index do |x, i|
if match?(x)
li... -
11:22 AM Revision a996b485 (git): * ext/readline/readline.c (Init_readline): rl_catch_signals=0 returns
- back. Without this, on FreeBSD9 and readline 6.2 irb can't catch ^C.
[Bug #5423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:13 AM Revision 0d1a905e (git): * vm_exec.c, insns.def (leave): solve problems on
- OPT_CALL_THREADED_CODE.
Catch up finish frame structure on OPT_CALL_THREADED_CODE.
* vm_core.h: add rb_thread_t#retval for temporary space on
OPT_CALL_THREADED_CODE.
* vm.c (th_init): clear rb_thread_t#retval as Qundef.
* vm_dump.c (... -
10:21 AM Bug #6839: 1.9.3p194 [BUG] Segmentation fault
- Separate crash log because it was too long and truncated.
-
02:46 AM Bug #6839 (Closed): 1.9.3p194 [BUG] Segmentation fault
- =begin
I am trying to process tweets on engineyard for a rails app and constantly get segmentation faults, seemingly at random. The core and trace are below:
require '../config/environment'
Process.daemon true, false #daemon... -
09:30 AM Feature #6840 (Rejected): YAML tag method
- =begin
When loading YAML documents that have a tag, there doesn't seem to be anyway to query for that information.
h = YAML.load("--- !foo\na: 1\nb: 2")
h #=> {"a"=>1, "b"=>2}
h.what_method? #=> "!foo"
I know about `YAML... -
06:20 AM Feature #6373: public #self
- Strikes me as a very good idea! I forgot about that. In Facets it is called `#ergo`. Essentially,
~~~ruby
def ergo
return yield(self) if block_given?
self
end
~~~
Call it `#self` instead and we get two features for the pri... -
06:00 AM Feature #6373: public #self
- How about merging this with feature request #6721 for #yield_self?
Object#self can optionally accept a block, yield self to the block if block given, and return the result of the block. What do you think? -
02:47 AM Feature #6373: public #self
- i also found a previous issue where this behavior would come in handy: http://bugs.ruby-lang.org/issues/2172
-
06:14 AM Feature #6721: Object#yield_self
- This is basically #ergo in Ruby Facets. Essentially:
~~~ruby
def ergo
return yield(self) if block_given?
self
end
~~~ - 02:59 AM Revision fca3c408 (git): * test/ruby/test_require.rb (TestRequire#test_require_twice): added.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:48 AM Bug #5637: warnings of shellescape
- Hi,
Thanks for this patch!.. :)
One question though, from comment #3 it's not clear if it's safe to use it in 1.9.3. This is what Google Translator gave me:
"1.9: this behavior was all the way to 1.9.3 now. Turn off warning bu... -
02:44 AM Revision 0f24f944 (git): * vm_method.c (rb_redefine_opt_method): use RCLASS_ORIGIN to avoid
- SEGV when a module-prepended class is refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:48 AM Revision b361d7d0 (git): * test/ruby/test_file_exhaustive.rb
- (TestFileExhaustive#test_expand_path*): refactoring. split the method
into some chunks of the same kind of tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:43 AM Revision ac37fc37 (git): test String#each_line when separator is longer than string.
- Thanks Charles Nutter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:31 AM Bug #2788 (Closed): nil.instance_eval pushes nil onto cref
- This issue was solved with changeset r36647.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
method in instance_eval
* class.c (rb_special_singleton_class_o...
08/06/2012
-
11:02 PM Bug #6836: Improve File.expand_path performance in Windows
- usa (Usaku NAKAMURA) wrote:
> I found that this includes a patch to WEBrick.
> ...
WEBrick relies on File.expand_path to resolve the traversal (by expanding) but also by expanding possible short names into long names.
Since this pat... -
12:28 PM Bug #6836: Improve File.expand_path performance in Windows
- First, I think this is the great job!
This patch is very big, so I've not checked whole yet.
I found that this includes a patch to WEBrick.
So, I guess that this means there is an incompatibility in File.expand_path, doesn't it?
Wh... -
10:35 PM Feature #2172: Enumerable#chunk with no block
- Any decision about this? For me it's a clear +1, chunking by the values unchanged is very common (not that it's representative, but I checked my code: 4 ocurrences of chunk, all with the identity block)
-
10:33 PM Bug #4438: rescue args type check omitted
- Patch attached.
-
07:21 PM Bug #6814 (Closed): Test failures in test_win32ole_variant.rb
- This issue was solved with changeset r36641.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/win32ole/test_win32ole_variant.rb: setting WIN32OLE.loc... -
06:54 PM Bug #6829: Failure using Win32ole (happens in 1.8.7 and 1.9
- Thank you for your reporting.
I'm not sure, but maybe you must specify variant type information
of arguments when you call PrintPostageEx.
I'd like to know what variant type of arguments is needed
to call PrintPostageEx.
What ... -
05:54 PM Bug #2788: nil.instance_eval pushes nil onto cref
- Hello,
In message "[ruby-core:47015] [ruby-trunk - Bug #2788] nil.instance_eval pushes nil onto cref"
on Aug.06,2012 17:15:16, <redmine@ruby-lang.org> wrote:
> Aside from the joke, why not apply the patch, Nobu?
Wait u... -
05:15 PM Bug #2788: nil.instance_eval pushes nil onto cref
- ko1 (Koichi Sasada) wrote:
> nobu has patach.
Does he have a Hebrew niqqud vowel sign?
Aside from the joke, why not apply the patch, Nobu?
-
04:00 PM Bug #2402 (Closed): super in instance_eval
- This issue was solved with changeset r36640.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* internal.h, class.c, eval.c, insns.def: find the appropriate
... -
03:31 PM Revision 28827e61 (git): method in instance_eval
- * class.c (rb_special_singleton_class_of): utility function.
* vm_eval.c (eval_under): special deal for class variable scope with
instance_eval.
* vm_eval.c (rb_obj_instance_eval, rb_obj_instance_exec): allow method
definition in ins... - 03:24 PM Revision 353833c4 (git): * 2012-08-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:24 PM Revision 6f677a5e (git): variable.c: split CVAR_LOOKUP
- * variable.c (CVAR_LOOKUP): split into helper functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:24 PM Bug #6838: class_eval and instance_eval do not scope class names the same as direct code
- On more thought, I can understand that Ruby views class names the same way it does variables, and so pulls them from the binding. It just doesn't feel like it's the right behaviour, in this context.
-
01:13 PM Bug #6838 (Rejected): class_eval and instance_eval do not scope class names the same as direct code
- class X
def self.f()
puts "::X"
end
end
class Y
class X
def self.f()
puts "Y::X"
end
end
def self.c()
X.f()
end
end
Y.class_eval do
def self.k()
X.... -
01:06 PM Revision 745de093 (git): test_exception.rb: split tests
- * test/ruby/test_exception.rb (test_exception, test_else): split huge
tests into simple tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:06 PM Revision ddabdd44 (git): test_exception.rb: use local variables
- * test/ruby/test_exception.rb (test_exception, test_else): use local
variables instead unnecessary global variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:18 PM Revision 281e4b61 (git): vm_eval.c: check exceptional condition first
- * vm_eval.c (vm_call_super): check exceptional condition first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:21 AM Revision 906b2110 (git): * test/win32ole/test_win32ole_variant.rb: setting WIN32OLE.locale
- to pass some assertion. Thanks to Hiroshi Shirosaki.
[ruby-core:46873][Bug #6814]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:00 AM Revision 9537e8ff (git): * internal.h, class.c, eval.c, insns.def: find the appropriate
- receiver for super called in instance_eval. If such a receiver is
not found, raise NoMethodError. [ruby-dev:39772] [Bug #2402]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:55 AM Revision 3dd941b2 (git): * include/ruby/ruby.h, eval.c, vm_insnhelper.c: fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:14 AM Revision d93d45fe (git): vm_eval.c: remove dead code
- * vm_eval.c (vm_call_super): since cfp->klass is always class or
iclass, no search from method entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:34 AM Revision cc48423e (git): insns.def: use klass in cfp
- * insns.def (defined): now should use klass in the current control
frame to search superclass, not me->klass. reported by naruse.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:20 AM Revision 7c5336b8 (git): * test/etc/test_etc.rb (TestEtc#test_getpwuid): `s' is never set to nil.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:11 AM Revision e7c6f87c (git): * syslog/test_syslog_logger.rb: miss.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:09 AM Revision 404bb0ef (git): * test/syslog/test_syslog_logger.rb: skip unless Syslog module is
- available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/05/2012
-
09:50 PM Bug #6837 (Closed): MinGW: r36626 broke the build (x86 & x64)
- I fixed it.
http://ci.rubyinstaller.org/job/ruby-trunk-x86/99/console
http://ci.rubyinstaller.org/job/ruby-trunk-x64/99/console
Thanks for your report. -
08:50 PM Bug #6837 (Closed): MinGW: r36626 broke the build (x86 & x64)
- =begin
Hello,
After r36626, gc.c compilation fails:
compiling ../gc.c
../gc.c: In function 'rb_objspace_each_objects':
../gc.c:1114:5: error: implicit declaration of function 'rest_sweep' [-Werror=implicit-function-declaratio... -
09:13 PM Feature #5478: Add syntax to import Set into core
- trans (Thomas Sawyer) wrote:
>```ruby
> ...
Thomas, unfortunately here it looks like two set notations overlap (empty set is either `{}` or ∅). Then maybe `(/)` ? :D -
09:06 PM Feature #5478: Add syntax to import Set into core
- I don't see why Hash and Set need to be merged, however. It certainly could be useful for Ruby supported Set out-of-the-box. As it is I think it is not uncommon to just use an Array and pretend as if it is a Set. But Set can be it's own ...
-
09:01 PM Feature #5478: Add syntax to import Set into core
- @fxn
```ruby
{/}
```
Close enough?
-
08:51 PM Feature #5478: Add syntax to import Set into core
- I don't know which is the general position of core with respect to non-ASCII in source code, but the natural literal to represent an empty set is ∅.
-
04:20 PM Feature #5478: Add syntax to import Set into core
- nobu (Nobuyoshi Nakada) wrote:
> Seems off-topic.
> ...
Ok nobu, thanks for the idea. Then back to the topic. If combining `Hash` and `Set` is somehow unfeasible, the question stays about the literal notation for `Set`, and if using ... -
01:22 PM Feature #5478: Add syntax to import Set into core
- Seems off-topic.
```ruby
h1 = {a: 1}; h2 = {b: 2}
def foo(name: 'unknown', **rest) name; end
foo **h1, **h2, name: "foo" #=> "foo"
```
-
08:39 PM Bug #6829 (Feedback): Failure using Win32ole (happens in 1.8.7 and 1.9
- can you try Ruby 1.9.3 and see if it reproduces?
I don't have Stamps software installed or a Stamps printer to test, neither I think the extension maintainer (suke) will do.
If we can reproduce this issue with simple WIN32OLE (no d... -
07:50 PM Feature #6688: Object#replace
- =begin
Ilya, according to how Ruby works (as far as i understand), there should be no difference, as far as exceptions concerned, between
1.become(2)
and
a = 1
a.become(2)
so this should be forbidden, i think.
However, i was thin... -
03:40 PM Revision 13527efd (git): bigdecimal.c: fix format specifier
- * ext/bigdecimal/bigdecimal.c (BigMath_s_log): fix format specifier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:40 PM Revision d97cd39f (git): io.c: suppress unused variable warnings
- * io.c (pipe_open): suppress warnings agains variable which are used
when spawnv is available but fork is not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:39 PM Revision 95512f27 (git): ruby.h: rb_num2ulong_inline
- * include/ruby/ruby.h (NUM2ULONG): optimize by inline as well as
NUM2LONG, and cast to unsigned long explicitly for the platforms
where SIZEOF_VALUE is larger than SIZEOF_LONG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3663... - 03:39 PM Revision 306a16d2 (git): * 2012-08-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:38 PM Revision 09288de5 (git): ruby.h: fix cast
- * include/ruby/ruby.h (NUM2SSIZET): fix type to cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:05 PM Bug #595: Fiber ignores ensure clause
- ワナベと申します。
(1) GC で mark と sweep の間に、mark されていない Fiber を対象に
(2) ruby_cleanup 中に、メインスレッドに所属するすべての Fiber を対象に
(3) 子スレッド終了時(vm->living_threads から外されるとき)、所属するすべての Fiber を対象に
の 3 つのタイミングで、throw/catch により ensure 節を実行するパッチを書きました。
[ruby-... -
12:17 PM Revision cf4aa712 (git): add references
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:12 PM Revision 8f1c81c6 (git): * gc.c : if ENABLE_VM_OBJSPACE is 1, rest_sweep is not defined.
- remove unused declarations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:39 AM Revision dd124a0f (git): * gc.c: just move functions and so on. I don't touch any internal
- implementation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:22 AM Bug #6278: in `join': deadlock detected (fatal)
- @kosaki's solution seems to be much better than mine.
+1 -
05:28 AM Bug #6278: in `join': deadlock detected (fatal)
- Good catch!
For the record, I'd like to write a detail race. This race need three threads at least.
1) thread-A call rb_mutex_lock() and got mutex.
2) thread-B call rb_mutex_lock() and became sleeping in native_cond_wait().
3) th... -
07:43 AM Bug #6818 (Rejected): Incorrect Date.parse results
- it is not a bug.
us is minority.
i think we should just ignore the case, so far. -
07:08 AM Bug #6835 (Closed): Rdoc for DateTime#strftime('%Q') says 'microseconds' instead if 'milliseconds'
-
06:53 AM Bug #6835 (Assigned): Rdoc for DateTime#strftime('%Q') says 'microseconds' instead if 'milliseconds'
-
06:55 AM Bug #6836 (Closed): Improve File.expand_path performance in Windows
- =begin
(original write up in markdown here: https://gist.github.com/3242245)
== Background
While investigating the performance issues of (({File.expand_path})) on Windows,
Usaku Nakamura and Nobuyoshi Nakada on [ruby-core:39504]... -
05:14 AM Revision 800d9a7a (git): test_etc.rb: remove implicit assumption
- * test/etc/test_etc.rb (TestEtc#test_getpwuid): remove implicit
assumption, that getpwuid() would return the first entry in the
order of getpw(), for shared UID. apparently it is not true on
MacOS X 10.8. [ruby-core:46975][Bug #6... -
04:26 AM Revision e57da610 (git): * configure.in: use gcc-4.2 prior to clang, gcc, and cc if exist for
- the use of Snow Leopard's old clang. see also r36594, r36610, r36611.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:21 AM Bug #6360: Debug information build even without requesting it
- =begin
Hello,
Friendly reminder than this still happens in trunk and ruby_1_9_3:
http://ci.rubyinstaller.org/job/ruby-trunk-x86/94/console
CC = mingw32-gcc
LD = ld
LDSHARED = mingw32-gcc -shared
CFLAGS = -O3...
08/04/2012
-
11:34 PM Bug #6835 (Closed): Rdoc for DateTime#strftime('%Q') says 'microseconds' instead if 'milliseconds'
- =begin
The patch fixes wrong rdoc for %Q, which returns the number of ((*milli*))seconds since the unix epoch, not ((*micro*))seconds.
(This is also the expected behavior according to the tests in test/date/test_date_strftime.rb)
... -
11:14 PM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Yeah, that seems to be restricted to snow leopard.
-
05:20 PM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- At least, require 'mysql2' version nor drbrain version don't crash on my Mountain Lion environment.
-
11:04 PM Feature #5478: Add syntax to import Set into core
- I think that unifying `Hash` with `Set` could also allow to use the *splat* star operator more intelligently. For example, currently the following does not work:
```ruby
h = { 1 => 2, 3 => 4}
k = { 0 => 0, *h } # => SyntaxError: une... -
10:53 PM Bug #6278: in `join': deadlock detected (fatal)
=begin
I've tracked this down to a spinlock/deadlock-detection race condition.
Here's a much shorter script to reproduce:
require 'thread'
class SyncHash < Hash
WRITE_LOCK = Mutex.new
def put...- 10:07 PM Revision 949d740a (git): uncommented some tests
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:04 PM Revision a2c5d155 (git): added a comment
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:59 PM Revision 7f13c5e4 (git): * 2012-08-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:57 PM Revision ab67ba64 (git): * ext/date/date_{core,strftime}.c: [ruby-core:46990].
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:56 PM Bug #6830: test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
- =begin
Hello guys,
If I can chime in, something similar happens on Windows:
https://github.com/oneclick/rubyinstaller/pull/120#issuecomment-6641054
And we workaround the issue by setting (({OPENSSL_CONF})) environment variable.... -
03:37 PM Bug #6830 (Assigned): test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
-
03:18 PM Bug #6830 (Feedback): test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
- Click the update button, then click "(More)". You can continue editing the description.
-
02:32 PM Bug #6830 (Closed): test failure test_constants(OpenSSL::TestConfig) [/ruby/test/openssl/test_config.rb:27] on Mac + homebrew
- When using homebrew openssl, following test failure was happen.
2) Failure:
test_constants(OpenSSL::TestConfig) [/Users/kosaki/ruby/git/test/openssl/test_config.rb:27]:
Exception raised:
<#<Errno::ENOENT: No such file or director... -
03:39 PM Bug #6832 (Closed): Module#instance_method and Module#method_defined? act inconsistently w.r.t #respond_to_missing?
- It's awesome that #respond_to_missing? allows Object#method to work for messages handled by #method_missing. However, I was surprised to discover that Module#instance_method and Module#method_defined? don't similarly take #respond_to_mi...
-
02:12 PM Revision de0c788b (git): * gc.c: use inline functions instead of macros, and close up
- related codes for the profiler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:40 AM Revision d7a33316 (git): * gc.c (gc_mark_children): use gc_mark_ptr instead of marking
- a object directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:54 AM Bug #6829 (Rejected): Failure using Win32ole (happens in 1.8.7 and 1.9
- The following code:
require 'rubygems'
require 'win32ole'
pdk = WIN32OLE.new("StampsDotCom.PDK5")
internet_postage = pdk.InternetPostage3
print_job = pdk.CreatePrintJob5
print_job.MailClass = 0 # first clas... -
04:39 AM Feature #6828: Constancy of Constants
- Did you mean #6810 by any chance?
-
01:23 AM Feature #6828 (Open): Constancy of Constants
- =begin
Could have swore there was a recent issue addressing this, but couldn't find it, so...
I hope by Ruby 2.0
module Foo::Bar::Baz
will be equivalent to
module Foo; module Bar; module Baz
That constant lookup doesn... -
04:11 AM Bug #6827 (Closed): Broken build after r36612
- Issue seems to be fixed at r36616, closing this out.
-
12:21 AM Bug #6827 (Closed): Broken build after r36612
- =begin
Hello,
Running sample tests seems is failing on latest trunk for MinGW:
sample/test.rb:alias .FF... 6
sample/test.rb:path ...........................OK 27
sample/test.rb:gc ....OK 4
not ok alias 2 -- C:/Users/Work... -
01:45 AM Bug #6816: Can't compile ruby 2.0.0dev on Mac OS X 10.8
- naruse everything is working fine now. Thanks!.
-
01:35 AM Bug #3351 (Open): stack overflow on super
- In HEAD of trunk, stack overflow doesn't occur, but Override#foo is called only once.
So I reopen this ticket. -
01:04 AM Revision cd060b45 (git): * test/ruby/test_alias.rb (test_super_in_aliased_module_method):
- add a test case for [ruby-dev:46028], which fails in 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/03/2012
-
08:30 PM Feature #3346: __DIR__ revisted
- mame (Yusuke Endoh) wrote:
> Thomas Sawyer and Yutaka Hara,
> ...
Will __dir__ always be an absolute path, or just File.dirname(__FILE__)?
File.dirname(__FILE__) is relative (often ".") when __FILE__ is $0.
It would mean the path n... -
08:22 PM Feature #3346 (Assigned): __DIR__ revisted
- This one is alive.
-
08:05 PM Feature #3346 (Closed): __DIR__ revisted
-
08:05 PM Feature #1961 (Closed): Kernel#__dir__
-
07:33 PM Feature #1961: Kernel#__dir__
- This ticket should be closed since discussion is continued to #3346 ("__DIR__ revisted").
-
07:53 PM Feature #6670: str.chars.last should be possible
- > I'm happy to inform you that matz has accepted your proposal,
> ...
Thank you. I'm happy too :-)
I will make a patch in this weekend. -
07:27 PM Bug #3351 (Closed): stack overflow on super
- This issue was solved with changeset r36612.
Serge, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* insns.def (invokesuper): don't skip the same class. instead, ... -
04:56 PM Revision 260d02d9 (git): vm_insnhelper.c: no recv
- * vm_insnhelper.c (vm_search_normal_superclass): no longer needs
receiver, klass is always unique in the ancestors now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:54 PM Revision e421410e (git): test_super.rb: rename
- * test/ruby/test_super.rb (TestSuper#test_double_include2): rename to
get rid of redefinition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:32 PM Revision 2e2245bf (git): * 2012-08-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:32 PM Revision 9bef3f05 (git): * insns.def (invokesuper): reverted r36612 so that super in an
- aliased method will not call the same method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:08 PM Bug #6816: Can't compile ruby 2.0.0dev on Mac OS X 10.8
- Oops I missed it; r36603 should fix it.
-
11:56 AM Bug #6816: Can't compile ruby 2.0.0dev on Mac OS X 10.8
- Even after running git clean -x -f, autoconf, ./configure and make again is not working for me. I'm on Mac OS X 10.7.4 using XCode 4.4.
As HG said --without-gcc does the trick. -
06:34 AM Bug #6816: Can't compile ruby 2.0.0dev on Mac OS X 10.8
- As the commit above shows, configure.in was edited. To pick up this change you must rebuild the configure script. Usually make detects this and automatically runs autoconf for you. You may need to run autoconf by hand to regenerate th...
-
06:30 AM Bug #6816: Can't compile ruby 2.0.0dev on Mac OS X 10.8
- "Hrm, autoconf was not re-run, does `make` do it?" No. But ./configure --without-gcc works fine.
-
05:38 AM Bug #6816: Can't compile ruby 2.0.0dev on Mac OS X 10.8
- Hrm, autoconf was not re-run, does `make` do it?
-
12:15 AM Bug #6816: Can't compile ruby 2.0.0dev on Mac OS X 10.8
- As in r36597 the default is still gcc.
./configure
checking build system type... x86_64-apple-darwin12.0.0
checking host system type... x86_64-apple-darwin12.0.0
checking target system type... x86_64-apple-darwin12.0.0
checking f... -
11:45 AM Feature #6824: StopIteration gets a source method
- =begin
You should use (({assert_same})) instead of (({assert_equal})), I think.
=end
-
10:27 AM Revision 2d3d8415 (git): * insns.def (invokesuper): don't skip the same class. instead, use
- rb_method_entry_get_with_omod() to avoid infinite loop when
super is used with refinements. [ruby-core:30450] [Bug #3351]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:21 AM Revision bea3f0df (git): configure.in: use default compilers for non-darwin
- * configure.in: use clang prior to gcc only when self-compiling on
darwin. search default compilers on other platforms. [Bug #6816]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:27 AM Revision a713b376 (git): * configure.in: move RUBY_MINGW32 after AC_PROG_CC.
- RUBY_MINGW32 uses AC_TRY_CPP and it sets CC and CPP. [Bug #6816]
* configure.in: don't use AC_PROG_CC in AS_CASE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:23 AM Revision 7ed6c4ee (git): un.rb: reduce duplication
- * lib/un.rb (httpd): reduce duplicated code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:22 AM Revision a580c01d (git): un.rb: DocumentRoot
- * lib/un.rb (httpd): document root is mandatory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:21 AM Revision 5b657b5d (git): runner.rb: no installed gems
- * test/runner.rb: get rid of loading previously installed gems.
[ruby-dev:46025]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:46 AM Revision b2acc2d5 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:41 AM Revision bb9fface (git): * .travis.yml (notifications): [experimental] IRC notificatoins.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:25 AM Revision e07bdafb (git): Revert "* configure.in: move RUBY_MINGW32 after AC_PROG_CC."
- This reverts commit r36603.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:31 AM Bug #6825 (Open): forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
-
05:48 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Switching `require 'active_record'` with `require 'mysql2'` still crashes the interpreter as long as required file is taken using gems mechanism.
-
05:45 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- > I can't reproduce on OS X 10.8 ruby 2.0.0dev (2012-08-03 trunk 36602) [x86_64-darwin12.0.0]
That seems right, 10.8 seems to be unaffected.
> ...
1.9.3p194 :002 > require 'active_record'
=> true
1.9.3p194 :003 > $LOADED_... -
05:36 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- =begin
I can't reproduce on OS X 10.8 ruby 2.0.0dev (2012-08-03 trunk 36602) [x86_64-darwin12.0.0]
I modified your script to remove require 'active_record' and altered the main thread to sleep forever. This ensures that mysql and ot... -
05:23 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Another update: I opened up a file `active_record.rb` inside installed activerecord gem and completely commented it out (so that even ActiveRecord is not defined after require 'active_record'). Still crashes. I guess that takes care of g...
-
05:09 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Oh, it also reproduced on ruby 2.0.0.dev from current git, so I guess it is still not fixed.
-
05:08 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Update: I greatly simplified my test-case.
https://gist.github.com/47e48301aea114e7b1d3
If I remove sleeping threads on line 31 or require 'active_record' on line 1, bug stops reproducing.
Returning back to ruby-lang, as there i... -
03:22 AM Bug #6825 (Feedback): forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
-
02:07 AM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- After some more fiddling it looks like it's mysql2 problem, not ruby's. Will duplicate issue there.
-
06:21 AM Revision 77ef86fe (git): * configure.in: move RUBY_MINGW32 after AC_PROG_CC.
- RUBY_MINGW32 uses AC_TRY_CPP and it sets CC and CPP. [Bug #6816]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:10 AM Feature #6808 (Feedback): Implicit index for enumerations
- See rb_define_virtual_variable() and vm_svar_get()
-
03:48 AM Feature #6808: Implicit index for enumerations
- > $~ and friends behave this way (thread and method local).
Hmmm... In that case, maybe it is worth trying, to see what the actual performance change would be. I'm willing to do it, and I basically know enough to work with a global vari... -
03:15 AM Feature #6808 (Closed): Implicit index for enumerations
- trans (Thomas Sawyer) wrote:
> > No matter which method is faster, what happens to this code:
> ...
$~ and friends behave this way (thread and method local).
> In any case, I think I will withdraw this request. Having to worry about...
08/02/2012
-
11:01 PM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Confirmed with another 10.6 / 1.9.3-p194.
-
10:29 PM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- OS X 10.8 seems to be unaffected.
-
09:31 PM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- ruby 2.0.0dev (2012-08-02 trunk 36596) [x86_64-darwin10.8.0] also does not crash.
-
08:59 PM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Ruby 1.9.2 doesn't crash either.
-
08:52 PM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Ubuntu 11.04 doesn't crash with 1.9 ruby either.
-
08:39 PM Bug #6825: forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- Also notably ruby 1.8.7 does not crash.
-
08:39 PM Bug #6825 (Closed): forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- https://gist.github.com/47e48301aea114e7b1d3 here is the gist with required setup to reproduce bug. Also crash log and stdout.
It seems that forking is essential for this setup to crash. Also, if you use database connection in some wa... -
11:00 PM Feature #6808: Implicit index for enumerations
- =begin
> Are the times of these benchmarks dominated by object creation or iteration? What happens if you run a small number of trials across a large array? (n = 26, a = (0...1000000).to_a)
You are correct that the difference would be l... -
08:41 PM Feature #4085: Refinements and nested methods
- shugo (Shugo Maeda) wrote:
> Matz said the only problem is performance before, so I assign this issue to ko1.
I've committed refinements in r36596 with Matz's permission. However,
it's just an experimental feature, and may be rever... -
06:45 PM Feature #6824 (Rejected): StopIteration gets a source method
- =begin
I'd like to add a method to StopIteration that returns an instance of the enumerator which triggered this exception. Eg:
enum = [].each
begin
enum.next
rescue StopIteration => ex
puts "same" if ex.source == e... - 06:45 PM Revision e25baf1d (git): * 2012-08-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:45 PM Revision 0357f677 (git): add missing *
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:38 PM Revision ede12230 (git): * eval.c (rb_mod_refine): fix documentation.
- Module#refine does not return self, but module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:03 PM Feature #6823 (Assigned): Where/how should ruby-mode issues be reported?
-
01:59 PM Feature #6823 (Closed): Where/how should ruby-mode issues be reported?
- Hi!
I’ve previously reported a couple of issues with ruby-mode, namely
http://bugs.ruby-lang.org/issues/5356
and
http://bugs.ruby-lang.org/issues/5357
They’ve seen no progress.
Just to be clear, am I report... -
02:02 PM Bug #6822 (Assigned): Race Condition with Fiber and Process
-
10:38 AM Bug #6822 (Closed): Race Condition with Fiber and Process
- If I run the following code
$stdout.sync = true
objects = [1, 2, 3]
fiber = Fiber.new do
loop do
objects.each { |obj| Fiber.yield(obj) }
end
end
def run(obj)
fork do
p... -
01:57 PM Revision 9dc1a421 (git): * vm_insnhelper.c (rb_vm_using_modules): fix indent.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:28 PM Bug #6816: Can't compile ruby 2.0.0dev on Mac OS X 10.8
- On darwin12 (a.k.a. OS X 10.8 or Mountain Lion) with Xcode 4.4 CLI, `gcc` is llvm-gcc.
Its gcc extension Label as Values support is buggy and causes this bug.
You can avoid this by -O0 or specify OPT_DIRECT_THREADED_CODE 1 in vm_opts.h... -
01:24 PM Bug #6816 (Closed): Can't compile ruby 2.0.0dev on Mac OS X 10.8
- This issue was solved with changeset r36594.
HG, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* configure.in (AC_PROG_CC): AC_PROG_CC tries clang at first on
d... -
12:52 PM Revision 2af6b06f (git): * vm_insnhelper.c (vm_call_method): remove garbage spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:47 AM Bug #6821 (Closed): GC::Profiler.enabled? returns 0 when enabled
- This issue was solved with changeset r36593.
Dirkjan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c: return true or false. Patch by Dirkjan Bussink. [Bug #... -
07:33 AM Bug #6821 (Assigned): GC::Profiler.enabled? returns 0 when enabled
-
06:24 AM Bug #6821 (Closed): GC::Profiler.enabled? returns 0 when enabled
- GC::Profiler.enabled? returns 0 when GC::Profiler is enabled, contrary to the documentation that states it returns either true or false. Looking at the code, I think it's an oversight because objspace->profile.run isn't properly wrapped ...
-
11:36 AM Revision 98043aca (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:34 AM Revision 19ddfc24 (git): * eval.c (rb_mod_using): new method Module#using. [experimental]
- * eval.c (rb_mod_refine): new method Module#refine. [experimental]
* eval.c (f_using): new method Kernel#using. [experimental]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:20 AM Feature #6361: Bitwise string operations
- mame (Yusuke Endoh) wrote:
> Martin Bosslet and Joshua Ballanco,
> ...
No problem! It's very specific and I understand well that it certainly
adds complexity that is not needed often enough. I still believe that
having something like... -
11:08 AM Revision 319088e9 (git): * class.c, insns.def, method.h, proc.c, vm.c, vm_core.h, vm_eval.c,
- vm_insnhelper.c, vm_insnhelper.h, vm_method.c: add klass to
rb_control_frame_t to implement super correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:05 AM Feature #6819: OpenSSL::Digest.new should return an instance of the chosen subclass
- drbrain (Eric Hodel) wrote:
> I agree. I have attached a patch to implement your suggestion.
Thanks to both of you! -
10:58 AM Feature #6819 (Closed): OpenSSL::Digest.new should return an instance of the chosen subclass - This issue was solved with changeset r36592.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/openssl/lib/openssl/digest.rb
test/openssl/test_digest.rb... -
07:30 AM Feature #6819: OpenSSL::Digest.new should return an instance of the chosen subclass
- I agree. I have attached a patch to implement your suggestion.
-
04:24 AM Revision 14bf66f2 (git): * configure.in (AC_PROG_CC): AC_PROG_CC tries clang at first on
- darwin. [Bug #6816]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:22 AM Bug #6820 (Closed): Time#to_s on NEWS
- =begin
The Time section on NEWS file says an encoding of Time#to_s respects Encoding.default_internal,
but r33094 says it is always US-ASCII. I guess NEWS file is incorrect.
See also #5226.
$ ruby -E:utf-8 -ve 'p Encoding.default_... -
02:47 AM Revision b79bf14f (git): * gc.c: return true or false. Patch by Dirkjan Bussink. [Bug #6821]
- * test/ruby/test_gc.rb: add test-case for this bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:58 AM Revision df05bd2c (git): * ext/openssl/lib/openssl/digest.rb
- test/openssl/test_digest.rb: Add Digest module function to OpenSSL
module and test it. Patch provided by Eric Hodel.
[ruby-core:46908][Feature #6819]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36592 b2dd03c8-39d4-4d8f-98ff-8...
08/01/2012
-
11:44 PM Feature #6503: Support for the NPN extension to TLS/SSL
- igrigorik (Ilya Grigorik) wrote:
> Martin, let me know if you run into any questions or issues.. would love to see this working, sooner rather later. :-)
Thanks for the offer, I'll get back to you if I run into trouble :) I'll try to... -
11:21 PM Feature #5453: Add gemspecs to auto-mode-alist for ruby-mode
- Perhaps the copy in the ruby source should just point to the emacs version? (And a bug report filed with the emacs guys.)
-
10:44 PM Bug #6799: Digest::*.hexdigest returns an ASCII-8BIT String
- duerst (Martin Dürst) wrote:
> Given that the string has only ASCII characters, an encoding of US-ASCII indeed seems best. Benoit, unless somebody objects soon, I think you should go ahead with your patch.
Thank you, I just did. -
10:30 PM Bug #6799 (Closed): Digest::*.hexdigest returns an ASCII-8BIT String
- This issue was solved with changeset r36588.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
ext/digest/digest.c (hexencode_str_new): return an ASCII string... -
10:29 PM Revision cc59a581 (git): test_framework.rb: show mkmf.log on failure
- * test/mkmf/test_framework.rb (test_core_foundation_framework): show
mkmf.log on failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:29 PM Revision 5a832e1d (git): * 2012-08-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:29 PM Revision d28d075c (git): RB_TYPE_P BUILTIN_TYPE
- * string.c, vm_insnhelper.c, vm_method.c: use RB_TYPE_P() and
BUILTIN_TYPE() if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:11 PM Feature #6819: OpenSSL::Digest.new should return an instance of the chosen subclass
- =begin
--- drbrain (Eric Hodel) wrote:
I would like this changed so that it returns the specific subclass of OpenSSL::Digest:
digester = OpenSSL::Digest.new "SHA1"
digester.class #=> OpenSSL::Digest::SHA1
It sounds like... -
12:27 PM Feature #6819 (Closed): OpenSSL::Digest.new should return an instance of the chosen subclass
- =begin
(({OpenSSL::Digest.new})) allows you to create a digest given the digest name:
digester = OpenSSL::Digest.new "SHA1"
digester.update "hello"
# …
The digester returned is of class (({OpenSSL::Digest})) regardless of ... -
01:30 PM Revision 61b624d1 (git): ext/digest/digest.c (hexencode_str_new): return an ASCII string
- * test/digest: tests for all kind of digests encodings
[ruby-core:46792][Bug #6799]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:58 AM Bug #6813 (Closed): TestRubyOptions#test_encoding failure on Windows - This issue was solved with changeset r36587.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
test_rubyoptions.rb: fix test failure on Windows
* test/ruby/...