Activity
From 07/07/2017 to 07/13/2017
07/13/2017
-
11:55 PM Revision a39ad0f0 (git): Use tr! instead of gsub!
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:32 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- ko1@atdot.net wrote:
> sorry for long absent about this topic. it is hard task (hard
> to start writing up because of problem difficulties and my
> English skil ;p ) to summarize about this topic.
No problem, thank you for summari... -
08:37 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- sorry for long absent about this topic. it is hard task (hard to start writing up because of problem difficulties and my English skil ;p ) to summarize about this topic.
I try to write step by step.
----
# Discussion at last dev... -
09:16 PM Bug #13744 (Closed): Spawn doesn't work with options of symbol keys generated dynamically
- reclosing to trigger backport request
-
09:15 PM Bug #13744 (Open): Spawn doesn't work with options of symbol keys generated dynamically
- fixed in r59322, will need backports
-
08:47 PM Bug #13744 (Closed): Spawn doesn't work with options of symbol keys generated dynamically - Applied in changeset trunk|r59322.
----------
process.c: handle dynamic :rlimit_* symbols in spawn execopts
* process.c (rb_execarg_addopt_rlimit): hoist out of rb_execarg_addopt
(rlimit_type_by_sym): new wrapper for dynamic symbol
... -
08:02 PM Bug #13744: Spawn doesn't work with options of symbol keys generated dynamically
- satoryu.1981@gmail.com wrote:
> But spawn fails when generating symbol from a String:
>
> ~~~
> $ ruby -e 'spawn("ls", "rlimit_cpu".to_sym => 100)'
> -e:1:in `spawn': wrong exec option symbol: rlimit_cpu (ArgumentError)
> ... -
01:14 PM Bug #13744: Spawn doesn't work with options of symbol keys generated dynamically
hm on my windows machine:
~~~
ruby -e 'spawn("ls", :rlimit_cpu => 100)'
~~~
causes a syntax error
PS:
i did install ruby in my mingw (ruby 2.3.3p222), there i get similar problem like yours:
~~~
$ ruby -e 'spawn("ls", :...-
12:31 PM Bug #13744: Spawn doesn't work with options of symbol keys generated dynamically
- Very interesting behaviour. I would have assumed for both to behave the same in the above case.
-
11:44 AM Bug #13744 (Closed): Spawn doesn't work with options of symbol keys generated dynamically
- spawn works when giving options whose key is symbol literal:
~~~
$ ruby -e 'spawn("ls", :rlimit_cpu => 100)'
~~~
But spawn fails when generating symbol from a String:
~~~
$ ruby -e 'spawn("ls", "rlimit_cpu".to_sym => 100)'
... -
09:08 PM Feature #13743: Support linking of files opened with O_TMPFILE
- glass.saga@gmail.com wrote:
> Feature #13743: Support linking of files opened with O_TMPFILE
> https://bugs.ruby-lang.org/issues/13743
I like this feature.
> patch.diff (2.44 KB)
> ```diff
> + if (!NIL_P(tmp) && f... -
11:33 AM Feature #13743: Support linking of files opened with O_TMPFILE
- Extension of `File.link`, but not `File#link`?
-
11:18 AM Feature #13743 (Rejected): Support linking of files opened with O_TMPFILE
- This patch enables linking of files opened with O_TMPFILE into file system.
Users can make a temporary file persistent as named file.
```ruby
File.open(".", IO::WRONLY|IO::TMPFILE) do |f|
f.write("content")
f.chmod(0600)
Fi... - 08:47 PM Revision 24e4a877 (git): * 2017-07-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:47 PM Revision 5c4db58b (git): process.c: handle dynamic :rlimit_* symbols in spawn execopts
- * process.c (rb_execarg_addopt_rlimit): hoist out of rb_execarg_addopt
(rlimit_type_by_sym): new wrapper for dynamic symbol
(rb_execarg_addopt): check for dsym via rlimit_type_by_sym
* test/ruby/test_process.rb (test_execopts_rlimit)... -
11:01 AM Feature #13696: Add exchange and noreplace options to File.rename
- I think atomicity is important. If the kernel doesn't support atomic exchange, File.exchange should raise NotImplementedError and users can handle it properly.
```ruby
begin
File.exchange("hoge", "fuga")
rescue NotImplementedErro... -
10:20 AM Bug #13742 (Closed): SIGSEGV in parser_yyerror()
- After some fuzz testing I found a crashing test case.
To reproduce: miniruby ruby_sigsegv_parser_yyerror
Valgrind Context:
```
==20061== Memcheck, a memory error detector
==20061== Copyright (C) 2002-2017, and GNU GPL'd, by Ju... -
09:46 AM Revision 24873d1a (git): Use Test::Unit::TestCase instead of MiniTest::Unit::TestCase. Because
- tests of fiddle already used customized assertions of ruby core.
* test/fiddle/helper.rb: Use Test::Unit::TestCase for base class of
testcase.
* test/fiddle/test_*.rb: Use assert_raise instead of assert_raises.
Remove needle... -
08:11 AM Feature #13715: [PATCH] avoid garbage from Symbol#to_s in interpolation
- ko1@atdot.net wrote:
> > VALUE rb_vm_call0_body(rb_thread_t *th, struct rb_calling_info *calling,
>
> You don't need to expose `vm_call0_body()` because ` vm_eval.c` and ` vm_insnhelper.c` are included in `vm.c`.
Ah, thanks. I j... -
02:48 AM Feature #13715: [PATCH] avoid garbage from Symbol#to_s in interpolation
- > VALUE rb_vm_call0_body(rb_thread_t *th, struct rb_calling_info *calling,
You don't need to expose `vm_call0_body()` because ` vm_eval.c` and ` vm_insnhelper.c` are included in `vm.c`.
```
if (RB_TYPE_P(recv, T_SYMBOL)) {
v... -
07:41 AM Feature #13434: better method definition in C API
- ko1@atdot.net wrote:
> I wrote the following sentences in hastily so sorry if it has
> English grammar problems.
<snip> no problem.
> normalperson (Eric Wong) wrote:
> > Yes, that would be great. However, we will take ... -
04:29 AM Feature #13434: better method definition in C API
- I wrote the following sentences in hastily so sorry if it has English grammar problems.
normalperson (Eric Wong) wrote:
> Sorry, I wasn't sure what you wanted the last time this came up.
> ...
Yes. and I understand.
> Yes, that... -
07:00 AM Revision 52e8254b (git): parse.y: flush debug output
- * parse.y (parser_compile_error): flush debug output before
compile error message, to keep the order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:32 AM Bug #13737: "can't modify frozen String" when installing bundled gems
- ko1@atdot.net wrote:
> Thank you for survey.
No problem :)
> normalperson (Eric Wong) wrote:
> > > I think we don't need to prepare frozen string table for tainted string because most of people don't use tainted strings. We nee... -
05:46 AM Bug #13737: "can't modify frozen String" when installing bundled gems
- Thank you for survey.
normalperson (Eric Wong) wrote:
> > I think we don't need to prepare frozen string table for tainted string because most of people don't use tainted strings. We need to measure the counts of that before commit ... -
03:41 AM Bug #13737: "can't modify frozen String" when installing bundled gems
- ko1@atdot.net wrote:
> Sorry for late response
> (because of my health problem and so on...)
No problem, I hope you feel better, soon. Thank you for any
response you give :)
> I think we don't need to prepare frozen string tab... -
02:01 AM Bug #13737: "can't modify frozen String" when installing bundled gems
- Sorry for late response
(because of my health problem and so on...)
I think we don't need to prepare frozen string table for tainted string because most of people don't use tainted strings. We need to measure the counts of that befor... -
04:21 AM Feature #13740: [PATCH] doc/extension.rdoc: start entries for threading and IO
- ko1@atdot.net wrote:
> > void *rb_thread_call_without_gvl(void *(*func)(void *), void *data1, rb_unblock_function_t *ubf, void *data2) ::
>
> You need to mention that `func` is not allowed to call any
> `rb_` functions (there are ... -
02:31 AM Feature #13740: [PATCH] doc/extension.rdoc: start entries for threading and IO
- > void *rb_thread_call_without_gvl(void *(*func)(void *), void *data1, rb_unblock_function_t *ubf, void *data2) ::
You need to mention that `func` is not allowed to call any `rb_` functions (there are exceptions but it should be used ... -
01:11 AM Feature #13740: [PATCH] doc/extension.rdoc: start entries for threading and IO
- shevegen@gmail.com wrote:
> Looks ok to me - at the least I could not spot grammatical
> errors or typo glancing through it 1-2 times. I have of course
> no idea about threads themselves really so perhaps someone
> should also look ... -
12:11 AM Feature #13740: [PATCH] doc/extension.rdoc: start entries for threading and IO
- Looks ok to me - at the least I could not spot grammatical errors or typos glancing through it 1-2 times. I have of course no idea about threads themselves really so perhaps someone should also look through who actually knows that stuff ...
-
03:28 AM Feature #9323: IO#writev
- > It would be great if #write could take an array, and if possible, call writev.
That's would be nice.
```
File.open("test", "w") do |f|
f.write("foo", "bar", "baz") # use writev(2) if possible
end
``` -
03:17 AM Bug #13741 (Closed): A documentation bug of IO#putc
- The documentation of IO#putc says:
```
* call-seq:
* ios.putc(obj) -> obj
*
* If <i>obj</i> is
07/12/2017
-
10:41 PM Bug #13737: "can't modify frozen String" when installing bundled gems
- Eric Wong <normalperson@yhbt.net> wrote:
> nobu@ruby-lang.org wrote:
> > Or should `fstring_cmp` consider also tainted flags?
>
> I considered doing that, but it may not be optimal since I want
> to share heap allocations with the... -
07:08 AM Bug #13737: "can't modify frozen String" when installing bundled gems
- nobu@ruby-lang.org wrote:
> Or should `fstring_cmp` consider also tainted flags?
I considered doing that, but it may not be optimal since I want
to share heap allocations with the non-tainted version via
rb_str_dup. -
05:59 AM Bug #13737: "can't modify frozen String" when installing bundled gems
- Or should `fstring_cmp` consider also tainted flags?
-
01:11 AM Bug #13737: "can't modify frozen String" when installing bundled gems
- Eric Wong <normalperson@yhbt.net> wrote:
> ko1@atdot.net wrote:
> ...
Maybe the following works (barely tested, but I have to go...)
```diff
---
hash.c | 23 +----------
internal.h | ... -
09:53 PM Feature #13740 (Closed): [PATCH] doc/extension.rdoc: start entries for threading and IO
- Some of it derived from existing documentation in thread.c,
and some of it original. It seems extension.rdoc is getting
large, so maybe it is better broken up into separate manpages
(section "3ruby", maybe?)
Anybody care to revi... - 06:31 PM Revision d15cc7a6 (git): doc/extension.rdoc: update wikipedia link to HTTPS
- Avoid the latency for HTTP -> HTTPS redirect
* doc/extension.rdoc: update wikipedia link to HTTPS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:02 PM Revision 98f0a528 (git): * 2017-07-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:02 PM Revision b25b9d45 (git): Fix indent [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:06 PM Bug #13739: Backport r59312
- ruby_2_4 r59316 merged revision(s) 59312.
-
12:35 PM Bug #13739 (Closed): Backport r59312
- バックポート管理用チケットです。
-
02:06 PM Revision f1306d42 (git): merge revision(s) 59312: [Backport #13739]
- optparse.rb: get rid of eval
* lib/optparse.rb: try Float() and Integer() instead of eval,
which does too much things.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@59316 b2dd03c8-39d4-4d8f-98ff-823fe6... -
01:38 PM Bug #13727: Not able to set program_name for new Syslog::Logger
- Thank you!
Sorry, I haven't noticed this documentation. -
10:29 AM Bug #13738: Active Scaffold image upload using CarrierWave gem
- karanamsandhya (Karanam Sandhya) wrote:
> getting Encoding::UndefinedConversionError ("\xFF" from ASCII-8BIT to UTF-8): this error while uploding the image.
There's definitely no error in Ruby itself, in the encoding "ASCII-8BIT", on... -
10:00 AM Bug #13738 (Third Party's Issue): Active Scaffold image upload using CarrierWave gem
- Did you see https://github.com/carrierwaveuploader/carrierwave/issues/1404?
As far as I can see from your description, it's unlikely to be a bug in Ruby-side. Please confirm the issue and then could you report it to carrierwave or Rails? -
07:45 AM Bug #13738 (Third Party's Issue): Active Scaffold image upload using CarrierWave gem
- getting Encoding::UndefinedConversionError ("\xFF" from ASCII-8BIT to UTF-8): this error while uploding the image. and image params are like this:
"photo"=>#<ActionDispatch::Http::UploadedFile:0x007fbcc2925c80 @tempfile=#<Tempfile:/tm... -
09:44 AM Revision b226a8b0 (git): disable r59314 on mswin
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:30 AM Revision 5bdb4e05 (git): gc.c: restrict RGENGC_DEBUG
- * gc.c (RGENGC_DEBUG_ENABLED): restrict runtime ruby_rgengc_debug
level up to -RGENGC_DEBUG, to reduce runtime branches in inner
loops.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:49 AM Revision 5235446a (git): * 2017-07-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:49 AM Revision 89bf90a3 (git): optparse.rb: get rid of eval
- * lib/optparse.rb: try Float() and Integer() instead of eval,
which does too much things.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/11/2017
-
08:22 PM Bug #13737: "can't modify frozen String" when installing bundled gems
- ko1@atdot.net wrote:
> Not sure why but r59310 will fix it (at least on my
> environment). To complete it i think we need to dig into
> rubygems deeply....
It seems Psych is correct to be tainting keys with YAML.load.
Perhaps the... -
08:51 AM Bug #13737: "can't modify frozen String" when installing bundled gems
- ko1 (Koichi Sasada) wrote:
> Not sure why but r59310 will fix it (at least on my environment). To complete it i think we need to dig into rubygems deeply....
I got virtually the same error message on cygwin (with context just in case... -
07:51 AM Bug #13737: "can't modify frozen String" when installing bundled gems
- ko1@atdot.net wrote:
> Not sure why but r59310 will fix it (at least on my
> ...
Thank you. I think there may also be an old bug at early
initializtion when rb_cString == 0 causing unfrozen string keys
form hash_aset instead of hash... -
07:45 AM Bug #13737: "can't modify frozen String" when installing bundled gems
- Not sure why but r59310 will fix it (at least on my environment). To complete it i think we need to dig into rubygems deeply....
-
06:55 AM Bug #13737 (Closed): "can't modify frozen String" when installing bundled gems
- After committed r59304, mswin CI often (but not always) reports errors when installing bundled gems.
For example, http://mswinci.japaneast.cloudapp.azure.com/vc12-x64/ruby-trunk/log/20170710T020413Z.fail.html.gz
I've not investigated... -
02:43 PM Feature #13726: PATCH: Windows builds - fractional second file times
- While running tests today on `ruby 2.5.0dev (2017-07-11 trunk 59311) [x64-mingw32]`, I had an error in [spec/rubyspec/core/file/utime_spec](https://github.com/ruby/ruby/blob/561c253512eb83dba822d50ccc95a90187ab945e/spec/rubyspec/core/fil...
- 07:42 AM Revision 561c2535 (git): * 2017-07-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:42 AM Revision 5168fb54 (git): tainted string should be tainted.
- * hash.c (hash_aset_str): create frozen string for tainted objects.
(should not use fsting table on this case).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:11 AM Bug #5497: Math.log10(10_000) error on HP-UX/PA
- Please try more precision.
The default precision doesn't seem enough.
```c
#include <math.h>
#include <stdio.h>
int main(void) {
printf("%.19f\n", log10(10000));
return 0;
}
``` -
03:34 AM Feature #12733: Bundle bundler to ruby core
- I added `test-bundler` task to my experimental branch.
https://github.com/ruby/ruby/pull/1536/commits/5aa6d9a4340f8e6a54c9411e56c835c7f026abe3
It install rspec under the $(srcdir)/.bundle directory and use it by bundler test.
Bu...
07/10/2017
-
05:02 PM Bug #13730: Parallel ext configuration has broken `make install` for static-linked-ext builds
- Can confirm this fixes it for me - thanks!
-
11:42 AM Revision d2dd18ed (git): compile.c: simplify defined_expr0
- * compile.c (defined_expr0): exapnd defined_expr macro.
* compile.c (defined_expr0): reduce duplicate code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:41 AM Bug #13736: ruby -00 should be the same as setting $/=""
- ```diff
diff --git i/ruby.c w/ruby.c
index b2b2c690ff..4497331d48 100644
--- i/ruby.c
+++ w/ruby.c
@@ -1162,7 +1162,7 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt)
if (v > 0377)
rb_rs =... -
06:29 AM Bug #13736 (Assigned): ruby -00 should be the same as setting $/=""
- I agree that it's a bug because ruby.1 states `-00 turns Ruby into paragraph mode.`
I'm uncertain the reason though, this behavior has been there since 0.95 at least, but 0.49 behaved same as perl.
-
05:08 AM Bug #13736: ruby -00 should be the same as setting $/=""
- Please see Stackoverflow https://stackoverflow.com/q/44999907/298607 for a better / more complete description.
-
05:06 AM Bug #13736 (Closed): ruby -00 should be the same as setting $/=""
- Suppose you have blocks of text separated by 2 or more \n. A typical text file with records defined by a black line.
Given:
```
$ cat lines
f1, r1
f2, r1 then 2 \n:
f1, r2 then 3 \n:
f1,r3
f2,r3 then 4 \n:
f1, r... -
07:37 AM Revision 5ed1d88e (git): test_rubyoptions.rb: assert -00
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:57 AM Bug #13284 (Closed): IA64 ruby 2.4 miniruby segfault
- Applied in changeset trunk|r59307.
----------
a64: fix crash on register stack mark/sweep pass
* thread_pthread.c: move 'register_stack_start' earlier.
[ruby-core:79928] [Bug #13284] [Fix GH-1625]
Author: Sergei Trofimovich <slyf... -
06:57 AM Revision 7aa74a0d (git): a64: fix crash on register stack mark/sweep pass
- * thread_pthread.c: move 'register_stack_start' earlier.
[ruby-core:79928] [Bug #13284] [Fix GH-1625]
Author: Sergei Trofimovich <slyfox@gentoo.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59307 b2dd03c8-39d4-4d8f-98ff-... -
02:24 AM Feature #13712: String#start_with? with regexp
- Shyouhei Urabe) wrote:
> +1 for start_with? but I have no practical usage of end_with? so a bit negative about
> ...
I do not know if the use case frequency is the same. Perhaps you are right that anchoring
or .start_with? is more f... -
01:18 AM Bug #13735 (Closed): Initialization-error of sortedset
- When we use multithreading environment, sortedset-initialization always fails.
Reproducible programs and the logs are below.
~~~ ruby
$ cat sortedset-test.rb
require "set"
def func1
set = SortedSet.new([2, 1, 5, 6, 4, 5, ... -
12:41 AM Revision f1fe99b1 (git): hash.c: prefer value cast to pointer cast
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
07/09/2017
-
11:04 PM Feature #13725 (Closed): [PATCH] Hash#[]= deduplicates string keys if (and only if) fstring exists - Applied in changeset trunk|r59304.
----------
Hash#[]= deduplicates string keys if (and only if) fstring exists
In typical applications, hash entries are read after being
written to. Blindly writing to hashes which are never read
make... - 11:04 PM Revision 9d1d30c9 (git): * 2017-07-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:04 PM Revision e205304a (git): Hash#[]= deduplicates string keys if (and only if) fstring exists
- In typical applications, hash entries are read after being
written to. Blindly writing to hashes which are never read
makes little sense. So, for any hash which is read from, an
fstring entry for the key should already exist for the key... -
08:46 PM Bug #11384: multi-threaded autoload sometimes fails
- ruby_2_4 r59303 merged revision(s) 58696.
-
08:46 PM Revision 5e645629 (git): merge revision(s) 58696: [Backport #11384]
- autoload: always wait on loading thread
We cannot assume autoload_provided/rb_feature_provided returning
TRUE means it is safe to proceed without waiting. Another
thread may call rb_provide_feature before settin... -
08:24 PM Bug #12670: Segmentation fault on `Magick::Image#get_pixels` on ruby since ruby-2.2
- ruby_2_4 r59302 merged revision(s) 56558,59116,59136.
-
08:24 PM Revision e15f61a0 (git): merge revision(s) 56558,59116,59136: [Backport #12670]
- * gc.c (heap_page_resurrect): do not return tomb_pages when
page->freelist == NULL.
[Bug #12670]
test for [Bug #12670]
heap corruption by deferred free.
gc.c: expand sorted pages
* g... -
08:06 PM Bug #5339: ERB generates extra newlines on Windows
- ruby_2_4 r59301 merged revision(s) 58825,58826.
-
08:06 PM Revision 420151cf (git): merge revision(s) 58825,58826: [Backport #5339]
- erb.rb: Allow explicit trimming carriage return
when trim_mode is "-", for Windows environments.
[ruby-core:39625] [Bug #5339]
erb.rb: Allow trimming CR in all trim_modes
to unify a behavior with r58823... -
08:04 PM Bug #11464: ERB trimming doesn't trim carriage returns
- ruby_2_4 r59300 merged revision(s) 58823.
-
08:04 PM Revision 05215d0d (git): merge revision(s) 58823: [Backport #11464]
- erb.rb: Allow trimming carriage return
when trim_mode is "<>", for Windows environments.
[Bug #11464]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@59300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:02 PM Bug #8916: rb_sprintf への精度指定が正しく機能していない
- ruby_2_4 r59299 merged revision(s) 58210.
-
08:02 PM Revision f5b84007 (git): merge revision(s) 58210: [Backport #8916]
- vsnprintf.c: prefix with precision
* vsnprintf.c (BSD_vfprintf): sign and hex-prefix should not be
counted in precision. [ruby-dev:47714] [Bug #8916]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@5929... -
07:51 PM Bug #13545: Ruby built by clang 4.0.0 parses Float literal wrongly
- ruby_2_4 r59298 merged revision(s) 58796.
-
07:51 PM Revision c54593ed (git): merge revision(s) 58796: [Backport #13545]
- Merge latest dtoa.c [Bug #13545]
Apply some part of http://www.netlib.org/fp/dtoa.c with my eyes...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@59298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:49 PM Bug #13432: set_trace_funcにproc->is_from_method = TRUEのオブジェクトを渡し、SystemStackErrorを発生させるとRubyVMが停止する
- ruby_2_4 r59297 merged revision(s) 58334,58346,58349.
-
07:49 PM Bug #13425: Tracer.onにした状態でSystemStackErrorを発生させるとSegmentation fault
- ruby_2_4 r59297 merged revision(s) 58334,58346,58349.
-
07:49 PM Revision 5528c18d (git): merge revision(s) 58334,58346,58349: [Backport #13425] [Backport #13432]
- thread.c: disable VM events when stack overflow
* thread.c (ruby_thread_stack_overflow): disable VM events when
stack overflow occurred; it causes another stack overflow again
in making backtrace object, and ... -
07:47 PM Bug #13369: TracePoint gives incorrect `return_value` after rescuing error when using `return`
- ruby_2_4 r59296 merged revision(s) 58262,5826.
-
07:47 PM Revision 79787c18 (git): merge revision(s) 58262,5826: [Backport #13369]
- fix TracePoint#return_value with non-local exits
* vm.c: get return_value from imemo_throw_data object (THROW_DATA_VAL()).
imemo_throw_data (TAG_BREAK) contains returned value.
However, imemo_throw_data (TAG_... -
07:36 PM Bug #13638: please backport r59030
- ruby_2_4 r59295 merged revision(s) 59030,59031.
-
07:36 PM Revision 11fdbadd (git): merge revision(s) 59030,59031: [Backport #13638]
- thread.c: avoid busy looping on rb_thread_fd_close
We no longer use it this function, but extensions do, and
we need to ensure it continues to work for them.
* thread.c (rb_thread_fd_close): schedule other threa... -
07:28 PM Bug #13573: Compilation on Mac OS X 10.5.8 fails because of missing _fgetattrlist
- ruby_2_4 r59294 merged revision(s) 57248.
-
07:27 PM Revision d679034a (git): merge revision(s) 57248: [Backport #13573]
- dir.c: getattrlist on OSX 10.5
* dir.c (is_case_sensitive): use getattrlist() if fgetattrlist()
is unavailable, on OSX 10.5. [ruby-core:68829] [Bug #11054]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_... -
07:02 PM Bug #13554: Running system with different gid fails on Linux if host has group with lots of members
- ruby_2_4 r59293 merged revision(s) 58658.
-
07:02 PM Revision 4c33806f (git): merge revision(s) 58658: [Backport #13554]
- process.c: temporary string for buffer
* process.c (obj2uid, obj2gid): use temporary string as the buffer
instead of `rb_alloc_tmp_buffer`, which is `NODE_ALLOCA` since
r51492. [ruby-core:81084] [Bug #13554]... -
02:00 PM Feature #12733: Bundle bundler to ruby core
- The upstream version of minitest 4.7.5 supported spec syntax. It does not probably support all the RSpec features, but might be worth of considering ...
-
05:14 AM Feature #13625: BigDecimal short form / shorthand
- Let me mark this begin a feature request.
-
04:49 AM Bug #13709 (Closed): Problem compiling https://cache.ruby-lang.org/pub/ruby/snapshot.tar.gz - symlinks point to non-existing .gem files during "make install" step
- Applied in changeset trunk|r59292.
----------
downloader.rb: get rid of symlinks in dist files
* tool/downloader.rb: download to the target file directly if
CACHE_SAVE=no, to get rid of symlinks in dist files.
[ruby-core:81887] [Bu... -
04:49 AM Revision b3917087 (git): downloader.rb: get rid of symlinks in dist files
- * tool/downloader.rb: download to the target file directly if
CACHE_SAVE=no, to get rid of symlinks in dist files.
[ruby-core:81887] [Bug #13709]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59292 b2dd03c8-39d4-4d8f-98ff-823fe6... -
04:20 AM Revision 90d65afc (git): make-snapshot: generate ChangeLog iff not exist
- * tool/make-snapshot (package): ChangeLog had existed in pre-2.4
revisions, but not doc/ChangeLog-YYYY. fix for 2..3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:17 AM Bug #13734 (Closed): Broken snapshot script for Ruby 2.4
- Applied in changeset trunk|r59289.
----------
make-snapshot: touch-unicode-files for 2.4
* tool/make-snapshot (package): fallback touch-unicode-files for
2.4, which has been introduced to reduce downloads on CI.
[ruby-core:81972] [... -
02:27 AM Bug #13734 (Closed): Broken snapshot script for Ruby 2.4
- `tool/make-snapshot` in trunk is broken now.
I got following error at some days ago.
```
generating known_errors.inc
known_errors.inc updated
generating vm_call_iseq_optimized.inc
file2lastrev.rb: does not seem to be under a vc... - 04:17 AM Revision ac9219e0 (git): * 2017-07-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:17 AM Revision d0677cdb (git): make-snapshot: touch-unicode-files for 2.4
- * tool/make-snapshot (package): fallback touch-unicode-files for
2.4, which has been introduced to reduce downloads on CI.
[ruby-core:81972] [Bug #13734]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59289 b2dd03c8-39d4-4d8f-98f... -
01:48 AM Bug #13723: Change to use RubyVM for syntax check in test suite breaks suite for non-MRI
- I missed the name, `syntax_check` instead of `check_syntax` :(
07/08/2017
-
12:32 PM Bug #13730 (Closed): Parallel ext configuration has broken `make install` for static-linked-ext builds
- Applied in changeset trunk|r59288.
----------
* template/exts.mk.tmpl: extract SUBMAKEOPTS from sub exts.mk files too. [Bug #13730] -
12:31 PM Revision 2abf6a34 (git): * template/exts.mk.tmpl: extract SUBMAKEOPTS from sub exts.mk files too. [Bug #13730]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:39 AM Feature #13733 (Open): Dump the delegator instead of the delegated object
- I would like to let Delegator dump itself instead of the delegated object.
Let's consider the following scenario.
~~~
require "delegate"
class Foo < Delegator
def initialize(the_obj)
@the_obj = the_obj
end
def _... -
08:20 AM Feature #13732 (Closed): Precise Time.now on Windows
- Windows 上での Time.now の精度を調べてみたところ、システムの
タイマー精度(1ミリ秒以上15.6ミリ秒以下。通常は15.6ミリ秒)と同じに
なっていました。
試験内容と結果は以下のURLを参照
https://github.com/MSP-Greg/ruby_on_windows/issues/1#issuecomment-313660247
Time.now は内部では GetSystemTimeAsFileTime を使って現在時... -
06:15 AM Feature #13731 (Closed): inode for Windows on ReFS
- #11216 でWindowsでのinodeの代用としてBY_HANDLE_FILE_INFORMATION構造体の
メンバ、nFileIndexHigh/Lowを使っていますが、ReFS ではこの値ではユニークに
なりません。ReFSでは64ビットではなくて、128ビットでユニークな番号になります。
In https://msdn.microsoft.com/en-us/library/windows/desktop/aa363788(v=vs.85).as... -
05:47 AM Feature #13726: PATCH: Windows builds - fractional second file times
- 01-time-subsec.patch changes declarations in include/ruby/win32.h.
IMO, it could be in ruby 2.5.x but could not be backported to ruby 2.4.x because of ABI incompatibility.
It also deletes meaningless TZ checking I pointed at #13702.
-
04:51 AM Bug #13723: Change to use RubyVM for syntax check in test suite breaks suite for non-MRI
- Thank you nobu!
-
02:22 AM Bug #13723 (Closed): Change to use RubyVM for syntax check in test suite breaks suite for non-MRI
- Applied in changeset trunk|r59287.
----------
assertions.rb: syntax_check for other impl
* test/lib/test/unit/assertions.rb (syntax_check): use eval
instead of RubyVM::InstructionSequence.compile so that other
implementations can s... -
03:28 AM Bug #11779: Module#using does not make sense as a method
- nobu (Nobuyoshi Nakada) wrote:
> Seems that your "dynamic" and "lexical" words differ from ours.
I was using "dynamic" to mean that its dynamically "bound" (applies) to the default definee at the point of invocation, not the lexicall... -
02:10 AM Bug #11779: Module#using does not make sense as a method
- Seems that your "dynamic" and "lexical" words differ from ours.
-
02:22 AM Revision 1d6c1d20 (git): assertions.rb: syntax_check for other impl
- * test/lib/test/unit/assertions.rb (syntax_check): use eval
instead of RubyVM::InstructionSequence.compile so that other
implementations can share the tests.
[ruby-core:81935] [Bug #13723]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
02:21 AM Bug #13632: Not processable interrupt queue for a thread after it's notified that FD is closed in some other thread.
- ruby_2_4 r59286 merged revision(s) 58284,58812,59028.
-
02:21 AM Revision 27251312 (git): merge revision(s) 58284,58812,59028: [Backport #13632]
- vm_core.h: ruby_error_stream_closed
* vm_core.h (ruby_special_exceptions): renamed
ruby_error_closed_stream as ruby_error_stream_closed, like the
message.
speed up IO#close with many threads
... -
02:05 AM Revision 41bdfc53 (git): .travis.yml: update dist to trusty
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:20 AM Bug #13720: appveyor.yml nmake arguments - not *nix style
- `-l` is undocumented, just `nmake` sets `MAKEFLAGS=l` when `/nologo` option is given.
07/07/2017
-
09:58 PM Bug #13730 (Closed): Parallel ext configuration has broken `make install` for static-linked-ext builds
- r57401 introduced parallel ext configuration, which has broken `make install` when configuring Ruby using the `--with-static-linked-ext` option. Specifically, it looks like miniruby fails to require the `stringio` extension at install-ti...
-
07:19 PM Bug #13723: Change to use RubyVM for syntax check in test suite breaks suite for non-MRI
- nobu (Nobuyoshi Nakada) wrote:
> In some cases, `RubyVM::InstructionSequence.compile` and `eval` fail in different manor.
Ok, but I still need a way to run the tests. The original code used `eval`...is there a reason it needed to cha... -
12:08 PM Bug #13723: Change to use RubyVM for syntax check in test suite breaks suite for non-MRI
- In some cases, `RubyVM::InstructionSequence.compile` and `eval` fail in different manor.
```ruby
RubyVM::InstructionSequence.compile("break") #=> Invalid break
eval("break") #=> Can't escape from eval with break
``` - 05:59 PM Revision 129a0711 (git): NEWS: note [Feature #13517] is Linux-only (no side-effects on _*nonblock)
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:41 PM Revision 61a8b4c1 (git): NEWS: entry for WEBRick SNI support [Feature #13729]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:09 PM Feature #13729 (Closed): PATCH: Add Server Name Indication (SNI) support to WEBrick - Applied in changeset trunk|r59281.
----------
webrick: add Server Name Indication (SNI)
* lib/webrick/https.rb: servername_cb implementation.
* lib/webrick/ssl.rb: abstract servername_cb.
* test/webrick/test_https.rb: test.
[ruby-dev... -
09:49 AM Feature #13729 (Closed): PATCH: Add Server Name Indication (SNI) support to WEBrick
- WEBrick に Server Name Indication (SNI) サポートを追加するパッチです。
よくWEBrickで簡易サーバを立てているのですが、SNIでバーチャルホストを立てたかった(けどできなかった)のでパッチを書きました。
`WEBrick::HTTPServer` が元々持っているバーチャルホストの仕組みに乗っかっています。
一応テストも入っています。
Google Chrome + Let's Encryptの証明書(SANでは... - 05:09 PM Revision c82bed63 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 05:09 PM Revision 08bdbef5 (git): webrick: add Server Name Indication (SNI)
- * lib/webrick/https.rb: servername_cb implementation.
* lib/webrick/ssl.rb: abstract servername_cb.
* test/webrick/test_https.rb: test.
[ruby-dev:50165] [Feature #13729]
Author: Tietew <tietew@gmail.com>
git-svn-id: svn+ssh://ci.rub... -
05:07 PM Bug #11779: Module#using does not make sense as a method
- matz (Yukihiro Matsumoto) wrote:
> Providing a feature by a method does not imply dynamic scoping, for example, Module#private etc. work in lexical scope.
I didn't think about Module#private too deeply at the time, but recently was p... - 04:53 PM Revision 4d3d6f68 (git): * 2017-07-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:53 PM Revision aff529a5 (git): webrick: become maintainer
- <CAK6HhsrshX7s3qai4usbXknTQnA4GoRThJcQ_Ea=WgTG2Gu0QA@mail.gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:35 PM Feature #13726: PATCH: Windows builds - fractional second file times
- I was mistaken about Time.now resolution in windows.
What I believe does occur is that when windows natively writes file times, it seems to write them with 100 µs resolution, and truncated.
But, Ruby can write with higher resolutio... -
02:27 AM Feature #13726 (Closed): PATCH: Windows builds - fractional second file times
- At present, I believe Windows builds have integer seconds resolution on File times.
Attached are three patches that seem to correct the issue. The numbered patches are best applied in order.
The c source patches were created by kub... -
02:28 PM Bug #13720: appveyor.yml nmake arguments - not *nix style
- nobu (Nobuyoshi Nakada) wrote:
> What version is your nmake, and what was the exact error message?
> ...
I think I've tried VS2015 and VS2017, settled on VS2015. I don't recall the message. I was mistaken in my assumption about `-`.
... -
02:00 PM Bug #13720: appveyor.yml nmake arguments - not *nix style
- What version is your nmake, and what was the exact error message?
At least, versions since VC98 through VS2017 have never failed. -
01:34 PM Bug #13728: How to design websites?
- Looks like spam-account.
-
09:45 AM Bug #13728 (Rejected): How to design websites?
- I want to learn web design but don’t have the money to do a course right now. What web site can I go onto to start learning how to design web sites? What would be the best course to learn web design? Please share innovative ideas here or...
-
12:25 PM Revision d984da66 (git): Run single downloader
- * common.mk (update-unicode-property-files, update-unicode-files):
download in single process for each targets, not for each files
in parallel, to get rid of conflicts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59278 b2dd03c... -
09:52 AM Bug #13724 (Assigned): make install does not install bundled gems
-
09:52 AM Bug #13724: make install does not install bundled gems
- installation of bundled gems requires `make update-gems` and `make extract-gems`.
We should add above instructions to README.md. -
07:51 AM Bug #13727: Not able to set program_name for new Syslog::Logger
- melentievm@gmail.com wrote:
> Hi!
>
> Every instance of syslog logger uses same program_name as first initialized one, because they all share single instance of Syslog (https://github.com/ruby/ruby/blob/trunk/ext/syslog/lib/syslog/l... -
07:20 AM Bug #13727 (Closed): Not able to set program_name for new Syslog::Logger
- Hi!
Every instance of syslog logger uses same program_name as first initialized one, because they all share single instance of Syslog (https://github.com/ruby/ruby/blob/trunk/ext/syslog/lib/syslog/logger.rb#L195)
~~~ ruby
logger1 ... -
06:00 AM Bug #13413: --with-static-linked-ext doesn't install extension files on `make install`
- ruby_2_3 r59277 merged revision(s) 57446.
-
05:39 AM Bug #13413: --with-static-linked-ext doesn't install extension files on `make install`
- > 2.4: DONTNEED
Thank you for marking this for backport! The backport is needed for 2.4 as well. -
04:47 AM Bug #13413 (Closed): --with-static-linked-ext doesn't install extension files on `make install`
-
01:05 AM Bug #13413: --with-static-linked-ext doesn't install extension files on `make install`
- After some research, I discovered that this has since been fixed in trunk. It was fixed by r57446 (git b3dbeb6e90f). I can't test if this fixes the trunk build, which fails for what may or may not be unrelated reasons, but backporting th...
-
12:35 AM Bug #13413: --with-static-linked-ext doesn't install extension files on `make install`
- Found the commit that's responsible - r51756 (50226fb61cb10c5be9e2745e7b1a29228987a4ee in the github mirror).
This does adjust the logic surrounding the `STATIC_LIB` target and whether or not to add `install-rb`. At a glance, making t... - 06:00 AM Revision e1f73c32 (git): merge revision(s) 57446: [Backport #13413]
- mkmf.rb: fix script installation
* lib/mkmf.rb (MakeMakefile): fix condition to install script
files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@59277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:14 AM Revision c6134214 (git): * 2017-07-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:14 AM Revision b88e0ceb (git): * tool/redmine-backporter.rb (show): just report and ignore if a feature ticket
- is specified instead of aborting.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:03 AM Revision 651990fa (git): This backport of r58812 is necessary to ease backporting r59028,
- which fixes a real bug.
* thread.c (struct waiting_fd): declare
(rb_thread_io_blocking_region): use on-stack list waiter
(rb_notify_fd_close): walk vm->waiting_fds instead
(call_without_gvl): remove old field setting
(th_init): ... -
12:21 AM Feature #13725: [PATCH] Hash#[]= deduplicates string keys if (and only if) fstring exists
- I forget to mention, this might make the proposed [Feature #13721]
("net/imap: dedupe attr keys in Net::IMAP::FetchData")
obsolete: https://bugs.ruby-lang.org/issues/13721
Along with the necessity to make similar changes down the l... -
12:08 AM Feature #13725 (Closed): [PATCH] Hash#[]= deduplicates string keys if (and only if) fstring exists
- Hash#[]= deduplicates string keys if (and only if) fstring exists
In typical applications, hash entries are read after being
written to. Blindly writing to hashes which are never read
makes little sense. So, for any hash which is r...