summaryrefslogtreecommitdiff
path: root/ext/tk/sample/cmd_resource
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/sample/cmd_resource')
-rw-r--r--ext/tk/sample/cmd_resource5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/tk/sample/cmd_resource b/ext/tk/sample/cmd_resource
deleted file mode 100644
index 9cc4915546..0000000000
--- a/ext/tk/sample/cmd_resource
+++ /dev/null
@@ -1,5 +0,0 @@
-*BtnFrame.hello.text: HELLO
-*BtnFrame.hello.command: ruby {puts "Hello World!!"}
-*BTN_CMD.show_msg: {|arg| print "Hello, #{arg}!!\n"}
-*hello.show_msg: {|arg| print "Hello, Hello, #{arg}!!\n"}
-*hello.ZZZ.show_msg: {|arg| print "Hello, Hello, ZZZ:#{arg}!!\n"}
.travis.yml71
-rw-r--r--BSDL22
-rw-r--r--COPYING4
-rw-r--r--COPYING.ja72
-rw-r--r--ChangeLog88856
-rw-r--r--GPL39
-rw-r--r--KNOWNBUGS.rb11
-rw-r--r--LEGAL91
-rw-r--r--Makefile.in262
-rw-r--r--NEWS904
-rw-r--r--README154
-rw-r--r--README.EXT1258
-rw-r--r--README.EXT.ja2056
-rw-r--r--README.ja241
-rw-r--r--ToDo124
-rw-r--r--addr2line.c1080
-rw-r--r--addr2line.h21
-rw-r--r--array.c2324
-rw-r--r--bcc32/Makefile.sub5
-rw-r--r--bcc32/setup.mak6
-rw-r--r--benchmark/bm_app_erb.rb2
-rw-r--r--benchmark/bm_app_factorial.rb4
-rw-r--r--benchmark/bm_app_mandelbrot.rb6
-rw-r--r--benchmark/bm_app_raise.rb4
-rw-r--r--benchmark/bm_app_strconcat.rb6
-rw-r--r--benchmark/bm_io_file_create.rb2
-rw-r--r--benchmark/bm_io_file_read.rb2
-rw-r--r--benchmark/bm_io_file_write.rb2
-rw-r--r--benchmark/bm_io_select.rb9
-rw-r--r--benchmark/bm_io_select2.rb22
-rw-r--r--benchmark/bm_io_select3.rb21
-rw-r--r--benchmark/bm_loop_whileloop.rb4
-rw-r--r--benchmark/bm_loop_whileloop2.rb4
-rw-r--r--benchmark/bm_so_concatenate.rb6
-rw-r--r--benchmark/bm_so_exception.rb2
-rw-r--r--benchmark/bm_so_fannkuch.rb2
-rw-r--r--benchmark/bm_so_lists.rb4
-rw-r--r--benchmark/bm_so_matrix.rb2
-rw-r--r--benchmark/bm_so_nsieve_bits.rb1
-rw-r--r--benchmark/bm_so_random.rb6
-rw-r--r--benchmark/bm_so_sieve.rb6
-rw-r--r--benchmark/bm_vm1_attr_ivar.rb14
-rw-r--r--benchmark/bm_vm1_attr_ivar_set.rb14
-rw-r--r--benchmark/bm_vm1_block.rb8
-rw-r--r--benchmark/bm_vm1_const.rb4
-rw-r--r--benchmark/bm_vm1_ensure.rb6
-rw-r--r--benchmark/bm_vm1_float_simple.rb7
-rw-r--r--benchmark/bm_vm1_ivar.rb4
-rw-r--r--benchmark/bm_vm1_ivar_set.rb2
-rw-r--r--benchmark/bm_vm1_length.rb6
-rw-r--r--benchmark/bm_vm1_lvar_init.rb18
-rw-r--r--benchmark/bm_vm1_lvar_set.rb5
-rw-r--r--benchmark/bm_vm1_neq.rb4
-rw-r--r--benchmark/bm_vm1_not.rb4
-rw-r--r--benchmark/bm_vm1_rescue.rb6
-rw-r--r--benchmark/bm_vm1_simplereturn.rb6
-rw-r--r--benchmark/bm_vm1_swap.rb6
-rw-r--r--benchmark/bm_vm1_yield.rb10
-rw-r--r--benchmark/bm_vm2_array.rb6
-rw-r--r--benchmark/bm_vm2_bigarray.rb106
-rw-r--r--benchmark/bm_vm2_bighash.rb5
-rw-r--r--benchmark/bm_vm2_case.rb6
-rw-r--r--benchmark/bm_vm2_defined_method.rb9
-rw-r--r--benchmark/bm_vm2_dstr.rb6
-rw-r--r--benchmark/bm_vm2_eval.rb6
-rw-r--r--benchmark/bm_vm2_method.rb6
-rw-r--r--benchmark/bm_vm2_method_missing.rb12
-rw-r--r--benchmark/bm_vm2_method_with_block.rb9
-rw-r--r--benchmark/bm_vm2_mutex.rb6
-rw-r--r--benchmark/bm_vm2_poly_method.rb6
-rw-r--r--benchmark/bm_vm2_poly_method_ov.rb6
-rw-r--r--benchmark/bm_vm2_proc.rb6
-rw-r--r--benchmark/bm_vm2_raise1.rb18
-rw-r--r--benchmark/bm_vm2_raise2.rb18
-rw-r--r--benchmark/bm_vm2_regexp.rb6
-rw-r--r--benchmark/bm_vm2_send.rb6
-rw-r--r--benchmark/bm_vm2_super.rb4
-rw-r--r--benchmark/bm_vm2_unif1.rb4
-rw-r--r--benchmark/bm_vm2_zsuper.rb4
-rw-r--r--benchmark/bm_vm3_backtrace.rb22
-rw-r--r--benchmark/bm_vm3_clearmethodcache.rb8
-rw-r--r--benchmark/bm_vm3_thread_create_join.rb6
-rw-r--r--benchmark/bm_vm3_thread_mutex.rb18
-rw-r--r--benchmark/bm_vm_thread_alive_check1.rb6
-rw-r--r--benchmark/bm_vm_thread_create_join.rb6
-rw-r--r--benchmark/bm_vm_thread_mutex1.rb21
-rw-r--r--benchmark/bm_vm_thread_mutex2.rb21
-rw-r--r--benchmark/bm_vm_thread_mutex3.rb20
-rw-r--r--benchmark/bm_vm_thread_pass.rb15
-rw-r--r--benchmark/bm_vm_thread_pass_flood.rb8
-rw-r--r--benchmark/bm_vm_thread_pipe.rb17
-rw-r--r--benchmark/bmx_temp.rb9
-rw-r--r--benchmark/driver.rb124
-rw-r--r--benchmark/other-lang/eval.rb4
-rw-r--r--benchmark/other-lang/fact.rb4
-rw-r--r--benchmark/other-lang/loop.rb4
-rw-r--r--benchmark/report.rb2
-rw-r--r--benchmark/run.rb6
-rw-r--r--bignum.c727
-rwxr-xr-xbin/gem2
-rwxr-xr-xbin/rake12
-rwxr-xr-xbin/rdoc13
-rwxr-xr-xbin/ri7
-rwxr-xr-xbin/testrb13
-rwxr-xr-xbootstraptest/runner.rb281
-rw-r--r--bootstraptest/test_autoload.rb32
-rw-r--r--bootstraptest/test_block.rb58
-rw-r--r--bootstraptest/test_eval.rb39
-rw-r--r--bootstraptest/test_exception.rb30
-rw-r--r--bootstraptest/test_flow.rb68
-rw-r--r--bootstraptest/test_fork.rb20
-rw-r--r--bootstraptest/test_io.rb10
-rw-r--r--bootstraptest/test_jump.rb8
-rw-r--r--bootstraptest/test_literal.rb33
-rw-r--r--bootstraptest/test_method.rb92
-rw-r--r--bootstraptest/test_objectspace.rb12
-rw-r--r--bootstraptest/test_proc.rb88
-rw-r--r--bootstraptest/test_syntax.rb16
-rw-r--r--bootstraptest/test_thread.rb26
-rw-r--r--class.c467
-rw-r--r--common.mk660
-rw-r--r--compar.c32
-rw-r--r--compile.c2200
-rw-r--r--complex.c688
-rw-r--r--configure.in2089
-rw-r--r--constant.h36
-rw-r--r--cont.c624
-rw-r--r--cygwin/GNUmakefile.in41
-rw-r--r--debug.c10
-rw-r--r--debug.h36
-rw-r--r--defs/default_gems5
-rw-r--r--defs/id.def93
-rw-r--r--defs/opt_operand.def49
-rw-r--r--dir.c288
-rw-r--r--dln.c213
-rw-r--r--dln.h9
-rw-r--r--dln_find.c36
-rw-r--r--dmydln.c2
-rw-r--r--dmyext.c5
-rw-r--r--doc/.document4
-rw-r--r--doc/ChangeLog-1.9.392772
-rw-r--r--doc/ChangeLog-YARV2
-rw-r--r--doc/NEWS-1.8.725
-rw-r--r--doc/NEWS-1.9.133
-rw-r--r--doc/NEWS-1.9.2509
-rw-r--r--doc/NEWS-1.9.3341
-rw-r--r--doc/etc.rd75
-rw-r--r--doc/etc.rd.ja76
-rw-r--r--doc/forwardable.rd83
-rw-r--r--doc/forwardable.rd.ja44
-rw-r--r--doc/globals.rdoc68
-rw-r--r--doc/irb/irb-tools.rd.ja110
-rw-r--r--doc/irb/irb.rd391
-rw-r--r--doc/irb/irb.rd.ja352
-rw-r--r--doc/pty/README84
-rw-r--r--doc/pty/README.expect22
-rw-r--r--doc/pty/README.expect.ja28
-rw-r--r--doc/pty/README.ja86
-rw-r--r--doc/rake/CHANGES2
-rw-r--r--doc/rake/command_line_usage.rdoc87
-rw-r--r--doc/rake/glossary.rdoc4
-rw-r--r--doc/rake/jamis.rb4
-rw-r--r--doc/rake/proto_rake.rdoc44
-rw-r--r--doc/rake/rakefile.rdoc89
-rw-r--r--doc/rake/rational.rdoc12
-rw-r--r--doc/rake/release_notes/rake-0.8.7.rdoc2
-rw-r--r--doc/rake/release_notes/rake-0.9.0.rdoc112
-rw-r--r--doc/rake/release_notes/rake-0.9.1.rdoc52
-rw-r--r--doc/rake/release_notes/rake-0.9.2.2.rdoc55
-rw-r--r--doc/rake/release_notes/rake-0.9.2.rdoc49
-rw-r--r--doc/rake/release_notes/rake-0.9.3.rdoc102
-rw-r--r--doc/rake/release_notes/rake-0.9.4.rdoc110
-rw-r--r--doc/rake/release_notes/rake-0.9.5.rdoc114
-rw-r--r--doc/rake/release_notes/rake-0.9.6.rdoc127
-rw-r--r--doc/re.rdoc103
-rw-r--r--doc/rubygems/ChangeLog5689
-rw-r--r--doc/rubygems/History.txt852
-rw-r--r--doc/rubygems/README41
-rw-r--r--doc/security.rdoc149
-rw-r--r--doc/shell.rd347
-rw-r--r--doc/shell.rd.ja150
-rw-r--r--doc/standard_library.rdoc126
-rw-r--r--doc/syntax.rdoc34
-rw-r--r--doc/syntax/assignment.rdoc455
-rw-r--r--doc/syntax/calling_methods.rdoc349
-rw-r--r--doc/syntax/control_expressions.rdoc500
-rw-r--r--doc/syntax/exceptions.rdoc96
-rw-r--r--doc/syntax/literals.rdoc295
-rw-r--r--doc/syntax/methods.rdoc414
-rw-r--r--doc/syntax/miscellaneous.rdoc107
-rw-r--r--doc/syntax/modules_and_classes.rdoc345
-rw-r--r--doc/syntax/precedence.rdoc60
-rw-r--r--doc/syntax/refinements.rdoc240
-rw-r--r--enc/Makefile.in30
-rw-r--r--enc/ascii.c7
-rw-r--r--enc/big5.c38
-rw-r--r--enc/cp949.c10
-rw-r--r--enc/depend134
-rw-r--r--enc/emacs_mule.c9
-rw-r--r--enc/encdb.c8
-rw-r--r--enc/encinit.c.erb26
-rw-r--r--enc/euc_jp.c316
-rw-r--r--enc/euc_kr.c8
-rw-r--r--enc/euc_tw.c12
-rw-r--r--enc/gb18030.c17
-rw-r--r--enc/gbk.c10
-rw-r--r--enc/iso_2022_jp.h7
-rw-r--r--enc/iso_8859_1.c8
-rw-r--r--enc/iso_8859_10.c4
-rw-r--r--enc/iso_8859_11.c4
-rw-r--r--enc/iso_8859_13.c4
-rw-r--r--enc/iso_8859_14.c4
-rw-r--r--enc/iso_8859_15.c4
-rw-r--r--enc/iso_8859_16.c4
-rw-r--r--enc/iso_8859_2.c10
-rw-r--r--enc/iso_8859_3.c4
-rw-r--r--enc/iso_8859_4.c4
-rw-r--r--enc/iso_8859_5.c4
-rw-r--r--enc/iso_8859_6.c4
-rw-r--r--enc/iso_8859_7.c4
-rw-r--r--enc/iso_8859_8.c4
-rw-r--r--enc/iso_8859_9.c4
-rw-r--r--enc/koi8_r.c4
-rw-r--r--enc/koi8_u.c4
-rwxr-xr-xenc/make_encmake.rb88
-rw-r--r--enc/mktable.c1162
-rw-r--r--enc/shift_jis.c285
-rw-r--r--enc/trans/JIS/JISX0213-1%UCS@BMP.src1926
-rw-r--r--enc/trans/JIS/JISX0213-1%UCS@SIP.src60
-rw-r--r--enc/trans/JIS/JISX0213-2%UCS@BMP.src2193
-rw-r--r--enc/trans/JIS/JISX0213-2%UCS@SIP.src311
-rw-r--r--enc/trans/JIS/UCS@BMP%JISX0213-1.src1922
-rw-r--r--enc/trans/JIS/UCS@BMP%JISX0213-2.src2189
-rw-r--r--enc/trans/JIS/UCS@SIP%JISX0213-1.src56
-rw-r--r--enc/trans/JIS/UCS@SIP%JISX0213-2.src307
-rw-r--r--enc/trans/big5-hkscs-tbl.rb18919
-rw-r--r--enc/trans/big5-tbl.rb13705
-rw-r--r--enc/trans/big5.trans19
-rw-r--r--enc/trans/chinese.trans3
-rw-r--r--enc/trans/emoji.trans3
-rw-r--r--enc/trans/emoji_iso2022_kddi.trans5
-rw-r--r--enc/trans/emoji_sjis_docomo.trans3
-rw-r--r--enc/trans/emoji_sjis_kddi.trans3
-rw-r--r--enc/trans/emoji_sjis_softbank.trans3
-rw-r--r--enc/trans/escape.trans3
-rw-r--r--enc/trans/euckr-tbl.rb2
-rw-r--r--enc/trans/gb18030.trans3
-rw-r--r--enc/trans/gbk-tbl.rb1
-rw-r--r--enc/trans/gbk.trans3
-rw-r--r--enc/trans/ibm737-tbl.rb130
-rw-r--r--enc/trans/iso-8859-16-tbl.rb98
-rw-r--r--enc/trans/iso2022.trans3
-rw-r--r--enc/trans/japanese.trans3
-rw-r--r--enc/trans/japanese_euc.trans15
-rw-r--r--enc/trans/japanese_sjis.trans3
-rw-r--r--enc/trans/korean.trans3
-rw-r--r--enc/trans/single_byte.trans5
-rw-r--r--enc/trans/ucm/glibc-BIG5-2.3.3.ucm14087
-rw-r--r--enc/trans/ucm/glibc-BIG5HKSCS-2.3.3.ucm18332
-rw-r--r--enc/trans/ucm/windows-950-2000.ucm20379
-rw-r--r--enc/trans/ucm/windows-950_hkscs-2001.ucm23446
-rw-r--r--enc/trans/utf8_mac.trans5
-rw-r--r--enc/trans/utf_16_32.trans191
-rw-r--r--enc/unicode.c1954
-rw-r--r--enc/unicode/casefold.h2238
-rw-r--r--enc/unicode/name2ctype.h19467
-rw-r--r--enc/unicode/name2ctype.h.blt19467
-rw-r--r--enc/unicode/name2ctype.kwd16913
-rw-r--r--enc/unicode/name2ctype.src16913
-rw-r--r--enc/us_ascii.c4
-rw-r--r--enc/utf_16_32.h5
-rw-r--r--enc/utf_16be.c11
-rw-r--r--enc/utf_16le.c14
-rw-r--r--enc/utf_32be.c14
-rw-r--r--enc/utf_32le.c14
-rw-r--r--enc/utf_8.c28
-rw-r--r--enc/windows_1251.c4
-rw-r--r--enc/windows_31j.c80
-rw-r--r--encoding.c453
-rw-r--r--enum.c1346
-rw-r--r--enumerator.c1283
-rw-r--r--error.c875
-rw-r--r--eval.c622
-rw-r--r--eval_error.c63
-rw-r--r--eval_intern.h87
-rw-r--r--eval_jump.c76
-rw-r--r--ext/-test-/array/resize/extconf.rb1
-rw-r--r--ext/-test-/array/resize/resize.c14
-rw-r--r--ext/-test-/bug-3571/bug.c23
-rw-r--r--ext/-test-/bug-3571/extconf.rb1
-rw-r--r--ext/-test-/bug-5832/bug.c14
-rw-r--r--ext/-test-/bug-5832/extconf.rb1
-rw-r--r--ext/-test-/debug/extconf.rb6
-rw-r--r--ext/-test-/debug/init.c11
-rw-r--r--ext/-test-/debug/inspector.c32
-rw-r--r--ext/-test-/exception/enc_raise.c15
-rw-r--r--ext/-test-/exception/ensured.c25
-rw-r--r--ext/-test-/exception/extconf.rb6
-rw-r--r--ext/-test-/exception/init.c11
-rw-r--r--ext/-test-/fatal/extconf.rb1
-rw-r--r--ext/-test-/fatal/rb_fatal.c19
-rw-r--r--ext/-test-/funcall/extconf.rb2
-rw-r--r--ext/-test-/funcall/passing_block.c30
-rw-r--r--ext/-test-/iter/break.c25
-rw-r--r--ext/-test-/iter/extconf.rb1
-rw-r--r--ext/-test-/load/dot.dot/dot.dot.c1
-rw-r--r--ext/-test-/load/dot.dot/extconf.rb1
-rw-r--r--ext/-test-/marshal/compat/extconf.rb1
-rw-r--r--ext/-test-/marshal/compat/usrcompat.c32
-rw-r--r--ext/-test-/marshal/usr/extconf.rb1
-rw-r--r--ext/-test-/marshal/usr/usrmarshal.c35
-rw-r--r--ext/-test-/method/arity.c22
-rw-r--r--ext/-test-/method/extconf.rb6
-rw-r--r--ext/-test-/method/init.c11
-rw-r--r--ext/-test-/num2int/depend1
-rw-r--r--ext/-test-/num2int/extconf.rb1
-rw-r--r--ext/-test-/num2int/num2int.c120
-rw-r--r--ext/-test-/old_thread_select/depend2
-rw-r--r--ext/-test-/old_thread_select/extconf.rb4
-rw-r--r--ext/-test-/old_thread_select/old_thread_select.c75
-rw-r--r--ext/-test-/path_to_class/extconf.rb6
-rw-r--r--ext/-test-/path_to_class/path_to_class.c15
-rw-r--r--ext/-test-/printf/extconf.rb1
-rw-r--r--ext/-test-/printf/printf.c110
-rw-r--r--ext/-test-/st/numhash/extconf.rb1
-rw-r--r--ext/-test-/st/numhash/numhash.c120
-rw-r--r--ext/-test-/st/update/extconf.rb1
-rw-r--r--ext/-test-/st/update/update.c34
-rw-r--r--ext/-test-/string/coderange.c30
-rw-r--r--ext/-test-/string/ellipsize.c13
-rw-r--r--ext/-test-/string/enc_associate.c14
-rw-r--r--ext/-test-/string/enc_str_buf_cat.c14
-rw-r--r--ext/-test-/string/init.c8
-rw-r--r--ext/-test-/string/modify.c22
-rw-r--r--ext/-test-/string/qsort.c61
-rw-r--r--ext/-test-/struct/extconf.rb7
-rw-r--r--ext/-test-/struct/init.c11
-rw-r--r--ext/-test-/struct/member.c18
-rw-r--r--ext/-test-/symbol/extconf.rb6
-rw-r--r--ext/-test-/symbol/init.c11
-rw-r--r--ext/-test-/symbol/intern.c14
-rw-r--r--ext/-test-/symbol/type.c43
-rw-r--r--ext/-test-/typeddata/extconf.rb1
-rw-r--r--ext/-test-/typeddata/typeddata.c20
-rw-r--r--ext/-test-/wait_for_single_fd/depend2
-rw-r--r--ext/-test-/wait_for_single_fd/extconf.rb1
-rw-r--r--ext/-test-/wait_for_single_fd/wait_for_single_fd.c30
-rw-r--r--ext/-test-/win32/dln/dlntest.c17
-rw-r--r--ext/-test-/win32/dln/extconf.rb36
-rw-r--r--ext/-test-/win32/dln/libdlntest.c4
-rw-r--r--ext/-test-/win32/dln/libdlntest.def2
-rw-r--r--ext/-test-/win32/fd_setsize/depend2
-rw-r--r--ext/-test-/win32/fd_setsize/extconf.rb3
-rw-r--r--ext/-test-/win32/fd_setsize/fd_setsize.c55
-rw-r--r--ext/.cvsignore2
-rw-r--r--ext/.document58
-rw-r--r--ext/Setup2
-rw-r--r--ext/Setup.atheos2
-rw-r--r--ext/Setup.emx2
-rw-r--r--ext/Setup.nacl49
-rw-r--r--ext/Setup.nt2
-rw-r--r--ext/bigdecimal/.cvsignore4
-rw-r--r--ext/bigdecimal/README6
-rw-r--r--ext/bigdecimal/bigdecimal.c3085
-rw-r--r--ext/bigdecimal/bigdecimal.gemspec30
-rw-r--r--ext/bigdecimal/bigdecimal.h155
-rw-r--r--ext/bigdecimal/bigdecimal_en.html792
-rw-r--r--ext/bigdecimal/bigdecimal_ja.html799
-rw-r--r--ext/bigdecimal/extconf.rb8
-rw-r--r--ext/bigdecimal/lib/bigdecimal/jacobian.rb9
-rw-r--r--ext/bigdecimal/lib/bigdecimal/math.rb70
-rw-r--r--ext/bigdecimal/lib/bigdecimal/newton.rb2
-rw-r--r--ext/bigdecimal/lib/bigdecimal/util.rb105
-rw-r--r--ext/coverage/coverage.c42
-rw-r--r--ext/coverage/extconf.rb1
-rw-r--r--ext/curses/.cvsignore4
-rw-r--r--ext/curses/curses.c2292
-rw-r--r--ext/curses/depend2
-rw-r--r--ext/curses/extconf.rb112
-rw-r--r--ext/curses/rain.rb2
-rw-r--r--ext/curses/view.rb2
-rw-r--r--ext/date/date_core.c9673
-rw-r--r--ext/date/date_parse.c3128
-rw-r--r--ext/date/date_strftime.c633
-rw-r--r--ext/date/date_strptime.c699
-rw-r--r--ext/date/date_tmx.h56
-rw-r--r--ext/date/depend3
-rw-r--r--ext/date/extconf.rb2
-rw-r--r--ext/date/lib/date.rb61
-rw-r--r--ext/date/lib/date/format.rb1
-rw-r--r--ext/dbm/.cvsignore4
-rw-r--r--ext/dbm/dbm.c461
-rw-r--r--ext/dbm/extconf.rb249
-rw-r--r--ext/digest/.cvsignore4
-rw-r--r--ext/digest/bubblebabble/.cvsignore4
-rw-r--r--ext/digest/bubblebabble/bubblebabble.c2
-rw-r--r--ext/digest/bubblebabble/extconf.rb1
-rw-r--r--ext/digest/digest.c72
-rw-r--r--ext/digest/lib/digest.rb24
-rw-r--r--ext/digest/lib/digest/hmac.rb87
-rw-r--r--ext/digest/md5/.cvsignore4
-rw-r--r--ext/digest/md5/extconf.rb6
-rw-r--r--ext/digest/md5/md5.h2
-rw-r--r--ext/digest/md5/md5init.c5
-rw-r--r--ext/digest/rmd160/.cvsignore4
-rw-r--r--ext/digest/rmd160/extconf.rb6
-rw-r--r--ext/digest/rmd160/rmd160.c10
-rw-r--r--ext/digest/rmd160/rmd160.h2
-rw-r--r--ext/digest/rmd160/rmd160init.c5
-rw-r--r--ext/digest/rmd160/rmd160ossl.c2
-rw-r--r--ext/digest/sha1/.cvsignore4
-rw-r--r--ext/digest/sha1/extconf.rb6
-rw-r--r--ext/digest/sha1/sha1.h2
-rw-r--r--ext/digest/sha1/sha1init.c5
-rw-r--r--ext/digest/sha1/sha1ossl.c2
-rw-r--r--ext/digest/sha2/.cvsignore4
-rw-r--r--ext/digest/sha2/extconf.rb10
-rw-r--r--ext/digest/sha2/lib/sha2.rb49
-rw-r--r--ext/digest/sha2/sha2.c22
-rw-r--r--ext/digest/sha2/sha2init.c2
-rw-r--r--ext/digest/sha2/sha2ossl.c4
-rw-r--r--ext/dl/.cvsignore10
-rw-r--r--ext/dl/callback/mkcallback.rb20
-rw-r--r--ext/dl/cfunc.c77
-rw-r--r--ext/dl/cptr.c112
-rw-r--r--ext/dl/dl.c410
-rw-r--r--ext/dl/dl.h87
-rw-r--r--ext/dl/extconf.rb21
-rw-r--r--ext/dl/handle.c58
-rw-r--r--ext/dl/lib/dl.rb3
-rw-r--r--ext/dl/lib/dl/callback.rb26
-rw-r--r--ext/dl/lib/dl/cparser.rb47
-rw-r--r--ext/dl/lib/dl/func.rb78
-rw-r--r--ext/dl/lib/dl/import.rb45
-rw-r--r--ext/dl/lib/dl/struct.rb155
-rw-r--r--ext/dl/lib/dl/types.rb37
-rw-r--r--ext/dl/lib/dl/value.rb6
-rw-r--r--ext/dl/win32/extconf.rb2
-rw-r--r--ext/dl/win32/lib/Win32API.rb3
-rw-r--r--ext/dl/win32/lib/win32/resolv.rb2
-rw-r--r--ext/etc/.cvsignore3
-rw-r--r--ext/etc/depend2
-rw-r--r--ext/etc/etc.c293
-rwxr-xr-x[-rw-r--r--]ext/extmk.rb209
-rw-r--r--ext/fcntl/.cvsignore4
-rw-r--r--ext/fcntl/fcntl.c188
-rw-r--r--ext/fiddle/closure.c124
-rw-r--r--ext/fiddle/conversions.c61
-rw-r--r--ext/fiddle/conversions.h9
-rw-r--r--ext/fiddle/extconf.rb34
-rw-r--r--ext/fiddle/fiddle.c430
-rw-r--r--ext/fiddle/fiddle.h49
-rw-r--r--ext/fiddle/function.c118
-rw-r--r--ext/fiddle/handle.c470
-rw-r--r--ext/fiddle/lib/fiddle.rb25
-rw-r--r--ext/fiddle/lib/fiddle/closure.rb31
-rw-r--r--ext/fiddle/lib/fiddle/cparser.rb176
-rw-r--r--ext/fiddle/lib/fiddle/function.rb12
-rw-r--r--ext/fiddle/lib/fiddle/import.rb314
-rw-r--r--ext/fiddle/lib/fiddle/pack.rb128
-rw-r--r--ext/fiddle/lib/fiddle/struct.rb243
-rw-r--r--ext/fiddle/lib/fiddle/types.rb71
-rw-r--r--ext/fiddle/lib/fiddle/value.rb112
-rw-r--r--ext/fiddle/pointer.c724
-rw-r--r--ext/fiddle/win32/extconf.rb3
-rw-r--r--ext/fiddle/win32/lib/win32/registry.rb845
-rw-r--r--ext/fiddle/win32/lib/win32/resolv.rb379
-rw-r--r--ext/gdbm/.cvsignore4
-rw-r--r--ext/gdbm/gdbm.c68
-rw-r--r--ext/iconv/.cvsignore6
-rw-r--r--ext/iconv/charset_alias.rb104
-rw-r--r--ext/iconv/depend2
-rw-r--r--ext/iconv/extconf.rb54
-rw-r--r--ext/iconv/iconv.c1228
-rw-r--r--ext/iconv/mkwrapper.rb53
-rw-r--r--ext/io/console/console.c764
-rw-r--r--ext/io/console/extconf.rb20
-rw-r--r--ext/io/console/io-console.gemspec18
-rw-r--r--ext/io/console/lib/console/size.rb20
-rw-r--r--ext/io/nonblock/nonblock.c10
-rw-r--r--ext/io/wait/.cvsignore3
-rw-r--r--ext/io/wait/wait.c85
-rw-r--r--ext/json/fbuffer/fbuffer.h190
-rw-r--r--ext/json/generator/depend3
-rw-r--r--ext/json/generator/extconf.rb2
-rw-r--r--ext/json/generator/generator.c801
-rw-r--r--ext/json/generator/generator.h110
-rw-r--r--ext/json/lib/json.rb52
-rw-r--r--ext/json/lib/json/add/bigdecimal.rb28
-rw-r--r--ext/json/lib/json/add/complex.rb22
-rw-r--r--ext/json/lib/json/add/core.rb155
-rw-r--r--ext/json/lib/json/add/date.rb34
-rw-r--r--ext/json/lib/json/add/date_time.rb50
-rw-r--r--ext/json/lib/json/add/exception.rb31
-rw-r--r--ext/json/lib/json/add/ostruct.rb31
-rw-r--r--ext/json/lib/json/add/rails.rb58
-rw-r--r--ext/json/lib/json/add/range.rb29
-rw-r--r--ext/json/lib/json/add/rational.rb22
-rw-r--r--ext/json/lib/json/add/regexp.rb30
-rw-r--r--ext/json/lib/json/add/struct.rb30
-rw-r--r--ext/json/lib/json/add/symbol.rb25
-rw-r--r--ext/json/lib/json/add/time.rb38
-rw-r--r--ext/json/lib/json/common.rb229
-rw-r--r--ext/json/lib/json/editor.rb1371
-rw-r--r--ext/json/lib/json/ext.rb10
-rw-r--r--ext/json/lib/json/generic_object.rb61
-rw-r--r--ext/json/lib/json/version.rb2
-rw-r--r--ext/json/parser/depend3
-rw-r--r--ext/json/parser/extconf.rb1
-rw-r--r--ext/json/parser/parser.c855
-rw-r--r--ext/json/parser/parser.h19
-rw-r--r--ext/json/parser/parser.rl313
-rw-r--r--ext/json/parser/prereq.mk9
-rw-r--r--ext/nkf/.cvsignore4
-rw-r--r--ext/nkf/depend5
-rw-r--r--ext/nkf/nkf-utf8/nkf.c710
-rw-r--r--ext/nkf/nkf-utf8/nkf.h25
-rw-r--r--ext/nkf/nkf-utf8/utf8tbl.c5875
-rw-r--r--ext/nkf/nkf-utf8/utf8tbl.h14
-rw-r--r--ext/nkf/nkf.c23
-rw-r--r--ext/objspace/depend3
-rw-r--r--ext/objspace/extconf.rb2
-rw-r--r--ext/objspace/objspace.c366
-rw-r--r--ext/openssl/.cvsignore5
-rw-r--r--ext/openssl/deprecation.rb21
-rw-r--r--ext/openssl/extconf.rb80
-rw-r--r--ext/openssl/lib/openssl.rb6
-rw-r--r--ext/openssl/lib/openssl/bn.rb38
-rw-r--r--ext/openssl/lib/openssl/buffering.rb271
-rw-r--r--ext/openssl/lib/openssl/cipher.rb40
-rw-r--r--ext/openssl/lib/openssl/config.rb313
-rw-r--r--ext/openssl/lib/openssl/digest.rb66
-rw-r--r--ext/openssl/lib/openssl/ssl-internal.rb177
-rw-r--r--ext/openssl/lib/openssl/ssl.rb240
-rw-r--r--ext/openssl/lib/openssl/x509-internal.rb153
-rw-r--r--ext/openssl/lib/openssl/x509.rb163
-rw-r--r--ext/openssl/openssl_missing.c12
-rw-r--r--ext/openssl/openssl_missing.h30
-rw-r--r--ext/openssl/ossl.c671
-rw-r--r--ext/openssl/ossl.h46
-rw-r--r--ext/openssl/ossl_asn1.c1122
-rw-r--r--ext/openssl/ossl_bio.c5
-rw-r--r--ext/openssl/ossl_bn.c32
-rw-r--r--ext/openssl/ossl_cipher.c524
-rw-r--r--ext/openssl/ossl_config.c440
-rw-r--r--ext/openssl/ossl_digest.c209
-rw-r--r--ext/openssl/ossl_engine.c73
-rw-r--r--ext/openssl/ossl_hmac.c28
-rw-r--r--ext/openssl/ossl_ns_spki.c150
-rw-r--r--ext/openssl/ossl_ocsp.c71
-rw-r--r--ext/openssl/ossl_pkcs12.c16
-rw-r--r--ext/openssl/ossl_pkcs5.c109
-rw-r--r--ext/openssl/ossl_pkcs7.c49
-rw-r--r--ext/openssl/ossl_pkey.c209
-rw-r--r--ext/openssl/ossl_pkey.h26
-rw-r--r--ext/openssl/ossl_pkey_dh.c198
-rw-r--r--ext/openssl/ossl_pkey_dsa.c213
-rw-r--r--ext/openssl/ossl_pkey_ec.c258
-rw-r--r--ext/openssl/ossl_pkey_rsa.c275
-rw-r--r--ext/openssl/ossl_rand.c14
-rw-r--r--ext/openssl/ossl_ssl.c902
-rw-r--r--ext/openssl/ossl_ssl.h8
-rw-r--r--ext/openssl/ossl_ssl_session.c97
-rw-r--r--ext/openssl/ossl_x509attr.c12
-rw-r--r--ext/openssl/ossl_x509cert.c154
-rw-r--r--ext/openssl/ossl_x509crl.c14
-rw-r--r--ext/openssl/ossl_x509ext.c36
-rw-r--r--ext/openssl/ossl_x509name.c170
-rw-r--r--ext/openssl/ossl_x509req.c16
-rw-r--r--ext/openssl/ossl_x509revoked.c12
-rw-r--r--ext/openssl/ossl_x509store.c109
-rw-r--r--ext/openssl/ruby_missing.h17
-rw-r--r--ext/pathname/extconf.rb2
-rw-r--r--ext/pathname/lib/pathname.rb574
-rw-r--r--ext/pathname/pathname.c1385
-rw-r--r--ext/psych/.gitignore11
-rw-r--r--ext/psych/emitter.c412
-rw-r--r--ext/psych/extconf.rb32
-rw-r--r--ext/psych/lib/psych.rb148
-rw-r--r--ext/psych/lib/psych/coder.rb24
-rw-r--r--ext/psych/lib/psych/core_ext.rb13
-rw-r--r--ext/psych/lib/psych/deprecated.rb2
-rw-r--r--ext/psych/lib/psych/handler.rb34
-rw-r--r--ext/psych/lib/psych/handlers/document_stream.rb22
-rw-r--r--ext/psych/lib/psych/handlers/recorder.rb39
-rw-r--r--ext/psych/lib/psych/json/ruby_events.rb19
-rw-r--r--ext/psych/lib/psych/json/stream.rb15
-rw-r--r--ext/psych/lib/psych/json/tree_builder.rb18
-rw-r--r--ext/psych/lib/psych/json/yaml_events.rb29
-rw-r--r--ext/psych/lib/psych/nodes.rb2
-rw-r--r--ext/psych/lib/psych/nodes/node.rb17
-rw-r--r--ext/psych/lib/psych/nodes/stream.rb2
-rw-r--r--ext/psych/lib/psych/parser.rb7
-rw-r--r--ext/psych/lib/psych/scalar_scanner.rb67
-rw-r--r--ext/psych/lib/psych/stream.rb36
-rw-r--r--ext/psych/lib/psych/streaming.rb22
-rw-r--r--ext/psych/lib/psych/syntax_error.rb22
-rw-r--r--ext/psych/lib/psych/tree_builder.rb6
-rw-r--r--ext/psych/lib/psych/visitors.rb1
-rw-r--r--ext/psych/lib/psych/visitors/depth_first.rb26
-rw-r--r--ext/psych/lib/psych/visitors/emitter.rb14
-rw-r--r--ext/psych/lib/psych/visitors/json_tree.rb28
-rw-r--r--ext/psych/lib/psych/visitors/to_ruby.rb195
-rw-r--r--ext/psych/lib/psych/visitors/visitor.rb21
-rw-r--r--ext/psych/lib/psych/visitors/yaml_tree.rb261
-rw-r--r--ext/psych/lib/psych/y.rb9
-rw-r--r--ext/psych/parser.c341
-rw-r--r--ext/psych/psych.gemspec24
-rw-r--r--ext/psych/psych.h8
-rw-r--r--ext/psych/psych_emitter.c538
-rw-r--r--ext/psych/psych_emitter.h (renamed from ext/psych/emitter.h)0
-rw-r--r--ext/psych/psych_parser.c579
-rw-r--r--ext/psych/psych_parser.h (renamed from ext/psych/parser.h)0
-rw-r--r--ext/psych/psych_to_ruby.c (renamed from ext/psych/to_ruby.c)0
-rw-r--r--ext/psych/psych_to_ruby.h (renamed from ext/psych/to_ruby.h)0
-rw-r--r--ext/psych/psych_yaml_tree.c (renamed from ext/psych/yaml_tree.c)0
-rw-r--r--ext/psych/psych_yaml_tree.h (renamed from ext/psych/yaml_tree.h)0
-rw-r--r--ext/psych/yaml/LICENSE19
-rw-r--r--ext/psych/yaml/api.c1415
-rw-r--r--ext/psych/yaml/config.h10
-rw-r--r--ext/psych/yaml/dumper.c394
-rw-r--r--ext/psych/yaml/emitter.c2329
-rw-r--r--ext/psych/yaml/loader.c459
-rw-r--r--ext/psych/yaml/parser.c1370
-rw-r--r--ext/psych/yaml/reader.c469
-rw-r--r--ext/psych/yaml/scanner.c3583
-rw-r--r--ext/psych/yaml/writer.c141
-rw-r--r--ext/psych/yaml/yaml.h1971
-rw-r--r--ext/psych/yaml/yaml_private.h664
-rw-r--r--ext/pty/.cvsignore4
-rw-r--r--ext/pty/extconf.rb4
-rw-r--r--ext/pty/lib/expect.rb36
-rw-r--r--ext/pty/pty.c450
-rw-r--r--ext/purelib.rb17
-rw-r--r--ext/racc/cparse/.cvsignore4
-rw-r--r--ext/racc/cparse/cparse.c6
-rw-r--r--ext/readline/.cvsignore4
-rw-r--r--ext/readline/README.ja404
-rw-r--r--ext/readline/extconf.rb117
-rw-r--r--ext/readline/readline.c437
-rw-r--r--ext/ripper/.cvsignore8
-rw-r--r--ext/ripper/README2
-rw-r--r--ext/ripper/depend24
-rw-r--r--ext/ripper/eventids2.c14
-rw-r--r--ext/ripper/extconf.rb3
-rw-r--r--ext/ripper/lib/ripper.rb69
-rw-r--r--ext/ripper/lib/ripper/core.rb8
-rw-r--r--ext/ripper/lib/ripper/filter.rb21
-rw-r--r--ext/ripper/lib/ripper/lexer.rb23
-rw-r--r--ext/ripper/lib/ripper/sexp.rb27
-rwxr-xr-xext/ripper/tools/generate.rb12
-rw-r--r--ext/sdbm/.cvsignore4
-rw-r--r--ext/sdbm/_sdbm.c119
-rw-r--r--ext/sdbm/extconf.rb1
-rw-r--r--ext/sdbm/init.c379
-rw-r--r--ext/socket/.cvsignore5
-rw-r--r--ext/socket/.document22
-rw-r--r--ext/socket/addrinfo.h2
-rw-r--r--ext/socket/ancdata.c98
-rw-r--r--ext/socket/basicsocket.c20
-rw-r--r--ext/socket/depend4
-rw-r--r--ext/socket/extconf.rb202
-rw-r--r--ext/socket/getaddrinfo.c4
-rw-r--r--ext/socket/getnameinfo.c3
-rw-r--r--ext/socket/init.c195
-rw-r--r--ext/socket/ipsocket.c27
-rw-r--r--ext/socket/lib/socket.rb237
-rw-r--r--ext/socket/mkconstants.rb721
-rw-r--r--ext/socket/option.c266
-rw-r--r--ext/socket/raddrinfo.c271
-rw-r--r--ext/socket/rubysocket.h19
-rw-r--r--ext/socket/socket.c277
-rw-r--r--ext/socket/sockssocket.c23
-rw-r--r--ext/socket/tcpserver.c36
-rw-r--r--ext/socket/tcpsocket.c25
-rw-r--r--ext/socket/udpsocket.c13
-rw-r--r--ext/socket/unixserver.c11
-rw-r--r--ext/socket/unixsocket.c56
-rw-r--r--ext/stringio/.cvsignore4
-rw-r--r--ext/stringio/README2
-rw-r--r--ext/stringio/depend2
-rw-r--r--ext/stringio/stringio.c327
-rw-r--r--ext/strscan/.cvsignore4
-rw-r--r--ext/strscan/extconf.rb1
-rw-r--r--ext/strscan/strscan.c153
-rw-r--r--ext/syck/.cvsignore4
-rw-r--r--ext/syck/bytecode.c1165
-rw-r--r--ext/syck/depend12
-rw-r--r--ext/syck/emitter.c1247
-rw-r--r--ext/syck/extconf.rb5
-rw-r--r--ext/syck/gram.c1894
-rw-r--r--ext/syck/gram.h79
-rw-r--r--ext/syck/handler.c173
-rw-r--r--ext/syck/implicit.c2990
-rw-r--r--ext/syck/lib/syck.rb447
-rw-r--r--ext/syck/lib/syck/baseemitter.rb242
-rw-r--r--ext/syck/lib/syck/basenode.rb223
-rw-r--r--ext/syck/lib/syck/constants.rb45
-rw-r--r--ext/syck/lib/syck/encoding.rb35
-rw-r--r--ext/syck/lib/syck/error.rb34
-rw-r--r--ext/syck/lib/syck/loader.rb14
-rw-r--r--ext/syck/lib/syck/rubytypes.rb465
-rw-r--r--ext/syck/lib/syck/stream.rb41
-rw-r--r--ext/syck/lib/syck/stringio.rb85
-rw-r--r--ext/syck/lib/syck/syck.rb16
-rw-r--r--ext/syck/lib/syck/tag.rb95
-rw-r--r--ext/syck/lib/syck/types.rb192
-rw-r--r--ext/syck/lib/syck/yamlnode.rb54
-rw-r--r--ext/syck/lib/syck/ypath.rb54
-rw-r--r--ext/syck/lib/yaml/syck.rb14
-rw-r--r--ext/syck/node.c407
-rw-r--r--ext/syck/rubyext.c2324
-rw-r--r--ext/syck/syck.c524
-rw-r--r--ext/syck/syck.h453
-rw-r--r--ext/syck/token.c2724
-rw-r--r--ext/syck/yaml2byte.c259
-rw-r--r--ext/syck/yamlbyte.h171
-rw-r--r--ext/syslog/.cvsignore4
-rw-r--r--ext/syslog/lib/syslog/logger.rb194
-rw-r--r--ext/syslog/syslog.c364
-rw-r--r--ext/syslog/syslog.txt4
-rw-r--r--ext/tk/.cvsignore3
-rw-r--r--ext/tk/ChangeLog.tkextlib38
-rw-r--r--ext/tk/MANUAL_tcltklib.eng302
-rw-r--r--ext/tk/MANUAL_tcltklib.eucj826
-rw-r--r--ext/tk/README.1st26
-rw-r--r--ext/tk/README.ActiveTcl24
-rw-r--r--ext/tk/README.fork14
-rw-r--r--ext/tk/README.macosx-aqua20
-rw-r--r--ext/tk/README.tcltklib95
-rw-r--r--ext/tk/config_list.in6
-rw-r--r--ext/tk/extconf.rb140
-rw-r--r--ext/tk/lib/README4
-rw-r--r--ext/tk/lib/multi-tk.rb10
-rw-r--r--ext/tk/lib/tcltk.rb2
-rw-r--r--ext/tk/lib/tk.rb16
-rw-r--r--ext/tk/lib/tk/autoload.rb10
-rw-r--r--ext/tk/lib/tk/canvas.rb32
-rw-r--r--ext/tk/lib/tk/fontchooser.rb12
-rw-r--r--ext/tk/lib/tk/image.rb128
-rw-r--r--ext/tk/lib/tk/menuspec.rb2
-rw-r--r--ext/tk/lib/tk/msgcat.rb41
-rw-r--r--ext/tk/lib/tk/namespace.rb7
-rw-r--r--ext/tk/lib/tk/ttk_selector.rb2
-rw-r--r--ext/tk/lib/tk/wm.rb6
-rw-r--r--ext/tk/lib/tkextlib/SUPPORT_STATUS56
-rwxr-xr-xext/tk/lib/tkextlib/pkg_checker.rb2
-rw-r--r--ext/tk/lib/tkextlib/tcllib/README14
-rw-r--r--ext/tk/lib/tkextlib/tcllib/canvas_sqmap.rb2
-rw-r--r--ext/tk/lib/tkextlib/tcllib/canvas_zoom.rb2
-rw-r--r--ext/tk/lib/tkextlib/tcllib/chatwidget.rb4
-rw-r--r--ext/tk/lib/tkextlib/tcllib/ip_entry.rb2
-rw-r--r--ext/tk/lib/tkextlib/tcllib/khim.rb4
-rw-r--r--ext/tk/lib/tkextlib/tcllib/plotchart.rb14
-rw-r--r--ext/tk/lib/tkextlib/tcllib/tablelist.rb2
-rw-r--r--ext/tk/lib/tkextlib/tcllib/tablelist_core.rb12
-rw-r--r--ext/tk/lib/tkextlib/tile/sizegrip.rb2
-rw-r--r--ext/tk/lib/tkextlib/tile/style.rb2
-rw-r--r--ext/tk/lib/tkextlib/tkimg/README2
-rw-r--r--ext/tk/lib/tkextlib/tktable/tktable.rb2
-rw-r--r--ext/tk/old-README.tcltklib.eucj206
-rw-r--r--ext/tk/sample/demos-en/ChangeLog.prev2
-rw-r--r--ext/tk/sample/demos-en/README130
-rw-r--r--ext/tk/sample/demos-en/README.1st8
-rw-r--r--ext/tk/sample/demos-en/README.tkencoding22
-rw-r--r--ext/tk/sample/demos-en/browse122
-rw-r--r--ext/tk/sample/demos-en/browse222
-rw-r--r--ext/tk/sample/demos-en/doc.org/license.terms2
-rw-r--r--ext/tk/sample/demos-en/doc.org/license.terms.tk802
-rw-r--r--ext/tk/sample/demos-en/ixset28
-rw-r--r--ext/tk/sample/demos-en/ixset254
-rw-r--r--ext/tk/sample/demos-en/rmt68
-rw-r--r--ext/tk/sample/demos-en/rolodex6
-rw-r--r--ext/tk/sample/demos-en/square12
-rw-r--r--ext/tk/sample/demos-en/tcolor18
-rw-r--r--ext/tk/sample/demos-en/text.rb2
-rw-r--r--ext/tk/sample/demos-en/timer2
-rw-r--r--ext/tk/sample/demos-en/tree.rb2
-rw-r--r--ext/tk/sample/demos-en/widget144
-rw-r--r--ext/tk/sample/demos-jp/README104
-rw-r--r--ext/tk/sample/demos-jp/README.1st28
-rw-r--r--ext/tk/sample/demos-jp/anilabel.rb22
-rw-r--r--ext/tk/sample/demos-jp/aniwave.rb10
-rw-r--r--ext/tk/sample/demos-jp/arrow.rb22
-rw-r--r--ext/tk/sample/demos-jp/bind.rb38
-rw-r--r--ext/tk/sample/demos-jp/bitmap.rb20
-rw-r--r--ext/tk/sample/demos-jp/browse122
-rw-r--r--ext/tk/sample/demos-jp/browse222
-rw-r--r--ext/tk/sample/demos-jp/button.rb20
-rw-r--r--ext/tk/sample/demos-jp/check.rb30
-rw-r--r--ext/tk/sample/demos-jp/check2.rb30
-rw-r--r--ext/tk/sample/demos-jp/clrpick.rb28
-rw-r--r--ext/tk/sample/demos-jp/colors.rb20
-rw-r--r--ext/tk/sample/demos-jp/combo.rb36
-rw-r--r--ext/tk/sample/demos-jp/cscroll.rb22
-rw-r--r--ext/tk/sample/demos-jp/ctext.rb36
-rw-r--r--ext/tk/sample/demos-jp/dialog1.rb12
-rw-r--r--ext/tk/sample/demos-jp/dialog2.rb12
-rw-r--r--ext/tk/sample/demos-jp/doc.org/license.terms2
-rw-r--r--ext/tk/sample/demos-jp/doc.org/license.terms.tk802
-rw-r--r--ext/tk/sample/demos-jp/entry1.rb32
-rw-r--r--ext/tk/sample/demos-jp/entry2.rb32
-rw-r--r--ext/tk/sample/demos-jp/entry3.rb46
-rw-r--r--ext/tk/sample/demos-jp/filebox.rb28
-rw-r--r--ext/tk/sample/demos-jp/floor.rb24
-rw-r--r--ext/tk/sample/demos-jp/floor2.rb24
-rw-r--r--ext/tk/sample/demos-jp/form.rb28
-rw-r--r--ext/tk/sample/demos-jp/goldberg.rb20
-rw-r--r--ext/tk/sample/demos-jp/hello6
-rw-r--r--ext/tk/sample/demos-jp/hscale.rb14
-rw-r--r--ext/tk/sample/demos-jp/icon.rb24
-rw-r--r--ext/tk/sample/demos-jp/image1.rb22
-rw-r--r--ext/tk/sample/demos-jp/image2.rb34
-rw-r--r--ext/tk/sample/demos-jp/image3.rb18
-rw-r--r--ext/tk/sample/demos-jp/items.rb60
-rw-r--r--ext/tk/sample/demos-jp/ixset30
-rw-r--r--ext/tk/sample/demos-jp/ixset278
-rw-r--r--ext/tk/sample/demos-jp/knightstour.rb20
-rw-r--r--ext/tk/sample/demos-jp/label.rb30
-rw-r--r--ext/tk/sample/demos-jp/labelframe.rb32
-rw-r--r--ext/tk/sample/demos-jp/mclist.rb58
-rw-r--r--ext/tk/sample/demos-jp/menu.rb108
-rw-r--r--ext/tk/sample/demos-jp/menu84.rb50
-rw-r--r--ext/tk/sample/demos-jp/menu8x.rb120
-rw-r--r--ext/tk/sample/demos-jp/menubu.rb28
-rw-r--r--ext/tk/sample/demos-jp/msgbox.rb30
-rw-r--r--ext/tk/sample/demos-jp/msgbox2.rb32
-rw-r--r--ext/tk/sample/demos-jp/paned1.rb16
-rw-r--r--ext/tk/sample/demos-jp/paned2.rb22
-rw-r--r--ext/tk/sample/demos-jp/pendulum.rb10
-rw-r--r--ext/tk/sample/demos-jp/plot.rb26
-rw-r--r--ext/tk/sample/demos-jp/puzzle.rb30
-rw-r--r--ext/tk/sample/demos-jp/radio.rb30
-rw-r--r--ext/tk/sample/demos-jp/radio2.rb26
-rw-r--r--ext/tk/sample/demos-jp/radio3.rb24
-rw-r--r--ext/tk/sample/demos-jp/rmt68
-rw-r--r--ext/tk/sample/demos-jp/rolodex6
-rw-r--r--ext/tk/sample/demos-jp/rolodex-j136
-rw-r--r--ext/tk/sample/demos-jp/ruler.rb22
-rw-r--r--ext/tk/sample/demos-jp/sayings.rb20
-rw-r--r--ext/tk/sample/demos-jp/search.rb40
-rw-r--r--ext/tk/sample/demos-jp/spin.rb42
-rw-r--r--ext/tk/sample/demos-jp/square12
-rw-r--r--ext/tk/sample/demos-jp/states.rb34
-rw-r--r--ext/tk/sample/demos-jp/style.rb192
-rw-r--r--ext/tk/sample/demos-jp/tcolor52
-rw-r--r--ext/tk/sample/demos-jp/text.rb102
-rw-r--r--ext/tk/sample/demos-jp/textpeer.rb32
-rw-r--r--ext/tk/sample/demos-jp/timer2
-rw-r--r--ext/tk/sample/demos-jp/toolbar.rb56
-rw-r--r--ext/tk/sample/demos-jp/tree.rb24
-rw-r--r--ext/tk/sample/demos-jp/ttkbut.rb56
-rw-r--r--ext/tk/sample/demos-jp/ttkmenu.rb46
-rw-r--r--ext/tk/sample/demos-jp/ttknote.rb42
-rw-r--r--ext/tk/sample/demos-jp/ttkpane.rb24
-rw-r--r--ext/tk/sample/demos-jp/ttkprogress.rb26
-rw-r--r--ext/tk/sample/demos-jp/twind.rb76
-rw-r--r--ext/tk/sample/demos-jp/twind2.rb116
-rw-r--r--ext/tk/sample/demos-jp/unicodeout.rb42
-rw-r--r--ext/tk/sample/demos-jp/vscale.rb16
-rw-r--r--ext/tk/sample/demos-jp/widget432
-rw-r--r--ext/tk/sample/editable_listbox.rb2
-rw-r--r--ext/tk/sample/irbtkw.rbw10
-rw-r--r--ext/tk/sample/menubar3.rb2
-rw-r--r--ext/tk/sample/msgs_rb/README4
-rw-r--r--ext/tk/sample/msgs_rb/es.msg2
-rw-r--r--ext/tk/sample/msgs_rb/ru.msg4
-rw-r--r--ext/tk/sample/msgs_rb2/README2
-rw-r--r--ext/tk/sample/msgs_rb2/ja.msg154
-rw-r--r--ext/tk/sample/msgs_tk/README2
-rw-r--r--ext/tk/sample/msgs_tk/el.msg2
-rw-r--r--ext/tk/sample/msgs_tk/es.msg2
-rw-r--r--ext/tk/sample/msgs_tk/license.terms2
-rw-r--r--ext/tk/sample/msgs_tk/ru.msg4
-rw-r--r--ext/tk/sample/safe-tk.rb2
-rw-r--r--ext/tk/sample/scrollframe.rb8
-rw-r--r--ext/tk/sample/tcltklib/sample0.rb12
-rw-r--r--ext/tk/sample/tcltklib/sample1.rb304
-rw-r--r--ext/tk/sample/tcltklib/sample2.rb14
-rw-r--r--ext/tk/sample/tkalignbox.rb6
-rw-r--r--ext/tk/sample/tkballoonhelp.rb6
-rw-r--r--ext/tk/sample/tkcombobox.rb10
-rw-r--r--ext/tk/sample/tkextlib/blt/readme.txt2
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/notebook.rb2
-rw-r--r--ext/tk/sample/tkextlib/iwidgets/sample/notebook2.rb2
-rw-r--r--ext/tk/sample/tkextlib/tile/readme.txt4
-rw-r--r--ext/tk/sample/tkextlib/tile/repeater.tcl10
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/blue/blue.tcl8
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/keramik.tcl28
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/keramik/pkgIndex.tcl2
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc/kroc.tcl38
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/kroc/pkgIndex.tcl2
-rw-r--r--ext/tk/sample/tkextlib/tile/themes/plastik/pkgIndex.tcl2
-rw-r--r--ext/tk/sample/tkextlib/tile/toolbutton.tcl34
-rw-r--r--ext/tk/sample/tkextlib/tkHTML/README6
-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page1/index.html2
-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page2/index.html48
-rw-r--r--ext/tk/sample/tkextlib/tkHTML/page3/index.html38
-rw-r--r--ext/tk/sample/tkextlib/tkimg/license_terms_of_Img_extension4
-rw-r--r--ext/tk/sample/tkextlib/tkimg/readme.txt2
-rw-r--r--ext/tk/sample/tkextlib/treectrl/readme.txt2
-rw-r--r--ext/tk/sample/tkoptdb-safeTk.rb2
-rw-r--r--ext/tk/sample/tkoptdb.rb2
-rw-r--r--ext/tk/stubs.c20
-rw-r--r--ext/tk/tcltklib.c694
-rw-r--r--ext/tk/tkutil/.cvsignore3
-rw-r--r--ext/tk/tkutil/tkutil.c94
-rw-r--r--ext/win32ole/.cvsignore4
-rw-r--r--ext/win32ole/depend2
-rw-r--r--ext/win32ole/extconf.rb32
-rw-r--r--ext/win32ole/lib/win32ole.rb22
-rw-r--r--ext/win32ole/win32ole.c166
-rw-r--r--ext/zlib/.cvsignore4
-rw-r--r--ext/zlib/extconf.rb10
-rw-r--r--ext/zlib/zlib.c1536
-rw-r--r--file.c1157
-rw-r--r--gc.c5081
-rw-r--r--gc.h53
-rw-r--r--gem_prelude.rb236
-rw-r--r--golf_prelude.rb8
-rw-r--r--goruby.c34
-rw-r--r--hash.c1096
-rw-r--r--ia64.s4
-rw-r--r--id.c50
-rw-r--r--include/ruby.h1
-rw-r--r--include/ruby/backward/classext.h18
-rw-r--r--include/ruby/backward/rubysig.h8
-rw-r--r--include/ruby/debug.h93
-rw-r--r--include/ruby/defines.h145
-rw-r--r--include/ruby/encoding.h67
-rw-r--r--include/ruby/intern.h298
-rw-r--r--include/ruby/io.h130
-rw-r--r--include/ruby/missing.h69
-rw-r--r--include/ruby/oniguruma.h100
-rw-r--r--include/ruby/re.h9
-rw-r--r--include/ruby/regex.h8
-rw-r--r--include/ruby/ruby.h730
-rw-r--r--include/ruby/st.h42
-rw-r--r--include/ruby/subst.h19
-rw-r--r--include/ruby/thread.h49
-rw-r--r--include/ruby/util.h27
-rw-r--r--include/ruby/version.h17
-rw-r--r--include/ruby/vm.h26
-rw-r--r--include/ruby/win32.h178
-rw-r--r--inits.c2
-rw-r--r--insns.def1083
-rw-r--r--internal.h395
-rw-r--r--io.c4477
-rw-r--r--iseq.c1255
-rw-r--r--iseq.h102
-rw-r--r--lib/.document107
-rw-r--r--lib/English.rb42
-rw-r--r--lib/README93
-rwxr-xr-x[-rw-r--r--]lib/abbrev.rb107
-rw-r--r--lib/benchmark.rb230
-rw-r--r--lib/cgi.rb73
-rw-r--r--lib/cgi/.document1
-rw-r--r--lib/cgi/cookie.rb116
-rw-r--r--lib/cgi/core.rb374
-rw-r--r--lib/cgi/html.rb106
-rw-r--r--lib/cgi/session.rb28
-rw-r--r--lib/cgi/util.rb26
-rw-r--r--lib/cmath.rb340
-rw-r--r--lib/csv.rb426
-rw-r--r--lib/date.rb1849
-rw-r--r--lib/date/delta.rb431
-rw-r--r--lib/date/delta/parser.rb301
-rw-r--r--lib/date/delta/parser.ry84
-rw-r--r--lib/date/format.rb1313
-rw-r--r--lib/debug.rb1654
-rw-r--r--lib/delegate.rb201
-rw-r--r--lib/drb/acl.rb152
-rw-r--r--lib/drb/drb.rb455
-rw-r--r--lib/drb/eq.rb2
-rw-r--r--lib/drb/extserv.rb4
-rw-r--r--lib/drb/extservm.rb26
-rw-r--r--lib/drb/gw.rb42
-rw-r--r--lib/drb/invokemethod.rb10
-rw-r--r--lib/drb/observer.rb3
-rw-r--r--lib/drb/ssl.rb326
-rw-r--r--lib/drb/timeridconv.rb96
-rw-r--r--lib/drb/unix.rb53
-rw-r--r--lib/e2mmap.rb62
-rw-r--r--lib/erb.rb442
-rw-r--r--lib/fileutils.rb225
-rw-r--r--lib/find.rb4
-rw-r--r--lib/forwardable.rb205
-rw-r--r--lib/getoptlong.rb214
-rw-r--r--lib/gserver.rb89
-rw-r--r--lib/ipaddr.rb345
-rw-r--r--lib/irb.rb662
-rw-r--r--lib/irb/cmd/chws.rb3
-rw-r--r--lib/irb/cmd/fork.rb5
-rw-r--r--lib/irb/cmd/help.rb4
-rw-r--r--lib/irb/cmd/load.rb2
-rw-r--r--lib/irb/cmd/nop.rb3
-rw-r--r--lib/irb/cmd/pushws.rb2
-rw-r--r--lib/irb/cmd/subirb.rb2
-rw-r--r--lib/irb/completion.rb80
-rw-r--r--lib/irb/context.rb171
-rw-r--r--lib/irb/ext/change-ws.rb10
-rw-r--r--lib/irb/ext/history.rb15
-rw-r--r--lib/irb/ext/loader.rb17
-rw-r--r--lib/irb/ext/math-mode.rb13
-rw-r--r--lib/irb/ext/multi-irb.rb54
-rw-r--r--lib/irb/ext/save-history.rb31
-rw-r--r--lib/irb/ext/tracer.rb11
-rw-r--r--lib/irb/ext/use-loader.rb9
-rw-r--r--lib/irb/ext/workspaces.rb13
-rw-r--r--lib/irb/extend-command.rb76
-rw-r--r--lib/irb/frame.rb16
-rw-r--r--lib/irb/help.rb1
-rw-r--r--lib/irb/init.rb19
-rw-r--r--lib/irb/input-method.rb71
-rw-r--r--lib/irb/inspector.rb152
-rw-r--r--lib/irb/lc/.document4
-rw-r--r--lib/irb/lc/error.rb4
-rw-r--r--lib/irb/lc/help-message12
-rw-r--r--lib/irb/lc/ja/encoding_aliases.rb2
-rw-r--r--lib/irb/lc/ja/error.rb3
-rw-r--r--lib/irb/lc/ja/help-message12
-rw-r--r--lib/irb/locale.rb4
-rw-r--r--lib/irb/magic-file.rb3
-rw-r--r--lib/irb/notifier.rb89
-rw-r--r--lib/irb/output-method.rb46
-rw-r--r--lib/irb/ruby-lex.rb58
-rw-r--r--lib/irb/ruby-token.rb7
-rw-r--r--lib/irb/slex.rb6
-rw-r--r--lib/irb/version.rb2
-rw-r--r--lib/irb/workspace.rb16
-rw-r--r--lib/irb/ws-for-case-2.rb2
-rw-r--r--lib/irb/xmp.rb76
-rw-r--r--lib/logger.rb238
-rw-r--r--lib/mathn.rb220
-rw-r--r--lib/matrix.rb724
-rw-r--r--lib/matrix/eigenvalue_decomposition.rb882
-rw-r--r--lib/matrix/lup_decomposition.rb218
-rw-r--r--lib/minitest/.document2
-rw-r--r--lib/minitest/README.txt394
-rw-r--r--lib/minitest/autorun.rb18
-rw-r--r--lib/minitest/benchmark.rb380
-rw-r--r--lib/minitest/hell.rb16
-rw-r--r--lib/minitest/mock.rb214
-rw-r--r--lib/minitest/parallel_each.rb36
-rw-r--r--lib/minitest/pride.rb119
-rw-r--r--lib/minitest/spec.rb535
-rw-r--r--lib/minitest/unit.rb1054
-rw-r--r--lib/mkmf.rb3821
-rw-r--r--lib/monitor.rb171
-rw-r--r--lib/mutex_m.rb76
-rw-r--r--lib/net/.document8
-rw-r--r--lib/net/ftp.rb602
-rw-r--r--lib/net/http.rb2421
-rw-r--r--lib/net/http/backward.rb25
-rw-r--r--lib/net/http/exceptions.rb25
-rw-r--r--lib/net/http/generic_request.rb329
-rw-r--r--lib/net/http/header.rb452
-rw-r--r--lib/net/http/proxy_delta.rb16
-rw-r--r--lib/net/http/request.rb20
-rw-r--r--lib/net/http/requests.rb122
-rw-r--r--lib/net/http/response.rb405
-rw-r--r--lib/net/http/responses.rb268
-rw-r--r--lib/net/https.rb80
-rw-r--r--lib/net/imap.rb395
-rw-r--r--lib/net/pop.rb55
-rw-r--r--lib/net/protocol.rb34
-rw-r--r--lib/net/smtp.rb82
-rw-r--r--lib/net/telnet.rb26
-rw-r--r--lib/observer.rb75
-rw-r--r--lib/open-uri.rb234
-rw-r--r--lib/open3.rb45
-rw-r--r--lib/optparse.rb197
-rw-r--r--lib/optparse/ac.rb50
-rw-r--r--lib/ostruct.rb193
-rw-r--r--lib/pathname.rb1053
-rw-r--r--lib/pp.rb66
-rw-r--r--lib/prettyprint.rb20
-rw-r--r--lib/prime.rb170
-rw-r--r--lib/profiler.rb146
-rw-r--r--lib/pstore.rb82
-rw-r--r--lib/racc/parser.rb271
-rw-r--r--lib/racc/rdoc/grammar.en.rdoc219
-rw-r--r--lib/rake.rb2482
-rw-r--r--lib/rake/alt_system.rb109
-rw-r--r--lib/rake/application.rb702
-rw-r--r--lib/rake/backtrace.rb18
-rw-r--r--lib/rake/classic_namespace.rb3
-rw-r--r--lib/rake/clean.rb3
-rw-r--r--lib/rake/cloneable.rb16
-rw-r--r--lib/rake/contrib/compositepublisher.rb1
-rw-r--r--lib/rake/contrib/ftptools.rb12
-rw-r--r--lib/rake/contrib/publisher.rb20
-rw-r--r--lib/rake/contrib/sshpublisher.rb5
-rw-r--r--lib/rake/contrib/sys.rb192
-rw-r--r--lib/rake/default_loader.rb10
-rw-r--r--lib/rake/dsl_definition.rb182
-rw-r--r--lib/rake/early_time.rb18
-rw-r--r--lib/rake/ext/core.rb27
-rw-r--r--lib/rake/ext/module.rb39
-rw-r--r--lib/rake/ext/string.rb168
-rw-r--r--lib/rake/ext/time.rb15
-rw-r--r--lib/rake/file_creation_task.rb24
-rw-r--r--lib/rake/file_list.rb410
-rw-r--r--lib/rake/file_task.rb47
-rw-r--r--lib/rake/file_utils.rb114
-rw-r--r--lib/rake/file_utils_ext.rb146
-rw-r--r--lib/rake/gempackagetask.rb98
-rw-r--r--lib/rake/invocation_chain.rb51
-rw-r--r--lib/rake/invocation_exception_mixin.rb16
-rw-r--r--lib/rake/lib/.document1
-rw-r--r--lib/rake/lib/project.rake21
-rw-r--r--lib/rake/loaders/makefile.rb8
-rw-r--r--lib/rake/multi_task.rb13
-rw-r--r--lib/rake/name_space.rb25
-rw-r--r--lib/rake/packagetask.rb5
-rw-r--r--lib/rake/pathmap.rb1
-rw-r--r--lib/rake/phony.rb15
-rw-r--r--lib/rake/private_reader.rb20
-rw-r--r--lib/rake/promise.rb99
-rw-r--r--lib/rake/pseudo_status.rb24
-rw-r--r--lib/rake/rake_module.rb37
-rw-r--r--lib/rake/rake_test_loader.rb21
-rw-r--r--lib/rake/rdoctask.rb388
-rw-r--r--lib/rake/ruby182_test_unit_fix.rb25
-rw-r--r--lib/rake/rule_recursion_overflow_error.rb20
-rw-r--r--lib/rake/runtest.rb11
-rw-r--r--lib/rake/task.rb350
-rw-r--r--lib/rake/task_argument_error.rb7
-rw-r--r--lib/rake/task_arguments.rb78
-rw-r--r--lib/rake/task_manager.rb307
-rw-r--r--lib/rake/tasklib.rb1
-rw-r--r--lib/rake/testtask.rb88
-rw-r--r--lib/rake/thread_history_display.rb48
-rw-r--r--lib/rake/thread_pool.rb155
-rw-r--r--lib/rake/trace_output.rb19
-rw-r--r--lib/rake/version.rb13
-rw-r--r--lib/rake/win32.rb45
-rw-r--r--lib/rbconfig/.document1
-rw-r--r--lib/rbconfig/datadir.rb19
-rw-r--r--lib/rbconfig/obsolete.rb38
-rw-r--r--lib/rdoc.rb455
-rw-r--r--lib/rdoc/alias.rb81
-rw-r--r--lib/rdoc/anon_class.rb4
-rw-r--r--lib/rdoc/any_method.rb282
-rw-r--r--lib/rdoc/attr.rb199
-rw-r--r--lib/rdoc/class_module.rb694
-rw-r--r--lib/rdoc/code_object.rb242
-rw-r--r--lib/rdoc/code_objects.rb24
-rw-r--r--lib/rdoc/comment.rb232
-rw-r--r--lib/rdoc/constant.rb136
-rw-r--r--lib/rdoc/context.rb1011
-rw-r--r--lib/rdoc/context/section.rb238
-rw-r--r--lib/rdoc/cross_reference.rb183
-rw-r--r--lib/rdoc/encoding.rb97
-rw-r--r--lib/rdoc/erb_partial.rb18
-rw-r--r--lib/rdoc/erbio.rb37
-rw-r--r--lib/rdoc/extend.rb117
-rw-r--r--lib/rdoc/generator.rb48
-rw-r--r--lib/rdoc/generator/darkfish.rb1021
-rw-r--r--lib/rdoc/generator/json_index.rb248
-rw-r--r--lib/rdoc/generator/markup.rb138
-rw-r--r--lib/rdoc/generator/ri.rb72
-rw-r--r--lib/rdoc/generator/template/darkfish/_footer.rhtml5
-rw-r--r--lib/rdoc/generator/template/darkfish/_head.rhtml16
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml18
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml9
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml16
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml8
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml16
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml14
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml12
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml7
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml12
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml10
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml10
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml10
-rw-r--r--lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml19
-rw-r--r--lib/rdoc/generator/template/darkfish/class.rhtml179
-rw-r--r--lib/rdoc/generator/template/darkfish/classpage.rhtml297
-rw-r--r--lib/rdoc/generator/template/darkfish/filepage.rhtml124
-rwxr-xr-xlib/rdoc/generator/template/darkfish/images/add.pngbin0 -> 733 bytes-rwxr-xr-xlib/rdoc/generator/template/darkfish/images/arrow_up.pngbin0 -> 372 bytes-rwxr-xr-xlib/rdoc/generator/template/darkfish/images/delete.pngbin0 -> 715 bytes-rwxr-xr-xlib/rdoc/generator/template/darkfish/images/tag_blue.pngbin0 -> 1880 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/images/transparent.pngbin0 -> 97 bytes-rw-r--r--lib/rdoc/generator/template/darkfish/index.rhtml83
-rw-r--r--lib/rdoc/generator/template/darkfish/js/darkfish.js163
-rw-r--r--lib/rdoc/generator/template/darkfish/js/jquery.js36
-rw-r--r--lib/rdoc/generator/template/darkfish/js/quicksearch.js114
-rw-r--r--lib/rdoc/generator/template/darkfish/js/search.js94
-rw-r--r--lib/rdoc/generator/template/darkfish/js/thickbox-compressed.js10
-rw-r--r--lib/rdoc/generator/template/darkfish/page.rhtml18
-rw-r--r--lib/rdoc/generator/template/darkfish/rdoc.css833
-rw-r--r--lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml18
-rw-r--r--lib/rdoc/generator/template/darkfish/servlet_root.rhtml37
-rw-r--r--lib/rdoc/generator/template/darkfish/table_of_contents.rhtml55
-rw-r--r--lib/rdoc/generator/template/json_index/.document1
-rw-r--r--lib/rdoc/generator/template/json_index/js/navigation.js142
-rw-r--r--lib/rdoc/generator/template/json_index/js/searcher.js228
-rw-r--r--lib/rdoc/ghost_method.rb2
-rw-r--r--lib/rdoc/include.rb68
-rw-r--r--lib/rdoc/known_classes.rb7
-rw-r--r--lib/rdoc/markdown.rb16336
-rw-r--r--lib/rdoc/markdown/entities.rb2131
-rw-r--r--lib/rdoc/markdown/literals_1_9.rb417
-rw-r--r--lib/rdoc/markup.rb806
-rw-r--r--lib/rdoc/markup/attr_changer.rb22
-rw-r--r--lib/rdoc/markup/attr_span.rb29
-rw-r--r--lib/rdoc/markup/attribute_manager.rb72
-rw-r--r--lib/rdoc/markup/attributes.rb70
-rw-r--r--lib/rdoc/markup/blank_line.rb14
-rw-r--r--lib/rdoc/markup/block_quote.rb14
-rw-r--r--lib/rdoc/markup/document.rb110
-rw-r--r--lib/rdoc/markup/formatter.rb159
-rw-r--r--lib/rdoc/markup/formatter_test_case.rb432
-rw-r--r--lib/rdoc/markup/hard_break.rb31
-rw-r--r--lib/rdoc/markup/heading.rb50
-rw-r--r--lib/rdoc/markup/include.rb42
-rw-r--r--lib/rdoc/markup/indented_paragraph.rb47
-rw-r--r--lib/rdoc/markup/inline.rb128
-rw-r--r--lib/rdoc/markup/list.rb31
-rw-r--r--lib/rdoc/markup/list_item.rb24
-rw-r--r--lib/rdoc/markup/paragraph.rb17
-rw-r--r--lib/rdoc/markup/parser.rb576
-rw-r--r--lib/rdoc/markup/pre_process.rb293
-rw-r--r--lib/rdoc/markup/preprocess.rb130
-rw-r--r--lib/rdoc/markup/raw.rb14
-rw-r--r--lib/rdoc/markup/rule.rb3
-rw-r--r--lib/rdoc/markup/special.rb40
-rw-r--r--lib/rdoc/markup/text_formatter_test_case.rb114
-rw-r--r--lib/rdoc/markup/to_ansi.rb37
-rw-r--r--lib/rdoc/markup/to_bs.rb12
-rw-r--r--lib/rdoc/markup/to_html.rb408
-rw-r--r--lib/rdoc/markup/to_html_crossref.rb227
-rw-r--r--lib/rdoc/markup/to_html_snippet.rb284
-rw-r--r--lib/rdoc/markup/to_joined_paragraph.rb71
-rw-r--r--lib/rdoc/markup/to_label.rb74
-rw-r--r--lib/rdoc/markup/to_markdown.rb189
-rw-r--r--lib/rdoc/markup/to_rdoc.rb196
-rw-r--r--lib/rdoc/markup/to_table_of_contents.rb87
-rw-r--r--lib/rdoc/markup/to_test.rb15
-rw-r--r--lib/rdoc/markup/to_tt_only.rb120
-rw-r--r--lib/rdoc/markup/verbatim.rb47
-rw-r--r--lib/rdoc/meta_method.rb2
-rw-r--r--lib/rdoc/method_attr.rb398
-rw-r--r--lib/rdoc/normal_class.rb51
-rw-r--r--lib/rdoc/normal_module.rb29
-rw-r--r--lib/rdoc/options.rb922
-rw-r--r--lib/rdoc/parser.rb248
-rw-r--r--lib/rdoc/parser/c.rb994
-rw-r--r--lib/rdoc/parser/changelog.rb194
-rw-r--r--lib/rdoc/parser/markdown.rb23
-rw-r--r--lib/rdoc/parser/perl.rb165
-rw-r--r--lib/rdoc/parser/rd.rb22
-rw-r--r--lib/rdoc/parser/ruby.rb878
-rw-r--r--lib/rdoc/parser/ruby_tools.rb18
-rw-r--r--lib/rdoc/parser/simple.rb31
-rw-r--r--lib/rdoc/parser/text.rb11
-rw-r--r--lib/rdoc/rd.rb99
-rw-r--r--lib/rdoc/rd/block_parser.rb1055
-rw-r--r--lib/rdoc/rd/inline.rb71
-rw-r--r--lib/rdoc/rd/inline_parser.rb1207
-rw-r--r--lib/rdoc/rdoc.rb270
-rw-r--r--lib/rdoc/require.rb23
-rw-r--r--lib/rdoc/ri.rb6
-rw-r--r--lib/rdoc/ri/driver.rb732
-rw-r--r--lib/rdoc/ri/paths.rb139
-rw-r--r--lib/rdoc/ri/store.rb246
-rw-r--r--lib/rdoc/ruby_lex.rb188
-rw-r--r--lib/rdoc/ruby_token.rb55
-rw-r--r--lib/rdoc/rubygems_hook.rb238
-rw-r--r--lib/rdoc/servlet.rb416
-rw-r--r--lib/rdoc/single_class.rb14
-rw-r--r--lib/rdoc/stats.rb497
-rw-r--r--lib/rdoc/stats/normal.rb48
-rw-r--r--lib/rdoc/stats/quiet.rb59
-rw-r--r--lib/rdoc/stats/verbose.rb45
-rw-r--r--lib/rdoc/store.rb977
-rw-r--r--lib/rdoc/task.rb303
-rw-r--r--lib/rdoc/test_case.rb178
-rw-r--r--lib/rdoc/text.rb285
-rw-r--r--lib/rdoc/token_stream.rb95
-rw-r--r--lib/rdoc/tokenstream.rb52
-rw-r--r--lib/rdoc/tom_doc.rb233
-rw-r--r--lib/rdoc/top_level.rb264
-rw-r--r--lib/resolv-replace.rb3
-rw-r--r--lib/resolv.rb108
-rw-r--r--lib/rexml/attribute.rb2
-rw-r--r--lib/rexml/cdata.rb2
-rw-r--r--lib/rexml/child.rb4
-rw-r--r--lib/rexml/comment.rb12
-rw-r--r--lib/rexml/doctype.rb11
-rw-r--r--lib/rexml/document.rb77
-rw-r--r--lib/rexml/element.rb49
-rw-r--r--lib/rexml/encoding.rb95
-rw-r--r--lib/rexml/encodings/CP-1252.rb103
-rw-r--r--lib/rexml/encodings/EUC-JP.rb35
-rw-r--r--lib/rexml/encodings/ICONV.rb22
-rw-r--r--lib/rexml/encodings/ISO-8859-1.rb7
-rw-r--r--lib/rexml/encodings/ISO-8859-15.rb72
-rw-r--r--lib/rexml/encodings/SHIFT-JIS.rb37
-rw-r--r--lib/rexml/encodings/SHIFT_JIS.rb1
-rw-r--r--lib/rexml/encodings/UNILE.rb34
-rw-r--r--lib/rexml/encodings/US-ASCII.rb30
-rw-r--r--lib/rexml/encodings/UTF-16.rb35
-rw-r--r--lib/rexml/encodings/UTF-8.rb18
-rw-r--r--lib/rexml/entity.rb7
-rw-r--r--lib/rexml/formatters/default.rb2
-rw-r--r--lib/rexml/formatters/pretty.rb12
-rw-r--r--lib/rexml/formatters/transitive.rb1
-rw-r--r--lib/rexml/functions.rb8
-rw-r--r--lib/rexml/light/node.rb14
-rw-r--r--lib/rexml/node.rb12
-rw-r--r--lib/rexml/output.rb7
-rw-r--r--lib/rexml/parseexception.rb2
-rw-r--r--lib/rexml/parsers/baseparser.rb69
-rw-r--r--lib/rexml/parsers/lightparser.rb8
-rw-r--r--lib/rexml/parsers/sax2parser.rb10
-rw-r--r--lib/rexml/parsers/ultralightparser.rb8
-rw-r--r--lib/rexml/parsers/xpathparser.rb2
-rw-r--r--lib/rexml/quickpath.rb31
-rw-r--r--lib/rexml/rexml.rb12
-rw-r--r--lib/rexml/source.rb89
-rw-r--r--lib/rexml/text.rb41
-rw-r--r--lib/rexml/validation/validation.rb2
-rw-r--r--lib/rexml/xmldecl.rb8
-rw-r--r--lib/rexml/xpath.rb13
-rw-r--r--lib/rexml/xpath_parser.rb12
-rw-r--r--lib/rinda/.document3
-rw-r--r--lib/rinda/ring.rb68
-rw-r--r--lib/rinda/tuplespace.rb4
-rw-r--r--lib/rss.rb80
-rw-r--r--lib/rss/atom.rb93
-rw-r--r--lib/rss/maker.rb26
-rw-r--r--lib/rss/maker/0.9.rb4
-rw-r--r--lib/rss/maker/1.0.rb2
-rw-r--r--lib/rss/maker/base.rb14
-rw-r--r--lib/rss/maker/dublincore.rb3
-rw-r--r--lib/rss/maker/entry.rb4
-rw-r--r--lib/rss/maker/image.rb4
-rw-r--r--lib/rss/rss.rb55
-rw-r--r--lib/rubygems.rb1080
-rw-r--r--lib/rubygems/LICENSE.txt (renamed from doc/rubygems/LICENSE.txt)0
-rw-r--r--lib/rubygems/available_set.rb93
-rw-r--r--lib/rubygems/builder.rb94
-rw-r--r--lib/rubygems/command.rb139
-rw-r--r--lib/rubygems/command_manager.rb123
-rw-r--r--lib/rubygems/commands/build_command.rb46
-rw-r--r--lib/rubygems/commands/cert_command.rb259
-rw-r--r--lib/rubygems/commands/check_command.rb108
-rw-r--r--lib/rubygems/commands/cleanup_command.rb153
-rw-r--r--lib/rubygems/commands/contents_command.rb51
-rw-r--r--lib/rubygems/commands/dependency_command.rb78
-rw-r--r--lib/rubygems/commands/environment_command.rb30
-rw-r--r--lib/rubygems/commands/fetch_command.rb21
-rw-r--r--lib/rubygems/commands/generate_index_command.rb63
-rw-r--r--lib/rubygems/commands/help_command.rb17
-rw-r--r--lib/rubygems/commands/install_command.rb124
-rw-r--r--lib/rubygems/commands/lock_command.rb12
-rw-r--r--lib/rubygems/commands/mirror_command.rb108
-rw-r--r--lib/rubygems/commands/outdated_command.rb18
-rw-r--r--lib/rubygems/commands/owner_command.rb21
-rw-r--r--lib/rubygems/commands/pristine_command.rb94
-rw-r--r--lib/rubygems/commands/push_command.rb52
-rw-r--r--lib/rubygems/commands/query_command.rb284
-rw-r--r--lib/rubygems/commands/rdoc_command.rb55
-rw-r--r--lib/rubygems/commands/search_command.rb4
-rw-r--r--lib/rubygems/commands/server_command.rb12
-rw-r--r--lib/rubygems/commands/setup_command.rb252
-rw-r--r--lib/rubygems/commands/sources_command.rb88
-rw-r--r--lib/rubygems/commands/specification_command.rb65
-rw-r--r--lib/rubygems/commands/stale_command.rb3
-rw-r--r--lib/rubygems/commands/uninstall_command.rb38
-rw-r--r--lib/rubygems/commands/unpack_command.rb105
-rw-r--r--lib/rubygems/commands/update_command.rb209
-rw-r--r--lib/rubygems/commands/which_command.rb15
-rw-r--r--lib/rubygems/commands/yank_command.rb98
-rw-r--r--lib/rubygems/compatibility.rb55
-rw-r--r--lib/rubygems/config_file.rb271
-rw-r--r--lib/rubygems/core_ext/kernel_gem.rb53
-rwxr-xr-xlib/rubygems/core_ext/kernel_require.rb149
-rw-r--r--lib/rubygems/custom_require.rb44
-rw-r--r--lib/rubygems/defaults.rb84
-rw-r--r--lib/rubygems/dependency.rb221
-rw-r--r--lib/rubygems/dependency_installer.rb356
-rw-r--r--lib/rubygems/dependency_list.rb72
-rw-r--r--lib/rubygems/dependency_resolver.rb575
-rw-r--r--lib/rubygems/deprecate.rb70
-rw-r--r--lib/rubygems/doc_manager.rb240
-rw-r--r--lib/rubygems/doctor.rb125
-rw-r--r--lib/rubygems/errors.rb102
-rw-r--r--lib/rubygems/exceptions.rb32
-rw-r--r--lib/rubygems/ext.rb1
-rw-r--r--lib/rubygems/ext/builder.rb49
-rw-r--r--lib/rubygems/ext/cmake_builder.rb14
-rw-r--r--lib/rubygems/ext/configure_builder.rb4
-rw-r--r--lib/rubygems/ext/ext_conf_builder.rb52
-rw-r--r--lib/rubygems/ext/rake_builder.rb18
-rw-r--r--lib/rubygems/format.rb83
-rw-r--r--lib/rubygems/gem_openssl.rb94
-rw-r--r--lib/rubygems/gem_path_searcher.rb100
-rw-r--r--lib/rubygems/gem_runner.rb27
-rw-r--r--lib/rubygems/gemcutter_utilities.rb89
-rw-r--r--lib/rubygems/indexer.rb452
-rw-r--r--lib/rubygems/install_message.rb12
-rw-r--r--lib/rubygems/install_update_options.rb98
-rw-r--r--lib/rubygems/installer.rb676
-rw-r--r--lib/rubygems/installer_test_case.rb196
-rw-r--r--lib/rubygems/local_remote_options.rb25
-rw-r--r--lib/rubygems/mock_gem_ui.rb88
-rw-r--r--lib/rubygems/name_tuple.rb110
-rw-r--r--lib/rubygems/old_format.rb152
-rw-r--r--lib/rubygems/package.rb600
-rw-r--r--lib/rubygems/package/digest_io.rb64
-rw-r--r--lib/rubygems/package/f_sync_dir.rb23
-rw-r--r--lib/rubygems/package/old.rb178
-rw-r--r--lib/rubygems/package/tar_header.rb73
-rw-r--r--lib/rubygems/package/tar_input.rb219
-rw-r--r--lib/rubygems/package/tar_output.rb144
-rw-r--r--lib/rubygems/package/tar_reader.rb23
-rw-r--r--lib/rubygems/package/tar_reader/entry.rb7
-rw-r--r--lib/rubygems/package/tar_test_case.rb137
-rw-r--r--lib/rubygems/package/tar_writer.rb72
-rw-r--r--lib/rubygems/package_task.rb26
-rw-r--r--lib/rubygems/path_support.rb77
-rw-r--r--lib/rubygems/platform.rb54
-rw-r--r--lib/rubygems/psych_additions.rb9
-rw-r--r--lib/rubygems/psych_tree.rb31
-rw-r--r--lib/rubygems/rdoc.rb336
-rw-r--r--lib/rubygems/remote_fetcher.rb383
-rw-r--r--lib/rubygems/request_set.rb182
-rw-r--r--lib/rubygems/require_paths_builder.rb13
-rw-r--r--lib/rubygems/requirement.rb147
-rw-r--r--lib/rubygems/security.rb922
-rw-r--r--lib/rubygems/security/policies.rb115
-rw-r--r--lib/rubygems/security/policy.rb263
-rw-r--r--lib/rubygems/security/signer.rb136
-rw-r--r--lib/rubygems/security/trust_dir.rb104
-rw-r--r--lib/rubygems/server.rb292
-rw-r--r--lib/rubygems/source.rb149
-rw-r--r--lib/rubygems/source_index.rb597
-rw-r--r--lib/rubygems/source_info_cache.rb395
-rw-r--r--lib/rubygems/source_info_cache_entry.rb56
-rw-r--r--lib/rubygems/source_list.rb87
-rw-r--r--lib/rubygems/source_local.rb92
-rw-r--r--lib/rubygems/source_specific_file.rb28
-rw-r--r--lib/rubygems/spec_fetcher.rb325
-rw-r--r--lib/rubygems/specification.rb2891
-rw-r--r--lib/rubygems/ssl_certs/.document1
-rw-r--r--lib/rubygems/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem14
-rw-r--r--lib/rubygems/ssl_certs/DigiCertHighAssuranceEVRootCA.pem23
-rw-r--r--lib/rubygems/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem28
-rw-r--r--lib/rubygems/ssl_certs/GeoTrustGlobalCA.pem20
-rw-r--r--lib/rubygems/syck_hack.rb76
-rw-r--r--lib/rubygems/test_case.rb1116
-rw-r--r--lib/rubygems/test_utilities.rb44
-rw-r--r--lib/rubygems/text.rb37
-rw-r--r--lib/rubygems/uninstaller.rb239
-rw-r--r--lib/rubygems/user_interaction.rb317
-rw-r--r--lib/rubygems/validator.rb159
-rw-r--r--lib/rubygems/version.rb100
-rw-r--r--lib/scanf.rb724
-rw-r--r--lib/securerandom.rb41
-rw-r--r--lib/set.rb985
-rw-r--r--lib/shell.rb211
-rw-r--r--lib/shell/builtin-command.rb40
-rw-r--r--lib/shell/command-processor.rb640
-rw-r--r--lib/shell/error.rb6
-rw-r--r--lib/shell/filter.rb84
-rw-r--r--lib/shell/process-controller.rb332
-rw-r--r--lib/shell/system-command.rb122
-rw-r--r--lib/shell/version.rb8
-rw-r--r--lib/shellwords.rb139
-rw-r--r--lib/singleton.rb309
-rw-r--r--lib/sync.rb219
-rw-r--r--[-rwxr-xr-x]lib/tempfile.rb87
-rw-r--r--lib/test/unit.rb877
-rw-r--r--lib/test/unit/assertions.rb192
-rw-r--r--lib/test/unit/parallel.rb187
-rw-r--r--lib/test/unit/test-unit.gemspec14
-rw-r--r--lib/test/unit/testcase.rb19
-rw-r--r--lib/thread.rb176
-rw-r--r--lib/thwait.rb29
-rw-r--r--lib/time.rb289
-rw-r--r--lib/timeout.rb48
-rw-r--r--lib/tmpdir.rb31
-rw-r--r--lib/tracer.rb191
-rw-r--r--lib/un.rb89
-rw-r--r--lib/uri.rb90
-rw-r--r--lib/uri/.document7
-rw-r--r--lib/uri/common.rb440
-rw-r--r--lib/uri/ftp.rb52
-rw-r--r--lib/uri/generic.rb620
-rw-r--r--lib/uri/http.rb16
-rw-r--r--lib/uri/https.rb4
-rw-r--r--lib/uri/ldap.rb72
-rw-r--r--lib/uri/ldaps.rb8
-rw-r--r--lib/uri/mailto.rb18
-rw-r--r--lib/weakref.rb143
-rw-r--r--lib/webrick.rb201
-rw-r--r--lib/webrick/accesslog.rb89
-rw-r--r--lib/webrick/cgi.rb54
-rw-r--r--lib/webrick/compat.rb20
-rw-r--r--lib/webrick/config.rb53
-rw-r--r--lib/webrick/cookie.rb71
-rw-r--r--lib/webrick/htmlutils.rb10
-rw-r--r--lib/webrick/httpauth.rb56
-rw-r--r--lib/webrick/httpauth/authenticator.rb59
-rw-r--r--lib/webrick/httpauth/basicauth.rb45
-rw-r--r--lib/webrick/httpauth/digestauth.rb82
-rw-r--r--lib/webrick/httpauth/htdigest.rb39
-rw-r--r--lib/webrick/httpauth/htgroup.rb32
-rw-r--r--lib/webrick/httpauth/htpasswd.rb40
-rw-r--r--lib/webrick/httpauth/userdb.rb29
-rw-r--r--lib/webrick/httpproxy.rb61
-rw-r--r--lib/webrick/httprequest.rb235
-rw-r--r--lib/webrick/httpresponse.rb174
-rw-r--r--lib/webrick/https.rb25
-rw-r--r--lib/webrick/httpserver.rb63
-rw-r--r--lib/webrick/httpservlet/abstract.rb87
-rw-r--r--lib/webrick/httpservlet/cgi_runner.rb3
-rw-r--r--lib/webrick/httpservlet/cgihandler.rb19
-rw-r--r--lib/webrick/httpservlet/erbhandler.rb39
-rw-r--r--lib/webrick/httpservlet/filehandler.rb49
-rw-r--r--lib/webrick/httpservlet/prochandler.rb13
-rw-r--r--lib/webrick/httpstatus.rb76
-rw-r--r--lib/webrick/httputils.rb143
-rw-r--r--lib/webrick/httpversion.rb30
-rw-r--r--lib/webrick/log.rb75
-rw-r--r--lib/webrick/server.rb173
-rw-r--r--lib/webrick/ssl.rb78
-rw-r--r--lib/webrick/utils.rb77
-rw-r--r--lib/webrick/version.rb6
-rw-r--r--lib/xmlrpc.rb301
-rw-r--r--lib/xmlrpc/.document1
-rw-r--r--lib/xmlrpc/README.rdoc300
-rw-r--r--lib/xmlrpc/README.txt31
-rw-r--r--lib/xmlrpc/base64.rb63
-rw-r--r--lib/xmlrpc/client.rb607
-rw-r--r--lib/xmlrpc/config.rb26
-rw-r--r--lib/xmlrpc/create.rb22
-rw-r--r--lib/xmlrpc/datetime.rb119
-rw-r--r--lib/xmlrpc/httpserver.rb47
-rw-r--r--lib/xmlrpc/marshal.rb18
-rw-r--r--lib/xmlrpc/parser.rb91
-rw-r--r--lib/xmlrpc/server.rb575
-rw-r--r--lib/xmlrpc/utils.rb44
-rw-r--r--lib/yaml.rb104
-rw-r--r--lib/yaml/dbm.rb131
-rw-r--r--lib/yaml/store.rb58
-rw-r--r--load.c607
-rw-r--r--main.c7
-rw-r--r--man/erb.118
-rw-r--r--man/goruby.110
-rw-r--r--man/irb.114
-rw-r--r--man/rake.14
-rw-r--r--man/ri.113
-rw-r--r--man/ruby.169
-rw-r--r--marshal.c522
-rw-r--r--math.c24
-rw-r--r--method.h53
-rw-r--r--misc/README4
-rw-r--r--misc/inf-ruby.el48
-rw-r--r--misc/rb_optparse.bash20
-rwxr-xr-xmisc/rb_optparse.zsh38
-rw-r--r--misc/rdoc-mode.el74
-rw-r--r--misc/ruby-additional.el100
-rw-r--r--misc/ruby-electric.el31
-rw-r--r--misc/ruby-mode.el258
-rw-r--r--misc/ruby-style.el1
-rw-r--r--missing/alloca.c8
-rw-r--r--missing/cbrt.c1
-rw-r--r--missing/close.c5
-rw-r--r--missing/crt_externs.h8
-rw-r--r--missing/crypt.c79
-rw-r--r--missing/erf.c1
-rw-r--r--missing/ffs.c49
-rw-r--r--missing/finite.c2
-rw-r--r--missing/flock.c7
-rw-r--r--missing/hypot.c1
-rw-r--r--missing/isinf.c2
-rw-r--r--missing/isnan.c2
-rw-r--r--missing/langinfo.c7
-rw-r--r--missing/lgamma_r.c12
-rw-r--r--missing/memcmp.c1
-rw-r--r--missing/memmove.c1
-rw-r--r--missing/os2.c4
-rw-r--r--missing/setproctitle.c170
-rw-r--r--missing/strchr.c4
-rw-r--r--missing/strerror.c2
-rw-r--r--missing/strlcat.c1
-rw-r--r--missing/strlcpy.c1
-rw-r--r--missing/strstr.c4
-rw-r--r--missing/strtol.c1
-rw-r--r--missing/x86_64-chkstk.s10
-rw-r--r--nacl/GNUmakefile.in87
-rw-r--r--nacl/README.nacl34
-rw-r--r--nacl/create_nmf.rb70
-rw-r--r--nacl/dirent.h15
-rw-r--r--nacl/example.html150
-rw-r--r--nacl/ioctl.h7
-rw-r--r--nacl/nacl-config.rb61
-rw-r--r--nacl/package.rb109
-rw-r--r--nacl/pepper_main.c870
-rw-r--r--nacl/resource.h8
-rw-r--r--nacl/select.h7
-rw-r--r--nacl/signal.h6
-rw-r--r--nacl/stat.h10
-rw-r--r--nacl/unistd.h9
-rw-r--r--nacl/utime.h11
-rw-r--r--node.c78
-rw-r--r--node.h78
-rw-r--r--numeric.c1048
-rw-r--r--object.c1057
-rw-r--r--pack.c491
-rw-r--r--parse.y3080
-rw-r--r--prelude.rb18
-rw-r--r--probes.d211
-rw-r--r--probes_helper.h67
-rw-r--r--proc.c783
-rw-r--r--process.c3101
-rw-r--r--random.c595
-rw-r--r--range.c499
-rw-r--r--rational.c638
-rw-r--r--re.c218
-rw-r--r--regcomp.c720
-rw-r--r--regenc.c37
-rw-r--r--regenc.h22
-rw-r--r--regerror.c25
-rw-r--r--regexec.c850
-rw-r--r--regint.h130
-rw-r--r--regparse.c1147
-rw-r--r--regparse.h17
-rw-r--r--regsyntax.c84
-rw-r--r--ruby.c545
-rw-r--r--ruby_atomic.h170
-rw-r--r--safe.c4
-rw-r--r--sample/README2
-rw-r--r--sample/biorhythm.rb22
-rw-r--r--sample/coverage.rb2
-rw-r--r--sample/drb/README.rd.ja48
-rw-r--r--sample/drb/darray.rb2
-rw-r--r--sample/drb/darrayc.rb4
-rw-r--r--sample/drb/dbiff.rb4
-rw-r--r--sample/drb/dchatc.rb4
-rw-r--r--sample/drb/dchats.rb2
-rw-r--r--sample/drb/dhasen.rb4
-rw-r--r--sample/drb/dhasenc.rb8
-rw-r--r--sample/drb/dlogc.rb2
-rw-r--r--sample/drb/dlogd.rb2
-rw-r--r--sample/drb/dqin.rb2
-rw-r--r--sample/drb/dqout.rb2
-rw-r--r--sample/drb/dqueue.rb2
-rw-r--r--sample/drb/drbc.rb2
-rw-r--r--sample/drb/drbch.rb2
-rw-r--r--sample/drb/drbm.rb6
-rw-r--r--sample/drb/drbmc.rb2
-rw-r--r--sample/drb/drbs-acl.rb6
-rw-r--r--sample/drb/drbs.rb4
-rw-r--r--sample/drb/extserv_test.rb12
-rw-r--r--sample/drb/gw_cu.rb2
-rw-r--r--sample/drb/holderc.rb2
-rw-r--r--sample/drb/holders.rb6
-rw-r--r--sample/drb/http0.rb6
-rw-r--r--sample/drb/http0serv.rb12
-rw-r--r--sample/drb/name.rb16
-rw-r--r--sample/drb/namec.rb2
-rw-r--r--sample/drb/old_tuplespace.rb6
-rw-r--r--sample/drb/ring_echo.rb2
-rw-r--r--sample/drb/simpletuple.rb6
-rw-r--r--sample/drb/speedc.rb2
-rw-r--r--sample/drb/speeds.rb4
-rw-r--r--sample/from.rb2
-rw-r--r--sample/fullpath.rb2
-rw-r--r--sample/list.rb1
-rw-r--r--sample/list2.rb2
-rw-r--r--sample/list3.rb2
-rw-r--r--sample/logger/app.rb2
-rwxr-xr-x[-rw-r--r--]sample/mine.rb40
-rw-r--r--sample/openssl/certstore.rb2
-rw-r--r--sample/openssl/smime_write.rb2
-rwxr-xr-x[-rw-r--r--]sample/optparse/opttest.rb0
-rwxr-xr-xsample/rss/re_read.rb4
-rw-r--r--sample/svr.rb2
-rwxr-xr-x[-rw-r--r--]sample/test.rb151
-rw-r--r--sample/trojan.rb2
-rw-r--r--sample/webrick/httpproxy.rb7
-rw-r--r--signal.c467
-rw-r--r--siphash.c483
-rw-r--r--siphash.h48
-rw-r--r--sparc.c31
-rw-r--r--spec/README11
-rw-r--r--spec/default.mspec9
-rw-r--r--sprintf.c148
-rw-r--r--st.c755
-rw-r--r--strftime.c363
-rw-r--r--string.c1814
-rw-r--r--struct.c256
-rw-r--r--symbian/configure.bat7
-rw-r--r--symbian/setup2
-rw-r--r--template/Doxyfile.tmpl22
-rw-r--r--template/encdb.h.tmpl2
-rw-r--r--[-rwxr-xr-x]template/fake.rb.in17
-rw-r--r--template/id.c.tmpl27
-rw-r--r--template/id.h.tmpl136
-rw-r--r--template/ruby.pc.in53
-rw-r--r--template/yarvarch.ja402
-rw-r--r--test/-ext-/array/test_resize.rb29
-rw-r--r--test/-ext-/debug/test_debug.rb58
-rw-r--r--test/-ext-/exception/test_enc_raise.rb15
-rw-r--r--test/-ext-/exception/test_ensured.rb32
-rw-r--r--test/-ext-/funcall/test_passing_block.rb22
-rw-r--r--test/-ext-/iter/test_iter_break.rb12
-rw-r--r--test/-ext-/load/test_dot_dot.rb10
-rw-r--r--test/-ext-/marshal/test_usrmarshal.rb34
-rw-r--r--test/-ext-/method/test_arity.rb37
-rw-r--r--test/-ext-/num2int/test_num2int.rb227
-rw-r--r--test/-ext-/old_thread_select/test_old_thread_select.rb100
-rw-r--r--test/-ext-/path_to_class/test_path_to_class.rb12
-rw-r--r--test/-ext-/st/test_numhash.rb49
-rw-r--r--test/-ext-/st/test_update.rb50
-rw-r--r--test/-ext-/string/test_ellipsize.rb46
-rw-r--r--test/-ext-/string/test_enc_associate.rb12
-rw-r--r--test/-ext-/string/test_enc_str_buf_cat.rb15
-rw-r--r--test/-ext-/string/test_modify_expand.rb15
-rw-r--r--test/-ext-/string/test_qsort.rb19
-rw-r--r--test/-ext-/string/test_set_len.rb25
-rw-r--r--test/-ext-/struct/test_member.rb16
-rw-r--r--test/-ext-/symbol/test_inadvertent_creation.rb183
-rw-r--r--test/-ext-/symbol/test_type.rb114
-rw-r--r--test/-ext-/test_bug-3571.rb21
-rw-r--r--test/-ext-/test_bug-5832.rb21
-rw-r--r--test/-ext-/test_printf.rb61
-rw-r--r--test/-ext-/typeddata/test_typeddata.rb21
-rw-r--r--test/-ext-/wait_for_single_fd/test_wait_for_single_fd.rb45
-rw-r--r--test/-ext-/win32/test_dln.rb13
-rw-r--r--test/-ext-/win32/test_fd_setsize.rb25
-rw-r--r--test/base64/test_base64.rb1
-rw-r--r--test/benchmark/test_benchmark.rb171
-rw-r--r--test/bigdecimal/test_bigdecimal.rb803
-rw-r--r--test/bigdecimal/test_bigdecimal_util.rb43
-rw-r--r--test/bigdecimal/test_bigmath.rb17
-rw-r--r--test/bigdecimal/testbase.rb7
-rw-r--r--test/cgi/test_cgi_core.rb18
-rw-r--r--test/cgi/test_cgi_header.rb60
-rw-r--r--test/cgi/test_cgi_modruby.rb7
-rw-r--r--test/cgi/test_cgi_multipart.rb68
-rw-r--r--test/cgi/test_cgi_session.rb5
-rw-r--r--test/cgi/test_cgi_tag_helper.rb13
-rw-r--r--test/cgi/test_cgi_util.rb30
-rw-r--r--test/coverage/test_coverage.rb64
-rw-r--r--test/csv/base.rb8
-rwxr-xr-x[-rw-r--r--]test/csv/test_csv_parsing.rb9
-rwxr-xr-x[-rw-r--r--]test/csv/test_csv_writing.rb6
-rwxr-xr-x[-rw-r--r--]test/csv/test_data_converters.rb24
-rwxr-xr-x[-rw-r--r--]test/csv/test_encodings.rb96
-rwxr-xr-x[-rw-r--r--]test/csv/test_features.rb71
-rwxr-xr-x[-rw-r--r--]test/csv/test_headers.rb7
-rwxr-xr-x[-rw-r--r--]test/csv/test_interface.rb40
-rwxr-xr-x[-rw-r--r--]test/csv/test_row.rb40
-rw-r--r--test/csv/test_serialization.rb156
-rwxr-xr-x[-rw-r--r--]test/csv/test_table.rb24
-rw-r--r--test/csv/ts_all.rb1
-rw-r--r--test/date/test_date.rb25
-rw-r--r--test/date/test_date_attr.rb3
-rw-r--r--test/date/test_date_base.rb55
-rw-r--r--test/date/test_date_marshal.rb12
-rw-r--r--test/date/test_date_new.rb11
-rw-r--r--test/date/test_date_parse.rb960
-rw-r--r--test/date/test_date_strftime.rb46
-rw-r--r--test/date/test_date_strptime.rb189
-rw-r--r--test/date/test_switch_hitter.rb664
-rw-r--r--test/dbm/test_dbm.rb101
-rwxr-xr-xtest/digest/test_digest.rb30
-rw-r--r--test/digest/test_digest_extend.rb41
-rw-r--r--test/dl/test_base.rb13
-rw-r--r--test/dl/test_c_struct_entry.rb55
-rw-r--r--test/dl/test_c_union_entity.rb31
-rw-r--r--test/dl/test_callback.rb9
-rw-r--r--test/dl/test_cfunc.rb2
-rw-r--r--test/dl/test_cparser.rb24
-rw-r--r--test/dl/test_cptr.rb10
-rw-r--r--test/dl/test_dl2.rb16
-rw-r--r--test/dl/test_func.rb92
-rw-r--r--test/dl/test_handle.rb29
-rw-r--r--test/dl/test_import.rb17
-rw-r--r--test/drb/drbtest.rb56
-rw-r--r--test/drb/test_drb.rb19
-rw-r--r--test/drb/test_drbssl.rb6
-rw-r--r--test/drb/test_drbunix.rb6
-rw-r--r--test/drb/ut_array.rb2
-rw-r--r--test/drb/ut_array_drbssl.rb13
-rw-r--r--test/drb/ut_drb.rb3
-rw-r--r--test/drb/ut_drb_drbssl.rb13
-rw-r--r--test/drb/ut_eq.rb30
-rw-r--r--test/dtrace/dummy.rb1
-rw-r--r--test/dtrace/helper.rb40
-rw-r--r--test/dtrace/test_array_create.rb35
-rw-r--r--test/dtrace/test_cmethod.rb49
-rw-r--r--test/dtrace/test_function_entry.rb87
-rw-r--r--test/dtrace/test_gc.rb26
-rw-r--r--test/dtrace/test_hash_create.rb52
-rw-r--r--test/dtrace/test_load.rb52
-rw-r--r--test/dtrace/test_object_create_start.rb35
-rw-r--r--test/dtrace/test_raise.rb29
-rw-r--r--test/dtrace/test_require.rb34
-rw-r--r--test/dtrace/test_singleton_function.rb55
-rw-r--r--test/dtrace/test_string.rb27
-rw-r--r--test/erb/test_erb.rb62
-rw-r--r--test/etc/test_etc.rb40
-rw-r--r--test/fiddle/helper.rb25
-rw-r--r--test/fiddle/test_c_struct_entry.rb76
-rw-r--r--test/fiddle/test_c_union_entity.rb34
-rw-r--r--test/fiddle/test_closure.rb39
-rw-r--r--test/fiddle/test_cparser.rb35
-rw-r--r--test/fiddle/test_fiddle.rb23
-rw-r--r--test/fiddle/test_func.rb92
-rw-r--r--test/fiddle/test_function.rb12
-rw-r--r--test/fiddle/test_handle.rb196
-rw-r--r--test/fiddle/test_import.rb149
-rw-r--r--test/fiddle/test_pointer.rb238
-rw-r--r--test/fileutils/clobber.rb2
-rw-r--r--test/fileutils/fileasserts.rb85
-rw-r--r--test/fileutils/test_dryrun.rb20
-rw-r--r--test/fileutils/test_fileutils.rb157
-rw-r--r--test/fileutils/test_nowrite.rb21
-rw-r--r--test/fileutils/test_verbose.rb18
-rw-r--r--test/fileutils/visibility_tests.rb41
-rw-r--r--test/gdbm/test_gdbm.rb61
-rw-r--r--test/iconv/test_basic.rb59
-rw-r--r--test/iconv/test_option.rb43
-rw-r--r--test/iconv/test_partial.rb41
-rw-r--r--test/iconv/utils.rb26
-rw-r--r--test/io/console/test_io_console.rb294
-rw-r--r--test/io/nonblock/test_flush.rb1
-rw-r--r--test/io/wait/test_io_wait.rb50
-rw-r--r--test/irb/test_completion.rb22
-rw-r--r--test/json/fixtures/fail18.json2
-rw-r--r--test/json/setup_variant.rb11
-rwxr-xr-xtest/json/test_json.rb264
-rwxr-xr-xtest/json/test_json_addition.rb98
-rw-r--r--test/json/test_json_encoding.rb25
-rwxr-xr-xtest/json/test_json_fixtures.rb21
-rwxr-xr-xtest/json/test_json_generate.rb193
-rw-r--r--test/json/test_json_generic_object.rb60
-rwxr-xr-xtest/json/test_json_rails.rb152
-rw-r--r--test/json/test_json_string_matching.rb39
-rwxr-xr-xtest/json/test_json_unicode.rb10
-rw-r--r--test/logger/test_logger.rb40
-rw-r--r--test/matrix/test_matrix.rb1
-rw-r--r--test/matrix/test_vector.rb15
-rw-r--r--test/minitest/metametameta.rb74
-rw-r--r--test/minitest/test_mini_mock.rb89
-rw-r--r--test/minitest/test_mini_spec.rb172
-rw-r--r--test/minitest/test_mini_test.rb1040
-rw-r--r--test/minitest/test_minitest_benchmark.rb119
-rw-r--r--test/minitest/test_minitest_mock.rb377
-rw-r--r--test/minitest/test_minitest_spec.rb738
-rw-r--r--test/minitest/test_minitest_unit.rb1701
-rw-r--r--test/misc/test_ruby_mode.rb181
-rw-r--r--test/mkmf/base.rb114
-rw-r--r--test/mkmf/test_constant.rb37
-rw-r--r--test/mkmf/test_convertible.rb34
-rw-r--r--test/mkmf/test_find_executable.rb44
-rw-r--r--test/mkmf/test_flags.rb35
-rw-r--r--test/mkmf/test_framework.rb46
-rw-r--r--test/mkmf/test_have_func.rb14
-rw-r--r--test/mkmf/test_have_library.rb53
-rw-r--r--test/mkmf/test_have_macro.rb35
-rw-r--r--test/mkmf/test_libs.rb86
-rw-r--r--test/mkmf/test_signedness.rb29
-rw-r--r--test/mkmf/test_sizeof.rb39
-rw-r--r--test/net/ftp/test_buffered_socket.rb40
-rw-r--r--test/net/ftp/test_ftp.rb813
-rw-r--r--test/net/http/test_buffered_io.rb17
-rw-r--r--test/net/http/test_http.rb638
-rw-r--r--test/net/http/test_http_request.rb79
-rw-r--r--test/net/http/test_httpheader.rb27
-rw-r--r--test/net/http/test_httpresponse.rb226
-rw-r--r--test/net/http/test_httpresponses.rb24
-rw-r--r--test/net/http/test_https.rb49
-rw-r--r--test/net/http/test_https_proxy.rb6
-rw-r--r--test/net/http/utils.rb22
-rw-r--r--test/net/imap/Makefile15
-rw-r--r--test/net/imap/cacert.pem84
-rw-r--r--test/net/imap/server.crt65
-rw-r--r--test/net/imap/test_imap.rb148
-rw-r--r--test/net/imap/test_imap_response_parser.rb195
-rw-r--r--test/net/protocol/test_protocol.rb28
-rw-r--r--test/net/smtp/test_smtp.rb29
-rw-r--r--test/nkf/test_nkf.rb2
-rw-r--r--test/objspace/test_objspace.rb69
-rw-r--r--test/open-uri/test_open-uri.rb84
-rw-r--r--test/open-uri/test_ssl.rb43
-rw-r--r--test/openssl/test_asn1.rb410
-rw-r--r--test/openssl/test_bn.rb21
-rw-r--r--test/openssl/test_buffering.rb37
-rw-r--r--test/openssl/test_cipher.rb170
-rw-r--r--test/openssl/test_config.rb295
-rw-r--r--test/openssl/test_digest.rb50
-rw-r--r--test/openssl/test_ec.rb128
-rw-r--r--test/openssl/test_engine.rb75
-rw-r--r--test/openssl/test_fips.rb14
-rw-r--r--test/openssl/test_hmac.rb6
-rw-r--r--test/openssl/test_ns_spki.rb12
-rw-r--r--test/openssl/test_ocsp.rb47
-rw-r--r--test/openssl/test_pair.rb88
-rw-r--r--test/openssl/test_pkcs12.rb209
-rw-r--r--test/openssl/test_pkcs5.rb97
-rw-r--r--test/openssl/test_pkcs7.rb22
-rw-r--r--test/openssl/test_pkey_dh.rb82
-rw-r--r--test/openssl/test_pkey_dsa.rb112
-rw-r--r--test/openssl/test_pkey_ec.rb211
-rw-r--r--test/openssl/test_pkey_rsa.rb245
-rw-r--r--test/openssl/test_ssl.rb834
-rw-r--r--test/openssl/test_ssl_session.rb367
-rw-r--r--test/openssl/test_x509cert.rb69
-rw-r--r--test/openssl/test_x509crl.rb16
-rw-r--r--test/openssl/test_x509ext.rb7
-rw-r--r--test/openssl/test_x509name.rb115
-rw-r--r--test/openssl/test_x509req.rb28
-rw-r--r--test/openssl/test_x509store.rb29
-rw-r--r--test/openssl/utils.rb200
-rw-r--r--test/optparse/test_acceptable.rb195
-rw-r--r--test/optparse/test_autoconf.rb63
-rw-r--r--test/optparse/test_bash_completion.rb42
-rw-r--r--test/optparse/test_getopts.rb4
-rw-r--r--test/optparse/test_optarg.rb2
-rw-r--r--test/optparse/test_optparse.rb17
-rw-r--r--test/optparse/test_placearg.rb3
-rw-r--r--test/optparse/test_reqarg.rb2
-rw-r--r--test/optparse/test_summary.rb25
-rw-r--r--test/optparse/test_zsh_completion.rb22
-rw-r--r--test/ostruct/test_ostruct.rb66
-rw-r--r--test/pathname/test_pathname.rb139
-rw-r--r--test/profile_test_all.rb52
-rw-r--r--test/psych/handlers/test_recorder.rb25
-rw-r--r--test/psych/helper.rb11
-rw-r--r--test/psych/json/test_stream.rb109
-rw-r--r--test/psych/nodes/test_enumerable.rb43
-rw-r--r--test/psych/test_alias_and_anchor.rb72
-rw-r--r--test/psych/test_array.rb40
-rw-r--r--test/psych/test_boolean.rb2
-rw-r--r--test/psych/test_class.rb29
-rw-r--r--test/psych/test_coder.rb13
-rw-r--r--test/psych/test_date_time.rb8
-rw-r--r--test/psych/test_deprecated.rb4
-rw-r--r--test/psych/test_document.rb10
-rw-r--r--test/psych/test_emitter.rb9
-rw-r--r--test/psych/test_encoding.rb163
-rw-r--r--test/psych/test_engine_manager.rb12
-rw-r--r--test/psych/test_exception.rb115
-rw-r--r--test/psych/test_hash.rb16
-rw-r--r--test/psych/test_json_tree.rb13
-rw-r--r--test/psych/test_merge_keys.rb62
-rw-r--r--test/psych/test_nil.rb18
-rw-r--r--test/psych/test_null.rb4
-rw-r--r--test/psych/test_numeric.rb45
-rw-r--r--test/psych/test_object.rb19
-rw-r--r--test/psych/test_object_references.rb67
-rw-r--r--test/psych/test_omap.rb9
-rw-r--r--test/psych/test_parser.rb166
-rw-r--r--test/psych/test_psych.rb40
-rw-r--r--test/psych/test_scalar.rb2
-rw-r--r--test/psych/test_scalar_scanner.rb39
-rw-r--r--test/psych/test_serialize_subclasses.rb2
-rw-r--r--test/psych/test_set.rb2
-rw-r--r--test/psych/test_stream.rb93
-rw-r--r--test/psych/test_string.rb71
-rw-r--r--test/psych/test_struct.rb8
-rw-r--r--test/psych/test_symbol.rb2
-rw-r--r--test/psych/test_tainted.rb6
-rw-r--r--test/psych/test_to_yaml_properties.rb2
-rw-r--r--test/psych/test_tree_builder.rb2
-rw-r--r--test/psych/test_yaml.rb37
-rw-r--r--test/psych/test_yamldbm.rb197
-rw-r--r--test/psych/test_yamlstore.rb87
-rw-r--r--test/psych/visitors/test_depth_first.rb49
-rw-r--r--test/psych/visitors/test_emitter.rb38
-rw-r--r--test/psych/visitors/test_to_ruby.rb3
-rw-r--r--test/psych/visitors/test_yaml_tree.rb26
-rw-r--r--test/rake/capture_stdout.rb24
-rw-r--r--test/rake/check_expansion.rb5
-rw-r--r--test/rake/check_no_expansion.rb5
-rw-r--r--test/rake/contrib/test_ftp.rb55
-rw-r--r--test/rake/data/chains/Rakefile15
-rw-r--r--test/rake/data/default/Rakefile19
-rw-r--r--test/rake/data/dryrun/Rakefile22
-rw-r--r--test/rake/data/file_creation_task/Rakefile33
-rw-r--r--test/rake/data/imports/Rakefile19
-rw-r--r--test/rake/data/imports/deps.mf1
-rw-r--r--test/rake/data/multidesc/Rakefile17
-rw-r--r--test/rake/data/namespace/Rakefile57
-rw-r--r--test/rake/data/rakelib/test1.rake3
-rw-r--r--test/rake/data/rbext/rakefile.rb3
-rw-r--r--test/rake/data/sample.mf14
-rw-r--r--test/rake/data/statusreturn/Rakefile8
-rw-r--r--test/rake/data/unittest/Rakefile1
-rw-r--r--test/rake/data/unittest/subdir/.gitignore2
-rw-r--r--test/rake/file_creation.rb34
-rw-r--r--test/rake/filecreation.rb30
-rw-r--r--test/rake/helper.rb562
-rw-r--r--test/rake/in_environment.rb30
-rw-r--r--test/rake/rake_test_setup.rb9
-rw-r--r--test/rake/reqfile.rb3
-rw-r--r--test/rake/reqfile2.rb3
-rw-r--r--test/rake/reqfile3.rb3
-rwxr-xr-xtest/rake/shellcommand.rb3
-rw-r--r--test/rake/test_application.rb687
-rw-r--r--test/rake/test_clean.rb12
-rw-r--r--test/rake/test_definitions.rb81
-rw-r--r--test/rake/test_earlytime.rb33
-rw-r--r--test/rake/test_extension.rb61
-rw-r--r--test/rake/test_file_creation_task.rb60
-rw-r--r--test/rake/test_file_task.rb139
-rw-r--r--test/rake/test_filelist.rb625
-rw-r--r--test/rake/test_fileutils.rb262
-rw-r--r--test/rake/test_invocation_chain.rb75
-rw-r--r--test/rake/test_makefile_loader.rb24
-rw-r--r--test/rake/test_multitask.rb43
-rw-r--r--test/rake/test_namespace.rb44
-rw-r--r--test/rake/test_package_task.rb115
-rw-r--r--test/rake/test_pathmap.rb207
-rw-r--r--test/rake/test_private_reader.rb42
-rw-r--r--test/rake/test_pseudo_status.rb23
-rw-r--r--test/rake/test_rake.rb11
-rw-r--r--test/rake/test_rake_application.rb531
-rw-r--r--test/rake/test_rake_application_options.rb460
-rw-r--r--test/rake/test_rake_backtrace.rb89
-rw-r--r--test/rake/test_rake_clean.rb14
-rw-r--r--test/rake/test_rake_definitions.rb80
-rw-r--r--test/rake/test_rake_directory_task.rb57
-rw-r--r--test/rake/test_rake_dsl.rb77
-rw-r--r--test/rake/test_rake_early_time.rb31
-rw-r--r--test/rake/test_rake_extension.rb59
-rw-r--r--test/rake/test_rake_file_creation_task.rb56
-rw-r--r--test/rake/test_rake_file_list.rb628
-rw-r--r--test/rake/test_rake_file_list_path_map.rb8
-rw-r--r--test/rake/test_rake_file_task.rb122
-rw-r--r--test/rake/test_rake_file_utils.rb305
-rw-r--r--test/rake/test_rake_ftp_file.rb59
-rw-r--r--test/rake/test_rake_functional.rb496
-rw-r--r--test/rake/test_rake_invocation_chain.rb52
-rw-r--r--test/rake/test_rake_makefile_loader.rb44
-rw-r--r--test/rake/test_rake_multi_task.rb59
-rw-r--r--test/rake/test_rake_name_space.rb43
-rw-r--r--test/rake/test_rake_package_task.rb79
-rw-r--r--test/rake/test_rake_path_map.rb157
-rw-r--r--test/rake/test_rake_path_map_explode.rb34
-rw-r--r--test/rake/test_rake_path_map_partial.rb18
-rw-r--r--test/rake/test_rake_pseudo_status.rb21
-rw-r--r--test/rake/test_rake_rake_test_loader.rb21
-rw-r--r--test/rake/test_rake_rdoc_task.rb83
-rw-r--r--test/rake/test_rake_reduce_compat.rb65
-rw-r--r--test/rake/test_rake_require.rb40
-rw-r--r--test/rake/test_rake_rules.rb327
-rw-r--r--test/rake/test_rake_task.rb316
-rw-r--r--test/rake/test_rake_task_argument_parsing.rb103
-rw-r--r--test/rake/test_rake_task_arguments.rb88
-rw-r--r--test/rake/test_rake_task_lib.rb9
-rw-r--r--test/rake/test_rake_task_manager.rb157
-rw-r--r--test/rake/test_rake_task_manager_argument_resolution.rb36
-rw-r--r--test/rake/test_rake_task_with_arguments.rb181
-rw-r--r--test/rake/test_rake_test_task.rb120
-rw-r--r--test/rake/test_rake_thread_pool.rb123
-rw-r--r--test/rake/test_rake_top_level_functions.rb111
-rw-r--r--test/rake/test_rake_win32.rb72
-rw-r--r--test/rake/test_rdoc_task.rb84
-rw-r--r--test/rake/test_require.rb32
-rw-r--r--test/rake/test_rules.rb352
-rw-r--r--test/rake/test_sys.rb20
-rw-r--r--test/rake/test_task_arguments.rb92
-rw-r--r--test/rake/test_task_manager.rb181
-rw-r--r--test/rake/test_tasklib.rb10
-rw-r--r--test/rake/test_tasks.rb369
-rw-r--r--test/rake/test_test_task.rb81
-rw-r--r--test/rake/test_thread_history_display.rb91
-rw-r--r--test/rake/test_top_level_functions.rb91
-rw-r--r--test/rake/test_trace_output.rb43
-rw-r--r--test/rake/test_win32.rb45
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Amps and angle encoding.text21
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Auto links.text13
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Backslash escapes.text120
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Blockquotes with code blocks.text11
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Code Blocks.text14
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Code Spans.text6
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Hard-wrapped paragraphs with list-like lines.text8
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Horizontal rules.text67
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Inline HTML (Advanced).text15
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Inline HTML (Simple).text69
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Inline HTML comments.text13
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Links, inline style.text12
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Links, reference style.text71
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Links, shortcut references.text20
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Literal quotes in titles.text7
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Markdown Documentation - Basics.text306
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Markdown Documentation - Syntax.text888
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Nested blockquotes.text5
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Ordered and unordered lists.text131
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Strong and em together.text7
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Tabs.text21
-rw-r--r--test/rdoc/MarkdownTest_1.0.3/Tidyness.text5
-rw-r--r--test/rdoc/test.ja.large.rdoc3
-rw-r--r--test/rdoc/test.ja.largedoc3
-rw-r--r--test/rdoc/test.ja.rdoc2
-rw-r--r--test/rdoc/test_attribute_manager.rb81
-rw-r--r--test/rdoc/test_rdoc_alias.rb13
-rw-r--r--test/rdoc/test_rdoc_any_method.rb259
-rw-r--r--test/rdoc/test_rdoc_attr.rb166
-rw-r--r--test/rdoc/test_rdoc_class_module.rb1401
-rw-r--r--test/rdoc/test_rdoc_code_object.rb225
-rw-r--r--test/rdoc/test_rdoc_comment.rb504
-rw-r--r--test/rdoc/test_rdoc_constant.rb136
-rw-r--r--test/rdoc/test_rdoc_context.rb631
-rw-r--r--test/rdoc/test_rdoc_context_section.rb137
-rw-r--r--test/rdoc/test_rdoc_cross_reference.rb191
-rw-r--r--test/rdoc/test_rdoc_encoding.rb204
-rw-r--r--test/rdoc/test_rdoc_extend.rb94
-rw-r--r--test/rdoc/test_rdoc_generator_darkfish.rb187
-rw-r--r--test/rdoc/test_rdoc_generator_json_index.rb275
-rw-r--r--test/rdoc/test_rdoc_generator_markup.rb59
-rw-r--r--test/rdoc/test_rdoc_generator_ri.rb62
-rw-r--r--test/rdoc/test_rdoc_include.rb91
-rw-r--r--test/rdoc/test_rdoc_markdown.rb977
-rw-r--r--test/rdoc/test_rdoc_markdown_test.rb1891
-rw-r--r--test/rdoc/test_rdoc_markup.rb70
-rw-r--r--test/rdoc/test_rdoc_markup_attribute_manager.rb17
-rw-r--r--test/rdoc/test_rdoc_markup_attributes.rb39
-rw-r--r--test/rdoc/test_rdoc_markup_document.rb175
-rw-r--r--test/rdoc/test_rdoc_markup_formatter.rb149
-rw-r--r--test/rdoc/test_rdoc_markup_hard_break.rb31
-rw-r--r--test/rdoc/test_rdoc_markup_heading.rb20
-rw-r--r--test/rdoc/test_rdoc_markup_include.rb19
-rw-r--r--test/rdoc/test_rdoc_markup_indented_paragraph.rb53
-rw-r--r--test/rdoc/test_rdoc_markup_paragraph.rb33
-rw-r--r--test/rdoc/test_rdoc_markup_parser.rb680
-rw-r--r--test/rdoc/test_rdoc_markup_pre_process.rb430
-rw-r--r--test/rdoc/test_rdoc_markup_raw.rb14
-rw-r--r--test/rdoc/test_rdoc_markup_to_ansi.rb235
-rw-r--r--test/rdoc/test_rdoc_markup_to_bs.rb221
-rw-r--r--test/rdoc/test_rdoc_markup_to_html.rb465
-rw-r--r--test/rdoc/test_rdoc_markup_to_html_crossref.rb250
-rw-r--r--test/rdoc/test_rdoc_markup_to_html_snippet.rb710
-rw-r--r--test/rdoc/test_rdoc_markup_to_joined_paragraph.rb32
-rw-r--r--test/rdoc/test_rdoc_markup_to_label.rb112
-rw-r--r--test/rdoc/test_rdoc_markup_to_markdown.rb383
-rw-r--r--test/rdoc/test_rdoc_markup_to_rdoc.rb243
-rw-r--r--test/rdoc/test_rdoc_markup_to_table_of_contents.rb126
-rw-r--r--test/rdoc/test_rdoc_markup_to_tt_only.rb246
-rw-r--r--test/rdoc/test_rdoc_markup_verbatim.rb29
-rw-r--r--test/rdoc/test_rdoc_method_attr.rb155
-rw-r--r--test/rdoc/test_rdoc_normal_class.rb35
-rw-r--r--test/rdoc/test_rdoc_normal_module.rb15
-rw-r--r--test/rdoc/test_rdoc_options.rb601
-rw-r--r--test/rdoc/test_rdoc_parser.rb256
-rw-r--r--test/rdoc/test_rdoc_parser_c.rb1330
-rw-r--r--test/rdoc/test_rdoc_parser_changelog.rb322
-rw-r--r--test/rdoc/test_rdoc_parser_markdown.rb61
-rw-r--r--test/rdoc/test_rdoc_parser_perl.rb73
-rw-r--r--test/rdoc/test_rdoc_parser_rd.rb62
-rw-r--r--test/rdoc/test_rdoc_parser_ruby.rb2201
-rw-r--r--test/rdoc/test_rdoc_parser_simple.rb80
-rw-r--r--test/rdoc/test_rdoc_rd.rb30
-rw-r--r--test/rdoc/test_rdoc_rd_block_parser.rb541
-rw-r--r--test/rdoc/test_rdoc_rd_inline.rb63
-rw-r--r--test/rdoc/test_rdoc_rd_inline_parser.rb178
-rw-r--r--test/rdoc/test_rdoc_rdoc.rb336
-rw-r--r--test/rdoc/test_rdoc_ri_driver.rb847
-rw-r--r--test/rdoc/test_rdoc_ri_paths.rb150
-rw-r--r--test/rdoc/test_rdoc_ri_store.rb309
-rw-r--r--test/rdoc/test_rdoc_ruby_lex.rb291
-rw-r--r--test/rdoc/test_rdoc_ruby_token.rb19
-rw-r--r--test/rdoc/test_rdoc_rubygems_hook.rb254
-rw-r--r--test/rdoc/test_rdoc_servlet.rb467
-rw-r--r--test/rdoc/test_rdoc_single_class.rb12
-rw-r--r--test/rdoc/test_rdoc_stats.rb647
-rw-r--r--test/rdoc/test_rdoc_store.rb1001
-rw-r--r--test/rdoc/test_rdoc_task.rb68
-rw-r--r--test/rdoc/test_rdoc_text.rb447
-rw-r--r--test/rdoc/test_rdoc_token_stream.rb42
-rw-r--r--test/rdoc/test_rdoc_tom_doc.rb492
-rw-r--r--test/rdoc/test_rdoc_top_level.rb264
-rw-r--r--test/rdoc/xref_data.rb22
-rw-r--r--test/rdoc/xref_test_case.rb40
-rw-r--r--test/readline/test_readline.rb279
-rw-r--r--test/readline/test_readline_history.rb8
-rw-r--r--test/resolv/test_addr.rb13
-rw-r--r--test/resolv/test_dns.rb57
-rw-r--r--test/rexml/data/euc.xml592
-rw-r--r--test/rexml/data/testsrc.xml128
-rw-r--r--test/rexml/data/ticket_61.xml8
-rw-r--r--test/rexml/data/xp.tst52
-rw-r--r--test/rexml/test_attributes.rb4
-rw-r--r--test/rexml/test_changing_encoding.rb4
-rw-r--r--test/rexml/test_comment.rb25
-rw-r--r--test/rexml/test_contrib.rb40
-rw-r--r--test/rexml/test_core.rb184
-rw-r--r--test/rexml/test_doctype.rb107
-rw-r--r--test/rexml/test_doctype_mixin.rb67
-rw-r--r--test/rexml/test_document.rb287
-rw-r--r--test/rexml/test_elements.rb32
-rw-r--r--test/rexml/test_encoding.rb28
-rw-r--r--test/rexml/test_encoding_2.rb2
-rw-r--r--test/rexml/test_entity.rb45
-rw-r--r--test/rexml/test_functions.rb2
-rw-r--r--test/rexml/test_functions_number.rb64
-rw-r--r--test/rexml/test_jaxen.rb252
-rw-r--r--test/rexml/test_light.rb12
-rw-r--r--test/rexml/test_lightparser.rb2
-rw-r--r--test/rexml/test_listener.rb6
-rw-r--r--test/rexml/test_namespace.rb38
-rw-r--r--test/rexml/test_notationdecl_mixin.rb6
-rw-r--r--test/rexml/test_notationdecl_parsetest.rb2
-rw-r--r--test/rexml/test_order.rb9
-rw-r--r--test/rexml/test_pullparser.rb12
-rw-r--r--test/rexml/test_sax.rb15
-rw-r--r--test/rexml/test_stream.rb8
-rw-r--r--test/rexml/test_validation_rng.rb6
-rw-r--r--test/rexml/test_xml_declaration.rb34
-rw-r--r--test/rexml/test_xml_declaration_parent_child.rb33
-rw-r--r--test/rexml/test_xpath.rb114
-rw-r--r--test/rexml/test_xpath_attribute_query.rb28
-rw-r--r--test/rexml/test_xpath_msw.rb76
-rw-r--r--test/rexml/test_xpath_pred.rb6
-rw-r--r--test/rexml/test_xpathtext.rb2
-rw-r--r--test/rinda/test_rinda.rb147
-rw-r--r--test/ripper/dummyparser.rb2
-rw-r--r--test/ripper/test_files.rb23
-rw-r--r--test/ripper/test_parser_events.rb114
-rw-r--r--test/ripper/test_ripper.rb49
-rw-r--r--test/ripper/test_scanner_events.rb166
-rw-r--r--test/rss/rss-assertions.rb2
-rw-r--r--test/rss/rss-testcase.rb2
-rw-r--r--test/rss/test_1.0.rb59
-rw-r--r--test/rss/test_2.0.rb59
-rw-r--r--test/rss/test_atom.rb34
-rw-r--r--test/rss/test_dublincore.rb22
-rw-r--r--test/rss/test_maker_2.0.rb8
-rw-r--r--test/rss/test_parser.rb10
-rw-r--r--test/ruby/enc/test_euc_jp.rb2
-rw-r--r--test/ruby/enc/test_euc_kr.rb8
-rw-r--r--test/ruby/enc/test_shift_jis.rb4
-rw-r--r--test/ruby/enc/test_utf16.rb2
-rw-r--r--test/ruby/enc/test_utf32.rb2
-rw-r--r--test/ruby/envutil.rb438
-rw-r--r--test/ruby/lbtest.rb9
-rw-r--r--test/ruby/marshaltestlib.rb47
-rw-r--r--test/ruby/memory_status.rb127
-rw-r--r--test/ruby/test_alias.rb88
-rw-r--r--test/ruby/test_argf.rb150
-rw-r--r--test/ruby/test_arity.rb71
-rw-r--r--test/ruby/test_array.rb358
-rw-r--r--test/ruby/test_autoload.rb149
-rw-r--r--test/ruby/test_backtrace.rb187
-rw-r--r--test/ruby/test_basicinstructions.rb26
-rw-r--r--test/ruby/test_beginendblock.rb62
-rw-r--r--test/ruby/test_bignum.rb318
-rw-r--r--test/ruby/test_call.rb16
-rw-r--r--test/ruby/test_case.rb19
-rw-r--r--test/ruby/test_class.rb136
-rw-r--r--test/ruby/test_comparable.rb14
-rw-r--r--test/ruby/test_complex.rb64
-rw-r--r--test/ruby/test_complex2.rb2
-rw-r--r--test/ruby/test_complexrational.rb4
-rw-r--r--test/ruby/test_const.rb18
-rw-r--r--test/ruby/test_continuation.rb54
-rw-r--r--test/ruby/test_defined.rb123
-rw-r--r--test/ruby/test_dir.rb29
-rw-r--r--test/ruby/test_dir_m17n.rb138
-rw-r--r--test/ruby/test_econv.rb66
-rw-r--r--test/ruby/test_encoding.rb28
-rw-r--r--test/ruby/test_enum.rb38
-rw-r--r--test/ruby/test_enumerator.rb221
-rw-r--r--test/ruby/test_env.rb160
-rw-r--r--test/ruby/test_eval.rb226
-rw-r--r--test/ruby/test_exception.rb320
-rw-r--r--test/ruby/test_fiber.rb169
-rw-r--r--test/ruby/test_file.rb184
-rw-r--r--test/ruby/test_file_exhaustive.rb428
-rw-r--r--test/ruby/test_fixnum.rb69
-rw-r--r--test/ruby/test_flip.rb42
-rw-r--r--test/ruby/test_float.rb190
-rw-r--r--test/ruby/test_fnmatch.rb26
-rw-r--r--test/ruby/test_gc.rb136
-rw-r--r--test/ruby/test_hash.rb317
-rw-r--r--test/ruby/test_ifunless.rb14
-rw-r--r--test/ruby/test_integer.rb43
-rw-r--r--test/ruby/test_io.rb1641
-rw-r--r--test/ruby/test_io_m17n.rb487
-rw-r--r--test/ruby/test_iseq.rb95
-rw-r--r--test/ruby/test_iterator.rb34
-rw-r--r--test/ruby/test_keyword.rb377
-rw-r--r--test/ruby/test_lambda.rb54
-rw-r--r--test/ruby/test_lazy_enumerator.rb487
-rw-r--r--test/ruby/test_literal.rb179
-rw-r--r--test/ruby/test_m17n.rb205
-rw-r--r--test/ruby/test_m17n_comb.rb112
-rw-r--r--test/ruby/test_marshal.rb140
-rw-r--r--test/ruby/test_math.rb5
-rw-r--r--test/ruby/test_method.rb231
-rw-r--r--test/ruby/test_module.rb997
-rw-r--r--test/ruby/test_not.rb12
-rw-r--r--test/ruby/test_notimp.rb4
-rw-r--r--test/ruby/test_numeric.rb115
-rw-r--r--test/ruby/test_object.rb345
-rw-r--r--test/ruby/test_objectspace.rb20
-rw-r--r--test/ruby/test_optimization.rb42
-rw-r--r--test/ruby/test_pack.rb202
-rw-r--r--test/ruby/test_parse.rb163
-rw-r--r--test/ruby/test_path.rb17
-rw-r--r--test/ruby/test_pipe.rb13
-rw-r--r--test/ruby/test_proc.rb443
-rw-r--r--test/ruby/test_process.rb524
-rw-r--r--test/ruby/test_rand.rb133
-rw-r--r--test/ruby/test_range.rb202
-rw-r--r--test/ruby/test_rational.rb61
-rw-r--r--test/ruby/test_refinement.rb1010
-rw-r--r--test/ruby/test_regexp.rb203
-rw-r--r--test/ruby/test_require.rb379
-rw-r--r--test/ruby/test_rubyoptions.rb264
-rw-r--r--test/ruby/test_settracefunc.rb986
-rw-r--r--test/ruby/test_signal.rb108
-rw-r--r--test/ruby/test_sleep.rb4
-rw-r--r--test/ruby/test_sprintf.rb106
-rw-r--r--test/ruby/test_sprintf_comb.rb46
-rw-r--r--test/ruby/test_string.rb352
-rw-r--r--test/ruby/test_stringchar.rb32
-rw-r--r--test/ruby/test_struct.rb181
-rw-r--r--test/ruby/test_super.rb377
-rw-r--r--test/ruby/test_symbol.rb71
-rw-r--r--test/ruby/test_syntax.rb347
-rw-r--r--test/ruby/test_system.rb80
-rw-r--r--test/ruby/test_thread.rb795
-rw-r--r--test/ruby/test_threadgroup.rb55
-rw-r--r--test/ruby/test_time.rb544
-rw-r--r--test/ruby/test_time_tz.rb332
-rw-r--r--test/ruby/test_transcode.rb141
-rw-r--r--test/ruby/test_unicode_escape.rb4
-rw-r--r--test/ruby/test_variable.rb11
-rw-r--r--test/ruby/test_whileuntil.rb3
-rw-r--r--test/ruby/test_yield.rb11
-rw-r--r--test/rubygems/alternate_cert.pem18
-rw-r--r--test/rubygems/alternate_cert_32.pem18
-rw-r--r--test/rubygems/alternate_key.pem27
-rw-r--r--test/rubygems/bad_rake.rb1
-rw-r--r--test/rubygems/ca_cert.pem45
-rw-r--r--test/rubygems/child_cert.pem18
-rw-r--r--test/rubygems/child_cert_32.pem18
-rw-r--r--test/rubygems/child_key.pem27
-rw-r--r--test/rubygems/data/null-type.gemspec.rzbin0 -> 554 bytes-rw-r--r--test/rubygems/expired_cert.pem18
-rw-r--r--test/rubygems/fix_openssl_warnings.rb12
-rw-r--r--test/rubygems/functional.rb92
-rw-r--r--test/rubygems/future_cert.pem18
-rw-r--r--test/rubygems/future_cert_32.pem18
-rw-r--r--test/rubygems/gem_installer_test_case.rb97
-rw-r--r--test/rubygems/gem_package_tar_test_case.rb132
-rw-r--r--test/rubygems/gemutilities.rb588
-rw-r--r--test/rubygems/good_rake.rb1
-rw-r--r--test/rubygems/grandchild_cert.pem18
-rw-r--r--test/rubygems/grandchild_cert_32.pem18
-rw-r--r--test/rubygems/grandchild_key.pem27
-rw-r--r--test/rubygems/invalid_issuer_cert.pem18
-rw-r--r--test/rubygems/invalid_issuer_cert_32.pem18
-rw-r--r--test/rubygems/invalid_key.pem27
-rw-r--r--test/rubygems/invalid_signer_cert.pem18
-rw-r--r--test/rubygems/invalid_signer_cert_32.pem18
-rw-r--r--test/rubygems/invalidchild_cert.pem18
-rw-r--r--test/rubygems/invalidchild_cert_32.pem18
-rw-r--r--test/rubygems/invalidchild_key.pem27
-rw-r--r--test/rubygems/mockgemui.rb56
-rw-r--r--test/rubygems/plugin/exception/rubygems_plugin.rb2
-rw-r--r--test/rubygems/plugin/load/rubygems_plugin.rb4
-rw-r--r--test/rubygems/plugin/standarderror/rubygems_plugin.rb2
-rw-r--r--test/rubygems/private_key.pem50
-rw-r--r--test/rubygems/public_cert.pem34
-rw-r--r--test/rubygems/public_cert_32.pem18
-rw-r--r--test/rubygems/public_key.pem9
-rw-r--r--test/rubygems/rubygems/commands/crash_command.rb2
-rw-r--r--test/rubygems/sff/discover.rb0
-rw-r--r--test/rubygems/simple_gem.rb4
-rw-r--r--test/rubygems/ssl_cert.pem19
-rw-r--r--test/rubygems/ssl_key.pem15
-rw-r--r--test/rubygems/test_bundled_ca.rb59
-rw-r--r--test/rubygems/test_config.rb10
-rw-r--r--test/rubygems/test_deprecate.rb76
-rw-r--r--test/rubygems/test_gem.rb1327
-rw-r--r--test/rubygems/test_gem_activation.rb21
-rw-r--r--test/rubygems/test_gem_available_set.rb106
-rw-r--r--test/rubygems/test_gem_builder.rb27
-rw-r--r--test/rubygems/test_gem_command.rb16
-rw-r--r--test/rubygems/test_gem_command_manager.rb94
-rw-r--r--test/rubygems/test_gem_commands_build_command.rb62
-rw-r--r--test/rubygems/test_gem_commands_cert_command.rb494
-rw-r--r--test/rubygems/test_gem_commands_check_command.rb54
-rw-r--r--test/rubygems/test_gem_commands_cleanup_command.rb152
-rw-r--r--test/rubygems/test_gem_commands_contents_command.rb78
-rw-r--r--test/rubygems/test_gem_commands_dependency_command.rb53
-rw-r--r--test/rubygems/test_gem_commands_environment_command.rb15
-rw-r--r--test/rubygems/test_gem_commands_fetch_command.rb79
-rw-r--r--test/rubygems/test_gem_commands_generate_index_command.rb93
-rw-r--r--test/rubygems/test_gem_commands_help_command.rb64
-rw-r--r--test/rubygems/test_gem_commands_install_command.rb824
-rw-r--r--test/rubygems/test_gem_commands_list_command.rb9
-rw-r--r--test/rubygems/test_gem_commands_lock_command.rb6
-rw-r--r--test/rubygems/test_gem_commands_mirror.rb32
-rw-r--r--test/rubygems/test_gem_commands_mirror_command.rb60
-rw-r--r--test/rubygems/test_gem_commands_outdated_command.rb28
-rw-r--r--test/rubygems/test_gem_commands_owner_command.rb84
-rw-r--r--test/rubygems/test_gem_commands_pristine_command.rb234
-rw-r--r--test/rubygems/test_gem_commands_push_command.rb165
-rw-r--r--test/rubygems/test_gem_commands_query_command.rb238
-rw-r--r--test/rubygems/test_gem_commands_search_command.rb17
-rw-r--r--test/rubygems/test_gem_commands_server_command.rb4
-rw-r--r--test/rubygems/test_gem_commands_setup_command.rb129
-rw-r--r--test/rubygems/test_gem_commands_sources_command.rb101
-rw-r--r--test/rubygems/test_gem_commands_specification_command.rb168
-rw-r--r--test/rubygems/test_gem_commands_stale_command.rb18
-rw-r--r--test/rubygems/test_gem_commands_uninstall_command.rb144
-rw-r--r--test/rubygems/test_gem_commands_unpack_command.rb97
-rw-r--r--test/rubygems/test_gem_commands_update_command.rb306
-rw-r--r--test/rubygems/test_gem_commands_which_command.rb39
-rw-r--r--test/rubygems/test_gem_commands_yank_command.rb97
-rw-r--r--test/rubygems/test_gem_config_file.rb218
-rw-r--r--test/rubygems/test_gem_dependency.rb132
-rw-r--r--test/rubygems/test_gem_dependency_installer.rb783
-rw-r--r--test/rubygems/test_gem_dependency_list.rb93
-rw-r--r--test/rubygems/test_gem_dependency_resolver.rb327
-rw-r--r--test/rubygems/test_gem_dependency_resolver_api_set.rb80
-rw-r--r--test/rubygems/test_gem_doc_manager.rb31
-rw-r--r--test/rubygems/test_gem_doctor.rb168
-rw-r--r--test/rubygems/test_gem_ext_builder.rb60
-rw-r--r--test/rubygems/test_gem_ext_cmake_builder.rb90
-rw-r--r--test/rubygems/test_gem_ext_configure_builder.rb16
-rw-r--r--test/rubygems/test_gem_ext_ext_conf_builder.rb119
-rw-r--r--test/rubygems/test_gem_ext_rake_builder.rb45
-rw-r--r--test/rubygems/test_gem_format.rb70
-rw-r--r--test/rubygems/test_gem_gem_path_searcher.rb78
-rw-r--r--test/rubygems/test_gem_gem_runner.rb35
-rw-r--r--test/rubygems/test_gem_gemcutter_utilities.rb140
-rw-r--r--test/rubygems/test_gem_indexer.rb494
-rw-r--r--test/rubygems/test_gem_install_update_options.rb103
-rw-r--r--test/rubygems/test_gem_installer.rb1049
-rw-r--r--test/rubygems/test_gem_local_remote_options.rb29
-rw-r--r--test/rubygems/test_gem_name_tuple.rb15
-rw-r--r--test/rubygems/test_gem_package.rb636
-rw-r--r--test/rubygems/test_gem_package_old.rb81
-rw-r--r--test/rubygems/test_gem_package_tar_header.rb4
-rw-r--r--test/rubygems/test_gem_package_tar_input.rb112
-rw-r--r--test/rubygems/test_gem_package_tar_output.rb97
-rw-r--r--test/rubygems/test_gem_package_tar_reader.rb36
-rw-r--r--test/rubygems/test_gem_package_tar_reader_entry.rb14
-rw-r--r--test/rubygems/test_gem_package_tar_writer.rb87
-rw-r--r--test/rubygems/test_gem_package_task.rb42
-rw-r--r--test/rubygems/test_gem_path_support.rb67
-rw-r--r--test/rubygems/test_gem_platform.rb94
-rw-r--r--test/rubygems/test_gem_rdoc.rb269
-rw-r--r--test/rubygems/test_gem_remote_fetcher.rb559
-rw-r--r--test/rubygems/test_gem_request_set.rb70
-rw-r--r--test/rubygems/test_gem_requirement.rb100
-rw-r--r--test/rubygems/test_gem_security.rb250
-rw-r--r--test/rubygems/test_gem_security_policy.rb488
-rw-r--r--test/rubygems/test_gem_security_signer.rb190
-rw-r--r--test/rubygems/test_gem_security_trust_dir.rb94
-rw-r--r--test/rubygems/test_gem_server.rb285
-rw-r--r--test/rubygems/test_gem_silent_ui.rb111
-rw-r--r--test/rubygems/test_gem_source.rb198
-rw-r--r--test/rubygems/test_gem_source_index.rb461
-rw-r--r--test/rubygems/test_gem_source_list.rb87
-rw-r--r--test/rubygems/test_gem_source_local.rb83
-rw-r--r--test/rubygems/test_gem_source_specific_file.rb33
-rw-r--r--test/rubygems/test_gem_spec_fetcher.rb414
-rw-r--r--test/rubygems/test_gem_specification.rb1221
-rw-r--r--test/rubygems/test_gem_stream_ui.rb120
-rw-r--r--test/rubygems/test_gem_text.rb58
-rw-r--r--test/rubygems/test_gem_uninstaller.rb331
-rw-r--r--test/rubygems/test_gem_validator.rb61
-rw-r--r--test/rubygems/test_gem_version.rb87
-rw-r--r--test/rubygems/test_gem_version_option.rb4
-rw-r--r--test/rubygems/test_kernel.rb20
-rw-r--r--test/rubygems/test_require.rb215
-rw-r--r--test/rubygems/wrong_key_cert.pem18
-rw-r--r--test/rubygems/wrong_key_cert_32.pem18
-rw-r--r--test/runner.rb32
-rw-r--r--test/scanf/test_scanf.rb17
-rw-r--r--test/socket/test_addrinfo.rb41
-rw-r--r--test/socket/test_socket.rb225
-rw-r--r--test/socket/test_unix.rb126
-rw-r--r--test/stringio/test_stringio.rb88
-rw-r--r--test/strscan/test_stringscanner.rb12
-rw-r--r--test/syck/test_array.rb18
-rw-r--r--test/syck/test_boolean.rb37
-rw-r--r--test/syck/test_class.rb18
-rw-r--r--test/syck/test_engine_manager.rb3
-rw-r--r--test/syck/test_exception.rb46
-rw-r--r--test/syck/test_hash.rb29
-rw-r--r--test/syck/test_null.rb20
-rw-r--r--test/syck/test_omap.rb56
-rw-r--r--test/syck/test_set.rb31
-rw-r--r--test/syck/test_string.rb45
-rw-r--r--test/syck/test_struct.rb42
-rw-r--r--test/syck/test_symbol.rb22
-rw-r--r--test/syck/test_yaml.rb1413
-rw-r--r--test/syck/test_yaml_properties.rb64
-rw-r--r--test/syck/test_yamlstore.rb76
-rw-r--r--test/syslog/test_syslog_logger.rb522
-rw-r--r--test/test_abbrev.rb54
-rw-r--r--test/test_cmath.rb16
-rw-r--r--test/test_curses.rb63
-rw-r--r--test/test_delegate.rb7
-rw-r--r--test/test_mathn.rb106
-rw-r--r--test/test_mutex_m.rb26
-rw-r--r--test/test_pp.rb5
-rw-r--r--test/test_prime.rb2
-rw-r--r--test/test_pstore.rb42
-rw-r--r--test/test_pty.rb93
-rw-r--r--test/test_rbconfig.rb53
-rw-r--r--test/test_securerandom.rb185
-rw-r--r--test/test_set.rb641
-rw-r--r--test/test_shellwords.rb22
-rw-r--r--test/test_syslog.rb29
-rw-r--r--test/test_tempfile.rb31
-rw-r--r--test/test_time.rb10
-rw-r--r--test/test_timeout.rb12
-rw-r--r--test/test_tmpdir.rb33
-rw-r--r--test/test_tracer.rb51
-rw-r--r--test/test_weakref.rb56
-rw-r--r--test/testunit/test4test_hideskip.rb7
-rw-r--r--test/testunit/test4test_redefinition.rb11
-rw-r--r--test/testunit/test4test_sorting.rb15
-rw-r--r--test/testunit/test_hideskip.rb27
-rw-r--r--test/testunit/test_parallel.rb190
-rw-r--r--test/testunit/test_rake_integration.rb35
-rw-r--r--test/testunit/test_redefinition.rb13
-rw-r--r--test/testunit/test_sorting.rb17
-rw-r--r--test/testunit/tests_for_parallel/ptest_first.rb7
-rw-r--r--test/testunit/tests_for_parallel/ptest_forth.rb29
-rw-r--r--test/testunit/tests_for_parallel/ptest_second.rb11
-rw-r--r--test/testunit/tests_for_parallel/ptest_third.rb10
-rw-r--r--test/testunit/tests_for_parallel/runner.rb10
-rw-r--r--test/thread/test_cv.rb191
-rw-r--r--test/thread/test_queue.rb142
-rw-r--r--test/thread/test_sync.rb57
-rw-r--r--test/uri/test_common.rb23
-rw-r--r--test/uri/test_ftp.rb4
-rw-r--r--test/uri/test_generic.rb91
-rw-r--r--test/uri/test_http.rb1
-rw-r--r--test/uri/test_ldap.rb2
-rw-r--r--test/uri/test_mailto.rb10
-rw-r--r--test/webrick/test_cgi.rb15
-rw-r--r--test/webrick/test_cookie.rb27
-rw-r--r--test/webrick/test_filehandler.rb23
-rw-r--r--test/webrick/test_htmlutils.rb20
-rw-r--r--test/webrick/test_httpauth.rb87
-rw-r--r--test/webrick/test_httpproxy.rb11
-rw-r--r--test/webrick/test_httprequest.rb64
-rw-r--r--test/webrick/test_httpresponse.rb49
-rw-r--r--test/webrick/test_httpserver.rb115
-rw-r--r--test/webrick/test_httputils.rb4
-rw-r--r--test/webrick/test_server.rb34
-rw-r--r--test/webrick/utils.rb8
-rw-r--r--test/win32ole/test_err_in_callback.rb41
-rw-r--r--test/win32ole/test_folderitem2_invokeverb.rb64
-rw-r--r--test/win32ole/test_thread.rb25
-rw-r--r--test/win32ole/test_win32ole.rb11
-rw-r--r--test/win32ole/test_win32ole_event.rb12
-rw-r--r--test/win32ole/test_win32ole_method.rb2
-rw-r--r--test/win32ole/test_win32ole_type.rb2
-rw-r--r--test/win32ole/test_win32ole_variant.rb57
-rw-r--r--test/win32ole/test_win32ole_variant_outarg.rb13
-rw-r--r--test/with_different_ofs.rb17
-rw-r--r--test/xmlrpc/data/blog.xml18
-rw-r--r--test/xmlrpc/htpasswd2
-rw-r--r--test/xmlrpc/test_client.rb293
-rw-r--r--test/xmlrpc/test_marshal.rb1
-rw-r--r--test/xmlrpc/test_parser.rb6
-rw-r--r--test/xmlrpc/test_webrick_server.rb44
-rw-r--r--test/xmlrpc/webrick_testing.rb10
-rw-r--r--test/zlib/test_zlib.rb630
-rw-r--r--thread.c3032
-rw-r--r--thread_pthread.c1083
-rw-r--r--thread_pthread.h33
-rw-r--r--thread_win32.c434
-rw-r--r--thread_win32.h16
-rw-r--r--time.c951
-rw-r--r--[-rwxr-xr-x]tool/asm_parse.rb6
-rwxr-xr-xtool/change_maker.rb32
-rw-r--r--[-rwxr-xr-x]tool/compile_prelude.rb10
-rwxr-xr-xtool/config.guess425
-rwxr-xr-xtool/config.sub209
-rwxr-xr-xtool/enc-unicode.rb143
-rw-r--r--[-rwxr-xr-x]tool/eval.rb2
-rwxr-xr-xtool/file2lastrev.rb106
-rwxr-xr-xtool/gen_dummy_probes.rb30
-rw-r--r--[-rwxr-xr-x]tool/generic_erb.rb8
-rwxr-xr-xtool/id2token.rb24
-rw-r--r--tool/install-sh2
-rwxr-xr-xtool/instruction.rb120
-rwxr-xr-xtool/make-snapshot65
-rwxr-xr-xtool/mdoc2man.rb6
-rwxr-xr-xtool/merger.rb242
-rwxr-xr-xtool/mkconfig.rb106
-rwxr-xr-xtool/mkrunnable.rb96
-rwxr-xr-xtool/node_name.rb8
-rw-r--r--[-rwxr-xr-x]tool/parse.rb0
-rwxr-xr-xtool/rbinstall.rb346
-rwxr-xr-xtool/rmdirs2
-rwxr-xr-xtool/rubytest.rb5
-rwxr-xr-xtool/runruby.rb20
-rwxr-xr-xtool/strip-rdoc.rb2
-rw-r--r--[-rwxr-xr-x]tool/transcode-tblgen.rb41
-rwxr-xr-xtool/update-deps139
-rw-r--r--tool/vcs.rb114
-rw-r--r--tool/vpath.rb82
-rw-r--r--[-rwxr-xr-x]tool/vtlh.rb0
-rwxr-xr-xtool/ytab.sed6
-rw-r--r--transcode.c536
-rw-r--r--transcode_data.h22
-rw-r--r--util.c444
-rw-r--r--variable.c1034
-rw-r--r--version.c73
-rw-r--r--version.h23
-rw-r--r--vm.c1334
-rw-r--r--vm_backtrace.c1206
-rw-r--r--vm_core.h617
-rw-r--r--vm_debug.h41
-rw-r--r--vm_dump.c598
-rw-r--r--vm_eval.c990
-rw-r--r--vm_exec.c57
-rw-r--r--vm_exec.h33
-rw-r--r--vm_insnhelper.c2820
-rw-r--r--vm_insnhelper.h150
-rw-r--r--vm_method.c728
-rw-r--r--vm_opts.h9
-rw-r--r--vm_trace.c1351
-rw-r--r--vsnprintf.c181
-rw-r--r--win32/Makefile.sub444
-rw-r--r--win32/README.win3228
-rwxr-xr-xwin32/configure.bat73
-rw-r--r--win32/dir.h16
-rw-r--r--win32/file.c717
-rwxr-xr-xwin32/makedirs.bat3
-rwxr-xr-xwin32/mkexports.rb25
-rwxr-xr-xwin32/rm.bat5
-rwxr-xr-xwin32/rmall.bat6
-rw-r--r--win32/rtname.cmd18
-rw-r--r--win32/setup.mak138
-rw-r--r--win32/stub.c42
-rw-r--r--win32/win32.c2476
2654 files changed, 582815 insertions, 225003 deletions
diff --git a/.cvsignore b/.cvsignore
deleted file mode 100644
index 76c9bc0b78..0000000000
--- a/.cvsignore
+++ /dev/null
@@ -1,52 +0,0 @@
-*.bak
-*.orig
-*.rej
-*.sav
-*~
-.*.list
-.*.time
-.ccmalloc
-.ppack
-.ext
-.git
-.svn
-.pc
-COPYING.LIB
-ChangeLog.pre-alpha
-ChangeLog.pre1_1
-ChangeLog-1.8.0
-Makefile
-README.fat-patch
-README.v6
-README.atheos
-archive
-autom4te*.cache
-automake
-beos
-config.cache
-config.h
-config.h.in
-config.log
-config.status
-configure
-libruby.so.*
-miniruby
-newdate.rb
-newver.rb
-parse.c
-patches
-patches-master
-pitest.rb
-ppack
-preview
-rbconfig.rb
-rename2.h
-repack
-riscos
-rubicon
-ruby
-ruby-man.rd.gz
-tmp
-web
-y.output
-y.tab.c
diff --git a/.document b/.document
index 8a05d61beb..9a5067bc52 100644
--- a/.document
+++ b/.document
@@ -10,13 +10,19 @@
prelude.rb
# the lib/ directory (which has its own .document file)
-
lib
-
# and some of the ext/ directory (which has its own .document file)
-
ext
# rdoc files
-doc/*.rdoc
+ChangeLog
+
+NEWS
+
+README
+README.EXT
+README.EXT.ja
+README.ja
+
+doc
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000000..67abf4b978
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,16 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+tab_width = 8
+indent_style = tab
+indent_size = 4
+
+[**.bat]
+end_of_line = crlf
+
+[**.rb]
+indent_style = space
+indent_size = 2
diff --git a/.gdbinit b/.gdbinit
index 2a38da8892..c8705a6ccf 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -89,7 +89,11 @@ define rp
echo undef\n
else
if (VALUE)($arg0) & RUBY_IMMEDIATE_MASK
- echo immediate\n
+ if ((VALUE)($arg0) & RUBY_FLONUM_MASK) == RUBY_FLONUM_FLAG
+ printf "FLONUM: %g\n", (double)rb_float_value($arg0)
+ else
+ echo immediate\n
+ end
else
set $flags = ((struct RBasic*)($arg0))->flags
if ($flags & RUBY_T_MASK) == RUBY_T_NONE
@@ -106,15 +110,15 @@ define rp
else
if ($flags & RUBY_T_MASK) == RUBY_T_CLASS
printf "T_CLASS%s: ", ($flags & RUBY_FL_SINGLETON) ? "*" : ""
- print (struct RClass *)($arg0)
+ rp_class $arg0
else
if ($flags & RUBY_T_MASK) == RUBY_T_ICLASS
printf "T_ICLASS: "
- print (struct RClass *)($arg0)
+ rp_class $arg0
else
if ($flags & RUBY_T_MASK) == RUBY_T_MODULE
printf "T_MODULE: "
- print (struct RClass *)($arg0)
+ rp_class $arg0
else
if ($flags & RUBY_T_MASK) == RUBY_T_FLOAT
printf "T_FLOAT: %.16g ", (((struct RFloat*)($arg0))->float_value)
@@ -337,6 +341,19 @@ document rp
Print a Ruby's VALUE.
end
+define rp_class
+ printf "(struct RClass *) %p", (void*)$arg0
+ if ((struct RClass *)($arg0))->ptr.origin != $arg0
+ printf " -> %p", ((struct RClass *)($arg0))->ptr.origin
+ end
+ printf "\n"
+ print *(struct RClass *)($arg0)
+ print *((struct RClass *)($arg0))->ptr
+end
+document rp_class
+ Print the content of a Class/Module.
+end
+
define nd_type
print (enum node_type)((((NODE*)($arg0))->flags&RUBY_NODE_TYPEMASK)>>RUBY_NODE_TYPESHIFT)
end
@@ -625,18 +642,18 @@ define rb_numtable_entry
set $rb_numtable_key = 0
set $rb_numtable_rec = 0
if $rb_numtable_tbl->entries_packed
- set $rb_numtable_p = $rb_numtable_tbl->bins
- while $rb_numtable_p && $rb_numtable_p < $rb_numtable_tbl->bins+$rb_numtable_tbl->num_entries
- if (st_data_t)$rb_numtable_p[0] == $rb_numtable_id
- set $rb_numtable_key = (st_data_t)$rb_numtable_p[0]
- set $rb_numtable_rec = (st_data_t)$rb_numtable_p[1]
+ set $rb_numtable_p = $rb_numtable_tbl->as.packed.bins
+ while $rb_numtable_p && $rb_numtable_p < $rb_numtable_tbl->as.packed.bins+$rb_numtable_tbl->num_entries
+ if $rb_numtable_p.k == $rb_numtable_id
+ set $rb_numtable_key = $rb_numtable_p.k
+ set $rb_numtable_rec = $rb_numtable_p.v
set $rb_numtable_p = 0
else
- set $rb_numtable_p = $rb_numtable_p + 2
+ set $rb_numtable_p = $rb_numtable_p + 1
end
end
else
- set $rb_numtable_p = $rb_numtable_tbl->bins[$rb_numtable_id % $rb_numtable_tbl->num_bins]
+ set $rb_numtable_p = $rb_numtable_tbl->as.big.bins[$rb_numtable_id % $rb_numtable_tbl->num_bins]
while $rb_numtable_p
if $rb_numtable_p->key == $rb_numtable_id
set $rb_numtable_key = $rb_numtable_p->key
@@ -689,12 +706,23 @@ define rb_classname
print *(struct RClass*)($arg0)
end
+define rb_ancestors
+ set $rb_ancestors_module = $arg0
+ while $rb_ancestors_module
+ rp $rb_ancestors_module
+ set $rb_ancestors_module = ((struct RClass *)($rb_ancestors_module))->ptr.super
+ end
+end
+document rb_ancestors
+ Print ancestors.
+end
+
define rb_backtrace
call rb_backtrace()
end
define iseq
- if dummy_gdb_enums.special_consts
+ if ruby_dummy_gdb_enums.special_consts
end
if ($arg0)->type == ISEQ_ELEMENT_NONE
echo [none]\n
@@ -731,8 +759,8 @@ define rb_ps_vm
if $ps_threads->entries_packed
set $ps_threads_i = 0
while $ps_threads_i < $ps_threads->num_entries
- set $ps_threads_key = (st_data_t)$ps_threads->bins[$ps_threads_i * 2]
- set $ps_threads_val = (st_data_t)$ps_threads->bins[$ps_threads_i * 2 + 1]
+ set $ps_threads_key = (st_data_t)$ps_threads->as.packed.entries[$ps_threads_i].key
+ set $ps_threads_val = (st_data_t)$ps_threads->as.packed.entries[$ps_threads_i].val
rb_ps_thread $ps_threads_key $ps_threads_val
set $ps_threads_i = $ps_threads_i + 1
end
@@ -755,3 +783,20 @@ define rb_ps_thread
set $ps_thread_id = $arg1
print $ps_thread_th = (rb_thread_t*)$ps_thread->data
end
+
+# Details: https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/MachineInstructionsTraceWithGDB
+define trace_machine_instructions
+ set logging on
+ set height 0
+ set width 0
+ display/i $pc
+ while !$exit_code
+ info line *$pc
+ si
+ end
+end
+
+define SDR
+ call rb_vmdebug_stack_dump_raw_current()
+end
+
diff --git a/.gitignore b/.gitignore
index 3212d4a1f4..5808bf1082 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,12 @@
-# /
+*-*-*.def
+*.a
*.bak
+*.dSYM
+*.dmyh
*.dylib
+*.elc
*.inc
+*.log
*.o
*.orig
*.rej
@@ -17,7 +22,13 @@
.pc
.ppack
.svn
-/.git
+Makefile
+extconf.h
+y.output
+y.tab.c
+
+# /
+/*.pc
/*_prelude.c
/COPYING.LIB
/ChangeLog-1.8.0
@@ -25,7 +36,6 @@
/ChangeLog.pre1_1
/Doxyfile
/GNUmakefile
-/Makefile
/README.atheos
/README.fat-patch
/README.v6
@@ -38,16 +48,15 @@
/config.cache
/config.h
/config.h.in
-/config.log
/config.status
/config.status.lineno
/configure
+/doc/capi
/enc.mk
-/enc/trans/*.c
/encdb.h
-/ext/win32ole/.document
+/exts.mk
/goruby
-/id.h
+/id.[ch]
/largefile.h
/lex.c
/libruby*.*
@@ -64,6 +73,7 @@
/ppack
/prelude.c
/preview
+/probes.h
/rbconfig.rb
/rename2.h
/repack
@@ -76,9 +86,8 @@
/tmp
/transdb.h
/uncommon.mk
+/verconf.h
/web
-/y.output
-/y.tab.c
/yasmdata.rb
# /benchmark/
@@ -89,338 +98,30 @@
# /ext/
/ext/extinit.c
-/ext/*.log
-
-# /ext/bigdecimal/
-/ext/bigdecimal/*.def
-/ext/bigdecimal/Makefile
-/ext/bigdecimal/bigdecimal.a
-/ext/bigdecimal/extconf.h
-/ext/bigdecimal/mkmf.log
-/ext/bigdecimal/conftest.dSYM
-
-# /ext/continuation/
-/ext/continuation/extconf.h
-/ext/continuation/Makefile
-
-# /ext/coverage/
-/ext/coverage/extconf.h
-/ext/coverage/Makefile
-
-# /ext/curses/
-/ext/curses/*.def
-/ext/curses/Makefile
-/ext/curses/curses.a
-/ext/curses/extconf.h
-/ext/curses/mkmf.log
-/ext/curses/conftest.dSYM
-
-# /ext/dbm/
-/ext/dbm/Makefile
-/ext/dbm/mkmf.log
-/ext/dbm/*.def
-/ext/dbm/extconf.h
-/ext/dbm/conftest.dSYM
-
-# /ext/digest/
-/ext/digest/*.def
-/ext/digest/Makefile
-/ext/digest/digest.a
-/ext/digest/extconf.h
-/ext/digest/mkmf.log
-
-# /ext/digest/bubblebabble/
-/ext/digest/bubblebabble/Makefile
-/ext/digest/bubblebabble/mkmf.log
-/ext/digest/bubblebabble/*.def
-/ext/digest/bubblebabble/extconf.h
-
-# /ext/digest/md5/
-/ext/digest/md5/*.def
-/ext/digest/md5/Makefile
-/ext/digest/md5/extconf.h
-/ext/digest/md5/md5.a
-/ext/digest/md5/mkmf.log
-/ext/digest/md5/conftest.dSYM
-
-# /ext/digest/rmd160/
-/ext/digest/rmd160/*.def
-/ext/digest/rmd160/Makefile
-/ext/digest/rmd160/extconf.h
-/ext/digest/rmd160/mkmf.log
-/ext/digest/rmd160/rmd160.a
-/ext/digest/rmd160/conftest.dSYM
-
-# /ext/digest/sha1/
-/ext/digest/sha1/*.def
-/ext/digest/sha1/Makefile
-/ext/digest/sha1/extconf.h
-/ext/digest/sha1/mkmf.log
-/ext/digest/sha1/sha1.a
-/ext/digest/sha1/conftest.dSYM
-
-# /ext/digest/sha2/
-/ext/digest/sha2/*.def
-/ext/digest/sha2/Makefile
-/ext/digest/sha2/extconf.h
-/ext/digest/sha2/mkmf.log
-/ext/digest/sha2/sha2.a
-
-# /ext/dl/
-/ext/dl/*.def
-/ext/dl/*.func
-/ext/dl/*.o
-/ext/dl/*~
-/ext/dl/Makefile
-/ext/dl/dl.a
-/ext/dl/extconf.h
-/ext/dl/mkmf.log
-/ext/dl/conftest.dSYM
# /ext/dl/callback/
-/ext/dl/callback/*.def
-/ext/dl/callback/*.func
-/ext/dl/callback/*.o
-/ext/dl/callback/*~
-/ext/dl/callback/Makefile
/ext/dl/callback/callback-*.c
-/ext/dl/callback/callback.a
/ext/dl/callback/callback.c
-/ext/dl/callback/extconf.h
-/ext/dl/callback/mkmf.log
-/ext/dl/callback/conftest.dSYM
-
-# /ext/dl/win32/
-/ext/dl/win32/Makefile
-
-# /ext/etc/
-/ext/etc/*.def
-/ext/etc/Makefile
-/ext/etc/etc.a
-/ext/etc/extconf.h
-/ext/etc/mkmf.log
-/ext/etc/conftest.dSYM
-
-# /ext/fcntl/
-/ext/fcntl/*.def
-/ext/fcntl/Makefile
-/ext/fcntl/extconf.h
-/ext/fcntl/fcntl.a
-/ext/fcntl/mkmf.log
-
-# /ext/fiber/
-/ext/fiber/extconf.h
-/ext/fiber/Makefile
-
-# /ext/fiddle/
-/ext/fiddle/Makefile
-/ext/fiddle/extconf.h
-/ext/fiddle/mkmf.log
-/ext/fiddle/fiddle.a
-
-# /ext/gdbm/
-/ext/gdbm/Makefile
-/ext/gdbm/mkmf.log
-/ext/gdbm/*.def
-/ext/gdbm/extconf.h
-/ext/gdbm/conftest.dSYM
-
-# /ext/iconv/
-/ext/iconv/*.def
-/ext/iconv/Makefile
-/ext/iconv/config.charset
-/ext/iconv/extconf.h
-/ext/iconv/iconv.a
-/ext/iconv/iconv.rb
-/ext/iconv/mkmf.log
-/ext/iconv/conftest.dSYM
-
-# /ext/io/nonblock/
-/ext/io/nonblock/Makefile
-/ext/io/nonblock/extconf.h
-/ext/io/nonblock/mkmf.log
-/ext/io/nonblock/nonblock.a
-
-# /ext/io/wait/
-/ext/io/wait/Makefile
-/ext/io/wait/extconf.h
-/ext/io/wait/mkmf.log
-/ext/io/wait/wait.a
-
-# /ext/json/
-/ext/json/Makefile
-/ext/json/extconf.h
-
-# /ext/json/ext/generator/
-/ext/json/ext/generator/*.def
-/ext/json/ext/generator/Makefile
-/ext/json/ext/generator/extconf.h
-/ext/json/ext/generator/mkmf.log
-/ext/json/ext/generator/generator.a
-
-# /ext/json/ext/parser/
-/ext/json/ext/parser/*.def
-/ext/json/ext/parser/Makefile
-/ext/json/ext/parser/extconf.h
-/ext/json/ext/parser/mkmf.log
-/ext/json/ext/parser/parser.a
-
-# /ext/mathn/complex/
-/ext/mathn/complex/Makefile
-/ext/mathn/complex/extconf.h
-
-# /ext/mathn/rational/
-/ext/mathn/rational/Makefile
-/ext/mathn/rational/extconf.h
-
-# /ext/nkf/
-/ext/nkf/*.def
-/ext/nkf/Makefile
-/ext/nkf/extconf.h
-/ext/nkf/mkmf.log
-/ext/nkf/nkf.a
-
-# /ext/objspace/
-/ext/objspace/Makefile
-/ext/objspace/extconf.h
-
-# /ext/openssl/
-/ext/openssl/GNUmakefile
-/ext/openssl/Makefile
-/ext/openssl/dep
-/ext/openssl/extconf.h
-/ext/openssl/mkmf.log
-/ext/openssl/openssl.a
-/ext/openssl/conftest.dSYM
-
-# /ext/psych/
-/ext/psych/Makefile
-/ext/psych/extconf.h
-/ext/psych/mkmf.log
-/ext/psych/psych.a
-
-# /ext/pty/
-/ext/pty/*.def
-/ext/pty/Makefile
-/ext/pty/extconf.h
-/ext/pty/mkmf.log
-/ext/pty/pty.a
-/ext/pty/conftest.dSYM
-
-# /ext/racc/cparse/
-/ext/racc/cparse/*.def
-/ext/racc/cparse/Makefile
-/ext/racc/cparse/cparse.a
-/ext/racc/cparse/extconf.h
-/ext/racc/cparse/mkmf.log
-/ext/racc/cparse/conftest.dSYM
-
-# /ext/readline/
-/ext/readline/*.def
-/ext/readline/Makefile
-/ext/readline/extconf.h
-/ext/readline/mkmf.log
-/ext/readline/readline.a
-/ext/readline/conftest.dSYM
# /ext/ripper/
-/ext/ripper/Makefile
-/ext/ripper/mkmf.log
/ext/ripper/eventids1.c
/ext/ripper/eventids2table.c
/ext/ripper/ripper.*
/ext/ripper/ids1
/ext/ripper/ids2
-/ext/ripper/extconf.h
-/ext/ripper/y.output
-
-# /ext/sdbm/
-/ext/sdbm/*.def
-/ext/sdbm/Makefile
-/ext/sdbm/extconf.h
-/ext/sdbm/mkmf.log
-/ext/sdbm/sdbm.a
# /ext/socket/
-/ext/socket/*.def
-/ext/socket/Makefile
/ext/socket/constants.h
/ext/socket/constdefs.h
/ext/socket/constdefs.c
-/ext/socket/extconf.h
-/ext/socket/mkmf.log
-/ext/socket/socket.a
-/ext/socket/conftest.dSYM
-
-# /ext/stringio/
-/ext/stringio/*.def
-/ext/stringio/Makefile
-/ext/stringio/extconf.h
-/ext/stringio/mkmf.log
-/ext/stringio/stringio.a
-
-# /ext/strscan/
-/ext/strscan/*.def
-/ext/strscan/Makefile
-/ext/strscan/extconf.h
-/ext/strscan/mkmf.log
-/ext/strscan/strscan.a
-
-# /ext/syck/
-/ext/syck/*.def
-/ext/syck/Makefile
-/ext/syck/extconf.h
-/ext/syck/mkmf.log
-/ext/syck/syck.a
-
-# /ext/syslog/
-/ext/syslog/*.def
-/ext/syslog/Makefile
-/ext/syslog/extconf.h
-/ext/syslog/mkmf.log
-/ext/syslog/syslog.a
-/ext/syslog/conftest.dSYM
-
-# /ext/tmpdir/
-/ext/tmpdir/Makefile
-/ext/tmpdir/extconf.h
-/ext/tmpdir/mkmf.log
-/ext/tmpdir/tmpdir.a
# /ext/tk/
-/ext/tk/Makefile
-/ext/tk/*.log
-/ext/tk/*.def
-/ext/tk/conftest.dSYM
-/ext/tk/extconf.h
/ext/tk/config_list
-# /ext/tk/tkutil/
-/ext/tk/tkutil/Makefile
-/ext/tk/tkutil/*.log
-/ext/tk/tkutil/*.def
-/ext/tk/tkutil/conftest.dSYM
-/ext/tk/tkutil/extconf.h
-
-# /ext/win32ole/
-/ext/win32ole/Makefile
-/ext/win32ole/mkmf.log
-/ext/win32ole/*.log
-/ext/win32ole/.document
-
-# /ext/zlib/
-/ext/zlib/*.def
-/ext/zlib/Makefile
-/ext/zlib/extconf.h
-/ext/zlib/mkmf.log
-/ext/zlib/zlib.a
-/ext/zlib/conftest.dSYM
-
-# /lib/rexml/
-
# /spec/
/spec/mspec
/spec/rubyspec
# /win32/
/win32/*.ico
+/win32/.time
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000000..db25c9eb08
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,71 @@
+# Copyright (C) 2011 Urabe, Shyouhei. All rights reserved.
+#
+# This file is a part of the programming language Ruby. Permission is hereby
+# granted, to either redistribute or modify this file, provided that the
+# conditions mentioned in the file COPYING are met. Consult the file for
+# details.
+
+# This is a Travis-CI build configuration file. The list of configurations
+# available is located in
+#
+# http://about.travis-ci.org/docs/user/build-configuration/
+#
+# and as Ruby itself is a project written in C language,
+#
+# http://about.travis-ci.org/docs/user/languages/c/
+#
+# is also a good place to look at.
+
+# Language specification.
+language: c
+
+# Compilers. Several compilers are provided in Travis, so we try them all.
+# The value set here is visible via $CC environment variable.
+compiler:
+ - gcc
+ - clang
+
+# Dependencies. Some header files are missing in a Travis' worker VM, so we
+# have to install them. The "1.9.1" here is OK. It is the most adopted
+# version string for Debian/Ubuntu, and no dependencies have been changed so
+# far since the 1.9.1 release.
+before_install:
+ - "sudo apt-get -qq update"
+ - "sudo apt-get -qq install $CC" # upgrade if any
+install: "sudo apt-get -qq build-dep ruby1.9.1 2>/dev/null"
+
+# Script is where the test runs. Note we just do "make test", not other tests
+# like test-all, test-rubyspec. This is because they take too much time,
+# enough for Travis to shut down the VM as being stalled.
+before_script:
+ - "autoconf"
+ - "./configure --with-gcc=$CC"
+ - "make -sj encs"
+ - "make -sj exts"
+script: "make test OPTS=-v"
+
+# Branch matrix. Not all branches are Travis-ready so we limit branches here.
+branches:
+ only:
+ - trunk
+ - ruby_1_9_3
+
+# We want to be notified when something happens.
+notifications:
+ irc:
+ channels:
+ - "irc.freenode.org#ruby-core"
+ - "irc.freenode.org#ruby-ja"
+ on_success: change # [always|never|change] # default: always
+ on_failure: change # [always|never|change] # default: always
+ template:
+ - "%{message} by @%{author}: See %{build_url}"
+
+# Local Variables:
+# mode: YAML
+# coding: utf-8-unix
+# indent-tabs-mode: nil
+# tab-width: 4
+# fill-column: 79
+# default-justification: full
+# End:
diff --git a/BSDL b/BSDL
new file mode 100644
index 0000000000..a009caefea
--- /dev/null
+++ b/BSDL
@@ -0,0 +1,22 @@
+Copyright (C) 1993-2013 Yukihiro Matsumoto. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
diff --git a/COPYING b/COPYING
index 9043404a83..a1f19ff99d 100644
--- a/COPYING
+++ b/COPYING
@@ -1,6 +1,6 @@
Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
-You can redistribute it and/or modify it under either the terms of the GPL
-version 2 (see the file GPL), or the conditions below:
+You can redistribute it and/or modify it under either the terms of the
+2-clause BSDL (see the file BSDL), or the conditions below:
1. You may make and give away verbatim copies of the source form of the
software without restriction, provided that you duplicate all of the
diff --git a/COPYING.ja b/COPYING.ja
index aa2a163848..e50d01c8d1 100644
--- a/COPYING.ja
+++ b/COPYING.ja
@@ -1,51 +1,51 @@
-$BK\%W%m%0%i%`$O%U%j!<%=%U%H%&%'%"$G$9!%(BGPL (the GNU General
-Public License)$B%P!<%8%g%s(B2$B$^$?$O0J2<$K<($9>r7o$GK\%W%m%0%i%`(B
-$B$r:FG[I[$G$-$^$9!%(BGPL$B$K$D$$$F$O(BGPL$B%U%!%$%k$r;2>H$7$F2<$5$$!%(B
+本プログラムはフリーソフトウェアです.2-clause BSDL
+または以下に示す条件で本プログラムを再配布できます
+2-clause BSDLについてはBSDLファイルを参照して下さい.
- 1. $BJ#@=$O@)8B$J$/<+M3$G$9!%(B
+ 1. 複製は制限なく自由です.
- 2. $B0J2<$N>r7o$N$$$:$l$+$rK~$?$9;~$KK\%W%m%0%i%`$N%=!<%9$r(B
- $B<+M3$KJQ99$G$-$^$9!%(B
+ 2. 以下の条件のいずれかを満たす時に本プログラムのソースを
+ 自由に変更できます.
- (a) $B%M%C%H%K%e!<%:$K%]%9%H$7$?$j!$:n<T$KJQ99$rAwIU$9$k(B
- $B$J$I$NJ}K!$G!$JQ99$r8x3+$9$k!%(B
+ (a) ネットニューズにポストしたり,作者に変更を送付する
+ などの方法で,変更を公開する.
- (b) $BJQ99$7$?K\%W%m%0%i%`$r<+J,$N=jB0$9$kAH?%FbIt$@$1$G(B
- $B;H$&!%(B
+ (b) 変更した本プログラムを自分の所属する組織内部だけで
+ 使う.
- (c) $BJQ99E@$rL@<($7$?$&$(!$%=%U%H%&%'%"$NL>A0$rJQ99$9$k!%(B
- $B$=$N%=%U%H%&%'%"$rG[I[$9$k;~$K$OJQ99A0$NK\%W%m%0%i(B
- $B%`$bF1;~$KG[I[$9$k!%$^$?$OJQ99A0$NK\%W%m%0%i%`$N%=!<(B
- $B%9$NF~<jK!$rL@<($9$k!%(B
+ (c) 変更点を明示したうえ,ソフトウェアの名前を変更する.
+ そのソフトウェアを配布する時には変更前の本プログラ
+ ムも同時に配布する.または変更前の本プログラムのソー
+ スの入手法を明示する.
- (d) $B$=$NB>$NJQ99>r7o$r:n<T$H9g0U$9$k!%(B
+ (d) その他の変更条件を作者と合意する.
- 3. $B0J2<$N>r7o$N$$$:$l$+$rK~$?$9;~$KK\%W%m%0%i%`$r%3%s%Q%$(B
- $B%k$7$?%*%V%8%'%/%H%3!<%I$d<B9T7A<0$G$bG[I[$G$-$^$9!%(B
+ 3. 以下の条件のいずれかを満たす時に本プログラムをコンパイ
+ ルしたオブジェクトコードや実行形式でも配布できます.
- (a) $B%P%$%J%j$r<u$1<h$C$??M$,%=!<%9$rF~<j$G$-$k$h$&$K!$(B
- $B%=!<%9$NF~<jK!$rL@<($9$k!%(B
+ (a) バイナリを受け取った人がソースを入手できるように,
+ ソースの入手法を明示する.
- (b) $B5!3#2DFI$J%=!<%9%3!<%I$rE:IU$9$k!%(B
+ (b) 機械可読なソースコードを添付する.
- (c) $BJQ99$r9T$C$?%P%$%J%j$OL>A0$rJQ99$7$?$&$(!$%*%j%8%J(B
- $B%k$N%=!<%9%3!<%I$NF~<jK!$rL@<($9$k!%(B
+ (c) 変更を行ったバイナリは名前を変更したうえ,オリジナ
+ ルのソースコードの入手法を明示する.
- (d) $B$=$NB>$NG[I[>r7o$r:n<T$H9g0U$9$k!%(B
+ (d) その他の配布条件を作者と合意する.
- 4. $BB>$N%W%m%0%i%`$X$N0zMQ$O$$$+$J$kL\E*$G$"$l<+M3$G$9!%$?(B
- $B$@$7!$K\%W%m%0%i%`$K4^$^$l$kB>$N:n<T$K$h$k%3!<%I$O!$$=(B
- $B$l$>$l$N:n<T$N0U8~$K$h$k@)8B$,2C$($i$l$k>l9g$,$"$j$^$9!%(B
+ 4. 他のプログラムへの引用はいかなる目的であれ自由です.た
+ だし,本プログラムに含まれる他の作者によるコードは,そ
+ れぞれの作者の意向による制限が加えられる場合があります.
- $B$=$l$i%U%!%$%k$N0lMw$H$=$l$>$l$NG[I[>r7o$J$I$KIU$$$F$O(B
- LEGAL$B%U%!%$%k$r;2>H$7$F$/$@$5$$!%(B
+ それらファイルの一覧とそれぞれの配布条件などに付いては
+ LEGALファイルを参照してください.
- 5. $BK\%W%m%0%i%`$X$NF~NO$H$J$k%9%/%j%W%H$*$h$S!$K\%W%m%0%i(B
- $B%`$+$i$N=PNO$N8"Mx$OK\%W%m%0%i%`$N:n<T$G$O$J$/!$$=$l$>(B
- $B$l$NF~=PNO$r@8@.$7$??M$KB0$7$^$9!%$^$?!$K\%W%m%0%i%`$K(B
- $BAH$_9~$^$l$k$?$a$N3HD%%i%$%V%i%j$K$D$$$F$bF1MM$G$9!%(B
+ 5. 本プログラムへの入力となるスクリプトおよび,本プログラ
+ ムからの出力の権利は本プログラムの作者ではなく,それぞ
+ れの入出力を生成した人に属します.また,本プログラムに
+ 組み込まれるための拡張ライブラリについても同様です.
- 6. $BK\%W%m%0%i%`$OL5J]>Z$G$9!%:n<T$OK\%W%m%0%i%`$r%5%]!<%H(B
- $B$9$k0U;V$O$"$j$^$9$,!$%W%m%0%i%`<+?H$N%P%0$"$k$$$OK\%W(B
- $B%m%0%i%`$N<B9T$J$I$+$iH/@8$9$k$$$+$J$kB;32$KBP$7$F$b@U(B
- $BG$$r;}$A$^$;$s!%(B
+ 6. 本プログラムは無保証です.作者は本プログラムをサポート
+ する意志はありますが,プログラム自身のバグあるいは本プ
+ ログラムの実行などから発生するいかなる損害に対しても責
+ 任を持ちません.
diff --git a/ChangeLog b/ChangeLog
index b151bc4b36..02ae4869e0 100644
--- a/ChangeLog
+++ b/ChangeLog