Activity
From 08/01/2016 to 08/07/2016
08/07/2016
-
08:49 PM Feature #9999: Type Annotations (Static Type Checking)
- Might be worth looking at [RDL](https://github.com/plum-umd/rdl) for some inspiration.
-
05:18 PM Feature #12655: Accessing the method visibility
- Hi,
I'm the original author of looksee.
I agree that we don't need everything in the Looksee extension in ruby. Looksee was written back in 2009 when I think the situation was a little different, but now I believe Module#ancestors ... - 04:33 PM Revision 0c5fb7df (git): * 2016-08-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:33 PM Revision 2bfb8548 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:34 AM Revision f306bb0f (git): suppress warnings
- * basictest/runner.rb, bootstraptest/runner.rb: disable warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:34 AM Revision df0e70b9 (git): vcs.rb: suppress warnings
- * tool/vcs.rb (VCS#modified): get rid of set but unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:05 AM Revision 489456e9 (git): extmk.rb: suppress a warning
- * ext/extmk.rb: get rid of shadowing outer local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:04 AM Revision 78728b89 (git): extmk.rb: remove sysquote
- * ext/extmk.rb (sysquote): removed. unnecessary since r52161.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:08 AM Feature #12574 (Closed): Remove TRUE, FALSE, and NIL
- Applied in changeset r55824.
----------
deprecate TRUE,FALSE,NIL
* object.c (InitVM_Object): deprecate toplevel constants TRUE,
FALSE, and NIL. [Feature #12574] -
09:08 AM Revision 41d22044 (git): deprecate TRUE,FALSE,NIL
- * object.c (InitVM_Object): deprecate toplevel constants TRUE,
FALSE, and NIL. [Feature #12574]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
08/06/2016
-
10:08 PM Bug #12660: [PATCH] openssl: avoid undefined behavior on empty SSL_write
- k@rhe.jp wrote:
> Thanks! Looks fine to me. Please commit.
Thanks for quick review :> r55822 -
09:50 PM Bug #12660 (Closed): [PATCH] openssl: avoid undefined behavior on empty SSL_write - Applied in changeset r55822.
----------
openssl: avoid undefined behavior on empty SSL_write
SSL_write(3ssl) manpage has this in the WARNINGS section:
When calling SSL_write() with num=0 bytes to be sent the
behaviour is... -
11:38 AM Bug #12660: [PATCH] openssl: avoid undefined behavior on empty SSL_write
- Thanks! Looks fine to me. Please commit.
-
10:34 AM Bug #12660 (Closed): [PATCH] openssl: avoid undefined behavior on empty SSL_write
- SSL_write(3ssl) manpage has this in the WARNINGS section:
When calling SSL_write() with num=0 bytes to be sent the
behaviour is undefined.
And indeed, the new test case demonstrates failures when
empty strings are u... - 09:50 PM Revision f5f6859b (git): * 2016-08-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:50 PM Revision 7513d546 (git): openssl: avoid undefined behavior on empty SSL_write
- SSL_write(3ssl) manpage has this in the WARNINGS section:
When calling SSL_write() with num=0 bytes to be sent the
behaviour is undefined.
And indeed, the new test case demonstrates failures when
empty strings are used. ... -
02:23 PM Bug #12661 (Rejected): Multithreading http get doesn't work
- You can't make multiple requests on a Net::HTTP instance at the same time. You have to open an HTTP connection for each thread.
As for the segmentation fault, in trunk, r55100 should have fixed it ([Bug #12292]). -
02:00 PM Bug #12661: Multithreading http get doesn't work
- on stackoverflow:
http://stackoverflow.com/questions/38805052/download-files-asynchronously -
01:41 PM Bug #12661 (Rejected): Multithreading http get doesn't work
- Hi, I was making this script that was supposed to download all files from my favourite imageboard (2ch.hk)
Everything was normal until I tried to make downloading of these files asynchronous, i.e. in different threads, to improve speed
... -
01:01 AM Feature #12659 (Closed): Readline: expose rl_char_is_quoted_p setting
- I maintain an interactive Git shell [1] built in Ruby, which made extensive use of the `Readline` module. We found we outgrew the functionality provided by the module, so we built our own `Gitsh::LineEditor` module using Ruby's `Readline...
-
12:35 AM Revision a62dcd94 (git): id_table.h: dummy sentinel
- * id_table.h (rb_id_table_iterator_result): add dummy sentinel
member because C standard prohibits a trailing comma.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:26 AM Feature #12655 (Feedback): Accessing the method visibility
- Mathieu Jobin wrote:
> it uses the following macros to find the method visibility and if it has been redefined
> ...
I'd love to add the functions, but are they really needed?
> Ideally, a ruby method that would return its visibility, s...
08/05/2016
-
06:53 PM Bug #12658 (Closed): variable_name_checker
- (development) 15:45:10 ~/2016/cmdapi/collector $ rackup
[2016-08-05 15:45:12] INFO WEBrick 1.3.1
[2016-08-05 15:45:12] INFO ruby 2.3.0 (2015-12-25) [x86_64-darwin15]
[2016-08-05 15:45:12] INFO WEBrick::HTTPServer#start: pid=73891 p... -
04:41 PM Bug #12657 (Closed): [PATCH] ANSI aliasing fix for XL compiler
- This is related to Bug #12191.
Changing in internal.h:983-985
from :
```diff
-#define RBASIC_CLEAR_CLASS(obj) (((struct RBasicRaw *)((VALUE)(obj)))->klass = 0)
-#define RBASIC_SET_CLASS_RAW(obj, cls) (((struct RBasicRaw... - 03:39 PM Revision b46a8a54 (git): * 2016-08-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:39 PM Revision e70df3a7 (git): hash.c: env_name_new
- * hash.c (env_enc_str_new): make string for an environment
variable name or value.
* hash.c (env_name_new): make environment value string with the
encoding for its name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55819 b2dd03... -
03:25 PM Feature #12654: On Windows use UTF-8 as filesystem encoding
- Usaku NAKAMURA wrote:
> If filesystem encoding is fixed to UTF-8, it causes other (but similar) problems.
UTF-8 can be easily encoded to any other encoding but opposite isn't always true.
But yeah I agree with other points.
-
08:55 AM Feature #12654: On Windows use UTF-8 as filesystem encoding
- Premises:
1. We don't introduce such breakage of compatibility until Ruby 3.
2. At Ruby 3, on Windows, we're planning to use UTF-8 as the default locale.
3. Ruby 3 will *not* force users to use UTF-8. Users will be able to choose e... -
02:42 AM Feature #12654: On Windows use UTF-8 as filesystem encoding
- Nobuyoshi Nakada wrote:
> Dāvis Mosāns wrote:
> ...
I strongly disagree. WinAPI, PowerShell and cmd supports Unicode independently of used codepage, you can navigate to paths which can't be represented with active codepage. There's rea... -
01:04 AM Feature #12654: On Windows use UTF-8 as filesystem encoding
- Dāvis Mosāns wrote:
> That's not really needed. For example `File.read` works with any console's codepage. But `Dir.entries` and `Dir.pwd` works only for ANSI paths no matter what console's codepage is set to. There's quite inconsistenc... - 02:19 PM Revision 549605c1 (git): * hasn.c (env_str_new): taint the string. get rid of a test failure
- introduced at r55811.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:52 PM Feature #12648: `Enumerable#sort_by` with descending option
- Taking a step back, we are using arrays simply because that is a object that allows sorting via multiple criteria (if criteria a is equal, test with criteria b, etc).
It is also my understanding that sort_by creates arrays of [enum_it... -
01:01 PM Feature #12648: `Enumerable#sort_by` with descending option
- Nobuyoshi Nakada wrote:
> Greg L wrote:
> ...
I mentioned the fact that an array is often not returned by the block, hence, my suggestion for adding a new method.
Sorry, I should have shown a signature, below would be a possibility.... -
05:58 AM Feature #12648: `Enumerable#sort_by` with descending option
- Greg L wrote:
> Hence, a better solution might be adding a method like `sort_keys` or `sort_key`, where an array is returned by the block, and an array is used as the single parameter for ascending/descending info.
Could you make cl... -
03:42 AM Feature #12648: `Enumerable#sort_by` with descending option
- In concept, I agree, but, although it's common to return an array from the block, any object can be returned that supports <=>.
Hence, a better solution might be adding a method like `sort_keys` or `sort_key`, where an array is return... -
08:31 AM Revision 743c279d (git): win32.c: initialize with an impossible value
- * win32/win32.c (getifaddrs, rb_w32_getppid): initialize the API
pointers with an impossible value not to try everytime on old
platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:28 AM Revision 518af61b (git): win32.c: static API pointers
- * win32/win32.c (rb_w32_inet_ntop, rb_w32_inet_): make the
API pointers static not to get the address everytime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:22 AM Revision bd46ad21 (git): win32.c: call get_final_path pointer
- * win32/win32.c (get_final_path): initialize this pointer without
further comparisons.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:04 AM Revision ad9d8468 (git): * 2016-08-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:04 AM Revision cb0cde7f (git): hash.c: call w32_getenv pointer
- * hash.c (w32_getenv): call rb_w32_getenv and rb_w32_ugetenv via
this pointer without further comparisons.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:01 AM Bug #12587 (Rejected): ruby released tarball require ruby
-
01:32 AM Feature #12655: Accessing the method visibility
- I think it should be possible to implement locksee in pure-ruby. To me it seems OK to have a way to access visibility of a method.
It is not clear if locksee cannot be implemented without exposing IClass, though.
08/04/2016
-
08:06 PM Feature #12656 (Assigned): Expand short paths with File.expand_path
- Currently File.expand_path expands short path only if it's last part.
~~~ruby
puts File.expand_path('C:/VERYLO~1')
puts File.expand_path('C:/VERYLO~1/OTHERL~1')
~~~
Produces
~~~
C:/VeryLongName12345
C:/VERYLO~1/OtherLongNa... -
04:29 PM Feature #12654: On Windows use UTF-8 as filesystem encoding
- Nobuyoshi Nakada wrote:
> Try `chcp.com 65001`.
That's not really needed. For example `File.read` works with any console's codepage. But `Dir.entries` and `Dir.pwd` works only for ANSI paths no matter what console's codepage is set t... -
08:19 AM Feature #12654: On Windows use UTF-8 as filesystem encoding
- Try `chcp.com 65001`.
-
02:22 AM Feature #12654 (Closed): On Windows use UTF-8 as filesystem encoding
- Windows (NTFS) supports Unicode and there can be paths/filenames with other characters than current ANSI/OEM codepage can encode.
See attached patch.
-
02:01 PM Bug #12381: ext/openssl classes' dup/clone don't work well
- Thanks for reminding me.
I've just fixed the remaining at ruby/openssl (GitHub):
https://github.com/ruby/openssl/commit/6dc9b914cae52c8af6e1b4d1156613bcd914eaf5
Attached is the patch against 2.3 branch. -
07:58 AM Bug #12381: ext/openssl classes' dup/clone don't work well
- SSLContext#dup is not fixed yet?
```
$ RBENV_VERSION=2.4.0-dev ruby -v -ropenssl -e 'c = OpenSSL::SSL::SSLContext.new; c.ciphers = "aNULL"; p c.ciphers == c.dup.ciphers'
ruby 2.4.0dev (2016-08-03 trunk 55810) [x86_64-linux]
false
... -
11:26 AM Feature #12655 (Closed): Accessing the method visibility
- I took on the task to make the looksee gem work with ruby 2.3 and 2.4. Unfortunately, some features were not directly accessible in ruby, so a C extension was made, which includes some ruby internals.
For ruby 2.2 support, internal.h ... -
09:32 AM Feature #11337: Allow rescue without begin inside blocks
- On 2016/08/04 04:23, rr.rosas@gmail.com wrote:
> http://www.redmine.org/projects/redmine/wiki/RedmineIssues
> I'm not sure I completely understand this but it seems to be possible to close the duplicates without closing the origin... -
06:48 AM Feature #11337 (Closed): Allow rescue without begin inside blocks
- Hmm.. Thank you for the check. It is complicated than I thought. Closing this one anyway.
-
08:02 AM Bug #12636 (Rejected): string.gsub(/([a-z](?=[A-Z._ ]))/, "#{$1} ") returns wrong result (possible C-string leak?)
-
08:02 AM Bug #12634 (Rejected): Ruby converts '*' on command line to a file name
- Anyway, although on Windows, use `'*'` to prevent globbing.
-
07:55 AM Feature #12461 (Rejected): Hash & keys to make subset.
-
07:45 AM Bug #12569 (Rejected): There is no any warnings or errors with wrong comma after last attr_accessor attribute
-
07:44 AM Bug #12566 (Rejected): IO.copy_stream : tty/command-line events not being passed around
-
07:34 AM Bug #12526 (Rejected): Error trying to compile enc/euc_jp.c
-
07:32 AM Bug #8673 (Feedback): User rest-client PUT request core dumped
-
07:25 AM Bug #11739 (Rejected): OpenSSL::SSL::SSLServer doesn't negotiate ECDHE-* ciphersuites
-
07:14 AM Bug #12464 (Rejected): URI.regexp should not include comma at the end of string if followed by whitespace
-
06:50 AM Feature #12623 (Closed): rescue in blocks without begin/end
- Closing duplicated issue. Please continue discussing at Issue #7882.
-
06:07 AM Bug #12295 (Rejected): Ripper not emitting on_parse_error for global variable name syntax errors
-
05:56 AM Bug #12477 (Rejected): Regexp with x modifier does not ignore space in character class
- 02:54 AM Revision dd96e0c7 (git): * 2016-08-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:54 AM Revision 9e1b9b9c (git): hash.c: set encoding
- * hash.c (env_assoc): the encoding of the value should be the
locale, as well as other methods, [], fetch, values, etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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.