Activity
From 11/08/2017 to 11/14/2017
11/14/2017
-
11:47 PM Bug #14107 (Rejected): Enumerable#each_with_object partly mutate object
- Hi. I was working with `each_with_object` and found a bug.
I was needed to iterate through the array and have an memo object at the same time so I've tried to use next code:
Here is an array:
~~~ruby
d = [1, 2, 3, 4, 5, 6, 7]
~~... - 11:20 PM Revision ea321172 (git): dir.c: release GVL around remaining readdir calls
- Release GVL around all remaining readdir calls from the Dir
class to prevent pathological stalls on slow filesystems in
multi-threaded applications.
opendir, rewinddir, closedir calls are not affected yet, but
will be changed in future ... -
09:49 PM Feature #14105: Introduce xor as alias for Set#^
- I am neutral on this so either way is fine by me. I very rarely
use Set so I suppose I would not even notice any change in the
first place. :)
I may be wrong but the amount of approved feature additions appears
to have slowed down... -
04:08 PM Feature #14105: Introduce xor as alias for Set#^
- `^` is used as the exclusive-or operator in many other programming languages including C, C++, C#, D, Java, Perl, PHP and Python.
If a user wants to use `xor` instead of `^`, they can always alias it manually:
~~~ruby
class Set
... -
12:39 PM Feature #14105 (Feedback): Introduce xor as alias for Set#^
- Not sure if I should also add feautures for the `Set` class here or if I should do it somewhere else.
I would like to add a more readable method for the exclusive or, currently as `^` in set. It is in both mathematics, hardware and ma... -
07:11 PM Feature #10328: [PATCH] make OPT_SUPPORT_JOKE a proper VM option
- ko1@atdot.net wrote:
> BTW, we provide "bitblt" and "answer" insturctions as a official (joke) instructions without enabling SUPPORT_JOKE flag.
> People can use them by assembling YARV codes (with some tricks) manually.
OK, since w... -
06:08 PM Bug #14106: [BUG] Segmentation fault
- Isn't this some problem in the sass gem? Default ruby works fine on
your system, right? So only sass should trigger your problem. -
04:09 PM Bug #14106 (Closed): [BUG] Segmentation fault
- hi,
when i try to compile a sass file i get this error:
~~~
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/sass-3.5.3/lib/sass/util.rb:637: [BUG] Segmentation fault
ruby 2.4.2p198 (2017-09-14 revision 59899) [x64-mingw32]
~~~
this is th... -
05:07 PM Revision c00265bb (git): compile.c: fixup TRACE
- * compile.c (remove_unreachable_chunk): ignore TRACE elements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:40 PM Feature #14104: Remove `trace` instructions
- ko1 (Koichi Sasada) wrote:
> # Abstract
> ...
Hi, Koichi. I am very glad that you addressed this issue. The current implementation of tracing is just wasting CPU time. I thought about this too but my approach would be a different be... -
12:58 PM Feature #14104 (Closed): Remove `trace` instructions
- Applied in changeset trunk|r60763.
----------
remove `trace` instruction. [Feature #14104]
* tool/instruction.rb: create `trace_` prefix instructions.
* compile.c (ADD_TRACE): do not add `trace` instructions but add
TRACE link eleme... -
11:44 AM Feature #14104: Remove `trace` instructions
- Here is a result of benchmark result with
```
ruby ~/ruby/src/trunk/benchmark/driver.rb -e ruby_2_4::~/ruby/install/ruby_2_4/bin/ruby -e trunk_oct::~/ruby/install/trunk_r60079/bin/ruby -e trunk::~/ruby/install/trunk/bin/ruby -e modif... -
09:08 AM Feature #14104: Remove `trace` instructions
- user system total real
trace off 9.090678 0.000000 9.090678 ( 9.083007)
trace on 108.217320 0.005524 108.222844 (108.201941)
user system total ... -
08:40 AM Feature #14104 (Closed): Remove `trace` instructions
- # Abstract
Remove `trace` instructions from bytecode and it will improve performance, 10% faster.
Instead of `trace` instruction, we add event information for each instruction.
In other words, we unified `trace` instructions with th... - 03:37 PM Revision 0965709f (git): * 2017-11-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:37 PM Revision 50702d16 (git): parse.y: zero codepoints
- * parse.y (parser_tokadd_utf8): relax restriction to allow zero or
more codepoints. fixup r59417.
https://github.com/ruby/ruby/commit/7e8b910#commitcomment-25602670
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60766 b2dd03c8-... -
02:24 PM Feature #9123: Make Numeric#nonzero? behavior consistent with Numeric#zero?
- It is already 4 years since this was pointed out. I am really surprised that it is still inconsistent. It is not expected and make developers checking the documentation for something that could be completely clear. Some people claimed he...
-
01:25 PM Revision 19ae98d5 (git): rewrite only if changed.
- * vm_trace.c (update_global_event_hook): rewrite ISeqs only when
effective events are changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:18 PM Revision b000b1d9 (git): fix prefix.
- * compile.c: the following functions accept LINK_ELEMENT so
rename to `ELEM_` prefix names:
* INSERT_ELEM_NEXT -> ELEM_INSERT_NEXT
* INSERT_ELEM_PREV -> ELEM_INSERT_PREV
* REPLACE_ELEM -> ELEM_REPLACE
* REMOVE_ELEM -> ... -
12:58 PM Revision 665ba24b (git): remove `trace` instruction. [Feature #14104]
- * tool/instruction.rb: create `trace_` prefix instructions.
* compile.c (ADD_TRACE): do not add `trace` instructions but add
TRACE link elements. TRACE elements will be unified with a next
instruction as instruction information.
* ... -
04:42 AM Revision fe3decb2 (git): process.c: removed preserving_errno
- * process.c (try_with_sh, handle_fork_error): added argument for
errno.
* process.c (proc_exec_cmd, proc_exec_sh, exec_async_signal_safe):
now return errno instead of -1.
* process.c (rb_fork_ruby): merged retry_fork_ruby() and uni... -
03:02 AM Revision 73e41247 (git): string.c: prefer rb_syserr_fail
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:00 AM Revision a48fac6e (git): common.mk: add dependencies for iseq.h
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:40 AM Revision 9cabbf84 (git): compile.c: comments for concatstrings optimization [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:37 AM Revision 77c30107 (git): use RUBY_API_VERSION as ISEQ versions.
- * iseq.h: use RUBY_API_VERSION_MAJOR for ISEQ_MAJOR_VERSION and
RUBY_API_VERSION_MINOR for ISEQ_MINOR_VERSION.
We need to keep compatibility for ISeq during same major/minor versions.
If we need to change compatibility between teen...
11/13/2017
- 11:53 PM Revision 23b8130c (git): * 2017-11-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:53 PM Revision 496b4267 (git): compile.c: fixup r60727
- * compile.c (iseq_peephole_optimize): skip next `freezestring`
instruction after `concatstrings` instruction when frozen string
literal is enabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60756 b2dd03c8-39d4-4d8f-98ff-823f... -
04:32 PM Bug #13627: created.rid prevents reproducible builds
- Thanks for the patch, it fixes the issue for me (on FreeBSD).
-
04:04 PM Feature #14097: Add union and difference to Array
- ana06 (Ana Maria Martinez Gomez) wrote:
> @jeremyevans0
> ...
The argument against the `|` operator could potentially apply to any operator. Most things are unclear until they are learned. Someone with no knowledge of English might fi... -
03:22 PM Feature #14097: Add union and difference to Array
- @jeremyevans0
> The array class already has a union operator (|) which returns a new array, and in combination with replace you can easily build union. union doesn't seem a common enough need to warrant adding as a separate core metho... -
02:53 PM Feature #14097: Add union and difference to Array
- ana06 (Ana Maria Martinez Gomez) wrote:
> @jeremyevans0 do you find it coherent having you union method and only one concat? Won't be that confusing? you will always need to check the documentation as you won't know when the object is m... -
01:40 PM Feature #14097: Add union and difference to Array
- I would that the difference is that there are some method where is not expected that the Array is modified, and some others where you expect it. So, for example, with `pop` and `push` I don't think we should have two methods, one which m...
-
02:14 PM Feature #14043: Introduce Process.last_status as an alias for $?
- I completely agree with @mrkn. How is it possible that a programming language which is described as focussed on simplicity with an elegant syntax that is natural to read and easy to write have this unreadable Perl operators? I am sorry, ...
-
02:08 PM Bug #13628: rdoc json.gz files differ across builds
- We came up with the same patch for FreeBSD while working on reproducible builds there.
-
11:15 AM Bug #14103 (Closed): Regexp absense operator has no chance to ^C
- Following script hangs, with no respond to `^C`.
```ruby
/(?<x> (?<! a ) a+ ){0}
(?<y> (?~ \g<z> ) ){0}
(?<z> (?<! a ) \k<x> (?! a ) ){0}
\g<x> \g<y> \g<z>
/xo =~ (1..1024).map{|x| 'b' + 'a' * x }.join
``` -
08:03 AM Bug #14102: Date.strptime ignores constraints provided by day name
- jeremyevans0 (Jeremy Evans) wrote:
> Doesn't fail because %d takes precedence over %A.
The point I was trying to make was that they are all invalid dates, and so I would expect all of them to raise errors.
Your explanation of dire... -
01:42 AM Bug #14102: Date.strptime ignores constraints provided by day name
- cyclotron3k (A Samuel) wrote:
> Date.strptime('Potato, November 13, 2017', '%A, %B %d, %Y').strftime('%A, %B %d, %Y')
> ...
Fails because Potato is not a valid day name.
>
> ...
Fails because November only has 30 days.
> Date.s... -
01:02 AM Bug #14102 (Rejected): Date.strptime ignores constraints provided by day name
- ~~~ ruby
RUBY_VERSION
=> "2.4.2" # also tested in 2.5.0
require 'date'
=> true
Date.strptime('Potato, November 13, 2017', '%A, %B %d, %Y').strftime('%A, %B %d, %Y')
=> ArgumentError: invalid date
Date.strptime('Friday, Novem... -
06:46 AM Bug #14087 (Third Party's Issue): Program Crash when using openssl
- Please note that OpenSSL::PKey::DH#public_key only copies the parameters, despite the name.
Still, it is a bug that it segfaults. A fix is here: https://github.com/ruby/openssl/pull/168 -
05:51 AM Bug #14101 (Closed): Unreliable handling of groups nested within absent/absence operator of regex
- Applied in changeset trunk|r60755.
----------
regexec.c: invalidate previously matched position
* regexec.c (match_at): invalidate end position not yet matched
when new start position is pushed, to dispose previously stored
positio... -
05:50 AM Revision 24d38cc4 (git): regexec.c: invalidate previously matched position
- * regexec.c (match_at): invalidate end position not yet matched
when new start position is pushed, to dispose previously stored
position. [ruby-core:83743] [Bug #14101]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60755 b2dd03... -
05:46 AM Revision 0c467565 (git): test_regexp.rb: test_absent
- * test/ruby/test_regexp.rb (test_absent): add simple tests for
absent operator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:58 AM Revision fdb64a1a (git): envutil.rb: preserve RUBYLIB
- * test/lib/envutil.rb (invoke_ruby): preserve RUBYLIB which is
set by runruby.rb and necessary to load standard libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:24 AM Revision 8020a87d (git): Print last location of a node
- * node.c (A_NODE_HEADER): Print last location of a node.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:24 AM Revision 43e15e77 (git): Initialize last column with -1 and lineno with 0
- * parse.y (node_newnode): Initialize last column of nodes
with -1 and lineno with 0 to make it easy to detect nodes
which we forget to set a column number or lineno.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60751 b2dd03c8-3... -
12:14 AM Revision 1ef7b0cd (git): Store last location of a node on RNode
- * node.c (rb_node_init): Initialize last location with 0.
* node.h (struct rb_code_range_struct): Define a structure
which contains first location and last location of a node.
* node.h (struct RNode): Use rb_code_range_t to store last...
11/12/2017
-
10:53 PM Bug #13571: Script arguments, encoding, windows / MinGW
- After seeing the CI test issue with [60743](https://github.com/ruby/ruby/commit/7a693278c2897dbcb0bf425dba88cd4555fd6c81), I revisited this with a prior build (ruby 2.5.0dev (2017-11-11 trunk 60742) [x64-mingw32]).
The issue has been ... -
05:10 PM Revision a82aaea7 (git): string.c: fix up r60748
- An #ifdef was missing in r60748 and build broke on systems without
crypt_r().
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20171112T162503Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60... -
04:09 PM Bug #14101: Unreliable handling of groups nested within absent/absence operator of regex
- Here's a slightly more minimal reproduction example:
~~~ ruby
"abb".match /(?~(a)c)/
#=> ArgumentError: negative string size (or size too big)
~~~
My best guess is that the regexp engine is caught in an unexpected state, where t... -
03:55 PM Bug #14101 (Closed): Unreliable handling of groups nested within absent/absence operator of regex
- The new absent/absence regex operator, added to Onigmo and bundled into ruby since v2.4.1, supports nested groupings such as:
~~~ruby
"abb".match /(?~(a|b)b)/
=> #<MatchData "a" 1:"a">
~~~
However, under some scenarios (I haven... -
03:55 PM Revision 0b845a84 (git): string.c: fix memory leak in String#crypt
- Use ALLOCV to allocate struct crypt_data for slightly cleaner and less
error-prone code. It is currently possible it leaks when an invalid
argument is passed to String#crypt or rb_str_new_cstr() fails to
allocate memory.
SIZEOF_CRYPT_DA... - 03:25 PM Revision 4eb34570 (git): * 2017-11-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:25 PM Revision f77fc95c (git): .gitignore: ignore dlntest.dll
- This was generated with in-place build on MinGW and not ignored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:05 AM Revision e3fcf44a (git): Clarify Dir.mktmpdir's change
- `FileUtils.remove_entry_secure` checks `world_writable?` (and `sticky?`) only.
[ci skip]
ref https://github.com/rurema/doctree/pull/805
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:46 AM Bug #13863 (Closed): RUBYLIB にカレントディレクトリを設定した場合、-E cp932:utf-8 を指定するとスクリプトが全く実行されない
- Applied in changeset trunk|r60743.
----------
load.c: cwd encoding
* load.c (rb_get_expanded_load_path): save cwd cache in OS path
encoding, to get rid of unnecessary conversion and infinite
loading when it needs encoding conversio... - 04:45 AM Revision 6f3ca72c (git): * 2017-11-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:45 AM Revision 7a693278 (git): load.c: cwd encoding
- * load.c (rb_get_expanded_load_path): save cwd cache in OS path
encoding, to get rid of unnecessary conversion and infinite
loading when it needs encoding conversion.
[ruby-dev:50221] [Bug #13863]
git-svn-id: svn+ssh://ci.ruby-lan...
11/11/2017
-
10:57 PM Feature #14097: Add union and difference to Array
- ana06 (Ana Maria Martinez Gomez) wrote:
> What about introducing `concat!` with the same behaviour as `concat` and deprecating `concat`. Then we could in the feature give `concat` the behaviour it deserves. It is confusing as well that ... -
09:11 PM Feature #14097: Add union and difference to Array
- What about introducing `concat!` with the same behaviour as `concat` and deprecating `concat`. Then we could in the feature give `concat` the behaviour it deserves. It is confusing as well that this method modify the object and I think w...
-
09:28 PM Feature #14098: The HowToContribute guide can be improved
- @shevegen
> An example, or a separate entry at the wiki for such an example, might be useful to have there.
Yes, it would be great.
> ...
Should I add new changes to this file when creating a PR with a new feature for example?
... -
02:59 PM Bug #14093 (Rejected): REXML doesn't implement name() and interprets nam() as an element path.
- `/a/b/name()` is an invalid [`LocationPath`](https://www.w3.org/TR/xpath/#NT-LocationPath). `LocationPath` is consists of [`Step`](https://www.w3.org/TR/xpath/#NT-Step)s. You can't use `name()` as `Step`. Because `name()` isn't [`NodeTes...
-
04:50 AM Revision 74597b0b (git): parse.y: constified YYLTYPE
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:57 AM Bug #14085 (Closed): many redefinition warnings on test/win32ole/test_word.rb
- Applied in changeset trunk|r60740.
----------
* ext/win32ole/win32ole.c(ole_const_load): suppress constant redefinition
warnings when WIN32OLE.const_load [Bug #14085] - 03:57 AM Revision 8bec8af2 (git): * 2017-11-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:57 AM Revision 856aca46 (git): * ext/win32ole/win32ole.c(ole_const_load): suppress constant redefinition
- warnings when WIN32OLE.const_load [Bug #14085]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/10/2017
-
11:55 PM Bug #14011 (Rejected): Appveyor failure - svn 60172 - ‘webrick: do not hang acceptor on slow TLS connections’
-
02:07 PM Bug #14011: Appveyor failure - svn 60172 - ‘webrick: do not hang acceptor on slow TLS connections’
- Hiroshi and Eric - I apologize for allowing this issue to remain open. I cannot find any indication that this is a problem with any current builds.
Okay to close. -
07:05 AM Bug #14011 (Assigned): Appveyor failure - svn 60172 - ‘webrick: do not hang acceptor on slow TLS connections’
-
08:20 PM Bug #14100 (Closed): segfault in vm_exec during compile
- While attempting to compile Ruby `e16bd0f` on Ubuntu 17.04 x64 with afl-clang-fast, which is just a wrapper for clang version 6.0.0 (trunk 315613), a wild segfault appeared.
ASAN_OPTIONS=detect_leaks=0 AFL_PATH=/root/afl-2.51b CC=afl... -
06:18 PM Bug #14099 (Closed): heap-use-after-free (WRITE of size 8) in rb_obj_write (include/ruby/ruby.h:1484)
- The following script triggers a heap-use-after-free in 3527c86. I compiled it with Clang 6.0.0-trunk and -fsanitize=address. Note, on my Ubuntu machine, this bug is only triggered with the miniruby binary.
~~~ ruby
def a
yield
... -
04:20 PM Feature #14098: The HowToContribute guide can be improved
- - I agree in regards to tests; perhaps the article could mention if patch submissions should also include tests. I see the ruby core team often also adding test-code when they change/add behaviour/functionality. An example, or a separate...
-
12:58 PM Feature #14098 (Closed): The HowToContribute guide can be improved
- I miss some important information in the [HowToContribute guide](https://bugs.ruby-lang.org/projects/ruby/wiki/HowToContribute):
- how is the code tested? Should I add new test of my code? where, how and how to execute it?
- How are ... -
03:46 PM Bug #14095: erb ignores attempt to set encoding
- Thank you for quick fix and your answer, I've tried the magic comment thing base on what I googled, to be precise `<% # -*- coding: UTF-8 -*- %>` which didn't work. Your version `<%# coding: UTF-8 %>` does work so I can now use `?猫` with...
-
02:18 PM Bug #14095: erb ignores attempt to set encoding
- Ah, one more comment is that you can use magic comment to change source file encoding of erb template before and after that change:
~~~ erb
$ ruby -v
ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]
$ cat ascii.erb
<%= ''... -
02:05 PM Bug #14095: erb ignores attempt to set encoding
- Hi Gray,
First of all, -U option of erb(1) is just the same as ruby(1)'s one, which sets both external and internal encoding to UTF-8. As those encodings are for IO, -U (or -E) is not related to the described behavior.
The actual c... -
01:59 PM Bug #14095 (Closed): erb ignores attempt to set encoding
- Applied in changeset trunk|r60739.
----------
bin/erb: change template file encoding to UTF-8
Unlike Ruby source file encoding (script encoding) whose default is
changed to UTF-8 in Ruby 2.0 (Feature #6679), template's file encoding
gi... -
02:50 AM Bug #14095 (Assigned): erb ignores attempt to set encoding
-
02:46 PM Feature #14097: Add union and difference to Array
- > I think it is a great idea. I do not understand why concat modify the array, as most of the method of the Array class has a ! method for that. Should I also introduced a concat! method?
Probably changing #concat to be non-destructiv... -
12:05 PM Feature #14097: Add union and difference to Array
- I think it is a great idea. I do not understand why `concat` modify the array, as most of the method of the Array class has a `!` method for that. Should I also introduced a `concat!` method?
-
09:20 AM Feature #14097: Add union and difference to Array
- I'm neutral to your proposal itself. My two cents: `Array#union` should return a new array instead of modifying self, and `Array#union!` should be its modifying version.
-
07:29 AM Feature #14097: Add union and difference to Array
- This will also allow to add multiple arguments to the union, which is currently not possible:
``` Ruby
array.union(array1, array2)
``` -
06:51 AM Feature #14097 (Closed): Add union and difference to Array
- Currently there is a concat method in ruby which does the same as +, but modifying the object. We could introduce a union and difference methods, which would be the equivalent for the `|` and `-` operators. This operators are normally le...
-
01:59 PM Revision e16bd0f4 (git): bin/erb: change template file encoding to UTF-8
- Unlike Ruby source file encoding (script encoding) whose default is
changed to UTF-8 in Ruby 2.0 (Feature #6679), template's file encoding
given to erb(1) has been ASCII-8BIT since ERB supports m17n at r21170.
Like Ruby source file enco... -
01:50 PM Revision 7dae8797 (git): Fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:46 PM Revision 139eb4e8 (git): Make `rb_ast_dispose` use `RB_OBJ_WRITE`
- This fixes the mistake of r60722.
I used `rb_gc_writebarrier_remember` to notify to GC that the references
is changed. But the function just adds the object to the remember set
blindly. Ko1 told me that `RB_OBJ_WRITE` is suitable in th... -
11:50 AM Revision 4d606546 (git): .travis.yml: workaround to resolve ::1
- Container-based Trusty environment (sudo: false) does not support IPv6.
https://github.com/travis-ci/travis-ci/issues/3302
And the image has "::1 localhost ip6-localhost ip6-loopback" entry in
addition to "127.0.0.1 localhost" in /etc/... -
09:46 AM Bug #13892 (Assigned): Matching the end of a string followed by an empty greedy regex and a word boundary (.*\b) fails in all versions >= 1.9
- This issue was fixed at Onigumo-6.1.4. We should merge it from upstream.
-
08:26 AM Revision 54b8b8e4 (git): iseq.c: disasm only once for each iseq
- * iseq.c (rb_iseq_disasm): do not dump repeatedly same iseq which
has been dumped by catch tables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:18 AM Bug #13910 (Rejected): Seg Fault from require_relative
-
08:01 AM Bug #13939 (Rejected): Ruby 2.4.2 has issue supporting Seattle.rb style for define_method
-
07:44 AM Misc #13974: Make sure Unicode files are only downloaded once, not repeatedly, for continuous integration
- I confirmed that we didn't download unicode files on Travis CI.
see. https://s3.amazonaws.com/archive.travis-ci.org/jobs/300023608/log.txt?X-Amz-Expires=30&X-Amz-Date=20171110T072823Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=... -
07:12 AM Feature #13984 (Assigned): BigDecimal should be immutable/frozen and return itself on #dup
-
07:12 AM Bug #14070 (Assigned): Refining a module dumps core
-
07:08 AM Bug #13284 (Assigned): IA64 ruby 2.4 miniruby segfault
-
06:50 AM Feature #14066 (Assigned): Add CAA DNS RR on Resolv
-
06:49 AM Bug #14068 (Assigned): Unused refinement breaks method search
-
06:31 AM Bug #14088 (Closed): Revisit 34739 - require 'calendar' - test-all useless info?
- Applied in changeset trunk|r60734.
----------
Do not define test method instead of skip when Calendar class is not defined.
Revisit r34739. Patch by MSP-Greg.
[Bug #14088][ruby-core:83690][fix GH-1743] -
06:31 AM Revision 9b41c2af (git): Do not define test method instead of skip when Calendar class is not defined.
- Revisit r34739. Patch by MSP-Greg.
[Bug #14088][ruby-core:83690][fix GH-1743]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:26 AM Revision 61e4c999 (git): refactoring about source line.
- * iseq.c (find_line_no): renamed to rb_iseq_line_no().
* vm_backtrace.c (calc_lineno): add a comment why we need to use "pos-1".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:42 AM Feature #6946 (Open): FIPS support?
- (Removing assignee)
Can this be closed? -
04:33 AM Bug #11774 (Third Party's Issue): OpenSSL::PKey.read produces ArgumentError on invalid passphrases
-
04:32 AM Bug #12904 (Rejected): Seg fault in openssl
- I should be fixed by Ruby 2.3.2 if it was the same issue as [Bug #12292].
-
04:28 AM Bug #12630 (Rejected): add gem sources errors on Ruby 2.4.0-preview1
-
04:27 AM Bug #6227 (Closed): [mingw] openssl backport causing test error
-
04:26 AM Bug #9817 (Closed): The extconf.rb for OpenSSL assumes MingW
-
04:20 AM Feature #9642 (Third Party's Issue): Allow CCM as an authenticated encryption mode in OpenSSL::Cipher
- Closing as per my comment in the corresponding GitHub Pull Request, https://github.com/ruby/ruby/pull/569.
Suggestions or patches are accepted upstream: https://github.com/ruby/openssl -
04:13 AM Bug #14096 (Closed): Psych allows invalid single quote escape character
- In https://github.com/jruby/jruby/issues/4847 (and previously in https://github.com/jruby/jruby/issues/2199) we have had users report that escaped single quotes within a YAML string do not parse in JRuby, although they parse in MRI.
A... -
04:07 AM Bug #6252 (Rejected): OpenSSL - ECDSA signature reliability
-
04:05 AM Bug #5659 (Rejected): bug releasing a gem created with rails 3.1
-
04:05 AM Bug #4418 (Rejected): OpenSSL::PKey::DH#public_key
- I agree the name 'public_key' was not a good choice, but at the same time I don't think the name being confusing is not strong enough justification to remove or rename now. I'll leave it as is.
-
03:39 AM Bug #14078 (Rejected): Test Failure - OpenSSL::TestSSLSession#test_ctx_server_session_cb - with OpenSSL 1.1.0g
- OK, closing this for now.
-
03:32 AM Bug #14089 (Feedback): Configure/build issue on OSX 10.12 w/ utimensat
- Hi, Can you try patch of https://github.com/rbenv/ruby-build/issues/1133#issuecomment-331332963 with your environment?
-
02:50 AM Feature #14091 (Assigned): Remove Time#succ
-
02:49 AM Bug #14093 (Assigned): REXML doesn't implement name() and interprets nam() as an element path.
11/09/2017
-
11:08 PM Revision 324b6d30 (git): iseq.c: operand lvar
- * iseq.c (rb_insn_operand_intern): show local variable operand
name in unified instructions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:02 PM Revision 6820727a (git): mk_call_iseq_optimized.rb: add mode string [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:24 PM Feature #10903: [PATCH] Matrix#zip returns a matrix
- Wow, time flies. Sorry for not addressing this earlier.
I have some commits ready to address this: https://github.com/ruby/ruby/pull/1746
Naming: The issue I have with `zip` is not really the potential incompatibility, but that the... - 10:05 PM Revision 3527c863 (git): lib/matrix: Remove method catalog [doc] [ci-skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:04 PM Revision 6e3126d3 (git): * 2017-11-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:04 PM Revision a5abde57 (git): TracePoint.new: raise ArgumentError when no block given [#14074]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:29 PM Bug #14095: erb ignores attempt to set encoding
- Expected output was
$ erb -U
<%= "a".encoding %>
^D
UTF-8
Ruby works that way without setting anything
$ ruby
puts "a".encoding
^D
UTF-8
Why doesn't .erb have the same default?
-
07:29 PM Bug #14095 (Closed): erb ignores attempt to set encoding
- Erb seems to ignore any attempt to set encoding:
$ erb -U
<%= "a".encoding %>
^D
ASCII-8BIT
I've tried multiple ways to do this but I just can't convice it that the .erb file is in UTF-8. It insists on ASCII-8BIT. -
07:10 PM Bug #10630: ERB tags nested in escaped blocks are skipped
- Thanks!
I've reported it to Erubis a while back (https://github.com/kwatch/erubis/issues/6), but since that project is stale, I've reported it to Erubi as well (https://github.com/jeremyevans/erubi/issues/11). -
04:49 PM Bug #14078: Test Failure - OpenSSL::TestSSLSession#test_ctx_server_session_cb - with OpenSSL 1.1.0g
- I've tried to repro this locally and on Appveyor.
Running the test twenty times, using runner.rb, both parallel and not, no failures, see https://ci.appveyor.com/project/MSP-Greg/testing-appveyor/build/4
Locally, I can't repro with... -
04:46 PM Bug #14094 (Closed): IRB does not obey frame-level visibility modifiers
- I noticed the following today; IRB does not appear to obey the frame-local visibility modifiers like public and private:
```
$ irb
:here
irb(main):001:0> private
=> Object
irb(main):002:0> def foo; end; self.class.public_instance... -
11:50 AM Bug #14076: Installing Ruby 2.3.1 - Ubuntu 17.10
- The problem stems from default gcc version (it's 7) used on Ubuntu 17.10.
Installing gcc-6 and running the install via
`CC=/usr/bin/gcc-6 rbenv install 2.3.1`
should help.
I leave the note for someone passing thru this issue with t... -
11:35 AM Feature #11955: Expose Object that Receives logs in Logger
- So will **#logdev** will be exposed in Logger or Logger::LogDevice?
-
08:27 AM Revision 7b1f3906 (git): compile.c: optimize nested string interpolations
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:57 AM Revision 1c5ae5a1 (git): insn_info/insns_info
- * iseq.h (iseq_line_info_entry): rename to iseq_insn_info_entry.
* vm_core.h (rb_iseq_constant_body): rename field name line_info_table
to insns_info and also from line_info_size to insns_info_size.
* compile.c (INSN): add struct ins... -
05:22 AM Revision 3b7373fd (git): fix backtrace on argment error.
- * vm_backtrace.c (rb_backtrace_use_iseq_first_lineno_for_last_location):
added. It modifies last location's line as corresponding iseq's first line
number.
* vm_args.c (raise_argument_error): use added function.
git-svn-id: svn+ss... -
04:27 AM Revision 976b6df9 (git): fix peephole optimization.
- * compile.c (iseq_peephole_optimize): do not need to put `pop`
instruction.
* test/ruby/test_optimization.rb (test_peephole_optimization_without_trace):
This code "def foo; 1.times{|(a), &b| nil && a}; end" fails to compile
by sta... -
01:50 AM Revision 2b60e342 (git): node.c (dump_node): add an explanation of NODE_HASH's nd_alen
- The field has a flag to represent if it is a keyword argument (that has
no braces, e.g., `foo(k:1)`) or hash literal (that has braces, e.g.,
`foo({k:1})`).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60723 b2dd03c8-39d4-4d8f-98ff-... -
01:32 AM Revision f09ad1dc (git): use `rb_ast_dispose` instead of `rb_ast_free`
- `rb_ast_dispose` calls `rb_gc_writebarrier_remember`. Unless we call
it, the marked objects may not be GC'ed until `rb_ast_t` is GC'ed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:42 AM Revision 3ba9e6b6 (git): Merge rubygems-2.7.2.
- This version fixes some setup commands.
https://github.com/rubygems/rubygems/blob/01e797f6aa045fd09df7813d0b5448e3667172a9/History.txt#L3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/08/2017
-
11:09 PM Revision cf3329cb (git): parse.y: fix r60644
- * parse.y (rb_strterm_heredoc_t): should not define sourceline as
union, to fix wrong read on big-endian platforms.
as rb_imemo_new stores all members as VALUEs, should read it as
VALUE too.
git-svn-id: svn+ssh://ci.ruby-lang.org/... -
08:03 PM Bug #14093 (Rejected): REXML doesn't implement name() and interprets nam() as an element path.
- Please see the attached script.
Considering this xml:
```xml
<a><b><name/></b></a>
```
The xpath `/a/b/name()` xpath should return the name of element `a`. Instead it returns the child element `name`.
Output:
```xml
<na... -
06:47 PM Feature #14092: Add extension key argument to Tempfile
- It may be best to just publish your suggestion/PR anyway. I may be wrong but
the ruby core team and matz appear to be quite busy currently - see the queue of
other suggestions and changes. Perhaps they will do some "batch-discussions" ... -
11:46 AM Feature #14092 (Open): Add extension key argument to Tempfile
- I don't work with Tempfile often, but every time I do, I get surprised by an obscure way to pass an extension to file name.
You have to pass array, where first element is a file name and a second is a file extension *(starting with a do... - 04:43 PM Revision b8878481 (git): * 2017-11-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:43 PM Revision d3b63f95 (git): Fix typo in doc [ci skip]
- `enable` and `disable` are instance methods.
Patch by: yuuji.yaginuma <yuuji.yaginuma@gmail.com>
https://github.com/ruby/ruby/pull/1744
[Fix GH-1744]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60718 b2dd03c8-39d4-4d8f-98ff-823f... -
02:14 PM Revision fb5bc568 (git): fixup r60440 [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:09 PM Bug #10630 (Third Party's Issue): ERB tags nested in escaped blocks are skipped
- > ERB (Erubis)
ERB and Erubis are totally different things.
~~~ ruby
$ irb -rerb -rerubis -rerubi
irb(main):001:0> RUBY_VERSION
=> "2.5.0"
irb(main):002:0> erb = "<div><%%= Results: <%= 'first' %> | <%= 'second' %> | <%= 'thir... -
02:10 AM Bug #10630 (Rejected): ERB tags nested in escaped blocks are skipped
- It seems an Erubis specific bug.
ERB hasn't had that issue.
-
11:40 AM Bug #14085: many redefinition warnings on test/win32ole/test_word.rb
- 実害ないのなら、revertまではしなくていいんじゃないかと思います。
2.5.0のリリースまでに対策するということで。 -
11:30 AM Bug #14085: many redefinition warnings on test/win32ole/test_word.rb
- #13984 で入れたんですけど、一旦、戻しましょうか。
WIN32OLEから定数を取得するときに、Wordサーバから複数回、同じ定数を返されるので、そうなるんですよね。
warningの対策は別で考えるとして。 -
10:54 AM Revision e7d37ebd (git): parse.y: remove in_single
- * parse.y (parser_params): removed in_single, which is referenced
with in_def always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:57 AM Revision b0c719da (git): Fix typos in rdoc
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:03 AM Revision a6f372d1 (git): Omit first argument of NEW_CASE2
- * node.h (NEW_CASE2): Omit first argument of NEW_CASE2,
bacause the first argument of NEW_CASE2 is always 0.
* parse.y: Ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e