Activity
From 07/28/2016 to 08/03/2016
08/03/2016
-
11:01 PM Misc #12641: JSON documentation incomplete
- Ronald Fischer wrote:
> 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... -
07:46 PM Feature #12650: Use UTF-8 encoding for ENV on Windows
- Hi,
Usaku NAKAMURA wrote:
> We don't want to break compatibility.
> ...
We always invoke ruby with -EUTF-8:UTF-8 .
Would make sense to enable this patch in ruby 2.x in such situations
where UTF-8 behavior has been requested expl... -
05:36 AM Feature #12650: Use UTF-8 encoding for ENV on Windows
- We don't want to break compatibility.
Wait Ruby3. -
12:53 AM Feature #12650 (Closed): Use UTF-8 encoding for ENV on Windows
- Windows environment variables supports Unicode (same wide WinAPI) and so there's no reason to limit ourselves to any codepage.
Currently ENV would use locale's encoding (console's codepage) which obviously won't work correctly for chara... -
07:41 PM Feature #8643: Add Binding.from_hash
- It seems this feature is not related at all to #8439, could you please review it and remove the related feature? Please relate this ticket to #8631 instead.
-
07:38 PM Feature #8643: Add Binding.from_hash
- Nobuyoshi Nakada wrote:
> Rodrigo Rosenfeld Rosas wrote:
> ...
Either one is fine to me as long as I can easily pass locals to ERB from a hash using a proper API :) Since this is the only use case I have in mind for `Binding.from_hash`... -
07:30 PM Feature #4840: Allow returning from require
- I'm not sure I understand that link. What is 1, 2, 3 and 4? What are the bugs?
-
07:24 PM Feature #11337: Allow rescue without begin inside blocks
- If I understood it correctly, this issues currently duplicates #7882 which means closing this one would keep the other open.
-
07:23 PM Feature #11337: Allow rescue without begin inside blocks
- http://www.redmine.org/projects/redmine/wiki/RedmineIssues
"duplicates - Links issues so that closing one, will close the other (e.g. closing A will close B)
For example, if issue B duplicates A:
- closing B will leave A open
- clo... -
06:57 PM Feature #12607: Ruby needs an atomic integer
- This is not really about Integer handling +=. there's no "+=" method. It's a short-hand syntax: a += 1 is currently expanded to something like "a = a + 1". One proposal is to change it to be expanded to something like "synchronized(a = a...
-
01:58 PM Feature #12607: Ruby needs an atomic integer
- Sorry, I do not clearly understand why the original Integer class cannot be made atomic. If it is not possible or if there would be any problem, can someone explain why that is?
Ideally, I think it would be better if the original Inte... -
06:33 PM Feature #12653 (Assigned): Use wide WinAPI for rb_w32_getcwd
- Use wide WinAPI for rb_w32_getcwd.
This will be needed so that Dir.pwd can support Unicode current directory on Windows.
I've attached a patch.
-
05:25 PM Feature #12648: `Enumerable#sort_by` with descending option
- Akinori MUSHA wrote:
> Maybe the shorter forms `:asc` / `:desc` like in SQL would sound more familiar.
Actually, I also had that in mind as one way to go. -
03:17 AM Feature #12648: `Enumerable#sort_by` with descending option
- Maybe the shorter forms `:asc` / `:desc` like in SQL would sound more familiar.
-
04:28 PM Bug #12652 (Closed): For Dir.home encode passed user
- Currently Dir.home(user) expects that passed user will be already in appropriate encoding but if it's not it will fail because comparing with different encodings.
This causes TestDir#test_home to fail.
~~~ruby
user = ENV['USER']
... -
12:31 PM Bug #12651 (Closed): SEGV in ripper: ripper/sexp.rb:33: [BUG] Segmentation fault at 0x00000000000014
- Applied in changeset r55810.
----------
parse.y: reg_fragment_enc_error
* parse.y (reg_fragment_enc_error): compile_error is different
between parser and ripper. [ruby-core:76397] [Bug #12651] -
06:34 AM Bug #12651: SEGV in ripper: ripper/sexp.rb:33: [BUG] Segmentation fault at 0x00000000000014
- I can reproduce this.
```
(lldb) run
Process 47463 launched: './ruby' (x86_64)
Process 47463 stopped
* thread #1: tid = 0xeafca, 0x000000010015ea3f ruby`str_buf_cat(str=8, ptr="-", len=1) + 31 at string.c:2600, queue = 'com.apple.... -
04:52 AM Bug #12651 (Closed): SEGV in ripper: ripper/sexp.rb:33: [BUG] Segmentation fault at 0x00000000000014
- I encountered SEGV in ripper.
OS: Ubuntu 16.04.01 LTS (xenial)
How to reproduce:
```
$ rbenv version
2.4.0-dev (set by RBENV_VERSION environment variable)
$ ruby -rripper -e 'Ripper.sexp(File.read("ripper_segv.html.erb"))'
/us... -
12:31 PM Revision 18cf70eb (git): parse.y: reg_fragment_enc_error
- * parse.y (reg_fragment_enc_error): compile_error is different
between parser and ripper. [ruby-core:76397] [Bug #12651]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:20 AM Revision 340805cf (git): NEWS: Kernel#clone [ci skip]
- * NEWS (Kernel#clone): mention freeze flag. [Feature #12300]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:15 AM Revision e821f974 (git): object.c: restrict freeze option
- * object.c (rb_obj_clone2): restrict freeze option to true other
than false which only has the effect. [Feature #12300]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:03 AM Revision 8610ea73 (git): object.c: suppress warning
- * object.c (rb_obj_clone2): remove set but not used variable to
suppress unused-but-set-variable warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:20 AM Feature #12637: Unified and consistent method naming for safe and dangerous methods
- Thomas Sawyer wrote:
> It would more interesting if there were a way to declare an object mutable or not, then when immutable destructive methods would not be available.
Do you mean #freeze ? -
03:55 AM Feature #12637: Unified and consistent method naming for safe and dangerous methods
- It would more interesting if there were a way to declare an object mutable or not, then when immutable destructive methods would not be available.
-
05:06 AM Feature #9704: Refinements as files instead of modules
- Thomas Sawyer wrote:
> Has any more thought been given to this? I had a recent request to have Ruby Facets to work as refinements, but I hesitate b/c it literally means creating a second copy of every extension method.
What do you th... -
04:54 AM Feature #9704: Refinements as files instead of modules
- Has any more thought been given to this? I had a recent request to have Ruby Facets to work as refinements, but I hesitate b/c it literally means creating a second copy of every extension method.
-
04:07 AM Feature #12374: SingletonClass
- So...
~~~
Object..singleton_class.instance_of?(SingletonClass) #=> true
~~~
-
02:30 AM Revision bcd35a6c (git): vm_insnhelper.c: extra semicolon
- * vm_insnhelper.c (CHECK): remove extra semicolon and fold too
long line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:50 AM Revision dba03c38 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:50 AM Revision 03cad835 (git): * vm_core.h: introduce VM_FRAME_RUBYFRAME_P()
- and VM_FRAME_CFRAME_P().
Most of case, RUBY_VM_NORMAL_ISEQ_P() is no
longer needed.
* vm_core.h: introduce rb_obj_is_iseq().
* cont.c, vm.c: VM_FRAME_MAGIC_DUMMY with
VM_FRAME_FLAG_CFRAME.
git-svn-id: svn+ssh://ci.ruby-lang.org... -
01:28 AM Feature #12635: Shuffling/Reassigning "namespaces" more easily
- We can call the private method with `class Object; remove_const :Konsole; end`
Your technique for moving Konsole into the Foobar namespace doesn't work if Konsole refers to itself. For example, I add code to Konsole that calls Konsol... -
12:28 AM Revision 0cd7f5fe (git): * vm_core.h: rename macros and make them inline functions.
- * rename VM_FRAME_TYPE_FINISH_P() to VM_FRAME_FINISHED_P().
* rename VM_FRAME_TYPE_BMETHOD_P() to VM_FRAME_BMETHOD_P().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:16 AM Revision 1cc78637 (git): * 2016-08-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:16 AM Revision e3120e1a (git): * vm_core.h: introduce VM_FRAME_FLAG_CFRAME to represent cfp->iseq
- type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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, sawadatsuyoshi@gmail.com 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, shyouhei@ruby-lang.org 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
- john@johnkeiser.com 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, will@johnstonclan.net 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...