Activity
From 06/01/2018 to 06/07/2018
06/07/2018
-
11:48 PM Bug #14829: test-all - 2 fails - 63589 - Windows - part of 'Introduce write_timeout to Net::HTTP'
- Earlier today, I pushed a patch file equivalent to GitHub _PR_1883.patch to ruby-loco, and the build for
ruby 2.6.... -
02:32 PM Bug #14829: test-all - 2 fails - 63589 - Windows - part of 'Introduce write_timeout to Net::HTTP'
- See GitHub PR 1883. https://github.com/ruby/ruby/pull/1883
Passed. Patch attached - GitHub_PR_1883.patch.
Th... - 11:18 PM Revision 77d9fbe2 (git): * 2018-06-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:18 PM Revision da9bd7a4 (git): node.c: Fix format of NODE_OP_ASGN1 and NODE_OP_ASGN2
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:49 PM Feature #14594: Rethink yield_self's name
- ~~~ ruby
a = 5
y = if a.then then 1 else 2 end
~~~
Hmm. What are you trying do with Ruby? -
02:56 PM Feature #14833: Add RubyVM::AST::Node#pretty_print
- Yay! \o/
Pretty print all the things. -
02:44 PM Feature #14833 (Open): Add RubyVM::AST::Node#pretty_print
- # Abstract
This patch adds `RubyVM::AST::Node#pretty_print` for `pp`.
# Background
`RubyVM::AST::Node#inspec... -
02:46 PM Revision daf789b5 (git): ast.c: refine AST#children
- * ast.c (node_children): refined RubyVM::AST#children to include
symbols (variables, methods, classes, etc).
git-s... -
02:40 PM Revision 69e5eb35 (git): ast.c: adjust indent
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:04 PM Revision 66661034 (git): ast.c: Fix to raise `SyntaxError`
- * ast.c: Fix to raise `SyntaxError` when `RubyVM::AST.parse`
or `RubyVM::AST.parse_file` fail to parse input.
* tes... -
12:10 PM Revision afa7bfee (git): Promote Matrix to default gems.
- The upstream repository is https://github.com/ruby/matrix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63601 b... -
12:06 PM Revision 905e8967 (git): Fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:49 AM Feature #14832: Net::ReadTimeout and Net::WriteTimeout should tell the cause socket
- > Maybe WriteTimeout#initialize should get inspect or address.
Sure.
See attached file. -
10:32 AM Feature #14832: Net::ReadTimeout and Net::WriteTimeout should tell the cause socket
- TCPSocket#inspect shows its address and port from Ruby 2.5 like `#<TCPSocket:fd 10, AF_INET6, ::1, 56090>`.
But if t... -
09:57 AM Feature #14832 (Closed): Net::ReadTimeout and Net::WriteTimeout should tell the cause socket
- When `Net::ReadTimeout` occurs, we can't get any information from the exception.
It makes the trouble shooting too d... -
10:33 AM Feature #14767: [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
- I wrote:
> I think the original unsigned + underflow avoidance code
> prevented us from accounting free() properly... -
10:13 AM Revision 5a10e577 (git): Promote OpenStruct to default gems.
- Upstream repository is https://github.com/ruby/ostruct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63599 b2dd... -
08:48 AM Bug #14818 (Closed): [Docs] Backport r63112 to ruby 2.5
-
07:10 AM Bug #14831 (Closed): [BUG] Segmentation fault at 0x0000000000000020 ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17]
- While running
gem update
Installing darkfish documentation for ffi-1.9.25
/Users/christopherweltz/.rbenv/ver... -
06:18 AM Revision 265bfdfb (git): skip write_timeout test on Windows
- This test is about write_timeout.
To ensure it really raised Net::WriteTimeout, skip this test on Windows,
whose writ... - 02:37 AM Revision d7e80175 (git): Some platforms immediately returns from Socket#write
- * test/net/http/test_http.rb (test_timeout_during_HTTP_session_write): on some
platforms such as Windows immediatel... - 01:14 AM Revision 7cc12d63 (git): iseq.h (struct iseq_compile_data): remove cached_const field
- Nobody uses it, and "git log -p -Scached_const" shows it's ever
been used in public history.
git-svn-id: svn+ssh://c...
06/06/2018
-
11:59 PM Feature #14739: Improve fiber yield/resume performance
- @cremes Thanks for your positive feedback and linking me to related issues.
The coroutine implementation was speci... -
09:32 PM Feature #14739: Improve fiber yield/resume performance
- I'd like to link this to another open issue regarding Fiber migration between threads. https://bugs.ruby-lang.org/iss...
-
10:30 PM Feature #13821: Allow fibers to be resumed across threads
- Eregon (Benoit Daloze) wrote:
> It's also problematic for locks and other resources which are per-thread (some of th... -
10:09 PM Bug #14829: test-all - 2 fails - 63589 - Windows - part of 'Introduce write_timeout to Net::HTTP'
- After getting frustrated with something else, I revisited this, as the errors were a test timeout errors. Followed t...
-
02:39 PM Bug #14829 (Closed): test-all - 2 fails - 63589 - Windows - part of 'Introduce write_timeout to Net::HTTP'
- @naruse
At 63589, Windows builds, both mswin & MinGW are failing on the following two tests:
TestNetHTTP_v1_2#t... -
09:13 PM Feature #14819: Efficient cstring to RVALUE typecasting for c extension gems
- [email protected] wrote:
> > I think a better path would be to bundle timegm for systems without it.
> And... -
02:21 PM Feature #14819: Efficient cstring to RVALUE typecasting for c extension gems
- > I think a better path would be to bundle timegm for systems without it.
And that's the problem. We have 3 implem... -
08:57 PM Feature #14814 (Closed): rb_vm_insn_addr2insn: use sto to perform addr2insn mapping
- Applied in changeset trunk|r63594.
----------
rb_vm_insn_addr2insn: use st to perform addr2insn mapping
The current... - 08:57 PM Revision cb05ed5d (git): * 2018-06-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:57 PM Revision 609939f8 (git): rb_vm_insn_addr2insn: use st to perform addr2insn mapping
- The current VM_INSTRUCTION_SIZE is 198, so the linear search
painful during a major GC phase.
I noticed rb_vm_insn_a... -
07:31 PM Bug #13438: Fix heap overflow due to configure.in not being updated for HEAP_* -> HEAP_PAGE_* variable renaming
- shyouhei (Shyouhei Urabe) wrote:
> We looked at this issue several times in recent developer meeting and it seems ok... -
06:29 PM Feature #14382: Make public access of a private constant call const_missing
- nobu (Nobuyoshi Nakada) wrote:
> In the case it is accessed from an inherited class, the receiver class/module may d... -
04:05 PM Misc #14769: DevelopersMeeting20180621Japan
- * [Feature #14830] RubyVM::MJIT.pause / RubyVM::MJIT.resume (k0kubun)
* Is it okay to add such methods? If so, is ... -
04:01 PM Feature #14491: MJIT needs internal debugging methods
- Hi Sam. I've researched many factors of slowdown by JIT and currently I don't have any idea to fix performance degrad...
-
03:55 PM Feature #14830: RubyVM::MJIT.pause / RubyVM::MJIT.resume
- I already created a patch for this https://github.com/ruby/ruby/pull/1882. Please check it out if you're interested i...
-
03:52 PM Feature #14830 (Closed): RubyVM::MJIT.pause / RubyVM::MJIT.resume
- This ticket is picking only MJIT.pause from https://bugs.ruby-lang.org/issues/14491 and adding MJIT.resume.
# Purp... -
02:36 PM Revision 0dc50688 (git): mjit.c: unify wording between comments and variables
- Some comments say "stop", others say "finish".
I'm going to add code which dynamically stops MJIT worker, rather tha... -
02:01 PM Revision c9953151 (git): math.c: adjust cbrt
- * math.c (math_cbrt): refine the approximation result on boundary
values by an iteration of Newton-Raphson method.
... -
12:13 PM Revision 439e5078 (git): Use `Net::HTTPClientException` instead of `Net::HTTPServerException`
- `Net::HTTPServerException` has been deprecated since r63590. [Bug #14688]
And `net/http/responses.rb` uses the deprec... -
10:21 AM Feature #11538 (Feedback): ensure variable syntax
-
09:04 AM Feature #13396: Net::HTTP has no write timeout
- [email protected] wrote:
> https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63587
For Op... -
08:03 AM Feature #13396 (Closed): Net::HTTP has no write timeout
- Applied in changeset trunk|r63587.
----------
Introduce write_timeout to Net::HTTP [Feature #13396] -
09:01 AM Feature #14688 (Closed): Net::HTTPResponse#value raises "Net::HTTPServerException" in 4xx response
- Applied in changeset trunk|r63590.
----------
Add Net::HTTPClientException [Bug #14688] -
09:01 AM Revision 8e37f176 (git): Add Net::HTTPClientException [Bug #14688]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:42 AM Feature #14813: [PATCH] gc.c: make gc_enter+gc_exit pairs dtrace probes, too
- > https://bugs.ruby-lang.org/issues/14813
Fwiw, I'm still learning systemtap myself; and I made r63581
the dtrac... -
08:39 AM Revision 685fdbe6 (git): fix r63587
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:34 AM Revision 37ea6530 (git): fix r63587 with temporal patch to pass the tests. please re-fix it.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:03 AM Revision bd7c46a7 (git): Introduce write_timeout to Net::HTTP [Feature #13396]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:14 AM Revision acc48fce (git): ast.c: Change tabs to spaces
- * ast.c: I created a new C source code file with tabs and spaces mixed
format by mistake. Currently we move to spac... -
05:38 AM Feature #14802: Update Unicode data to Unicode Version 11.0.0
- Unicode Version 11.0.0 has been published, the official announcement can be found at http://blog.unicode.org/2018/06/...
-
01:49 AM Bug #8316: Can't pass hash to first positional argument; hash interpreted as keyword arguments
- ozydingo (Andrew Schwartz) wrote:
> This is unfortunately still an issue with default values in positional arguments... -
01:22 AM Bug #14828: syn 63583 fix for windows
- [email protected] wrote:
> https://bugs.ruby-lang.org/issues/14828
Thanks for the report. I moved the methods... -
01:12 AM Bug #14828 (Closed): syn 63583 fix for windows
- Applied in changeset trunk|r63585.
----------
test/io/console/test_io_console.rb: fix for systems where PTY is not d... -
12:36 AM Bug #14828 (Closed): syn 63583 fix for windows
- @normalperson
svn 63583 seems to have broken the mswin build, I have the same issue locally with MinGW. The metho... - 01:12 AM Revision 1c8b3708 (git): test/io/console/test_io_console.rb: fix for systems where PTY is not defined
- [ruby-core:87420] [Bug #14828]
Thanks-to: MSP-Greg (Greg L)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63585 ...
06/05/2018
-
11:23 PM Feature #14813: [PATCH] gc.c: make gc_enter+gc_exit pairs dtrace probes, too
- > https://bugs.ruby-lang.org/issues/14813
> I would like to use these with systemtap to gather
> min/max/avg/var... - 10:32 PM Revision 6df880c8 (git): test/lib/jit_support.rb: spelling: s/skiped/skipped/
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:28 PM Revision bcd984f0 (git): test/io/console/test_io_console.rb: ignore TTOU on FreeBSD
- I'm not entirely sure why, but SIGTTOU pauses the test
when running test-all in parallel.
git-svn-id: svn+ssh://ci.r... - 10:01 PM Revision 4e730838 (git): encoding.c: remove rb_gc_mark_encodings
- rb_gc_mark_encodings has been empty for a decade
(since r17875 / 28b216ac45262819f8bc7be0b1417a707974f94b).
Just remo... - 09:19 PM Revision 750f1a39 (git): test/dtrace/helper.rb: support systemtap in dtrace tests
- For the current cases, a few string substitions is enough to
make dtrace(1) scripts work with stap(1). For more comp... - 09:19 PM Revision bd80fc53 (git): test/dtrace: enable Tracepoint for function calls
- Since [Feature #14104], "trace" instructions are no
longer emitted by default, so we must enable them explicitly
for ... - 09:19 PM Revision ca9cf0e0 (git): test/dtrace/test_method_cache.rb: avoid spewing too much
- Don't output method cache clearing at startup since
it causes dtrace to drop output and break the test.
git-svn-id: ... - 09:19 PM Revision c97952dd (git): test/dtrace/test_array_create.rb: require line number
- Nowadays we create empty arrays in the parse/compile
phase which gave us lineno==0.
git-svn-id: svn+ssh://ci.ruby-la... - 09:19 PM Revision 2acd50ed (git): test/dtrace/helper: fix check for miniruby
- RbConfig::TOPDIR points to my installation prefix on my FreeBSD
and GNU/Linux systems, so there's no way miniruby exi... -
08:52 PM Bug #14827: Fails to compile on GNU/Hurd: IOV_MAX undefined
- [email protected] wrote:
> https://bugs.ruby-lang.org/issues/14827
Thanks for the report.
I'm trying to ... -
08:47 PM Bug #14827 (Closed): Fails to compile on GNU/Hurd: IOV_MAX undefined
- Applied in changeset trunk|r63576.
----------
io.c: fix compilation when IOV_MAX is not defined
GNU/Hurd has writev... -
07:55 PM Bug #14827 (Closed): Fails to compile on GNU/Hurd: IOV_MAX undefined
- **Description**
The existence of the `writev()` syscall does not imply that the `IOV_MAX` macro exists.
Because on ... - 08:46 PM Revision 894628ac (git): io.c: fix compilation when IOV_MAX is not defined
- GNU/Hurd has writev(2) but does not define IOV_MAX
[ruby-core:87417] [Bug #14827]
Reported-by: Paul Sonnenschein
gi... -
08:17 PM Misc #14798 (Closed): [PATCH] gc.c: reduce parameters for gc_start and garbage_collect
- Applied in changeset trunk|r63575.
----------
gc.c: reduce parameters for gc_start and garbage_collect
Every time I... - 08:16 PM Revision e1e61c5b (git): gc.c: reduce parameters for gc_start and garbage_collect
- Every time I look at gc.c, I get confused by argument ordering:
gc_start(..., TRUE, TRUE, FALSE, ...)
... - 07:53 PM Revision 82962f91 (git): * 2018-06-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:53 PM Revision 42fb5831 (git): gc.c: reduce #ifdefs around GC_ENABLE_*
- We may add gc_*_continue calls in a few more places, and adding
more #ifdefs around those is ugly. For now, this mak... -
06:26 PM Bug #11149 (Rejected): URI.parse keeps '?' for query and '#' for fragment even if they are empty
- Chrome also follows the behavior.
-
02:31 PM Bug #14823: Endless Range Excluding End
- duerst (Martin Dürst) wrote:
> mame (Yusuke Endoh) wrote:
> > but there is no such thing as
> >
> > ```
> > [1,... -
06:30 AM Bug #14823: Endless Range Excluding End
- mame (Yusuke Endoh) wrote:
> * `(1..)` is semantically weird because it does not include the infinity.
`(1..)` ... -
06:02 AM Bug #14823: Endless Range Excluding End
- I agree with shevegen. In case one of the two is to be removed, it is `1..` that should be removed, not the other way...
-
04:44 AM Bug #14823 (Feedback): Endless Range Excluding End
- Thank you for the comment.
This argument is very subtle. Some (mathematical) people says that we should have `(1.... -
02:16 PM Revision b7595f2c (git): include/ruby/missing.h: defined(__cplusplus) before using __cplusplus
- * include/ruby/missing.h (isinf, isnan): For non-C++ programs,
defined(__cplusplus) may be needed before using __cp... -
02:02 PM Bug #14826 (Closed): make: *** [.ext/include/sparc-solaris2.10/rb_mjit_min_header-2.6.0.h] Error 1 on Solaris 10 with very old gcc3
- Solaris 10 上にて、Sun(現Oracle)がOSのおまけとして提供しているフリーソフト集に含まれている、とても古いバージョンのgccにてrubyをコンパイルすると、rb_mjit_min_header-2.6.0.h の作...
-
10:45 AM Bug #14824 (Open): Endless Range Support in irb
- mame (Yusuke Endoh) wrote:
> In principle, I expect irb to cut the shortest lines that parses.
Ah, well, you got ... -
07:32 AM Bug #14824: Endless Range Support in irb
- First of all, I have no strong opinion about this issue. The current behavior of irb looks weird to me, but it may b...
-
06:28 AM Bug #14824 (Rejected): Endless Range Support in irb
- It's a correct behavior. This ticket is the same arguments for #14808.
-
07:59 AM Feature #14811: Dynamically extend Ruby VM stack
- Some notes on the talk can be found at https://github.com/Bombasarkadian/ruby-kaigi-notes/tree/master/day-3#keita-sug...
-
06:51 AM Bug #14816 (Closed): Extension build failure on a system with musl libc
- Applied in changeset trunk|r63571.
----------
`int isnan(double)` is a POSIXism
- `isnan` is something relatively n... -
06:27 AM Bug #14816: Extension build failure on a system with musl libc
- Works great, many thanks, Shyouhei!
The wider question on what could/should have been done to avoid these ifdef da... -
06:16 AM Bug #14816: Extension build failure on a system with musl libc
- akamch (Anatoly Kamchatnov) wrote:
> The patch does away with the isnan error, but the other one still remains:
A... -
05:00 AM Bug #14816: Extension build failure on a system with musl libc
- shyouhei (Shyouhei Urabe) wrote:
> Let me directly point out what is actually to be blamed
Works best for me! Tha... -
01:53 AM Bug #14816: Extension build failure on a system with musl libc
- Proposed workaround, not tested though.
```patch
From 01839b509c1bb914337124ac3d1f644b05ef90d8 Mon Sep 17 00:00:0... -
12:21 AM Bug #14816: Extension build failure on a system with musl libc
- Let me directly point out what is actually to be blamed:
akamch (Anatoly Kamchatnov) wrote:
> In file included fr... -
06:50 AM Revision b5d6db65 (git): `int isnan(double)` is a POSIXism
- - `isnan` is something relatively new. We need to provide one for
those systems without it. However:
- X/Open def... -
05:57 AM Misc #14825 (Open): When redefining `attr_xx` methods the visibility becomes `public`
- Hi.
If redefine `attr_xx` methods, the original visibility is lost and all visibility is public.
~~~ ruby
... -
03:42 AM Bug #14582: Unable to use `method__entry` and `method_return` tracing probes since 2.5
- [email protected] wrote:
> Oh. I decided to dig a little bit deeper. Found this this:
> https://bugs.ruby-l... -
12:56 AM Bug #14659: segfault in ConditionVariable#broadcast and ConditionVariable#signal
- I've been unable to create a reduced example. I have not tried the suggested backports mentioned above, but if I get ...
-
12:52 AM Feature #14819: Efficient cstring to RVALUE typecasting for c extension gems
- [email protected] wrote:
> However while implementing the [time decoder for pg](https://github.com/ged/ruby-p... -
12:48 AM Revision 43cc8ad9 (git): test_ast.rb: Add test cases of heredoc columns
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:37 AM Revision cc1c6552 (git): gc.c: zero check for malloc_limit_max to initialization
- Repeatedly checking for malloc_limit_max in gc_reset_malloc_info
is unnecessary, check and set it once during initial... -
12:18 AM Revision 9e1bb6ed (git): Move a test file
- * test/-ext-/ast/test_ast.rb: This test file
has not depended C extension since r63534,
so move to 'test/ruby/'.
...
06/04/2018
-
11:58 PM Bug #14816: Extension build failure on a system with musl libc
- akamch (Anatoly Kamchatnov) wrote:
> > I guess this is not our fault?
>
> Not entirely. Most likely it's nobody's... -
07:06 PM Bug #14816: Extension build failure on a system with musl libc
- > I also understand you wanting to use Ruby even on exotic combinations like musl + void.
Indeed, yet one can also... -
06:32 PM Bug #14816: Extension build failure on a system with musl libc
- I think ngoto is knowing quite a bit about Solaris so perhaps if he has
time he could comment.
I also understand ... -
11:37 AM Bug #14816: Extension build failure on a system with musl libc
- > I guess this is not our fault?
Not entirely. Most likely it's nobody's fault but you can always blame autoconf :... -
03:17 AM Bug #14816: Extension build failure on a system with musl libc
- akamch (Anatoly Kamchatnov) wrote:
> isinf() and isnan() are defined as macros in musl: https://git.musl-libc.org/cg... -
11:26 PM Feature #14478 (Closed): String #uminus should de-dupe unconditionally
- Applied in changeset trunk|r63566.
----------
String#uminus dedupes unconditionally
[Feature #14478] [ruby-core:856... -
06:17 AM Feature #14478: String #uminus should de-dupe unconditionally
- To me this patch looks good I have tested it previously on discourse, I really like the documentation there I think i...
-
04:30 AM Feature #14478: String #uminus should de-dupe unconditionally
- Updated patch, I can't reproduce any problems with test_string.rb, however.
Sam: can you test?
https://80x24.o... - 11:26 PM Revision fa0e5570 (git): * 2018-06-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 11:26 PM Revision 256411b4 (git): String#uminus dedupes unconditionally
- [Feature #14478] [ruby-core:85669]
Thanks-to: Sam Saffron <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lan... -
11:04 PM Bug #14824: Endless Range Support in irb
- Agreed.
-
07:26 PM Bug #14824 (Closed): Endless Range Support in irb
- `irb` currently doesn't have great support for endless ranges, forcing you to use explicit parentheses around the end...
-
11:03 PM Bug #14823: Endless Range Excluding End
- This boggles my mind.
I thought an endless range means infinity, or "open ended". Can we reach the point
before i... -
07:21 PM Bug #14823 (Closed): Endless Range Excluding End
- Does it make sense for an endless range to exclude the end? It is currently supported, but the semantics are questio...
-
11:03 PM Feature #14114: Add #step for Array, Enumerable, Enumerator
- Here's a pure Ruby implementation of Enumerable#step, just for fun:
~~~ ruby
module Enumerable
def step step =... -
04:24 PM Bug #14822 (Closed): [POP3/SSL] net/protocol.rb:44: warning: verify_hostname requires hostname to be set
- When enabling SSL with POP3 like this:
~~~ ruby
require 'net/pop'
Net::POP.enable_ssl
Net::POP3.start(...) |p... -
11:10 AM Feature #14799: Startless range
- This does make sense when considering the reverse of the range, in other words, counting down from N to -infinity. Th...
-
09:37 AM Feature #14821: aditional arguments to yield_self
- Your proposal makes the specific case simpler like your example, but in general, it makes the intention of `yield_sel...
-
09:28 AM Feature #14821 (Rejected): aditional arguments to yield_self
-
07:43 AM Feature #14821: aditional arguments to yield_self
- This is clearly a feature, so I have changed it from bug to feature.
The usage examples are still a bit abstract, ... -
07:37 AM Feature #14821 (Rejected): aditional arguments to yield_self
- Currently, `yield_self` only accepts a block as its single argument. I propose that it should also accept a series of...
-
08:19 AM Feature #14819: Efficient cstring to RVALUE typecasting for c extension gems
- I don't think it's really helpful to have C-str to Time converters in core. Time string representation differs in var...
-
06:25 AM Feature #14819: Efficient cstring to RVALUE typecasting for c extension gems
- I like the idea of a building block that converts to Integer or (Integer pair) if it is acceptable, you can already i...
-
05:42 AM Feature #14819: Efficient cstring to RVALUE typecasting for c extension gems
- [email protected] wrote:
> A general pattern I notice in the PG / MySQL and other gems is
> a general need for... -
01:10 AM Feature #14819: Efficient cstring to RVALUE typecasting for c extension gems
- sam.saffron (Sam Saffron) wrote:
> btw did you see, PG gem now does native cstr2time I wonder if its time to just me... -
12:48 AM Feature #14819: Efficient cstring to RVALUE typecasting for c extension gems
- Interesting, maybe what we need is a magic typecaster gem that centralizes all this work and is implemented in Ruby f...
-
07:50 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- As `String#upcase` and family are Unicode case aware now, so the second feels somewhat reasonable.
-
03:03 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- @matz ... is there any way we can revise this and act on it? I really want to kill off my "fast_blank" gem. The 2 dec...
-
06:49 AM Feature #14763 (Closed): Allow more Enumerable methods to accept method names as symbol arguments
- closing this on behalf of sunnyrjuneja
-
05:53 AM Feature #14820 (Assigned): [PATCH] ipaddr.rb: use frozen_string_literal
- Thanks for taking the time for this! It looks good to me as well. I'll commit this after testing this out with some...
-
03:54 AM Feature #14820 (Closed): [PATCH] ipaddr.rb: use frozen_string_literal
- ```
ipaddr.rb: use frozen_string_literal
This reduces GC count by around 10% and provides a tiny speedup.
"mak... -
03:22 AM Bug #14809: calc_lineno() returns wrong location
- I'll take care of it.
-
01:06 AM Misc #14812 (Closed): Question: Option Parser
- Just `rescue OptionParser::InvalidOption`.
As it can't tell if an unknown option has its argument or not, I didn't a...
06/03/2018
-
11:47 PM Feature #14819: Efficient cstring to RVALUE typecasting for c extension gems
- IPAddr and Date are stdlib, not core, so I don't think a C-API (rb_cstr2ipaddr, rb_cstr2date) method could be added f...
-
11:21 PM Feature #14819 (Open): Efficient cstring to RVALUE typecasting for c extension gems
- A general pattern I notice in the PG / MySQL and other gems is a general need for a C string to RVALUE type casting.
... -
11:00 PM Bug #14817: TracePoint#parameters for bmethod's return event should return the same value as its Method#parameters
- invoke_bmethod で vm_exec が終わったあとに EXEC_EVENT_HOOK(ec, RUBY_EVENT_RETURN, ...) するため、このような挙動になっているようです。
これは仕様でしょうか。とりあ... -
10:54 PM Bug #14817: TracePoint#parameters for bmethod's return event should return the same value as its Method#parameters
- TracePoint#parameters の問題ではなく、define_method + TracePoint 全般の問題のようです。
```
define_method(:bm) {|a|}
trace = Trac... -
02:47 PM Bug #14817 (Closed): TracePoint#parameters for bmethod's return event should return the same value as its Method#parameters
- define_methodしたメソッド(bmethod)のcall/returnイベント中にTracePoint#parametersを呼び出すと
以下の結果となります。
```
$ cat t.rb
define_met... -
09:06 PM Feature #14815 (Closed): [PATCH] benchmark/driver.rb: add CPU time measurement targets
- Applied in changeset trunk|r63564.
----------
benchmark/driver.rb: add CPU time measurement targets
"Real" time is ... - 09:06 PM Revision b3cb6dba (git): * 2018-06-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:06 PM Revision c27a8e87 (git): benchmark/driver.rb: add CPU time measurement targets
- "Real" time is too unstable on my systems, hopefully counting
only CPU time can gain more reliable benchmark results.... -
07:46 PM Bug #14322: Inconsitency in command line options between 2.4 and 2.5
- yeeey, +1 for not silently breaking stuff :)
-
05:42 PM Bug #14322: Inconsitency in command line options between 2.4 and 2.5
- graywolf (Gray Wolf) wrote:
> out of curiosity, why there was no deprecation phase for this change?
This commit o... -
07:23 PM Bug #14818 (Closed): [Docs] Backport r63112 to ruby 2.5
- Please backport r63112 (https://github.com/ruby/ruby/commit/23228b6e3139fb33d42f6dae4ec9bdabb21e52b2) since the bug a...
-
02:06 PM Bug #14816 (Closed): Extension build failure on a system with musl libc
- Some extensions fail to build on a Linux with musl (Void Linux). Build of unf_ext is an example.
isinf() and isnan(... -
05:11 AM Feature #14694 (Closed): TracePoint#parameters
- Applied in changeset trunk|r63562.
----------
Add TracePoint#parameters
It can be used to get the parameters' infor... - 05:10 AM Revision ce7c531c (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:10 AM Revision cd0fec37 (git): Add TracePoint#parameters
- It can be used to get the parameters' information of method and block.
There was no way to get block parameters.
It w... -
02:47 AM Feature #14739: Improve fiber yield/resume performance
- I've made a short blog post about this PR: https://www.codeotaku.com/journal/2018-06/improving-ruby-fibers/index
06/02/2018
-
11:31 PM Feature #14815 (Closed): [PATCH] benchmark/driver.rb: add CPU time measurement targets
- benchmark/driver.rb: add CPU time measurement targets
"Real" time is too unstable on my systems, hopefully countin... - 11:05 PM Revision 25d18918 (git): * 2018-06-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:05 PM Revision 8ce71b61 (git): Promote Prime library to default gems.
- * Its upstream is https://github.com/ruby/prime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63560 b2dd03c8-39... -
10:54 PM Feature #14814 (Closed): rb_vm_insn_addr2insn: use sto to perform addr2insn mapping
- The current VM_INSTRUCTION_SIZE is 198, so the linear search
becomes a bit painful.
I noticed rb_vm_insn_addr2ins... -
02:05 PM Feature #14813 (Assigned): [PATCH] gc.c: make gc_enter+gc_exit pairs dtrace probes, too
- gc.c: make gc_enter+gc_exit pairs dtrace probes, too
I would like to use these with systemtap to gather
min/max/a... -
01:57 PM Revision 1dd43218 (git): Promote Logger to default gems.
- * Its upstream is https://github.com/ruby/logger.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63559 b2dd03c8-3... -
01:55 PM Revision 46ec01cb (git): Fixed wrong variable name.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:29 PM Misc #14812 (Closed): Question: Option Parser
- Hi,
Is there an option / way to ignore undeclared options and get them in a resultset so, I can handle them in a c... -
12:17 PM Revision 8a4656c9 (git): gmake.mk: update in the source directory properly
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:46 AM Feature #13396: Net::HTTP has no write timeout
- I just noticed that just use write_nonblock can solve this ticket:
```diff
diff --git a/lib/net/protocol.rb b/lib... - 08:36 AM Revision 295b1c5e (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:36 AM Revision 14e19692 (git): Added test for default gems validation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:50 AM Revision 7495b2d2 (git): enum.c: bignum counter
- * enum.c (imemo_count_up, imemo_count_value): promote the counter
value to a bignum on overflow. [Bug #14805]
git... -
07:04 AM Revision 4973f304 (git): Fixed wrong require path
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:02 AM Revision 0f5b6752 (git): Promote REXML to default gems.
- * upstream repostiory is https://github.com/ruby/rexml
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63552 b2dd0... -
05:12 AM Feature #14811 (Open): Dynamically extend Ruby VM stack
- We (Keita Sugiyama and me) have presented the work on dynamically extending the Ruby VM stack today at RubyKaigi 2018...
-
04:33 AM Feature #14808 (Rejected): Last token of endless range should have EXPR_END
- That code is valid syntax in both versions, and it is *not* an endless range in the trunk as well as 2.5.
As `..` is... -
01:23 AM Feature #14808 (Rejected): Last token of endless range should have EXPR_END
- In 2.5.1:
```ruby
irb(main):001:0> require 'ripper'
irb(main):002:0> pp Ripper.lex("case 5\nwhen 3..\n puts(tru... -
04:17 AM Bug #14543: `make commit` show error of `common-srcs`
- I discussed about this with nobu.
```
941:common-srcs: $(srcs_vpath)parse.c $(srcs_vpath)lex.c $(srcs_vpath)enc/t... -
03:49 AM Bug #14810 (Closed): Segfault during travis build (Ruby trunk 63545)
- I'm not sure what information would be helpful, so here's a link to the log: https://travis-ci.com/brian-kephart/rspe...
-
03:30 AM Bug #14809 (Closed): calc_lineno() returns wrong location
- r62051のコミット以降
```
$ cat -n t.rb
1 class String
2 def -@
3 p caller_locations(1, 1)[0]
... -
02:39 AM Revision 6bb70c11 (git): enum.c: mitigate overflows
- * enum.c (enum_count): convert counters to Integer as unsigned
long, instead of long, to mitigate overflows.
[rub... -
01:34 AM Feature #14739: Improve fiber yield/resume performance
- Here is a more realistic benchmark which fiber context switch is only a tiny percentage of the actual run-time.
A ... -
01:07 AM Feature #14739: Improve fiber yield/resume performance
- I fixed autoconf issues and built on Linux. The performance improvement was even more impressive.
```
koyoko% rub... -
01:23 AM Bug #14387: Ruby 2.5 を Alpine Linux で実行すると比較的浅めで SystemStackError 例外になる
- jnardone (joe nardone) wrote:
> it's frustrating that this is still open after four months. alpine-ruby-2.5 is bord... -
01:14 AM Revision ccc52902 (git): Promote RSS library to default gems.
- Its upstream was moved to https://github.com/ruby/rss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63550 b2dd0... -
01:02 AM Bug #14793 (Closed): Hash returned from CGI.parse has [] as default value
-
12:51 AM Bug #14805 (Closed): Enumerator#count is silently limited to int32
- Applied in changeset trunk|r63549.
----------
memo->u3.cnt is long not int [Bug #14805] -
12:51 AM Revision 9b6175b2 (git): memo->u3.cnt is long not int [Bug #14805]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
06/01/2018
-
11:21 PM Feature #14739: Improve fiber yield/resume performance
- I've made a new branch with the new implementation above.
It shows a slightly improved performance improvement ove... -
10:45 PM Bug #14804: GzipReader cannot read Freebase dump (but gzcat/zless can)
- (Note that `f.each_line.count` would return the wrong result anyway, due to https://bugs.ruby-lang.org/issues/14805 ,...
-
07:27 AM Bug #14804 (Closed): GzipReader cannot read Freebase dump (but gzcat/zless can)
- This is likely related to https://stackoverflow.com/questions/35354951/gzipstream-quietly-fails-on-large-file-stream-...
-
10:35 PM Bug #14805: Enumerator#count is silently limited to int32
- It's interestingly also negative on JRuby. Headius noted in the #ruby IRC channel that [this patch](https://gist.gith...
-
09:32 AM Bug #14805: Enumerator#count is silently limited to int32
- Confirmed on trunk.
-
07:41 AM Bug #14805 (Closed): Enumerator#count is silently limited to int32
- One takes for granted that integers will be promoted into bigints in Ruby when needed.
Not so with `Enumerator#count... -
10:23 PM Bug #14807: 2.6.0-preview2 segfaults on OpenBSD due to missing pthread_condattr_init call
- normalperson (Eric Wong) wrote:
> Btw, is PTHREAD_COND_INITIALIZER supported on OpenBSD?
It's defined but I don'... -
10:12 PM Bug #14807: 2.6.0-preview2 segfaults on OpenBSD due to missing pthread_condattr_init call
- Thanks, r63548
Btw, is PTHREAD_COND_INITIALIZER supported on OpenBSD?
Something like this:
```
--- a/thread_... -
08:51 PM Bug #14807 (Closed): 2.6.0-preview2 segfaults on OpenBSD due to missing pthread_condattr_init call
- r63238 refactored thread_pthread.c, and where there was previously a pthread_condattr_init call to initialize the pth...
- 09:56 PM Revision 832b601e (git): Initialize condattr_monotonic via pthread_condattr_init
- Some operating systems will work without calling
pthread_condattr_init, but some won't (such as OpenBSD). Prior
to r6... - 09:23 PM Revision 24c6231e (git): * 2018-06-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:23 PM Revision 3eb12cb6 (git): gc.c: reduce size slightly by making MEMOP_TYPE_MALLOC zero
- Most (if not all) architectures have instructions for comparing
against zero, allowing compilers to generate more com... -
01:10 PM Revision afbf10e8 (git): Added missing dependency for ast.c.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:45 AM Feature #14801: New method 'show_stack' to show Ruby stack(s) when program is running
- A bit of feedback as asked by Martin; I'll skip the implementation detail part since
I do not know C so others have ... -
02:27 AM Feature #14801 (Open): New method 'show_stack' to show Ruby stack(s) when program is running
- It would be great to have a method to show the Ruby stack(s) (there are actually two of these) while a Ruby program i...
-
09:29 AM Feature #14802: Update Unicode data to Unicode Version 11.0.0
- All power to the emoji. \o/
-
05:16 AM Feature #14802 (Closed): Update Unicode data to Unicode Version 11.0.0
- Unicode Version 11.0.0 will be published sometimes later this year, probably in late June. This is an issue to manage...
-
08:26 AM Bug #14806 (Closed): Partially backport r63300: Make --with-soname actually work on macOS
- r63300 was mainly about changing the default names, but also included a fix for --with-soname to take effect.
So, pl... -
07:22 AM Bug #14803 (Closed): Backport r63544: Fix name clash issue with --with-soname
- 07:13 AM Revision 6251615c (git): Skip colliding filenames in LIBRUBY_ALIASES
- This allows user to specify any name in `--with-so-name` that might
cause a name clash with LIBRUBY_ALIASES on the pl... -
06:53 AM Revision ce2f4f85 (git): string.c: trivial optimizations
- * string.c (rb_str_aset): prefer BUILTIN_TYPE over TYPE after
SPECIAL_CONST_P check.
* string.c (rb_str_start_with... - 06:37 AM Revision ccdcc730 (git): * 2018-06-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:37 AM Revision 87ccf7e5 (git): string.c: doc for [Feature #13712]
- * string.c (rb_str_start_with): [DOC] start_with? example with
regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... -
06:26 AM Bug #14795: Should 'net/http' require 'net/http/status' ?
- jeremyevans0 (Jeremy Evans) wrote:
> tonytonyjan (Wei-Hang Jian) wrote:
> > IMHO, I would suggest use `Kernel::auto... -
05:11 AM Bug #14795: Should 'net/http' require 'net/http/status' ?
- tonytonyjan (Wei-Hang Jian) wrote:
> IMHO, I would suggest use `Kernel::autoload`, thus we don't need to type `net/h... -
04:57 AM Bug #14795: Should 'net/http' require 'net/http/status' ?
- IMHO, I would suggest use `Kernel::autoload`, thus we don't need to type `net/http/status` when we want it, and they ...
-
03:14 AM Bug #14795: Should 'net/http' require 'net/http/status' ?
- net/http itself doesn't need net/http/status.
Therefore at this time it's intentional.
Though I may change it if th... -
06:03 AM Bug #14793: Hash returned from CGI.parse has [] as default value
- FYI: https://github.com/ruby/ruby/blob/fef8339f582b125e1fec5f3d47adbb48f7cede92/lib/cgi/core.rb#L393
-
03:10 AM Bug #14015: Enumerable & Hash yielding arity
- Here's more code to show how the situation is complicated.
I don't know which of these can be considered bugs and wh... -
03:00 AM Feature #14217: Expose RUBY_PATCHLEVEL_STR or similar with patch level info for rc/preview as a constant
- Could you elaborate how you want to use it?
-
12:06 AM Bug #14789 (Third Party's Issue): Debian 9, ARM, rails 5.2.0 not works.
- Tivgres (Sergey D) wrote:
> Yeah, with disabled gem it's worked.
> Thanks for a help. Troubles not at ruby side.
...
Also available in: Atom