Activity
From 04/17/2016 to 04/23/2016
04/23/2016
-
10:30 PM Revision 65a1cdaf (git): * vm_insnhelper.c (INLINE): define as `inline` when it is optimized.
- define as `static inline` when it is not optimized to keep
the symbol generated.
* vm_insnhelper.c (vm_getivar): use `INLINE` to force inline
so that a compiler inlines it into vm_getinstancevariable
and optimizes out is_attr and ... -
07:06 PM Bug #12315 (Closed): OptionParser parses quoted --dash strings in 2.3.0
- Working on 2.2.4:
~~~
wmctile -c -x 'subl --new-window' --switch-to 'sublime_text.Sublime_text'
~~~
On 2.3.0, it fails:
~~~
wmctile -c -x 'subl --new-window' --switch-to 'sublime_text.Sublime_text'
wmctile/bin/wmctile:23:in ... -
06:46 PM Bug #11118 (Closed): Unable to build Ruby with Visual Studio 2015 RC
- Applied in changeset r54737.
----------
Support MSVC14 and 15 [Bug #11118]
Search _pioinfo which is not exported after MSVC14.
[Bug #12014] [GH-884] -
06:46 PM Revision 9afc312b (git): Support MSVC14 and 15 [Bug #11118]
- Search _pioinfo which is not exported after MSVC14.
[Bug #12014] [GH-884]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:23 PM Bug #12184: Cygwin LANG=ja_JP.SJIS 環境でコマンドライン引数に日本語が渡せない
- ruby_2_3 r54736 merged revision(s) 54720.
-
12:03 AM Bug #12184 (Closed): Cygwin LANG=ja_JP.SJIS 環境でコマンドライン引数に日本語が渡せない
- Applied in changeset r54720.
----------
ruby.c: fix command line encoding on cygwin
* ruby.c: cygwin does not use w32_cmdvector, command line can be
other than UTF-8. [ruby-dev:49519] [Bug #12184] -
06:23 PM Revision 7b70f0e2 (git): merge revision(s) 54720: [Backport #12184]
- * ruby.c: cygwin does not use w32_cmdvector, command line can be
other than UTF-8. [ruby-dev:49519] [Bug #12184]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:05 PM Revision d4557cf6 (git): * 2016-04-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:05 PM Revision 8f9b8d48 (git): * tool/merger.rb: use FileUtile.rm_f to fix an error on missing temporary file.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:24 PM Bug #12314 (Closed): Backport r54716, r54719 and r54750 (don't use system round(3) on AIX)
- This is a ticket for backport management. Already fixed on trunk.
-
03:56 PM Bug #12313 (Closed): [DOC] Fix two code samples
- Two tiny fixes of code samples, in Encoding and BigDecimal.
-
02:12 PM Revision 2ede24a8 (git): compile.c: remove redundant trace insn
- * compile.c (iseq_peephole_optimize): remove successive line trace
instructions except for the last.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:33 PM Bug #12255: [DOC] Small fix for rdoc of ext/json/lib/json/add/*
- ping...
-
12:17 PM Revision 8c3d9d99 (git): vm_insnhelper.c: getivar setivar optimization
- * vm_insnhelper.c (vm_getivar, vm_setivar): remove inline.
* vm_insnhelper.c (vm_call_ivar, vm_call_attrset): tweak the order
tail-call-optimization friendly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54732 b2dd03c8-39d4-4d8f... -
11:43 AM Revision 12ef609f (git): compile.c: instruction ID predicate
- * compile.c (IS_INSN_ID): add instruction ID predicate macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:39 AM Revision 6871d400 (git): compile.c: ISeq element type predicates
- * compile.c (IS_INSN, IS_LABEL, IS_ADJUST): add ISeq element type
predicate macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:26 AM Revision ea1cff3b (git): vm_insnhelper.c: missing static to inline
- * vm_insnhelper.c (vm_getivar): add missing static to inline,
otherwise external symbol is referred and link fails when
optimization is disabled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54729 b2dd03c8-39d4-4d8f-98ff-823fe6... -
09:16 AM Revision 3de227bd (git): * vm_insnhelper.c (vm_getivar): specify inline instead of static inline.
- vm_getivar is called by vm_call_ivar and vm_getinstancevariable.
At least with GCC 4.8 and 5.3 on Linux, they are inlining it into
vm_call_ivar but not vm_getinstancevariable.
By `inline`, they correctly inline it and gains perform... -
07:15 AM Revision 973ba3e8 (git): * include/ruby/ruby.h (rb_mul_size_overflow): use UNLIKELY
- by user side to improve generallity.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:15 AM Revision 5587badf (git): * include/ruby/ruby.h (RB_LIKELY): use prefix in ruby.h.
- * intern.h (LIKELY): define with RB_LIKELY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:27 AM Revision 3f7cce9f (git): * NEWS: Add descriptions for Time#to_time updates.
- [Bug #12271] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:23 AM Revision e9db63d9 (git): * NEWS: Add descriptions for DateTime#to_time updates.
- [Bug #12189] [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:23 AM Revision e496dfe6 (git): eval.c: reuse VM tag
- * eval.c (ruby_cleanup): reuse same VM tag by managing steps.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:23 AM Revision 53d5f865 (git): eval_error.c: reuse threadptr
- * eval_error.c (error_print, error_handle): reuse same threadptr
by passing as an argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:21 AM Bug #12311 (Closed): [DOC] Convert DateTime documentation to RDoc
- Applied in changeset r54721.
----------
date_core.c: [DOC] markdown to rdoc [ci skip]
* ext/date/date_core.c (Init_date_core): [DOC] Convert DateTime
documentation to RDoc from Markdown.
[ruby-core:75136] [Bug #12311] -
02:21 AM Revision f56a2c72 (git): date_core.c: [DOC] markdown to rdoc [ci skip]
- * ext/date/date_core.c (Init_date_core): [DOC] Convert DateTime
documentation to RDoc from Markdown.
[ruby-core:75136] [Bug #12311]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:25 AM Bug #12289 (Feedback): Segmentation fault at 0x00000000000020 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
- Could you try recent versions?
-
12:03 AM Revision 88783116 (git): ruby.c: fix command line encoding on cygwin
- * ruby.c: cygwin does not use w32_cmdvector, command line can be
other than UTF-8. [ruby-dev:49519] [Bug #12184]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:02 AM Revision 4558e2d1 (git): configure.in: move cache variable for AIX round
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/22/2016
-
04:19 PM Bug #12312 (Closed): Make PTY take environment variables like popen does
- Need a PTY that also takes environment variables ... hacking around it with script (which works differently on OSX and Unix) is ugly ...
-
04:10 PM Bug #12302: at_exit status status is changed by raising/rescueing a exception in at_exit
- ruby_2_3 r54718 merged revision(s) 54681.
-
10:31 AM Bug #12302: at_exit status status is changed by raising/rescueing a exception in at_exit
- [removed spammer's comment and locked the account]
-
10:30 AM Bug #12302: at_exit status status is changed by raising/rescueing a exception in at_exit
- [removed spammer's comment and locked the account]
-
06:09 AM Bug #12302 (Closed): at_exit status status is changed by raising/rescueing a exception in at_exit
- Applied in changeset r54681.
----------
eval_jump.c: restore previous error info
* eval_jump.c (exec_end_procs_chain): restore previous error info
for each end procs. [ruby-core:75038] [Bug #12302] -
04:10 PM Revision ab3376b9 (git): merge revision(s) 54681: [Backport #12302]
- * eval_jump.c (exec_end_procs_chain): restore previous error info
for each end procs. [ruby-core:75038] [Bug #12302]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:02 PM Revision 4c901830 (git): * 2016-04-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:02 PM Revision 35464cab (git): * configure.in: don't use the system-provided round(3) on AIX.
- In AIX, round(0.49999999999999994) returns 1.0.
Use round() in numeric.c instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:59 PM Bug #12082: Tail-calling method can't catch exception raised by tail-called method
- ruby_2_3 r54715 merged revision(s) 54141,54542,54548.
-
09:42 AM Bug #12082: Tail-calling method can't catch exception raised by tail-called method
- ruby_2_2 r54698 merged revision(s) 54542,54548.
-
03:59 PM Revision b8aa4100 (git): merge revision(s) 54141,54542,54548: [Backport #12082]
- test_optimization.rb: tailcall
* test/ruby/test_optimization.rb (TestRubyOptimization.tailcall):
helper method to compile methods with tailcall optimization
enabled.
* compile.c (iseq_optimize): disable tail call opt... -
03:40 PM Bug #12201: nkf.c static void fold_conv part of exression always true
- ruby_2_3 r54714 merged revision(s) 54423,54489.
-
09:23 AM Bug #12201: nkf.c static void fold_conv part of exression always true
- ruby_2_2 r54695 merged revision(s) 54423,54489.
-
03:39 PM Bug #12202: nkf.c static void mime_putc the variable being used for loop used for outer loop too
- ruby_2_3 r54714 merged revision(s) 54423,54489.
-
09:23 AM Bug #12202: nkf.c static void mime_putc the variable being used for loop used for outer loop too
- ruby_2_2 r54695 merged revision(s) 54423,54489.
-
03:39 PM Revision 9224427b (git): merge revision(s) 54423,54489: [Backport #12201] [Backport #12202]
- * ext/nkf/nkf-utf8/nkf.c: Merge upstream 4f3edf80a0.
patched by Anton Sivakov [Bug #12201] [Bug #12202]
* ext/nkf/nkf-utf8/nkf.c (mime_putc): fix typo.
[Bug #12202] [ruby-core:74802]
git-svn-id: svn+ssh://c... -
03:30 PM Bug #12139: return OpenSSL::Random.random_bytes(n) call takes to long. OpenSSL:: bug on windows.
- ruby_2_3 r54713 merged revision(s) 54144,54699.
-
09:18 AM Bug #12139: return OpenSSL::Random.random_bytes(n) call takes to long. OpenSSL:: bug on windows.
- ruby_2_2 r54693 merged revision(s) 54144.
-
03:30 PM Revision a8acc95f (git): merge revision(s) 54144,54699: [Backport #12139]
- * lib/securerandom.rb (gen_random): to avoid blocking on Windows.
On Windows OpenSSL RAND_bytes (underlying implementation is
RAND_poll in crypto/rand/rand_win.c) may be blocked at
NetStatisticsGet.
... -
03:26 PM Bug #11872: Use 'ASCII-8BIT', not 'binary', for miniruby
- ruby_2_3 r54712 merged revision(s) 53315.
-
03:26 PM Revision dc4286a1 (git): merge revision(s) 53315: [Backport #11872]
- * miniinit.c (Init_enc): add some common aliases of built-in
encodings. [ruby-core:72481] [Bug #11872]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:24 PM Bug #11916: Fix delegating to 'args' and 'block'
- ruby_2_3 r54711 merged revision(s) 53382,53511,53512.
-
05:23 AM Bug #11916: Fix delegating to 'args' and 'block'
- ruby_2_2 r54673 merged revision(s) 53381,53382,53511,53512.
-
05:11 AM Bug #11916: Fix delegating to 'args' and 'block'
- naruse-san, it seems that r53382, r53511 and r53512 are also needed for ruby_2_3.
-
03:24 PM Revision 69dc2ce6 (git): merge revision(s) 53382,53511,53512: [Backport #11916]
- fix commit miss
* test/test_forwardable.rb: add tests for r53381.
* lib/forwardable.rb: Convert given accessors to String.
r53381 changed to accept only Symbol or String for accessors, but
there are s... -
03:12 PM Bug #12311 (Closed): [DOC] Convert DateTime documentation to RDoc
- The docs for DateTime are written in Markdown, the patch converts it to the RDoc format.
This fixes syntax highlighting of some code examples and also enables the accustomed auto linking of classes and methods. -
03:10 PM Bug #12303: No rule to make target '.ext/include/i386-cygwin/ruby/config.h', needed by 'main.o' when ./configure TEST_COLORS=skip=43
- ruby_2_3 r54710 merged revision(s) 54657,54660.
-
03:10 PM Revision fdd8cf97 (git): merge revision(s) 54657,54660: [Backport #12303]
- * configure.in: check if succeeded in creating config.h.
* tool/ifchange: ignore failures when TEST_COLORS unmatched. just
use the default value if expected name is not contained in it.
[ruby-core:75046] [Bug... -
02:53 PM Misc #12310: ctime vs asctime - Documentation Issue? - http://ruby-doc.org/core-2.3.0/Time.html
- @Robert
FYI, Time#ctime and Time#asctime are aliases. -
11:34 AM Misc #12310 (Closed): ctime vs asctime - Documentation Issue? - http://ruby-doc.org/core-2.3.0/Time.html
- Applied in changeset r54703.
----------
time.c: add example [ci skip]
* time.c (time_asctime): [DOC] add ctime example, not only
asctime. [ruby-core:75126] [Bug #12310] -
10:53 AM Misc #12310 (Closed): ctime vs asctime - Documentation Issue? - http://ruby-doc.org/core-2.3.0/Time.html
- All,
I was working through the Time Class documentation at http://ruby-doc.org/core-2.3.0/Time.html.
I noted a potential typo in the example code as per below.
~~~
**ctime** → string click to toggle source
Returns a canonical ... -
02:47 PM Bug #12256: multiline regex parses '/' in a comment
- ruby_2_3 r54709 merged revision(s) 54510.
-
09:34 AM Bug #12256: multiline regex parses '/' in a comment
- ruby_2_2 r54697 merged revision(s) 54510.
-
02:47 PM Revision cce82740 (git): merge revision(s) 54510: [Backport #12256]
- * doc/regexp.rdoc (comments): [DOC] terminators cannot appear in
comments. [ruby-core:74838] [Bug #12256]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:44 PM Bug #12228: [DOC] Fix errors in doc/extension*.rdoc
- ruby_2_3 r54708 merged revision(s) 54434.
-
02:44 PM Revision f3b73a8e (git): merge revision(s) 54434: [Backport #12228]
- * extension.rdoc, extension.ja.rdoc: [DOC] Fix some errors.
Renamed files, wrong method names or argument types; the example
GetDBM macro is now updated to the current version of the actual
code. patch by M... -
02:38 PM Revision b7aceaaa (git): merge revision(s) 54706:
- * test/ruby/test_time_tz.rb: Tests depends on Europe/Moscow removed
to avoid test failures due to the tzdata change.
https://github.com/eggert/tz/commit/8ee11a301cf173afb0c76e0315b9f9ec8ebb9d95
Found by naru... -
01:58 PM Bug #12309: Segmentation fault caused by OpenSSL
- Maybe [Bug #12126]?
-
09:18 AM Bug #12309 (Rejected): Segmentation fault caused by OpenSSL
- I am consistently getting a segmentation fault whils running Sinatra. It appears to be during an net/http request to an ssl endpoint on a remote web server. The full stack trace is below.
Sinatra runs correctly for a few minutes, maki... -
12:41 PM Bug #12305: "can't remove str from str_id" at unregister_sym
- I think it is difficult to track it down if it only appears sometimes.
Perhaps you find some way to trigger it more often - if you don't see a pattern in the bug occurrence,
perhaps you can find a pattern in the ruby code that trigge... -
12:20 PM Revision c5c60ded (git): * test/ruby/test_time_tz.rb: Tests depends on Europe/Moscow removed
- to avoid test failures due to the tzdata change.
https://github.com/eggert/tz/commit/8ee11a301cf173afb0c76e0315b9f9ec8ebb9d95
Found by naruse.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54706 b2dd03c8-39d4-4d8f-98ff-823fe69... -
11:44 AM Revision ef6af0c9 (git): [DOC] Arrah#sum with non-numeric objects.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:42 AM Revision fac42e6c (git): * include/ruby/ruby.h (rb_mul_size_overflow): added to handle
- mul overflow efficiently.
* include/ruby/ruby.h (rb_alloc_tmp_buffer2): use rb_mul_size_overflow
and avoid division where it can define DSIZE_T.
* gc.c (xmalloc2_size): moved from ruby.h and use rb_mul_size_overflow.
git-svn-id: svn... -
11:42 AM Bug #12307 (Rejected): File.new and File.open change permissions even if the file exists on Windows
- Thank you for the C example and explanation!
So indeed the behavior of MSVCRT contradicts its description:
"[...] If the file already exists, pmode is ignored." but it's not in practice.
So it's indeed a bug either in MSVCRT documen... -
11:34 AM Revision 5fd58928 (git): time.c: add example [ci skip]
- * time.c (time_asctime): [DOC] add ctime example, not only
asctime. [ruby-core:75126] [Bug #12310]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 10:21 AM Revision ed01f3c7 (git): Revert r54694 because of compatibility problem.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:04 AM Revision bc65dbcd (git): variable.c: fix implicit conversion
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:47 AM Revision 3738fe33 (git): * variable.c: use uint32_t instead of long to avoid confusion about
- the type of ivtbl->numiv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:45 AM Bug #12271: `Time#to_time` removes timezone information
- Thank you for reporting.
I give up to backport this into ruby_2_2. -
08:54 AM Bug #12271: `Time#to_time` removes timezone information
- (It is up to the branch maintainers but) given the actual Rails breakage, my feeling is negative to classify this as something to backport.
-
08:24 AM Bug #12271: `Time#to_time` removes timezone information
- I feel this is a like feature change.
For example, it seems a rubyist felt this change be incompatibility.
https://github.com/rails/rails/issues/24617
Do you think this change is bug fix? -
09:45 AM Revision 70038431 (git): fix a typo [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:42 AM Revision bb7fa59e (git): merge revision(s) 54542,54548: [Backport #12082]
- * compile.c (iseq_optimize): disable tail call optimization in
rescued, rescue, and ensure blocks.
[ruby-core:73871] [Bug #12082]
* compile.c (new_label_body): initialize bit fields, since
compile_d... - 09:34 AM Revision 3a2effbd (git): merge revision(s) 54510: [Backport #12256]
- * doc/regexp.rdoc (comments): [DOC] terminators cannot appear in
comments. [ruby-core:74838] [Bug #12256]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:32 AM Revision 77e74bef (git): * extension.rdoc, extension.ja.rdoc: [DOC] Fix some errors.
- Renamed files, wrong method names or argument types; the example
GetDBM macro is now updated to the current version of the actual
code.
patches are derived from Marcus Stollsteimer in [ruby-core:74690].
[Bug #12228]
git-svn-id:... - 09:23 AM Revision 42569dd4 (git): merge revision(s) 54423,54489: [Backport #12201] [Backport #12202]
- * ext/nkf/nkf-utf8/nkf.c: Merge upstream 4f3edf80a0.
patched by Anton Sivakov [Bug #12201] [Bug #12202]
* ext/nkf/nkf-utf8/nkf.c (mime_putc): fix typo.
[Bug #12202] [ruby-core:74802]
git-svn-id: svn+ssh://c... -
09:20 AM Bug #12189: DateTime#to_time removes timezone information
- ruby_2_2 r54694 merged revision(s) 54169.
- 09:20 AM Revision 59fadede (git): merge revision(s) 54169: [Backport #12189]
- * ext/date/date_core.c (datetime_to_time): preserve timezone info
[Bug #12189] [Fix GH-1295]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:17 AM Revision cb66eaab (git): merge revision(s) 54144: [Backport #12139]
- * lib/securerandom.rb (gen_random): to avoid blocking on Windows.
On Windows OpenSSL RAND_bytes (underlying implementation is
RAND_poll in crypto/rand/rand_win.c) may be blocked at
NetStatisticsGet.
... -
09:15 AM Bug #12193: ruby 2.3 on windows test-all failed
- ruby_2_2 r54692 merged revision(s) 54307.
-
08:49 AM Bug #12193: ruby 2.3 on windows test-all failed
- ruby_2_1 r54689 merged revision(s) 54307.
- 09:15 AM Revision 34a72a75 (git): merge revision(s) 54307: [Backport #12193]
- * lib/rubygems/test_case.rb: Fix test on Windows for inconsistent temp path.
https://github.com/rubygems/rubygems/pull/1554
[Bug #12193][ruby-core:74431]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2... - 09:10 AM Revision 6d728bda (git): * 2016-04-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:10 AM Revision 6968f3a0 (git): Revert previous commit because it was a mistake.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:49 AM Revision 54c011a9 (git): merge revision(s) 54307: [Backport #12193]
- * lib/rubygems/test_case.rb: Fix test on Windows for inconsistent temp path.
https://github.com/rubygems/rubygems/pull/1554
[Bug #12193][ruby-core:74431]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1... -
08:22 AM Feature #12032: Matrix.rb ruby documentation
- Hi Megan O'Neill,
I think it's better to mention that these 3 methods are deprecated now :) -
07:37 AM Bug #12288: [Backport] r49576: check RAND_egd to support libressl
- ruby_2_2 r54688 merged revision(s) 49576.
- 07:37 AM Revision dadc253d (git): merge revision(s) 49576: [Backport #12288]
- * ext/openssl/extconf.rb: check RAND_edg to support libressl.
* ext/openssl/ossl_rand.c (ossl_rand_egd): define only if RAND_edg
is available. [Fix GH-829]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2... -
07:33 AM Bug #12249: Math.gamma(-0.0) should return -Infinity
- ruby_2_2 r54687 merged revision(s) 49913,54492,54494,54495,54496,54499,54503.
- 07:33 AM Revision 4eba3445 (git): merge revision(s) 49913,54492,54494,54495,54496,54499,54503: [Backport #12249]
- math.c: fix tgamma on mingw
* math.c (mingw_tgamma): tgamma(3) on mingw returns a NaN for a
big number, not infinity.
* math.c (ruby_tgamma): fix tgamma(-0.0) on mingw.
[ruby-core:74817] [Bug #12249]
... -
07:11 AM Bug #8851: alias/undef で % リテラルによるシンボルが使えない
- ruby_2_2 r54686 merged revision(s) 54131.
- 07:11 AM Revision e102f563 (git): merge revision(s) 54131: [Backport #8851]
- * defs/keywords (alias, undef): symbol literals are allowed.
* parse.y (parse_percent): should parse symbol literals for alias
and undef. [ruby-dev:47681] [Bug #8851]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bran... -
06:59 AM Bug #12291: Struct member accessor is not consistent with hash access when keys are repeated
- ruby_2_2 r54685 merged revision(s) 54611,54612.
- 06:59 AM Revision 88efadca (git): merge revision(s) 54611,54612: [Backport #12291]
- * struct.c (struct_make_members_list): extract making member name
list from char* va_list, with creating symbols without
intermediate IDs.
* struct.c (struct_make_members_list, rb_struct_s_def): member
... -
06:24 AM Bug #12264: Win32::Registry::API.DeleteKey and DeleteValue reference renamed constants
- ruby_2_2 r54684 merged revision(s) 54529.
- 06:24 AM Revision 8d9e1ca9 (git): merge revision(s) 54529: [Backport #12264]
- * ext/win32/lib/win32/registry.rb (DeleteValue, DeleteKey): fix
API names. [ruby-core:74863] [Bug #12264]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:18 AM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
- ruby_2_2 r54683 merged revision(s) 54484.
- 06:18 AM Revision b0f5d2eb (git): merge revision(s) 54484: [Backport #12095]
- * vm_core.h (rb_vm_struct): make at_exit a single linked list but
not RArray, not to mark the registered functions by the write
barrier. based on the patches by Evan Phoenix.
[ruby-core:73908] [Bug #12095]
... -
06:14 AM Revision ff4cec3c (git): tk: suppress progress indicators
- * ext/tk/extconf.rb: hack to disable progress indicators with
parallel build, not to interleave other messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:09 AM Bug #12237: Coverage keeps tracking counts even after Coverage.result
- ruby_2_2 r54680 merged revision(s) 54465.
-
06:09 AM Revision 1fbe0943 (git): eval_jump.c: restore previous error info
- * eval_jump.c (exec_end_procs_chain): restore previous error info
for each end procs. [ruby-core:75038] [Bug #12302]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:09 AM Revision aef285f5 (git): merge revision(s) 54465: [Backport #12237]
- * thread.c (update_coverage): Do not track coverage in loaded files
after Coverage.result. Avoids out-of-bounds access. [Bug #12237]
* ext/coverage/coverage.c (coverage_clear_result_i): document.
git-svn-id: svn+ssh:... - 06:07 AM Revision 219f68ab (git): * tool/redmine-backporter.rb: the fullpath of merger.rb is too long to
- copy&paste on Windows. show shorter name instead on the platform.
I'm sure that the user of this command on Windows is only me.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:03 AM Bug #12233: Please consider adding documentation to DateTime, one line, require 'date'
- ruby_2_2 r54678 merged revision(s) 54444.
- 06:03 AM Revision 658cd087 (git): merge revision(s) 54444: [Backport #12233]
- * ext/date/date_core.c (Init_date_core): [DOC] fix misplaced doc
of DateTime. [ruby-core:74729] [Bug #12233]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:52 AM Revision 696adbcc (git): * tool/merger.rb: remove temporary file.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:51 AM Bug #12073: local variable interferes with keyword arguments
- ruby_2_2 r54676 merged revision(s) 53834,53835,53836.
- 05:51 AM Revision 3df0e54b (git): merge revision(s) 53834,53835,53836: [Backport #12073]
- parse.y: simplify local ID condition
* parse.y (tokenize_ident, parse_ident): ident in tokenize_ident()
can be a local id only when called from parse_ident(), but never
from parse_gvar() and parse_atmark().
* parse.y... -
05:38 AM Bug #12068: raise overwrites exception cause even if exception is not new
- ruby_2_2 r54675 merged revision(s) 53819,53822.
- 05:38 AM Revision 22a97cbf (git): merge revision(s) 53819,53822: [Backport #12068]
- * eval.c (setup_exception): set the cause only if it is explicitly
given or not set yet. [Bug #12068]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:33 AM Bug #12287: [Backport] r53619: libdir_basename on Windows
- ruby_2_2 r54674 merged revision(s) 53619,53620,53621,53622,53623,53624,53626,53627.
- 05:33 AM Revision 82e65291 (git): merge revision(s) 53619,53620,53621,53622,53623,53624,53626,53627: [Backport #12287]
- configure.bat: --with-libdir
* win32/configure.bat: add --with-libdir option for basename of
libdir. on Windows it must be placed under exec_prefix always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54674 ... - 05:22 AM Revision 4c81b109 (git): merge revision(s) 53381,53382,53511,53512: [Backport #11916]
- * lib/forwardable.rb (def_instance_delegator) fix delegating to
'args' and 'block', clashing with local variables in generated
methods. [ruby-core:72579] [Bug #11916]
* lib/forwardable.rb (def_single_delegat... -
05:04 AM Bug #12253: tkとmechanizeを併用してTkButtonを押すと"TypeError: allocator undefined for TkEvent::Event"エラーが起こる
- ruby_2_2 r54672 merged revision(s) 50338.
- 05:04 AM Revision 1cca2abf (git): merge revision(s) 50338: [Backport #12253]
- tkutil.c: revert r48250
* ext/tk/tkutil/tkutil.c (Init_tkutil): TkUtil::CallbackSubst and
TkUtil::CallbackSubst::Info need the default allocator.
[ruby-list:50115]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2... -
05:01 AM Bug #11970: Multiple Assignment Into a Hash with Destructuring causes segfault
- ruby_2_2 r54671 merged revision(s) 53495.
- 05:01 AM Revision 01828cf4 (git): merge revision(s) 53495: [Backport #11970]
- * compile.c (compile_massign_lhs): when index ends with splat,
append rhs value to it like POSTARG, since VM_CALL_ARGS_SPLAT
splats the last argument only. [ruby-core:72777] [Bug #11970]
git-svn-id: svn+ssh://ci.ru... -
02:31 AM Bug #12308 (Closed): segfault in add_signal_thread_list
- Greetings:
On very rare occasions, my Ruby 2.1.9 segfaults when calling `malloc` from `add_signal_thread_list` with the following stack trace:
```
#21 0x00007f9f0f0f129a in add_signal_thread_list (th=0x7f9f110c4000) at thread_pthr... -
02:27 AM Revision 44dc0f32 (git): * lib/net/http.rb: Improve documentation for SSL requests via GET method.
- [fix GH-1325][ci skip] Patch by @jsyeo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:51 AM Revision 8a77a41f (git): * lib/webrick/ssl.rb: Support to add SSLCiphers option.
- [fix GH-1321] Patch by @rhadoo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:43 AM Revision 48d22f83 (git): * file.c, win32/file.c: Removed obsoleted safe level checks.
- [fix GH-1327] Patch by @cremno
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:02 AM Revision 6f6e35f4 (git): * benchmark/bm_so_meteor_contest.rb: fix a typo.
- [fix GH-1330][ci skip] Patch by @sachin21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/21/2016
-
11:17 PM Bug #12307: File.new and File.open change permissions even if the file exists on Windows
- > The document does not explicitly forbids to change file permissions (except for O_TRUNC but the motivation seems to be to have well-defined semantics with concurrent access and change nothing but the file size), but I believe that to b...
-
11:00 PM Bug #12307: File.new and File.open change permissions even if the file exists on Windows
- > Does open(2) in MSVCRT causes this bug?
No.
Ruby always call `open(2)` with `O_CREAT` when opening files with `"w"`.
On a simple level, ruby's `File.open("abc", "w", 0666)` is translated into C's `open("abc", O_CREAT | O_TRUNC | O... -
10:31 PM Bug #12307: File.new and File.open change permissions even if the file exists on Windows
- Usaku NAKAMURA wrote:
> This behavior is derived from the implementation of MSVCRT.
> ...
Does open(2) in MSVCRT causes this bug?
Then it seems a bug in MSVCRT since
https://msdn.microsoft.com/en-us/library/aa298516%28v=vs.60%29.aspx... -
10:28 PM Bug #12307: File.new and File.open change permissions even if the file exists on Windows
- FWIW, Ruby documentation of File.open and File.new is also phrased the same way:
"If a file is being created, its initial permissions may be set using the perm parameter."
"If a file is being created, permission bits may be given in pe... -
10:25 PM Bug #12307: File.new and File.open change permissions even if the file exists on Windows
- Usaku NAKAMURA wrote:
> To my understanding, POSIX doesn't say so.
> ...
My understanding is that the 3rd argument to open(2) only makes sense with O_CREAT.
In fact, most man pages don't even show the 3rd argument, and only explain it... -
09:51 PM Bug #12307: File.new and File.open change permissions even if the file exists on Windows
- To my understanding, POSIX doesn't say so.
It only says that the mode is not changed when specified O_TRUNC for an existing file.
( http://pubs.opengroup.org/onlinepubs/9699919799/ )
This behavior is derived from the implementation ... -
09:14 PM Bug #12307 (Rejected): File.new and File.open change permissions even if the file exists on Windows
- For instance:
~~~
# New file
File.open("abc", "w", 0666) { |f|
puts f.stat.mode.to_s(8) # => 100666, OK
}
# File exists
File.open("abc", "w", 0466) { |f|
puts f.stat.mode.to_s(8) # => 100444, BUG
}
~~~
So the mode of... -
09:59 PM Revision 673e470d (git): default.mspec: OBJDIR
- * spec/default.mspec: set object directory for optional/capi, not
to pollute the source directory.
https://github.com/ruby/spec/pull/247
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:38 PM Revision 27f74fe7 (git): spec/default.mspec: reduce expand_path
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:59 PM Revision feaa82a4 (git): * gc.c (rb_alloc_tmp_buffer_with_count): added like xmalloc2 to
- avoid duplicated check of size.
* gc.c (ruby_xmalloc2): added to keep separate layers.
* include/ruby/ruby.h (rb_alloc_tmp_buffer2): added to check
the size more statically.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54664 b2... - 08:59 PM Revision f056071c (git): * 2016-04-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:59 PM Revision 54c1f479 (git): * include/ruby/ruby.h (LIKELY): moved from internal.h.
- * include/ruby/ruby.h (UNLIKELY): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:59 PM Revision fe120ac1 (git): * gc.c (objspace_malloc_prepare): remove size check because it is
- used by objspace_xmalloc and objspace_xcalloc.
objspace_xmalloc introduces its own check in this commit.
objspace_xcalloc checks with xmalloc2_size (ruby_xmalloc2_size).
* gc.c (objspace_xmalloc0): common xmalloc function.
* gc.c (... -
08:48 PM Bug #12258: RDoc bug when handling comments in C code examples
- Also opened an issue for RDoc: https://github.com/rdoc/rdoc/issues/402
-
07:33 PM Bug #12305: "can't remove str from str_id" at unregister_sym
- Nobuyoshi Nakada wrote:
> How to reproduce it?
> ...
This is a web application running on top of padrino framework and it's using various gems to consume and process data from external systems.
Unfortunately, this bug happens only on... -
01:57 AM Bug #12305 (Feedback): "can't remove str from str_id" at unregister_sym
- How to reproduce it?
Couldn't you show simplified/reduced script? -
06:06 PM Bug #12278: Sometimes I have segmentation fault with procs reducer
- wind winy wrote:
> Did you had use jemalloc compile ruby?
I've installed Ruby using RVM -
04:37 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- Just my 2 cents here but any time I've been writing a pure ruby application, I ended up including active support or copy-pasting the blank? method.
There's a lot of applications of pure ruby code to know if the string that we have is ... -
03:29 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- I think this is useful outside of Rails. The Active Support module has 87 million downloads on rubygems.org while Railties has only 53 million downloads. So 34 million times people have needed to use Active Support without Railties, this...
-
07:16 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- Rafael's comment about non-Rails use case of .strip.empty? is very interesting. This shows that adding blank method can benefit wild situations where programmers have no other choice than .strip.empty? which doesn't fluently describe wh...
-
04:17 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- Seems that even Ruby itself would benefits from `String#blank?`
https://github.com/ruby/ruby/search?utf8=%E2%9C%93&q=%22strip.empty%3F%22&type=Code
https://github.com/ruby/ruby/search?utf8=%E2%9C%93&q=%22strip.length%22&type=Code -
04:10 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- Also as a point of reference, have a look at all the calls to String #blank? made from Redmine, the very software powering the bug tracker (present boils down to a call on blank most times)
https://github.com/redmine/redmine/search?u... -
04:09 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- > Your examples don't seem reasonable.
Both are real examples, being used in a lot of applications for years, so they are reasonable.
> ...
Indeed, but I was not entering in the merit of email address validation. The validation is ... -
04:07 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- Nobu,
There is a subtle change validation wise with user names:
"Please enter a username, username must not be blank"
vs
"Please enter a valid username, username must not contain the letter E"
Checking for blank is a ... -
03:52 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- Rafael França wrote:
> You want to validate if a username is provided in the form and your user submitted three whitespaces (" "). This is obvious not a valid username so your code checks for it.
Is "' || 1=1" a valid username?
... -
02:50 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- Other real wold examples:
You want to validate if a username is provided in the form and your user submitted three whitespaces (" "). This is obvious not a valid username so your code checks for it.
In fact every single Rails app... -
02:29 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- Nobuyoshi Nakada wrote:
> I think that `String#blank?` equals to `/\P{space}/ !~ self`.
> ...
strip would force allocation of a duplicate string, so is a bit of a non starter.
Yes, in Rails apps this blank very quickly becomes a bo... -
02:12 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- I think that `String#blank?` equals to `/\P{space}/ !~ self`.
Is it slow, especially than `strip`? -
12:52 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- I agree with making `strip` etc. encoding aware, as we did for `upcase` etc., although priority is low.
I don't see the benefit of `blank?` and `present?`, so it has little chance to have them in standard Ruby.
But if `String#blank?`... -
12:20 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
- What about non-Unicode strings?
-
12:16 PM Revision f6e3f361 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:16 PM Revision 616c4159 (git): fix typos [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:49 AM Feature #11868: Proposal for RubyVM::InstructionSequence.compile to return an object containing the syntax error information currently written to STDERR
- Updated.
```
$ ./ruby -e 'begin eval("this.is -> not -> valid $ruby:syntax"); rescue SyntaxError => e; e.failures.each {|ex|p [ex.lineno, ex.column, ex.mesg]}; end'
[1, 14, "syntax error, unexpected keyword_not, expecting keyword_do... -
03:33 AM Bug #12303: No rule to make target '.ext/include/i386-cygwin/ruby/config.h', needed by 'main.o' when ./configure TEST_COLORS=skip=43
- Thank you for the fix, Nakada-san.
Workaround for ruby-2.3.0 may be `./configure TEST_COLORS=pass=32:fail=31:skip=43`.
-
03:14 AM Bug #12303 (Closed): No rule to make target '.ext/include/i386-cygwin/ruby/config.h', needed by 'main.o' when ./configure TEST_COLORS=skip=43
- Applied in changeset r54657.
----------
ifchange: ignore unmatch TEST_COLORS
* configure.in: check if succeeded in creating config.h.
* tool/ifchange: ignore failures when TEST_COLORS unmatched. just
use the default value if expected... - 03:14 AM Revision 0386e09a (git): * 2016-04-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:14 AM Revision 6e8a14dc (git): ifchange: ignore unmatch TEST_COLORS
- * configure.in: check if succeeded in creating config.h.
* tool/ifchange: ignore failures when TEST_COLORS unmatched. just
use the default value if expected name is not contained in it.
[ruby-core:75046] [Bug #12303]
git-svn-id: svn... -
12:29 AM Feature #12304 (Feedback): String#split with a block
- There are methods like String.each_char.slice_when (and friends). See http://ruby-doc.org/core-2.3.0/Enumerable.html#method-i-slice_when
Doesn't this solve your problem? Then, can you show us a bit more details about your use case?
04/20/2016
-
11:33 PM Feature #12306 (Assigned): Implement String #blank? #present? and improve #strip and family to handle unicode
- Time and again there have been rejected feature requests to Ruby core to implement `blank` and `present` protocols across all objects as ActiveSupport does. I am fine with this call and think it is fair.
However, for the narrow case ... -
08:21 PM Bug #12305 (Closed): "can't remove str from str_id" at unregister_sym
- I'm experiencing random occurrences of "can't remove str from str_id" crash.
Message string looks like this one:
```
/srv/sim/.rvm/gems/ruby-2.3.0@env-manager/gems/mongo-2.2.4/lib/mongo/server/description.rb:508: [BUG] 0x007f4f400... -
07:21 PM Revision 6b34f723 (git): merge revision(s) 54653:
- assertions.rb: return the exception
* test/lib/test/unit/assertions.rb (assert_syntax_error): return
the rescued exception object as well as assert_raise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54656 b2... -
06:17 PM Bug #12298: Indeterministic ruby behavior when another thread is killed
- In ruby_cleanup:
First we mark the main thread as killed: https://github.com/ruby/ruby/blob/trunk/eval.c#L186
Then we kill all threads: https://github.com/ruby/ruby/blob/trunk/eval.c#L191
Then we start at_exit hooks: (via ruby_f... -
07:35 AM Bug #12298: Indeterministic ruby behavior when another thread is killed
- Eric Hodel wrote:
> This is not a ruby bug. Thread scheduling is inherently non-deterministic.
> ...
I get that. But why does Ruby wait for the second thread to finish? Or is it that Ruby always waits for those threads to finish, but ... -
06:09 AM Bug #12298: Indeterministic ruby behavior when another thread is killed
- Hmm. Although the report was already rejected, and even if we all may agree that
the honeybadger code was not brilliant, I feel that the overall issue here in
regards to Threads may be useful for more people in the future too.
For ... -
05:40 PM Feature #12020: Documenting Ruby memory model
- Thank you for responding and for taking time to read the proposal.
Let me start by elaborating more on the motivation behind all of the related
proposals, since I did not really explained it in detail when I was opening
them. I apol... -
03:11 PM Feature #12304 (Feedback): String#split with a block
- I would like `String#split` to take an optional block, similar to `String#scan` with a block.
Suppose I have a regex pattern with captures, and I want to iterate over matches while having access to the information in last match `$~`. ... -
03:04 PM Bug #12303 (Closed): No rule to make target '.ext/include/i386-cygwin/ruby/config.h', needed by 'main.o' when ./configure TEST_COLORS=skip=43
- I could not find any document describing
how to use TEST_COLORS environment variable in Ruby.
I could change the color of messages with `./configure TEST_COLORS=skip=43`
and it finished successfully. However, after that, `make` result... -
08:36 AM Bug #12278: Sometimes I have segmentation fault with procs reducer
- Did you had use jemalloc compile ruby?
-
07:18 AM Bug #12278: Sometimes I have segmentation fault with procs reducer
- Seems a GC bug of a `Proc` created by `Symbol#to_proc`.
I suspect that it is a fixed bug, but can't find the ticket now.
-
08:33 AM Revision 20cd25c8 (git): cgi/util.rb: remove CGI::Util#_unescape
- * ext/cgi/escape/escape.c (cgiesc_unescape): define unescape
method instead of _unescape, and should pass the optional
argument to the super method.
* lib/cgi/util.rb (CGI::Util#_unescape): remove intermediate
method.
git-svn-id: ... -
06:52 AM Revision 86b1179a (git): error.c: SyntaxError#initialize
- * error.c (syntax_error_initialize): move the default message,
"compile error", from parse.y. the default parameter should
belong to the class definition.
* parse.y (yycompile0): use the default parameter.
git-svn-id: svn+ssh://ci.... -
04:37 AM Revision e06aaf69 (git): assertions.rb: return the exception
- * test/lib/test/unit/assertions.rb (assert_syntax_error): return
the rescued exception object as well as assert_raise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:01 AM Feature #12275 (Feedback): String unescape
- We looked at this ticket on this month's developer meeting. I then started to think that the "escape" you refer to is not that concrete.
Unescaping cannot work out without escaping. In ruby, there already is a method called String#d... -
03:51 AM Feature #12080: Enumerable#first, Array#last with block
- We looked at this on this month's developer meeting but I remember there was no concrete consensus for this request.
-
03:45 AM Bug #12302 (Closed): at_exit status status is changed by raising/rescueing a exception in at_exit
- ~~~ruby
at_exit do
puts "1 #{$!}"
end
at_exit do
puts "2 #{$!}"
raise 'x' rescue nil
end
at_exit do
puts "3 #{$!}"
exit 1
end
~~~
Nr 3 runs first and exits 1 ... Nr2 receives the correct exit status ... but u... -
02:52 AM Revision 9e8dfaa8 (git): compile.c: make SyntaxError after formatting
- * compile.c (append_compile_error): make SyntaxError instance by
rb_syntax_error_append on demand after formatting the message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:07 AM Bug #12301 (Rejected): Path Check Causes Overhead and Unwanted and Unnecessary Warnings By Default
- I meant that "Cocos" application's fault, by "third party's issue".
-
02:01 AM Bug #12301: Path Check Causes Overhead and Unwanted and Unnecessary Warnings By Default
- I think this isn't even a third party's issue. The warning is because of OP's insecure PATH setting, which is not an Apple's fault.
-
01:50 AM Bug #12301 (Third Party's Issue): Path Check Causes Overhead and Unwanted and Unnecessary Warnings By Default
- > Why was it checking random directories like `/Applications/`, anyway?!
Not random.
It's because your `PATH` environment variable contains that directory.
Change the directory's permission, `chmod go-w /Applications/Cocos/tools/ant... -
01:39 AM Misc #12283: Obsolete ChangeLog and commit message in Git-style
- Seems no one is against abandoning ChangeLog.
What about "a ChangeLog-like plain-text file" part? -
01:35 AM Feature #12300: Allow Object#clone to take freeze: false keyword argument to not freeze the clone
- Sounds much simpler than the previous one to understand what is happening. Also it seems backwards-compatible.
Given the needs of this kind, I'd like to +1. - 01:25 AM Revision 7f5f5e80 (git): * 2016-04-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:25 AM Revision 97177a2d (git): refactor syntax error
- * compile.c (append_compile_error): use rb_syntax_error_append.
* error.c (rb_syntax_error_append): append messages into a
SyntaxError exception instance.
* parse.y (yycompile0): make new SyntaxError instance in main
mode, otherwize ... -
12:44 AM Bug #11924: $ gem server is broken for documentation browsing
- FYI Zachary taught me that this is fixed upstream https://github.com/rdoc/rdoc/pull/360.
-
12:16 AM Bug #12284: io-console gem >= 0.4.3 breaks on Windows ruby < 2.2.0 due to needing rb_sym2str
- Note:
rubygems prevents to ship to default gem now.
see. https://github.com/rubygems/rubygems.org/pull/1221
04/19/2016
-
09:07 PM Bug #12284: io-console gem >= 0.4.3 breaks on Windows ruby < 2.2.0 due to needing rb_sym2str
- The new gem appears to have installed without problems, thank you! Will rubygems pick it up when the version number is next bumped?
~~~
PS C:\test-gem> gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 2.2.5
- RUBY VE... -
06:47 PM Bug #12298 (Rejected): Indeterministic ruby behavior when another thread is killed
- This is not a ruby bug. Thread scheduling is inherently non-deterministic.
Sometimes you'll switch to the work thread before reaching rb_thread_terminate_all which allows the ensure to run, sometimes you won't.
I've attached a red... -
02:04 PM Bug #12301 (Rejected): Path Check Causes Overhead and Unwanted and Unnecessary Warnings By Default
- The title says it all. My solution is to disable path checking by default by defining `ENABLE_PATH_CHECK` as `1` by default, but allowing it to be manually enabled via a `configure` or runtime flag.
Currently it is only disabled on ["... -
10:02 AM Feature #12281: Allow lexically scoped use of refinements with `using {}` block syntax
- I found a way to use refinements in a block anywhere! Yay :-)
~~~ruby
module Moo
refine Fixnum do
def to_s
"moo"
end
end
end
class << Class.new # valid Ruby 2.3.0
using Moo
1.to_s
end
# => "moo"
... -
08:42 AM Revision 51c19594 (git): refactor parser error
- * error.c (err_vcatf): rename, and separate appending message from
creating a string buffer.
* error.c (rb_syntax_error_append): merge rb_error_vsprintf and
rb_compile_err_append.
* parse.y (parser_compile_error): use rb_syntax_error... -
04:46 AM Revision 51612505 (git): appending compile error without rb_errinfo
- * compile.c (append_compile_error, compile_bug): pass iseq and get
error info and file from it, not by the thread error info.
* error.c (rb_report_bug_valist): take va_list instead of variadic
arguments, and just report the bug but n... -
04:33 AM Misc #12283: Obsolete ChangeLog and commit message in Git-style
- I am positive this proposal, too. ChangeLog often conflicts and I encountered with conflicts today, too.
-
04:23 AM Bug #12190 (Rejected): DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
- Reverted with r54647, and changed status to Rejected.
-
03:38 AM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
- Thank you for pointing out behavior differences. I was supposed that this should not break backward compatibilities, but it was actually not.
I am going to revert then. -
02:35 AM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
- I think current Time.parse doesn't match the document.
```
# Since there are numerous conflicts among locally defined time zone
# abbreviations all over the world, this method is not intended to
# understand all of them. For examp... -
01:25 AM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
- I verified that new codes cover all ZoneOffset which covered before with test codes https://github.com/ruby/ruby/pull/1297/files#diff-0bc90ed869793fffc539dfe705fa8facR443
This change should not break existing codes.
(Of course, if so... -
04:20 AM Revision 64231b49 (git): * lib/time.rb: revert r54167 because it would break
- backward compatibilities, and it is documented that
Time.parse does not take into account time zone
abbreations other than ones described in RFC 822
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54647 b2dd03c8-39d4-4d8f-98ff-823... -
04:14 AM Revision b48c212e (git): use more descriptive assertions
- * test/logger/test_logdevice.rb: use assert_predicate,
assert_not_predicate, and assert_file instead of bare assert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:13 AM Revision eb20a743 (git): * ChangeLog: Fix dates of previous commits
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:01 AM Misc #12124: Use Automake
- C.J. Collier wrote:
> I had a meeting yesterday at Microsoft in Redmond with members of the Visual Studio team. They are excited by the idea of enabling support for autotools in Visual Studio.
That sounds interesting.
If autotools ... -
03:55 AM Revision 7bb03997 (git): * ChangeLog: Add descriptions for logger updates
- * NEWS: Add descriptions for logger updates
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:49 AM Feature #10772 (Closed): Add ability to change rotated log file extention
- fixed via https://github.com/ruby/ruby/commit/2c6f15b1ad90af37d7e0eefff7b3f5262e0a4c0b
-
12:40 AM Feature #12300 (Closed): Allow Object#clone to take freeze: false keyword argument to not freeze the clone
- This allows Object#clone to not freeze the resulting object, which fixes a long standing problem in ruby in that you cannot get an unfrozen copy of an object that includes a copy of the object's singleton class. Previously, clone always ...
04/18/2016
-
10:59 PM Feature #12299 (Closed): Add Warning module for customized warning handling
- This is another attempt to provide the same type of support for customized warning handling as #12026. matz had a couple of issues with #12026. First, he did not like the introduction of a new global variable. Second, he wanted the ab...
-
05:46 PM Bug #12249: Math.gamma(-0.0) should return -Infinity
- ruby_2_3 r54643 merged revision(s) 54492,54494,54495,54496,54499,54503.
-
05:46 PM Revision e824b05b (git): merge revision(s) 54492,54494,54495,54496,54499,54503: [Backport #12249]
- * math.c (ruby_tgamma): fix tgamma(-0.0) on mingw.
[ruby-core:74817] [Bug #12249]
* math.c (ruby_lgamma_r): fix lgamma(-0.0) on mingw and OSX.
* math.c (ruby_lgamma_r): mswin's lgamma_r also seems to be wrong.... -
05:38 PM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
- I also thought in the same way.
So, I did not backport this into 2.1. -
05:26 PM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
- I wonder if this change could break existing codes.
Any thoughts? If there's no real demand, I'll marks this as WONTFIX in 2.3 branch. -
05:14 PM Feature #11816: Partial safe navigation operator
- Oh, thanks for the fix. That was really fast.
-
04:38 PM Feature #11816 (Assigned): Partial safe navigation operator
-
08:53 AM Feature #11816 (Closed): Partial safe navigation operator
- Applied in changeset ruby_2_3|r54635.
----------
merge revision(s) 54628: [Backport #12296]
* compile.c (iseq_peephole_optimize): should not replace the
current target INSN, not to follow the replaced dangling link in
the caller... -
07:13 AM Feature #11816 (Open): Partial safe navigation operator
-
07:07 AM Feature #11816 (Closed): Partial safe navigation operator
- Applied in changeset r54628.
----------
compile.c: fix dangling link
* compile.c (iseq_peephole_optimize): should not replace the
current target INSN, not to follow the replaced dangling link in
the caller. [ruby-core:74993] [Bug ... -
05:34 AM Feature #11816: Partial safe navigation operator
- @Matthew
Thought about it again and would agree with the last paragraph. Direct substitution is not appropriate here, despite it sounds logical.
The *&.* operator is a strange beast as other general rules also won't apply, like (opti... -
01:11 AM Feature #11816: Partial safe navigation operator
- I don't necessarily disagree with the rest of Joan's post, but for this point:
Joan Blackmoore wrote:
>
> ...
That's perhaps not the right consistency to be searching for; the `&.` operator is a dressed up `.` operator. There's no ... -
12:36 AM Feature #11816: Partial safe navigation operator
- I can understand the intention behind the proposal, but would like to express a (strong) disagreement with it.
The thing is that it would break language's consistency and is in contradiction to declared behavior.
"safe navigation o... -
05:12 PM Bug #8851: alias/undef で % リテラルによるシンボルが使えない
- ruby_2_3 r54642 merged revision(s) 53753,54131.
-
05:12 PM Revision b7c90baf (git): merge revision(s) 53753,54131: [Backport #8851]
- lex.c.blt: update
* lex.c.blt: follows r52429, not removing casts to int.
* defs/keywords (alias, undef): symbol literals are allowed.
* parse.y (parse_percent): should parse symbol literals for alias
... -
03:54 PM Revision dd4f5901 (git): * test/logger/test_logdevice.rb: fix tests to pass on windows
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:07 PM Revision 7b2d4713 (git): * 2016-04-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:07 PM Revision 2c6f15b1 (git): * lib/logger.rb: Add shift_period_suffix option [Fix GH-10772]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:16 PM Feature #11955: Expose Object that Receives logs in Logger
- I am wondering of the interface yet.
Users pass an io object to Logger constructor as `logdev` like `Logger.new(logdev)`, so getting the io object from `Logger#logdev` seems natural. However,
```
attr_reader :logdev
```
return... -
01:00 PM Bug #12298: Indeterministic ruby behavior when another thread is killed
- Related Honeybadger bug: https://github.com/honeybadger-io/honeybadger-ruby/issues/186
-
12:58 PM Bug #12298 (Rejected): Indeterministic ruby behavior when another thread is killed
- ```
#!ruby
require 'securerandom'
class MyThread < ::Thread; end
def delay
15
end
def run
loop { work }
rescue Exception => e
puts "#{Time.now} Exception"
ensure
puts "#{Time.now} stopping agent"
end
def wor... -
12:54 PM Bug #12297 (Rejected): Ruby stdlib date can parse non-existent date with year 0
- Ruby date lib can parse date with year 0
`$ pry
[1] pry(main)> shitdate=Date.strptime('0000-01-07','%Y-%m-%d')
=> #<Date: 0000-01-07 ((1721064j,0s,0n),+0s,2299161j)>
[2] pry(main)> shitdate.year
=> 0
[3] pry(main)> `
There is n... -
10:45 AM Feature #12224 (Closed): logger: Allow specifying log level in constructor
- Applied in changeset r54638.
----------
Allow specifying logger parameters in constructor
* lib/logger.rb: Allow specifying logger prameters such as level,
progname, datetime_format, formatter in constructor [Bug #12224] -
10:45 AM Revision a0409533 (git): Allow specifying logger parameters in constructor
- * lib/logger.rb: Allow specifying logger prameters such as level,
progname, datetime_format, formatter in constructor [Bug #12224]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:13 AM Bug #12291: Struct member accessor is not consistent with hash access when keys are repeated
- ruby_2_3 r54637 merged revision(s) 54611,54612.
-
09:12 AM Revision 9dc33b83 (git): merge revision(s) 54611,54612: [Backport #12291]
- * struct.c (struct_make_members_list): extract making member name
list from char* va_list, with creating symbols without
intermediate IDs.
* struct.c (struct_make_members_list, rb_struct_s_def): member
... -
09:02 AM Bug #12238 (Rejected): Logger writes progname if log message is nil
-
09:02 AM Bug #12238: Logger writes progname if log message is nil
- Seems intended, so let me close.
(It is okay to change the behavior, but it looks also okay not to change the behavior) -
09:00 AM Misc #12283: Obsolete ChangeLog and commit message in Git-style
- I welcome this proposal. It makes committing easier. Can you please tell us when this proposal will actually start? I see people still committing ChangeLog changes.
-
08:55 AM Bug #12264: Win32::Registry::API.DeleteKey and DeleteValue reference renamed constants
- ruby_2_3 r54636 merged revision(s) 54529.
-
08:54 AM Revision 79e826d7 (git): merge revision(s) 54529: [Backport #12264]
- * ext/win32/lib/win32/registry.rb (DeleteValue, DeleteKey): fix
API names. [ruby-core:74863] [Bug #12264]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:53 AM Bug #12296 (Closed): [Backport] fix dangling link
- Applied in changeset ruby_2_3|r54635.
----------
merge revision(s) 54628: [Backport #12296]
* compile.c (iseq_peephole_optimize): should not replace the
current target INSN, not to follow the replaced dangling link in
the caller... -
08:53 AM Bug #12296: [Backport] fix dangling link
- ruby_2_3 r54635 merged revision(s) 54628.
-
07:17 AM Bug #12296 (Closed): [Backport] fix dangling link
- Backport r54628 to fix infinite loop by dangling link.
c.f. https://bugs.ruby-lang.org/issues/11816#change-58120 -
08:53 AM Revision 4989a071 (git): merge revision(s) 54628: [Backport #12296]
- * compile.c (iseq_peephole_optimize): should not replace the
current target INSN, not to follow the replaced dangling link in
the caller. [ruby-core:74993] [Bug #11816]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/b... -
08:26 AM Bug #12279: cont.c: wrong _MSC_VER check
- ruby_2_3 r54634 merged revision(s) 54574.
-
08:26 AM Revision 892deeb5 (git): merge revision(s) 54574: [Backport #12279]
- * cont.c (fiber_initialize_machine_stack_context): fix wrong
_MSC_VER check, should be decimal but not hexadecimal.
[ruby-core:74936] [Bug #12279]
* cont.c (fiber_initialize_machine_stack_context): fix wrong
... -
08:17 AM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
- ruby_2_3 r54633 merged revision(s) 54484.
-
08:15 AM Revision 157401a9 (git): merge revision(s) 54484: [Backport #12095]
- * vm_core.h (rb_vm_struct): make at_exit a single linked list but
not RArray, not to mark the registered functions by the write
barrier. based on the patches by Evan Phoenix.
[ruby-core:73908] [Bug #12095]
... -
08:00 AM Bug #12237: Coverage keeps tracking counts even after Coverage.result
- ruby_2_3 r54632 merged revision(s) 54465.
-
08:00 AM Revision 1b327a08 (git): merge revision(s) 54465: [Backport #12237]
- * thread.c (update_coverage): Do not track coverage in loaded files
after Coverage.result. Avoids out-of-bounds access. [Bug #12237]
* ext/coverage/coverage.c (coverage_clear_result_i): document.
git-svn-id: svn+ssh:... -
07:34 AM Bug #12233: Please consider adding documentation to DateTime, one line, require 'date'
- ruby_2_3 r54631 merged revision(s) 54444.
-
07:33 AM Revision 0e30b44a (git): merge revision(s) 54444: [Backport #12233]
- * ext/date/date_core.c (Init_date_core): [DOC] fix misplaced doc
of DateTime. [ruby-core:74729] [Bug #12233]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:08 AM Revision ec2f6316 (git): error.c: warn_vsprintf
- * error.c (warn_vsprintf, warning_string): share common code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:08 AM Revision 5a0543e8 (git): error.c: compile_vsprintf
- * error.c (compile_vsprintf): rename compile_snprintf, following
the argument changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:07 AM Revision 6ee3a2cd (git): compile.c: fix dangling link
- * compile.c (iseq_peephole_optimize): should not replace the
current target INSN, not to follow the replaced dangling link in
the caller. [ruby-core:74993] [Bug #11816]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54628 b2dd03... -
04:57 AM Bug #12199: About msys2 path conversion measures in make test-all
- ruby_2_3 r54627 merged revision(s) 54086,54211,54233.
-
04:57 AM Revision ffcad81c (git): merge revision(s) 54086,54211,54233: [Backport #12199]
- * test/lib/test/unit.rb (Options#non_options): make regexp name
options prefixed with "!" negative filters.
* common.mk (TEST_EXCLUDES): use negative filter to exclude memory
leak tests. -x option excludes t... -
03:57 AM Revision 0a38e38a (git): numeric.c: numeric ndigits
- * numeric.c (num_floor, num_ceil, num_truncate): add an optional
parameter, digits, as well as Numeric#round. [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:56 AM Revision fe96a249 (git): numeric.c: flo_truncate
- * numeric.c (flo_truncate): add an optional parameter, digits, as
well as Float#round. [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:55 AM Revision 39f31b8c (git): numeric.c: int_truncate
- * numeric.c (int_truncate): add an optional parameter, digits, as
well as Integer#round. [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:40 AM Revision adc7cb24 (git): test_float.rb: assertions for negative floats
- * test/ruby/test_float.rb: add assertions for round,floor,ceil on
negative floats. [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 02:38 AM Revision b25f06d3 (git): * 2016-04-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:38 AM Revision ae4eb682 (git): numeric.c: update doc [ci skip]
- * numeric.c (int_to_i): [DOC] floor and ceil are no longer
synonyms. [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/17/2016
-
09:55 PM Bug #12295: Ripper not emitting on_parse_error for global variable name syntax errors
- You can handle the case by using `compile_error` instead of `on_parse_error` as below:
```
$ ruby -rripper -e 'class X < Ripper; def compile_error(m) puts "ERROR #{m}" end end; X.parse ":~$"'
ERROR `$' without identifiers is not all... -
07:54 PM Bug #12295: Ripper not emitting on_parse_error for global variable name syntax errors
- After looking into this a little more it looks like the Ruby error is not a "parse error", though it probably should be? This might no longer be Ripper specific. Ruby just seems to give up on the above code no matter where it is placed i...
-
07:48 PM Bug #12295 (Rejected): Ripper not emitting on_parse_error for global variable name syntax errors
- Ripper is not emitting the `on_parse_error` event for certain types of syntax errors, specifically for the following snippet of code:
```
:~$
```
Here is the Ruby syntax error:
```
$ ruby -v
ruby 2.3.0p0 (2015-12-25 revision... -
12:37 PM Revision 912948c7 (git): error.c: remove unused function
- * error.c (rb_compile_bug): remove unused function, which has
never been exposed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:34 AM Revision 5e084529 (git): * array.c (rb_ary_sum): [DOC] fix typos.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:34 AM Feature #12281: Allow lexically scoped use of refinements with `using {}` block syntax
- Not having any pro or contra opinion here but I would like to just briefly chime in that I find the syntax quite heavy.
module Foo
refine String do
It feels a bit ... odd with other ruby code that I would use or write, t... -
01:49 AM Bug #12294 (Rejected): String encoding methods rename
- Use `String#encode`.
-
12:07 AM Bug #12294 (Rejected): String encoding methods rename
- http://ruby-doc.org/stdlib-2.3.0/libdoc/nkf/rdoc/String.html
Most of the string encoding methods are named counter to the established pattern of other check and to_ methods.
Proposed changes:
~~~
iseuc -> euc?
isjis -> j... -
01:46 AM Bug #12293: BUILD FAILED (OS X 10.11.5 using ruby-build 20160330)
- And the reason of segfault is the usual mixing incompatible libraries.
```
-- Control frame information -----------------------------------------------
c:0013 p:-17579912175910 s:0061 e:000060 TOP [FINISH]
``` -
01:06 AM Bug #12183: require "win32ole" すると終了ステータスが必ず 0 になる
- 手元で r49495 の修正で事象が解消されることを確認しました。
https://github.com/ruby/ruby/commit/99eaebcea3ae30f14da659cfd2d5b3b00ff9d351