Activity
From 07/27/2016 to 08/02/2016
08/02/2016
-
09:12 PM Bug #12649 (Third Party's Issue): DateTime method calls hang
- When ActiveSupport 5 time is required (require 'activesupport/time') the rb_funcall() function on hour, minute, second, offset, and others causes a hang. This issue gives more details.
https://github.com/ohler55/oj/issues/306#issuecom... -
03:27 PM Feature #12648: `Enumerable#sort_by` with descending option
- Nobuyoshi Nakada wrote:
> I prefer more descriptive option, e.g., `enum.sort_by(:descend) {|e| e}`.
> ...
That's good too. -
01:34 PM Feature #12648: `Enumerable#sort_by` with descending option
- I prefer more descriptive option, e.g., `enum.sort_by(:descend) {|e| e}`.
https://github.com/ruby/ruby/compare/trunk...nobu:feature/12648-sort_by-order
-
11:32 AM Feature #12648: `Enumerable#sort_by` with descending option
- On 2016/08/02 18:57, [email protected] wrote:
> Issue #12648 has been reported by Tsuyoshi Sawada.
> Feature #12648: `Enumerable#sort_by` with descending option
> https://bugs.ruby-lang.org/issues/12648
I have felt ... -
10:00 AM Feature #12648: `Enumerable#sort_by` with descending option
- When the number of arguments passed is less than the sort keys, sort should be ascended or descended at a higher array level.
```ruby
[3, 1, 2, 0].sort_by{|e| [e % 2, e]} # => [0, 2, 1, 3]
[3, 1, 2, 0].sort_by(false){|e| [e %... -
09:57 AM Feature #12648 (Open): `Enumerable#sort_by` with descending option
- I would like to pass an optional argument to `Enumerable#sort_by` or `Enumerable#sort_by!` to allow descending sort. When the sort key is singular, this could be done by passing a single optinal boolean variable that represents ascending...
-
01:18 PM Revision c1346628 (git): Remove empty directories
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:42 PM Feature #12647 (Closed): Make tanh faster when it lacks of HAVE_TANH
- Applied in changeset r55799.
----------
math.c: faster tanh
* math.c (tanh): make faster by the extract form if three
hyperbolic functions are unavailable. [Feature #12647] -
09:02 AM Feature #12647 (Closed): Make tanh faster when it lacks of HAVE_TANH
- I found tanh(x) in math.c return sinh(x) / cosh(x), which function call is a waist of time.
So I changed to (exp(2*x) - 1) / (exp(2*x) + 1), the extract form of tanh().
But if HAVE_SINH and HAVE_COSH are defined, only HAVE_TANH und... -
12:42 PM Revision 4483d59f (git): math.c: faster tanh
- * math.c (tanh): make faster by the extract form if three
hyperbolic functions are unavailable. [Feature #12647]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:40 PM Revision 83cfc945 (git): math.c: tanh overflow
- * math.c (tanh): check overflows, and return +-1.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:21 AM Feature #11337: Allow rescue without begin inside blocks
- On 2016/08/02 10:54, [email protected] wrote:
> I guess those duplicated issues synchronizes their status each other so I don't close them (am I correct?).
I guess it depends on how you linked them. If it's just 'related', th... -
01:54 AM Feature #11337: Allow rescue without begin inside blocks
- Issues linked. I guess those duplicated issues synchronizes their status each other so I don't close them (am I correct?).
-
08:47 AM Bug #12646 (Rejected): When using sidekiq in rails and call multiple times
- /home/ubuntu/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/http.rb:923: [BUG] Segmentation fault at 0x007f22e84518d0
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
-- Control frame information ----------------------------------... -
07:00 AM Feature #8526 (Assigned): gemify tk
- 特にご意見ないようなので上述の通り進めていきます。
-
03:37 AM Bug #12645 (Closed): ext/socket fails to link on some Solaris 10 versions
- Applied in changeset r55797.
----------
socket/option.c: inet_ntop
* ext/socket/option.c, ext/socket/rubysocket.h (inet_ntop): share
the fallback definition. [ruby-core:76646] [Bug #12645] -
03:15 AM Bug #12645: ext/socket fails to link on some Solaris 10 versions
- Does removing `static` from `inet_ntop` in option.c work?
-
02:34 AM Bug #12645 (Open): ext/socket fails to link on some Solaris 10 versions
-
02:32 AM Bug #12645: ext/socket fails to link on some Solaris 10 versions
- > That suggests we have a bug in the build system about detecting
> ...
Not build system, but code itself. In ancdata.c, inet_ntop() is used without checking HAVE_INET_NTOP.
This might occur on every OS whose HAVE_INET_NTOP is 0.
Th... -
02:28 AM Bug #12645 (Feedback): ext/socket fails to link on some Solaris 10 versions
- Please show the mkmf.log file.
-
03:37 AM Revision aa8e9c63 (git): socket/option.c: inet_ntop
- * ext/socket/option.c, ext/socket/rubysocket.h (inet_ntop): share
the fallback definition. [ruby-core:76646] [Bug #12645]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:45 AM Feature #4840: Allow returning from require
- Stalling due to unresolved bugs.
Current status: https://gist.github.com/nobu/e70b0c897b12b936e063 -
02:41 AM Feature #8643: Add Binding.from_hash
- Rodrigo Rosenfeld Rosas wrote:
> The other one suggested ERB to accept also a hash, instead of a binding for `#result`.
It feels better to me.
-
02:18 AM Revision f6518002 (git): tcltklib.c: remove RUBY_VERSION
- * ext/tk/tcltklib.c (tcltklib_compile_info): remove RUBY_VERSION,
use RUBY_API_VERSION instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:59 AM Revision 59cfce15 (git): tcltklib.c: compile info
- * ext/tk/tcltklib.c (tcltklib_compile_info): build compile info
statically.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:47 AM Revision 9fc37019 (git): vm_core.h: suppress warnings
- * vm_core.h (VM_ENV_FLAGS, VM_FRAME_TYPE): return unsigned to
suppress sign-compare warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/01/2016
-
08:32 PM Bug #12645: ext/socket fails to link on some Solaris 10 versions
- [email protected] wrote:
> The socket extension in core Ruby does not link due to a
> missing `inet_ntop`, which was added during the Solaris 10
> series (10u7, I believe).
>
> This patch gets it compiling again by creating a st... -
08:16 PM Bug #12645 (Closed): ext/socket fails to link on some Solaris 10 versions
- The socket extension in core Ruby does not link due to a missing `inet_ntop`, which was added during the Solaris 10 series (10u7, I believe).
This patch gets it compiling again by creating a static inet_ntop (same as in getaddrbyname.... -
07:13 PM Bug #12644: Support debug build on Windows with MSVC
- Great work! Thank you!
-
07:12 PM Bug #12644 (Closed): Support debug build on Windows with MSVC
- Applied in changeset r55792.
----------
* win32/win32.c (set_pioinfo_extra): use more reliable way to search
the position of pioinfo of VC14, and also support debug library of it.
patched by davispuh AT gmail.com
[ruby-core:76644]... -
06:27 PM Bug #12644 (Closed): Support debug build on Windows with MSVC
- When building debug build with MSVC (`-MDd` flag) then it will be linked to `ucrtbased.dll` where `_isatty` function obviously differs.
I've attached a patch which fixes this so that `__pioinfo` will be found for both debug and non-de... -
07:12 PM Bug #12631 (Closed): Cannot build Ruby 2.4 preview 1 with MSVC 2015 update 3 ( crashes in miniruby )
- Applied in changeset r55792.
----------
* win32/win32.c (set_pioinfo_extra): use more reliable way to search
the position of pioinfo of VC14, and also support debug library of it.
patched by davispuh AT gmail.com
[ruby-core:76644]... - 07:12 PM Revision fec97f90 (git): * 2016-08-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:12 PM Revision 441cbf59 (git): * win32/win32.c (set_pioinfo_extra): use more reliable way to search
- the position of pioinfo of VC14, and also support debug library of it.
patched by davispuh AT gmail.com
[ruby-core:76644] [Bug #12644]
this fixes also [Bug #12631]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55792 b2dd03c8-... -
05:26 PM Bug #12610: webrick: protect from httpoxy
- ruby_2_3 r55791 merged revision(s) 55731.
-
05:26 PM Revision 1bc8bf27 (git): merge revision(s) 55731: [Backport #12610]
- * lib/webrick/httpservlet/cgihandler.rb (do_GET): delete HTTP_PROXY
* test/webrick/test_cgi.rb (test_cgi_env): new test
* test/webrick/webrick.cgi (do_GET): new endpoint to dump env
[ruby-core:76511] [Bug #126... -
04:33 PM Bug #12491: TestRefinement#test_prepend_after_refine_wb_miss too slow
- ruby_2_3 r55790 merged revision(s) 55532.
-
04:33 PM Revision be276309 (git): merge revision(s) 55532: [Backport #12491]
- * test/ruby/test_refinement.rb: skip
test_prepend_after_refine_wb_miss on ARM or MIPS.
[ruby-core:76031] [Bug #12491]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55790 b2dd03c8-39d4-4d8f-98ff-823fe... -
01:48 PM Bug #12643 (Closed): When generating exts.mk need to escape newlines for @echo
- Currently if some extension fails to compile then whole build will break because of syntax error in exts.mk
With MinGW
~~~
exts.mk:1526: *** missing separator. Stop.
make: *** [uncommon.mk:217: build-ext] Error 2
~~~
With nm... -
12:58 PM Feature #11337: Allow rescue without begin inside blocks
- Could you please close this one? It seems it's a duplicate of issue #7882.
issue #12623 seems to be yet another recent request for the same feature and should probably be closed as a duplicate of #7882 as well. -
12:39 PM Revision c7924b13 (git): extmk.rb: build gems
- * ext/extmk.rb: [EXPERIMENTAL] build extension libraries in
extracted gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:39 PM Bug #12421: Please backport r53816, r53817
- + About 2.0.0, we will never backport any patches because it has already reached at end-of-life.
+ About 2.1, it has no chance to backport any features because it's in security only maintenance phase.
+ About 2.2, in principle, feature... -
12:22 PM Bug #12421: Please backport r53816, r53817
- can we get a decision about this backport?
-
11:52 AM Bug #12642 (Closed): Net::HTTP populates host header incorrectly when using an IPv6 Address
- When sending a request, the client code adds a "Host" header. It does the by taking the given address, appending a colon, and then appending the port. This creates a fragment of a URL such as "google.com:80". However, when instead of ...
-
10:30 AM Misc #12641 (Third Party's Issue): JSON documentation incomplete
- The documentation of the JSON stdlib class (i.e. http://ruby-doc.org/stdlib-2.2.5/libdoc/json/rdoc/JSON.html) is missing a description, what the user has to do to provide JSON serialization for his own classes (i.e. description of the to...
-
09:29 AM Feature #12637: Unified and consistent method naming for safe and dangerous methods
- Shyouhei Urabe wrote:
> Radovan Smitala wrote:
> ...
It is not about fill. New method name with same function just fragmentize language.
It is about manner which is used in Ruby language. Idea about "safe" and "dangerous" methods is v... -
08:25 AM Feature #12637: Unified and consistent method naming for safe and dangerous methods
- Radovan Smitala wrote:
> Eg: **fill** which return new array, and **fill!** which modify receiver.
I think this specific method (nondestructive fill variant) is worth considering. Maybe another name (with aliasing foo! to current fi... -
08:07 AM Feature #12637: Unified and consistent method naming for safe and dangerous methods
- Shyouhei Urabe wrote:
> Array#clear being destructive is the nature of that method. It makes no sense to have its bang variant.
> ...
I understand that bang (dangerous) methods are variation to normal methods. But in some circumstance... -
12:19 AM Feature #12637: Unified and consistent method naming for safe and dangerous methods
- Array#clear being destructive is the nature of that method. It makes no sense to have its bang variant.
I think you missed the point that a bang method is a variant. No core methods I remember appear in bang without its bang-less co... -
07:24 AM Feature #9916 (Closed): Hide Struct internal
- Applied in changeset r55788.
----------
hide struct internal [Feature #9916]
* include/ruby/ruby.h (struct RStruct): no longer.
* internal.h (struct RStruct): moved here.
* struct.c (rb_struct_ptr): a compensation function for the... -
07:23 AM Revision 26f59b09 (git): hide struct internal [Feature #9916]
- * include/ruby/ruby.h (struct RStruct): no longer.
* internal.h (struct RStruct): moved here.
* struct.c (rb_struct_ptr): a compensation function for the lack
of RSTRUCT_PTR. But now that we have RSTRUCT_GET/... -
05:55 AM Feature #12300 (Closed): Allow Object#clone to take freeze: false keyword argument to not freeze the clone
- Applied in changeset r55786.
----------
Object#clone with freeze: false [Feature #12300]
* object.c (rb_obj_clone2): Allow Object#clone to take freeze:
false keyword argument to not freeze the clone.
[ruby-core:75017][Feature ... - 05:55 AM Revision 0a86f7ff (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:55 AM Revision 320ae01c (git): Object#clone with freeze: false [Feature #12300]
- * object.c (rb_obj_clone2): Allow Object#clone to take freeze:
false keyword argument to not freeze the clone.
[ruby-core:75017][Feature #12300]
* test/ruby/test_object.rb (TestObject): test for it.
git-sv... - 03:16 AM Revision ac447841 (git): * 2016-08-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:16 AM Revision 11a94f2a (git): * ext/json/*, test/json/json_parser_test.rb: Update json-2.0.2.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:22 AM Feature #12635: Shuffling/Reassigning "namespaces" more easily
- I have wanted this kind of feature for a long time. Not sure if this proposed API is the answer though.
07/31/2016
-
10:25 PM Bug #12640 (Rejected): segmentation fault involving json1.8.3
- Ruby 1.9.3 is EOL status.
-
07:26 AM Bug #12640 (Rejected): segmentation fault involving json1.8.3
- on OSX, upgraded to El Kapitan and had to re-install rails and other gems (json1.8.3 needed to be recompiled which needed xcode and xcode-cli). started the rails server and got a fault.
using ruby 1.9.3 rails 3.2.21 ...
-
07:24 AM Revision 647d2bc3 (git): resolv.c: fix commit miss
- * ext/win32/resolv/resolv.c (Init_resolv): remove dead code.
[Bug #12604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:17 AM Bug #12604 (Closed): Win32::Resolv.get_resolv_info returns unavailable DNS servers
- Applied in changeset r55781.
----------
win32/resolv: get_dns_server_list
* ext/win32/resolv/resolv.c (get_dns_server_list): [Win32] get DNS
servers only for connected network devices by GetNetworkParams
API. [Bug #12604] - 07:17 AM Revision 61d25d27 (git): * 2016-07-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:17 AM Revision 925d48e4 (git): win32/resolv: get_dns_server_list
- * ext/win32/resolv/resolv.c (get_dns_server_list): [Win32] get DNS
servers only for connected network devices by GetNetworkParams
API. [Bug #12604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55781 b2dd03c8-39d4-4d8f-98ff-823... -
06:30 AM Feature #12639: Speed up require in RubyGems by 5x
- I'm not sure if it is acceptable for rubygems to skip loaded features.
> ```diff
> ...
Why is this function global?
And the argument of `RSTRING_PTR` should not have side effects. -
01:05 AM Feature #12639 (Assigned): Speed up require in RubyGems by 5x
- This patch makes requiring an already-loaded file approximated 5x faster when the RubyGems mixin for require is present.
Benchmarked via the following script:
~~~ ruby
require "rubygems"
require "benchmark/ips"
Benchmark.ips do ...
07/30/2016
-
10:32 AM Revision bfb5b0f8 (git): iso_8859_2.c: dedent [ci skip]
- * enc/iso_8859_2.c: remove unnecessary indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:28 AM Feature #12573: Introduce a straightforward way to discover whether a process is running
- Martin Dürst wrote:
> I wonder whether you have or can make a patch, and whether it would work
> ...
It works on Windows too.
I'd added this to the agenda of the last meeting, but we didn't have time enough.
-
04:12 AM Feature #12573: Introduce a straightforward way to discover whether a process is running
- On 2016/07/30 05:57, [email protected] wrote:
> What's the process for a decision being made on this feature request?
> https://bugs.ruby-lang.org/projects/ruby/wiki/HowToContribute seems to encourage a ping if a feature reque... -
04:53 AM Feature #12637: Unified and consistent method naming for safe and dangerous methods
- Fixed typo
-
03:32 AM Bug #12565: SEGV when using &:foo with tail call optimization
- ruby_2_3 r55779 merged revision(s) 55605.
-
03:31 AM Revision aeb980bd (git): merge revision(s) 55605: [Backport #12565]
- * vm_args.c (vm_caller_setup_arg_block): disable symbol block
argument optimization when tail call optimization is enabled,
in order to avoid SEGV. [ruby-core:76288] [Bug #12565]
git-svn-id: svn+ssh://ci.ruby-lang.... -
03:21 AM Bug #12531: Segmentation fault occurred when execute curry with block
- ruby_2_3 r55778 merged revision(s) 54909,55531.
-
03:21 AM Revision 446bb33f (git): merge revision(s) 54909,55531: [Backport #12531]
- proc.c: passed_block
* proc.c (passed_block): extract conversion from passed proc value
to rb_block_t pointer.
* proc.c (passed_block): convert passed block symbol to proc.
based on the patch by Daisuke Sato ... -
03:13 AM Revision 31040a30 (git): * string.c (String#downcase), NEWS: Mentioned that case mapping for all
- of ISO-8859-1~16 is now supported. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:00 AM Revision 80715186 (git): * 2016-07-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:00 AM Revision 4abdd6c5 (git): * enc/iso_8859_2.c, test/ruby/enc/test_case_comprehensive.rb:
- Implement non-ASCII case conversion for ISO-8859-2, by Yushiro Ishii.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:26 AM Bug #12462: Segmentation fault hapen when calling Proc that has return
- ruby_2_3 r55774 merged revision(s) 55297.
-
02:26 AM Revision e561fc44 (git): merge revision(s) 55297: [Backport #12462]
- * vm_insnhelper.c (vm_throw_start): check if the iseq is symbol
proc, class definition should not be a symbol proc.
[ruby-core:75856] [Bug #12462]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55774 ... -
01:17 AM Bug #12636 (Closed): string.gsub(/([a-z](?=[A-Z._ ]))/, "#{$1} ") returns wrong result (possible C-string leak?)
-
01:10 AM Bug #12634 (Closed): Ruby converts '*' on command line to a file name
07/29/2016
-
08:57 PM Feature #12573: Introduce a straightforward way to discover whether a process is running
- What's the process for a decision being made on this feature request?
https://bugs.ruby-lang.org/projects/ruby/wiki/HowToContribute seems to encourage a ping if a feature request gets missed. In this case, ping!
Thanks! -
07:36 PM Feature #12638 (Closed): Symbol#to_proc probable bug (seems not to support refinements)
- It is my understanding that
~~~
v.map { |x| x.foobar }
~~~
should always be equivalent to
~~~
v.map(&:foobar)
~~~
The following shows a case, involving refinements, where this is not the case.
~~~
module MyExtensions
... -
07:04 PM Feature #12637 (Rejected): Unified and consistent method naming for safe and dangerous methods
- Hello,
As a multi-paradign language allows programmers to code from imperative to functional style. This gives Ruby to be modern and wide used language in these days.
Ruby is built on idea to be as fun, understandable and focused for... -
03:01 PM Bug #12636: string.gsub(/([a-z](?=[A-Z._ ]))/, "#{$1} ") returns wrong result (possible C-string leak?)
- This isn't a bug, it's because "#{$1} " is evaluated before the call to gsub, using the results of the previous regexp match. You probably want to use '\1 ' instead.
-
02:48 PM Bug #12636 (Rejected): string.gsub(/([a-z](?=[A-Z._ ]))/, "#{$1} ") returns wrong result (possible C-string leak?)
- Verified in Ruby 2.1, 2.2, and 2.3.
> "Hello.World".gsub(/([a-z](?=[A-Z._ ]))/, "#{$1} ")
=> "Hell .World"
^ wrong answer; it should be `"Hello .World"`
> "Hello.World".gsub(/([a-z](?=[A-Z._ ]))/, "#{$1} ")
=> ... -
11:57 AM Revision c463366d (git): rb_funcallv
- * *.c: rename rb_funcall2 to rb_funcallv, except for extensions
which are/will be/may be gems. [Fix GH-1406]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:55 AM Feature #12635 (Rejected): Shuffling/Reassigning "namespaces" more easily
- Push a namespace into another namespace
Hello.
Consider this code here:
class Konsole; def initialize; puts 'hello world'; end; end
This may reside in a file called konsole.rb
So far so fine. Now, as more and more othe... -
01:52 AM Revision 26de0b13 (git): * proc.c (env_write): remove unused function.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:51 AM Revision 7a1d1163 (git): * vm_core.h (VM_LOCAL_P): should return an integer value.
- reported at
http://d.hatena.ne.jp/nagachika/20160728/ruby_trunk_changes_55764_55770
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:08 AM Bug #12634: Ruby converts '*' on command line to a file name
- Andrew, I guess this is the key part:
> OS: Windows 10
So yes, ruby handles glob in pace of Unix shells on this platform. As far as I remember this is by design.
07/28/2016
-
08:57 PM Bug #12634: Ruby converts '*' on command line to a file name
- This is handled by your shell before passing to ruby. Compare:
~~~
ruby -e 'puts ARGV.inspect' *
["file1", "file2"]
ruby -e 'puts ARGV.inspect' '*'
["*"]
~~~ -
07:38 PM Bug #12634: Ruby converts '*' on command line to a file name
- output is random file name (tags got removed)
-
07:37 PM Bug #12634 (Rejected): Ruby converts '*' on command line to a file name
- Repro:
- ruby script.rb *
- script.rb:
puts ARGV[0]
output:
<random file name>
expected output:
*
OS: Windows 10
This is annoying when passing glob as an arg. Also happens when passing anything starting with `*` -
08:39 PM Bug #10212: MRI is not for lambda calculus
- [Omake](http://www.urbandictionary.com/define.php?term=omake)
```
target 0: ruby_2_0 (ruby 2.0.0p648 (2015-12-16 revision 53161) [x86_64-linux]) at "~/ruby/install/ruby_2_0_0/bin/ruby"
target 1: ruby_2_1 (ruby 2.1.10p492 (2016-04-22... -
07:15 PM Bug #10212: MRI is not for lambda calculus
- r55768 makes it faster.
> app_lc_fizzbuzz 42.771 36.976 (x 1.15 faster)
Now it is faster than mruby :p
-
11:21 AM Bug #10212: MRI is not for lambda calculus
- Compare with the following 3 interpreters.
```
target 0: trunk (ruby 2.4.0dev (2016-07-28 trunk 55767) [x86_64-linux]) at "~/ruby/install/trunk/bin/ruby"
target 1: jruby (jruby 9.1.2.0 (2.3.0) 2016-05-26 7357c8f OpenJDK 64-Bit Serve... -
07:27 PM Revision 78c1041a (git): * vm_core.h (VM_ENV_LOCAL_P): return truthy (0 or not) value.
- * vm.c (rb_vm_make_proc_lambda): use VM_ENV_ESCAPED_P() macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:13 PM Revision 8b35cf45 (git): * 2016-07-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:13 PM Revision e06698d2 (git): * vm.c, internal.h: remove RubyVM::Env class and all of env objects
- are imemo objects (imemo_env).
* NEWS: describe this change. I believe nobody touch these objects
because there are no method defined.
* vm_core.h: remove the following definitions.
* rb_cEnv decl.
* GetEnvPtr() because Env is no... -
11:02 AM Feature #12628 (Closed): change block/env structs
- Applied in changeset r55766.
----------
* vm_core.h: revisit the structure of frame, block and env.
[Bug #12628]
This patch introduce many changes.
* Introduce concept of "Block Handler (BH)" to represent
passed blocks.
*... -
10:31 AM Feature #12628: change block/env structs
- add several `inline`s, pentomino issue was solved.
https://gist.github.com/ko1/9314e4128cf3562d2c039a8f8caf6ce1
I'll commit it soon.
- 11:02 AM Revision c3ceb1bf (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:02 AM Revision 9f60791a (git): * vm_core.h: revisit the structure of frame, block and env.
- [Bug #12628]
This patch introduce many changes.
* Introduce concept of "Block Handler (BH)" to represent
passed blocks.
* move rb_control_frame_t::flag to ep[0] (as a special local
variable). This flags represents not on... -
08:12 AM Bug #12631: Cannot build Ruby 2.4 preview 1 with MSVC 2015 update 3 ( crashes in miniruby )
- Note: This also occurs in MSVC 2015 Update 1
- 06:05 AM Revision 683eafd9 (git): * 2016-07-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:05 AM Revision 7475d443 (git): ruby.h: use __extension__
- * include/ruby/ruby.h (ruby_fl_type): use __extension__ to get rid
of pedantic warning against RUBY_FL_USER19.
https://github.com/skylightio/skylight-ruby/issues/64
* include/ruby/ruby.h (rb_mul_size_overflow): ditto for use of
int...
07/27/2016
-
10:09 PM Bug #12599: For CLang, increase inline-threshold to get 7%-10% speedup of optcarrot
- On CentOS 6.6 and Ruby 2.2.3, seeing about a 9% speedup of CLang with -inline-threshold of 5000 versus Ruby 2.2.3 normal settings with GCC 4.4.7.
Not as much better as CLang-versus-un-inlined-CLang. But still quite good.
-
09:29 PM Bug #12599: For CLang, increase inline-threshold to get 7%-10% speedup of optcarrot
- My initial run was with Ruby 2.4.0dev on Mac OS X on the following CLang:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.3.0 (clang-703.0.31... -
07:17 PM Feature #10273: Immutable Ruby
- I am sorry, it would be absolutely different programming language wouldn't it?
-
06:04 PM Feature #12624: !== (other)
- I don't have any particular strong pro or con opinion here, but I should like to note that my bad eyes have it not so easy to distinguish between = == != =! !== ==!.
I actually think that !(String === mod) may be easier to read than (... -
08:44 AM Bug #12630: add gem sources errors on Ruby 2.4.0-preview1
- That's weird... OpenSSL 1.0.1 doesn't have SSL_CTX_set_ecdh_auto() so it shouldn't happen. Apparently you have another installation of OpenSSL 1.0.2, and ext/openssl was compiled with its headers but linked against the system OpenSSL. Pl...
-
07:46 AM Bug #12630: add gem sources errors on Ruby 2.4.0-preview1
- ~~~
vagrant:~$ ruby -v
ruby 2.4.0preview1 (2016-06-20 trunk 55466) [x86_64-linux]
vagrant:~$ which ruby
/home/vagrant/.rubies/ruby-2.4.0-preview1/bin/ruby
vagrant:~$ cd /home/vagrant/.rubies/ruby-2.4.0-preview1
vagrant:~/.ru... -
02:43 AM Bug #12630 (Feedback): add gem sources errors on Ruby 2.4.0-preview1
- I can't reproduce on my Ubuntu 14.04 box. Do you use a custom OpenSSL build? If so, could you provide the configure options?
~~~
ubuntu@ubuntu1404:~/ruby-2.4.0-preview1$ ./target/bin/ruby -v
ruby 2.4.0preview1 (2016-06-20 trunk 5546... -
01:03 AM Bug #12630 (Assigned): add gem sources errors on Ruby 2.4.0-preview1
-
12:38 AM Bug #12630 (Rejected): add gem sources errors on Ruby 2.4.0-preview1
- ~~~
vagrant:~$ sudo lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
vagrant:~$ ruby -v
ruby 2.4.0preview1 (2016-06-20 trunk 55466) [x86_64-linu... -
08:26 AM Feature #12574 (Assigned): Remove TRUE, FALSE, and NIL
- Yukihiro Matsumoto wrote:
> You have to wait until Ruby 3.0 at least.
> ...
Do you mean deprecating them first in 2.4?
-
08:20 AM Bug #12631 (Closed): Cannot build Ruby 2.4 preview 1 with MSVC 2015 update 3 ( crashes in miniruby )
- D:\Ruby24Build\ruby-2.4.0-preview1\ruby-2.4.0-preview1>win32\configure.bat --enable-debug-env --prefix=%ID%
Creating verconf.mk
Creating Makefile.new
type `nmake' to make ruby.
D:\Ruby24Build\ruby-2.4.0-preview1\ruby-2.4.0-previe... -
08:11 AM Feature #12623: rescue in blocks without begin/end
- Nobuyoshi Nakada wrote:
> An objection is that `rescue` in `{}` block feels weird.
I feel the same way. I think it feels weird because in Ruby, program structures starting with a keyword (`if`/`while`/`do`/`def`/...) can contain ke... -
07:52 AM Feature #12623: rescue in blocks without begin/end
- > I cannot remember any other language syntax
So, case statement in Ruby is different too.
\+ it is not necessary to use this.
BTW AFAIK ruby-style-guide banned multiline {} -
04:23 AM Feature #12623: rescue in blocks without begin/end
- Dmitriy Non wrote:
> ~~~ruby
> ...
-1. This is odd. I cannot remember any other language syntax that goes likes this. Java, C++, C# and all other language that use {} as block notations share this syntax to write exception handlings... -
03:29 AM Bug #12604: Win32::Resolv.get_resolv_info returns unavailable DNS servers
- I can't find an API to achieve the DNS search list.
https://github.com/ruby/ruby/compare/trunk...nobu:bug/12604-win32-resolv-connected-only -
01:33 AM Revision 55378a9e (git): * enc/windows_1253.c: Remove dead code found by Coverity Scan.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e