Activity
From 12/29/2015 to 01/04/2016
01/04/2016
-
08:48 PM Bug #11945: [PATCH] stringio: binmode sets encoding to ASCII-8BIT
- nobu@ruby-lang.org wrote:
> Good point.
> Just adjust the indent as the rest, please.
Thanks for the extra eyes, fixed up indent and committed r53435
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<ht... -
08:45 PM Bug #11945 (Closed): [PATCH] stringio: binmode sets encoding to ASCII-8BIT - Applied in changeset r53435.
----------
stringio: binmode sets encoding to ASCII-8BIT
This should match the behavior of IO#binmode as far
as treating content as ASCII-8BIT (binary).
* ext/stringio/stringio.c (strio_binmode): implement... -
12:31 PM Bug #11945 (Assigned): [PATCH] stringio: binmode sets encoding to ASCII-8BIT
- Good point.
Just adjust the indent as the rest, please. -
11:33 AM Bug #11945 (Closed): [PATCH] stringio: binmode sets encoding to ASCII-8BIT
- stringio: binmode sets encoding to ASCII-8BIT
This should match the behavior of IO#binmode as far
as treating content as ASCII-8BIT (binary).
- 08:45 PM Revision 02144c9f (git): * 2016-01-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:45 PM Revision dc59c768 (git): stringio: binmode sets encoding to ASCII-8BIT
- This should match the behavior of IO#binmode as far
as treating content as ASCII-8BIT (binary).
* ext/stringio/stringio.c (strio_binmode): implement to set encoding
* test/stringio/test_stringio.rb (test_binmode): new test
[ruby-core:... -
05:10 PM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
- I have the exact same problem and message. Wish I had more to add, but I don't. I came on to add an issue and saw Felix beat me to it. I'll follow this issue and participate as I can.
Rails 4.2.5
Ruby 2.3
OS X 10.11.2
Minitest 5.... -
02:34 PM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
- Do you have short code to reproduce it, and what platform?
Or if it is reproducible, then run that application from debugger.
`.gdbinit` for gdb is bundled with the source, break at the line and try `rp` macro to see the content of `or... -
01:34 PM Bug #11946 (Closed): Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
- Starting the Rails server or running specs for one of our applications results in:
~~~
Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
Abort trap: 6
~~~
Previous Ruby versions didn't ... -
04:28 PM Bug #11950 (Closed): Please update the "stable" download link
- The "stable" URL [1] still points to Ruby 2.2 while it should link to Ruby 2.3.
[1] http://ftp.ruby-lang.org/pub/ruby/stable/ -
04:22 PM Feature #11949 (Closed): Allow @/$ prefix in Regexp's named captures
- fluentd hits the problem that Regexp's named captures doesn't allow @ prefix.
https://github.com/treasure-data/omnibus-td-agent/issues/60
I assume this limitation is for auto variable assign feature.
http://ruby-doc.org/core-2.3... -
03:17 PM Bug #11948 (Rejected): Segfault on blank line in IRB
- Segfault on blank line in IRB
Running in Alpine Linux
~~~
bash-4.3# irb
irb(main):001:0>
irb(main):002:0*
/usr/lib/ruby/2.2.0/irb/input-method.rb:149: [BUG] Segmentation fault at 0x00000000000010
ruby 2.2.4p230 (2015-12-1... -
02:05 PM Bug #11947 (Closed): BigDecimal#coerce: unexpected behavior with Float
- I've noticed that:
~~~
BigDecimal('2') + 1 # => BigDecimal(3), OK
1 + BigDecimal('2') # => BigDecimal(3), OK
# whereas
BigDecimal('2') + 1.1 # => BigDecimal(3.1), OK
1.1 + BigDecimal('2') # => Float(3.1), WHY?
~~~
I was e... -
09:49 AM Feature #11939: Syntax sugar to apply a method replace a variable
- Nobuyoshi Nakada wrote:
> Maybe an op assign could be used with (1)?
> ...
That is interesting. It would be even more useful. -
09:30 AM Feature #11939: Syntax sugar to apply a method replace a variable
- According to ruby conventions shouldn't that be
var.some_method!(some_args) if some_condition.
Because you are modifying same object. Why do you need new feature? -
07:59 AM Revision 812c5798 (git): Revert r53431 "temporally revert r53411 to debug"
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:47 AM Revision 014d60ce (git): test_ostruct.rb: sort method names
- * test/ostruct/test_ostruct.rb (test_accessor_defines_method):
should not depend on the order of methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:27 AM Revision bae170f3 (git): common.mk: double quotes
- * common.mk (ext/socket/constdefs.c): use double quotes to get rid
of escape by caret in nmake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:23 AM Revision 853cd402 (git): temporally revert r53411 to debug
- http://rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20151225T162507Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:16 AM Revision 04a913f2 (git): common.mk: generate socket constdefs
- * common.mk (ext/socket/constdefs.c): generate platform
indenpendent constant definitions beforehand under the source
tree at updating the working copy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53430 b2dd03c8-39d4-4d8f-98ff... - 07:08 AM Revision d5f4a2ba (git): variable.c (rb_mod_deprecate_constant): [DOC] added
- documentation for Module#deprecate_constant. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:42 AM Bug #11849: Heredoc regression in 2.2.4
- Ref: https://github.com/whitequark/parser/issues/231#issuecomment-165921156
- 06:38 AM Revision 571fb5b6 (git): thread_sync.c: [DOC] remove SizedQueue#close argument. [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:12 AM Revision 1c8b8173 (git): * version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of
- Fujitsu C Compiler (fcc) on Solaris. [Bug #11944] [ruby-dev:49468]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:12 AM Bug #11944 (Closed): ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
- Applied in changeset r53427.
----------
* version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of
Fujitsu C Compiler (fcc) on Solaris. [Bug #11944] [ruby-dev:49468] -
02:37 AM Bug #11944 (Assigned): ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
- まさに今試してもらおうと思っていたパッチでした。
それでお願いします。 -
02:35 AM Bug #11944: ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
- 以下のパッチでエラーが出なくなることは確認しました。
~~~diff
Index: version.h
===================================================================
--- version.h (revision 53426)
+++ version.h (working copy)
@@ -3,7 +3,7 @@
#define RUBY_PROGRAM_VERSIO... -
01:31 AM Bug #11944 (Closed): ruby lib version (2.4.0) doesn't match executable version (RUBY_PROGRAM_VERSION_MAJOR.RUBY_PROGRAM_VERSION_MINOR.0) (RuntimeError)
- おそらく r53314 以降、Solaris にて古い fcc (Fujitsu C Compiler) にて、
以下のエラーによりビルドに失敗します。
~~~
./miniruby -I./lib -I. -I.ext/common ./enc/make_encmake.rb --builtin-encs="enc/ascii.o enc/us_ascii.o enc/unicode.o enc/utf_8.o" --builtin-transes="en... -
01:50 AM Revision 8fe2421e (git): ChangeLog: remove unnecessary preposition [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:46 AM Revision 09ecfbf3 (git): ChangeLog: remove stale log [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:14 AM Revision acc472dd (git): * test/coverage/test_coverage.rb: ignored test when enabled to coverage.
- It lead to crash with `make test-all`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/03/2016
-
11:53 PM Bug #11915: File.read reading string starting with | executes it.
- Nobuyoshi Nakada wrote:
> Linus Sellberg wrote:
> ...
But File.read DOES. Which is what I find wrong. That File.open doesn't is another reason to not have .read do that. -
11:14 PM Revision c48abea0 (git): Move a comment to the appropriate position.
- The position of `/* fall through */` was moved by r52931.
* insns.def (opt_case_dispatch): Move a comment to the
appropriate position.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53423 b2dd03c8-39d4-4d8f-98ff-823fe6... -
10:11 PM Feature #11818: `Hash#compact`
- Prem Sichanugrist wrote:
> Active Support has this: http://api.rubyonrails.org/classes/Hash.html#method-i-compact
> ...
https://github.com/ruby/ruby/pull/1184/files
In anticipation of this being approved, I have raised a PR of a sam... -
05:49 PM Bug #11706: Clean up files etc/unicode/name2ctype.{h.blt,kwd,src}
- I've been dealing with an issue related to this. When Ruby updated to MRI 7.0 the name2ctype.h was updated but not the name2ctype.src, so they're now inconsistent (look at CR_Blank for example).
I found this problem when I tried to up... -
03:24 PM Revision 7d117c70 (git): contributing.rdoc: update [ci skip]
- * doc/contributing.rdoc: mention some make targets, check, up, and
love.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:03 PM Revision c4079eec (git): * 2016-01-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:03 PM Revision 94519cbb (git): common.mk: up in help
- * common.mk (help): mention `up` target briefly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:55 PM Revision 192b63fd (git): Fix defined? expressions
- * lib/rubygems/security.rb (DIGEST_ALGORITHM, KEY_ALGORITHM):
should check same name as the used constants.
[ruby-core:72674] [Bug #11940]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:53 PM Bug #11940 (Third Party's Issue): Ruby fails to compile with --with-static-linked-ext
- Luiz Angelo Daros de Luca wrote:
> It seems that `OpenSSL::Digest` is defined by the builtin ext (in miniruby?!),
It might be defined in `rubygems/digest.rb`.
-
02:36 PM Bug #11937: did_you_mean and other bundled gems are not installed by make install
- Benoit Daloze wrote:
> 1) Why and when should I do a `make up`?
`make up` is a trigger to update via the network.
Other targets would not access remote hosts, except for some necessary files (config. guess and config.sub).
> ...
... -
12:28 PM Bug #11937: did_you_mean and other bundled gems are not installed by make install
- About 2) it's due to #11876, so after updating the keys it seems to work.
-
11:37 AM Bug #11937: did_you_mean and other bundled gems are not installed by make install
- Nobuyoshi Nakada wrote:
> Doesn't `make up` do it?
I guess it would, however I think there are two problems:
1) Why and when should I do a `make up`?
And where is it documented it should be part of the the build process? (make he... -
02:31 PM Feature #11939: Syntax sugar to apply a method replace a variable
- Maybe an op assign could be used with (1)?
```ruby
var +=.some_method(some_args)
```
-
02:19 PM Revision 23529f5d (git): Makefile.in: drop dependency
- * Makefile.in (aclocal.m4): drop the dependency of aclocal.m4 for
broken autotools installations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:26 PM Misc #11876: Scheduled maintenance 2016/01/01
- New IP is 52.192.80.219.
(I got a "WARNING: POSSIBLE DNS SPOOFING DETECTED!") -
12:00 PM Bug #11942: No rule to make target 'aclocal.m4', needed by 'configure'
- Just for the record, if you run into this bug, just redoing 'make up; make install' isn't enough. A manual 'svn up' is necessary.
-
10:22 AM Bug #11942 (Closed): No rule to make target 'aclocal.m4', needed by 'configure'
- Applied in changeset r53417.
----------
aclocal.m4: add
* aclocal.m4: add fallback file for non-aclocal environments.
[ruby-core:72683] [Bug #11942] -
09:04 AM Bug #11942 (Closed): No rule to make target 'aclocal.m4', needed by 'configure'
- When executing 'make up; make install-nodoc' I get the following errors:
(it's an easy guess that this must be related to r53414)
make[1]: Entering directory '/cygdrive/c/Data/ruby'
sed 's/{\$([^(){}]*)[^{}]*}//g' common.mk > uncomm... -
10:22 AM Revision 853ef28a (git): aclocal.m4: add
- * aclocal.m4: add fallback file for non-aclocal environments.
[ruby-core:72683] [Bug #11942]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:34 AM Bug #11943 (Rejected): Segmentation fault ruby 2.0.0p645
- /opt/rh/ruby200/root/usr/share/ruby/net/http/response.rb:368: [BUG] Segmentation fault
ruby 2.0.0p645 (2015-04-13) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0032 p:---- s:0170 e:00... -
08:14 AM Bug #11903: [BUG] vm_call_cfunc - cfp consistency error
- Check this related issue -https://bugs.ruby-lang.org/issues/7938
-
08:13 AM Bug #11903: [BUG] vm_call_cfunc - cfp consistency error
- Check this related issue -https://bugs.ruby-lang.org/issues/7938
-
07:04 AM Feature #11911: Immutable method definitions and/or static dispatch
- I suppose I'm talking specifically about the first, that is, the ability to change any method at any time.
The most obvious use case I can imagine is an application that wants to guarantee that it's running the stock stdlib, with no m... -
05:52 AM Bug #10196 (Closed): rdoc should not depend on gems
-
04:58 AM Bug #10196: rdoc should not depend on gems
- Pull Request accepted. Please, close.
-
05:01 AM Misc #11649 (Closed): [Refactor] Use `rb_method_visibility_t` instead of `int` in `rb_print_undef`
-
04:59 AM Revision 5cf9b65a (git): Use `rb_method_visibility_t` instead of `int` in `rb_print_undef`
- * eval_error.c (rb_print_undef): Use `rb_method_visibility_t`
instead of `int`.
* eval_intern.h (rb_print_undef): ditto
* proc.c (mnew_internal): ditto
* vm_method.c (rb_export_method): ditto
[Misc #11649] [ruby-core:71311] [fix GH-1... -
04:05 AM Feature #11934: A feature to drop dynamics dynamically
- It would be nice to fine-tune some of ruby's behaviour like that.
So I am encouraging all ideas similar as to the above.
There is only one concern I have - is it possible to become
"less" strict again that is, to revert to the def... - 03:12 AM Revision 21649a0f (git): * 2016-01-03
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:12 AM Revision e05a8537 (git): acinclude.m4: rename
- * acinclude.m4: rename aclocal.m4, which should be generated by
aclocal. [ruby-core:72675] [Bug #11941]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:12 AM Bug #11941 (Closed): aclocal.m4 cannot be generated by aclocal
- Applied in changeset r53414.
----------
acinclude.m4: rename
* acinclude.m4: rename aclocal.m4, which should be generated by
aclocal. [ruby-core:72675] [Bug #11941] -
12:46 AM Bug #11941 (Closed): aclocal.m4 cannot be generated by aclocal
- Hello,
Since rev 52202, ruby added a aclocal.m4 file to its source. Normally, it is expected that aclocal.m4 to be generated by command aclocal that reads m4 directory. In order to avoid using tainted autotools-generated files, some b...
01/02/2016
-
10:39 PM Bug #11940 (Third Party's Issue): Ruby fails to compile with --with-static-linked-ext
- Hello,
When I select to include all ext static linked and between them there is openssl, ruby fails to build.
~~~
$ ./configure --disable-install-doc --disable-install-rdoc --disable-install-capi --with-static-linked-e... -
07:40 PM Bug #9569: SecureRandom should try /dev/urandom first
- Hi!
I happen to have just given a talk on urandom internals at 32C3: https://media.ccc.de/v/32c3-7441-the_plain_simple_reality_of_entropy
The main takeaway about urandom is that it's a CSPRNG, just like the OpenSSL one. (Just bette... -
06:09 PM Bug #9569: SecureRandom should try /dev/urandom first
- First off, thank you for providing number. Then we can discuss scientific way.
blog pages are not considered a formal document.
However I can't reproduce your conclusion. In my result, securerandom has one
weak and /dev/urandom has... -
03:11 PM Bug #9569: SecureRandom should try /dev/urandom first
- The following is the output of your 'SecureRandom' construction vs. the Linux `/dev/urandom` facility:
http://nopaste.narf.at/show/EPVj9ETuMIcrCXKErsS6/
http://nopaste.narf.at/show/i0EJbkQrL3SXurfQZ524/
As you can see your RNG is ... -
02:36 PM Bug #9569: SecureRandom should try /dev/urandom first
- >You evidently have no idea what you are talking about. Why would you want to use the PRNG that's local to OpenSSL? It can fail in many ways, is >slower than the kernel and may introduce vulnerabilities. The OpenSSL PRNG is not even fork...
-
10:18 AM Bug #9569: SecureRandom should try /dev/urandom first
- Nobuyoshi Nakada wrote:
> SecureRandom without OpenSSL (or compatible alternatives) is nonsense.
You evidently have no idea what you are talking about. Why would you want to use the PRNG that's local to OpenSSL? It can fail in many w... -
06:57 AM Bug #9569: SecureRandom should try /dev/urandom first
- Aaron Zauner wrote:
> The issuer before me has linked to various cryptographers telling you in their blogs to use `/dev/urandom`. Why would you rather listen to an out-dated man page? Even how this works (CSPRNG and entropy) in the ke... -
02:16 AM Bug #9569: SecureRandom should try /dev/urandom first
- SecureRandom without OpenSSL (or compatible alternatives) is nonsense.
-
01:48 AM Bug #9569: SecureRandom should try /dev/urandom first
- Hi,
This still seems to be the case according to the code available on GitHub.
I urge the core team to move to `/dev/urandom`. It is an urban-legend (as Thomas Ptacek notes in the sockpuppet.org blog-post referenced two years ago) ... -
01:59 PM Feature #11939 (Open): Syntax sugar to apply a method replace a variable
- There is frequent use case to modify the value of a variable and keep it referred to by the same variable name. When method chaining cannot be done (for example, when the method is conditionally called), the same variable name would have...
- 12:08 PM Revision 004bb16c (git): thread_sync.c: remove unnecessary casts for queue_sleep
- "Qfalse" and "(VALUE)0" are equivalent, and do not matter
for an ignored argument, either.
Additionally, there's no reason to cast the pointer to
rb_thread_sleep_deadly when we already have a queue_sleep
wrapper.
* thread_sync.c (queue... - 07:19 AM Revision 32b4a8b3 (git): Allow ERB subclass to add token easily. [Feature #11936]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:19 AM Feature #11936 (Closed): Allow ERB subclass to add token easily
- Applied in changeset r53412.
----------
Allow ERB subclass to add token easily. [Feature #11936] -
05:44 AM Revision 123313e2 (git): parse.y: use nd_tag
- * parse.y (regexp): set_yylval_num sets u1, should use nd_tag
instead of nd_state. [ruby-core:72638] [Bug #11932]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:20 AM Feature #11938 (Closed): [PATCH] cleanup: stdlib: avoid extra calls to eliminate "\n" from Base64
- stdlib: avoid extra calls to eliminate "\n" from Base64
We may use the '0' (zero) to avoid adding the line feed.
Furthermore, the '*' (asterisk) modifier is not needed for
a single-element arrays.
-
04:39 AM Revision 9c541079 (git): Revert r53409 "parse.y: yylval.num should be u3"
- It introduces SEGV
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:09 AM Bug #11924 (Third Party's Issue): $ gem server is broken for documentation browsing
-
03:46 AM Bug #11937 (Feedback): did_you_mean and other bundled gems are not installed by make install
- Doesn't `make up` do it?
-
02:11 AM Revision 10c2251a (git): parse.y: yylval.num should be u3
- * parse.y (set_yylval_num): should be used as nd_state, set to u3.
[ruby-core:72638] [Bug #11932]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:11 AM Bug #11932 (Closed): Ripper.sexp can't parse some files from ruby repository and returns nil
- Applied in changeset r53409.
----------
parse.y: yylval.num should be u3
* parse.y (set_yylval_num): should be used as nd_state, set to u3.
[ruby-core:72638] [Bug #11932]
01/01/2016
- 11:47 PM Revision 81df39dc (git): * 2016-01-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:27 PM Feature #10168: Native Object#inspect method should single quote strings that don't need to be double quoted
- Peter Halliday wrote:
> From my point of view this is a suggestion to increase overall productivity as I use tools that use this method to print things that I then copy and paste quite a bit - not having to then replace the quotes will ... -
05:38 PM Bug #11901: Performance Issue with OpenStruct
- Marc-Andre Lafortune wrote:
> Yui NARUSE wrote:
> ...
nobu did the latter in r53396.
-
05:34 PM Bug #11901: Performance Issue with OpenStruct
- Yui NARUSE wrote:
> Could you fix rubyspec?
Great, that was a bug
I made an easy fix so `method_missing` doesn't add a method if frozen. I hesitated to redefine `freeze` to add all the needed method definitions, but it's difficult... - 05:27 PM Revision 9543908c (git): * lib/ostruct.rb: Fix case of frozen object with initializer.
- Bug revealed by RubySpec [ruby-core:72639]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:58 PM Feature #11934: A feature to drop dynamics dynamically
- I am not sure this would bring much in terms of performance,
and it would definitely limits lots of stuff to run in this mode (Rails as today would certainly not).
It sounds a bit to me like trying another language.
Constant folding... -
01:46 PM Feature #11934: A feature to drop dynamics dynamically
- All of the dynamic language features described (constant and method redefinition, inclusion of modules etc) can already be done with no runtime cost (http://chrisseaton.com/rubytruffle/deoptimizing/, http://chrisseaton.com/phd/). If thes...
-
12:04 AM Feature #11934: A feature to drop dynamics dynamically
- Eric, thank you for your comment.
> We already allow "freeze" on classes and modules; perhaps we perform
> ...
Is constant folding possible? And method inlining? They may be possible, but I guess the effect will be restricted. To ... -
01:13 PM Misc #11876 (Closed): Scheduled maintenance 2016/01/01
- I finished maintenance and confirmation to svn commit.
SSH fingerprint at our new repository is here:
* RSA: 72:04:c9:95:f5:06:de:57:0a:45:0e:30:9c:4e:57:87
* ECDSA: bd:9d:d7:25:85:12:ab:65:a1:11:78:a9:71:7d:af:af
Please revo... -
01:10 PM Misc #11876: Scheduled maintenance 2016/01/01
- Hi, sora.
I replaced your 2nd key from s3 to sorah account.
If you need to register more keys, Please mention to me.
-
08:26 AM Misc #11876: Scheduled maintenance 2016/01/01
- Shota Fukumori wrote:
> - HTTP + pgp clearsign: http://sorah.jp/sorah-key.txt.asc
Correction: http://sorah.jp/ssh-key.txt.asc -
08:24 AM Misc #11876: Scheduled maintenance 2016/01/01
- Could you update my ssh keys too? (svn id sorah)
- HTTPS: https://s3-ap-northeast-1.amazonaws.com/sorah.jp/ssh-key.txt https://github.com/sorah/sorah.jp/blob/master/source/ssh-key.txt
- HTTP: http://sorah.jp/ssh-key.txt
- HTTP + pgp... -
06:55 AM Misc #11876: Scheduled maintenance 2016/01/01
- Happy New Year!
I start maintenance now. -
01:02 PM Revision 428fe14f (git): * NEWS: mention about CSV's liberal_parsing option.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:39 PM Revision b8057a5c (git): * ChangeLog: added missing reference for GitHub
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:08 PM Bug #11937 (Closed): did_you_mean and other bundled gems are not installed by make install
- did_you_mean and other bundled gems are not installed when doing a regular local build:
autoconf
./configure --prefix=...
make install
.../bin/ruby -e 'require "did_you_mean"'
=> LoadError
`make update-gem... -
11:06 AM Feature #11936: Allow ERB subclass to add token easily
- I fixed a patch to reduce times to compile the same regexp in TrimScanner.
-
06:42 AM Feature #11936 (Closed): Allow ERB subclass to add token easily
- While I want to use ERB in Rails, escape token "<%==" is not available in ERB and we can't add a new token to ERB easily.
To allow ERB subclass to add a new token easily, I splitted ERB::Compiler#compile to some small methods and create... -
10:39 AM Revision b4c1a13d (git): * doc/NEWS-2.3.0: fix double words typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:28 AM Revision 910eb983 (git): compile.c: adjust call_info count
- * compile.c (remove_unreachable_chunk): decrease count of
call_info in removed instructions. fix up r53402.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:05 AM Revision 00947375 (git): compile.c: remove unreferred label
- * compile.c (remove_unreachable_chunk): remove unreferred label
to optimize away unreachable chunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:47 AM Feature #11839 (Closed): CSV: liberal_parsing option
- 02:44 AM Revision f18f9408 (git): Adding a liberal_parsing option to CSV. Patch by Braden Anderson.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:27 AM Bug #11881 (Closed): Ruby build uses SDKROOT as if it owns it
- Applied in changeset r53400.
----------
mkconfig.rb: SDKROOT
* tool/mkconfig.rb (RbConfig): prefix SDKROOT to oldincludedir
not includedir, the latter is outside the ruby installation.
[ruby-core:72496] [Bug #11881] -
01:27 AM Revision 7d9342ae (git): mkconfig.rb: SDKROOT
- * tool/mkconfig.rb (RbConfig): prefix SDKROOT to oldincludedir
not includedir, the latter is outside the ruby installation.
[ruby-core:72496] [Bug #11881]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53400 b2dd03c8-39d4-4d8f-98...
12/31/2015
-
11:53 PM Bug #11933 (Closed): Add test for Enumerator::Lazy#take
- Applied in changeset r53399.
----------
Add test for Enumerator::Lazy#take
* test/ruby/test_lazy_enumerator.rb (test_take_bad_arg): Add test
code in case of Enumerator::Lazy#take called with negative number.
[ruby-dev:49467] [Bug #... -
02:51 PM Bug #11933 (Closed): Add test for Enumerator::Lazy#take
- Add test code in case of Enumerator::Lazy#take called with negative number.
-
11:53 PM Revision bd5d443a (git): Add test for Enumerator::Lazy#take
- * test/ruby/test_lazy_enumerator.rb (test_take_bad_arg): Add test
code in case of Enumerator::Lazy#take called with negative number.
[ruby-dev:49467] [Bug #11933]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53399 b2dd03c8-39d4... -
08:06 PM Bug #11871 (Closed): Heredoc unindentation with <<~ with single-quoted identifier flush-lefts the content
- Applied in changeset r53398.
----------
parse.y: single-quote indented heredoc
* parse.y (parser_here_document): update indent for each line in
indented here document with single-quotes.
[ruby-core:72479] [Bug #11871] -
08:06 PM Revision b1796737 (git): parse.y: single-quote indented heredoc
- * parse.y (parser_here_document): update indent for each line in
indented here document with single-quotes.
[ruby-core:72479] [Bug #11871]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:38 PM Bug #11912: [WIP] resolv: attempt to fix Resolv::LOC::Coord.create
- zn@mbf.nifty.com wrote:
> `()` is required, or use `0` instead of `1`.
Thanks, we can omit the second arg entirely.
Will squash the following changes in on top of my previous:
diff --git a/lib/resolv.rb b/lib/resolv.rb
index ... -
11:56 AM Bug #11912: [WIP] resolv: attempt to fix Resolv::LOC::Coord.create
- `()` is required, or use `0` instead of `1`.
```
% rbenv exec irb -r irb/completion --simple-prompt
>> "N"[/([NE])/,1]
=> "N"
> ...
=> nil
>> "N"[/[NE]/,0]
=> "N"
``` -
07:27 PM Bug #11932: Ripper.sexp can't parse some files from ruby repository and returns nil
- I reduced buggy files. Seems it's related to parsing regexp.
-
02:05 PM Bug #11932 (Closed): Ripper.sexp can't parse some files from ruby repository and returns nil
- Test file bug.rb:
```ruby
require "ripper"
puts Dir['**/**.rb'].find_all { |f| Ripper.sexp(File.read(f)) == nil }
```
```
$ make runruby TESTRUN_SCRIPT=bug.rb
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=... -
06:28 PM Feature #11934: A feature to drop dynamics dynamically
- mame@ruby-lang.org wrote:
> So, how about a feature to prohibit some dynamic features in runtime?
We already allow "freeze" on classes and modules; perhaps we perform
some optimizations when they become frozen: perfect hashing,... -
05:34 PM Feature #11934 (Rejected): A feature to drop dynamics dynamically
- Ruby is a dynamic language. Everything is possible in runtime.
So, how about a feature to prohibit some dynamic features in runtime?
~~~~
Foo = 1
RubyVM.drop_dynamics
Bar = 2 #=> cannot define new constant
Foo = 2 ... - 06:26 PM Revision d6c769a5 (git): * 2016-01-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:26 PM Revision 6e5967e2 (git): ostruct.rb: deferred accessors
- * lib/ostruct.rb (freeze): define deferred accessors before
freezing to get rid of an error when just reading frozen
OpenStruct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:03 PM Bug #11935 (Closed): Date.new returns inconsistent errors when passed invalid arguments
- When passed invalid data, such as floats and nil values, the Date.new function returns a variety of results that aren't particularly easy to read and understand. The 'undefined method 'div' for nil:NilClass' is particularly unhelpful.
... -
05:10 PM Bug #11901 (Closed): Performance Issue with OpenStruct
- Could you fix rubyspec?
-
05:40 AM Bug #11901: Performance Issue with OpenStruct
- Indeed, the test in `new_ostruct_member` was incorrect now that `respond_to_missing?` has been changed.
Instead, if we look for the actual method I believe this will fix all issues. -
12:52 PM Bug #11915: File.read reading string starting with | executes it.
- Linus Sellberg wrote:
> It is one thing that some of the `.open` methods actually can execute stuff, but a method named 'read' should not behave like that.
`File.open` does not.
Some class methods of `IO`, e.g. `IO.foreach` and `IO.... -
12:46 PM Bug #11906: File.dirname separator stripping from the begining of path
- And on Windows, note that `\\foo\bar` is a valid UNC style path, but `\\\foo\bar` is not.
-
06:11 AM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
- ```
devbox@devbox:~/code/project_name$ gdb --args /usr/bin/env ruby_executable_hooks /home/devbox/.rvm/gems/ruby-2.3.0/bin/sidekiq
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
Licens... -
01:57 AM Bug #11930 (Feedback): Segmentation Fault in gc_mark_ptr in 2.3.0p0
- Seems a GC problem with `Proc`.
```
-- C level backtrace information -------------------------------------------
/home/devbox/.rvm/rubies/ruby-2.3.0/bin/../lib/libruby.so.2.3(rb_vm_bugreport+0x51f) [0x7fe25c8c6b7f] vm_dump.c:688
/h... -
06:11 AM Bug #11899 (Rejected): `Object#public_methods` returns unordered array in Ruby 2.3.0
- It is not guaranteed.
- 05:37 AM Revision 2f2a5c3a (git): * lib/ostruct.rb: Fix new_ostruct_member to correctly avoid redefinition
- [#11901]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:24 AM Bug #11929: No programatic way to check ability to dup/clone an object
- [This demonstration](https://eval.in/495653) should clarify the observed behavior. `Symbol`, `Fixnum`, and indeed every other numeric class inherit their `#dup` from `Kernel`, whose implementation does a sanity check before proceeding, t...
-
01:49 AM Revision 99894e6c (git): test_module.rb: sort constants
- * test/ruby/test_module.rb (test_classpath): since r53376, all
results of Module#constants should be sorted to compare.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:38 AM Revision 3e0f09db (git): ruby-additional.el: escape control code
- * misc/ruby-additional.el (ruby-encode-unicode): escape control
code except for LF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:39 AM Revision 34167345 (git): ruby-additional.el: encode non-ASCII code only
- * misc/ruby-additional.el (ruby-encode-unicode): encode non-ASCII
code only, excluding ASCII control code, e.g. \t, \n, etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/30/2015
-
11:57 PM Bug #11931 (Closed): Segmentation fault with rexml/element.rb
- I am experiencing a bug with an API call collecting XML. I have a script that goes through a web catalog of products and writes it to a csv. Eventually I hit this error ( attached ). It's caching the responses so if I run and fail throug...
-
11:40 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
- https://github.com/flavorjones/loofah/blob/4887e62da44a5ae772d52f028ee25019e6c3626d/lib/loofah.rb#L12
-
11:39 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
- devbox@devbox:~/code/project_name$ sidekiq
/home/devbox/.rvm/gems/ruby-2.3.0/gems/loofah-2.0.3/lib/loofah.rb:12: [BUG] Segmentation fault at 0x00000000000000
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
-- Control frame i... -
10:16 PM Bug #11930: Segmentation Fault in gc_mark_ptr in 2.3.0p0
- Brian Giaraffa wrote:
> /home/devbox/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/core_ext/module/attribute_accessors.rb:208: [BUG] Segmentation fault at 0x00000000000000
> ...
I have discovered more information--
... -
07:52 PM Bug #11930 (Closed): Segmentation Fault in gc_mark_ptr in 2.3.0p0
- /home/devbox/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.5/lib/active_support/core_ext/module/attribute_accessors.rb:208: [BUG] Segmentation fault at 0x00000000000000
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux] -
08:17 PM Bug #11928 (Feedback): Segmentation fault in did_you_mean extension
- What exception will raise with `--disable=did_you_mean` command line option?
-
03:27 PM Bug #11928 (Closed): Segmentation fault in did_you_mean extension
- I'm getting a segmentation fault in my Rails application test suite if I attempt to use an undefined method/object.
I was not able to reproduce this outside of the complex environment of my application, but hopefully you might be able... -
07:06 PM Revision 2fad0168 (git): skip if locale is not UTF-8
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:47 PM Revision 5da0e863 (git): * test/ruby/test_module.rb (test_classpath): r53376 may change
- the order of m.constants.
`make TESTS='-v ruby/test_class.rb ruby/test_module.rb' test-all`
may fail after that.
http://rubyci.s3.amazonaws.com/tk2-243-31075/ruby-trunk/log/20151230T164202Z.log.html.gz
git-svn-id: svn+ssh://ci.rub... - 05:20 PM Revision 6bdfd21d (git): * 2015-12-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:20 PM Revision 6ec9331c (git): * common.mk (help): Fix typo.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:30 PM Bug #11929 (Closed): No programatic way to check ability to dup/clone an object
- We can't dup a Fixnum, and it's ok. But I'm wondering «why is Fixnum saying it can dup?»
~~~
1.respond_to?(:dup) #=> true
~~~
Don't you think that the `dup` method should be undefined in the class Fixnum?
Currently I can do `c... -
12:29 PM Misc #11904: Why was Thread.exclusive deprecated?
- Tony Arcieri wrote:
> Is a single-threaded require actually a *guarantee* of every Ruby VM?
Not single-threaded, but each file should be loaded at most once.
Single require per file/path is certainly highly desirable,
otherwise you... -
11:53 AM Revision 95aadb14 (git): * lib/net/http/responses.rb: Added new response class for 451 status code.
- * lib/net/http.rb: documentation for HTTPUnavailableForLegalReasons
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:45 AM Revision 27f00a7a (git): * lib/webrick/httpstatus.rb: Added HTTP 451 Status Code.
- [fix GH-1167] Patch by @MuhammetDilmac
https://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:40 AM Feature #11927 (Open): Return value for `Module#include` and `Module#prepend`
- Currently, `Module#include` and `Module#prepend` return the receiver, regardless of whether the ancestor chain has been modified. It is not straightforward to know whether it actually had effect.
~~~ruby
module A; end
module B; end
... -
11:28 AM Bug #11926 (Closed): Backport request r53385
- Please backport documentation patch for safe navigation operator.
-
11:26 AM Revision 8f8f92b5 (git): * doc/syntax/calling_methods.rdoc: fix old operator for safe navigation
- operator. [ci skip][fix GH-1182] Patch by @dougo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:18 AM Feature #6284: Add composition for procs
- With the recent addition of `Hash#to_proc` and performance improvements to `Proc`s in 2.3.0, I have rebased my patch (attached) to add composition between `Proc`s, `Method`s and other objects responding to `call` with `*` in the hope of ...
-
11:08 AM Bug #11902: have_func('rb_thread_fd_select') returns false
- On Tue, Dec 29, 2015 at 8:09 AM, <dwfaithfull@gmail.com> wrote:
> Issue #11902 has been updated by Dwain Faithfull.
>
>
> Nobuyoshi Nakada wrote:
>> https://gist.github.com/dwfait/9515d4893ac59962d204#file-mkmf-log-L178-L183
>>
... -
10:15 AM Bug #11909: io.popen problem in 2.2 and over
- Hi all, I have a confirmation... The problem is with libxml-ruby invoked by io.popen. If we try with Nokogiri all is ok.
So, do you think I have to submit the problem to libxml-ruby gem team or do you think it may be a problem related t... -
08:40 AM Bug #11909: io.popen problem in 2.2 and over
- OK, excuse me, we have a problem with libxml if it's called via io.popen. I don't want any "heavy lifting" for me ...
I can't reproduce the problem without libxml because I don't have a problem without libxml, like Nobuyoshi says. And ... -
09:16 AM Bug #11878: Comparison of prepended modules
- I thought that the ordering relation among modules/classes represents the method call priority. `A` < `B` means that method look-up first looks in `A`, then `B`; smaller module/class has higher priority. If so, since a module prepended t...
-
07:36 AM Bug #11878: Comparison of prepended modules
- Making prepending class an ancestor of prepended module?
It feels strange a little, to me. -
04:28 AM Bug #11878: Comparison of prepended modules
- As far as I see the revision r53380 by Nakada san, it looks like my feature proposal part was rejected. Is this the case?
-
12:59 AM Bug #11878 (Closed): Comparison of prepended modules
- Applied in changeset r53380.
----------
object.c: fix prepend cmp
* object.c (rb_class_inherited_p): search the corresponding
ancestor to prepended module from prepending class itself.
[ruby-core:72493] [Bug #11878] -
07:44 AM Feature #11925: Struct construction with kwargs
- Hi.
I have thought the same thing that want to use kwargs in Struct class.
But I can't come up with a good API.
Finally, I made a gem. https://github.com/ksss/type_struct -
07:43 AM Revision f880d5dc (git): Add test for String#ord
- * test/ruby/test_string.rb (test_ord): Add test for String#ord.
[Fix GH-1181]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:28 AM Revision 6fd18ca5 (git): forwardable.rb: adjust backtrace by tail call
- * lib/forwardable.rb (def_instance_delegator): adjust backtrace of
method body by tail call optimization. adjusting the delegated
target is still done by deleting backtrace.
* lib/forwardable.rb (def_single_delegator): ditto.
git-s... -
02:26 AM Revision d8eb5ade (git): fix commit miss
- * test/test_forwardable.rb: add tests for r53381.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:18 AM Bug #11916 (Closed): Fix delegating to 'args' and 'block'
- Applied in changeset r53381.
----------
Forwardable: Fix delegating to 'args' and 'block'
* lib/forwardable.rb (def_instance_delegator) fix delegating to
'args' and 'block', clashing with local variables in generated
methods... -
02:18 AM Revision 986fb559 (git): Forwardable: Fix delegating to 'args' and 'block'
- * 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_delegator): ditto.
If you have... -
12:58 AM Revision a974041b (git): object.c: fix prepend cmp
- * object.c (rb_class_inherited_p): search the corresponding
ancestor to prepended module from prepending class itself.
[ruby-core:72493] [Bug #11878]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53380 b2dd03c8-39d4-4d8f-98ff-82... -
12:42 AM Misc #11876: Scheduled maintenance 2016/01/01
- Hi kou.
Thank you for your comment. I will replace you key at maintenance time. -
12:41 AM Feature #11911 (Feedback): Immutable method definitions and/or static dispatch
- Ruby's ability to change any method anytime, and C++/Java's ability to overwrite some methods in subclasses, are conceptionally quite different. Which one are you interested in, and why? What is your use case?
-
12:20 AM Feature #11921 (Closed): Add test for rb_io_modestr_fmode
- Applied in changeset r53379.
----------
test_io.rb: test for rb_io_modestr_fmode
* test/stringio/test_io.rb (test_flag): add assertion for error when
text and binary mode are mixed.
[ruby-dev:49465] [Feature #11921] -
12:20 AM Revision d252e224 (git): test_io.rb: test for rb_io_modestr_fmode
- * test/stringio/test_io.rb (test_flag): add assertion for error when
text and binary mode are mixed.
[ruby-dev:49465] [Feature #11921]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/29/2015
-
11:44 PM Feature #11920 (Closed): Add test for StringIO#initialize
- Applied in changeset r53378.
----------
test_stringio.rb: test_initialize
* test/stringio/test_stringio.rb (test_initialize): add test for
StringIO#initialize. [ruby-core:72585] [Feature #11920] -
04:53 AM Feature #11920 (Closed): Add test for StringIO#initialize
- I cannot found testing for StringIO#initialize.
So, I tried writing this patch. -
11:44 PM Revision 3586aef4 (git): test_stringio.rb: test_initialize
- * test/stringio/test_stringio.rb (test_initialize): add test for
StringIO#initialize. [ruby-core:72585] [Feature #11920]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:58 PM Misc #11904 (Rejected): Why was Thread.exclusive deprecated?
- This use of `Thread.exclusive` seems nonsense.
https://github.com/cryptosphere/rbnacl/commit/25444979d161fa0f02a61a5003768c2173cfa2ee
While `Thread.exclusive` stops all other threads in 1.8 and earlier, it just blocks other threads w... -
08:01 PM Misc #11904: Why was Thread.exclusive deprecated?
- I received a PR to my project to "add Ruby 2.3 support" (via an inline Mutex) and I think it illustrates the problem:
https://github.com/cryptosphere/rbnacl/pull/127
This doesn't really help, and I guess to make the warning message... -
10:42 PM Bug #11909: io.popen problem in 2.2 and over
- Simone Pieri wrote:
> our problem is that we really need libxml, so it's not interesting to try without....
Ruby is an open source project. We depend on help from everybody; we don't have the time to do the heavy lifting for you. Man... -
10:21 PM Bug #11909: io.popen problem in 2.2 and over
- We have to tell if libxml is mandatory to reproduce it or not.
-
11:11 AM Bug #11909: io.popen problem in 2.2 and over
- Hi,
our problem is that we really need libxml, so it's not interesting to try without.... -
08:21 PM Feature #11614 (Closed): [RFC] use id_table for constant tables - Applied in changeset r53377.
----------
ChangeLog: add entry for r53376
Oops :x
[ruby-core:72112] [Feature #11614] - 08:21 PM Revision 7e85d487 (git): ChangeLog: add entry for r53376
- Oops :x
[ruby-core:72112] [Feature #11614]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:19 PM Revision 1142de8e (git): use id_table for constant tables
- valgrind 3.9.0 on x86-64 reports a minor reduction in memory usage
when loading only RubyGems and RDoc by running: ruby -rrdoc -eexit
before: HEAP SUMMARY:
in use at exit: 2,913,448 bytes in 27,394 blocks
total heap usage: 48,362 ... -
07:33 PM Bug #11867: overriden constant instance variable mismatch
- Nobuyoshi Nakada wrote:
> Exactly.
> ...
I expected the latest constant to set its @b property. If not Class A, at the very least I expected Struct :a to get set. Is this not the intuitive thing to expect? People send arguments based o... -
07:26 PM Revision b7573a00 (git): * thread_pthread.c (rb_thread_create_timer_thread): destroy attr even
- if pthread_create() failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:20 PM Bug #11922 (Closed): [PATCH] fix ASYNC BUG race from bootstraptest/test_fork.rb - Applied in changeset r53373.
----------
thread_pthread.c (rb_thread_create_timer_thread): fix race
This fixes an occasional [ASYNC BUG] failure in
bootstraptest/test_fork.rb '[ruby-dev:37934]'
which tests fork/pthread_create failure by... -
11:33 AM Bug #11922 (Closed): [PATCH] fix ASYNC BUG race from bootstraptest/test_fork.rb
- ~~~
thread_pthread.c (rb_thread_create_timer_thread): fix race
This fixes an occasional [ASYNC BUG] failure in
bootstraptest/test_fork.rb '[ruby-dev:37934]'
which tests fork/pthread_create failure by setting
RLIMIT_NPROC to 1 and ... - 06:20 PM Revision 60c49e94 (git): * 2015-12-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:20 PM Revision 24c979bd (git): thread_pthread.c (rb_thread_create_timer_thread): fix race
- This fixes an occasional [ASYNC BUG] failure in
bootstraptest/test_fork.rb '[ruby-dev:37934]'
which tests fork/pthread_create failure by setting
RLIMIT_NPROC to 1 and triggering EAGAIN on pthread_create
when attempting to recreate the ti... -
03:28 PM Feature #11918: Make #finite? consistent with #nonzero?
- Hello Matz,
With zero division on Integers we expect to do one of these:
~~~
99 / 0 # default behaviour: raise ZeroDivisionError from __LINE__
99 / 0 rescue 0 # handle it here: just return 0
~~~
For Floats there is... -
07:28 AM Feature #11918 (Feedback): Make #finite? consistent with #nonzero?
- Forget about consistency with `nonzero?`, it has sorting use-cases.
And tell me your use-case for `finite?` that returns `nil`.
Your example seems artificial for me.
Matz.
-
03:12 AM Feature #11918 (Feedback): Make #finite? consistent with #nonzero?
- Calling `.nonzero?` on a number returns itself (truthy) or nil, but calling `.finite?` on a float is just true or false.
Floats can produce Infinity without errors and cause downstream errors if that result is unexpected. This would b... -
01:09 PM Bug #11902: have_func('rb_thread_fd_select') returns false
- Nobuyoshi Nakada wrote:
> https://gist.github.com/dwfait/9515d4893ac59962d204#file-mkmf-log-L178-L183
> ...
Any hints/pointers as to figuring out why it's being linked and how to fix this?
-
12:57 PM Feature #11925 (Closed): Struct construction with kwargs
- Propose to make Struct subclass constructors which accept keyword arguments. Not sure, if it's reasonable to allow `.new` accept kwargs, so may be should use different method named like `.create`:
```ruby
Point = Struct.new(:x,:y, ... -
12:54 PM Feature #11923: Put Struct accessors into separate module to allow redefining them in Struct.new's block
- Sorry. Don't how to choose appropriate assignee.
-
11:57 AM Feature #11923 (Open): Put Struct accessors into separate module to allow redefining them in Struct.new's block
- `Struct.new(*args, &block)` creates a subclass of `Struct`. Some methods like accessors are defined right in newly created class. Others like `#initialize`, `#values` and so on are declared in a superclass, i.e. in `Struct`.
The fact th... -
12:23 PM Revision 290deeb7 (git): ruby.c: overriding warning options
- * ruby.c (proc_options): successive -W option overrides previous
warning options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:22 PM Bug #11924 (Third Party's Issue): $ gem server is broken for documentation browsing
- The `$ gem server` command is broken. The gemserver doesn’t find the stylesheets and javascripts, so that the browser only shows the unstyled, bare HTML.
Sample commandline session:
~~~~
% gem list ffi
*** LOCAL GEMS ***
ffi... -
12:17 PM Revision 3d458cd0 (git): * ChangeLog: remove duplicated entries at r53366.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:39 AM Revision 1eafb3dd (git): ruby.c: parse -W option
- * ruby.c (proc_options): parse and skip '-W' option and its
argument even if ignored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:12 AM Revision 66fe2c0d (git): ruby.c: command line option over RUBYOPT env
- * ruby.c (proc_options): -W command line option should be able to
override -w in RUBYOPT environment variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:04 AM Feature #11919: Passing a module directly
- Nobuyoshi Nakada wrote:
> You can write it as
> ...
Right. I had forgotten about operator precedence. My example did not make sense.
> Or without `Module.new`?
> ...
I think this is what I actually wanted to ask for. -
08:31 AM Feature #11919 (Feedback): Passing a module directly
- You can write it as
~~~ruby
using Module.new {
refine ...
...
}
~~~
Or without `Module.new`?
~~~ruby
using do
refine ...
...
end
~~~
-
03:57 AM Feature #11919 (Rejected): Passing a module directly
- Refinement requires a named module:
~~~ruby
module MyRefinement
refine ...
...
end
using MyRefinement
~~~
but often (but not always), refinements are called by the `using` command only in once in a single file, and shou... -
08:54 AM Revision b6b1038c (git): eval.c: warn block for using
- * eval.c (ignored_block): warn if a block is given to `using`,
which is probably for `Module.new`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:36 AM Revision 1403dfbf (git): compile.c: adjust label reference
- * compile.c (new_adjust_body): labels referred by adjuststack
shoud not be optimized away.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:58 AM Feature #11921 (Closed): Add test for rb_io_modestr_fmode
- I cannot found testing for error when io-mode is binary and text.
So, I tried writing this patch. -
03:48 AM Bug #11884 (Closed): Psych.load broken for OpenStruct in Ruby 2.3.0
- Applied in changeset r53366.
----------
ostruct.rb: respond_to?
* lib/ostruct.rb (OpenStruct): make respond_to? working on
just-allocated objects for workaround of Psych.
[ruby-core:72501] [Bug #11884] -
03:48 AM Revision 15960b37 (git): ostruct.rb: respond_to?
- * lib/ostruct.rb (OpenStruct): make respond_to? working on
just-allocated objects for workaround of Psych.
[ruby-core:72501] [Bug #11884]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:37 AM Revision 88aa6abf (git): * test/mkmf/test_have_func.rb (test_have_func):
- Add assertion to examine the existence of HAVE_RUBY_INIT.
* test/mkmf/test_have_func.rb (test_not_have_func):
Add assertion to examine the absence of HAVE_RUBY_INIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53365 b2dd03c8-39... -
12:26 AM Feature #11917 (Open): Add Range#length as an alias for size
- I noticed that `Range` has a `size` method but no `length`, unlike most other `Enumerable` classes. I propose adding `Range#length` as an alias for `Range#size`. Any reason not to?
-
12:05 AM Bug #11913 (Feedback): make fails when using a custom build directory
- Elliot Winkler wrote:
> ~~~
> ...
This happens when `enc/trans/.time` file exists under the source
directory.
> ~~~
> ...
Seems like these object files exist in the source directory, too.
Have you build in the source directory,...