Activity
From 11/07/2013 to 11/13/2013
11/13/2013
-
11:36 PM Feature #9107 (Rejected): Introduce YES and NO as aliases of true and false
- I have a patch introducing the constants YES/NO as aliases of true/false. You can check it out here: https://github.com/gsamokovarov/ruby/compare/trunk...yes-no
While I don't expect this to be accepted, I think it can start a discussi... -
09:53 PM Feature #9023: Array#tail - rest sounds definitely better. Clojure uses it and it feels very natural
and readable.
On Wed, Nov 13, 2013 at 7:59 AM, bozhidar (Bozhidar Batsov) <
bozhidar@batsov.com> wrote:
>
> Issue #9023 has been updated by bozh... -
06:59 PM Feature #9023: Array#tail
- I also dislike the name Array#tail, since it's commonly associated with linked lists, not arrays. I think a much better name would be Array#butfirst (and I've actually renamed Array#tail in powerpack to Array#butfirst). On a related note...
-
07:09 PM Bug #9027 (Closed): [Doc] improve rdoc of Digest module
- This issue was solved with changeset r43668.
Marcus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/digest/*: [DOC] Fix several typos and broken http links.
... -
05:37 PM Revision af5e2129 (git): * ext/thread/thread.c: [DOC] This patch accomplishes the following:
- - Teach RDoc about ConditionVariable
- Teach RDoc about Queue
- Teach RDoc about SizedQueue
- Use fully-qualified namespace for Document-method
This is necessary to separate definitions between classes
- Fix rdoc bug in call_... -
04:30 PM Bug #9106 (Assigned): 'gem install' doesn't copy .so files of ext libs
- Eric, could you handle this?
-
03:50 PM Bug #9106 (Closed): 'gem install' doesn't copy .so files of ext libs
- 'gem install' should copy files of 'ext/**/*.so' of each installed gems, but doesn't.
$ ruby -v
ruby 2.1.0dev (2013-11-12 trunk 43653) [x86_64-linux]
$ gem install msgpack
Fetching: msgpack-0.5.7.gem (100%)
Building native e... -
04:12 PM Revision 62d38534 (git): * ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] +precision+ is required
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:21 PM Feature #9098 (Assigned): Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
- Why not make your content flush left?
- 03:15 PM Revision 647d4f5e (git): * 2013-11-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:14 PM Revision 18358ad8 (git): Squashed commit of the following:
- commit 6895f38bfc3c0ad6bd212b8f9acc3c71384dfcb7
Author: Chikanaga Tomoyuki <nagachika00@gmail.com>
Date: Thu Nov 14 00:14:00 2013 +0900
* ChangeLog: fix a typo at r43666
* ext/openssl/ossl_asn1.c: ditto.
git-svn-id: svn+ssh:... -
10:50 AM Bug #9105 (Closed): callcc による不整合(例:Hash)
- =begin
以下のコードを実行すると、
equire 'continuation'
h = {1=>2,3=>4}
c = nil
f = false
h.each { callcc {|c2| c = c2 } }
unless f
f = true
c.call
end
h.each {|i| h.delete(1); p i}
以下のような結果になります。
[1, 2]
[false, ... -
10:23 AM Revision a369b7f7 (git): * ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] Document the required
- +precision+ argument for Rational#to_d [Bug #8958]
-This line, and those below, will be ignored--
M ChangeLog
M ext/bigdecimal/lib/bigdecimal/util.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43669 b2dd03c8-39d4-4d8f-98f... -
10:09 AM Revision 4c1e390f (git): * ext/digest/*: [DOC] Fix several typos and broken http links.
- Improved examples for Digest overview and fixed a broken example in
Digest::HMAC overview. This patch also adds a description of
Digest::SHA256.bubblebabble to the Digest overview.
Patched by @stomar [Bug #9027]
git-svn-id: svn+... -
09:34 AM Revision 1dd8260d (git): * ext/openssl/ossl_config.c: [DOC] Document the following:
- - OpenSSL::ConfigError
- OpenSSL::Config::DEFAULT_CONFIG_FILE
Patched by @vbatts via GH-436
https://github.com/ruby/ruby/pull/436
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:29 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
- "charliesome (Charlie Somerville)" <charliesome@ruby-lang.org> wrote:
> My personal opinion on extending optimized #freeze to other literals
> is that it should be up to each implementation to decide on.
I agree. If an optimiz... -
07:33 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes - My personal opinion on extending optimized #freeze to other literals is that it should be up to each implementation to decide on.
-
07:32 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
- #8992 landed changes to optimize String#freeze, and #9043 deals with the possibility of adding a shortcut String#f method.
I believe this issue will now decide:
* Should the compiler optimize some form (or all forms) of literal Arr... -
09:29 AM Feature #9043: Add String#f method as shortcut for #freeze
- Fwiw, I am against adding aliases to the same method,
especially extremely short names which are hard to search for.
It is confusing and increases overhead for reading/following code.
Easy-to-write code is not necessary easy... -
07:23 AM Feature #9043: Add String#f method as shortcut for #freeze
- The change to optimize String#freeze has landed for #8992, which compiler-optimizes String#freeze. The only remaining decision is whether to also add #f with the same optimization.
matz likes the idea of String#f. I'm happy either way... -
09:08 AM Bug #4044 (Feedback): Regex matching errors when using \W character class and /i option
- Ooops, didn't mean to close this only mention..
-
09:05 AM Bug #4044 (Closed): Regex matching errors when using \W character class and /i option
- This issue was solved with changeset r43657.
Ben, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* doc/regexp.rdoc: [DOC] add note about Bug #4044 as suggested by
... -
09:06 AM Revision 49a98454 (git): * ext/openssl/ossl_asn1.c: [DOC] Document parts of
- OpenSSL::ASN1::ObjectId included a fix for the class overview, which
previously showed the documentation for Constructive due to missing
ObjectId overview. This patch also includes a note for Primative.
Based on a patch by @vbatts... -
08:46 AM Feature #8257: Exception#cause to carry originating exception along with new one
- henry.maddocks (Henry Maddocks) wrote:
> How is this different to 'wrapping' an exception? Eg.
> ...
Not much different, but built-in and automatically available. -
08:04 AM Feature #8257: Exception#cause to carry originating exception along with new one
- How is this different to 'wrapping' an exception? Eg.
http://www.jayway.com/2011/05/25/ruby-an-exceptional-language/
-
03:32 AM Feature #8257: Exception#cause to carry originating exception along with new one
- nobu (Nobuyoshi Nakada) wrote:
> Automagically captured exceptions doesn't feel `cause' to me, now.
> ...
That's true, but will that be the exception or the rule? It seems to me that most "hidden" or "suppressed" exceptions will be dir... -
08:21 AM Revision 75cef505 (git): * ext/openssl/lib/openssl/config.rb: In #parse use +string+ for +str+
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:17 AM Revision a280ebb6 (git): commit typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:15 AM Revision 33b63fcf (git): * ext/openssl/lib/openssl/*.rb: [DOC] Document the following:
- - Integer#to_bn
- OpenSSL::Buffering module
- Document deprecated OpenSSL::Digest::Digest compatibility class
- OpenSSL::Config
These changes were based on a patch by @vbatts via GH-436
https://github.com/ruby/ruby/pull/436
... -
08:08 AM Revision 2019f34b (git): io-console.gemspec: certification
- * ext/io/console/io-console.gemspec: add a certification.
http://www.benjaminfleischer.com/2013/11/08/how-to-sign-your-rubygem-cert/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:20 AM Feature #8992 (Closed): Use String#freeze and compiler tricks to replace "str"f suffix
- This has been completed as of revisions r43627 and r43634.
Thanks for the collaboration, everyone :-) -
02:59 AM Revision 2ebea118 (git): * lib/rubygems: Update to RubyGems 2.0.14. [ruby-core:58300]
- [Backport #9104]
the patch is provided by drbrain (Eric Hodel).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:56 AM Revision 7b6deb9c (git): * doc/regexp.rdoc: [DOC] Fix typo in Special global variables section.
- Reported by Alex Johnson on ruby-doc.org
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:43 AM Revision 078ae7dd (git): * hash.c: [DOC] Adds an example for Hash#store
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:05 AM Revision 4aaa510f (git): * 2013-11-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:05 AM Revision d265baf3 (git): * doc/regexp.rdoc: [DOC] add note about Bug #4044 as suggested by
- duerst-san in [ruby-core:43612] [Fixes GH-443] Patched by @rosenfeld
https://github.com/ruby/ruby/pull/443
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:05 AM Bug #8883: Rational canonicalization unexpectedly converts to Fixnum
- r43449, r43514 and r43525 are backported to ruby_2_0_0 at r43656.
11/12/2013
-
09:34 PM Bug #4044: Regex matching errors when using \W character class and /i option
- https://github.com/ruby/ruby/pull/443
-
04:53 PM Bug #4044: Regex matching errors when using \W character class and /i option
- On 2013/11/07 21:50, rosenfeld (Rodrigo Rosenfeld Rosas) wrote:
>
> Issue #4044 has been updated by rosenfeld (Rodrigo Rosenfeld Rosas).
>
>
> Shouldn't this bug be mentioned in the docs for \W in the Regexp documentation?
>... -
04:44 PM Bug #9103: Segmentation fault. ROR/rubypython/Sidekiq stack.
- Full error log attached.
-
04:43 PM Bug #9103 (Third Party's Issue): Segmentation fault. ROR/rubypython/Sidekiq stack.
- Sidekiq's worker with follow code (rubypython requirying is in application.rb):
def perform(args)
puts "Doing hard work #{args['paramss']}"
puts args["task"]
RubyPython.start(:python_exe => "python2.7")
d_link = Ruby... -
02:55 PM Revision 71f8a0d2 (git): merge revision(s) 43449,43514,43525: [Backport #8879] [Backport #8883]
- * load.c (ruby_init_ext): share feature names between frame name and
provided features.
* load.c (rb_feature_p): deal with default loadable suffixes.
* load.c (load_lock): initialize statically linked extensio... -
02:35 PM Revision f4d76649 (git): merge revision(s) 43609,43617: [Backport #8878] [Backport #9085]
- vcs.rb: split
* tool/vcs.rb: split from file2lastrev.rb.
* tool/rbinstall.rb (Gem::Specification.load): obtain spec date from
VCS for the case using git, RUBY_RELEASE_DATE is the last resort.
probably... -
02:31 PM Revision 68eb3d86 (git): merge revision(s) 42862(partially),42910,43093: [Backport #8878] [Backport #9085]
- * common.mk: use RUNRUBY instead of MINIRUBY because MINIRUBY can't
require extension libraries. The patch is from nobu
(Nobuyoshi Nakada).
* configure.in (RUNRUBY): append -- only after runruby.rb, not
... -
02:27 PM Bug #9096 (Feedback): Regexp.quote(UTF-8) returns US-ASCII
- The encoding is set back to US-ASCII because the string is just 'foo'. If you change the string e.g. to "foo\u1234", then even after using Regexp.quote, it will keep UTF-8 as the encoding.
A US-ASCII Regexp will match against any UTF-... -
10:23 AM Feature #6727: Add Array#rest (with implementation)
- On 2013/11/12 2:29, fuadksd (Fuad Saud) wrote:
>
> Issue #6727 has been updated by fuadksd (Fuad Saud).
>
>
> Reading back the comments, I realize Indexable may be a good idea for String/Array polymorphism.
The idea is al... -
02:29 AM Feature #6727: Add Array#rest (with implementation)
- Reading back the comments, I realize Indexable may be a good idea for String/Array polymorphism.
-
06:58 AM Bug #8993: Request for clarification on method argument binding for keyword arguments
- No update on this? In case my previous posts were too confusing, here's the gist of it:
As far as I can tell, MRI does not implement the behavior that #8040 describes, so I think this is a bug. -
01:16 AM Revision 067e24d6 (git): * test/rubygems/insure_session.rb: Remove unused test file.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:16 AM Revision 80c90e1b (git): * 2013-11-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:16 AM Revision 44d0a6dc (git): * lib/rubygems: Update to RubyGems master b9213d7. Changes include:
- Fixed tests on Windows (I hope) by forcing platform for
platform-dependent tests.
Fixed File.exists? warnings.
Improved testing infrastructure.
* test/rubygems: ditto.
* test/rdoc/test_rdoc_rubygems_hook.rb: Switch to util_sp...
11/11/2013
-
10:30 PM Bug #9044: Too many warnings with VC 2013
- r43398, r43407, r43408, r43417 are backported to ruby_2_0_0 at r43648.
-
09:52 PM Feature #9099: Train emoji lambda operator
- For those who cannot see it: U+1F685
http://www.unicode.org/charts/PDF/U1F680.pdf
--
Yusuke Endoh <mame@tsg.ne.jp> -
07:22 PM Feature #9099: Train emoji lambda operator
- It's fundamentally denial.
Matz.
-
06:53 PM Feature #9099: Train emoji lambda operator
- On 2013/11/11 17:52, matz (Yukihiro Matsumoto) wrote:
>
> Issue #9099 has been updated by matz (Yukihiro Matsumoto).
>
> Category set to Joke
> Status changed from Open to Feedback
>
> Currently I have no idea to include a... -
05:52 PM Feature #9099 (Feedback): Train emoji lambda operator
- Currently I have no idea to include any method not operator whose name contains non-ascii characters in the core libraries.
Matz.
-
05:25 PM Feature #9099: Train emoji lambda operator
- Just implemented with λ.
-
10:53 AM Feature #9099: Train emoji lambda operator
- I had a look at https://bugs.ruby-lang.org/attachments/4038/train.patch.
Catching the 'train' emoji should be handled in the lexer, not in the
parser.
But first you have to make sure that the source file is actually UTF-8.
Also... -
07:05 AM Feature #9099: Train emoji lambda operator - Redmine truncated the sample code due to the use of emoji, so I have attached a sample file instead.
-
07:04 AM Feature #9099 (Feedback): Train emoji lambda operator - Matz mentioned during the 'Questions for Matz' section at RubyConf 2013 that he would like to the train emoji as an alternative to the stabby lambda operator.
I have implemented this and attached the patch.
Example code:
fn = -
06:27 PM Feature #6727: Add Array#rest (with implementation)
- alexeymuranov (Alexey Muranov) wrote:
> If #each is to take arguments, would suggest
> ...
ok that would be like #grep, but i want something that uses index, not the object itself -
06:18 PM Feature #6727: Add Array#rest (with implementation)
- duerst (Martin Dürst) wrote:
> On 2013/11/11 1:47, Hanmac (Hans Mackowiak) wrote:
> ...
If #each is to take arguments, i would suggest
[1, 2, 'a', :b, 3].each(Integer).map{|x| 2*x } # => [2, 4, 6]
(0.5..5.5).each(Integer).to_a # => ... -
04:23 PM Feature #6727: Add Array#rest (with implementation)
- On 2013/11/11 1:47, Hanmac (Hans Mackowiak) wrote:
> i think in most cases we want something like ary[1..-1].each but wouldnt it be better if we have an each method like
>
> each_only(1..-1) {}
#each currently doesn't hav... -
04:23 PM Feature #6727: Add Array#rest (with implementation)
- On 2013/11/11 0:27, marcandre (Marc-Andre Lafortune) wrote:
> duckinator (Nick Markwell) wrote:
> I believe that the vast majority of these examples are for strings, not arrays.
That might suggest adding #rest to String, ... -
01:47 AM Feature #6727: Add Array#rest (with implementation)
- i think in most cases we want something like ary[1..-1].each but wouldnt it be better if we have an each method like
each_only(1..-1) {}
that does that for us without making an new array? -
12:27 AM Feature #6727: Add Array#rest (with implementation)
- Hi,
duckinator (Nick Markwell) wrote:
> Regarding examples of it used in practice:
> ...
I believe that the vast majority of these examples are for strings, not arrays.
-
05:00 PM Bug #8326: Running Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1
- Additional input, an SBR (stack array bounds read) was reported in mark_locations_array. for example see the attachment.
-
04:47 PM Bug #8326: Running Redmine unter Ruby 2.0.0 produces an "Illegal instruction(coredump)" under AIX 7.1
- We are facing similar issue (similar stack trace) in our tests. Our observation is, if we build ruby in non-optimized mode or 'even if we have ruby optimized (-O) but gc.c built without optimization' we do not see core dump. This might i...
-
04:34 PM Revision 52301063 (git): merge revision(s) 42902:
- vm_method.c: constify
* vm_method.c (rb_resolve_refined_method): constify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:02 PM Bug #9102 (Closed): ObjectSpace.dump_all creates a FD without close-on-exec flag
- I found test/objspace/test_objspace.rb creates a file descriptor without
O_CLOEXEC.
Ruby should create all file descriptors with close-on-exec since Ruby 2.0.0.
So, this behavior is a bug (on OS which supports O_CLOEXEC).
% strac... -
02:55 PM Revision 8d087aa8 (git): merge revision(s) 40136: [Backport #9084]
- * ext/socket/init.c (cloexec_accept): Fix a compile error on
Debian GNU/kFreeBSD. Consider HAVE_ACCEPT4 is defined
but SOCK_CLOEXEC is not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43... -
01:29 PM Revision 1ebb3a2b (git): merge revision(s) 43398,43407,43408,43417: [Backport #9044]
- * win32/Makefile.sub (config.h): VC 2013 supports C99 mathematics
functions. [ruby-core:57981] [Bug #9044]
* include/ruby/win32.h (rb_infinity_float): suppress overflow in
constant arithmetic warnings. [rub... -
11:51 AM Bug #9101 (Closed): Reference to unset variable
- File ext/openssl/ossl.c
line 1107, in Init_openssl(): call to ossl_raise()
line 1112, in Init_openssl(): first assignment to dOSSL
ossl_raise() calls ossl_make_error().
ossl_make_error() uses the global variable dOSSL (line... -
09:39 AM Bug #9057: Thread documentation refers to thread_local_set/get but it only documents thread_variable_set/get
- Thank you :)
-
09:39 AM Revision 8f393426 (git): * internal.h: move common string/hash flags to include file.
- * ext/objspace/objspace_dump.c: remove flags shared above.
* hash.c: ditto.
* string.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:19 AM Misc #8741: email notification on bugs.ruby-lang.org is broken
- Please explain what does it mean re-register? I have heard from https://bugs.ruby-lang.org/users/7549 that he also does not get the notifications and he was registered on 10/25/2013 which is after the mentioned event.
-
01:07 AM Misc #8741 (Closed): email notification on bugs.ruby-lang.org is broken
-
01:07 AM Misc #8741: email notification on bugs.ruby-lang.org is broken
- I'm sorry for your inconvenience experience. we rebuild our mailing list system at Aug, because of system failure.
Probably mailing-list is rolling back to spring this year from Aug. Please re-register it. -
01:13 AM Misc #9097 (Closed): no email notifications for bugs.ruby-lang.org
- I'm sorry for your inconvenience experience. we rebuild our mailing list system at Aug, because of system failure.
Probably mailing-list is rolling back to spring this year from Aug. Please re-register it. -
12:47 AM Bug #9009: Wrong binding when tracing c-calls
- =begin
Hi, I've translate your example to use the TracePoint API
This is the example and result:
class IO
def some_method
end
end
puts "true receiver is #{$stdout}\n\n"
TracePoint.trace(:c_call...
11/10/2013
-
11:55 PM Feature #8257: Exception#cause to carry originating exception along with new one
- Automagically captured exceptions doesn't feel `cause' to me, now.
It might be irrelevant to the previously rescued exception. -
07:37 PM Revision e22d8781 (git): * lib/rubygems/specification.rb: Include 2.2.0.preview.2 when checking
- if extensions should be built. Fixes a ruby-ci failure.
* test/rubygems/test_gem_specification.rb: Test for the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:19 PM Revision ac778eb2 (git): * vm_trace.c (symbol2event_flag): add secret feature.
- add a_call/a_return events.
a_call is call | b_call | c_call, and same as a_return.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:53 PM Revision df196f25 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:51 PM Revision 4f6779ba (git): * lib/rubygems: Update to RubyGems master 4bdc4f2. Important changes
- in this commit:
RubyGems now chooses the test server port reliably. Patch by akr.
Partial implementation of bundler's Gemfile format.
Refactorings to improve the new resolver.
Fixes bugs in the resolver.
* test/rubygems: T... -
04:41 PM Revision 31d355aa (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:13 PM Revision 91d38d57 (git): commit miss [DOC] tag
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:05 PM Revision 12e20b7c (git): * lib/timeout.rb: Added note about change from #8730 [Fixes GH-440]
- * NEWS: Improve grammar on change to Timeout
Patched by @srawlins in https://github.com/ruby/ruby/pull/440
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:18 PM Revision 5567c5ed (git): * 2013-11-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:18 PM Revision f3f8f540 (git): Exception#cause
- * NEWS (Core classes updates): add Exception#cause.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:13 PM Feature #9042 (Closed): Remove "f" suffix in favor of VM optimization of "literal".freeze
- This issue was solved with changeset r43634.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
parse.y: remove "f" suffix [ruby-core:57966] [Feature #9042]
... -
02:50 PM Revision 711a069e (git): * gc.c (rb_gcdebug_print_obj_condition): catch up recent changes
- to compile on GC_DEBUG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:16 PM Revision b050cc5a (git): error.c: Exception#cause
- * error.c (exc_cause): captured previous exception.
* eval.c (make_exception): capture previous exception automagically.
[Feature #8257]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:17 AM Revision 2fff9483 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:39 AM Bug #9027 (Assigned): [Doc] improve rdoc of Digest module
-
08:38 AM Bug #9027: [Doc] improve rdoc of Digest module
- I will handle the backports after reviewing and committing this patch, it's larger so I need a little more time to review.
Thank you! -
08:37 AM Bug #9057 (Closed): Thread documentation refers to thread_local_set/get but it only documents thread_variable_set/get
- This was already fixed here: https://github.com/ruby/ruby/commit/4e040aa6ac4cc4f3b00007b8635a990ef36526c4#diff-4fb69dc1bf667cfbc2b05dc5fd51e674L2709
It was fixed after ruby 2.0.0, if you check the docs on 2.1.0 you can see it's fixed:... -
08:13 AM Bug #9074 (Closed): Doc promotes inadequate way to sanitize a filename
- This issue was solved with changeset r43632.
Chris, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/drb/drb.rb: [DOC] promote better windows-safe filename reg... -
06:18 AM Feature #9098 (Closed): Indent heredoc against the left margin by default when "indented closing identifier" is turned on.
- tl;dr: I would like to port +String#strip_heredoc+ (http://api.rubyonrails.org/classes/String.html#method-i-strip_heredoc) from Rails and enable it on `<<-` heredoc.
Hi,
I've been using here document (heredoc) for a while, and I've... -
06:13 AM Revision 90b99965 (git): parse.y: remove "f" suffix [ruby-core:57966] [Feature #9042]
- revert r42847 "test_string.rb: add test string encoding"
revert r42846 "parse.y: freeze in advance to reduce objects"
revert r42843 "parse.y: deduplicate frozen string literals"
revert r42780 "test_string.rb: yet another test"
revert... -
06:03 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- charliesome (Charlie Somerville) wrote:
> At RubyConf Matz approved optimizing #freeze on static string literals and removing f-suffix.
Great! -
05:52 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix - At RubyConf Matz approved optimizing #freeze on static string literals and removing f-suffix.
-
05:53 AM Feature #6727: Add Array#rest (with implementation)
- I proposed it as well in #9023 in the CommonRuby list. I don't think the
arguments given there are enough to justify not implementing such an useful
method.
On Nov 9, 2013 6:13 PM, "baweaver (Brandon Weaver)" <
brandon_weaver@ba... -
05:12 AM Feature #6727: Add Array#rest (with implementation)
- As this seems to have been either dead-ended or otherwise, I'd like to bring it back up.
Most of the arguments I head as to why not to include a rest or tail method is that Ruby is not Lisp, or that there's a hack-around method that w... -
04:25 AM Feature #9095: Allow `Symbol#to_proc` to take arguments
- Hanmac (Hans Mackowiak) wrote:
> i did something similar to that there:
> ...
Hans, your proposal does not look good to me. IMO, it is strange to make
symbols callable and it is strange to add to the responsibilities of
`Symbol` to ... -
12:34 AM Bug #9077 (Closed): RDoc typographical error
- This issue was solved with changeset r43618.
Tsuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/racc/rdoc/grammar.en.rdoc: [DOC] fix typo by Tsuyoshi S...
11/09/2013
-
11:38 PM Revision ca375ee7 (git): * thread.c: [DOC] Remove duplicate reference
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:13 PM Revision 8493367c (git): * lib/drb/drb.rb: [DOC] promote better windows-safe filename regular
- expression in DRb Logger example. Reported by Chris Pheonix
[Bug #9074]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:03 PM Revision 24537e1b (git): gc.c: finalizer functions
- * gc.c (rb_define_finalizer, rb_undefine_finalizer): rename and export
finalizer functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:42 PM Revision da90029d (git): * lib/weakref.rb: [DOC] fix typos by @xaviershay [Fixes GH-439]
- https://github.com/ruby/ruby/pull/439
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:28 PM Revision c2391bde (git): * lib/e2mmap.rb: [DOC] Fix typo in e2mmap documentation.
- Patch by Xavier Shay. Closes GH-438.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:21 PM Revision 1f790666 (git): * remove trailing spaces.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:17 PM Revision 07ac5874 (git): * compile.c (iseq_compile_each): emit opt_str_freeze if the #freeze
- method is called on a static string literal with no arguments.
* defs/id.def (firstline): add freeze so idFreeze is available
* insns.def (opt_str_freeze): add opt_str_freeze instruction which
pushes a frozen string literal without a... -
06:12 PM Revision d6f5e30d (git): test_objectspace.rb: run in separate process
- * test/ruby/test_objectspace.rb (TestObjectSpace#test_finalizer): run
in separate process so that finalizers run at termination certainly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:46 PM Revision 0a5b32c4 (git): envutil.rb: under_gc_stress parameter
- * test/ruby/envutil.rb (EnvUtil#under_gc_stress): add stress parameter
so that making possible to disable stressing explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:37 PM Revision e72ca2e0 (git): rbinstall.rb: fix for non-working directory
- * tool/rbinstall.rb (Gem::Specification.last_date): skip if failed to
get info from VCS, for example, in the case circumstance sharing working
directory with another machine and run vcs tools cannot work.
git-svn-id: svn+ssh://ci.ru... -
04:35 PM Revision 9782d219 (git): * gc.c (vm_malloc_increase): sweep immediately on GC due to malloc().
- To reduce memory usage, sweep as soon as possible.
This behavior is same as Ruby 2.0.0 and before.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:43 PM Revision b3abb163 (git): * benchmark/gc/gcbench.rb: output version description and GC::OPTS.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:36 PM Revision 3fdff050 (git): gc.c: private call
- * gc.c (should_be_callable): allow private call since rb_eval_cmd
calls even private methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:34 PM Revision 7a330ba2 (git): gc.c: should_be_callable
- * gc.c (should_be_callable): extract duplicate code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:34 PM Revision bcb4075d (git): * 2013-11-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:34 PM Revision e44d4124 (git): * lib/racc/rdoc/grammar.en.rdoc: [DOC] fix typo by Tsuyoshi Sawada
- [Bug #9077]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:01 PM Bug #9029 (Closed): doc of ARGF.gets
- This issue was solved with changeset r43602.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c: [DOC] ARGF.gets may return nil [Bug #9029] patch by znz -
02:56 PM Bug #8812 (Closed): RSS: document more constants
- This issue was solved with changeset r43601.
Steve, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rss/*: [DOC] document various constants @steveklabnik [Bug... -
02:52 PM Bug #8821 (Closed): Add documentation for Time#w3cdtf
- This issue was solved with changeset r43600.
Steve, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rss/rss.rb: [DOC] document Time#w3cdtf by @steveklabnik
... -
02:30 PM Bug #8944 (Closed): Error in example code of DL::CFunc
- This issue was solved with changeset r43598.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/dl/cfunc.c: [DOC] fix typo in example [Bug #8944] -
02:12 PM Bug #8975 (Closed): Confusing code sample for assert_send
- This issue was solved with changeset r43597.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/test/unit/assertions.rb: [DOC] better example for assert_... -
01:35 PM Revision 1ce82d51 (git): rbinstall.rb: spec date from VCS
- * tool/rbinstall.rb (Gem::Specification.load): obtain spec date from
VCS for the case using git, RUBY_RELEASE_DATE is the last resort.
probably fixes [Bug #9085].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43617 b2dd03c8-39d4... -
01:35 PM Revision ab60cf1a (git): test_objspace.rb: assertion for temporary file
- * test/objspace/test_objspace.rb (TestObjSpace#test_dump_all): add
assertion for output to temporary file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:34 PM Revision 00dab76f (git): objspace_dump.c: fix declaration
- * ext/objspace/objspace_dump.c (dump_output): fix declaration,
mkstemp() needs a writable buffer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:57 PM Revision df86052a (git): fix typo in my ChangeLog entry
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:00 PM Revision baf3cf12 (git): * ext/objspace/object_tracing.c: use declarations in internal.h.
- * ext/objspace/objspace.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:53 AM Revision c3fdc2cf (git): * test/objspace/test_objspace.rb (test_dump_all): Make the test string
- shorter to be an embedded string on 32bit environment as well as
64bit environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:51 AM Revision 5e73aa6e (git): Revert "* internal.h: prototype declarations of gc.c collect up."
- These declarations should be exported.
This reverts commit 3c9f88c2ce138f2714c36cd25dc9b50ec93861e7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:43 AM Revision f0b08722 (git): * internal.h: prototype declarations of gc.c collect up.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:58 AM Bug #8836: [BUG] Bus Error with bundler on large Gemfile when resolving dependencies
- ulimit -s 20000 fix this bug on 32bit kernel
-
06:20 AM Revision ae6f7929 (git): vcs.rb: split
- * tool/vcs.rb: split from file2lastrev.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:16 AM Revision 671707b5 (git): objspace_dump.c: fix portability issue
- * ext/objspace/objspace_dump.c (dump_output): fix portability issue.
mkstemp() may not be available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:16 AM Revision 90feeb6a (git): objspace_dump.c: extract output option utilities
- * ext/objspace/objspace_dump.c (dump_output, dump_result): extract
output option utility functions from objspace_dump() and
objspace_dump_all().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43607 b2dd03c8-39d4-4d8f-98ff-823fe69... -
06:16 AM Revision a50bbcfe (git): objspace_dump.c: suppress warnings
- * ext/objspace/objspace_dump.c (dump_object): remove unused variables,
and cast size_t to long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:16 AM Revision b60079fe (git): objspace_dump.c: indent
- * ext/objspace/objspace_dump.c: adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:11 AM Bug #8623 (Closed): Make stable Gem::Specification.files in default .gemspecs
- This issue was solved with changeset r43587.
Vit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
rbinstall.rb: make stable files in .gemspec
* tool/rbinstall.rb (... -
06:10 AM Revision 251b1637 (git): no kanji
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:06 AM Revision 35b67884 (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:01 AM Revision c3b3e999 (git): * io.c: [DOC] ARGF.gets may return nil [Bug #9029] patch by znz
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:56 AM Revision 08936ea3 (git): * lib/rss/*: [DOC] document various constants @steveklabnik [Bug #8812]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:52 AM Revision 34cbe5ac (git): * lib/rss/rss.rb: [DOC] document Time#w3cdtf by @steveklabnik
- [Bug #8821] ありがとうかににく
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:31 AM Revision 04e8c4ee (git): Add patch author from previous commit
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:29 AM Revision c1911841 (git): * ext/dl/cfunc.c: [DOC] fix typo in example [Bug #8944]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:12 AM Revision 4370f846 (git): * lib/test/unit/assertions.rb: [DOC] better example for assert_send()
- Patch by Andrew Grimm [Bug #8975]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:46 AM Revision 1546fb6c (git): * insns.def: unify ic_constant_serial and ic_class_serial into one field
- ic_serial. This is possible because these fields are only ever used
exclusively with each other.
* insns.def: ditto
* vm_core.h: ditto
* vm_insnhelper.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43596 b2dd03c8-39d4-4d8... - 03:34 AM Revision 8b0771b0 (git): * class.c: unify names of vm state version counters to 'serial'.
- This includes renaming 'vm_state_version_t' to 'rb_serial_t',
'method_state' to 'method_serial', 'seq' to 'class_serial',
'vmstat' to 'constant_serial', etc.
* insns.def: ditto
* internal.h: ditto
* vm.c: ditto
* vm_core.h: ditto
* ... -
02:06 AM Bug #9026 (Closed): [PATCH] Add ObjectSpace.heap_dump to objspace.so
- This issue was solved with changeset r43585.
Aman, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/objspace/object_tracing.c: Add experimental methods to dump... -
01:29 AM Bug #9026: [PATCH] Add ObjectSpace.heap_dump to objspace.so
- You can use something like this: FileUtils.mv(ObjectSpace.dump_all, "mydumpfile.json")
- 12:23 AM Revision 5d663cc2 (git): * gc.c (gc_page_sweep, rgengc_rememberset_mark): Refactoring.
- Get bitmaps directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:17 AM Revision ead9dbae (git): * gc.c (RVALUE_PROMOTE_INFANT): Refactoring. Remove duplicated nonsense
- code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:05 AM Revision 76a3e71c (git): * gc.c (gc_marks_test): Bugfix. Fix a struct member name for build
- with RGENGC_CHECK_MODE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11/08/2013
- 11:59 PM Revision 0f091bbf (git): * gc.c : Add GC_PROFILE_DETAIL_MEMORY option.
- If GC_PROFILE_MORE_DETAIL && GC_PROFILE_DETAIL_MEMORY,
maxrss, minflt and majflt are added to each profile record.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:42 PM Revision 8a79f9cd (git): From 33f55b1eac7f044feb59a29da4a5a82bee3f419e Mon Sep 17 00:00:00 2001
- From: Nobuyoshi Nakada <nobu@ruby-lang.org>
Date: Fri, 8 Nov 2013 17:40:10 -0500
Subject: [PATCH 2/2] internal.h: prototype declarations
* internal.h (rb_vm_backtrace_object, rb_gc_count): make prototype
declarations, not old-K&R styl... -
10:41 PM Revision c8cc49e4 (git): internal.h: prototype declarations
- * internal.h (rb_vm_backtrace_object, rb_gc_count): make prototype
declarations, not old-K&R style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:40 PM Revision 6458bfcc (git): rbinstall.rb: indent
- * tool/rbinstall.rb (Gem::Specification#to_ruby): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:11 PM Revision 2238f11d (git): rbinstall.rb: make stable files in .gemspec
- * tool/rbinstall.rb (Gem::Specification#collect): make stable
Gem::Specification.files in default .gemspecs the different order of
"files" in .gemspec files makes them different therefore possibly
conflicting in multilib scenario. ... -
07:40 PM Misc #9097: no email notifications for bugs.ruby-lang.org
- And it's reported here as well in #8741
-
04:53 PM Misc #9097: no email notifications for bugs.ruby-lang.org - Dne 8.11.2013 3:53, mpapis (Michal Papis) napsal(a):
> Issue #9097 has been reported by mpapis (Michal Papis).
>
> ----------------------------------------
> misc #9097: no email notifications for bugs.ruby-lang.org
> https://... -
11:53 AM Misc #9097 (Closed): no email notifications for bugs.ruby-lang.org
- I get no email notifications for the bugs.ruby-lang.org, I also got the same message from other users.
-
05:08 PM Revision 213b0d78 (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:06 PM Revision d0d6e2ec (git): * ext/objspace/object_tracing.c: Add experimental methods to dump
- objectspace as json: ObjectSpace.dump_all and ObjectSpace.dump(obj).
These methods are useful for debugging reference leaks and memory growth
in large ruby applications. [Bug #9026] [ruby-core:57893] [Fixes GH-423]
git-svn-id: svn+ssh:/... - 03:27 PM Revision 6edaaf15 (git): * 2013-11-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:26 PM Revision 7ddf295a (git): file.c: remove unnecessary declaration
- * file.c (GetLastError): already defined in windows.h on nowadays
cygwin, and caused the confliction with the system provided
definition on cygwin64. by @kou1okada [Fixes GH-433].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4... -
12:13 PM Bug #9090: [BUG] object allocation during garbage collection phase
- r43577 で 100回ほど make check してみましたがこの問題は発生しませんでした。
ありがとうございます。 -
03:03 AM Bug #9090 (Closed): [BUG] object allocation during garbage collection phase
- This issue was solved with changeset r43574.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* gc.c (vm_malloc_increase): check GVL before gc_rest_sweep().
... -
02:24 AM Bug #9090: [BUG] object allocation during garbage collection phase
- =begin
手元で再現させた結果GVL無しでsweepしてる部分がみつかりました。
ここはささださんの部分らしいので担当を設定しておきます。
#これを修正しても他の部分でエラーならその時にreopenと言う事で。
(gdb) thread 1
[Switching to thread 1 (Thread 0x7ffff7fe3740 (LWP 17027))]
#0 0x0000000000435cfa in gc_page_sweep (... -
09:41 AM Revision 53dc9794 (git): * lib/open3.rb: receive arguments as keyword arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:41 AM Feature #9095: Allow `Symbol#to_proc` to take arguments
- i did something similar to that there:
https://bugs.ruby-lang.org/issues/9076#note-9
its more
~~~ruby
[1, 2, 3, 4].map &:to_s.(2) #=> ["1", "10", "11", "100"]
~~~
but it can be also used as
~~~ruby
[1, 2, 3, 4].map &:to_s... -
05:05 AM Feature #9095: Allow `Symbol#to_proc` to take arguments
- Some prefer doing everything without variables, this is a matter of taste. I am not sure there is no better way to obtain the same proc without using literal blocks, this was the first thing that came to my mind.
-
04:59 AM Feature #9095: Allow `Symbol#to_proc` to take arguments - Is there any real benefit to using something like:
~~~ruby
&:foo.to_proc(bar)
~~~
instead of:
~~~ruby
{ |x| x.foo(bar) }
~~~
Personally I find the first form to be quite ugly and difficult to understand at first glance. -
04:55 AM Feature #9095 (Open): Allow `Symbol#to_proc` to take arguments
- =begin
After discussing #9076, i've decided to propose this:
class Symbol
def to_proc(*args)
proc do |x|
x.public_send(self, *args)
end
end
end
p = :+.to_proc(1)
p[2] # => 3
[1, 2,... -
05:01 AM Bug #9096 (Closed): Regexp.quote(UTF-8) returns US-ASCII
- The attached program contains a unit test demonstrating that doing Regexp.quote() on an UTF-8 encoded string returns a US-ASCII encoded string (or at least I think it does...).
I would expect Regexp.quote() to return a string with the... -
04:30 AM Revision 05a4d176 (git): * io.c (rb_io_open_with_args): use RARRAY_CONST_PTR().
- * io.c (rb_scan_open_args): use const qualifier for above.
* io.c (rb_open_file): ditto.
* io.c (rb_io_open_with_args): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:20 AM Feature #8992: Use String#freeze and compiler tricks to replace "str"f suffix
- matz: Thank you for weighing in. I think we are on the same page.
There are a few different versions of this proposal getting tossed around, so I'll try to summarize the key points.
1. We would like a compiler trick to replace the ... -
04:04 AM Feature #8839: Class and module should return the class or module that was opened
- jballanc (Joshua Ballanco) wrote:
> Just to throw my 2¢ in...
> ...
Clever! Though I don't think that would parse the way you want. This would work though, obviously:
~~~ruby
enumerable class Foo ...
~~~
-
03:45 AM Bug #9094 (Third Party's Issue): Curses.getch() function responds twice for unicode keys
- Try this:
1. Write a curses program (or use the attached one).
2. Call Curses.getch()
3. Press "ä" on your keyboard (Swedish layout needed for this)
Current result:
I get *two* separate results from Curses.getch(), which when merg... -
02:59 AM Bug #9093 (Closed): Resolv: Multiple strings should be concatenated in a DNS record's data
- Moved from github [https://github.com/ruby/ruby/pull/389]:
"As per http://tools.ietf.org/html/rfc4408#section-3.1.3, when a TXT or SPF record contains multiple strings, those strings should be concatenated without any delimiter. Resol... -
02:37 AM Revision 5c54eb40 (git): * dir.c, pack.c, ruby.c, struct.c, vm_eval.c: use RARRAY_CONST_PTR().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:00 AM Revision ce89a1c0 (git): * compile.c (iseq_build_from_ary_exception): use RARRAY_CONST_PTR().
- * compile.c (iseq_build_from_ary_body): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:52 AM Revision eb862964 (git): * enumerator.c (append_method): use RARRAY_CONST_PTR().
- * enumerator.c (lazy_init_iterator): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:19 AM Bug #9089: rb_fix2uint no longer raises a RangeError when given negative values
- One more thing:
FIX2UINT(-1) doesn't raise an exception on 32bit environment on Ruby 2.0.
11/07/2013
-
11:22 PM Bug #9090: [BUG] object allocation during garbage collection phase
- mswin の CI だと backtrace がまともに出ていますね。
r43558 http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20131106T191452Z.log.html.gz
r43560 http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20131106T221741Z.log.html.gz
r43564 http:/... -
05:33 PM Bug #9090: [BUG] object allocation during garbage collection phase
- r43558もGC起動のスレッシュルドを変えただけなので、
ここで発生となるとこれまで発生確率が低くて眠ってたバグを掘り起こしたって事に。
とりあえず見てみます。 -
12:08 PM Bug #9090: [BUG] object allocation during garbage collection phase
- objdump -S ruby の結果をつけます。
あと、rubyci.org の結果をざっとみると、同じような失敗がいくつか見つかります。
r43540 http://fb32.rubyci.org/~chkbuild/ruby-trunk/log/20131105T170302Z.diff.html.gz
r43558 http://c5632.rubyci.org/~chkbuild/ruby-trunk/log/20131106T170301Z.d... -
10:37 AM Bug #9090: [BUG] object allocation during garbage collection phase
- C-level stack traceにシンボル情報がほとんど載ってないので、objdump -S ruby の結果も何処かに上げていただけるとありがたいです。
-
09:54 AM Bug #9090 (Closed): [BUG] object allocation during garbage collection phase
- 昨日の夜、r43558 で make check を 300回動かしてみたところ、
なんかずいぶんと [BUG] が出ました。
% ./ruby -v
ruby 2.1.0dev (2013-11-06 trunk 43558) [x86_64-linux]
% fgrep '[BUG]' zd10/*/log
zd10/1/log:TestGem#test_looks_for_gemdeps_files_automatically_on_start = ... -
09:50 PM Bug #9089: rb_fix2uint no longer raises a RangeError when given negative values
- NoKarma (Arthur Schreiber) wrote:
> That's weird. If you go back to the previous change that was made in numeric.c, the fix2uint specs do pass:
> ...
If so, something between r40017 and r40028 changes the behavior.
> Also, I'd argue... -
07:19 PM Bug #9089: rb_fix2uint no longer raises a RangeError when given negative values
- That's weird. If you go back to the previous change that was made in numeric.c, the fix2uint specs do pass:
Arthurs-iMac-2:rubyspec arthur$ ../mspec/bin/mspec optional/capi/fixnum_spec.rb
ruby 2.1.0dev (2013-03-31 trunk 40017) [x86_... -
08:26 AM Bug #9089 (Feedback): rb_fix2uint no longer raises a RangeError when given negative values
- As far as I know, NUM2Uxxx accepts negative integers.
For consistency, FIX2Uxxx should behaves so.
Also, both r40028 and r40029 behaves same for
r40028/bin/ruby rubyspec/optional/capi/fixnum_spec.rb.
So r40029 doesn't change the... -
07:52 AM Bug #9089: rb_fix2uint no longer raises a RangeError when given negative values
- =begin
I guess I somehow incorrectly formatted the issue description, so here it is again with proper formatting.
---
Up until the change that was made in ((<URL:https://github.com/ruby/ruby/commit/92f59c6d7937b14bb5eefb052099ef0a... -
07:34 AM Bug #9089 (Rejected): rb_fix2uint no longer raises a RangeError when given negative values
- Up until the change that was made in ((<URL:https://github.com/ruby/ruby/commit/92f59c6d7937b14bb5eefb052099ef0a3ef3bcd0>)), (({rb_fix2uint})) would raise a (({RangeError})) if it was given a negative value like (({-1})) (e.g. when using...
-
09:50 PM Bug #4044: Regex matching errors when using \W character class and /i option
- Shouldn't this bug be mentioned in the docs for \W in the Regexp documentation?
http://www.ruby-doc.org/core-2.0.0/Regexp.html
People would like to be aware of it until it's fixed. -
09:23 PM Bug #9013: Crash on start
- Can you tell us what is the system and the console codepage? (use chcp in
the command prompt)
Thank you.
Sorry for top posting. Sent from mobile.
On Nov 7, 2013 7:13 AM, "zapped (Alexey Shumkin)" <Alex.Crezoff@gmail.com>
... -
07:13 PM Bug #9013: Crash on start
- Oops! Bug is clearly reproduced on Windows Server 2003 R2 SP2 with "plain" ruby-1.9.3-p448 (just extracted from http://dl.bintray.com/oneclick/rubyinstaller/ruby-1.9.3-p448-i386-mingw32.7z?direct)
c:\ruby-1.9.3-p448-i386-mingw32\bin>rub... -
01:30 AM Bug #9013: Crash on start
- I confirm this bug.
I had ruby 1.9.3p194 installed. Today I've tried to upgrade. I've downloaded ruby 1.9.3p448 (7-zipped version). After unpacking running "ruby -v" gives
ruby 1.9.3p448 (2013-06-27) [i386-mingw32]
but
ruby -e 'p ... -
06:11 PM Revision 74f424c2 (git): test_logger.rb: clear garbage files
- * test/logger/test_logger.rb (test_shifting_age_in_multiprocess):
unlink rotated log files all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:10 PM Revision 1062dcf4 (git): gc.c: use switch for alternative BUILTIN_TYPE
- * gc.c (rb_objspace_call_finalizer): BUILTIN_TYPE is alternative,
T_DATA object (Thread, Mutex, Fiber) cannot be T_FILE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:04 PM Revision d24903f0 (git): commit miss from r43573
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:03 PM Revision bc319093 (git): * gc.c (vm_malloc_increase): check GVL before gc_rest_sweep().
- vm_malloc_increase() can be called without GVL.
However, gc_rest_sweep() assumes acquiring GVL.
To avoid this problem, check GVL before gc_rest_sweep().
[Bug #9090]
This workaround introduces possibility to set malloc_limit as
... -
05:53 PM Revision 10b6409e (git): * lib/securerandom.rb: [DOC] specify arguments passed to ::random_bytes
- By @chastell [Fixes GH-412] https://github.com/ruby/ruby/pull/412
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:44 PM Revision 2cfdbd7d (git): * ext/objspace/object_tracing.c: [DOC] trace_object_allocations_stop
- By @srawlins [Fixes GH-421] https://github.com/ruby/ruby/pull/421
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:38 PM Revision 8adbcb66 (git): * lib/net/ftp.rb: [DOC] Document Net::FTP.mdtm and .set_socket and fix
- spelling typo, based on patch by @artfuldodger [Fixes GH-426]
https://github.com/ruby/ruby/pull/426
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:34 PM Feature #8839: Class and module should return the class or module that was opened
- Just to throw my 2¢ in...
I think the main benefit to returning a symbol from `def` is that it enables the use of method decorators. Similarly, I would be in favor of returning the class defined from `class` so that we could also buil... -
05:15 PM Revision 6720c0ae (git): * array.c: [DOC] Add note about negative indices in Array overview
- By @ckaenzig [Fixes GH-427] https://github.com/ruby/ruby/pull/427
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:10 PM Revision bceb8569 (git): * lib/csv.rb: [DOC] Fix typo in CSV.parse_line by @funky-bibimbap
- [Fixes GH-430] https://github.com/ruby/ruby/pull/430
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:02 PM Revision 721ec227 (git): typo [Fixes GH-435] PAtch by @zed-0xff https://github.com/ruby/ruby/pull/435
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:03 PM Revision d702ec4a (git): * 2013-11-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:03 PM Revision b393aeb0 (git): * golf_prelude.rb: syntax formatting for whitespace [Fixes GH-425]
- Patch by @edward https://github.com/ruby/ruby/pull/425
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:39 PM Bug #9092 (Closed): Update Unicode data to Unicode Version 7.0
- As done regularly, Ruby should be updated to the newest version of Unicode, 6.3. This year's updates on the Unicode side are mostly in the area of bidi (bidirectional text), which doesn't affect Ruby, but there are also a few new charact...
-
12:33 PM Feature #9091 (Closed): [PATCH] accept_nonblock supports "exception: false"
- git pull git://bogomips.org/ruby.git accept_nonblock-noraise
This is analogous to functionality found in IO#read_nonblock and
IO#wait_nonblock. Raising exceptions for common failures on
non-blocking servers is expensive and makes $... -
12:31 PM Bug #9087 (Closed): swallowing "s" letters when "i" flag is on
- Closed because it's a duplicate (of #4044).
-
10:45 AM Revision a6698bc6 (git): * gc.c: modify malloc_limit strategy.
- * fix default vaues:
GC_MALLOC_LIMIT_GROWTH_FACTOR
GC_MALLOC_LIMIT: 8MB -> 16MB
GC_MALLOC_LIMIT_MAX: 384MB -> 32MB
* algorithm of malloc_limit increment.
if (malloc_increase < malloc_limit) {
next_malloc_limit = m... -
09:39 AM Bug #9088 (Closed): SEGV with set_trace_func and break
- This issue was solved with changeset r43561.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
vm_trace.c: isolate errinfo in trace blocks
* vm_trace.c (rb_th... -
06:51 AM Revision 2d5233c0 (git): fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:36 AM Feature #8626: Add a Set coercion method to the standard lib: Set(possible_set)
- This has been merged into ruby trunk in https://github.com/ruby/ruby/commit/ad78cf4ea8613c7e1790c5e3a2718a35fe32115f
-
02:08 AM Revision c2f3e600 (git): * array.c (rb_ary_shuffle_bang): use RARRAY_PTR_USE() without WB
- because there are not new relations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:37 AM Revision cf0838f4 (git): * array.c (rb_ary_sample): use rb_ary_dup().
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:20 AM Bug #8439: test_aes_gcm_wrong_tag(OpenSSL::TestCipher) fails randomly
- I tracked down the random failure.
It seems that the failure occur when tag[-1].succ is 2byte.
I.e. it fails when tag[-1] is "9", "Z", "z" or "\xFF".
I modified test_aes_gcm_wrong_tag as follows:
Index: test_cipher.rb
========... -
12:39 AM Revision cf5ef3db (git): vm_trace.c: isolate errinfo in trace blocks
- * vm_trace.c (rb_threadptr_exec_event_hooks_orig): errinfo should not
be propagated to trace blocks so that no argument raise does not
throw internal objects. [ruby-dev:47793] [Bug #9088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...