Activity
From 04/23/2017 to 04/29/2017
04/29/2017
-
08:41 PM Feature #13211: Hash#delete taking a splat
- I've attached a patch of what I'm talking about, which should hopefully be more clear. The idea is that you could delete multiple values from a hash at once, which is valuable in its own right. Additionally, the return value is changed t...
- 10:50 AM Revision b7ad5496 (git): load.c: remove a redundant rb_str_freeze call
- rb_file_expand_path_fast already performs the buffer shrinking
rb_str_freeze does (via expand_path macro in file.c); the
result of rb_fstring is always frozen, and that rb_fstring
call is the last use of `expanded_path` in its scope.
lo... -
10:27 AM Revision 8a741981 (git): proc.c: recursion loop
- * proc.c (rb_block_min_max_arity, rb_method_entry_min_max_arity):
turn loop by recursion into goto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:39 AM Feature #13518: Indented multiline comments
- Possible of course, but I'm not a big fan of this.
```diff
diff --git i/misc/ruby-mode.el w/misc/ruby-mode.el
index b1abd18a9e..5e8a6a1646 100644
--- i/misc/ruby-mode.el
+++ w/misc/ruby-mode.el
@@ -135,7 +135,7 @@
(concat "[?... -
02:58 AM Bug #13523 (Closed): negative line numbers in instance_eval are misinterpreted in 32-bit ruby-trunk
- Applied in changeset trunk|r58503.
----------
node.h: sign-extend
* node.h (nd_line): should sign-extend. shifting `VALUE` extends
with zero bits if `sizeof(VALUE)` equals to `sizeof(int)`. the
zero bits are truncated if `sizeof(... - 02:58 AM Revision 4bf532ad (git): * 2017-04-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:58 AM Revision c6c55bb7 (git): node.h: sign-extend
- * node.h (nd_line): should sign-extend. shifting `VALUE` extends
with zero bits if `sizeof(VALUE)` equals to `sizeof(int)`. the
zero bits are truncated if `sizeof(VALUE)` is bigger enough.
[ruby-core:80920] [Bug #13523]
git-svn-...
04/28/2017
-
10:47 PM Bug #13496: Patches for MinGW builds - gnu_printf in 'config' & defines.h
- Hiroshi,
Good morning.
Definitely pre-release. See [ruby-loco](https://github.com/MSP-Greg/ruby-loco).
Re pgp, I haven't worked with it much. My KeyID is 77D8FA18. I don't recall whether you need that or the truncated public ... -
02:30 PM Bug #13496: Patches for MinGW builds - gnu_printf in 'config' & defines.h
- Good evening Hiroshi,
I've been thinking of putting it on GitHub, but I've been dividing my OSS time between it and my doc site.
I'll try to get something by Sunday or earlier. It will probably require some setup/editing of config... -
01:29 PM Bug #13496: Patches for MinGW builds - gnu_printf in 'config' & defines.h
- Hi, Greg.
Thanks always about MinGW.
Can you give instructions to build your MinGW environment on Windows?
I will prepare MinGW environment for build ruby source. -
07:47 PM Feature #6284: Add composition for procs
- matz (Yukihiro Matsumoto) wrote:
> I want to make sure if everyone agrees with "*" instead of OP's "<<".
> ...
+1 for #*
Initially I thought of the F# convention #<< and it's counter part #>> as intuitive. But after giving it some t... -
07:31 PM Bug #13526 (Closed): Segmentation fault at 0x0055c2e58e8920 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
- see attached log
-
06:58 PM Feature #13518: Indented multiline comments
- I have no particular pro or con opinion here (I do not use =begin or =end anyway,
only '#') but would this even be possible? -
02:47 AM Feature #13518 (Rejected): Indented multiline comments
- I'd like to submit the idea that multiline comments could be indented. That is, `=begin` and `=end` do not have to start at column zero. That would allow for more flexibility in documenting and commenting code.
-
06:57 PM Feature #13516: Improve the text of the circular require warning
- I am not sure if this particular message is better or not - but I agree with you in
general. To me this was a source of frustration for a long time transitioning from
ruby 1.8.x to a higher ruby version, until I started to change the w... -
05:57 PM Bug #13523: negative line numbers in instance_eval are misinterpreted in 32-bit ruby-trunk
- Actually this also happens on older release, there are just less 32-bit builders on older versions:
http://rubyci.org/logs/www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20170428T070500Z.fail.html.gz -
12:15 PM Bug #13523 (Closed): negative line numbers in instance_eval are misinterpreted in 32-bit ruby-trunk
- As can be seen on http://rubyci.org/, 32-bit ruby-trunk seems to have regressed and no longer handles negative line number in #instance_eval correctly.
Specifically, this spec fails:
~~~ ruby
it "evaluates string with given file... -
04:54 PM Misc #13525 (Closed): Expand HTTPS to lists.ruby-lang.org
- Hi ruby-lang.org admins,
while managing the new `ruby-de` list I noticed that `lists.ruby-lang.org` is not reachable via HTTPS properly. If one tries, the browser first displays a TLS certificate domain mismatch warning, and after dis... -
04:26 PM Bug #13524 (Third Party's Issue): miniruby: [BUG] Segmentation fault at 0x0055e487e00230 ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-li
- Linux: Alpine Linux 3.5
./miniruby: [BUG] Segmentation fault at 0x0055e487e00230
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0001 p:0000... -
01:45 PM Feature #13508 (Assigned): How remove/refactor code related mathn library.
-
01:45 PM Feature #13494 (Assigned): [PATCH] pack rb_method_definition_t struct
-
01:45 PM Feature #13483 (Assigned): TracePoint#enable with block for thread-local trace
-
01:45 PM Bug #13438 (Assigned): Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
-
01:45 PM Bug #13431 (Assigned): sample/drb/http0*.rb is not working.
-
01:45 PM Feature #13382 (Assigned): [PATCH] Options for FTP PORT command
-
01:45 PM Feature #13379 (Assigned): [PATCH] safe IMAP connections
-
01:45 PM Bug #13315 (Assigned): Single "%" at the end of `printf` format string appears in the result
-
01:45 PM Feature #13221 (Assigned): [PATCH] gems/bundled_gems: add "curses" RubyGem
-
01:45 PM Feature #13201 (Assigned): Gemify dbm
-
01:45 PM Bug #12763 (Assigned): Performance regression in bm_securerandom.rb
-
01:45 PM Bug #12725 (Assigned): Trying to use ./miniruby before it exists
-
01:45 PM Bug #12642 (Assigned): Net::HTTP populates host header incorrectly when using an IPv6 Address
-
01:45 PM Bug #12582 (Assigned): OpenSSL Authenticated Encryption should check for tag length
-
01:45 PM Bug #12547 (Assigned): Remove ONIG_UNICODE_VERSION_... in enc/unicode/case-folding.rb, casefold.h
-
01:45 PM Bug #12506 (Assigned): On cygwin, Feature #5994 does not work
-
01:45 PM Bug #12473 (Assigned): Test failure on fedora with TestTimeExtension#test_huge_precision
-
01:45 PM Bug #12445 (Assigned): Testing TestIO#test_open_fifo_does_not_block_other_threads results in deadlock on cygwin
-
01:45 PM Bug #12444 (Assigned): Segmentation fault when running TestException#test_machine_stackoverflow on cygwin
-
01:45 PM Bug #12442 (Assigned): TestArgf#test_textmode fails on cygwin
-
01:45 PM Misc #12439 (Assigned): [PATCH cleanup] process.c (disable_child_handler_fork_child): simplify
-
01:45 PM Bug #11953 (Assigned): ThreadError in 2.3 on code that works on 2.2.4
-
01:45 PM Feature #11322 (Assigned): OpenUri: RuntimeError: HTTP redirection loop
-
01:45 PM Bug #11078 (Assigned): 2.2 String#unicode_normalize method does not appear in generated API docs
-
01:45 PM Feature #8576 (Assigned): Add optimized method type for constant value methods
-
01:45 PM Bug #4443 (Assigned): odd evaluation order in a multiple assignment
-
01:44 PM Bug #13397: #object_id should not be signed
- The patch is missing documentation, otherwise I love it!
-
07:46 AM Bug #13397: #object_id should not be signed
- Such feature would be nice, but can't help libraries which support older versions.
```diff
commit 1f7154a4ae0e480774dbfe79905b21d26d5b4cbc
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
Date: Fri Apr 28 16:35:48 2017
`%I` f... -
12:14 PM Revision eb486f24 (git): Bump version to gdbm-2.0.0.beta1
- * Merge from ruby/gdbm.
* gdbm gem is already registered in rubygems.org. I skip shipped
version of 0.x and 1.x. Therefore We need to use 2.x.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58502 b2dd03c8-39d4-4d8f-98ff-823fe69... -
12:13 PM Bug #13522 (Closed): Solaris10上で make update-rubyspec が bad substitution で失敗
- おそらく r58467 以降、またもやSolaris 10上にて make update-rubyspec が bad substitution で失敗します。
現象は [Bug #13424] と同一ですが、原因は r58467 の変更にあると思いますので新チケットにしました。
```
$ make update-rubyspec V=1
./tool/git-refresh -C ./spec \
git://github.com/r... -
11:42 AM Revision 99a105c8 (git): sprintf.c: remove unused variable
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:50 AM Revision 191be805 (git): parse.y: set_line_body is not used in ripper
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:21 AM Bug #13521 (Third Party's Issue): [PATCH] Add fallback for DNS resolver registry key on Wine
- Wine doesn't initialize the registry key per default:
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DataBasePath
Therefore `gem install` fails with `Win32::Registry::Error`.
This patch uses the default path for the hos... -
08:08 AM Feature #13517: [PATCH] reduce rb_mutex_t size from 160 to 80 bytes on 64-bit
- normalperson@yhbt.net wrote:
> https://bugs.ruby-lang.org/issues/13517
For who care about 32-bit, single-core x86, here are my
Pentium M (Centrino) @ 1.6GHz numbers:
Size reduction of Mutex on 32-bit is 112 => 40 bytes
minimu... -
02:21 AM Feature #13517 (Closed): [PATCH] reduce rb_mutex_t size from 160 to 80 bytes on 64-bit
- ```
Instead of relying on a native condition variable and mutex for
every Ruby Mutex object, use a doubly linked-list to implement a
waiter queue in the Mutex. The immediate benefit of this is
reducing the size of every Mutex object... -
08:06 AM Bug #13181 (Closed): Unexpected line in rescue backtrace
- Applied in changeset trunk|r58499.
----------
parse.y: fix line in rescue
* parse.y (set_line_body, primary): fix line number of bodystmt as
the beginning of the block. [ruby-core:79388] [Bug #13181] -
08:06 AM Revision 7d085cca (git): parse.y: fix line in rescue
- * parse.y (set_line_body, primary): fix line number of bodystmt as
the beginning of the block. [ruby-core:79388] [Bug #13181]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:03 AM Bug #13520 (Rejected): backport r58495
- と思ったら、trunk側の変更が誤謬によるものだとのこと。
-
05:36 AM Bug #13520 (Rejected): backport r58495
- バックポート管理用のチケットです。
-
05:16 AM Feature #13507: Improve performance of some Complex methods where call Numeric#real? internally
- Could your patch
```
-fun1(real_p)
+
+inline static VALUE
+f_real_p(VALUE x)
+{
+ if (RB_INTEGER_TYPE_P(x)) {
+ return Qtrue;
+ }
+ else if (RB_FLOAT_TYPE_P(x)) {
+ return Qtrue;
+ }
+ return r... -
05:08 AM Revision efdc6d78 (git): sprintf.c: ruby_ultoa
- * sprintf.c (ruby_ultoa): prefixed to get rid of conflict with
a MSVC library function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:07 AM Bug #13519 (Closed): Improve performance of some Time methods
- This is related to https://bugs.ruby-lang.org/issues/13503
Some Time methods will call internal quov() function and
quov() calls Numeric#quo -> Rational#quo -> ...
This patch will add rb_numeric_quo() as internal C API to call Num... -
02:10 AM Revision fb7c7d1e (git): sprintf.c: format by utility functions
- * sprintf.c (rb_str_format, fmt_setup): format by utility
functions in vsnprintf.c instead of `snprintf`.
* sprintf.c (rb_str_format): format and append by `rb_str_catf`
instead of formatting by `snprintf` and then copy.
git-svn-id... - 02:05 AM Revision cd946384 (git): * 2017-04-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:05 AM Revision be2e146a (git): sprintf.c: fix one-off bug
- * sprintf.c (rb_str_format): `CHECK` just before `FILL_`, but
after another `PUSH`. fix one-off bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/27/2017
-
10:41 PM Feature #13516 (Assigned): Improve the text of the circular require warning
- The warning currently reads:
`loading in progress, circular require considered harmful - /my/file.rb`
I think it would be more helpful like:
`Circular require: Loading of /my/file.rb is already in progress, but require was calle... -
05:51 PM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
- SASADA Koichi <ko1@atdot.net> wrote:
> On 2017/04/27 12:57, Eric Wong wrote:
> > https://80x24.org/spew/20170427034243.22272-1-e@80x24.org/raw
>
> Thank you. I understand the idea. My understanding is "Do not rely on
> native cond... -
05:12 AM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
- On 2017/04/27 12:57, Eric Wong wrote:
> https://80x24.org/spew/20170427034243.22272-1-e@80x24.org/raw
Thank you. I understand the idea. My understanding is "Do not rely on
native cond, but manage sleeping threads by ourselves (mana... -
04:12 AM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
- Eric Wong <normalperson@yhbt.net> wrote:
> This is my work-in-progress patch:
>
> https://80x24.org/spew/20170427033423.19856-1-e@80x24.org/raw
>
> I am still working on fixing the failing test (but I am
> distracted by another... -
03:42 AM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
- SASADA Koichi <ko1@atdot.net> wrote:
> On 2017/04/27 8:58, Eric Wong wrote:
> > I am looking to replace lock_func in thread_sync.c with
> > native_sleep or similar. This is to reduce Mutex size and
> > complexity by using a similar... -
03:32 AM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
- On 2017/04/27 12:13, SASADA Koichi wrote:
> I'm afraid that the assumptions for native_sleep() (and other functions)
> will be break and can't control.
I don't mean we should keep current assumption. But we need to update
assumpti... -
03:22 AM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
- On 2017/04/27 8:58, Eric Wong wrote:
> I am looking to replace lock_func in thread_sync.c with
> native_sleep or similar. This is to reduce Mutex size and
> complexity by using a similar method to what I did in r52332
> with ccan/l... -
12:09 AM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
- ko1@atdot.net wrote:
> Issue #13514 has been updated by ko1 (Koichi Sasada).
>
>
> Do you expect such situation?
Not right now. I am looking at making changes related to
threading, and I noticed this weirdness.
> (1) run r... -
03:12 PM Bug #9907: Abbreviated method assignment with private attr_writer/attr_reader does not work.
- Intentional fix.
-
12:19 PM Bug #9907: Abbreviated method assignment with private attr_writer/attr_reader does not work.
- This issue seems to have resurfaced. The issue is fixed in 2.2, but broken in both 2.3 and 2.4.
-
03:12 PM Bug #13509 (Closed): Ruby 2.4.1 Fails to Compile on Raspberry Pi 3, Raspbian
- It seems that the problem was the CFLAGS value
-mtune=native
which also caused the build of other applications to fail.
I'll try to report it to Raspbian.
I'm sorry for making this noise here. -
01:55 PM Bug #13397: #object_id should not be signed
- I created PR fixing the projects listed above.
But still, this seems so generic and unexpected issue, possibly influencing libraries which are part of StdLib [3, 4], I'd like to see this improved. Couldn't the #format accept "object_i... -
12:30 PM Revision 74a5dc58 (git): fix ripper prereq
- * common.mk (ext/ripper/ripper.c): fix VPATH when out-of-place
build, and id.h was created in the build directory too. it has
to include the build directory, i.e., the current directory
before `cd`.
git-svn-id: svn+ssh://ci.ruby-... -
12:10 PM Bug #13505: circular require prints the backtrace directly to stderr
- Thank you for the fix nobu.
I believe it should also send everything (message + backtrace) as a single String to Warning.warn.
I did that in r58493.
It would be nice to backport this to 2.4 for easier exception filtering,
but I gue... -
12:07 PM Revision acde5520 (git): Send the backtrace of the circular require warning as a single String to Warning.warn
- * load.c: send as a single string.
* error.c: expose the string formatted by rb_warning as rb_warning_string().
* test/ruby/test_exception.rb: update tests.
[ruby-core:80850] [Bug #13505]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
12:04 PM Bug #6825 (Closed): forking and pthread_cond_timedwait: Invalid argument (EINVAL) on OS X / 1.9.3-p194
- This bug report is on a unsupported Ruby version, closing.
-
11:47 AM Feature #12886: URI#merge doesn't handle paths correctly
- I'm giving up on this ever being improved. But for anyone who is interested in what I wanted, I ended up making a gem.
https://github.com/ioquatix/build-uri
It solves all my problems - correct, transparent, handling of absolute URL... -
11:24 AM Feature #12944: Change Kernel#warn to call Warning.warn
- Thank you nobu for fixing this, r58490 solves all my concerns for Kernel#warn.
-
10:00 AM Feature #9116: String#rsplit missing
- I find a use case.
>```
> ...
On PostgreSQL, I can retrieve databases information by SQL, and its ACL data is "datacl" column as key-value.
Its key is rolename (user/group name) and the value is the privilege, with separated "=".
T... -
09:47 AM Bug #13511: gem install fails on UNIX accounts with limited process count.
- Hello, libv8 maintainer here. This really does not look like an issue with Ruby itself. Seems to me it's due to Google's `depot_tools` spawning a bunch of processes to fetch `v8` and its dependencies' sources. Further discussion: https:/...
-
06:09 AM Bug #13515 (Closed): Pathname#join doesn't add separator on UNC paths
- When using `Pathname#join` on Windows, I have no problems when working with normal paths:
`irb(main):008:0> Pathname.new('C:/selenium').join('common')
=> #<Pathname:C:/selenium/common>`
However, when doing the same thing on UNC sh... -
04:21 AM Revision 29ca20de (git): refactor newhash (revision 58463 another try) [fix GH-1600]
- * st.c (rb_hash_bulk_insert): new API to bulk insert entries
into a hash. Given arguments are first inserted into the
table at once, then reindexed. This is faster than inserting
things using rb_hash_aset() ... - 03:16 AM Revision 42c2df99 (git): load.c: make fstrings from C strings sooner
- The underlying string objects will become fstrings anyways,
so create the fstring directly from the C string to reduce
intermediate garbage.
* load.c (rb_provide, rb_provide): create fstring
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
04/26/2017
-
11:32 PM Feature #12886: URI#merge doesn't handle paths correctly
- By the way, it's absolutely feasible to implement this correctly, simply by removing this check.
https://github.com/ruby/ruby/pull/1469/commits/7a7a33c9486c7d7b2caa7f5095bcb28fba1fe095
-
11:17 PM Feature #13514: [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
- Do you expect such situation?
(1) run ruby code # acquiring GVL
(2) run func on without_gvl() # releasing GVL
(3) run func on with_gvl() # re-acquire GVL
(4) run func on without_gvl() # releasing GVL <- here
I agree. It has a pr... -
09:30 PM Feature #13514 (Open): [PATCH] thread_pthread.c (native_sleep): preserve old unblock function
- Do not blindly clobber UBF if one exists, emulating the
behavior of the set_unblock_function and reset_unblock_function
pair.
I think the native_sleep implementation in thread_win32.c,
can use a similar change; but I do not run non... -
10:45 PM Bug #13501: Process.kill behaviour for negative pid is not documented and may be wrong
- Negative pid will send signal to the process group.
And specifically -1 will send it nearly system wide if the process user has root privileges. -
10:35 PM Bug #13501: Process.kill behaviour for negative pid is not documented and may be wrong
- Agreed - the behaviour should also be documented. Not that I think anyone wants to use a
negative PID (how is that even possible) but simply because one could pass -1 or -42 or
whatever. -
08:13 PM Revision d249b047 (git): error.c: send as a single string
- * error.c (rb_warn_m): send the arguments as a single string
concatenated with a newline, so it can be filtered easily.
[ruby-core:80875] [Feature #12944]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58490 b2dd03c8-39d4-4d8f-98... -
08:11 PM Bug #13511 (Third Party's Issue): gem install fails on UNIX accounts with limited process count.
- hugespider (Clauss Gigantisch) wrote:
> I see issue is closed, so maybe I'm addressing wrong project and ask author(s) of libv8 ( or anything in between )?
Yes, exactly.
-
06:34 PM Bug #13511: gem install fails on UNIX accounts with limited process count.
- nobu (Nobuyoshi Nakada) wrote:
> Try `gem install --user-install`.
Like this?
````
$ gem install libv8 --user-install
WARNING: You don't have /home/spider/.gem/ruby/2.2.0/bin in your PATH,
gem executables will not run.
Bui... -
01:19 PM Bug #13511 (Rejected): gem install fails on UNIX accounts with limited process count.
- Try `gem install --user-install`.
-
11:25 AM Bug #13511 (Third Party's Issue): gem install fails on UNIX accounts with limited process count.
- On web hosting server ( paid remote server ) I cannot build libv8, because building system runs out of available processes.
Process limit is set to fixed value on that account.
So far I see no way to pass that limit to gem's buildi... - 08:09 PM Revision 6a4061ce (git): * 2017-04-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:09 PM Revision d786797d (git): error.c: improve docs
- * error.c: [DOC] fix rdoc formatting (make sure `Warning.warn' is
displayed verbatim; rdoc would render it as a link named `#warn'),
use capitalized "Ruby", fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58488 b2dd03c... -
05:32 PM Bug #13513: Resolv::DNS::Message.decode hangs after detecting truncation in UDP messages
- After further consideration I had a look at rfc1035 with regard to the handling of record counts in truncated messages and it discusses ANCOUNT as being the number of answers in the answer section and not necessarily the number of answer...
-
04:13 PM Bug #13513 (Closed): Resolv::DNS::Message.decode hangs after detecting truncation in UDP messages
- ruby-core:32407 introduced support for a TCP requestor in fetch_resource if Resolv::DNS::Message.decode returned RCode::NoError and a reply tc of 1.
Unfortunately Resolv::DNS::Message.decode proceeds to attempt to unpack all answers b... -
04:55 PM Bug #13510 (Closed): Problems with dependency resolution - Molinillo algo
-
08:19 AM Bug #13510 (Third Party's Issue): Problems with dependency resolution - Molinillo algo
- 1. go to https://rubygems.org/gems/azure and click download button.
2. `tar xfp azure-0.7.9.gem`
3. look at metadata.gz
So the gem is built that way. -
06:38 AM Bug #13510 (Third Party's Issue): Problems with dependency resolution - Molinillo algo
- This is the gemspec defined for the azure ruby gem (https://github.com/Azure/azure-sdk-for-ruby/blob/asm/azure.gemspec#L39)
```ruby
if RUBY_VERSION < "2.1.0"
s.add_runtime_dependency('nokogiri', '~> 1.6.0')
els... -
03:30 PM Feature #13512: System Threads
- So, I'd love to use a native thread to do compilation, however, that means compilation is cut off entirely from the interpreter: Any and all `rb_` family functions that are only callable under the GVL become out of bounds. In the short t...
-
03:10 PM Feature #13512: System Threads
- Sorry I can't understand your proposal. What is the problem and why System thread solve it?
As I said before, I'm not sure why you need to cooperate with Ruby threads.
Such compilation threads should run on native threads which are ind... -
02:16 PM Feature #13512 (Rejected): System Threads
- In this feature I propose creating a VM implementation feature called (for lack of a better name) *System Threads*.
Background
==========
I am working on adding asynchronous compilation to [Ruby+OMR][1] allow compilation of meth... -
03:27 PM Bug #13500: MinGW TestArity#test_proc_err_mess stops testing
- Today (2017-04-26), I built `ruby 2.5.0dev (2017-04-26 trunk 58487) [x64-mingw32]`
To complete test-all, it required additional patches for:
```
test/fileutils/test_fileutils.rb
test/ruby/test_arity.rb
test/ruby/test_keyword.rb
... -
02:09 PM Feature #13488: Set Encoding.default_external to UTF-8 on Windows
- MSP-Greg (Greg L) wrote:
> Sorry for not being more specific. As far as you know, approximately what percentage of Japanese Windows Ruby users use MinGW builds, and what percentage use mswin builds?
Sorry, I don't know such statistics. -
01:56 PM Feature #13488: Set Encoding.default_external to UTF-8 on Windows
- usa (Usaku NAKAMURA) wrote:
> MSP-Greg (Greg L) wrote:
> ...
Sorry for not being more specific. As far as you know, approximately what percentage of Japanese Windows Ruby users use MinGW builds, and what percentage use mswin builds? -
01:44 PM Feature #13488: Set Encoding.default_external to UTF-8 on Windows
- MSP-Greg (Greg L) wrote:
> On the topic of Japanese Windows users, what type of Ruby builds are they using, mswin or MinGW?
Of course, we use both, as far as I know.
-
01:21 PM Feature #13488: Set Encoding.default_external to UTF-8 on Windows
- usa (Usaku NAKAMURA) wrote:
> Come Japan and check Japanese Windows users' text files :)
On the topic of Japanese Windows users, what type of Ruby builds are they using, mswin or MinGW?
-
12:44 PM Feature #12944: Change Kernel#warn to call Warning.warn
- nobu (Nobuyoshi Nakada) wrote:
> Nitpicking an edge case, these two are different.
I see, do you think it is important?
I think the second output is actually more natural for a warning.
r58487 is not enough, it calls Warning#writ... -
01:03 AM Feature #12944: Change Kernel#warn to call Warning.warn
- Nitpicking an edge case, these two are different.
```ruby
puts "foo", "" #=> "foo\n" and "\n"
```
```ruby
puts ["foo", ""].join("\n") #=> "foo\n"
``` -
12:02 PM Bug #13509: Ruby 2.4.1 Fails to Compile on Raspberry Pi 3, Raspbian
- It does seem to be able to compile with
GCC, if the CFLAGS=="" and
./configure --prefix=/home/mmmv_applications_set_01/applications/Ruby/v_2_4_1 --enable-shared --enable-load-relative --enable-multiarch --disable-install-doc --di... -
06:10 AM Bug #13509: Ruby 2.4.1 Fails to Compile on Raspberry Pi 3, Raspbian
- shyouhei (Shyouhei Urabe) wrote:
> > configure: error: C compiler cannot create executables
> ...
Does that also apply to the LLVM based session that
does not have such an error message? -
06:07 AM Bug #13509 (Third Party's Issue): Ruby 2.4.1 Fails to Compile on Raspberry Pi 3, Raspbian
- > configure: error: C compiler cannot create executables
It's your compiler who's dying. Report this to Raspbian. -
06:00 AM Bug #13509: Ruby 2.4.1 Fails to Compile on Raspberry Pi 3, Raspbian
- The LLVM based console session, where the configure step
completes, but make step fails. -
05:55 AM Bug #13509: Ruby 2.4.1 Fails to Compile on Raspberry Pi 3, Raspbian
- If the CXX=="clang++" and CC=="clang", then the configure step completes.
-
05:45 AM Bug #13509 (Third Party's Issue): Ruby 2.4.1 Fails to Compile on Raspberry Pi 3, Raspbian
The console session:
~~~
mmmv_applications_set_01@acstorage3334:~/applications/Ruby/originals/kompil/ruby-2.4.1 $ uname -a
Linux acstorage3334 4.4.50-v7+ #970 SMP Mon Feb 20 19:18:29 GMT 2017 armv7l GNU/Linux
mmmv_applications_se...-
08:11 AM Revision ec7833ef (git): error.c: splat warn arguments
- * error.c (rb_warn_m): print array arguments with splatting.
it is often used with `caller`.
[ruby-core:80849] [Feature #12944]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:53 AM Feature #13173 (Assigned): Gemify webrick
- I got ownership of webrick gem from nahi.
I will release webrick gem after https://github.com/rubygems/rubygems.org/pull/1608 merged. -
12:30 AM Revision 6c8852c1 (git): range.c: remove no longer used variable
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:11 AM Bug #13181: Unexpected line in rescue backtrace
- I think this is parse.y issue.
The lineno of NODE_RESCUE is 1 correctly with `begin ... rescue ... end` pattern.
```
$ cat a.rb
begin
raise
rescue
raise ""
end
$ ./miniruby -v --dump=parsetree a.rb|grep -e "NODE.*line"...
04/25/2017
- 08:20 PM Revision 6e5e1b37 (git): thread_sync.c (rb_mutex_lock): spelling fix [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:34 PM Revision c0fff4e0 (git): Use require to load rbconfig in default.mspec
- * Otherwise it would be loaded twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:13 PM Revision 8a66d135 (git): suppress_warning
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:50 PM Revision 301d669a (git): add timeout.
- * test/ruby/test_trace.rb (test_trace_stackoverflow): sometimes this test
was stopped forever and killed by test process forcibly. However, this
test only checks if this code cause some critical failure such as SEGV.
So that we can... - 05:24 PM Revision 44011ee0 (git): * 2017-04-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:24 PM Revision de1a9d65 (git): revert r58478 and r58479 because they do not support not in-place build
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:12 PM Feature #13495: add Range#count as an alias to Range#size
- Sorry, I got confused. `Enumerator` has a `size` method, not `Enumerable`.
-
02:49 PM Feature #13495: add Range#count as an alias to Range#size
- > PS: "Enumerable does not have size" is incorrect. Enumerable have a size method, although it may return nil if the result can not be calculated lazily.
I don't think that's true. The docs don't show it and it doesn't get added when ... -
05:14 AM Feature #13495: add Range#count as an alias to Range#size
- PS: "Enumerable does not have size" is incorrect. `Enumerable` have a `size` method, although it may return `nil` if the result can not be calculated lazily.
-
05:11 AM Feature #13495 (Rejected): add Range#count as an alias to Range#size
- `size` calculates the size lazily, without enumerating. If it can't, it returns `nil`.
`count` calculates the size by doing the actual enumeration. It never returns `nil`, but may never finish.
(1..10**8).count # => takes a few s... -
12:45 PM Revision fc8a2c2f (git): Use require_relative to load rbconfig in default.mspec
- * Otherwise it would load it twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:45 PM Revision 6d989921 (git): No need to pass the config file to mspec as mspec finds it itself
- * It would also #load (because .mspec cannot be #require'd) it twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:45 PM Revision 7a7744a4 (git): Remove useless else which produced a warning
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:10 PM Feature #12944: Change Kernel#warn to call Warning.warn
- I attach a patch based on Jeremy "Use rb_ary_join" patch, rebased to current trunk.
I think using args.join("\n") is a good way to restore the needed compatibility as shown above and yet simple enough.
It's also what I intuitively us... -
11:47 AM Feature #7688: Error hiding with rb_rescue() on Comparable#==, #coerce and others
- All rb_rescue() hiding user exceptions and/or re-raising a generic errors (mentioned above) have now been removed.
Please do not introduce rb_rescue() call in MRI, hiding user exceptions is harmful.
This changes make it much easier... -
11:42 AM Feature #7688 (Closed): Error hiding with rb_rescue() on Comparable#==, #coerce and others
- Applied in changeset trunk|r58474.
----------
no longer rescue exceptions in numeric comparison operations
* numeric.c (do_coerce): no more error hiding.
* test/ruby/test_numeric.rb: follow the change.
[Feature #7688] -
11:42 AM Revision ead61f4a (git): no longer rescue exceptions of #<=> when initializing a Range
- * range.c (range_init): no longer hide the user exception
with a ArgumentError, just let the user exception go through.
* test/ruby/test_range.rb (test_new): add tests.
[Feature #7688]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru... -
11:42 AM Revision 413cece5 (git): no longer rescue exceptions of #coerce in Integer#step
- * numeric.c (num_step_negative_p): no more error hiding.
* test/ruby/test_float.rb, test/ruby/test_numeric.rb:
follow the change. [Feature #7688]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58475 b2dd03c8-39d4-4d8f-98ff-823fe69b... -
11:42 AM Revision bc1827e8 (git): no longer rescue exceptions in numeric comparison operations
- * numeric.c (do_coerce): no more error hiding.
* test/ruby/test_numeric.rb: follow the change.
[Feature #7688]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:23 AM Revision 33f66084 (git): Import gemspec
- Import gemspec and test file from ruby/webrick.
* webrick.gemspec: Update files and dependency for standalone gem.
* test/webrick/utils.rb: Added explicitly loading of EnvUtil for
test suite without ruby core test suite.
git-sv... -
09:10 AM Feature #13504 (Closed): Document the Warning module and warn method
- Applied in changeset trunk|r58472.
----------
Document the Warning module and warn method
* error.c (Warning): add documentation. [Feature #13504]
Author: Jeremy Evans <code@jeremyevans.net> -
09:10 AM Revision 905d5277 (git): Document the Warning module and warn method
- * error.c (Warning): add documentation. [Feature #13504]
Author: Jeremy Evans <code@jeremyevans.net>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:17 AM Bug #13505 (Closed): circular require prints the backtrace directly to stderr
- Applied in changeset trunk|r58471.
----------
load.c: backtrace of circular require
* load.c (load_lock): print backtrace of circular require via
`Warning.warn` [ruby-core:80850] [Bug #13505] -
08:17 AM Revision 5ad56e7c (git): load.c: backtrace of circular require
- * load.c (load_lock): print backtrace of circular require via
`Warning.warn` [ruby-core:80850] [Bug #13505]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:55 AM Revision 0adeb1c8 (git): Import gemspec and test file changes from ruby/gdbm.
- * gdbm.gemspec: Update basic configuraiton for standalone gdbm gem.
* test/gdbm/test_gdbm.rb: In standalone environment, It needs to
explicit loading of EnvUtil module for test suite.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
07:23 AM Feature #13508 (Assigned): How remove/refactor code related mathn library.
- I removed mathn library at r58413 and r58432.
I have some concerns related mathn library. This issue is reminder for this concern.
1. Still remains conditions for mathn loaded. ex. https://github.com/ruby/ruby/blob/trunk/array.c#L5... -
07:20 AM Feature #13507 (Open): Improve performance of some Complex methods where call Numeric#real? internally
- Some Complex methods call Numeric#real? at f_real_p() using rb_funcall().
This patch will provide optimization in f_real_p() when Integer/Float is given as internal objects.
### Before
~~~
Calculating ------------------------------... - 06:51 AM Revision 3c778545 (git): * 2017-04-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:51 AM Revision 76686416 (git): fix macro expansion bug
- This previous "key" macro argument accidentally replaced `(ptr)->key` part.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:33 AM Feature #13502: remove unused Array#to_s implementation
- Thanks for the feedback Eric. I'll work on that.
-
05:25 AM Feature #13506 (Open): Improve performance of Complex#{+,-,*,/,**,abs2}
- At the internal calculation in Complex methods,
it will just call Ruby #{+,-,*,/} methods via rb_funcall().
This patch will provide the optimization path for calculation
using #{+,-,/,*} methods for internal Fixnum objects.
### B...
04/24/2017
-
08:59 PM Feature #13504: Document the Warning module and warn method
- Thank you, this looks great.
I'll be happy to commit this tomorrow. -
06:44 PM Feature #13504 (Closed): Document the Warning module and warn method
- When I originally added the Warning module, I neglected to added RDoc documentation for it. Apologies for that, here's a patch that should fix it.
This could be backported to 2.4, but it would need slight modifications as Kernel#warn... -
08:49 PM Feature #12944: Change Kernel#warn to call Warning.warn
- Also, similar to #13505, I think a single warning String (containing newlines) should be sent to Warning.warn.
Otherwise, `warn "my warning", caller` will appear as two different calls to Warning.warn and the second call cannot be filte... -
08:40 PM Feature #12944: Change Kernel#warn to call Warning.warn
- It seems it is a compatibility issue.
For instance Thread.exclusive warning is now printed incorrectly:
~~~
$ ruby -ve 'def m; Thread.exclusive {}; end; m'
ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]
Thread.exclusive i... -
08:45 PM Bug #13505 (Closed): circular require prints the backtrace directly to stderr
- The "loading in progress, circular require considered harmful" warning prints the caller backtrace directly to stderr:
~~~ c
if (RTEST(ruby_verbose)) {
rb_warning("loading in progress, circular require considered harmful - %s",... -
06:29 PM Feature #13495: add Range#count as an alias to Range#size
- I should have considered that. I was focused on the use case at hand. :(
I still feel like there needs to be a way to do this that's safe. Perhaps the solution is adding `Enumerable#size` and letting `size` be the option that's safe f... -
07:22 AM Feature #13495: add Range#count as an alias to Range#size
- we can't do that.
Enumerable#count does can take a block with you can define that you want to count.
~~~ ruby
(1..4).count(&:even?) #=> 2
~~~
so we can't make Range#count be an alias for Range#size without breaking other stuff. -
06:12 PM Feature #12299: Add Warning module for customized warning handling
- > Precisely because it makes it easier to define Warning.warn manually and call super to get default behavior.
I see, this sounds worth documenting in the rdoc of Warning#warn then :) -
12:38 AM Feature #12299: Add Warning module for customized warning handling
- Eregon (Benoit Daloze) wrote:
> This feature is great, thank you for introducing it!
> ...
I think this is expected. If you want to filter/process warnings, it's best to setup `Warning.warn` close to process initialization, before loa... -
04:40 PM Bug #13500: MinGW TestArity#test_proc_err_mess stops testing
- This morning, a MinGW build of
```
ruby 2.5.0dev (2017-04-24 trunk 58467) [x64-mingw32]
```
completed `test-all` with
```
16621 tests, 2227533 assertions, 8 failures, 1 errors, 114 skips
```
I've mentioned that I am not f... -
03:46 PM Bug #13489: "make test-all" fails on macOS with case-sensitive filesystem
- パッチをあててみましたが、状況は変わらないようです。
Kernel.open が呼び出す rb_file_open_generic() の rb_sysopen() で「例外が発生する/発生しない」というのが
問題なのかと思っておりましたが、パッチで変更があった File.expand_path や Dir.glob の問題なのでしょうか?
-
02:26 PM Bug #13489: "make test-all" fails on macOS with case-sensitive filesystem
- これでどうでしょうか。
```diff
diff --git i/dir.c w/dir.c
index e3099f4973..b02640e912 100644
--- i/dir.c
+++ w/dir.c
@@ -1528,34 +1528,52 @@ join_path(const char *path, long len, int dirsep, const char *name, size_t namle
#ifdef HAVE_... -
11:52 AM Revision 4cf6302d (git): tool/git-refresh: fix branch operations
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:07 AM Bug #13503: Improve performance of some Time & Rational methods
- ### Pull Req
https://github.com/ruby/ruby/pull/1596
-
08:36 AM Bug #13503 (Closed): Improve performance of some Time & Rational methods
- Some Time methods will call internal quov() function.
quov() calls Rational#quo -> f_muldiv() -> i_gcd() in rational.c
i_gcd() will calculate GCD using Euclidean's Algorithm and it lose a long time in modulo method (ie "x = y % x;").
... -
06:17 AM Revision 80f50674 (git): parse.y: args tail at error
- * parse.y (new_args_tail_gen): abandon parsing arguments after
error. reported by ilsani Martino Sani (ilsani) at
https://hackerone.com/reports/221201
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58466 b2dd03c8-39d4-4d8f-98ff-... -
06:17 AM Revision 7c23609e (git): parse.y: rb_parser_fatal
- * parse.y (rb_parser_fatal): abort compilation on internal parser
error. rb_bug() is generic use but not useful for debugging the
parser. this function dumps internal states, and continues with
enabling yydebug output to stderr f... -
05:08 AM Feature #13502: remove unused Array#to_s implementation
- Thanks for the report. I think we need to keep an alias for
rb_ary_to_s in intern.h for backwards-compatibility. intern.h
is (unfortunately) part of the public API which 3rd-party
extensions may depend on.
Perhaps use the RUBY_A... -
04:53 AM Feature #13502 (Open): remove unused Array#to_s implementation
- Hello Ruby Team!
First time i've make a commit request, hopefully not the last :)
While browsing the src of ruby, specifically array.c i noticed that Array#to_s is an alias of Array#inspect but the implementation of Array#to_s stil... -
04:20 AM Revision 5b3c9fc9 (git): Get rid of unnecessary GCC extension
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:40 AM Revision a15fd1d9 (git): revert newhash refactoring
- We need to fix GC bug before merging this. Revert revisions
58452, 58435, 58434, 58428, 58427 in this order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/23/2017
-
11:05 PM Bug #13501 (Closed): Process.kill behaviour for negative pid is not documented and may be wrong
- Following code will not fail and will print "TERM caught by NN" both for spawned and forked processes:
~~~ ruby
pid = spawn 'ruby', '-e', <<-'RUBY', :pgroup => true
trap('TERM'){ print "TERM caught by #{$$}\n" }
fork
sleep 1... -
10:30 PM Bug #13500 (Closed): MinGW TestArity#test_proc_err_mess stops testing
- With MinGW build of `ruby 2.5.0dev (2017-04-24 trunk 58462) [x64-mingw32]`, both test-all and an external test stop in [`TestArity#test_proc_err_mess`](https://github.com/ruby/ruby/blob/b3209c258eddc093ffdcbf77ee079cdc93f094ae/test/ruby/...
-
08:22 PM Feature #12299: Add Warning module for customized warning handling
- This feature is great, thank you for introducing it!
A couple things I noticed while using it for ruby/spec:
https://github.com/ruby/mspec/commit/954054c03da1c90c9653f238c78c888644760ab8
* Parser warnings are emitted at parse time... -
04:56 PM Bug #13499 (Closed): need to backport r58453
- バックポート管理用チケットです。
(ついでに r58454 も、かな) -
04:19 PM Feature #12921 (Closed): Retrieve user and password for proxy from env
- Applied in changeset trunk|r58461.
----------
Allow Net::HTTP to fetch user/pass from http_proxy
Note that this feature is enabled only on environment variables are
multi-user safe. In this time the list includes Linux, FreeBSD, or
Dar... - 04:19 PM Revision b3209c25 (git): * 2017-04-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:19 PM Revision c7ec1b1f (git): Allow Net::HTTP to fetch user/pass from http_proxy
- Note that this feature is enabled only on environment variables are
multi-user safe. In this time the list includes Linux, FreeBSD, or
Darwin. [Bug #12921]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58461 b2dd03c8-39d4-4d8f-98ff-... -
04:19 PM Revision ece9698d (git): suppress warning: shadowing outer local variable
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:51 PM Revision 93955c75 (git): Add diagnostic reports section header [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:47 PM Revision 8284de59 (git): assert_syntax_error returns the exception [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:16 AM Bug #13498 (Closed): Weakref, Weakmap and define_finalizer don't work on frozen objects
- I'm just creating a single ticket for these issues, I guess they're actually all the same (I've seen weakref uses weakmap, not sure about define_finalizer).
```ruby
require 'weakref'
map = ObjectSpace::WeakMap.new
o = Object.ne... -
06:37 AM Bug #13489: "make test-all" fails on macOS with case-sensitive filesystem
- `Kernel.open` で使用している POSIX `open` が case-sensitive と非 case-sensitive で振る舞いが違うようです。`Kernel.open` の処理を抜き出したもので試してみました。
```c
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
int main()
{
const char *file = "file.tes... -
04:27 AM Misc #13497 (Open): Docs, code samples, Ripper example
- I think it's fair to say that virtually all Ruby documentation today is created by doc generation systems based either on YARD or RDoc. Code samples/examples are common. YARD uses Ripper to parse samples for highlighting, I believe RDo...
-
02:47 AM Bug #13496: Patches for MinGW builds - gnu_printf in 'config' & defines.h
- Just noticed the 2nd line of the 1st patch should be --
```
+++ b/configure.in Thu Apr 20 13:44:41 2017
```
-
12:51 AM Bug #13496 (Closed): Patches for MinGW builds - gnu_printf in 'config' & defines.h
- Thanks to Nobu for [58448](https://github.com/ruby/ruby/commit/27ed9f1d290a6ff6b788976ea7139c608920ee1e), which led me to the probable cause of many (but not all) of the silent SEGV's I was having in test-all, which is the patch of `defi...
-
01:31 AM Revision 0ae219f0 (git): Document parse.y instead of ext/ripper/ripper.c
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:31 AM Revision 9778c8da (git): ext/dl has been removed already [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:23 AM Revision 41e6fd89 (git): use $(srcdir).
- * win32/Makefile.sub (enc/jis/props.h): build it in not builddir,
but in srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:04 AM Revision be7309dd (git): Refactor "%f" % Inf/NaN
- * sprintf.c (rb_str_format): as for non-finite float, calculate
the exact needed size with the space flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:04 AM Revision 6f8f950c (git): Fix space flag when Inf/NaN and width==3
- * sprintf.c (rb_str_format): while `"% 2f"` and `"% 4f"` result in
`" Inf"` and `" Inf"` respectively, `"% 3f"` results in
`"Inf"` (no space).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:20 AM Revision a6f0ec21 (git): mark Hash keys correctly.
- * hash.c (rb_hash_new_from_object): same as r58434.
Newly created frozen objects are not referred from any roots/objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e