1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

23084 commits

Author SHA1 Message Date
svn
818cb970b9 * 2011-05-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29 15:49:10 +00:00
nobu
0d6c591055 * bignum.c (bigmul1_toom3): remove unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29 15:49:07 +00:00
nobu
7c99a7df85 * numeric.c (flo_round): use absolute value as divisor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29 14:22:49 +00:00
nobu
2ceceb8f3e * test/date/test_switch_hitter.rb: properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29 14:21:37 +00:00
naruse
f7b046987d * re.c (rb_reg_match): fix rdoc of Regexp#=~.
patched by Tsuyoshi Sawada. [Bug ]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29 14:18:34 +00:00
naruse
d5a775f527 * lib/webrick/https.rb (WEBrick::HTTPRequest#parse_uri):
keep parse_uri as private. patched by okkez. [Bug ]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29 14:14:38 +00:00
nagachika
4173fb0cb5 * numeric.c: add #include "interna.h" for rb_big_uminus() prototype.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29 08:55:54 +00:00
nobu
a3ffe9698b * numeric.c (flo_round): fix for negative value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29 06:09:08 +00:00
kosaki
e15b3c83b8 * test/net/http/utils.rb (TestNetHTTPUtils#teardown): add nil check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28 17:17:36 +00:00
svn
25925517fe * 2011-05-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28 15:24:22 +00:00
kosaki
bde7a62f91 * process.c (before_exec, after_exec): change from macro to function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28 15:24:18 +00:00
kosaki
ed02c4122a * process.c (before_exec, after_exec): change SIGPIPE handler to SIG_DFL
before calling execve(). Because r31760 reintroduced an issue that
  system() may hang up (i.e. [ruby-dev:12261]).
* process.c (save_sigpipe, restore_sigpipe): new.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28 13:52:03 +00:00
kosaki
e39b50d4b5 * signal.c (Init_signal, default_handler): change default SIGPIPE handler
from empty function to SIG_IGN. [ruby-dev:43215]
* signal.c (sigpipe): removed.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28 07:11:54 +00:00
akr
aede5b3911 update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 23:45:12 +00:00
naruse
9efb5a9d6a * io.c (fill_cbuf): return MORE_CHAR_SUSPENDED when cbuf is not empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 18:06:42 +00:00
kosaki
412e9ba174 email addr fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 17:25:19 +00:00
kosaki
724b1c60dc * string.c (rb_str_bytesize): rb_str_bytesize() should use LONG2NUM().
Patch by Nikolai Weibull. [Bug ] [ruby-core:36511]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 17:23:30 +00:00
kosaki
78271e8c72 * io.c (fill_cbuf): Fix test-all crash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 17:09:27 +00:00
svn
8858722dbd * 2011-05-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 15:59:06 +00:00
marcandre
a50bdcd6df * lib/ostruct.rb (method_missing): Handle [] and []= correctly.
Based on a patch by Caius Durling, bug  [ruby-core:33792]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 15:59:02 +00:00
kou
40e7d79391 * test/rexml/test_core.rb (Tester::test_text_frozen): split frozen
string test. refs 


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 14:57:55 +00:00
marcandre
7bb29d4b32 * proc.c: Rdoc formatting, clarification & example fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 13:55:43 +00:00
marcandre
ffd86054f5 * object.c (rb_mod_attr_accessor, rb_mod_const_set): made rdoc
more precise by specifying Object can searched for Modules.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 13:55:21 +00:00
nobu
c5719d9a75 * tool/rbinstall.rb (gem): install gemspec of json. fixed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 13:46:25 +00:00
nobu
b5bc09d234 * io.c (validate_enc_binmode): do not clear textmode flag if
default.  fixed 

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 13:45:12 +00:00
nobu
9909c67583 * io.c (fill_cbuf): finish reading at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 13:38:56 +00:00
nobu
faaf8ea8af * test/ruby/test_io.rb (TestIO#test_ungetc2): get rid of busy loop.
* test/ruby/test_signal.rb (TestSignal#test_signal2): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 13:37:37 +00:00
shyouhei
83e216b670 ChangeLog for it
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 02:34:25 +00:00
shyouhei
42f704a8fa prevent an error when passing a frozen string to REXML::Text.new
dup the string passed in instead of cloning so that it's frozen state is ignored

Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-27 02:34:23 +00:00
nagai
e65e24bd27 * thread.c (ppoll): typo bug fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-26 23:48:31 +00:00
nagai
542190ce58 * ext/tk/lib/tk.rb: hang-up at exit before calling Tk.mainloop.
* ext/tk/lib/tk/extconf.rb: cannot make on MinGW [Ruby 1.9 - Bug ].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-26 23:36:33 +00:00
svn
4aaea4c9b8 * 2011-05-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-26 15:35:09 +00:00
jeg2
a9c056f1ed * lib/csv.rb: Enhance each() to support Enumerator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-26 15:35:06 +00:00
jeg2
b74f5dee4a * lib/csv.rb: Documentation improvements from Ysiad Ferreiras.
[Ruby 1.9 - Bug ]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-26 13:32:40 +00:00
shyouhei
db0f21e906 ChangeLog for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-26 06:46:32 +00:00
svn
b1524728c5 * 2011-05-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-26 06:44:52 +00:00
shyouhei
c0f09a8a35 * lib/xmlrpc/parser.rb (FaultException): fix to_s and inspect
* test/xmlrpc/parser.rb: test for the above

Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-26 06:44:48 +00:00
jeg2
6e7544f132 * lib/csv.rb: Improved stray quoting error message (patch by Edvard Majakari).
* lib/csv.rb:  Remove debugging prints.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 14:46:08 +00:00
drbrain
ce9d84a9f0 * ext/curses/curses.c: Remove color constants block.
[Ruby 1.9 - Bug ]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 02:54:48 +00:00
drbrain
eab122534d * ext/curses/curses.c: Add missing documentation for button state, MIN
and MAX comments.  Add Curses. to TABSIZE= and ESCDELAY= methods.
	  [Ruby 1.9 - Bug ]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 00:57:07 +00:00
drbrain
5bf1c145d4 * lib/benchmark.rb: Restore nodoc for Benchmark::Job and
Benchmark::Report.  [Ruby 1.9 - Bug ]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 00:38:30 +00:00
drbrain
0441079b58 * lib/net/pop.rb: Hide implementation details from RDoc.
[Ruby 1.9 - Bug ]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 00:30:04 +00:00
drbrain
9c711c0be6 * lib/net/ftp.rb: Add :nodoc: for private methods.
[Ruby 1.9 - Bug ]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 00:26:51 +00:00
drbrain
9af99106c1 * ext/zlib/zlib.c: Fix Document-method declarations. Improve
Zlib::GzipFile's method catalog.  [Ruby 1.9 - Bug ]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-25 00:19:37 +00:00
drbrain
421875eeff * lib/erb.rb: Restore documentation for ERB::Util and ERB::DefMethod
(oops).  [Ruby 1.9 - Bug ]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 23:24:32 +00:00
drbrain
373ea89e17 * lib/erb.rb: Hide documentation for implementation details of ERB.
[Ruby 1.9 - Bug ]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 23:22:40 +00:00
nobu
c5c245554d * lib/tempfile.rb (Tempfile.{mkdir,rmdir}): revert for backward
compatibility.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 22:58:18 +00:00
nobu
6cbe0e0fd6 * spec/README: update the description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 22:13:14 +00:00
nobu
9a7e295255 * lib/tempfile.rb (Tempfile.{lock,unlock}_tempfile): refactor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 22:12:20 +00:00
svn
18684395c6 * 2011-05-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-24 21:22:05 +00:00