Permalink
Browse files

* remove trailing spaces.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent 39da1b6 commit 3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b @nobu nobu committed May 15, 2011
Showing with 846 additions and 846 deletions.
  1. +18 −18 ChangeLog
  2. +1 −1 benchmark/driver.rb
  3. +2 −2 benchmark/other-lang/eval.rb
  4. +1 −1 benchmark/report.rb
  5. +3 −3 benchmark/run.rb
  6. +13 −13 bootstraptest/test_block.rb
  7. +7 −7 bootstraptest/test_exception.rb
  8. +1 −1 bootstraptest/test_flow.rb
  9. +4 −4 bootstraptest/test_jump.rb
  10. +3 −3 bootstraptest/test_method.rb
  11. +18 −18 bootstraptest/test_proc.rb
  12. +6 −6 bootstraptest/test_syntax.rb
  13. +2 −2 doc/rake/jamis.rb
  14. +3 −3 enc/big5.c
  15. +3 −3 enc/cp949.c
  16. +2 −2 enc/emacs_mule.c
  17. +4 −4 enc/euc_jp.c
  18. +2 −2 enc/euc_kr.c
  19. +4 −4 enc/euc_tw.c
  20. +4 −4 enc/gb18030.c
  21. +3 −3 enc/gbk.c
  22. +2 −2 enc/shift_jis.c
  23. +4 −4 enc/unicode.c
  24. +8 −8 enc/utf_8.c
  25. +1 −1 enum.c
  26. +5 −5 ext/bigdecimal/bigdecimal.c
  27. +1 −1 ext/date/date_parse.c
  28. +7 −7 ext/json/generator/generator.c
  29. +1 −1 ext/json/lib/json/common.rb
  30. +106 −106 ext/json/parser/parser.c
  31. +2 −2 ext/nkf/nkf-utf8/nkf.c
  32. +1 −1 ext/openssl/ossl_asn1.c
  33. +1 −1 ext/openssl/ossl_ssl.c
  34. +9 −9 ext/pathname/pathname.c
  35. +1 −1 ext/psych/lib/psych/nodes.rb
  36. +1 −1 ext/pty/lib/expect.rb
  37. +1 −1 ext/socket/option.c
  38. +41 −41 ext/tk/extconf.rb
  39. +4 −4 ext/tk/lib/multi-tk.rb
  40. +2 −2 ext/tk/lib/tk.rb
  41. +5 −5 ext/tk/lib/tk/autoload.rb
  42. +6 −6 ext/tk/lib/tk/fontchooser.rb
  43. +1 −1 ext/tk/lib/tk/menuspec.rb
  44. +1 −1 ext/tk/lib/tk/ttk_selector.rb
  45. +1 −1 ext/tk/lib/tkextlib/tcllib/canvas_sqmap.rb
  46. +1 −1 ext/tk/lib/tkextlib/tcllib/canvas_zoom.rb
  47. +2 −2 ext/tk/lib/tkextlib/tcllib/chatwidget.rb
  48. +1 −1 ext/tk/lib/tkextlib/tcllib/ip_entry.rb
  49. +2 −2 ext/tk/lib/tkextlib/tcllib/khim.rb
  50. +7 −7 ext/tk/lib/tkextlib/tcllib/plotchart.rb
  51. +1 −1 ext/tk/lib/tkextlib/tcllib/tablelist.rb
  52. +6 −6 ext/tk/lib/tkextlib/tcllib/tablelist_core.rb
  53. +1 −1 ext/tk/lib/tkextlib/tile/sizegrip.rb
  54. +1 −1 ext/tk/lib/tkextlib/tile/style.rb
  55. +1 −1 ext/tk/sample/editable_listbox.rb
  56. +1 −1 ext/tk/sample/menubar3.rb
  57. +1 −1 ext/tk/sample/safe-tk.rb
  58. +3 −3 ext/tk/sample/scrollframe.rb
  59. +3 −3 ext/tk/sample/tkalignbox.rb
  60. +3 −3 ext/tk/sample/tkballoonhelp.rb
  61. +5 −5 ext/tk/sample/tkcombobox.rb
  62. +1 −1 ext/tk/stubs.c
  63. +5 −5 ext/tk/tcltklib.c
  64. +4 −4 ext/win32ole/win32ole.c
  65. +15 −15 ext/zlib/zlib.c
  66. +1 −1 include/ruby/win32.h
  67. +2 −2 io.c
  68. +2 −2 lib/erb.rb
  69. +1 −1 lib/irb/completion.rb
  70. +3 −3 lib/irb/init.rb
  71. +8 −8 lib/irb/inspector.rb
  72. +1 −1 lib/irb/locale.rb
  73. +2 −2 lib/irb/ruby-lex.rb
  74. +3 −3 lib/mkmf.rb
  75. +1 −1 lib/net/imap.rb
  76. +3 −3 lib/rdoc/markup/formatter_test_case.rb
  77. +1 −1 lib/rdoc/parser.rb
  78. +1 −1 lib/rdoc/parser/ruby.rb
  79. +1 −1 lib/rdoc/ruby_lex.rb
  80. +1 −1 lib/rubygems/commands/server_command.rb
  81. +1 −1 lib/rubygems/ext/builder.rb
  82. +1 −1 lib/rubygems/package/tar_writer.rb
  83. +10 −10 lib/set.rb
  84. +2 −2 lib/thwait.rb
  85. +4 −4 lib/tracer.rb
  86. +7 −7 lib/uri/common.rb
  87. +1 −1 lib/uri/ftp.rb
  88. +6 −6 lib/uri/generic.rb
  89. +2 −2 lib/webrick/httpservlet/filehandler.rb
  90. +2 −2 lib/yaml/dbm.rb
  91. +1 −1 missing/alloca.c
  92. +2 −2 missing/flock.c
  93. +1 −1 missing/isinf.c
  94. +1 −1 missing/langinfo.c
  95. +2 −2 missing/os2.c
  96. +1 −1 numeric.c
  97. +6 −6 pack.c
  98. +1 −1 prelude.rb
  99. +1 −1 random.c
  100. +5 −5 sample/biorhythm.rb
  101. +1 −1 sample/drb/darray.rb
  102. +2 −2 sample/drb/darrayc.rb
  103. +2 −2 sample/drb/dbiff.rb
  104. +2 −2 sample/drb/dchatc.rb
  105. +1 −1 sample/drb/dchats.rb
  106. +2 −2 sample/drb/dhasen.rb
  107. +1 −1 sample/drb/dhasenc.rb
  108. +1 −1 sample/drb/dlogc.rb
  109. +1 −1 sample/drb/dlogd.rb
  110. +1 −1 sample/drb/dqin.rb
  111. +1 −1 sample/drb/dqout.rb
  112. +1 −1 sample/drb/dqueue.rb
  113. +1 −1 sample/drb/drbc.rb
  114. +1 −1 sample/drb/drbch.rb
  115. +3 −3 sample/drb/drbm.rb
  116. +1 −1 sample/drb/drbmc.rb
  117. +3 −3 sample/drb/drbs-acl.rb
  118. +2 −2 sample/drb/drbs.rb
  119. +6 −6 sample/drb/extserv_test.rb
  120. +1 −1 sample/drb/holderc.rb
  121. +3 −3 sample/drb/holders.rb
  122. +3 −3 sample/drb/http0.rb
  123. +6 −6 sample/drb/http0serv.rb
  124. +8 −8 sample/drb/name.rb
  125. +1 −1 sample/drb/namec.rb
  126. +3 −3 sample/drb/old_tuplespace.rb
  127. +1 −1 sample/drb/ring_echo.rb
  128. +3 −3 sample/drb/simpletuple.rb
  129. +1 −1 sample/drb/speedc.rb
  130. +2 −2 sample/drb/speeds.rb
  131. +1 −1 sample/from.rb
  132. +1 −1 sample/fullpath.rb
  133. +1 −1 sample/list2.rb
  134. +1 −1 sample/list3.rb
  135. +1 −1 sample/openssl/certstore.rb
  136. +1 −1 sample/openssl/smime_write.rb
  137. +2 −2 sample/rss/re_read.rb
  138. +1 −1 sample/svr.rb
  139. +11 −11 sample/test.rb
  140. +1 −1 sample/trojan.rb
  141. +1 −1 signal.c
  142. +1 −1 test/dl/test_func.rb
  143. +1 −1 test/json/test_json.rb
  144. +1 −1 test/json/test_json_addition.rb
  145. +1 −1 test/logger/test_logger.rb
  146. +2 −2 test/minitest/test_minitest_mock.rb
  147. +9 −9 test/open-uri/test_ssl.rb
  148. +2 −2 test/openssl/test_asn1.rb
  149. +2 −2 test/openssl/test_x509cert.rb
  150. +2 −2 test/openssl/test_x509crl.rb
  151. +2 −2 test/openssl/test_x509req.rb
  152. +1 −1 test/psych/test_null.rb
  153. +1 −1 test/psych/test_struct.rb
  154. +2 −2 test/rake/in_environment.rb
  155. +15 −15 test/rake/test_application.rb
  156. +2 −2 test/rake/test_definitions.rb
  157. +1 −1 test/rake/test_earlytime.rb
  158. +2 −2 test/rake/test_extension.rb
  159. +1 −1 test/rake/test_file_task.rb
  160. +11 −11 test/rake/test_filelist.rb
  161. +5 −5 test/rake/test_fileutils.rb
  162. +1 −1 test/rake/test_multitask.rb
  163. +1 −1 test/rake/test_pathmap.rb
  164. +1 −1 test/rake/test_rake.rb
  165. +1 −1 test/rake/test_task_arguments.rb
  166. +2 −2 test/rake/test_task_manager.rb
  167. +1 −1 test/rake/test_test_task.rb
  168. +1 −1 test/rdoc/test_rdoc_context_section.rb
  169. +1 −1 test/rdoc/test_rdoc_parser_ruby.rb
  170. +3 −3 test/readline/test_readline.rb
  171. +2 −2 test/rexml/test_attributes.rb
  172. +9 −9 test/rexml/test_contrib.rb
  173. +7 −7 test/rexml/test_doctype.rb
  174. +6 −6 test/rexml/test_elements.rb
  175. +1 −1 test/rexml/test_encoding_2.rb
  176. +5 −5 test/rexml/test_entity.rb
  177. +1 −1 test/rexml/test_functions.rb
  178. +23 −23 test/rexml/test_jaxen.rb
  179. +2 −2 test/rexml/test_light.rb
  180. +3 −3 test/rexml/test_listener.rb
  181. +3 −3 test/rexml/test_notationdecl_mixin.rb
  182. +1 −1 test/rexml/test_notationdecl_parsetest.rb
  183. +5 −5 test/rexml/test_pullparser.rb
  184. +7 −7 test/rexml/test_sax.rb
  185. +4 −4 test/rexml/test_stream.rb
  186. +3 −3 test/rexml/test_validation_rng.rb
  187. +3 −3 test/rexml/test_xml_declaration_parent_child.rb
  188. +53 −53 test/rexml/test_xpath.rb
  189. +14 −14 test/rexml/test_xpath_attribute_query.rb
  190. +3 −3 test/rexml/test_xpath_pred.rb
  191. +1 −1 test/ruby/test_marshal.rb
  192. +1 −1 test/ruby/test_module.rb
  193. +1 −1 test/ruby/test_super.rb
  194. +1 −1 test/ruby/test_time.rb
  195. +7 −7 test/rubygems/test_gem_commands_unpack_command.rb
  196. +4 −4 test/rubygems/test_gem_platform.rb
  197. +2 −2 test/rubygems/test_gem_silent_ui.rb
  198. +1 −1 test/syck/test_null.rb
  199. +1 −1 test/syck/test_struct.rb
  200. +2 −2 test/syck/test_yaml.rb
  201. +1 −1 test/test_pstore.rb
  202. +1 −1 test/thread/test_queue.rb
  203. +1 −1 test/webrick/test_cookie.rb
  204. +2 −2 test/webrick/test_httprequest.rb
  205. +1 −1 test/win32ole/test_win32ole_variant.rb
  206. +14 −14 time.c
  207. +3 −3 tool/asm_parse.rb
  208. +1 −1 tool/eval.rb
  209. +10 −10 tool/instruction.rb
  210. +3 −3 tool/mdoc2man.rb
  211. +1 −1 tool/strip-rdoc.rb
  212. +1 −1 tool/transcode-tblgen.rb
View
@@ -21,7 +21,7 @@ Sat May 14 22:45:28 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Sat May 14 19:52:22 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
- add for $0 test.
+ add for $0 test.
Sat May 14 19:50:46 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
@@ -50,10 +50,10 @@ Sat May 14 17:42:21 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
Sat May 14 12:12:54 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
- * test/openssl/test_pkey_dsa.rb: Add basic tests and tests that
- ensure new public key PEM encoding behavior and ensure backward
- compatibility.
- [Ruby 1.9 - Bug #4422] [ruby-core:35328]
+ * test/openssl/test_pkey_dsa.rb: Add basic tests and tests that
+ ensure new public key PEM encoding behavior and ensure backward
+ compatibility.
+ [Ruby 1.9 - Bug #4422] [ruby-core:35328]
* test/openssl/test_pkey_rsa.rb: Remove line with 'puts'.
Sat May 14 12:06:49 2011 Eric Hodel <drbrain@segment7.net>
@@ -64,8 +64,8 @@ Sat May 14 12:06:49 2011 Eric Hodel <drbrain@segment7.net>
Sat May 14 10:32:36 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* test/openssl/test_pkey_rsa.rb: Add tests that ensure new public key
- encoding behavior and also ensure backward compatibility.
- [Ruby 1.9 - Bug #4421] [ruby-core:35327]
+ encoding behavior and also ensure backward compatibility.
+ [Ruby 1.9 - Bug #4421] [ruby-core:35327]
Sat May 14 09:50:10 2011 Eric Hodel <drbrain@segment7.net>
@@ -87,7 +87,7 @@ Sat May 14 05:08:32 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/ossl_pkey.c
* ext/openssl/ossl_pkey.h
* test/openssl/pkey/test_pkey_rsa.rb
- Reverted premature commit. Sorry for the noise!
+ Reverted premature commit. Sorry for the noise!
Sat May 14 05:02:58 2011 Eric Hodel <drbrain@segment7.net>
@@ -97,8 +97,8 @@ Sat May 14 05:02:58 2011 Eric Hodel <drbrain@segment7.net>
Sat May 14 04:19:06 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* NEWS: Describe altered behaviour for RSA and DSA public key
- encoding. [Ruby 1.9 - Bug #4421, Bug #4422]
- [ruby-core:35327,35328]
+ encoding. [Ruby 1.9 - Bug #4421, Bug #4422]
+ [ruby-core:35327,35328]
Sat May 14 02:57:52 2011 Eric Hodel <drbrain@segment7.net>
@@ -488,7 +488,7 @@ Fri May 6 23:29:47 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Fri May 6 23:13:43 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* configure.in: remove nanosleep check. we no longer use it.
- r20124 removed last usage.
+ r20124 removed last usage.
Fri May 6 22:35:56 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
@@ -551,7 +551,7 @@ Thu May 5 15:03:51 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* eval.c (frame_func_id): __method__ return different name from
methods defined by Module#define_method with a same block.
[ruby-core:35386] fixes #4606
- * eval (method_entry_of_iseq): new helper function. search control
+ * eval.c (method_entry_of_iseq): new helper function. search control
frame stack for a method entry which has given iseq.
* test/ruby/test_method.rb: add tests for #4696
@@ -573,14 +573,14 @@ Wed May 4 21:11:28 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Wed May 4 20:22:12 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* io.c (Init_IO): Added File::CLOEXEC constant.
- [ruby-core:22893] [Feature #1291]
+ [ruby-core:22893] [Feature #1291]
* test/ruby/test_io.rb (TestIO#test_o_cloexec): test for File::CLOEXEC.
Wed May 4 19:00:59 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (rb_wait_for_single_fd): Fix wrong return value.
* test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb
- (TestWaitForSingleFD#test_wait_for_closed_pipe): test for it.
+ (TestWaitForSingleFD#test_wait_for_closed_pipe): test for it.
Wed May 4 18:46:39 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
@@ -1201,7 +1201,7 @@ Tue Apr 12 01:33:00 2011 Luis Lavena <luislavena@gmail.com>
* configure.in: properly evaluate existence of truncate, ftruncate
and ftello for MinGW. [ruby-core:35678]
- * win32/win32.c: rename truncate, ftruncate and ftello to avoid
+ * win32/win32.c: rename truncate, ftruncate and ftello to avoid
redefinitions.
* win32/win32.h: ditto.
@@ -1409,11 +1409,11 @@ Tue Mar 29 05:19:57 2011 Tanaka Akira <akr@fsij.org>
* ext/socket/raddrinfo.c: parenthesize macro arguments.
-Tue Mar 29 00:03:51 2011 Tajima Akio <artonx@yahoo.co.jp>
+Tue Mar 29 00:03:51 2011 Tajima Akio <artonx@yahoo.co.jp>
* test/webrick/test_filehandler.rb (test_short_filename):
- read real short filename by cmd because smb mounted files
- have different naming convention.
+ read real short filename by cmd because smb mounted files
+ have different naming convention.
Mon Mar 28 11:38:08 2011 NARUSE, Yui <naruse@ruby-lang.org>
View
@@ -48,7 +48,7 @@ def message_print *args
def progress_message *args
unless STDOUT.tty?
- STDERR.print(*args)
+ STDERR.print(*args)
STDERR.flush
end
end
@@ -51,14 +51,14 @@ def bench cmd
require 'pp'
# utime
-puts Lang.join("\t")
+puts Lang.join("\t")
Bench.each_with_index{|b, bi|
print b, "\t"
puts Result[bi].map{|e| e[0]}.join("\t")
}
# rtime
-puts Lang.join("\t")
+puts Lang.join("\t")
Bench.each_with_index{|b, bi|
print b, "\t"
puts Result[bi].map{|e| e[1]}.join("\t")
View
@@ -25,7 +25,7 @@ def exec_command type, file, w
def benchmark cmd
rubybin = ENV['RUBY'] || RbConfig.ruby
-
+
IO.popen(rubybin, 'r+'){|io|
io.write cmd
io.close_write
View
@@ -33,8 +33,8 @@ def bm file
bm_name = $1
puts '-----------------------------------------------------------' unless $rubyonly || $matzrubyonly
puts "#{bm_name}: "
-
-
+
+
puts <<EOS unless $matzrubyonly || $rubyonly
#{prog}
--
@@ -93,7 +93,7 @@ def matzruby_exec file
ARGV.delete_if{|arg|
/\A-/ =~ arg
}
-
+
puts "MatzRuby:"
system("#{$matzruby_program} -v")
puts "Ruby:"
@@ -75,7 +75,7 @@ def each
}
end
end
-
+
C.new.to_a
}
assert_equal %q{[4, 5, 6]}, %q{
@@ -87,7 +87,7 @@ def each
}
end
end
-
+
C.new.map{|e|
e + 3
}
@@ -110,7 +110,7 @@ def n
def m
yield 1
end
-
+
m{|ib|
m{|jb|
i = 20
@@ -121,7 +121,7 @@ def m
def m
yield 1
end
-
+
m{|ib|
m{|jb|
ib = 20
@@ -135,11 +135,11 @@ def iter1
yield
}
end
-
+
def iter2
yield
end
-
+
iter1{
jb = 2
iter1{
@@ -154,11 +154,11 @@ def iter1
yield
}
end
-
+
def iter2
yield
end
-
+
iter1{
jb = 2
iter1{
@@ -226,11 +226,11 @@ def iter
}
assert_equal %q{[1]}, %q{
$a = []
-
+
def iter
yield 1
end
-
+
def m
x = iter{|x|
$a << x
@@ -450,7 +450,7 @@ def each
end
vs1 = []
C.new.each {|*v| vs1 << v }
- vs2 = []
+ vs2 = []
C.new.to_enum.each {|*v| vs2 << v }
vs1 == vs2 ? :ok : :ng
}, '[ruby-dev:32329]'
@@ -468,9 +468,9 @@ def each
def m() yield nil,[] end
l = lambda {|*v| v}
GC.stress=true
- r = m(&l)
+ r = m(&l)
GC.stress=false
- r.inspect
+ r.inspect
}, '[ruby-dev:32567]'
assert_equal NilClass.to_s, %q{
@@ -97,7 +97,7 @@ def m
def m
$!
end
-
+
begin
begin
raise "FOO"
@@ -205,11 +205,11 @@ def m a, b
assert_equal %q{ok3}, %q{
class E1 < Exception
end
-
+
def m
yield
end
-
+
begin
begin
begin
@@ -239,15 +239,15 @@ def m
$i += 2
break
ensure
-
+
end
ensure
$i += 4
end
$i = 0
}
end
-
+
def iter
yield
end
@@ -349,7 +349,7 @@ def m
7+7
end
}
-assert_equal %q{ok}, %q{ #
+assert_equal %q{ok}, %q{ #
proc{
begin
raise
@@ -376,7 +376,7 @@ class C
def inspect
bar {}
end
-
+
def bar
raise
ensure
@@ -29,7 +29,7 @@ def lines
end
end
end
-
+
('a').lines.map{|e|
break :ok
}
@@ -100,7 +100,7 @@ def all_?
def m
yield
end
-
+
m{
begin
ensure
@@ -190,7 +190,7 @@ def m
$i = 100
end
end
-
+
def iter
yield
end
@@ -216,7 +216,7 @@ def m
return 1
end
end
-
+
m
}
assert_equal %q{1}, %q{
@@ -227,7 +227,7 @@ def m
return 1
end
end
-
+
m
}
assert_equal 'ok', %q{
@@ -914,7 +914,7 @@ def test
o1 = c1.new
o2 = c2.new
-
+
test{o1.m}
test{o2.mm}
test{o1.send :m}
@@ -1074,7 +1074,7 @@ class Foo
def regular(a, b, *c)
[a, b, c]
end
- regular(*[], 1, *[], *[2, 3], *[], 4)
+ regular(*[], 1, *[], *[2, 3], *[], 4)
}, '[ruby-core:19413]'
assert_equal '[1, [:foo, 3, 4, :foo]]', %q{
@@ -1093,7 +1093,7 @@ def m
end
class B < A
- define_method(:m) do
+ define_method(:m) do
['B', super()]
end
end
Oops, something went wrong.

0 comments on commit 3a47cf3

Please sign in to comment.