Activity
From 09/10/2015 to 09/16/2015
09/16/2015
-
11:18 PM Feature #11534 (Rejected): Circular assignment / method shadowing unexpected behavior
- ~~~ruby
def foo
1
end
puts foo + 1
bar = foo + 1
puts bar
foo = foo + 1
puts foo
~~~
~~~
# EXPECTED
2
2
2
~~~
~~~
# ACTUAL
2
2
undefined method `+' for nil:NilClass (NoMethodError) -
03:47 PM Bug #11533: AIX6.1 - Ruby 2.2.3 - TestMkmf::TestConvertible#test_typeof_builtin fails
- The issue appears only when compiling with XLC.
~~~
XLC: 1 tests, ** 7** assertions,** 1 failures**, 0 errors, 0 skips
GCC: 1 tests, **12** assertions, **0 failures, 0 errors**, 0 skips
~~~
Anyway, how can I get information abou... -
03:01 PM Bug #11533 (Closed): AIX6.1 - Ruby 2.2.3 - TestMkmf::TestConvertible#test_typeof_builtin fails
- AIX6.1 - Ruby 2.2.3
The following test fails (constantly):
~~~
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common --extout=.ex... -
12:14 PM Revision 7ed700d2 (git): vm_core.h: revert VM objspace on Windows
- * vm_core.h (ENABLE_VM_OBJSPACE): disable now, as socklist and
conlist will be freed exit_handler(), after object space
destruction.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:53 AM Revision a2dce5c6 (git): * encindex.h: fix typo of last #endif comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:40 AM Bug #11532 (Closed): private_constant works after module is frozen
- Applied in changeset r51881.
----------
variable.c: fail if frozen
* variable.c (set_const_visibility): fail if the class/module is
frozen. [ruby-core:70828] [Bug #11532] -
08:23 AM Bug #11532 (Closed): private_constant works after module is frozen
- ... and it probably should not allow for changing constant visibility since others such as `const_set` honour `freeze`
```
2.2.2 :001 > module M; C = '1'; D = '2'; private_constant :D; end
=> M
2.2.2 :002 > M.constants
=> [:C] ... -
11:39 AM Revision dfa9eb54 (git): variable.c: fail if frozen
- * variable.c (set_const_visibility): fail if the class/module is
frozen. [ruby-core:70828] [Bug #11532]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:18 AM Revision c3a48736 (git): vm_core.h: enable VM objspace on Windows
- * vm_core.h (ENABLE_VM_OBJSPACE): enable per-VM object space on
Windows by default, as rb_w32_sysinit() no longer depends on
ruby_xmalloc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:15 AM Revision 077e2037 (git): ruby.h: RUBY_FL_PROMOTED
- * include/ruby/ruby.h (ruby_fl_type): revive RUBY_FL_PROMOTED for
.gdbinit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:58 AM Revision 11b804fe (git): [DOC] Remove `\0` since it's aprt of octal notation
- A typo is fixed while at it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:31 AM Revision 5ac401c8 (git): [DOC] `\0` is interpreted as NUL only if not followed by an octal digit.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:21 AM Revision 2b89d63e (git): literals.rdoc: add DEL [ci skip]
- * doc/syntax/literals.rdoc (Strings): [DOC] add DEL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:16 AM Revision 6989f241 (git): [DOC] Revise the character literal part.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:03 AM Revision d23857e5 (git): [DOC] Document the full list of supported escape sequences in string literals
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:50 AM Revision 965d8241 (git): string.c: keep coderange
- * string.c (rb_str_setbyte): keep the code range as possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:31 AM Revision 22190b3f (git): literals.rdoc: fix typos
- * doc/syntax/literals.rdoc (Strings): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:24 AM Revision 35947f6d (git): * doc/syntax/literals.rdoc (Strings): mention about ?a literal.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:19 AM Revision 06ca0b67 (git): * dir.c (glob_helper): check pathtype once again by lstat(2) if
- dp->d_type is DT_UNKNOWN. XFS may return DT_UNKNOWN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:17 AM Bug #11531 (Rejected): IPAddr#== implements wrong logic
- # Description
IPAddr#== should implement the logic of comparison of two IPAddr instances. This generally means that it compares two IP addresses.
Lets look at the code of this method:
https://github.com/ruby/ruby/blob/c8b3f1b470e343... -
02:06 AM Feature #11530 (Feedback): unicode planes
- Eike Dierks wrote:
> This might also apply to the uppercase greek letters,
> ...
I can't get your point why it is no problem.
And Unicode defines mathematical symbols separately from Greek letters.
e.g., U+2211;N-ARY SUMMATION, ∑
-
01:01 AM Feature #11529 (Feedback): extensible % literal declarations
- Eike Dierks wrote:
> - in my faint memory, old ruby versions were rumoured to parse %sqfooq => "foo"
> ...
It has never been true, at least since 1.0.
> - the quoting chars should be deprecated (try this: `%Q%%%%`)
What's the ra... -
12:18 AM Bug #11528 (Rejected): Possible parsing bug. Possibly just confusing.
09/15/2015
-
10:16 PM Feature #11530 (Feedback): unicode planes
- Back then, there was ASCII, 7bit.
We are somehow still stuck to this.
All the parsing still is stuck in that old 7bit world.
While there are so many nice symbols in unicode
that we could put to use to make our code shine.
ruby... -
09:07 PM Feature #11529 (Feedback): extensible % literal declarations
- The ruby syntax provides for declaring literals by using the % escapes:
- %q(foo) => 'foo'
- %Q(foo) => "foo"
- %w(foo bar) => ['foo', 'bar']
- %i(foo bar) => [:foo, :bar]
It should be possible to define new % escapes.
*Use c... -
09:01 PM Bug #11496 (Closed): Mutex#synchronize testing code should be data race.
- committed at r51868.
-
06:28 PM Bug #11496: Mutex#synchronize testing code should be data race.
- inserting sleep is unacceptable because sleep invokes volunteer context switch and changes a meaning and a purpose of the test.
Instead, I'd like to insert a waste loop to trigger a thread preemption race. like this
100.times {
m... -
08:00 PM Bug #11526: Streaming HTTP requests are not idempotent and should not be retried
- Attaching a new diff based on Trevor's branch with a few additional test fixes.
All HTTP-related tests pass, but seems like something in RDoc may be broken in trunk:
~~~
1) Failure:
TestRDocMarkupPreProcess#test_include_file_in... -
05:42 PM Bug #11526: Streaming HTTP requests are not idempotent and should not be retried
- Trevor Rowe (https://github.com/trevorrowe) also proposed the following PR on GitHub to address this issue on June 30th, 2015: https://github.com/ruby/ruby/pull/951
His code looks solid to me and seems a better solution than what I've... - 07:24 PM Revision 8e177fca (git): * 2015-09-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:23 PM Revision bb79c011 (git): * test/ruby/test_thread.rb (TestThread#test_mutex_synchronize):
- insert waste loop for invoking preemptive thread context switch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:49 PM Bug #11528: Possible parsing bug. Possibly just confusing.
- I'm realizing this is probably intentional: http://blog.plataformatec.com.br/2014/07/ruby-blocks-precedence/
It looks like I'm not allowed to close my own bug. Sorry for the distraction. -
06:36 PM Bug #11528 (Rejected): Possible parsing bug. Possibly just confusing.
- Not sure if this is intentional behavior but I found it confusing:
code:
~~~ruby
def render(args)
p args.to_a
end
print 'functionally (without parentheses): '
render "foobar".length\
.to_s(2)\
.split('')\... -
05:46 PM Feature #11527 (Assigned): IPAddr#mask_addr isn't a method
- Right now there's no way to get the current value of an IP address's mask from an IPAddr instance. While there's an instance variable (`@mask_addr`), there's no attribute reader to get it's value, and relying on reading the instance vari...
-
03:43 PM Bug #11514: AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
- Tony Reix wrote:
> Now, I will clean and rerun the test that makes the core appear, **WITH** export LDR_CNTRL=MAXDATA=0x80000000, so that we are sure if it is - or not - related to the memory allocation.
I've rerun 3 times the .ext/r... -
10:07 AM Bug #11514: AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
- Rei Odaira wrote:
> I discussed this with Tony using emails, and it turned out that it was due to the default size limit in memory allocation on AIX. Users must set the following environment variable to allocate more than 256MB on AIX. ... -
01:49 AM Bug #11514: AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
- I think that `NoMemoryError` must raise in such case.
Where does the failure occur?
You can run ruby with `gdb` by `--debugger` option.
~~~
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --debugger --extout=.ext -- --disa... -
12:10 AM Bug #11514: AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
- I discussed this with Tony using emails, and it turned out that it was due to the default size limit in memory allocation on AIX. Users must set the following environment variable to allocate more than 256MB on AIX.
~~~
export LDR_CN... -
10:38 AM Revision abbd3884 (git): gc.c: define objspace functions always
- * gc.c (rb_objspace_alloc, rb_objspace_free): define always
regardless ENABLE_VM_OBJSPACE, and free heap pages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:06 AM Feature #10594: Comparable#clamp
- It's just that String#<=> is not consistent with String#succ but indeed it's not so much of a problem here.
-
09:48 AM Feature #10594: Comparable#clamp
- Benoit Daloze wrote:
> Good luck explaining the precise semantics of clamp on String though.
IMO it's not that hard to grasp:
call-seq:
obj.clamp(min, max) -> obj
Returns min if obj <=> min is less than zero,... -
09:42 AM Feature #10594: Comparable#clamp
- Hans Mackowiak wrote:
> Motohiro KOSAKI wrote:
> ...
Good luck explaining the precise semantics of clamp on String though. -
05:24 AM Feature #10594: Comparable#clamp
- Motohiro KOSAKI wrote:
> I really dislike using Comparable for this method because clamp is NOT kind of compare. If it is Numeric's method, I'm OK.
hm imo its better in Comparable than in Numeric because it does work for non Numeric ... -
06:15 AM Revision 70b2af3b (git): win32.c: no xmalloc at sys_init
- * win32/win32.c (rb_w32_sysinit, rb_w32_readdir): compare by
encoding index to get rid of encoding initialization before VM
object space allocation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51866 b2dd03c8-39d4-4d8f-98ff-823... -
06:06 AM Revision 2046f38a (git): dir.c: fundamental_encoding_p
- * dir.c (fundamental_encoding_p, push_glob): compare by encoding
index immediately.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:03 AM Revision 9c9d555e (git): win32.c: encindex.h
- * win32/win32.c: needs encindex.h for encoding indexes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:57 AM Revision 89fb3746 (git): localeinit.c: encindex.h
- * localeinit.c: needs encindex.h for ENCINDEX_US_ASCII and
ENCINDEX_ASCII.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:49 AM Revision 75a1d33b (git): enc: fundamental encindex
- * enc/{ascii,us_ascii,utf_8}.c: set encoding indexes of
fundamental built-in encodings so that usable as well as
allocated rb_encoding before rb_enc_init().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51862 b2dd03c8-39d4-4d8f-... -
05:49 AM Revision 078b6c98 (git): encindex.h: ENCINDEX
- * encindex.h: separate encoding index constants from internal.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:13 AM Revision ca5c9084 (git): array.c: [DOC] correct Array#sort rdoc [ci skip]
- * array.c (rb_ary_sort_bang, rb_ary_sort): [DOC] correct block
return values, which may be a negative or positive integer, not
ony -1 or +1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:49 AM Revision 5a0dc59a (git): array.c: [DOC] correct Array#sort rdoc [ci skip]
- * array.c (rb_ary_sort_bang, rb_ary_sort): [DOC] Correct
description of array sort block return values. And also fix up
the grammar a bit. [Fix GH-1020]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51859 b2dd03c8-39d4-4d8f-98... - 03:45 AM Revision 072748b3 (git): * 2015-09-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:44 AM Revision a8994b16 (git): util.c: BSD qsort_r
- * util.c (ruby_qsort): use BSD-style qsort_r if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:07 AM Feature #11473: Immutable String literal in Ruby 3
- Robert A. Heiler wrote:
> _ = ''
> ...
One way to write this would be
_ = ''
_ += 'Hello '
_ << 'World!'
However, in a more complicated context, it may not be easy to know when the first change to the empty string occurs ... -
02:40 AM Bug #11522: URI::decode returns incorrectly encoding strings
- Nobuyoshi Nakada wrote:
> It has no hints for encoding.
In theory, that's correct. In practice, there are several better possibilities.
1) We can add an additional parameter that indicates the encoding.
2) We can default to UTF...
09/14/2015
-
08:13 PM Feature #10594: Comparable#clamp
- I really dislike using Comparable for this method because clamp is NOT kind of compare. If it is Numeric's method, I'm OK.
-
07:18 PM Bug #11526: Streaming HTTP requests are not idempotent and should not be retried
- GitHub PR: https://github.com/ruby/ruby/pull/1019
-
07:13 PM Bug #11526 (Closed): Streaming HTTP requests are not idempotent and should not be retried
- Hello!
A colleague of mine ran into an issue today where he discovered that streaming HTTP requests made with Net::HTTP would retry some types of errors without giving any indication that an error had occurred and the request stream h... -
06:40 PM Feature #11525 (Rejected): Add Module#used (refinement hook)
- It is proposed that `Module#used` be invoked when a module participates in refinement, much like how the `Module#included` and `Module#extended` hooks work at present. It may be the case that `#used` is not the greatest name for this met...
-
10:27 AM Revision 5425099a (git): * lib/net/ftp.rb (parse_mlsx_entry): parse pathnames including
- space correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:34 AM Bug #11521: [BUG] Segmentation fault at 0x00000000000418 ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
- Tyrant Davis wrote:
> It returned the error:
> ...
You need to install gpg, probably by homebrew or MacPorts.
OSX does not provide gpg (or pgp) by default.
Or, you can install ruby from the source tarball:
~~~
curl -O https://c... -
06:28 AM Bug #11521: [BUG] Segmentation fault at 0x00000000000418 ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
- Could you give 2.2.3 a try, just to have it easier for nobu to see if the error is different (or perhaps gone)?
-
06:07 AM Revision cb1ff236 (git): common.mk: excluding options to test-ruby
- * common.mk (yes-test-ruby): apply excluding options as well as
"test".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:12 AM Revision 07dafa35 (git): Fix typo in racc english documentation [ci skip]
- * lib/racc/rdoc/grammar.en.rdoc: [DOC] fix typo, "convertion" to
"conversion". [Fix GH-1016]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:39 AM Bug #11470: extra parens required for if/unless/rescue modifier expressions in single arg method invocations
- Nobuyoshi Nakada wrote:
> It's a spec.
What code would break if `foo(1 if true)` were valid?
None I would think so why not have it work, there is no ambiguity?
09/13/2015
- 04:43 PM Revision 50dff0a3 (git): * 2015-09-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:42 PM Revision 74365f93 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:08 AM Bug #11237: サブスレッドがすべて終了するとメインスレッドが割り込まれる。
- バックポートの要望をした者です。
拡張ライブラリ側での回避はできないのですが、拡張ライブラリを使う側での回避は可能なので、プライオリティ低めで大丈夫だと思います。メインスレッドで行っていたタスクを新規スレッドで実行するように書き換えれば良いだけなので。
直っているリリースが欲しいのはやまやまなのですが、次の TEENY リリースと 2.3 のリリースの時間差が1,2ヶ月程度なら 2.3 を待ちます。
-
02:03 AM Revision 1e3a1bbb (git): ruby.h: add prefix
- * include/ruby/ruby.h: prefix RUBY or RB to global symbols to get
rid of name conflicts with other headers.
* include/ruby/encoding.h, include/ruby/intern.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51851 b2dd03c8-39d4... -
02:02 AM Revision 39dfa2f9 (git): configure.in: enum_over_int
- * configure.in (enum_over_int): use ULLONG_MAX instead of
ULONG_LONG_MAX for portability.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 AM Revision a995195d (git): configure.in: enum_over_int
- * configure.in (enum_over_int): check if enum over int is allowed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:58 AM Bug #11522 (Rejected): URI::decode returns incorrectly encoding strings
- Firstly, `URI.unescape` is obsolete.
`CGI.unescape`, which sets the encoding to `@@accept_charset`, may work for you. -
12:47 AM Revision ca48cc4a (git): * lib/net/ftp.rb (size, modify, create, type, unique, perm, lang,
- media_type, charset): new methods to return standard facts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/12/2015
- 06:48 PM Revision ddc58a86 (git): * 2015-09-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:47 PM Revision 163d436d (git): * vm_insnhelper.c (vm_call_iseq_setup_normal): do not clear local
- variables here. vm_push_frame() clears.
* vm_insnhelper.c (vm_call_iseq_setup_tailcall): ditto.
* vm_insnhelper.c (vm_push_frame): move check code to
vm_check_frame().
Reorder initialization timing to reuse same values (sp).
* compil... -
02:57 PM Bug #11522: URI::decode returns incorrectly encoding strings
- I agree with you, nobu.
But, it should be ASCII-8BIT, not US-ASCII. -
02:43 PM Bug #11522: URI::decode returns incorrectly encoding strings
- It has no hints for encoding.
- 02:13 PM Revision 1944eecb (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:12 PM Revision 52079677 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:09 PM Revision 2478c7bc (git): * lib/net/ftp.rb (file?, directory?, appendable?, creatable?,
- deletable?, enterable?, renamable?, listable?, directory_makable?,
purgeable?, readable?, writable?): new methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:29 PM Revision 2ec793ab (git): * lib/net/ftp.rb (FACT_PARSERS): support system dependent facts
- UNIX.mode, UNIX.owner, UNIX.group, UNIX.ctime, and UNIX.atime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:09 AM Revision f6d77bf5 (git): win32.c: fix dup2 return value
- * win32/win32.c (rb_w32_dup2): should return the new fd on
success, while msvcrt returns 0 wrongly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:49 AM Bug #11504 (Rejected): ruby 1.9.3p194 segfault on debian stable 7.x
- Ruby 1.9 is EOL status.
-
09:19 AM Feature #11518: Queue enhancement - promote! and promote_all!
- First: you forgot to lock queue. Multithreading will bite you.
Second: if you want custom behaviour why don't you make custom structure?
Till 2.0 Queue were implemented in ruby. If your tasks are heavy, then
you won't notice differ... -
09:16 AM Revision 777c7194 (git): * lib/net/ftp.rb (parse_mlsx_entry, mlst) raise an FTPProtoError
- when parsing failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:14 AM Revision 8bb056a8 (git): ChangeLog: fix typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:08 AM Feature #11517: Queue enhancement - conditional pop
- Why don't you use separate queue with separate worker? It will solve your use case.
Even if it is hard to separate jobs before put into main queue, workers could push such heavy tasks into separate queue after fetching it from main q... -
09:05 AM Revision 4782bdac (git): ChangeLog: drop non-ascii char [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:03 AM Revision 57785b16 (git): * lib/net/ftp.rb (TIME_PARSER): use "Z" instead of "00:00" to
- get UTC time. Thanks, Wilson Bilkovich.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:57 AM Revision 8b3d351f (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:57 AM Revision 8a97ffe0 (git): * lib/net/ftp.rb (mlst, mlsd): support new commands MLST and MLSD
- specified in RFC 3659.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:35 AM Feature #11524 (Closed): Use TLS 1.2 to default version of OpenSSL
- OpenSSL on trunk still use SSL version 3 with default option. but SSLv3 have some vulnerability.
I propose to use TLS 1.2 with default on OpenSSL library.
see original proposal: https://github.com/ruby/ruby/pull/873
In other sid... -
07:14 AM Revision d8459735 (git): * file.c: access()/eaccess() wrapping methods check more than just uid.
- [fix GH-1007][ci skip] Patch by @eam
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:07 AM Revision 2014b4d5 (git): * README.md: improve markdown rendering for readable.
- [fix GH-1015][ci skip] Patch by @Matrixbirds
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:30 AM Revision 09cbe9d6 (git): process.c: do not inherit saved fds
- * process.c (save_redirect_fd): make saved FDs close-on-exec not
to be inherited.
* process.c (run_exec_dup2): restore close-on-exec flags too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:23 AM Revision f150a381 (git): win32.c: more fcntl
- * win32/win32.c (fcntl): implement F_GETFD, F_SETFD, and
F_DUPFD_CLOEXEC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:48 AM Revision 78f7e342 (git): test_rational.rb: fix default external
- * test/ruby/test_rational.rb (test_conv): fix default external
encoding, which affects inspect results.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:29 AM Revision 7a0981fa (git): test_rational.rb: r51828
- * test/ruby/test_rational.rb (test_conv): test for r51828,
encoding of exception message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/11/2015
- 08:36 PM Revision bc8dfdc0 (git): rational.c: preserve encoding in exception
- * rational.c (string_to_r_strict): preserve encoding in exception
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:25 PM Revision 731c9288 (git): * vm_core.h: remove rb_call_info_t::aux.opt_pc.
- * vm_insnhelper.c: introduce shortcut functions for opt_pc == 0
because opt_pc is always 0 on shortcut function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:21 PM Bug #11521: [BUG] Segmentation fault at 0x00000000000418 ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
- Thanks for the feedback.
I am still riding version 2.2.1. I have been unable to install the 2.2.3 update. Per the 2.2.3 install instructions on https://rvm.io/rvm/security ( # install mpapis public key ) I used the command line:
gp... -
08:16 AM Bug #11521 (Feedback): [BUG] Segmentation fault at 0x00000000000418 ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
- Tyrant Davis wrote:
> I am new to coding and rails. When I try running rails server I get the segmentation fault. This was not an issue yesterday. I am not sure what went wrong. I tried reinstalling Ruby 2.2.1 and updating to 2.2.3 to n... -
05:39 AM Bug #11521 (Closed): [BUG] Segmentation fault at 0x00000000000418 ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
- I am new to coding and rails. When I try running rails server I get the segmentation fault. This was not an issue yesterday. I am not sure what went wrong. I tried reinstalling Ruby 2.2.1 and updating to 2.2.3 to no avail. Below is the r...
-
04:03 PM Feature #11523 (Closed): optparse short options will match complete options
- In short, if I define an option like `"-F", "--irs [OCTAL]"`, `-i` will match this option, although the short version is defined as `-F`.
----
In long, this can be quite troublesome:
See the provided example
http://ruby-doc.o... - 03:51 PM Revision d0bb9ed1 (git): * 2015-09-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:50 PM Revision 22ea03bb (git): * iseq.c: disable ISeq.load. It enabled accidentally at r51794.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:47 PM Bug #11522 (Rejected): URI::decode returns incorrectly encoding strings
- When given unicode characters to encode and decode, the URI module returns a string with an invalid encoding.
~~~
irb(main):026:0* unicode = 'œ´å∑®´ß∂†≈©ƒç˙©√∆˙∫˚∆~¬'
=> "œ´å∑®´ß∂†≈©ƒç˙©√∆˙∫˚∆~¬"
irb(main):027:0> unicode.encoding
... -
02:23 AM Revision 782e2148 (git): * lib/net/ftp.rb (size, mdtm, system): parse responses according to
- RFC 959 and 3659, where reply codes must be followed by SP.
* lib/net/ftp.rb (system): remove LF from the return value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:25 AM Misc #11520 (Rejected): Inconsistent behavior in Array#compact!
09/10/2015
-
11:49 PM Misc #11520: Inconsistent behavior in Array#compact!
- Ah, I was unaware that was the intention. I guess I should use `.tap(&:compact!)` instead. This issue can be closed.
-
11:42 PM Misc #11520: Inconsistent behavior in Array#compact!
- This behavior is consistent with many other "bang methods" which return `nil` if they might have mutated the receiver but didn't:
``` ruby
[
'foo'.downcase!,
'BAR'.upcase!,
'Baz'.capitalize!,
'foo'.strip!,
'bar'.lstr... -
07:43 PM Misc #11520 (Rejected): Inconsistent behavior in Array#compact!
- I noticed that `Array#compact!` sometimes returns `self` and other times `nil`. This behavior was a bit confusing.
[].compact!
# => nil
[1].compact!
# => nil
[nil].compact!
# => []
[... -
05:22 PM Bug #11519: "#{nil}" produces string as US-ASCII rather than current encoding
- Great! This is why I love the Ruby community.
Thank you!
-
01:49 PM Bug #11519 (Closed): "#{nil}" produces string as US-ASCII rather than current encoding
- Applied in changeset r51820.
----------
parse.y: keep literal encoding
* parse.y (literal_concat_gen, evstr2dstr_gen): keep literal
encoding beginning with an interpolation same as the source file
encoding. [ruby-core:70703] [Bug ... -
08:54 AM Bug #11519: "#{nil}" produces string as US-ASCII rather than current encoding
- hm also the order is important:
"#{}#{foo}".encoding #=> US-ASCII
"#{foo}#{}".encoding #=> UTF-8
"#{}#{foo}".encoding != "#{foo}#{}".encoding #=> true
- 03:09 PM Revision a7727448 (git): * 2015-09-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:08 PM Revision e367d1e8 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:12 PM Bug #8543: new rb_iseq_load crash
- At least r51816 should be backported into 2.1/2.2.
-
12:09 AM Bug #8543: new rb_iseq_load crash
- Addendum: Attached file in previous post also reproduces the crash
in the latest ruby trunk:
<compiled>:3: [BUG] Segmentation fault
ruby 2.3.0dev (2015-09-09 trunk 48555) [i386-mswin32_100]
-
01:59 PM Revision dd610003 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:48 PM Revision b4efab9e (git): parse.y: keep literal encoding
- * parse.y (literal_concat_gen, evstr2dstr_gen): keep literal
encoding beginning with an interpolation same as the source file
encoding. [ruby-core:70703] [Bug #11519]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51820 b2dd03c8... -
01:15 PM Revision 9fb0863f (git): Clarify spawn pgroup documentation [ci skip]
- * process.c (rb_f_spawn): Be more specific regarding "other
values" by having "non-zero positive integers" Add nil, the
default value, as a possible value and what it means.
Try to use more consistent language.
[Fix GH-1008]
git... -
06:16 AM Revision 5c09cb9c (git): * lib/net/ftp.rb (getmultiline): refactor.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:18 AM Revision ffe47606 (git): * 2015-09-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:17 AM Revision 3d5fd5f3 (git): compile.c: register cdhash
- * compile.c (iseq_build_from_ary_body): register cdhash to the
iseq constant body instead of compile time mark array, not to
get GCed. [ruby-core:70708] [Feature #8543]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51816 b2dd03...