Activity
From 09/16/2013 to 09/22/2013
09/22/2013
-
08:11 PM Bug #8888: Fix grammar for documentation of #bm of Benchmark module
- zzak (Zachary Scott) wrote:
> This issue was solved with changeset r43002.
> ...
Thanks @zzak -
08:10 PM Revision f856c123 (git): tracepoint.c: wrap data in a struct
- * ext/-test-/tracepoint/tracepoint.c (struct tracepoint_track): wrap
tracepoint tracking data in a struct to be placed on the stack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 08:07 PM Revision 3f3bec49 (git): * 2013-09-23
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:07 PM Revision f5f0b869 (git): intern.h: move rb_ary_cat from internal.h
- * include/ruby/intern.h (rb_ary_cat): move from internal.h, since it
is described in README.EXT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:05 PM Bug #8936 (Closed): Improve explanation about passing more number of params to instance of Struct
-
11:57 AM Revision 0b39c8a0 (git): * vm_insnhelper.c (vm_make_proc_with_iseq): fix bug message.
- This is follow up to changes in r42637.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:37 AM Revision d2f4e701 (git): * ext/-test-/tracepoint/tracepoint.c (Init_tracepoint): prevent from GC.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:01 AM Revision 3557a5f8 (git): * benchmark/bm_app_answer.rb: revert r42990, benchmark scripts should
- be self-contained and avoid dependencies, especially such small one.
See https://github.com/ruby/ruby/pull/393#issuecomment-24861301.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:26 AM Bug #8935: Zlib::GzipWriter.new with block truncates output to 20 corrupted bytes
- Come to think of it, 20 bytes seems like what the gzip header + footer would take up...
-
12:33 AM Bug #8935: Zlib::GzipWriter.new with block truncates output to 20 corrupted bytes
- Sorry, another try without any formatting:
#!/usr/bin/ruby -w
require "zlib"
require "stringio"
input = File.read "/dev/urandom", 200
# corrupted and only 20 bytes long:
out1 = Zlib::GzipWriter.new(StringIO.new){ |gz| g... -
12:31 AM Bug #8935 (Closed): Zlib::GzipWriter.new with block truncates output to 20 corrupted bytes
- =begin
(({Zlib::GzipWriter.new})) with block truncates output to 20 corrupted bytes.
#!/usr/bin/ruby -w
require "zlib"
require "stringio"
input = File.read "/dev/urandom", 200
corrupted and only 20 bytes long:
out... - 03:43 AM Revision 011bd850 (git): * 2013-09-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:43 AM Revision 6876f79b (git): [DOC]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/21/2013
-
08:11 PM Bug #8769 (Closed): [PATCH] process.c (rb_fork_internal): remove cloexec setting
- This issue was solved with changeset r43008.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
process.c: remove cloexec setting
* process.c (rb_fork_internal)... -
06:23 PM Bug #8769: [PATCH] process.c (rb_fork_internal): remove cloexec setting
- "nobu (Nobuyoshi Nakada)" <nobu@ruby-lang.org> wrote:
> Eric can't?
I never accepted commit bit to any project in years. I'm not
trustworthy/sane enough nor do I want to feel obligated to Ruby.
It should be easier to acce... -
12:08 PM Bug #8934 (Third Party's Issue): Shut down my Thin server, then the terminal spit out 1182 lines and told me to report it to you.
- Seems it happens in ruby_debug hook.
-
10:34 AM Bug #8934 (Third Party's Issue): Shut down my Thin server, then the terminal spit out 1182 lines and told me to report it to you.
- I was debugging my app using rails 4, ruby 2.0 and the Thin gem using OS 10.7.5. Then I stopped doing anything with it for a few hours and realized I hadn't stopped the server and when I closed the server then this happened:
^C>> Stop... -
11:11 AM Revision ddef263a (git): process.c: remove cloexec setting
- * process.c (rb_fork_internal): remove cloexec setting on pipes
created by rb_cloexec_pipe. patch by normalperson (Eric Wong) at
[ruby-core:56523]. [Bug #8769]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43008 b2dd03c8-39d4-... -
08:07 AM Bug #8870: Method-Missing breaking irb
- I know nothing about what your script does.
-
05:42 AM Bug #8870: Method-Missing breaking irb
- I do understand that its bad to use method_missing in the global space, but the behavior should be same irrespective of scope
This works:
2.0.0-p247 :002 > m "2","a","b"
=> ["2", "a", "b"]
2.0.0-p247 :003 > (m "2","a","b").class
=> Ar... -
07:52 AM Revision 42cc5964 (git): [DOC]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:43 AM Bug #8933 (Closed): ruby-2.0.0-p247/gems/rubyzip-0.9.9/lib/zip/inflater.rb:42: [BUG] Segmentation fault
- Hello,
My program is working on Linux and Windows but not on my mac OSX, I have the error segmentation fault
Program example:
require 'rubygems'
require 'nokogiri'
require 'zip/zip' #rubyzip 0.9.9
require 'lib/semboxlib'
@zip = Z... -
07:41 AM Bug #8932 (Closed): ruby-2.0.0-p247/gems/rubyzip-0.9.9/lib/zip/inflater.rb:42: [BUG] Segmentation fault
- Hello,
My program is working on Linux and Windows but not on my mac OSX, I have the error segmentation fault
Program example:
require 'rubygems'
require 'nokogiri'
require 'zip/zip' #rubyzip 0.9.9
require 'lib/semboxlib'
@zip = Z... -
05:15 AM Revision 50ffa683 (git): rdoc/constant.rb: workaround of NoMethodError
- * lib/rdoc/constant.rb (RDoc::Constant#documented?): workaround for
NoMethodError when the original of alias is not found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:42 AM Revision 7fff518d (git): io.c: [DOC]
- * io.c (rb_io_advise): [DOC] adjust indent and fix lists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:42 AM Revision 28e50d05 (git): io.c: [DOC]
- * io.c (rb_f_select): [DOC] adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:50 AM Revision fa24a0c5 (git): [DOC]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:05 AM Bug #8888 (Closed): Fix grammar for documentation of #bm of Benchmark module
- This issue was solved with changeset r43002.
Prathamesh, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/benchmark.rb: [DOC] grammar of Benchmark#bm [Bug #888... -
12:26 AM Bug #8758 (Closed): Add initial documentation for SSLServer
- I have committed the changes in r42995 but missed the bug number on the commit :(
-
12:12 AM Bug #8758: Add initial documentation for SSLServer
- I'm going to skip the generator part, its a little verbose for my liking. Thank you for the patch, I will commit the other changes!
-
12:25 AM Bug #7348: marshaling an object by a float does not work
- commit miss orz
09/20/2013
-
11:54 PM Bug #8913 (Closed): Unclear licensing terms on lib/gserver.rb
- This issue was solved with changeset r42994.
Antonio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/gserver.rb: [DOC] correct gserver.rb license [Bug #8913] -
11:28 PM Bug #8854: Update URL for bug reports
- I would like to discuss this as a feature: #8931
-
11:27 PM Feature #8931 (Rejected): Update URL in REPORTBUG_MSG
- cc #8854
-
11:16 PM Feature #8929 (Feedback): CSV.foreach(filename) without block returns failing Enumerator
-
05:48 PM Feature #8929: CSV.foreach(filename) without block returns failing Enumerator
- =begin
why not simply return an Enumerator from `foreach`?
class CSV
def self.foreach(path, options = Hash.new, &block)
if block_given?
open(path, options) do |csv|
csv.each(&block)
end
... -
07:28 AM Feature #8929: CSV.foreach(filename) without block returns failing Enumerator
- I can see that it is tricky, because a normal enumerator created by calling CSV#each shouldn't necessarily close the file (as the user may want to call #rewind), but when you use CSV.foreach you have no reference to the CSV object, and y...
-
07:04 AM Feature #8929: CSV.foreach(filename) without block returns failing Enumerator
- <snip>
(I thought it had failed to send this message...) -
06:24 AM Feature #8929 (Closed): CSV.foreach(filename) without block returns failing Enumerator
- CSV.foreach(filename) {|entry| p entry } => works
CSV.foreach(filename).to_a => fails
It gives the following error:
IOError: closed stream
from /home/martin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/csv.rb:1776:... -
09:35 PM Feature #8895: Destructuring Assignment for Hash
- How about this:
~~~ruby
(x, y, *rest, :a => v1, :b => v2, **options) = 1, 2, 3, 4, :a => :foo, :b => :bar, :c => false, :d => true
x # => 1
y # => 2
rest # => [3, 4]
v1 # => :foo
v2 # => :bar
options # ... -
07:04 PM Bug #8930 (Closed): some benchmark programs are slow since r42822
- Hi.
I find some benchmark programs are slow since r42822.
% time ./miniruby -v benchmark/bm_vm3_clearmethodcache.rb
ruby 2.1.0dev (2013-09-04 trunk 42910) [x86_64-linux]
./miniruby -v benchmark/bm_vm3_clearmethodcache.rb 0.42s u... -
04:05 PM Revision a5314c64 (git): * lib/benchmark.rb: [DOC] grammar of Benchmark#bm [Bug #8888]
- Patch by Prathamesh Sonpatki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:05 PM Revision 53dfd965 (git): * append newline at EOF.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:51 PM Bug #8886 (Assigned): TracePoint API inconsistence when raise used
-
03:42 PM Bug #8886: TracePoint API inconsistence when raise used
- Ping. Could @ko1 or someone review this and (hopefully) merge it? I've been using it for the last week without any issues.
Thanks! -
03:51 PM Revision df3e4b83 (git): * enumerator.c: [DOC] Enumerator#each arguments documentation [GH-388]
- Patch by @kachick https://github.com/ruby/ruby/pull/388
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:49 PM Revision b8d05303 (git): * enum.c: [DOC] Enumerable#to_a accepts arguments [GH-388]
- Patch by @kachick https://github.com/ruby/ruby/pull/388
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:47 PM Revision 1b3adaef (git): string.c: scan coderange
- * string.c (rb_str_conv_enc_opts): make sure to scan coderange to get
rid of unnecessary conversion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:26 PM Revision 4c0eeec0 (git): commit miss on issue number from r42995
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:24 PM Revision 1d2ddb2e (git): * 2013-09-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:24 PM Revision 0f448061 (git): * ext/openssl/lib/openssl/ssl.rb: [DOC] Document OpenSSL::SSLServer
- Based on a patch by Rafal Lisowski [Bug #7348]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:54 PM Revision 6f553027 (git): * lib/gserver.rb: [DOC] correct gserver.rb license [Bug #8913]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:51 PM Revision 40424c26 (git): * ext/psych/yaml/yaml.h: [DOC] merge upstream typo fix by @GreenGeorge
- https://github.com/tenderlove/psych/pull/161
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:41 PM Revision 8acb7800 (git): Add author from r42990
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:40 PM Revision 9408bba5 (git): * lib/securerandom.rb: [DOC] SecureRandom.hex length argument
- [Fixes GH-394] Patch by @avdi https://github.com/ruby/ruby/pull/394
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:35 PM Revision 000f39b4 (git): * benchmark/bm_app_answer.rb: removed duplicate code [Fixes GH-393]
- https://github.com/ruby/ruby/pull/393
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:24 PM Revision 8be7ad2b (git): common.mk: RUN_OPTS to tests
- * common.mk (btest, btest-ruby, test-knownbug): add $(RUN_OPTS) to
ruby to be run, so that tests are runnable before making exts.
* common.mk (test-sample): ditto, and use $(MINIRUBY) as rubytest.rb
does not need extension libraries.... -
06:01 AM Revision aba824fe (git): parse.y: junk sigil only names
- * parse.y (intern_str): sigil only names are junk, at least one
identifier character is needed. [ruby-dev:47723] [Bug #8928]
* parse.y (rb_enc_symname_type): fix out of bound access.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@... -
05:16 AM Revision 035917ad (git): * ext/-test-/printf/printf.c (printf_test_call): Fix an end of buffer
- argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:53 AM Revision 831fe26d (git): ext/-test-/symbol: move upward
- * ext/-test-/symbol/extconf.rb: move the extension object file upward.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:53 AM Revision aee98a1c (git): .gdbinit: show ID type
- * .gdbinit (rp_id): show ID type.
* template/id.h.tmpl (ruby_id_types): make enum for debugger.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:53 AM Revision a9534d1b (git): .gdbinit: rp_string
- * .gdbinit (rp_string): extract from rp.
* .gdbinit (rp_id): use rp_string to show the content.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:53 AM Revision 1bf8b67c (git): .gdbinit: rp_id
- * .gdbinit (rp_id): extract from rp and rb_id2name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/19/2013
-
11:34 PM Bug #8924: mathn/rational causes segmentation fault when calling :round on a Rational
- david_macmahon (David MacMahon) wrote:
> There was another issue recently where requiring "mathn/rational" by itself caused problems that did not occur when requiring "mathn" in its entirety.
> ...
Yes.
Thanks @nobu for pointing me to... -
02:38 PM Bug #8924 (Closed): mathn/rational causes segmentation fault when calling :round on a Rational
-
02:23 PM Bug #8924: mathn/rational causes segmentation fault when calling :round on a Rational
- There was another issue recently where requiring "mathn/rational" by itself caused problems that did not occur when requiring "mathn" in its entirety.
Does the problem still occur if you "require 'mathn'" instead of "require 'mathn... -
01:45 PM Bug #8924 (Closed): mathn/rational causes segmentation fault when calling :round on a Rational
- Summary: Confirmed for MRI 1.9/2.0 various patchlevels, on OS X Snow Leopard.
To reproduce:
covered_percent = Marshal.load("\x04\bU:\rRational[\ai\x01\xC8i\x0F")
# or require 'yaml'; covered_percent = YAML.load("--- !ruby/object:R... -
11:04 PM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
- nobu (Nobuyoshi Nakada) wrote:
> (13/09/16 3:29), headius (Charles Nutter) wrote:
> ...
https://bugs.ruby-lang.org/issues/8923 -
11:00 PM Feature #8923: Frozen nil/true/false
- I obviously support this :-)
-
03:43 PM Feature #8923: Frozen nil/true/false
- they are a bit different with methods, because defining singleton methods on them redirects to the curresponding Class
but yes, instance variables on them doesnt make much sense -
11:21 AM Feature #8923 (Closed): Frozen nil/true/false
- Related to [Feature #8906]
We already froze `Integer`, `Float`. `Symbol`s soon (now working).
How about to freeze `nil`, `true` and `false`, too?
# frozen ruby? "Ruby"f?
-
08:17 PM Feature #7274: UnboundMethods should be bindable to any object that is_a?(owner of the UnboundMethod)
- Instance methods of modules can be bound on any objects, already.
It's a part of method transplanting. - 08:02 PM Revision 52daf76e (git): * 2013-09-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:02 PM Revision 2a57b719 (git): test_lambda.rb: fix messages
- * test/ruby/test_lambda.rb (test_{do,brace}_lambda_source_location):
fix messages, missed to commit at r42980.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:01 PM Bug #8925 (Closed): Traversing a tree of files/catalogues produces a segmentation fault in find.rb
- Traversing a tree of files/catalogues produces a segmentation fault:
SvnPropertyStripper.rb:18: [BUG] Segmentation fault
ruby 2.0.0p247 (2013-06-27) [i386-mingw32]
-- Control frame information -------------------------------------... -
02:30 PM Feature #8906 (Closed): Freeze Symbols
- This issue was solved with changeset r42974.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* include/ruby/ruby.h: make Symbol objects frozen.
[Feature #... -
10:45 AM Feature #8921: Allow select, reject, etc to accept a regex
- Again, I understand that `grep` can do this but I feel that (especially in my reject example) that the intent is much clearer w/ my proposed addition. What would be the downside to adding something like this to select/reject (or Enumbera...
-
08:21 AM Feature #8921: Allow select, reject, etc to accept a regex
- That is grep.
-
03:37 AM Feature #8921: Allow select, reject, etc to accept a regex - @Hanmac: That's it, thanks!
-
02:53 AM Feature #8921: Allow select, reject, etc to accept a regex - On 09/18/2013 09:17 AM, Fuad Saud wrote:
> I mean, couldn't select, reject and friends take one parameter in case
> no block is passed and compare elements using the threequals operator.
> This would enable one to do things like:
... -
01:23 AM Feature #8921: Allow select, reject, etc to accept a regex
- I mean, couldn't select, reject and friends take one parameter in case no
block is passed and compare elements using the threequals operator. This
would enable one to do things like:
[1, 56, 12, 7, 39].select 0..20 #=> [1, 12]
... -
12:53 AM Feature #8921: Allow select, reject, etc to accept a regex
- Shouldn't select/reject use threequals?
On Sep 18, 2013 12:25 PM, "kyledecot (Kyle Decot)" <kyle.decot@icloud.com>
wrote:
>
> Issue #8921 has been updated by kyledecot (Kyle Decot).
>
>
> =begin
> Yes, grep would be a... -
12:24 AM Feature #8921: Allow select, reject, etc to accept a regex
- =begin
Yes, grep would be a suitable alternative for `select` w/ a regex in this instance. What about for `reject` though? I feel that
%w[foo bar baz].reject /^ba/ # ["foo"]
Is more readable than
%w[foo bar baz].grep /^... -
07:59 AM Revision 5cda4e90 (git): parse.y: adjust position of lambda
- * parse.y (lambda): adjust position to the beginning of the block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:59 AM Revision eb568bde (git): parse.y: duplicate code
- * parse.y (f_larglist): remove duplicate code in ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:33 AM Revision 55e73bdf (git): revert font files
- * lib/rdoc/generator/template/darkfish/fonts/*.ttf: revert font files
to r42971.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:25 AM Revision 170344b2 (git): vsnprintf.c: initialize cp
- * vsnprintf.c (BSD_vfprintf): initialize cp so that size is 0 in the
commented case. fix an accidental bug at r16716.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:22 AM Revision 31456832 (git): * remove trailing spaces, append newline at EOF.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:33 AM Revision b23bbb12 (git): * NEWS: add a news for r42974.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:30 AM Revision 1e27eda2 (git): * include/ruby/ruby.h: make Symbol objects frozen.
- [Feature #8906]
I want to freeze this good day, too.
* test/ruby/test_eval.rb: catch up this change.
* test/ruby/test_symbol.rb: add a test to check frozen symbols.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42974 b2dd03c8-39... -
04:38 AM Bug #8922 (Closed): Crash when calling Coverage.result
- In one of my test suites I'm getting consistent crashes but at different points in the test suite every time. It always appears to be related to malloc/GC issues and it goes away by simply disabling coverage collection. Here are some dum...
-
12:11 AM Revision 92cd8313 (git): * NEWS: Update for RDoc 4.1.0.preview.1 and RubyGems 2.2.0.preview.1
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:00 AM Revision e0030bd9 (git): * lib/rdoc/markdown/literals_1_9.rb: Fix trailing whitespace.
- Previously kpeg (which generates this file) added trailing
whitespace, but this bug is now fixed.
* lib/rdoc/markdown.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/18/2013
-
11:46 PM Feature #8921: Allow select, reject, etc to accept a regex
- 1) it can be done via
class Regexp
def to_proc
proc {|o| self.match(o) }
end
end
2) but i think the method you are looking for is grep
%w[foo bar baz].grep /^ba/ # => ["bar", "baz"] -
11:37 PM Feature #8921 (Open): Allow select, reject, etc to accept a regex
- It would be handy if `select` could accept a regex. For example
```ruby
%w[foo bar baz].select(/^ba/) # => ["bar", "baz"]
```
This is currently possible via the slightly longer syntax
```ruby
%w[foo bar baz].select{|i| i[/^b... -
11:39 PM Feature #7368 (Closed): rb_str_each_line()のパフォーマンス向上とリファクタリング
- r42966でこのチケットのpatch3.diffとほぼ同様の変更をコミットしたので、こちらのチケットも閉じます。
-
11:34 PM Bug #8698 (Closed): レシーバに不正なバイト列が含まれている場合にString#each_lineや#linesの挙動が引数の有無で変わってしまう - This issue was solved with changeset r42966.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (rb_str_enumerate_lines): make String#each_line and
... -
11:33 PM Revision df7dac91 (git): * lib/rdoc: Update to RDoc 4.1.0.preview.1
- RDoc 4.1.0 contains a number of enhancements including a new default
style and accessibility support. You can see the changelog here:
https://github.com/rdoc/rdoc/blob/v4.1.0.preview.1/History.rdoc
* test/rdoc: ditto.
git-svn-i... -
10:17 PM Revision fed42800 (git): updating psych version
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:13 PM Bug #8920: Exception when using a variable defined in end-of-line if statement
- Excellent, thanks charliesome for the fast response, and nobu for fixing my formatting. I'll report back to the rubinius project that this is, indeed, inconsistent behavior.
-
10:13 PM Bug #8920: Exception when using a variable defined in end-of-line if statement
- -- accidental doublepost --
-
09:45 PM Bug #8920 (Rejected): Exception when using a variable defined in end-of-line if statement - This is intended behaviour. Variables are defined in order of their appearance in the source.
I believe matz has rejected making variables defined in the condition of a postfix if before, saying he didn't want to introduce inconsisten... -
09:41 PM Bug #8920 (Rejected): Exception when using a variable defined in end-of-line if statement
- =begin
The following code raises an exception on each MRI version (exact ((%`ruby -v`%)) output attached at the end of this post):
class Test
def foo
puts "No Exception!"
end
end
begin
t.foo if t = Test.new
... -
09:39 PM Revision 0471f02e (git): * lib/rubygems/dependency_resolver.rb: Switch the iterative resolver
- algorithm from recursive to iterative to avoid possible
SystemStackError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:29 PM Revision 98c6d980 (git): * 2013-09-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:29 PM Revision 95683e5c (git): * lib/rubygems: Update to RubyGems 2.2.0.preview.1
- This brings several new features to RubyGems summarized here:
https://github.com/rubygems/rubygems/blob/v2.2.0.preview.1/History.txt
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42967 b2dd03c8-39d4-4d8... -
06:23 PM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
- (2013/09/13 3:03), KOSAKI Motohiro wrote:
> We already have.
>
> http://bugs.ruby-lang.org/issues/7923
I feel "making trap safe Queue (Feature #7923)" and embedding Queue
class is not same.
--
// SASADA Koichi at a... -
06:19 PM Feature #8919 (Closed): Queue as embedded class
- Queue class in lib/thread.rb (ext/thread/thread.c from Ruby 2.1) is easy and safe way to communicate between threads.
How about to include Queue class as embedded class to elaborate using Queue?
This proposal is not include Conditi... -
06:01 PM Feature #7923 (Closed): Queue#push and Queue#pop makes trap safe
- Fixed by C-ext thread.
-
02:34 PM Revision 81629f05 (git): * string.c (rb_str_enumerate_lines): make String#each_line and
- #lines not raise invalid byte sequence error when it is called
with an argument. The patch also causes performance improvement.
[ruby-dev:47549] [Bug #8698]
* test/ruby/test_m17n_comb.rb (test_str_each_line): remove
assertions whi... -
02:21 PM Revision 47beb63f (git): fix a typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:22 PM Feature #7274: UnboundMethods should be bindable to any object that is_a?(owner of the UnboundMethod)
- I am not sure the intention of the patch in [ruby-core:48864], but
* if the owner is a module
* if the binding object is an instance of the owner
we can allow bind(), but I am not sure how much useful this relaxing is, especially ... -
07:53 AM Bug #5046: Bug with xmlrpc::client, basic auth and long authentication strings - I'm not concerned about this kind of information, do not send this message
to me
2011/7/25 Hiroshi Nakamura <nakahiro@gmail.com>
>
> Issue #5046 has been updated by Hiroshi Nakamura.
>
> Status changed from Assigned... -
07:37 AM Feature #8691: Add warning for variable that is re-assigned but not re-used
- Yes, close the ticket. If someone else wants the functionality, or has implemented the functionality and wants to submit a patch, they can open another ticket.
- 07:32 AM Revision 8bf9fe27 (git): * 2013-09-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:32 AM Revision 61d79504 (git): proc.c: allocate wrapper object first
- * proc.c (mnew_from_me): allocate structs after allocated wrapper
object successfully, to get rid of potential memory leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/17/2013
-
11:48 PM Feature #8897: client side TCP fast open
- kosaki (Motohiro KOSAKI) wrote:
> Please make testcase too.
I made a testcase.
Kosaki-san, can you review it? -
03:29 AM Feature #8897: client side TCP fast open
- >> Issue #8897 has been updated by Glass_saga (Masaki Matsushita).
>
>> ping. May I commit it?
>
> OK. Please commit the patch.
Please make testcase too. -
09:56 PM Bug #8769: [PATCH] process.c (rb_fork_internal): remove cloexec setting
- Eric can't?
-
06:09 PM Bug #8769 (Assigned): [PATCH] process.c (rb_fork_internal): remove cloexec setting
- nobu, could you commit this?
-
09:53 PM Bug #8768: [PATCH] tempfile: undefine finalizer on unlink
- =begin
I couldn't let the test fail with the current code, but succeeded by setting $DEBUG at the end.
def test_tempfile_finalizer_does_not_run_if_unlinked
args = %w(--disable-gems -rtempfile)
assert_in_out_err(args, <<-'EOS')... -
06:07 PM Bug #8768 (Assigned): [PATCH] tempfile: undefine finalizer on unlink
- I know you are not the maintainer but could you review and commit this?
-
06:31 PM Feature #8771 (Rejected): Start does not use proxy configuration form ENV variables
- It causes that a client can set http_proxy on CGI environments.
see also akr's comment on https://bugs.ruby-lang.org/issues/6546 -
06:10 PM Bug #8770 (Assigned): [PATCH] process.c: avoid EINTR from Process.spawn
-
04:45 PM Bug #8698: レシーバに不正なバイト列が含まれている場合にString#each_lineや#linesの挙動が引数の有無で変わってしまう
- コミットして下さい
-
04:37 PM Bug #8698 (Assigned): レシーバに不正なバイト列が含まれている場合にString#each_lineや#linesの挙動が引数の有無で変わってしまう
-
04:24 PM Bug #5515 (Assigned): Integer#quo(aFloat) の結果が Rational になる
-
03:54 PM Bug #8918 (Closed): Shell::CommandProcessor::find_system_command
- This issue was solved with changeset r42961.
James, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
command-processor.rb: return executable file only
* lib/shell/c... -
06:32 AM Bug #8918 (Closed): Shell::CommandProcessor::find_system_command
I inherited some code which is using Shell::CommandProcessor::find_system_command to verify that the specified command actually exist, and get the full path to it. I pulled this small chunk out for testing:
require 'shell'
she...-
02:18 PM Bug #8917 (Feedback): Segmentation fault in libruby.so.1.9 st.c:341 via libc.so.6 array.c:2778
- Seems like a third party issue, could you share a small reproducible example? Also try updating to latest 1.9.3 patch level release.
-
12:45 AM Bug #8917 (Third Party's Issue): Segmentation fault in libruby.so.1.9 st.c:341 via libc.so.6 array.c:2778
- I've run into this seg fault a few times running live simulations. So, I cannot yet reliably get it to occur, but it happens.
/home/polar/src/buspass-workers/lib/location_boxing.rb:254: [BUG] Segmentation fault
ruby 1.9.3p194 (201... -
02:04 PM Bug #8913 (Assigned): Unclear licensing terms on lib/gserver.rb
- I will update the gserver docs to reflect the license change
-
01:55 PM Bug #8876 (Rejected): bundle exec rake spec - Yeah I think this definitely is a third party issue.
I've spent a lot of time digging into binding_of_caller trying to figure out *why* it segfaults sometimes, but I can't figure it out.
The bottom line is that if this segfault onl... -
01:42 PM Bug #8876 (Feedback): bundle exec rake spec
- I think this is 3rd party issue, but since charlie wrote better_errors and is an active ruby-core member we should ask for his feedback :D
-
01:48 PM Feature #8691 (Feedback): Add warning for variable that is re-assigned but not re-used
- @andrew should we close this ticket then?
-
12:35 PM Revision b56fbb9b (git): command-processor.rb: return executable file only
- * lib/shell/command-processor.rb (Shell::CommandProcessor#find_system_command):
return executable file only, should ignore directories and
unexecutable files. [ruby-core:57235] [Bug #8918]
git-svn-id: svn+ssh://ci.ruby-lang.org/r... -
11:03 AM Bug #3648 (Assigned): Bignum Incomparable with Float::INFINITY
- r42954 reverted the commit
-
06:54 AM Revision d0260aee (git): command-processor.rb: return executable file only
- * lib/shell/command-processor.rb (Shell::CommandProcessor#find_system_command):
return executable file only, should ignore directories and
unexecutable files. [ruby-core:57235] [Bug #8918]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
06:53 AM Revision 91d28c4f (git): assertions.rb: assert_throw
- * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_throw):
assertion for throw. MiniTest::Assertions#assert_throws discards
the cautht value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42960 b2dd03c8-39d4-4d8f-98f... -
06:52 AM Revision 246ff7cb (git): assertions.rb: assert_nothing_thrown returns the result
- * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_nothing_thrown):
returns the result of the given block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:56 AM Revision 4afabb5a (git): * doc/regexp.rdoc: [DOC] Replace paragraphs in verbatim sections with
- plain paragraphs to improve readability as ri and HTML.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:18 AM Revision 3ee01c29 (git): * ChangeLog: indent.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:01 AM Revision 488994cb (git): added note
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:59 AM Revision 52a57a7e (git): added reason why revert.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:55 AM Revision 41114caa (git): revertd.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:38 AM Revision 1fdd248a (git): * 2013-09-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:38 AM Revision 90cdde87 (git): Revert r42942; a revert requires a reason
- * rational.c (nurat_div): reverted r28844, r28886 and r28887.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
09/16/2013
-
03:41 PM Bug #5515: Integer#quo(aFloat) の結果が Rational になる
- $ ruby -v -e 'p 5.quo(2.0)'
ruby 2.0.0p317 (2013-09-15 revision 42947) [i686-linux]
(5/2)
-
03:37 PM Bug #5515 (Open): Integer#quo(aFloat) の結果が Rational になる
- 直ってないみたい。
そもそも r28844 で間違った事してて、trunk でも表面的に対処してるだけだった。 -
02:53 PM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
- On Mon, Sep 16, 2013 at 3:53 AM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
> (13/09/16 3:29), headius (Charles Nutter) wrote:
>> @matz What I mean is that all of the following could safely be optimized to return the same object e... -
10:59 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
- (13/09/16 3:29), headius (Charles Nutter) wrote:
> @matz What I mean is that all of the following could safely be optimized to return the same object every time:
>
> []f
> {}f
> [:foo, 1, 1.5, true, nil]
Note that we hav... -
03:33 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
- We can probably agree that the deep freezing version is wrong, since it could have the side effect of freezing objects far away from the array/hash. There are no similar side effects for creating an array/hash today.
-
03:29 AM Feature #8909: Expand "f" frozen suffix to literal arrays and hashes
- @matz What I mean is that all of the following could safely be optimized to return the same object every time:
[]f
{}f
[:foo, 1, 1.5, true, nil]
I cannot decide whether restricting the elements to be literals and/or statically frozen i... -
08:24 AM Feature #7274: UnboundMethods should be bindable to any object that is_a?(owner of the UnboundMethod)
- marcandre (Marc-Andre Lafortune) wrote:
> matz (Yukihiro Matsumoto) wrote:
> ...
It's also not clear to me what the concern is, please explain.
-
07:01 AM Bug #8916 (Closed): rb_sprintf への精度指定が正しく機能していない
- `rb_sprintf` への精度指定が正しく機能していない。
```c
rb_sprintf("%.04d", -2) /* => "-002" */
```
```ruby
format('%.4d', -2) #=> "-0002"
``` -
06:23 AM Feature #8912: Exception.raise
- Raising doesn't feel like a proper responsability of the exception.
On Sep 15, 2013 3:42 AM, "matz (Yukihiro Matsumoto)" <matz@ruby-lang.org>
wrote:
>
> Issue #8912 has been updated by matz (Yukihiro Matsumoto).
>
>
> A... -
12:48 AM Feature #8897 (Closed): client side TCP fast open - This issue was solved with changeset r42948.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/socket/mkconstants.rb: define MSG_FASTOPEN.
[ruby-core:...