akr, Tanaka Akira

Hash Date Message
3493ea5c7acfeaf187873d4986181a5fda446aa3 2001-12-10 new file.
6c8a7c3592b948692f9895d9ac7db8dc8923d104 2001-12-10 add lib/time.rb.
b48e38c5268007029ff573fadc99a8448cf9c09c 2001-12-17 * time.c: new method `gmtoff', `gmt_offset' and `utc_offset'. (time_utc_offset): new function. (Init_Time): bind above methods to `time_utc_offset'.
bb6c116c6352fbea23ce84012409b0de19abd823 2001-12-17 * lib/time.rb: use Time#utc_offset.
8e8c76bd5f52ed3974448900ce7056628d64c092 2001-12-18 * lib/time.rb: date.rb is not required anymore.
a2ba32fab9b2bc0d968cfd77f62385beff67042d 2001-12-24 lib/pp.rb lib/prettyprint.rb: new file.
cecb258bdf82ba76e96d696b161be7708a78cbf2 2001-12-24 * lib/pp.rb, lib/prettyprint.rb: new files.
36e891304c0f1619808ff2d3afaf0920e23470c8 2001-12-24 add pp.rb, prettyprint.rb and time.rb.
6a100f3ce470fe659a88e46138068b7a8611f650 2002-01-07 * lib/time.rb (Time#xmlschema): new optional argument fractional_seconds to specify a number of digits of fractional part of the time.
41dd4d2b6af247f982f2b622cad3b67d4faea275 2002-01-07 fix typo in documentation.
17e1cfef8cae430ecce87ea3338b29992bd12665 2002-01-16 * lib/timeout.rb (timeout): new optional argument to specify an exception class.
94acb9c6bc5927b118510d0d4f0c8700748c0abf 2002-01-29 * file.c: `major' and `minor' macro needs sys/mkdev.h on SunOS 5.x.
46d98fe87b33796f4299985f962ae615bd363bbd 2002-01-29 * lib/pp.rb: don't print a mode File::Stat as decimal number.
caa76f71fb8e5d260ee29cfb8c8458a2be909713 2002-01-31 * lib/pp.rb (File::Stat#pretty_print): print rdev_major and rdev_minor.
097c41755d32601d0c1fb4e956d81d9acefe802c 2002-01-31 refine previous change.
9ce732561568d940e9ddf2cf6cf798b3dc65ccd7 2002-02-22 * prettyprint.rb: FillGroup implemented.
56438ac66d50da83978e3469fd85dd87b12b1a62 2002-02-22 fix filename.
4efd36bbd99cfc45997cd173cd543c369f386bc4 2002-02-28 * ext/socket/extconf.rb (have_struct_member): new method. check msg_control and msg_accrights in struct msghdr. check sys/uio.h.
7806b0ae28fab86e025f1412485c12e3133de2ed 2002-02-28 * dln.c (dln_load): fix typo.
9496c3776d4348f8f7a7fc868c7eec3e64be8e3c 2002-03-03 fix method name.
d41f53d0b6ceaec8b9fffc9f79ee9335b2a25175 2002-03-08 * lib/resolv.rb: use its own thread group for background threads.
81930da895afee14918490b072593860cb12d09b 2002-03-08 * ext/socket/extconf.rb (have_struct_member): don't print checked result.
8b9823a23d10edc089750b5ae9a736e40bcb5e63 2002-03-11 * lib/tsort.rb: new file.
d7594a43cb6fd0620d134c6b3ad901a1efbe6441 2002-03-11 tsort library added.
e23025a694932a4d72e59ea397b7a8271c2ab3f9 2002-03-11 tsort description modifed.
230034b7ab4abe17df4e0804531c7279c55bbc7b 2002-03-12 * lib/resolv.rb: don't complete domains for absolute FQNs.
879a5e46a5f3ec87714514d38727416a4a33f012 2002-03-20 * mkconfig.rb: don't touch rbconfig.rb if there is a trouble.
999971b07c1871710064b5e4ee72cf1afca2ef55 2002-03-20 * mkconfig.rb: close duplicated $stdout before renaming rbconfig.rb.
0c41c1fc226f59184a2f5784496943bbb369b32c 2002-03-22 * lib/resolv.rb: fix arguments to create exceptions. Patch from matt@lickey.com. (ruby-bugs:PR#278)
6696999417e5e11aeeb2eca28011362b3280a2fd 2002-03-25 * configure.in (FILE_READPTR): check _p for 4.4BSD.
4795daf1bce88cca8c3b14dc5c75a349838ee98a 2002-03-25 * lib/pp.rb (pp): return nil like p.
53641c5118005bcc276557b566e8069972ca4cbc 2002-04-18 modify document.
8a7b08bb787c2d8d531e0b84974fb2a4bec30d87 2002-04-18 * re.c (rb_reg_to_s): new function for Regexp#to_s.
be87030ea87e5a9c47a3dcec3b851d5fdcc27bb8 2002-06-10 fix PR#.
e50f2d285fd88913fc34caef6f0ad8232d3b386b 2002-06-27 * lib/prettyprint.rb: re-implemented for incremental output to handle huge data. API is changed a bit.
48fbacb11ca896024b23ffdb7f5c5e24bbe7456f 2002-06-27 refine previous change.
571ff1d6b974eab38d4707d41f071a176960704b 2002-06-27 * lib/prettyprint.rb, lib/pp.rb: convenience methods added.
ee852ed46d1a2a0f894e20e939b079c31e1cdb4b 2002-06-28 lib/pp.rb: fix object address.
788181a4eb5b6e50d9a28aeab274dff4f170dbe6 2002-06-29 fix object address test.
ba8174d11e05a96da71b1de659e659b6c7d513e9 2002-06-30 made object address test to compare inspect's result.
4e85b28085b1869867de9abaa29061bff797d74f 2002-07-03 expand TABs.
9c4a4822296e43b3722f203418a005b7651a1e94 2002-08-24 * lib/time.rb (Time.rfc2822, Time#rfc2822): preserve localtimeness.
c47f24027a3473fbdf9510cc300565fb1e6f1db8 2002-09-11 * pp.rb (ARGF.pretty_print): implemented. (PP.pp): arguments reordered.
e2d1e7cfe4873acb518a8265a222307a90d6298a 2002-10-08 * lib/prettyprint.rb (PrettyPrint.singleline_format): new method.
96f82b243fce324b33e71357564a15b51f6aa949 2002-12-02 * lib/pp.rb (PP.singleline_pp): new method.
9be47132afd80a4b0f54c178f7237bd197fadf46 2002-12-10 * pack.c (utf8_limits): fix the limit of 4 bytes UTF-8 sequence.
3a20ed532b57da1e58287a5c53abe14400a085f4 2002-12-16 * lib/open-uri.rb: new file.
057de726876a2ecfbd469d31fd6c20187abf33cc 2002-12-19 forgot to commit with open-uri.rb.
f345126746242a7269654a0d9db64f0518462f41 2003-01-20 * lib/pp.rb: Don't redefine `inspect'. (pretty_print_inspect): new method.
d0ea0b4a8dd44a90bdd3cd83ac94fe1ba4aea440 2003-01-20 refine previous change.
c2dbfe53fc1d34b3c38172bda2a801fc60f26e66 2003-01-20 fix sharing_detection.
fce7467e601e76d64a175929f2f14f89cfd450dd 2003-01-21 * lib/pp.rb: Use Test::Unit.
5504f490a6a2684bcacadee836c6933243e65a4f 2003-02-05 * lib/open-uri.rb: Location: field may has a relative URI. pointed out by erik eriksson <ee@opera.com>.
da19d16b1c5efa1b2d9076e245ababc5ec9ad2dd 2003-02-05 * lib/open-uri.rb: dispatch code restructured to make it openable that has `open' method.
a9da9667d0c033b28d4017e3dbe997d53bece69e 2003-02-08 fix typo.
780e1aa291d41e065f799e35e02543206f912b4f 2003-02-26 * lib/open-uri.rb: replace Kernel.open as well.
03e45b46eaa6f91ec337847afbadc1f3c0170e71 2003-03-07 * lib/pp.rb (Kernel.pp): module function. (MatchData#pretty_print): new method.
951e8de1adab0db229dcbe0285643dcadbf4e101 2003-03-08 new method is Process.detach, not Proc#detach.
0eeff37f94ca82353df343d4edeca8316cdec0c9 2003-03-16 * lib/pp.rb (object_address_group): use to_s instead of name to get name of class.
b6c5aa09a83e96ca8821c75e81ed2894f83b4d57 2003-03-16 add test for previous change.
5782e5b0006ca5f941e8cdd7101ca07218c9d816 2003-03-20 * eval.c (bmcall): add volatile to avoid GC problem.
58ef7c20880642c88d06b351f8bbaaa291898e58 2003-03-21 * regex.c (re_compile_pattern): fix previous change.
cdfb48ea7da4439d12b3a1936ad6d17b221e6740 2003-03-21 * lib/date/format.rb, lib/uri/common.rb: `[', `]', `-' in chracter class in regexp to avoid warning.
9b3344c94d527d58886c5774f77d3cec01e472d1 2003-03-22 * lib/uri/common.rb: `[', `]', `-' in chracter class in regexp to avoid warning.
e689d077e30d4680af140be5549a369590e3db39 2003-03-22 * lib/optparse.rb, lib/jcode.rb, ext/tk/lib/tk.rb: reorder character class /[\]\[]/ to /[\[\]]/ to readability.
8f8a31b0e9972ea9495331980561d548d1ebd72e 2003-03-22 * time.c (make_time_t): try search_time_t if mktime/timegm is failed.
0b7b4c775dc471bf675616dbdd4af9891e29482e 2003-03-23 fix typos.
576f18654d2f17384af99b7688cc92d8c009b25f 2003-03-27 * regex.c (re_compile_pattern): fix [:name:] handling. /[\[:digit:]]/ was treated as /[[:digit:]]/. /[[:-@]/ was treated as /[\[:\-@]/. /[%-[:digit:]]/ was treated as /[%-\[:digit:]\]/.
0977fe17053680310cb0611e9ad2df705d05a070 2003-03-29 * instruby.rb, ext/extmk.rb, lib/benchmark.rb, lib/cgi.rb, lib/debug.rb, lib/getoptlong.rb, lib/optparse.rb, lib/time.rb, lib/date/format.rb, lib/irb/ruby-lex.rb lib/uri/common.rb: revert escape for `-' in character class.
add23cc22ee306d4aa3e2ec04883564554b5f582 2003-04-05 * sample/exyacc.rb: use Regexp in gsub!.
66ca3af2ba570fea4d02004181f4ff337cd012d3 2003-04-09 * regex.c (re_compile_pattern): /[\--\-]/ was warned. warn /]/.
808e9289e6031eba0241e7be159669f8fd0073a3 2003-04-21 * lib/resolv.rb (Resolv::DNS::Resource#hash): use XOR to accumulate hash value.
93aa87568b5fcd0fd03dd8c9f6fed5ed46e23891 2003-05-10 * lib/pp.rb (PP::ObjectMixin#pretty_print): refine to_s handling.
0b5d8d2d664a544e524a40082affa7c8aa0bc44d 2003-05-11 * lib/pp.rb: refine to_s test.
131c29ffff862728d02cbbde473ae789e84630fe 2003-05-15 * lib/open-uri.rb (OpenURI::Redirect#initialize): call super to initialize mesg.
41e018a46d466799b2728ab242725a538c224d6c 2003-06-23 * time.c (time_arg): initialize v[6] even when argc is 10 to avoid valgrind error.
2aba26fa521e1a4405546b50c08de0d90b5bfd44 2003-06-23 * io.c (rb_open_file): initialize flags.
554f524ee53c8f924c739867608ed7a147aa920e 2003-07-03 * lib/timeout.rb: add optional exception argument for compatibility function.
326569b7dffb805838768d985b6a2c78dfa046c1 2003-07-24 * lib/pathname.rb: added.
169300a4f8f6c704d9ef1dbed0b73f2dd7efdb68 2003-07-24 lib/pathname.rb: added.
def3aa514abd24d4846f43d0774f370497b7aac2 2003-09-18 lib/pathname.rb: update document.
77d7066abeea8bf80c422479775a34057ddf4b82 2003-09-30 * process.c (pst_inspect): describe stopped process "stopped".
f047918d094bba0379149bb839d274ec243c951c 2003-10-03 * lib/pathname.rb (initialize): duplicate and freeze argument. (to_s): return duplicated string. (children): new method. (each_line): new alias to foreachline.
94e01ab6450beda3ae5d5ed2c7f779477b475bfe 2003-10-04 * lib/pathname.rb (initialize): raise ArgumentError if argument has '\0' character. (relative_path_from): new method. (each_entry): new method for replacement of dir_foreach. (foreach, foreachline, dir_foreach, chdir): obsoleted.
4fca6e91dc77ac84255ac27aa1fc2784c23bef4f 2003-10-05 * lib/pathname.rb: version information is added in document.
26d111540e3aac50a9bfe2b363ea2d98a5339f7c 2003-10-06 * ext/socket/extconf.rb: check recvmsg even if sendmsg is exists.
9c6cfb5672328af8376e71f849bea871017538ea 2003-10-07 * ext/socket/extconf.rb: useless assignment removed.
4f6558a4eca8cdee8dba8eab202b23a68f13f64d 2003-10-07 * ext/fcntl/fcntl.c (Init_fcntl): define Fcntl::ACCMODE.
0a5f6fd37d7b83dd78adfbaecb050fd3cc4fb3e9 2003-10-07 define Fcntl::O_ACCMODE instead of Fcntl::ACCMODE to be consist with other constants.
6fc32eb8bbd0ab3c9b24dd73a3b6b17fd180379d 2003-10-11 * lib/pathname.rb (realpath_rec): fix handling of symlink to absolute path.
b01f0cab31d34451d00f1ee1ecffb79a7e11851b 2003-10-11 * lib/pathname.rb (realpath): re-implemented. (realpath_root?, realpath_rec): removed
31fd8aa6814e590d10c4e962068a70c9cf708ce3 2003-10-11 * lib/pathname.rb (realpath): check existence of the file.
6e41de6767a282e4b133d3c80085c294bc49b307 2003-10-11 fix previous change.
839ef7bfbb446db531983e391a52df4e4a0eb8aa 2003-10-13 * lib/pathname.rb (realpath): make ELOOP check bit more robust. (children): prepend self by default. (chroot): obsoleted.
2768ca8b909896c1b980c8f8b227d15a638dc250 2003-10-19 * lib/pathname.rb (foreachline, dir_foreach): add obsolete warning.
a5c350aaba58732d2fe833881f142e59d2bd7f1a 2003-10-29 * re.c (rb_reg_s_union, Init_Regexp): new method `Regexp.union'.
dc592364e62b75e778834dad8eaf1447f24ec573 2003-11-07 * lib/pathname.rb (Pathname#+): return the argument if self is `.'.
fb55a6d12f0d54f9107de665a3e12fc522b46335 2003-11-07 lib/pathname.rb (Pathname#+): if self or the argument is `.', return another.
91669219efe42ec5cf57fe9f0634159838dd240b 2003-11-07 (Pathname#parent): if self is `.', return `..'. (Pathname#children): if self is `.', don't prepend self for a pathname in a result. (Pathname#join): re-implemented using Pathname#+. (Pathname#find): if self is `.', remove `./' prefix of yielding pathname.
bf67d8df27c87b666a5973a098e4d6f70e561f32 2003-11-13 * lib/open-uri.rb (OpenURI.open_uri): use File::RDONLY. reported by Take_tk <ggb03124@nifty.ne.jp>.
e008c87423eb369afb4a189ac0b700c8920b7fa6 2003-11-13 * lib/open-uri.rb (Kernel[#.]open): hard coded URI schemes removed. [ruby-ext:02251]
810e7938fd12989db83b59a3c2e467f400e0480a 2003-11-13 inconsistency of the arguments for respond_to? in previous change is fixed.
31ef5c2d5e47f0533ea89e7f617b4385386ba12d 2003-11-15 * lib/open-uri.rb (OpenURI.open_loop, OpenURI::HTTP#proxy_open): refactored to support options. (Buffer): maintain size by this class.
483ac5644036ec1f1cf6e74b773c9315c611c8b3 2003-11-24 * lib/open-uri.rb: validate option names. :content_length_proc and :progress_proc option implemented.
087a8db4d2bf4fb6807693b1da2caadffb33702c 2003-11-24 * lib/open-uri.rb (URI::Generic#find_proxy): use CGI_HTTP_PROXY instead of HTTP_PROXY in the CGI environment.
6eaa5f2b05c17cf05db5ced5e24f818e99a39828 2003-11-24 * lib/open-uri.rb (OpenURI.open_loop, URI::HTTP#proxy_open): use catch/throw for redirection instead of exception. (OpenURI.open_loop, OpenURI.redirectable?): restrict redirection.
21ef0b6b1ccc05a99b026c18cedb785b7bc3f138 2003-11-25 add document that pathname.rb supports only Unix style pathnames.
a3388b68b7d2babce3d696cacb3e4cbfcd898490 2003-11-25 * lib/open-uri.rb (URI::Generic#find_proxy): use http_proxy under CGI if the environment variable is case sensitive.
922dc8265f47af47327cf01bb5365f2ea8454d16 2003-11-25 * lib/open-uri.rb (URI::Generic#find_proxy): ENV case sensitivity test refined.
54e444d83435a678dbed3a364e8282efa595c51c 2003-11-25 fix previous change.
7754869905d9b3554882f175ec09d6d68488e288 2003-11-28 * lib/pathname.rb (Pathname#realpath): obsolete the force_absolute argument.
40cb49fce8575ff60ef761d03fe9ee1180622bc7 2003-11-28 previous change refined.
dc9603bd5c6b9618e1f4aa8a48c020c56425366f 2003-12-03 * lib/pathname.rb (Pathname#link, Pathname#symlink): obsoleted. (Pathname#make_link, Pathname#make_symlink): new method.
491b450f93961e2ff4c993ed7d287417d6f1869e 2003-12-05 * test/ruby/test_pipe.rb: use IO.pipe instead of IO.popen.
c4d502c93150ca3eba4612956dd63915f3b0610c 2003-12-07 * ext/iconv/iconv.c (map_charset): make case sensitive. ext/iconv/charset_alias.rb (charset_alias): don't ignore config.charset's information.
d2041c1a790dd661c3e85e4dcc0478831bc7de24 2003-12-07 sort aliases.
4baa7a3f0f605a4bfd908856b8df6e6e02df0615 2003-12-07 add iconv.rb and config.charset.
39e04f4aa0a7b020c8ee28a40326299ffcdda109 2003-12-09 * io.c (rb_io_check_readable): Don't clear EOF flag by io_seek.
231f7cb95ff551c4e1aa4c67d22bc36143b0ff42 2003-12-09 io.c (rb_io_check_writable): don't call io_seek if EOF flag is set, to avoid clearing EOF flag.
75b3b1901cfb16af3ac3bd47ba53325f0696455d 2003-12-09 add test for previous change to io.c.
1c09059ed85227d8feeab11f38e64e4cd506a1d8 2003-12-09 ditto.
ff9f067f8977c64f1a09e676a28ae1043b932a51 2003-12-16 * lib/pp.rb: don't use local variable `pp'.
3e67076db01cbc53486e51f4b455220c9e4a3890 2003-12-21 lib/pathname.rb (Pathname#+): re-implemented to resolve ".." in beginning of the argument. (Pathname#join): concatenate from the last argument. (Pathname#parent): just use Pathname#+.
8b279c0ddbcf417230b7e3fa08ca020bb8f309ad 2003-12-24 * lib/tsort.rb (test_orphaned_break): removed.
88947c09c4ca803df0a79a81b519cbb5e498e85c 2003-12-26 lib/pathname.rb (PathnameTest#test_plus): add 2 assertions.
745ce54b4a46da48ced66c5d90496a0746cdded8 2003-12-28 * ext/stringio/stringio.c (strio_sysread): StringIO.new.sysread didn't raise EOFError.
6abca35457d4e16b561fed8b7936b06068b33697 2004-01-07 fix typos.
192eb734bf945d4328d82c50df62fc8441a55454 2004-01-31 lib/open-uri.rb (URI::Generic#find_proxy): warn HTTP_PROXY. raise an errror on non-http proxy URI.
4d1dafdd9549baf792f2efa841150075e56798f7 2004-01-31 * lib/open-uri.rb (OpenURI::Buffer#<<): make a tempfile binmode.
c9c51009cf154ef028d40d48d55607378867e312 2004-02-01 * lib/resolv-replace.rb (BasicSocket#send): don't replace because it has no hostname argument. (IPSocket.getaddress): raise SocketError instead of Resolv::ResolvError for errors. (TCPSocket#initialize, UDPSocket#bind, UDPSocket#connect) (SOCKSSocket#initialize): use IPSocket.getaddress instead of Resolv.getaddress. (UDPSocket#send): recognize 3 arguments form. try all addresses on 4 arguments form.
678e4ea5b495893e2e9a7a6cf0045085623622f8 2004-02-01 * lib/open-uri.rb (URI::Generic#find_proxy): return nil on loopback address.
d837280dc8fff1518655c63a45966e3fda87fa3e 2004-02-01 * lib/pp.rb (Struct#pretty_print): make it 1.8 style. (Numeric#pretty_print, FalseClass#pretty_print) (TrueClass#pretty_print, Module#pretty_print): fix pp for objects with instance variables. [ruby-talk:91157]
2e11b3262a39b6c92271bea05dce301761f2945d 2004-02-01 exception message changed.
05172c42117ce60275d36e515c9ad7b9511b9c22 2004-02-02 * lib/pp.rb (Struct#pretty_print_cycle): follow 1.8 style.
40f9219a8bd6d35b485655f63133ffc332524b8e 2004-02-03 * file.c (test_l): fix wrong method name in document. (test_S): ditto. (test_b): ditto. (test_c): ditto. (test_suid): ditto. (test_sgid): ditto. (test_sticky): ditto.
0c792a32b7e600320eb5eb3fd9e3ae1fe57e8b58 2004-02-05 * lib/prettyprint.rb (PrettyPrint#seplist): added.
7011dce58ef2dca98fd3c7b7ad42f1b0e2d86ec1 2004-02-05 * lib/prettyprint.rb (PrettyPrint#first?): obsoleted.
166b3957e08dd5f6c3221268a6df97212be4f53d 2004-02-11 * lib/pathname.rb: use assert_raise instead of assert_raises.
7430c46af697b32cd20d902b4613cea206f47d04 2004-02-16 * eval.c (rb_eval): care that another thread replace NODE_DREGX_ONCE to NODE_LIT. [ruby-dev:22920]
4d664a098d92c34a2720d04f1624103aa245254c 2004-03-27 * (lib/pp.rb, lib/prettyprint.rb): define seplist in PP::PPMethods instead of PrettyPrint.
c451c56b10be59e905667c93b167f05bb9e4f50b 2004-03-27 * (lib/open-uri.rb): permit extra semicolon in content-type field.
adb4439f85466a58378ba37a426e5f87a115a74e 2004-03-28 fix typo.
7bb7e17675846bd0caa7b3ad0ff1815cd313ed4f 2004-03-30 * time.c (search_time_t): limit guess range by mktime if it is availabe.
85000ef0be234071572be1e8b962ebbbc4c3141a 2004-03-30 * time.c (search_time_t): limit guess range by mktime if it is available.
a66ee49d2cb9a6503ff900fcfe8409396b2ca1e1 2004-03-30 add test for minimum 32bit signed time_t for Time.utc.
dd889fac191adcf34103443d6ea563d54dda0fb7 2004-03-31 more tests for Time.utc.
9bf44e389ece8f91f517532a61a588f7fdedc8b1 2004-03-31 * time.c (year_leap_p): new function. (timegm_noleapsecond): ditto. (search_time_t): use timegm_noleapsecond instead of mktime for first guess.
5c9d45e6e75c02884d13dc197ab9e7c94c98bc11 2004-03-31 add a test. [ruby-dev:22619]
b3009ced333c57456d7d1534b5ecd90b85f15b8e 2004-03-31 add 2 assertions.
9db6fb5ce56ee2e911944377edb02cb493e428b1 2004-04-01 add test_pack_U.
ad47c057c950e2a3dfb7949b1d9fc255cd2ecfab 2004-04-01 add test_symmetry_bignum.
5e59422f414ad385754c9e4f7ce525c8638e2c2c 2004-04-04 comments modified.
2ca96a332b6f3bebdbc5654e6321a4da65cca414 2004-04-05 fix reference to ML: [ruby-dev:39475] to [ruby-list:39475].
2f8c9ce629bff3ada0b367d1e4cd4c12f5bd7198 2004-04-05 * test/zlib/test_zlib.rb: new file. (TestZlibGzipWriter#test_new_nil): test for [ruby-dev:23228].
22757fbaba39cfe9eecdd1604c6d95702dd04708 2004-04-05 update test_new_nil.
dc252a75a251772f5d2bd9df442d9e6df74638cf 2004-04-06 check zlib existence.
383964bc30a9e0b9f8f8a17dbf0ecd9450bfb90e 2004-04-06 * configure.in: check the size of time_t.
b2a4f270e8dde1cb0e2ea7e7afcf7367207ed7dd 2004-04-07 add test for [ruby-dev:23344].
ae8dfe8626c5835556b340e377b0b49a434d0cd8 2004-04-07 update the document for to_path.
66d03898953b6245eefdfccd41ac6aca6bfe9495 2004-04-07 add an assertion for [0x100000000].pack("U").
15d2b80c8a8495c996561e9fd68cae5dfdddde16 2004-04-12 enable document for Kernel.open.
c7629cdd28904438e5fbe8ff36be9c7010210485 2004-04-15 * ext/gdbm/gdbm.c (Init_gdbm): define GDBM::READER, GDBM::WRITER, GDBM::WRCREAT and GDBM::NEWDB. (fgdbm_initialize): use specified read/write flag.
ec2f9136703a674582eb923d4613b4f832f680e6 2004-04-15 add a gdbm test for [ruby-dev:23381]
f32d6dcb87632faf6075ad2c66b704d6f8f0e7d8 2004-04-15 add test/gdbm/test_gdbm.rb.
317547dc5d2ec69412b7b2e769f67598285c7fe3 2004-04-21 * lib/open-uri.rb (URI::HTTP#proxy_open): set Host: field explicitly.
f2f93023c82c14df33c016350e1fa4648bf4702a 2004-04-23 * lib/resolv.rb: don't use Regexp#source to embed regexps. [ruby-dev:23432]
cd322e0403ed15cdf836b44f9dcb1b514c20fbd0 2004-04-23 * lib/pathname.rb: sync taint/freeze flag between a pathname object and its internal string object.
10b598499b61d2c95a417f145e4cc70d96aeee71 2004-04-26 add tests.
d92f10ac061b38952747aff06225019e7a6d37de 2004-05-07 add freeze test for dbm and gdbm.
ac5f6e0a60ed62a8754e11d6adc4f32a610e72b9 2004-05-07 add a test for Kernel.open(Pathname.new(...)) { ... }.
fbb8f1964a5c642ad2f520a3d3712b47feba9a14 2004-05-12 * lib/resolv.rb (Resolv::DNS::Config): make it configurable without external file such as /etc/resolv.conf.
eeb5c7e18e91e43502cf30d6f395364543fbf109 2004-05-16 * ext/dbm/dbm.c (fdbm_initialize): accept optional 3rd argument to specify an open flag. (Init_dbm): define open flags: DBM::READER, DBM::WRITER, DBM::WRCREAT and DBM::NEWDB.
2ef79516bc53dee1a6c21beae717e9f530ecc202 2004-05-20 * ext/socket/socket.c: check SCM_RIGHTS macro addition to the msg_control field to test existence of file descriptor passing by msg_control.
614537d5fa13f72e8c1eaf55a322697a7aadb898 2004-05-24 test Kernel.open accepts pathname object.
d8cf22793bf09fd73b2a69703ed1c89ae7aa46af 2004-05-27 * lib/pathname.rb (Pathname#initialize): fix pathname initialization by pathname.
500cd0d57d84ab57e9b6e631e4c489291bf88f7a 2004-06-25 add an assertion.
b750470064fec81ed3d2027e986c56c11ff54be6 2004-07-05 * lib/uri/common.rb (Kernel#URI): new global method for parsing URIs.
704d798615c5190510b036a4db8d32a0f9783df2 2004-07-09 lib/open-uri.rb (URI::HTTPS#proxy_open): raise ArgumentError to notice https is not supported.
51c61416d7740ea1baf67dd612debc2c3f2b60fa 2004-07-28 fix a reference to ruby-dev.
a3a55eb5508957ab4cf7f85ff1a8d80b8e3aa758 2004-08-06 * ext/zlib/zlib.c: Zlib::GzipReader#read(0) returns "" instead of nil.
8f8de7782e93aab8e09c0727140fd1ff02d8ca6f 2004-08-11 * io.c (read_buffered_data): extracted from rb_io_fread. (io_readpartial): new method IO#readpartial. [ruby-dev:24055]
0e104131b8bbc50a8c2c5d336a07a39bc3833d5b 2004-08-11 add test.
e2e305605df3b79e1af040b7bad33641ba29e9e8 2004-08-16 rescue NotImplementedError by fcntl.
4339612a1462d4707f76e72d57a54a9cf9e27976 2004-08-16 check constants (Fcntl::F_SETFL, Fcntl::F_GETFL and Fcntl::O_NONBLOCK) instead of trapping NotImplementedError.
55bf54a9c062b30492b328345ab3c68449e3f676 2004-08-27 * ext/stringio/stringio.c (Init_stringio): add StringIO#readpartial as an alias for StringIO#sysread.
08907d87e01ba0181b90603e27ec83cd9c285ad8 2004-09-07 add test for [ruby-dev:24060], [ruby-dev:24065], [ruby-dev:24103], [ruby-dev:24190], [ruby-dev:24191], [ruby-dev:24194], [ruby-dev:24197], [ruby-dev:24202], [ruby-dev:24213], [ruby-dev:24223] and [ruby-dev:24228].
1ae2ac92d2afc114de6f595d3dfdfc4f228c7acc 2004-09-07 test_ungetc_paragraph: restore $/.
23a48713683a2f03bc8bb619f1fa62765658f6b7 2004-09-07 don't modify $/
44abd808658570a65df2adca678c746aa0356960 2004-09-19 * ext/zlib/zlib.c (gzfile_read_raw): call readpartial at first. (Zlib::GzipReader#readpartial): new method.
129c02057e50ab1c4b016ac352af65f853668986 2004-10-03 add test for String#sum.
2bd403488dc63afcd76f1bd724260a6c41a778ed 2004-10-03 test String#sum for bits=0..7.
2ed1cdbb0da44d346fc57a4f583392a8636bfd6b 2004-10-07 fix typo in document.
126cd9d01ecea6d268ba73abda88e7fd0022ea0b 2004-10-09 add test for [ruby-dev:24460]
5677755baedd9d9e7271316276abd7afe798bfda 2004-10-15 eval.c (Init_stack): make prototype declaration consistent with the definition in gc.c.
1bc4363c5e75dbe5b544a03b9cb2b115b26c9536 2004-10-29 add test for [ruby-dev:24643].
7dc3169658a6c89aebabd02a3244ce3e3d29ad45 2004-10-29 add a test for a problem of [ruby-talk:116455]
8f1c92af4f90b4817eebcaa7c1e75747a90cfb50 2004-11-14 * process.c (proc_getrlimit): new function for Process.getrlimit. (proc_setrlimit): new function for Process.setrlimit. [ruby-dev:24834]
30b3ce3445f5cbf94080a8408b83eaafaa264baa 2004-11-15 * configure.in: check rlim_t more portably. [ruby-core:3735]
6c8ffdbf32121f49766dca934ae6be20d65d9ba6 2004-11-17 * process.c (proc_getrlimit, proc_setrlimit): add rb_secure(2) to methods of Process.{getrlimit,setrlimit} patched by Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
db306518e4d77dc50c503c0908c4e9ca2e2afb18 2004-11-25 * configure.in: AC_CHECK_SIZEOF(rlim_t) to include stdio.h to fix problem with autoconf 2.52 or earlier. revert AC_PREREQ to 2.50.
3e37ee5af18889fb3ad78194b7094ff46447f4c4 2004-11-25 add ML ref.
b70e88a123a5a291665d70ce0c59bafa5cebebfc 2004-11-27 * io.c: avoid avoid data loss with nonblocking fd and stdio buffering in sync mode. [ruby-dev:24966] based on matz's patch [ruby-dev:24967] (io_fwrite): new primitive writing function which writes directly if sync mode. (rb_io_fwrite): wrapper for io_fwrite now. (io_write): call io_fwrite instead of rb_io_fwrite.
0abc28742a0673602483793b57796869e88ce5b8 2004-11-27 typo
5eec9fe63c0cd627bfa8b1ffbcfeec8b4bb57490 2004-11-27 String::IO -> StringIO
39eac7ded8512e4f9c78f1bdab2b143f8190009f 2004-11-27 io.c (rb_io_fwrite): set path to NULL
06646d1b4ebf73e54b444bee43df76f3ff490f31 2004-11-28 * io.c (rb_io_check_writable): restrict io_seek by READ_DATA_PENDING because io_seek(fptr, 0, SEEK_CUR) is meaningful only if read buffer is not empty. call io_seek regardless of NEED_IO_SEEK_BETWEEN_RW.
da9166cc19b2fd9a825d9089307b1e992f35aa08 2004-11-28 add ML ref.
a8f25ded9c8e8ccb867112d8092ac903af9e9a8d 2004-11-28 don't use READ_DATA_PENDING in previous change
04f36c2bba797225f0ab8f2bd83de86e1203ac47 2004-12-06 * rubyio.h, intern.h, io.c, file.c, process.c, ext/socket/socket.c, ext/pty/pty.c, ext/io/wait/wait.c, ext/openssl/ossl_ssl.c: Use own buffering mechanism instead of stdio.
710bab848043a44c782677fefb11a694a146f0a2 2004-12-06 add ML ref.
2cefbe9fb2297147c034086ff3b1b2dd9a9f5545 2004-12-06 * configure.in: check -lsocket for socketpair and shutdown. reported by Ville Mattila. [ruby-core:03903]
a435e522598e97005ef3d9d8bcdaa8262d9905a7 2004-12-07 * io.c (io_fwrite): avoid context switch before writing to stderr. [ruby-dev:25080]
78f7b7036bb6c950a3533a5eb0f2fc9741511efa 2004-12-08 * rubyio.h, io.c, ext/dl/dl.c, ext/pty/pty.c, ext/socket/socket.c: create FILE object only when required: popen(3) and DL's IO#to_ptr. [ruby-dev:25122]
4627c5a19bca043c2e35aa84df68e133e0009530 2004-12-12 * lib/pathname.rb (cleanpath_aggressive): make it private. (cleanpath_conservative): ditto. Suggested by Daniel Berger. [ruby-core:3914]
4497af1591dd5936545297a6933d67b0204bc354 2004-12-13 * gc.c (set_stack_end): new function to obtain stack end address. set_stack_end obtains a stack end address by an address of local variable in the function. (SET_STACK_END, STACK_END): use set_stack_end. don't use alloca. This makes the conservative garbage collector to scan a stack frame of the garbage_collect function itself. This is required because callee-save registers may be stored in the frame. [ruby-dev:25158]
7614d647251da818f5f8d851528de52c6c601611 2004-12-17 * configure.in (ac_cv_sizeof_rlim_t): set 8 for BSD/OS. Reported by OHARA Shigeki. [ruby-dev:25236]
a198987f0b44ec861cf72d56762da79f03315e9c 2004-12-20 gcc noinline attribute is available since gcc-3.1.
9ee320461dd0f4c6897ae2c34443d343e0df9335 2004-12-20 updated
4ff1561a8c3a0b1eb682feb7a03e2d1300e4abfa 2004-12-23 * rubyio.h: rename FMODE_UNSEEKABLE to FMODE_DUPLEX.
7eeb5cac7257660fcd81d9dfa080b6cc77a13b22 2004-12-29 typo fix.
3b2de91dcff9e794281917fd2f4f5f19fad7f348 2004-12-30 * rubyio.h: don't deprecate rb_read_check.
b25095f6e4e491dbea0c30aa0e4930e68225ca7c 2004-12-30 * configure.in (HAVE_RLIM_T): removed because not used.
571aa4db39067f319ab5a8d7554f6d0985133a11 2005-01-01 * io.c (argf_readpartial): new method ARGF.readpartial. (io_getpartial): extracted from io_readpartial. (io_readpartial): call io_getpartial.
e5abd52ab205ffa58f5756342df5b8fa91c02def 2005-01-03 * random.c (random_seed): use /dev/urandom if available. [ruby-dev:25392]
1b27958bfb62041721d010c42ee6670bcdd76341 2005-01-03 * random.c (random_seed): don't use /dev/urandom if it is not character device.
943e67ef97de210495426bc79718942698cb2768 2005-01-04 * random.c (init_by_array): imported from mt19937ar-cok.tgz. (genrand_int32): ditto. (genrand_real): replaced with genrand_res53 in mt19937ar-cok. (rand_init): support bignum for longer seed. (random_seed): generate longer seed. (make_mask): new function. (limited_rand): ditto. (limited_big_rand): ditto. (rb_f_rand): call limited_rand and limited_big_rand. [ruby-dev:25403]
8728b3fde4a6ffdfd77462193680565fea5d5b34 2005-01-05 * random.c (limited_big_rand): didn't work if SIZEOF_BDIGITS == 2. [ruby-dev:25408]
a12ac9b17de142cecd8672fc1107c4c5fdcc406d 2005-01-06 * lib/time.rb: recognize +00:00 and GMT as a localtime.
db4cb5545b0d56dd022e07bf45a4bdfc84ea69ed 2005-01-07 * gc.c (mark_locations_array): avoid core dump with -O3. [ruby-dev:25424]
ea06d92507abd09c03ad79c77c8a2edc86f5cce6 2005-01-07 * random.c (rand_init): use ALLOC_N instead of ALLOCA_N by TAMURA Takashi.
8d03779d75331a3bbcdd4c11cf81780d850d5d3e 2005-01-07 add ML ref. [ruby-dev:25426]
563a79c756cc0d0594929badc2c45bf9c13dfc98 2005-01-08 fix typo.
16b5ba2707a711be7a7e0cbb5f8dc1b4f4f41c13 2005-01-08 update readpartial document. don't try read timeout on Windows.
01c6a1f8ff91d25318742ee09ce620e2142088d1 2005-01-18 * lib/resolv.rb (Resolv::DNS::Config.parse_resolv_conf): ignore domain and search directive without an argument. reported by Sam Roberts. [ruby-talk:126781]
78f31c7be6ceb0b64309cd6162aaf23d9511d776 2005-01-21 * lib/resolv.rb (Resolv::DNS::Config.resolv): don't raise ResolvError. reported by Sam Roberts. [ruby-talk:127133]
66739f720d095b3ad7659666d905255f7e2057bb 2005-01-24 fix IO#read docment.
586d308ecf23a88d18413bd2ce9d1373e556c34f 2005-01-25 fix some documents.
68f5e2361a81493297869d5a06aae8841dcefd49 2005-01-28 * lib/resolv.rb (Resolv::DNS::Config.parse_resolv_conf): parse options line for ndots option. (Resolv::Hosts#lazy_initialize): return self. (Resolv::DNS#lazy_initialize): ditto. (Resolv::DNS::Config#lazy_initialize): ditto. Suggested by Sam Roberts.
a0b39cf64f05c4864e63310a9a1364b02dc31b93 2005-01-29 * lib/resolv.rb (Resolv::DNS::Resource::IN::SRV): Added RFC2782 SRV resource record for specifying location of services.
02d0c9e75c54d8187e6570be13fa768e098b6e9c 2005-01-29 example modified a bit.
7adb25643e0301042218df648cc5f175fa44c2ea 2005-02-05 comment refined.
8971dafa8d4698b3c45efff63a4ed129e8ad284c 2005-02-05 * lib/resolv.rb (Resolv::DNS::Resource::TXT): multiple strings was not handled. (Resolv::DNS::Resource::TXT#strings): new method to return all strings. (Resolv::DNS::Message::MessageEncoder#put_string_list): new method. (Resolv::DNS::Message::MessageDecoder#get_string_list): ditto. based on [ruby-talk:129732] by Sam Roberts.
a9639c22ef3588882cd2554dba419063f72c921b 2005-02-06 * ext/dl/dl.c (Init_dl): function declaration should precede statements before C99.
d486686eb768619714328bff86be8e7711c2e967 2005-02-07 * io.c (io_getc): flush rb_stdout before read fro stdin, which is connected to a tty. [ruby-core:4378]
b8f04a8bcba7a059d1ccd95f4ba5dfb01e8e2c67 2005-02-07 fix previous commit to check stdout is a tty.
9bdb4b4b0817151ba4ee98d857ac50d6b841b51a 2005-02-07 * lib/resolv.rb (Resolv::DNS::Name#subdomain_of?): new method. (Resolv::DNS::Name#inspect): ditto. Suggested by Sam Roberts. [ruby-talk:129086]
c47ca1f02f514ecf765877414bfacceb1402d011 2005-02-07 add test_rand_0x100000000.
84075c004b53559e7f096f1053e70fe232ce6128 2005-02-08 document updated.
2c685f16816c0f33afa2665b6f21e7e3a884df28 2005-02-08 typo fix.
db6d5b15be94735ef08ba844561f9ef9f320ae19 2005-02-11 * lib/open-uri.rb (URI::HTTP#proxy_open): new option supported: :http_basic_authentication. suggested by Kent Sibilev. [ruby-core:4392]
c34e899e4f189fb7b76b5dcb095573bad7685306 2005-02-12 * lib/open-uri.rb: support https if the platform provides CA certificates.
203b7c50f2ff251feb184b941424f5ac2c19b573 2005-02-12 * lib/open-uri.rb (OpenURI.open_http): reject userinfo explicitly.
f1bd353b58411c3a24e428076c0aa671d46b2303 2005-02-12 document updated.
4c1d7f6d8ff3744be0ac79148f59578aa9d2d39f 2005-02-12 * lib/open-uri.rb (OpenURI.open_loop): send authentication only for the URI directly specified.
966332ebed8ae32009e7f54ffcfe6bbaada8080a 2005-02-17 fix typo.
614b7a2d32da5a82843af3c3459d317899ae1950 2005-02-19 * lib/open-uri.rb: call OpenSSL::SSL::SSLSocket#post_connection_check after connection is made.
b36f9a090d68687b66ea32193c5948291e2d4602 2005-02-19 * lib/open-uri.rb (URI::FTP#buffer_open): access mechanism re-implemented according to RFC 1738. reported by Guillaume Marcais. [ruby-talk:131650]
6b80542ead851d85235b7718f99894d57b4fa1d4 2005-02-22 typo fix.
6f3016a9695376bc24660abbe5edf3b1c62a3816 2005-03-02 typo fix
25d8e7a119d3a96f8e782a87be8ba1ac557fa28d 2005-03-06 * lib/pp.rb (File::Stat#pretty_print): Etc.getpwuid and Etc.getgrgid may return nil. [ruby-talk:129826] reported by Daniel Berger.
1b178621c2c7b11628a7640ecf134b39d5f78eba 2005-03-06 * lib/pp.rb: rdoced by Sam Roberts.
d6c5652cbdf4e21ed88c50f3b542bd676722f371 2005-03-06 add ML ref. [ruby-core:4490]
22d8da0c272c1c72daf0f3055d489e66032a77aa 2005-03-06 duplicate tests removed.
7935361d36fdfd372002c276baede34bb39f89a2 2005-03-09 * lib/pp.rb (PP::PPMethods#guard_inspect_key): support __recursive_key__. [ruby-dev:25821]
0fe7df5c2f94550a9505176c4e3ec48d2a394a3a 2005-04-24 * oniguruma.h (OnigWarnFunc): add a variadic argument. [ruby-core:4751]
40fd465e821e08cd2a1d58c0fc490ff9e8abb095 2005-05-12 add tests for reading an extended file
eebb06165f56fc316b03fbd6734a513eb05a96ac 2005-05-15 * lib/pathname.rb (Pathname#unlink): unlink a symlink to a directory was failed. [ruby-core:4992]
cb025decffb74f95cadddf4ea278d8ad7b7eddf9 2005-05-15 * lib/pathname.rb (Pathname#unlink): use SystemCallError instead of Errno::EISDIR because EISDIR is not portable. [ruby-core:5001]
71a80abc7c1de76cc90fda8ad0e0f06437805025 2005-05-25 * lib/open-uri.rb (OpenURI::Meta::RE_QUOTED_STRING): a content of quoted-string should be zero or more characters.
89d21d118dbbe75d61c49dc320fd82de8316ce7f 2005-05-29 add a test for [ruby-dev:26127].
5794d80d53b3cf6e64a78c92ac3109dea8ad2c66 2005-06-03 add a test for [ruby-dev:26128].
f7298a29eab289884eeab41b7e8fd59c5fbdd612 2005-06-03 add a test.
49f4ef7d03bfea5eeeeb3b2846f15a1b078ccde7 2005-06-03 * test/sdbm/test_sdbm.rb: renamed from ext/sdbm/testsdbm.rb with modification to use test/unit.
ea0a08fddd28fa6220930e13dd0757074a7ca752 2005-06-03 set verify_mode to avoid a warning.
0ad046218349809de09d0c8d8bddc372ca4fc0e0 2005-06-03 add ML number.
a1782f4e6ab412b10b59dc0011252cc3e02b4de5 2005-06-03 avoid IPv6 issue.
8a85b8bef1229c3774096c6b804b0210743fb720 2005-06-03 fix another IPv6 issue.
f27ff52d1e5bbd16447544761e446fe007d3efcf 2005-06-04 add a test for file descriptor passing.
cd8d93d0cd252e8dc9f6d241b46deda784e2e132 2005-06-04 * test/dbm/test_dbm.rb: merged from ext/dbm/testdbm.rb.
73c5a99b5088461b3b97f345fc4cc7c6c44e1177 2005-06-05 * signal.c (ruby_signal): don't set SA_RESTART. [ruby-dev:26276]
8507219097b2ee57bad4b1ad03c7f292ce45ada6 2005-06-05 kill a process spawned by test_exit_action.
261f8e0f734e7114622508057a291ac410a672a2 2005-06-07 skip test if openssl is not available.
48f2d3a72d3cd92eea720a632ad71883779df708 2005-06-09 * configure.in, eval.c, gc.c: use libunwind only on HP-UX.
914a916a91dcb28fb376012cfab2c6f32d23b38f 2005-06-09 add ML ref. [ruby-dev:26297]
27c228d6819b125dc3e9277e74a5d2bb30cf75a9 2005-06-09 * eval.c (ruby_longjmp): new macro to call longjmp, setcontext, etc. (ruby_setjmp): new macro to call setjmp, getcontext, etc. (ruby_setjmp): call setjmp before getcontext to avoid IA64 register stack problem. [ruby-talk:144939]
dececad56c69e1944a95a10037cdba5fa673f0c2 2005-06-10 * eval.c (unknown_node): show more information. [ruby-dev:26196]
86aeca931cbd697167fbee85aff13d1c3b439a12 2005-06-12 * eval.c (rb_gc_mark_threads): curr_thread may not be part of the thread list. [ruby-dev:26312]
e710ced6595f3f91fdb7635434ca7a5860672c41 2005-06-15 * lib/resolv.rb (Resolv::DNS::Resource#ttl): new attribute. (Resolv::DNS::Resource#==): ignore @ttl. (Resolv::DNS::Resource#hash): ditto. (Resolv::DNS::Message::MessageDecoder#get_rr): save TTL in a Resource object. based on [ruby-core:5190] by Eric Hodel.
37b0e4164b6fd7c9823004a8361f543acdb58a05 2005-06-16 * lib/time.rb (Time.parse): "Fri Jan 1 08:59:60 +0900 1999" was parsed as "Fri Jan 01 09:00:00 JST 1999" even on an environment which supports leap seconds. (Time.rfc2822): ditto. (Time.xmlschema): ditto.
1f15fe8da048575c90d45a1cc48a7a96ea5b4a1d 2005-06-16 add tests for leapseconds on an environment without leapseconds support.
edf7bc24641f9ba9bc9f2fa58f2012d179cb78f3 2005-06-17 * lib/time.rb (Time.parse): fix previous leap seconds support. (Time.rfc2822): ditto. (Time.xmlschema): ditto.
258f9f49d6ca3946a8e08f207eb8ee2b4b51c6b3 2005-06-20 * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): DUMMY_SETJMP is replaced because setjmp is not enough to fix getcontext and SPARC register window problem.
5f97451ef98ed12e9793d6d5c54d245ed41e241f 2005-06-30 add a test for [ruby-dev:26383].
f99971051f31ebc463e005fa8be9d0b0a24a449d 2005-07-01 * lib/open-uri.rb (OpenURI.open_http): refine post_connection_check call.
12bed479ec5777392077ac70c0996bbc44bd5a20 2005-07-02 * configure.in: check select_large_fdset.
7215b7236362aef075fb7c7bc957cfc1f767cce3 2005-07-02 * defines.h (FLUSH_REGISTER_WINDOWS): defined for IA64. (flush_register_windows): declare flush_register_windows.
ef87757c1025afa1aeeb8692a9f21f5d08e600f4 2005-07-02 fix indent.
ddbe529c628b0c02a4e576edb7fae8bde921eb46 2005-07-02 * ext/socket/socket.c (unix_send_io, unix_recv_io): support x86-64 and IA64.
04390cb1f318320cb5cb99b9b15442878a4daed4 2005-07-02 use CMSG_LEN.
3d2e699f0e3eda95f121aeeaa09ab4d3d6ae9eb7 2005-07-02 doc fix.
c798dc23aa012053b049b35adc3cf26bbddab5bb 2005-07-03 2005-07-03
59eaf14cbf3b6529d0bc2939e42402defbc41b94 2005-07-03 avoid some race condition
2e820ca5e0e6a82e09a98c098eb41092a72ef23a 2005-07-10 2005-07-11
f41e9c805cf5112bc0a84770e1c860c912d6d61a 2005-07-10 * lib/pathname.rb (Pathname#unlink): try Dir.unlink first to avoid unlink a directory by root. cf. [ruby-dev:26237]
8c2e1ce91cfd5561028d54e537c8173971f33338 2005-07-18 * rubyio.h (FMODE_WSPLIT, FMODE_WSPLIT_INITIALIZED): new constant.
06f6c2d35546a986fa637e78a6fcd4fceb03871e 2005-07-18 * eval.c (rb_call0): make body volatile to avoid possible optimization problem. [ruby-dev:26195]
74e1cc9e55eae39b2adcbdec1d4bff0b70bf0c88 2005-07-20 * io.c (rb_io_ctl): update FMODE_WSPLIT_INITIALIZED and FMODE_WSPLIT by F_SETFL.
df453bab063fb65f7d2bf5088e6107272a1d3e9e 2005-07-20 fix previous commit.
b08e8d937f0b4f4289dd204e9c08b8a45e469baf 2005-08-04 add a test for duck-type range.
16457d4b96e3f0f368ca45abb6d1fa0b45a30e02 2005-08-05 add exclude_end? method to DuckRange.
66323da355837efbf7abc31e6770b1ae20753b27 2005-08-12 2005-08-13
2b5bb9ad00ac8205cda18a3a35e6bd906ba5223d 2005-08-12 dbm/test_dbm.rb: specify pid for Process.wait. gdbm/test_gdbm.rb: ditto. sdbm/test_sdbm.rb: ditto.
a2f590d1574f7e96dce674dfa688e5dd336bce33 2005-08-19 2005-08-19
c2eda1c4e99be68e7c26ae2bc6c10e67c51d469a 2005-08-19 * lib/time.rb (Time.apply_offset): fix a problem with last day of month. reported by Lucas Nussbaum. [ruby-talk:152866]
97fce772a328f992e35b323f6f9196c85e4deed3 2005-08-28 2005-08-29
50e604172eb7e95fe1bdadf37faeeb8a97429bae 2005-08-28 * lib/time.rb: require 'date/format' instead of 'parsedate'. (Time.parse): extract fractional seconds using Date._parse. (Time.strptime): extract fractional seconds using Date._strptime. [ruby-talk:153859]
cd7cc246d2d1d2d14f30b066baa56aff2e0f0fbd 2005-08-28 * lib/pathname.rb (Pathname#descend): new method. (Pathname#ascend): ditto.
83cf0b613efc099fe8c90ff0161843b785bdfe4a 2005-09-03 2005-09-03
ed353ff1bb6df83138ba33b083bc2d258ad75cfe 2005-09-03 * lib/pathname.rb (Pathname#descend): Pathname.new("./a/b/c").descend didn't yield "." (Pathname#ascend): ditto.
fe13de2096c5a93096cff2cf671ce58620fbfd3c 2005-09-05 document a blocking behavior of IO#eof?.
e27c6fdd7ef51485be823425a401171931bba017 2005-09-05 2005-09-06
535b2911cfc354144e51ee3f4b99d148eea5718f 2005-09-06 add a test to parse files by ripper.
d5a2954d5eb71e0c97789ede40755a858d9afa5d 2005-09-06 fix.
5197f6773a873d905215312d0de801d0d7a8cebc 2005-09-07 * lib/open-uri.rb: abolish mod === tempfile to avoid a problem [ruby-dev:26967].
6c255d0dde4be530ae1cc09859721c6d20c985c7 2005-09-13 * ruby.h (PRINTF_ARGS): new macro for printf style argument checking.
80fb5e0584644131bdd10372a932a563373717d5 2005-09-15 * lib/open-uri.rb: add :read_timeout option. [ruby-core:4848]
1ad103b7f83ccd0229ed3f61ef2de8c832cb329b 2005-09-18 * file.c (rb_thread_flock): wrap the flock system call by TRAP_BEG/TRAP_END to enable signals. [ruby-dev:27122]
e41b0ce6a323806317573d91ecb8ab3a1d9c988f 2005-09-20 * eval.c (thread_mark): mark th->last_status. [ruby-dev:27179]
9bfb4dc6ac6815aa600575c8745870b6ee8f9f91 2005-09-23 * lib/pathname.rb (Pathname#sub): new method.
0517b43c5b58ccc2acddea80cdfa4e16e19aa84d 2005-09-24 banish some warnings.
0c65f6675770f230d346ad1531dc49219d823eb5 2005-09-24 banish some warnings.
dd5564b5fd0efb13b83396328cfcdb809148b247 2005-09-24 * process.c (proc_setrlimit): make the third argument (rlim_max) optional.
d95e8e013b571c81cbe847e6bb18a53e81ccab13 2005-09-24 banish some ripper warnings.
4a774a787f568da80ea49a4526e21d44dbb4082b 2005-09-24 banish a warning.
3d89ecbdfd1c60130a430f9839ba1e5057828d30 2005-09-24 banish a warning.
3284ccb55ac6ec448eb5f688a408c8085a2386a6 2005-09-28 banish a warning.
44594b243ddde479a6d3aae4c6afc3a852109d83 2005-09-29 * lib/open-uri.rb (:proxy_http_basic_authentication): new option.
fc1bdda026f296ca3955a2338a72971821eb034a 2005-09-29 * ext/dl/cptr.c (rb_dlptr_s_to_ptr): abolish sizeof(FILE). [ruby-dev:27317]
372809129df72ab92534bb5e944cbcef34eeda9b 2005-09-30 * lib/open-uri.rb (OpenURI.open_loop): prohibit multiple proxy options.
36941b8465e3185769deceee7280b592f874ffa0 2005-10-01 * bignum.c (rb_big_rand): removed. [ruby-dev:25405]
a27ce746ad9fd36db1d38d9320fb603f5436052f 2005-11-20 document that fork doesn't copy other threads
66283e1c0fff38f9a814603e7171a1121d5f436a 2005-11-26 * lib/pathname.rb: use File.basename to decompose pathnames. experimental Windows support.
5a6ed851fe726644dd1d528aed7bb222319e3fd3 2005-11-28 * lib/pp.rb (PP::PPMethods#object_address_group): adjust address format.
1ebb90495827893026fe41294db238fab6e3a86c 2005-11-30 ChangeLog lib/pp.rb
1717014d72dc5daed81f739bbb8751792bc3e1e3 2005-11-30 A trick for negative address removed.
ed75a38f76609a9559ee88918fcb13497d65b708 2005-12-09 remove unused variable `tmp'.
c423d3cbf2b8413560c20cc44a4424e7c5062109 2005-12-12 precedes registering global VALUE variables before initializing it.
87ebe712f7bb16cfc1f09510f50c46ccfbd8a6f6 2005-12-12 indent "if" body.
0158c706458eb092ddf9619275457a29b3318c80 2005-12-12 remove unused variables.
2da40f048ede054fec9f172464effdd8eb3f0d91 2005-12-12 * sprintf.c (rb_str_format): fix a GC problem. [ruby-dev:28001]
682292ea7dd6a2508e97dc2388ef3769ab16fb6b 2005-12-12 * array.c (rb_ary_diff): fix a GC problem on IA64 with gcc 3.3.5 (Debian 1:3.3.5-13). When rb_ary_push is called, there was no register which contains `hash' but `&RHASH(hash)->tbl' instead.
51f4d6645ba78fdb7342c2e58e65026643b21e17 2005-12-13 * re.c (rb_reg_regcomp): fix a GC problem on x86_64 with gcc 3.3.5 (Debian 1:3.3.5-13).
07611afdc2db8646761de9fdf3b759bade1411a5 2005-12-14 * marshal.c (r_object0): fix a GC problem for reading a bignum on IA64 with gcc 3.3.5 (Debian 1:3.3.5-13).
73b88f6be8dfd4cd28d184872e518606a547d4bb 2005-12-14 * ext/zlib/zlib.c (zstream_run): fix a GC problem by tail call on x86_64 with gcc 4.0.3 20051111 (prerelease) (Debian 4.0.2-4)
7d62299a27ae90b904293caba02d0fad40341f4a 2005-12-15 require tempdir instead of tempfile.
7d2880ddb33658e61429b29972395debf805c0e3 2005-12-16 refine "unknown data type" message.
5700ea57ffeb901135256c6daace0b76856e6900 2005-12-16 revert previous change.
3ab3b5b3c897e8551fdc74d3caf7b17915d5da7d 2005-12-16 * eval.c (bmcall): fix a GC problem by tail call on IA64 with gcc 4.0.3 20051216 (prerelease).
de85bb0efe9d226374fe2941b0bbbefb81b75d40 2005-12-16 * bignum.c (rb_big_rshift): fix a GC problem on IA64 with gcc 4.0.3 20051216 (prerelease).
dba815326696d902598cdee7335379af513941c3 2005-12-19 * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): activate only before gcc 4.0.3 on SPARC and IA64.
c6c0e6f26bce5ea20243c493ae53b90314b7804b 2005-12-19 simplify previous change.
0e1642ebbfdcca88498b032e057d89e43a456705 2005-12-19 * io.c (rb_f_backquote): fix a GC problem on IA64 with gcc 4.0.3 20051216 (prerelease) -O3.
c7f66bdef98b74128cc23ce1fd1dcd3d329677fa 2005-12-21 * test/pathname/test_pathname.rb (test_kernel_open): use File.identical?. [ruby-talk:171804]
935712e8e46ebc307a3844e3e60e381712d246ee 2005-12-21 (rb_f_test): fix document. [ruby-dev:28087]
f59bd226b3bb82566d6931723f98efa8060232a9 2005-12-27 * configure.in: define IA64 for portability. (HP aC++/ANSI C doesn't define __ia64__.) don't check libunwind stuff. check __libc_ia64_register_backing_store_base.
ae2e26b23f024b6e6acf6f6a71764873a60e47db 2005-12-27 add ML ref.
c1bf7315ae9e6bf2708ec0a7a9a9abdd8f5fc238 2005-12-27 update previous change.
ebd3d34ff0e05cce8d5a815a88ccceac490b5679 2005-12-27 * eval.c (struct thread): add bstr_max. (rb_thread_save_context): use realloc instead of REALLOC_N to avoid GC.
056561c5dd3aa2842b260293b3034efe56eb350d 2005-12-28 * ia64.s: remove .pred.safe_across_calls directive. reported by WATANABE Tetsuya. [ruby-dev:28141]
99ee69b9f2634e9ba8868d8fff964bcf98ed5748 2005-12-29 * test/ruby/envutil.rb (EnvUtil.rubybin): search "ruby" instead of "miniruby". [ruby-dev:28140]
6779556b23018b057236668d8a9f6cb2c0bb64e0 2005-12-29 fix "-e:1: undefined method `sub' for main:Object (NoMethodError)"
8733060106d0fe2b5e292ef0d9fff8a3507bbcdb 2005-12-29 avoid a GC problem with RUBY_ALWAYS_GC= ./ruby -e ''.
5b8e80e9eb209bfd3d536a2e3bd969235efb3e50 2005-12-29 unused function uscore_get removed.
2b1319b03a61bb7c70ac20820bdf3d5ea9fbabd3 2005-12-29 declare rb_gc_abort_threads.
40e0fa4c1ef0e9715ffb366d6c2a829948b8ff64 2006-01-01 * missing.h (isnan): avoid macro expantion "extern int isinf(double);" to "extern int ((sizeof(double)==sizeof(float))?_Isinff(double):_Isinf(double));" on HP-UX.
861e7f276601c8e41bf7da562eb02cc4d49db0f9 2006-01-01 fix.
238b52e1e28991672cd9e29d25161c7d4406bf82 2006-01-03 fix typos.
7ac4e60f08a172cf0485bc7d18fa544415c37529 2006-01-03 some more typos fixed.
842b4d7d9a6aabadd4c72c4e8e0e982eaca352c9 2006-01-05 * configure.in: don't force getcontext on IA64.
d08d6a0d142a7c79ae75b58398c394aad51b83e4 2006-01-05 avoid "left-hand operand of comma expression has no effect" warnings.
199ef57934de0fd0bf2d1682df8714f85b65dfcc 2006-01-06 * eval.c (rb_fd_isset): compare the result of FD_ISSET with 0 to avoid BSD bug. BSD defines FD_ISSET as just a bitmap of unsigned long. So returning the value from rb_fd_isset discards upper 32bits on LP64 environment. http://www.freebsd.org/cgi/query-pr.cgi?pr=ia64/91421
5695c588c0c49967c7dc4787b79044c8331a0e98 2006-01-08 the bug was FreeBSD specific.
46043b22944ea3493b01d888a7c7a6f7b002c8e6 2006-01-08 * eval.c (GCC_VERSION_BEFORE): check __INTEL_COMPILER. Intel C++ Compiler defines __GNUC__. http://www.intel.com/software/products/compilers/clin/docs/ug_cpp/lin1077.htm
eea27ee2ec16e2b2a5c24bf4b9a3f78d32113a4c 2006-01-08 comment FreeBSD PR number.
7d8790cdc468a3f3743e580338567f4a16c4ef05 2006-01-09 * gc.c (gc_stress): renamed from always_gc and enabled by default. (gc_stress_get): new function for GC.stress. (gc_stress_set): new function for GC.stress=.
11afa4f4d07b1ef4139c1932b91bbcbfdf40c4e6 2006-01-10 * gc.c (garbage_collect): mark ruby_current_node. if an exception is raised in a finalizer called by rb_gc_call_finalizer_at_exit, ruby_set_current_source may use collected ruby_current_node and mark_source_filename may corrupt memory.
3428af761c3dec31cbe8a4076c36ef674b6c4b49 2006-01-10 bit more explanation for previous change.
77a71cf16005960ff163e9e3b83f1df66dd6ee05 2006-01-18 * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): don't clobber %l7 of SPARC if enable-shared. (ruby_setjmp): call FUNCTION_CALL_MAY_RETURN_TWICE after getcontext too. reported by Pav Lucistnik and Marius Strobl. http://lists.freebsd.org/pipermail/freebsd-sparc64/2006-January/003739.html
b8f013542a3ef0411042eee621b372ab198fc8ec 2006-01-22 * eval.c (ruby_setjmp): workaround for FreeBSD/i386 getcontext/setcontext bug. [ruby-dev:28263]
205e7c74ea0f0ae998f49d65b50f875a342566cf 2006-01-22 * eval.c (POST_GETCONTEXT): define separately from PRE_GETCONTEXT on IA64 to avoid reusing variable address.
fb5d5d48db1c095e263a662435665d48da5106b1 2006-01-22 forgot to commit.
2afb25bc808fa18253a554194e31cdebb83e08b8 2006-01-22 forgot to commit too.
1d2a56a60aa9b82a1b0ff8d6378cb854bbc5f174 2006-02-04 * eval.c: apply the FreeBSD getcontext/setcontext workaround only before FreeBSD 7-CURRENT.
ed0fd0279617024a608a8ee4c1aa931db61e92c4 2006-02-05 * ruby.h (struct RStruct): embed 3 or less elements structs. (RSTRUCT_LEN): defined for accessing struct members. (RSTRUCT_PTR): ditto.
4f245852bc12454674e9f9efe52a009a682389e2 2006-02-05 fix previous commit. don't use FL_USER0 because FL_SINGLETON.
84aa2febd665e9d9457361b5198281d0e6b2d863 2006-02-05 test small structs.
6701de8e1eaf745d577521ead3ff63b0ba08fad9 2006-02-19 * lib/open-uri.rb: add :ssl_verify_mode option. suggested by Will Glynn.
04946de81b657c439c46f3f3780182b3cc7f4821 2006-02-20 * mkconfig.rb: generate RbConfig instead of Config.
2b2910c71346c40fa867a1ae79efd0c804d9dba7 2006-02-20 * io.c (rb_io_reopen): flush before reopening a file. reported by Mathieu Bouchard. [ruby-core:7396]
b3697c2dcb72294b893d261254aa572dfc4cfdc3 2006-02-20 * mkconfig.rb: alias Config to RbConfig for compatibility.
c270c82ebb443e72746ad97b766cc70f8d473cf5 2006-02-21 comment ruby version more specific.
cb8d34855e7374f7a28b115f8d3a5e2020072f0e 2006-02-22 * lib/pathname.rb (Pathname#each_filename): use split_names properly.
ecebbcce1f58687bdcc1028bc8813f004bc22427 2006-03-02 * gc.c: align VALUE with sizeof(RVALUE) globally. (is_pointer_to_heap): check alignment out of loop. (id2ref): avoid collision between symbols and objects. (rb_obj_id): ditto. moved from object.c. [ruby-talk:178364] [ruby-core:7401]
1d05d97c45c40d96446d6fa57079a832660f400d 2006-03-02 ML ref [ruby-core:7305]
192fcacebf45f6344a5edf6d560f88ef3883273b 2006-03-03 * lib/fileutils.rb (FileUtils.cp_r): implement :remove_destination option.
989fb4fec7c3575249e4e04efbf7c37986bad694 2006-03-04 * gc.c (id2ref): fix symbol test.
5172b5a8488b4f980ba76ad9bd4410678fc34ec6 2006-03-04 fix string interpolation
afde18c5f5f7d9f49bd9787f6e76addbd0187fbe 2006-03-28 doc update for IO.popen and $?. [ruby-talk:186294]
62123eff4f017b937dcd070f42d5189a3d543b32 2006-04-04 * lib/pathname.rb: use a subclass for instantiation except methods take pathname argument. suggested by Evan Phoenix. [ruby-core:7618]
8afbf5cc03e5dc94a22dea209e50db7c64bf9eda 2006-05-07 * lib/resolv.rb (Resolv::DNS::Requester::ConnectedUDP#initialize): Use AF_INET6 for nameservers containing colons. patch by Stephan Maka.
400fa512cfe7ba4da8bf44594f4db34421bf9cd9 2006-05-09 note EAGAIN on readpartial document.
55fc4f0c276978c22dd887f11ef23505a83fe007 2006-05-13 * lib/pp.rb (PP.mcall): new method. (Struct#pretty_print): call Kernel#class and Struct#members even if overriden. (Struct#pretty_print_cycle): ditto.
52d0a1624c7bad9213c26b3443beda383dd6a273 2006-05-13 update readpartial doc.
4bd4ea12adc2507cf4d507d53d743a3efd59e906 2006-05-13 add ML ref. [ruby-core:7865]
2d80e59b76d67617e08d9f6f2c455c2255fc2ecc 2006-05-13 unused variable removed.
096ff284ca82cce0d5afb84411f647f06312b8e7 2006-05-22 * rubyio.h (rb_io_set_nonblock): declared.
04cbb0925eb885ffdfc09f6210b1c96704af2667 2006-05-22 parenthesize RSTRUCT_EMBED_LEN_SHIFT.
0773471eacc63fc7803efd3657a323b8c753a2dd 2006-05-22 ChangeLog.
dc3037bc487010b8e9368ce09aa6e7c92b6ce3da 2006-05-22 update *_nonblock doc.
078a760999a4ee00f59db3f07047070e71316e13 2006-05-22 avoid useless fcntl in rb_io_set_nonblock.
3ef6ba3d12909dbdd58c4570fc76f6fd802fb4db 2006-05-22 add reason for accept(2) failure in accept_nonblock.
31328e55fe15efa69bec9cfa3e2f5553011ab354 2006-05-24 update nonblocking methods document.
5f4ad759f1c5591a2161c374d45585d97e1e4e4d 2006-06-01 * ext/socket/socket.c (s_recvfrom): alen may be zero with UNIXSocket too. (tested on NetBSD 3.0) (s_recvfrom_nonblock): extracted from sock_recvfrom_nonblock. (sock_recvfrom_nonblock): use s_recvfrom_nonblock. (ip_recvfrom_nonblock): new method: IPSocket#recvfrom_nonblock (unix_recvfrom_nonblock): new method: UNIXSocket#recvfrom_nonblock (s_accept_nonblock): extracted from sock_accept_nonblock. (sock_accept_nonblock): use s_accept_nonblock. (tcp_accept_nonblock): new method: TCPServer#accept_nonblock (unix_accept_nonblock): new method: UNIXServer#accept_nonblock
7fd1a4b424624f3ffa2cb0dab12ee27788dc9287 2006-06-01 fix a comment.
e0fd4ffc1c05be733e87fa42c0fb4fce2168bb28 2006-06-02 update doc.
d3fde50de7eb4b0df8dc98e0d21df233be2d29c2 2006-06-04 * ext/socket/socket.c: fix sockaddr_un handling.
ae96b6e60b6630337a6b9c87d5c58a70cc41af34 2006-06-04 add ML ref.
9fcf44697a8516c6dd9077bd39e0b6cfd940954e 2006-06-04 fix tests.
8b074b244207a47219f583df6189c989d4b5f25c 2006-06-05 * ext/socket/socket.c (sock_s_unpack_sockaddr_in): reject non-AF_INET/AF_INET6 sockaddr. (sock_s_unpack_sockaddr_un): reject non-AF_UNIX sockaddr. [ruby-dev:28691]
a0261afccd73ab4907958ee0f7de27ca5a62d6aa 2006-06-07 getsockname returns "" on MacOS X
511626799f475557c00220e807d84c94769cde36 2006-06-15 new file.
bd7bd6427bdda2558470e38781252f9cfc33c111 2006-06-15 Define Process.getrlimit and Process.setrlimit even if getrlimit and setrlimit are not exist.
8317037ce50f06bbe047a8df55312ab6f116fc2d 2006-06-15 give dummy argument for Process.getrlimit and rescue TypeError.
c703f58807c35f9166886f993d91dfdda6643d65 2006-06-15 add RLIMIT_NOFILE test
eeda97f8e39354d8a57c5bdd3ab0b5e4bda22a0d 2006-06-16 * lib/pp.rb (Kernel#pretty_inspect): defined for pretty printed string.
7d274ff6fbb97c3ac8ee0ce6903f0e77b05e0b07 2006-06-17 * lib/pathname.rb (Kernel#Pathname): new method.
ad5f0fc6ccba716676a40c0a635fd41a8a782d4a 2006-06-21 use fork to isolate rlimit effect.
b77a4e2a4eeec6e5b55a0a8a662eff05f1f0a326 2006-06-21 * ext/socket/socket.c (sock_s_socketpair): try GC only once. [ruby-dev:28778]
a1dc1d6a8cf4d1d4776a13dbb8574a8c28e1a5bb 2006-06-23 * ruby.h, lib/drb/drb.rb, lib/drb/invokemethod.rb: remove Values class. [ruby-dev:28805]
934847fbeb7e6b08012c8049d8b2dc2f4d89f702 2006-06-24 add extconf.h to .cvsignore.
bb87f28346746d02aa7cb9ea7d49d03a3d8452ef 2006-06-24 * eval.c (rb_eval): use rb_ary_new2 instead of rb_ary_new4 to avoid GC problem. (rb_yield_values): use rb_ary_new2 instead of rb_ary_new4.
f20b5c99957a01d246b95d100046fb4d57d6fcec 2006-06-24 refine previous description.
32f499f9d54e53f2456bae58ab556275d75ec4a4 2006-06-24 add message for an assertion.
6143716587d9ead0d3f632c5e61cd5592e1047f2 2006-06-25 * parse.y (paren_args): wrap $2 by escape_Qundef because it may be Qundef.
1615bce205048207caa5b1465cd59b8ab4bfbbf5 2006-06-25 add ML ref.
609d6e570ef76515eb6b8f974051a564b3d4626a 2006-06-25 ML ref: [ruby-dev:28843]
6f9183d6506b68d2cdb7a33a02c14c2718241629 2006-06-25 add extconf.h.
429cb7c025157e21aae2de4ab2072a6d1b10f88d 2006-06-26 revert sock_sysaccept addition to [ruby-dev:28861].
b73e6801e30e4bd8f57d2f54cb479deaf95b74fb 2006-06-26 * ext/socket/socket.c (bsock_recv_nonblock): new method BasicSocket#recv_nonblock. (udp_recvfrom_nonblock): renamed from ip_recvfrom_nonblock. IPSocket#recvfrom_nonblock is moved to UDPSocket#recvfrom_nonblock. (unix_recvfrom_nonblock): removed. UNIXSocket#recvfrom_nonblock is removed.
8ae45d642f086128e9f632cb8320d78bf5528735 2006-06-27 * eval.c (rb_yield_0): avoid core dump. [ruby-dev:28840]
91ea1529c69e6c38be71ebe15f8204144c8b7991 2006-06-28 * test/socket/test_unix.rb: test_seqpacket_pair removed. [ruby-dev:28846]
d7ac2f0cd22999401c6057e7c05c87f474e22306 2006-06-29 * eval.c (SETUP_ARGS0): avoid GC problem. [ruby-dev:28902]
ef908a25d8e2d5b1796d9f0d92c2df5dec8c6d78 2006-07-01 * test/socket/test_nonblock.rb: add timeout to send/receive an empty UDP packet. [ruby-dev:28820]
8a15f889013afb5c185b1f456754bf8d6ad3e583 2006-07-01 add a note for cygwin empty UDP packet problem.
62a7c8fb13487b34dcc4c5531231bb5544584231 2006-07-02 * io.c (io_reopen): STDOUT.reopen(filename, "w+") didn't work. (rb_io_reopen): STDOUT.reopen(File.open(filename, "w+")) didn't work.
6f10dfaca7af1d69725b8a9c3a5ee011d1a2d2aa 2006-07-03 fix typos.
e6948e5334d0d18b517fb8536fa4f527464c4620 2006-07-08 update doc.
6d67a688f2a4115654811945257177b75b29f94f 2006-07-10 * gc.c (gc_sweep): expand heap earlier. reported by MORITA Naoyuki. [ruby-dev:28960]
599de8d7f182f4e9e15adc92dc19f609d68c7c1d 2006-07-11 remove an unused label and variable.
fd66442a1d8cec73a14601f8056b9fad238f92be 2006-07-11 2006-07-11
b3fd4cf8334dcf5fa6e1e999a013348ef90a651f 2006-07-15 // comment removed.
9ca1b5fc8efe491ae4acda5f9bcf0c9d00adad11 2006-07-23 2006-07-23
fd7f570cb267e74d47d687da6a5f55a325910fa2 2006-07-23 * test/socket/test_unix.rb: disabled on cygwin. reported by Kouhei Yanagita. [ruby-dev:29080]
b8b993c182f82294bdef30d2939f551e04ca526f 2006-07-24 2006-07-24
77146ae7cb6f6a5c7b081c93476ba9918d9a08c5 2006-07-24 * ext/readline/readline.c (readline_readline): rl_deprep_term_function may be NULL with libedit. reported by Ryan Davis. [ruby-dev:29070]
b8d19fa683a5c2277695920cccbac76a84c6604b 2006-07-24 don't compare struct sockaddr directly.
ed2c204a2f60cae73de2071b5648b60d83efb353 2006-07-31 * test/ruby/test_process.rb (TestProcess#test_rlimit_nofile): setrlimit may fail with EINVAL. reported by MIYAMUKO Katsuyuki. [ruby-dev:29174]
a5be27e2cf41d22a5fa57bd9fe8566acf7dde0cd 2006-08-03 * io.c (io_reopen): STDERR.reopen(File.open("/dev/null", "w")) should not fclose stderr.
140fad80c9f0857d6625eb95297e6fb6d2eec149 2006-08-03 2006-08-04
e91bdce87766118b9be77839fb7db65b11e38015 2006-08-06 * io.c (io_reopen): STDERR.reopen(open("/dev/tty", "w")) should not clear FMODE_PREP in STDERR.
6839b72dc54dad0b48a2e98f70996b7f3342be8a 2006-08-06 2006-08-06
303a9831a5786d7224e3146f50df743bbbfe9d31 2006-08-10 fix typos.
8ce57567b998b0f7a750718edf03d4ffebbd0469 2006-08-10 2006-08-10
fbdff22c79f0670e37900a66eb165fbebff1fd29 2006-08-13 2006-08-13
4bc2a9860ca52b497b6a5367d9036aff9bec5fd6 2006-08-13 * ext/socket/socket.c: ANSIfied. [ruby-core:08601]
1f84a162df294e01452ca369cf3745903effa7c3 2006-08-13 ansificated.
e7dae47e8ada358ee780f3411b7da889f34e7de8 2006-09-01 update modified time.
f7429344aa5b6ea9cfb7a82ff2e2325c71ae6715 2006-09-01 2006-09-02
965b0d38071a0ef6cbb23913bb7e90447f75729d 2006-09-02 * common.mk (ia64.o): use the compiler driver to assemble ia64.s to use appropriate ABI.
b23b5ed620e2fd4f1f8af52f80c6b0c87deec110 2006-09-02 * ext/curses/curses.c: define _XOPEN_SOURCE_EXTENDED on HP-UX.
c76ff0753e4ac2ab389369227add0fe008159616 2006-09-02 * ext/socket/extconf.rb: check arpa/inet.h for ntohs.
f80cbcf912a98eb84ced8c8699f24956557a826d 2006-09-02 * ext/socket/socket.c (ruby_connect): sockerrlen should be socklen_t.
94bfd049fdb8b499ead7451b029f6b33a5aa9e84 2006-09-02 revert the definition of _XOPEN_SOURCE_EXTENDED on HP-UX.
cc8ed209fce95d1da5c174af1b31c0a6b6fceab3 2006-09-13 2006-09-14
3d9fc0d7d07b821c932f05bb52eb7557670576bf 2006-09-13 * ext/digest/lib/digest.rb: new file.
be02cb10f85b313e6c66469d5818115c8b049d8c 2006-09-13 * ext/digest/digest.c (rb_digest_base_inspect): new method.
29d039601206933b1a9e5a585807576d1ba8b780 2006-09-14 add ML ref.
d6ff7b526a6b102940d06c0e70a21990203606cc 2006-09-14 * ext/digest/lib/digest.rb (Digest::Base.file): new method. [ruby-dev:29572]
803cabaceddb46579270e2470de6ed7bd157e8dc 2006-09-14 add a document for Digest::Base.file.
af05fa6a40440b0ce65870952284bb992e4d08bf 2006-09-14 2006-09-15
2043c39808d80fa4c011041864390545c80462e5 2006-09-14 * ext/digest/lib/digest.rb (Digest::Base.file): open a file in binary mode. suggested by Kazuhiro NISHIYAMA. [ruby-dev:29579]
026cc75b9ac662cd7ad9b94cb7d7b95615cd49fd 2006-09-16 use assert_same instead of assert_equal.
6580c026051738dc7386722d69a1d91bd01bc86e 2006-09-16 2006-09-17
e3b9378f38e0ddc038b7a3032c115eebf9bec75a 2007-04-25 * ext/socket/socket.c (unix_send_io, unix_recv_io): use CMSG_DATA to align file descriptor appropriately.
24af397fcdc96219ab4fc110d48aba7fad79a34f 2007-04-25 clear cmsg padding.
6f9ded1fb0cba5c14f83f0610c864e7f59d0c827 2007-06-07 * lib/pp.rb: call original "method" method instead of redefined one.
c571d4702ec568a16f1b3ee912a8cf996b480f8d 2007-06-08 * lex.c.blt: moved from lex.c.
1a8d5ed8cbeb491285290944aec2f138f9f3b511 2007-06-08 follow previous lex.c change.
94fdd87fddb977ba4a9075a05476bc6fc294b746 2007-06-08 * lib/secrand.rb: new file for secure random interface.
b1cd416c1a446f2e47e964ee6e9d77461a16427d 2007-06-08 * lib/cgi/session.rb: use secrand for generating cookies.
bfe90639909626c30a81e8fcee209e341b57d3e2 2007-06-08 documented.
3a868301ea9997fd3eca20eb62f2d5a8c74be3de 2007-06-08 * ext/zlib/zlib.c (gzfile_s_open): use FilePathValue to support to_path.
7d061438f1c0dcde95c5e798176e454217eca902 2007-06-08 * lib/secrand.rb: rename SecRand() to SecRand.random_number.
e3dbf4cebdb44778d454750a98155002b7142b3a 2007-06-09 add ML ref. for lex.c change.
52ec7cc543605ccb43e883c2a89f4a90e8cb67c9 2007-06-10 * lib/securerandom.rb: renamed from lib/secrand.rb. suggested by NaHi.
1b8a677b235066d91994e3490e0bce5a098196a2 2007-06-10 add document.
cd67b62289db0b99e6e788c18086b28b144f7960 2007-06-10 * Makefile.in: use --output-file for gperf to not leave lex.c.tmp.
54a816cfdfcb2c2b7ece54d5537a7c39432419d5 2007-06-11 fix wrong date.
4ba1c80b9a931ce948f5ea427e198f65dae1e2f9 2007-06-14 * lib/securerandom.rb: documente updated. suggested by NaHi. [ruby-dev:30966]
3cd5af52e9b321be3d3e4071359c637f0eb3bf34 2007-06-14 * eval_load.c (Init_load): delay allocating an array for rb_load_path to avoid GC problem in very early stage. (RUBY_GC_STRESS causes GC in such stage.)
d3be3d71022f091958b339e15d790e2d760ee576 2007-06-14 fix previous change.
e3dd9a78db1f918bd4e621492975b741269b5cb4 2007-06-15 re-introduce RUBY_GC_STRESS test removed by YARV.
cebc9bb19d219aaf5d035ff2d0e5fb69636bd2c1 2007-06-15 * signal.c (trap_handler): trap("SIGSEGV", "DEFAULT") may cause wrong trap error because SIG_DFL may be zero.
a30fe695e64783e834945f08fc77282b3f3cc2fb 2007-06-15 * keywords: enclose C code in declaration section by %{ and %}.
868e180cefabbbf2ec8cf53ea9f58559468418d7 2007-06-15 add ML ref.
787f96eb9793fbcd33fc1e866753c1ad7ba55325 2007-06-15 * signal.c (default_handler): func argument removed. (trap_handler): support SYSTEM_DEFAULT. call default_handler internally. (sig_trap): don't call default_handler.
afa74d6cae93b86919eef752ec34fdcfb084a439 2007-06-15 * .gdbinit: new file to ease debugging using gdb.
8092d0bd873e9d3a5e12abbf778d9705d26b130a 2007-06-15 fix trap's doc.
c4d2965fb614480d477a4be52f80ec6d0eb20f3a 2007-06-16 * gc.c (gc_sweep): re-introduce heap extension strategy change. [ruby-dev:31005]
38f9878b592f073da3fb258309d6d98470866472 2007-06-16 fix typo.
ccbdd90865c3576fb0cac306e08a2a7c5aa95089 2007-06-16 * gc.c (garbage_collect): re-introduce ruby_current_node marking code. [ruby-dev:31005]
a03d4a0635bdd594da4f494e66cc16cce25b81e7 2007-06-17 * eval.c (rb_method_missing): avoid an warning "too many arguments for format string" on "./ruby -ve 'def m() super end; m'".
7e48040b3aede45041670ba07ec6e9c5eac6ab06 2007-06-17 fix typos.
f8e1e5389faea41cde412cf91543cabba7bd0902 2007-06-19 * eval_error.h (error_print): show full stacktrace on non-SystemStackError.
e2bc064096cf85f3bf4dcdbb17a4f1f5a4de09ea 2007-06-22 * proc.c (proc_to_s): show is_lambda.
f11a6f2d65e01b966e5053ea8438d5e6c590c423 2007-06-22 * proc.c (proc_to_s): revert the change from %p to %lx at YARV merge time.
18ee9451746f5a60817e944209caeda9dacc3776 2007-06-23 * re.c (match_inspect): MatchData#inspect implemented.
fe377d3b8e554856b27e00b4c4e1ccce0cb1ee5e 2007-06-23 update document to follow MatchData#inspect implementation.
1fb587ddec95d23675a2ff919d5f4f11339ae247 2007-06-23 * enum.c (enum_minmax): fix SEGV by [].minmax.
6792979e981b6378db325a24800500c549f78bb8 2007-06-25 fix indent.
d9987aa704e5b94983aac43804269b52902e7fc4 2007-06-27 * parse.y (rb_intern2): don't allocate a string object at first. [ruby-dev:31064]
8253094f39f3daf6745bb6271816039b93a2afd1 2007-06-28 * bignum.c (rb_big_hash): fix hash area.
c4a0a17df12c2bcc3777a846765982e94c2cc3bd 2007-06-28 refine previous change.
dea470cca449120adc70592d2e934afd79c89c06 2007-06-28 debug environment variable refined.
9f46c2ba2e36f241d854012ca30104c018e2dfd7 2007-06-29 refine previous change.
c43511cd89c822789763dc2a439b0915de12c79c 2007-06-29 * lib/cgi/session.rb (create_new_id): don't cut off md5.hexdigest to follow Ruby 1.8.
50e22262fd0819b3138b75571f7b1107672cf5e3 2007-07-04 revert variable renaming. [ruby-dev:31001]
c1596a80afc2841e9368c950c82ffbf44c6987e1 2007-07-04 * parse.y (mlhs_inner): new rule. [ruby-dev:31132]
a74dbca6863a41bd948961944d1c6b19e01070c7 2007-07-05 * parse.y (mlhs_basic): use mlhs_post after tSTAR. [ruby-dev:31109]
56fe47de3a8e9ef2dff934dbdfc695d9817a102c 2007-07-06 * test/ruby/sentgen.rb: new file.
174b77b2805bca12afb67d24bfc4ce9182a8daac 2007-07-07 * lib/pp.rb (PP::PPMethods#pp_hash): sort if all keys are strings, symbols or integers.
acbffce267b63bb06281f3ebe6a8bb0d897d4566 2007-07-07 * lib/pp.rb (PP::PPMethods#pp_hash): sort condition changed: all keys have a same class which is kind of Comparable.
f880de86edc7eacd6b37c5d0b18956a7117d6564 2007-07-07 fix typo.
c13cd729bfdb5f5eb44ec681db4fea85f029a31f 2007-07-12 * range.c (range_max): use FIX2LONG instead of FIX2INT to avoid RangeError by ((-0x80000001)...(-0x80000001)).max on LP64.
8f79c623f39756cce4c8a81dc77d24972629ae7d 2007-07-12 add tests for [ruby-dev:31189] and [ruby-dev:31190].
4bb5091496d4f06384fcfc775271247693f115ec 2007-07-13 add test for [ruby-dev:31160].
853999fb20f49b4f519d39e9ee4a29f2bbe554bf 2007-07-13 add test for [ruby-dev:31153].
091fb1c2e49ab52b6433186a7bfca7f1a43a8376 2007-07-13 add test for [ruby-dev:31197].
d98a362c1a8925cf68a379e81b58be704bda19e3 2007-07-13 * lib/open-uri.rb (URI::Generic#find_proxy): use ENV.to_hash to access http_proxy environment variable to avoid case insensitive environment search.
a309f1047548bafcde65ef66143854f289926bab 2007-07-13 sentence generator updated.
c393603f945d22fd6edd1b16ca367c41a5f6962c 2007-07-13 add test for [ruby-dev:31210].
c6818f4104448757677a6c5835c38a61475c78b9 2007-07-13 check (-0x4000000000000000)/(-1) too.
d2113feba8807132bcb550e3131fed9f53c863b6 2007-07-13 more tests.
71467c78c2923115649ce93550352fd4f9d550e5 2007-07-13 new file.
3cf28c2caa1d0edbd78082bfe7b6c01172bb861f 2007-07-13 add assertions using equations taken from Hacker's Delight.
744701f40464355af08734482b7ec02f6447ca25 2007-07-13 more tests.
4122a1356058bc4df1073713b8f43a75a8cca51a 2007-07-13 check values around 16bit.
3a4e0f1f5ab181ddc42a4f5359a114737c5d218a 2007-07-13 refined.
75d484a453ca5448d0b916f813b3c7782ffa4b65 2007-07-14 more assertions.
0886a4d8a06a609445f04351dc1e899dd59a3678 2007-07-14 * configure.in: add --enable-valgrind.
a8b39ddf5a3dfd8717e88e95f3aff71fd414aaf3 2007-07-14 change --enable-valgrind to --with-valgrind.
4608b08d1f86a15674a403e8218fdbce6a18e4d4 2007-07-14 make mark_current_thread static.
bb44ba9b72adf41dc17714351df724bc5c21bd7a 2007-07-14 rename mark_current_thread to mark_current_machine_context.
146216ccb40e64d34f28d585b3b2f1328cc8a121 2007-07-15 add comment.
1edeb9a6d12ab2a74efcf7db4498a4603918d7ee 2007-07-15 fix previous change.
3c883bdd1700f23da29fd8f534ee366855c0a6a5 2007-07-15 refined.
dd523215af505c1f80997fd71d3afdc2e62aac92 2007-07-15 add reference.
746a7ec4f676b84febc1c2199bbfba20b3c9050a 2007-07-15 refine failure messages.
863e7e95f2a811530df1f5bc8400d098c35cce45 2007-07-19 refine tests for shift. more tests for string to integer conversion.
8721f3983daf486a173b8ebc5d1ca7266c35014b 2007-07-30 add assertions.
d18fd7206d494cb1db54a018afa722f001be5e61 2007-08-06 add a test: def m() yield end; p m {|((*))|}.
7bc137942d07349a5ab90e4f1e54ce17fd376fe5 2007-08-06 add test using sentgen.
cc317d920817a169a8761c9e756082bcc126a1c1 2007-08-08 variable renaming refined.
fb20d67ff5b7966b5203d4ece1bc70a03ed51980 2007-08-09 update syntax (f_marg_list).
8a25f09d6c9dfd55644d8b3afb750cdc76c5bc7e 2007-08-13 * lib/open-uri.rb: make ftp passive mode to avoid NAT problem. [ruby-dev:31377]
b235e8f474b24b22162ed3feb8a0a3abec14f2e0 2007-08-14 * bootstraptest/runner.rb (assert_check): new method. (assert_match): new method. (assert_equal): use assert_check. (pretty): give failure description as an argument.
333454e4dd89fb6bd1c206cd79485b22ffb992b7 2007-08-14 * bootstraptest/runner.rb (assert_check): don't call newtest. (assert_equal): call newtest. (assert_match): ditto.
aca2aa245774a4ec6861aa00c109d3cd76b40ba8 2007-08-15 TestRubyYieldGen#test_yield needs too long time.
bba925eae6f49931a46fd879425c1b0927e95aab 2007-08-15 * lib/tmpdir.rb (Dir.mktmpdir): new method. [ruby-dev:31416]
5aa850d260849a13f4b372476321e822e3f9601d 2007-08-15 forgot to remove.
02c581be74aba5d5d509717c78e89b60b49421bf 2007-08-16 * bignum.c (big_lshift): make shift offset long type. (big_rshift): ditto. (rb_big_lshift): ditto. (big_rshift): ditto. [ruby-dev:31434]
478e984e939cc79c7d23910ceda1482cbb0cbf14 2007-08-16 update Dir.mktmpdir document.
9a26bd3f57fac024f0b6d6ad11882ced875a5007 2007-08-16 * test/ruby/sentence.rb: Sentence class implemented based on sentgen.rb
5fe865d0ac29601d8220e0055e46282cc25a472c 2007-08-16 add test for [ruby-dev:31437].
c710449a85cb9a1556264ab1a5dfa1640e1f925a 2007-08-16 fix "&" handling in block parameter.
82a9ca296b69144212c10b66eb932555310bd973 2007-08-17 * bootstraptest/runner.rb (in_temporary_working_directory): use Dir.mktmpdir to create and remove temporary directory. (Dir.mktmpdir): define if not available. [ruby-dev:31431]
6355e16257501fe882c4aeeb22b683ab0f279b23 2007-08-18 fix Dir.mktmpdir doc.
f62fff5f413048d4cb19207212bb25fee84b9963 2007-08-18 * test/ruby/test_yield.rb (TestYieldGen): add test for yielding to lambda using lambda parameter passing emulator.
4a6335717f11b799bcc7c12564b9c25da677656c 2007-08-18 add test for [ruby-dev:31472].
88e1fec39389ab4ea4952db397e7ad1d1bab4a65 2007-08-18 lambda yield emulator refactored.
7017b63b81dd2ab35c6f33d9dd01357480b77b9a 2007-08-18 * test/ruby/test_yield.rb (TestYieldGen): relax array size check in nested parameters. [ruby-dev:31485]
9e5d0d861f1f082c0c8632e62aa018972cc533bb 2007-08-18 sentence.rb documented.
a854a4358f84a04cb79b8e0db3a08f63731fd526 2007-08-19 * test/ruby/sentence.rb: new method Sentence().
1d23c250f07a3d977eb5b0c9dd4fac359dc112d2 2007-08-19 * gc.c: use VALGRIND_MAKE_MEM_UNDEFINED to detect use of collected objects if valgrind is available. It cannot detect first 2 words because they are used as the free list.
cf82149d213c7e140bd6c50072598a2fa19af45b 2007-08-19 Sentence.expand_syntax refined.
c4d6f4c01e44aa48070d091649795c586f3583e6 2007-08-21 * lib/tmpdir.rb (Dir.mktmpdir): make directory suffix specifiable.
d4486478d4a8c1aa624bad3316470765a490c381 2007-08-22 add test for [ruby-dev:31522].
00e6d5da69fd986b100fd9da18f490d201bd5dd9 2007-08-22 * bootstraptest/runner.rb (in_temporary_working_directory): don't remove the directory specified by --dir.
29ce3fad8213ec9d6c5988227a6487b9af244ac0 2007-08-22 test for [ruby-dev:31592].
4c86818f47ddd7988545c41c94b26cf39a19cc98 2007-08-24 * test/ruby/sentence.rb (Sentence): include Enumerable. (Sentence#each): defined.
0ada813abfe3a049da29bd423ba34606a00777bd 2007-08-25 test assignment order.
6527bcfe30e84c0b3f28b039f251ced47218c32c 2007-08-25 add test for [ruby-dev:31507].
167358d00091069aac5874b38d04ef9ae20e1828 2007-08-29 * include/ruby/st.h (struct st_table): add entries_packed 1-bit bitfield. decrease num_bins 1-bit.
089cfabaf00f1d208f1af15c64a5e7c8b7025dc4 2007-08-29 add test for [ruby-dev:31609].
24385e708ec111dc199c27d937c04656d6f8e6d9 2007-08-29 * lib/open-uri.rb: add :ftp_active_mode option.
2a4c4f7b0c147585119036c43c1d04f73621e510 2007-08-29 * include/ruby/intern.h: declare rb_hash_tbl.
eee95e67b9794c3c4d3a583b413377c12bcb565d 2007-08-29 enclose RHASH_XXX macros by parenthesis.
1591776d465bb901d0be1f45d03a65e2691ede50 2007-08-29 forgot to modify ext/json/ext/parser/parser.rl and ext/tk/tkutil/tkutil.c.
2b18d1ee8e0d2b715da4c5ac8e6043c6037e49c4 2007-08-30 * hash.c (hash_alloc0, hash_alloc): unified because hash_alloc doesn't allocate st_table now.
c8b8b7438e469fc66d981507e8e2085e7ff0208f 2007-08-30 add comment.
b39e00d39d426ef8a08af0a3627ea7f5bf4cd973 2007-08-31 fix comment.
2c8e7a50c1db8fea3fb012052828ad1eea51883f 2007-09-01 * include/ruby/ruby.h (struct RBignum): embed digits in RBignum for small bignums.
96c859834e792cc0ad82868f602c363684857917 2007-09-02 add a test for [ruby-dev:31709].
15c8e4618bb2d0f63b338f74e1525c815ac7175d 2007-09-02 * include/ruby/st.h (struct st_table): make num_entries bitfield instead of num_bins for speed. num_entries has less access.
89e1e1e78400a4bd8c9f701a197e6f30d2bee74e 2007-09-07 add test for [ruby-dev:31759].
2a37152f3fa3cd90f786c581dcc8d93b6279c288 2007-09-08 * eval_method.ci (rb_get_alloc_func): new function to get allocation function.
4fe6fa884957545c0cecaee8ac4ebaa636904a43 2007-09-08 add test for [ruby-dev:31650] and [ruby-dev:31659].
c19ebe04e6a7842b9e6986c3616be409c9491b35 2007-09-08 abolish warnings.
a8b4677b144e30ad764a108459c27102fa087826 2007-09-08 * marshal.c (r_object0): don't call user-defined initialize for T_STRUCT objects.
29dcf02239830f8749f55cdcf40421b45f6ffecc 2007-09-08 values doesn't needs to be volatile since it is passed to rb_struct_initialize.
507a5116c6aa164577a8b3c471489c9bd6bd62aa 2007-09-08 * marshal.c (r_object0): check T_STRUCT type for structs.
4261abb2305320ac2a335fed5460adafc265f0bd 2007-09-10 * range.c: represent initialized state using EXCL instead of FL_USER3.
068d11ef96ba506e3606713d431ce053e5e8294b 2007-09-10 * range.c (range_dumper): make uninitialized range dumpable. (range_loader): make uninitialized range loadable.
35028627e581b0a77385e6d6f4fee799c4a6a2f2 2007-09-11 forgot to follow RHash change.
f610ff5a397a8f980524ad082bef07e752595e1a 2007-09-22 add test for [ruby-dev:31816].
9b268cdbca9147515fca783448e66bb1aaa96677 2007-09-22 add test for [ruby-dev:31818].
15838ab0053aa6319696f64fc3f85b291c5eb6d0 2007-09-22 add test for [ruby-dev:31817].
4fb45dd5dca3f5973b16fd3c57c6ffe7a841e42a 2007-09-22 merge tests for [ruby-dev:31816] and [ruby-dev:31817].
cecd39bee2dd6e442230f2784aa8f68f39ce5b6c 2007-09-26 new file.
654cdfb90ba127bcf453d3d45dc7a3f4c99a8c05 2007-09-26 * bootstraptest/runner.rb (assert_finish): new method.
bb32165fe9934ee3fb2bb06cb47772b77af0ce19 2007-09-26 refine a test.
cc09ba4699b438773177639beac10b66bf2c98c1 2007-09-27 add test for thread local variable with fiber.
34d9c3d5c74aa12898f96008027e74eb52c8164d 2007-09-28 thread variable test refined.
5c0e68c39c3fc7717311826549a30d1615eb2007 2007-09-28 * include/ruby/intern.h: export rb_ivar_foreach.
37f9d089ed30477e1f7d8c54fde6047e7c1d3154 2007-09-28 check codepage for SJIS pathname test.
d6c43c45eaf5a6813ba5c2b3a68df154a69bdf9b 2007-09-28 rb_classext_t member order exchanged to make frequently accessed member at first.
228728325ee08b31944cffb35126222d1671c01e 2007-09-28 UNIXServer.new("a\0b") test removed because UNIXServer.new accepts NUL as abstruct unix sockets.
a9c2a18cc796fa59d5d696ef9d99d41b1149a242 2007-09-28 don't generate temporary files under current directory.
4dc8ff965bea4226c36acae8880dc359e05414dd 2007-09-28 refine previous change.
5a3e59d284a20bf7bda78b828dfce522267acee8 2007-09-29 * object.c (rb_class_real): use BUILTIN_TYPE instead of TYPE. access flags directly intead of FL_TEST. they are enough because cl argument is a class.
238ac9fcb2abd5cfea328eb108886e523c09189b 2007-09-29 * variable.c (rb_ivar_set): fix class instance variable.
2d6ad7e11875aca83123fb98aa82a3c4428ed941 2007-09-29 add test for a define_method wrapper.
d537ca1f847efc8298ae4aa1d699c68b48302195 2007-09-29 * bootstraptest/runner.rb (assert_normal_exit): new method.
6108fcdc53fb5b44cc397cf622e9f07cb1cc82ca 2007-09-29 use Marshal.load instead of binary string.
910b0709ed68184c84e93e122d3c42a36843a5e9 2007-09-29 * re.c (Init_Regexp): test DEFAULT_KCODE in C code because KCODE_EUC, etc are enum.
c0d197423db523850799461fa32a2f523447d582 2007-09-29 * bignum.c: use SIZEOF_LONG instead of SIZEOF_ULONG which is not defined.
f2d609e0f6937d37a9671bae43038994d425c579 2007-09-29 fix typos.
11f6502652a1c618bbeb050a7f2f9ba1faa2a58e 2007-09-30 add test for [ruby-dev:31911].
d1c7f6c9cd1b226be6754157b70b665aa32e079e 2007-09-30 * numeric.c: use #ifdef for test LONG_LONG_VALUE.
adf5c69f295ff1eb8e6d698c77ef3e1a0e855109 2007-09-30 * bootstraptest/runner.rb (pretty): don't show beginning empty line.
1a004904d1a9e61a404063538bb89c82530b814d 2007-09-30 add test for [ruby-dev:31913].
e5a15da7990e9bc98733b11cfae3180023e82ee3 2007-10-01 * bootstraptest/runner.rb (assert_normal_exit): use `` instead of system.
adcd9f7ea160d60a9433f012707f1fd62c6eb97e 2007-10-01 * bootstraptest/test_method.rb: use assert_normal_exit to test [ruby-dev:31818].
5838fff3341e6b4ebca956a6a96659eb5afb9859 2007-10-01 check exception on Process.setrlimit.
137edebc4a25c1483ba38f905b2171c8612fe54b 2007-10-04 fix typos.
ef1d280a4c93e4403ad8b2d0975950ab6e16c44b 2007-10-05 * bootstraptest/runner.rb (assert_not_match): new method.
dea669cf4e6c8c4a6fa8ebc3eeb0a315b3d07363 2007-10-05 * re.c (rb_reg_s_union_m): Regexp.union accepts single argument which is an array of patterns.
b5b6d1f0ea914515adf9e11849bc365fd04f26b5 2007-10-05 add ML ref.
d751dad12abeee9b257da2269e26a12e386b786f 2007-10-06 add an example for Regexp.union document.
c2115fe8f4c5f11f11a9b8312ffa1154c7dda440 2007-10-07 * include/ruby/ruby.h: enum ruby_value_flags removed. * ruby.c: define RUBY_FL_* as const VALUE for gdb.
fe1ecef30270651277916c3d86fe6f498266307f 2007-10-07 refine previous change.
775eece15a55815473f20229c23866b32439c907 2007-10-07 refined again.
9b2350e8360314ac6cffc2c332a186036b8e24b6 2007-10-07 add ML ref.
a6e5b6d660869b0dd5fe1247eb5764b53fad8669 2007-10-07 * include/ruby/node.h: make node flags as VALUE type. enum ruby_node_flags removed.
b07ff6ba89e5183e433d1bfb12ef415298e5ae45 2007-10-07 avoid magic numbers.
cf9bdd01d896bcf013b38a97f7e40a253009179d 2007-10-08 fix rdoc position of Regexp.union.
04da3111efd4804d098e96e03eb1b99a421c005e 2007-10-09 add a test for [ruby-dev:31982].
44ee78db94567e6550fcc83bea5d4cac325cf3e0 2007-10-09 add a test for [ruby-dev:31985].
ee624f97ac3560abfe55e6d8ba88bb38a4016180 2007-10-10 * encoding.c (rb_enc_init): don't alias iso-8859-1 to ascii.
04c290820c99e5b0daefa4c55d1a80abcfd17aab 2007-10-13 * lib/open-uri.rb (OpenURI.open_http): fix :ssl_ca_cert option.
9d326d261ef24dc4ba0b66be29f12fcacb9be52d 2007-10-14 * lib/pp.rb (PP::PPMethods#pp_hash): don't sort keys because hash is ordered. (ENV.pretty_print): call pp_hash with sorted hash.
a0e3752870c2159c56c52ec971a5ed7f42649701 2007-10-14 add a test for [ruby-dev:32054].
297d2e05cbb0ff8314cf9f595ba8916ef23b0ad3 2007-10-14 * ext/socket/socket.c (s_accept_nonblock): make accepted fd nonblocking. [ruby-talk:274079]
8c3658fd1b3d377158b53784652a72fc005321c2 2007-10-15 * process.c (pst_to_s): returns a string such as "pid 10220 exit 1" instead of "256". [ruby-dev:32053] (pst_inspect): change format "#<Process::Status: pid=10220,exited(1)>" to "#<Process::Status: pid 10220 exit 1>".
b8dc3c1e2ae4ebf40485c3191995ca3a8d8624b3 2007-10-16 * ruby.c (RUBY_ENCODING_SHIFT): added as enum.
4b3a26c00e08ab835ed5e5e904f289980776c553 2007-10-16 * ruby.c, debug.c: move debug enum and constants to debug.c.
dfcfa13872911e6806bb07ecee878a06987dd20d 2007-10-16 * debug.c: use enum for constants for gdb if possible.
6ade565b634260c3fb7dd53d854803ddfebfe913 2007-10-16 NODE_LMASK is also possible for enum.
55eed62a43273d2728800d0af0140414a4b2dbc2 2007-10-16 Regexp.union("a", "a") causes SEGV.
24c863cf84f8c4573d2b8c30c88258c6b18e9f1a 2007-10-16 It should be ArgumentError that Regexp.union( "a", Regexp.new("\x80".force_encoding("euc-jp")), Regexp.new("\x80".force_encoding("utf-8"))).
ea0c6d3349046d6dc743bd73ca27c2ece8e91d7c 2007-10-22 add a test for [ruby-dev:32084].
124bdf881594b09dc5748d0dec4e27519aac5c68 2007-10-23 rescue Errno::EWOULDBLOCK as well as Errno::EAGAIN in sample code in rdoc.
5d2671d2bc4b0009d8d2b419369f80f9c2ada1e8 2007-10-24 use Dir.mktmpdir.
0945e23b078b07e18c6dcf690c33f45a180d3e9f 2007-10-24 doc. wording fix.
462d4e12247f097123001227b1500a84519e41ed 2007-10-24 use Dir.mktmpdir.
7eee7f1cde9012d4ad315fa4562eb63a8f7c7fb1 2007-10-24 forgot to modify TestDBM2 and TestGDBM2.
7989a0868d6a5231bfbed846eb84d99c7514939a 2007-10-24 specify prefix for Dir.mktmpdir.
2e064c694ce2e24030188da5f89ad66a59118350 2007-10-28 * lib/open-uri.rb: :redirect option implemented to disable redirects. (OpenURI::HTTPRedirect): new exception class for redirection.
21eebfb086c3feb30bc59a11299da6d74ec92e81 2007-11-03 * configure.in: --with-vendordir implemented.
9435853daf0cdc9400cd1dceb8b38cd83a81efaa 2007-11-03 * configure.in: --with-vendor-hdrdir implemented.
fbc00c877258057fe282659cf5e7d0a1c9dcc80e 2007-11-03 * README.EXT: explain --vendor option for extconf.rb
16c8ac3921ace49eecc16b16aabc5d417fb3d4b8 2007-11-03 * gc.c (count_objects): ObjectSpace.count_objects implemented.
e920777bb5c9d8a9e0cdf38d72fc00bbb40e6e39 2007-11-03 add ML ref.
4cdcfbe2ba2a9b529c189dc5e17b386d425e1920 2007-11-03 * gc.c (count_objects): count TOTAL.
b3ab1dbf34f9ab5b69462c1b7aa8575c27cf8f65 2007-11-04 add test for Regexp.new("\0").
794fc684e8441afb840137e16fb26eafe3245c05 2007-11-04 * re.c (rb_reg_initialize_m): use StringValuePtr instead of StringValueCStr because \0 exists when Regexp.new("\0").
af9c868eae89487e8083a61837479efad69b5c19 2007-11-04 * re.c (rb_reg_quote): quote \v as well.
040ffb5d792d932215b7b6fbce9ee9752d76e285 2007-11-10 * gem_prelude.rb: new file for gem libraries. currently empty.
3480ff6ec1af70e16fb307bd17d9495c026c3f96 2007-11-10 format change.
00e55418cedb52c5d10383359ccb4d6fb7aa2135 2007-11-10 * common.mk (EXPLOBJS): create new variable for ext_prelude.o.
7315b449f3b184cc46568ad2e2e765d31510dab3 2007-11-10 * common.mk, Makefile.in: generate libminiruby-static.a which contains prelude.o for miniruby.
b3d64632eade955a4e6207ce422f84156caa9ceb 2007-11-10 fix file list.
7cb1a184c862beebca7cd47d7383bf89628d48fc 2007-11-10 don't use 1.9 feature.
c585a9eba193379ca18f7e80f30af2a7552e97c1 2007-11-10 * configure.in, common.mk, Makefile.in: don't generate libminiruby-static.a.
098a5639355b11697159ab916f67b53b43088a8b 2007-11-10 * string.c (tr_trans): cast to unsigned char after dereference a pointer to a char to avoid SEGV with "\377".tr("a", "b"). on FreeBSD/amd64.
53d2cd2435f8caaa1a3dc762e3e089c302b60a44 2007-11-10 add comment for interpreter issue.
c5335ee110cfab1179018f6b0dbd504742017a4e 2007-11-11 * lex.c: renamed from lex.c.blt.
f0a827f087db47cb4555491511cebf46e1eeec6c 2007-11-11 * Makefile.in (lex.c): touch lex.c if gperf failed. Although this may cause non-updated lex.c, svn co may generate keywords newer than lex.c especially on a file system which can record fractional mtime such as XFS.
efd8303bc39d07a2bb20c891bf1778077c437e7e 2007-11-11 touch lex.c only if lex.c exists.
7687666c4511af9ca98e1699a7b4a2e2798c82e7 2007-11-11 report how lex.c handled.
ae7a85f54961576ffa5273a6710a550e1473143a 2007-11-11 copy $(srcdir)/lex.c if gperf failed and $@ is not exist.
200c3aaa25c07fc40cb4bc9b38a51528e2117807 2007-11-11 * Makefile.in (lex.c): simplified.
d705eabd777010b4306c996c9a8a3fc9a2795b7c 2007-11-11 * {win32,wince,bcc32}/Makefile.sub: delete lex.c rule.
f13082c95d0d7b3bf738989e10b3cd7a867deca2 2007-11-11 * Makefile.in (miniruby): use $(LIBRUBY_A) with prelude.$(OBJEXT).
24b62f0ee88d4ef3f2fc0ef09b0883454162483c 2007-11-11 revert previous commit.
900da8992d987efe55e788a15d21777dba7d48eb 2007-11-11 refine dependencies of miniruby$(EXEEXT).
457686dd11881afbaed38c03bc94dcc79dd9b908 2007-11-11 refine doc.
6f9dbb1636e34dbf12e45b31bc1f54611d174280 2007-11-12 * configure.in (DLNOBJS): defined.
e8f7398ce95c1cb1b8ee1114a3df47530523d74d 2007-11-12 rename DLNOBJS to MINIDLNOBJS.
2c645e7ab61bc7562a58c35f6bd12d335b7281e4 2007-11-12 forgot to commit.
a48fd5df213e076084757a5333d7b4767eff1cfc 2007-11-12 * configure.in (MINIDLNOBJS): removed. (MINIOBJS): set to dln.o if dmydln.o is not used.
c840239cc8b95f0810e5125599a469c15909ac07 2007-11-12 * Makefile.in, common.mk: add ext_prelude.o to OBJS.
2c42aa4364f2be6cfc83183ad51cc771a6cfb065 2007-11-12 * Makefile.in, common.mk: add prelude.o to MINIOBJS.
9829e14432c2d30371305120c58c406a9df69a68 2007-11-13 * lex.c.blt: moved from lex.c.
19c0ede6fc6d148af85e2f5191a63da65b2e3feb 2007-11-13 fix test.
093fe3b839b9d3c5890e0d31faaefcce5d8acf7c 2007-11-13 * missing/isinf.c (isinf): don't define is the macro is defined.
c87280a54ee7fa255102ff55ea042721943df1bc 2007-11-13 * configure.in: no need to set ac_cv_func_isinf=yes on non-gcc solaris.
1a6e152000eb036b28ebe26a4b89f03d9300d455 2007-11-13 fix typo.
e81b38e3782d280c1577b78b35f8a1c5cd217a3f 2007-11-14 * common.mk, Makefile.in: rename prelude.c to miniprelude.c. rename ext_prelude.c to prelude.c
0529882de724854044ee499fbdcb7ffbcad6e06c 2007-11-15 * ruby.c (usage): fix typo on --disable-gems option. pointed by Richard Kilmer.
af6a9d70b27ba96366a2b7b37c0ed06d687d86bc 2007-11-15 * tool/compile_prelude.rb: adjust RbConfig::CONFIG paths relative to the installation path.
3b37c7456406b7b9423c5fe0399f792be37e7d27 2007-11-15 * tool/compile_prelude.rb: use simple template system for source code generation.
afb554d90a742933f7f45ecd4f443ba427508e92 2007-11-15 * tool/compile_prelude.rb: use constant for prefix.
f1bc46f06d56232b38d53e263efc631efe68eb9b 2007-11-15 * tool/compile_prelude.rb: fix first substitution. use constant for prefix.
479c06d19d415f19a97f296c27a8a021f0c131c6 2007-11-15 * tool/compile_prelude.rb: absolute path may not start with a slash. pointed by usa.
790f631301b8318df8b57ec8967fb2a56215cf76 2007-11-15 escape "{" too.
7d6eb8e68bb215a04ad7b5b28d31af6b3c177849 2007-11-15 * tool/compile_prelude.rb: fix TMP_RUBY_PREFIX for relative load path environment.
501407d3af04a2a7c4b4d49168d512fb89327b6b 2007-11-15 add largefile.h, miniprelude.c, ext/fiber/extconf.h, ext/fiber/Makefile, ext/continuation/extconf.h, ext/continuation/Makefile for svn:ignore.
aa7ce1ece14842c6e376107c339374e5bc6f4b6c 2007-11-17 * lib/mkmf.rb (have_struct_member): define HAVE_type_member.
5c19fbacec511e2dd62e7a76e3160f7b7b707358 2007-11-17 check class.
68543f30921c52cb1bf5c041879a232b41ba6580 2007-11-18 use ML ref. for assertion message.
1e3ca9807b94902e1a36ef9abacea4cb0116209b 2007-11-18 * time.c (time_arg): show actual year in 2-3 digits year warning. (time_mdump): show actual year in "year too big to marshal" error.
3184ac2dfed8366246df87af97eee548f4ab7248 2007-11-18 * time.c (time_minus): fix Time.at(2**60+1) - Time.at(2**60).
30e97cbb8b4095250784cae859ba970413451f45 2007-11-18 * marshal.c (mark_dump_arg): it may be called after dump_ensure.
a070c4fbe3cff184d224d1abb8a3101e3c11fc48 2007-11-19 * configure.in: check struct timespec, clock_gettime, utimensat, struct stat.st_atim, struct stat.st_atimespec, struct stat.st_atimensec, struct stat.st_mtim, struct stat.st_mtimespec, struct stat.st_mtimensec, struct stat.st_ctim, struct stat.st_ctimespec, struct stat.st_ctimensec.
81f0bb309e5448a1c62e1f54df0deb716869a794 2007-11-19 fix Time.parse to support nsec.
63a297994b9226276d36ecf986e301f3f83fccf0 2007-11-19 * file.c (utime_internal): fallback utimensat to utimes.
b5ccb6b34f05561b1dbf273f32c955ce65d9bf85 2007-11-19 Time#nsec and Time#tv_nsec described.
18b46e0c21738f128a21519fd87ff5d38800deeb 2007-11-19 update doc.
b4a002070779beaf267ae86bb9c54ba50e99d633 2007-11-19 * test/fileutils/fileasserts.rb (assert_equal_time): show nsec if assertion fails but time.to_s equals. (assert_same_entry): use assert_equal_time.
44b6b031bac42734d567b3adfefcaa80011fb039 2007-11-19 previous change refined.
ee1029cb7f040405c1e249bbbd5806f509ef39e1 2007-11-20 * test/drb/test_drb.rb: rename TestRubyYield to TestDRbRubyYield to avoid name crash with test/ruby/test_yield.rb. TestRuby18Yield is renamed to TestDRbRuby18Yield too.
0d8ac93f58782d694f30daf7dbf2735b3ecb434c 2007-11-20 * include/ruby/io.h (rb_io_t): add tied_io_for_writing member.
60d0ddc942e1c5822bd7b88a4df61153891e82eb 2007-11-20 * gc.c (gc_mark_children): obj->as.file.fptr may be 0 for T_FILE.
d481323b9211cc0823fba407253d0432fa7f1734 2007-11-20 * io.c (rb_io_close_on_exec_p): new method IO#close_on_exec?. (rb_io_set_close_on_exec): new method IO#close_on_exec=.
9ea27a0b53b7b104c62b7c37119d176c7c103dfd 2007-11-20 update doc.
43e55c6bc4ef107d1be548ed24a2772f96d36987 2007-11-20 * time.c (time_mload): ignore invalid digits in submicro.
a5c44807324afc06cac9975bfccd6579a0c07271 2007-11-21 * test/fileutils/fileasserts.rb (assert_equal_timestamp): new assert to test tv_sec only for filestamp resolution portability. (assert_same_entry): use assert_same_entry for mtime comparison.
6ed29c55ef84a2dab81a2b7eb8c2a0516438f333 2007-11-22 add test for [ruby-dev:32329].
cca64ecb9a5d228de0d8fb483785a9bd78c7905c 2007-11-22 previous change refined.
0dbdad759916fb214750882cf73f4d686b3f10aa 2007-11-23 * struct.c (rb_struct_define_without_accessor): new function.
f1afb3959cb1746ea9f632cac069549ff289e84b 2007-11-23 add ML ref.
2109a52503eb61ef38b25aa2266f0313e7ad56ac 2007-11-23 * re.c (REG_CASESTATE): unused macro removed. (rb_reg_prepare_re): check encoding difference. (rb_reg_initialize): check 8bit byte.
0d8956725284206788bae5fbd6ed032f186ad366 2007-11-23 * struct.c (rb_struct_alloc_noinit): new function. (rb_struct_define_without_accessor): add allocator to the arguments.
e265a55740d7cec3e392d421e4e0f76c6fdb56f0 2007-11-23 fix va_start arg.
1d8519ad8640029724e1469b6906da2bc8ed98fb 2007-11-24 add a test for [ruby-dev:32351].
07ba43734dad3b26d3e0ecb6d3c75a05efce7d7d 2007-11-24 add test for printf format %x, %o and %b.
f90fdbfc73ff41570a068b410692acd4812ef9f5 2007-11-25 add more roundtrip tests.
43090c9f504f117203085286710d92afc2429f34 2007-11-25 test_to_s refined.
b2e60b2ce7a7cbcb8a67ac78606a18d3c2591d81 2007-11-25 * include/ruby/encoding.h (rb_enc_str_asciionly_p): declared. (rb_enc_str_asciicompat_p): defined.
0dc9be63a5f5a2835f5e3910e9c2f4d5067b37f8 2007-11-26 * re.c (rb_reg_fixed_encoding_p): extracted from rb_reg_prepare_re and rb_reg_s_union. (rb_reg_s_union): refactored.
2ed20789094a372076ca59539d18bd2fd3062f60 2007-11-26 fix coderange.
cbd72b86da4f6ed5828c83ec17d9febd8e304bf7 2007-11-26 * re.c (Init_Regexp): new method Regexp#fixed_encoding?
bfc502fe517dee050085df406c72f61593a9d2fa 2007-11-26 more tests.
f5ee0fd52135315aba8441420cd647a06b718c59 2007-11-27 * include/ruby/encoding.h, encoding.c, re.c, string.c, parse.y: rename ENC_CODERANGE_SINGLE to ENC_CODERANGE_7BIT. rename ENC_CODERANGE_MULTI to ENC_CODERANGE_8BIT. Because single byte 8bit character, such as Shift_JIS 1byte katakana, is represented by ENC_CODERANGE_MULTI even if it is not multi byte.
f63918441e61c9191d1040b9a50c9ee6df0f7f53 2007-11-27 longer timeout.
c3c320c40a39af7befb8a2add54fe5f4ad2fde9a 2007-11-28 test exceptions.
6272cf8ecd8f4cd35af10aecf505f22b8244c56d 2007-11-28 add test for enumerator.
092ec0146dbf4489e4754a6287ddc81feb055c83 2007-11-30 report the reason of process termination.
7ff702406a324ed12c69bc23a7cfaf066e401547 2007-12-01 * include/ruby/intern.h (rb_uv_to_utf8): declared.
bd741ee16a414d15cc7be250c70f0cb01e742805 2007-12-01 (test_time_now_cycle): cut off under micro second.
5a930580c9ec152ac3940b3b5ecfe2a86813835c 2007-12-01 add a test for [ruby-dev:32404].
21729a1c7796cb152f9dc13b56ca2d761e511a96 2007-12-02 * parse.y (regexp): fix /#{}\xa1\xa2/e to be EUC-JP. (reg_fragment_setenc_gen): extracted from reg_compile_gen.
850cd3a536e491bba93c9a09670d680b9294fb4d 2007-12-02 eval("\"\xfd".force_encoding("utf-8")) generates garbage in error message.
0893957bc6c5c1b0a6fc145ed6b53a2e475007e8 2007-12-02 add ML ref.
9bd11f24b3d37c689519696db2851402a77270d0 2007-12-02 s/unicode/Unicode/ in error messages.
f8e92ad562b10547c2fdcfe028e2616da3f6f579 2007-12-02 check Process.kill instead of Process#kill.
c650096adf12f6a51604d455a6aae7314ab3d1e1 2007-12-02 * re.c (unescape_escaped_nonascii): fix mbclen argument.
7f65110b53b2ee66a06d6aae3259e3c78db253cc 2007-12-02 document MatchData#inspect.
6af5227ec0a2d77edb5156d1c1b7e598d006bef8 2007-12-02 fix Regexp#inspect document.
ac9c68fbe105cd55f5e6dae076911f16236d9a93 2007-12-04 add a test for [ruby-dev:32448].
69406aad505414de34dc8b560ac1eadf147b0dbc 2007-12-06 * encoding.c (rb_enc_precise_mbclen): new function for mbclen with validation.
948d1a6821dc3388ef8ce5e0a755e58d38e520ea 2007-12-06 add ML ref.
b791feb69486468741b10e3737381b3919c603c3 2007-12-06 use \xf0 instead of \xfd for valid first byte of a UTF-8 character.
92af9c0d5417f663be10b5ab49c0223bb018e333 2007-12-06 reproduce segv.
a42bb2a45697ec1f988b367ebbab22f62501c520 2007-12-07 add test for [ruby-dev:32452].
9bc20bef7a8ff177a385e9437c9005a895f93caa 2007-12-07 * lib/pp.rb: use Hash for recursion check as inspect.
f1b7e60cb90a7e1a392d4ffccd07dd06eeff5345 2007-12-08 * encoding.c (rb_enc_mbclen): make it never fail. (rb_enc_nth): don't check the return value of rb_enc_mbclen. (rb_enc_strlen): ditto. (rb_enc_precise_mbclen): return needmore(1) if e <= p. (rb_enc_get_ascii): new function for extracting ASCII character.
9667f7953e1ca78e5acfa40e9573d1fcdbd3d1ea 2007-12-08 add test for UTF-8 bit pattern.
b12bb501496a3ad2822db14d13629629fad8fefb 2007-12-08 * re.c (rb_reg_check_preprocess): new function for validating regexp fragment.
5b57724691aac5ef0cab09cbaf18874d3ffd4209 2007-12-08 * ruby.c (proc_options): make rb_raise format as a string literal to avoid warning.
d4463c42c025eaa06fe5a71e5255031353996c0b 2007-12-08 * enum.c (enum_count): suppress warning.
1dd06c4301cd759d22917503e6c341b291146f2f 2007-12-08 * signal.c (posix_signal): return value.
0bb9c3e6d9dfaf11b66ed78493e0fca48212b4c9 2007-12-08 unused variables removed.
ec165c09b0ff149af9f350db44667fb7e045aa0a 2007-12-08 ignore y.output.
6c6cf008cd8df085b9402439c3c14963d8cc422a 2007-12-08 add a test for concatinating euc-jp and ascii-8bit string.
cde5b2a9cf6934bd5fe006be31d6a09901609c13 2007-12-08 * encoding.c (rb_enc_mbclen): return 1 if underlying implementation returns a length longer than e-p.
cbff149e47a370762f6e0de6bb00d995c06c5909 2007-12-08 add a test for casecmp with sjis string.
4db4d80357a40690531cd393a79ec6f8f8484cd8 2007-12-08 fix previous commit.
78eae5da628492d64f582b577d401b3864b04f16 2007-12-08 * encoding.c (rb_enc_precise_mbclen): return needmore if underlying implementation returns a length longer than e-p.
56f8092459c4c5b6c5f263552bbd8db352eb72e9 2007-12-09 more tests.
be98b422b086ecd51da282e29f7f002970f767a4 2007-12-09 more tests.
221e6de720042585265cb38c05701663829ac40d 2007-12-09 fix added test.
5a1c2b2677129ffadde65633577f7e0a739a1745 2007-12-09 * re.c (append_utf8): check unicode range.
3a8f7f1d7f3f1b66f47c37b230bc9c53cbdae250 2007-12-09 * include/ruby/ruby.h (FilePathStringValue): defined. similar to FilePathValue but no taint check.
18d8fbac5484411bc7194c408edf0a3e17ea640d 2007-12-09 * re.c (match_backref_number): new function for converting a backref name/number to an integer. (match_offset): use match_backref_number. (match_begin): ditto. (match_end): ditto. (name_to_backref_number): raise IndexError instead of RuntimeError. (match_inspect): show capture index.
7a7c26be7328099b4b2ba57ba9547e20080e071f 2007-12-09 document named capture of MatchData#{offset,begin,end,inspect}.
2d101f0a87ed256fda0b85a93ad89997ff0f2f13 2007-12-09 Regexp#fixed_encoding? documented.
e56e8c758d8effb54144df0b61ca9d5f6b98a0cd 2007-12-09 * re.c (rb_reg_s_last_match): accept named capture's name.
08eb58d3dd6543a44c798aacc4385bf9f8bc005d 2007-12-09 * re.c (rb_reg_names): new method Regexp#names. (rb_reg_named_captures): new method Regexp#named_captures (match_regexp): new method MatchData#regexp. (match_names): new method MatchData#names.
f4592d7bb0c88ab22e15e632afb70279f119af4e 2007-12-09 * re.c (rb_reg_expr_str): use \xHH instead of \OOO.
862b6b68a4ca21026e925b6fba0a81ebe0e70f84 2007-12-09 update tests for String#inspect replacing \xHH instead of \OOO.
eaba0fc94ad627d8ffac30b3f0317a2b8f758504 2007-12-10 add ML ref.
32bfc874fa5325d34a5e51c91667360a125339b2 2007-12-10 "// =~ :a" abort.
9ee1ab0e28c3e9538941a55f1703a1a1ffd5cddf 2007-12-11 * include/ruby/oniguruma.h (ONIGENC_CONSTRUCT_MBCLEN_NEEDMORE): parenthesize an argument.
5802768b40e50cabfbfe0a198a44e01cbad9faae 2007-12-11 * encoding.c (rb_enc_get_ascii): add an argument to provide the length of the returned character.
646f27b8220ead3cb68cfd8f6e9870d203c430e4 2007-12-11 * encoding.c (rb_enc_ascget): renamed from rb_enc_get_ascii.
b92cee1ddbd8c0025ce2e11e3e02d160294556f9 2007-12-12 * re.c, regerror.c, string.c, parse.y, ruby.c, file.c: use capital letter for \xHH notation. [ruby-dev:32511]
cf8c1e49dd059a7549865e967a17777a3bfb99a3 2007-12-13 upcase hex.
b21aa43b4c1e8f450040fac2125f73c96f35303e 2007-12-13 add test for [ruby-dev:32567].
719841ca3779e22bb8ad3d2f4d3fc93d0db62030 2007-12-13 * eval.c (rb_protect): restore root_jmpbuf to avoid SEGV by 'IO.pipe; [].each.next' with gcc version 3.3.5 (Debian 1:3.3.5-13) on IA64.
9595af4ad59f9a8f98941d22619b61206be1a4c2 2007-12-13 * string.c (rb_str_shared_replace): make str noembed after free.
968918da16ea89434798d29247e247601a046a9d 2007-12-13 don't show shared and assoc for embed string.
30c5d612c221ce69fb7bf92255db64d79bca35bd 2007-12-13 * eval.c (rb_protect): restore root_jmpbuf even if proc exits by break such as dbm.delete_if { break }.
6deeaf6226cc7c4e4e72a7b6d2f38e44da7576f6 2007-12-14 * thread_pthread.ci (native_thread_create): twice the stack size. 512KB is not enough to complete test-all on Debian GNU/Linux on IA64.
b4268bf067e8472fa723e083119bdd8e8335cf9b 2007-12-14 add test for [ruby-dev:32604].
e34b2c31dff29678032d0cfb56281caca813cd9c 2007-12-15 use Enumerator for reproduce [ruby-dev:32604].
4f131139456edc120612b7264619042fc698f08c 2007-12-15 * vm_core.h (rb_thread_t): new member machine_stack_maxsize and machine_register_stack_maxsize.
49f00d5d2dcc70fffa2501f639a8ef3ce1763d81 2007-12-15 close socket.
0884b1d8b1e333a88a4ec4bff073e1e8c387203a 2007-12-15 catch EOFError in a thread.
2f9ecb628b3bf29c3c1ae74701ba267a8e6036be 2007-12-15 avoid ruby -d test/ruby/test_marshal.rb output binary marshaled data.
5fcbf61023c607f8c155e623c902f6562093c6b8 2007-12-15 * lib/timeout.rb: join the background thread to make sure it is dead.
ba3bb2895f6f8bc95cf2c12d157fcac0779c7f05 2007-12-15 * test/xmlrpc/webrick_testing.rb: join webrick server thread.
c8c709ddfa6c8369346688193cb908d1e05c0902 2007-12-15 * test/openssl/test_pair.rb (SSLPair#ssl_pair): join the thread, even on an error.
bcf4a9947daab5750fde75a0d7c97cb27accc45d 2007-12-15 add test for [ruby-dev:32608].
22456e709d024202bc5b3201d9e62c0923ab9ef2 2007-12-16 more tests.
c392e6e66603853e4b0880d9b86c559e0e9f0e0f 2007-12-17 * thread_win32.ci (native_thread_create): initialize th->machine_stack_maxsize as rb_gc_stack_maxsize.
17f4486abc48c427a0cf2f5cd984df1ca541bc33 2007-12-17 extern rb_gc_stack_maxsize.
3f07e548fc8b1247824a008c970fcbcf10116a93 2007-12-17 * include/ruby/encoding.h (ENC_CODERANGE_VALID): rename from ENC_CODERANGE_8BIT.
0d0a8a55fc6650a9b1dee937f66f9dc1690a2579 2007-12-17 * string.c (rb_enc_str_coderange): set ENC_CODERANGE_BROKEN using rb_enc_precise_mbclen. (rb_str_valid_encoding_p): just check coderange is ENC_CODERANGE_BROKEN or not.
33ecb05d5118ec54f4b6efdd53d8f5b2f666ead8 2007-12-17 * string.c (rb_enc_str_asciionly_p): use rb_enc_str_coderange.
a0fc8b5564ade5a595ee5eb28a9aad3aea279036 2007-12-17 show regexp flags and encoding.
50a0a8647125ec8be499675a4e6c479d2146cc2a 2007-12-17 more tests.
0c19240983832840de397dbda8875a2b112ab1db 2007-12-18 more tests.
60abbb7ad77bd723afef16439e6fbf9f9967c947 2007-12-18 more tests.
400009cac20e271f458ef14cf05565841a994df1 2007-12-18 fix test. [ruby-dev:32625].
2d01290cfd1a34b1ab7cde84612c2e9408ed2be6 2007-12-18 * parse.y (arg tMATCH arg): call reg_named_capture_assign_gen if regexp literal is used. (reg_named_capture_assign_gen): assign the result of named capture into local variables. [ruby-dev:32588]
eddc9b7fd4a222534faa9aa5d2454d218d0dfa34 2007-12-18 more m17n tests.
b9ca01063ef999af00f17e993d74cf6d0218b4ab 2007-12-19 add test for center, ljust, rjust, chomp.
1de2b1259729e6f62854f231b0ef6d660d25de14 2007-12-19 add tests.
315faf62ffeeb9dc54bc3b697ff5788d652da665 2007-12-19 add tests for clear, clone, dup, count, crypt, delete, downcase, dump, each_line, each_byte, empty?.
4aa72e7fe370d1832c52b43d56e147b3e9f64b99 2007-12-19 add tests for hex, include?, index, rindex.
e7e4d03a6eec1d25ccbfb5a72cc5e4049f89961d 2007-12-19 add tests for insert, intern, length, oct, replace, reverse.
27fbeb3c4e8803d89fa1d765d7b1fdb49dddece2 2007-12-20 add m17n tests for scan, slice, slice!, split.
36354bf53c886b29120d49ee4d6151780850d369 2007-12-20 add tests for squeeze, strip, sum, swapcase, to_f, to_i, to_s.
c9923aeb6931f68ce600bbeb0f3c89aebf328a5b 2007-12-20 disable debug print.
b28155a02faccaffc35fb04ec1e80ae1239d06cf 2007-12-20 add test for succ.
d45cfa45ab62ac9e31c20d5bdf4926bf7748df8f 2007-12-21 * tool/compile_prelude.rb: use erb.
4cf437519f1cbefed5ad7ee2bf0e68857105823f 2007-12-21 * regerror.c, string.c, io.c, lib/getoptlong.rb, lib/net/imap.rb, compile.c, sprintf.c, parse.y, ext/win32ole/win32ole.c, ext/tk/sample/demos-en/entry3.rb, ext/tk/lib/tcltk.rb, ext/openssl/ossl_bn.c, numeric.c, vm.c, benchmark/bm_so_meteor_contest.rb, bignum.c, ruby.c: don't "illegal" for non law violation context.
0530cf9ff88c13a69c95519139f75b87d097707c 2007-12-21 * encoding.c: include locale.h (rb_locale_charmap): new method Encoding.locale_charmap for nl_langinfo(CODESET).
f2515d9938213ec99362c9f0e7d7fa6e6afc04dc 2007-12-21 * configure.in: check langinfo.h and locale.h.
2b627148661701da59abf66ccd4b7125386a3b30 2007-12-21 * string.c (rb_str_is_ascii_only_p): new method ascii_only?.
df08853630b3bc270250bf734957e6bb95a4b52e 2007-12-21 illegal -> invalid.
923d3ea159d59bc355b19a74ba01723a0d16cd36 2007-12-21 * lib/runit, lib/rubyunit.rb, test/testunit/runit: removed.
8c68d9a15286e6bc0e76e1da1de433a4962b1cba 2007-12-21 * encoding.c (rb_locale_charmap): return nil if no locale information.
bef85feb24107599fb207153f4ad1c34faf7b8ec 2007-12-21 fix typo.
65a953c7c9527e32aa3024322bde24864a3a66cb 2007-12-21 fix previous locale_encoding change.
59dca1991089e87b21cc9edeadfb33033ffc1e3f 2007-12-21 * re.c: change "character encodings differ" error messages.
0d49e43be2440a7b2828d7568abbda9e321b486a 2007-12-21 * io.c (Init_IO): define IO::BINARY even if O_BINARY is not exist.
0972cbc28422b89ad9eb5e051d88ba83e1fd3078 2007-12-21 * gc.c (rb_garbage_collect): new function for debugging.
328e6a02bf19c4b0397a6a2e066b273e7dd339de 2007-12-21 add test for [ruby-dev:32566].
e667720bd44123f5400d5696613312fa910b799a 2007-12-21 * re.c (append_utf8): use rb_utf8_encoding() instead of rb_enc_find("utf-8").
5c71aadbed1ce4fcfe337911c5bcc5c4740b6b89 2007-12-21 add a test.
5bb7c8612fc0904070aa9cfad096e3c462877903 2007-12-21 * encoding.c (Init_Encoding): use enc_name as to_s. (enc_inspect): renamed from enc_to_s. add "#" at beginning.
b82a05989e388a5d9500051ce91fd47f02aacbf9 2007-12-21 * re.c (ARG_ENCODING_NONE): defined for /.../n option. (REG_ENCODING_NONE): ditto. (rb_char_to_option_kcode): return ARG_ENCODING_NONE for n. (rb_reg_prepare_re): warn /ascii/n =~ "non-ascii". (rb_reg_initialize): set REG_ENCODING_NONE from ARG_ENCODING_NONE.
bcb064eb0f639493f42284570377c521c371c6c2 2007-12-22 * regenc.c (onigenc_ascii_is_code_ctype): moved from enc/ascii.c.
da8b4a5e41760c86cf2a28fa4069184479cb9773 2007-12-22 update tests for latest /.../n handling.
fa3d06c738ba0665e8e3cd472a42552fdd999720 2007-12-22 refine error message.
0fc7dfedd3101125d2ad823f76454b48e48a0e05 2007-12-22 add rdoc.
b2a1dc616c9af33fc81b02dca617c4ce7c48b923 2007-12-22 add rdoc.
444a19fe440abdf6d012acf548c2ee60878fed2e 2007-12-22 use String#ascii_only?.
5b1d121bfaa8657054fc61b48ca2065c925ad927 2007-12-22 document updated.
d43090fb414efa73658753b1e35ce12b31f03534 2007-12-22 ignore enc.mk and revision.h.
5b809a28f825015661e7f51f0ecb5ecdfa7b77bd 2007-12-22 * include/ruby/encoding.h, encoding.c, re.c, io.c, parse.y, numeric.c, ruby.c, transcode.c: rename rb_ascii_encoding. to rb_ascii8bit_encoding. rb_ascii_encoding is ambiguous with ASCII-8BIT and US-ASCII.
38c303bb5257a0ff811a2d9256f9ed32b8a30b06 2007-12-23 ext/nkf/nkf.c follow previous rb_ascii_encoding renaming.
a84103ce6028448295d2f0dd9e0f0c3ca976ee1a 2007-12-23 add a test for [ruby-core:14279].
a072f94fbe5e0a5635cd7f82ca0d39e1abf7bacd 2007-12-23 add a test for [ruby-core:14288].
64bc558cc5fe5f19ff47ce0715e3ddd557206eac 2007-12-23 add a test for [ruby-dev:32675] reported by Keita Yamaguchi.
0ef8ed93bcd7d0e073e0e2f28ada279471155100 2007-12-23 add a test for [ruby-dev:32048].
4dd61ce6c7231bc7aa77b51b129f48dbf06862cc 2007-12-23 * lib/time.rb (Time.httpdate): use Time.utc for "day-of-week, dd-mon-yy HH::MM:SS GMT" format.
090b9a4f7deaa0918cfe9b3e5e8dba71c9294a4c 2007-12-23 * encoding.c (rb_enc_init): add eucJP as an alias of EUC-JP.
057d7369f97d3e0cd31c996ccb9cf18ef941f3ff 2007-12-23 add a comment for eucJP.
6b5a2b2f06a72bf67081040c263dadf485601ee8 2007-12-23 * lib/time.rb (Time.httpdate): fix 2 digits year for 20xx. reported by Tadayoshi Funaba. [ruby-dev:32687]
40a6b594100fb75a2dbd3d2e205142779e1283ce 2007-12-23 add tests for warning of none encoding regexps.
cf36df97fb74f60b321fe5617b3805078393c028 2007-12-23 * encoding.c (rb_enc_codepoint): implemented to raise invalid encoding.
c534670da1fc7d6ba66fb74b41caebd90ac188c6 2007-12-23 move the test for [ruby-core:14288].
80e38ad66bfe60cece2e274410c6d03d35911965 2007-12-23 comment updated.
e615f0ec428777b29846da515763fe6ccbac9f13 2007-12-23 Proc#lambda? documented.
cd047935e48ec48503e7e24001630cb5536578fb 2007-12-23 enable document of Kernel#system.
e8b7ad0f5c93edb90f3eed38ce3ec91d3d34df84 2007-12-23 enable documents for raise and local_variables.
8fb23913ad3f9fadafcf42b719d4b6afef0ef880 2007-12-23 more IO m17n tests.
4b45ef7ba32455b4d61dbc1777ef79637c88380b 2007-12-23 add assertion messages.
f5512ba7a3432aec693326ac0d49a07009c8cdd1 2007-12-23 add tests.
751bb53a4b5c3ca524b8203951e2332f0a38c838 2007-12-23 add test for IO.pipe.
df1312e2dbf6a1edb28195b307e5937eba0b20ab 2007-12-23 update tests.
7e237b9813192265ee25bc43406c772ce65ff5ad 2007-12-23 add assertions.
6604434cd6456cd8958c66ca03929f94d1fd2ffb 2007-12-23 add tests.
924f5f0f10b21970c154729b91354d965ff4b953 2007-12-23 test reflexive, symmetric and transitive relation of String#==. String#chop test refined.
3f623cfba1efdd0fdd4c11cf16734fd00c1a6579 2007-12-23 add ML ref.
b487d9459d6a7c2d64f496b3fc808fab571db2ab 2007-12-23 add test.
888a89153a11913e26774d7b9293512a4706629e 2007-12-23 add some tests on conversion for pipe.
c806d3f53f65b9dc43bfc4636f047b7a86757246 2007-12-24 add a test for String#hash.
e2630984e947f89a7ce198c60256fffc3b64cabd 2007-12-24 add a test.
29cbf75cd0391fc9f4f466cea7bc592fe3434d0a 2007-12-24 * tool/serb.rb: removed.
e5988f74040f8b073a1e315053801023cb957774 2007-12-24 update Proc#lambda? doc.
e01c045a8b97de161ca74ddf417a58bb5b1e9424 2007-12-24 enable several rdoc.
30f1eb1856eae8b310fe6440dfcab95b6fe76046 2007-12-24 * include/ruby/intern.h, random.c, array.c: change exported name. genrand_int32 -> rb_genrand_int32. genrand_real -> rb_genrand_real. [ruby-core:14335]
dc18845c23d74519d69257dfd695bb7eb5197250 2007-12-24 * eval.c (function_call_may_return_twice_jmp_buf): removed. (function_call_may_return_twice_false): removed. [ruby-core:14335]
162cc94d15683be9b45bb70b40cfdb3f040b74e2 2007-12-24 refine a test.
c332266ee0d026340e369c9b67d01837ba2ed2e4 2007-12-24 * eval_method.c (Init_eval_method): extracted from Init_eval for rdoc to find rb_mod_remove_method, rb_mod_undef_method and rb_mod_alias_method.
96438d2bd8e209d176b42caecbc951766496a42d 2007-12-24 * eval.c (rb_exc_raise): ANSI style. (rb_exc_fatal): ditto. (rb_raise_jump): ditto. (rb_jump_tag): ditto. (rb_block_given_p): ditto.
b910bb7761373464a884e9c21c2897247aeffa78 2007-12-24 * re.c (rb_reg_prepare_re): show regexp encoding in the error message.
dc980095ec093004dc6102252f1d255f64bbd7c6 2007-12-24 add succ tests from the succ document.
b132f72b3f457fae0507996879f00764c0965d4d 2007-12-24 add tests.
23f0e341af6bca062b95fa9bc69b2fa59f903e05 2007-12-24 add tests.
d0e61300311c03c849be3566fd799af383ab6bfd 2007-12-24 add a test for non-ascii method name.
f23bc6b2b5228f39a55d798079fe0db514695ba6 2007-12-24 add tests.
ce0aa0af9107018bd5d7fcfe4fc5b27da1896342 2007-12-24 * lib/open-uri.rb (OpenURI::Buffer): use Meta ===. [ruby-core:14295]
78fd550840f539125f8b304b97631a690c554173 2007-12-24 * lib/cgi.rb (CGI::escape): m17nized. (CGI::unescape): ditto. (CGI::escapeHTML): ditto. (CGI::unescapeHTML): ditto.
71787f8ec2704a0559a8de8e91054f31e8444b3b 2007-12-24 add a test for [ruby-core:14385] reported by Frederick Cheung.
027c45a1c7f272234962b3591902d6f0c5766ce1 2007-12-24 * lib/irb/output-method.rb: translate a comment to English to avoid mix of EUC-JP comment and UTF-8 $Date$.
13e239a0120deefd6f2e60345796e282a78ace29 2007-12-24 avoid keyword itself.
8db7c837f9bf69ca0264190f36e78cd5d6b12f84 2007-12-24 * lib/rdoc/rdoc.rb (parse_files): interpret coding cookie.
cf41125e3ab4a26292b718192ea717e873dbe684 2007-12-24 update Proc#lambda? doc.
edb8eee2365b8a1bdbaf72a50cdc4d8adf24c495 2007-12-24 add a test.
c94a89a739f32e9fcf64e2170b973717242090e3 2007-12-24 * parse.y (rb_id2str): fill klass of returned string as rb_cString. some strings are allocated before rb_cString is created. This prevents a "called on terminated object" error by ObjectSpace.each_object(Module) {|m| p m.name }.
f3945617bd2ed8f4282bc21023f0aea1aa166654 2007-12-25 * test/ruby/test_io_m17n.rb (test_write_noenc): don't mix text and binary mode. [ruby-dev:32743]
ba852066351c147cf1010607b1f8195dda825b08 2007-12-25 * test/ruby/test_io_m17n.rb (test_pipe): fixed. [ruby-dev:32743]
9f98c9a9c2e6d25787e3d935f3724a31e2ea429a 2007-12-25 * io.c (appendline): initialize rslen to 1 if rsptr is 0. rslen should be the length of the delimiter. if only delim is given, it should be 1. [ruby-dev:32746]
ed7b25a85436cff446779f580e859da94cd4d9d8 2007-12-25 add a test.
ead329fd8ea6f0ecf11c6ec98e073eed6fe2810c 2007-12-25 * string.c (rb_str_inspect): don't call rb_enc_codepoint with empty string. fix '#'.inspect.
0eb5c917e06561a0ce8957702d21c93ec803216f 2007-12-25 * string.c (rb_str_each_line): don't call rb_enc_codepoint with empty string.
305c42739f9896602400bca08b48ae1de978d99e 2007-12-25 add tests reported by Yusuke ENDOH.
904b278f94d9d18fef50adce79aec0756496a773 2007-12-25 * parse.y (struct parser_params): make parser_ruby_sourcefile common field. it is used by node_newnode. new field parser_ruby_sourcefile_string for ripper. (parser_initialize): initialize parser_ruby_sourcefile in ripper. (ripper_initialize): initialize parser_ruby_sourcefile_string.
8ffd1eb2a4f725b0d785c0edaa7c06a8d77e0390 2007-12-26 add a test.
a3f722abef303678ec1926ba835fdefb6bd98b33 2007-12-26 update lambda? doc.
7a0d1903d32d57543885929a22f5ead38feb00a8 2007-12-26 remove p.
b3e3c8a578bed04bb6ff3185fe9fb8971e8ee43d 2007-12-26 * io.c (io_fflush): check closed fptr after rb_write_internal to avoid SEGV on MacOS X.
fc9cc7440a44cfbb188f875e71095d7e49c22f51 2007-12-27 * io.c (io_fflush): checks wbuf modification by other threads. not perfect. it need locks.
8bb84c92d4d78d72f9b7faab4fbd6e20f0cef2c1 2007-12-27 * encoding.c (rb_enc_check): show encodings in error message.
cd2fd33edf4df972ea90b9e94a24866028247683 2007-12-27 * encoding.c (rb_enc_codelen): error message refined.
ce2b982cd2c839fa736375e7906057785f4f3738 2007-12-27 * encoding.c (rb_enc_codelen): show codepoint in error message.
fd640aec82f65134d589d9603d0ed669e90ebb60 2007-12-27 * re.c (rb_reg_s_union): show encodings in error message.
efd7504d44078af85a2ca6c632c18569bc562928 2007-12-27 * parse.y, transcode_data.h, transcode.c: change "illegal" to "invalid" in a context which doesn' t against a law.
173f1e1563f5861de78b2bc4e43cd30ea19400c7 2007-12-27 * lib/weakref.rb, lib/irb/ruby-lex.rb, lib/irb/lc/error.rb, enc/trans/japanese.c: change "illegal" to "invalid" in a context which doesn' t against a law.
7ee205d1d1b273fa660ff35ce08544d5c3a3b9df 2007-12-27 * lib/rdoc/rdoc.rb (parse_files): don't depend on the default external encoding.
48af602e38293f53e7c9afa7b41ba778714220f4 2007-12-28 * time.c (make_time_t): verify mktime and timegm result.
371977ff3d76dda913442de13e7b71ab22c3ad4d 2007-12-28 * encoding.c (rb_locale_encoding): defined.
1c0416e6eed8fa11e02c406fca40c9c1f6f87450 2007-12-28 * ext/strscan/strscan.c (str_new): new function for allocate an string with encoding propagation. (extract_range): use str_new. (extract_beg_len): ditto. (strscan_peek): ditto. (strscan_rest): ditto.
b8a9eb304dccf584b003764a7f10f53893c33011 2007-12-28 add a test.
574b3297480dac8256ff3faaf02bdf61ab5e4623 2007-12-28 unused variable removed.
439e3880895826d18915ba77ca100ea696d708d6 2007-12-29 add tests.
26910f44bda52a57bf972113545f15320f9c3b7b 2007-12-29 changelog for previous change.
fffd379d4459a2022eb4a208e46a034d4620dea3 2007-12-29 * io.c (io_fflush): don't retry when wbuf modified by other threads.
32fe1ecdbc263d04cf6fff9edb99a6f9b7616d89 2007-12-29 comment modified.
77dece6e63bd8a572c828dbd12d20530d75ff5d6 2007-12-29 use timeout for thread join to avoid hang.
f80bb164ce5ad1f4344e1d9c96a82466e13facca 2007-12-29 use EWOULDBLOCK as an example in document.
486dd97e74eb69334a737ab3ce168f4b74815373 2007-12-30 update force_encoding document.
e282fc4c06cf5ddf8b14e365b2ba7446dee31c14 2007-12-30 timeout larger area.
4edb5d229a7b76ce4ada9399d3d2050d343245d9 2007-12-30 fix \xc2\xa0 as \xc2\xa1.
6ceb07bcdfb2e41c7d412c2d73821e7f75155db1 2007-12-30 add more tests for sub, gsub, sub!, gsub!.
e21907e0f89e9d4870d1b533364cbc79dd9b6d89 2007-12-31 fix typos.
5088b14db79eb112f55ea983c45e3724ab9251d4 2007-12-31 fix typos.
1137af8a03b92b51ccc22b26dddd61586c4f08a0 2007-12-31 fix a typo.
ca122fa53bdfe48378949b23701c19e37cc158f8 2007-12-31 * string.c (IS_7BIT): removed. (single_byte_optimizable): new function to test optimizationability using single byte string. (str_strlen): use single_byte_optimizable instead of is_ascii_string. (str_nth): rename argument: asc -> singlebyte. (str_offset): ditto. (rb_str_substr): use single_byte_optimizable instead of IS_7BIT. (rb_str_index): ditto. (rb_str_rindex): ditto. (rb_str_splice): ditto. (rb_str_justify): ditto.
58d8e1450f5656a41a8e37df76d13d8ab6d251b2 2007-12-31 fix typos.
4f6c04dc52ba78458bf1263b8ea75dc1440a2fad 2008-01-01 add a test: "y".count("a\\-z") should be 0.
041e8291271557ca0b18f283411b013888c55955 2008-01-01 * include/ruby/encoding.h (rb_isascii): defined. (rb_isalnum): ditto. (rb_isalpha): ditto. (rb_isblank): ditto. (rb_iscntrl): ditto. (rb_isdigit): ditto. (rb_isgraph): ditto. (rb_islower): ditto. (rb_isprint): ditto. (rb_ispunct): ditto. (rb_isspace): ditto. (rb_isupper): ditto. (rb_isxdigit): ditto. (rb_tolower): ditto. (rb_toupper): ditto.
e3e49960e0aa9753b8a9c9e5eae8212faf72bdc8 2008-01-01 abolish warnings by previous change.
bda6512f3e9afaddca3dc31dac7ed20a3ebb6318 2008-01-01 * common.mk: dependency updated.
5f41f87d2ba568cb0ad1fdb523a4c60b15a40613 2008-01-01 thread_pthread.h -> thread_$(THREAD_MODEL).h.
40871d401fb1b7a60685d9a9767394e1925278ad 2008-01-01 * enc/depend: dependency updated.
27bcfc3dc8b422a2d54d9b1e72448e4a12e1b3d6 2008-01-01 thread_pthread.c -> thread_$(THREAD_MODEL).c.
7e2fdd4cc84a3c2d35b19c46c63a261bd6afd03b 2008-01-02 * missing/strcasecmp.c: removed. Ruby don't use locale dependent strcasecmp.
8bebb44d0b0bc2e2f84e6d23247e291f5848752a 2008-01-02 * common.mk (strcasecmp.o): removed. (strncasecmp.o): removed.
aac5220c666dcb84db1c39247aaf0fd394869b89 2008-01-02 * include/ruby/missing.h (strcasecmp): removed. (strncasecmp): removed.
0352d32f05b42bb31fe98e0fa3582ef4e4689e79 2008-01-02 * util.c (ruby_strtoul): locale independent strtoul is implemented to avoid "i".to_i(36) cause 0 under tr_TR locale. This is newly implemented, not a copy of missing/strtoul.c.
1642877c69c07f87d7d3291b5a61ea6c8c169338 2008-01-02 use signed char explicitly for table in scan_digits.
e7fb2586eff0f9479ae73abb112f37a3a3866ff4 2008-01-02 describe about OS.
99fc557fa5f15b82019c866b3f55bfd8106b04af 2008-01-02 don't need to include ruby/util.h.
1db957718408370ce6b23435ef642e6fad130ef0 2008-01-02 * util.c (ruby_strtoul): "0x", "+" and "-" is not a valid integer. end of integer should be just after "0", the beginning, the beginning respectively.
9d52fda376509f22bee858b0190eb0b289734b90 2008-01-02 * bignum.c (conv_digit): use ISDIGIT, ISLOWER and ISUPPER.
a13c1148a94d504a7b3d0db55c3b75cba733475e 2008-01-02 * enc/us_ascii.c: add us_ascii_ prefix for functions to ease setting breakpoint when debugging.
4666b9da3db0c2da51b36ca4f2e4148b08708d8c 2008-01-03 * time.c: don't mention an obsolete library, ParseDate.
1144b9540e396686afe56b619bad08aaec8eb501 2008-01-03 update golf dependency.
506ea448b31d4bac6f6ce378e348c7fea1d5e9fb 2008-01-03 update dependency for alloca.o and dmydln.o.
97653890177fa9fc102ba0b20f76836640834303 2008-01-03 downcase MUL_OVERFLOW. it is a local variable.
df4f37bca3c46c9072aa6bf982cd9f7e9d8efa27 2008-01-03 * parse.y (parser_magic_comment): use STRNCASECMP. (set_file_encoding): ditto.
155fda385e6657f270b8e30c1bc0ad99b2733236 2008-01-03 * include/ruby/encoding.h (rb_isascii): simplified. (rb_isalnum): call onigenc_ascii_is_code_ctype without indirect call. (rb_isalpha): ditto. (rb_isblank): ditto. (rb_iscntrl): ditto. (rb_isdigit): ditto. (rb_isgraph): ditto. (rb_islower): ditto. (rb_isprint): ditto. (rb_ispunct): ditto. (rb_isspace): ditto. (rb_isupper): ditto. (rb_isxdigit): ditto.
5f237d79033b2109afb768bc889611fa9630e00b 2008-01-03 * encoding.c (rb_isalnum): defined. (rb_isalpha): ditto. (rb_isblank): ditto. (rb_iscntrl): ditto. (rb_isdigit): ditto. (rb_isgraph): ditto. (rb_islower): ditto. (rb_isprint): ditto. (rb_ispunct): ditto. (rb_isspace): ditto. (rb_isupper): ditto. (rb_isxdigit): ditto. (rb_tolower): ditto. (rb_toupper): ditto.
b1d373308f7a3790eae21a6b79a17df539012190 2008-01-03 * regenc.h (onigenc_ascii_is_code_ctype): put back.
059fe7997e0c9bf0861f8e6ff9a00277cb5846f6 2008-01-03 * encoding.c: (rb_tolower, rb_toupper): body was exchanged.
b661bfe319cb9aa324ee976ae5a96dd083a25137 2008-01-03 * include/ruby/ruby.h (st_strcasecmp): declared for STRCASECMP. (st_strncasecmp): declared for STRNCASECMP.
f905704727b20865f71a10fbc34ed032346a7f93 2008-01-03 add a test for getc with stateful conversion.
1aaf8b171373f6862fa8c523923b98ef6feb1c65 2008-01-03 * io.c (io_ungetc): move data in buffer if it is required to store the argument.
52f9c1d2e173f07302ec263bf0026ded739a2d7f 2008-01-03 * re.c (rb_reg_search): iterate onig_match for reverse mode.
ed74723af4d28193f72242d4e6bc51a542aad118 2008-01-03 * enc/euc_jp.c: remove eucjp_ prefix. breakpoint can be specified as euc_jp.c:mbc_enc_len. avoid needless conflict by merge.
7d98c90ef2f7def3938a8eec825e314ab178e762 2008-01-04 unused variable removed.
f780cdec75b5f09a7afbd9b45fad1f0d709fe946 2008-01-04 * re.c (rb_reg_prepare_re): check string encoding. Oniguruma doesn't support invalid encoding.
386e2d94d86428560b85a01ae9bd128f12cef229 2008-01-04 * ext/digest/lib/digest/hmac.rb (Digest::HMAC#initialize): use String#bytesize to avoid test errors on EUC-JP environment.
e395327e8e1d3250fbd222f72573a948b301f331 2008-01-04 parenthesize macro arguments.
9eab58ee0381ac804aa1b761a088424bbfc248ad 2008-01-04 * include/ruby/ruby.h (rb_intern): memorize interned ID for constant string, using gcc's __builtin_constant_p and statement expression.
9c2204972b94c4fde59378739651736e4213bef4 2008-01-05 * encoding.c (Init_Encoding): alias csWindows31J to Windows-31J. IE6 accepts csWindows31J but Windows-31J.
8702c4d0d73a050e0d2181e16bf1e0688d6322f0 2008-01-05 update rdoc.
730374e56e60f9e9d6b7aafd9f80902fd7fcd30b 2008-01-05 * vm_insnhelper.c (vm_callee_setup_arg): it is not inlinable because alloca is used.
7967e3e2f445444a08f99fbe6d53858dad2c9ae3 2008-01-05 add a comment.
da42c102c18156c2192df203cb2f79b88aa8092f 2008-01-05 * re.c (rb_reg_initialize_str): /\x80/n is not an error even if script encoding is EUC-JP.
1347a9a7e03fded7881a4c4fa40fe843edfaf5f1 2008-01-05 add a test.
b3b0fa3e85afd845ea85f420398b41c739300486 2008-01-05 split combinational tests.
dbc78facbc7a0f3c8241a97c17a5c74ba149a1d2 2008-01-05 unused variable removed.
ebe7d94ca685ce8998ccc14bf59d3219bb9920d0 2008-01-06 add a test.
8987b97ca9d3eca076a489fbf6eb9c1dfbf72df2 2008-01-06 * include/ruby/encoding.h (rb_enc_str_buf_cat): declared.
f38cc001a7ca64f7f613b5021b1714a2ee3318cb 2008-01-06 * re.c (rb_reg_initialize_str): forbid raw non ASCII character for ASCII-8BIT regexp in non ASCII-8BIT script.
6cdef2dc7e8a4098727de5befff8b2496fa71430 2008-01-06 * $Date$ keyword removed to avoid inclusion of locale dependent string.
c5e0963a5e86b4d3329cdd0bc0a9689926b1168a 2008-01-06 don't use Date keyword itself.
35f28e6b81497a843d661e2d9751d3b8837fe8bb 2008-01-06 * lib/erb.rb (ERB::Revision): cut off locale dependent string in Date keyword.
b2168c5a2a37be1e9937659c499bb30be1db286e 2008-01-06 * string.c (coderange_scan): optimize ASCII-8BIT string. (rb_enc_str_buf_cat): don't call coderange_scan if possible.
9f808343c8e72675ea5765c65470b8205bc6be9c 2008-01-06 * string.c (coderange_scan): avoid rb_enc_to_index. (rb_enc_str_buf_cat): ditto. (str_cat_char): use rb_enc_str_buf_cat. (rb_str_inspect): ditto.
d16ae8706b344c11a5d1a9d9298c2e9b39de62df 2008-01-06 add ML ref.
063beac3436cb94bf51cb9fec08b34e977563faa 2008-01-07 * encoding.c (rb_enc_internal_get_index): extracted from rb_enc_get_index. (rb_enc_internal_set_index): extracted from rb_enc_associate_index
238c59842c6f9ab72ace7076a8850b5cc55c421c 2008-01-07 * re.c (rb_reg_preprocess): fix fixed_enc condition.
4e4d4331cad48bddb91568daf2f325f08033f9b4 2008-01-07 * include/ruby/oniguruma.h (OnigEncodingType): new member ruby_encoding_index to avoid linear search in rb_enc_to_index.
3e2fe4a1eb301b6a3e089209389e8994fde7443b 2008-01-07 * string.c (str_gsub): move rb_enc_get(str) to out of loop.
05e52bf46bfcbfb288ef841008358e04e58ceab4 2008-01-07 add tests.
7425f59f10b12ff57952b08100d5fe018b28b910 2008-01-07 * string.c (STR_ENC_GET): defined. same as rb_enc_get without enc_capable. (coderange_scan): ASCII-8BIT test refined. (rb_enc_cr_str_buf_cat): new internal function to accumulate strings with encoding. (rb_enc_str_buf_cat): use rb_enc_cr_str_buf_cat. (rb_str_buf_append): ditto (str_gsub): use rb_str_buf_append. (rb_str_hash): use ENCODING_GET. (rb_str_comparable): ditto. (rb_str_cmp): compare encoding index, not rb_encoding address.
fc5a26c2d41fade0771217e5b8ba257249db5251 2008-01-07 * string.c (rb_str_buf_append): fix append itself.
389abf1b3b9e65b5944fa3616bea93259b137a92 2008-01-08 * string.c (str_gsub): avoid appending empty pre-match substr.
8786b8a2823d146fbb382305707a24fc09f25618 2008-01-09 * string.c (rb_enc_cr_str_buf_cat): fix self appending.
f478e73f0474a0ec77e2657c6d3b626a8e5b4b35 2008-01-10 make a test locale independent.
7a360de149dc00dcbed0a19d97c0882423a9b913 2008-01-10 add a test.
5a1b5f8fe2eea72eeb3fcdd54d1ab8b954828bbd 2008-01-11 add tests.
0ada40e2b1d85580ec14c96d18321d1a245d328f 2008-01-11 update rdoc: force_encoding doesn't accept nil.
e350fe247af325d9c148b27617dce77750e989a4 2008-01-11 * string.c (string.c): call rb_str_buf_append to update encoding of str1, even if str2 is empty.
b866ecbc42f5cb4d2f6138a9038d0443dc9f6cc6 2008-01-12 add a test.
a31e2da12c8e03517515c940c90f4e4c67da3b0b 2008-01-14 * re.c (rb_reg_prepare_re): initialize error message buffer. (rb_reg_search): ditto. (rb_reg_check_preprocess): ditto. (rb_reg_new_str): ditto. (rb_enc_reg_new): ditto. (rb_reg_compile): ditto. (rb_reg_initialize_m): ditto. (rb_reg_s_union_m): ditto.
7d7125e7b473beadce9767339603cac0a03ada07 2008-01-14 fix a test.
4b8de30bc5c69b636851559689922aa522e0f472 2008-01-14 update last test.
bbeefa53caa359264c404dce14221b68807d66e1 2008-01-19 * encoding.c (enc_new): don't free rb_encoding to avoid SEGV by `miniruby -e exit' on x86_64 GNU/Linux.
133a6011f7eb773050cf0fb435ad953fab10f6cf 2008-01-19 * lib/rdoc/template.rb (RDoc): defined to avoid uninitialized constant error by `./ruby test/rubygems/test_gem_server.rb'.
35a4fb5ef627e7105f796eacde5dd67ce0024b96 2008-01-19 * string.c (coderange_scan): don't call mbclen functions for ASCII characters with ASCII compatible encoding.
23346c20d78508878ac3468b69e80cf8b93ba864 2008-01-19 add a test.
55723ea86d46c567a5b9547aa943d4dd3c21af65 2008-01-19 fix a test.
d0ce29fbee96a7a0b55f9c8f5e7e4b1b617a631b 2008-01-19 update encdump for UTF-16.
e49820a827a6c495fcaf19fc7398316409fd1953 2008-01-20 add a test.
f909b891ba459ccecd2c6934154e605a115cefdc 2008-01-20 add a assertion message.
3106b96ac8b5484e3501ad3575ecb649baef00ce 2008-01-20 add a test.
e7902525448f5e00fcc8138ca6c820641841e7ea 2008-01-20 add a test for each_char.
9007ae26a90c23cbaf984142b93e0ed23cd4c49f 2008-01-20 add a test.
3766eac339c6faf2514b380d7d9e0415a47f2c6a 2008-01-23 * re.c (rb_reg_prepare_re): fix SEGV by /a/ =~ "aa".force_encoding("utf-16be").
ce49faf5465abede7b0687b1b6f05658d4c7f802 2008-01-23 add a test.
5628d949f99a4b5debd91341b8c27ff14d4076b0 2008-01-23 add a test.
f2d84ac87b6f45d16b9c4ed3247aaf8822690769 2008-01-23 split UTF-16 tests.
562d6e8cd56abc2f0f37fccb7f51c9d476a8c3af 2008-01-23 change class name.
e3604a9e46d66af354fc6c26bcba054eb27ac161 2008-01-23 add a test.
bbb7151467c4845f511cf87bb5be4cda1cc3b9d3 2008-01-23 add a test.
da8e083ba6d1095b536c5f618b381a984508b3e4 2008-01-23 test refined.
25fc9d25f72d2773cae49b23fe4db65cd9c567f9 2008-01-23 fix previous change.
fe068da87997d1d412758c4aefa12a8a6621d005 2008-01-23 add a test for String#end_with?.
968e404220762d5adfc04b8c030c6f186cb47c0e 2008-01-24 * string.c (rb_enc_cr_str_buf_cat): ASCII incompatible encoding is not compatible with any other encoding.
4eca4cadff0ff6ee1931ab8d7653cdad65e2cac6 2008-01-24 * time.c (make_time_t): revert round trip test. [ruby-dev:33058]
1ca6577e0cb2dad56d7c43e3eeb79b15171fed42 2008-01-24 add a test for [ruby-dev:33264].
2a02fe749776b8ea9e267951944a833f14c98c83 2008-01-24 add a test for [ruby-dev:33224].
9b43eaf115172fdb942c8394ef6f7a4dbaac1737 2008-01-24 The [ruby-dev:32746] problem is re-introduced.
ce3f8275659d95445b4b9baf32f2255779e11f44 2008-01-24 fix last commit.
14b9d47ae07e3c1aa5dd88d4dc24639c9d99240e 2008-01-24 * parse.y (reg_fragment_setenc_gen): associate ASCII-8BIT only if str has only ASCII characters.
b45fa58f6d01cd6ea437d59825b912780474d5fa 2008-01-25 add a test for Regexp.union.
a470a2f1e184bf46642e54df093e32896dcf6e4e 2008-01-25 combinational tests for printf.
1e41069754ef69b02a9e0ed16a7a668cfab01dd0 2008-01-25 * include/ruby/intern.h (rb_str_buf_cat_ascii): declared.
3a783ba707eadf0ddad102e348e43968d434486c 2008-01-25 * string.c (rb_str_buf_cat_ascii): use rb_enc_cr_str_buf_cat.
9a2d2fae46223a00cf3bab059400759bdf2fafbe 2008-01-25 add a test.
f4d73e05d449eec5223f5186a881814c2f4deafc 2008-01-25 * io.c (rb_io_getline_fast): don't care ASCII incompatible encoding. (prepare_getline_args): generate a newline according to IO encoding when necessary. (rb_io_getline_1): call rb_io_getline_fast only for ASCII compatible encoding.
ea345bccfa31b9518bdaba53d649dcf89727c408 2008-01-25 fix typos.
f923cc360ae0e496da656a4253bc38fba12eed5d 2008-01-25 * marshal.c (r_byte): use getbyte instead of getc. (marshal_load): ditto. [ruby-dev:33264]
1e039d96f3c391cea3138c8c2c01d4f4757b0433 2008-01-26 fix test_too_long_string.
26b86d8a721551216a8f22dd36569e2ef94759a6 2008-01-26 * marshal.c (w_object): dump string encoding in USERDEF. [ruby-dev:33401]
8c02164fb53451dc7430b5948ef84e7722d490ee 2008-01-26 add a test for [ruby-dev:33406].
4e6bba219ec6fc9806a499d6c97cf62a20916564 2008-01-26 add a test for [ruby-dev:33377].
7560adca78aa58c46a6007a16d6413f3f075489b 2008-01-26 make combination recursionless.
e7bf1bd4d4a3296d7ce7ed92d7258129a1fffb91 2008-01-26 fix typos.
b9c18bdcddcc1ab6dc08988436d99d61eb8f3d7f 2008-01-26 * re.c (rb_reg_preprocess): force fixed encoding when ASCII incompatible source string.
3970d67185c90e3c017f205ef3c73e192015bab0 2008-01-26 add a test for chomp.
0dfda18777f55d5faf12ecbf17bf6db624e1a390 2008-01-26 add tests.
4ccb16010378760bebf292a38b6bf69a54098d7b 2008-01-26 add tests.
3f68c10536ac028efa9e673ea0317623b72d676e 2008-01-27 tests refined.
b1e6c052cdbac72b3aeab3d6d06dc035d4a26985 2008-01-27 * string.c (rb_str_succ): don't increment/decrement codepoint.
36b4d1a1dc0a160a08994fd6f165b46863ecc65b 2008-01-27 * string.c (rb_str_succ): warning suppressed.
b8b0f6fd46840d90a22d2c75bf823d31aa62cc18 2008-01-27 * string.c (rb_str_inspect): avoid exception by "\#\xa1".force_encoding("euc-jp").inspect.
fc208c1bd56a4e3fc03cb2f54616b4479f4b0e41 2008-01-27 * include/ruby/oniguruma.h: precise mbclen API redesigned to avoid inline functions. (onigenc_mbclen_charfound): removed. (onigenc_mbclen_needmore): removed. (onigenc_mbclen_recover): removed. (ONIGENC_MBCLEN_CHARFOUND): removed. (ONIGENC_MBCLEN_CHARFOUND_P): defined. (ONIGENC_MBCLEN_CHARFOUND_LEN): defined. (ONIGENC_MBCLEN_INVALID): removed. (ONIGENC_MBCLEN_INVALID_P): defined. (ONIGENC_MBCLEN_NEEDMORE): removed. (ONIGENC_MBCLEN_NEEDMORE_P): defined. (ONIGENC_MBCLEN_NEEDMORE_LEN): defined. (ONIGENC_MBC_ENC_LEN): use onigenc_mbclen_approximate.
5f9bc1779e7fb7011fe53746a0fe077e5b511088 2008-01-28 * enc/euc_kr.c (euckr_mbc_enc_len): validation implemented.
ffbf8ab36777f3f7c148bc687491823bc82d7fec 2008-01-28 * enc/big5.c (big5_mbc_enc_len): validation implemented.
d5c8ad535961968b40823512ccdb12e38f1ed529 2008-01-29 * insns.def (toregexp): generate a regexp from strings instead of one string.
86a9215bbfa659c3f663c5a61f855567c15c5437 2008-01-29 * enc/gb18030.c (gb18030_mbc_enc_len): validation implemented.
6e3391c8665d83824fce669069ca67b69b952e2d 2008-01-29 * enc/euc_tw.c (euctw_islead): 0x8e is a leading byte.
e1b85cbf17f3da7078452890edfc9c6e8cd7c001 2008-01-29 add tests.
12e8b588ac6b51563b71b5200fd4842e76cfb279 2008-01-29 * enc/euc_tw.c (euctw_mbc_enc_len): validation implemented.
0ba09d829c0f1a6dfdfa7ebb9f67b0bc3b8d32cb 2008-01-29 fix state definition.
44cfd58dc5f3949ff5cbcf7350a3e76d6ff1c49c 2008-01-30 * enc/utf_16be.c (UTF16_IS_SURROGATE_FIRST): avoid branch. (UTF16_IS_SURROGATE_SECOND): ditto. (UTF16_IS_SURROGATE): defined. (utf16be_mbc_enc_len): validation implemented.
84fe38438311911211c2d415967ed7c07624175b 2008-01-30 * string.c (rb_str_succ): use wrapped character as a carry for ASCII incompatible encoding.
dc36ca0ba52ec2707c91fd87ea55a423e97c5bd9 2008-01-30 * io.c (select_internal): fix SEGV by `select [STDIN],nil,[STDIN]'. fixed by Petr Chromec. http://rubyforge.org/tracker/index.php?func=detail&aid=17275&group_id=426&atid=1698
1df7138a0d8e6c0c86572cb8c03059138e33aa9f 2008-01-30 add a test.
ab12f27fb5e8314ce616a6d19083a24d7601a109 2008-02-01 * tool/compile_prelude.rb (C_ESC): use octal escape to avoid "\x09for (;;) ..." to be interpret the first character 0x9f.
b5fdd1bd76873fb0dbda439fdbaec2589b3c5e19 2008-02-02 * random.c (limited_big_rand): fix buffer overflow when SIZEOF_BDIGITS is 2. fixed by Kenta Murata. [ruby-dev:33565]
14373fc4db7440d39db4fd39297f2ed44cc990f2 2008-02-07 * math.c (math_gamma): new method Math.gamma. (math_lgamma): new method Math.lgamma.
58f7adb50ec65e1c2d131526729a17e56ef7c076 2008-02-07 fix typos.
f6d8188c5435100ee4de01f7aca5394e618de7fc 2008-02-07 fix lgamma doc.
82b088aa0c5a79fbb6b4ac5fd4cba31594ea6472 2008-02-07 * io.c (io_reopen): don't change access mode for stdin, stdout and stderr. [ruby-core:15360]
52a757686ddb4f0d848f5b707a39f131fc73801d 2008-02-08 add a test.
d55c77f565d4537c8edc5ea07020fd18e51ef59f 2008-02-08 add a test.
54b455190b9ed9200436d9bd4967dd272576d0b7 2008-02-08 * lib/open-uri.rb (OpenURI.open_http): rescue URI::InvalidURIError by URI.parse for location URI.
185849a664dc26b365e761413c1cf48c8011471a 2008-02-08 * missing/lgamma_r.c (lgamma_r): use smaller argument for sin function.
8f9fb1a82077d89bd107d02b456e86ed991d4c6e 2008-02-09 * string.c (rb_str_new4): copy encoding from orig, instead of shared one.
4c351aea173995f6e65bb85af8511d8ee78ba839 2008-02-09 * missing/xlgamma_r.c (lgamma_r): return HUGE_VAL for non-positive integers.
1c6e4ff1a011e3211723b1d668a536f3e8846702 2008-02-09 fix a typo.
c8aa30a95806939cc1d65e74895f2b57e6419d6c 2008-02-09 * math.c (math_gamma): add error check. (math_lgamma): ditto.
0e66903fca6743ab09504a5b9bd711c6d99821fb 2008-02-09 * missing/tgamma.c (tgamma): add error check.
b160d23c68e2e8fcd82b96fab0977be11c2b9ec6 2008-02-09 * math.c (math_cbrt): new method Math.cbrt.
87ea50380d06e71889251a22e86731c7f1dfa6bb 2008-02-09 fix typos.
d44f24c47cc0d03135fabb7c764ab23e9d5d1152 2008-02-09 * missing/tgamma.c (tgamma): use lgamma_r if available.
8f842d71e98d7da744c4518afbdd49fe06b6a49a 2008-02-13 * include/ruby/ruby.h (RObject): add iv_index_tbl for shortcut of RCLASS_IV_INDEX_TBL(rb_obj_class(obj)). (ROBJECT_IV_INDEX_TBL): defined.
800ff52c17e0036a91bfc074db51e4222d0c7b8f 2008-02-13 wait signal arrival 10sec.
70f25096c0c389888c06e0fea358c92153633b8e 2008-02-13 * lib/pathname.rb (Pathname#sub_ext): new method. [ruby-list:44608]
ec4756f633d62223cb05b5f24aee0842a471fb9d 2008-02-14 * re.c (rb_reg_preprocess_dregexp): use non-preprocessed regexp source for result.
bf8819235479e2772e317f5bc24ecad4046a56e7 2008-02-14 more tests for embedding regexps.
23db145b072570f010e5f4409585cc6ebab09bea 2008-02-14 add a test for named class in regexp.
a5c05a9ace5aad5fa9fc545be0be829cf61b16c4 2008-02-14 add a test for [ruby-dev:33072].
433fbebfbc49c330b66089f6d191558b967a84f5 2008-02-14 * io.c (io_reopen): check STDIN, STDOUT and STDERR mode according to stdio streams.
b0333388ab089e70be9109434ba5a6961b08fa60 2008-02-15 * lib/require_relative.rb: new file.
12b1578cabdf06cc76f6debaf8a953a922b47154 2008-02-15 * string.c (rb_str_getbyte): new method. (rb_str_setbyte): new method.
0040ed402063ef2c846bae09027d7ca4ea2215db 2008-02-15 add a test.
0831222a9135e0074b71d8f3890f94fdc78d61dc 2008-02-15 * encoding.c (rb_enc_nth): moved to string.c.
125c0a0d93f8562c1115290d10e110e20053eebb 2008-02-16 * lib/require_relative.rb: check require_relative call in eval.
af75cc01bc7ed39eafbc958936c51e0221313051 2008-02-16 * encoding.c (rb_enc_strlen): moved to string.c.
9b3ab49b5da2078af3917ab44db0ba92d4aa721e 2008-02-16 * string.c (rb_str_sub_bang): stringize replacing hash values. (str_gsub): ditto.
2df0301c72cfe9117d9fbdec0383a481dfe5e354 2008-02-16 add a test.
c2459f35acbef17644d706f8f6386e1368040f96 2008-02-16 add a test for [ruby-dev:33807]
a47e8e776c8e91cdf17f4cb79569c8b20c88b845 2008-02-16 * string.c (rb_enc_strlen): UTF-8 character count moved to str_strlen. (str_strlen): UTF-8 character count is only applicable for valid UTF-8 string.
de7c3793c0d0e842fff98bb64910be77fd4c7a22 2008-02-16 add ML ref.
7eeba5f440975912a63ee6e9da014c4a727cb565 2008-02-16 * encoding.c (rb_enc_compatible): empty strings are always compatible.
60fa63b819e12601eb4ad88faa52548ef389aabb 2008-02-16 * re.c (match_inspect): avoid SEGV with MatchData.allocate.inspect.
8bcfa698a040698247ca20006a4aa4b6c1978c4b 2008-02-16 * encoding.c (rb_enc_compatible): check encoding incapable arguments.
71c5e485989cfead51f62f36d0d694cab65f855f 2008-02-16 * include/ruby/re.h (struct rmatch_offset): new struct for character offsets. (struct rmatch): new struct. (struct RMatch): reference struct rmatch. (RMATCH_REGS): new macro.
35cb0f807b4689b0405dfbb2821e13f14c1fca45 2008-02-17 * string.c (rb_str_times): reduce loop overhead.
0f4199fb56ec12dae32a6fa099f15aaa7e55d10f 2008-02-17 * re.c (rb_reg_quote): return US-ASCII string consistently.
bf2d82b280af0c2327a939013699a4616fa5c1c1 2008-02-17 * string.c (str_sublen): use rb_enc_strlen.
a906fce838e51ddaa6c1b22162959968bc77a30c 2008-02-17 * string.c (str_strlen): rb_enc_strlen doesn't fail.
fbe308de9dece5d8640a3c417e295da5d006c780 2008-02-17 add a test for [ruby-dev:33826]
2ea2063f5a81431c70dff8a1df7d73b33e3db27e 2008-02-17 add tests.
b8fd2fabbef7696b42e2802caf1daf1368cc099e 2008-02-17 * re.c (rb_reg_prepare_re): add enable_warning parameter. (rb_reg_adjust_startpos): disable warning by rb_reg_prepare_re. (rb_reg_search): follow rb_reg_prepare_re parameter change.
583a4b1774a9458585fe896b7756e5e3e39beb32 2008-02-17 * re.c (rb_reg_regsub): don't repeat repl twice with "X".sub!(/./, sprintf("\\%c", 255)).
c2c32b50b18ff48882c51a6cbd2287646f27a267 2008-02-17 add tests.
bcf1e2ac129c7996a88a3129d3aa9a67010cbd84 2008-02-18 add a test.
a74c11cd4ae132d3019f684d1615c635587bfda7 2008-02-18 * re.c (re_warn): defined to restore warnings for /[a-c-e]/, etc.
b7cb4ddb216e047aefb8ec0843806bc578b9512c 2008-02-18 avoid regexp warnings.
1783b7aaccf52291c5e7f84e349ad3c95a858269 2008-02-18 typo fix.
d77ddf33aed2177ff0be4b4fc72aaee003865198 2008-02-18 add tests for sub/gsub with hash.
b2b3f25c37f489a8ac2a639ac7362397fa309db4 2008-02-18 * lib/irb/locale.rb (IRB::Locale#lc2kconv): check ja_JP.EUC-JP as well.
e61e1f6234fe994508506341932fa118abafb370 2008-02-18 add tests.
8efc7ea9ad664b942f48e16bb325769b08844b9f 2008-02-18 * string.c (rb_str_each_line): fix newline size.
f0b758a1285f8e7a5ca2f4ddb2b268de0cb8ee44 2008-02-18 use require_relative to require marshaltestlib and sentence.
1d2e4d830c23e3691de9560653c8b86a9d8f1d98 2008-02-18 use require_relative to require ut_eof and envutil.
390adf6112228a4c32381a4882c8076ff6b44c84 2008-02-18 add a test.
fec2c12c29df1fdc33a4d7fc110673adc35b7432 2008-02-19 * gc.c (STACK_LENGTH) [SPARC] : 0x80 offset removed. [ruby-dev:33857]
81fc1cf2017840d0786cf997b4d2a80f80060001 2008-02-22 * encoding.c (rb_enc_mbclen): return minlen instead of 1 when a character is not found properly.
310735aa4ad3978557d64683989c1e51356390df 2008-02-22 * process.c (rlimit_resource_type): new function. (rlimit_resource_value): new function. (proc_getrlimit): use rlimit_resource_type to accept symbol and string as resource type. (proc_setrlimit): use rlimit_resource_type and rlimit_resource_value to accept symbol and string as resource type and values.
84c9041f9bd6f0331592be1a6dc105f822e3e01c 2008-02-25 * process.c (Init_process): share bignum objects for RLIM_INFINITY, RLIM_SAVED_MAX and RLIM_SAVED_CUR if they are equal.
b58e36da4aaddd8d62c8750c1727c5849c56dc89 2008-02-25 * include/ruby/ruby.h (ROBJECT_NUMIV): renamed from ROBJECT_LEN. (ROBJECT_IVPTR): renamed from ROBJECT_PTR.
fbee9ba6ea90e881a3341caaa2114df4f5aa16d9 2008-02-26 * parse.y (tokadd_escape): refactored. [ruby-core:15657]
2f12678bcfde0b5cc2628cbba316ec0b6e89d888 2008-02-28 add a test.
1f262b3ef4e00fe8a7e84ab524ba53deeae1a07c 2008-02-28 * lib/open-uri.rb (OpenURI::Meta#meta_setup_encoding): setup encoding by charset. (OpenURI::Meta#meta_add_field): call meta_setup_encoding when content-type.
3e1c54defd58609ae284a78b3bc5501105d332e6 2008-02-28 * lib/open-uri.rb (OpenURI::Meta#meta_setup_encoding): use ASCII-8BIT for charset unspecified non-text data.
21c9bd1b33b122fafb310147e565b792d62c8241 2008-02-29 add a test.
00bf4e8a84c59f051b87c1a613fe8544b86c5aa6 2008-03-01 * test/ruby/allpairs.rb: new file for all pairs method.
374fac74822f817172adda3799ac006b0ce45f0b 2008-03-01 add a test.
655fd2dc372929a7d6250a5c8150bbc447798b6e 2008-03-01 add a test.
601616d6ff9b6ed2420e6b122f8ed48d5406b175 2008-03-01 add tests.
7c9e815d940c0b8de7b4a212301c8b1cef62ae2d 2008-03-03 test updated.
8e1d6b214a696333290df5d54dcc9a472d4b2df6 2008-03-04 * gc.c (add_heap): fix previous change. [ruby-dev:33988]
e34480c33006c4acc20d8f276c06a1f29f2bf26b 2008-03-05 add a test.
579f16d9851fc220a1dda9a0d65e611cc37aeb14 2008-03-05 add tests for float format.
be36a1b138a311cb4356e5ad64641eb9598c4dcc 2008-03-06 * include/ruby/missing.h (cbrt): add declaration.
d1cd806372d04675e9f646f1c1e01ef97e103ecc 2008-03-06 * missing/lgamma_r.c (loggamma): return 0 for 1 and 2.
7a62e3ea5996c1c33e017692f73caa70ace0b870 2008-03-06 add a test for [ruby-dev:34002].
774aebb3ce3ef856789a7c60e0839f93a393fe6a 2008-03-06 follow RFloat member name change.
7b8d61c2edfa4f815066a2a1a993d157ce41a553 2008-03-06 use %ld for VALUE in rp.
fe2a671fdb1333914a2b751fefc6191c2c3c28e9 2008-03-06 add a test.
fbe88bb2138ae64b80314972a1f2fc02d8d45207 2008-03-06 update sprintf rdoc.
67151cd7af01f97524f0a14cf5abd9567f856155 2008-03-07 update sprintf rdoc.
7a23e865880658d90a459c1709a00815734eabd9 2008-03-07 fix rdoc.
6f8d578b8a42352948e42b5177eefb40660cf35e 2008-03-08 code duplication removed.
b7d7519b18ec83d5069238a9648f6e3d56504bcd 2008-03-08 add a test for [ruby-dev:34006].
861219ce4a8c91a6d94c0d138c2f2bf2b3c2337e 2008-03-09 fix doc.
eb5789e2ac699a04d34f27fafb342f2a78832e5a 2008-03-09 add a test for [ruby-dev:34008].
30d2565b4eddb15dd6a24617f0700d0173b63df0 2008-03-22 * process.c (rlimit_resource_value): use NUM2RLIM.
0ef84dcefce47cab974f8763abd7cbb3a7eb6d98 2008-03-30 * io.c: IO.copy_stream implemented. [ruby-dev:33843]
c8ac4a209bcccfe38239ff3e6e853cf01e424537 2008-03-30 forgot to return a value.
7132a4f9798eada290b3bd22184ca7e43c551ccf 2008-04-10 * marshal.c (w_object): TYPE_USERDEF assigns id for ivars first. [ruby-dev:34159] by nagachika.
24197c48d27625233b4141fa99aa67191eeeb2bc 2008-04-19 fix setup method.
9579647fe18b29d946d7905f0d233bd37463a504 2008-04-19 * io.c (copy_stream_body): use readpartial and write method for non-IOs such as StringIO and ARGF.
a16e0c29db3d5c7555362956ba62ea8f84f00cc7 2008-04-20 * io.c (copy_stream_fallback): read directly (bypassing readpartial) if possible.
f0fbfeda519f7e0365996255c80f78c4b14d6037 2008-04-20 avoid warnings in copy_stream_body.
01c433b58ccdbde5b488901e2accda87d931abd9 2008-04-20 * io.c (copy_stream_fallback): write directly (bypassing write method) if possible.
ae2921ae67e849f8d28c0a3ae170d38c6ac36d03 2008-04-20 * io.c (copy_stream_rbuf_to_dst): removed. (copy_stream_fallback_body): don't bypass write method. (copy_stream_body): simplified.
6aee0a5bca81903f0b67f949a57a698755ab891b 2008-04-20 update sprintf rdoc.
935933d0d360dd535c33110f64b8e753877ec829 2008-04-20 fix deadlock.
b1166a04694766f24385a5a91e028e39f7bd2461 2008-04-21 * io.c (copy_stream_body): call rb_io_check_readable and rb_io_check_writable.
62aa7aae51004bddf9e0c9c6bcdf2d6fe88840e8 2008-04-22 exec "/" causes SEGV.
278b63a3e459993c44aa0515239970fde517642a 2008-04-24 * include/ruby/intern.h (rb_env_clear): declared. (rb_io_mode_modenum): declared. (rb_close_before_exec): declared. (struct rb_exec_arg): add options and redirect_fds field. (rb_check_argv): removed. (rb_exec_initarg): declared. (rb_exec_getargs): declared. (rb_exec_initarg2): declared. (rb_fork): add third argument: fds.
34bb79c031e886cf6a3bf11060195918b93401e4 2008-04-24 * process.c: include sys/stat.h for umask.
70c177c5f7c8139d0f6212739c6a8d5d93e5bd06 2008-04-24 fix argument type.
b50eaa73b3928c4a92a320ad96c2d072596e574d 2008-04-24 FreeBSD ash doesn't fail with echo >&4 where 4 is not opened.
fe9b92f14902e9a7521d1da8467ec9d932a5ce65 2008-04-25 * process.c (rb_spawn_internal): new function to specify default_close_others. (rb_spawn): specify default_close_others true. (rb_f_system): call rb_spawn_internal with default_close_others as false.
8e8095dd885466fc379c2b033334c3d0f04ae507 2008-04-25 update spawn rdoc.
61234dab9c43eb409ae85a4652ed50b9595b9cf5 2008-04-26 * lib/open3.rb: double fork is replaced by spawn with Process.detach. (Open3.popen3w): new method to access the thread returned by Process.detach.
4ce308d6a4076c783ac91c861da6173ce3ae9e4f 2008-04-26 describe :pid thread variable.
6fb36ebab0644f2b724b144b0a163148c87298aa 2008-04-26 describe about waiting a child process.
514715250a2a4d69ea0a4ce3123e2e2f558f3109 2008-04-26 * include/ruby/intern.h (rb_hash_dup): declared.
2142a5af51ce882641a060e69bc58c7322ff5188 2008-04-26 don't use Unix commands such as true, env, etc.
d95d20903361bbdb62cec068ab6afd7e850b1ce5 2008-04-26 * lib/open3.rb (Open3.popen3w): removed. (Open3.popen3): notice wait_thr.
2b14633bf7a15d14541fb3e5d58829bfb8f794c5 2008-04-27 add a test for [ruby-dev:34492].
f30a5223d3d4a83759c0458bc50636835ec867b2 2008-04-27 add a test for [ruby-dev:34524].
80b1f7b50ea10fa7aa841bc642b714411d1fc62b 2008-04-27 add tests.
59ba2bf0b676c288491b334c49886d6ba04b7dd3 2008-04-28 * include/ruby/intern.h (rb_exec_arg_init): declared. (rb_exec_arg_addopt): delared. (rb_exec_arg_fix): declared. (rb_exec_initarg): removed. (rb_exec_getargs): removed. (rb_exec_initarg2): removed.
1414a7a8e2a031697020f8b0a5a3e02c301ac2e3 2008-04-28 * process.c (run_exec_options): don't call FIX2INT for nil.
6daf55634550c612dc625f5093fc02b9b91f9f8b 2008-04-28 * include/ruby/ruby.h (POSFIXABLE): use FIXNUM_MAX+1 instead of FIXNUM_MAX to make it possible to convert to double accurately. It assumes FLT_RADIX is 2. fix RubyForge bug #14102.
e2551558e4b5c1176f59802bb3199a18f20ce631 2008-04-28 bit more explanation.
c4eb7b916f23d2cadb40c1409e8b1427949724f2 2008-04-28 more tests.
3341152da84af4c119b3f34745801f5f51a56655 2008-04-28 more tests.
6f63456ed78fc6a512e850fb00ad2b713c6aaddc 2008-04-28 add a test for [ruby-dev:34536].
01e712d78685d17654cbf87d9aefeff75de87e4f 2008-04-29 add tests.
36cb003300b53d47b7a8e28e3a870d85fd2b3999 2008-04-30 * process.c (check_exec_redirect_fd): prohibit duplex IO. (check_exec_fds): record maxhint even if close_others is not specified. (rb_exec_arg_fixup): renamed from rb_exec_arg_fix.
5adabb40103a7ef96bba2e8552bedfa233e4af19 2008-04-30 don't use fork method.
b104173c4c7ebee13ddd869d7285f601a0ef8722 2008-04-30 add tests.
e4dda7015ac3a900fc757c328ab525c16dec353d 2008-04-30 0**-1 test updated. [ruby-dev:34547]
577cb7c53c9a082de4c63721944c67d2272e1567 2008-05-01 split combinational blackbox tests.
3943e48fcc08ccb79c8e55d995c1ce381b61515a 2008-05-01 add a test for [ruby-dev:34553].
a60856f0100caffc22c0ae16ee6797b2120e2d13 2008-05-01 add tests for [ruby-dev:34556] and [ruby-dev:34555].
3330ec6cffd7fc128e23b6021689e6a58851bfd0 2008-05-02 add tests for [ruby-dev:34557] and [ruby-dev:34558].
3a0a3f4ea22b88286b835518d7ec5d2d5308f34a 2008-05-02 * variable.c (rb_define_hooked_variable): guard *var from GC to prevent collecting argf under RUBY_DEBUG=gc_stress.
5fbb3a819cf06197c27fe3cb7b16b825802a0d27 2008-05-02 add test for Struct.new(0).
5d49e1b3094f5e5131408d0d8fa0a271e8b50278 2008-05-02 add a test.
e5248cfd79f61f9bb73bd755632aa28d8a1b97f1 2008-05-02 add a test.
74697788d4e93eafabc652657ecb477a39b75507 2008-05-03 * time.c (time_timespec): raise TypeError for nil and other objects which has no divmod method.
724d6ffd5469d2cb75f98b8ed2470b5cb2b2643c 2008-05-03 add a test for [ruby-dev:34581].
091333f9eaddeb3302ee4ae5a4cfc14a62695653 2008-05-03 * test/ruby/envutil.rb (Test::Unit::Assertions#assert_normal_exit): new method.
47dcf6702ac2f6e8b6b5bbf1f5f0c965421e7723 2008-05-03 add a test.
7ef9aba753191632da2289e0d14f3bc1723816f6 2008-05-04 * string.c (rb_str_each_line): return original string.
f587eab23cdb70890f233d02eea7186ac05a21b1 2008-05-04 * eval.c (rb_obj_respond_to): check the result of respond_to? method by RTEST.
04752225a796afba738d55c9556c67f520b24f71 2008-05-04 * time.c (obj2nsec): fix string argument.
c415a5d66b0bbea62c378088af7df2afffa14c88 2008-05-04 add a test.
d3677c3d05c2a216c547e65d02b42a0a476209f2 2008-05-04 * lib/getoptlong.rb: use $stderr instead of $deferr.
3e8e963837c27554d393dcde695c7fc2a43d79e9 2008-05-04 * gc.c (set_heaps_increment): fix memory allocation strategy by determining heaps_inc from heaps_used, not objects_delta. (struct rb_objspace): delta removed. change increment, length and used to long for LP64. (objects_delta): removed. (allocate_heaps): add next_heaps_length argument. (init_heap): renamed from add_heap. (garbage_collect): use heaps_increment in dont_gc.
b998a6dbe8e932c1922b69dfe3455e5602b52818 2008-05-05 add a test for IA64 Debian GNU/Linux Etch.
50c2a48b8502e96cfc399e80bcae939243d95395 2008-05-05 * eval.c (ruby_cleanup): wrap ruby_finalize_0 by SAVE_ROOT_JMPBUF to avoid SEGV by at_exit { Fiber.new{}.resume } on IA64.
786e7aba7fcc1fbce5b4f8bacacf1fd008b8341f 2008-05-05 * test/io/nonblock/test_flush.rb: don't set Thread.abort_on_exception.
4500a5207da7b626f8c568afcaaa731d1cecd4d0 2008-05-06 File#lchmod test removed because the method is not exist.
611e2874982afa0e9a684159ca3d228563a813c0 2008-05-08 * thread.c (rb_gc_save_machine_context): call FLUSH_REGISTER_WINDOWS to mark the register stack from GC on another thread.
b938618359ba93b7b90633cd28a1a9977db697c1 2008-05-08 * file.c (rb_find_file_ext): guard load_path from GC. gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) optimizes load_path by holding only RARRAY_LEN(load_path) and RARRAY_PTR(load_path) in registers on IA64 GNU/Linux Etch.
332529d45ac100ffaa1e31ec4c498a70dc5bf143 2008-05-10 * vm.c (env_mark): mark env->block.self. prevent SEGV when GC occur in prepare_iseq_build with gcc version 3.4.6 [FreeBSD] 20060305 on FreeBSD/amd64.
14a97fd48aad077f7e239a20dd30cad41c0f6d8f 2008-05-11 * thread.c (thread_cleanup_func_before_exec): extracted from thread_cleanup_func not to touch pthread data. pthread_cond_destroy in forked process may cause deadlock on Debian GNU/Linux Etch on x86, x86-64 and IA64. this doesn't cause resource leak because the process will exec soon. (terminate_atfork_before_exec_i): defined. (rb_thread_atfork_before_exec): defined.
e389ce0676d8538dee44e47949bfdef1b81da85f 2008-05-11 * include/ruby/ruby.h (SIZET2NUM): new macro. (NUM2SIZET): new macro.
435ac5e58dccad2cfc104583ac658bb2b2920a7e 2008-05-11 * test/ruby/test_process.rb (TestProcess#with_stdin): defined. (TestProcess#test_argv0_noarg): don't use redirect_fds. [ruby-dev:34647]
65d1a419d9b11cf386b92ad0394d6e8ddf9cba70 2008-05-11 fix typos.
8b817f1a4e1426b2df1376a027e84611a3f5509d 2008-05-11 fix a typo.
2c012e01db6c80abb336ec27207b9f978b1f2da7 2008-05-12 * gc.c (assign_heap_slot): fix condition for number of objects in a heap.
10fc0eb781b3d551740056ba2ea966bc93a1f1a2 2008-05-12 add tests for [ruby-dev:34591].
21140756e12e79b153adf129bba2923544e6bafa 2008-05-12 add a test for [ruby-dev:34646].
e17c10a3911cc698e538e936f025053c1efe87d1 2008-05-12 add a test for [ruby-dev:34579].
6c1e664bb1f7492db8dc3af02e8d159969c6bec0 2008-05-12 * bignum.c (bigzero_p): check from MSB to LSB. [ruby-dev:34649]
430cabfad89206e286f2950b392cdf8d37755082 2008-05-12 * gc.c (ruby_vm_xmalloc): increase malloc_increase only if malloc succeeds. failed malloc size can be huge. it may increase malloc_limit too big which cause less GC and memory full. (ruby_vm_xrealloc): ditto. (rb_objspace): make params.limit and params.increase size_t.
fe7dae730f070b6fe0e49d41179ff4d86008cca6 2008-05-12 * lib/date.rb (once): use Object#object_id instead of Symbol#to_i.
20f4f5f82cf27f297d67621fb42b2562927cb99c 2008-05-12 * io.c (rb_f_gets.): re-enable rdoc. (rb_f_readline): ditto. (rb_f_readlines): ditto.
ec1f2095a1e0b600e5225b86558f31472f76a6fa 2008-05-13 check the chracters in (10**32768-1).to_s.
759c6d2a89a955d43694a98a47b12cde2e26d14c 2008-05-13 add a test.
86294fad68d33767a153acddf6d3c2044e7ec36f 2008-05-14 test the actual value of (10**32768-1).to_s.
48a42a0387a0924955c8cf31f880bdecbf6023a8 2008-05-19 add a test.
a85b247171373d079d98eeef42c6014980062609 2008-05-22 * test/ruby/envutil.rb (assert_normal_exit): capture stdout and stderr of the child process.
dc217e2d25d1994aadaaaac98179d374fc9c3366 2008-05-22 * insns.def (newhash): fix a variable definition: "const k".
da5e82f5a353745c17d726a86379c17797e7be73 2008-05-22 add a test for Array#compact!.
f73c84542c5a7462c12118ec56b459660636f903 2008-05-22 * array.c (rb_ary_compact_bang): fix reallocation size.
5fa02c5951496d9c34f2cc09d097b0181729b021 2008-05-22 add a test for [ruby-dev:34802].
08dbc8902b191b3732c4415362a0f86b4d7030e3 2008-05-23 fix a ML ref.
796d005a23c5f8acc5dc954afd1ba001809d76c7 2008-05-24 add a test for [ruby-dev:34808].
e3562616ade6ac6b18413405dd06ce29af418982 2008-05-24 add a test for [ruby-dev:34828].
f52d9a169ba5129554f02cbf0a68f48a3c288b1e 2008-05-24 add a test for [ruby-dev:34679].
ac6ce30aec2971e7a12e839fe67f7035ddb95be2 2008-05-25 * test/ruby/envutil.rb (assert_normal_exit): signal description refined.
85f554594a5d54050e7015894f9ab8b079c07780 2008-05-27 * numeric.c: "%" is required before PRI?VALUE.
17fe6a652f2e6e465f862a2054c1f294a2d16ed5 2008-05-31 * test/ruby/envutil.rb (assert_normal_exit): show pid when fail.
fa58f951cf6cfc60ab49bdecf93f6dc70228b7ed 2008-05-31 * gc.c (count_objects): clear given hash.
afbf678a91b3a849724326b3371e78346efaad9f 2008-06-01 debug print removed.
cf0109cff7f77901a6923ac85cfb4d85b8ee7386 2008-06-01 * test/ruby/envutil.rb (assert_normal_exit): show coredump status.
8a5dd664e7dd66f63fdf7bf7b6ff2fdef715db3a 2008-06-02 * test/ruby/test_argf.rb (teardown): remove renamed temporary files.
205e542a89c6150edf440d53f82267163526fb93 2008-06-04 avoid infinite loop on FreeBSD 6.3.
18d4c1f044a4422fde5dde381e0812296bf2b619 2008-06-05 * gc.c (os_obj_of): heaps may be modified in yield.
f1296598a2097e1e355307e16752b549f0f6b24c 2008-06-05 * lib/time.rb (Time.xmlschema): don't use float. fix http://rubyforge.org/tracker/index.php?func=detail&group_id=426&atid=1698&aid=20504
f6ec71fc4c0d149ed1682b574c06ab75f125b5b1 2008-06-06 * gc.c (count_objects): clear hash after counting objects.
cd6414267feba67f039d0a419ae91ae50ea26cd7 2008-06-07 * hash.c (hash_i): make Hash#hash order insensitive.
4a7311e12977ca2cd388f609c3c705ba219bfee5 2008-06-08 avoid dead lock on MacOS X.
507f89d33fb2c3fb7180dfda1a27364819f67f32 2008-06-09 * io.c (fptr_finalize): close IO object if fd is already closed. (rb_p): call rb_io_write just once.
58496686946ee56978256a7fba35800ad762e6e9 2008-06-09 * eval.c (Init_stack): don't declare. it is a macro now.
52654587548e5acacffd34d403b6a10ffaca9989 2008-06-09 * common.mk (test-knownbug): give $(OPTS) for bootstraptest/runner.rb.
3863e54bbf9777d9d929b59ed1d5f183ab960ff0 2008-06-10 describe %% in rdoc.
aaa90dddfb0ca864f4bf5f6fa319f8a76539855a 2008-06-10 update Signal.list rdoc.
2dc5f35a3a1baabeed4d13bfee1ee6b504d45cf9 2008-06-11 * bootstraptest/runner.rb (assert_normal_exit): hide stderr output when success.
69fa5eea6a2b1f658ed21263f17699393b04bc6e 2008-06-12 * include/ruby/ruby.h (rb_intern): use rb_intern2 with strlen for constant symbols to optimize strlen.
05093ae437c8c45849c66f010ab24b32236dfb6a 2008-06-13 * lib/time.rb (Time.xmlschema): don't accept decimal dot without fractional digits. fractional digits handling simplified.
436b02b3322d6809c2bf4cbadbe8b324a53e07e4 2008-06-13 * gc.c (ruby_initial_gc_stress): defined. (ruby_initial_gc_stress_ptr): defined.
2e35696bbec28b0f0252292191ba38d8164da3a2 2008-06-15 add an example to rdoc of sqrt and cbrt.
e7a660a3cfe9a8747b0a5f5b0c88019f5a19bbce 2008-06-15 tgamma and lgamma_r is not a error function.
b44d0b98d8f63385da9d3744c3e0a58f8f0dfa4e 2008-06-19 add a test.
04739ba61744046ac145b384aa9053429c80142f 2008-06-20 * string.c (rb_memhash): randomize hash to avoid algorithmic complexity attacks. (rb_str_hash): use rb_memhash.
7ba5c4e83b90a2e66ca3b3b7619b5d4565eaec4b 2008-06-20 * process.c (Init_process): Process::Status#to_int removed. (PST2INT): defined. (pst_to_s): use PST2INT. (pst_inspect): ditto. (pst_equal): ditto. (pst_bitand): ditto. (pst_rshift): ditto. (pst_wifstopped): ditto. (pst_wstopsig): ditto. (pst_wifsignaled): ditto. (pst_wtermsig): ditto. (pst_wifexited): ditto. (pst_wexitstatus): ditto. (pst_success_p): ditto. (pst_wcoredump): ditto. (rb_f_system): ditto.
dfbf04166afce5162f7f66ec72c90b2953b5f0b3 2008-06-27 * gc.c: __size__ removed. use the length of __members__ instead. (num_members): new function.
e509574dea10ee5122ee6e7c56ebeeddc7e4d21c 2008-06-27 fix the last entry.
6e90749f807a42265e0346aa9db806723a07c7de 2008-06-27 * time.c: fix rounding negative float.
c8ab5d2dd9caca93f97857acf7d9e945384b2b20 2008-06-28 * test/rubygems/test_gem.rb (test_self_path_APPLE_GEM_HOME): don't use fixed /tmp/apple_gem_home directory.
1318dff1a87af926428958a4cdf181d415836439 2008-06-28 add a test for [ruby-dev:34958].
340cd503a7d0f73bb1ca6446f78793f968a5d5bf 2008-06-28 * include/ruby/ruby.h (struct RRegexp): new field usecnt. replace str and len by src.
ff27b33044e8618ab290735bd3b3a5530b956233 2008-06-28 fix test_status_kill for coredump message in Process::Status#inspect.
214bb567f2c0a1ec370b0866bf52ce286586d6cd 2008-06-28 fix typos.
2950c7a919aecaf892446d7d2edf5ad85b8369ae 2008-06-29 * string.c (rb_str_format_m): make tmp volatile to avoid possible GC problem.
cac79cc38886da8674f95b717ecc108961df3a02 2008-06-30 add a test for [ruby-dev:34619].
895c7cb3c4f5d3c72e999d204a7eaa88e800b2be 2008-06-30 add an assertion.
5f8e0b66330ece522adb41c1e5d09babdb0cf7d2 2008-06-30 * numeric.c (num_coerce): call rb_Float(x) first. don't depend on evaluation order of function arguments.
f8348e1124cd9b268acb758344cc1ffac87590fa 2008-07-03 * configure.in (erfc): erfc of glibc comes with Debian GNU/Linux Etch on IA64 is broken. erfc(10000.0) aborts. use missing/erf.c instead. http://sources.redhat.com/ml/libc-hacker/2005-08/msg00008.html
53329fb62200a58bcc334e86aa280fe3988eb55e 2008-07-03 refine configure message of broken erfc of glibc-2.3 on IA64.
55b95b0169fee1cf10f8c67ead1c93e16a686194 2008-07-03 new file.
da1263d2ac7063ddd6b68ac460a9f9a45ab8993b 2008-07-03 describe glibc version bit more accurate.
7d166d26a5fbe66cdd7974314104f85dd29977ab 2008-07-04 * lib/test/unit/testcase.rb: collect decendants of Test::Unit::TestCase using inherited.
54c984a8983c4ca3330d842520f24d3a98675f20 2008-07-04 * re.c (unescape_nonascii): make regexp fixed_encoding if \p is used. fixed [ruby-core:17279].
1a32af4e7a1527ebe6b4b1205c522fa9ebd56344 2008-07-04 * re.c (unescape_nonascii): add has_property argument not to raise error by /\p{Hiragana}\u{3042}/ in EUC-JP script. (rb_reg_preprocess): use has_property argument to make regexp encoding fixed.
b89bf3f05a17a934cc94365fee3b20e0a4f5ed08 2008-07-05 update spawn rdoc a bit.
2ca7298386fe83c2477870b7020dca593b865733 2008-07-05 test_str_slice! refactored.
8b59b1cb983b84f259d09d41e150124345169f5e 2008-07-05 * io.c (rb_pipe_internal): new function for handling EMFILE and ENFILE error of pipe(). (UPDATE_MAXFD_PIPE): removed. (pipe_open): use rb_pipe_internal. (rb_io_s_pipe): ditto.
b279bf427070c0eb6e8fe5280174ac72acd55692 2008-07-05 rename rb_pipe_internal to rb_pipe. use rb_pipe in pipe_nocrash.
7b52d32bd7b373b56aea19127846ad9f01144f50 2008-07-05 forgot to commit.
d375b7735243edab13498b4f2f9dc6e06420b5e2 2008-07-05 * include/ruby/ruby.h (NUM2INT): cast to int. (FIX2INT): ditto. (NUM2UINT): cast to unsigned int. (FIX2UINT): ditto.
890aa092be342fc5589509903de248d06d48e9fc 2008-07-05 * ext/socket/socket.c (host_str): fix type mismatch in rb_raise format and argument. (port_str): ditto. (unix_recv_io): ditto. (sock_s_unpack_sockaddr_un): ditto.
6372357ad51ccbf909d36c6516229d3be0f30043 2008-07-09 * array.c (rb_ary_fill): don't raise even if length is negative. [ruby-core:17483], [ruby-core:17661]
34131e6ea372eecac20384a5833bba125ef218b6 2008-07-09 add a test for [ruby-dev:35414].
5c91367675ffc3e7b1a2214d354e518c3565e776 2008-07-10 add ML ref.
97208f2b34ad675d661938c865bb2202f52ff76c 2008-07-12 * ext/socket/socket.c: use PRIuSIZE.
fe80d63d68cc2a09e2af0d01c540546d5d221f2d 2008-07-20 * re.c (rb_reg_s_union): useless rb_enc_get call removed to prevent SEGV by Regexp.union("", nil).
1b16c560e4941fe1505a92d1cf1c8873134014bb 2008-07-20 * dir.c (dir_initialize): use rb_convert_type instead of rb_check_convert_type to prevent SEGV by Dir.new(".", true). (dir_initialize): use FilePathValue before rb_enc_get(dirname) to prevent SEGV by Dir.new(0).
4fb4516af8c64e711601bc34db8b0a702019b073 2008-07-21 * encoding.c (rb_filesystem_encoding): use locale encoding on Unix. [ruby-dev:35617]
2f1908b1cf5c19ca1d506a181e872c12e85d3dca 2008-07-28 * dir.c (struct dir_data): intenc field removed. (dir_s_alloc): intenc initialization removed. (dir_initialize): :internal_encoding option removed. dirname code conversion removed. (dir_enc_str): code conversion removed. [ruby-dev:35661]
84769be72723ae30c509b879ddeaf401d9a7ce87 2008-07-30 * dir.c (struct dir_data): change path field char * to VALUE. (mark_dir): new function for mark path field. (free_dir): follow the path field change. (dir_s_alloc): ditto. (dir_initialize): ditto. (dir_s_open): ditto. (dir_inspect): ditto. (dir_path): return (duplicate of) the path field to preserve encoding. [ruby-dev:35685]
f694ec83e885f273ac4e0535d7f9e5e1ed9a70be 2008-08-05 * tool/build-transcode: new file.
e90dd02529bbaa35890750722ecb0d716c2f698b 2008-08-05 * tool/transcode-tblgen.rb: show generating tables in verbose mode. (transcode_generate_node): call ActionMap#generate_node with showing table name.
2ec44b3d7fa5ac2f76180cbae9f45853cec13036 2008-08-05 * tool/transcode-tblgen.rb (ActionMap#eql?): use == to compare @map.
45428f22577b74510b055347cb236afc1096daff 2008-08-06 add tests for [ruby-dev:35726] and [ruby-dev:35709].
fc841ddc66b49367f30c5b872a03a7cca7802722 2008-08-06 useless comment removed.
5adb2479140a19ea446cd46f8059d9f0306ff562 2008-08-06 * tool/transcode-tblgen.rb: distinguish UNDEF and INVALID. [ruby-dev:35709]
a016b30844683df63fcb85387e6d01b49732351c 2008-08-06 * enc/depend: transcode table generation depends on tool/transcode-tblgen.rb.
e22b3b773dfda0c1136c11d25376587c5fce60f9 2008-08-06 * tool/transcode-tblgen.rb (transcode_generate_node): code argument removed.
8ff5c093ab8abfe0a5f3db7b1217c7c19ba122ce 2008-08-06 ignore generated files.
38eeffcec2d493657dda03d8bde55176d569706a 2008-08-06 fix previous commit.
4c6321a1f7b5c66f7917d266fc0230255b8faedd 2008-08-07 add a comment.
1504652373a16c8e7eb5d59894c83572ac72b5e7 2008-08-07 * transcode_data.h (rb_transcoding): new field "stateful". (rb_transcoder): preprocessor and postprocessor field removed. change arguments of func_ii, func_si, func_io and func_so. new field "finish_func".
2577fa6dccd454fe92009b306af212e7e73bf906 2008-08-08 * lib/resolv.rb: randomize source port and transaction id. CVE-2008-1447.
2833d9f95d076c09d7a4ba6b3f8ba26d33d56ef7 2008-08-08 * transcode_data.h (rb_transcoder): from_unit_length field added. from_utf8 field removed.
6db9e77e64d41da7080b937322775813c58ba72e 2008-08-08 * enc/trans/utf_16_32.erb.c (fun_so_from_utf_32le): implemented. (fun_so_to_utf_32le): implemented. [ruby-dev:35777]
94342f89f9b0139210f9b1ceb0952073090d850a 2008-08-08 add several tests for UTF-32LE.
139234e1a091ac3167d3bebdfcd29b3952665334 2008-08-09 * transcode_data.h (rb_transcoding): add fields for restartable transcoding. (rb_transcoder): add max_input field. from_unit_length field is renamed to input_unit_length.
ca3dd2d89e41234f112d23c706ad9151e6b73aad 2008-08-09 * transcode.c (transcode_restartable): my_transcoder argument removed. (transcode_loop): my_transcoder argument removed.
4bceda1125242d365558d6c870215c8e2125e29a 2008-08-09 * transcode_data.h (rb_transcoding): new fields: next_info and next_byte.
b9d3995310ecb42f3cfd062e8e507d2c886501ee 2008-08-09 * transcode.c (transcode_char_start): arguments changed. (transcode_restartable): arguments changed to avoid *in_pos points out of buffer by decreasing *in_pos.
0e3d10173bec301c075555e20a0fc1da853ab35c 2008-08-09 * transcode.c (transcode_loop): take destination and resize function as parameters. (more_output_buffer): ditto. (str_transcoding_resize): argument changed from rb_transcoding* to VALUE. (str_transcode): call transcode_loop with destination string and its resize function.
94dc1e0b4ad27327beae4ff7e07e674ceb0a3fe9 2008-08-09 r18455 reverted.
b2718506adec191767a127ed0039f6c194d70a4f 2008-08-10 * transcode.c (transcode_char_start): refactored to remove readlen argument. (transcode_restartable): refactored to remove readlen variable.
e748ed513d1fc079513a3ae9905705f579d351a4 2008-08-10 * transcode_data.h (rb_transcoding): add feedlen field.
2ce7aeca6edf4610d6b1d890fbe659379b4b8f9f 2008-08-10 * transcode.c: rename my_transcoding to tc and my_transcoder to tr.
30e90a335d15a0b7766ea0f0c981a523d5ba0be8 2008-08-10 * tool/transcode-tblgen.rb: record checksum of transcode-tblgen.rb itself.
436a136b4e2b983fb4875ccca466278461e0d7e3 2008-08-10 * transcode_data.h (rb_transcoding): new field: flags.
badd9f1efca296be0f1dce0491f8c7662434da5f 2008-08-10 * transcode.c (transcode_restartable0): invalid handling simplified. (transcode_restartable): use PARTIAL_INPUT for converting buffered input.
bd5bf3726cd33ac084b54858edbeb3d17c29076e 2008-08-11 * transcode_data.h (rb_transcoding): rename fields. readlen -> recognized_len. feedlen -> readagain_len.
36dd9a222113b361492dc82a736a001f138f300a 2008-08-11 * configure.in (rb_cv_broken_glibc_ia64_erfc): renamed from rb_broken_glibc_ia64_erfc. [ruby-core:18228]
2897632f163143e03f83ba47d2611c3357974c36 2008-08-11 * enc/trans/iso2022.trans: renamed from iso2022.erb.c.
a2901a7c75b572d806a6720b37babd566d15e5ba 2008-08-11 * transcode_data.h (rb_trans_result_t): new type. (rb_trans_elem_t): new type. (rb_trans_t): new type.
425098de96b3b51bdb99090eef39134867ba32ca 2008-08-11 * transcode.c (rb_trans_conv): find second last error.
c1361132bcf4dcd21d93bb51c5a61f9535280420 2008-08-11 * transcode_data.h (rb_transcoder): typedef at first.
5f9b877ebe2d3d53ec44df57aef982c5ae592a7f 2008-08-11 * transcode.c (get_replacement_character): extracted from output_replacement_character.
94ca2d94deca939e6e50c09705873eb89c6012aa 2008-08-11 * transcode_data.h (rb_transcoder): add resetstate_func field for resetting a state of stateful encoding.
61f512a3575df2ca3c894c426d47cdc27ca8d4fd 2008-08-11 add a test.
5ade93542fd9ee1a11515a2fa885f2cf822833d2 2008-08-12 * transcode_data.h (TRANSCODE_ERROR): removed.
abef7fa890df87d69e38311b7d0626d790a396aa 2008-08-12 * transcode.c (trans_open_i): check the result of rb_transcoding_open.
6d87cec02ce763dd1c26b3ba026056c037d67704 2008-08-12 * transcode_data.h (rb_trans_elem_t): new field: from and to.
79cd32fe3b49ef8830ce78e9ca02eb680c53318f 2008-08-12 * enc/trans/make_transdb.rb: *.erb.c is not used anymore.
608cb2ed32549cb7fd8fa33033c3482d1465acfc 2008-08-12 * transcode.c (rb_trans_open): free ts before raise.
c523f6f15e9c5012a6f6c81d4e40302294be963a 2008-08-12 * string.c (rb_str_splice_0): call rb_str_drop_bytes, not rb_str_drop.
edcd02cb5a2603ab549dae322974ed9d528e22db 2008-08-12 * transcode.c (rb_cEncodingConverter): new class Encoding::Converter. (econv_free): new function. (econv_s_allocate): ditto. (econv_init): ditto. (check_econv): ditto. (econv_primitive_convert): new method. (Init_transcode): define Encoding::Converter.
9d4bb3b969799e314197c70b3e33223564258bc8 2008-08-12 * transcode.c (rb_trans_conv): report last transcode_obuf_full. (econv_max_output): new method Encoding::Converter#max_output.
5501d84ceb8ca479d06197d196989d41b39c61ee 2008-08-12 * transcode.c (econv_primitive_convert): add output_size argument.
e9ebe1a16134046de49af460ca3bff3c0b98d7e7 2008-08-13 * transcode.c (transcode_search_path): return the length of converter path. (load_transcoder_entry): renamed from load_transcoder. (load_transcoder): new function for loding transcoder by encoding names. (rb_transcoding_open_by_transcoder): extracted from rb_transcoding_open. (rb_transcoding_open): use load_transcoder and rb_transcoding_open_by_transcoder. (rb_trans_open_by_transcoder_entries): new function. (trans_open_i): construct entries array. (rb_trans_open): use rb_trans_open_by_transcoder_entries.
74a2a7bdbfbf70febab024354fe0b7fb26300704 2008-08-13 * enc/trans/newline.trans: new file.
a14d5eb09bc791b7ada7897a8fdb6a243babbb78 2008-08-13 * enc/trans/newline.trans (rb_crlf_newline): new transcoder. (rb_cr_newline): new transcoder.
279e612973e36f167d3c431e742c2bcc5564162d 2008-08-13 fix variable name.
3785eb7772014bdcd8585395b5338ded0c9b9bc5 2008-08-13 fix constant name.
4aa251999d88642e0b58a9e1d2060b8f219fd299 2008-08-13 * transcode.c (econv_init): make flags argument optional. (econv_primitive_convert): ditto.
81719aff65dba5b72d14ad39eb851301bfd995a3 2008-08-13 add rdoc.
04f7390ca828ee6c2482036b0d6834ca6d86ded9 2008-08-13 * transcode_data.h (rb_transcoding): add fields: writebuf_off, writebuf_len and writebuf. (TRANSCODING_WRITEBUF): new macro.
3e7d8bf9f8bbdaad4f36819f14fb5c4cf2ea9d35 2008-08-13 * transcode.c (transcode_restartable0): several local variables removed.
9adfb3066db1b78355c810448bf451a10efe4d4a 2008-08-13 * transcode.c (econv_inspect): new method. +
fde26b7d7abc6c17debe3e293ca9346a6110aa62 2008-08-13 * transcode.c (econv_primitive_convert): add output_byteoffset argument.
ae8522ff7e6b7d60492644cbe3c1d777ba44d37e 2008-08-13 rdoc updated.
81be10bd853ed8a502a0a02ea706c9567b469c67 2008-08-14 test updated.
bcae240f193027289fd37ea2aa8c106ceab6fbaa 2008-08-14 * transcode_data.h (rb_trans_result_t): new enumeration constant: transcode_output_followed_by_input.
a99e6c15b8b889a133ab37233da1d7fbbb314eff 2008-08-14 * transcode.c (rb_econv_conv): new function. it don't consume input too much, even for multilevel conversion. (transcode_loop): use rb_econv_conv. (econv_primitive_convert): ditto.
7db5e184c20a2a692a97b6308221d2212a290056 2008-08-14 add a test.
dd927511043de7343fbbcac7e8daba95ebf3a2d2 2008-08-14 * transcode.c (load_transcoder): unused function removed. (rb_transcoding_open): ditto.
bd9bd5295453b4287a4c6190a2b656d2e2a6eec0 2008-08-14 * transcode_data.h (transcode_invalid_byte_sequence): renamed from transcode_invalid_input. (transcode_destination_buffer_full): renamed from transcode_obuf_full. (transcode_source_buffer_empty): renamed from transcode_ibuf_empty. (rb_econv_result_t): renamed from rb_trans_result_t. (rb_econv_elem_t): renamed from rb_trans_elem_t. (rb_econv_t): renamed from rb_trans_t.
be51387d55e0b9adf81ddd0d217d2ed05cd29199 2008-08-14 * tool/transcode-tblgen.rb: check unexpected actions.
5a4844ed6ced4c1110b29f38a25be65074671d2f 2008-08-14 * transcode.c (econv_max_output): removed.
db30661aa9635d665c8d39592fb18bfb89331410 2008-08-14 * transcode.c (rb_econv_open_by_transcoder_entries): renamed from rb_trans_open_by_transcoder_entries.
d46728ec0e134c47a9cf7b1f63d5a0c88902162e 2008-08-14 * encoding.c (rb_filesystem_encoding): use default external encoding for Unix.
a6daaf16b063d0a0870d1ef0e42df1d4338b02f4 2008-08-14 * transcode.c (econv_init): accept Encoding object as source_encoding and destination_encoding.
87779b507e5b845e81e16dc597a989bc6f2183be 2008-08-14 * transcode_data.h (rb_econv_result_t): change enumeration constant's prefix: transcode_ to econv_.
c82aee31b41f0772dd0491c6bfa5cb90b47d0d5a 2008-08-14 * include/ruby/encoding.h (rb_econv_result_t): moved from transcode_data.h. (rb_econv_elem_t): ditto. (rb_econv_t): ditto. source_encoding and destination_encoding field is added. (rb_econv_open): declared. (rb_econv_convert): ditto. (rb_econv_close): ditto.
ed7d1a25cb118de8a1db2c32c5e1e051ac582649 2008-08-14 * transcode.c: local variable renamed.
e0e39e0db80be635fa68e28dab84966300b4eb29 2008-08-14 * include/ruby/encoding.h (ECONV_UNIVERSAL_NEWLINE_DECODER): defined. (ECONV_CRLF_NEWLINE_ENCODER): ditto. (ECONV_CR_NEWLINE_ENCODER): ditto. (ECONV_PARTIAL_INPUT): ditto. (ECONV_OUTPUT_FOLLOWED_BY_INPUT): ditto.
74a36d5d1f17f1529090fb42a405d4677caa567e 2008-08-14 * include/ruby/encoding.h (rb_econv_output): declared.
8eda80ff2cde551e22e9a9803e932184aafdbf38 2008-08-14 * transcode.c (econv_primitive_convert): set destination_buffer encoding.
95af70c5e745f0017d5ee7b73c79d800f0a4f9c2 2008-08-14 udpate rdoc.
51c7947bdeac3bb9e80dfd104ab3352fb57ce1b0 2008-08-14 ignore uncommon.mk.
520cd6d186fd0753e052fd153fc2c5b764cb9aee 2008-08-15 * transcode.c (econv_init): don't create dummy encoding if rb_econv_open is failed. (make_dummy_encoding): new function extracted from make_encoding. (make_encoding): removed.
b9d5d6a13751ef0cfae10eff07f2b9fe153c386a 2008-08-15 add tests.
8b04d998ae83ffaf59296b28ac3df65fb7c73477 2008-08-15 add a test.
96ae1f008fa0072730aee64dd8d2cc30badfe69d 2008-08-15 * transcode.c (conv_init): check empty name.
e4e2ef3975a1a14e0c360d54f7c8b5578af6dbb0 2008-08-15 add tests.
131e194cec5a36ac18d6c9abcae6aad6ccd5fd1d 2008-08-15 * include/ruby/encoding.h (rb_econv_t): new field: last_error.
7f0c5beb6f53cc057c03c74e15468282b1e52cd5 2008-08-15 * include/ruby/encoding.h (rb_econv_t): add error_tc in last_error.
fe091e89b73c62fd3940ff4ca9214e3935de257c 2008-08-15 * include/ruby/encoding.h (rb_econv_output): add str_encoding argument.
3a427c61997b513939841dfa1f7b124e9facf6d3 2008-08-15 * transcode.c (econv_just_convert): extracted from rb_econv_output. (rb_econv_output): use econv_just_convert. (econv_primitive_output): new method.
c3d0206e04c36eaca9853132fd687264b8b7348f 2008-08-15 add a test.
a55e167b68d123866b44a14f31411eafdcb56037 2008-08-15 * transcode_data.h (rb_transcoder_stateful_type_t): defined. (rb_transcoder): add field: stateful_type.
7a0bea4fd327ec0f572f25a24adc7f0b2f9821e8 2008-08-16 * include/ruby/encoding.h (rb_econv_t): add fields: in_buf_start, in_data_start, in_data_end, in_buf_end and last_trans_index. (rb_econv_output): removed. (rb_econv_insert_output): declared. (rb_econv_encoding_to_insert_output): declared.
4dff8b24286e84c1c2a2bd7e422d490327470d26 2008-08-16 * include/ruby/encoding.h (rb_econv_elem_t): fields removed: from and to. (rb_econv_t): new fields: source_encoding_name and destination_encoding_name.
6acb0e79c810175194d644b2e37bb2bef0e9e972 2008-08-16 * include/ruby/encoding.h (rb_econv_check_error): declared.
63daa7c07d6c10c1a47a4578e5fa015760967e84 2008-08-16 * include/ruby/io.h (rb_io_t): new fields: readconv, crbuf, crbuf_off, crbuf_len, crbuf_capa. (MakeOpenFile): initialize them.
04bbc1df1259e70064585dc23bacc7d904063f7e 2008-08-17 * transcode.c (make_econv_exception): add several instance variables to exception object. (ecerr_source_encoding): new method: Encoding::ConversionUndefined#source_encoding and Encoding::InvalidByteSequence#source_encoding. (ecerr_destination_encoding): new method: Encoding::ConversionUndefined#destination_encoding and Encoding::InvalidByteSequence#destination_encoding. (econverr_error_char): new method: Encoding::ConversionUndefined#error_char. (econverr_error_bytes): new method: Encoding::ConversionUndefined#error_bytes.
0051d4a0778d8b81f22cdcac8a6af52fa567d5fe 2008-08-17 * include/ruby/encoding.h (rb_econv_putbackable): declared. (rb_econv_putback): ditto.
128abaede677c9b5c885a375f4fc19e6a733172e 2008-08-17 * transcode.c (econv_primitive_putback): new method.
14a87b4f498079b53d51a4b6096545a58090c03c 2008-08-17 fix typos.
0ff4061ef7e3a8ffa681698fa8490740616d1aac 2008-08-17 * io.c (prepare_getline_args): io.gets(10,nil) should cause TypeError.
f3a42261fb1e325ab8fde99adcc4722cbb110a18 2008-08-17 * io.c (appendline): appendline cannot check character boundary. (rb_io_getline_1): relax limit until character boundary.
f072d0464fbf53c62878a8217399f73ea4f72256 2008-08-18 add tests.
815fd8536b94b12465bbe08868c65119ef63c508 2008-08-18 * io.c (io_enc_str_converted): new function. (make_readconv): extracted from io_getc. (more_char): ditto. (appendline): use econv via make_readconv and more_char for code conversion. (prepare_getline_args): don't convert record separator. (rb_io_getline_1): don't use rb_io_getline_fast if enc2 is set. (io_getc): use make_readconv and more_char.
6f1fe004f7090b4ae6defbe10340b3edbee3bcb0 2008-08-18 * io.c (io_shift_crbuf): add strp argument to append into existing string. (read_all): use econv if enc2 is set. (io_getc): follow the io_shift_crbuf change.
08dcd122354a9f9f86208ea71820fdd1721e64ac 2008-08-18 * io.c (io_enc_str): code conversion removed. (io_enc_str_converted): removed because it is identical to io_enc_str now.
8372c16764acdfae376e4ff6af9bb8a6f468d88e 2008-08-18 * transcode.c (transcode_search_path): prevent infinite loop by searching a path for self conversion.
43a3aa5ebf64d78150621de03cb9d5bb45cc1139 2008-08-18 * io.c (mode_enc): modify enc and enc2 consistently. (io_set_encoding): ditto. (io_encoding_set): ditto.
f7bdac01c245ed85e97655bb48f279183bf03557 2008-08-18 update comment.
89b4f06a596e993a82630913f085a82265cb499c 2008-08-18 * io.c (clear_readconv): extracted from rb_io_fptr_finalize. (mode_enc): call clear_readconv. (io_set_encoding): ditto. (argf_next_argv): ditto. (io_encoding_set): ditto.
035d4816c3782eca70464fa553b968dc46adee53 2008-08-18 * include/ruby/io.h (rb_io_t): new fields: writeconv, writeconv_stateless and writeconv_initialized. (MakeOpenFile): initialize them.
edc9581f16bc48310051072a4135bdcdccee1a70 2008-08-18 * io.c (make_writeconv): if enc and enc2 is set, convert string.encoding to enc2.
e32e9a06e4e05dbe38ae8d42af55db3fd1899469 2008-08-18 * io.c (id_encode): removed.
1b821cb4a32b40ba6392abbba6c941aceb47e54d 2008-08-18 * io.c (io_ungetbyte): renamed from io_ungetc. (rb_io_ungetbyte): new method. (rb_io_ungetc): push back into character buffer if enc2 is set.
febc4b9923c6a20539e615b99eb59be7e2c43189 2008-08-18 * io.c (rb_io_check_readable): side effect for STDIN removed. (rb_io_external_encoding): ditto.
93ad576b0511ee435c01bd92e31d625d29c2c22e 2008-08-18 * re.c (rb_reg_inspect): don't raise for uninitialized Regexp.
d8892979334d88c19dddd18c6717b69766d4888e 2008-08-18 * io.c (rb_open_file): don't access argv[-1] by File.allocate.instance_eval { initialize }.
20d2ecafa30f84e13242a2cf221d24bb8be5e7ed 2008-08-18 fix preivous change.
02f43f1bd92cd8eb016b44d98a2b86173c520211 2008-08-18 * io.c (rb_open_file): encoding in mode string was ignored if perm is specified.
cf26f818e46aa64bc692cccd18d2d68d27f0198f 2008-08-19 * ext/openssl/ossl_x509name.c (ossl_x509name_initialize): store the result of d2i_X509_NAME into DATA_PTR(self).
b7643cfdcdff51f3e854b3790dedf3e5572cfc3b 2008-08-19 * include/ruby/io.h (FMODE_*): sorted and describe the values in hexadecimal.
fb7be908bbfee12af0b34f9329bf71ac0f01d0a0 2008-08-19 * io.c (rb_io_flags_mode): add a prefix 0 to octal in error message. (rb_io_modenum_mode): ditto.
4bba634ae77a6c1c2877ab8952250b689ceb7590 2008-08-19 * io.c (rb_io_flags_mode): use hexadecimal in error message. (rb_io_modenum_mode): ditto. (rb_io_initialize): ditto.
074ad688b1b96d435e8c41dd16b470f3e28b28bf 2008-08-19 * include/ruby/io.h (FMODE_READWRITE): define as FMODE_READABLE|FMODE_WRITABLE.
21ba5836e62f142c39697fc0cf6775448615e1cc 2008-08-19 * include/ruby/io.h (rb_fopen): declaration removed.
8f3e88c4322ee661e4813ff0fe7014d94b16ac52 2008-08-19 * transcode.c (rb_econv_open): fix memory leak. (rb_econv_close): ditto. fixed by shinichiro.h. [ruby-dev:35880]
77ba9a5f56ff86d1dc014da32b9e385b92c9626b 2008-08-19 * io.c (fopen): macro for vms removed. fopen is not used now.
b929da2a1e03da52fd630d71a940858051f0f456 2008-08-19 * include/ruby/io.h (FMODE_TRUNC): new constant.
608230bfa82c024ae1b89a0d4f474e22aad7370e 2008-08-19 * io.c (rb_io_flags_modenum): make it static.
a0e0e30864d292e5c173087dad15260f75d312ce 2008-08-19 * io.c (parse_mode_enc): extracted from mode_enc. (io_extract_encoding_option): extracted from io_set_encoding.
297f3249d9452afc70cbd0d99eb9f707361df581 2008-08-19 mkcdtmpdir doesn't yield a value.
f78380f0f1e4941119bef7661eb7b0afe2df089c 2008-08-19 * include/ruby/io.h (FMODE_TRUNC): value changed because 0x100 is used as FMODE_NOREVLOOKUP in socket.c
2901137a810da7181d0626081451244d3a950812 2008-08-20 * io.c (prep_io) [cygwin]: use FMODE_BINMODE instead of O_BINARY.
a5c0ee40b1bf98201d45f12aa040b2be1ec0405a 2008-08-20 * io.c (open_key_args): meaningless MEMCPY removed.
76a3923c99ed79a52ca4d04c694da079625d4180 2008-08-20 * io.c (rb_open_file): don't lookup :mode and :perm in opt. it is useless because vmode and perm is overwritten by rb_scan_args anyway.
f58382aaf3de10a78f1c108dfafae2278abe62f2 2008-08-20 * io.c (Init_IO): new constants: File::DSYNC, File::RSYNC and File::NOFOLLOW.
f684d04a66b08492dd61ff1a40db289cb0daeba4 2008-08-20 * io.c (convconfig_t): new type. (rb_io_extract_modeenc): new function. (rb_file_open_generic): new function. (rb_file_open_internal): use rb_file_open_generic. (rb_file_sysopen_internal): use rb_file_open_generic. (rb_open_file): use rb_io_extract_modeenc and rb_file_open_generic. (rb_io_open): call rb_file_open_internal instead of rb_file_open.
9074da1b4424b09916d4baf23b26c7cfae75ac44 2008-08-20 * io.c (rb_scan_open_args): extracted from rb_open_file.
65370097cda754090f57da3d9df85f98c7725e50 2008-08-20 * io.c (rb_io_open_with_args): use rb_open_file instead of rb_io_open.
4046ecde2f6880390f30d68570f570269f397a88 2008-08-20 * io.c (rb_file_open_internal): use rb_io_flags_modenum. (rb_io_reopen): use rb_io_flags_modenum and rb_io_modenum_mode. (rb_io_stdio_file): ditto.
578fc840009ef7adb1f845e10cfaf451b97f9077 2008-08-20 * io.c (io_set_encoding): removed. (rb_io_open): set up encoding using new argument opt. (open_key_args): call rb_io_open with opt. don't call io_set_encoding.
10e5d076814e99cbd5f69cf1461d657c6285e748 2008-08-20 * io.c: use mode_t for the 3rd argument, permission, of open(2).
1bfaed8f8d4de9eba8f5b282a18e886aed278a2a 2008-08-20 * io.c (rb_file_sysopen_internal): unused function removed. (rb_file_sysopen): ditto.
4a2cd03fbd73cefdc87e9602dc3dd1cf86a5a63d 2008-08-20 * io.c (open_key_args): IO.foreach(path, rs, limit) didn't work.
19569c8f2596f340b821f104588c59e00b08773d 2008-08-20 * io.c (open_key_args): simplified.
e6c300e08a0d055bbaf2a8fd95507f2544906594 2008-08-20 * io.c (prep_io): local variable renamed. (rb_io_fdopen): ditto. (prep_stdio): ditto.
caf34a9305f1af057afff3f3ec48efacb52c0a73 2008-08-20 * io.c (io_extract_encoding_option): enc2 is external encoding if external encoding and internal encoding is given. (pipe_open): add flags and convconfig argument to initialize fptr->{mode,enc,enc2}. (pipe_open_v): pass flags and convconfig from caller to pipe_open. (pipe_open_s): ditto. (pop_last_hash): new function. (rb_io_s_popen): use last hash as option to specify code conversion. (rb_io_open): specify flags and convconfig arguments for pipe_open_s. (rb_f_backquote): ditto.
3f7bed0b805fbb4cd9c88d59a1516eacd22170e5 2008-08-21 test O_NOFOLLOW only on FreeBSD and Linux.
d34079b17a82ca0c3012a9eb0b99689ac65c585c 2008-08-21 * io.c (io_extract_encoding_option): if internal encoding is not specified, enc is external encoding.
61acccefb7b90ab8dcbccc216e56c0ea61f1b54a 2008-08-21 * process.c (pst_pid): use rb_attr_get to avoid warning on Process::Status.allocate.pid. (pst_inspect): don't raise if self is not initialized.
cefd28a84fb25b80d8afeea15df03ac90ac1d615 2008-08-21 * file.c (rb_stat_inspect): don't raise if self is not initialized.
dd7cf02eab10e8feb7cb4324265d6ecd81a759df 2008-08-21 * io.c (rb_io_initialize): accept hash argument.
32c7a56555b7099431cc98ff2bed3ca8330d5f82 2008-08-21 * iseq.c (iseq_inspect): don't raise on uninitialized object. show real class name.
9910ee4f5c9c97b5908ab4bba64189a9c9a39b8b 2008-08-21 * io.c (rb_io_extract_modeenc): use rb_check_to_integer to test integer.
ddda4e5508e962a4823722f1f373894280fa529c 2008-08-21 * io.c (rb_io_extract_modeenc): notify coerced to caller. (rb_io_initialize): mode may be a Bignum.
fbc6ea6c95f8f8fd2d6f3e6adb49f13c7031860b 2008-08-21 * io.c (rb_io_s_sysopen): mode can be a Bignum.
9ee7875162df5d55fcb56a36e39efa45894de6b3 2008-08-21 * include/ruby/ruby.h (NUM2LONG): make it inline function to evaluete the argument only once. `t = Object.new; def t.*(x) p x; 0 end; p Time.at(0, t)' did print x twice. (NUM2INT): ditto. (NUM2LL): ditto. (INT2NUM): make it inline function. (LONG2NUM): ditto. (UINT2NUM): ditto. (ULONG2NUM): ditto.
ae0ca36f8b6ccb767439d799f7260b980a04895b 2008-08-21 * include/ruby/ruby.h: fix previous change for LP64.
2f59e3130c0f9be681ade633bbabf41f40a5435f 2008-08-21 fix previsous change again.
f61354c40577276ebc6ef4dee9aadcaa3b59f97c 2008-08-21 * io.c (rb_file_open_generic): take filename as a VALUE. (rb_file_open_internal): ditto. (rb_io_open): ditto. (rb_file_open): pass filename as a VALUE to rb_file_open_internal. (rb_open_file): pass filename as a VALUE to rb_file_open_generic. (open_key_args): pass filename as a VALUE to rb_io_open.
93ee8dea674b3935bf546665296bc328c124371f 2008-08-21 * include/ruby/ruby.h (INT2NUM): just use a simple macro on LP64. (UINT2NUM): ditto.
1dce3b071e35b2772e78c7cc1e16ce1069e3c94b 2008-08-22 * io.c (rb_io_pid): use PIDT2NUM.
c0d3881e0e67b2fe9eeaa98c6d912ee15ea430b8 2008-08-22 * include/ruby/io.h (FMODE_TEXTMODE): defined.
895fd7ec5e03c51c5ebc1424312967852703de38 2008-08-23 * include/ruby/io.h (rb_io_t): remove path field and add pathv field. (MakeOpenFile): initialize pathv as Qnil.
341abd3f881ce77458f62c46e6421fd6c4444984 2008-08-23 * io.c (read_all): fptr->enc2 is 0 if no conversion. (rb_io_getline_fast): ditto. (io_getc): ditto.
d2cb86c532c5123d93351d4953af1f4a351a7ce5 2008-08-23 * io.c (check_pipe_command): extracted from rb_f_open and rb_io_open. (rb_f_open): use check_pipe_command. (rb_io_open): ditto.
3721df734c9ad1be0bbd64321329c1af405b289b 2008-08-23 * ext/pty/pty.c (pty_getpty): follow rb_io_t's path -> pathv change.
860c2331039537c4d0c5c8c92ae1e89395f0edcc 2008-08-23 * io.c (rb_io_extract_modeenc): check :textmode and :binmode in option hash.
d4fabf0e36946a2ac8423a0817e282efa1ee1459 2008-08-23 * include/ruby/encoding.h (ECONV_INVALID_MASK): defined. (ECONV_INVALID_IGNORE): defined. (ECONV_INVALID_REPLACE): defined. (ECONV_UNDEF_MASK): defined. (ECONV_UNDEF_IGNORE): defined. (ECONV_UNDEF_REPLACE): defined.
2b78afebc731e3f9e447076c3cd2e53328b9e97a 2008-08-23 * include/ruby/io.h (FMODE_INVALID_MASK): defined. (FMODE_INVALID_IGNORE): defined. (FMODE_INVALID_REPLACE): defined. (FMODE_UNDEF_MASK): defined. (FMODE_UNDEF_IGNORE): defined. (FMODE_UNDEF_REPLACE): defined.
cefcbd24f67258ec2dc1263fa987378f1971d429 2008-08-23 * io.c (rb_scan_open_args): use pop_last_hash.
8f9ed3c464fea371855792758b9e9d31ba99c0ec 2008-08-24 * include/ruby/encoding.h (rb_econv_open_exc): declared.
7c2c7ea315d3945fd68dc937a8b3ebbc529472e5 2008-08-24 * transcode.c (rb_econv_open): return NULL on error.
bc0efbc9cd875ef4582cfc421297ec7cfbbfcb78 2008-08-24 * include/ruby/encoding.h (rb_econv_substr_append): renamed from rb_econv_string. (rb_econv_str_convert): declared. (rb_econv_substr_convert): declared. (rb_econv_str_append): declared.
51ad3df2cec27075db72dff7291c5f8828d0c9da 2008-08-24 * transcode.c (str_transcode): check last hash only if 0 < argc.
c6d291b003a4d5f8b12d9ff79767525d359b5733 2008-08-24 * include/ruby/encoding.h (rb_str_transcode): add ecflags argument.
b47c46106a0e2937d059e81b6fbecafe3a3d4347 2008-08-24 * transcode.c (rb_econv_substr_append): associate dst with destination encoding when dst is created.
9b8adfed222ed950b74d76a45179b3ba785c4e05 2008-08-24 * include/ruby/encoding.h (rb_econv_option_t): defined. (rb_econv_open): 3rd arg changed. (rb_econv_open_exc): ditto.
f27b74142e3775625c4ac4506b84c20154549aa6 2008-08-24 * include/ruby/encoding.h (rb_econv_opts): declared.
1c3d34cad5220a1c18ee2c1d781982617008c220 2008-08-24 add comment.
d7bf4546664feb3f8b4b07817978e389e9f2b381 2008-08-24 * include/ruby/io.h (rb_io_t): make enc and enc2 as struct rb_io_enc_t;
09c7eba7b1293ec187e4acd12d11887540df41a7 2008-08-24 * include/ruby/encoding.h (rb_str_transcode): make 3rd argument rb_econv_option_t*.
6d019ccbd0f93b6be47884f4cc814798614d284e 2008-08-24 * io.c (struct argf): use struct rb_io_enc_t. (argf_enc): follow the struct argf change. (argf_enc2): ditto.
571b114708061819db35ad7c0349502196aa92be 2008-08-24 * include/ruby/io.h (rb_io_enc_t): add opts field. (FMODE_INVALID_MASK): removed. (FMODE_INVALID_IGNORE): ditto. (FMODE_INVALID_REPLACE): ditto. (FMODE_UNDEF_MASK): ditto. (FMODE_UNDEF_IGNORE): ditto. (FMODE_UNDEF_REPLACE): ditto. (MakeOpenFile): initialize the opts field.
071319fde18d319cf5c66702aeaf66ca1a880a2f 2008-08-24 * io.c (rb_io_s_pipe): accept optional hash. (rb_io_set_encoding): ditto. (rb_io_extract_modeenc): use rb_econv_opts to initialize ecopts. (rb_file_open_generic): ditto. (rb_file_open_internal): ditto. (io_encoding_set): new argument: opt. (argf_set_encoding): copy fptr->encs.opts to argf_ecopts.
c22f52c06f788d87e89320112c909ad461deceaf 2008-08-24 * io.c (rb_io_reopen): initialize fptr->encs.opts.
6f8c2ea9c425fc4e263c0327bef273595cdfb9ae 2008-08-24 * io.c (sym_invalid): removed. (sym_undef): removed. (sym_ignore): removed. (sym_replace): removed.
7918141932ee5c440f556f272a01befd1de5a52d 2008-08-24 * io.c (rb_io_open): add an argument: vperm. (open_key_args): call rb_io_open with perm.
98e34b223b8a79c2984f2a6ab2296c8232dc209b 2008-08-24 rdoc updated.
329729da551943645c60a9ebbfa7cbdfa7b8a043 2008-08-24 * io.c (rb_io_init_copy): copy encs.
ae1b02a8da630762436d190355ed24ec0db0976e 2008-08-24 * include/ruby/encoding.h (rb_econv_t): use rb_econv_option_t.
bf5e559ce0770cffb15b4d6cde84d78757bbc8fa 2008-08-24 * transcode.c (declare_transcoder): arguments order changed. (rb_declare_transcoder): call declare_transcoder just once.
2c78899641c9f34377b67f3df32662232db801e9 2008-08-24 * configure.in (BUILTIN_TRANSSRCS): defined. (BUILTIN_TRANSOBJS): defined.
aeffc67dbbb8a06297afd13a2e68edf40294b460 2008-08-25 * transcode.c (rb_econv_open_by_transcoder_entries): initialize last_error. num_trans may be zero. (rb_econv_convert0): num_trans may be zero. (rb_econv_putbackable): ditto. (rb_econv_putback): ditto. (rb_econv_convert): input_ptr and output_ptr may be NULL.
04860263899b34e3f7efea4a845c8b80523eca9e 2008-08-25 * transcode.c (rb_econv_open): make last_tc NULL if there are only additional transcoders. (econv_description): extracted from rb_econv_open_exc. (rb_econv_open_exc): use econv_description. (econv_inspect): use econv_description.
72eaacaa15256ab95c3b52ea386f88586fb9da40 2008-08-25 "t" for Kernel#open described. Encoding and Encoding::Converted described.
86154f63b358fe81441be9d339d6dba0054f8c92 2008-08-25 * transcode.c (make_econv_exception): show readagain part for invalid byte sequence exception. store the part as an instance variable. (ecerr_readagain_bytes): new method to access the readagain part.
6c1190d10f4cb338595a39237e0126a8b677c8db 2008-08-25 * io.c (io_fwrite): add TEXTMODE_NEWLINE_ENCODER to option for rb_str_transcode.
1a805010ed9e9edc99f2abefa5d4431eb54b43f4 2008-08-25 * transcode.c (str_transcode0): don't short cut for newline conversion.
873987f2e0796e04ca0ac0aed885137f8e523338 2008-08-25 * transcode.c (str_transcode0): disable newline conversion for ASCII incompatible encoding.
5c6d113a4b58a3b4c01301ac8371378dbdb81dd0 2008-08-25 * io.c: force CRLF handling if RUBY_TEST_CRLF_ENVIRONMENT is defined. This is only for testing.
08911df3117cb9cf6625117c1c6a109cff64b1ad 2008-08-25 * io.c: test _WIN32 for CRLF platform. (cygwin defines O_BINARY.)
75b2d7cbe8538c9414f579c3c56becf9b63986b6 2008-08-25 * include/ruby/io.h (rb_io_t): new field: writeconv_pre_opts.
3c66a5b25eeee2a0b1b7768e3155048339ff5be8 2008-08-25 * io.c (make_writeconv): copy invalid/undef flags.
18b097b73b49965bed5e37c6f53b2043e50103c8 2008-08-26 * transcode.c (rb_econv_binmode): binmode is effective only once.
19ab08653eb18b18507a9c4de09327c904387d7f 2008-08-26 * transcode.c (rb_econv_open): disable newline conversion for ASCII incompatible encodings. (str_transcode0): don't need disable newline conversion here.
a68e409eaab13ed85df4308a5a3bbb045dbbd639 2008-08-26 * include/ruby/encoding.h (rb_econv_elem_t): move to transcode.c (rb_econv_t): defined as an incomplete type.
99a26ac1642cbe3f27f939cc53c0bef5a0ac15a1 2008-08-26 * include/ruby/io.h (rb_io_t): rename crbuf to cbuf.
db6ec3105ea5c3b7e30e15ec0a0b4d1a5dbe0ac3 2008-08-26 * include/ruby/encoding.h (rb_econv_result_t): enumeration constant: econv_incomplete_input.
1366802a1f24065c9d02f47f59d9a0519f9cd516 2008-08-26 * transcode.c (transcode_loop): simplified.
ad3c6c712b48843bf12cca4bc7d5290f34b0866d 2008-08-27 add a test.
d05d66e2acaa67840394b332359d6aa99bcc233a 2008-08-27 * io.c (rb_io_initialize): don't accept IO object. [ruby-dev:35895]
a08b97c2f6c5ef85a3d8eee0eaf73015612316b5 2008-08-27 * include/ruby/io.h (rb_io_t): refcnt field removed. (MakeOpenFile): refcnt initialization removed.
fbfd237042fe9891660712e3853f9416b691835b 2008-08-28 * common.mk: dependency updated.
c23ec90e813457ec4db5d02677cdb358743974b5 2008-08-28 * transcode.c (sym_invalid_byte_sequence): new variable. (sym_undefined_conversion): ditto. (sym_destination_buffer_full): ditto. (sym_source_buffer_empty): ditto. (sym_finished): ditto. (sym_output_followed_by_input): ditto. (sym_incomplete_input): ditto. (econv_result_to_symbol): use above variables. (Init_transcode): initialize above variables.
3811bb53bdc604ec6abe1252787c3fb381a711d6 2008-08-28 * transcode.c (econv_primitive_convert): accept nil as input for empty input.
ad8cfb1b945d2ec6b28be8a1bc60ed458a19075c 2008-08-28 * transcode.c (econv_primitive_convert): accept nil as destination_bytesize for unlimited destination size.
23d10cbb00c726571183ad96dcd26547fd6200d8 2008-08-28 * transcode.c (econv_convert): new method.
2c80188627712523cb29b17fe435bf50a613fd4e 2008-08-28 * transcode.c (econv_finish): new method.
d4afbe49f36f35ad1bf4f5f054c180973dc7521e 2008-08-28 rdoc update.
c2ba5cf9c54b0e9268617250ecd2075fbd1ddd8e 2008-08-29 rdoc update.
375dbe3c7364a0c8cd1ed6d51c5f2cabe8fa001e 2008-08-30 * ext/dl/mkcallback.rb (rb_dl_init_callbacks): avoid GC problem which is caused by 'GC.stress=true; require "dl"'.
86e45042cb8799ae79c52f10abc660c799adf113 2008-08-30 * ext/dl/mkcallback.rb: fix continuation line detection.
8eb12fc30e7faf824d708d0068f0f6605b76abdc 2008-08-30 * ext/dl/test/test_import.rb: fix character code.
f69c1c5eda68751caa3a9ac3f8cbf081de9a8c20 2008-08-30 * ext/dl/mkcallback.rb (foreach_proc_entry): extracted. (gencallback): ditto. (gen_push_proc_ary): ditto. (gen_push_addr_ary): ditto.
3deee712f5645d269b573b127ee1dd108e5d0e90 2008-08-30 * ext/dl/mkcallback.rb: split callback.h to callback-[0-9].c to reduce memory consumption on compilation. [ruby-dev:31898]
5e222d694531a75c25bce883f4ce3ce697af8fbf 2008-08-30 * transcode.c (econv_primitive_errinfo): 5th element (partial_input) removed from result.
d3db454d19f2359403ad3aa90b199d67865d1d58 2008-08-30 * test/ruby/test_econv.rb: follow econv_primitive_errinfo change.
5bbc51ed43e6fee737433964191b55d22497cdbd 2008-08-30 * transcode.c (econv_insert_output): renamed from econv_primitive_insert_output.
998a4ec5af091792d06a4e266b63702d1651723b 2008-08-30 * transcode.c (econv_putback): renamed from econv_primitive_putback.
97a5808a148e1aca1a8b53f57290fd8ec9ec3a72 2008-08-30 * transcode.c (rb_econv_putback): putback from last byte.
d9c5f88abc3377351d2bb8d065113dd0f1eba205 2008-08-30 * transcode.c (econv_putback): make max argument optional.
5757a872c44cfb0a3abf1eb38e5871fa0af09a4f 2008-08-31 * ext/strscan/strscan.c (strscan_do_scan): fix usecnt decrement.
91e5f7d51af4256bb11edfba3c7918d534fc8181 2008-08-31 * ext/dl/mkcallback.rb (rb_dl_init_callbacks): fix indent.
f3c43ae0c2d7ceb7d219a35e956600e0db6ebcab 2008-08-31 * transcode.c (make_econv_exception): error message simplified.
9d2accff2b2424a00b7a397711fcddf206f18cee 2008-08-31 * transcode.c (econv_primitive_convert): make two arguments, destination_byteoffset and destination_bytesize, optional.
c3f55e6d486d4c5ccbc32c7c32c72fc586e99293 2008-08-31 * transcode.c (econv_last_error): new method.
d1429c3cc6405a23b10c317c0ffdac96c9a7e61f 2008-08-31 * enc/trans/single_byte.trans (us_ascii_map): don't define 8bit bytes.
d427cf3af8dfc1af85e6e0f3a7d8a86dd7f2d35f 2008-08-31 * transcode.c (econv_insert_output): raise ArgumentError on failure.
2d71485ec1898c5c0f43d1c7e0fdb1f1442c9dd8 2008-08-31 * transcode.c (econv_putback): associate encoding to the result.
72ee10b19c0edab36a78c2bdc1870be5220e32ba 2008-08-31 * transcode.c (make_econv_exception): rename instance variable names for storing encoding names. (ecerr_source_encoding_name): method renamed. (ecerr_destination_encoding_name): ditto.
94f421c9c02f8e3e9ff1c7f6a70a5cb5e571422b 2008-08-31 fix a typo.
69610b07c304e6ef61c108afaa525fa84cd80451 2008-08-31 * transcode.c (transcode.c): set source_encoding and destination_encoding as encoding object. (ecerr_source_encoding): new method. (ecerr_destination_encoding): ditto.
c3434e35aca6e2f662f4aa7b059b19d96a2f3e22 2008-08-31 rdoc update.
8aae9dc62c4c32219be8bb2afd731a8cafb32b0a 2008-08-31 ignore callback-*.c.
a017cecf42d321d69420b7f50ce7c24177a8bfea 2008-08-31 fix typos.
e7ee4fabd428b6b8eb96159a825ad6df2ed16e24 2008-08-31 rdoc update.
6b2efe107f8de34e75da95ec78a9dd6cb0b11be1 2008-08-31 * tool/transcode-tblgen.rb (citrus_decode_mapsrc): print logging message on STDERR.
8841969485b9d65aad60cab456e24e7f8bcbcd3c 2008-08-31 * tool/transcode-tblgen.rb (transcode_generated_code): defined for generating table at once. (transcode_tblgen): returns an empty string. (transcode_generate_node): ditto.
0f81455429732027fe04118d300c9954bacbcc3c 2008-08-31 * tool/transcode-tblgen.rb: change "illegal" to "invalid".
9f8cf6559a9cdc6a40e80e89983d7049ed847e1a 2008-09-01 * tool/transcode-tblgen.rb: ValidEncoding['eucJP-ms'] defined. "\xA2\xAF".encode("utf-8", "eucJP-ms") should raise Encoding::ConversionUndefined, not Encoding::InvalidByteSequence.
03ec9b1aac4281490de9912a93892e30af5a8158 2008-09-01 * tool/transcode-tblgen.rb: gather offsets array at top.
339dfc32a7854104729f8a334b64d272550781f9 2008-09-01 * tool/transcode-tblgen.rb: make offsets arrays into single array.
edf1d608c725db1a42f884a91c7ac18b9f98aef0 2008-09-01 * tool/transcode-tblgen.rb: gather infos arrays and BYTE_LOOKUPs.
2ae7b0328e9bf0caf16411eabc924effedccfb5c 2008-09-01 * transcode_data.h (BYTE_LOOKUP_BASE): abstract accessor for BYTE_LOOKUP. (BYTE_LOOKUP_INFO): ditto.
752e053a1df0446b6ca20815b1976dd322d736bd 2008-09-01 * transcode_data.h (BYTE_LOOKUP): change to uintptr_t array. (BYTE_LOOKUP_BASE): follow the type change. (BYTE_LOOKUP_INFO): ditto. (PType): ditto. (rb_transcoding): ditto.
6c835ee50ae152daf75d4bd3a63570b7480b1c89 2008-09-01 * tool/transcode-tblgen.rb: make infos arrays and BYTE_LOOKUPs into single array.
7908180df1364bc6a20cdbf2cb1365f1f0da21fa 2008-09-01 * tool/transcode-tblgen.rb: record offsets array as index of byte_array to avoid relocation.
3b090adf7c3e95997630e36074f621cc3fbc96f9 2008-09-01 * tool/transcode-tblgen.rb: don't need to cast offsets array.
6058eeaf0360cd5e56106db1f360a7edf3c91f1a 2008-09-01 * tool/transcode-tblgen.rb: record infos and BYTE_LOOKUPs as index of word_array to avoid relocation.
c5759bfb5b71517af525b1bc51fd485572344758 2008-09-01 * tool/transcode-tblgen.rb: define TRANSCODE_TABLE_INFO in generated code. use it in rb_transcoder.
5727e9c980873115c6acc1a725da8ee9c9083d14 2008-09-01 * tool/transcode-tblgen.rb: comment removed in generated code.
784ccb5806051c0fc66cc1ab12ed3ca94a1bd0ed 2008-09-01 * transcode_data.h (o3): prevent sign extension on 64bit environment. (o4): ditto.
a2ada174a51525fbadfee8e0183035a5b1f3b036 2008-09-02 * enc/trans/japanese_euc.trans: splitted from japanese.trans to avoid compiler limitation. reported by usa.
01d7d1907781922e8e93a3cd8c5a4bf31923fb98 2008-09-02 * enc/trans/make_transdb.rb: error message improved.
298d66296d3cf90f66a82b7f13150971a9430993 2008-09-02 revert last commit.
797faf92d96c00ba28edc9613a5205b6ff87e45b 2008-09-02 * enc/trans/make_transdb.rb: error message improved.
5cea1b07f4f468cce46367da2a27a6d1e69c68f2 2008-09-02 * enc/trans/make_transdb.rb: check foo.c only if foo.trans exists.
39f172f9d73d140e5e8ed914f151e130f0cb883c 2008-09-02 * tool/transcode-tblgen.rb: add prefix for byte_array and word_array.
41e1933fd8df02d3244aa477f4f5a78d7ff12e65 2008-09-02 * transcode_data.h (base_element): removed. (BYTE_LOOKUP): removed. (BYTE_LOOKUP_BASE): don't cast. (BYTE_LOOKUP_INFO): ditto. (PType): unsigned int, instead of uintptr_t. (rb_transcoding): change type of next_field, conv_tree_start and word_array.
2eb763857dd356d62ec46fd528e466b3fc8c2991 2008-09-03 * parse.y (parser_encoding_name): defined. (parser_tokadd_mbchar): show encoding in the message of "invalid multibyte char" error.
8108417c5e4088b3b1ab6fe90a9a6d2ff9268892 2008-09-03 * tool/transcode-tblgen.rb (ActionMap#gen_array_code): extracted from generate_lookup_node. (ActionMap#numelt_array_code): ditto. (ActionMap#array_code_insert_at_last): ditto.
4406629bd6f5841db014f9ec5aed860239182e05 2008-09-03 * enc/trans/japanese.trans: new file.
9233dc9bf4072a20f67c25df5ce181f614edccd7 2008-09-03 * tool/transcode-tblgen.rb (ArrayCode): new class. (ActionMap#gen_array_code): moved to ArrayCode. (ActionMap#numelt_array_code): ditto. (ActionMap#array_code_insert_at_last): ditto. (TRANSCODE_GENERATED_BYTES_CODE): use ArrayCode. (TRANSCODE_GENERATED_WORDS_CODE): ditto.
4277473d5b42ae87dab2e2203c5f7602e41f9456 2008-09-03 * transcode_data.h (rb_transcoder): new field: byte_array_length and word_array_length.
ac5631e6f0f39e0eb64f6b344dd05f3659ee332f 2008-09-03 * transcode.c (BYTE_ADDR): defined. (WORD_ADDR): ditto. (BL_BASE): use BYTE_ADDR and WORD_ADDR. (BL_INFO): use WORD_ADDR.
069f85f81260b2199720aebf1d13b0efc8a3a630 2008-09-03 * transcode.c (BL_MIN_BYTE): defined. (BL_MAX_BYTE): defined. (BL_OFFSET): defined. (BL_ACTION): defined. (transcode_restartable0): use BL_MIN_BYTE, BL_MAX_BYTE and BL_ACTION.
6fe24d1f1332bc79458fdac8b3c66ed2db13d390 2008-09-03 refactor last change.
6378201f8b202e493613d1c0936788ddbe708c76 2008-09-03 * transcode_data.h (WORDINDEX_SHIFT_BITS): defined. (WORDINDEX2INFO): defined. (INFO2WORDINDEX): defined.
f6441bf61cd4244aca5f465d262baf31b8872ac2 2008-09-03 * transcode_data.h (rb_transcoding): remove stateful field. add state field. (TRANSCODING_STATE): defined. (rb_transcoder): add fields: state_size, state_init_func, state_fini_func. change rb_transcoding* argument to void*.
1afc1b7bc806c66786b90cc6c6a764f71b4c251f 2008-09-03 * transcode.c (rb_transcoding): moved from transcode_data.h. (TRANSCODING_READBUF): ditto. (TRANSCODING_WRITEBUF): ditto. (TRANSCODING_STATE_EMBED_MAX): ditto. (TRANSCODING_STATE): ditto.
56343375b81d0a4370bfe59c54364060701fe3b5 2008-09-03 * include/ruby/encoding.h (rb_econv_option_t): removed. Since rb_econv_option_t has only one field, int flags, rb_econv_option_t is replaced by int.
c359b80127d4eb5326d5a76e2d94098ed3879d80 2008-09-03 comment updated.
0ebcad6a7b59819f6b65e6578b28e00dd6a6a4fe 2008-09-03 * include/ruby/encoding.h (rb_econv_set_replacemenet): declared.
58964e324975a924947157ac933d11815f1b2483 2008-09-03 * include/ruby/io.h (rb_io_t): new fields: encs.ecopts and writeconv_pre_ecopts. (MakeOpenFile): initialize them.
8c321128d91fadb45c12bbbbd9637bf81f76be2a 2008-09-03 add tests.
dead0a4c5118a0f0836305a151ee49073fe70ad2 2008-09-03 rdoc update.
b94060024db12a343b1e2331e17939a6a806ce96 2008-09-04 * file.c (rb_find_file): fix GC problem on Debian GNU/Linux (IA64) with gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21). There is no register/memory to contain load_path. A register (r35) contains &RARRAY_PTR(load_path), (char*)load_path + 32.
31b054122c0051daef2c051665014b9b3c84a105 2008-09-04 * io.c (rb_scan_open_args): follow rb_str_transcode change.
45c37073038bde691ef12350277cd5a0b7796ec3 2008-09-04 * include/ruby/encoding.h (ECONV_INVALID_IGNORE): removed because it tend to cause security problem. If the behaviour is really required, ECONV_INVALID_REPLACE with empty string can be used. For example, CVE-2006-2313, CVE-2008-1036, [ruby-core:15645] (ECONV_UNDEF_IGNORE): ditto.
49e9f42703e4d67ab3a2e9657efe83b297e87b01 2008-09-04 * include/ruby/io.h (rb_io_enc_t): rename flags to ecflags. (rb_io_t): rename writeconv_pre_flags to writeconv_pre_ecflags. (MakeOpenFile): follow the renaming.
b53f7a1cbf5ddac058163eea9d1c34b93a474601 2008-09-04 * io.c: variables renamed for consistency.
0031967d2012896b7e86548a661cd0e1b3b52fa5 2008-09-04 * transcode_data.h (PType): defined unconditionaly.
f7607eff9af30e002770805f775da7a078cedaeb 2008-09-04 * transcode.c (sym_universal_newline_decoder): new variable. (sym_crlf_newline_encoder): ditto. (sym_cr_newline_encoder): ditto. (econv_opts): check newline converter options. (econv_init): make 3rd argument hash/nil only.
2494e67f16fc82834a3f6d5e04fe28f9418ec9cc 2008-09-04 * transcode.c (sym_partial_input): new variable. (econv_primitive_convert): accept a hash as 5th argument as well.
5da4e660ad3e3bdc8806f767234e36798426b696 2008-09-04 * transcode.c (econv_init): accept an integer as 3rd argument as well.
0406b0f1547d33f1f1abb39524b846c36d5e234e 2008-09-04 rdoc update.
64b633f069e9d86bd4cc6f1786558fe900df9d1a 2008-09-04 * enc/trans/newline.trans: record newline types met in universal newline decoder.
dac421a9c987b74d82a074f19f3e3e038f99cc01 2008-09-04 * include/ruby/intern.h (rb_file_open_str): declared.
40c771fd45eb7b3fd5c024bae65990faa24ddf46 2008-09-04 * pack.c (encodes): make buff fixed length to avoid SEGV by ruby -e '["a"*10000000].pack("m1000000000")'
a50b307900892347c8267aa9c112ab73c4754baf 2008-09-04 * transcode.c: variables renamed for consistency.
f549f1ae3269fbf5567eafbef8855bcd0062e27d 2008-09-04 * transcode_data.h (rb_transcoder): rename fields: from_encoding -> src_encoding, to_encoding -> dst_encoding.
205d9ef125bdc8db4dc921b539c6cd2cc688df54 2008-09-04 * io.c (argf_mark): mark p->encs.ecopts.
0153a4ea07401895ea508c39a0b0cd7403ab8d41 2008-09-05 * io.c (MODENUM_MAX): removed.
12a55a6c7daf9e74f5e7f91be33384474b5722a9 2008-09-05 * include/ruby/io.h (rb_io_mode_modenum): moved from include/ruby/intern.h.
067b98736f7458e4c93ec3c4f7ffb6abab76b0b2 2008-09-05 add tests.
debeb7db7734b86ce75648ac99d144ff953ad189 2008-09-05 * enc/trans/newline.trans (universal_newline_finish): new function.
01acf1870403c8b925d06a0c188e52f1aedada03 2008-09-05 * include/ruby/io.h (rb_io_modestr_fmode): renamed from rb_io_mode_flags. (rb_io_modestr_oflags): renamed from rb_io_mode_modenum. (rb_io_oflags_fmode): renamed from rb_io_modenum_flags. (rb_io_mode_flags): defined as a macro. (rb_io_modenum_flags): ditto.
f2fd6d3b15541e0ea66942d79e2bd3458a83b66c 2008-09-05 * transcode.c (enc_arg): extracted from str_transcode_enc_args. (str_transcode_enc_args): use enc_arg.
134ca08dd14585e30fab91cb909a254a259d6657 2008-09-05 * transcode.c (econv_s_stateless_encoding): new method.
e93289c03f7dd955a463258fce8e8d2660d20226 2008-09-05 update rdoc.
f0d9f949e839f920fc5cc8dfc9e335ccf7c04399 2008-09-05 * transcode.c (str_transcode_enc_args): local variables renamed. (str_transcode0): ditto.
80abde2c89f913da8509e6db3f1428581eb3e6a2 2008-09-05 * transcode.c (allocate_converted_string): add arguments for a buffer allocated by caller. (rb_econv_insert_output): provide caller allocated buffer to allocate_converted_string.
7d3598ee60264be084f8a6d15d50544e96de5afe 2008-09-05 * transcode.c (rb_econv_convert): use ECONV_INVALID_MASK and ECONV_UNDEF_MASK.
c500c37fbc3950e5511d5864da075b17f15a58cc 2008-09-05 * include/ruby/encoding.h (ECONV_UNDEF_HEX_CHARREF): defined.
dc98e2528a3d553a6ea7028482df8d5c48582601 2008-09-05 * transcode.c (output_hex_charref): upcase hexadecimal digits.
fb9c53dea50fbbf7d789f0cac004a00c6d125022 2008-09-05 * tool/transcode-tblgen.rb (StrSet.parse): accept upper case hexadecimal digits.
a10a5ddaacb05368cee3beec82af47043aec6667 2008-09-05 * enc/trans/escape.trans: new file.
d4384f1230af19b065f62a33b27ac21143235304 2008-09-05 * io.c (rb_io_extract_modeenc): raise an error for ASCII incompatible encoding without binmode.
0be34e2a497ec376e3a96e95a2374abe3ad6a7c6 2008-09-05 * transcode.c (rb_econv_open): fail for ASCII incompatible with newline conversion.
7d048a55eea828ed5265a265c9151048a1bd8820 2008-09-05 fix a test for previous commit.
c8573378f6a099ad453b5c1f4a9ba3a691b1f9c1 2008-09-05 comment updated.
d90ab4c09b7f99c28fe3f475e0b085f5175ef713 2008-09-05 add a test.
091171a28654801c533166d1819ec7e1705a53ac 2008-09-06 * enc/trans/escape.trans (escape_html_attr_init): new function. (fun_so_escape_html_attr): new function. (escape_html_attr_finish): new function. (rb_escape_html_attr): use them to quote the converted result.
393f57670fa5dd8ee09ed3fd2fefbb709ec3e874 2008-09-06 * transcode.c (stateless_encoding_i): ignore supplemental conversions. Encoding::Converter.stateless_encoding("html-attr-escaped") should be nil.
073bced3671d70f8764cdd09015648d859a0ad20 2008-09-06 * transcode.c (rb_econv_open): test condition simplified.
27e9c48ccc113ec0955b9c0239263e24751c279e 2008-09-06 * transcode.c (rb_econv_open): needless branch removed.
9f687d7be92bd5e3613c69d4a90dd8f94a835d5e 2008-09-06 * enc/trans/escape.trans (fun_so_escape_html_attr): fix return type.
5117020d9ee536e190e03cd8e52ddbef9148166a 2008-09-06 * transcode.c (struct trans_open_t): defined to pass num_additional. (trans_open_i): use struct trans_open_t. (rb_econv_open): ditto.
34be4c1ce5c6ad39720a48a015b40f6cc4e25ca5 2008-09-06 * include/ruby/encoding.h (ECONV_HTML_TEXT_ENCODER): new constant. (ECONV_HTML_ATTR_ENCODER): ditto.
e490d925486bfff70eeb3630e9ab0a4dc1e6ee21 2008-09-06 * transcode.c (sym_html): new variable. (sym_text): ditto. (sym_attr): ditto. (econv_opts): check :html=>:text and :html=>:attr. (Init_transcode): initialize the above variables.
987ec6b78778bf8c7fb0ec0eb1c0dc80bfda0d6a 2008-09-06 * transcode.c (allocate_converted_string): fix overflow condition.
f10af82d259687e6e96a97ebdacfdbda15fc5b2e 2008-09-06 * transcode.c (str_transcode0): check ECONV_HTML_TEXT_ENCODER and ECONV_HTML_ATTR_ENCODER.
683eec7a5db10feeaef8aa1968f4d54af4fcfa9c 2008-09-06 * io.c (rb_io_binmode): clear newline flags in writeconv_pre_ecflags.
f88c9f03f7c00402558f5b47331774b8b65fbaaa 2008-09-06 * transcode.c (rb_econv_open): fix last_tc.
e4b70ffe43463e8723b692f1bebbdf17750be677 2008-09-06 * transcode.c (rb_econv_binmode): check actual transcoders.
ca3148059b2d4f1caed0b382c4fe7441cd221da8 2008-09-06 * transcode.c (econv_description): show ECONV_HTML_TEXT_ENCODER and ECONV_HTML_ATTR_ENCODER.
76b306302241a9fb6411571c4cbfe701fdd56f54 2008-09-06 * include/ruby/encoding.h (ECONV_XML_TEXT_ENCODER): renamed from ECONV_HTML_TEXT_ENCODER. (ECONV_XML_ATTR_ENCODER): renamed from ECONV_HTML_ATTR_ENCODER.
0508672f0e31bd2b600118e9cc9fdb9a1ac423fe 2008-09-06 * include/ruby/encoding.h (ECONV_ERROR_HANDLER_MASK): defined. (ECONV_DECODER_MASK): defined. (ECONV_ENCODER_MASK): defined.
020e681eece7359f1cfcda9871b600084507dbb1 2008-09-07 * include/ruby/encoding.h (ECONV_XML_ATTR_CONTENT_ENCODER): defined. (ECONV_STATEFUL_ENCODER_MASK): defined. (ECONV_XML_ATTR_QUOTE_ENCODER): defined. (ECONV_XML_ATTR_ENCODER): removed.
a788a2e53138ca6ca85e0c09b7945c18721040cf 2008-09-07 * io.c (make_writeconv): choose ASCII compatible encoding as intermediate encoding if stateful encoder exists.
a0d163da71e9e1dc2d78f20cde1b8ece866ff5a1 2008-09-07 rdoc update.
78543725ebbb47a1132c93e629af91891d8258ff 2008-09-07 * tool/transcode-tblgen.rb: o4 is usable only if the first byte is f0-f7.
c0bec2fae1d6adf77c853457942217e89ea85bcf 2008-09-07 * transcode_data.h (STR1): defined for a string up to 255 bytes. (STR1_BYTEINDEX): defined. (makeSTR1): defined.
dcdc7579c5e9bf5596e19f52e30d1f2bcd67610b 2008-09-07 * tool/transcode-tblgen.rb (ActionMap#generate_info): use a memo to avoid duplication for STR1.
eee75cc1a67c4360ed762f3c01df2ebe074d8d4d 2008-09-07 * tool/transcode-tblgen.rb (ActionMap#str_name): new method to generate a name base on string content. (ActionMap#gen_str): extracted from generate_info and use str_name.
faa1387484e3ac01af60c8bbca1850879aaf9b69 2008-09-07 * enc/trans/escape.trans: use transcode_tblgen.
a3cfd3233e6b3a98e6b47a40e3ff09c5de18f1a5 2008-09-07 * enc/trans/escape.trans (hexstr): renamed from str1.
45d7c84f2a6193ac595145ff2f66716004e1635b 2008-09-07 fix a typo.
78350a0cc6e2266d7ea7211d5e40e9c0a9380d83 2008-09-07 * enc/trans/iso2022.trans: stateless-iso-2022-jp is defined to avoid undefined conversion error between iso-2022-jp and the corresponding stateless encoding.
7de9b108196a08f5dbee74626e06d809cb4fcd29 2008-09-07 * enc/trans/iso2022.trans: upcase to iso-2022-jp.
d4832b7aac602e22d775ce1d71551759b1710f0c 2008-09-07 rdoc update.
08c3dd54bfabc69ef235877e24b4fef1972c0d99 2008-09-07 * tool/transcode-tblgen.rb (transcode_tblgen): log message refined.
82a5736519578dddcb7876ebe343fd4b563b8678 2008-09-07 fix typos.
6e36c4842eb9cf238953179f0468a67e6588ca09 2008-09-07 * include/ruby/encoding.h (rb_econv_set_replacement): renamed from rb_econv_set_replacemenet.
933eb07996f85a1080fc19e9c833286cd6018e6f 2008-09-08 * vm.c (rb_mRubyVMFrozenCore): registered for GC.
1625494febb1039346613868f826d1263acc795d 2008-09-08 * tool/transcode-tblgen.rb (ArrayCode): less string substitutions.
a98bb55e012612d7e16c10a37eb104433af83c27 2008-09-08 * transcode.c (rb_econv_insert_output): "readagain" part should be after replacement.
6270ad5b7fb3eb5293358096d993610dda283ce8 2008-09-08 * include/ruby/encoding.h (rb_econv_asciicompat_encoding): renamed from rb_econv_stateless_encoding to apply stateless ASCII incompatible encodings such as UTF-16BE.
dbf04875812945c19e417c263407f9b7caad1a7e 2008-09-08 * transcode.c (rb_econv_t): last_error.partial_input removed.
870a8b3903622a42e2d84c95a754c7f23797761b 2008-09-08 add tests.
4106a7c067bb6dbadc8055a7e575180479bb08c0 2008-09-08 * transcode.c (rb_econv_asciicompat_encoding): check decoder.
65110d6464e40db2b45274780a009c4f4594db0c 2008-09-08 * transcode.c (rb_econv_open): make ec a local variable.
795bf7a665d6fb459e9bc6e8d34f1d679affee93 2008-09-08 * include/ruby/encoding.h (rb_econv_decorate_at_first): declared. (rb_econv_decorate_at_last): declared.
c5d9a3cc3a012fccf8323c7be55932df122fac98 2008-09-08 * io.c (make_writeconv): useless branch removed.
6eef0808a5caea71f19ba8d6aaeb85044e746631 2008-09-08 add a test.
4fcb83c06cce321fedb150663a95b6345c1292e2 2008-09-09 * transcode.c (rb_econv_open0): num_encoders and num_decoders removed.
b96c3dfe6752f8635940dedef236796d0321fa6c 2008-09-09 * transcode.c (rb_econv_open): reverse the order of decorders.
40c31d5b7526bda06e01b6be82d0ff4285bc1cd9 2008-09-09 * transcode.c (rb_econv_t): last_trans_index removed. (rb_econv_open_by_transcoder_entries): follow the type change. (rb_econv_open0): ditto. (rb_econv_decorate_at): ditto. (rb_econv_binmode): ditto. (rb_econv_insert_output): simplified because there are no decorators at last.
8c2d4076f0e54c9229bc8380e569832d32af1d41 2008-09-09 * transcode.c (rb_econv_open0): make it static. (rb_econv_open): place decorators at last.
a729be8433c2b1fb1057ca04d99b7408dd7d25a0 2008-09-09 fix typos.
d456f7e357f8259bd4b73c1cdac74add216e4746 2008-09-09 * include/ruby/encoding.h (ECONV_DECORATOR_MASK): merge ECONV_ENCODER_MASK and ECONV_DECORATOR_MASK. (ECONV_UNIVERSAL_NEWLINE_DECORATOR): renamed from ECONV_UNIVERSAL_NEWLINE_DECODER. (ECONV_CRLF_NEWLINE_DECORATOR): renamed from ECONV_CRLF_NEWLINE_ENCODER. (ECONV_CR_NEWLINE_DECORATOR): renamed from ECONV_CR_NEWLINE_ENCODER. (ECONV_XML_TEXT_DECORATOR): renamed from ECONV_XML_TEXT_ENCODER. (ECONV_XML_ATTR_CONTENT_DECORATOR): renamed from ECONV_XML_ATTR_CONTENT_ENCODER. (ECONV_STATEFUL_DECORATOR_MASK): renamed from ECONV_STATEFUL_ENCODER_MASK. (ECONV_XML_ATTR_QUOTE_DECORATOR): renamed from ECONV_XML_ATTR_CONTENT_DECORATOR.
dda64cab99c72081007f4e16ee0507af97d876b8 2008-09-09 * io.c (io_fwrite): raise an error if ASCII incompatible string written for text mode IO without encoding conversion. (rb_io_extract_modeenc): binmode requirement changed.
baac56be36abfaef678149b1d112d1280531a6da 2008-09-09 * include/ruby/io.h (rb_io_t): rename field: writeconv_stateless to writeconv_asciicompat.
817a623d13b54d10f3d6492391aaeb2ce25a7f1c 2008-09-09 * enc/trans/newline.trans (rb_universal_newline): swap src_encoding and dst_encoding.
3cc7c9d0dd1814895a73bba41d8df15e50b6022d 2008-09-09 * transcode.c (get_replacement_character): don't return ASCII incompatible replacements. (make_replacement): don't convert the result of get_replacement_character.
2d26208a55df9f55268bdbd80f47a365e1f1155c 2008-09-09 * include/ruby/encoding.h (econv_after_output): renamed from econv_output_followed_by_input. (ECONV_AFTER_OUTPUT): renamed from ECONV_OUTPUT_FOLLOWED_BY_INPUT.
06d8db19cba0fb26f54d28b97e22537b8483ce9b 2008-09-09 * tool/transcode-tblgen.rb (StrSet#hash): cache hash value. (ActionMap#hash): ditto.
3cf69b5d69db2249130e9b2767f745e1a71620af 2008-09-10 test modified.
4e93ace24ec9ce778ba36461c987ed468f13b988 2008-09-10 * transcode.c (econv_convpath): new method.
10ddce38336d50633a4968eef42000e95a0f2d0f 2008-09-10 * transcode.c (make_encoding): new function. (make_encobj): new function. (econv_s_asciicompat_encoding): use make_encoding. (rb_econv_open_exc): use SUPPLEMENTAL_CONVERSION. (econv_convpath): use encoding object in the result.
7e0b2b1d9bb86a7b5c78682ca7c6435614801faa 2008-09-10 * io.c (io_binwrite): extracted from io_fwrite.
5cebd7135d7c733160cfde84c92bec8adcac5048 2008-09-10 fix a typo.
2af2eb28da63f4a3f5c0877f7bc9eb7cedf5db12 2008-09-12 * regenc.c (onigenc_single_byte_code_to_mbc): follow OnigEncoding change.
0de51bcc7539f3a95694f4f6b6d7047595c0165c 2008-09-12 add tests.
290ae0ea85fb958d9e0f4f0db517de7e0edb1929 2008-09-12 comment modified.
19438eee8b6b0a51768c49e3b7b3f6070ef64c7d 2008-09-12 * transcode.c (rb_econv_t): new field: started. (rb_econv_open_by_transcoder_entries): initialize started field. (rb_econv_convert): set started field. (rb_econv_insert_output): ditto. (rb_econv_decorate_at): check started field instead of num_finished.
89a5c998c7297f9f565e434dfae8d03765e3c393 2008-09-12 * transcode.c (rb_econv_t): new field: num_allocated. (rb_econv_alloc): extracted from rb_econv_open_by_transcoder_entries. (rb_econv_add_transcoder_at): extracted from rb_econv_decorate_at and generalized (rb_econv_open_by_transcoder_entries): use rb_econv_alloc and rb_econv_add_transcoder_at. (rb_econv_add_converter): extracted from rb_econv_decorate_at. (rb_econv_decorate_at): use rb_econv_add_converter.
2d80b1695d9f7b6fbe99f63117078033ac40ebb2 2008-09-12 * transcode.c (decorator_names): extracted from rb_econv_open. (rb_econv_open): use decorator_names. (econv_args): extracted from econv_init. (econv_init): use econv_args. (decorate_convpath): new function. (search_convpath_i): new function. (econv_s_search_convpath): new method. (Init_transcode): new method defined.
c0bd38eb9432d61a22536e0ac563fbc2d9ac9368 2008-09-12 * transcode.c (rb_econv_add_transcoder_at): fix loop condition.
aa423b931145854918a7c3ef7810030918139382 2008-09-12 * transcode.c (enc_arg): take arg as VALUE * to prevent GC problem.
cf8617633815a1baae3e4c21f4cef863dc98fc9f 2008-09-12 * transcode.c (econv_args): take snamev_p and dnamev_p to prevent possible GC problem.
248acf0025f047a731b6d6967382ce9b7675a05e 2008-09-12 * transcode.c (rb_econv_init_by_convpath_i): new function. (rb_econv_init_by_convpath): new function. (econv_init): use rb_econv_init_by_convpath.
41d3a0148637725fc6078b4bdfadae290ff0d39e 2008-09-12 * enc/trans/escape.trans: transcoder name renamed to use underscore.
7e58885f0a56202349291ba738efe6a1d0dc531e 2008-09-12 * transcode.c (rb_econv_prepare_opts): initialize *opt and return 0 if opthash is nil.
76c02f05a27a5dfaac3e7b8fe4865212c57cfd13 2008-09-12 * io.c (validate_enc_binmode): extracted from rb_io_extract_modeenc. (rb_io_extract_modeenc): use validate_enc_binmode. (io_encoding_set): call validate_enc_binmode.
207ad0a285c1adabef466a5012c94ada47c53ab1 2008-09-12 add tests.
965ff82341d59088a6d417939fd48d6cba465149 2008-09-12 * iseq.c (iseq_s_compile_file): use rb_file_open_str.
2cc9b488a090fbd96179e5bd33d702fc0df840cb 2008-09-12 * transcode.c (rb_econv_prepare_opts): raise ArgumentError if a broken string is specified as a replacement.
8d7e774f5f505c5be1f86ad090389c93ec7ad668 2008-09-13 * io.c (make_writeconv): use rb_enc_name. (make_readconv): ditto.
d4c74738415fcc9f2d7941d4a03ddf2904b955ce 2008-09-13 * transcode.c (DECORATOR_P): renamed from SUPPLEMENTAL_CONVERSION.
0a3fc5be05c3f19eaa637628c20ab49640ae1faf 2008-09-13 * transcode.c (rb_transcoding): align state field.
4dcf54aea12d3006cd171dbe62cc4e80cde74960 2008-09-13 * io.c (io_encoding_set): don't need argc argument. (rb_io_s_pipe): update io_encoding_set call. (rb_io_set_encoding): ditto.
956966ff8ba3dca8c95fdd706c452ed1ef76b6f3 2008-09-13 * ext/ripper/depend (ripper.o): it depends on ruby headers.
c96501058270d16b4be35c0cbc8b008182524da0 2008-09-13 * include/ruby/oniguruma.h (onigenc_get_right_adjust_char_head): add end argument.
d3974573e791db91180abacae649c2d6b40e3f5c 2008-09-13 * include/ruby/oniguruma.h (onigenc_get_right_adjust_char_head_with_prev): add end argument.
a953d28e3c8827f40eb803876be3fdc29e8e0b30 2008-09-13 * include/ruby/oniguruma.h (onigenc_get_prev_char_head): add end argument.
10ff0f292e9b7cd673915fcc32f5d236c95c8d7d 2008-09-13 * include/ruby/oniguruma.h (ONIGENC_STEP_BACK): add end argument. (onigenc_step_back): ditto.
19416601a0af3b7c99a570ae6993cb29e4360e64 2008-09-13 * include/ruby/oniguruma.h (OnigEncodingTypeST): add end argument for left_adjust_char_head. (ONIGENC_LEFT_ADJUST_CHAR_HEAD): add end argument. (onigenc_get_left_adjust_char_head): ditto.
83453ab1caa08ea053627f28ca5b9d1ee72a7920 2008-09-14 trailing space removed.
f3d95cce97237eff6ef8248e29e0c40062c72d44 2008-09-14 trailing spaces removed.
a3c8c0adec2ccf37ffe88fa542cd9db650aa31bf 2008-09-14 * transcode_data.h: output function takes output buffer size.
c767be3039c9d511cc01541a7560896404e2ab80 2008-09-14 * transcode_data.h: return output functions ssize_t.
0675246ba6456ee4bad43d0fa13b401ce92d6309 2008-09-15 * transcode_data.h (rb_transcoder): resetsize_func and resetstate_func also returns ssize_t.
a5173950563b0b5aef1a605db8298835f68b00c8 2008-09-15 * encoding.c (rb_enc_get_index): don't return -1.
e0f064cf3c4f5b59d438e96b5fb002a984b78329 2008-09-15 * transcode.c (econv_opts): don't use to_sym.
6eb3843b178c5bca28a3c8d73b8af5f58de21e22 2008-09-15 * transcode_data.h (STR1_LENGTH): defined. (makeSTR1LEN): defined.
2e0a116dd5db6601dc6119392b1eb677c5664694 2008-09-15 * re.c (rb_reg_quote): use rb_enc_mbcput to generate ASCII incompatible characters properly.
9e10d51c40a1f662eec1d762d8fb9a09fad3ec05 2008-09-15 add assertion message for previous commit.
a67d4fa01c43124048be957f7d8e4090b7255393 2008-09-16 * include/ruby/oniguruma.h (OnigEncodingTypeST): add precise_ret argument for mbc_to_code. (ONIGENC_MBC_TO_CODE): provide NULL for precise_ret. (ONIGENC_MBC_PRECISE_CODEPOINT): defined.
b3d772643e9eea84f71b168771f15d41d85e7341 2008-09-16 fix typos.
87fba4c425b494d3fe42906a0eb97cc8015e0809 2008-09-16 * test/ruby/test_io_m17n.rb: use __FILE__ instead of /dev/null. [ruby-dev:36327]
d9d3781de0cfac4d0fa5e2dd9c920f7c66a77a3f 2008-09-16 fix typos.
635b15d66214a441a23de6363015f1241dcb59fd 2008-09-17 * string.c (rb_str_casecmp): don't use rb_enc_codepoint.
2cbc7b69b7b5638edae760d57461dd4f4410622d 2008-09-18 * transcode.c (enc_arg): must take pointer argument to avoid GC problem. StringValueCStr modifies the argument and it should be preserved while the string StringValueCStr returns is used. Since the string is used by caller, the modified argument should be hold by caller. Actually GC.stress = true def (o=Object.new).to_str() "universal"+"_newline" end "\u3042".encode(o, "")' causes curious warning: rb_define_const: invalid name `' for constant
1cd6bce939619bc32b278800fcf41f005caf2a63 2008-09-18 fix a typo.
24733414ed2fa595b759ad7e80f7e55b8b2d84cd 2008-09-18 add a ref.
081c802cb9fe84d349bc4ecf26a36eceae431aed 2008-09-18 * grapheme cluster implementation reverted. [ruby-dev:36375]
478b14ea4fa775d6f6f1ab4e030b99e47d517ee2 2008-09-18 * regexec.c (string_cmp_ic): add text_end argument. (slow_search): call enclen with real string end. (map_search): add text_end argument.
28f9e462fd71b274ec2a072ef673766739d3f277 2008-09-23 fix a typo.
75b10ac6963531e60690064dbf2e40bd5cbd018e 2008-09-23 * debug.h (ruby_set_debug_option): declared.
455fbd2373cfc63b21c4fa2fcae4806710438fa9 2008-09-23 * hash.c (rb_obj_is_proc): declaration moved for rdoc.
55783c696d97082f9163e1c6cc8241998f27b48d 2008-09-23 * io.c (io_binwrite): add nosync argument. (do_writeconv): extracted from io_fwrite. (io_fwrite): add nosync argument. use do_writeconv. (io_write): add nosync argument. (io_write_m): new function for IO#write. (rb_p): don't append record separator.
e7e5b731c2033b337f4e2c9ac373f67e132694a0 2008-09-23 * string.c (rb_str_casecmp): make the ordering consistent with String#<=>.
0f1a1073f7c9ab1ac67975ec45faa8fe91c22671 2008-09-23 * io.c (copy_stream_body): use io_binwrite instead of io_fwrite.
c1759a9f18bf7349d7d8165b625deda5be5d20ca 2008-09-23 * io.c (io_binwrite): allocate wbuf if nosync.
2fb01bc0d145f133f0c5da468b6f378787261020 2008-09-24 comment changed.
ad50e0edb93af94463219b998bfacf7ecdb5c213 2008-09-24 add a test. cf. [ruby-dev:36484].
a7dd79c1b4050b7132f072e38b4563433c3f1fe0 2008-09-24 update rdoc.
48fdf59dcfbb6964d992b6f31d0eb6f023776145 2008-09-24 * io.c (rb_io_mode_enc): make it static.
fee3bb664aea493ceb3186d37cc0890484bc8cd1 2008-09-25 update rdoc.
d7dbdef4e503f3ad8f9b00b91cf1b28884051402 2008-09-25 * transcode.c (rb_eUndefinedConversionError): renamed from rb_eConversionUndefinedError. (rb_eConverterNotFoundError): renamed from rb_eNoConverterError.
62390f4c9a11b2b2f9365ef522d9ea2c6d485aa1 2008-09-25 * common.mk: dependency updated.
2a608fed889adff42881f5b0e9ca141a42671b01 2008-09-25 update rdoc.
4efc3f78b0c63cc612ab8466fe9ab85326e03154 2008-09-25 * vm_eval.c (Init_vm_eval): define module_eval, class_eval and eval here for rdoc.
a3bebd55645e0feac9c03d727e807080e6cd6b4a 2008-09-26 * include/ruby/encoding.h (rb_str_encode): renamed from rb_str_transcode. [ruby-dev:36593] (rb_econv_has_convpath_p): renamed from rb_transcode_convertible.
ebb3ace8259e280670a2d8415b61e819f246220f 2008-09-29 * string.c (rb_str_subseq): use rb_str_drop_bytes if possible.
eace50a9d79e1f3ec58011b8238d0b79e9a716b6 2008-09-29 * string.c (rb_str_subseq): don't use rb_str_drop_bytes for short string.
252255cad4e813fd0d243fb4768198936d623326 2008-09-30 * process.c (check_exec_redirect): don't depend on rb_stdout and rb_stderr.
bd421aa2d25aa73c83642a8f5af8fa16b794a3b6 2008-10-02 * string.c (rb_str_sub_bang): fix coderange.
a64f397403c03d9d613294861c3c9b4df05dd454 2008-10-05 * lib/open-uri.rb: remove debug code introduced by previous change.
470a309c4ad8e6f803c06e75711c0085ac0cd8db 2008-10-08 rdoc update.
d245085630c24e7af6c47e1879b90767040110ed 2008-10-08 add an assertion.
43f77aaf1a9ea21e7386d40dd3ea3369caa1adc0 2008-10-08 revert previous commit.
f59b1dfbfb1f1ef39e2b4d684bb1009262fcb65d 2008-10-09 rdoc update.
aa2797ee41a531ac05b4a92ad713a4b9f3c9f756 2008-10-10 fix typos.
de7845773a4f555393bd7ea2b38e11a99bffbeb9 2008-10-11 rdoc update.
43f910a9aa5f65312e18902de4464ba4069e9123 2008-10-11 rdoc update.
b968fa97f6ce694af0e1a102475217b627b78289 2008-10-14 * enc/trans/single_byte.trans (transcode_tblgen_singlebyte): renamed from transcode_tblgen_windows. (transcode_tblgen_iso8859): use transcode_tblgen_singlebyte.
4dbc8e24542e39b627e3546a58aabf59462c9c7d 2008-10-14 add test for %B.
5c9dd204f5c2b5501c8df10f7ab1da7f7f71992c 2008-10-15 rdoc update.
0ebf9b176380e691d3505e6c96cb0e33c6d892e4 2008-10-16 * lib/test/unit: removed test/unit.
338253cbe54569137cff26f6cb5dd6db379f481b 2008-10-16 * lib/test/unit.rb (assert_equal): failure message changed.
ba1e27f3ca9bca11a80c906bba0627073e95f9cc 2008-10-16 * lib/test/unit.rb (assert_equal): avoid incompatible character encodings error.
0f4ea5f3e374f5423b42b30025461e80abf214fc 2008-10-16 * common.mk (TESTS): removed to re-enable test for minitest.
0cda4bb3bf099874662a10d1e66522369812716e 2008-10-16 * io.c (rb_io_binmode): reset encoding conversion.
c69e178f0ce7c13f9fe124b7dea30937d70a2a37 2008-10-16 add an assertion.
c2b9d34f6266eb813de7e07f86573c26d28b5636 2008-10-16 * transcode.c (transcode_restartable0): in_pos and out_pos never be NULL, now.
6fa352271f9bdfe1c86f0d29df4e56bdb2eabcd3 2008-10-18 * lib/test/unit.rb (assert_nothing_thrown): implemented.
de55ffd02450e2020af9a288b950c6d5d7596fd5 2008-10-18 rdoc update.
5cf4f78aea2a136ab28005c7893351c7e96139b6 2008-10-18 * lib/test/unit.rb (assert_nothing_thrown): don't intern.
8fe3d0285fce27fc206a593c7131e8df72808f41 2008-10-19 * lib/test/unit.rb (Test::Unit.setup_argv): call given block for filtering files.
4ee47dcc0733493757bffc168c479594fef56a03 2008-10-19 fix typos.
d4e0abcec9aae83243c93efb5bcc6ec760151745 2008-10-20 * test/runner.rb: search srcdir/test/arg at first to find test/ruby directory when "ruby" is specified.
7d48eab26035ea6ef10c14dcb3a01475ad861065 2008-10-20 * io.c (rb_io_ascii8bit_binmode): renamed from rb_io_binmode. (rb_io_binmode): don't change encoding conversion. (rb_io_binmode_m): call rb_io_ascii8bit_binmode.
04f674188e423a5af7af51c074d5f531be537e1b 2008-10-21 * lib/test/unit.rb (assert_nothing_raised): set backtrace.
527701d55ba63b20ee4379cd5ed8260f00387a6f 2008-11-26 add comment and test.
db197f296fa0d8d1f3b21f8cfa644eb3e0c5971b 2008-12-02 add comment for select behavior on file descriptors over FD_SETSIZE.
e44a6c470834afb67c596206461b66f329398962 2008-12-02 move the previous comment.
852b4629c16a2a568c075d0645fee58b95788610 2008-12-02 * lib/open3.rb (Open3.popen3): merge hash options if given.
ca209c80e9ab2911793a8d348514698c3124214b 2008-12-03 * process.c (check_exec_redirect): accept :in, :out, :err as redirect target.
30b8f1ee2be229690c27e61e451c1d6b82e5eeb7 2008-12-03 * process.c (EXEC_OPTION_DUP2_CHILD): defined. (check_exec_redirect_fd): check :in, :out and :err. (check_exec_redirect): check [:child, fd]. (check_exec_fds): validate EXEC_OPTION_DUP2_CHILD array. (run_exec_dup2_child): new function. (rb_run_exec_options): call run_exec_dup2_child.
ec324872d535f22c4458b3520f392c6de703aa8e 2008-12-03 update rdoc.
a112ec787acb1ca84e1a4d6fb5a58f99718c1b1b 2008-12-04 * process.c (check_exec_fds): resolve cascaded child fd reference.
87c7905bdc985a9f04b01dd5b38f44bdd6808d4f 2008-12-04 * lib/open3.rb (Open3.popen3): simplified. (Open3.popen_run): extracted from Open3.popen3. (Open3.popen2): new method. (Open3.popen2e): new method. (Open3.pipeline_rw): new method. (Open3.pipeline_r): new method. (Open3.pipeline_w): new method. (Open3.pipeline_run): new private method.
d681d98052c9fd5060dc5fe6f1462bb27db533c1 2008-12-04 update rdoc.
bca9bf7feff03118ebb9ab58ff57f8f8216d64c4 2008-12-04 * lib/open3.rb (Open3.poutput3): new method. (Open3.poutput2): ditto. (Open3.poutput2e): ditto.
21d438243dd1afb335277e8cbef801eff07c0346 2008-12-04 rdoc update.
e7562555c48bf020cfcd015cf556f09d7bb43bae 2008-12-04 rdoc update.
49b10fd508850e396f181101770948aaf8517922 2008-12-04 rdoc update.
4433defb46f2324baef5a9a2e1b7b40a0391ea5d 2008-12-04 * io.c (io_binwrite): arg.offset should be updated after retry.
5dbbef2b0219367ad98c5ae172195e0143073bc4 2008-12-04 update rdoc.
3406ddcb335ad8ff6746b6af4d4dd7a3f8017aa9 2008-12-05 * process.c (run_exec_dup2): !save is false if Qnil.
1385ce5f89ddbc0660677a136fb785ab10cf08b2 2008-12-05 rdoc update. prefer :in over STDIN because STDIN.fileno may changed if STDIN.instance_eval { initialize 1 }.
415e2cbd88b1af7c81292d762f15969d78643bfa 2008-12-05 * lib/open3.rb (Open3.pipeline_start): new method. (Open3.pipeline): ditto.
41a3fbff5f7482f84c169207c04222e55b805a41 2008-12-05 rdoc udpate.
83b37cfc4f03168b97fc6f224624fe1ec2414d9e 2008-12-06 rdoc update.
0b314ffd8764f1d493c4b7246a5437557b323a12 2008-12-06 update rdoc.
1de2a15aaf80a0ce7c56caa4fe8d063a95631a74 2008-12-07 * lib/open3.rb (Open3.poutput3): :binmode option implemented. (Open3.poutput2): ditto. (Open3.poutput2e): ditto.
c0264efadda2353455ef1d009c258f1cb8fda5bb 2008-12-07 * lib/open3.rb (Open3.capture3): renamed from Open3.poutput3. (Open3.capture2): renamed from Open3.poutput2. (lOpen3.capture2e): renamed from Open3.poutput2e.
7c20c4ec02e5cf3da75954b17fa4a9bb303414eb 2008-12-07 rdoc update.
920ea359baab9c09da72aca330eddd2a3e5cce6a 2008-12-07 rdoc update.
ca138145f51e527901a4a498ef71592778fa1c83 2008-12-08 rdoc update.
b314ab3e4406ff8f9ceb7dd60b5b1a302f02e6ef 2008-12-10 rdoc update.
3266ec1658e77c0cfcdd5d56cf1ccdab90482150 2008-12-10 * lib/open3.rb (Open3.pipeline_start): return an array of threads if a block is not given.
120ab4b826c901c642fb93c06fa7ed728cb84270 2008-12-11 * lib/pathname.rb (Pathname#=~): undefed. at asakusa.rb. [ruby-core:19690]
240378856b9db2de9bc22537bc22b664d5e0559a 2008-12-11 * test/ruby/test_io.rb (test_dup_many): extracted from test_dup. test in ruby subprocess. at asakusa.rb. [ruby-dev:35648]
cbc6a104b2a9d4dd3e171c42ac5cd28d61cb11d8 2008-12-11 * lib/test/unit/assertions.rb: extracted from lib/test/unit.rb. lib/test/unit/testcase.rb: ditto. at asakusa.rb. [ruby-core:20014]
6e03277db0fc91b496b7f2e70640a50159797100 2008-12-13 * process.c (forked_child): new variable. (before_exec): don't call rb_thread_stop_timer_thread if forked_child. (after_exec): reset forked_child after rb_thread_start_timer_thread. (rb_fork): set forked_child just after fork in child.
529ad093d42bd6ab802449747bf08a400563e12d 2008-12-14 new file.
9bfd822bd1547e2e6bc549606159de1cb980690e 2008-12-15 * ext/pty/pty.c (child_info): add slavename. (chfunc): use slavename. (establishShell): set slavename.
67e43bfdf333fd60e2cdca69e226329fe51de25c 2008-12-15 * ext/pty/pty.c (chfunc): make it static.
005e7565377af1d8403732dea8bee16d272530b9 2008-12-15 * ext/pty/pty.c (get_device_once): use DEVICELEN instead of sizeof SlaveName.
4da3316ca317e2f8ec75c07aaec0de094b1db8ed 2008-12-15 * ext/pty/pty.c (pty_open): new method PTY.open.
bfaef6a33624806be767d72b65de4644a0591215 2008-12-15 * ext/pty/pty.c (pty_open): set FMODE_SYNC and FMODE_DUPLEX.
ca4798c4c30ce49e3491d4bd4966a9d4759c7760 2008-12-15 add tests.
ce17decdfb5c785df7ca849178bfb74be5255553 2008-12-16 * re.c: use strlcpy for error messages.
56709edc8972a0de8dee523f00576f32ebefb4ad 2008-12-16 * ext/pty/extconf.rb: check posix_openpt.
e27fbfbc9809f473d5f681be92328b49a8cce5ec 2008-12-16 * ext/pty/pty.c (getDevice): add nomesg argument. (get_device_once): add nomesg argument. chmod slave tty to 0600 if nomesg. more error tests. (no_mesg): new function. (pty_open): make slave tty's mode 0600.
8ae0a40d029efe557a6f6b7907b98b12dccaab6b 2008-12-17 * ext/pty/extconf.rb: check util.h for OpenBSD.
0a3a98aea4a168dc462e2ed770c0f2dc9c0bd902 2008-12-17 * ext/socket/socket.c (unix_recv_io): relax msg_controllen error check.
d74d2d13cbfcd858db13c25a73b49e592ca632a9 2008-12-17 rdoc update.
cad0fbddf8732eaded1097e551d845cc09d69f20 2008-12-18 rdoc update.
c8cbfe7deba037b72e2a3c8f7dd604731e43de55 2008-12-22 * lib/test/unit/assertions.rb (assert_nothing_raised): increment assertion count. [ruby-dev:37480]
3a7daf882bf737c2e9a6c7a9aece2424cb3f4547 2008-12-22 * io.c (rb_io_s_pipe): IO.pipe can take a block. (pipe_close): new function.
b795b5c537692cabadbb50271b0f8e7ba1c1785b 2008-12-22 rdoc update.
a550f2992bfbde8649e975eb345a4b478adbdd05 2008-12-22 * numeric.c (int_ord): Integer#ord implemented.
a61a5f171d2fd8e593d7a29c3b099480944aa53d 2008-12-23 * io.c (pipe_close): fix coding style. [ruby-dev:37554]
469d119ab9913f0f41e9c060de630426196ee3ab 2008-12-23 updated.
4347580354c256bad1112ec269853460ff8b0c78 2008-12-23 fix typos.
fbcc23a8faff983216fdf3d99614a8c4cb18c0c1 2008-12-23 * io.c (rb_io_inspect): show fd number if there is no pathname.
ace35ac66c3df9beec76bbff7c75b37307930678 2008-12-23 * lib/test/unit/assertions.rb (assert_equal): show small differences for Regexp and Float.
6fcaf92943879dfbf8cff0354b6ea08aacadc8ea 2008-12-23 * strftime.c (rb_strftime): use locale insensitive functions for tr_TR locale.
423bbf80d540ca189a87753c226c943dffda6acc 2008-12-23 * process.c (rb_fork): propagete an error message from child to parent. (rb_f_exec): show details of error in child process on exception. (save_redirect_fd): add error message arguments. (run_exec_dup2): ditto. (run_exec_close): ditto. (run_exec_open): ditto. (run_exec_dup2_child): ditto. (run_exec_pgroup): ditto. (run_exec_rlimit): ditto. (rb_run_exec_options): ditto. (rb_exec): ditto. (rb_exec_atfork): ditto. (rb_spawn_internal): ditto. (rb_spawn): ditto. (rb_f_system): follow arguments change. (proc_daemon): ditto. (rb_f_spawn): show details of error in child process on exception.
b317b345e89b1d8f3daa207973fc34d9b3f13e32 2008-12-23 * process.c (rb_fork): don't propagete an error message if error buffer not given.
19fee2e2e075950120573f4063b22fb8082fad0e 2008-12-23 * io.c (rb_io_init_copy): call io_seek only if io_tell succeeds.
f20234994e8589a974bd6f2e057055b2e521f9ed 2008-12-25 * io.c (fptr_finalize): close the IO object even if close(2) is failed.
db0a6590123c5405f209501c27367e7818eee514 2008-12-25 * io.c (flush_before_seek): check io_fflush result. (rb_io_check_readable): ditto. (rb_io_flush): ditto. (rb_io_fsync): ditto. (remain_size): ditto. (rb_io_write_nonblock): ditto. (finish_writeconv): ditto. (fptr_finalize): ditto. (io_reopen): ditto. (rb_io_reopen): ditto. (copy_stream_body): ditto.
ea6ac1c45bf11cfdd3f6b058776d063468215980 2008-12-25 * io.c (rb_io_initialize): check fd validity. [ruby-dev:36646]
bb4329becdce611519c8e6486661969ede17f704 2008-12-25 * io.c (pipe_close): removed. (pipe_yield): defined. (rb_io_s_pipe): use pipe_yield.
b0480260e244f73804ffa131bb2db3af29e79872 2008-12-25 * io.c (rb_io_s_pipe): unused variable removed.
b17c5eba46d608f61e6035f203f49184fc43bdd0 2008-12-26 * io.c (fptr_finalize): close the IO object even if finish_writeconv or flush is failed. (finish_writeconv): don't raise. return errno or exception. (finish_writeconv_arg): removed. (finish_writeconv_sync): follow finish_writeconv change.
b729ec53a240564bdb94b1a6c5ae943c67f8c49d 2008-12-26 * io.c (fptr_finalize): don't allocate objects if noraise. (finish_writeconv): add noalloc argument to be able to avoid object allocation. (finish_writeconv_arg): introduced again. (finish_writeconv_sync): follow the above change.
5effdad2cdd0807eca83ea2cdbddc70f4f3fe02f 2008-12-27 * lib/open-uri.rb (OpenURI.redirectable?): permit https redirection. patch from Roman Shterenzon. [ruby-core:20485]
415d59e3e43c103b7a642e511abb683c785ef9b6 2008-12-27 * transcode.c (make_econv_exception): show source and destination encoding. [ruby-dev:37285]
9216dd7e320bab28ff40092ae69a643e715cb2a8 2008-12-27 * runruby.rb: refactored to modify ENV as once.
8cc42bc701c55a12f8659e9a5e6381cbce26507d 2008-12-28 add a test for OpenSSL::SSL::SSLSocket#read_nonblock.
a413e50c415b456cc4b35ede5e3a2521d1bb48d2 2008-12-30 * ext/socket/mkconstants.rb: use sock_define_uconst for INADDR_* constants because Socket::INADDR_LOOPBACK should be 0x7f000001 instead of -0xffffff.
cb4d7b1a7f5dd5749bbfb750957ca458bab3eab8 2008-12-31 * ext/openssl/lib/openssl/buffering.rb (Buffering#read_nonblock): implemented.
ef2ff2776b8c7b4d73e0820e7821ee41981ee69e 2008-12-31 * ext/openssl/ossl_digest.c (GetDigestPtr): use StringValueCStr instead of STR2CSTR.
67d66b2652a955c8dfcf2377f2842e1c413e0939 2008-12-31 * io.c (copy_stream_body): don't check to_io because Zlib::GzipWriter#to_io returns the underlying IO.
021aaa70d6c9e10f62dacba0a9a54ef6723ea170 2008-12-31 * ext/openssl/ossl_ssl.c (ossl_ssl_read_internal): show openssl error code in EWOULDBLOCK error.
f7676fd9d4bfa23e1dabf11c26f7ca47eeb4d425 2008-12-31 update rdoc.
a6d38b8c39d2aa135920547439d729f7f51bfea6 2008-12-31 rdoc update.
95c474ec4dba7e919511bb0d02832a83fbb04813 2008-12-31 describe Buffering#read_nonblock.
ddedc6f125e2506f539f0ed81b0e144c07c27442 2008-12-31 * ext/socket/socket.c (sock_s_socketpair): yield if a block is given. (io_call_close): defined. (io_close): defined. (pair_yield): defined.
aa3665e7826b6e27c43e067f0f8fb6794392319c 2008-12-31 describe a block for UNIXSocket.pair.
212e90ce3a056aaf5915a11c061a80e893f8e2fd 2009-01-01 * ext/socket/mkconstants.rb: add -o option.
1c0e798d5c7e2c326fc3116a2f8dc259c71eea72 2009-01-01 * ext/socket/mkconstants.rb: use erb.
2b3e480bef31e3a1cb30e37ec92e5a59f8b0aa7a 2009-01-01 * ext/socket/mkconstants.rb (Socket::AF_INET6): moved from socket.c. (Socket::PF_INET6): ditto.
89cf0ec1a611494f15076d590fd6af214d4ff5ad 2009-01-01 * ext/socket/mkconstants.rb: generate init_constants function.
0c838b4947a36ea0f706dfbd131b92de9a7b18a3 2009-01-01 * ext/socket/mkconstants.rb: generate family_to_int().
7454eab7013e276282c9bc282b149242b891b334 2009-01-01 * ext/socket/mkconstants.rb: refine family_to_int.
009ad25fdd60c3d3067f881dbce706735bb5b6fd 2009-01-01 * ext/socket/socket.c (setup_domain_and_type): initialize ptr.
9787d4faaeff4fff798fff6803758f467cb72e7e 2009-01-01 * ext/socket/mkconstants.rb: generate socktype_to_int.
175561f8dd142d6db89bc6eb8054834da26ee0d9 2009-01-01 * ext/socket/mkconstants.rb: generate family_to_str.
10bc6f8d49ab82e16e6aab39a263cdc838207154 2009-01-01 * ext/socket/mkconstants.rb: add valp argument for family_to_int and socktype_to_int.
6e4149f04a31d3347a8adff35ef7ab4f7fe7d00a 2009-01-01 * ext/socket/socket.c: include constants.h at top.
e485a566ed8d5d8670641909319161632f9647c9 2009-01-01 * ext/socket/socket.c (sock_s_getaddrinfo): use family_to_int.
afb0581aa8710ab9af6bfe1c2dbf41820913560d 2009-01-01 * ext/socket/mkconstants.rb: AF_ISO and AF_OSI may be aliased.
48649d21c91a9e626ddd9d341540afb1e465953f 2009-01-01 * ext/socket/mkconstants.rb: more possible aliases.
85d13f6165ece405b66f6c4d6771043375830c1e 2009-01-01 * ext/socket/mkconstants.rb: check all alias possibility.
e924cabede82193e86e505f735b2d91954d07b2b 2009-01-01 * ext/socket/socket.c (sock_s_getnameinfo): use family_to_int.
f0dd0577b08cb00025c3dacb85d276715c43b6c2 2009-01-01 * ext/socket/socket.c (family_arg): extracted from setup_domain_and_type. (socktype_arg): ditto. (udp_init): use family_arg. (sock_s_gethostbyaddr): ditto. (sock_s_getaddrinfo): ditto. (sock_s_getnameinfo): ditto.
31fa80daddbdeb074bd8bb4afb5e129f1c92ec82 2009-01-01 * ext/socket/socket.c (sock_s_getaddrinfo): use socktype_arg.
c6bbf28a9f139a5fbf34e54673328d3d58e8e397 2009-01-01 * ext/socket/socket.c (family_arg): accept symbols as well. (socktype_arg): ditto.
59556a0849afb29c699261a9a837e72c590686bc 2009-01-01 * ext/socket/socket.c (level_arg): defined. (bsock_setsockopt): use level_arg. (bsock_getsockopt): ditto.
12b443d02f2af705ea75d7fe8c99cb50f72128b7 2009-01-01 IPv6 test removed.
ff7e0f7f614ed1db3e3464db290192aebac1c096 2009-01-01 * ext/socket/socket.c (constant_arg): extracted from family_arg. (family_arg): use constant_arg. (socktype_arg): ditto. (level_arg): ditto.
aa0ae0d3b6ab8d6c3143960bd0b3d154bd96d10e 2009-01-01 * ext/socket/socket.c (optname_arg): defined. (bsock_setsockopt): use optname_arg. (bsock_getsockopt): ditto.
28c2711230240fde0a9f66effbbd71108b4b0dfd 2009-01-01 * ext/socket/mkconstants.rb: check duplicates.
90a65796e78c99696a39a1fcda344bf4e3cb8856 2009-01-02 * ext/socket/mkconstants.rb (gen_int_to_name): add lenp argument.
270f2034a71cecc3361920d5ff609bda41ecef8f 2009-01-02 * ext/socket/mkconstants.rb (gen_int_to_name): don't compare constants in preprocessor because the constants may be enum.
d68b60741ce0ee26f61f4bb16ca14769cd1f0988 2009-01-02 * ext/socket/mkconstants.rb: use hash for family_to_str to avoid linear search. lenp argument removed.
775d5d8f0368afd3d74f0446928340c693ac028b 2009-01-02 * ext/socket/mkconstants.rb: make common prefix optional.
9ce8d4e3b964774294c88d9414fdf4a92c352709 2009-01-02 * ext/socket/mkconstants.rb: refactored to gather stringizer description.
b5aebd12c003342a68ca756b2a43c17b1ff254c1 2009-01-02 * ext/socket/mkconstants.rb: use ID in the values of family_to_str_hash. family_to_str returns a VALUE.
e4b7c0e8a36c3788f180202f0511b3f70d566c6f 2009-01-02 * ext/socket/mkconstants.rb: rename family_to_str to intern_family. it returns ID now.
a900ab57de15691d0eaeccf34afe0ae5e2a6bd83 2009-01-02 * ext/socket/socket.c: don't apply socktype hack [ruby-core:184] for sock_s_getaddrinfo. (sock_getaddrinfo): add socktype_hack argument. (sock_addrinfo): call sock_getaddrinfo with socktype_hack. (sock_s_getaddrinfo): call sock_getaddrinfo without socktype_hack. [ruby-dev:37674]
1dfea336528757e19cc713dd84990afe11598b0a 2009-01-03 * io.c (maygvl_copy_stream_wait_read): renamed to add prefix to express GVL state. (nogvl_copy_stream_wait_write): ditto. (nogvl_copy_stream_sendfile): ditto. (maygvl_copy_stream_read): ditto. (nogvl_copy_stream_write): ditto. (nogvl_copy_stream_read_write): ditto. (nogvl_copy_stream_func): ditto.
d51c5a137ff595cd5f5a344853df81589af63fe0 2009-01-03 * ext/socket/socket.c: redundant #ifdef removed.
d4a0895181eae1867db36b2083fe98c1dabc7e1c 2009-01-04 * ext/socket/socket.c (rb_getaddrinfo): defined for address lookup without GVL. (struct getaddrinfo_arg): defined. (nogvl_getaddrinfo): defined. (rb_getnameinfo): defined for name lookup without GVL. (getnameinfo_arg): defined. (nogvl_getnameinfo): defined.
0cd078e358fda09865d2a5b2d4c0c24eeb629811 2009-01-05 don't get a name for anonymous Unix socket.
e6045986ef2c491a7842c1a5d34b683303c11ef0 2009-01-05 * io.c (rb_close_before_exec): more heuristics to detect maximum fd.
55b2bf4dec43aa50ea4acef723e46123054bb151 2009-01-07 * ext/socket/socket.c (rb_cAddrInfo): new class AddrInfo. (s_recvfrom): return AddrInfo as address. (s_recvfrom_nonblock): ditto. (sock_accept): ditto. (sock_accept_nonblock): ditto. (sock_sysaccept): ditto. (bsock_send): accept AddrInfo as address argument. (sock_connect): ditto. (sock_connect_nonblock): ditto. (sock_bind): ditto. (sock_s_unpack_sockaddr_in): ditto. (sock_s_unpack_sockaddr_un): ditto. (bsock_local_address): new method BasicSocket#local_address. (bsock_remote_address): new method BasicSocket#remote_address. (addrinfo_initialize): new method AddrInfo#initialize. (addrinfo_inspect): new method AddrInfo#inspect. (addrinfo_afamily): new method AddrInfo#afamily. (addrinfo_pfamily): new method AddrInfo#pfamily. (addrinfo_socktype): new method AddrInfo#socktype. (addrinfo_protocol): new method AddrInfo#protocol. (addrinfo_to_sockaddr): new method AddrInfo#to_sockaddr. (addrinfo_canonname): new method AddrInfo#canonname. (addrinfo_ip_p): new method AddrInfo#ip?. (addrinfo_ipv4_p): new method AddrInfo#ipv4?. (addrinfo_ipv6_p): new method AddrInfo#ipv6?. (addrinfo_unix_p): new method AddrInfo#unix?. (addrinfo_getnameinfo): new method AddrInfo#getnameinfo. (addrinfo_s_getaddrinfo): new method AddrInfo.getaddrinfo. (addrinfo_s_tcp): new method AddrInfo.tcp. (addrinfo_s_udp): new method AddrInfo.udp. (addrinfo_s_unix): new method AddrInfo.unix. (Init_socket): define new class and methods. (sock_getaddrinfo): apply socktype hack regardless of ai_flags. (addrinfo_new): defined. (get_afamily): ditto. (fd_socket_addrinfo): ditto. (io_socket_addrinfo): ditto. (SockAddrStringValue): ditto. (SockAddrStringValuePtr): ditto. (sockaddr_string_value): ditto. (sockaddr_string_value_ptr): ditto. (rb_addrinfo_t): ditto. (addrinfo_mark): ditto. (addrinfo_free): ditto. (addrinfo_s_allocate): ditto. (IS_ADDRINFO): ditto. (check_addrinfo): ditto. (get_addrinfo): ditto. (alloc_addrinfo): ditto. (init_addrinfo): ditto. (addrinfo_new): ditto. (call_getaddrinfo): ditto. (init_addrinfo_getaddrinfo): ditto. (make_inspectname): ditto. (addrinfo_firstonly_new): ditto. (addrinfo_list_new): ditto. (init_unix_addrinfo): ditto. (ai_get_afamily): ditto.
69d908a10c6ed9e1dd9887d5fe89fc71ec15437b 2009-01-07 * ext/socket/socket.c (host_str): add flags_ptr argument to specify AI_NUMERICHOST if host is numeric form. (port_str): add flags_ptr argument to specify AI_NUMERICSERV if port is numeric form.
3802c43ea16b6691121f69b4cbe392fc0d42ac34 2009-01-07 * ext/socket/socket.c (addrinfo_getnameinfo): use NI_DGRAM if socktype is SOCK_DGRAM.
d45c4a810705d8b8822c5840c236657cdbe26470 2009-01-07 * lib/test/unit/assertions.rb (assert_no_match): don't count up as two assertions.
3a0aa7f8d836cec8354ffce06d8ff189cee5d1a0 2009-01-07 updated.
ccdcc971f6d0dbc6122d547be814c7e8826b7453 2009-01-07 * lib/open-uri.rb (OpenURI.redirectable?): reverted https redirection.
0dd41d0d78ff19d23e5c8e7b664855aa8bbe1e95 2009-01-07 * ext/socket/socket.c (init_unix_addrinfo): don't return a value.
c9ef4fc52faa92a884afaa4b8516431c9b6769f2 2009-01-08 * ext/socket/socket.c: don't use AI_NUMERICSERV for platforms which not define it as old Windows. [ruby-dev:37736]
2f31ea3c86b3966405fab773381e5dc7fd7d8c0f 2009-01-08 * ext/socket/mkconstants.rb (gen_name_to_int_func): generate name_to_int functions, not only body.
80618e75aa6a304e11105932f0120ff66ead261c 2009-01-08 * ext/socket/socket.c (bsock_shutdown): accept symbol/string as how. (shutdown_how_arg): new function.
ab8a2c7c1f61cec4706058e6efe0a564e998c953 2009-01-09 * ext/socket/socket.c (sock_define_const): use INT2NUM.
21495774766472ed7a4c2ac0d80dec76e07df14b 2009-01-10 * version.h: make version string succinct: "ruby 1.9.1p5000 (2009-01-10 trunk 21414) [i686-linux]".
8a1261995ea0b4b68c96ea99cbe3832d8d6f2466 2009-01-10 * ext/socket/mkconstants.rb: refactored to nest properly in statically and dynamically.
8de603784a5e9abee3a33e47b7dd226952e161ef 2009-01-10 test update for version string.
7f52fa08b10cdaecf9e64e7d1e14709543d56743 2009-01-10 * ext/socket/mkconstants.rb: don't generate unintended newlines.
166c122fd399fc244ae8ba0685ae6771d84a2f76 2009-01-10 rdoc update.
94c668f1abec0f861853f5a1b2a9c314d8d26241 2009-01-10 rdoc update.
b802f1bb02c5bad3e7721ae22981ed9074e1f2e6 2009-01-10 add constants.
5c94a67eca00071edb4cc84a3f90dbb860d8c945 2009-01-12 * ext/socket/mkconstants.rb: don't use bytesize because 1.9 dependent. [ruby-core:21266]
7099360a6ccc8a7fd392acda11657847cf677c77 2009-01-12 rdoc update.
839214e1e635d3af9049fa637e484b3b8b9c0dfb 2009-01-12 add test for AddrInfo.
68552c4248398d5460ce67710647b1578e109c21 2009-01-12 * ext/socket/socket.c (IS_IP_FAMILY): defined. (addrinfo_ip_p): use it.
73757753aef81b97b69a82ccbbcdd7fcfafc6e16 2009-01-12 * ext/socket/socket.c (addrinfo_ip_unpack): new method AddrInfo#ip_unpack. (addrinfo_unix_path): new method AddrInfo#unix_path. (Init_socket): define above methods.
91ff87c05df679b84ba4c537a71b10cd9e2b9613 2009-01-12 * ext/socket/socket.c (sock_s_unpack_sockaddr_in): check too short sockaddr. (sock_s_unpack_sockaddr_un): ditto.
f0e91e54a35806573b2b1a5ab20b8e0511e29ede 2009-01-12 describe Encoding.find("locale") in rdoc of Encoding.locale_charmap.
84775721bcd0b4b7330e0743fe3d53d9522ae858 2009-01-13 * ext/socket/socket.c (rb_getaddrinfo): use getaddrinfo with GVL if getaddrinfo.c/getnameinfo.c is used. They are not thread safe because gethostbyname/gethostbyaddr is used. (rb_getnameinfo): ditto.
badd44845e77d6813de6b18b39ab3bcd646cbf01 2009-01-13 * ext/socket/addrinfo.h (AI_NUMERICSERV): defined. (AI_MASK): add AI_NUMERICSERV.
3d829c8697500086c67940c54f8f9b7de8c71528 2009-01-14 * gc.c (negative_size_allocation_error_with_gvl): abolish a warning. (negative_size_allocation_error): ditto.
1084032fb48e8efb101cdb8d72b513b14bc965b0 2009-01-15 * tool/file2lastrev.rb: RUBY_REVISION must be an integer.
c1575836273665b5fad8828c45238ce1bee157c7 2009-01-15 rdoc update.
aaddab6dea1381b5491121b6b36c21d65fadcf56 2009-01-15 * ext/socket/socket.c (addrinfo_s_ip): new method AddrInfo.ip.
6184d1d52a68fe2f3ac5951245d951ad6a0cfd50 2009-01-16 * ext/socket/socket.c: move addrinfo code.
97cbab78dcc43f696077d3bbce1ee35f9d947339 2009-01-17 * ext/socket: split files for each class.
3f9d4f1fbd1cfd5d10f454d9036fa71f4577b819 2009-01-17 rdoc update.
32bbcc6d526aafb1d9a540ef6f6bc30af719c267 2009-01-17 * ext/socket/mkconstants.rb: don't cause an error for duplicate names.
9cd0874fc2d52bb0e42f5a1f363f854139d8fe64 2009-01-17 * ext/socket/raddrinfo.c (make_inspectname): add a res argument to suppress numeric inspectname. (init_addrinfo_getaddrinfo): call make_inspectname here. (addrinfo_firstonly_new): follow make_inspectname change. (addrinfo_list_new): ditto. (addrinfo_initialize): follow init_addrinfo_getaddrinfo change.
29aff19f1ab92bd9a4fc891fcaed5b6b4bb18cb6 2009-01-17 extract TestBasicSocket from test_socket.rb.
28028fc2b92dfe13b4e53cb0db5ece74064e76a6 2009-01-17 * ext/socket/mkconstants.rb: generate a header file for generated functions.
52152a63aa4afe2fd89d0267d89f7afba6f7eacc 2009-01-17 * ext/socket/lib/socket.rb: new file.
e5dc3a3c8f4f3ae7c00955e8d16c88eb9395f355 2009-01-17 set property.
d4510f59738d28c60802e9145f0813c758fe143f 2009-01-17 rdoc update.
858987b06bac789b9de8c1e99571ef1d2cd6845d 2009-01-17 fix typos.
e2f88006670866382c47efb8a10318d7ca0bcb1a 2009-01-17 * ext/socket/socket.c (sock_s_getnameinfo): accept AddrInfo object.
75e0fde36b829fa558b87ac1a3edd6a8dbccf600 2009-01-17 updated.
86aa5043d86a24ad9e1bbddecbf84ed21b87005a 2009-01-17 * ext/socket/raddrinfo.c (addrinfo_mdump): new method. (addrinfo_mload): new method. (Init_addrinfo): define the method above.
ec52a6379269ec75b535e6914529b46550f7c7f1 2009-01-17 * ext/socket/raddrinfo.c (addrinfo_mdump): don't use symbol. (addrinfo_mload): ditto.
55bf8fa11c3cc2833f6848ee8a5a4b56a51bc3d9 2009-01-18 * ext/socket/unixsocket.c: redandant #ifdef removed.
d620500dda16cfc3777894541a417d6153d5a1fb 2009-01-18 * ext/socket/raddrinfo.c (addrinfo_ip_address): new method AddrInfo#ip_address. (addrinfo_ip_port): new method AddrInfo#ip_port. (Init_addrinfo): define the methods above.
db881044bcaf3fce9fbce99f6af8d3cd353ef05e 2009-01-18 * ext/socket/raddrinfo.c (addrinfo_inspect_sockaddr): new method AddrInfo#inspect_sockaddr. (inspect_sockaddr): extracted from addrinfo_inspect. (addrinfo_inspect): use inspect_sockaddr. (Init_addrinfo): define the new method.
b1956f058f0192edb0242aab3c501d6b24581a1c 2009-01-19 * ext/socket/mkconstants.rb: use erb for generating code.
6d39bc3189cd62ebf9a01ff1a09e34ad099bc3c6 2009-01-19 * ext/socket/mkconstants.rb (SOMAXCONN): defined.
9ffca4659b0cb91c6253eeb1e0c12978e9567d1a 2009-01-20 * ext/socket/rubysocket.h (pseudo_AF_FTIP): moved from mkconstants.rb.
bd3cdcf3940d1647bf86a3cce1e770a8be31e091 2009-01-20 * ext/socket/socket.c (socket_s_list_ip_address): new method. (sockaddr_obj): new function.
efdef4dbe2738ee0f77b3cc5d77132e8bd3cfb0c 2009-01-25 * ext/socket/socket.c (socket_s_ip_address_list): renamed from socket_s_list_ip_address. [ruby-dev:37806]
2d958b7fb03e44e3d65347147e5781e55a8e3b72 2009-01-27 * ext/socket/init.c (socks_connect_blocking): moved from sockssocket.c. [ruby-dev:37834]
07aeaa0686c162df9bb94e06eb0995e50e3469ad 2009-01-29 * transcode.c (rb_econv_init_by_convpath_i): make it static.
e0469eea596b2454fb335520c3717a9e374d495d 2009-01-29 add tests.
e94e674d0e8a8ab7641717c2d2ba4b5aac5c7295 2009-01-30 * lib/pathname.rb (Pathname#realdirpath): new method. [ruby-dev:36290]
e265c074711ad491a91866c9976abf773c8d6e6c 2009-01-30 add ML ref.
966675c860b505968972be02a6aaf99f4d620e4c 2009-01-30 * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert_nothing_raised): supress warning. [ruby-core:21312]
4a3e62b3836a239089f87e0aed7058856026b793 2009-01-31 rdoc update.
8cc36df9c325327d5984b4139d97cce043b0898f 2009-01-31 * lib/pathname.rb (Pathname#each_child): new method.
fc77d9d1cbfb857a4429627bd58d6c015c6fe133 2009-01-31 rdoc update.
b9faa6b74ca443157ed93172bd3cd7bb44141ba5 2009-01-31 add a test.
849e730f1573812b1bd64ac7f6512fa55bd91686 2009-01-31 * ext/socket/raddrinfo.c (addrinfo_ipv6_unspecified_p): new method. (addrinfo_ipv6_loopback_p): ditto. (addrinfo_ipv6_multicast_p): ditto. (addrinfo_ipv6_linklocal_p): ditto. (addrinfo_ipv6_sitelocal_p): ditto. (addrinfo_ipv6_v4mapped_p): ditto. (addrinfo_ipv6_v4compat_p): ditto. (addrinfo_ipv6_mc_nodelocal_p): ditto. (addrinfo_ipv6_mc_linklocal_p): ditto. (addrinfo_ipv6_mc_sitelocal_p): ditto. (addrinfo_ipv6_mc_orglocal_p): ditto. (addrinfo_ipv6_mc_global_p): ditto.
074a374c86dbef53f29e3edd830bdba7696d3210 2009-01-31 * include/ruby/ruby.h (STR2CSTR): removed. (rb_str2cstr): removed.
c109d8ab9f126faca71b4ffee10d2ecdc45235a3 2009-01-31 * lib/resolv.rb (Resolv::DNS#each_address): don't query IPv6 address if the host has no global IPv6 address.
14605ab0ade61e64144645d53c536c56d4bf25fe 2009-01-31 fix rdoc.
a0b15459ef32d644a33565aed8bea06c19c4f0e9 2009-01-31 * lib/test/unit/assertions.rb (assert_equal): show class in failure message if meaningful.
cd350b676813f8313e9bc3c3289f1209b04e4299 2009-01-31 update rdoc.
f1137963e30affd655319c6baab0245492c4f404 2009-02-01 * ext/socket/raddrinfo.c (addrinfo_ipv4_private_p): new method. (addrinfo_ipv4_loopback_p): ditto. (addrinfo_ipv4_multicast_p): ditto.
ef9206bbea3b8cb1af66966e74fe8527edab2418 2009-02-02 * ext/socket/rubysocket.h (rb_cSockOpt): declared. (sockopt_new): ditto. (Init_sockopt): ditto.
61fc0c6cf4de377a14a0ec0d64aea067e72fa755 2009-02-02 * ext/socket/rubysocket.h (cmsg_type_arg): declared. (Init_ancdata): ditto.
b41a9abb6a5a2bc9cd8327209467b3ccf968cf4c 2009-02-02 * ext/socket/option.c: use INET6 instead of IPV6.
5ad05f37a5823530648f2bd42b4ec510a6e9046b 2009-02-02 * ext/socket/socket.c (sock_initialize): make 3rd argument, protocol, optional.
41eb896e09fc2f9a1fa31ca26388b433e74875b5 2009-02-02 * version.h: bump up to 1.9.2 patchlevel -1. yugui recommend "-1" strongly.
21675bb6a70e927e54f6adb92e105773d08459e7 2009-02-02 reduce test time.
29bd89281b296a1f72ed50936028ce88a8e3a736 2009-02-02 * ext/socket/ancdata.c (cmsg_type_to_sym): add #ifdef for no IPv6 environment.
678b9240ca617f5db4d31316344a943bc797bcc8 2009-02-02 strip trailing spaces.
352dcd9ee75818eaefbb3fce2df822b840bf24bc 2009-02-02 * test/socket/test_addrinfo.rb: use AddrInfo.getaddrinfo to generate IPv6 address. AddrInfo.ip generates IPv4 address for IPv4 mapped IPv6 address if --with-lookup-order-hack=INET. [ruby-dev:37868]
416ab0f7bebbcd7ebb77457ed11d215acadc71bb 2009-02-02 fix typos.
9946e700c15a962ecae845ad637879aa308f8fa5 2009-02-02 * ext/socket/raddrinfo.c (Init_addrinfo): add AddrInfo#to_s as an alias of AddrInfo#to_sockaddr.
2b241a3395fef16df5fb46563b8306f0bda42355 2009-02-02 add ML ref.
e53c88a44f691176941b528e389db01c6884930d 2009-02-02 rdoc update.
2df1053c1db22aa5693d4982814e79fcb040c5ab 2009-02-02 add a test.
13a468db1710405ccdff3358abf7d2aea396d9b5 2009-02-02 * ext/socket/lib/socket.rb (Socket.tcp_server_sockets): extracted from Socket.tcp_server_loop. (Socket.accept_loop): ditto. (Socket.unix_server_socket): extracted from Socket.unix_server_loop. (Socket.unix_server_loop): use Socket.accept_loop.
1643d1c28a58ba726d96842826ed9a476b2173fe 2009-02-03 add tests.
4aec56ba712d8f91e7c8a14071267b635d534826 2009-02-03 add tests.
260d0d0399f902e9c079b3447d67957678c461c5 2009-02-03 add a test.
24eafe83763c2c71efdd9b8198d45c0cb1af4b7c 2009-02-03 * ext/socket/lib/socket.rb (Socket.tcp_server_sockets_port0): new private function for allocating same port both IPv4 and IPv6. (Socket.tcp_server_sockets): use tcp_server_sockets_port0 for port 0.
8b729eed969b6c7f0229b9182344360e61774c46 2009-02-03 updated.
5a56fc35ec46acc57300a7c2212d115fe695b4e1 2009-02-03 don't connect to unspecified address.
9274fbfae9f9430adb1bce7bdc02e5932448bf20 2009-02-03 * ext/socket/lib/socket.rb (Socket.tcp_server_sockets_port0): skip socket creation error.
20ac101daea286f23801789d40635722cc68cfde 2009-02-03 * ext/socket/extconf.rb: fix struct in_pktinfo and struct in6_pktinfo detection.
12a5cf8287f1d2e33f94385ca8a227d9b1cea689 2009-02-03 revert useless change part in the previous commit.
c77f323088fe118191dc0ea62e283114a6b00589 2009-02-04 * bootstraptest/runner.rb: refine success message.
6ae8b15d939e12c25740864c119aff1886d5c350 2009-02-04 * string.c (rb_str_dump): use MBCLEN_CHARFOUND_P properly.
28e33ad61e9e38661f70ee580b97317463772a87 2009-02-04 rdoc update.
54936663303d578c49fa2b5e4504800db7cce4ef 2009-02-04 updated.
e193fa79d6a34e8afc74ce8be256d7dea743c0aa 2009-02-04 * transcode.c (make_econv_exception): show U+XXXX form for undefined conversion error from UTF-8.
9845b50c1103a6ce3fdd535ad523df1400ff8da4 2009-02-04 relax tests for IPv4 compat/mapped IPv6 addresss.
9dfc90dc70faf1a9be1f3051a7ac831b0cf2ba51 2009-02-04 * ext/socket/raddrinfo.c (addrinfo_ipv6_to_ipv4): new method.
e2f0aeb4973c81a54d38295bafc9d5b48cb0b3ef 2009-02-04 relax tests for MacOS X.
3eab19122b1647f8f0c14786c71fdeda8e978039 2009-02-04 add tests.
1934c7a80b21c281552011801029c871f5b04120 2009-02-04 test relaxed.
5ce10c1359be7f7278491a736be95ce4b50116ae 2009-02-04 * ext/socket/socket.c (sock_s_socketpair): make 3rd argument optional.
5127799e65f46451fa5011049b37576e9e595e1c 2009-02-04 add Socket.pair.
b916afddc967829b473573cf604295b97a836660 2009-02-04 * transcode.c (make_econv_exception): refine error message for undefined conversion. [ruby-core:21828]
0d0fe1a5adbda4b9157118b8dbf64f28185f7b1e 2009-02-05 don't connect to unspecified address (0.0.0.0). OpenBSD reject it.
88f04bdd32fcbb2333f6b034e98f7f398e97604c 2009-02-05 * ext/socket: AddrInfo is renamed to Addrinfo. [ruby-dev:37876]
74063bf4d325a05d19e73f2b78bbd2dc945ee215 2009-02-05 * include/ruby/intern.h (rb_run_exec_options_err): renamed from rb_run_exec_options. (rb_exec_err): renamed from rb_exec. (rb_fork_err): renamed from rb_fork. (rb_spawn_err): renamed from rb_spawn. (rb_run_exec_options): declared with 1.9.1 compatible signature. (rb_exec): ditto. (rb_fork): ditto. (rb_spawn): ditto.
1bd6111488e56948a221e9f8c81f7ad286ccbff1 2009-02-05 * ext/pty/pty.c (chfunc): type fixed.
fb128ef26f66f48612c962a853b1fa211ccf8bc6 2009-02-06 no need to restore rlimit in child process.
4e2141622f17113d10eb79326244369054b2330d 2009-02-06 * signal.c (register_sigaltstack): ignore sigaltstack error. It fails on OpenBSD 4.4 when pthread library is linked.
a0b54e6cbdb08fb0a0644e3c3b9f1a870a10f7c1 2009-02-06 * io.c (io_fread): use rb_io_wait_readable for retry avoid Errno::EINTR on ruby -e 'trap(:CHLD) {}; spawn("sleep 1"); STDIN.read'
0c0f9873760236083a003a70b668fb1ea3473bfa 2009-02-06 * dir.c (dir_read): don't disable rdoc.
af14ba145e5b74e72f508be35cbfab4677659825 2009-02-07 test setrlimit in a child process.
2b8ab6c54febcf6aa8f28f1fc9c7910755a04462 2009-02-07 * test/socket/test_addrinfo.rb (test_family_addrinfo): don't use www.ruby-lang.org. http://d.hatena.ne.jp/nagachika/20090204/working_for_0f0e
b83188dc1efb5d9ce1b25333965d6a35309579f7 2009-02-07 add a test.
ad235344c4e7371a58138565d0c126f136125b8a 2009-02-08 specify exception class for rescue clause.
6294d065bba7d59a9fb7b50483a9f91f4e6405fd 2009-02-08 select before read_nonblock.
e3cc17a3ac5cd2a5e48b841f70a98a81620155f3 2009-02-08 fix rdoc.
03149710e8fe06daef196b1ea890608ca40eb02c 2009-02-08 * ext/socket/raddrinfo.c (init_unix_addrinfo): add socktype argument. (addrinfo_initialize): follow init_unix_addrinfo change. (addrinfo_s_unix): add optional argument: socktype
a23547cafadf44f9d3812de6baea01c5c6011581 2009-02-08 * ext/socket/ancdata.c (anc_inspect_passcred_credentials): new function to show SCM_CREDENTIALS on GNU/Linux.
aa28707309ebec740094065bded6f108ef4481f1 2009-02-08 more constants.
732b695163362f2ef865a077a22c2bf5187cd4d4 2009-02-08 add a test.
e960cf417abc5b3c2fef8271412fcfc9c2c32607 2009-02-08 * ext/socket/extconf.rb: check struct sockcred.
eb636217f619875b7d66a29caa44daddc4d3d0d5 2009-02-08 test renamed.
c79dac1c3ec4477af4e8a115942c80cfc414f648 2009-02-08 * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command): detach spawned process. [ruby-dev:37936]
411e9997d2062d7d871f8a4ffe810c8261be4b36 2009-02-08 * ext/socket/extconf.rb: check struct cmsgcred.
8f9d6d1863e3b00ed44ac693e9659b860cf1e507 2009-02-08 * ext/socket/option.c (inspect_peercred): new function to show SO_PEERCRED socket option.
e5f588c83d7ed0ecdbbafe12aa2920c3b5227c3e 2009-02-08 remove debug print.
c02ce88762eeda44002b82f4176e9fdbc0dd7e3c 2009-02-08 * ext/socket/rubysocket.h (sockopt_new): add family argument.
9e457481438cf8b4dbe033b6fbd5ea612c4529c1 2009-02-08 * ext/socket/extconf.rb: check sys/param.h and sys/ucred.h.
f11d2b55f745810c6e1de8c0474001bdf8310efe 2009-02-08 * ext/socket/option.c (inspect_local_peercred): cr_uid is a effective uid, not a real uid.
d0454a211e1bb2803ca424af79eda3676b7a48c7 2009-02-08 * ext/socket/option.c (sockopt_inspect): add ifdef guard for LOCAL_PEERCRED.
299264224525d80a585e695a7bfaaa22e32ef8dc 2009-02-08 LOCAL_PEERCRED is also available on MacOS X.
0fe7022c0b5603582fc96c630e9756ca4b49fe1a 2009-02-08 add a note.
64f12a46d591887a716822305dba29dd3da1cf8f 2009-02-08 * ext/socket/option.c (inspect_peercred): struct ucred contains effective uid/gid.
70f76601969f7e8b5bfb3bfd5d83e5d32c5c3e41 2009-02-09 * ext/socket/option.c (inspect_local_peercred): check version. (sockopt_inspect): suppress warning.
fd9c7e8af11fb79fa61ad7c462ff47e2ccd54486 2009-02-09 * ext/socket/ancdata.c (ancillary_initialize): add family argument. (ancdata_new): ditto. (ancillary_s_int): ditto. (ancillary_family): new function. (ancillary_family_m): new method. (ancillary_s_ip_pktinfo): follow ancdata_new change. (ancillary_s_ipv6_pktinfo): ditto. (bsock_recvmsg_internal): examine the socket address family.
48de4753d1b376953676463ceddf75c303acdd94 2009-02-09 * ext/socket/option.c (sockopt_initialize): argument conversion reordered.
7d63280c17acff8093b9e909349eafbbab19f8fe 2009-02-09 * ext/socket/basicsocket.c (bsock_getsockopt): refine address family examination.
bee960d4e95d5b8003cd659405334c51898b6abc 2009-02-09 * ext/socket/mkconstants.rb: more constants for Solaris.
7ad35679341cf4da962bc00deb97068398959397 2009-02-09 * ext/socket/option.c (inspect_int): return 1/0 on success/failure. (inspect_uint): ditto. (inspect_linger): ditto. (inspect_socktype): ditto. (inspect_timeval): ditto. (inspect_peercred): ditto. (inspect_local_peercred): ditto. (sockopt_inspect): refactored.
8977fe1e3617cff23c01db396a0617b6ca5da56e 2009-02-09 * ext/socket/basicsocket.c (bsock_getsockname): use sockaddr_storage.
ecfea8e28e0042cea1f242393714eff7c16b8e60 2009-02-09 * ext/socket/ancdata.c (ancillary_inspect): show address family.
2092fbcc3ad4437f066dc79a64a80236afcbdf50 2009-02-09 rdoc update.
f5da7031b91426f362e8ec2101bf794976ecc590 2009-02-09 * ext/socket/rubysocket.h (level_arg): add family argument. (optname_arg): ditto. (cmsg_type_arg): ditto. (rb_sock_getfamily): declared.
2dd3fa9f3e222866e0c3577a3e447509cc40a647 2009-02-09 * ext/socket/mkconstants.rb: rename level_to_int to iplevel_to_int. rename intern_level to intern_iplevel.
810dd43a207e74141f450f30bd239185ce49df2d 2009-02-09 * ext/socket/constants.c (level_arg): use unknown_level_to_int for non internet protocol. (optname_arg): use only so_optname_to_int for non internet protocol. (cmsg_type_arg): use only scm_optname_to_int for non internet protocol.
97ba0d4aa788273c4d4b4432a51683597c32c2cc 2009-02-09 * ext/socket/mkconstants.rb: generate intern_family_noprefix.
b877fc2f15e231b80bd4d60280adf8579e75f0d9 2009-02-09 * ext/socket/option.c (sockopt_inspect): refactored.
c6ea437727e9138c703a99c01333fcafe1215c69 2009-02-09 * ext/socket/ancdata.c (ip_cmsg_type_to_sym): renamed from cmsg_type_to_sym.
2acc18ad994a5ac8091e1a622140d36f7252f946 2009-02-10 rdoc update.
ba75dd6b95793e3a8476dc8e112ea98961d5a183 2009-02-10 * ext/socket/ancdata.c (anc_inspect_socket_creds): refactored to avoid a rb_str_cat2 call.
939efe7d4c17c7bc17fa4a11ef07831dd91b1306 2009-02-10 * ext/socket/option.c (sockopt_family_m): renamed from sockopt_family. (sockopt_level_m): renamed from sockopt_level. (sockopt_optname_m): renamed from sockopt_optname. (inspect_local_peercred): follow the renaming. (Init_sockopt): ditto.
7be3cdbc0443e007ab5aa294d216e086c8a8af7e 2009-02-10 updated.
98d3eca7fc092e0237f6cfd06bb5cf58d3796d36 2009-02-10 * ext/socket/option.c (sockopt_s_bool): new method. (sockopt_bool): new method.
a038fab64970fd76d336aa57a2993f71f631695d 2009-02-10 * ext/socket/socket.c (sockaddr_obj): fill pfamily.
1463f1dfe70005ca1eac16547097370f6b9c6466 2009-02-10 * ext/socket/lib/socket.rb (Socket.udp_server_sockets): new method. (Socket.udp_server_loop_on): new method. (Socket.udp_server_loop): new method (Socket.ip_sockets_port0): extracted from tcp_server_sockets_port0. (Socket::UDPSource): new class.
6245caf58ccd2ccafc829c9c6a37b2b534c0a94d 2009-02-10 * ext/socket/basicsocket.c (bsock_getpeername): use struct sockaddr_storage. (bsock_local_address): ditto. (bsock_remote_address): ditto.
2ee08591190bed1f57a43a5cdd6486e3abfa664f 2009-02-10 * ext/socket/init.c (struct recvfrom_arg): use struct sockaddr_storage. (recvfrom_blocking): follow struct recvfrom_arg change. (s_recvfrom): ditto. (s_recvfrom_nonblock): use struct sockaddr_storage.
be25c48638a0ba5d619e28fe67defc8e23078317 2009-02-10 * ext/socket/socket.c (sock_gethostname): use HOST_NAME_MAX.
bb4abd612e912a9b9dfc3cba7f6d8bda508fe0b7 2009-02-10 fix typos.
b8147c444b70e0e07dcd3c90e3af76ff28f65602 2009-02-11 * ext/socket/lib/socket.rb (Socket::UDPSource#inspect): fix variable name.
b4e50055c3ab9fed6bfded69c2fbd7c5bb410780 2009-02-11 * ext/socket/extconf.rb: check getpeereid.
fdf5d808900241e48f33293e81934ead1c8968ce 2009-02-11 add getpeereid.
c645978f1cd9915cb1a03f72264dbacd1d105385 2009-02-11 updated.
fa65ca097b7c82802762b6ccbbdcf53ad3e87ec3 2009-02-11 * ext/socket/ipsocket.c (Init_ipsocket): undef getpeereid at IPSocket.
c7a66ff8043562c9d8e2cbb5c588b80d83ef1a90 2009-02-11 * ext/socket/ancdata.c (anc_inspect_ip_pktinfo): make result bit succinct. (Init_ancdata): fix number of arguments.
c9c3437b20efd7a8a5583a83a26a3eeb769f9666 2009-02-11 add tests.
a8de15e0b56056b0ba5d4d7f724f38ea8d97d888 2009-02-11 rename tests classes.
f871e8cf0d111b7dc65f25e8c03df8e9996247ea 2009-02-11 update rdoc.
6e6676a2234ec190aaea02efaa31949388c02622 2009-02-11 add tests.
4b036bb69b74f9d4c46c5598b3338c4db5bf0501 2009-02-11 * ext/socket/ancdata.c (anc_inspect_socket_rights): return 1 on success. 0 on failure. (anc_inspect_passcred_credentials): ditto. (anc_inspect_socket_creds): ditto. (anc_inspect_socket_creds): ditto. (anc_inspect_socket_creds): ditto. (anc_inspect_ip_recvdstaddr): ditto. (anc_inspect_ip_pktinfo): ditto. (anc_inspect_ipv6_pktinfo): ditto. (ancillary_inspect): check family.
ff955766d496954140ed9c72ac0be898cbb913da 2009-02-11 * ext/socket/ancdata.c (ancillary_s_ip_pktinfo): make 3rd argument optional.
0a954e9117168f0221b7cfd833b1e2ea6243ba16 2009-02-11 * ext/socket/lib/socket.rb (Socket.unix_server_socket): call the block if given. remove the socket file when the block exits.
3f0d724dc36df47e4b262f5c37f6690c2832277e 2009-02-11 * ext/socket/lib/socket.rb (Socket.unix_server_socket): close the socket when the block exits.
630e4ef492b5647bae57d00fffa2004b7ececfc8 2009-02-11 * ext/socket/lib/socket.rb (Socket.unix_server_loop): use unix_server_socket with a block.
d27c1748cd5d41fcf286545d34d7891516dc5e68 2009-02-11 rdoc update.
b9d2a4399065197d5a42b78b622ac456ae02d631 2009-02-11 * ext/socket/lib/socket.rb (Socket.tcp_server_sockets): call the block if given. close the sockets when the block exits. (Socket.tcp_server_loop): use tcp_server_sockets in block form.
83eddaad27990c840ac186cc6cb8941aeb356caf 2009-02-11 * ext/socket/lib/socket.rb (Socket.udp_server_sockets): call the block if given. close the sockets when the block exits. (Socket.udp_server_loop): use udp_server_sockets in block form.
a2c779be35d7721a1e067227086a5458f9a16f9a 2009-02-11 update rdoc.
3032bdb1d300c06c7b38e06e211d492d13039a37 2009-02-11 test updated.
7a01268aebada78b505f9ac4736cb23fa8bf260d 2009-02-12 * ext/socket/basicsocket.c (bsock_getpeereid): implemented for Solaris using getpeerucred.
97a922e2ff26a04a408032e8662442b8f0bb3be3 2009-02-12 test only if Socket::AncillaryData exists.
7882b61a038257199a2b6776a9b9c2f77db693f8 2009-02-12 updated.
a61786398aaed4b81fd63f80c7f69adbd1e7c9b8 2009-02-12 * test/socket/test_socket.rb (test_udp_server): filter out unreachable addresses. [ruby-dev:37970]
5b8339edf65091d3fab69cd902954a8da291b33f 2009-02-13 * ext/socket/ancdata.c (extract_ipv6_pktinfo): set sa_len for 4.4BSD.
840e6c70e811908236f5f3c5ae81eec817c6f461 2009-02-13 rdoc update.
36dcff1cf562d095a17fd6251407f37980c7f766 2009-02-13 * ext/socket/socket.c (Init_socket): define TCPServer#listen and UNIXServer#listen here for rdoc.
9842858add66b084d4fc6f662d40daa0e984f131 2009-02-13 rdoc update.
3a7c7e2d062928e78eeac6de0493a7bf6f7fb879 2009-02-13 add a constant: IFNAMSIZ.
760ee609d27063720460d4fcde5855444e3f8b21 2009-02-13 fix rdoc.
9d37857e2b8a4b227e52ff8438e44968d6249f95 2009-02-13 * ext/socket/sockport.h (SET_SA_LEN): cast to void for supressing a warning.
23843e8b3cb8598bec5cc2a0148b8cfc5018e026 2009-02-14 * lib/pathname.rb: obsolete methods removed. [ruby-core:21564]
9ddde2773f31f95311aa6128fc1809f5b5d06ecc 2009-02-14 add timeout.
5b512b7fa9ae81c0919ef4301351fb71fd7e14e6 2009-02-14 * test/test_time.rb: extracted from lib/time.rb.
f343c9d3b71fa1ebc93a828d673b0f194ccb2d72 2009-02-14 remove Id keyword.
a8167d58b9c1b3cd3860e4e55cb98e7460337a00 2009-02-14 remove Id keyword.
1b4c1f715e5abcf68ea680dbed3b36007b9aa761 2009-02-14 * lib/time.rb (Time.parse): raise ArgumentError if Date._parse don't extract date information. [ruby-core:20912]
183582ab29b5e81fc4a090eb69102857210e2824 2009-02-14 add a test.
a2f28cb6f5c388964161b105a851eaaf3697b891 2009-02-14 add timeout.
29f73c43a5dde61a8ddea3dd31af7d806fc51c2b 2009-02-14 * test/test_pp.rb: extract from lib/pp.rb.
08638ed7b837bef4ec94bd56e38941e737e42f5d 2009-02-15 add a test.
e279c5d6e5c213b15cde0ba37982a9daa1fb7094 2009-02-15 * hash.c (hash_i): use Murmurhash.
d40578e4385c888712b8450c1b9e32dbf38c3d72 2009-02-15 rdoc update.
357f66670c33ee3d8acf85d94bb004c4294c39ae 2009-02-15 * lib/securerandom.rb (SecureRandom.urlsafe_base64): new method.
57394f14845482d8e16d85f3375c82639b6a4b51 2009-02-15 mention SecureRandom.urlsafe_base64.
1f125adde0e6cad77b13c521cb95c7089885b398 2009-02-15 updated.
351f54de4505dac2a5b4c54727dfa366962fc1cb 2009-02-16 * ext/socket/ancdata.c (bsock_sendmsg_internal) [OpenBSD]: don't remove the last padding to prevent sendmsg failure in test_udp_server in test/socket/test_socket.rb.
835fa875cc7e9c993c3f93aa6175df76aba4114c 2009-02-16 mention OpenBSD version.
d9bb9b32550027d44de9e47c90a9bd1b85f97593 2009-02-16 * ext/socket/mkconstants.rb: generate rb_define_const directly for rdoc.
3d39a9a0702f5bcfae88be5d8dfe5e3e28f95dd2 2009-02-17 * ext/socket/ancdata.c (bsock_sendmsg_internal): should not remove the last padding of control messages, basically.
2f8b471b89ce803c54f30e6d2cc95e12f62247c0 2009-02-17 fix an error message.
536adb5d7cf0b35a3980f11f0512e85ff72d71e6 2009-02-17 care EWOULDBLOCK of accept_nonblock.
28cf7a6d6f105b500fd2e83291fbecc9dac2473d 2009-02-17 * ext/socket/ancdata.c (bsock_sendmsg_internal): make the padding removing only on NetBSD.
e14c9923b47f3075ca9040620f12c8e258b3435a 2009-02-17 * ext/openssl: avoid cyclic require.
0b058a1c2a505c1fa60b65f4c48aa4fa30f8da8f 2009-02-17 forgot to modify.
9bd0ecd9179452bbb410ee69c387dadb813cf95a 2009-02-17 add comments for rdoc.
e1f9891eebca22ff317ba9bf781a0fe9bf20cd2a 2009-02-17 forgot to add.
d89e09b3087dbaf09301648868d0d8ac340da04c 2009-02-18 * ext/socket/ancdata.c (bsock_recvmsg_internal): reduce code on environments which have no control message.
34152d654ad67035e5e20b6ea7f854b18f942c98 2009-02-18 * ext/socket/ancdata.c (bsock_sendmsg_internal): avoid misalignment.
f1a39b9e5cc8ac74757c42aab4721a6d7a08b46c 2009-02-18 * ext/socket/ancdata.c (bsock_recvmsg_internal): prevent misalignment.
75ba47e8e87e7dd2c92f1dee2cac834b505429f4 2009-02-18 * ext/socket/ancdata.c (discard_cmsg_resource): new function to close file descriptors in control message. (bsock_recvmsg_internal): call discard_cmsg_resource before retrying recvmsg.
18afbc891c3ac8d21b7d93a2d8ad76c2f536956d 2009-02-18 * ext/socket/ancdata.c (ancillary_rights): new method. (make_io_for_rights): new function to allocate IOs for FDs in SCM_RIGHTS message. (bsock_recvmsg_internal): use make_io_for_rights. So the FDs can be closed by GC.
bed429445169865659af13d0f491f4b7060cf7e6 2009-02-19 * ext/socket/ancdata.c (ancillary_unix_rights): method renamed.
98f82fc633d327350ca1f098d71b7e0bd5208bd8 2009-02-19 * ext/socket/ancdata.c (bsock_recvmsg_internal): fix exception.
09396dcf21d6d769f0537aacce69369132e9a4eb 2009-02-19 * ext/socket/ancdata.c (make_io_for_unix_rights): cmsg_len may be bigger than msg_controllen. freeze unix_rights array.
ab1a639cbe18354f942af745b6115e1286a6bbcc 2009-02-21 mention the platform which causes cmsg_len > msg_controllen.
90fc8d84adbedccde2439aa82a10bb85a923be7e 2009-02-21 rdoc update.
d227ca29f4fdac6a62bc17673f265b0ccec6a2d4 2009-02-21 * ext/socket/ancdata.c (bsock_recvmsg_internal): check recvmsg error earlier.
9cfe35ad503cd6bb598dea85517949b932719afe 2009-02-21 * io.c (io_getpartial): error message describes what should be waited after nonblocking error. (rb_io_write_nonblock): ditto.
ad2f293d4fb1df2b78649e649feb41ed48913998 2009-02-21 * ext/socket/ancdata.c (bsock_recvmsg_internal): gc when SCM_RIGHTS hit the file descriptor limit.
60f2cec6468bd4ce1d9821d851c9758b4299635c 2009-02-21 * ext/socket/ancdata.c (bsock_recvmsg_internal): don't call discard_cmsg_resource when EMFILE.
6b0f5967193ab3a827ac07d24bdf1c099135c381 2009-02-21 * ext/socket/ancdata.c (bsock_recvmsg_internal): check max length overflow.
47c6ecfa6429e0cb38d405ba83917119ebd65070 2009-02-21 * ext/socket/ancdata.c (bsock_recvmsg_internal): handle EMSGSIZE as well.
88860a065ecdf87a6eb38c776fdf5c97b865c3ef 2009-02-22 rdoc update.
af7d8584c56e42c9fb2848f797dfddb37c41fb59 2009-02-22 * re.c (Init_Regexp): define Regexp::FIXEDENCODING. [ruby-dev:38066]
c160c6e59eb65e3159f979a54dc3d609265829c4 2009-02-22 * ext/socket/option.c (inspect_errno): new function. (sockopt_inspect): use inspect_errno for SO_ERROR.
22cef963c31c575dd08b3e7af372f69772372988 2009-02-22 * ext/socket/init.c (s_recvfrom): use rb_io_wait_readable after recvfrom.
80d230c3945a0c79e5215b14c864b1acf503e163 2009-02-22 * ext/socket/option.c (inspect_linger): message refined.
a384273d6d7efecd19ac3f6902a6233fcb586ab1 2009-02-22 rdoc update.
2e0a20d3e2fed00674c2d3a1f25fbd27d5732e9b 2009-02-22 rdoc update.
e5dd6a792d974d8d8d9f81c21102a4c1f527926b 2009-02-22 rdoc update.
cdca4e19d0274e86e128ae9dc61291fb13b18763 2009-02-22 * ext/socket/option.c (inspect_timeval): fix the size test.
0c95958c2d446feb85d4c0267bb5bd67edbe383b 2009-02-22 * ext/socket/option.c (inspect_timeval_as_interval): renamed from inspect_timeval.
475a350df89c14aa2680454cf179a176ffa3591e 2009-02-22 * ext/socket/ancdata.c (inspect_timeval_as_abstime): new function. (ancillary_inspect): use it for SO_TIMESTAMP.
b7fe0657411dce7f2384100dc9e5c93bd0ff12dc 2009-02-22 * ext/socket/ancdata.c (ancillary_inspect): use SCM_TIMESTAMP instead of SO_TIMESTAMP. SCM_TIMESTAMP != SO_TIMESTAMP on MacOS X.
decee680285d718d2055d168bed400b5b2f4cd76 2009-02-22 add a test.
97ef9728d587e1268f34844b9886bac9c46a0ad4 2009-02-22 * ext/socket/mkconstants.rb: define SO_TIMESTAMPNS and SCM_TIMESTAMPNS if available.
a0e3e8e4d134bc1b94d5d43d613e13606c9a94d8 2009-02-23 * ext/socket/ancdata.c (inspect_timeval_as_abstime): use time_t variable to avoid a warning on environments which use long as tv_sec as NetBSD.
23e286f3fb1b7570e107b9a028c1fb03bacc5cca 2009-02-23 * ext/socket/ancdata.c (inspect_bintime_as_abstime): new function to show struct bintime. (ancillary_inspect): use it for SCM_BINTIME on FreeBSD.
605cd65904343ec13049820ed6c1b0335ddbc69e 2009-02-23 * ext/socket/ancdata.c (inspect_timespec_as_abstime): new function to show struct timespec. (ancillary_inspect): use it for SCM_TIMESTAMPNS on GNU/Linux.
b404c651d2e732fa25e0c009892682a7718d0d2a 2009-02-24 * ext/socket/ancdata.c (ancillary_timestamp): new method.
e137e939b7922044994f1fd8ea96b9e9b2a6b665 2009-02-24 * ext/socket/ancdata.c (ancillary_timestamp): support SCM_BINTIME.
62b787b5698fa67f87db2e874c0946a267d938af 2009-02-24 rdoc update.
7e20506eae51a76415e46132f769e6d1b799c415 2009-02-24 reordered.
0ae09794e5ec3682303abf38192dfc4c184dac07 2009-02-24 * ext/socket/socket.c (sockaddr_obj): convert fe80:1::1 to fe80::1%1.
470103861e5b071393676836c9ede947bfea16bb 2009-02-24 add comment.
4b265d3e7bbb508bd0f846491b64ca06970bae60 2009-02-24 rdoc update.
01e9a7be61ad5a9be0fe3a0c6c469d03ff21f51e 2009-02-24 rdoc update.
9594c893f7c5940bbd4e08044eef6ff94ef27a97 2009-02-24 rdoc update.
c17b915eb8c558df1ce4089f763e520b75ad71df 2009-02-25 * ext/socket/unixsocket.c (unix_recv_io): prevent FD leak when 2 fd is sent on LP64 platform.
56c52c1da8b9718bab1b5e2e9c1b43f00905f3d2 2009-02-25 * ext/socket/ancdata.c (ancillary_s_unix_rights): new method.
1ff020df70f76d32ceea70e859d9f0b567e7a59a 2009-02-25 * ext/socket/ancdata.c (ancillary_unix_rights): raise NotImplementedError if no fd passing feature. (ancillary_timestamp): raise NotImplementedError if no timestamp feature.
e6f0b1de8953c6c3803a2be9eccf748643d08f21 2009-02-25 * ext/socket/option.c (sockopt_level): extracted from sockopt_level_m. (sockopt_optname): extracted from sockopt_optname_m. (sockopt_data): apply StringValue. (sockopt_s_linger): new method. (sockopt_linger): new method. (inspect_linger): show onoff value if it is neither 0 nor 1.
2276b2f9044a7a53d9058145ac9d35261524cf0a 2009-02-25 * ext/socket/mkconstants.rb: more MSG_* constants.
ecb22ce2c54a635036031c2de70473d9daf4bfd5 2009-02-26 * ext/socket/lib/socket.rb (BasicSocket#connect_address): new method.
7f44badcbeee93d70d93c44dc0e244f6053084e4 2009-02-26 rdoc update.
770f854176b746226bfba50298450633bf4e1823 2009-02-26 rdoc update.
f252633804045e3a39c8f463fb89281b20a98a10 2009-02-27 * util.c: fix SEGV by test_time.rb with gcc version 4.4.0 20090219 (Red Hat 4.4.0-0.21) on Fedora 11 Alpha.
0f82f65cee9e754784b70a000b3a683978a343ae 2009-02-27 * lib/test/unit/assertions.rb: don't define assert_not_* if already overridden.
7f247b9d0c652cfd88c4d4ebbc1a6587e48cad83 2009-02-27 add a test.
a7d581fa2f88d2f45d1f2d670cc1c8f9e755b2d1 2009-02-27 * ext/openssl/lib/openssl/buffering.rb: define Buffering module under OpenSSL. [ruby-dev:37906]
d8c66c433393cb0ff97fcbd32f6a4fdc4d8f8b79 2009-02-27 * ext/socket/ancdata.c (bsock_recvmsg_internal): close FDs passed by SCM_RIGHTS unless :scm_rights=>true is given. (discard_cmsg): extracted from rsock_discard_cmsg_resource.
5fb1faf2bfc87597dbbf1a6686bab6b36482529d 2009-02-27 * ext/socket/raddrinfo.c: suppress strict-aliasing warning with gcc version 4.4.0 20090219 (Red Hat 4.4.0-0.21) on Fedora 11 Alpha.
54cd7ea16834cac420067b7ea8bee3b619f082c0 2009-02-28 * ext/socket/lib/socket.rb (BasicSocket#connect_address): returns ::1 if the address is IPv4-mapped IPv6 address for 0.0.0.0 for MacOS X.
8746e342bc3b45ec7d14df09d1288a9b53f225f0 2009-02-28 * lib/net/http.rb: suppress warnings of non-existing instance variable access for SSL.
2ba6eec1fa50cacaff647525358fd93c7c862a27 2009-02-28 * ext/socket/ancdata.c (ancillary_unix_rights): check message type.
cfe9dcb886b225e5607e0bc13b591f9c4a020daa 2009-02-28 * eval_error.c (error_print): use volatile to suppress warnings.
3888bfecf2c193658bb11af3609671d91a44b778 2009-02-28 * vm_eval.c (rb_iterate): use volatile to suppress warnings.
c49f05dd792049e45608c1132be912695f4909e4 2009-03-01 * ext/socket: add rsock_prefix.
a6274c1e72689ad0425560a637f96beeb9e93ad2 2009-03-01 add a space.
172d20878955c7b8eca9ebc782dfa7e91340dc8c 2009-03-01 * ext/socket/ (rsock_make_hostent): renamed from sock_make_hostent. (rsock_addrinfo): renamed from sock_addrinfo. (rsock_getaddrinfo): renamed from sock_getaddrinfo. (rsock_socket): renamed from ruby_socket. (rsock_sock_s_socketpair): renamed from sock_s_socketpair. (rsock_connect): renamed from ruby_connect.
aa2b22bba288a06b8faea3180613e896a8b3f084 2009-03-01 * ext/socket/ (rsock_getfamily): renamed from rb_sock_getfamily.
4ca8057c3e0f511274a7810ec0eadec9c16be44d 2009-03-01 rdoc update.
d79dc0f6a0cd69e58922cf9baa637774cf7165e6 2009-03-01 * ext/socket/raddrinfo.c: suppress warnings.
27475f4dec9a3c694e2b197e1c8f5ddff9a5bf77 2009-03-02 * file.c: include fcntl.h for O_RDONLY on Solaris.
344dcc25be6741e58e80b3dbf10f7d702bd080cc 2009-03-02 * ext/socket/raddrinfo.c (addrinfo_mload): don't use "sun" variable for Solaris.
a36ea435d26b97d2ca185e315106c856e5d2c9de 2009-03-02 forgot to commit.
fb5d4ecfb5d03aa9f6116b53dbcb1b72bbba3c95 2009-03-02 * ext/socket/ancdata.c (rsock_discard_cmsg_resource): defined unconditionally.
8a00868c3dc6981c300cc62020767bda5bb4b2a0 2009-03-02 * ext/socket/ancdata.c (anc_inspect_socket_creds): supress warnings.
557359d170ddb9fa7db3ff5485fcf907c1970ae4 2009-03-02 * ext/socket/sockport.h (SS_LEN): defined unconditionally.
1c2005fbf6150d09af2e0f9af6411b69fc671791 2009-03-02 * lib/securerandom.rb (SecureRandom.urlsafe_base64): delete padding.
4f39e639f4f73b417f6ba3c74dc2e7ab059bf028 2009-03-04 rdoc update.
42d25de9583aab686cab04b572a56597d4f3f8bd 2009-03-06 * lib/securerandom.rb (SecureRandom.urlsafe_base64): add optional argument to add padding.
dd76b8b8b139eb72f2a645c9c5331b1ca630f2b2 2009-03-07 don't exit even if libc/libm is not found. check lib[cm].so.6.1 as well on linux. add solaris lib.
4210e54d264e118e75c4704600de3e49e25b37f8 2009-03-07 * configure.in: the shell which runs configure may be different from the shell for make. configure likes bash but Makefile specifies SHELL=/bin/sh.
94dc341e4bd27fe95fe74209deecd99a5aeab6ed 2009-03-07 * configure.in: fix the location of cdcmd.
f9690e0f9a5df5a3aed050e2efb8e982ba6f0d3b 2009-03-07 * configure.in: don't use CONFIG_SHELL for testing shell feature in Makefile.
dfb1573e0bdce09659eb8e4727d725179d435f81 2009-03-07 fix typos.
33b9638cfc2f7d011b851b3e08a5fd6614a90ca0 2009-03-07 fix typos.
5abafda82620d9f0e0fe2934a298a5be7d191c62 2009-03-07 add 64bit solaris library.
cc8b3517ed024dd4c593d18de85814727fbc7238 2009-03-07 use ldd to find libc and libm if no information.
54a52efe09e5d47911cbbfe634167051197d1e62 2009-03-08 rdoc update.
d1bc6cc720a8a36b59fa59e6f1312effdbb8091a 2009-03-11 * time.c (time_mload): don't clear tm_mday.
de292258b9c7cb2909235e0bbc29a72cc0f086e4 2009-03-11 * configure.in: strip spaces from ruby_version. Sun C 5.9 SunOS_i386 Build47_dlight 2007/05/22 generates `ruby_version= 1 "." 9 "." 1'.
68b3cd3ea2365b3bc008754fc6aba5841edfa9f2 2009-03-11 use argument only if it is absolute path.
53d061ec33575ea0972ab3a3e0be0db7016b5aee 2009-03-12 * include/ruby/encoding.h: suppress warnings of overflow.
e166801d3de1fcfb1b177f7d7c7ad783c070862a 2009-03-12 * transcode_data.h: suppress warnings of overflow.
a69f46bc2b32ad1a175146fefc1dac699f9211c7 2009-03-12 * ext/openssl/ossl_ssl.c (ossl_ssl_def_const): use INT2NUM because OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG doesn't fit into Fixnum.
241216295911bd7cf2008efd534e583678fa9569 2009-03-12 * ext/openssl: suppress warnings.
d5a60df399386d52a557be7ebca572d8eb0f70ed 2009-03-13 * dln.c (dln_find_1): compare fspace in size_t world.
6156cc47f63e6a3bf473cd3af8e36a864775d953 2009-03-13 * configure.in (RUBY_CHECK_SIZEOF): pass [include] to AC_CHECK_SIZEOF.
7d1e856766303311b9e23545f93c7a58950343a8 2009-03-13 * ext/socket/init.c (wait_connectable0): remove unreachable code.
ec5e44f2c704d6e47159b5f61ec761e7b2a7a76a 2009-03-14 * process.c (rb_f_system): use rb_pid_t for pid. (rb_spawn_internal): local variable renamed.
ba8fbae364e862baeb169a23567685563b895119 2009-03-14 assert connects doesn't raise.
e368a2e15833892697889a55a873fd3431072a74 2009-03-14 * process.c (rb_spawn_internal): use int variable for status.
f414bd65aec6093f38860d5a9ddca4e4d581c95d 2009-03-14 * string.c (rb_str_subpat): accept capture name. (rb_str_aref): follow above change. (rb_str_aref_m): pass the 2nd argument to rb_str_subpat. (rb_str_subpat_set): accept capture name. (rb_str_aset): follow above change. (rb_str_partition): ditto. (rb_str_aset_m): pass the 2nd argument to rb_str_subpat_set.
7b713539ee10e68d899646adec8339d49ac3c5c3 2009-03-15 updated.
e3cb6518d1c4fb3fc74737f66785be419f162ea4 2009-03-17 rdoc update.
a28532dcf3e237b8d75c724cd65eb04ca57e6da1 2009-03-17 * lib/pathname.rb (Pathname#sub): set $~ in block.binding. [ruby-dev:38173]
c5501b8b196c54780a1a49151084fc2efc44287e 2009-03-17 make ./goruby -e 'p "abc".gs(/a/) { $& }' prints "abc".
e36cfc749f5da0167023f731613ef0e7eb61ae42 2009-03-17 rdoc update.
616932fbdb0b788fab113439276965fafcd70ea7 2009-03-17 rdoc update.
0ff55a1bd21f61f22fd2d176abbe5663372a6871 2009-03-18 pattern refined for ldd on OpenBSD.
c4049f4cb6d27ffdfe9f15f4a9ddc5a48271ecf3 2009-03-19 * io.c (rb_mWaitReadable): defined. (rb_mWaitWritable): defined. (io_getpartial): extend IO::WaitReadable on EWOULDBLOCK and EAGAIN. (rb_io_write_nonblock): extend IO::WaitWritable on EWOULDBLOCK and EAGAIN.
758f9510a61ee4e7914ff1dae7046a6737029776 2009-03-19 use IO::WaitWritable.
2208c990e19f9c372978457a636c8814deea77c5 2009-03-19 update rdoc and NEWS.
17a085ea8cd6f5e9d5dcdacfa48ef4364b3e7025 2009-03-20 * ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#write_nonblock): new method.
7fd155cf0f088f763dfb6353f251319775549b77 2009-03-21 * ext/openssl/ossl_ssl.c (write_would_block): defined. (read_would_block): defined. (ossl_start_ssl): add nonblock argument. (ossl_ssl_connect): follow ossl_start_ssl change. (ossl_ssl_connect_nonblock): new method. (ossl_ssl_accept): follow ossl_start_ssl change. (ossl_ssl_accept_nonblock): new method. (ossl_ssl_read_internal): use write_would_block and read_would_block. (ossl_ssl_write_internal): ditto.
5bdeb55a0261e3324a6155e59843aadd55adea7c 2009-03-21 rdoc update.
4a0bb2dc4879f4b2f945af4b9e2ff847e0075ee6 2009-03-23 * time.c (time_timespec): use NUM2TIMET. (time_s_at): ditto.
5f64ea6c6011ef3c37cb9d36e1958d0008969c30 2009-03-26 * bignum.c (rb_cmpint): FIX2INT may fail on LP64 platforms.
29983664fcaecee6e92b269095398c56899e57ca 2009-03-26 * time.c (time_cmp): negate the result of reverse comparison.
c79e8ba065140371cf3845556efc66dcf3f62075 2009-03-28 rdoc update.
2a58eebd8f3b0f359c25c5e20be3d8045aa1651a 2009-03-30 * .gdbinit (rp): show negative fixnum correctly.
e2dab32d0b41d4d58d549c7b52711fca54413ab5 2009-03-31 update rdoc.
3158c0f6516a0359a59edfa8089dec3cb94b0442 2009-04-01 * configure.in (rb_cv_fork_with_pthread): fail if the child process fail.
07aede586f92b77a1124c6435b8cb8d5db102e97 2009-04-09 * configure.in: don't override the rule for ruby.
8b27d153d22a266d77f3bdfa98ff60a1bfa53322 2009-04-16 * class.c (rb_define_method_id): use rb_define_notimplement_method_id if rb_f_notimplement is given. (rb_define_protected_method): ditto. (rb_define_private_method): ditto. (rb_define_method): use rb_define_method_id.
8e8ae2a9c53d58a59bc680c6d05c453ac866db8c 2009-04-16 * node.h (rb_notimplement_body_p): declared.
29655d072bdab94932be4420769091c976f9315a 2009-04-16 updated.
9fada90406215511c011f278d28bc1e073b71a04 2009-04-18 update rdoc.
be2d3f5979f10cd06f6d1512ee367b2ec43ef315 2009-04-18 * ext/curses/curses.c: use rb_f_notimplement for methods not implemented.
05a278b4cdc8456580e51055ccb89fe4d1cd46ed 2009-04-18 * ext/readline/readline.c: use rb_f_notimplement for methods not implemented.
1e96c9817ee9171769813c2924dcbcaee93245ce 2009-04-18 * process.c (proc_setuid): use rb_f_notimplement if not implemented. (proc_setgid): ditto.
f3d5d707cc69c06fcbb81c65523b730c39337674 2009-04-18 * process.c (proc_seteuid_m): defined to use rb_f_notimplement if not implemented. (proc_setegid_m): ditto.
3bc16f62c1fb6225b3f6cb96b62f78e44636aae4 2009-04-21 * time.c: remove time_t restriction from Time class.
1dd6a6dfa47ac463b88113afe7be37b5d1147e1a 2009-04-21 * time.c (leap_year_v_p): removed.
7930673c5dd0c7d20844f5abf1ca9a7c59df3132 2009-04-21 describe about Time.
16dc9e04cbedff54c12235ae81121ce2f4acad1e 2009-04-21 * time.c (time_arg): use the year argument as-is. [ruby-dev:38194]
fd9bfef325f037e5d3ae3551a11736ce52b5af9f 2009-04-21 * lib/time.rb (Time#xmlschema): use subsec instead of nsec.
f67380be58e0a401163bfb1729864e6eae52764d 2009-04-21 update rdoc.
6df2f3d59c0222c3be5623cb03ab05c333d7f2bf 2009-04-21 add comment.
d9dd33fc27fc2108e78dd60cc0b37042bd39f5fd 2009-04-21 * lib/time.rb (Time#rfc2822): pad leading zeros for year. (Time#httpdate): ditto. (Time#xmlschema): ditto.
58c31ca6d84bf5393e7200faac97ee877be2b1e8 2009-04-21 updated.
a69b87e80eccfe22c5d67141a91d12af9194bcae 2009-04-21 update rdoc.
258ed42c12ab2d0d2d23cbd0b5bcbd60f3ed55d6 2009-04-22 * lib/time.rb (Time.parse): use year completion in Date._parse.
8dc753f481d234ac7707d36ce89af906a9040a73 2009-04-23 update rdoc.
73aa1639bcc9428a0fa1f6c0dfb212c04cc26173 2009-04-25 mention Time.{utc,gm,local,mktime} as incompatibility.
afbb1ba21bcc8c9a64d3960f5aff7647e2b5e1dd 2009-04-25 * time.c (TIME_UTC_P): new macro.. (TIME_SET_UTC): ditto. (TIME_LOCALTIME_P): ditto. (TIME_SET_LOCALTIME): ditto. (time_utc_p): use the above macro. (time_localtime): ditto. (time_localtime): ditto. (time_gmtime): ditto. (time_to_s): ditto. (time_add): ditto. (time_sec): ditto. (time_min): ditto. (time_hour): ditto. (time_mday): ditto. (time_mon): ditto. (time_year): ditto. (time_wday): ditto. (wday_p): ditto. (time_yday): ditto. (time_isdst): ditto. (time_zone): ditto. (time_utc_offset): ditto. (time_to_a): ditto. (strftimev): ditto. (time_strftime): ditto. (time_mdump): ditto.
4c2e9430917f86266f42cee05b34bd176a501276 2009-04-25 * time.c (time_succ): refactored to avoid gmt variable. (strftimev): use TIME_UTC_P. (time_strftime): ditto.
c8f938d0b5c322d8d82d431cf6bead9e51a33289 2009-04-25 * time.c (time_get_tm): take time_object instead of gmt.
c7cfaac6686e20871ada91c6b5872b6405c34ecc 2009-04-25 * time.c (time_mload): use TIME_SET_UTC.
939383275c555c1a23cee3d41676aee90e843b92 2009-04-25 * time.c (TIME_COPY_GMT): new macro. (time_s_at): use TIME_COPY_GMT. (time_succ): ditto.
0dae2c910fa646a2b41d33f0b4d1dad818eb00da 2009-04-25 * time.c (month_arg): extracted from time_arg. (validate_vtm): ditto.
d75996ec8ab58195c0442c4a891e567030b286b1 2009-04-26 * time.c (time_arg): unused variable removed.
d2214aa2fb317cec985a4e4c20c01dfe42747a74 2009-04-26 * lib/rake.rb: use RbConfig::CONFIG instead of Config::CONFIG.
ebd2090d29afbdbc8792166b3a35c7ead69dcc3c 2009-04-26 update rdoc.
d5bfa31f824005f7a8ce6c2bae1fafd2461aad80 2009-04-30 * runruby.rb: use RbConfig::CONFIG instead of Config::CONFIG.
c42a5df5c15514f3bdd385fcc4209afede940686 2009-04-30 * ext/extmk.rb: use RbConfig instead of Config.
60b6f22e44f2a172979a5a709dc7f02f2cc5bc43 2009-04-30 fix typos.
c36aeb5360eebb9ef94aa0b47f2023b04606a882 2009-05-06 * math.c (math_gamma): use a table for positive small integers.
91892b820e53ccd9620a6374416eb928375acd2c 2009-05-06 update rdoc.
015821d17e178c1f4873120c2f4c07f3ae05f52a 2009-05-09 describe more conversion functions between integer and VALUE.
e9e7e6202555165e28684ac9af9d4b9f1027a776 2009-05-09 rename argument name.
d3cf82e22a69bfde02278be5371d9adc084f8fc7 2009-05-09 rdoc update.
f64e076260cf60b25d78dcfe157c3b4e8c704ce5 2009-05-12 * time.c: support fixed UTC offset. [ruby-dev:38326] (leap_year_v_p): new macro. (TIME_FIXOFF_P): new macro. (TIME_SET_FIXOFF): new macro. (time_init_0): renamed from time_init. (time_set_utc_offset): new function. (vtm_add_offset): new function. (utc_offset_arg): new function. (time_init_1): new function. (time_init): call time_init_0 or time_init_1 according argc. (validate_utc_offset): new function. (time_localtime_m): new function. (time_fixoff): new function. (time_getlocaltime): take optional UTC offset argument. (time_get_tm): support fixed UTC offset time. (Init_Time): make Time#{initialize,localtime,getlocal} varargs.
87d95fdbc892847d52145a56037c6dae0d4691ff 2009-05-12 add test.
6727d4a14a029f9b79c4bc50142e0bf9122fb055 2009-05-12 * time.c (time_init_1): unused variable removed.
e7ba39350a1ed1ab2789afe4f2401a7f54ff8bb4 2009-05-13 rdoc update.
8ce34a86a27b9fc05fe5d35d387e34f8ab217531 2009-05-18 * lib/pathname.rb (Pathname#sub): suppress a warning. [ruby-dev:38488]
cef83891cac79d54c71d4e96579556b92d127c77 2009-05-18 * test/test_time.rb: make tests timezone independent. reported by zunda. [ruby-dev:38492]
1d9f6c92b7695639df5ad56234e22635665495b1 2009-05-22 update rdoc.
6eebf142e1cb80659d8395420590947809ff5fb3 2009-05-24 update rdoc.
0fd221bd781a28f46794d250236ed21da5ae1022 2009-05-27 * lib/uri: don't set @parser if it is DEFAULT_PARSER for marshaling URI objects between Ruby 1.8 and Ruby 1.9. [ruby-dev:38377]
5aac65484e00f78ca4c09d3b47506ed088da8366 2009-06-15 * vm_eval.c (rb_call0): refine exception message for hidden objects.
32004e3c46bb323a6559ad0a357dc3de1008abce 2009-06-18 don't use /tmp as example socket path.
fa2ab2fca38af189b857cad8031ee1f4124d7121 2009-06-20 rdoc update.
5baa0431b94b220325ae09692938e2d1271d5b7f 2009-06-20 rdoc update.
b205b5e7b62529435ad566c253ebd5cf9ade7033 2009-06-22 fix tests for load_path.
fc6402829157928e66019ebca577d51fecf8d179 2009-06-22 * io.c: remove __CHECKER__ test.
98aac1e6519eb7c09bc089c65fa804ed6c011ac2 2009-06-22 * ruby.c (process_options): don't specify .so for encdb here. "." is replaced by "_" in load_encoding.
5202b22bfec6539620b310e4ea2cdb49fa251bba 2009-06-22 update rdoc.
cb5eb54da7986c2370c5d97c746e1247b54956e7 2009-06-22 $: doesn't contains "." now.
907415bbb6c5eeba9926f1de3689e553aaa116a1 2009-06-23 describe IO#fdatasync.
c6480cd096da34cd36bea89d0a9b44577ca69570 2009-06-24 * time.c (time_s_now): new function. Time.now don't take arguments.
2f262b2351aa5acaa072a1d288c54545bfa7c924 2009-06-26 reduce tests.
c86115e9961c85736d2672a015e3113780551db1 2009-06-26 * ext/pty/pty.c (pty_getpty): check dup failure.
2f8b6234cd5b5a6b1bd5e2abdd07813e81f6e0c5 2009-07-01 * include/ruby/intern.h (rb_time_num_new): declared.
d516a3e4710d0583317dbf8d068242b27948435c 2009-07-01 rdoc update.
2cb0c380143550469504d1fef6af16d40cd7d365 2009-07-01 unused variable removed.
36b84733f4493ef6c259ac9cc83291980cd68c36 2009-07-01 * time.c (quo): return an integer if possible.
841cf3b9488c0e7ea23b92acbb9078dee3347deb 2009-07-01 * time.c (num_exact): use to_r for T_FLOAT.
6897fddd656479cdd88d42aaea4ce65d369e2bc3 2009-07-02 don't use a string for Time.at argument.
26f32868c73d6550fc7df69b7f4a7d0a2bfac3b6 2009-07-02 * time.c (find_time_t): time guess strategy refined.
e8f835a10ed8d3aad77ebf5ccfe30d494f9d08aa 2009-07-02 suppress a warning.
4e195adda53ea444db983d6be96a61ee078dec18 2009-07-02 * time.c (find_time_t): time guess strategy refined again.
7eb5c0ac7472f7e73fb286f7e6f114b7e6f0fc85 2009-07-03 * time.c (find_time_t): less number of guesses for hh:mm:60.
b5279bb551daae4ad7b4585864b017c25c9f8d5e 2009-07-05 * time.c (find_time_t): fix Time.local(2009,2,31) failure on 64bit time_t environment.
26a1d97d8ccca6987549b3b4b5cdac61dacfdfe6 2009-07-07 rdoc update.
e13fb8029b87943ab8af2211226b7c9347d3976d 2009-07-12 rdoc update.
6dc1fea5526e858985043af075c0bb712a056549 2009-07-17 remove test for recursive hash key. [ruby-core:22921]
c7550e2a3d7b048e3c2b516fd5c7449c32f0a105 2009-07-17 * ext/socket/init.c (rsock_getfamily): return AF_UNSPEC if getsockname is failed. [ruby-core:24383]
0101958745f8a18679a71f378656f0ed5184e36b 2009-07-17 * array.c (recursive_hash): reject recursive key.
2cdcc564fd9a15e8f6d7f20c972cdc6e98243b67 2009-07-17 * struct.c (recursive_hash): extracted from rb_struct_hash. reject recursive key. (rb_struct_hash): use recursive_hash.
bc2df4136536496e72a8bbdf14a8980f65b259b8 2009-07-17 * range.c (recursive_hash): extracted from range_hash. reject recursive key. (range_hash): use recursive_hash.
bdfe1c7f8e5afbda4be37285370edb5153a4626e 2009-07-17 fix skip condition.
3d57dfa01b8603da4d63a85014fa4cd0b640048e 2009-07-19 * ext/socket/lib/socket.rb (Socket.accept_loop): rescue IO::WaitReadable instead of Errno::EWOULDBLOCK. (Socket.udp_server_loop_on): ditto.
666049981f1bb5a886a7ae837f800946f0192adb 2009-07-19 Use UDP for sendmsg/recvmsg tests. sendmsg/recvmsg doesn't work with SOCK_STREAM on Windows.
5453433223fea3fbbae2399c4c5ee66f843a238a 2009-07-20 * ext/socket/lib/socket.rb (Addrinfo#family_addrinfo): fix a typo in error message. patch by Nobuhiro IMAI. [ruby-dev:38828]
aea1193a9635f732315043248dee6b3da48739a1 2009-07-20 updated.
3aabcaa3dab84018b9dfd7edf7ad5c48f007e6f3 2009-08-11 rdoc update.
2772c80ce01d097df86336ce27b30610d6bfcc29 2009-08-18 * enumerator.c (enumerator_peek): new method Enumerator#peek. (enumerator_next): don't rewind at end. [ruby-dev:38932]
3b4949ffa8602bf5b8fb4be880b9c73c9375d8fa 2009-08-19 * enumerator.c: implement Enumerator#{next_values,peek_values,feed} and StopIteration#result. [ruby-dev:39109] (struct enumerator): replace no_next by stop_exc. new field feedvalue. (enumerator_mark): mark feedvalue and stop_exc. (enumerator_init): initialize feedvalue and stop_exc. (enumerator_init_copy): initialize feedvalue. (next_ii): send yield arguments as an array. return feedvalue. (next_i): generate StopIteration exception here. set result. (next_init): initialize feedvalue. (enumerator_next_values): new method Enumerator#next_values. (ary2sv): new function. (enumerator_peek_values): new method Enumerator#peek_values. (enumerator_feed): new method Enumerator#feed. (yielder_yield): return the yield value. (generator_each): return the iterator value. (stop_result): new method StopIteration#result.
0c0f75440092adc29c5b6edac00ded1899c67805 2009-08-19 * enumerator.c (next_init): don't clear feedvalue.
fb99416115e8e48e6ac8aefefa6221cf572024ad 2009-08-19 rdoc update.
ce46bc63456390a66c7589d3591dab1e55e27561 2009-08-19 rdoc update.
3a855da47b867e24428582b0a20aa1ea7e4dc2af 2009-08-21 * enumerator.c (get_next_values): extracted from enumerator_next_values. (enumerator_next_values): use get_next_values. (enumerator_peek_values): ditto.
7609494ffdd74aad9fe9aa4ce6da55e8e50300fb 2009-08-21 rdoc update.
461bd62fec54d1026ef2496fbc9b9fd676f4d9d9 2009-08-21 * enumerator.c (ary2sv): add dup argument. (enumerator_next): call ary2sv with dup=0. (enumerator_peek): call ary2sv with dup=1 to return duplicated array. (enumerator_peek_values_m): new function to return duplicated array. (Init_Enumerator): use enumerator_peek_values_m as Enumerator#peek_value.
b2a83ef6f2bcd154dd10fab9fce840d501e55b45 2009-08-22 rdoc update.
c89714924c368ebb053cd3a0db079183e1468daf 2009-08-22 fix rdoc.
dfc3fccef31ace6f26ac96388a441b668abf092d 2009-08-22 * ext/syck/rubyext.c (id_hash_new): new function to create a hash which key is compared by object id. (syck_parser_load): use id_hash_new for bonus->data. (syck_parser_load_documents): ditto. (syck_emitter_reset): ditto.
97ed18f1da96c99e0482141d9331c6743352f33f 2009-08-22 YAML parser don't need identity hash. revert the part of previous commit.
00b8444c930c3b9ce8c422c97496dd15bbf050e5 2009-08-22 fix typos.
832fd6825ce0878688cb60946fccd8a5289224b2 2009-08-22 * thread.c (rb_thread_schedule): don't recur infinitely. (rb_threadptr_execute_interrupts): ditto. [ruby-dev:38060]
0ebb7c1c9bd4d87599e948b8af6ed9d12409681a 2009-08-23 * bootstraptest/runner.rb (Dir.mktmpdir): updated to latest. (in_temporary_working_directory): temporary directory name changed.
7c2d363baed3fd43a1b29bab1f177a514e0b785c 2009-08-23 * bootstraptest/runner.rb (main): "usage" description updated.
4a9bca2496f66b44b9fff0377443715a03c6ddc7 2009-08-29 * time.c (init_leap_second_info): use TIMET_MAX.
8b32a1de29b09e4bbd9671db7172dac245611105 2009-08-29 * timev.h (TIME_SCALE): defined as 1000000000. (struct vtm): subsec is replaced by subsecx. subsec * TIME_SCALE == subsecx.
fc6be8cdeb2efa3ef9498b728f5d6c27881f29fc 2009-08-30 * bignum.c (bigmul1_single): new function specialized respect to multiply two single digit bignums. (bigmul0): use bigmul1_single.
570d8f55b225dce01008c8fa879e85ad874ce18b 2009-08-30 * time.c (eq): apply RTEST. (ne): ditto. (add): avoid method dispatch for bignums. (sub): ditto. (mul): ditto. (mod): ditto.
dcf2aad3a588f75e21bc22c269d652e5b8255672 2009-08-30 * time.c (add): shortcut implemented for fixnums. (sub): ditto. (mul): ditto.
ab0d1d27920d10c71a9216490d929e351be32e69 2009-08-30 * common.mk: dependencies updated.
44320bc32c34ed0b330c647258f623af6d1dd17a 2009-08-30 * time.c (find_time_t): use mktime for the first guess.
78a54607b6cc856e43099d3d8c92a78382d4192b 2009-09-05 update comment.
5ced9a4395b2eca37662df20f5a35abbede58898 2009-09-10 * test/ruby/envutil.rb (assert_normal_exit): Don't use AssertionMessage.
3707fd4941f4eed6c442180a0ae19d92e6d39b08 2009-09-10 * test/dl/test_cptr.rb (test_free=): test SEGV at first. [ruby-dev:39269]
3ce642f5af3bff519102185538133cd620237c2c 2009-09-10 * test/dl: use require_relative to require test_base.rb.
717b5a5f2d4761ccf2775ccb6c9931008773ad6c 2009-09-10 add tests for open-uri.
8f0b4e49ca01216823f5941794ee309412c4c638 2009-09-10 renamed.
726caa59a96e3d6068e0ad1c0d8c7b9b2649f6c6 2009-09-11 more tests.
8933356469fb87136f3df28c6ad9e3cf31959cce 2009-09-12 more tests.
ffad7d737c0cec88ccb5c3ce59e59a2b7d6647ac 2009-09-12 refined.
f34cf072a4bcb135e2cc099d6f9f5dd2cecda269 2009-09-12 add https test.
5ee445bc0c978076946de998e62193ccaa9b29dd 2009-09-12 test proxy log.
c35f659524131bfd04be93d1cd9e4508f687ec8c 2009-09-12 test CA certs dir.
188e9667dc10a922a827bcf3cfe9f62aec0bcc5c 2009-09-12 * lib/open-uri.rb (URI::FTP#buffer_open): use the port specified in the URI.
797749c21938b27098d758a2d837b42996c0c310 2009-09-12 test ftp over http proxy.
0ab4b21d8159bd09d211652f8cb9e884613f8ff2 2009-09-12 fix tests.
33d5c137751b8dba342beb8b9f7e200a6531df35 2009-09-12 test invalid redirect location.
db2be749b470c28f1feee7d33d5774a3ed6cb36b 2009-09-12 * lib/open-uri.rb (URI::FTP#buffer_open): fix the %2F handling.
0466f33486635fe69c9ce1eeb900079bf0a3c0a4 2009-09-12 test read_timeout.
945b604e3adc16aaf421a6df80d40a00a70a9226 2009-09-12 extra commas removed.
0cde80d36a498655f3a6cdc792130e7f39fbe776 2009-09-13 * lib/open-uri.rb (OpenURI::Meta#content_type_parse): strip quotes.
98697d36171a97854458caa78417ab26dc1af83e 2009-09-13 make tempfile prefix more descriptive.
242e2aaec2d0e755a54c3cc4c99d2c4d9046f4db 2009-09-13 remove temporally files explicitly.
2c7d6b50e479d47643356a3a99f68d0914b1a237 2009-09-15 * configure.in (--enable-frame-address): removed.
87105a7da42714b6999246ae2e5c152d9f5ae333 2009-09-16 * time.c (time_mdump): error message refined.
475074d5daca27d3cfd2e475d90fa91246c1f25c 2009-09-22 * enum.c (enum_chunk): new method Enumerable#chunk. * enum.c (enum_slice_before): new method Enumerable#slice_before. [ruby-dev:38392] [ruby-dev:39240]
d3c6462788dc69c74f29e76007448cd4e4e787d2 2009-09-23 describe Enumerable#chunk and Enumerable#slice_before.
98b0d9f9224bdf4aaf9487ca9a0af216bc6f9cc1 2009-09-23 cosmetic change.
7728a17a27f9b9eeac9bc2ec04e54dd6fd3b3160 2009-09-23 * lib/thread.rb (ConditionVariable#wait): add timeout argument. [ruby-talk:346154]
fc58a6c5bd4b5cc73ca9525c0707d041acf86e2b 2009-09-23 * enum.c (enum_minmax): reduce comparison. (enum_minmax_by): ditto.
e6f4473316c528d4db8d131e6c08fc61cb478e69 2009-09-24 rdoc update.
fdb3e278f52e0375c9eaa75df0a12c8e17f5fe58 2009-09-25 rdoc update.
0ff9cf362531322c10312a5df5d709a91a601c2b 2009-09-27 fix rdoc.
50bbca9d5c04f682f9146cef4602a03967d6238e 2009-09-27 * enum.c (enum_minmax): use struct for memo. (enum_minmax_by): ditto.
4319c0235d129e9a535432703e38a032fcf33e8f 2009-09-27 * lib/pp.rb (PP:ObjectMixin#pretty_print): delegates has no inspect method. [ruby-core:25804]
9278fab680e2bbbe9e443ad8ef2cec631800de2e 2009-09-27 rdoc update.
0eddab8404d3bd70d6542c800ff2a565b52ae8ad 2009-09-29 * lib/test/unit/assertions.rb (assert_equal): use Time#subsec if nsec is not enough to distinguish arguments.
18a07e9d4b91e7ddd3b21d906ca2ab880cd01d64 2009-09-29 * include/ruby/intern.h (rb_struct_iv_get): deprecated because it is not used and access internal structure.
6ab0a7912513e6f6aab723ec4461135ff7100eca 2009-09-29 fix typos.
9dbf7dc6ddb20e72a5662ae633ee7c02aed5b6e0 2009-10-02 unused svn:keywords property deleted.
e9c728fea305bce19e712eeff9cc43d1994f069a 2009-10-02 update rdoc.
2e70b9e70db553890d7f8f864c0c66b294c3c845 2009-10-02 * enum.c (enum_slice_before): take a pattern if no block given.
4b6c600a9bbc7e3c79bb0d86a32710b9cc4011f6 2009-10-02 get rid of unused keywords from svn:keywords.
5bdef2f9849d8a6c3dd24cf3542d5296eff5c752 2009-10-02 rdoc update.
a21b7ddf26ed73dbb72c6403bd0c96d76f7410f0 2009-10-02 rdoc update.
31959b52ef5e10ec94e692f976b91ea6e416db0e 2009-10-03 * enum.c (slicebefore_ii): use id_eqq.
ea56a70eb81e8f7a859f854821481f1cfc18083d 2009-10-04 add assertion message.
45306441865722cb1ea2a08c514b743ce5d512aa 2009-10-04 wrap by a module.
c984f7712230ffbbcb702923e421c306ca98f40b 2009-10-05 rdoc update.
1c544fccd27d399a444353905c8d921b1d1c5186 2009-10-06 * io.c (io_reopen): avoid close if possible.
230411caa2cf512a9f82d917c10d2785e936bf16 2009-10-06 * lib/resolv.rb (Resolv::DNS.bind_random_port): bind to "::" for IPv6. (Resolv::DNS::ConnectedUDP#initialize): specify is_ipv6 argument of bind_random_port. [ruby-core:25970]
8d79d61202b16dcc5594f24fdb2ff20893c51311 2009-10-07 update comment.
abd31dc2ad9e11e71ff512b46a606ccbb207925f 2009-10-08 * ext/socket/lib/socket.rb (Socket.udp_server_recv): extracted from Socket.udp_server_loop_on.
2ea82d336d5aadf0ec679300a1b6585bd69a48fe 2009-10-09 * lib/resolv.rb (Resolv::DNS::Requester::ConnectedUDP): disable reverse lookup. (Resolv::DNS::Requester::UnconnectedUDP): ditto.
f65dbbd24ad8c550575c661223008ea491a3a777 2009-10-10 * ext/curses/curses.c: use rb_thread_blocking_region to avoid rb_read_check. This makes other threads runnable in getstr and wgetstr. (getch_func): extracted from curses_getch. (curses_getch): use rb_thread_blocking_region with getch_func. (getstr_func): extracted from curses_getstr. (curses_getstr): use rb_thread_blocking_region with getstr_func. (wgetch_func): extracted from window_getch. (window_getch): use rb_thread_blocking_region with wgetch_func. (wgetstr_func): extracted from window_getstr. (window_getstr): use rb_thread_blocking_region with wgetstr_func.
3e54f0ee1ff1081a0576a141d27616d29b527393 2009-10-11 rdoc update.
334241e3ed0fdd8d654aab56129c50008e797b7f 2009-10-11 rdoc update.
5d372d0c4023c283765e5eee3b653048dbf06fb0 2009-10-12 fix rdoc.
391e5df571e8f5bcef3ee0cd227002056cbcbe5c 2009-10-13 add comment.
05eb30494760d1723d8fe18d902cdb9f8b9a5ab1 2009-10-14 * ext/socket/init.c (rsock_init_sock): validate file descriptor.
02689d147d46776a379b8e31cf0c817bf153da9d 2009-10-16 * prelude.rb (require_relative): defined as a module function of Kernel.
859a9857156e19c54d9569a24387154d87ec5006 2009-10-17 * parse.y (parser_yylex): fix token even after trailing under score.
775174bb76cfb5e33097ba886c28d139bc4e90d1 2009-10-17 fix a typo.
7db062cdc0b6650882c1ba3b1e014a25b4afacf4 2009-10-18 * parse.y (is_special_global_name): add boundary check.
4079c46912da9608dd5cc933d94a29baa99dd2e5 2009-10-22 * test/ruby/envutil.rb (assert_in_out_err): test_stdout and test_stderr should be an array.
525be7f048c6463c0b40c35a76f72cd73bcd25fc 2009-10-23 fix a typo.
843acddbe167ff9d47a71b27eb4264c0d88b6cae 2009-10-23 * io.c (io_cntl): update max file descriptor by the result of fcntl(F_DUPFD).
ed58a66fa8bf2af5e085529887e16c2a9498bb1e 2009-10-27 * gc.h (SET_MACHINE_STACK_END): use __i386. Some compiler may not define __i386__. Solaris 64-bit Developer's Guide: http://docs.sun.com/app/docs/doc/816-5138/dev-env?l=en&a=view
b9e0294edaceecb177401902f3809a45af666d7e 2009-11-03 fix typos.
9c4ac94a8ec63cfa477e6aa0bcc2cc790f3a5808 2009-11-04 fix typos.
02a15031b14ec56d0776b14c8e4351d09b3b2671 2009-11-05 fix a typo.
4319b48ab6aef267f1ff3e1e0a68b8d63a193765 2009-11-07 * lib/pp.rb (PP::ObjectMixin#pretty_print): use to_s regardless of instance variables.
d6f5da84e3ec73e439ba602b32d7fcc958d6bd59 2009-11-09 * thread.c (rb_gc_save_machine_context): don't save the stack pointer in this function. (RB_GC_SAVE_MACHINE_CONTEXT): call rb_gc_save_machine_context and save the stack pointer at caller side. (rb_thread_schedule_rec): use RB_GC_SAVE_MACHINE_CONTEXT instead of rb_gc_save_machine_context. (blocking_region_begin): changed to a macro. use RB_GC_SAVE_MACHINE_CONTEXT instead of rb_gc_save_machine_context. [ruby-dev:39659]
145f07fac22726cc4d11b35047ac44853a21d27b 2009-11-10 * util.c (ruby_strtod): use dval() consistently.
6ebdf24500f845b76e42d9f2b715773ad51730d5 2009-11-10 * thread.c (blocking_region_begin): define before BLOCKING_REGION. reported by Luis Lavena. [ruby-core:26670]
43bd807c43d25b31b29c6225b7d0f8ca6e67e40d 2009-11-15 add tests.
1aba3f9d76110311ac538a56203f035559643953 2009-11-15 * encoding.c (rb_filesystem_encindex): use default external encoding instead of locale encoding in Unix.
453890a97296d9e342384832bffad5af031d0bca 2009-11-15 tests refined.
e88009f40e93cbd33610266aa433dec6a8794f1b 2009-11-15 add tests.
5f221c31edaa2dc6bc23b7d7d2cff1393cc4ad6a 2009-11-15 add a test.
8c3f13f98d8d2280f1799d5e2e58260bb9eb71c1 2009-11-15 fix previous change.
31ee9fd9666986451a7709e77978efb1b3f063f6 2009-11-16 add tests.
85bf0a2eb62e17640644c42c5d37dee90a75ad29 2009-11-17 unused argument removed.
10b7e0e4adc7c2beb13b30a53ac2bdc03ab50d22 2009-11-17 rdoc update.
cde9a50b7528d3b400b9f966b28919ec3ab6ea86 2009-11-17 * io.c (parse_mode_enc): fix invalid access.
4c6eda226aeee4896c3dfc1ca6c2cacfc9788d27 2009-11-18 * io.c (fill_cbuf): extracted from more_char. (io_shift_cbuf): fix memmove condition. (read_all): use fill_cbuf directly to avoid ECONV_AFTER_OUTPUT. [ruby-dev:39708]
1e7f2caa1f4f823d128261df4441c9e30236bc4a 2009-11-18 add test.
973841cb73ae6bb41f15325400493ad7680bb67a 2009-11-18 * io.c (MORE_CHAR_SUSPENDED): renamed from MORE_CHAR_CBUF_FULL.
2038c0f360f3fcae967f3966a54dc51e49013469 2009-11-18 * vm_eval.c (rb_search_method_entry): show the type of the hidden object. (rb_type_str): new function for above.
34286de2e28f9dd7665897904f92a1883ac3c2b9 2009-11-19 move Test::Unit::Assertions#invoke_ruby to EnvUtil.invoke_ruby.
0089bfe4ddf38e517e8e76cc3f721ed53c66d76d 2009-11-20 * vm_eval.c (rb_search_method_entry): avoid trigraph.
5181fa2a558ca99fc2185475d540b36f9680532d 2009-11-21 * vm_eval.c (rb_search_method_entry): show flags and klass value in not implemented error message.
cc128e3ecfba3a2eae56fcd5e4bccc16b27551b3 2009-11-22 * enc/trans/newline.trans (fun_so_universal_newline): generate \n after \r\n detection instead of just after \r. [ruby-list:45988] [ruby-core:25881] [ruby-core:26788]
3302b8fff571bfac2ac26376586d257f29fa44b3 2009-11-24 * include/ruby/intern.h (rb_strerrno): declared.
3861ba9f499af64f0677cae0e84c7c00dd70e484 2009-11-24 * error.c (rb_strerrno): return "UNKNOWNERROR" for non-zero unknown error.
ff9d9088329fc8270d1d9b89faf9187c33a854ac 2009-11-24 * include/ruby/ruby.h (rb_bug_errno): declared.
db1564ec1d48dd2e898c7ca11eed523e92c78f46 2009-11-24 * defs/known_errors.def: more errors.
54370de9f4c01ba43752057b602bafc5be293665 2009-11-24 * strftime.c: %Y format a year with 4 digits at least.
8f5865e25163ca82b9608af58498e72f038f593f 2009-11-24 * error.c: include errno.h at beginning.
9585749e8eee4bb5bb0a52e0aea2716746f9d90c 2009-11-24 * test/ruby/envutil.rb (EnvUtil.invoke_ruby): raise Timeout::Error instead of flunk. reported by Yusuke Endoh.
fe976467437ade210d7b405614f8b8ac37aa31d7 2009-11-25 * vm_eval.c (rb_search_method_entry): refine error message.
3f664b30fc72dde0197d29dde7ad31d9a0e1535a 2009-11-26 rdoc update.
89214aac7a140878bae93c183040c56d62158fe4 2009-12-06 fix indent.
5e795ef8f6bf38d97188b989b0f6e46a66b63c57 2009-12-06 * lib/find.rb (Find.find): reduce stat system call.
785191b12d23830480a75635275dadf30f4724d9 2009-12-07 add a test.
3512a38d3be382aa4be162251ceb9222a7f66a83 2009-12-07 * file.c (rb_f_test): use string form in unknown command error message.
507f700dd446d6e20d4859308a67ab77a5821e53 2009-12-07 rdoc update.
e82e2beb7c2a10a0f9dc73f0356f2cc2a02bfd66 2009-12-10 unset HTTP_PROXY and FTP_PROXY.
136c25ebf035c62933c248b5f833463466021541 2009-12-10 unset HTTP_PROXY, etc.
71ab182911602baa7facb1ffc71146ce8d376938 2009-12-13 * test/ruby/envutil.rb (invoke_ruby): call to_str for stdin_data to reject non-string.
c48a4c293650efe407049e6aceed53fcd35a741b 2009-12-13 * lib/find.rb (Find.find): sort directory entries. [ruby-dev:39847]
8dc14638eaab3f03a9ad504af4c6ea96b91181a1 2009-12-13 new test file.
b3ea5a1789bdb9b52aaa7e37bfbab89094ef0f06 2009-12-13 add a test.
4df4a7430865257795938c3dd791e3c0afee8778 2009-12-14 add tests.
92e9bf7a59acf3b625b6ae7e2020a49336213856 2009-12-14 * lib/find.rb (Find.find): narrow rescue region.
779aba2d01f0cdef77fb34db0199397b67f5088b 2009-12-14 * lib/find.rb (Find.find): rescue only ENOENT and EACCES for lstat.
9ab779aad1484a25ab1b9b0d16b35ff8064a7f53 2009-12-15 * lib/find.rb (Find.find): rescue more exceptions which is possible to occur by other process change the directory tree.
6aafca91dba6ef3bfe1de2bedadf77fe75b17ef4 2009-12-15 add tests.
8d7677b49838726b724a6c72e30ae082b311872e 2009-12-22 add a test.
cbfdacdd36159981544edaf540aa1611e2cc6a3a 2009-12-25 add tests.
4d4ed5640c73f5be7920778b009b168beb10061e 2009-12-27 rdoc update.
c0b4e90f08a188430c17e5668603704906292088 2009-12-31 * tool/mkconfig.rb: generate RbConfig.ruby in rbconfig.rb.
1dc1bf28abca649f1bf575982a12838593506d71 2010-01-02 * lib/resolv.rb (Resolv::DNS#initialize): new option :nameserver_port. (Resolv::DNS#each_resource): pass port number. (Resolv::DNS#make_requester): ditto. (Resolv::DNS::Config#lazy_initialize): initialize @nameserver_port instead of @nameserver. (Resolv::DNS::Config#single?): return port number addition to the nameserver. (Resolv::DNS::Config#generate_timeouts): use @nameserver_port. (Resolv::DNS::Config#resolv): yield port number.
50b8893d56c33c74191039ca39d0e96cfd89302d 2010-01-02 * lib/resolv.rb (Resolv::DNS::Message::MessageDecoder#inspect): implemented.
2a2626406427b38abf85b01bda2805fa381689b4 2010-01-02 rdoc update.
4aa0d9f5c3fc97864201c0436eb3b67ee3a59060 2010-01-05 describe RbConfig.ruby.
7c6df6dc170a7e44c749518b06b0a4877f48c6ca 2010-01-11 add a test.
f86cca6f55ce0e9ec50bc1cb61718d02ebe31e10 2010-01-11 add ML ref.
853dd6cabe692251376271421be433d68bea2865 2010-01-12 * prelude.rb (require_relative): use File.realpath. [ruby-dev:40040]
e1b928c59857f976efe421130f7c2e9ab6b746ef 2010-01-12 delete RUBYLIB for ruby spawned in test_no_curdir.
8001de14343b275b26470203f05f43cb9ede1d94 2010-01-12 add ML ref.
d60d63ef804cad17387f8726fa6bdfec288300ce 2010-01-12 * file.c (realpath_internal): call rb_secure.
f6f3d1bc0e24cca8e369b09c68c26813a414248a 2010-01-12 * string.c (rb_str_set_len): call rb_str_modify.
aac3a6bd97b3556d5c4e161024c3206fde978c5e 2010-01-13 fix typos.
55a4c972dffeab1589b44a9eeb69e8a17b87cd1d 2010-01-13 add tests.
d5a96ece8548020e5c27059f924e11e9d4c2f90e 2010-01-13 * time.c (time_mdump): use nano_num and nano_den instead of subnano to avoid Rational class in marshaled data which prevent unmarshal by Ruby 1.8. (time_mload): use nano_num and nano_den.
49ab7b42383ecd1d8194e17f52c8e3f9273e1459 2010-01-13 update rdoc.
4bf4ddb693b885a5ce9b9ad983c4743627ae29cc 2010-01-13 * time.c (time_to_r): convert to rational if internal representation is not rational.
1d674dc54730b7ffe900146139cbac13fe967f50 2010-01-22 * time.c (time_mload): add submicro into vtm.subsecx. [ruby-dev:40133]
4b8e14c978bf1300b6528430c28aab21865a21f4 2010-01-24 * string.c (rb_enc_strlen_cr): increment by rb_enc_mbminlen(enc) for broken byte sequence. [ruby-core:27748]
83d9e9f42e1f704dd5a412b32d9264403d0b488a 2010-01-24 * string.c (rb_str_inspect): increment by rb_enc_mbminlen(enc) for broken byte sequence. [ruby-core:27748]
2979842520060311909874e300ef943cca2d215c 2010-01-24 rdoc update.
a967f738c83b960f23f5b04403a17ca37f049e25 2010-01-25 * lib/matrix.rb: suppress warnings.
37679ee584e409088a2f083594e3c4ccba486e13 2010-01-25 supress warnings.
46c8b826fde1093c5b41e987ac8b0c8ea3eaaf40 2010-01-26 don't gnerate core file.
fe98a03c532936b80199e84fc5d94bbe295bdaf0 2010-01-26 * ext/socket/extconf.rb: suppress a warning.
96542c36786fb4dd6a94d0b83834f267478f2241 2010-01-26 * configure.in: test unsetenv returns a value. unsetenv is void in older BSDs (FreeBSD 6 and OpenBSD 4.5 at least).
6ce499423142f45c3524a611e3b7da09eea8154e 2010-01-26 suppress warnings.
bf4a6a0557355a2945dedabe1e494417deaf7073 2010-01-27 suppress warnings.
147a09f86ea0e420789d4127f5c1498bde3a4686 2010-01-29 suppress a warning.
29d994d33d3fdc0fe8fa1c1b002c32a22c8d52d5 2010-01-31 update rdoc.
d784451678c248b69bced992d9d74f83cfef9995 2010-01-31 rdoc update.
8458c38590e80b3057f9361804405bbb2fe4a10c 2010-01-31 update rdoc.
48d402db88caa3e3d908a8691c421cf66f65a1de 2010-02-02 use require_relative.
f7d5887fdb6c74856dcc390aebe61b1a7d8e6fd9 2010-02-02 unused variable removed.
688ca71c13c46ef7df022845266eb4549b98f38c 2010-02-03 * file.c (realpath_rec): rb_path_last_separator may return NULL.
e7d267c42a13ca83c8c2ca1718e0fd92a83957ed 2010-02-03 * ext/iconv/charset_alias.rb: pass block argument to outer local variable.
85518db978445c7b0dc700dbc10219860ff9ac3b 2010-02-03 add comment.
19b2909ee87c67fae96f77637b3245b81cbce722 2010-02-05 * random.c (fill_random_seed): don't use O_NOFOLLOW because /dev/urandom is a symlink in OpenSolaris.
a68c79f7166097daa2a5cd037c04859465c23257 2010-02-05 fix typos.
cef8a996bebd0a6102f92fc6c4976f282e1f64fa 2010-02-06 fix a test. OpenSolaris cannot remove the current directory.
fcd2fb4e871f3787f34b05cffeb7e5df7b04f29f 2010-02-06 * math.c (math_lgamma): initialize sign because lgamma(NaN) doesn't set the sign in OpenSolaris.
666409ba5011a86267d7a54541ce6e69b9e59550 2010-02-07 * lib/rake.rb (Rake::FileList::ARRAY_METHODS): fix test failure by <=> definition at Kernel.
dd4537ad99716a106d99d624bdb97a1d66ba8721 2010-02-07 * bootstraptest/runner.rb: sort test files.
fe0598ac828ffa93e960fc7f5a6c86a6bc2572c2 2010-02-07 * sample/test.rb: sort files for syntax validataion.
7e833da5feab7c68924280e4e183784504e664ba 2010-02-08 * ext/socket/socket.c (socket_s_ip_address_list): obtain the scope_id of IPv6 link local address on OpenSolaris.
d3004ccff3615f756fca8562dfad64b23f7e2454 2010-02-11 * lib/resolv.rb: fix [ruby-core:28144]. (Resolv::DNS#make_requester): pass nameserver_port to UnconnectedUDP.new. (Resolv::DNS.bind_random_port): change the is_ipv6 argument to bind_host. (Resolv::DNS::Requester#initialize): change instance variable to store multiple sockets. (Resolv::DNS::Requester#request): pass readable sockets to recv_reply. (Resolv::DNS::Requester#close): close all sockets. (Resolv::DNS::Requester::UnconnectedUDP#initialize): allocate a socket for each address family of name servers. (Resolv::DNS::Requester::UnconnectedUDP#recv_reply): read from the passwd readable socket. (Resolv::DNS::Requester::UnconnectedUDP#sender): use appropriate socket for the target nameserver. (Resolv::DNS::Requester::ConnectedUDP): follow the instance variable change. (Resolv::DNS::Requester::TCP#sender): ditto. (Resolv::DNS::Config#nameserver_port): new method.
d61a305270246ddc050e7b165b8242629957a25f 2010-02-11 describe the reporter.
aeed74a61a8bde71d5787fa960a62b388f6fea4d 2010-02-11 fix a typo.
c09bcd351af03eaadd44552f47a0fc85bf64075a 2010-02-11 * io.c (rb_io_oflags_modestr): return "r" for O_RDONLY|O_APPEND. [ruby-dev:40379]
1ad8521d44de917e759ff9d77d39f6f3f55215f5 2010-02-11 update rdoc.
36ff32040e6dceb8c3a6a67b11e663db6dcd6f06 2010-02-11 fix rdoc.
3c529cf5f50376c72a526925338ed998e241202f 2010-02-12 fix a test for Debian GNU/Linux squeeze (armel)
d6fb854ecbf48111a746009f559d642446b8d1c1 2010-02-13 * lib/tempfile.rb (Tempfile::Remover): new class to replace Tempfile.callback. port r24902 from Ruby 1.8.
2ce744032b38771dd1a6aa87b9118621bea3b3aa 2010-02-13 add a test.
0fd75b46b755dac01f6bc6ccdf40c8abf8e7d23d 2010-02-14 add a test.
47b8a0e7e4a04a28e57c3f9bb712a1f88d9e27bb 2010-02-14 avoid method redefinition.
795b03c71c7949c0c260139d6f8a3e289826fdca 2010-02-15 * time.c (time_add): propagate fixed time offset.
8d532a868933f574ac9fe31ee11ead9a459b0914 2010-02-15 * ext/zlib/zlib.c (zlib_mem_alloc): suppress valgrind warnings. http://www.zlib.net/zlib_faq.html#faq36
8fd5bf07581d683b32b2d24e5deedcb7e4997bbb 2010-02-15 * st.c (st_foreach): don't access ptr->hash after func call. It may access freed area.
9dbffb49fa69da2252028c8c9fbf0f5ad8c1c320 2010-02-15 * lib/pstore.rb (PStore#initialize): initialize @thread_safe. [ruby-core:27853]
76678bb526a8a4e6d4af3dffb1ebe6da6d5f9ccf 2010-02-15 * io.c: check lseek error by errno. NetBSD 4.0.1 may return -1 as a file position of tty.
792b3efa62bf7c876cba8a6c376057923ce175fa 2010-02-16 * file.c (rb_group_member): renamed from group_member. don't use group_member() in glibc because it's not valgrind clean. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570047
4651910af145c2b52c100385fbc7245f01846f72 2010-02-16 add a test.
d1925e649f31f01a61a2766b9aac1dc6420ffcd1 2010-02-16 use assert_finish because the test hangs on FreeBSD.
24421c835d85bdff2a8878cab1befc3255685b67 2010-02-17 * bootstraptest/runner.rb (assert_normal_exit): add :timeout option.
6dda216da1356099bb9021592d29c4fa7d16f84b 2010-02-17 add a test.
e8665a6bc271654de993e8cfca08164717236cd1 2010-02-18 * pack.c (pack_unpack): call PACK_ITEM_ADJUST for 'Q'.
54a61d3e2a130b4db054112b33e4fb4cb8818889 2010-02-19 rdoc update.
960beaac86e05a89601b9d685750202c7346a43b 2010-02-20 indented.
9d8bf3b9ee784de6cb54a210a601cf2dc662f8a9 2010-02-21 add timeout for test_should_propagate_signaled.
29860b0bbbaba0175d552846575c0784bb4e1fcb 2010-02-22 don't use infinite loop.
508ca62a6c9deb20603a8b2678bd5db35c4e6de1 2010-02-22 * ext/digest/sha2/sha2init.c: test OpenSSL more strictly.
c5f11b65935420042f8c915ccb5e6da3530e6dcb 2010-02-22 fix a typo.
6b11ee7288c83c3cd06273a156993369ebdb3f51 2010-02-23 call unix_server.close only if unix_server is not nil.
7fbf88960518a4b15f99279cd490f22e4eff3558 2010-02-23 rdoc update.
aba5263254440c57ec11ccb398f77693129f0e88 2010-02-24 * lib/resolv.rb: fix [ruby-core:28320] reported by Paul Clegg. (Resolv::DNS::Requester#request): raise ResolvTimeout consistently for timeout.
e53e5edab2dd2e38d50577e6b6c5fba0dadd064a 2010-02-24 * pack.c (pack_unpack): don't use OFF32 for gcc 4.5.
d3d57663a30a8c00381bb4e435c0182be73c9488 2010-02-24 * pack.c (swap64): don't redefine.
10226f650594c310c6d0062aae055516837a8c4a 2010-02-24 remove a empty line.
d255503f3bce9f41740f36ea5f167b8ae2fbc59f 2010-02-24 fix assertion message.
ee43611393834f0e10aa982831698a11c3c9ced4 2010-02-24 remove a empty line.
e599c936d85719bb54a42d3fc52e0b67ec044dea 2010-02-25 * pack.c: consider DYNAMIC_ENDIAN. refactored.
b1196bb3d86bcef80dd8cf07873febf10f12f0bf 2010-02-25 rdoc update.
07298aba22284e3eadc7d250205f365e3ff20d37 2010-02-26 * pack.c (QUAD_SIZE): it should be always 8.
d5a16d80be29f9aa39efe8854c324a9b6a43cc07 2010-02-26 * configure.in (RSHIFT): add parenthesis to supress warning.
069d271eb5b237b2274c382c5da011b43b0fa1d9 2010-02-26 * bignum.c: fix rb_quad_pack and rb_quad_unpack for environments which don't have 8bytes integer type. This still depends on little endian. (rb_quad_pack): use quad_buf_complement. don't raise for large values. (rb_quad_unpack): use quad_buf_complement. (quad_buf_complement): new function extracted frm rb_quad_pack. add one after bitwise negation.
8c9024763f6340d0fc64e21dd6ee052af8c6748b 2010-02-26 * pack.c: fix q and Q for big endian environments which have no 8 bytes integer type. (pack_pack): use rb_big_pack. (pack_unpack): use rb_big_unpack.
a971778b399ae42cc694a207cb0a5e3f3ae74d74 2010-02-27 * pack.c: check assuption on QUAD_SIZE and SIZEOF_LONG.
68691ab2ddfa8b2a85be1b00fea6291b3b76547e 2010-02-27 * pack.c: use integer types with explicit size.
95fd5f33c08b1d8f6645d7739a1268dc8c6fa5de 2010-02-27 * pack.c (swap32): use __builtin_bswap32 on gcc 4.3.0 or later. (swap64): ditto.
f828d53066ef30db67b167aad25919e34ed1571a 2010-02-28 update rdoc.
334244eb5d45e263874c739490213f4b87ab8e5b 2010-02-28 * pack.c (pack_pack): generalized integer packer implemented. (pack_unpack): generalized integer unpacker implemented.
58e8688f69776eb891abf9980d204015c3fddb1d 2010-02-28 * pack.c (pack_pack): use union to avoid pointer cast. (pack_unpack): ditto.
e1c33162cf821b5251559564242e0d91ad29a79c 2010-03-01 * ext/pty/pty.c (pty_open): refine the path for master IO.
5521b78fc31efffb45f2e904df59bd86c96345f3 2010-03-03 * tool/transcode-tblgen.rb (HEX2): extracted from regexps.
373ed885c69c521d025af632da41b05dce3faa7f 2010-03-03 fix rdoc.
ef7d0431a0c59839f555123ccd5ad06418209c0c 2010-03-04 add comment.
9ff10a20b5b28cb1f44e19ce5a32b07fb2382b7a 2010-03-06 * pack.c: fix the prototype of rb_big2ulong_pack.
c3c8c1e37c6fe0c032e079d1f61ce2a00df02b4d 2010-03-06 useless lines removed.
785b31bed4fbe10dd8fe92a7ef52782d2d1d1123 2010-03-07 * file.c: add optional basedir argument for realpath/realdirpath. (realpath_internal): handle basedir. (rb_file_s_realpath): extract basedir from argument list. (rb_file_s_realdirpath): extract basedir from argument list.
57d414a1c7f59b0e15490bc709d6dd361ef99deb 2010-03-07 add a test.
dc50480f6f2b3578c2295436850fb22614284956 2010-03-07 describe new optional arugment for Pathname#realpath and Pathname#realdirpath.
70d72bf807bf50672e64d431320f2e62c98ba6aa 2010-03-07 * bignum.c (rb_big_pack): use DIGSPERLONG and BITSPERDIG. (rb_big_unpack): use DIGSPERLONG.
7c269e72efa9e37150831e6d5d37f4f6f5622d20 2010-03-11 * time.c (time_round): new method Time#round. [ruby-dev:40595]
fb1d5520fa83bd34f6fde54350d2c7280d7c7a88 2010-03-11 add comment.
09492b5ab251982e440de039f7afc745d1fef8cc 2010-03-11 add tests.
ebfe278914d74595a02e0bbd9bbcfb265967dcc3 2010-03-11 describe Time#round.
73fc3b5a34edb7a681e0000d2879cb4a79772945 2010-03-12 rdoc update.
f4f7c3db4f53ef19cdd1ba075930c3c5fa5a9681 2010-03-12 wrap tests by Emoji module.
614619031b6d34d12f7bf2752c24eadefb9a8f8f 2010-03-12 indented.
7553fd299eb6a4467b82c1b46154092a76b714c9 2010-03-12 * tool/transcode-tblgen.rb: show cosumed time at last.
ad690e96cf0d5276548686df8e7fac12ec598d0f 2010-03-13 rdoc update.
fa37ab769fa4adac50959b514793e8d1a39a09ce 2010-03-13 * tool/transcode-tblgen.rb: reject ambiguous mapping.
ff39d22c3317b301da48b9e427c28795596971d3 2010-03-14 * enc/trans/emoji.trans: fix nomap_table.
760db25b55ac74c63b8349460c979ac5d9aaacff 2010-03-14 * tool/transcode-tblgen.rb: consider valid_encoding for max_input.
1db141ed13454411acbf0e77cb91408514eacbe7 2010-03-14 * tool/transcode-tblgen.rb: refactored.
8aa897fc05bed40efba33c9d41c29a8e28162372 2010-03-14 * tool/transcode-tblgen.rb (Action#hash): defined. (Action#eql?): ditto. (Action#==): ditto.
a73374bb5716287b82879e6ced116315aac77f7d 2010-03-15 * tool/transcode-tblgen.rb (transcode_tblgen): add valid_encoding optional argument.
2ce0d5db9679372350f837abf54878311142bc35 2010-03-15 * tool/transcode-tblgen.rb: ActionMap#each_firstbyte inlined.
e3a231d3d0ae6719854790eb9ee952f737b7f8fb 2010-03-15 * tool/transcode-tblgen.rb: more info in generating macro names.
32ea96f682aaf7d3e2683c5e6fbb886ccf89f3c4 2010-03-15 * tool/transcode-tblgen.rb: refactored to use tree as memo key.
34533445c8f7ce9359d126d1fa3388a466022207 2010-03-15 * tool/transcode-tblgen.rb: redundant loop removed.
dcff8e84d3528af37d7540a8613f9bd247623b1a 2010-03-15 fix typos.
0b6a0045aaf8de72b4ce39fe117b2ba88ccdcc15 2010-03-16 * tool/transcode-tblgen.rb: specialize for singletom mappings.
5f0be51c21b3fe699c7fd6929e74ca9ade9a4339 2010-03-17 fix typos.
f9d64323c8608646671923cdbb3f8870696556a4 2010-03-18 * tool/transcode-tblgen.rb: scan singleton mappings sequentially.
053d89ca2bde48126e058700799baa7ca370ca8d 2010-03-18 * string.c (rb_str_sum): don't call method for each byte.
4f74adc503a13bbd19d451cab7e6ab6b685776bc 2010-03-18 add test.
b5388e85387c03c133a685c5577d405ce2874b8c 2010-03-19 update rdoc.
772cc7a4f212fa3249f88c98b19645beb7f3d199 2010-03-20 * tool/transcode-tblgen.rb (each_firstbyte_range): tuned for less method calls.
9ce419a45c521d8c41773ad29cb9ccec3be05028 2010-03-20 * array.c (rb_ary_uniq_bang): the array is already unique if the length is zero or one. (rb_ary_uniq): ditto.
4b6a7a46e8f68ca77f8741cecc3108632bf34c9f 2010-03-20 add tests.
750c9916e28c0f8b97e4b4c261444d822a882c6c 2010-03-20 * tool/transcode-tblgen.rb (ActionMap.unambiguous_action): use Array#delete. (ActionMap.merge2): defined. (ActionMap::PostMemo): removed. (transcode_compile_tree): use ActionMap.merge2.
d0fa628d062b10a2befcfd48b33cdfd677f29241 2010-03-20 * string.c (rb_str_sum): use UCHAR_MAX.
82488cf2b9def045e7c9bbda6b1fe43eca174d47 2010-03-21 * object.c (rb_obj_hash): use LONG2FIX to avoid Bignum allocation.
49d993729fd9507b9ae950db5bfb419536846d40 2010-03-21 * tool/transcode-tblgen.rb (transcode_compile_tree): make valid_encoding mandatory unless from_encoding is registered in ValidEncoding. (transcode_tbl_only): ditto. (transcode_tblgen): ditto. (ValidEncoding): new function.
8e63c340b91f66ac3eceb864469003d12ba6000f 2010-03-21 * tool/transcode-tblgen.rb: reuse hash object.
daa739876f1bbd14b043a6361e9d434d324afff5 2010-03-21 * ext/socket: make sources rdoc friendly.
66390013a1eb01c7159412e673965093f05f8161 2010-03-21 * lib/resolv-replace.rb: specify super class for rdoc.
c9e4e4400ce01f8aa9e45283271dcf0559956140 2010-03-21 * ext/socket/rubysocket.h (rsock_revlookup_flag): declared.
0647517bda96e267eca7153ec33aa598015522f3 2010-03-22 * ext/socket/.document: extracted from ext/.document.
062780c83434a54e2c0d79a0530168e3a045f872 2010-03-22 update doc.
1a40be09d635c4b35008877c3fdf10c963e08641 2010-03-22 update doc.
1561d3fb8b2eb8bfeaabd1d05ff0870b285feb4e 2010-03-22 update doc.
652484598d802cd808b4b1fe4bef263b53e3119c 2010-03-22 update doc.
a4fa54a10a38bf7fe0d76f1b6822f1ea35d31dd8 2010-03-22 * ext/socket: use rsock_ prefix for internal initialization functions.
ab284526a4d597417286b1d1dab8f094e71f552a 2010-03-23 update doc.
0471422beb4d786ede528612c8486296761a59ee 2010-03-23 enable Object#inspect doc.
cea57f8fff58d933cd7a452e9ee0745d5a7c7577 2010-03-27 * time.c: use 64bit arithmetic even on platforms with 32bit VALUE.
f0aa9838a23bba3abe411df12070fddc23775a82 2010-03-27 * time.c: fix previos commit.
075cbd2ad6657b367ddb0919848fab4ce731ec20 2010-03-27 * time.c (mul): condition refined.
86aa8f3f0fec3992be860796bf0e968a3d54ef3b 2010-03-27 * time.c (weq): optimize for small integer. (wne): ditto. (wlt): ditto. (wgt): ditto. (wle): ditto. (wge): ditto. (rb_time_magnify): ditto. (rb_time_unmagnify): ditto. (rb_time_unmagnify_to_float): new function to avoid rational for Time#to_f and Time#-.
c08277c62d4d372288eb0b8f222758542d9168b6 2010-03-28 * time.c: rename small integer specialization related identifiers.
d8cc6ccb566a4f302bd85c7a568eda0e434dd8d1 2010-03-28 * time.c (rb_time_magnify): fix for LP64.
33d16472528f36d93f82310344ac801c3a90eb3e 2010-03-29 * time.c: wide value condition changed.
6c7edcb00aefd40539bc60b29dd9e3cf23d31984 2010-03-30 update doc.
a00c1c00c174a305a935a825f16511db29d8cf1a 2010-03-30 * time.c (w2v): renamed from w2xv. (v2w): renamed from xv2w. (rb_time_magnify): takes wideval_t. (rb_time_unmagnify): returns wideval_t.
0cf5d3fa963e084e80feac64977ca4c83afcbf22 2010-03-30 fix previous commit for LP64.
08f828002b9dcfae4ff18619f68be0466bb5e725 2010-03-30 * time.c: make wide value more polymorphic.
c4845fdf36f7c80aab9ecff9cb6793f2ff76dc67 2010-03-30 * time.c: reorder wide value implementation.
39146c6b6b19fb284ef8e7f77a0aa2d3a398973f 2010-03-30 * time.c: use more polymorphic operations.
7b83aa4f3c75b70d6d1de1a7641793bb1373aed0 2010-03-30 * time.c (wdivmod): renamed from wdivmodv. fix neg/pos and pos/neg. (split_second): return number of seconds as wideval_t. (timet2wv): new function. (wv2timet): new function. (timet2wideval): removed.
0da3fc65dbf021ad224d7490c1ea0a42527f53b4 2010-03-30 * time.c (timew2timespec): fix previous change.
fbc42054e8375a532b2e0a3b82dded952c8992f7 2010-03-31 * time.c: less bignum allocations.
6024074540e3ea0e50f764900f94d2c641a3c1cc 2010-03-31 * time.c (long_mul): extracted from mul and avoid integer overflow. (wi_mul): extracted from wmul and avoid integer overflow.
e758c3fbce1b3be14660fcd0d1492ad6e91e01d6 2010-03-31 * time.c (long_mul): overflow condition changed. (wi_mul): ditto.
c97f5f514a63f2b5ed909aec270e89efb0c2703d 2010-03-31 * time.c (rb_big_abs_find_minbit): fix handling the last word.
8d8ff193b6db072ebe379d60f91e0baa17090a2c 2010-04-02 * tool/file2lastrev.rb (VCS#relative_to): path and @srcdir may have different relative-ness.
8587c246e90f8a86b9fce5854ff8a2dc905abf91 2010-04-03 * time.c: don't define STRUCT_WIDEVAL.
9c50406bd5892c95d76e966c1db8b85c4b5fbe32 2010-04-04 * time.c (lt): call <=> instead of <.
782e379f299ebe2d3ec46cb4779e5c37e5cf20c6 2010-04-04 * time.c (cmp): optimize for fixnums. (lt): use cmp. (gt): ditto. (le): ditto. (ge): ditto. (wlt): use wcmp. (wgt): ditto. (wle): ditto. (wge): ditto. (time_subsec): use wmod.
2bbeb4c0ad49847b1f73ba6281827bf513d05884 2010-04-06 * configure.in: test localtime(3) overflow. [ruby-dev:40910]
2e507f34e0518b13fa0aa26d3de5cac7e54ae804 2010-04-06 add tests.
082480dfe47a772f7edf71aba0134eff05895ea6 2010-04-07 * time.c (ASCTIME): unused macro removed.
8f8e4e5ab5a58b21b366780f934578d230599851 2010-04-11 update doc.
309077c9ae3b530052dce39ab871a04bce1b9468 2010-04-12 * enumerator.c (inspect_enumerator): don't raise for uninitialized enumerator.
19afeacb884b53949236c30afaa4ce2866c30603 2010-04-12 * random.c (rand_init): use the absolute value of seed to make srand(-2**40) portable with 32bit and 64bit. [ruby-core:29292](2)
9afaef347c84e8e90312d3335c887d2c65acc86b 2010-04-12 add a test.
d9aab5725241759ccf4a01621d20c6ff1ecb1c9c 2010-04-15 * tool/file2lastrev.rb: make -q effective for files not version controlled.
77204d5391043a9026c8078d12d84389dbe525dd 2010-04-15 * tool/file2lastrev.rb: use backtick for ruby 1.8.
20a6e94e4758334209a1c3d241737c84d759daad 2010-04-18 * lib/resolv.rb (Resolv::IPv4::Regex): make it only accept 0 to 255. [ruby-core:29501]
c50c9f6d3ba1f9b550c68777569f7d3f8898446f 2010-04-21 * ext/digest/sha2/extconf.rb: check SHA256_CTX and SHA512_CTX to fix compilation failure on OpenBSD 4.4.
5c67d206a7923e02f69aa7c4605bf1a76f6b21f8 2010-04-23 * ext/openssl/ossl_config.c: fix compilation failure with OpenSSL 0.9.8.
78db46b31c4472291f4e45cf0374853ac3c5740a 2010-04-24 * io.c: raise IOError when byte oriented operations occur with non-empty character buffer. [ruby-dev:40493] [ruby-dev:40506]
02efdb484582dfc0b785a5d7f07d69333a262943 2010-04-24 update document.
ba2ee2f04c72b224ea167ee2366623fa2d05f65c 2010-04-24 update doc.
0e5546df901d15381d4ec08af11971c649a7c308 2010-04-24 * test/psych/test_psych.rb: don't leave temporary files.
9ac224eb2699d528f7c3544861f02a5255605f4f 2010-04-24 * lib/pp.rb: use [""].pack("p").size to detect the pointer size.
87ba383aa38dbf81b6aa3fa9c771e7ac715f3c96 2010-04-26 * io.c (select_internal): IO which cbuf is not empty is readable.
c41dc085d0fdb7cce8c6eb10c40fe9c8c68c8aa1 2010-04-30 * file.c (file_expand_path): call rb_str_set_len before BUFCHECK to prevent rb_str_resize in BUFCHECK discard the content.
f1192452a9c8d07baf7b2cfee48330b1d0188490 2010-05-04 * ext/socket/ancdata.c (ancillary_inspect): use rb_str_cat2 and rb_str_append.
622f45fccb5ebfdf684bb8428203307aa8d0cb89 2010-05-04 * ext/socket/option.c (sockopt_inspect): use rb_str_cat2 and rb_str_append.
3b9c00306f7213c2ac779f13845e04d29827cc06 2010-05-06 * lib/tmpdir.rb: test RUBY_PLATFORM for loading tmpdir.so to avoid LoadError.
0365096bfe70ce7a78f55901dff5058dfbf46d44 2010-05-07 don't sleep indefinitely. collect the zombie.
7eb6e562e51c06e5ef8aad841b5542aebe246f01 2010-05-08 * ext/socket/lib/socket.rb (BasicSocket#connect_address): MacOS X 10.6 returns "::ffff:a.b.c.d" for IPv4-mapped IPv6 address. [ruby-dev:41215] patch by Tomoyuki Chikanaga.
f491696f4b1320f7e26801ec189f4f874400bc52 2010-05-08 update doc.
c8892037c7af9f4b52a692ea7db2f7062b6969e4 2010-05-09 revert previous doc. change.
cb61fcb98813b30e94b3c7507f00433b845a1e66 2010-05-09 update doc.
9d3b304b0bc0f2e36b61579971dafd83798ab56b 2010-05-10 * pack.c (pack_unpack): add a missing break.
709bff4f2b7564c34754feb5f33440a72f802fca 2010-05-11 update doc.
01cd3467fbd3e9ea212063d0a7405642b8746b94 2010-05-11 * ext/socket/extconf.rb: test IPPROTO_IP and IPPROTO_IPV6 constants.
a00247f57a1b263d6eace43f36547766566c1de1 2010-05-12 * time.c (rb_big_abs_find_minbit): use ffs().
dd6b923bf83e4026f26f911156a31b180bbb0a32 2010-05-12 fix the comment.
54c0e4b76e139af4bdc689089a663df53ae12cb2 2010-05-12 new test file.
48eb4a79239d5107922bea702b63db9099a402d6 2010-05-12 add a test.
b6d3c5372449e77df05aedfefb7182c29f48c296 2010-05-12 * include/ruby/intern.h (rb_quad_pack): deprecated. (rb_quad_unpack): ditto.
5920d5440f36cef1b7e0ba3725679440684935de 2010-05-12 * ext/sdbm/_sdbm.c: include unistd.h before sdbm.h for off_t. fix compilation problem on FreeBSD 6.4.
cb4133c8abc7f7d20d3046bd62f862aef216c5a9 2010-05-13 add a test.
a22df39467709c4f270f45fbdfb0b548156bd633 2010-05-13 * missing/ffs.c (ffs): fixed for non-zero values.
3cea675fbef109f22edfbf4113d406579b68cffa 2010-05-24 add an assertion.
c3ebf85a819f00f325a47e5b1e2f19ae227dced9 2010-05-24 fix typo.
0344bece9ff37e6e707c697200a5b54516cb5e9c 2010-05-24 * error.c: fix wrong exception class name in rdoc.
c3f2d17abee552b980ed6e46301e6a307180a987 2010-05-25 refine an assertion.
415be475933a5af3ba76a239b2883fcc661c97ef 2010-05-25 update doc.
089d2ddda44b5c7f7e1e6c69103b6f47716786d2 2010-05-29 * lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNREFUSED.
7011534ea865cd5fd19050388cc77495cabfba09 2010-05-31 * lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNRESET for Windows. reported by U.Nakamura. [ruby-dev:41477]
a4702079b844cf415c047cbd45a501a13a0e0a23 2010-05-31 update comment.
8bca09325d9ce89fe32c0e6356865fcc905c7a2c 2010-06-05 * .gdbinit (rp): detect and show RTypedData.
d81b2491f7e59ae0fcd8d006736c4b41bb27d990 2010-06-05 * error.c (rb_name_err_mesg_new): guard mesg, recv and method. The problem in [ruby-dev:41464] is caused because mesg is collected.
0133aee46c576594b049629139f587f130ef249b 2010-06-05 * .gdbinit (rp): show type name for RTypedData.
7f51312344e6634a4a4b93278466938026abb1f8 2010-06-05 add an assertion message.
f40d2c967005e49914046bbc6a7a8c06c46b1d38 2010-06-05 * vm.c (Init_BareVM): call Init_native_thread here.
58772d711059308d874b092f42ef4a8ac65add3d 2010-06-06 * array.c (rb_ary_product): clear uninitialized elements in temporary array.
ec440b0b570a10fd90e549af7c318fb4302eb9cc 2010-06-06 fix typos.
2a1d97cc1fc3699caf2b55943c12c63d5f8e6b6a 2010-06-09 * time.c (calc_tm_yday): extracted from timegmw_noleapsecond.
82e646ea7a0874e762c7c7e335a53fef9a52deb0 2010-06-09 * time.c (find_time_t): always outerpolate from past. [ruby-core:30672] reported by Benoit Daloze.
77f690583b8f1f4cbee7282e8d1ffc9ff15b1895 2010-06-09 new test file.
b06885ff4f38f0ed10cf5532f00034212092d834 2010-06-10 more tests.
ebda24ccd876257655305d73a9b2b496b381884a 2010-06-10 add comment.
094ca0281e1ddbfcd9d7c36363cea2222885527b 2010-06-10 * time.c (rb_localtime_r2): refine localtime overflow check for FreeBSD 6.4.
9c2a96885560cfb85e0f68793fd43dc71e7a467c 2010-06-10 split tests.
670b62a61c9e26a34dce43fe1e6a50ad57c92923 2010-06-10 make it runnable by ruby 1.8.6.
42eca4f46e2cf48a0a1a66bc5d6599c8414bb67e 2010-06-10 more tests
cb962c5ae59f9237038d6400d9c1e709bed80efd 2010-06-10 * time.c (rb_localtime_r2): fix localtime overflow check.
22ce9f81c335a81a3728ac4ef8faac965bc6fcbf 2010-06-10 * time.c (find_time_t): test the result of LOCALTIME.
b04fa7b8e1877c871f0db8f4e6753712deeb6a29 2010-06-11 * include/ruby/missing.h (isnan): fix compilation error on OpenBSD.
8c7786bf5831918da34d6614755ac303d8b21925 2010-06-11 * time.c (init_leap_second_info): check the result of gmtime_with_leapsecond.
2acc30eead0f8653c7266e0d9365ece41f2f458f 2010-06-11 add sleep.
3a4231cdf47dadb91ebc9b5c6835033540cd624b 2010-06-14 * test/socket/test_socket.rb (test_udp_server): rescue Errno::ENOSYS for Windows.
7d8d8c4f590982b47eaeb0ea0c447b29d6eeff82 2010-06-22 * ext/socket/lib/socket.rb: suppress warnings.
bf8cec6db1cf9568a808449186f0bdb4e853ee36 2010-06-22 * time.c (num_exact): fix for mathn. [ruby-dev:41599]
acb8b3f7a99cd692da469e8ee729a6b6ec11c85d 2010-06-23 * ext/socket/raddrinfo.c (ruby_getaddrinfo__darwin): new workaround for getaddrinfo problem on Mac OS X Snow Leopard. [ruby-core:29427] patch by Wataru Kimura. [ruby-core:30842]
eab33b597d7f1460566fbe3c3a3e8f47024ce71f 2010-06-23 add a comment.
89f2c44d376033435a83fbbf795051bebb32bd13 2010-06-23 * ext/socket/raddrinfo.c: don't use __P.
512a35693b7819d6acc30a0e0b916c5ee7a88b5c 2010-06-23 * ext/socket/raddrinfo.c (str_is_number): renamed from str_isnumber to avoid confusion to str_isnumber in ext/socket/getaddrinfo.c.
f77d8722c2d7728e0e57c59751a373cba464efab 2010-06-23 * ext/socket/raddrinfo.c (ruby_getaddrinfo__darwin): the workaround for Mac OS X moved from rsock_getaddrinfo.
90b1eb1317f4687c4a471c44d8c24a10e73c95f5 2010-06-24 add an assertion.
f5ea2822e6aab93b2b9a4f52d27f059dc4a9c43e 2010-06-24 refine an assertion message.
d9edd4ca87bff687dc9548de6517792443746ddd 2010-06-27 * io.c (simple_sendfile): don't try to send data more than SSIZE_MAX with single sendfile call.. based on the patch by Eric Wong. [ruby-core:30908]
82f7a9823642a46ca021794de5efc9c9c894d0e7 2010-06-28 update doc.
8bab1aff2c6b9cdb5f840691f98fc078ce9b7cb9 2010-07-01 * numeric.c (rb_num2ulong): fix the lower limit for float. [ruby-dev:41361]
26202fba935372c269d690b4273b96e61ef58b7c 2010-07-01 * numeric.c (rb_num2long): accept LONG_MAX < x < LONG_MAX+1 and LONG_MIN-1 < x < LONG_MIN as well because they are converted into the valid range of long by truncation. (rb_num2ulong): accept ULONG_MAX < x < ULONG_MAX+1 and LONG_MIN-1 < x < LONG_MIN as well. (rb_num2ll): accept LLONG_MAX < x < LLONG_MAX+1 and LLONG_MIN-1 < x < LLONG_MIN.
707d22f1dd19cc18bed95f17374d1081d0efd248 2010-07-01 add tests.
fc90d4a10969321f5ec75a3a2a513f11407a9602 2010-07-02 fix doc.
9c1884066726007588f9c212c5d9b9e04a2d7654 2010-07-02 fix doc again.
d24d2d3ca4558aee0feed31b71c3268a13ef685b 2010-07-03 refine tests.
4b31e99b8f254c93af6acb9746dcd68109e5957f 2010-07-03 portability fix.
16923c25a1d1d3bcb8177737a682cc1084de8c2b 2010-07-04 * test/ruby/test_system.rb (test_syntax2): moved from sample/test.rb [ruby-dev:41721]
c5de4d4cbd28c1763259f814c4cc29ea01e6af59 2010-07-04 * test/ruby/test_system.rb (test_syntax): unified with test_syntax2.
9f56a870af1c88430a053b4e50ba39c244a4bd57 2010-07-04 * test/ruby/test_syntax.rb: split test_syntax from test_system.rb.
5bf4c6a635d30ba2e209fa9a2f824e06a6fa479b 2010-07-06 * io.c (nogvl_copy_stream_sendfile): jump to retry_sendfile directly to avoid select() on a socket which TCP state is CLOSED. patch by Eric Wong. [ruby-core:31053]
a5d37d10a9e18952badcf821679104613590e779 2010-07-07 * strftime.c (rb_strftime_with_timespec): support %:z and %::z. [ruby-dev:41841]
c2e127a768bb22299cbeeada5b0d4d8e90a5425a 2010-07-08 document %g and %G for Time#strftime.
9818dd26e5eccbd05004ddce29cef1924822d185 2010-07-08 unused code removed.
74d40e41961903f91894463504d4af60acc93058 2010-07-08 update doc.
00f97ed41a56f8146a8066db0934b574615b9760 2010-07-09 * time.c (find_time_t): 24:00 should be the beginning of the next day even if the leap second, 23:59:60, exists.
6f1c1b496e7a5866f9b50b27650473ef1be5d85b 2010-07-09 * strftime.c: don't call tzset. strftime.c doesn't depend on the global timezone.
85f10041b2400a8c87cf718df642e0003ec797ac 2010-07-09 * strftime.c (rb_strftime_with_timespec): clear colons at unknown directive.
98e949f7f8d9dbee8a22f2b2bc1d41f209345b7c 2010-07-09 update doc.
e51e679f14f61f260275e97b6624bfcbae7c9c39 2010-07-09 * strftime.c: unused declarations removed.
9c9cef7fe360c4788df1676d1328f70bb857d489 2010-07-10 update doc.
d06a6b22f59012399236597101dafbba7a884f70 2010-07-10 * strftime.c (rb_strftime_with_timespec): fix precision handling for %:z and %::z.
8ffda7cd1467f55866c9c5c433ae9a95b510ee2e 2010-07-14 * time.c (localtime_with_gmtoff_zone): renamed from localtime_with_gmtoff and return the timezone abbreviation name. (guess_local_offset): return the isdst and timezone abbreviation name. (localtimew): use the returned isdst and timezone abbreviation name. [ruby-core:31275]
b782aea75f5b9e8d49ef12b9f7fe3ef0dbf9fd51 2010-07-14 * time.c (guess_local_offset): use the UTC offset of an older date on 64bit time_t environment.
2372b57fdc520b1c84075a39f3ad61d8bb32ef21 2010-07-17 set svn:ignore.
95bc02237635d3fe42532bfe53038257575cee75 2010-07-17 fix svn:ignore.
4bf3cb5ba9c0242bd5a6d0d55b7db9f837c09edf 2010-07-17 * ext/pathname/lib/pathname.rb: moved from lib/pathname.rb. require pathname.so.
c68de8ee083eb80c2e11f019ff1504a60871901f 2010-07-17 * tool/file2lastrev.rb: don't depend on pathname.rb if File.realpath is available.
03bb750d5654f4ff4890fd1d39e680ac0860340f 2010-07-17 * ext/pathname/lib/pathname.rb (Pathname#initialize): removed.
17749e51681383304984f310a14a2939e554b593 2010-07-17 * ext/pathname/pathname.c (path_initialize): return a value.
4acc8102eb0500327864d07aa09d70fdf7d16694 2010-07-17 update doc.
abb855513ca83e987b3a2a7a86066fd798fc8558 2010-07-17 update doc.
a0d5258df027dd309f4208cdff89084eb24b904f 2010-07-19 * ext/pathname/pathname.c (get_strpath): check the type. (path_initialize): bypass to_path call for T_STRING. (path_freeze): implemented.
b698066bbd6a760658a38971958adf08f0ec685c 2010-07-19 update doc.
aa4f1d8e81b21d9f0ee19b5041595effacf77201 2010-07-26 * ext/pathname/pathname.c (path_taint): Pathname#taint translated from pathname.rb.
0cb17010c437232e03d8a35cda69dccddba4f4f8 2010-07-27 * ext/pathname/pathname.c (path_taint): use rb_obj_taint. (path_untaint): Pathname#untaint translated from pathname.rb.
4b8f2ed7cc0fb9623ba7582c4576fa37e3620737 2010-07-28 add a test.
7996581a82836fc7635bba858b946c67edc56bba 2010-07-28 * ext/pathname/pathname.c (path_eq): Pathname#{==,===,eql?} translated from pathname.rb.
3608baa9909b4b20a8366fcc48393b7763b4be41 2010-07-29 * ext/pathname/pathname.c (path_cmp): Pathname#<=> translated from pathname.rb.
8db76b2135353ed6795a0fe13150b5a69c09159a 2010-07-29 class description document moved.
be2f3c58e693a6e10693153ef2422b0235661e3e 2010-07-30 * ext/pathname/pathname.c (path_hash): Pathname#hash translated from pathname.rb.
c57e8f7ddc816746e0541c26a3df6cdbd65ba435 2010-07-31 * ext/pathname/pathname.c (path_to_s): Pathname#to_s translated from pathname.rb.
9006bd201535061bdf11192430432fee33bc9327 2010-07-31 * ext/pathname/pathname.c (Init_pathname): The alias, Pathname#to_path, is translated from pathname.rb.
b6ebd0622c0d730e5843dcb4dae1800fd5634884 2010-07-31 * ext/pathname/pathname.c (path_inspect): Pathname#inspect translated from pathname.rb.
572b8b37498a875382220d957d1b4285ae046eaf 2010-08-01 * ext/pathname/pathname.c (path_sub): Pathname#sub translated from pathname.rb.
a35c3cf34137c8a58a35d7e543af9cfa9d4725f6 2010-08-01 * class.c (rb_include_module): don't clear the method cache if the included module has no method.
b6f174afdb81f0f0cbe0ff848dddad047d00c40f 2010-08-01 add ML ref.
caa05197d34667fea40a4637b899669dd65f536f 2010-08-01 * ext/pathname/pathname.c (path_sub_ext): Pathname#sub_ext translated from pathname.rb.
c29b801afad1dc5cb4227bcef9e4bc004c967b8a 2010-08-01 * ext/pathname/pathname.c (path_realpath): Pathname#realpath translated from pathname.rb.
33d848d841a2579febf14b550f0ffe9ff8657065 2010-08-01 * lib/pp.rb: describe superclasses explicitly.
88431b74fcb16e92e67ec3d3abf205793b255772 2010-08-01 * ext/pathname/pathname.c (path_realdirpath): Pathname#realdirpath translated from pathname.rb.
5e9c47c81d986219b1d6c64e4e490179527cd916 2010-08-03 add tests.
88e78ac59b042365a09199aa72488405bcbcad95 2010-08-03 * ext/pathname/pathname.c (path_atime): Pathname#atime translated from pathname.rb.
a2ebc53ec49b0fe42c3fe91dba13e3400a93ade7 2010-08-04 * file.c (realpath_rec): call rb_str_modify before rb_str_set_len.
9bf69293e7db531f4ab8d8420b86f3ed627d3b96 2010-08-05 * ext/pathname/pathname.c (path_ctime): Pathname#ctime translated from pathname.rb.
dc2676a8a06b2126f7a5abbab9ebbd1f9b4726ce 2010-08-05 * ext/pathname/pathname.c (path_mtime): Pathname#mtime translated from pathname.rb.
c4c4bff456a6f0eb28de0b1e6f6d7bfe4d3e5291 2010-08-06 * ext/pathname/pathname.c (path_chmod): Pathname#chmod translated from pathname.rb.
9352485e47d878b21441511286e99ff74c4b3ee8 2010-08-06 * ext/pathname/pathname.c (path_lchmod): Pathname#lchmod translated from pathname.rb.
261bb184c61b8d881a60c39efba3580472bfbc36 2010-08-06 * ext/pathname/pathname.c (path_chown): Pathname#chown translated from pathname.rb.
6bc65b35bdf8611837a81dd381eb8c7b61442fc6 2010-08-07 * test/ruby/envutil.rb (assert_normal_exit): use assert. fix faildesc.
d1893fe74d24109634cce58a02c7349dfd5f4551 2010-08-07 * ext/pathname/pathname.c (Init_pathname): fix number of arguments for Pathname#chown.
49cb5a78a14584de5932637d16fbd4ee0733d9d3 2010-08-07 * ext/pathname/pathname.c (path_lchown): Pathname#lchown translated from pathname.rb.
3e7c24fe6e4899619e3cf1c1c79b96cd361a13e2 2010-08-07 * missing/close.c: undef the macro "close" to prevent infinite recursion.
2f2b6ace050bbabba106c80658068e3d40244bba 2010-08-07 * missing/close.c: undef the macros "getpeername", "getsockname" and "shutdown" to prevent infinite recursion.
06efb04e8e2dd45c96b8f245d601f1d3c38486de 2010-08-07 * test/ruby/envutil.rb (EnvUtil.invoke_ruby): merge stdout and stderr if capture_stderr is :merge_to_stdout. (assert_normal_exit): print abnormal output propery.
bb0ef922db4682dc57f5150c065b1a3fe2fc1f02 2010-08-07 * include/ruby/subst.h: new file for substitute standard functions..
d82dd262d076c4b43fdc95c9c648badf3dec5692 2010-08-07 * include/ruby/subst.h (snprintf): redefinition moved from ruby.h. (vsnprintf): ditto.
b50fb9034e8efd45319ce6ac3c7984bf98b548de 2010-08-07 * ext/pathname/pathname.c (path_fnmatch): Pathname#fnmatch and Pathname#fnmatch? translated from pathname.rb.
5f5e0b7191f0ecf00f0c1718c9562fee6112f04a 2010-08-07 * lib/rbconfig/obsolete.rb: show the location which use Config.
8488b62d59dde799a3a38b9daaf62a4f06755327 2010-08-07 update doc.
98c8e1cd91819042b13eb5aa69d86cb813a9bcaa 2010-08-08 * strftime.c (rb_strftime_with_timespec): suppress warnings.
739e022d006b755b4c6641eda958bdfb5969b65d 2010-08-08 * ext/pathname/pathname.c (path_ftype): Pathname#ftype translated from pathname.rb.
239692dde86f19c9a13bace56082b1c290b1d7e9 2010-08-08 * ext/pathname/pathname.c (path_make_link): Pathname#make_link translated from pathname.rb.
c60cd341e86e2739a59d71b700e83d614918f22a 2010-08-08 fix a test name.
acff965a5feeae3bdb3b48346c040c59e3c933d9 2010-08-09 * test/ruby/test_signal.rb (TestSignal#test_exit_action): use spawn instead of fork.
55584cb206746bd632ef13356cf88036cc59c353 2010-08-09 update doc.
ec5bb26fa031288fd8f935443805f68e5637ee75 2010-08-09 * ext/pathname/pathname.c (path_open): Pathname#open translated from pathname.rb.
8aa17733fa55828db19bb00a9943a1f6ee61782b 2010-08-09 * ext/pathname/pathname.c (path_readlink): Pathname#readlink translated from pathname.rb.
45bfb5318f26b296c651e32257444578867cc5c0 2010-08-10 * ext/pathname/pathname.c (path_rename): Pathname#rename translated from pathname.rb.
e6f6033b16a64eb04f2e8c3ea970356a61ac1621 2010-08-10 * lib/optparse.rb: suppress a warning.
e5215bfdc5201327964f80548aef9ca28190de0c 2010-08-10 * ext/pathname/pathname.c (path_stat): Pathname#stat translated from pathname.rb.
3583c42c713ef66f3f112edb26a4301bfa43a68f 2010-08-11 * test/ruby/test_rubyoptions.rb (test_script_from_stdin): disable echo. [ruby-dev:41966]
9229d998b579bc6b0a72fb3b2b44c66bac2e7062 2010-08-11 wait a process.
98f53d5db2d2c78a6fb673336b28bc84bc716bf9 2010-08-12 * ext/pathname/pathname.c (path_lstat): Pathname#lstat translated from pathname.rb.
05d9fabda16bfde3249fc0a047142e6f4a7f38d0 2010-08-12 * ext/pathname/pathname.c (path_make_symlink): Pathname#make_symlink translated from pathname.rb. -- この行以は下無視されます --
87da8f0a292798126a40dfc3f06a4a8f98aa9073 2010-08-13 * ext/pathname/pathname.c (path_truncate): Pathname#truncate translated from pathname.rb.
5c55715c089f189ec1004b13de6ec6f95d9ba0af 2010-08-14 * ext/pathname/pathname.c (path_utime): Pathname#utime translated from pathname.rb.
b167f42ca32e186f7ec0f14d6acdbaa06d93924f 2010-08-15 fix typos.
03226ec1a6fe6e6d3898c4fb897c80d0344b1471 2010-08-16 * common.mk (capi): use -b option for doxygen. It disables stdout buffering and prevents wrong reordering between stdout and stderr even when the output of "make" is redirected.
16cd13c05188bf52c5dfb056f02ebf4574bb1bc3 2010-08-16 * ext/pathname/pathname.c (path_basename): Pathname#basename translated from pathname.rb.
adff6d4477a77eaf03a377d5b37365e8b2b0de04 2010-08-16 * ext/pathname/pathname.c (path_basename): unused variable removed.
05745ccfb367ab670ebbad8c992edf2cf70d8b4b 2010-08-17 * ext/pathname/pathname.c (path_dirname): Pathname#dirname translated from pathname.rb.
3eabe19ea9cdee6064231d298683701e7ba0056e 2010-08-17 * test/ruby/test_io.rb (test_threaded_flush): test "hi" is not output twice.
078d19b29f689e4a17e86b134d563978eb7a5fd8 2010-08-19 * ext/pathname/pathname.c (path_extname): Pathname#extname translated from pathname.rb.
b73ea4b64ac0d7ad9666b4325d94f180849f97f3 2010-08-19 * thread_pthread.c (native_sleep): suppress a warning for platforms which time_t is int.
85198c5e3cf702a333cf1acfbbbe8e925419e148 2010-08-19 * ext/socket/ancdata.c (ancillary_timestamp): fix a constant type.
19fb560d219f583066241293f2e0f92cd898595e 2010-08-20 * ext/pathname/pathname.c (path_expand_path): Pathname#expand_path translated from pathname.rb.
86b26898ebe3bbb53fa76a41fbf12c41a91ce4bd 2010-08-21 * ext/pathname/pathname.c (path_split): Pathname#split translated from pathname.rb.
b25bda4547b63e3c6e0ac723d6168c72696a250a 2010-08-22 * include/ruby/ruby.h (UINT2NUM): fix ifdef condition for LLP64. reported by Daniel Gutmanas. [ruby-core:31778]
526d246f715a1a0046942f942173c2d9447e78a5 2010-08-23 * ext/pathname/pathname.c (path_each_line): Pathname#each_line translated from pathname.rb.
f21230b4916955440028e54c73eb965a44980368 2010-08-24 * ext/pathname/pathname.c (path_read): Pathname#read translated from pathname.rb.
2034fe610fd9da3781f4a1e39079128da812748c 2010-08-25 * ext/pathname/pathname.c (path_binread): Pathname#binread translated from pathname.rb.
bafaff1f43cf44430fed590dda00928b61821b6e 2010-08-26 * ext/pathname/pathname.c (path_readlines): Pathname#readlines translated from pathname.rb.
9eb726258965a35191b8b84a25448d5dd203faea 2010-08-26 * ext/pathname/pathname.c (path_sysopen): Pathname#sysopen translated from pathname.rb.
b6595225c1a68f212eb2d11f35de7732b9114fd7 2010-08-27 * ext/pathname/pathname.c (path_blockdev_p): Pathname#blockdev? translated from pathname.rb.
2d0cbb3c3a4020eabb65b1d37ed5f5e3abf6bad7 2010-08-28 * ext/pathname/pathname.c (path_chardev_p): Pathname#chardev? translated from pathname.rb.
79316a1c735badcc6b06441f34d6580b904381c5 2010-08-29 fix a date.
b8adf336a670fa84e4d8c9b1f74be225c199b561 2010-08-29 * ext/pathname/pathname.c (path_.executable_p): Pathname#.executable? translated from pathname.rb.
16ceba03968244e64e015965c2f3ec6a8f1836fb 2010-08-30 * ext/pathname/pathname.c (path_executable_real_p): Pathname#executable_real? translated from pathname.rb.
0156faf5a2de9f5863f514b7112b7442f155a031 2010-08-30 describe that Time#strftime supports %:z and %::z.
3121057559fa8848c734c6dc270b3ff4a1c370a2 2010-08-31 * ext/pathname/pathname.c (path_exist_p): Pathname#exist? translated from pathname.rb.
b1729db2924cd4a04c9ac2ff22621f22e8b21562 2010-09-01 * ext/pathname/pathname.c (path_grpowned_p): Pathname#grpowned? translated from pathname.rb.
8ea12e525effff6b78017680ad4463c206f99d8e 2010-09-01 * ext/pathname/pathname.c (path_directory_p): Pathname#directory? translated from pathname.rb.
d878c51357f6a0e72271b6d0299480711b70701a 2010-09-02 * ext/pathname/pathname.c (path_file_p): Pathname#file? translated from pathname.rb.
163b4dee96abb2bdd3c208b6dd71ade4fbe09349 2010-09-02 * ext/pathname/pathname.c (path_pipe_p): Pathname#pipe? translated from pathname.rb.
0c5b7fd01bd4333f1af1c051889570c458a70bf7 2010-09-03 * ext/pathname/pathname.c (path_socket_p): Pathname#socket? translated from pathname.rb.
5e620bdd65c703c8527d7165f41155b89a8b36a4 2010-09-05 * ext/pathname/pathname.c (path_owned_p): Pathname#owned? translated from pathname.rb.
efe86e6c0d34733b53f7be8d45cf103c85fdc45d 2010-09-05 * ext/pathname/pathname.c (path_readable_p): Pathname#readable? translated from pathname.rb.
746f85beb448078ff915cb0aa8f1b05954ef3991 2010-09-06 * ext/pathname/pathname.c (path_world_readable_p): Pathname#world_readable? translated from pathname.rb.
b9f2ea847e0004e41dae591816e5a16f06437bba 2010-09-07 * ext/pathname/pathname.c (path_readable_real_p): Pathname#readable_real? translated from pathname.rb.
c37ec5c9d2b5a45443149af56f1312956591a8b4 2010-09-07 * ext/pathname/pathname.c (path_setuid_p): Pathname#setuid? translated from pathname.rb.
bafa881327f7de02f756e526e35ed78ffd051011 2010-09-08 * ext/pathname/pathname.c (path_setgid_p): Pathname#setgid? translated from pathname.rb.
eb0c31b1adaa23051b952b3c0de0640a5283afd4 2010-09-09 * ext/pathname/pathname.c (path_size): Pathname#size translated from pathname.rb.
a75a46710232c09f172523b90756a0e0f79e4811 2010-09-09 * ext/socket/option.c (inspect_peercred): support OpenBSD-current. patch by Jeremy Evans. [ruby-core:32240]
e7ab96f6ede27a19ef8317a1062f70f691122a07 2010-09-09 * ext/pathname/pathname.c (path_size_p): Pathname#size? translated from pathname.rb.
1a8a6580e9dab1267187e592f182ada8a39a0747 2010-09-10 * ext/pathname/pathname.c (path_sticky_p): Pathname#sticky? translated from pathname.rb.
0f070a1f4bb6227cb0a18b1e6dab6e5f972a1c9b 2010-09-10 * ext/pathname/pathname.c (path_symlink_p): Pathname#symlink? translated from pathname.rb.
72e1df781be8a94e2df5b64a1d4ab3fce7573653 2010-09-11 fix a typo.
b4ac655acc32682a1cc430acdd2661124ecb5ba2 2010-09-11 * process.c (rlimit_resource_name2int): use STRCASECMP to avoid ALLOCA_N.
c755baf85f553e7ea20290facdeff56c490162a1 2010-09-11 update document.
d900ed31f776a85291a6aee870c942a57ab86e6b 2010-09-11 * process.c (rlimit_resource_name2int): support more limits: RLIMIT_MSGQUEUE, RLIMIT_NICE, RLIMIT_RTPRIO, RLIMIT_RTTIME and RLIMIT_SIGPENDING. (Init_process): ditto. patch by Run Paint Run Run. [ruby-core:32262]
7bda092ee86c0f4615e0c68773cfe894bdfbe966 2010-09-11 update document.
3f0fd715f4e8fc0dcdc6da2558f4549b448cf431 2010-09-12 update document.
a42f6882c835e4374cf1885680b47c5ddf27767b 2010-09-12 * ext/pathname/pathname.c (path_writable_p): Pathname#writable? translated from pathname.rb.
5cc5e1c5beed714998d46209d439e3b9674178a8 2010-09-12 * ext/pathname/pathname.c (path_world_writable_p): Pathname#world_writable? translated from pathname.rb.
a335ded4c9c9a47f5425fea1795eda918f457b5c 2010-09-12 * ext/pathname/pathname.c (path_writable_real_p): Pathname#writable_real? translated from pathname.rb.
878747437c662aaeac55e27254c6dbc3fb720b7d 2010-09-13 * ext/pathname/pathname.c (path_zero_p): Pathname#zero? translated from pathname.rb.
6d9b5fdffcfe2fc2783c5b03f93e2deb372fd260 2010-09-13 * ext/pathname/pathname.c (path_s_glob): Pathname.glob translated from pathname.rb.
bf77099923011a3a0fa0186a8f2dcfb52bdb71bf 2010-09-14 * ext/pathname/pathname.c (path_s_getwd): Pathname.getwd and Pathname.pwd translated from pathname.rb.
f84f1644138d20263f0939606dc8fc4f83fcc29f 2010-09-14 * ext/pathname/pathname.c (path_entries): Pathname#entries translated from pathname.rb.
363ed27fa7a9f95111e2dfa0df8ae120cfc95d8d 2010-09-15 * ext/pathname/pathname.c (path_mkdir): Pathname#mkdir translated from pathname.rb.
d0e9ac151e4b508221de5118ee653fafec3851c0 2010-09-15 * ext/pathname/pathname.c (path_rmdir): Pathname#rmdir translated from pathname.rb.
5c1fd225c85157cba69996683a345d8e4a831ba2 2010-09-16 fix a function name.
08c467330ba0bc92150a65a01cd397562a5ea78d 2010-09-16 * ext/pathname/pathname.c (path_opendir): Pathname#opendir translated from pathname.rb.
9dffbcfc09dc54d77bfb99dc91e0c5ea01182925 2010-09-18 * ext/pathname/pathname.c (path_each_entry): Pathname#each_entry translated from pathname.rb.
f9f73768486da483d039a2b6b7e7c31fe5842944 2010-09-18 * ext/pathname/pathname.c (path_unlink): Pathname#unlink and Pathname#delete translated from pathname.rb.
c7caeda5ed20938974ccb7dd6bfddad1e65cb18e 2010-09-20 * ext/pathname/pathname.c (Init_pathname): Pathname#=~ undefinition translated from pathname.rb.
a5a51abfc5dbe8f29fee38ba34a275063d01b548 2010-09-21 * ext/pathname/pathname.c (path_f_pathname): Pathname() translated from pathname.rb.
c81e5864aeec6ea8ece19e33e7984c70bca8b0eb 2010-09-24 fix a typo.
5fd45a4b79dd26f9e7b6dc41142912df911e4d7d 2010-10-06 * lib/uri/generic.rb (URI::Generic#hostname): new method. (URI::Generic#hostname=): ditto.
e5a47fb60e33aaa730fd913c0cb3a386baf2d9a2 2010-10-06 describe URI::Generic#hostname and URI::Generic#hostname=.
4f8376c655eee5038584e26534457b94f78229f6 2010-10-06 describe the reporter.
acd98555b59522b8f81b8feff70964e92adb902f 2010-10-13 move a non-combinational test.
b2556b548104edc594b10af20982fa23bc3ce928 2010-10-18 * pack.c (pack_pack): refine the document. [ruby-dev:42397] (pack_unpack): ditto.
2bb96458e7da360b82519745e607bfa89ae00dc4 2010-10-29 * lib/resolv.rb: retry via TCP if UDP reply is truncated. fixed by Julian Mehnle. [ruby-core:32407]
fea0365dea00cf7a120c07b76f9cc47c2d66e105 2010-10-29 * test/pathname/test_pathname.rb (TestPathname#test_grpowned?): the group of the created file is inherited from the parent directory on BSDs and MacOS X. Linux also inherit the group if the setgid bit of the directory is set. It causes the test fail. fixed by Shota Fukumori. [ruby-dev:42458]
aeab9011fef77ea09786818a01a684c5f8adbd4a 2010-10-29 * lib/resolv-replace.rb: suppress warning.
d295957957c828588a8ca3c7b8619c7a93be6b5c 2010-11-02 * vm_method.c (rb_clear_cache_by_class): just return if the class has no method. reported by Eric Wong. [ruby-core:32689]
0ebec8cf722da3e3c1c557ae28cce8943eef0d4d 2010-11-27 * resolv.rb (Resolv::DNS): use the same DNS server when retry using TCP. reported by Julian Mehnle. [ruby-core:32970]
cf869bc14d80dda4fea5390bb16ed44878e82100 2010-11-27 * time.c: parenthesize macro arguments.
6dea556eb7f85f234a0b698aa0dd4b1882c4e8ca 2010-12-01 * test/socket/test_addrinfo.rb: extract Errno::EADDRINUSE as a method.
8c8814230f949b421206edb9f52ba6e9c822e104 2010-12-01 * array.c: parenthesize macro arguments.
cf39e78e1f2248dfda6ba602ed3d73cd201fdb88 2010-12-02 * bignum.c: parenthesize macro arguments.
15dad95dfcb092fea28ebc1e1a6aba6df119b1e0 2010-12-02 * compile.c: parenthesize macro arguments.
5c6b43d91eadb3e9aa96ef8b2ff5a244081e30f0 2010-12-04 * class.c: parenthesize macro arguments.
02441dabf56995717d9392cd40475b35f2676432 2010-12-05 * complex.c: parenthesize macro arguments.
75877a30a49708d6bd2a883b1bb066aacb76f111 2010-12-06 * cont.c: parenthesize macro arguments.
766d38e65933951039bb395250db5c5a2232b81a 2010-12-07 * debug.c: parenthesize macro arguments.
fad7d95a18e57bbf8ea33f144f4de94da1388738 2010-12-08 * dir.c: parenthesize macro arguments.
d99801bbc86dbdbf8832475a56fd7e9b07e58b4f 2010-12-09 * lib/webrick/accesslog.rb (WEBrick::AccessLog#format): support %{remote}p for logging remote (client) port number. [ruby-dev:42670]
1547331cf39700d6181ba70da6b13a2eff94de3a 2010-12-09 * dln.c: parenthesize macro arguments.
e14a0042d25173f699042a3259cb32edcfc32bd9 2010-12-10 * dln_find.c: parenthesize macro arguments.
864f60b8375eb0446ea1184f314d3bcac6fb7b87 2010-12-11 * encoding.c: parenthesize macro arguments.
c4442536b246f95181fd281e103e29c2f64a7102 2010-12-12 * encoding.c: parenthesize macro arguments.
5227164cdc6ce59a22ffa16cc219882b230045fd 2010-12-12 * eval_error.c: parenthesize macro arguments.
53360bd50ade682d5e1c0542d366745fe69e336d 2010-12-13 * file.c: parenthesize macro arguments.
8c757a326876062889e67e62368aa0f5bdd996d6 2010-12-14 * gc.c: parenthesize macro arguments.
7b5e72c3a95dbf213a38b94a5fb4dbf04e03943e 2010-12-14 * hash.c: parenthesize macro arguments.
e5ad455a0845aea720ed1a9f1764635ea30bfbfa 2010-12-16 * io.c: parenthesize macro arguments.
a0e62485d41ed9bd8dfbe826a72b567429359fe5 2010-12-16 * iseq.c: parenthesize macro arguments.
0316582ebcd400aefd80773997f56943527fa943 2010-12-18 * load.c: parenthesize macro arguments.
9035b0e7590ea93f3081582097c6503498996d60 2010-12-19 * marshal.c: parenthesize macro arguments.
8f6c729601bc7b0d8676a8b8799dcaeac5c9f463 2010-12-20 * node.c: parenthesize macro arguments.
379f68fe4fa656bb717eee23e9415cfb6660744b 2010-12-20 * pack.c: parenthesize macro arguments.
462f3626fc8caacef83f2cb22a3e13407962d1ed 2010-12-23 * parse.y: parenthesize macro arguments.
a041f129af10c4e3f6cc7720db1b3fdeec1e9d80 2010-12-23 * process.c: parenthesize macro arguments.
a0484364619d72426dff1c13d028aa87b1a82a60 2010-12-23 update doc.
0c232beb9c109e3f35c5c9604312e959b5ddb7a4 2010-12-25 * random.c: parenthesize macro arguments.
1b40391d3d41ed361bae41896315e18fc77ba759 2010-12-25 * ext/socket/option.c (inspect_ipv6_mreq): new function to inspect struct ipv6_mreq for IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP. Socket::Option.new(:INET6, :IPV6, :JOIN_GROUP, [0xff12,0,0,0,0,0,0,1, 2].pack("nnnnnnnnI!")).inspect is now: "#<Socket::Option: INET6 IPV6 JOIN_GROUP ff12::1 eth0>"
01da08a29c3732abff521bf43ba43050b07cc0ce 2010-12-25 * ext/socket/option.c (inspect_ipv4_add_drop_membership): new function to inspect struct ip_mreq and struct ip_mreqn for IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP. Socket::Option.new(:INET, :IP, :ADD_MEMBERSHIP, [239,255,99,81, 0,0,0,0].pack("CCCCCCCC")).inspect is now "#<Socket::Option: INET IP ADD_MEMBERSHIP 239.255.99.81 0.0.0.0>". (inspect_ipv4_multicast_if): new function to inspect struct in_addr and struct ip_mreqn for IP_MULTICAST_IF. Socket::Option.new(:INET, :IP, :MULTICAST_IF, [192,168,0,7].pack("CCCC")).inspect is now "#<Socket::Option: INET IP MULTICAST_IF 192.168.0.7>".
326ec51f4ec024c32d3b73ae301d830b052c4e7b 2010-12-26 * ext/socket/option.c (rb_if_indextoname): new function to abstract environments without if_indextoname. (inspect_ipv6_multicast_if): new function to inspect IPV6_MULTICAST_IF. Socket::Option.new(:INET6, :IPV6, :MULTICAST_IF, [2].pack("I!")).inspect is "#<Socket::Option: INET6 IPV6 MULTICAST_IF eth0>".
dd5ad24735bebabb7e20df7b408c33b34f784b8f 2010-12-26 * rational.c: parenthesize macro arguments.
bcd39a085110ffef93aef848f70dc68c12b62ca2 2010-12-26 update comment.
6446be302b27e8ea203c9048de51a4d7757f2d4f 2010-12-26 * ext/socket/option.c: define IFNAMSIZ if not available. fix compilation error on mingw32. reported by nobu.
9694fa95179125fd410a8f8081d866ba660369b7 2010-12-26 fix a typo.
2316cd4d0c903d6ee54fff09ffe6c4feef6582ce 2010-12-26 * ext/socket/mkconstants.rb: define INET_ADDRSTRLEN as 16 if not available. fix compilation error on mswin32-60. reported by nobu.
011bcd47b42a83406c016af8b97989bc4a6a1f4c 2010-12-26 * ext/socket/mkconstants.rb: add IF_NAMESIZE. add a default for INET6_ADDRSTRLEN.
195992f0328b86dd3cec381214e241b51394e3f5 2010-12-27 * re.c: parenthesize macro arguments.
8af7ed60368c030e95ec782022538254d256d590 2010-12-27 * ruby.c: parenthesize macro arguments.
fc38c70ce95a25db609610d9b9f68bad1d89043e 2010-12-29 * signal.c: parenthesize macro arguments.
89f9c4144ff1ea07f3ca977e6a7336b01473e383 2010-12-29 update doc.
ae47a529f457274dcec1f25cbc95b7409abf9769 2010-12-30 * sprintf.c: parenthesize macro arguments.
e8fc308315bfab764ceffe30243715c91153739a 2010-12-30 update doc.
095c2deca0a51cced9866ce5af8e8493c35e7001 2010-12-31 * st.c: parenthesize macro arguments.
74b08ff339091385f39d910af53a14fd9ec90933 2010-12-31 * enum.c (enum_sort_by): use less temporary objects.
bb4f62f234e83487b5c5545ffe8ad42354ca5d3c 2011-01-01 add a test.
ccc55bb7c3753cc4e6ba736eed69162c43b63370 2011-01-01 * strftime.c: parenthesize macro arguments.
df925d91e2c7057a5de63c33fca28cfd2478c68e 2011-01-06 * string.c: parenthesize macro arguments.
c36ad781ef177e1d3e44b662951dc6b399438e0d 2011-01-08 * thread.c: parenthesize macro arguments.
b85ed255fafe48e3d435eee31d6403af5558afb9 2011-01-08 update doc.
13c4c551d19c63770e94255a1a3a6709ffc487a6 2011-01-08 * pack.c (swapd): remove duplicated code.
8eec9c941348db179c900c896797c78b22d33261 2011-01-08 * pack.c (swapf): compilation condition simplified. (swapd): ditto.
113f27ba68e69f9e6bdb3e75b7be2dd8180c0484 2011-01-08 * enum.c (enum_sort_by): use rb_ary_resize. (ary_cutoff): removed.
d3b337c58dcdbfc09c77f812be9426ec3ba70b5c 2011-01-08 fix spaces.
41c93065da59bcb0b5adada40fbb135e54fa679f 2011-01-09 * transcode.c: parenthesize macro arguments.
ee0f448feabba24bac4476c76563a8afea9df002 2011-01-10 * util.c: parenthesize macro arguments.
391d81e54da735f73d01d9c6955ef205097dacf2 2011-01-11 * variable.c: parenthesize macro arguments.
5a17f4c4a341618d2d25c03c64ac72d71234303a 2011-01-11 fix spaces.
e1680f8cc1c6ba464710bc164720e47e749b0ac8 2011-01-12 * enum.c (sort_by_i): reenter check more strictly. (sort_by_cmp): ditto. [ruby-dev:43003] reported by Usaku NAKAMURA.
fd2f238560fb1dfc664036618f05eaa9ebc8cbaa 2011-01-12 * vm.c (thread_free): reset ruby_current_thread if it points the thread to free. * gc.c (slot_sweep): don't call RUBY_VM_SET_FINALIZER_INTERRUPT if there is no current thread. [ruby-dev:43000]
d737ae54496e6ea5a4d9f054245503ca06a5bfcd 2011-01-12 update comment.
38f129397bdd566a381395b3ba56062d7f762765 2011-01-12 * vm_dump.c: parenthesize macro arguments.
def8c8c347fbeaf5e14c223be33b3651a0941b7c 2011-01-13 * vm_insnhelper.c: parenthesize macro arguments.
6ac9fea36f3d41862702ad232749560fe26a4c61 2011-01-13 update doc.
8dc0eb6c4b433c23c1675162f5cf2c28c7ed63de 2011-01-14 * vm_method.c: parenthesize macro arguments.
4f1894a0b697ddd1912093ea2cbfc17e15bf5af6 2011-01-16 * vsnprintf.c: parenthesize macro arguments.
099f52d73d2a0ee2faae355cb5286a79048bda0e 2011-01-17 * debug.h: parenthesize macro arguments.
355c3a250ddd0b8ea012cf5e3c4bacc960b28284 2011-01-17 * array.c (rb_ary_times): less MEMCPY calls.
9f21d18b39ea8cf445875b9e267f7e1ce3ee0825 2011-01-17 update doc.
76fe9e893cc123b9651bcf38620794c6095bb11d 2011-01-17 update doc.
c8e22ee12cb951b4bd9ac14bab62f7dfa34d3f61 2011-01-17 * eval_intern.h: parenthesize macro arguments.
196833eb80c93bb8ac1f632a9b6815b2b9e13c1b 2011-01-18 * gc.h: parenthesize macro arguments.
0858cbf3fd16ee839810e059b8ab46ead00515d4 2011-01-18 update doc.
63d5d7f53a0894100a6f490af5884010ba21bbc1 2011-01-19 * method.h: parenthesize macro arguments.
6bc1937653ac6e69125e505ccf7f42428e966781 2011-01-20 * node.h: parenthesize macro arguments.
741e77882704a08d70c50237bb10f14cb6afce9f 2011-01-21 * vm_core.h: parenthesize macro arguments.
35dbe5056de5206bdc3eea36d8aa629368ebe2cb 2011-01-23 * vm_exec.h: parenthesize macro arguments.
c11a4d8f3f56fd53f969b1b5c63336bd1dae1bd3 2011-01-24 * vm_insnhelper.h: parenthesize macro arguments.
de4c25a001fea438fc3d71fa3b2a71f8545028a7 2011-01-26 * template/id.h.tmpl: parenthesize macro arguments.
f6de1a3f00dffc9d87c466a08bd7e9d0e2f5e2e5 2011-01-28 * ext/zlib/zlib.c: parenthesize macro arguments.
2418e5ca83f863b58a9e13caefc9a23414cae49c 2011-01-30 * strftime.c (rb_strftime_with_timespec): %G produces 4 digits.
627e79f13f1779fd27f75f49001eee90ba28abe9 2011-01-30 * missing/crypt.c: parenthesize macro arguments.
ff4ba406a2c334ee1148b6c0797273097462f8c7 2011-01-31 * missing/langinfo.c: parenthesize macro arguments.
0f7fc54678963025e77752cae8b30b7d8f4a2845 2011-02-01 * enc/encdb.c: parenthesize macro arguments.
41d0788e40bd61a033de2451be90a81157619d01 2011-02-03 * ext/curses/curses.c (CHECK): unused macro removed.
b3c80c05918c91bf1123258a03cd1e13c4f0dff3 2011-02-03 fix a typo.
113de0083e58282e1a411e8364951c98c3dddaaf 2011-02-04 * enc/trans/utf8_mac.trans: parenthesize macro arguments.
adfcc591a80fadcee5be9309708fc17fc992bf04 2011-02-06 * ext/dbm/dbm.c: parenthesize macro arguments.
afe7aac47b11693090f552df05f894d2ced8ada3 2011-02-07 * lib/net/http.rb (Net::HTTP#connect): support SNI (Server Name Indication) for HTTPS. [ruby-dev:43164] http://stackoverflow.com/questions/4685736/openssl-server-name-indication-support-in-ruby
08a4d1af3f08daed2cd3021fefba047bc2764a00 2011-02-08 * ext/etc/etc.c: parenthesize macro arguments.
2cc0240078cd9ac0064faf922ef0fa23eb1bf387 2011-02-09 * ext/pty/pty.c: parenthesize macro arguments.
ac2c1a2968d7d1720d19ced6021044a8d7aff5e6 2011-02-10 * ext/dl/dl.h: parenthesize macro arguments.
698960439d7234518b1d0493eaf84b03104a91d6 2011-02-11 * ext/dl/cfunc.c: parenthesize macro arguments.
bc2abdcac445500a902700d511ed10f7fffcc40b 2011-02-13 * ext/curses/curses.c: parenthesize macro arguments.
8f59ed795da4da2d77c3025a78c3b965910ae360 2011-02-14 * ext/fiddle/conversions.h: parenthesize macro arguments.
67b9e488dcb5e1a8370fbc8e7cfd299e21ec413a 2011-02-15 * array.c (ary_join_1): fix array size.
85caed4721a4448b8ebc2524a51c6d3bec4d24e8 2011-02-15 * ext/gdbm/gdbm.c: parenthesize macro arguments.
7bcc7db83beb07dcc6da64cdfd60a8c89eef0497 2011-02-16 * ext/openssl/openssl_missing.h: parenthesize macro arguments.
520611984470ec8f1596a040262683ad3929399a 2011-02-17 * ext/openssl/ossl.h: parenthesize macro arguments.
1343f8c53647239dd63f03a9b5437b7e10fc1d39 2011-02-19 * ext/openssl/ossl_bn.c: parenthesize macro arguments.
408a903c99f602ae2cd14f8074fa54736ea88b45 2011-02-20 * ext/openssl/ossl_cipher.c: parenthesize macro arguments.
b7af3f6f0cf09846f90345aa134722f27714ca3f 2011-02-22 * ext/openssl/ossl_digest.c: parenthesize macro arguments.
92729ad4736ad34bdcf6eb98211010fa6a68dd2d 2011-02-23 * ext/openssl/ossl_engine.c: parenthesize macro arguments.
dbf889812b655ed6f5cf98795770e1154186df0e 2011-02-24 * ext/openssl/ossl_hmac.c: parenthesize macro arguments.
92ba80cc4af30e035d12439f9dbfcf1091b2e5d7 2011-02-27 * ext/openssl/ossl_ns_spki.c: parenthesize macro arguments.
3fec2bee37ebbb54f5e7fc2fee3ba832a2994882 2011-02-28 * ext/openssl/ossl_ocsp.c: parenthesize macro arguments.
c0c182bf880ee749ca43921bbb1bc1a95d66c3d5 2011-02-28 * ext/openssl/ossl_pkcs12.c: parenthesize macro arguments.
c1f400917ab2c00233013e5b61487bdbdf917999 2011-02-28 * ext/openssl/ossl_pkcs7.c: parenthesize macro arguments.
66541b9a83357b58db25811e5a7b8e21159d2c52 2011-03-01 * ext/openssl/ossl_pkey.h: parenthesize macro arguments.
e1e8297a76cbe7918458cb37043ad498228c6139 2011-03-02 * ext/openssl/ossl_pkey_dh.c: parenthesize macro arguments.
27bb573c06e3427357f390db653a3ce0328d30fb 2011-03-03 * ext/openssl/ossl_pkey_dsa.c: parenthesize macro arguments.
dd9f5e87145f224bd3b95ced4374d9ca1a77c6e1 2011-03-06 * ext/openssl/ossl_pkey_ec.c: parenthesize macro arguments.
37e159f5475680dd7fdc9d5456212e2a8ae39ffe 2011-03-07 * ext/openssl/ossl_pkey_rsa.c: parenthesize macro arguments.
a190741da4681820d38d977bf2f14f969f9ffca3 2011-03-08 * ext/openssl/ossl_rand.c: parenthesize macro arguments.
08c07a215d3d4b5e26293d9d52bc06b486f15844 2011-03-09 * ext/openssl/ossl_ssl.c: parenthesize macro arguments.
d49f0d9576e9f770554cfc867f99c96c5b7afc22 2011-03-10 * ext/openssl/ossl_ssl.h: parenthesize macro arguments.
f085a0b034484a621220bbaa66b3e8f61f2f870f 2011-03-11 * ext/openssl/ossl_ssl_session.c: parenthesize macro arguments.
fd641fbf953ccc878a29283c9511fd6289f9b766 2011-03-13 * ext/openssl/ossl_x509attr.c: parenthesize macro arguments.
675b3f337f831961b0dcaadaec2083244a2048d4 2011-03-14 * ext/openssl/ossl_x509cert.c: parenthesize macro arguments.
3b17a84e4a428f5dcfebb70cdb92107875027236 2011-03-15 * ext/openssl/ossl_x509crl.c: parenthesize macro arguments.
9b62c58a3a6f39eb4ed24c7b7f029e6a3b0d7232 2011-03-15 * ext/openssl/ossl_x509ext.c: parenthesize macro arguments.
bc843e4b7ddf11f80cea691033cbf8163c6272d3 2011-03-16 * ext/socket/ipsocket.c (init_inetsock_internal): raise an error on listen(2) failure. reported by Xavier Shay. [ruby-core:35505]
05529fa1cb4721570fd9595ffd46eba2015c4476 2011-03-16 * ext/openssl/ossl_x509name.c: parenthesize macro arguments.
022b3368dae3f2c9063451c7f2be67a4c4ce8040 2011-03-18 * ext/openssl/ossl_x509req.c: parenthesize macro arguments.
b86e5f851744df466acdecd54a945dff11793715 2011-03-19 * ext/openssl/ossl_x509revoked.c: parenthesize macro arguments.
7bc47c026066831295b3fdf1ed8f7f8bfafef957 2011-03-20 * ext/openssl/ossl_x509store.c: parenthesize macro arguments.
9c1a7bf74a78e9d888248fa67e4129f24a89803b 2011-03-22 * ext/openssl/ruby_missing.h: parenthesize macro arguments.
4520a3408afe2f30c4513ace4a00107c6a547ea3 2011-03-22 * ext/psych/parser.c: parenthesize macro arguments.
a3f70766909a96eb7c43b12f78a1779fef544d5d 2011-03-23 * ext/readline/readline.c: parenthesize macro arguments.
9de5f281cdcddcdb9479a4418f8dc2c7d415625a 2011-03-24 * ext/sdbm/_sdbm.c: parenthesize macro arguments.
96216554d2de68c90c53068a87d88e8f25207d74 2011-03-25 * ext/sdbm/init.c: parenthesize macro arguments.
c65953cd0303d6c3315376f228c2ac20a8ad0135 2011-03-26 * ext/socket/getaddrinfo.c: parenthesize macro arguments.
94a5335148c70aec998bb5d2d1da07627e7d0503 2011-03-27 * ext/socket/ipsocket.c: parenthesize macro arguments.
d8ac44fcfcf730535df82a402bd7c97267b56d61 2011-03-28 * ext/socket/raddrinfo.c: parenthesize macro arguments.
80fb9c7b4e94a57f72bd22bee41759e01ccbfbcf 2011-03-29 * ext/stringio/stringio.c: parenthesize macro arguments.
eb239b43344665308eafc105b5a7318486f82410 2011-03-31 * ext/strscan/strscan.c: parenthesize macro arguments.
8a6e9ec085ff08a106ec7e143df03fd46c1431f3 2011-04-01 * ext/syslog/syslog.c: parenthesize macro arguments.
11b1f4ff92f4eb5ab5be8d7b9c4ee7b1f6111148 2011-04-03 * ext/zlib/zlib.c: parenthesize macro arguments.
a63105a45fb7d9ee28edca9bac90ce2300b1c7c6 2011-04-05 * include/ruby/encoding.h: parenthesize macro arguments.
d55cf83561fd32a05bf230aee65ebdab5c3367e7 2011-04-06 * include/ruby/intern.h: parenthesize macro arguments.
e6ef26ae4b727d5e92af27bd251208b0bed4611a 2011-04-07 * include/ruby/io.h: parenthesize macro arguments.
eb7d68819f7a1373cb8797691edc459ba9412878 2011-04-09 * include/ruby/util.h: parenthesize macro arguments.
4db93c3f41818261121d53214030aad6ec001ee7 2011-04-10 * include/ruby/ruby.h: parenthesize macro arguments.
77a12692eeb0a2204b740dfece9f3015975af3be 2011-04-12 * include/ruby/st.h: parenthesize macro arguments.
2d7a5f6553a14431741f1469d76b774e4d6ac4c3 2011-05-06 update doc.
aede5b391193a2493594e4fcd49ffd685fbe41ca 2011-05-27 update comment.
34913093f9b66fa3d515e6f951b534dbc91a4b53 2011-05-30 * test/ruby/test_signal.rb (TestSignal#test_signal_requiring): don't close stderr.
3b3cf8753de031cdd109c5a7bd18ca6d18f95e01 2011-05-31 * test/ruby/test_signal.rb (TestSignal#test_signal_requiring): initialize SIGINT handler.
3e95b6386a0727b10e5be2e240f3a0defda01133 2011-06-01 * test/ruby/test_signal.rb (TestSignal#test_signal_requiring): redirect stderr to null device.
87f025da25e2ce7f75f99cc71bd5396ecbf4ae1c 2011-06-09 * io.c: fix IO.copy_stream interrupt handling. based on the patch by Eric Wong. [ruby-core:36156]
71fdb43e6ecab9d48c24c6e422685c86406a5dda 2011-06-11 * thread.c (rb_thread_execute_interrupts): use GetThreadPtr to extract rb_thread_t from VALUE. reorted by Motohiro KOSAKI. [ruby-dev:43700]
60e078c860eed4ed92aa7be556623a52bf218f1b 2011-06-12 * io.c: use select() appropriately for sendfile(). Fixed by Eric Wong. [ruby-core:36150] (maygvl_copy_stream_wait_readwrite): removed. (nogvl_copy_stream_sendfile): use nogvl_copy_stream_wait_write and maygvl_copy_stream_wait_read instead of maygvl_copy_stream_wait_readwrite.
58bae71a7b023b5bb5fdcfefb46232f3f14bc519 2011-06-13 * lib/securerandom.rb (SecureRandom.random_bytes): modify PRNG state to prevent random number sequence repeatation at forked child process which has same pid. reported by Eric Wong. [ruby-core:35765]
9778737d7b2a870ff195f318cceb48b93e661f03 2011-06-13 * ext/socket/unixsocket.c (unix_send_io): race condition fixed. (unix_recv_io): ditto. fixed by Eric Wong. [ruby-core:35574]
e504a81ff11c8611f06d54a23b355fed90b356ab 2011-06-13 * test/socket/test_unix.rb: don't use Thread.abort_on_exception.
cb728a297b3dd26e84d40456a4eddb6164bebaff 2011-06-14 * test/ruby/test_autoload.rb: remove temporary directory.
68c3b15398ca7aaedfac1bbe74981d3c3a21f5ea 2011-06-14 fix typos.
92c04380496c7ea6a1adca625ba12418eba4ed8b 2011-06-14 * bootstraptest/runner.rb (show_progress): extracted from assert_check. (assert_check): use show_progress. (assert_normal_exit): ditto. (assert_finish): ditto. (flunk): ditto.
7d6fe4e604f05fda58a2af4f32a16e87f0c99d01 2011-06-14 * bootstraptest/runner.rb (show_progress): refine verbose mode. (exec_test): ditto.
19853fc49b20626052d6cc92dbd7b08ecce03039 2011-06-15 * test/ruby/test_io.rb (test_copy_stream_socket): wait a child process before SIGUSR1 handler is removed.
94b65c9d3fc54460c2e7a0ceffaafdf9089704e4 2011-06-17 update doc.
e7996eb3cc1687d1f70ea8f78befddf821ad3ff0 2011-06-17 * internal.h: declare internal functions here.
c6575865aa2186058b92c976257bb78b1edf4ca6 2011-06-17 * common.mk: dependencies updated.
afd7e4668f8195a98eb45fd82132d3d11eada77f 2011-06-18 * internal.h: declare more internal functions.
8192693ccfc161a57a09b2f1f2b2f275182b66ac 2011-06-18 * io.c: supress warnings.
8a5330110b69b6a130417640284dde26191a8489 2011-06-18 * common.mk: update dependencies.
3b59f6c56278b1314f5b01a192ed03966aa3d0db 2011-06-18 forgot to commit.
7da3ea811e71bcf2445fe63608b15645ef205240 2011-06-18 * method.h, internal.h iseq.h: declare internal functions.
bc46292caa9ce7114856c0e035ad3bec3114ba32 2011-06-18 * internal.h: declarations declared in include/ruby/*.h removed.
5ed8c08aa0277b30e00cb27cc2da1d785c145170 2011-06-18 * eval.c, hash.c, load.c, proc.c, range.c, thread.c, time.c: don't declare internal functions.
2c7576a0214aab975bc6b7ac6e04eaa5aaf07d55 2011-07-19 * io.c (rb_update_max_fd): new function.
b1c03685bc8cb5eda9681e10d099764941a2da38 2011-07-19 * io.c (UPDATE_MAXFD): removed.
b41ccc4a9c4d4900e79642bb98ad87b2ba63e766 2011-07-20 * include/ruby/intern.h (rb_update_max_fd): declaration moved from internal.h.
272322bedeecfc0ef908e4746df4fea9b5cf90a3 2011-07-21 * ext/socket/ancdata.c (discard_cmsg): workaround for MacOS X Lion.
2bcd502a71bc0a140f3b78ed0d148745fb648555 2011-07-23 * io.c (rb_update_max_fd): validate fd.
f5b9de7502139b6c4013476e89b207fe39a5c104 2011-07-23 * ext/socket/extconf.rb: test recvmsg allocates file descriptors for fd passing even with MSG_PEEK.
0283c3d0bba4f4fca5da128bb0544e5745778cb3 2011-07-24 * ext/socket/extconf.rb: fix the recvmsg test.
29f354df6350f960a9ecf8a5e363208ead010a6c 2011-07-24 * ext/socket/extconf.rb: refine the recvmsg test.
8ef6a221443e432a94fb287157eda6f6b95d060b 2011-07-29 * ext/socket/mkconstants.rb: add documents for constants. patch by Eric Hodel. [ruby-core:37853] [Bug #4989]
b6ee29c9c0e86a083f3b11fde8d54ffec9f8d27f 2011-07-29 * ext/socket/mkconstants.rb: use whitespaces as a separator.
14871a378676977bf343464b32cefb5c3fb1796e 2011-07-29 * ext/socket/mkconstants.rb: fix typos.
31eb19bbb66480f65defe1d00df42abe52f109dd 2011-07-29 * lib/securerandom.rb: call OpenSSL::Random.seed at the SecureRandom.random_bytes call. based on the patch by Masahiro Tomita. [ruby-dev:44270]
1054b79609f3f468470ae022cea5445e58ed831b 2011-07-29 * ext/socket/lib/socket.rb (udp_server_sockets): unused variable removed. patch by Jeremy Evans. [ruby-core:38600]
642458fd77476ac3a364a914ab02097014c8f6b8 2011-08-02 * lib/prettyprint.rb: update document. [ruby-core:36776]
454de1d5eb178ae71397702702fbda4996196f65 2011-08-03 update doc.
184f041fb8de3398a859a20763f2a30ba1486065 2011-08-10 * lib/net/pop.rb: fix typo in document.
5515afbf8f5b7e9f3c611691a9dd8326f7bd6f9c 2011-08-10 * ext/socket/lib/socket.rb (Socket.tcp): add :connect_timeout option. (Addrinfo#connect_from): add :timeout option. (Addrinfo#connect): ditto. (Addrinfo#connect_to): ditto.
e7320dbe32788d113fb7c18f4ef91a46a131c4f0 2011-08-10 add ML ref. [ruby-core:38538]
6c0e64dee5cb5273f90b9ee51b49ca035689483d 2011-08-10 * ext/socket/lib/socket.rb: fix argument check in the previous commit.
562257497691b7ddc8032a872693b23918aa5726 2011-08-11 * ext/socket/ipsocket.c (init_inetsock_internal): use SOMAXCONN for listen backlog.
65bfe20244dad2fc582ee1b5d20137f8083ae5e0 2011-08-11 add ML ref. [ruby-core:38493]
4db0c519f51a891cadda08981e9e0f7f2b3f3f81 2011-08-13 * test/socket/test_socket.rb (test_connect_timeout): added a test based on a patch by Eric Wong. [ruby-core:38910]
5afbff7bc27fc2a937ed15429e0ade9d98460907 2011-08-16 duplicated statement removed in comment.
2fa6ebc64d04c455318ccd04e50a64986d72c4c5 2011-08-25 update doc.
cf7d76f0bccdec8dac0bb4a8b67955fe2c6cea2e 2011-09-09 update doc.
16f4ecbc8cb83f0cadf02eb254623c27ea1946f1 2011-10-22 * lib/resolv.rb: make timeout configurable for DNS query. patch by Eric Wong. [ruby-core:38533] [Feature #5100]
931226061b8fc437f8c706b67343ae7a6e25f26a 2011-10-22 * lib/resolv.rb: fix a exception name in previous patch.
00715f4c5aa12eec0dd88fb08bc7f46d23de8d40 2011-10-22 describe Resolv::DNS#timeouts= and Resolv::DNS::Config#timeouts=.
b574a4d4a1f1d77fa0224b02774456107cdbc932 2011-10-22 * include/ruby/intern.h (rb_fd_set_cloexec): declared.
df8126f9e3728771fa7d0dc319a14d9d33d505c5 2011-10-22 * test/openssl/test_ssl.rb (test_multibyte_read_write): start server for each length to avoid race condition.
e7ff29581b10da03be7b83f5e99e31e380573fd7 2011-10-22 * io.c (rb_fd_set_cloexec): set close-on-exec flag only if F_GETFD is defined. reported by Luis Lavena. [ruby-core:40281] [Bug #5470]
a28fe36c89cca3ae402f657f6bb8ebf038c23175 2011-10-23 * io.c (copy_stream_fallback_body): check nil for EOF of read method. patch by Eric Wong. [ruby-core:39134] [Bug #5237]
be561cbebedeb3a5c8cf164a488c56ffd412d894 2011-10-24 update doc.
5153fd2a5e930b70ebae087e2f6e254cf4a30929 2011-10-24 * ext/pty/pty.c (get_device_once): delay rb_fd_set_cloexec() until grantpt() on Solaris. grantpt() doesn't work with CLOEXEC on Solaris 10. reported by Naohisa GOTO. [ruby-dev:44688] [Bug #5475]
b317a4cd28f575b60cdff0da86afef5c1bde9a06 2011-10-24 * io.c: use "__sun" instead of "sun" to detect SunOS.
2bb5441808b95926697799de2ab2d2675c89084e 2011-10-24 * complex.c: use "__sun" instead of "__sun__" to detect SunOS.
49f6242b34f1daf9591b262c48723b7f2e7883d3 2011-10-25 * include/ruby/defines.h: use "__sparc" instead of "sparc" and "__sparc__".
f8751046b8b0a37b6257efcbb2f5aa082346719d 2011-10-27 * ext/sdbm/_sdbm.c (sdbm_prep): refactored for less nesting.
509ed0d94fea08f9e08767ddfa8564b9f9237c88 2011-10-27 * ext/sdbm/_sdbm.c (sdbm_prep): set FD_CLOEXEC flags for file descriptors. (fd_set_cloexec): new function.
769fcd704800aa37380e711559c04e366afcc7ef 2011-10-28 * ext/sdbm/_sdbm.c: RCS $Id$ removed.
27295f104a348d914815566f08bf9a57f72cf77c 2011-10-28 add a comment.
3ae3cd741d4ac85e2cd53c588318afb582412fd9 2011-10-29 * include/ruby/intern.h (rb_cloexec_open): declared.
da74bc75523ef4054030e5f3cf4aac3e9bfe8715 2011-10-29 * process.c (ruby_setsid): use rb_cloexec_open. (rb_daemon): ditto.
baa2d74daea424a7e28cf659e9d3a1fd05a7ff3e 2011-10-29 * io.c (rb_cloexec_open): use O_CLOEXEC if available.
3bffb5f3064b129941a2cf6f459aeb85e8469ea7 2011-10-29 * ext/sdbm/_sdbm.c (sdbm_prep): use O_CLOEXEC if available.
4ae2b92576e8e9fc43906e9483c79eff9d0522f7 2011-10-29 * include/ruby/intern.h (rb_cloexec_dup): declared.
a9648d1e58260d35438d759dccf81cc45be9b45e 2011-10-29 add a comment.
54d7e82613237819c0a5c484d94c097ff068c259 2011-10-29 * io.c (rb_cloexec_dup): use F_DUPFD_CLOEXEC if available.
0a9cb21e6215e50cb1d81f9f984a09b2b09176c1 2011-10-29 * include/ruby/intern.h (rb_cloexec_dup2): declared.
cb9f3040d7020fcac74f292eba810081b73b195e 2011-10-29 * configure.in: check dup3.
e745a03cfa60074b6d9569491f5932a74ee20e1b 2011-10-29 * io.c (rb_cloexec_dup2): don't set CLOEXEC for standard file descriptors.
f0b021c0cef7adbbca2574ceba4be6abacbdaf90 2011-10-30 * io.c (rb_cloexec_dup): don't allocate standard file descriptors.
7c43d8523cadf8cd0483581fb8a50138b7fc4d9f 2011-10-30 * ruby.c (fill_standard_fds): new function to open closed standard file descriptors. (ruby_sysinit): call fill_standard_fds.
6e0ed044b6d7e8247a49e85d622eab9f128dbdba 2011-10-30 * io.c (rb_cloexec_dup): refine control flow. (rb_cloexec_dup2): ditto.
0d2a92e0b327bd69781dd51f34278e843d5f0b74 2011-10-30 * include/ruby/intern.h (rb_cloexec_pipe): declared.
a3efca16a12044b46f0e305ddcacfe6d412afcca 2011-10-30 * ruby.c (fill_standard_fds): use fstat() instead of fcntl(F_GETFD) for MinGW. reported by Luis Lavena. [ruby-core:40526] [Bug #5516]
e7f8c03818873b7cd64cb5080fe329098352af6c 2011-10-30 * configure.in: check pipe2.
5c19f077008f6e6633e15a8d15fceb4b17d37208 2011-10-30 * include/ruby/intern.h (rb_cloexec_fcntl_dupfd): declared.
da5ae5544d4abd95b94df303018684847e1d88f8 2011-10-31 * io.c (rb_cloexec_dup2): check oldfd == newfd at first. pointed by KOSAKI Motohiro. [ruby-dev:44713]
92a8bfacd9e22062bf30ca4cb996af8f5e25b7b5 2011-10-31 * ext/pty/pty.c (get_device_once): use O_CLOEXEC for posix_openpt if available.
c4dd8ca7b36056a2aa08eaa454a8dbd0d8420a55 2011-10-31 * test/resolv/test_dns.rb: don't check maximum sleeped time. ruby doesn't guarantee the maximum time because it is not a realtime application.
687c41dc4d03ba77cd5c286ab721ce56100120e7 2011-10-31 * io.c (fd_set_cloexec): clear CLOEXEC flag for standard file descriptors. (rb_cloexec_dup): use rb_cloexec_fcntl_dupfd. (rb_cloexec_fcntl_dupfd): use F_DUPFD_CLOEXEC if available.
6533f070ba616662b7ab7504f7bc2a0827394a89 2011-10-31 * lib/resolv.rb (Resolv::DNS): retry IO.select for premature wakeup.
1a70dfe6f4750a577b889a568527a07ed540d43c 2011-10-31 * include/ruby/intern.h (rb_fd_fix_cloexec): renamed from rb_fd_set_cloexec.
a16c2745fe843d41bf2046e8362e6963c604e5a8 2011-10-31 * ext/dbm/dbm.c (fdbm_initialize): use O_CLOEXEC if available.
1a8fbff3dbbddf3c0d4e58d0f7da9ad1eb0e2025 2011-10-31 * ext/socket/init.c (rsock_socket): use SOCK_CLOEXEC if available.
8ce4a284e438bf1b5a652a7d27db84f24fb742ff 2011-10-31 * ext/socket/socket.c (rsock_socketpair): extracted from rsock_sock_s_socketpair.
ee5ae134dd1c0037a36b2e0c78cd4e326d002c3a 2011-10-31 * ext/socket/socket.c (rsock_socketpair): use SOCK_CLOEXEC if available.
7ae60a6b0d529ba04b8b59d3e5a58320a54b5878 2011-10-31 * ext/socket/ancdata.c (nogvl_recvmsg_func): use MSG_CMSG_CLOEXEC if available.
24176a8d5d98ea7d1eb3971ffb7fad7f9ccd2adb 2011-10-31 add comment.
5dbc3d1e7919f1ee2058baec9555684ee0babed0 2011-10-31 * ext/socket/init.c (cloexec_accept): new function to use accept4 if available. (rsock_s_accept_nonblock): use cloexec_accept. (accept_blocking): ditto.
c16f98ab0a4976998d7ff35ffbbb4f3ca110439b 2011-11-01 * io.c (rb_maygvl_fd_fix_cloexec): renamed from fd_set_cloexec.
1bbae2431ff1746cbc8fee66df69131f0e2d7294 2011-11-01 add comment.
b7d397348e6bf508bf337ec9c1c2d88d1cbfa84a 2011-11-01 * internal.h (rb_maygvl_fd_fix_cloexec): change the visibility for ext/socket.
89a1258110b72b700016ea09cbd7b73c3a875dea 2011-11-01 * io.c (rb_io_reopen): call rb_maygvl_fd_fix_cloexec after freopen().
809006f407147d6788d785e86590a79603110a38 2011-11-01 * io.c (rb_io_reopen): call rb_fd_fix_cloexec instead of rb_maygvl_fd_fix_cloexec.
c852d76f46a68e28200f0c3f68c8c67879e79c86 2011-11-01 * lib/webrick/utils.rb: fix fcntl call.
df6a0fe8bb0d41634689af8dcbee2c3e5eed4818 2011-11-03 close a socket in test_socket_new.
88f1b8cf0c286d5a499d0832cde5ff6be4105d89 2011-11-03 add test for close-on-exec.
b45c882aec9d5d97261b11704c931c03f8d69639 2011-11-03 * ext/socket/socket.c (rsock_socketpair0): extracted from rsock_socketpair to set close-on-exec flag for each socketpair() call.
df390d82f9c53ba2a3404dc09997bc8a46d716f9 2011-11-05 * ext/socket/socket.c (rsock_socketpair0): don't clear try_sock_cloexec if SOCK_CLOEXEC is not a reason for EINVAL.
0e68c46e2dc4ae6603f9dd53a2048c6d8bddea10 2011-11-05 * ext/socket/init.c (rsock_socket0): extract single socket() call with CLOEXEC handling from rsock_socket.
385a7d4594da0168c7e9cf031f1e4a9c6ff46e8c 2011-11-05 * ext/socket/init.c (rsock_socket0): don't clear try_sock_cloexec if SOCK_CLOEXEC is not a reason for EINVAL.
a3521e0261d229f8402cc84a018d2bc1a64fcc5a 2011-11-05 * ext/socket/socket.c (rsock_socketpair0): refactored.
333c847f19a0e9d53ab3021fed7517a5604d2bf4 2011-11-05 * io.c (rb_cloexec_fcntl_dupfd): don't clear try_dupfd_cloexec if fcntl(F_DUPFD) failed as fcntl(F_DUPFD_CLOEXEC).
df334f5277548bb71877224f26531dba388b9805 2011-11-05 * lib/test/unit.rb (Test::Unit::Options#non_options): options[:ruby] should be an array. This fixes "./ruby test/runner.rb test/testunit/test_parallel.rb" [ruby-dev:44782]
5cb63654873fb7e6673a544f0cfba35378319f7f 2011-11-06 * ext/socket/rubysocket.h (rsock_recvmsg): declared.
987c03a387fd0cb9cc4880bfffee51e5d18209e8 2011-11-07 * io.c (rb_close_before_exec): use F_MAXFD if available. F_MAXFD is available on NetBSD since NetBSD 2.0.
e4e5b7df4cca2cedba1ec2b52f75c450a0c618ce 2011-11-07 * ext/dbm/extconf.rb: check dbm_pagfno() and dbm_dirfno().
733a57b878e1ac5f3639300947ee0c46cc0c690e 2011-11-07 add comment.
4764756497ace72f8578ab886ae1e8b45c2def7c 2011-11-07 * ext/gdbm/gdbm.c (fgdbm_initialize): set close-on-exec flag.
bd3b3c1b51a7d6ca50d9391d77c5ef618166caa3 2011-11-07 update doc.
c2c0707949d8b09441a46f7011cd4ed6bb5f9e86 2011-11-08 * ext/pty/pty.c (MasterDevice): define only when used. (SlaveDevice): ditto. (deviceNo): ditto.
ddb9acd9f83d28185a0e43fd7a4a3598157b99cf 2011-11-08 * test/dbm/test_dbm.rb: split tests for read only database.
3f289d9237dc9be556f3f5ca2606b9589f509379 2011-11-09 add comment.
e68f4ac7dc5a55c16e560fa7796bb9981ec6833d 2011-11-10 add comment.
688e1b34a6877b7f4aeea9cd1dbf6698ce3652b3 2011-11-11 add comment.
266d09839b436b2ecc1d95456db4771b5a8119db 2011-11-11 * ext/dbm/extconf.rb: fix dbm_pagfno and dbm_dirfno detection with Berkeley DB. Macro definitions needs arguments to detect correctly. SIZEOF_DSIZE needs -DDB_DBM_HSEARCH because db.h defines datum type only if DB_DBM_HSEARCH is defined.
268f6c3680ca5895630f92025a66ba67c2a0c7e2 2011-11-11 * ext/gdbm/gdbm.c (fgdbm_initialize): use GDBM_CLOEXEC if available.
db48bbdf0b4b8400d4ad0c1df5190d898fd9ed75 2011-11-11 * ext/dbm/extconf.rb: db_prefix is not required now.
df2e1f85d2192be61eb5a8f8cb9663f47769101b 2011-11-12 * ext/dbm/extconf.rb: dbm_clearerr should be available in all ndbm implementation. If it is not available, it is caused by header/library mismatch such that Berkeley DB header & gdbm library.
0eb08aa068abc9101d1452ce868126575782b471 2011-11-12 update comment.
2b2ef5cfced1c06ceb9920afd6b24255510d4242 2011-11-13 * ext/dbm/extconf.rb: rollback $libs and $defs when db detection is failed. It fixes -lgdbm -lqdbm when the system has qdbm and gdbm without gdbm_compat.
3e5bff7ec18cb834f7e05ed5f973edd35f990617 2011-11-13 * ext/dbm/extconf.rb: duplicate $libs and $defs when save them.
e8ca9cc343dcdf11641bd8a9d73bf7aa291b5572 2011-11-13 * ext/dbm/extconf.rb: treat libc as a choice for a library which provide ndbm API.
bfed16a21f057a1b0fed51936ff11a64ac7c4ea3 2011-11-13 * ext/dbm/extconf.rb: rollback for each headers for each libraries.
abe61eb0d136581d031fd8694ec8682820bba722 2011-11-13 update comments.
4b01d611dbd7911f3f68f1a8b4666125bceaf25b 2011-11-13 * ext/gdbm/gdbm.c (fgdbm_reorganize): set close-on-exec flag after gdbm_reorganize(). gdbm_reorganize() opens a new database internally.
158a828c97ac00799533d942f90a31f712b9290a 2011-11-14 add comment.
b848d4f9c8859ad2d37c9523759366d9b24f0464 2011-11-14 * ext/openssl/ossl_pkey.c (ossl_pkey_new_from_file): set close-on-exec flag.
3d25acdccc6c6afec0649655859590892b561c9d 2011-11-15 * io.c, thread.c, ext/pty/pty.c, ext/fiddle/closure.c: use __linux__ macro for consistency.
498a6e8a05e77f3d85f45945293f46054565903c 2011-11-15 * test/ruby/test_sleep.rb (test_sleep_5sec): 0.1sec tolerance is too small for busy environment.
737907b24abacfe6ebed79b33f9a8ba8ca3d4b15 2011-11-15 * test/ruby/test_thread.rb (test_condvar_timed_wait): use assert_operator.
09d2180d2d813e3f78a5c76b021943ceb36ddb8b 2011-11-17 * ext/dbm/extconf.rb: revert a part of the patch in [ruby-dev:41531]. don't use db.h with other headers. [ruby-dev:44884].
805a01cb9a723f3d9f2a53591a3c3fdd61046547 2011-11-18 * test/net/http/test_http.rb: remove temporally files.
b0fe68867625cf252dd100afbc4a7776354035d7 2011-11-19 * test/net/http/test_http.rb: remove temporally files in ensure clause.
6445aab4724529f511c5d2908b452e8145560f14 2011-11-19 * time.c (TIME_COPY_GMT): copy vtm.utc_offset and vtm.zone too. patch by Tomoyuki Chikanaga. [ruby-dev:44827] [Bug #5586]
62fed7c91a7a38e0469bbd454d1c4e8c373e91e5 2011-11-19 update doc.
54f282c2c4102e6b2d3c641054b3c08808788224 2011-11-19 * lib/pathname.rb (Pathname#find): return an enumerator if no block is given.
562c42a668ded49568e71d8af16576818babb97a 2011-11-20 * lib/set.rb (SortedSet.setup): don't remove old_init. The remove makes the warning prevention fragile. [ruby-dev:44892]
901ed0b3187048dd064b4bfdaaecc94881ab5800 2011-11-20 * lib/set.rb (SortedSet.setup): remove old_init after initialize method is redefined. The remove before redefinition makes the warning prevention fragile. [ruby-dev:44892]
f49f6ff1d75d7cb456811f6fa15aa9a935236748 2011-11-21 * io.c (linux_get_maxfd): new function to find maximum fd on Linux. (rb_close_before_exec): use linux_get_maxfd.
08f8dfc20bdec42a08b6c062ec993f00f4b8775b 2011-11-21 * io.c (linux_get_maxfd): get rid of a warning.
19bca2e6b203e4b25b5b14a6907177b1267d927d 2011-11-21 * test/ruby/test_io.rb (test_fcntl_dupfd): the argument of F_DUPFD is minimum file descriptor.
4e29a1a8fd69e8f13dbfacdbb897fc378ac0ad4b 2011-11-21 * test/ruby/test_io.rb (test_fcntl_dupfd): there is no known platform which don't have F_DUPFD. [ruby-dev:44874]
7e35d6fcaa773afc4f492689471f5687cc41c814 2011-11-24 add a test.
bee4e843ce20dd899eb86fd2f6947e6573b20465 2011-11-24 * io.c (rb_io_reopen): re-initialize buffereing mode for stdout and stderr.
d7b7f56c8c3017073bd8ff5917367bbfb8af206a 2011-11-24 * test/openssl/test_engine.rb: use IO#reopen to restore stderr.
5f652716ca9d49cc1b89525b4c877d0bd426da91 2011-11-26 * io.c (copy_stream_body): use 0666 for permission argument for open. [ruby-core:40865]
eecacaa024d59dc7cd7c9ff37a017478082b0a89 2011-12-01 * io.c (linux_get_maxfd): change local variable name.
7b18746587b25ab1438be4b20ea7d59e99db84f1 2011-12-04 * lib/tempfile.rb (Tempfile::MAX_TRY): remove unused constant.
250d10b21f7f4482ab33da91a699c4b542c92b33 2011-12-04 fix a typo.
b8f3ef613613b5d9b275f84fa774b03ef493ac21 2011-12-04 * lib/tempfile.rb: don't use lock directory. [ruby-dev:39197]
2f49f5ee0b257a2cb52b66ba36ab65bb2fa4641a 2011-12-06 * ext/dbm/extconf.rb: detect gdbm_version in libgdbm.
bb1875175bd683014008e23cde429d8508d5524e 2011-12-06 * ext/dbm/dbm.c: use db_version() instead of DB_VERSION_STRING for detect runtime Berkeley DB version. use dpversion instead of _QDBM_VERSION for detect runtime QDBM [ruby-dev:44948]
c5fada686d160b0caedb9af40ffcc75995e88edb 2011-12-06 fix spaces.
63fe8b697cd886beecb06f4020cab58676aa2a80 2011-12-08 update doc and add test for SystemExit.new.
48c7c84e46809291746ff4229a30e8da9b6cde3a 2011-12-17 update doc.
3be2c7db1e458a6954cd501f5067a3d46dcf5222 2011-12-22 * test/ruby/test_thread.rb: don't test the maximum sleep time. Ruby is not a real-time system.
37b79d03a6ed4c6eee5d15a76b44334832796c83 2011-12-22 * test/test_pty.rb (test_pty_check_default): "cat" may not terminateed in the 0.1 second.
8beb0d358782c08d8b529c7ba655b196573328f4 2011-12-23 * test/test_pty.rb (test_pty_check_default): call PTY.check until "cat" command is finished.
e89bebdab448f20555a322d84ef42eea531c51cc 2011-12-23 * test/thread/test_queue.rb (test_thr_kill): show the number of loop run when the test failed.
dc42e8bbe89fe194805a1371276edaf83ec069c2 2011-12-23 refine message for test_thr_kill.
c5485f41ea6a5b5691164924842250fcf893f770 2011-12-23 * lib/tempfile.rb (Tempfile#initialize): warn if a block is given.
432a992aafc6756a02963629f49ff26b1489ddc8 2012-01-02 * lib/securerandom.rb (random_bytes): use IO#read instead of IO#readpartial to make the intent more clear.
5335b4b608405efe33ca09c359988e8cd0bc87ee 2012-01-09 update doc.
a408b64c6205198135e90ac4c23c632828737be1 2012-01-09 update doc.
268d1a2244b0179848a10a2841b4c037db52d3bd 2012-01-09 * ext/socket/lib/socket.rb (family_addrinfo): return the given addrinfo object. Patch by Ippei Obayashi. [ruby-dev:45095] [Bug #5845]
bb1115a2d6b1ab37a1ae725bc26a965884f44029 2012-01-09 * ext/socket/lib/socket.rb (family_addrinfo): don't require protocol equality. For example, protocol 0 and IPPROTO_TCP is not problem for TCP.
afb5eef4e2a96934a188e1622c51636b5665fc8d 2012-01-09 * ext/pathname/pathname.c (path_entries): add document suggested by the thread [ruby-core:41959] [Bug #5859].
5525d821344f6807af4e81d9fe572703f6e9ba9e 2012-02-02 update doc.
de25f35c986512dab1059f7655380bf7c3f7e814 2012-02-08 update doc.
3b1276eb390779a79d42bfabd588567efadcb72d 2012-02-09 update doc.
f119915f5139a33273363c64ca1f3862f171e71c 2012-02-11 update doc.
4e8d188ead792761c590e7c313039176f66e4df5 2012-02-11 update doc.
3ab9be9245c1e49ee40c4e7b728feddc2368fbd0 2012-02-11 update doc.
078b3cf95e454e5e87a27dcff20f52f4a58ad2d8 2012-02-16 * ext/dbm/extconf.rb: check _DB_H_ macro unavailable except Berkeley DB library.
d698ea8991ff6f0d6160838bdd5785a01fdf266d 2012-02-16 * test/dbm/test_dbm.rb: fix skip condition for libgdbm 1.8.0 or prior. reported by Bohuslav Kabrda. [ruby-core:42685] [Bug #6036]
2f92a267f4d0c4aad1c414515092ca7bf99206fe 2012-02-16 * ext/dbm/extconf.rb: refactored to split too long conditions.
fbca1d0da135b29f311dff5afcc6d6a3cbc597c7 2012-02-17 * ext/dbm/extconf.rb: don't check libdbm. It is not a ndbm implementation. (libdbm in Version 7 Unix is database library for single database per process.)
6d1f751207de36053d061657691603a47a4c6496 2012-02-17 * ext/dbm/extconf.rb: refine header/libraty mismatch detection. check only for ndbm.h except libc. check _GDBM_H_ for gdbm. check _DBM_IOERR for the original ndbm.
92e7c2d3eab31487164a41984a246f5809936b1a 2012-02-17 * ext/dbm/extconf.rb: remove dbm.
e7a1d4a309152582215fe23799491e31d802d90d 2012-02-18 * ext/dbm/dbm.c (DBM::VERSION): define it by detecting _GDBM_H_ or _DBM_IOERR.
48a97f2c949a1ab22bc11c0be6b5da30a6ce6e72 2012-02-18 * test/dbm/test_dbm.rb (test_dbmfile_suffix): test dbm file suffix.
4c1ea85dd892fa557205d0c85b60e59415cc2ae8 2012-02-18 * test/dbm/test_dbm.rb (test_dbmfile_suffix): DBM::VERSION should be Berkeley DB if foo.db is created by DBM.open.
fc0111cce1bc77a277b1f098027a898a919f0981 2012-02-18 * ext/dbm/extconf.rb (dblib): prefer recent GDBM over older GDBM. (have_declared_libvar): new function to check a declared variable exists in a library. (have_undeclared_libvar): renamed from renamed from have_libvar. (headers.db_check2): check that GDBM version variable if GDBM header is choosen.
90cc116431fa4e946d8c8ea9cdba7b492da11ea4 2012-02-18 simplify a test.
fcd8f78ea354d250353b693567a0eb68798844a8 2012-02-18 * ext/dbm/extconf.rb: don't choose 'dbm' if _GDB_H_ is defined which is available since GDBM 1.9 because 'gdbm_compat' is appropriate choise since GDBM 1.8.1.
0187905af2e16438606ead7618328bf062cc3339 2012-02-18 * ext/dbm/extconf.rb: detect GDBM's ndbm.h by testing dbm_clearerr is an empty macro.
62debc952d23dad49611393bb0889a6c4a75bad2 2012-02-18 * test/dbm/test_dbm.rb (test_dbmfile_suffix): check magic numbers.
c509bec71deb3a757a090ab9dc1a6d64f38c72ff 2012-02-18 cosmetic change.
460bb8a829904476bd8b8006f0274499d23b991a 2012-02-19 * test/dbm/test_dbm.rb (test_dbmfile_suffix): check pag and dir is empty for 4.3BSD ndbm.
1efa14169ac0b3f55b9026985095ca256c1315e9 2012-02-19 add assertions.
95f3f9829f8a5e8ff29c5c6b26f1062c7cb23786 2012-02-19 * ext/dbm/dbm.c (Init_dbm): refine DBM::VERSION definition.
d7bf156afd420a6a77ca2fac30c333e860243121 2012-02-19 * ext/dbm/extconf.rb: show header and library found.
05a2cd709f4b223c1e3c32d7699b31d7dab20591 2012-02-19 add a test.
f8015c23c48bb65cf057480e6436aa0c9cad1f4f 2012-02-20 * ext/dbm/extconf.rb: refine variable names.
faf4c9db80b12e590c38863604889032ea097711 2012-02-20 * ext/dbm/extconf.rb: weaken header/library consistency check if db is "ndbm". It seems several (possibly historical) distributions provide libndbm. However the content of libndbm vary: Berkeley DB, GDBM or even 4.3BSD NDBM. (Mandriva, Tru64 UNIX, OpenSuSE, SCO OpenServer, ...) "ndbm" is not searched automatically now (dblib doesn't contain it) but configure --with-dbm-type=ndbm choose libndbm and ndbm.h.
9f6f0788d29e5883bd45f5f4e326e5a9ea9f12bf 2012-02-20 * ext/curses/extconf.rb: restore $libs and $defs for each header/library choice.
83f742f86fd20527b5568dca7bdf2b251c511f55 2012-02-20 * ext/curses/curses.c (Init_curses): define Curses::VERSION.
b17bc954001848da03b12639ee459860fb584006 2012-02-20 * ext/curses/extconf.rb: fold too long lines.
a1292c72efae2aae02009de870c8a144083b6c02 2012-02-20 update comment.
25df75e1195fe6c9d957ef8123096275ade04467 2012-02-21 * ext/curses/curses.c (Init_curses): use curses_version() for Curses::VERSION.
eac1d9cfcad5d2d56951e540eb7023eccf7a3593 2012-02-21 * ext/dbm/dbm.c (fdbm_initialize): disable Berkeley DB error messages.
8963f50f269f93d2ca7034cf3c6508e9df1686f6 2012-02-21 * ext/dbm/extconf.rb: check DBM_SUFFIX for Mac OS X. Its ndbm.h doesn't include db.h.
9fc31792ce55306e977f65d9a44f3da3e015a4cf 2012-02-22 * ext/curses/extconf.rb: refactored.
fa65fc9aeb5e73b84ce80c4c2c3edaa888362e03 2012-02-22 * ext/curses/extconf.rb: show the chosen header and library.
c01d52e8d9e3f1596d3bbbebaa8ea35c330f8763 2012-02-22 * ext/curses/extconf.rb: try to distinguish curses_version is a function or variable.
7c80d15165022a040805001586472fa89dd266d9 2012-02-22 * ext/curses/extconf.rb: refactored.
01433e4d53c37ac3620a72ec1b155e3e7be6ab7b 2012-02-22 * ext/curses/curses.c: use defined() to suppress a warning.
fd2e0e3dac68bd45fac8a51abf76408383ef0452 2012-02-23 * ext/dbm/extconf.rb: use DBM_SUFFIX only to detect header of Berkeley DB.
845b21064cb2638e26e11b77de58ba616fbaf183 2012-02-23 update comment.
57e95f86be629449cba21e4d1893bb5e11214e5d 2012-02-23 * signal.c (sig_trap): show signal name on error.
a49fc9beb620090bbca309cfb1c1167644a38d46 2012-02-23 * ext/curses/rain.rb: trap SIGHUP, SIGINT, SIGQUIT and SIGTERM only.
e5cf1dcf7be412eebb9b3b14e516f363aab1167e 2012-02-23 * test/test_curses.rb: new file.
cd390b1ec501c20cec43ee91a2b153b8ed1057db 2012-02-23 * ext/dbm/extconf.rb: unused macro removed.
427035c0bbed108cfc305b55a4773072362504dc 2012-02-23 add comment.
aa281e75179caa27228a0051efb94d14f7c553e4 2012-02-25 * ext/curses/curses.c (Init_curses): make Curses::VERSION understandable without context.
d9adb03dd902c1cf7e5fadc8320dccec0ef73139 2012-02-25 * ext/curses/curses.c (Init_curses): use rb_define_const once for Curses::VERSION.
905609851690f3c67c1b54186535dc9b7acf697d 2012-02-25 update comment.
51438b1c150d225e13f96b2167217e38a441df8d 2012-02-25 ad comment.
a38958a521a72efdb209a83fbb81911ced919d00 2012-02-25 * ext/dbm/extconf.rb (headers): try ambiguous headers at last.
61c148723d128db48196a7f46e9ba2b7e704fc37 2012-03-03 * process.c (rb_run_exec_options_err): chdir at last to interpret relative pathnames from the current directory of the parent process.
4dbafb0d89376a9a05c8de9729a5e604ce470b52 2012-03-09 update doc.
c7c91247e25ad535f3182e84e3fc33972c94447d 2012-03-09 typo fix.
ed924d2fa98428e684eeec06a43e687bf6adf0e9 2012-03-11 cosmetic change.
48b5b163fcb6dbf20402ae319114583d00a77805 2012-03-11 * lib/tmpdir.rb: update document for changing FileUtils.remove_entry_secure to FileUtils.remove_entry.
5e3009aa4557bdb7e5e70e4e38fea7b21d1867f0 2012-03-12 * lib/fileutils.rb (fu_have_symlink?): specify TypeError for rescue clause.
b681457f018c9d8ef2233a2f97ab998d629182c9 2012-03-12 * lib/tmpdir.rb (Dir::tmpdir): test the current directory suitable for temporary directory.
7e78f6f52631d6ae00e7300df16ad2d3a73e862b 2012-03-18 * compile.c: typo fix by Run Paint Run Run. [ruby-core:28368] [Bug #2824]
d6ba4bcaa5d20c5e92b0108092eebea5231d383c 2012-04-20 update doc.
cc19bcf11fdb008e74efdffab78b6680d2728385 2012-04-21 * lib/drb/ssl.rb: close accepted TCP socket if SSL accept is failed. [ruby-dev:45541]
e16e961bab2c4f8ae66c2b19f638c63a48f19ae4 2012-04-22 * lib/drb/extservm.rb (DRb::ExtServManager): don't use /bin/sh to invoke service subprocess. mark detach threads for clean up.
f7d01d27a60a53862e3d62dae80bee8d7ec23db5 2012-04-22 add ML ref.
8f16d22e99db6b3a2298d2bd6bc99ffd196bed33 2012-04-23 * test/drb/drbtest.rb: rescue Errno::ESRCH for Process.kill. [ruby-dev:45551] reported by NARUSE, Yui.
c2086cc7ff1142b14c95c8758af24b8689b78ffc 2012-04-23 * lib/drb/ssl.rb: generate 1024 bits RSA key instead of 512 bits. OpenSSL 1.0.1 rejects 512 bits RSA key for TLS1.2 with SHA512. http://rt.openssl.org/Ticket/Display.html?id=2769&user=guest&pass=guest reported by Bohuslav Kabrda. [ruby-core:43844] [ruby-trunk - Bug #6221]
146aff91c43bf19f753a928410f9e55b2a17868f 2012-04-23 * test/socket/test_unix.rb (bound_unix_socket): make temporary filename shorter for less possibility of Unix socket path over 107 bytes when TMPDIR has long path.
7c346a46d34332e52baa762f2e0dca978db5f8cf 2012-04-24 * ext/socket/raddrinfo.c (init_unix_addrinfo): show actual path length when it is too long for Unix socket.
a06cddb466eafb046fcfdf0fd60684acb0b3d0a3 2012-04-24 update doc.
c1d27b8c8d29ffc69f12b87e6261ff8fc4fc3701 2012-04-25 * ext/socket/raddrinfo.c (init_unix_addrinfo): refine error message format. (addrinfo_mload): show more information on "too long AF_UNIX path" error. (addrinfo_unix_path): ditto for "too short AF_UNIX address" and "too long AF_UNIX address" error.
1413510ed2d8175dcce7c2c14c02e720c8406429 2012-04-26 * ext/socket/raddrinfo.c (init_unix_addrinfo): support the longest path in sockaddr_un. (inspect_sockaddr): ditto. (addrinfo_mdump): ditto. (addrinfo_mload): ditto. (rsock_unixpath_str): new function. (rsock_unixpath): removed. (rsock_unixaddr): use rsock_unixpath_str.
4c87e9433a95101352e0e17b0bd59901d0680931 2012-04-26 suppress a warning.
b82f8f7191985abe997a8886f2b67e3a310524c0 2012-04-26 add a comment.
da12c793c4c7ae60b50b944791ad057de86cb527 2012-04-26 * ext/socket/socket.c (sock_s_pack_sockaddr_un): support the longest path in sockaddr_un, really. reported by nagachika. http://d.hatena.ne.jp/nagachika/20120426/ruby_trunk_changes_35474_35476
ce007c7c86b4f6793179088937d23b5b01962118 2012-04-30 * ext/zlib/extconf.rb: detect z_crc_t type which will be defined since zlib-1.2.7.
7d89ecdc523aab7b9908501b6743da2c26a53825 2012-04-30 * lib/fileutils.rb (copy_metadata): use File.lchown and File.lchmod to update meta data of symlinks.
52af87a5a75f1d5bba26b8884cfa6c466ffee680 2012-04-30 add an assertion.
a961a8edf04c81a22686728d59f2cba0f1fc481e 2012-05-06 * lib/securerandom.rb: show actual read length in an error message.
e76660caad5cda23abd65b7431f2df635280a741 2012-05-07 * lib/securerandom.rb (random_bytes): call to_int method for the argument at first.
e1ee200bf711df20fc0c89e6b78de01ceb0ef86e 2012-05-07 refine an error message.
23e7a4e285767b613349038b8601372e214342ec 2012-05-13 * ext/etc/etc.c (passwd_ensure): move endpwent() call from passwd_iterate to close /etc/passwd on exception. (group_ensure): move endgrent() call from group_iterate to close /etc/group on exception.
f4f28bf75f0aa534de3b1edcf46c8a6ee905e9af 2012-06-03 * use execve() to preserve environment variables when exec method is failed. [ruby-core:44093] [ruby-trunk - Bug #6249]
033e2187c65918ee051553b57be9924878b3fda5 2012-06-03 * process.c (rb_proc_exec_e): extended version of rb_proc_exec() to call execle(). (rb_proc_exec): use rb_proc_exec_e(). (rb_exec_err): use rb_proc_exec_e().
9977e1cbc799fc1710e65d7978b39a65e75f38b7 2012-06-03 * process.c (rb_check_argv): use rb_str_new_frozen instead of rb_str_new4.
cb44ffc4af6ab85819492567e8ca63763bac45f4 2012-06-03 * process.c (rb_exec_getargs): remove rb_exec_arg argument.
9ee4575ea418992d3a03eb7065d31159bb51fb72 2012-06-03 * include/ruby/intern.h (rb_exec_arg): remove argc and argv fields. add use_shell, argv_str and argv_buf fields.
93e005d177bfbf82d7b8b8c3eedc0993f698edd6 2012-06-03 * process.c (rb_proc_exec_e): don't use ISSPACE(). \f, \r and \v are not word separator in Bourne shell.
6b348951ca25f14088f05f782f1cbc70332d94a6 2012-06-03 * process.c (rb_spawn_process): fix for Windows. not tested.
41819dc447067891a2154f1c99c0cb4589f7b73f 2012-06-04 * internal.h (ARGVSTR2ARGC): defined. (ARGVSTR2ARGV): defined.
71fd73dff88fa29b41f92e39412d31ad651dbea4 2012-06-04 * process.c (rb_exec_fillarg): allocate one more element before beginning in argv_str for try_with_sh.
993b4f391153dbc731af1c73b31bcec1690eed53 2012-06-04 add comment.
9ab2ce20b3197b9f8c6bb8caca508ed6c04f1f5c 2012-06-04 don't exec in the test process.
5b13036fce91d8970448e565e4319939b27cdc00 2012-06-05 * process.c: add comments about async-signal-safe.
e58ec3372190b0f9e294351a4e1ca603da01ca72 2012-06-05 * process.c (rb_exec_fillarg): bail out a loop eagerly.
e3d685907c140bd780d4108b80a83b036a0e32d4 2012-06-05 * process.c (proc_spawn): don't detect simple command line here because rb_exec_fillarg already did.
b1ae6e473e1c1865a1dcd5e4e5d242345c20cc77 2012-06-05 * process.c (strtok): declaration removed because it is not used.
ad5bfed17c7cfe9728ee4726a21cd8783756cd61 2012-06-05 * process.c (rb_exec_arg_fixup): allocate a temporary buffer for run_exec_dup2 here because it should be async-signal-safe. (run_exec_dup2): use the temporary buffer. (run_exec_dup2_tmpbuf_size): new function.
a79bbdf6b5c84a109747d54ac7a5a9449f11fc17 2012-06-05 * internal.h: rb_exec_arg and related stuff moved from intern.h
71e793533194e1dd03036b4e0c3cc4550d822477 2012-06-05 update async-signal-safe comments.
53b17a769b873a889c15c4cf4d34e9a58a03b552 2012-06-05 * internal.h (rb_exec_arg): use union to represent command invocation with/without shell.
3162e673a1f376ae2126c10eec0e97ae76181af3 2012-06-05 * internal.h (rb_exec_arg_init): change return type to void.
0acd09c9e57dbaf506a5d2d6ac2bea5290994fce 2012-06-05 update async-signal-safe comments.
c8d6b6e8fa5b3309d5ac1c879ebb69da814e1d1f 2012-06-05 * process.c (rb_spawn_process): prog variable is not used for Unix.
a4ef2bbdd1e3564e0440ac3feb90bf00d36be3ac 2012-06-05 * process.c (rb_exec_fillarg): check use_shell field before accessing a union field.
7685837427e60770d7228cc1d3db97257521a606 2012-06-06 * process.c (try_with_sh): take envp argument. (exec_with_sh): ditto. use it for execve. (proc_exec_v): provide envp for try_with_sh.
70232e400cae3509b6b816e3c8beed8be6f55dd7 2012-06-06 * process.c (proc_exec_v): don't call dln_find_exe_r here because it is not async-signal-safe and proc_exec_v is called in a child process. command_abspath field of rb_exec_arg. (rb_exec_fillarg): call dln_find_exe_r and set command_abspath. (rb_exec_err): Give the absolute path of the invoking command for proc_exec_v, instead of the command name.
aaf6bde9780173a989acc3af7d25debc350f53e8 2012-06-06 update async-signal-safe comments.
78d7def61988764344d2630ae77113e1edb2af5d 2012-06-06 add a test.
3c3b563205c91ae38036d76e8c48bfd4a9980f0d 2012-06-06 * process.c (proc_exec_cmd) renamed from proc_exec_v. (proc_exec_sh): renamed from rb_proc_exec_e. (proc_spawn_cmd_internal): renamed from proc_spawn_v. (proc_spawn_cmd): renamed from proc_spawn_n. (proc_spawn_sh): renamed from proc_spawn.
7f83b7e14f3dc2b4a7590d6ba6805ba628f64a9f 2012-06-06 remove wrong comments. earg is processed by surrounding rb_run_exec_options_err call.
7e0c93b0c3225ff1ffe306af9e8ae34d3e7f57d3 2012-06-06 fix a comment.
13edb951b71881b6ef89d1ab10e2e50eadd5d8da 2012-06-07 * include/ruby/intern.h: rb_exec_arg and related stuff moved back from internal.h
0d92aac60205ef80daae9b7b32e822c9f243549e 2012-06-07 * process.c (rb_fork_err): Fix the conditoin to use rb_protect.
86c82ad6478aa054adecd475eeb31c062c1e4a89 2012-06-08 * process.c (ARGV_COUNT): unused macro removed. (ARGV_SIZE): ditto. (ALLOC_ARGV): ditto. (ALLOC_ARGV_WITH_STR): ditto.
c17c8ebb1467cc78028cf2794f666d7493f46caf 2012-06-08 * process.c (rb_exec_err): after_exec() call moved from proc_exec_cmd and proc_exec_sh. (rb_proc_exec): ditto.
373a7d1a9552428d65b7f81527c77a5837410746 2012-06-08 * process.c (rb_fork_err): revert r35955. The condition needs !chfunc to close ep[0] and ep[1]. The catched exception is re-raised immediately after that if status is not NULL.
ba1c1786d625a9477f029e153a5f10a7e9476319 2012-06-08 add comments.
795c5f9b40e9b7ad35368a6a86c9c310a6c9a2d8 2012-06-08 * process.c: don't check the availability of FD_CLOEXEC. It should be available if fork() is available.
b9824fbb0817da6ebc6b34c12c6be3373a8d4af4 2012-06-08 * include/ruby/intern.h (rb_exec_arg_init): declaration changed to return a value.
2fb032b74be9f306fbd2f95d85f8352f4a6027d6 2012-06-08 * process.c (rb_exec_err): before_exec() call moved from proc_exec_cmd and proc_exec_sh. (rb_proc_exec): ditto.
0ec4ae7c8edfaa1a7e48b59f95fabb141238a3c0 2012-06-09 * process.c (rb_proc_exec): call before_exec() here addition to rb_exec_err.
4a9a7756da4b5fbf5b8e2b6191538e413022bb0b 2012-06-09 * process.c: simplified because close_others option is always enabled by default. (rb_f_exec): don't need to set the option. (rb_exec_arg_prepare): don't need to set the option. don't need default_close_others argument. (rb_spawn_internal): don't need to give default_close_others argument for rb_exec_arg_prepare. don't need default_close_others argument. (rb_spawn_err): don't need to give default_close_others argument for rb_spawn_internal. (rb_spawn): don't need to give default_close_others argument for rb_spawn_internal. (rb_f_system): don't need to give default_close_others argument for rb_spawn_internal. (rb_f_spawn): don't need to give default_close_others argument for rb_exec_arg_prepare.
4da82e58a19be2e49847f135f9f25697773a57ae 2012-06-09 update async-signal-safe comments.
d410a38b8e8c89e50dcb28082d1e4cb5050a1d77 2012-06-09 * process.c (rb_exec_async_signal_safe): extracted from rb_exec_err.
a46bf824bf3a6aace879b06159382e0905a48d78 2012-06-09 update async-signal-safe comments.
1ad3f4b05d75383fa0cfc1e03c2abacc660812c0 2012-06-09 * process.c (retry_fork): extracted from rb_fork_err. (send_child_error): ditto. (recv_child_error): ditto.
7057facef3376f5522783d70a2fa7d5396fabe1a 2012-06-09 * process.c (retry_fork): rewrite a complex "for" statement by simple statements.
d074d0df9503b8df51c0ec5e5137c4729f511b17 2012-06-09 * process.c (before_exec_async_signal_safe): extracted from before_exec. (before_exec_non_async_signal_safe): ditto. (before_exec): call before_exec_async_signal_safe and before_exec_non_async_signal_safe. (rb_exec_async_signal_safe): call before_exec_async_signal_safe. (rb_exec_err): call before_exec_non_async_signal_safe instead of before_exec.
14ec2c802d9ba09ba7e852136e184d0dc7f95ce4 2012-06-09 * process.c (rb_fork_err): rewrite a complex "if" statement.
b11046a61e2788bb8718a0bf87a45e1f3a452945 2012-06-09 * process.c: don't use non async-signal-safe functions in a child process before exec, for invoking a command. (rb_exec_atfork): call rb_exec_async_signal_safe only. (retry_fork): take chfunc_is_async_signal_safe argument. call before_fork and after_fork only unless chfunc_is_async_signal_safe. (send_child_error): take chfunc_is_async_signal_safe argument. send an exception only unless chfunc_is_async_signal_safe. (recv_child_error): take chfunc_is_async_signal_safe argument. receive an exception only unless chfunc_is_async_signal_safe. (rb_fork_internal): renamed from rb_fork_err and take chfunc_is_async_signal_safe argument. use rb_protect only unless chfunc_is_async_signal_safe. (rb_fork_err): call rb_fork_internal with false as chfunc_is_async_signal_safe. (rb_fork_async_signal_safe): call rb_fork_internal with true as chfunc_is_async_signal_safe. (rb_spawn_process): call rb_fork_async_signal_safe instead of rb_fork_err.
f45eb45100e7a655c25629354c0a1c48c363360c 2012-06-09 * process.c (rb_fork_internal): initialize exc.
99c71b1ee4024bd9112e26cc442d9c91b2bc75e3 2012-06-09 * process.c: split after_exec into async-signal-safe part and rest. (after_exec_async_signal_safe): extracted from after_exec. (after_exec_non_async_signal_safe): ditto. (after_exec): call them. (rb_exec_async_signal_safe): call after_exec_async_signal_safe. (rb_exec_err): call after_exec_non_async_signal_safe instead of after_exec.
8fcdb757a597b69d46216d7475ed4d07e6a330ef 2012-06-10 * process.c (rb_f_exec): use rb_exec_arg_prepare.
18088467e7489eff252eeb5b904bc93c2949462f 2012-06-10 * process.c (rb_exec_async_signal_safe): exported.
839dc7d4092c0f53654e9625b71861e888e5a789 2012-06-10 update async-signal-safe comments.
258716bd9d5398b7e6a6375ef5dd4f23790c6af5 2012-06-10 * process.c (rb_fork_internal): call after_fork only unless chfunc_is_async_signal_safe.
c27edd4a6e78d2545f67f1e04537f48ec2d8af10 2012-06-10 * io.c (popen_exec): don't call rb_thread_atfork_before_exec. use rb_exec_async_signal_safe instead of rb_exec_err. (pipe_open): use rb_fork_async_signal_safe instead of rb_fork_err.
c39fd4c34056fbebafc5ccfb3d63612538d3f234 2012-06-10 * process.c (rb_f_exec): call rb_exec_async_signal_safe except on Mac OS X. cf. the comment in before_exec_non_async_signal_safe.
8fdd48d69fc41123e99da7761981d3c12eefc8d7 2012-06-10 * process.c (retry_fork): call after_fork except in a child process. (rb_fork_internal): restrict after_fork call condition.
4b70fab9153e5082a68196f7a9287ba5685860f8 2012-06-10 * process.c (rb_fork_ruby): new function. (rb_f_fork): use rb_fork_ruby instead of rb_fork. (rb_daemon): ditto.
f589733a025de87929cf0b8f624aefc40faa63e8 2012-06-10 * process.c (rb_fork_ruby): call rb_fork_internal directly.
4fa66dc53ba7e6c975c71a7419e6081352dea250 2012-06-10 * process.c (rb_fork): call rb_fork_internal instead of rb_fork_err.
fa5cd00340d81b9771866cf635ddc4266546a15f 2012-06-10 * process.c (rb_exec_without_timer_thread): renamed from rb_exec_err. (rb_exec_err): new stub function to call rb_exec_without_timer_thread. (rb_f_exec): call rb_exec_without_timer_thread. (rb_exec): call rb_exec_without_timer_thread.
9ea35ccf306cda49f3ec1ab02ae1570f68e02765 2012-06-10 * process.c (rb_proc_exec_n): revert the function removed at r35889.
ffe89b7621344e0bf420876bced1dc501d98626c 2012-06-11 add comment about meta characters.
05a98ce736fc3c6d69b8a029d5c19f184721a87b 2012-06-11 update tests.
a903db9c231b6c22bcd216c386e910f3e95a6d19 2012-06-11 * include/ruby/intern.h (rb_proc_exec_n): deprecated. (rb_exec): ditto. (rb_exec_err): ditto. (rb_fork): ditto. (rb_fork_err): ditto.
45e5f2f69003fd1dc22e7fe5081d7ddda81b1e28 2012-06-11 * process.c (rb_exec_fillarg): detect '#' as a meta character.
37a1355bf8d9f055661381b6dda41135776940cf 2012-06-12 * include/ruby/intern.h (rb_exec_arg_init): deprecated. (rb_exec_arg_addopt): ditto. (rb_exec_arg_fixup): ditto. (rb_run_exec_options): ditto. (rb_run_exec_options_err): ditto.
640e0a33b7a198be030b4080e32404a319f4c468 2012-06-12 * process.c (rb_exec_fillarg): treat '=' character as an meta character to detect assignments preceding command name.
94b275c5b37cb84f5140c27b2428581499d6a29c 2012-06-12 add a test.
f00d5d99f01fc6e7cc6aa2e3d13f29813cec80b7 2012-06-12 fix a typo.
e9a1ba232ac7b8f0ec9a7044039986f03505ed70 2012-06-13 * process.c (rb_fork_internal): move a variable declaration.
d793a86b434df237d62c70125db94bb0a0bc933b 2012-06-13 update doc.
a29bdaf63f941f760d6a2e4a42b1b6789e861550 2012-06-13 add a test.
b41bc68688f098fce75ea4e7296e3e11783a7b97 2012-06-13 update doc.
ea325fcd6757b5cbd8060d216d7645be72da5e62 2012-06-14 * process.c (proc_exec_sh): don't strip leading spaces of the script.
a60fe909d7244b961e5b56273309921b7b2cdd65 2012-06-19 fix async-signal-safe comments.
826f98e688c5608dcb5aeb749d0511cf2724c3a3 2012-06-20 * internal.h (rb_execarg_new): declared. (rb_execarg_get): ditto.
b60713de73dd3de6c610becb07ec30683d98af6b 2012-06-20 * internal.h (struct rb_execarg) moved and renamed from struct rb_exec_arg in intern.h.
5309af971dd9588e142688d1130cb2a7ad0d26bc 2012-06-20 * internal.h (struct rb_execarg): add umask_given and umask_mask fields.
d73d3a743b78ed3532abb9ae97f0b4300963b15f 2012-06-20 * process.c (rb_execarg_fixup): take a VALUE argument instead of struct rb_execarg.
46e23dc03df77f6c3d4310233d2cf60902b98751 2012-06-21 * process.c (rb_execarg_init): take a VALUE argument instead of struct rb_execarg. (rb_execarg_new): follow the rb_execarg_init change. (rb_exec_arg_init): ditto.
129cad739b2655f638e04aac11b6e648b5ecb5f8 2012-06-21 remove unused variables.
0a431f6903c6dcf60353e6831d4efa1d2176e67d 2012-06-21 * process.c (rb_exec_fillarg): take a VALUE argument instead of struct rb_execarg. (rb_execarg_init): follow the rb_exec_fillarg change.
1b2c2316a52dca9769d5befd3a088a44564cb177 2012-06-21 * process.c (rb_exec_async_signal_safe): use rb_execarg_run_options instead of rb_run_exec_options_err. (rb_spawn_process): ditto.
511e25b2d597c86667a170b186e414cdd246acb6 2012-06-21 * process.c (rb_exec_fillarg): take a VALUE argument instead of struct rb_execarg. (rb_check_exec_options): ditto. (check_exec_options_i): ditto.
ed8040a62b9cd77d9c218eed0b993d4aa15eddc0 2012-06-21 * process.c (rb_execarg_addopt): take a VALUE argument instead of struct rb_execarg. (rb_exec_arg_addopt): follow the rb_execarg_addopt change. (check_exec_options_i): ditto.
13ffa4c6ee87739e559d2db882e29b6ccf22ada2 2012-06-21 remove garbage line.
c7a68e8d9d8cecd5b4305cb3787e843da1249c1b 2012-06-21 needless RB_GC_GUARD removed.
471d8d2586d984fd70f6837b117d6f275201204b 2012-06-22 * process.c: pass struct rb_execarg value instead of its options field for saving process attribute changing functions. (save_redirect_fd): take a struct rb_execarg argument. (run_exec_dup2): ditto. (run_exec_close): ditto. (run_exec_open): ditto. (run_exec_dup2_child): ditto. (run_exec_pgroup): ditto. (run_exec_rlimit): ditto. (save_env): ditto. (rb_execarg_run_options): follow the above functions change.
bcadfd9c083c8893dcc428cbd969809c1db8dac1 2012-06-22 * internal.h (rb_execarg): add pgroup_given and pgroup_pgid fields.
3eafc1660f290da3939c8f4647907275ade8d0ac 2012-06-22 * process.c: use the name "eargp" for struct rb_execarg variables consistently except for saving process attributes.
5c25fad66d614ad85cde6992c15b4dc422cec267 2012-06-23 * process.c: use the name "sargp" for struct rb_execarg variables consistently for saving process attributes.
2a15a26c57faf4852a3f9b0afaafa886a78e7c96 2012-06-23 * process.c: use the variable name "soptions" for sargp->options.
40ae2e01084849672cc14feae3086526a85ac70e 2012-06-23 * internal.h (rb_execarg): add unsetenv_others_given and unsetenv_others_do fields.
f527ad625d39eac59dc687ae11f90cee107d4f0a 2012-06-23 * internal.h (rb_execarg): add close_others_given, close_others_do and close_others_maxhint fields.
b25b9569e55ece9e7a4f3971b412d67ff804c504 2012-06-23 * internal.h (rb_execarg): add chdir_given and chdir_dir fields.
f732c5046ed89b0ed669e97f36f5fa05b9a33b73 2012-06-23 * internal.h (rb_execarg): add rlimit_limits field.
26ecb6cbc4d6ebd3fcb7d8a1f829e2910ad26bdc 2012-06-23 * internal.h (rb_execarg): add env_modification field.
92af9dddc8f55e0331bf2fc0ee985be4f433b339 2012-06-23 * process.c (save_env): don't use EXEC_OPTION_UNSETENV_OTHERS. (rb_execarg_run_options): ditto.
759c214a339e95f58ffe1fb2220541b1d23f6d73 2012-06-23 * process.c (check_exec_redirect1): extracted from check_exec_redirect.
fe688f2d302e3e3f70fba4bc93223740d9826e8e 2012-06-23 * process.c (rb_execarg_fixup): fix envopts condition.
345ecf3711998c8792c075e5d1093ca6a872474c 2012-06-23 * internal.h (rb_execarg): add fd_dup2, fd_close, fd_open, fd_dup2_child fields.
f1734b4287e81ad281924c9acf89a754e43c6e2e 2012-06-23 * internal.h (rb_execarg): add new_pgroup_given and new_pgroup_flag fields.
1ad4751aac6d2f6e3277569397c605679c12c058 2012-06-23 * process.c (proc_spawn_cmd): unused variable removed to suppress a warning. (save_env): ditto.
72bbf9822db4ad7a1ef810d35f90268f07d79636 2012-06-23 * internal.h (rb_execarg): options field removed.
78993d43c721713d6675b9ea5eac345d95250d8e 2012-06-24 update async-signal-safe comments.
f4af54f212907bd2ecd0be9d1e9a6237641b24b3 2012-06-25 add tests for IO#seek.
f559d6160783da1b79aa928915890442d2eb587a 2012-06-28 update doc.
83eceb2a79188a54871b354d95f2e1fe352305b0 2012-07-02 * time.c (timew_out_of_timet_range): specialization for SIZEOF_TIME_T == SIZEOF_INT64_T.
c03d1c273622c2a6de263f246bd5718eec08fb1f 2012-07-02 * thread.c (rb_thread_aref): add explanation for why Thread#[] and Thread#[]= are fiber-local and not thread-local. reported by Julien A. [ruby-core:41606] [ruby-trunk - Bug #5750]
4cd00ffe2dd0255c13ce9b90d55a0c2583b5f87e 2012-07-16 * bignum.c (enum big_op_t): new type. (big_op): use enum big_op_t. (big_gt): ditto. (big_ge): ditto. (big_lt): ditto. (big_le): ditto.
6dd65bb3776eca2335e90ffd7a81b641d6404ce2 2012-07-16 * internal.h (rb_big_float_cmp): declared.
8d0b1c25189fd0b52590b14c128999ebc650ac05 2012-07-16 * bignum.c (rb_big_eq): use rb_big_float_cmp.
984729ba3016a1fd4b371edef71fcb8b7f3956b4 2012-07-16 * bignum.c (rb_big_float_cmp): support fixnum for argument x.
94735e9e54b7a64af86adf36ad8a5b849f11a938 2012-07-16 * bignum.c (rb_big_float_cmp): compare an integer and float precisely. [ruby-core:31376] [Bug #3589] reported by Tomasz Wegrzanowski.
cf469774d1256ec25e1553e0153edb379b5abfb2 2012-07-16 * bignum.c (rb_integer_float_cmp): renamed from rb_big_float_cmp.
858a832d40845a951e2cf01c0482e7d7014a8c81 2012-07-16 * bignum.c (rb_integer_float_cmp): rename a local variable.
04f09ef8a19663ec42158fda1c1b8332a8f0ce42 2012-07-16 * bignum.c (rb_integer_float_eq): new function. (rb_big_eq): use rb_integer_float_eq.
0e2aa330ec5e16b237127db46ebde4eacc84f8c5 2012-07-16 * numeric.c (flo_to_s): use the exponential form if the integer part is longer than or equal DBL_DIG. [ruby-dev:45960] [ruby-trunk - Bug #6741]
fae19d62290763330d5b489dbc5d360c45be1ad7 2012-07-16 * bignum.c (rb_integer_float_cmp): use FIXNUM_MIN and FIXNUM_MAX, instead of LONG_MIN and LONG_MAX.
cb0d480532c416ca6db0ca4d0ec8c0461b58f84c 2012-07-17 * lib/open-uri.rb: call io.close! for Tempfile.
4db96fe42cbf48449ad9528624d5760d65f3e818 2012-07-18 * test/openssl/test_config.rb: remove temporally files early.
d5e9b69629c9172c15944255e10c3390be0a48c1 2012-07-18 * test/ruby/test_argf.rb: use temporally directory.
bc893dcf0753e5477170de2df476ed665f3e0b95 2012-07-18 * test/ruby/test_autoload.rb: remove temporally files early.
5b7b60bb5954e73dada16bc6b342020878489bdc 2012-07-18 * test/ruby/test_beginendblock.rb: remove temporally files early.
c96b913ee017f68e32b68b3318cb27f68b3ce623 2012-07-18 increment @tmp_count.
ac80ad663ee907115bae310ae7f4d0bee6611f0a 2012-07-18 * test/ruby/test_file.rb: remove temporally files early.
ff331d14420706de44204c046d6063b39a6ae88e 2012-07-19 suppress fragile warnings.
422e8d5adc3cf2d67b53cf9050c750eba7db3673 2012-07-19 * test/ruby/test_io.rb: remove temporally files early.
ab63cdf1ab776ca7ff137c0969bef30965450566 2012-07-23 * lib/open-uri.rb: use respond_to? to test Tempfile. [ruby-dev:45995] [Bug #6781] reported by hsbt (Hiroshi SHIBATA).
7c854d6d5e1611f0d4625637661dc03f49cbc942 2012-08-29 * process.c (rb_f_system): check failures of waitpid. [ruby-talk:398687]
e7ddd1fdc3c7807cae6ffa3154bef585c7a4ee8c 2012-08-29 * internal.h (rb_last_status_clear): declared.
76d0abd33451514e380f146155d6a7d4a8ef7f72 2012-08-30 * io.c (rb_io_close): call rb_last_status_clear.
7206f9bc7913fc191fddd654ea9cbded9abad14f 2012-10-12 * process.c (posix_sh_cmds): the command name of colon is ":".
8477d3131c1dadc79e5646533baa471278be7ee2 2013-01-28 * ext/fcntl/fcntl.c: update document. use "file descriptor" instead of "file handle" because it is not used other Ruby documents and it is confusing with Windows file handle. correct F_DUPFD behavior.
2d55537dce5fde5e3581351bd274ecabf1e284d7 2013-01-29 * test/ruby/test_marshal.rb: remove temporally files early.
64dbc10b5fea27c9b0ac35a0b06c0b04be617fab 2013-01-29 * lib/net/http/generic_request.rb (encode_multipart_form_data): remove tempfile explicitly.
1ff38a5bbf2baa5fa6646fffdc81ed3611be805b 2013-01-30 * ext/socket/basicsocket.c (bsock_getsockname): ignore truncated part of socket address. (bsock_getpeername): ditto. (bsock_local_address): ditto. (bsock_remote_address): ditto.
8f5f89452d6301db24b1bb2ff7f0f09e245f4596 2013-02-07 * configure.in: define linker for shared library on MirOS BSD.
9b0a7f493e216e45a3408bdd4612e9045561385f 2013-02-07 * process.c (obj2gid): use getgrnum_r() only if getgrnam_r() and _SC_GETGR_R_SIZE_MAX is available. MirOS BSD (MirBSD 10 GENERIC#1382 i386) have getgrnam_r() but no _SC_GETGR_R_SIZE_MAX. (obj2uid): use getpwnam_r() only if getpwnam_r() and _SC_GETPW_R_SIZE_MAX is available. This is consistency for obj2gid. MirOS BSD have neither getpwnam_r() nor _SC_GETPW_R_SIZE_MAX.
123a3a486cb03275566115530d3f0289cf67924b 2013-02-08 fix a revision number.
89ae338e97ab64a6c9af6726369e6cdc1b7db211 2013-02-08 * configure.in: don't define ARCH_FLAG="-march=i486" if it causes compilation problem.
513bfb29eae0aee2a7c0eed8527a19405dfdeed8 2013-02-08 * configure.in: change CFLAGS temporally to test ARCH_FLAG="-march=i486".
01e7ec0137dce8d9269b26b9ae63c8679a7b5de9 2013-02-08 fix the previous commit.
b7d8d0321c8d8eeb69cb6f1027e29e04c4726db8 2013-02-08 * test/fiddle/helper.rb: specify libc and libm locations for MirOS BSD.
c38f3cd906a40dd6dff9576525621e72c6890e30 2013-02-09 * configure.in: move header files check to the beginning of "header and library section". test rlim_t with sys/types.h and sys/time.h for MirOS BSD. sys/types.h and sys/time.h is gurded by #ifdef and the above move is required for this change.
1ab6dccf4bfb4b8e3c05dbac4180c2d44d653d25 2013-02-10 * ext/socket/extconf.rb: test headers at first.
474e3cd2a72ab359b6a55a64539333ca65d51022 2013-02-10 add comments.
a00c92f7fc5bb4b3f50e600da1280f0ed456bb22 2013-02-10 add doc. for IO#close_on_exec=.
5b057eeff2c42178ecae22173c8e931cad9622b1 2013-02-10 * ext/socket/extconf.rb: test types just after headers test.
c799b11273f5c82b750b98612ae0e07bfff1ce7e 2013-02-10 * ext/socket/extconf.rb: test structure members just after types test.
0a8fc937ca838ad63511eddff6893b047e40d14a 2013-02-11 * configure.in: move the test for -march=i486 just after RUBY_UNIVERSAL_ARCH/RUBY_DEFAULT_ARCH.
f882c4c5e09fb5a6f78a8c04ce2dc2a69573db93 2013-02-11 * configure.in: move OS specific header/function knowledge before automatic header tests.
a378fa0d10a8de3b8a25a0633345de2241283730 2013-02-11 * configure.in: add SOLIBS and LIBRUBY_SO definition for mirbsd*.
c586d820c83e64966733f994299083f067dac73f 2013-02-11 * configure.in: use -pthread on mirbsd*.
cbacc5d5018f752128d9b2e2566aac27784e7cde 2013-02-11 * configure.in: enable rb_cv_page_size_log test for MirOS BSD.
17df736379b7279c2df49bb35251526b40363715 2013-02-11 add ML ref.
d7923c82791b4c0274f6d194c6c0e711eed75a46 2013-02-12 * ext/socket/extconf.rb: test functions just after struct members.
22a04e572036276261121d1e80da5ec1a96e4e17 2013-02-13 * ext/socket/extconf.rb: don't define socklen_t here, just test.
eb4ae6bc542cdec0ade408c2f5ddfebba227d30f 2013-02-13 add comment.
ed193c50f52635923840991b8847211846a018f9 2013-02-13 * ext/socket/extconf.rb: don't define HAVE_SA_LEN and HAVE_SA_LEN. use HAVE_STRUCT_SOCKADDR_SA_LEN and HAVE_STRUCT_SOCKADDR_IN_SIN_LEN instead.
18a8046d1c76209449f11207ba1140d4a6c28a1b 2013-02-14 * ext/socket: always operate length of socket addess companion with socket address.
1cc445fbbfaede329c0b656075201c684cbd66da 2013-02-14 * ext/socket/socket.c (sockaddr_len): extracted from sockaddr_obj. (sockaddr_obj): add an argument to length of socket address. (socket_s_ip_address_list): call sockaddr_obj with actual socket address length if given, use sockaddr_len otherwise.
792cfa3fd0251f3b9fd8993a16b5948bd852e6da 2013-02-14 * ext/socket/sockport.h (VALIDATE_SOCKLEN): new macro to validate sa_len member of 4.4BSD socket address.
4faef960f2e198fd3158bcaf7e37b015c9a6e7a2 2013-02-14 * ext/socket/sockport.h (SA_LEN): removed because unused now. (SS_LEN): ditto. (SIN_LEN): ditto.
1ff7108306f63b1f5cc9b0ed2d376f5a1f99bdf4 2013-02-14 * ext/socket/sockport.h (SET_SS_LEN): removed. (SET_SIN_LEN): removed. (INIT_SOCKADDR): new macro.
0cc9cea3b4606cbb8c51118c447067245b79c68c 2013-02-15 * ext/socket/getaddrinfo.c (GET_AI): don't cast 1st argument for INIT_SOCKADDR.
a60e2e58206c779929a29fe0dd6d73cab4031487 2013-02-15 * ext/socket/extconf.rb: test struct sockaddr_storage directly.
e41b789c9980e2ae4bdb9d320a498e8529524dec 2013-02-15 * ext/socket/sockport.h (SET_SIN_LEN): defined for strict-aliasing rule. (INIT_SOCKADDR_IN): ditto.
41b2a6f01bcf97c33ebae6ef7c524e76808752b9 2013-02-15 * ext/socket/extconf.rb: use all all tested available headers for have_func.
84a525bc4e47c33c07cc135e6e77df1369375042 2013-02-15 * ext/socket/sockport.h (INIT_SOCKADDR_IN): don't need family argument. it is always AF_INET.
cb31e783798438420e33a84a8bfe66acafaa7c4a 2013-02-15 * ext/socket/extconf.rb: test struct sockaddr_un and its member, sun_len.
35f8072e5c9a17d364f88df72f0751f894689931 2013-02-15 preprocessor directives indented.
899ba99b9061850c2f0c40a2bcf76a0c17eae2a9 2013-02-15 * configure.in: don't test xti.h here.
d6d0e853206535c76443b0cc03989885c964aa6e 2013-02-15 * configure.in, ext/socket/extconf.rb: test netinet/in_systm.h in ext/socket/extconf.rb instead of configure.in.
4b5b88ec7985ea043a0552e4bf43f5c6c61b2028 2013-02-16 * ext/socket/extconf.rb: reorder header tests to consider inclusion order in rubysocket.h.
733d65df5e0ca8e415dd87caeb881e074d64f8ee 2013-02-16 * ext/socket/extconf.rb: don't test sys/feature_tests.h which is not used now. It was included in r7901 as "bug of gcc 3.0 on Solaris 8 ?".
75a5be3717d15c468beccab2ba618b01f44d56ec 2013-02-16 * ext/socket/ancdata.c (rsock_recvmsg): ignore truncated part of socket address returned from recvmsg().
c89844dbc50c1422774c39b03e0757c91531e586 2013-02-24 * ext/socket: define and use union_sockaddr instead of struct sockaddr_storage for less casts.
1580dd29dddc02c210f96e6250d2f20df3241ab1 2013-02-25 * ext/socket/extconf.rb: don't test ss_family and ss_len member of struct sockaddr_storage. They are not used now except SunOS specific code.
bf96ea63623856a61d978da45a0f9b27560fe499 2013-02-27 * ext/socket/rubysocket.h (union_sockaddr): make it longer for SunOS and Darwin.
338ec3cee73f58091927d9282070efd0da0cca36 2013-02-28 * ext/socket/raddrinfo.c (inspect_sockaddr): don't show that Unix domain socket filename is bigger than sizeof(sun_path). This limit is not rigid on some platforms such as Darwin and SunOS.
b1f493dcd1092fe17cccec998e175516ed5c6e47 2013-03-02 * lib/webrick/utils.rb: use Socket.tcp_server_sockets to create server sockets. fix [Bug #7100] https://bugs.ruby-lang.org/issues/7100 reported by sho-h (Sho Hashimoto).
fa0630558f181ef744e933abb857f06f32cc3ad0 2013-03-02 update doc.
b1f2effda85efd03bd4ad5c06e0aae5e14f3f864 2013-03-11 * lib/resolv-replace.rb (TCPSocket#initialize): resolve the 3rd argument only if non-nil value is given. [ruby-dev:47150] [ruby-trunk - Bug #8054] reported and analyzed by mrkn.
ca4397ad2c8a89593e60b1d20bae88a983f79388 2013-03-14 update doc.
c09287bdaa025382982cc9881d6dd936bc06a5c9 2013-03-23 * test/mkmf/test_have_macro.rb: remove temporally files in the tests.
052c0e67d99552aeb2091d1ae7133465a5aa7291 2013-03-24 * test/ruby/test_require.rb: Remove temporally files in the tests.
e1540cd74da39418ebc04fe2e3e04c78204b9e7a 2013-03-26 update doc.
79f7521e9be53324581b5b469d1717081e67f80e 2013-03-26 * thread.c (double2timeval): convert the infinity to TIME_MAX to avoid SEGV by Thread.new {}.join(Float::INFINITY) on Debian GNU/Linux (amd64).
7371736e49bcb7066651139654f91f0e0cb9ec5a 2013-03-26 * ext/socket/socket.c (sockaddr_len): return the shortest length for unknown socket address.
bfb0edbad29074ff186840731069fb202456a7aa 2013-03-26 * internal.h: Define TIMET_MAX and TIMET_MIN here.
3dcdfcf884479107efb1c4007a592a1f086a4ce9 2013-03-26 * internal.h (TIMET_MAX_PLUS_ONE): Defined.
b4d05fb0cce58a806ff0425f8353368e9f9eb471 2013-03-27 * internal.h (TIMET_MAX_PLUS_ONE): definition simplified.
bb945c3722383747a02214bc0a64c47af8e68a31 2013-03-27 * test/-ext-/num2int/test_num2int.rb (test_num2ll): test LLONG_MIN, not LONG_MIN.
c64f26a28171e3e9400f027e63d02dc5af5f8ca5 2013-03-27 * time.c (num_exact): use to_r method only if to_int method is available. [ruby-core:53764] [Bug #8173] reported by Hiro Asari.
7379116878c25b6411ce080268ed8e3a7e885f2f 2013-03-27 * test/-ext-/num2int/test_num2int.rb (asert_num2i_success): New utility method. (asert_num2i_error): Ditto.
83f1be1bc3a627620b6a7e95afef98a2cb1df5d5 2013-03-27 * numeric.c (LONG_MIN_MINUS_ONE_IS_LESS_THAN): New macro. (LLONG_MIN_MINUS_ONE_IS_LESS_THAN): Ditto. (rb_num2long): Use LONG_MIN_MINUS_ONE_IS_LESS_THAN. (rb_num2ulong): Ditto. (rb_num2ll): Use LLONG_MIN_MINUS_ONE_IS_LESS_THAN. (rb_num2ull): Ditto.
6537dc309962c7fefcb8d698bbebe4e4f78d0096 2013-03-27 * include/ruby/defines.h: Fix a compilation error on NetBSD, "type of formal parameter 1 is incomplete" for the rb_thread_wait_for invocation in rb_file_flock, by including header files as AC_INCLUDES_DEFAULT of autoconf.
7d672f3e3733683e41b7137a8fa488340033ce0c 2013-03-27 * include/ruby/intern.h: Delete redundant inclusions caused by AC_INCLUDES_DEFAULT in defines.h.
29e5699992c417e934f2b6ec0b559db454f9d0db 2013-03-28 * test/-ext-/num2int/test_num2int.rb: extract assert_num2i_success_internal and assert_num2i_error_internal and provide assertion messages as "NUM2XXX(NNN)".
80466df690e1fc952d661686baaa6f3b245d42a0 2013-03-28 * lib/resolv.rb: Test Windows platform by detecting LoadError when require 'win32/resolv' suggested by Nobuyoshi Nakada [ruby-core:53389]. [ruby-core:53388] [Feature #8090] Reported by Charles Nutter.
1950c1ce6c43449017abf9e3d3310ee4892d9a95 2013-03-28 * numeric.c (rb_num2ull): Cast double to unsigned LONG_LONG via LONG_LONG instead of double to unsigned LONG_LONG directly. This is a challenge to fix a test_num2ull(TestNum2int) failure (NUM2ULL(-1.0) should be "18446744073709551615" but was "0") on Mac OS X with 32bit clang. http://a.mrkn.jp/~mrkn/chkbuild/mountain_lion/ruby-trunk-m32-o0/log/20130328T191100Z.diff.html.gz
59182ccf69b5c0bcbf3a939a3595956bc592f234 2013-03-31 * numeric.c (rb_num2ulong_internal): New function similart to rb_num2ulong but integer wrap around flag is also returned. (rb_num2ulong): Use rb_num2ulong_internal. (rb_num2uint): Use rb_num2ulong_internal and the wrap around flag is used instead of negative_int_p(val). (rb_num2ushort): ditto.
31af17963d6dd30c88360d79f70505af916e3272 2013-03-31 more tests.
a7526797a65a2f51bc93561c9545fddcd3c3e012 2013-03-31 * include/ruby/ruby.h (FIX2ULONG): Make it consistent with NUM2ULONG.
92f59c6d7937b14bb5eefb052099ef0a3ef3bcd0 2013-04-01 * numeric.c (check_uint): Take the 1st argument as unsigned long, instead of VALUE. Refine the validity test conditions. (check_ushort): Ditto.
4e52c3c60c3b012631493d1ba6254d448e0eb7c5 2013-04-01 * numeric.c (rb_num2long): Don't use SIGNED_VALUE uselessly. (check_int): Ditto. (check_short): Ditto. (rb_num2fix): Ditto. (rb_num2ulong_internal): Add a cast.
0cbe2f4902aa3de9a082776d4fcc574bc50d5aa5 2013-04-01 * ext/-test-/num2int/num2int.c: Return string for result, instead of printing.
d6daffbbf0350dbb6a164ec6264d5d2ea2f05c25 2013-04-01 * numeric.c (rb_num2ulong_internal): Don't cast a negative double value into unsigned long, which is undefined behavior. (rb_num2ull): Don't cast a value bigger than LLONG_MAX into long long, which is undefined behavior.
809a7618f0ded5347d90597beb189da65bd98d90 2013-04-01 * test/-ext-/num2int/test_num2int.rb: Test small bignums.
87877eb04f5376b651e501cd7aa451c870df7411 2013-04-01 * ext/zlib/zlib.c (rb_gzfile_set_mtime): Use NUM2UINT. The old logic doesn't work well on LP64 platforms as: .. -2**63-1 => error, -2**63 .. -2**62-1 => success, -2**62 .. -2**31-1 => error, -2**31 .. 2**31-1 => success, 2**31 .. 2**62-1 => error, 2**62 .. 2**64-1 => success, 2**64 .. => error.
d40335aa36a0acbe85dde987deaeac6eb0a27e40 2013-04-01 * ext/-test-/num2int/num2int.c: Rename utility methods to global functions to ease manual experiments.
e47f41fb9dccd61ba6901081c49e51226ca27a74 2013-04-01 more tests.
17cf784d78a6f034a539c391175a3bda2b5048af 2013-04-01 conditional test fixed.
662d67f13f75ce4e99b86e00c7d85f0fa12e4bf5 2013-04-01 Unused module removed.
e89c029f2b038a67b6d9b9dfc6bc9e429cab69b3 2013-04-02 update doc.
817a96a45d686571c97892aa7c0b287539a5ecbd 2013-04-02 * lib/securerandom.rb: Don't use Array#to_s. [ruby-core:52058] [Bug #7811] fixed by zzak (Zachary Scott).
6d0c59f156da08a6a669a3187f86b424ce147626 2013-04-02 * ext/-test-/num2int/num2int.c: Define utility methods as module methods of Num2int.
583c8e89153dc5fab189d24b6688c31a70a63dbb 2013-04-02 * pack.c: Support Q! and q! for long long. (natstr): Moved to toplevel. Add q and Q if there is long long type. (endstr): Moved to toplevel. (NATINT_PACK): Consider long long. (NATINT_LEN_Q): New macro. (pack_pack): Support Q! and q!. (pack_unpack): Ditto.
0af16197817a183ae9d2f042c612264784f1c35d 2013-04-02 add ML ref.
c3c4ffa9725947a1c150880502399c3309a4fb31 2013-04-02 * lib/securerandom.rb (SecureRandom.random_bytes): Use OpenSSL::Random.random_add instead of OpenSSL::Random.seed and specify 0.0 as the entropy. [ruby-core:47308] [Bug #6928]
1d339ff212747d5bcd4fcbf65750f078c64c7367 2013-04-03 * ext/extmk.rb (extmake): Use Logging.open to switch stdout and stderr. Delay Logging::log_close until the failure message is written. Write the failure message only if log file is opened.
ee2b218293c1749e4b857c4a018050c0315d0456 2013-04-03 * ext/extmk.rb (extmake): Invoke Logging::log_close in a ensure clause.
2767139e056cb9b8585634f8eb9d174589f85905 2013-04-03 * process.c: Describe the behavior which Ruby invokes a commandline directly without shell if the commandline is simple enough. [ruby-core:50459] [Bug #7489]
b81ea661dbc3c31073de782a8b0b9f3f86e3de5e 2013-04-03 * io.c (rb_io_seek_m): Accept :CUR, :END, :SET as "whence" argument. (interpret_seek_whence): New function. [ruby-dev:45818] [Feature #6643]
694207c73745eddae910c4239fe76b654c980eff 2013-04-03 Add comment.
7181490def5ad5670e2503e91c526eab1039b008 2013-04-03 * ext/socket/extconf.rb: Test functions and libraries after headers.
da39199964fe8d8e87ac94c737376835f3cec2d1 2013-04-03 * ext/socket/extconf.rb: Specify arguments to test functions.
c3d1fde2b528413f5be2f936a9d7ea899a777fc7 2013-04-04 * ext/pathname/pathname.c (path_write): New method. (path_binwrite): Ditto. [ruby-core:49468] [Feature #7378]
a4587840cc2b002321af227ee2cb315a94158d67 2013-04-04 * object.c (rb_mod_cvar_set): Reverted "avoid inadvertent symbol creation" to avoid SEGV by Class.new.class_variable_set(1, 2).
f674d8623df4392bdcb34800f39ee529e6e341b4 2013-04-04 * time.c (time_strftime): Describe %L and %N truncates digits under the specified length. [ruby-core:52130] [Bug #7829]
61b245cc4044bfda14fa66a4a3fce457d7b43b21 2013-04-04 * include/ruby/ruby.h (FIX2LONG): Parenthesize the macro body.
b2a1339f2457166e2ef9ffe16f7f4bdb46bb5bf8 2013-04-04 * ext/socket/extconf.rb: Remove condition for bcc.
dc5b184b1f9c5ab8212b28cee07f5b0edf7aa3c2 2013-04-04 * lib/resolv.rb (bind_random_port): Rescue EACCES for SunOS. bind() on SunOS for port 2049 (nfs) and 4045 (lockd) causes EACCES with unprivileged process. cf. PRIV_SYS_NFS in privileges(5) [ruby-core:48064] [Bug #7183] reported by Frank Meier.
702250a412bb9bd3b83e755aaa1cacd8a5b364d5 2013-04-05 * addr2line.c: include ruby/missing.h to fix compile error on Debian.
755e09ebf1e020e8a3f329ba32d6bb7cabd0a8a4 2013-04-05 * include/ruby/defines.h (HAVE_TRUE_LONG_LONG): Defined to distinguish availability of long long and availability of 64bit integer type.
e9382c7332645a790e855a5aa4a43c5c8d9dae91 2013-04-05 fix a typo.
5ec185c86b7f5c4f6087075d38ae1b5ce2f9a67f 2013-04-05 update comments.
fbb29bc08c76c00b963e5587e8e9e4b7c580ea95 2013-04-05 * ext/socket/init.c (cloexec_accept): Fix a compile error on Debian GNU/kFreeBSD. Consider HAVE_ACCEPT4 is defined but SOCK_CLOEXEC is not defined.
0667aac9145c48753e950a891f21beced5648116 2013-04-05 Add a comment.
37872dbf2b040d6cc22c962f3e30bad3e14460cb 2013-04-06 add a comment.
d933fb2296e4ace25c5eb558be56cd23a8fcc88f 2013-04-06 * ext/socket: Improve socket exception message to show socket address. [ruby-core:45617] [Feature #6583] proposed Eric Hodel.
11a9d772860d8123d9284ab11535fe6398742576 2013-04-06 * ext/socket/socket.c (rsock_sys_fail_path): Use rb_str_inspect if the path contains a NUL.
24ee6971cc7405dd504aff16d7964687e510d00d 2013-04-06 * ext/socket/rubysocket.h (rsock_sys_fail_host_port) Wrap by NORETURN. (rsock_sys_fail_path): Ditto. (rsock_sys_fail_sockaddr): Ditto.
8c6c73745ec6ace79e2fbb3655439acfb2d82f62 2013-04-06 * ext/socket/socket.c (rsock_sys_fail_path): Use rb_str_inspect only for String to avoid SEGV.
b1fd376cbfbccc523921a950b1bc6bcaa01c0f99 2013-04-06 * ext/socket/socket.c (rsock_sys_fail_sockaddr): Delete 2nd argument.
cb302bf35109d69063ac589dd75f6356257a7fda 2013-04-06 * ext/socket/rubysocket.h (SockAddrStringValueWithAddrinfo): New macro. (rsock_sockaddr_string_value_with_addrinfo): New declaration. (rsock_addrinfo_inspect_sockaddr): Ditto. (rsock_sys_fail_addrinfo): Ditto. (rsock_sys_fail_sockaddr_or_addrinfo): Ditto.
67fe038d8f27a71b81a71048abd4174ded45a551 2013-04-06 * ext/socket/socket.c (rsock_sys_fail_sockaddr): Takes struct sockaddr and socklen_t instead of String object. (rsock_sys_fail_addrinfo_or_sockaddr): Follow the above change.
d818a6ab40bca1fc874a06cb851ca1f2fa371331 2013-04-06 * ext/socket/socket.c (rsock_sys_fail_raddrinfo): Renamed from rsock_sys_fail_addrinfo. (rsock_sys_fail_raddrinfo_or_sockaddr): Renamed from rsock_sys_fail_addrinfo_or_sockaddr.
4c1e97226fee947895c476344afffac391c4ea41 2013-04-06 * lib/resolv.rb (Resolv::DNS.fetch_resource): New method to obtain full result. [ruby-dev:43587] [Feature #4788] proposed by Makoto Kishimoto.
9791353555d0cc691c1197699e5332d2da014740 2013-04-06 * lib/resolv.rb: Add one-shot multicast DNS support. [ruby-core:53387] [Feature #8089] by Eric Hodel.
c4d8cc4eae6ae3ae10576a8396864baed3292b70 2013-04-06 * lib/resolv.rb: Support LOC resources. [ruby-core:23361] [Feature #1436] by JB Smith.
14e72b1cded783884ca2ebbefd8d46087e46f6c7 2013-04-06 * strftime.c (rb_strftime_with_timespec): Test yday range. [ruby-core:44088] [Bug #6247] reported by Ruby Submit.
672490d08cd7b67d05f6834844f79f890abf21f9 2013-04-07 * lib/resolv.rb (MDNSOneShot#sender): Delete an unused variable.
1f32d09523be89556b5e0d06f431b852b992a177 2013-04-07 * include/ruby/defines.h: Simplify the logic to include sys/select.h. This fixes a compilation error on Haiku (gcc2 and gcc4).
4329b14cfbe4c91561c12ba7d1b40c66faea30b5 2013-04-09 * lib/open-uri.rb: Support multiple fields with same field name (like Set-Cookie). (OpenURI::Meta#metas): New accessor to obtain fields as a Hash from field name (string) to field values (array of strings). [ruby-core:37734] [Bug #4964] reported by ren li.
712c7168bf55f61df33efa2a7552e4b3c25b306c 2013-04-09 * internal.h (MUL_OVERFLOW_SIGNED_INTEGER_P): New macro. (MUL_OVERFLOW_FIXNUM_P): Ditto. (MUL_OVERFLOW_LONG_P): Ditto.
e699df95d0a4d91d150e696079784befa4e3c1e6 2013-04-09 * internal.h (MUL_OVERFLOW_INT_P): New macro.
1acc9062bca73f6246773a941d3df2741a74c134 2013-04-09 Refactored.
fa9b5bf223c6dc81ae3f128bfb02a7f69cb7f3b6 2013-04-10 * bignum.c (rb_ll2big): Don't overflow on signed integer negation.
3f9e0e43c3a8f5db37f671ad3f957e4fddba0bcb 2013-04-10 * ext/bigdecimal/bigdecimal.c (VpCtoV): Initialize a local variable even when overflow.
28c8e57ca422e61b2ae1b3f32826eede7aefbe80 2013-04-11 * common.mk: Dependency updated.
639356eacd78c7e528057310584202aba42def39 2013-04-11 * tool/update-deps: Use "make -p all golf" to extract deendencies in makefiles.
96d811efacb577482f3c680fad8e3e5e03e07cfc 2013-04-11 * common.mk: Add dependencies for include/ruby.h
3da834800e40980d7a75b82cc1a3b1abd9539e99 2013-04-12 * common.mk: version.o depends on $(srcdir)/include/ruby/version.h instead of {$(VPATH)}version.h to avoid confusion by VPATH between top level version.h and include/ruby/version.h for build in-place. [ruby-dev:47249] [Bug #8256]
16a2acca20c3ddc0454331df4c6a0cd2a8a0807c 2013-04-12 * bignum.c (ones): Use __builtin_popcountl if available.
3033b3ae2f2f7eb89d9b512a7c83017f6356881c 2013-04-12 * common.mk: pack.o depends on internal.h.
b47138580c486fc67c53292f6be35ed290520889 2013-04-13 * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h, ruby/st.h and ruby/subst.h for ruby_headers in generated Makefile.
788b45da3e7d94dbaa5d7054ef7ecb5a79d4abe3 2013-04-14 * ext/-test-/debug/depend: New file.
582ba0a57c40be0dcda5f66fa18d28188d6d66f1 2013-04-15 * ext/fiddle/depend: New file.
a294d45808d9115d16df064cc501fee4fe8fffb3 2013-04-16 * ext/socket/unixsocket.c (unix_send_io): Suppress a warning by clang. (unix_recv_io): Ditto.
ce6db8f286160fbf71c409416bd43c229b874601 2013-04-17 * ext/socket/rubysocket.h (SOCKLEN_MAX): Defined.
80e4d412d39c00b06adbdd951fcbad43e0977087 2013-04-17 * ext/socket/rubysocket.h (SOCKLEN_MAX): Expression simplified.
5388fb64d991db9c094d1972176c4f5794e3555f 2013-04-20 * lib/tempfile.rb (Tempfile.create): New method. The method name is proposed by Shugo Maeda. [ruby-dev:47220] [ruby-core:41478] [Feature #5707]
5fb8bb16e6ee98b1e5c7c657c0d0fe8b16e6dada 2013-04-20 * lib/webrick/httpauth/htpasswd.rb: Use Tempfile.create to avoid unintentional unlink() by the finalizer. lib/webrick/httpauth/htdigest.rb: Ditto.
65261bda4d964c081fc3a510bfaa094a7647e8bc 2013-04-20 * lib/tempfile.rb (Tempfile.create): Close when the block exits.
8f671120f1d99b47f28d67183855d634d006389a 2013-04-20 * test/csv/test_features.rb, test/logger/test_logger.rb test/mkmf/test_have_macro.rb, test/net/http/test_http.rb, test/openssl/test_config.rb, test/psych/test_encoding.rb, test/psych/test_exception.rb, test/psych/test_psych.rb, test/psych/test_tainted.rb, test/readline/test_readline.rb, test/rexml/test_contrib.rb, test/ruby/test_autoload.rb, test/ruby/test_beginendblock.rb, test/ruby/test_exception.rb, test/ruby/test_file.rb, test/ruby/test_io.rb, test/ruby/test_marshal.rb, test/ruby/test_process.rb, test/ruby/test_require.rb, test/ruby/test_rubyoptions.rb, test/syslog/test_syslog_logger.rb, test/webrick/test_httpauth.rb, test/zlib/test_zlib.rb: Use Tempfile.create.
16dc6c29554d9ea0cc3c01592646cceec827bba3 2013-04-22 More tests.
bac8fa5f9db55f8f7a9100fcb0e9cc43846442f0 2013-04-23 * missing/isnan.c (isnan): Don't define if isnan() macro is defined. This fixes a compilation failure on uClibc based Gentoo system.
83c10e890529f9c557977c0e1932280268914d96 2013-04-24 update doc.
2265bdfac32d4551d76ab1da4fc2c891057c9916 2013-04-24 update doc.
4ddce7a68bf974c124ed15cf364e0ea0eb1a5f15 2013-04-24 * configure.in: Check mblen().
66ad210df88207d0aefcdd19cfd60b83157a2068 2013-04-24 describe the reason to check mblen().
ed33fcae5a1e6fca6fc7e10776b579c668d35451 2013-04-25 * ext/socket/extconf.rb: Extract C programs as toplevel constants.
79b807118f82c7ebbb4a5e06315e6a9127ccaa3d 2013-04-25 * ext/socket/extconf.rb: Implement --{enable,disable}-close-fds-by-recvmsg-with-peek configure option for cross-compiling. Make --{enable,disable}-wide-getaddrinfo configure option cross-compiling friendly.
0ff2e1d531b9975574591aa79982076eecdeb4d2 2013-04-25 * ext/socket/extconf.rb: Remove obsolete options: ---with-ipv6-lib and --with-ipv6-libdir.
a0fa43b0948f1811f3965d0965afc9b5b3bbb9f0 2013-04-25 * ext/socket/extconf.rb: Don't use WIDE getaddrinfo by default.
5e9dc52be520c976bcba1c5932a2ef9e567972eb 2013-04-25 * ext/curses/extconf.rb: Implement --with-curses-version={function,variable} configure option for cross-compiling.
a36cd96c2a01b5cc4e569fba5c7d7c0da0c30664 2013-04-26 * ext/curses/extconf.rb: Test linkability of curses_version at first.
66938f38a309f6649fa29b62266b0992c391b2f3 2013-04-26 dd comment about AC_FUNC_SETPGRP.
ed9e1f9ad9e437c5b6822ea6d3f9dfe7c6c6c6cb 2013-04-26 * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION. This fixes a compilation failure while cross-compiling for ARM.
6d2662d45a6971805a773b5e7ba9e2f97eec43bf 2013-04-26 add comments.
847fe27e3144db48fefcce9b0271a460795f3294 2013-04-26 * dir.c (dir_set_pos): Fix a compilation error when seekdir() is not exist.
56e982d447624a9cef62e2d676719ed190f8c206 2013-04-26 * ext/socket/extconf.rb: Use a block of enable_config() for --{enable,disable}-close-fds-by-recvmsg-with-peek configure option
e88a692a884a2c9d5349e1e94da3b0d77247adc2 2013-04-27 * thread.c (TIMEVAL_SEC_MAX, TIMEVAL_SEC_MIN): Consider environments, sizeof(time_t) is smaller than sizeof(tv_sec), such as OpenBSD 5.2 (amd64).
d907adecd9267d6cddb77d1fd7c4c6fcb878772e 2013-04-27 * internal.h (SIGNED_INTEGER_TYPE_P): New macro. (SIGNED_INTEGER_MAX): Ditto. (SIGNED_INTEGER_MIN): Ditto. (UNSIGNED_INTEGER_MAX): Ditto. (TIMET_MAX): Use SIGNED_INTEGER_MAX and UNSIGNED_INTEGER_MAX. (TIMET_MIN): Use SIGNED_INTEGER_MIN.
fbbd7e29e7b7cb6a38cc3fa05a11c869f9fe028c 2013-04-27 * ext/socket/extconf.rb (test_recvmsg_with_msg_peek_creates_fds): Extracted.
ef215077bc5d682a86a91d2a7c80e153896b87a7 2013-04-27 * ext/socket/extconf.rb: Redundant test removed.
5cbc3e15d87eac643a698f72b62d760d9734279c 2013-04-27 * sparc.c: Use __asm__ instead of asm for gcc. gcc doesn't provide asm keyword if -ansi option is given. http://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html
ab750920b9dfdab1117bc39e14bb28195b2b9830 2013-04-27 * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION. This fixes a compilation failure while cross-compiling for Tensilica Xtensa Processor.
1a67580eb5ddbb6f81c635740614c48eb6cccd14 2013-04-27 * process.c (obj2gid): Don't call endgrnam() if not exist. Bionic (Android's libc) don't have endgrnam().
d7b32fb4c1a312cee1bb7e9b0fd607eb331d2515 2013-04-27 * configure.in: Fix a typo. Should check endgrent() instead of endgrnam().
e3e9c5682e36a1a3602b66052da797c7fb5b7ca5 2013-04-29 Add comments.
a4460ddb484979df59a1ff813c32cdf0861821d6 2013-05-01 * time.c (localtime_with_gmtoff_zone): musl libc may return NULL for tm_zone.
86d4511fe6944f5517ead2679a0a4900d2db8ee5 2013-05-03 * ext/socket/extconf.rb: Make default_ipv6 true for Cygwin. Cygwin supports IPv6 since Cygwin 1.7.1 (2009-12). http://cygwin.com/ml/cygwin-announce/2009-12/msg00027.html
9e08404b8a60487ab0d5ba9643a2e02f05d76310 2013-05-06 * ext/socket/socket.c (socket_s_ip_address_list): Fill sin6_scope_id if getifaddrs() returns an IPv6 link local address which sin6_scope_id is zero, such as on OpenIndiana SunOS 5.11.
570015a18b38792f3ced4c1d53945fd46d3ebe17 2013-05-07 * pack.c (swap32): Don't redefine it if it is already defined. Bionic defines it. (swap64): Ditto.
301821bd458421218e9f8c33af53a9870f5c628a 2013-05-07 * ext/socket/extconf.rb: Set close_fds false for Cygwin. Cygwin doesn't support fd passing. This enables socket extension library cross-compilable by default.
2b792abd69e38334d8b02f6fbd45e04e389b341b 2013-05-07 * ext/socket/socket.c (socket_s_ip_address_list): Cast EXTRA_SPACE as int. This suppress a warning.
cb2f3c1b876d22e53708eef602c0d3a50dcddf46 2013-05-07 * ext/socket/ancdata.c (ancillary_inspect): Don't call anc_inspect_ipv6_pktinfo if !HAVE_TYPE_STRUCT_IN6_PKTINFO. anc_inspect_ipv6_pktinfo is not defined in the case.
593c24f87c388e607a23d56b8941ca6cb4ebf866 2013-05-07 * ext/socket/ancdata.c (bsock_recvmsg_internal): Add a cast to suppress warning. Bionic defines socklen_t as int. Bionic defines msg_controllen as unsigned int (__kernel_size_t) instead of socklen_t as POSIX.
42642407591bd76d2f68eed559e42deef9adc157 2013-05-07 * ext/readline/readline.c (insert_ignore_escape): Add a cast to unsigned char * before dereference. This suppress a warning on Cygwin.
6359460610c0a43d515f3da71b4e8901759d855f 2013-05-08 Add a comment.
6d313a387ab91fd3a0f83a5e5992336dc492d223 2013-05-08 * configure.in: Don't check socketpair. socketpair is not used in ruby command itself.
86d5a05c478561be55d56926dee5a5f61672d281 2013-05-08 Update a comment.
18646d74ddbcd6443196aeccf8492ae609c84372 2013-05-08 * configure.in: Check socket library again. shutdown() is used in io.c.
f9feb22f1a93a4f4dcd840f7d2441385dd4185a8 2013-05-08 error message refined.
a5e6d48dfbd13f245eaa063c794e83c91aa5606a 2013-05-09 * ext/socket/rubysocket.h, ext/socket/unixsocket.c, ext/socket/ancdata.c: Use HAVE_STRUCT_MSGHDR_MSG_CONTROL instead of HAVE_ST_MSG_CONTROL.
adb575e21e176f73caa79838e98c8720269f12e2 2013-05-09 * ext/socket/ancdata.c (bsock_sendmsg_internal): Always set controls_num to raise NotImplementedError appropriately. (bsock_recvmsg_internal): Raise NotImplementedError if :scm_rights=>true is given on platforms which don't have 4.4BSD style control message.
bfb334eefa6fdebcf95af0b44f27117b754d93c7 2013-05-09 * file.c, ext/etc/etc.c, ext/socket/unixsocket.c, ext/openssl/ossl.h, ext/openssl/openssl_missing.c: Use HAVE_AGGREGATE_MEMBER instead of HAVE_ST_MEMBER.
2ffbe0345dd606cffcc30cbfce437762f5fcb496 2013-05-09 * ext/socket/ancdata.c (bsock_sendmsg_internal): controls_num should not be negative.
093beeda90631de7c1d82abb1be4ef0f7bde06c2 2013-05-10 * configure.in: Don't link librt if clock_gettime is available in the main C library. glibc 2.17 moves clock_* from librt to the main C library. http://sourceware.org/ml/libc-announce/2012/msg00001.html
695ad02d1bf0fe00c188d50d4c81af0ad3fa2087 2013-05-10 * configure.in: Reformat arguments of AC_CHECK_HEADERS and AC_CHECK_FUNCS to track modifications easily.
980bf275fae4b50b06f330d854aa326444916a46 2013-05-10 * configure.in: Move library checks into "Checks for libraries." part.
b1dd4c92ce95bc0deaf7ab34524f239953434ecb 2013-05-10 * gc.h (SET_MACHINE_STACK_END): Add !defined(_ILP32) to a defining condition to avoid compilation error on x32. https://sites.google.com/site/x32abi/
fade664f916d001d1e2d53cbccd132f6b039fb7d 2013-05-11 disable test_fcntl_lock_linux on x32.
b323d7d54c1f9d22799f636014a438f9da951f3f 2013-05-11 * ext/socket: New method, Socket.getifaddrs, implemented. [ruby-core:54777] [Feature #8368]
2977c53b219b3513e2ba795aa25eadb92f5293ce 2013-05-11 Describe Socket.getifaddrs.
e3a2145d22df6e6627247dcb8410a2c934706256 2013-05-11 Add debug print to investigate a failure on Travis-CI.
26cb14f846006ed4739af1153aae1f87e4678b3e 2013-05-11 * ext/socket/raddrinfo.c (rsock_inspect_sockaddr): Add casts to suppress warnings.
975e43b8cb8d4cdd3e4ac126db894d1053cb8a02 2013-05-11 * test/rinda/test_rinda.rb: Socket.getifaddrs may returns an interface which #addr method returns nil for venet0 in OpenVZ.
2ad4c65b545e095d36c66074422ce2e41b9d0278 2013-05-13 * ext/socket/extconf.rb: Check socketpair again. It is required on Unix.
b6decf289fb90e579733ed29571f0870c7a7c169 2013-05-14 Update doc.
1e5a64261fd2f41eb49b20a3f4f2acaabffc5c7c 2013-05-14 * ext/socket/.document: Add ifaddr.c.
a84c2941c22b165777667aeddad892c4ee99a45e 2013-05-15 * ext/socket/depend: Add a dependency for ifaddr.o.
8416b57943539ab5267021e8cf1f61bcb5d1bcff 2013-05-16 Fix a dependency.
d05010f6a4c0ce0473b815d0c8c5f3839a37e541 2013-05-17 Enable the document for Socket::Ifaddr#ifindex.
fbe45fdfa2a3dd461adfe82e13e97c7717b34dca 2013-05-17 * configure.in: Consider error messages to find out version option of C compiler. The C compiler of Sun Studio C emits "Warning: Option -qversion passed to ld, if ld is invoked, ignored otherwise" and exit successfully.
9d099423e784be8a5df88db9b6ea839db99c4765 2013-05-17 * ext/socket/ifaddr.c: Use unsigned LONG_LONG to represent flags because SunOS 5.11 (OpenIndiana) defines ifa_flags as uint64_t.
a7acc99193857da45837b52a1ffb73888b05d9f0 2013-05-17 * ext/socket/mkconstants.rb: Convert integer constants bigger than int correctly.
94dfc14ed87f969e84cc1896be56433ede7fe369 2013-05-18 * ext/socket/mkconstants.rb (INTEGER2VALUE): Use LONG2FIX if possible.
2c7c4b2e7b6c9400329885d146af5ca2ab557748 2013-05-18 * ext/socket/mkconstants.rb (INTEGER2VALUE): Suppress a warning: comparison between signed and unsigned integer expressions
bfec5ad41f808b37d5bc248fdcbc595c367be9e6 2013-05-18 * ext/socket/mkconstants.rb (INTEGER2NUM): Renamed from INTEGER2VALUE.
9cc1cc2045469323fdd97aaf0a17585db5686d69 2013-05-18 * ext/socket/mkconstants.rb (INTEGER2NUM): Make less comparisons.
e12df5ef40ff52d7428e89048c2424b57e26a907 2013-05-21 Update doc.
d07439d5fdbcec497dc251c5c4e77d1660cd195b 2013-05-23 Add a comment.
783cffce1dc7a440f4cb04695961fc7349de3024 2013-05-27 * include/ruby/ruby.h (RHASH_SIZE): Add a cast to suppress a warning, comparison between signed and unsigned integer expressions [-Wsign-compare], on ILP32.
184bfbba7fa80c4f8c624c14b364d63d7005f161 2013-05-30 Update doc.
fc1f9d2cb2ad4592530f0130d75682a6c8b8c6a7 2013-05-31 * bignum.c: Don't hard code SIZEOF_BDIGITS for log_base(hbase). (big2str_orig): hbase_numdigits argument added. (big2str_karatsuba): Ditto. (rb_big2str0): Calculate hbase_numdigits.
2a38d9043e2eb16d7f3fcf3460dec5995a3195c6 2013-05-31 * bignum.c (calc_hbase): Extracted from rb_big2str0.
25e5a75863a111d102f5efff1f9431d7b6c55867 2013-05-31 * bignum.c (calc_hbase): Make hbase the maximum power of base representable in BDIGIT.
ce20b98b143bda528d87c14128b8e977baece2a9 2013-05-31 * bignum.c: Use BDIGIT type for hbase.
935d39a5b82aebdb1af7763311590655ff2adf4c 2013-06-03 * bignum.c (bitlength_bdigit): New function. (rb_big_pow): Use bitlength_bdigit instead of ffs.
d89308284195390278ccb4a2ea896b6424adc3e7 2013-06-04 * bignum.c (bitlength_bdigit): Fix an off-by-one error.
5eab13c377a60869d89e770f163323efeaff8da2 2013-06-04 * marshal.c (r_object0): Generalize a round up expression. Use BDIGIT instead of int.
14ec81b0a26458e0099472cbb0e768b0411016cb 2013-06-04 * bignum.c (rb_big_pow): Don't need to multiply SIZEOF_BDIGITS. Use nlz instead of bitlength_bdigit. (bitlength_bdigit): Removed.
99638b5d1fbb8e4a95408b97719a57acb68eab4c 2013-06-05 * random.c (int_pair_to_real_inclusive): Add a cast to BDIGIT. (random_load): Fix shift width for fixnums. Re-implement bignum extraction without ifdefs.
13bba43d641a0f7042264a800902f5105cc7d3c6 2013-06-05 * bignum.c (big_fdiv): Use nlz() instead of bdigbitsize(). (bdigbitsize): Removed.
9fea8758e98eed379bf406f2fea6c8403efe2590 2013-06-06 * configure.in: Invoke RUBY_REPLACE_TYPE for size_t. Don't invoke RUBY_CHECK_PRINTF_PREFIX for size_t to avoid conflict with RUBY_REPLACE_TYPE.
58eac2494f4914701294f1a79084fe84f220ce5e 2013-06-06 Specify dependencies.
c9c67d2fe0d8d502d444c477d3272c4092513a53 2013-06-06 * bignum.c (rb_int_import): New function. (int_import_push_bits): Ditto.
d1f3d41f11a5b0d47a85182a4c55e39def0f08f4 2013-06-06 * internal.h (rb_int_export): countp argument is split into wordcount_allocated and wordcount.
e0bb10be50fa23cb0ef9941750e874cc469cda86 2013-06-06 Fix the class name.
a8c4a952767d0f554b3ac4ea999dbeb5f54ae6eb 2013-06-06 Arguments renamed.
e54d70882c3a72d3a6a87a069e34251371306168 2013-06-07 * bignum.oc (rb_absint_size): Declare a variable, i, just before used to suppress a warning. (rb_int_export): Ditto.
8e65ff7e312b1d18f7aec9d8bac066ef13cb6705 2013-06-07 Fix a typo.
bd15d4ca78dd8a9c60e0edf8814fb8e971d35097 2013-06-07 * internal.h (numberof): Gathered from various files.
84d8e582494ef6d0a8581a4d42d41c68ba07bf0b 2013-06-07 * bignum.c (rb_absint_size): Use numberof. (rb_int_export): Ditto.
de1b0c96f0a2f00c8bd3cc5d5fb054bff9905680 2013-06-07 * bignum.c (validate_integer_format): Extracted from rb_int_export and rb_int_import.
8f7a3075881cc057fa70639729e0073a12bfe55c 2013-06-07 * bignum.c (integer_format_loop_setup): Extracted from rb_int_export and rb_int_import.
07b72b8c856353096fad39a7f628e9076533dc18 2013-06-07 Update comment.
a08b001100734a3db4efbe9d38d3226950a538e0 2013-06-07 * bignum.c (rb_integer_pack): Renamed from rb_int_export. (rb_integer_unpack): Renamed from rb_int_import.
f31aed6255a67be4f7c83d231ab4697f4f92821d 2013-06-07 * bignum.c (rb_integer_pack): Arguments changed. Use flags to specify word order and byte order. (rb_integer_unpack): Ditto. (validate_integer_format): Follow the above change. (integer_format_loop_setup): Ditto.
dac364dbe190acff7db79df27bf4ad6220df6ba9 2013-06-07 Delete an empty line.
3dcea601c77f5396aa8d44d615a617332147c78b 2013-06-07 * bignum.c (validate_integer_pack_format): Renamed from validate_integer_format. (integer_pack_loop_setup): Renamed from integer_format_loop_setup. (integer_pack_fill_dd): Renamed from int_export_fill_dd. (integer_pack_take_lowbits): Renamed from int_export_take_lowbits. (integer_unpack_push_bits): Renamed from int_import_push_bits.
8ce912bdb3554ea7bd75c360dbaac39a29c61c35 2013-06-07 * bignum.c (integer_pack_loop_setup): word_num_nailbytes_ret argument removed. (rb_integer_pack): Follow the above change. (rb_integer_unpack): Follow the above change.
8bc16423cc6c5a85b0ec36575c869409a843bf28 2013-06-07 * random.c: include internal.h. (mt_state): Use rb_integer_unpack.
b0f14c8b58e8fd56f0e4b22dc3b91b4e6162e44e 2013-06-07 * random.c (numberof): Removed.
97b5a9c1025e583099aa624bcab0251f2e7aae96 2013-06-07 Refine error messages.
9ebd008f324aeb2f4b7017e30c75629fe7441d19 2013-06-07 * random.c (random_load): Use rb_integer_pack.
479b17ed12c749eb2e6716672b0c0765ad87267a 2013-06-08 * random.c (int_pair_to_real_inclusive): Use rb_integer_unpack.
8ca1e1238e626ccb2e371bd4e1043d95aea03930 2013-06-08 * random.c (int_pair_to_real_inclusive): Use rb_integer_pack.
6b5be413bbef7e32c331cfacbf55d1aa7b747822 2013-06-08 * random.c (int_pair_to_real_inclusive): Use rb_funcall instead of rb_big_mul because rb_integer_unpack can return a Fixnum.
4d6ac81117360a3b11f6a950ae1776a24bc49bcc 2013-06-08 Re-add removed entries by r41163.
0056591f50502c58616f3ea5249e92a174ab86c6 2013-06-08 * internal.h (INTEGER_PACK_FORCE_BIGNUM): New flag constant.
90b1a8f4310db9b46f76fa549f981b7deef93f47 2013-06-08 Remove a trailing space
ccce83c454880c9a0414f8b750ca0808e1f40ccc 2013-06-08 * random.c (rand_init): Use rb_integer_pack. (roomof): Removed.
8a1609040e959ffb370c121840cf1fdfb144616a 2013-06-08 * random.c (rand_init): Add a cast to fix clang compile error: random.c:410:32: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32] This cast doesn't cause a problem because len is not bigger than MT_MAX_STATE.
d35616e69456305c78fd72c35aaf6a1beefc49f1 2013-06-08 * bignum.c (rb_integer_unpack): Don't use rb_funcall if possible.
483cbff8dc9abb278c5feb038d98861dcaaefa45 2013-06-08 * random.c (make_seed_value): Fix the length given for rb_integer_unpack.
a76abae51db93662e4e58517a792e57779d2c669 2013-06-08 * random.c (limited_big_rand): The argument, limit, is changed to VALUE. Use rb_integer_pack and rb_integer_unpack.
14140eb16b301c1b305b94d6271e8b72242685f6 2013-06-08 * random.c: Unused RBignum internal accessing macros removed.
af612be8e0e54ffa602cede04d355a1399a02b81 2013-06-08 * time.c (rb_big_abs_find_maxbit): Use rb_absint_size. (bdigit_find_maxbit): Removed.
747894a32d6ea2b123b2abc292fd903c53a7aa36 2013-06-08 * bignum.c (rb_absint_singlebit_p): New function.
f1a6b64b1d47e04a338f7d3d6f3c5dfaf13cdb2e 2013-06-08 * time.c (v2w_bignum): Simplified using rb_integer_pack. (rb_big_abs_find_maxbit): Removed.
874f10cbf214e915dfc38930d03b251379bd4202 2013-06-08 * time.c (v2w): Use rb_absint_size instead of RBIGNUM_LEN.
5a9984d7aa30f0d6febc3415d189fa81563d70a5 2013-06-08 * marshal.c (r_object0): Use rb_integer_unpack.
633e4949bda73c7e6fdbc330dd48b46884e5f548 2013-06-08 * numeric.c (rb_num_to_uint): Use rb_absint_size instead of RBIGNUM_LEN.
58e67628ae19a9235bcc9bbba6d5a8e0858121f4 2013-06-08 Fix a typo.
e3bc7eec5f8ea62586eb1dfe2b3c021a5a9f1f8e 2013-06-08 * hash.c (rb_hash): Use rb_integer_pack to obtain least significant long integer.
f6757f080c9201de6fbd1d25b663c37341ef2305 2013-06-09 * bignum.c (big2str_base_powerof2): New function. (rb_big2str0): Use big2str_base_powerof2 if base is 2, 4, 8, 16 or 32.
837392b45260785a8ccc13aceba5be90e067a974 2013-06-09 * bignum.c (rb_integer_pack): numwords_allocated argument removed.
f5ad120b9798d58d20e67dc458a5f5005482a1d8 2013-06-09 * bignum.c (rb_absint_numwords): Renamed from rb_absint_size_in_word.
9cb1452318a311af3937356ba7e5fc00c4aefc3d 2013-06-09 * bignum.c (rb_absint_numwords): Return (size_t)-1 when overflow. Refine variable names. (rb_absint_size): Refine variable names.
d395be138c0661c38f903017c365a30c561c8548 2013-06-09 Update an error message.
f30d662c24a7f799b67cc5f99470ce9da39b89cf 2013-06-09 * bignum.c (absint_numwords_bytes): New function. (absint_numwords_generic): Extracted from rb_absint_numwords. (rb_absint_numwords): Use absint_numwords_bytes if possible.
192085bad3471ed7442a147f86a3c85c1958307c 2013-06-09 * bignum.c (absint_numwords_small): New function. (absint_numwords_generic): Use absint_numwords_small if possible.
8c239f35de2a30ef3585c5a7cb9aaba7271a70cc 2013-06-10 * bignum.c (integer_unpack_num_bdigits_small: Extracted from rb_integer_unpack. (integer_unpack_num_bdigits_generic): Ditto. (integer_unpack_num_bdigits_bytes): New function. (rb_integer_unpack): Use above functions. Return a Bignum for INTEGER_PACK_FORCE_BIGNUM evenwhen the result is zero.
0e8caa7d0f79c9514b4b4dbe9ac88b08e822e387 2013-06-10 * bignum.c (rb_integer_pack): Returns sign instead of words. (absint_numwords_generic): Follow the above change. (big2str_base_powerof2): Follow the above change.
6735633663cdb39c95075f0f92f34c6d8f5c4ec6 2013-06-10 Update doc.
780ab06a0ef626225aa2182a18b6e009a6bc45a8 2013-06-10 Update a comment.
46bb1a9f922b4a201f754e2050332529e4629379 2013-06-10 Update comment.
d5a3818f8e3d096a4e192b61008f886f940192df 2013-06-11 * bignum.c (rb_integer_pack_internal): Renamed from rb_integer_pack and overflow_2comp argument added. (rb_integer_pack): Just call rb_integer_pack_internal. (rb_integer_pack_2comp): New function.
17a5321c40ea3405487cee40fc7ed04ecc4c1635 2013-06-11 rb_integer_pack tests refined.
06b1671107875eaba7099cf6cb4411ccc33fe052 2013-06-11 * bignum.c (validate_integer_pack_format): numwords argument added. Move a varidation from rb_integer_pack_internal and rb_integer_unpack. (rb_integer_pack_internal): Follow above change. (rb_integer_unpack): Ditto.
c4b12333f770039fa4f189b3ac9ca015707836c3 2013-06-11 * bignum.c (validate_integer_pack_format): Refine error messages.
b23d9a8a637e5e63a93ea6a620b3dab3450f15e2 2013-06-11 * bignum.c (validate_integer_pack_format): Don't require a word order flag if numwords is 1 or less. (absint_numwords_generic): Don't specify a word order for rb_integer_pack.
a338c4ed5d519f05bf1f9fcd6a7b237a3101df0a 2013-06-11 Unused variable removed.
0c9a719d7728e026e2bd4dfef61d940d3ca7248f 2013-06-11 * internal.h (INTEGER_PACK_NEGATIVE): Defined. (rb_integer_unpack): sign argument removed.
e39523b77b6d27a59950c741b46f0b7c8bb5539a 2013-06-11 * random.c (rand_int): Use rb_big_uminus.
174e3fb6e40e517275c0acf3cda0e991c47fa572 2013-06-12 * sprintf.c (rb_str_format): Fix a dynamic format string.
ff6104ba62164a4808ac96839a7201c2bec16ff7 2013-06-12 * pack.c (pack_pack): Use rb_integer_pack_2comp.
4e0685faeaba694641c30c5d93fd6be0e8b875f8 2013-06-12 * bignum.c (validate_integer_pack_format): supported_flags argument added and validate given flags. (rb_integer_pack_internal): Specify supported_flags. (rb_integer_unpack): Ditto.
b53a183c009b3cb72b5964cf5652763b4cebf0f6 2013-06-12 * bignum.c (integer_unpack_num_bdigits_generic): Rewritten without rb_funcall. (integer_unpack_num_bdigits_bytes): Removed. (rb_integer_unpack): integer_unpack_num_bdigits_bytes invocation removed.
aaa1461d7b1508c12e9aaa3f2c2681ddc82fa0f4 2013-06-12 * bignum.c (rb_integer_unpack_2comp): New function. (rb_integer_unpack_internal): Extracted from rb_integer_unpack and nlp_bits_ret argument added. (integer_unpack_num_bdigits_small): nlp_bits_ret argument added to return number of leading padding bits. (integer_unpack_num_bdigits_generic): Ditto.
2b1c2b7223de78de5d8b855d62b89623ed930744 2013-06-12 * bignum.c (integer_unpack_num_bdigits_small): Fix a comple error on clang -Werror,-Wshorten-64-to-32 Reported by Eric Hodel. [ruby-core:55467] [Bug #8522]
90026ab53f89304438d907c0c7cc23afccc6edb7 2013-06-13 Refine debug code.
db3b317ca74c075e49264bf21b71a85280a26890 2013-06-13 * bignum.c (bigdivrem): Use nlz.
3e3080ef5854ac6a0ae8cc18d2cffd3832afa35b 2013-06-13 * test/ruby/test_thread.rb (test_thread_local_security): Don't create an unused thread.
63dd3e7ef9c1f2b839072003cb1696282520ffd1 2013-06-13 * bignum.c (bigdivrem): Refactored to use ALLOCV_N for temporally buffers.
b4bafcb41652d3a6f3c02891603f867fa0d11d23 2013-06-13 Use ny instead of RBIGNUM_LEN(y).
65575bab02a2ff13b1b41f2c47b934f0c8b44002 2013-06-13 * bignum.c (bigdivrem): Zero test condition simplified.
48bfbb574ea4112fdaf5d542a2c8d9918afd9237 2013-06-14 * bignum.c (bigdivrem): Use bignew when ny == 1.
2f407300fac2f0b3143ccf4db4d7ba57266ce12b 2013-06-14 * bignum.c (bigdivrem): Reduce number of digits before bignew() for div.
2b6cab544f2690c1eb2f02c1cf16ac945a397769 2013-06-14 * bignum.c (bdigs_small_lshift): Extracted from big_lshift. (bigdivrem): Use bdigs_small_lshift.
6193a3148afcbcc200f9f68b51d56cab75be7efa 2013-06-15 * bignum.c (bdigs_small_rshift): Extracted from big_rshift. (bigdivrem): Use bdigs_small_rshift.
919cc1e53e77db0c72ea307ffd0a0d4eec8dbeee 2013-06-15 * bignum.c (bigmul1_normal): Shrink the result Bignum length.
78a6a6cad670a240319251b61f4a304c299ed51d 2013-06-15 * bignum.c (absint_numwords_bytes): Make it static. (absint_numwords_small): Ditto. (absint_numwords_generic): Ditto.
d1eea69b01ebdc55a098cdfeb9a332b48b3a88ae 2013-06-15 * bignum.c (bary_unpack): Extracted from rb_integer_unpack_internal. (absint_numwords_generic): Use bary_unpack. (roomof): Defined. (bdigit_roomof): Defined. (BARY_ARGS): Defined. (bary_unpack): Declared.
988c22ea72eb532d8e7b90cfc975d9d6b474f880 2013-06-15 * bignum.c (bary_mul): New function. (absint_numwords_generic): Use bary_mul. (bary_mul_single): Extracted from bigmul1_single. (bary_mul_normal): Extracted from bigmul1_normal.
392def5b71d74f6c1061a17fe858a601f17e1abb 2013-06-15 * bignum.c (bary_sub): New function. (absint_numwords_generic): Use bary_sub. (bigsub_core): Skip unnecessary copy.
00a95f15bc840814baeaec8d970acf998d70e273 2013-06-15 * bignum.c (bary_divmod): New function. (absint_numwords_generic): Use bary_divmod. (bigdivrem_num_extra_words): Extracted from bigdivrem. (bigdivrem_single): Ditto. (bigdivrem_normal): Ditto. (BIGDIVREM_EXTRA_WORDS): Defined.
d631642a2ef3e86b0d3764df4c881a286fd13ec9 2013-06-15 * bignum.c (bigdivrem): Use a BDIGIT variable to store the return value of bigdivrem_single.
7a58763dc6d9920f9187b33e350065d5fe3b3aa3 2013-06-16 * bignum.c (bary_add): New function. (bary_zero_p): Extracted from bigzero_p. (absint_numwords_generic): Use bary_zero_p and bary_add. (bary_mul): Fix an argument for bary_mul_single. (bary_divmod): Use size_t for arguments.
552c0c5aa88856a642da620ef534265d19deb8ec 2013-06-16 * bignum.c (bary_pack) Extracted from rb_integer_pack_internal. (absint_numwords_generic): Use bary_pack.
fc3fbc143cc5ee95758b561a59d6b856c492bbb4 2013-06-16 * bignum.c (absint_numwords_generic): rb_funcall invocations removed.
ecabbf1bf606305bb553100700e1edb487604ecc 2013-06-16 * internal.h (INTEGER_PACK_2COMP): Defined. (rb_integer_pack_2comp): Removed.
50794b32227e0615a8468f8203e12d180b57442c 2013-06-16 * bignum.c (bary_2comp): Extracted from get2comp. (integer_unpack_num_bdigits): Extracted from rb_integer_unpack_internal. (bary_unpack_internal): Renamed from bary_unpack and support INTEGER_PACK_2COMP. (bary_unpack): New function to validate arguments and invoke bary_unpack_internal. (rb_integer_unpack_internal): Removed. (rb_integer_unpack): Invoke bary_unpack_internal. (rb_integer_unpack_2comp): Removed.
22b9ce10e3e39b81facb1e04b75b62f430538cbf 2013-06-16 * bignum.c (BARY_ADD): New macro. (BARY_SUB): Ditto. (BARY_MUL): Ditto. (BARY_DIVMOD): Ditto. (BARY_ZERO_P): Ditto. (absint_numwords_generic): Use these macros.
12a9e3beaa012c22222f66038dfdcd5a2e86feb5 2013-06-16 * bignum.c (absint_numwords_bytes): Removed. (rb_absint_numwords): Don't call absint_numwords_bytes.
f4b295da45b80dcc86381e9d92f255b54af7272c 2013-06-16 * bignum.c (bary_small_lshift): Renamed from bdigs_small_lshift. (bary_small_rshift): Renamed from bdigs_small_rshift.
947ebd0ac5ba2c2447f67bbe87e6e5899ab25209 2013-06-17 * loadpath.c (RUBY_REVISION): Defined to suppress revision.h inclusion actually. r41352 removes the dependency.
b7cec43c8bea18f15ac24b5ae02c66e36b4d904f 2013-06-17 Fix a indent.
b5c81904e6239a414eb90d8658549d5efe4fea7f 2013-06-18 * bignum.c (rb_big_xor): Non-effective code removed.
e3b98ca301beaa34c09be7b20f9a7729b26f3eb1 2013-06-18 * bignum.c (nlz): Cast the result explicitly. (big2dbl): Don't assign BDIGIT values to int variable.
1a6a65f16bb8f9f8035dc8d4689ec0b6032047d0 2013-06-18 * configure.in: Check __int128.
0393a91926199318bdd539e6ef2d59b0b616f4ba 2013-06-18 * bignum.c (rb_big_aref): Apply BIGLO to ~xds[i] for environment which BDIGIT is 16bit.
9cff4e30c6ee462b7bea30e130b015ffb17b8984 2013-06-19 * bignum.c (DIGSPERLONG): Don't define if BDIGIT is bigger than long. (DIGSPERLL): Don't define if BDIGIT is bigger than LONG_LONG (rb_absint_size): Consider environments BDIGIT is bigger than long. Use BIGLO and BIGDN. (rb_absint_singlebit_p): Ditto. (rb_integer_pack): Ditto. (bigsub_int): Consider environments BDIGIT is bigger than long. Use SIZEOF_BDIGITS instead of sizeof(BDIGIT). (bigadd_int): Ditto. (bigand_int): Ditto. (bigor_int): Ditto. (bigxor_int): Ditto.
e82f5f7ddb19811c40af9d7214a338c954b03fa7 2013-06-19 * bignum.c (rb_uint2big): Consider environments BDIGIT is bigger than long. (big2ulong): Ditto. (rb_big_aref): Ditto. (rb_big_pack): Just call rb_integer_pack. (rb_big_unpack): Just call rb_integer_unpack.
24c9860d55ba5578f9b5a6fecdd5bf4891731164 2013-06-19 * bignum.c (bigfixize): Use rb_absint_size. (check_shiftdown): Ditto. (big2ulong): Use bdigit_roomof.
a5b0cace63a0806859c106d7c847f447bdf7ca7b 2013-06-19 * bignum.c (bdigit_roomof): Use SIZEOF_BDIGITS. (bigfixize): Refine an ifdef condition. (rb_absint_size): Use bdigit_roomof. (rb_absint_singlebit_p): Ditto. (rb_integer_pack): Ditto. (integer_pack_fill_dd): Use BITSPERDIG. (integer_unpack_push_bits): Use BITSPERDIG, BIGLO and BIGDN.
e98b7c6c52302cab9f2522298a6588f9c8b1aa9d 2013-06-19 * bignum.c (BIGSIZE): New macro. (bigfixize): Use BIGSIZE. (big2ulong): Ditto. (check_shiftdown): Ditto. (rb_big_aref): Ditto.
6ea1aee76e2642aa0d532a00e0b971dede02d818 2013-06-20 * bignum.c (bary_unpack_internal): Return -2 when negative overflow. (bary_unpack): Set the overflowed bit if an extra BDIGIT exists. (rb_integer_unpack): Set the overflowed bit.
a9c71d1139fcf4c478f28f979c32441bbf96b524 2013-06-20 * bignum.c (big2ulong): Change the return type to unsigned long. (rb_big2ulong_pack): Follow the above change. (rb_big2long): Ditto. (rb_big_lshift): Ditto. (rb_big_rshift): Ditto. (rb_big_aref): Ditto.
91894ab9955fd7d29132c6f525cf5b9378195430 2013-06-20 An extra semicolon removed.
ca10999c39a8cee3ff766a4ffed399abe6f22ae7 2013-06-20 * bignum.c (dump_bignum): Use SIZEOF_BDIGITS.
94e5fdf3366e4e79924c060dbb1218ed75518dde 2013-06-20 * bignum.c (rb_uint2big): Refactored.
7e36326c06a40dbe4900883cd180255e3beaa2e5 2013-06-20 * bignum.c (bignorm): Don't call bigtrunc if the result is a fixnum.
a0d42f035421dabf54500ef83a34df2bf09573ea 2013-06-20 * bignum.c (bigmul1_toom3): Don't call bignorm twice.
a461f2f8bb5b79954421b6b3d3756f9011ad32e9 2013-06-20 * ext/bigdecimal: Workaround fix for bigdecimal test failures caused by [ruby-dev:47413] [Feature #8509]
de8ca8a1389093bda27836b16bd1e18a19339887 2013-06-20 * bignum.c (rb_ull2big): Refactored. (rb_uint2big): Useless code removed.
6e19e1b87657d12d4e6fe2257462287ebcf67d40 2013-06-21 * bignum.c (bigsub_int): Use bdigit_roomof. (bigadd_int): Ditto. (bigand_int): Ditto. (bigor_int): Ditto. (bigxor_int): Ditto.
90be342c9ffac1f2d23e672911b0499a8cd5bac9 2013-06-21 * pack.c (pack_pack): Move the implementation for 'c' directive after pack_integer label.
c54a1abde3753fe94176ef959342a5972eae0e73 2013-06-21 * bignum.c (BDIGMAX): Use BIGRAD. (BIGLO): Use BDIGMAX. (bigdivrem1): Ditto. (bigor_int): Ditto. (rb_big_or): Ditto.
8e9c9ec8e47866c116d29dd4e2ee0b40bbbe6b00 2013-06-21 * bignum.c (bary_pack): Specialized packers implemented. (HOST_BIGENDIAN_P): New macro. (ALIGNOF): New macro. (CLEAR_LOWBITS): New macro. (FILL_LOWBITS): New macro. (swap_bdigit): New macro. (bary_2comp): Returns an int.
afb03d16464599102b65b5d6da8622fa6e25ee1e 2013-06-22 * bignum.c (LSHIFTX): Defined to suppress a warning. (RSHIFTX): Ditto. (CLEAR_LOWBITS): Use LSHIFTX and RSHIFTX. (FILL_LOWBITS): Use LSHIFTX. Reported by ko1 via IRC.
654a40a33aa8c30563e38a0fc982172d6ee53d93 2013-06-22 * pack.c (num2i32): Removed. (pack_pack): Don't use num2i32.
d0690f97dedc97471968ea6f6d6517cf2e7dd9f1 2013-06-22 * bignum.c (CLEAR_LOWBITS): Rewritten without RSHIFTX. (RSHIFTX): Removed.
042fe1ea912903ce34feca4c24e6231135748259 2013-06-22 * bignum.c (bary_pack): MEMZERO can be used even if nails is not zero.
4b4ba84eb8e3b2a9efd1b2ea1ae6ee4869a9100c 2013-06-22 * ext/dl/cfunc.c (rb_dlcfunc_call): Use rb_big_pack instead of rb_big2ulong_pack and rb_big2ull.
8f0c3ff6e49fad5263f9be52946e1c13f9bcf021 2013-06-22 * bignum.c (bary_pack): Support INTEGER_PACK_FORCE_GENERIC_IMPLEMENTATION flag. Fix byte order and word order handling in code specialized for wordsize % SIZEOF_BDIGITS == 0.
972ae3e5389d4b35d6252b05e3bc0a4f22f29fc7 2013-06-22 * bignum.c (bary_unpack_internal): Specialized unpacker implemented. (bary_unpack): Support INTEGER_PACK_FORCE_GENERIC_IMPLEMENTATION. (rb_integer_unpack): Support INTEGER_PACK_FORCE_GENERIC_IMPLEMENTATION.
cdd1c04453a065f88983c33c1e637f7652bbcd20 2013-06-22 * pack.c (pack_unpack): Remove specialized unpackers for integers.
edc338875eaa5590b13aadb818a24e247249d616 2013-06-22 * bignum.c (rb_integer_unpack): Don't allocate a Bignum if possible.
963d67895342328c6c2d87fbaaffaebc190e0213 2013-06-22 * bignum.c (bytes_2comp): Renamed from quad_buf_complement. (bary_pack): Use bytes_2comp. (rb_quad_pack): Use rb_integer_pack. (rb_quad_unpack): Use rb_integer_unpack.
9ab8ab38d8300cf2de7f32970e6154d196768269 2013-06-22 * bignum.c (bary_swap): New function. (bary_pack): Use bary_swap. (bary_unpack_internal): Ditto.
6cbeb417e98ad433316666abe0f1345b41c1efa6 2013-06-22 Unused code removed.
b3ad6f0648d3bc4af0b62d606cfbd763da501c4e 2013-06-22 Update comments.
31415e58092661347831b687f2db705c89addd9b 2013-06-22 * bignum.c (MSB): New macro. (bary_unpack_internal): Use MSB. (bary_divmod): Ditto. (bigdivrem): Ditto.
f175d5259c5b1b5ba2de7301ea92deffcbb639fd 2013-06-22 * bignum.c (bytes_zero_p): Extracted from bary_pack. (bary_pack): Use bytes_zero_p.
93ec82ca77ced0a17d447bbb5a4cca4c2c857567 2013-06-22 * bignum.c (bytes_zero_p): Removed. (bary_pack): Don't call bytes_zero_p.
a53a6281cfaa445166f6a4f15ef5d662f69f0dc2 2013-06-22 * bignum.c (bary_unpack_internal): Suppress warnings (C4146) on Visual Studio. Reported by ko1 via IRC.
698359593547bbd71b9a600bac6bd6ab4c5545d8 2013-06-22 * bignum.c (integer_unpack_single_bdigit): Extracted from bary_unpack_internal.
9310247f5066673f3d1f264469147ab5c310b2bc 2013-06-23 * bignum.c (integer_unpack_single_bdigit): Use a cast.
ad6d79e7cbff79fbf8b813a87aa9c4dc397472c8 2013-06-23 * include/ruby/defines.h (BDIGIT): Define it only if it is not defined yet. This eases tests and debug. (SIZEOF_BDIGITS): Ditto. (BDIGIT_DBL): Ditto. (BDIGIT_DBL_SIGNED): Ditto. (PRI_BDIGIT_PREFIX): Ditto. (PRI_BDIGIT_DBL_PREFIX): Ditto. (PRIdBDIGIT): Define it only if PRI_BDIGIT_PREFIX is defined. (PRIiBDIGIT): Ditto. (PRIoBDIGIT): Ditto. (PRIuBDIGIT): Ditto. (PRIxBDIGIT): Ditto. (PRIXBDIGIT): Ditto. (PRIdBDIGIT_DBL): Ditto. (PRIiBDIGIT_DBL): Ditto. (PRIoBDIGIT_DBL): Ditto. (PRIuBDIGIT_DBL): Ditto. (PRIxBDIGIT_DBL): Ditto. (PRIXBDIGIT_DBL): Ditto.
6225d547d51cbeee9c10dc927b6b12a4a3e01199 2013-06-23 * bignum.c (BIGUP): Use LSHIFTX and avoid cast to consider the type of x is bigger than BDIGIT_DBL. (big2ulong): Use unsigned long to store the result. (big2ull): Use unsigned LONG_LONG to store the result. (bigand_int): Use long for num to avoid data loss. (bigor_int): Ditto. (bigxor_int): Ditto.
13f1fbc09a0984ad7779d5819785597f20241d19 2013-06-24 * bignum.c (integer_unpack_single_bdigit): Refine code to filling higher bits and use BIGLO.
2b93ed5e762d15334ad063be99cc9b9cb9d7df2f 2013-06-25 * bignum.c (MSB): Removed. (BDIGIT_MSB): Defined using BIGRAD_HALF. (bary_2comp): Apply BIGLO after possible over flow of BDIGIT. (get2comp): Ditto. (bary_unpack_internal): Use BDIGIT_MSB. Apply BIGLO after possible over flow of BDIGIT. (rb_integer_unpack): Use BDIGIT_MSB. (calc_hbase): Use BDIGMAX. (big2dbl): Use BDIGMAX. Apply BIGLO after possible over flow of BDIGIT. (rb_big_neg): Apply BIGLO after possible over flow of BDIGIT. (biglsh_bang): Ditto. (bigrsh_bang): Ditto. (bary_divmod): Use BDIGIT_MSB. (bigdivrem): Ditto. (bigxor_int): Apply BIGLO after possible over flow of BDIGIT.
26dd237449561f92920e4b9af1b4868f401e4e71 2013-06-25 * bignum.c (big2ulong): Add code specialized for SIZEOF_LONG <= SIZEOF_BDIGITS. This prevents shift witdth warning from "num <<= BITSPERDIG".
8dcdfe36b7c3c084764604f14b67b04fb3f4be01 2013-06-25 * bignum.c (integer_unpack_single_bdigit): Use "1 + ~u" instead of "-u" to suppress warning (C4146) by Visual Studio. Reported by ko1 via IRC.
a8c226922de30f0a371959bba4e77b03497c7b9d 2013-06-25 * bignum.c (big2ulong): Add a cast. (big2ull): Add a specialized code for SIZEOF_LONG_LONG <= SIZEOF_BDIGITS.
e4e5bc118e8abe96ff352dac2c7c62f9094a6e70 2013-06-25 * bignum.c (LSHIFTX): Revert r41611. The redundant expression suppresses a warning, C4293, by Visual Studio. http://ruby-mswin.cloudapp.net/vc10-x64/ruby-trunk/log/20130625T072854Z.log.html.gz#miniruby
d4f1cc32042789d24d698d7a09a4b8c5058c0526 2013-06-25 * bignum.c (rb_big2ulong_pack): Use rb_integer_pack. (rb_big_aref): Call big2ulong with TRUE for "check" argument. It should be non-effective.
b58230bcbdf49cbc47f9d9f225a98c242d990b91 2013-06-25 * bignum.c (big2ulong): "check" argument removed. (rb_big2ulong): Follow above change. (rb_big2long): Ditto. (rb_big_rshift): Ditto. (rb_big_aref): Ditto.
7565d728b6f3910cf41ce106bf0b7bc2aef2bc77 2013-06-25 * bignum.c (big2dbl): Use (BDIGIT)1 instead of 1UL. (bary_mul_normal): Remove a useless cast.
56435700df9e9c973df6d5de925383c413feb51e 2013-06-25 * bignum.c (rb_absint_singlebit_p): Use POW2_P. (bary_pack): Ditto. (rb_big2str0): Ditto. (POW2_P): Moved to top.
4d906fbc146c657280be940719504fdd56a55af3 2013-06-25 * bignum.c (bigsub_int): Fix a buffer over read.
5026d0ae752018bfda74ee04c11f755b7b6adddb 2013-06-25 * bignum.c (bigadd_int): Fix a buffer over read.
3ade5353e1f7a8893443ade7182851edac891295 2013-06-25 * bignum.c (bigand_int): Fix a buffer over read.
3a8100835485c64f97e10a3cd1624a1b33145326 2013-06-26 * test/socket/test_udp.rb: Close sockets explicitly. Don't use fixed port number.
9be51267b54f923e9e95824984416eca9b95dd6c 2013-06-26 * bignum.c (bigand_int): Consider negative values. (bigor_int): The allocated bignum should have enough size to store long. This fixes (bignum fits in a BDIGIT) | (fixnum bigger than BDIGIT) on platforms which SIZEOF_BDIGITS < SIZEOF_LONG, such as LP64 with 32bit BDIGIT (no int128).
1457ee2ce4582456a7226fe81b817abb9548813e 2013-06-26 * bignum.c (bigxor_int): Fix a buffer over read.
c72186f4c290685c145e5f1c6d1c6d8d7463eab2 2013-06-26 * bignum.c (rb_big_pow): Retry if y is a Bignum and it is representable as a Fixnum. Use rb_absint_numwords.
cd6912a5952e719c643d319d7120659ddd3de1c8 2013-06-27 * bignum.c (get2comp): Use bary_2comp. (abs2twocomp_bang): New function. (abs2twocomp): New function. (twocomp2abs_bang): New function. (rb_big_and): Use abs2twocomp and twocomp2abs_bang.
ef18728433d0418b2e002eb46f7abc321ff2d535 2013-06-27 * bignum.c (abs2twocomp_bang): Removed. (abs2twocomp): Take n_ret argument to return actual length. (rb_big_and): Follow above change.
43e4de376b119fcb946f0c3dfb5986d4635ccf77 2013-06-27 * bignum.c (bigand_int): Add arguments, xn and hibitsx. Use twocomp2abs_bang.
a5fcce2820bd008b690ce39be86d82cb959f62f8 2013-06-28 * ext/socket/ipsocket.c (init_inetsock_internal): Don't use local addresses which address family is different to remote address.
b83b33eef025546d43f7e05895c06629e37edd34 2013-06-28 * bignum.c (rb_big_and): Allocate new bignum with same size to shorter argument if it's high bits are zero.
88430941c88c971160196259cc6a8e95cc61697f 2013-06-28 * bignum.c (bigand_int): Don't apply bitwise and for BDIGIT and long. (bigor_int): Take xn and hibitsx arguments. Use twocomp2abs_bang. (rb_big_or): Use abs2twocomp and twocomp2abs_bang.
f0454052f71ad1efad04f6a2e029f18e468af563 2013-06-29 * bignum.c (bigor_int): Use RB_GC_GUARD. (bigxor_int): Take xn and hibitsx arguments. Use twocomp2abs_bang. (rb_big_xor): Use abs2twocomp and twocomp2abs_bang.
c6cb7416d21e348a44cf17dad0c603d1c6a23a8b 2013-06-29 * bignum.c (bigor_int): Return -1 if y == -1.
69f1a3351fe731e8d92c2f1c7f8507c08fb7e59b 2013-06-29 * bignum.c (bary_2comp): Simplified.
1522375b99de8fa5e6e99d69724c89250d8181c2 2013-06-29 * bignum.c (bary_neg): Extracted from bary_2comp. (bary_plus_one): Extracted from bary_2comp. (bary_2comp): Use bary_neg and bary_plus_one. (big_extend_carry): Extracted from get2comp. (get2comp): Use big_extend_carry. (rb_integer_unpack): Use big_extend_carry. (rb_big_neg): Use bary_neg.
7251c93cb3e39be231ad7cdf356dcceb79522d46 2013-06-29 * bignum.c (RBIGNUM_SET_NEGATIVE_SIGN): New macro. (RBIGNUM_SET_POSITIVE_SIGN): Ditto. (rb_big_neg): Inline get2comp to avoid double negation.
b1e052d0805b97c83fd0ff04580d4c5d555613c7 2013-06-29 * bignum.c (big_rshift): Use abs2twocomp and twocomp2abs_bang.
305f06c7e353db5f4e9310121d2d36fc85d1b461 2013-06-30 * bignum.c (rb_cstr_to_inum): Use rb_integer_unpack if base is a power of 2.
98a8c820c7ca1c244f3c4ec24b444d6a673943ad 2013-06-30 * bignum.c (nlz16): New function. (nlz32): Ditto. (nlz64): Ditto. (nlz128): Ditto. (nlz): Redefined using an above function. (bitsize): New macro. (rb_cstr_to_inum): Use bitsize instead of nlz.
551fe2bddc0de817b4aca716034f70cf53534f93 2013-07-01 * bignum.c (rb_cstr_to_inum): Skip leading zeros.
b7fd00c8fa50f592e958540b0604114a6471275f 2013-07-01 * ext/socket/ipsocket.c (init_inetsock_internal): Use an address family for local address wihch is different to the remote address if no other choice.
df1192edf575c50281ffba3ae1b9bac89c774cf7 2013-07-01 * bignum.c (bary_mul2): New function. (rb_cstr_to_inum): Use a better algorithm to compose the result if input length is very long.
8c55a0a6e4936306c2abb62a33517e4b9fb6fcc2 2013-07-01 * ext/socket/ipsocket.c (init_inetsock_internal): Don't try mismached address family if already failed.
2ade221827476c0a6727bce6456ce856dec05819 2013-07-02 * bignum.c (rb_cstr_to_inum): Use BDIGIT_DBL to collect adjacent digits. (BDIGIT_DBL_MAX): New macro. (maxpow_in_bdigit_dbl): New function.
4658478ae1b0023c9ad17a67e98fb81b2c3b941c 2013-07-02 * bignum.c (rb_cstr_to_inum): Merge two temporary buffers.
c78826190f5af562cb725c050ff09d439e27b5eb 2013-07-02 * bignum.c (roomof): Cast to long. (rb_ull2big): Fix bignew arguments.
c4107e71c568250324a78634afb85fa1b19e21d0 2013-07-03 * bignum.c (maxpow_in_bdigit): Renamed from calc_hbase and return maxpow.
b2be623240af7b3318596fa348d2c7920f8703b5 2013-07-03 * internal.h (ruby_digit36_to_number_table): Declared.
fd8f2338e94b226a30888d408557f821a7d58f45 2013-07-04 * bignum.c (rb_cstr_to_inum): Avoid temporary buffer allocation except very big base non-power-of-2 numbers.
313cdec1bc083ee376a165eba5095b137f3bf8ec 2013-07-04 * bignum.c (maxpow_in_bdigit_dbl): Use tables if available. (maxpow_in_bdigit): Ditto. (U16): New macro. (U32): Ditto. (U64): Ditto. (U128): Ditto. (maxpow16_exp): New table. (maxpow16_num): New table. (maxpow32_exp): New table. (maxpow32_num): New table. (maxpow64_exp): New table. (maxpow64_num): New table. (maxpow128_exp): New table. (maxpow128_num): New table.
2e44efd4d9d9d2956dff437c28dd099085158ad8 2013-07-04 * tool/make-snapshot: Exit with EXIT_FAILURE when it fails.
c3111343197b71ebeed6ca0a76db499f7479d6ba 2013-07-04 * bignum.c (bary_mul_balance): Extracted from bigmul1_balance and use bary_mul2 and bary_add to decrease allocations.
c97c78501faa0483c314f04f5501097a365c9a92 2013-07-04 * bignum.c (BARY_MUL1): Renamed from BARY_MUL. (bary_mul1): Renamed from bary_mul. (bary_mul): Renamed from bary_mul2.
b2cf5f36b904c86352665aa8f789ea56d2391290 2013-07-07 * bignum.c (bary_sq_fast): Extracted from bigsqr_fast and ensure not to access zds[2*xn]. (bigsqr_fast): Allocate the result bignum with 2*xn words.
8dbf566094dc5150ad55d2c8ffefdc895854d59c 2013-07-07 * bignum.c: (bigsub_core): Use bary_sub. (bary_sub): Returns a borrow flag. Use bary_subb. (bary_subb): New function for actually calculating subtraction with borrow. (bary_sub_one): New function. (bigadd_core): Use bary_add. (bary_add): Returns a carry flag. Use bary_addc. (bary_addc): New function for actually calculating addition with carry. (bary_add_one): New function. (bary_muladd_1xN): Extracted from bary_mul_normal. (bigmul1_normal): Removed. (bary_mul_karatsuba): New function. (bary_mul1): Invoke rb_thread_check_ints after bary_mul_normal. (bary_mul): Remove most and least significant zeros before actual multiplication. Use bary_sq_fast, bary_mul_balance, bary_mul_karatsuba and bigmul1_toom3 as bigmul0. (bigmul1_balance): Removed. (bigmul1_karatsuba): Removed. (bigsqr_fast): Removed. (bary_sparse_p): Extracted from big_sparse_p. (big_sparse_p): Removed. (bigmul0): Use bary_mul.
42d6020059f91c06b96bf7729342a71751d4e801 2013-07-07 * bignum.c: Reorder functions to decrease forward reference.
d7c2f3f8a412b64880fa07b65faabe2b56543290 2013-07-07 Useless comment removed.
29634bca310c32b8f8dacd6e9bd8304388b30d17 2013-07-07 * internal.h (rb_big_mul_normal): Declared. (rb_big_mul_balance): Ditto. (rb_big_mul_karatsuba): Ditto.
c51615963af25a50e52cf933298d6405eb611d7a 2013-07-07 Ignore config.guess and config.sub.
1210743cad827155f4e2d4da9adbb8c1569a93a6 2013-07-07 * bignum.c (bary_mul_karatsuba): Unreachable code removed. Remove several branches.
a25f95f8b77317c5857e47375f56bf9cc14cf386 2013-07-07 * bignum.c (bary_mul): Add a RB_GC_GUARD.
ffe55cdc1e2b18ff5f45b556043eecd672675ec6 2013-07-08 * bignum.c (bary_mul_balance): Reduce work memory.
85855a22420bb6e2fd244f294c844106c992141a 2013-07-08 * bignum.c (bary_mul_balance): Initialize a local variable to suppress a warning.
6fdad008a2bf2e28db5029104b51373b767021fd 2013-07-08 * bignum.c (rb_big_sq_fast): New function for testing. (rb_big_mul_toom3): Ditto.
1ffdd828b32ecb81fd3fd8541df1edcb8c5673a8 2013-07-08 * bignum.c (bary_mul): Arguments for work memory added. (bary_mul_balance): Ditto. (bary_mul_karatsuba): Ditto.
be2a1ad45bd7109843c88e650cba821bda718ae4 2013-07-08 * bignum.c (biglsh_bang): Fix bignum digits under-run.
fa1e85c9331d0761418ef4dca87d9a51f5849cfc 2013-07-08 * bignum.c (bigrsh_bang): Fix bignum digits overrun.
fa343a796fd256fc9098db7fdddf226fe5cbd181 2013-07-08 * bignum.c (biglsh_bang): Don't shift a BDIGIT with BITSPERDIG bits. (bigrsh_bang): Ditto.
0c620c2ec3622d2a8dfb71e85e7537fe09ba46ac 2013-07-09 * bignum.c (bary_mul1): No need to invoke MEMZERO at last.
55cbeefb2df3a3985d96a8538ac145c35665cfd3 2013-07-09 * bignum.c (bary_mul_single): Invoke MEMZERO here.
5ec8b6e78e08dbd645a3dceaf617bb0ad5b2c373 2013-07-09 * bignum.c (bary_mul): x*1 is x.
716c93bed12e5dcc842a3668802e0cc60651b2f9 2013-07-10 * bignum.c (SIZEOF_BDIGIT_DBL): Add a ifdef guard for test.
55e60d05dce136e69981f8084505834501c96fa2 2013-07-10 * bignum.c (bary_2comp): Don't use bary_plus_one. (bary_add_one): Replaced by the implementation of bary_plus_one.
c0796c36b59e28a12faabe8eaca0a3950937af6f 2013-07-10 * bignum.c: Add a static assertion for RBIGNUM_EMBED_LEN_MAX.
973d8553915756929549c53c649a86bb5f412afe 2013-07-11 * bignum.c: Don't use toom3 after once karatsuba is choosen. (mulfunc_t): New type. (bary_mul_toom3_start): Renamed from bary_mul. (bary_mul_karatsuba_start): Renamed from bary_mul. (bary_mul_balance_with_mulfunc): Renamed from bary_mul_balance and new argument, mulfunc, is added. (rb_big_mul_balance): Invoke bary_mul_balance_with_mulfunc with bary_mul_toom3_start. (bary_mul_karatsuba): Invoke bary_mul_karatsuba_start instead of bary_mul. (bary_mul_precheck): Extracted from bary_mul. (bary_mul_karatsuba_branch): Extracted from bary_mul. (bary_mul_karatsuba_start): New function to call bary_mul_precheck and bary_mul_karatsuba_branch. (bary_mul_toom3_branch): Extracted from bary_mul. (bary_mul_toom3_start): New function to call bary_mul_precheck and bary_mul_toom3_branch. (bary_mul): Just call bary_mul_toom3_start. Arguments for work memory are removed. (rb_cstr_to_inum): Follow the bary_mul change. (bigmul0): Ditto.
725bc0c870ccc98da77cf6f1259e0a02c2ed6070 2013-07-13 * bignum.c (biglsh_bang): Removed. (bigrsh_bang): Ditto. (bigmul1_toom3): Use bary_small_lshift and bary_small_rshift.
e31c9896d68106a9bdc872c75c3c28f79a5bb4d6 2013-07-13 * bignum.c (bary_small_lshift): Functions moved to remove declaration. (bary_small_rshift): Ditto.
0001cf6bdc6d0eb9130bfc162b61c26279339e81 2013-07-13 * bignum.c (bary_small_lshift): Use size_t instead of long. (bary_small_rshift): Ditto.
de79b66f4689ad0b7f845a24092189a418f13ce4 2013-07-13 * bignum.c (big_shift3): New function. big_lshift and big_rshift are merged. (big_shift2): New function. (big_lshift): Use big_shift3. (big_rshift): Ditto. (check_shiftdown): Removed. (rb_big_lshift): Use big_shift2 and big_shift3. (rb_big_rshift): Ditto. (big_lshift): Removed. (big_rshift): Ditto.
f9029004eeb1deedb91c4133df2e99ed73414830 2013-07-13 * bignum.c (bary_mul_precheck): Use bary_small_lshift or bary_mul_normal if xl is 1.
b9eeeac5c87591ca43fdb6aaafb521a84d7d3800 2013-07-13 * bignum.c (big_shift): Avoid signed integer overflow.
75a86e4733faf3f5a26aa08745e407c061d178c3 2013-07-13 * bignum.c (rb_big_aref): Less scan when the number is negative.
651f762c17ba23061868a9e83fa7822621d2de86 2013-07-13 * bignum.c (DIGSPERLONG): Unused macro removed. (DIGSPERLL): Ditto.
b0eacd027a5f45c0135c7fa294bacb8162ae46b9 2013-07-14 * bignum.c (bary_subb): Support xn < yn. (bigsub_core): Removed. (bigsub): Don't compare before subtraction. Just subtract and get the two's complement if the subtraction causes a borrow.
240f3056aa0e095a6b03d5763c2775e97b4ee7d3 2013-07-14 * configure.in: Check __builtin_popcountl, __builtin_bswap32 and __builtin_bswap64.
508669b6daa416a3585affc0b7363aaa8b2c6e43 2013-07-15 * bignum.c (power_cache_get_power): Use bitsize insteadof ceil_log2. (ones): Removed. (next_pow2): Removed. (floor_log2): Removed. (ceil_log2): Removed.
150b2655024892d48ca6af5f70731e2ab68a491f 2013-07-15 * bignum.c (nlz16): Use __builtin_clz if possible. (nlz32): Use __builtin_clz or __builtin_clzl if possible. (nlz64): Use __builtin_clzl or __builtin_clzll if possible. (nlz128): Use __builtin_clzll if possible.
a5da8319b60ed7ffcaefe995f0418d783e7b692f 2013-07-15 * bignum.c (maxpow_in_bdigit_dbl): Useless #if removed.
1a42f3683fbd3735c3d217cc4cf31fdc1af1a93e 2013-07-15 * bignum.c: Add static assertions.
46360975a48c321527012b6b43d0eb431ee5a6ba 2013-07-15 * include/ruby/intern.h (rb_big2str0): Deprecated.
a38f209a391cd67f84ef6af819f3d6bc837e72b5 2013-07-15 Fix spaces.
c0cce2938c4e19508d1cd6412889c669da04cd7b 2013-07-16 * bignum.c (bary_mul_karatsuba): Avoid duplicate calculation when squaring. ((bary_mul_toom3_branch): Ditto.
4106413465aa37e4cb81b71f56f06613d06d88d1 2013-07-16 * bignum.c (big_shift3): Big shift width is not a problem for right shift.
a08c5527eab8222d89bfe9c4f410ade5f08b3f7e 2013-07-16 * bignum.c (USHORT): Unused macro removed.
6be7c95734cd0fea632bf33039c9fa3c0e0ebecc 2013-07-16 * bignum.c (bigsq): Renamed from bigsqr.
deaec24790075525e21e4ecf35dc027a18aec3c3 2013-07-16 * bignum.c (bigmul1_toom3): Use bigdivrem_single instead of bigdivrem. (big_three): Removed. (Init_Bignum): Don't initialize big_three.
8795574510d8fa852755c26433ecd812f7c1f2e0 2013-07-16 * st.c (st_locale_insensitive_strcasecmp): Renamed from st_strcasecmp. (st_locale_insensitive_strncasecmp): Renamed from st_strncasecmp.
f44eeda9284b928f3d5302ef27ae0884e117828c 2013-07-17 * include/ruby/st.h (st_strcasecmp): Macro defined for compatibility. (st_strncasecmp): Ditto.
15f7c7f9d4b28708216ca981312991a7850004eb 2013-07-17 * bignum.c: An static assertion for relation of SIZEOF_LONG and SIZEOF_BDIGITS is added. (bary_mul_precheck): Reduce comparisons. (bary_mul): Invoke bary_sq_fast or bary_mul1 if the bignum size is small. (bigfixize): Resize the argument bignum here. (bignorm): Don't call bigtrunc after bigfixize.
80afc9b2f38ef566ca3d46da4bb6876f788c50e4 2013-07-18 * bignum.c (BDIGITS_ZERO): Defined. (bary_pack): Use BDIGITS_ZERO. (bary_unpack): Ditto. (bary_mul_single): Ditto. (bary_mul_normal): Ditto. (bary_sq_fast): Ditto. (bary_mul_balance_with_mulfunc): Ditto. (bary_mul_precheck): Ditto. (bary_mul_toom3_branch): Ditto. (rb_cstr_to_inum): Ditto. (big_shift3): Ditto. (bigmul1_toom3): Ditto. (bary_divmod): Ditto.
2314c1bf476dbef2bd5904d262410dff230e1661 2013-07-18 * bignum.c (bary_sq_fast): Specialize the last iteration of the outer loop. (bigfixize): A condition simplified.
ccdc9ecf646c2743d3bc9af2d3b2548deec16167 2013-07-18 * ext/-test-/bignum/intpack.c: Renamed from ext/-test-/bignum/pack.c. (Init_intpack): Renamed from Init_pack. Reported by Naohisa Goto. [ruby-dev:47526] [Bug #8655]
028d67b924642707b756ccf2cc8ef63d73a05aa7 2013-07-19 Fix a typo.
e9c04509602be21fc41f06589999afce368296ce 2013-07-19 * test/socket/test_tcp.rb (test_initialize_failure): Use EADDRNOTAVAIL to test an error message generated by bind() failure.
33fc365f820fe97c9ab6ad7809f0001546effb4c 2013-07-19 Suppress warnings.
cd86892669bc3e71102771bb7a57f4cd40378e01 2013-07-19 Suppress warnings.
abfb7b35a24a19d5057c75246bae1300303eaaef 2013-07-20 Update a comment for Toom3.
a2116ef2cd946302f08f70bb192bfd0b74f4837f 2013-07-21 * bignum.c (bary_mul_toom3): New function based on bigmul1_toom3. (bary_mul_toom3_branch): Call bary_mul_toom3. (rb_big_mul_toom3): Ditto. (bigmul1_toom3): Removed. (big_real_len): Ditto. (big_split): Ditto. (big_split3): Ditto.
5cf931d65e0fbee89b50a09e65b30207ac767884 2013-07-21 * bignum.c (bary_mul): Use simple multiplication if yl is small. (rb_cstr_to_inum): Invoke bigsq instead of bigmul0. (bigsq): Re-implemented. (bigmul0): Invoke bigsq if two arguments are identical.
d3845ef8dbcd90303cc6066def2dee03eb770653 2013-07-21 * bignum.c (bary_sq_fast): Refine expressions.
685e4c67bf0c441c2b13920e3f1b10427cbe260c 2013-07-22 * bignum.c (bigdivrem_mulsub): Extracted from bigdivrem1. (bigdivrem1): Use bary_add.
fdb991b9a0d75f08288d8c9fbd2f5e7404e5b2eb 2013-07-22 * bignum.c (KARATSUBA_BALANCED): New macro. (TOOM3_BALANCED): Ditto. (bary_mul_balance_with_mulfunc): Use KARATSUBA_BALANCED and TOOM3_BALANCED. (rb_big_mul_balance): Relax a condition. (rb_big_mul_karatsuba): Use KARATSUBA_BALANCED. (rb_big_mul_toom3): Use TOOM3_BALANCED. (bary_mul_karatsuba_branch): Use KARATSUBA_BALANCED. (bary_mul_toom3_branch): Use TOOM3_BALANCED.
66cc0fa4abde68ae360ba2d2cdf4e44bc833e33a 2013-07-22 * bignum.c (bary_mulsub_1xN): New function. (bary_mul_toom3): Use bary_mulsub_1xN.
ca3f5b533d7bd8027a729d068e843a01a8990ee4 2013-07-23 * bignum.c (bary_divmod): Add special cases for x < y easily detected and nx == 2 && ny == 2.
a84ea119868a36ed02761f9fcbd929de3d828205 2013-07-23 * bignum.c: Move functions.
8fd992d71de08d16f05e7117a063b98b15df36b1 2013-07-27 * include/ruby/intern.h (rb_integer_pack): Declaration moved from internal.h. (rb_integer_unpack): Ditto. [ruby-core:42813] [Feature #6065]
5b89a56b4f2fe7c71f3d718062ee43c9e3b15cd0 2013-07-27 * bignum.c (rb_big_size): Return the bignum "bytewise" size. [ruby-core:55578] [Feature #8553] This is accepted by matz on DevelopersMeeting20130727Japan.
e5ff9d58effb093653bcb12ed2865e1509e2b265 2013-07-28 * include/ruby/intern.h (rb_absint_size): Declaration moved from internal.h to calculate required buffer size to pack integers. (rb_absint_numwords): Ditto. (rb_absint_singlebit_p): Ditto. [ruby-core:42813] [Feature #6065]
aecf007782e445f925f2f88cdb3eef7158c1240a 2013-07-28 * bignum.c: Constify bary_* functions.
37377b24d1aa2cff005da926115e4b690ded3545 2013-07-28 * bignum.c (absint_numwords_generic): The char_bit variable changed to a static constant.
7a9aeb33dba8d060c60b2bd690172fb7593865d2 2013-07-28 * bignum.c (bigdivrem): Specialized implementation added for nx == 2 && ny == 2
16bf45bf38d5b7ce3024c3af324921da1e6ef07d 2013-07-29 * bignum.c (LOG2_KARATSUBA_BIG2STR_DIGITS): Renamed from LOG2_KARATSUBA_DIGITS. (KARATSUBA_BIG2STR_DIGITS): Renamed from KARATSUBA_DIGITS.
106b0ce31b6b4f96283d3e041eeeb2687ac2c9df 2013-07-29 * sizes.c (Init_sizes): Define sizes only if the type actually exists.
6189859101c57b6230e684cade86fc5f898ac82e 2013-07-31 * bignum.c (big2str_struct): New structure. (big2str_orig): Use big2str_struct. (big2str_karatsuba): Ditto. (rb_big2str1): Ditto.
aba8c29a8b3a2921009eca50bfb08bea03ec4164 2013-07-31 * bignum.c (MAX_BIG2STR_TABLE_ENTRIES): Use SIZEOF_SIZE_T. (power_cache_get_power0): Add rb_bug call for too bit i argument. (power_cache_get_power): Simplified.
621d2b3d6cc2e9caf707840c63259552500cbe1c 2013-07-31 * bignum.c (bary_cmp): Extracted from rb_big_cmp. (power_cache_get_power): Change n1 argument (number of digits) to power_level which is just passed to power_cache_get_power0. (big2str_karatsuba): Ditto. (rb_big2str1): Calculate the initial power_level.
9e84b33564fd48e075f887e405e625c5d600bf6a 2013-07-31 * bignum.c (power_cache_get_power): Change numdigits_ret to size_t *. (big2str_orig): Change len argument to size_t. (big2str_karatsuba): Ditto. (rb_big2str1): Follow the above changes.
d28913b4b9df545098a17de90588f45dbf110872 2013-07-31 * bignum.c (big2str_find_n1): Change the return type to size_t. (big2str_orig): Ditto. (big2str_karatsuba): Ditto. (rb_big2str1): Follow the above changes.
4f1b07e9eb2a3aa00ab62d745f3e6e7d6b2d51d8 2013-07-31 * bignum.c (LOG2_KARATSUBA_BIG2STR_DIGITS): Removed. (KARATSUBA_BIG2STR_DIGITS): Removed. (big2str_numdigits_cache): New variable. (power_cache_get_power): Merged with power_cache_get_power0. This function returns maxpow_in_bdigit_dbl(base)**(2**power_level). (rb_big2str1): use power_cache_get_power.
eed6c15a21a9f843d8786254a935197502a9fccb 2013-07-31 * bignum.c (big2str_karatsuba): Fix a condition of power_level.
39a00c67107a3ae41a49b8897fdaa51cbaede7fb 2013-07-31 * bignum.c (big2str_orig): Simplified because RBIGNUM_LEN(x) <= 2 now. (big2str_struct): Two fields added: hbase2, hbase2_numdigits. (rb_big2str1): Initialize above fields.
478bd3128c96b5e26e81ea23de6aa1a33e449218 2013-07-31 * bignum.c (big2str_orig): Use temporary buffer when trim mode.
93055423bdcc799c2b0ee4fd50f895d72baf878e 2013-08-01 * bignum.c (big2str_alloc): New function to allocate the result string. It is called after actual length is calculated. (big2str_struct): Add fields: negative, result and ptr. (big2str_orig): Write out the result via b2s->ptr. (big2str_orig): Ditto. (rb_big2str1): Don't allocate the result string at beginning.
0ade4f39fd94b8294c66fb706f22f425f1e833c8 2013-08-01 * bignum.c (rb_big2str1): Remove non-trim mode. (rb_big2str0): Non-trim mode implemented here. (big2str_find_n1): Change the result type to long again. (big2str_base_powerof2): Don't take arguments: len and trim. (rb_big2str): Follow above change.
780a125faf79ae986efe709b53304cfb7e46d964 2013-08-01 * bignum.c (power_cache_get_power): Hide cached Bignum objects.
d620b0b9cdbca58e45033d0eaf4c14192f75f016 2013-08-01 * bignum.c (rb_big2str1): Raise an error for too big number.
69263bb7557de514f67bc5a8d27b91b4b781138a 2013-08-01 * bignum.c (rb_cstr_to_inum): Use power_cache_get_power.
9ebd675c478a84ca1a7187eb2992e47ddd7a9e0d 2013-08-01 * bignum.c (rb_big2str1): Remove a local variable.
474dc1e816cd84c9d6c16a023f66850da1d5cbdb 2013-08-01 * bignum.c (big2str_orig): Remove len argument. (big2str_karatsuba): Ditto. (rb_big2str1): Follow above change.
9e8f82e087ac7bc34098f94c2db5ea658dd6be80 2013-08-02 * bignum.c (bary_mul): Swap x and y for bary_mul1 if x is longer than y. [ruby-dev:47565] [Bug #8719] Reported by Narihiro Nakamura.
bc7c0a63fd9c3e51a34b0904539112b74b8147b3 2013-08-02 * bignum.c (big2str_karatsuba): Reduce power_level more than one at recursion, if possible. (rb_big2str1): Follow the above change.
54c3b1ba19793f8735f1b99dbc964995bb903e17 2013-08-02 * bignum.c (power_cache_get_power): Appry bigtrunc to the result of bigsq. (big2str_karatsuba): Fix number of leading zero characters.
ebbaec9696e6e567770a39adf0c25f92a82200c4 2013-08-02 * bignum.c (rb_big2str1): Simplify power_level calculation.
d0741fdf1c8ea69234cde2ac3c365c6f72dcc820 2013-08-02 * bignum.c (bigadd_core): Removed. (bigadd): Use bary_add instead of bigadd_core.
81f42c757676dd1e7866d39f42257873f8b14f21 2013-08-02 * bignum.c (big2str_orig): Rename a local variable.
04cf3fa3468dd4948ca453dfa730d52341a270e0 2013-08-02 * bignum.c (big2str_orig): Refactored.
36c89c484b791961c79a2a853a157140478526af 2013-08-03 * bignum.c (MAX_BASE36_POWER_TABLE_ENTRIES): Renamed from MAX_BIG2STR_TABLE_ENTRIES. (base36_power_cache): Renamed from big2str_power_cache. (base36_numdigits_cache): Renamed from big2str_numdigits_cache.
f858cd8a382169c40656b7511dd4b657f57f3bdc 2013-08-03 * bignum.c (big2str_orig): Receive the number to stringize as BDIGIT array and size. (big2str_karatsuba): Receive the number to stringize as BDIGIT array and size. Use an temporary array of BDIGIT. (rb_big2str1): Follow the above change.
f12ef626d161021a1318e8848fef8ca5b0cb65e5 2013-08-03 * bignum.c: The branch condition of selecting multiplication algorighms should check smaller argument because Karatsuba and Toom3 is effective only if both arguments are big. (bary_mul_toom3_branch): Compare the smaller argument to TOOM3_MUL_DIGITS. (bary_mul): Compare the smaller argument to KARATSUBA_MUL_DIGITS.
606a03dc599b04247e307403b4e38b67649f5863 2013-08-03 * bignum.c (bary2bdigitdbl): New function. (bdigitdbl2bary): Ditto. (bary_mul_single): Use bdigitdbl2bary. (power_cache_get_power): Ditto. (bary_divmod): Use bary2bdigitdbl. (big2str_orig): Ditto. (bigdivrem): Ditto.
092511bac76a4aca95e15107c67deb16272154c5 2013-08-03 * bignum.c (big2str_karatsuba): Don't allocate new temporary buffer if the buffer is enough for current invocation.
5a13ad0386552a8d7ad4a94fbd99a0a36b045a25 2013-08-03 * bignum.c (BARY_TRUNC): New macro. (bary_cmp): Use BARY_TRUNC. (bary_mul_toom3): Ditto. (bary_divmod): Ditto. (abs2twocomp): Ditto. (bigfixize): Ditto. (rb_cstr_to_inum): Ditto. (big2str_karatsuba): Ditto. (bigdivrem): Ditto.
3cd16b43eba02a43b2bd21bb2686fbde9c2e5696 2013-08-03 * README.EXT, README.EXT.ja: Mention rb_integer_pack and rb_integer_unpack.
2ae634f2f402b30133a96a0ace317510ea2ab701 2013-08-05 * bignum.c: Rename local variables.
25336fa7c1db1904c5a4d2eabe03a48e964cd1f8 2013-08-06 * bignum.c (rb_big_realloc): Use VALGRIND_MAKE_MEM_UNDEFINED to declare undefined memory area. (bignew_1): Ditto.
ba3ec382c7fd9e7ffced4bff37a8775985368f31 2013-08-06 [DOC] refine a call seq.
d35596c61da633f539c02ecb78b5c6a9e923ddfc 2013-08-06 * bignum.c (nlz16): Removed. (nlz32): Ditto. (nlz64): Ditto. (nlz128): Ditto. (nlz_int): New function. (nlz_long): New function. (nlz_long_long): New function. (nlz_int128): New function. (nlz): Follow above changes. (bitsize): Follow above changes.
ff84827eb6022ed208fb21a8e41ba30dd713ea2f 2013-08-07 * bignum.c (dbl2big): A condition simplified.
fe6273975eb7a8b8bbc48ef62dc74b7a1a8c10e8 2013-08-07 * bignum.c (rb_big_odd_p): Check the bignum length. (rb_big_even_p): Ditto.
319dc9f6c6e54da0e0c340ace57db1de4606b762 2013-08-08 * time.c (time_overflow_p): Avoid signed integer overflow.
685597fdc1ed01ceafae840870ba455037812dad 2013-08-08 Fix the previous commit.
fef170e87c7e49db5f6c6eab7bcd1b12697c7e7f 2013-08-08 * time.c (time_overflow_p): Avoid signed integer overflow. (rb_time_new): Fix overflow condition.
180d461a2225742bf8e9f9420e3c310268b1cb9d 2013-08-09 * bignum.c (big_div_struct): Use size_t. (bigdivrem1): Ditto. (bigdivrem_num_extra_words): Ditto. (bigdivrem_single): Ditto. (bigdivrem_normal): Ditto. (bary_divmod): Ditto.
55b6fff73788659467b3a8770a49bce1093f2c4b 2013-08-10 * configure.in: Revert r42458. It removes the HAVE_CLOCK_GETTIME from config.h. http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20130809T044800Z.diff.html.gz
06ed1c781a86f21a10780daf93a70bf830405f13 2013-08-10 * bignum.c (bitsize): Fix a conditional expression.
93bb48995c17f81b00140f157a642ece3eef627b 2013-08-11 * process.c (rb_clock_gettime): New method. This is accepted in the meeting: https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20130809 This method is accepted as a CRuby feature. I.e. Other Ruby implementations don't need to implement it.
f4670f739e85cad69706388d572e628f8572c378 2013-08-11 ML ref. added.
cef46a5e722dcbbc46a2755b26d38c090ea0d868 2013-08-11 [DOC] update doc.
adaa5650cd948674e51db36b4c6af8e4304a711a 2013-08-13 * bignum.c (bigdivrem_restoring): Extracted from bigdivrem_normal.
26e69a89fa8098c29e0afb64d66dcd5dbff8f76b 2013-08-13 * bignum.c (big_div_struct): ynzero field removed. (bigdivrem1): Follow the above change. (bigdivrem_restoring): Ditto.
f069f26bc21bca6cf21181503f500418092c16c4 2013-08-13 * bignum.c (big_div_struct): Remove xn and j field. Add zn field. (bigdivrem1): Follow the above change. (bigdivrem_restoring): Ditto.
02d1a121bd8ce8204a0f42a6499eee2962a5ad80 2013-08-13 Remove a trailing space.
38be07f833e143f43b1ff19836b14459a0132302 2013-08-13 * bignum.c (bigdivrem_restoring): xn argument removed. (bigdivrem_normal): Follow the above change.
1c9df374f32f4f5ff14e83c609c0926c78f0b4ce 2013-08-15 * process.c (rb_clock_gettime): [DOC] FreeBSD 7.1 supports CLOCK_THREAD_CPUTIME_ID. http://www.freebsd.org/releases/7.1R/relnotes.html
d94fc786a4fe6bfe75f1a03a237cdd958fe90aae 2013-08-15 * bignum.c (big2str_karatsuba): Use bigdivrem_restoring directly to reduce working buffer and memory copy. (rb_big2str1): Allocate working buffer for big2str_karatsuba here.
942a3c998545853cb12b484d171459230be535ef 2013-08-15 * bignum.c (bigdivrem_normal): Remove a local variable.
02b6f663c5d6d2d7687945008b53aa9af869c35b 2013-08-15 * bignum.c (bary_divmod): Simplify an expression.
7fc4142a024ac7afa69bd851ab0c595f5c7a0519 2013-08-15 * bignum.c (rb_big2str1): Truncate topmost zeros of x.
49e8387baef9e0d750853ccc3534e5077ea26a1a 2013-08-15 * bignum.c (bigdivrem_restoring): Use bigdivrem_single if non-topmost BDIGITs of y are zero.
6df786c79fda2b174785f983ec976b158534c669 2013-08-15 * bignum.c (bigdivrem_single): Use shift when y is a power of two.
d0b5d2016d5bf2d55291f7d8c121db8b028b2485 2013-08-15 * bignum.c (bary_mul_toom3): Reduce a branch.
9f6c62ad5f09ec1782442ec499cfd2a9962a3d2c 2013-08-16 * bignum.c (bary_small_rshift): Specify the higher BDIGIT instead of sign bit. (big_shift3): Follow the above change.
dcd4832d6967dab51189382793cb0aadc7705915 2013-08-16 * bignum.c (bigdivrem_single1): Renamed from bigdivrem_single. Add x_higher_bdigit argument. (bigdivrem_single): Just call bigdivrem_single1. (bigdivrem_restoring): Use bigdivrem_single1 to avoid memmove.
61313ade46f71b783336b64049ad11459a208061 2013-08-17 [DOC]
908e7312c439725f43a054d652f8c6a91a6e10f0 2013-08-17 * bignum.c (BIGDIVREM_EXTRA_WORDS): Redefine to 1. (bigdivrem_num_extra_words): Removed. (bigdivrem_normal): Simplefied. (big2str_karatsuba): Ditto.
c106d194455e9087db416a9e7ba62257135cf119 2013-08-17 * bignum.c (rb_big2str1): Use power_level instead of bitsize(xn).
364237623b683d15e94b228ceea3ce2fbaf7dceb 2013-08-18 * bignum.c (rb_big2str1): Make an expression more explicit.
2a47ee5e78c27c6cae830247dc8a1ca792899548 2013-08-18 * process.c (Init_process): Add constants: CLOCK_REALTIME_COARSE, CLOCK_MONOTONIC_COARSE and CLOCK_BOOTTIME.
5da36600a192916c18b82ae56f0ea4ac496c2312 2013-08-18 * configure.in: Revert r42604. It causes linking librt on systems with newer glibc uselessly.
408b8110d5935df37a63db9ce6173a2f779b4e20 2013-08-18 * process.c (rb_clock_gettime): Rename POSIX_TIME_CLOCK_REALTIME to ISO_C_TIME_CLOCK_REALTIME.
0a0c96308f69da9e49809d2dd8671d13777aca90 2013-08-19 * process.c (Init_process): Add constants: CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM.
dbef5ecd7aa11e623a2ed9f99ffa77616b5ae1d1 2013-08-19 * include/ruby/defines.h: Fix a compilation error with i586-mingw32msvc-gcc of gcc-mingw32 package on Debian squeeze. ruby/missing.h should be included before include/ruby/win32.h because struct timespec, used in the clock_gettime declaration in include/ruby/win32.h, is defined in ruby/missing.h instead of system headers.
2df40d4d18a5aadf11c7153c79d85ef78e9127ac 2013-08-19 * configure.in: Define ac_cv_func_clock_gettime to yes for mingw*.
873dd9bc4568a73202977ee1a5ac1dc2a7ff86fb 2013-08-21 * gc.c (getrusage_time): Fallback clock_gettime to getrusage when clock_gettime fails. Reported by Eric Saxby. [ruby-core:56762] [Bug #8805]
167419848f72a992445f3c73a8dbfd562dbe8b66 2013-08-21 * process.c (rb_clock_gettime): CLOCK_PROCESS_CPUTIME_ID emulation using getrusage is implemented.
a24930bf08f52e989aa55a5d2fa03308586bddf2 2013-08-21 * process.c: POSIX_GETTIMEOFDAY_CLOCK_REALTIME is renamed to SUS_GETTIMEOFDAY_CLOCK_REALTIME.
4b033d2692866f5d5944cd33b7dfa68d3dd4707a 2013-08-21 * process.c (get_clk_tck): Extracted from rb_proc_times. (rb_clock_gettime): times() based CLOCK_PROCESS_CPUTIME_ID emulation is implemented.
31a092c6875ed271a8a6a1fa3ccfc5320096f95a 2013-08-21 * process.c (rb_proc_times): Use RB_GC_GUARD to guard objects from GC.
4c661094c9d2c6800a7f43f41b812fa4aee18634 2013-08-21 * process.c (rb_clock_gettime): clock() based CLOCK_PROCESS_CPUTIME_ID emulation implemented.
47ae41ce340098b396cef1f011e27c21d7ead32b 2013-08-21 * process.c (make_clock_result): Extracted from rb_clock_gettime.
cda87d9e00a463ac8e4d7db3b06b413a284e94a3 2013-08-21 * process.c (rb_clock_gettime): Change emulation symbols for Process.clock_gettime.
9438bc0c86d984838dd7fe3761520832c8e5bb14 2013-08-21 Exchange order of ISO_C_CLOCK_BASED_CLOCK_PROCESS_CPUTIME_ID and POSIX_TIMES_BASED_CLOCK_PROCESS_CPUTIME_ID.
3873e09cad296e374d967d00bc8e2e6e8ec60323 2013-08-22 * process.c (unsigned_clock_t): Defined. (rb_clock_gettime): Consider clock_t overflow for ISO_C_CLOCK_BASED_CLOCK_PROCESS_CPUTIME_ID.
a641003f66c700de9a967a58e33b53cc7cd46a02 2013-08-22 * process.c (rb_clock_gettime): Strip "s" from unit names.
49b9f61fdb76478e4f54976c57945077db3c7ccc 2013-08-23 * process.c (gcd_ul): New function. (reduce_fraction): Ditto. (reduce_fraction): Ditto. (timetick2dblnum): Ditto. (timetick2integer): Ditto. (make_clock_result): Use timetick2dblnum and timetick2integer. (rb_clock_gettime): Follow the make_clock_result change.
bf9ce0429f3a5414796e4a5808e00dc5275d70e1 2013-08-23 Fix the previous commit.
f0bf7f75189b56b773f8cfb2e61371d77046a52f 2013-08-23 * process.c (timetick_int_t): Renamed from timetick_giga_count_t. (gcd_timtick_int): Renamed from gcd_ul and make the arguments timetick_giga_count_t. (reduce_fraction): Make the arguments timetick_int_t. (timetick2integer): Ditto. (make_clock_result): Ditto. (timetick2dblnum): Fix the return type. (rb_clock_gettime): Use timetick_int_t.
ca0b5118a542f81c51c40d6adcefee17fa35c497 2013-08-23 * process.c (reduce_factors): New function. (timetick2dblnum): Use reduce_factors. (timetick2integer): Ditto. (make_clock_result): Follow the above change. (rb_clock_gettime): Ditto.
a0cac92b342029343c432d0e45840c8cdf61110b 2013-08-23 * process.c (rb_clock_gettime): Add a cast to fix compile error by -Werror,-Wshorten-64-to-32.
282bbea0d93334d134ff11233ca8854e6dda0b72 2013-08-23 add tests.
811eaddf4c7fd22fb56e25dc8673e1329e6344a2 2013-08-24 * process.c (rb_clock_gettime): The emulated clock names changed.
8eb27cb16f513be6ef52e8b540ea5ce9282029c6 2013-08-24 [DOC]
cd9f60dfa5a16d4fb0dc25504f27fc1f905a0835 2013-08-24 [DOC]
5a0e4a5871aa75fdfba0ea5b0becd983f248bd5a 2013-08-24 * bignum.c (BARY_SHORT_MUL): Renamed from BARY_MUL1. (bary_short_mul): Renamed from bary_mul1.
dac8c1e5646e9243b35171c1ee4d577eceb315d2 2013-08-25 * sizes.c (Init_sizes): Define the size of clock_t.
7a4feec795ac8622edd099ed8b82b6230dc031be 2013-08-31 * lib/securerandom.rb (random_bytes): Use Process.clock_gettime.
83a0709174f9f99038b45914ee54acd7c126f11b 2013-08-31 * bignum.c: Use GMP to accelerate big Bignum multiplication. (bary_mul_gmp): New function. (bary_mul): Use bary_mul_gmp. (bigsq): Use different threshold with GMP.
23da5a785ebdf2dbb2dbf0d59eed4dbadd825d0b 2013-08-31 * process.c (rb_clock_getres): New method. (timetick2dblnum_reciprocal): New function.
a926a1f41cceed18f4e9d189ffa724f305589df3 2013-08-31 mention that Process.clock_getres is a CRuby feature.
89744e75bdf70ce8cbfcf265bd5a029a11247169 2013-08-31 * bignum.c (rb_big_bit_length): New method. (rb_fix_bit_length): Ditto. [ruby-core:56247] [Feature #8700]
4ac5f5710ea3628f166bce27f363c6a42bc6ba39 2013-08-31 updated.
8bd7af6794007dab448d71b78a13f0c1625858e9 2013-08-31 * bignum.c (bit_length): Renamed from bitsize.
7bb549d6b597b581a2f95496928612f2059e2df2 2013-09-01 * internal.h (bit_length): Moved from bignum.c. (nlz_int): Ditto. (nlz_long): Ditto. (nlz_long_long): Ditto. (nlz_int128): Ditto.
a0a0b61b68e77f47faa80933682127fb6c6e290f 2013-09-01 [DOC]
77f245e62ee7e0bbfd1eb868b759dabe169a29bf 2013-09-01 * numeric.c (rb_fix_bit_length): Moved from bignum.c.
e8d8e0696fd12424c622207a0229223a4de052b9 2013-09-01 Add assertions.
c9b3571ceb29c7c8be8344d212f022ee07557a75 2013-09-01 * bignum.c (maxpow_in_bdigit): Removed.
6fe40011a8a4f443248962a1dd6d9f590270a15a 2013-09-01 * bignum.c: Remove BITSPERDIG >= INT_MAX test. The static assertion, SIZEOF_BDIGITS <= sizeof(BDIGIT) is enough.
34004844cd9cf1476f5f2de78d373fc00032d041 2013-09-01 * bignum.c (big2str_2bdigits): Renamed from big2str_orig.
7dd16046034ca43dc555141b1d3a57da2a57f04d 2013-09-01 * bignum.c (big2str_base_poweroftwo): Renamed from big2str_base_powerof2. (rb_big2str_poweroftwo): New function for test. (big2str_generic): Extracted from rb_big2str1. (rb_big2str_generic): New function for test.
28130c1c63a4b1cbcc05f11ef84cd414685c3b6c 2013-09-01 * test/net/http/test_http.rb (test_bind_to_local_port): Choose an open port more reliably.
4dd7a13a0a00d66592049e1f9a79a9cfddf11a07 2013-09-01 * bignum.c (bary_mul_gmp): Use mpz_init and mpz_clear instead of mpz_inits and mpz_clears. Older GMP don't have them.
b64c2c348f05784cb3dad92c97093baf3e93885f 2013-09-01 * bignum.c (GMP_BIG2STR_DIGITS): New constant. (big2str_gmp): New function. (rb_big2str1): Use big2str_gmp for big bignums.
8a108ffc214545a5f144e3de82d37c67efa27939 2013-09-01 * process.c (get_mach_timebase_info): Extracted from rb_clock_gettime. (rb_clock_gettime): Use get_mach_timebase_info. (rb_clock_getres): Support MACH_ABSOLUTE_TIME_BASED_CLOCK_MONOTONIC.
a3e3cce183e8bf9b872d517024b50898bd5a141a 2013-09-01 Fix funciton name.
c48e169fb9b2e632aa21e8338862fc45e5476379 2013-09-01 * bignum.c (big2str_generic): Reduce arguments. (big2str_gmp): Ditto. (rb_big2str1): Follow the above change.
0effd061224edfb2c643e699a22057c03b4db3f8 2013-09-01 * bignum.c (Init_Bignum): Define Bignum::GMP_VERSION when GMP is used.
dd9c8b88af86d722d3832f6dab9c099644f54a2e 2013-09-02 * test/ruby/test_bignum.rb (test_interrupt_during_to_s): Disable it when GMP is used.
5f61a592e9f560a7de63ca072ef767c1e8495be1 2013-09-02 * bignum.c (str2big_poweroftwo): Extracted from rb_cstr_to_inum. (str2big_normal): Ditto. (str2big_karatsuba): Ditto.
1d7611ff4824f8ad64b174c3850807fb83b90ea0 2013-09-02 * bignum.c (ISDIGIT): Unused macro removed.
3065dd71e83565a1c21881aa5cd684d7cca16f96 2013-09-02 * internal.h (bit_length): Add casts to fix complation error with clang 3.0 -Werror,-Wshorten-64-to-32. [ruby-dev:47687] reported by SASADA Koichi.
0c3d1245715dd7708a594299228ad6f62e38aa74 2013-09-02 * bignum.c (bytes_2comp): Define it only for little endian environment.
c048ad23b692785c7a5f56d5707205c1830d28e3 2013-09-03 * bignum.c (str2big_scan_digits): Extracted from rb_cstr_to_inum.
bc3d736f4359bf84800008c2c9480e19839fd60a 2013-09-03 * process.c (rb_clock_gettime): Support times() based monotonic clock. (rb_clock_getres): Ditto.
1df73dd9adb3c11af6a5a3dc5839b8f87e8070a0 2013-09-03 Reduce NUM2INT invocations.
0b2413b471e5a23c619078f75b191c38619b35df 2013-09-03 * bignum.c (rb_str2big_poweroftwo): New function. (rb_str2big_normal): Ditto. (rb_str2big_karatsuba): Ditto.
25836893406be62419cb65c07497b03a756c22a6 2013-09-03 * bignum.c (GMP_STR2BIG_DIGITS): New macro. (str2big_gmp): New function. (rb_cstr_to_inum): Use str2big_gmp for big bignums. (rb_str2big_gmp): New function.
c0e1f9e016a24300a7047bb7e7cb3dd1f283463e 2013-09-03 Add tests.
1c6ff586a66693cddafe852526ebde0d89481576 2013-09-03 Fix a typo.
dd95c9b1cdab684e10f5fe94c53334f35781b855 2013-09-04 * bignum.c (bigdivrem_normal): Add assertions.
102a2c2e805ad382919646f5907866df36d51231 2013-09-04 * bignum.c (bigdivrem): Useless declaration removed.
cf3736a75a88cb63a6a2a6e6f29f420ef37ca7ea 2013-09-04 * bignum.c (bigdivrem_normal): Removed. (bary_divmod_normal): New function. (bary_divmod): Use bary_divmod_normal. (bigdivrem): Use bary_divmod_normal.
8f8bf8243d810d49a98dcb2713b14de3bf3716e0 2013-09-04 * bignum.c (rb_big_divrem_normal): New function.
8745bc676ec06fe0745fc71b5193620e7c7de77a 2013-09-04 * bignum.c (rb_big_divrem_normal): Add GC guards.
3b1ab2a6b76059b65dd6d3f124e40e3226c57c6d 2013-09-04 * bignum.c (bary_divmod_normal): Reduce temporary array allocations.
b1b395911cd1676a99089d463764dc52d893004d 2013-09-04 * bignum.c (GMP_DIV_DIGITS): New macro. (bary_divmod_gmp): New function. (rb_big_divrem_gmp): Ditto. (bary_divmod_branch): Ditto. (bary_divmod): Use bary_divmod_branch. (bigdivrem): Ditto.
42a3e0dc55620664af3e6253f324711316b93934 2013-09-06 * rational.c: Include gmp.h if GMP is used. (GMP_GCD_DIGITS): New macro. (rb_gcd_gmp): New function. (f_gcd_normal): Renamed from f_gcd. (rb_gcd_normal): New function. (f_gcd): Invoke rb_gcd_gmp or f_gcd_normal.
5269a3fbd00868c753b4fe40f901d70532303d0a 2013-09-06 Add a property.
4de7dcf8c869f74d523c76aba31c9a4e59fca3a7 2013-09-06 updated.
f43d9e22f688751479bc5c9d85f056091145c960 2013-09-06 * configure.in: Define ac_cv_func_clock_getres to yes for mingw*.
dd946739dd5cf4c6e9f6e1d31dfbcccc937e9d4f 2013-09-07 * ext/socket/mkconstants.rb (TCP_FASTOPEN): Defined for TCP fast open. [ruby-core:57048] [Feature #8871] patch by Masaki Matsushita.
08e3cb6959f8f554dc86f0decddf0b54193a1a55 2013-09-07 * math.c (math_log): Support bignums bigger than 2**1024. (math_log2): Ditto. (math_log10): Ditto.
0e02d92371b3c3f1474195f1bfe7233b790be040 2013-09-07 * math.c (math_log): Test the sign for bignums. (math_log2): Ditto. (math_log10): Ditto.
f41a2574f03bb2ebceca1d17ab40ecba3680a4fb 2013-09-08 Updated.
8953eee69f52d4f7f32fa1cf7f917bc6c3cbfebe 2013-09-08 * rational.c (f_gcd): Relax the condition to use GMP.
888e5cbbe7398aa814f5a0208a0fd30cfe337f3b 2013-09-09 * process.c: Remove spaces between SI prefix and unit to follow SI brochure. http://www.bipm.org/en/si/si_brochure/ https://www.nmij.jp/library/units/si/
035917adc127083ac851394e56ba3636b58e4823 2013-09-20 * ext/-test-/printf/printf.c (printf_test_call): Fix an end of buffer argument.
fa24a0c5ad4f32501ad6f58a87471d0d48398639 2013-09-21 [DOC]
42cc596402361eced511abe9d51f78fa54818895 2013-09-21 [DOC]
6876f79b3403eb2cdb1336241d177ac076c91d63 2013-09-22 [DOC]
e6fe59e96e98d450c815970a3afe96278104b848 2013-09-23 [DOC]
0e2f5210571d991f9f1dc52af9969a2e2100ab1a 2013-09-27 [DOC]
da6229a3a0a538aabcd0c209b1f751d0582d8ba3 2013-10-07 * lib/time.rb (Time.strptime): Use :offset. Patch by Felipe Contreras. [ruby-core:57694]
a8178c69bee18250aa022bb270390279487a8618 2013-10-07 * lib/time.rb (Time.strptime): Time.strptime('0', '%s') returns local time Time object as Ruby 2.0 and before.
c2bbe4b01e2be9372d0ecc9ab65ca00792abea61 2013-10-15 * process.c: Fix a typo. MacOS X don't have ENOTSUPP.
ed6231195b8c516a32019e1967366af7793e8313 2013-10-17 * lib/tsort.rb (TSort.each_strongly_connected_component_from): Extracted from TSort#each_strongly_connected_component_from.
6909b824ea4cec27153aa671af114ac2a1c935aa 2013-10-17 [DOC]
4c5bfb9fbd82585a0c7d7744fc3fc054cb3f4e42 2013-10-17 * lib/tsort.rb (TSort.tsort): Extracted from TSort#tsort. (TSort.tsort_each): Extracted from TSort#tsort_each. (TSort.strongly_connected_components): Extracted from TSort#strongly_connected_components. (TSort.each_strongly_connected_component): Extracted from TSort#each_strongly_connected_component.
4292fd7798b6fe31aec8dd2da9c8acab1f2bb518 2013-10-22 * lib/pp.rb (object_address_group): Use Kernel#to_s to obtain the class name and object address. This fix a problem caused by %p in C generates variable length address. Reported by ko1 via IRC.
fdf7b4586fe91756b9a8b6ed1bf5d9b37c1aab6d 2013-10-26 * addr2line.c: Include ELF header after system headers (especially sys/types.h) to avoid compilation failure, "usr/include/sh3/elf_machdep.h:4:2: error: #error Define _BYTE_ORDER!", on NetBSD/sh3 (dreamcast, hpcsh, landisk, mmeye).
11efba7e5699baaec7fd2b01e772ca64f80e7f24 2013-10-26 * lib/open-uri.rb (meta_add_field): : Re-implemented. [ruby-core:58017] [Bug #9051] patch by Eamonn Webster.
d5dad14041a06dc3a2dc497c7812a4ac787aec5b 2013-10-27 * ext/readline/readline.c: Include ruby/thread.h for rb_thread_call_without_gvl2. (readline_rl_instream, readline_rl_outstream): Record FILE structures allocated by this extension. (getc_body): New function extracted from readline_getc. (getc_func): New function. (readline_getc): Use rb_thread_call_without_gvl2 to invoke getc_func. [ruby-dev:47033] [Bug #8749] (clear_rl_instream, clear_rl_outstream): Close FILE structure allocated by this extention reliably. [ruby-core:57951] [Bug #9040] (readline_readline): Use clear_rl_instream and clear_rl_outstream. (readline_s_set_input): Set readline_rl_instream. (readline_s_set_output): Set readline_rl_outstream. (Init_readline): Don't call readline_s_set_input because readline_getc doesn't block other threads for any FILE structure now.
674f14a0bcc7d1c9971056ef745cd5c9f8ee0997 2013-10-28 * common.mk, ext/objspace/depend, ext/coverage/depend, ext/-test-/debug/depend, ext/date/depend: Update dependencies.
d3e84880ad66b99260167367f74709535e707eed 2013-10-28 * ext/-test-/file/depend, ext/-test-/postponed_job/depend, ext/-test-/tracepoint/depend: New files for dependencies.
e2ec76056aec67bd5422df597993f2cfc871b758 2013-10-28 * test/readline/test_readline.rb (teardown): Clear Readline.input and Readline.output.
a69756de6771d5140da6c330e16961e982676b70 2013-10-29 * ext/readline/readline.c (readline_getc): Consider NULL as input.
caa3c880400e48ff22099f3c003e6ba5290f9b61 2013-10-30 * time.c (v2w): Normalize a rational value to an integer if possible. [ruby-core:58070] [Bug #9059] reported by Isaac Schwabacher.
438a91c0720ac840dedb64085a8c906f855c7422 2013-11-03 * test/xmlrpc/webrick_testing.rb (stop_server): Don't try to shutdown the server if the server is not started.
ddf1d3aaed4d07d8fb00f4c3a81b6a83bd0225e8 2013-11-03 * test/xmlrpc: Wrap definitions by TestXMLRPC module.
3566a762d2cc23807a6539940679b6f0edbe637b 2013-11-03 * sample/test.rb: Make temporary file names unique.
445b04d18df63708a2b0ce923f07e372e4a808db 2013-11-04 * test/xmlrpc/webrick_testing.rb (start_server): Initialize the server at main thread to fail early.
7a3f2845df7fe3fd9a2b0649e555dba7301fa164 2013-11-04 * test/xmlrpc: Don't use fixed ports: 8070 and 8071.
7835e321ea05b3176f05f9840b7082b4378edc62 2013-11-05 * test/ruby/test_thread.rb (test_thread_join_in_trap): Run the test in a different process.
c3fdc2cfb0e4b2ede488a36fc224b9e261c23ba5 2013-11-09 * test/objspace/test_objspace.rb (test_dump_all): Make the test string shorter to be an embedded string on 32bit environment as well as 64bit environment.
e4f8f8907c8d04c54acf7791947295f8d9abf959 2013-11-14 * test/openssl/test_cipher.rb (test_aes_gcm_wrong_tag): Don't use String#succ because it can make modified (wrong) auth_tag longer than 16 bytes. The longer auth_tag makes that EVP_CIPHER_CTX_ctrl (and internally aes_gcm_ctrl) fail. [ruby-core:55143] [Bug #8439] reported by Vit Ondruch.
fbdd08b8c2c2a82d95ecb07673d429335d7af3c2 2013-11-16 * thread_pthread.c (rb_thread_create_timer_thread): Show error message instead of error number.
b01b19905291555674f9069873b13f30848bf66f 2013-11-16 * thread_pthread.c (thread_create_core): Ditto.
e7ec3dad907f2c77f17faddb40a98b2ef4523222 2013-11-18 * configure.in (LOCALTIME_OVERFLOW_PROBLEM): Define it for cross compiling. [ruby-core:58391] [Bug #9119] Reported by Luis Lavena. Analyzed by Heesob Park.
6895e77ffc3029b83985b0cbfea26dbe2bc1e7b0 2013-11-19 * test/net/http/utils.rb (spawn_server): Specify zero for port to avoid reusing an allocated port.
ced9ad5ab546d7ae478066a13116015033e2b485 2013-11-20 * random.c (rand_init): Make it possible to specify arbitrary array for init_genrand().
a89132ca7ff30c00924f3caf6727d94a0fb4bb55 2013-11-22 * test/ruby/test_settracefunc.rb: Ignore events from other threads.
6bcb8edb6deecf7d8d0c93fdcef4c70e72dfead1 2013-11-23 * include/ruby/ruby.h (RBIGNUM_EMBED_LEN_MAX): Limit the value to less than 8.
d33541009f3f9ed6edef9b0a3183dd552f83672b 2013-11-24 * include/ruby/defines.h: Don't use int128_t for Bignum. It's not always faster.
0224b515a8decf0359a17635830f91cd558300bd 2013-11-24 * include/ruby/defines.h (SIZEOF_ACTUAL_BDIGIT): Defined.
bc65d709ab72fc0fcdb37a6965028ba1b98940ba 2013-11-24 * bignum.c (bigxor_int): Apply BIGLO for long in a BDIGIT expression. (bigor_int): Ditto. (bigand_int): Ditto.
4fd53e476e493630a140edc085c71f2670d74942 2013-12-13 * ext/socket/lib/socket.rb: Don't test $! in "ensure" clause because it may be set before the body. Reported by ko1 and mrkn. [ruby-core:59088] [Bug #9247]
24a52978d4e2fe59cfa57c216c1118dce5f81640 2014-01-18 * lib/open-uri.rb: Make proxy disabling working again. Fixed by Christophe Philemotte. [ruby-core:59650] [Bug #9385]
57b2190d55d9719552556484a1923e28e94de1ed 2014-01-18 * ext/socket/option.c: IP_MULTICAST_LOOP and IP_MULTICAST_TTL socket option takes a byte on OpenBSD. Fixed by Jeremy Evans. [ruby-core:59496] [Bug #9350]
7efaa4f5d07ebc100a1bbfb34bfd9ea23a4ac2f2 2014-01-18 [DOC]
f962eba5f430200d42def2756ac4af2512acdfce 2014-01-18 * io.c: Test O_CLOEXEC only once. Patch by Eric Wong. [ruby-core:59419] [Feature #9328]
e457f6312f2ff05ab5ac52f17ab654f09282cd8d 2014-01-18 * io.c (rb_update_max_fd): Return immediately if the given fd is small enough.
e86a90420d06f613cf597f266abb5429aa2d6b43 2014-01-18 * lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenated string. Patch by Ryan Brunner. [ruby-core:58220] [Bug #9093]
971ef822679dfa6ee63ff83a47b4e4d1aa60d146 2014-01-18 * ext/socket: Avoid unnecessary ppoll/select on Linux. Patch by Eric Wong. [ruby-core:57950] [Bug #9039]
3b8bcf42a7519110b30e596d2465d27c4629d7b2 2014-01-20 * ext/socket/option.c: Use preprocessor macros to avoid repeated conditionals.
3682c6a32726db84ab933e427f8efda10a4b8844 2014-01-20 * ext/socket/option.c: Use "byte" as default argument for IP_MULTICAST_LOOP and IP_MULTICAST_TTL socket option to follow the original multicast implementation.
5af92f6369f02318d57114342891b849b12d39e4 2014-01-20 add a test.
779a630aee3aee42693abb6ae213234e799dcea0 2014-01-20 * ext/socket/option.c: Use "int" for IP_MULTICAST_LOOP and IP_MULTICAST_TTL on Mac OS X.
8b5694d5e87e47e349ae30e0e10260f41cb236eb 2014-01-20 * ext/socket/option.c: Use "int" for IP_MULTICAST_LOOP and IP_MULTICAST_TTL on Windows.
3ffc7535ba3be6d3979f94805077ca2a9c0ea23b 2014-01-21 Several more OS information for TYPE_IP_MULTICAST_LOOP and TYPE_IP_MULTICAST_TTL.
fbf4850cabbb7dc50be08660fe39889d03a03b96 2014-01-28 * process.c (READ_FROM_CHILD): Apply the last hunk of 0001-process.c-avoid-EINTR-from-Process.spawn.patch written by Eric Wong in [Bug #8770].
965b947fff6453464acfc9726db09db359db920b 2014-01-28 * ext/socket: Avoid redundant fcntl/fstat syscalls for cloexec sockets. Patch by Eric Wong. [ruby-core:59429] [Feature #9330]
688606d2d973584f6fe99379b1bee27caae159d8 2014-02-07 * lib/resolv.rb: Ignore name servers which cause EAFNOSUPPORT on socket creation. Reported by Bjoern Rennhak. [ruby-core:60442] [Bug #9477]
61f50ae03e5099820f3a8949f6375f5d8a17c5f0 2014-02-08 * io.c (SMALLBUF): Unused macro removed.
25a89ac0ac9e0139d4d51ef57b0a80696fbc08bc 2014-02-08 * lib/resolv.rb (Resolv::DNS::Message::MessageDecoder): Raise DecodeError if no data before the limit. Reported by Will Bryant. [ruby-core:60557] [Bug #9498]
5323328f0ca57c527b785922c7ec2f8e2ea8bf20 2014-02-08 * lib/resolv.rb: Don't set CLOEXEC flag explicitly. (Ruby set it by default.)
f01b5e217b2a4865f2af6e680181e362ee3f4480 2014-02-08 * lib/resolv.rb (Resolv::DNS::Message::MessageDecoder#get_labels): Make it iterative.
59c1d04daefaf19283e5ac4a01ace89b9ddebaff 2014-02-09 * configure.in: Fix compilation error. https://bugs.ruby-lang.org/issues/8358#note-16
ab67419b755af54aeee3319a1cddb62408f1dcc9 2014-02-11 * ext/openssl/ossl_bn.c (ossl_bn_initialize): Use rb_integer_pack. Fix SEGV by OpenSSL::BN.new(1 << (2**34)).
c1de2f4e3aa23cac7973ceb3f6c5477924c0d0ee 2014-02-11 * bignum.c (rb_big_cmp): Specialize a comparison to zero.
09e6766d1acbc36c6227896af348d8d21ea2a1b2 2014-02-11 * ext/bigdecimal/bigdecimal.c (BigMath_s_log): Use rb_big_cmp instead of RBIGNUM_NEGATIVE_P.
2fee22f30dae1d2998f293d0b0ec2b368ceb34d6 2014-02-11 [DOC]
6f8b0e9bb01137ebd5cddb411a9cbf5156de9da5 2014-02-14 * include/ruby/intern.h, include/ruby/io.h, include/ruby/ruby.h, include/ruby/win32.h, include/ruby/backward/rubysig.h, bignum.c, gc.c, io.c, process.c, safe.c, struct.c, thread.c, ext/socket/rubysocket.h, ext/-test-/old_thread_select: Remove deprecated definitions [ruby-core:60581] [Feature #9502]
ab9bc151e828843b9d9170754f4ba4d92ef85750 2014-02-14 * include/ruby/ruby.h, internal.h, ext/-test-/bignum/bigzero.c: Hide a Bignum definition. [ruby-core:42891] [Feature #6083]
f526784e1ee21f6d2b5d130673f5c3d96761f2bb 2014-02-14 * enum.c: Enumerable#{min,min_by,max,max_by} extended to take an optional argument. (nmin_cmp): New function. (nmin_block_cmp): Ditto (nmin_filter): Ditto. (nmin_i): Ditto. (nmin_run): Ditto. (enum_min): Call nmin_run if the optional argument is given. (nmin_max): Ditto. (nmin_min_by): Ditto. (nmin_max_by): Ditto.
3a541fd9aa7404b86742c8e5a21b4b8ab8f23d19 2014-02-15 Describe "Deprecated APIs removed." and "struct RBignum is hidden."
f9810d26b10c44b5fcdf07b886792c6a0b7c107f 2014-02-15 Add note about "struct RBignum is hidden.".
dfd26e3a473aa76fce20dc1359b0c4ab1d88eea9 2014-02-15 * bignum.c (rb_big_cmp): Avoid bignum allocation for comparison between bignum and fixnum.
7f27543b3b1dfbd864c7e4edd22f739078fd2908 2014-02-15 * configure.in (FILE_READEND): Don't detect it because it is not used.
3c99764bcdd181cbac849f82e512f4b64bdf27c1 2014-02-15 * internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO. (BIGNUM_EMBED_LEN_NUMBITS): Renamed from RBIGNUM_EMBED_LEN_NUMBITS. (BIGNUM_EMBED_LEN_MAX): Renamed from RBIGNUM_EMBED_LEN_MAX. (BIGNUM_SIGN_BIT): Renamed from RBIGNUM_SIGN_BIT. (BIGNUM_SIGN): Renamed from RBIGNUM_SIGN. (BIGNUM_SET_SIGN): Renamed from RBIGNUM_SET_SIGN. (BIGNUM_POSITIVE_P): Renamed from RBIGNUM_POSITIVE_P. (BIGNUM_NEGATIVE_P): Renamed from RBIGNUM_NEGATIVE_P. (BIGNUM_EMBED_FLAG): Renamed from RBIGNUM_EMBED_FLAG. (BIGNUM_EMBED_LEN_MASK): Renamed from RBIGNUM_EMBED_LEN_MASK. (BIGNUM_EMBED_LEN_SHIFT): Renamed from RBIGNUM_EMBED_LEN_SHIFT. (BIGNUM_LEN): Renamed from RBIGNUM_LEN. (RBIGNUM_DIGITS): Renamed from RBIGNUM_DIGITS. (BIGNUM_LENINT): Renamed from RBIGNUM_LENINT.
037ceae57114c8d5d00f2a566df1e69407096ebc 2014-02-15 * ext/bigdecimal/bigdecimal.c (BIGNUM_ZERO_P): Unused macro removed.
0bb75c4a714bae4a50358b8161e1bcc1e00cf144 2014-02-16 * include/ruby/ruby.h (RBIGNUM_SIGN): Defined for compatibility. (RBIGNUM_POSITIVE_P): Ditto. (RBIGNUM_NEGATIVE_P): Ditto.
f042e5113a34546b1c6641b538b962996f023430 2014-02-16 add tests.
841bf2b2081a394cc3eb846734157f851966476e 2014-02-17 * internal.h: Move BDIGIT and related definitions from include/ruby/defines.h.
bf6279bc2b7e181118caa0b0e58e2220856f0ec9 2014-02-18 * configure.in (FILE_COUNT): Removed. (win32.c defines it in itself.) (FILE_READPTR): Ditto.
948ce9decb97e5ff0833e53a392aa9f1d42c9b0d 2014-02-19 * ext/socket/ipsocket.c (ip_s_getaddress): Don't access freed memory.
dd1c3a75096b97c1ebcb8597c001761ddfb3c1bf 2014-02-19 * ext/socket: Wrap struct addrinfo by struct rb_addrinfo.
2e6b97a45d077979121b29484a8831034d47ef50 2014-02-19 * ext/socket: Bypass getaddrinfo() if node and serv are numeric. Reporeted by Naotoshi Seo. [ruby-core:60801] [Bug #9525]
81dfa8b397d901aad66da29a1fc2ce05f66485f9 2014-02-20 * ext/socket/raddrinfo.c (numeric_getaddrinfo): Use xcalloc. Suggested by Eric Wong. https://bugs.ruby-lang.org/issues/9525#note-14
a6da4b274d1894b9407353274a4d79bbc70cde43 2014-02-22 Fix a filename.
db537c5181a7b8497740a095975841b2dd7b1420 2014-02-22 * lib/resolv.rb (bind_random_port): Rescue EPERM for FreeBSD which security.mac.portacl.port_high is changed. See mac_portacl(4) for details. Reported by Jakub Szafranski. [ruby-core:60917] [Bug #9544]
44a9509f2ff2be85b97ade9806857e0948c29a1b 2014-02-23 Fix filename and function name.
abb0286b72224c837a47536cddf082b281558503 2014-02-28 [DOC]
ed6a2d3bf695c8781cd27b86c39c1151b57f36f4 2014-03-01 * ext/readline/readline.c (Init_readline): Use rl_hook_func_t instead of Function to support readline-6.3. (rl_hook_func_t is available since readline-4.2.) Reported by Dmitry Medvinsky. [ruby-core:61141] [Bug #9578]
14ad015896fb58e7ce2ddb9d829789327ca159d7 2014-03-01 * lib/open3.rb (Open3.capture3): Ignore Errno::EPIPE for writing stdin_data. (Open3.capture2): Ditto. (Open3.capture2e): Ditto.
083bf237596abd7b317bc891c5b6d766f299c62e 2014-03-02 A comment added.
3699a6035e5fbdba96dc43c98d3fbd332510882b 2014-03-04 * Makefile.in: ".DEFAULT" target removed because it is not for specifying default target.
f9382d033c03bc2d2d032db87c6bf65e0ab3f4fa 2014-03-24 [DOC]
1aa54bebaf274bc08e72f9ad3854c7ad592c344a 2014-04-07 * ext/socket/socket.c (sock_s_getnameinfo): Save errno for EAI_SYSTEM. Reported by Saravana kumar. [ruby-core:61820] [Bug #9697] Fixed by Heesob Park. [ruby-core:61868]
960c8ab125c3978a1399eb746faa4d65557ef9d7 2014-04-09 * process.c (OBJ2UID1): Defined even if getpwnam_r is not usable. (OBJ2GID1): Defined even if getgrnam_r is not usable. This fixes compilation error on Android.
8a8221e69dea70c1e818f9c1a5afec4dcba02a63 2014-04-09 * gc.c (mark_current_machine_context): Call SET_STACK_END. This reverts a hunk of r40703 by ko1. This fixes [ruby-dev:48098] [Bug #9717].
3f05ee0f42a88ed4d1a77c10807f367af681f933 2014-04-09 Add comment.
f0cbb868e7484534e11c405187811f5cca057615 2014-04-09 * signal.c (check_stack_overflow): Don't use ucontext_t if ucontext.h is not available. Fixes build on Android (x86).
db9d8759eee7d267612d19d0cee8af0e0c6b73c3 2014-04-13 * common.mk: Unused target, $(MKMAIN_CMD), removed.
9aa67e267b9c8d84e49464ea6f83e6f31c38efca 2014-04-13 * bignum.c (SIZEOF_BDIGIT): Renamed from SIZEOF_BDIGITS.
07b12e1ee2a59156d970864af0e3bd82f18e97b5 2014-04-15 * ext/extmk.rb: Re-generate extmk.mk and dummy makefiles only if really required. This fixes a problem to run multiple test-all concurrently as: make test-all & make test-all & make test-all & ...
a6024cdc1bc1ff792fc07a728e8156c71a891d48 2014-04-18 * numeric.c (rb_num2long): Returns a long. (rb_num2ulong): Returns a unsigned long.
95de2b001247b5e8ccd89d5ba7225d42aafec1e5 2014-04-19 * internal.h (struct RBignum): Use size_t for len.
e419c88b0febd37d60a186dc776debb01d5cf6b5 2014-04-22 [DOC]
708e1bd49db643c66deef21d05d92e5ac9e31007 2014-04-23 * ext/etc/extconf.rb: Build ext/etc unconditionally.
869c7ce0d148845d42dd88d9df7925e62aebe7a1 2014-04-24 * lib/tmpdir.rb: Don't need to rescue LoadError for etc.so.
b3cd42ede0d1534079907f298f40ceac5f43ef0d 2014-04-24 * bootstraptest/test_io.rb: Don't use tmpdir because etc.so is not usable from miniruby.
917681a3b7fdaec37da91c06b6c2b21a9c55f4e0 2014-04-24 revert r45709.
a87c3b4869daaadbeeea0b5b067bc9cd19ac4911 2014-04-24 * bootstraptest/test_io.rb: Add etc.so to $" before require 'tmpdir'.
2f60d0851960682ff6b552e6550ed6b0b0809b5a 2014-04-25 * lib/webrick/utils.rb: Don't rescue LoadError for 'etc' extension.
79c09eb597748d179d97926fafbcd5f2db344e32 2014-04-25 * test/ruby/test_process.rb (test_rlimit_nofile): Don't limit RLIMIT_NOFILE too small. This fix sporadic "[ASYNC BUG] thread_timer: select" on GNU/Linux.
3bd10c6ee7a4d05e25610690f52efe4557dd8ed2 2014-04-26 update comment.
17a4a9b99327e44e2ddf22c060a2c6802441f91e 2014-04-29 * lib/fileutils.rb: Don't need to define fu_get_gid and fu_get_gid in rescue LoadError on 'etc'.
07f2563745afca2f7e4fdccba483df4cad0cc9e9 2014-04-29 * (lib/tmpdir.rb): Rescue LoadError on etc.so for miniruby. Revert r45707, r45711, r45717.
1388beb195d249c89357b84da3a6c87a8efcaf71 2014-05-02 [DOC]
4de238663a6e6d6b4f5306bb5f88a9e067c4f4c0 2014-05-03 * lib/time.rb (Time.strptime): Use d[:offset] if d[:seconds] is not given. Reported by tadayoshi funaba. [ruby-core:62322]
0a76ec34eac00a971617d833d2c42ed68f12f911 2014-05-03 add tests.
c4f29a657691a70165b937e43e608565da2eca49 2014-05-03 * lib/time.rb (make_time): Produce fixed-offset time object if appropriate. (Time.strptime): Use d[:zone] instead of d[:offset].
af56a2b6dc790170bc0876d09c0287832a14a5b7 2014-05-03 * lib/time.rb (Time.rfc2822): Fix year completion. Produce fixed-offset time object if appropriate. (Time.xmlschema): Produce fixed-offset time object if appropriate.
7a39fcc19527cf6ac63d7c760c292fab96053244 2014-05-03 * lib/time.rb (Time.make_time): Refactored.
5de24423e69054fee8ebb92250f22453f4d85b4d 2014-05-03 * lib/time.rb (Time.httpdate): Always return a UTC Time object.
ca7c0fee20ac83044c9db471c26e3a78b0275699 2014-05-03 [DOC]
a18177d5ed270ba7007c12011b9693ec226b1ad6 2014-05-04 * lib/time.rb (Time.force_zone!): New private method. (Time.make_time): Use Time.force_zone!. (Time.strptime): Ditto. (Time.rfc2822): Ditto. (Time.xmlschema): Ditto.
fffbcf286762b9f78dec19c59aaa8ce0babb5551 2014-05-04 * lib/time.rb (Time.force_zone!): Use usual local time if it has expected offset from UTC.
0b53b86d470da1933ef85ba0891c397901702fe3 2014-05-04 add comment.
d9087ffebca0e5637246d4b8dce35c65d28f40a1 2014-05-04 update a comment.
c2a87a1fa138936dc8dca1b66fb719eec7f00b3a 2014-05-05 * lib/time.rb (Time.strptime): Raise ArgumentError if Date._strptime doesn't extract date information. Reported by tadayoshi funaba. [ruby-core:62349]
78fa967224346125da161e4e7e7512a912afbd9b 2014-05-05 add a comment.
391fc2eeecfc2f0d0f851b0c27ba02e041fe2cd9 2014-05-05 * ext/pathname/lib/pathname.rb (Pathname#/): Aliased to Pathname#+. Suggested by Alexey Muranov. [ruby-core:61432] [Feature #9625]
edacb3a94ac275a62451f49bb2f70e9c1fc6619b 2014-05-05 * ext/pathname/lib/pathname.rb (cleanpath_aggressive): make all separators File::SEPARATOR from File::ALT_SEPARATOR. Reported by Daniel Rikowski. Fixed by Nobuyoshi Nakada. [Bug #9618]
7a69a3583c2235c0ad3ad0705aa2f08cbe2d76bb 2014-05-05 * process.c (check_exec_redirect): Open the file in write mode for redirect from [:out, :err]. Proposed and implemented by Yusuke Endoh. [ruby-dev:41430] [Feature #3348]
693703c3918d5ea89997acd21ea335f8b98bf980 2014-05-05 [DOC]
17a2f1ecc3b3038af71957a6a8f5e02b2b6bf176 2014-05-05 * ext/socket/mkconstants.rb: Add IP_TRANSPARENT. IP_TRANSPARENT is provieded since glibc-2.12. Reported by Eliezer Croitoru. [ruby-core:50372] [Bug #7476]
0c3d51318538006d2c4393fb96ead184914e5d08 2014-05-05 * lib/open-uri.rb (OpenURI.open_uri): Call StringIO#close only if the StringIO object is not closed yet. Reported by Jordi Massaguer Pla. [ruby-core:42538] [Bug #6010]
252afcd9f1731af234d3f5e7545d41752229c4c4 2014-05-06 * lib/time.rb (Time.parse): [DOC] Fix an example in the documentation. Reported by Marcus Stollsteimer. [ruby-core:60778] [Bug #9521] and [ruby-core:61718] [Bug #9682]
1c3f862f589ceea1bcc24fb4fe177997a274d71c 2014-05-06 [DOC] Use EST for previous documentation fix.
915ef9ed9b6222e2b890641051a21e77de64fb16 2014-05-06 * lib/time.rb (Time.make_time): Argument validation code moved from Time.parse and Time.strptime.
e4b05d91eb0d48fd172abf015c493bb42d755d07 2014-05-06 * lib/time.rb (Time.make_time): Adjust the time zone of "now".
1386a2303f85d6905cf1b45cfe3c4155535a05e2 2014-05-07 refactoring to extract tcp_pair.
2dbae9b1f14d43f774153a7474dba9c6134dc5b4 2014-05-07 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SSLServer#accept): Consider Socket#accept as well as TCPServer#accept. Reported by Sam Stelfox. [ruby-core:62064] [Bug #9750]
b9f770ae8ffe2c5f83b5f411534c6d5c2f687345 2014-05-07 refactored to test Socket and TCPSocket/TCPServer more consistently.
058b5bce60de0ea4b36e5ad8c7ec5faa0d97b001 2014-05-09 [DOC]
08928bb528e2133e733606439765e91a7a5c5e6f 2014-05-09 * signal.c (trap): Return "SYSTEM_DEFAULT" if SIG_DFL is set.
49771dd308505856126c84285a7acbdaf3400aa0 2014-05-11 * pack.c (swaps): Unused macro removed. (swapi): Ditto. (swapl): Ditto. (swapll): Ditto.
dd5d029db026a106a16a307854790c8bec6434ba 2014-05-11 * compile.c (BUFSIZE): Unused macro removed.
543b402f38ffc0be797c37ef05c945fe57541fa3 2014-05-11 * ext/socket/ifaddr.c (IS_IFADDRS): Unused macro removed.
b063dd016cecace0ca844d1471db668f4f1d6586 2014-05-12 * configure.in: Invoke AC_REPLACE_FUNCS for each function.
a03eeb000aae2be2ab798b11734b43cc0d0958ea 2014-05-13 set svn:ignore property.
e56d2c385aac51298b34edf3fe4fddde512aec1b 2014-05-17 * include/ruby/ruby.h: Hide Rational internal. (RRational): Moved to internal.h (RRATIONAL): Ditto. (RRATIONAL_SET_NUM): Moved to rational.c. (RRATIONAL_SET_DEN): Ditto.
e279eca4bdf1e4364308aee2ca504bbdf2b5d221 2014-05-17 Remove empty directory.
ddd155842fb4fd96a028836d926bae7501cbd985 2014-05-18 * enum.c: Enumerable#slice_after implemented.
63fee735002b34d37598d4830ef35073202dda58 2014-05-18 * configure.in: Check nextafter() availability.
63a23dc678361f9d3031141748d0ba6485516a54 2014-05-18 * ext/etc/etc.c: Etc.uname method implemented.
ea1a4f2929ab0cdb85b04c268e5d128f2c0a42c6 2014-05-18 * ext/etc/etc.c: Etc.sysconf, Etc.confstr and IO#pathconf implemented.
4f3432f9cbd2a89ecd2efdbeb0bbb02a86c24ad8 2014-05-18 [DOC]
16169ff9e37d150d1c0d29a5f6fb0f62041e6d62 2014-05-18 * win32/Makefile.sub: Add nextafter.obj to MISSING.
8f2631e0cdbea20f39324bfba663ce00c53f2d00 2014-05-18 * missing/nextafter.c: Include ruby/missing.h.
db1d53450ed85761ee2bea1577e6eaa593d18e5f 2014-05-18 Fix a dependency for etc.o.
778fd514821c0e19e1695eda5688b2898d268382 2014-05-18 * test/ruby/test_m17n_comb.rb (test_str_crypt): Use Etc.confstr to detect the glibc version. libc.so is not an executable on Debian GNU/kFreeBSD 7.0 (wheezy).
741b7c46b8e635f1faf373e0ac78b2f7eb8b7f9f 2014-05-18 Fix a constant reference.
0b373d6bbb6cc00c41a5e74a809394aeb9d24994 2014-05-18 [DOC]
bd4fdb714ff6cf3d42d5a7e6597e83cbe4de65b8 2014-05-18 Use Etc.uname instead of uname command invocation.
8e6faa4f97c2cd73a7b1ea881cc11636c39a05da 2014-05-19 * test/dbm/test_dbm.rb: Use Etc.uname.
2817c2eec4022c75c04939ad16abd9d9fb8a3f43 2014-05-19 ignore constdefs.h.
3aacf8850001fa910edbefd48c7550daa1edcfe5 2014-05-19 * ext/socket/option.c (inspect_tcp_info): New function to inspect struct tcp_info. (sockopt_inspect): Use inspect_tcp_info.
b9a178e56c8ba06f70533fc81dc4081375cb8f9f 2014-05-19 * ext/socket/option.c (inspect_tcp_info): Permit longer data. (glibc 2.7 adds tcpi_rcv_rtt, tcpi_rcv_space and tcpi_total_retrans to struct tcp_info.)
7a1972ab9c729d586d9f3b53326f6fe6fe600703 2014-05-19 * ext/socket/extconf.rb: Don't check fields of struct tcp_info if the structure is not available.
5b629a7b8a344be1683a137f48d062634046f661 2014-05-21 * ext/socket/option.c: Fix complation error on Android. Bionic doesn't define TCP state constants.
35cd72172ca642750a5aaa49e3bfd922bf4293be 2014-05-22 * ext/socket/mkconstants.rb: More TCP option constants. Describe Linux and glibc versions.
b54f42c93f5e684c5df380c8ab1c2348c5eec017 2014-05-23 * ext/socket/mkconstants.rb: More constants
bdf98fc6274b6322d2cdd91d43d8b690e4786d84 2014-05-24 * test/lib/minitest: Remove comments not appropriate now.
e30e8702a3d41f75bc525989a6bf6a7fd95472a5 2014-05-24 * test/lib/minitest/hell.rb: Unused file removed.
36f3ee6dc876377cdef28da601dfe2f4e45e0f39 2014-05-24 * test/lib/minitest/unit.rb (parallelize_me!): Removed. This fixes the line-by-line structure of the test result in verbose mode. [ruby-core:54905]
4edc1c07a4cd9b0fb5c1525e1a4813608284d661 2014-05-24 * test/benchmark/test_benchmark.rb: Use test/unit.
1e2374f1e9f1fba9daea7e4c5b26fdc098f05b74 2014-05-24 * test/lib/minitest/spec.rb: Unused file removed.
e8e6ecdef014d9c48211b06be288e17148cd438b 2014-05-24 test_udp_server don't test IPv6 link-local addresses.
0be4ec01cd5f9d517afd86f1c5f7a9922e6dfae3 2014-05-25 * test/lib/minitest/unit.rb: Show leakes threads and tempfiles.
36c9605a6edbb69c2c8ebaf11a75b48a57934863 2014-05-25 * test/lib/minitest/unit.rb: Sort leaked threads and tempfiles.
504453d929da696aa61cdd78397221e0246d9cbc 2014-05-25 * test/openssl: Join threads.
9e0b0731edc6482f91db32748f0674a6ccd2378f 2014-05-25 * lib/webrick/utils.rb: Override the inspect method of the thread used in WEBrick::Utils::TimeoutHandler.
f414bfc6816b4af0056c3bbd716afea3d8a8eb9f 2014-05-25 * lib/rinda/ring.rb (Rinda::RingServer#shutdown): Join the killed threads.
70c15b19fad88dd1e836b08e53194d04c9945db4 2014-05-25 * test/lib/minitest/unit.rb: Use Thread.list instead of ObjectSpace.each_object(Thread).
540ffb3abdce5916a13cd2918609cf8cbd9a0a03 2014-05-25 * test/lib/minitest/unit.rb: Less ObjectSpace.each_object(Tempfile) invocation.
6f2b1d6e825baaa66646cb53aeb02513812c7c0f 2014-05-25 * test/lib/minitest/unit.rb: Check tempfile leak for each test class.
198964ea2f65c9f5b2e9afe8f5a7c27a03d7671e 2014-05-25 Avoid tempfile leaks using Tempfile.create instead of Tempfile.open.
8559c4c125c6b01549cff9f7ba1eaed9aebf48b2 2014-05-25 * test/lib/minitest/unit.rb (MiniTest::Assertions#diff): Remove tempfiles.
8735e21fbbf609ea5c613f5ba828b1d6191c1c9b 2014-05-25 Remove tempfiles.
b5d3b55bb74a06f706839731c3d808552ba82343 2014-05-25 * test/lib/minitest/unit.rb: Show leaked tempfiles line-by-line.
c8660d896698e31a62ad9c149213e315a70a1035 2014-05-25 Show leaked threads line-by-line.
1902f5fa2565d206ce17c4fc87f190dae20a36d0 2014-05-25 * test/lib/minitest/unit.rb: Show Finished threads line-by-line.
bef7ff9c7468f64382a141cdffdb34b33894f43c 2014-05-26 Use Tempfile.create instead of Tempfile.new.
dbd239a7aafd2c19fad795b5c453c79eefa1ec87 2014-05-27 * test/lib/minitest/unit.rb: Show leaked file descriptors.
1c35277c2bfecaf1128f05d8644b247fbd5ef461 2014-05-27 * io.c (rb_io_autoclose_p): Don't raise on frozen IO.
13a8d735d9de444d08e6cfaf61e5a765d6d7ec7a 2014-05-27 Wrap REXML test classes by REXML module.
3356c312cddcc95af59e648c4ad946ec969d9813 2014-05-27 * test/rexml: Avoid fd leaks.
c968f908e177e0a216dd6d0a45ee72b19a3b26a0 2014-05-27 * lib/cgi/core.rb: Use Tempfile#close(true) instead of Tempfile#unlink to close file descriptors.
569ca78e9719f147fb54a9d337a629181ca0e243 2014-05-27 * lib/net/ftp.rb (transfercmd): Close TCP server socket even if an exception occur.
36276b6f40fe87aec2883a7641a249002a3bb7a9 2014-05-27 Avoid a shadowing warning.
9b612d382de382913d3eab12dac986fc5fc21864 2014-05-27 * test/lib/minitest/unit.rb: Use Tempfile#close! instead of Tempfile#unlink to close file descriptors.
592c6ba3b39d5803ba45f7c69f5ab2086629d653 2014-05-27 * lib/tempfile.rb (Tempfile#inspect): Show "(closed)" if the tempfile is closed.
9e9fcfeef4db34730ceca52a0a250cbd499c6df8 2014-05-27 Use Tempfile#close!.
02afafb42ae4ae98140f2c79c67b948e1e6bc577 2014-05-28 * ext/openssl/ossl_ssl.c (ossl_ssl_close): Fix sync_close to work when SSL is not started. This fix the fd leak by test_https_proxy_authentication in test/net/http/test_https_proxy.rb.
cbd370f669e74ca3e1953da94d4e780b7ddea391 2014-05-28 * lib/net/imap.rb (Net::IMAP#initialize): Close the opened socket when any exception occur. This fixes a fd leak by IMAPTest#test_imaps_post_connection_check which start_tls_session() raises an exception.
58a6412754b4e3acf898b462b15f195b00219db6 2014-05-28 No need to kill a thread.
a7b1cfbb99631ed077133dc858a82bfeaf48959f 2014-05-28 * test/ruby/test_io.rb (test_flush_in_finalizer1): Use ObjectSpace.each_object to close files. GC.start is not reliable.
971df741b97343ac86f850dab7f79e4508411aa9 2014-05-28 Close fds.
eb9f446ebf64dde94f69daa5cdbc2d84ce68eb4d 2014-05-28 * ext/socket/unixsocket.c (rsock_init_unixsock): Open a socket after path length check. This fixes a fd leak by TestSocket_UNIXSocket#test_too_long_path.
4bf480b7d5b45b6ba09d25fd35a3f20cea8cffdb 2014-05-28 Suppress warnings.
68ac33a511929268ff5b0e05601b855a3a031b31 2014-05-29 * ext/openssl/lib/openssl/ssl.rb (SSLServer#accept): Close a socket if any exception occur.
2ad20073074f39f3ee2904a45da310ce4041aa22 2014-05-29 * lib/csv.rb (CSV.open): Close the opened file when an exception occur.
be4d1fd95383bd10054b54b1d32c561d32d4633d 2014-05-29 * io.c (rb_io_s_pipe): Close pipes if io_encoding_set() raises an exception. (io_encoding_set_v): New function.
a1afdfeb06c01a0d16fce52e63ef8383c43754e3 2014-05-29 test/fileutils/test_fileutils.rb: Close fds.
a2f9b00ad4871d3b0992212b89a2ecbe662e17b5 2014-05-29 test/io/nonblock/test_flush.rb: Close fds.
2edc9ea5f8746a02ea55859e286096485200678f 2014-05-29 test/logger/test_logdevice.rb: Close fds.
b519ce9a8a0ae6b74e452a51bec2400a9bf5fcd4 2014-05-29 * test/lib/minitest/unit.rb (capture_subprocess_io): Close fds.
6f39cf2d1e9677e29fefc76bc22b167b1e987624 2014-05-29 test/test_pty.rb: Close fds.
52e91e0f721057d133b2020c10a3abe390fc1732 2014-05-29 * io.c (pipe_open): Close pipes when rb_execarg_fixup() raises an exception. (rb_execarg_fixup_v): New function.
1a956cea38a659e94ba87e59098788829b15aaa1 2014-05-29 test/readline/test_readline.rb: Close fds.
ce0c2b2170f4fd562b1019e325638649def9d924 2014-05-29 test/test_syslog.rb: Close fds.
83ead3c4a7dc2670bad06745eaccbdd0a9397f46 2014-05-29 * ext/-test-/dir: Dir#fileno implemented.
e03e2b95a0545d37ce678253d282952ed6513387 2014-05-30 * test/lib/minitest/unit.rb (check_fd_leak): Try GC to delete leaked FDs.
283e5d5aabd16951d9f5db92683540cacda199a3 2014-05-30 * test/lib/minitest/unit.rb (check_fd_leak): Sort the inspected objects list for a FD.
99e389a6a7e098720188f6f660fb843351ffca39 2014-05-30 svn:ignore property added.
6f226d9d42676860cdabc1e1c85cb9e9202e8ddd 2014-05-30 * lib/webrick/server.rb: Use a pipe to detect server shutdown. shutdown() or close() for listening socket is not a reliable. Actually, both doesn't work (doesn't wake up select()) on DragonFly BSD 3.6.2.
e6da7c5ca9084a26bc1ce1828efe17f9eba4264d 2014-05-30 test/io/console/test_io_console.rb: Close FDs.
5b75a0614f6469785bdf5f548fd3db2dae820ae2 2014-05-30 Join threads, not kill.
ab4c6921cb97be13be874a78a5a0bcc450ca9b84 2014-05-30 Join threads.
9a51bc62f9c3965754ce98ff844f95a55b01d4ad 2014-05-30 Use the block form of Open3.popen3 to close FDs.
bf6c098d041d9c02c5668457abc21f652779b44f 2014-05-30 Close pipes.
60cb6f6eaad2eeafa7a8204b81d6becbb741d152 2014-05-30 Close sockets.
69105a1724d5223025fa35488cb860f90f2cba1d 2014-05-30 Close FDs.
4565cd66ed67978e81352d3b9d6ef5391486a893 2014-05-30 Close FDs.
40ec5528612ad426fac80b8b0ea97009fec7458d 2014-05-30 * test/lib/minitest/unit.rb: Check Tempfile leaks for each test method again.
1c01f22d93ed22a489c98ac56032d0a7108f0ed6 2014-05-31 Join threads.
6c6f9b19b4bc6256b4605b35f25fd9b4b530e0ba 2014-05-31 * test/lib/leakchecker.rb: Leak checker extracted from test/lib/minitest/unit.rb.
f07096f7e19a425a68101dc5fd79bc58e3f42f67 2014-05-31 Join threads.
e555e28eab97b7f086367b13c603cd44957c8776 2014-05-31 Join threads.
06fb82343528ea1e479d10d97946862d8a3dff61 2014-05-31 Join threads.
6f6dd30dbf3a1e77c643bb7e1391ed28e59f4dc7 2014-05-31 Join threads.
28229e4a77be19370f09ace0c03d20f333c15063 2014-05-31 Join threads before close pipes.
f64541d7bd37590207b43868edc6f54811a4906d 2014-06-01 Close FDs.
09ab3a0a9f9fa7d3f091bec988c52b9f8ed62b41 2014-06-01 * lib/rinda/ring.rb (RingFinger#make_socket): Close the socket on exception.
5cd71131b849db00f94c87dc6fcf403731338161 2014-06-01 * test/drb: Wrap tests definitions by DRbTests module. This makes several tests (ACLEntryTest, TestBug4409, etc.) easier to understand that they are tests for DRb.
49d68ba10db31713a60d0049d077e5ddffff4268 2014-06-01 Suppress a warning.
be4b37dfae4fe3f5cdd2c9a14ba2db6d2d98f363 2014-06-01 Finish threads.
fcdec9bfbb453661d8d213bb788a95f2c743965d 2014-06-01 Stop DRb service.
49aac8651024c0f822bd91fde8d7a595f5c013d8 2014-06-01 Suppress warnings.
9b0ea861ab56ec498ee3bc83d2dd5c187f99b06b 2014-06-01 Suppress a warning.
20e6b3a3b865f3c0ff0bd777e81c725e8ebf2fc4 2014-06-01 Use EnvUtil.suppress_warning.
fe38158f9bfe14b7e4b28f5e3e05f371dee429d8 2014-06-01 * test/ruby/envutil.rb (default_warning): New method.
59ae4924b0970ee0b0dde3f92a52fa50e6606f4a 2014-06-02 Join threads.
fc3c52eb37b145ebce2710c2cbf7662fcf0e378f 2014-06-03 + * ruby.c (load_file_internal2): Extracted from load_file_internal. + (load_file_internal): Invoke load_file_internal2 using rb_protect. + Close an opened FD if load_file_internal2 raises an exception.
88fda023aaa08ddb5b69fe4cb7e071ca23f13d26 2014-06-05 Join a thread.
4169440f382eb85b82ea069e0fd3eca1bcb048fb 2014-06-07 * object.c (rb_mod_initialize_clone): Override Kernel#initialize_clone to avoid an exception on Class.new.freeze.clone.to_s. Reported by Andrew Grimm. [ruby-core:41858] [Bug #5828]
bcc2c89eb58a9fa1b356e3326bcb4557308d2921 2014-06-08 Show the epapsed time for failed test as well.
26930379b5a46094933c31f1e87f73294a742215 2014-06-14 Fix a typo.
ba4ac50a2dc6c47e3c223da0478ed38cce45c52d 2014-06-14 Restore date field.
f3f30c736d54613f30fd16749625f6686b3503e1 2014-06-20 Don't erase for verbose mode.
a2f26bfaea29fa21cab01295fc98082234b97da9 2014-06-21 Remove trailing white spaces.
1c58954cece576133e09093e7bdae3630ca4da1c 2014-06-28 Suppress double dots.
8b76d21f5562607ec66cb6033d02af1576d27e57 2014-06-28 * lib/webrick/utils.rb (create_listeners): Close socket objects.
7361eb9462001a24d9d69f1fe8b36657a0a877a5 2014-06-28 inspect IO objects before closed IO object test.
b9faaf6a553eb20d0b3c76c8189ead7a1fb2ab3a 2014-06-28 * ext/pathname/pathname.c (path_birthtime): New method, Pathname#birthtime. Proposed by Kazuhiro NISHIYAMA. [ruby-dev:48232] [Feature #9857]
3436b7bbad325af18f1b5c4e88d6959ebf46f3c4 2014-06-28 Pathname#birthtime added.
05e756f367d4e49e5da40354d6a9f2c1ea10b12c 2014-08-14 Revert r46977. [ruby-core:63857] [Bug #10071]
092c647cb70af77b431f00c83126f93b0364857b 2014-08-26 * time.c (rb_time_unmagnify_to_float): Avoid double rounding. Reported by Tsuyoshi Sawada. https://bugs.ruby-lang.org/issues/10135#note-1
8bd2d31d457d0ecb211a5d331e0de2b0d20dd5ce 2014-08-31 * lib/benchmark.rb: Fix a syntax error.
557802a1daec5fd3d33f42ddb974b0739a081ecb 2014-09-02 * process.c (handle_fork_error): Extracted from retry_fork.
51f41f66181932aa0a42be2a430a04813c0d6abf 2014-09-02 * test/ruby/test_io.rb (test_new_with_block): Set autoclose to avoid EBADF.
a78a9b0d17a98c3571b82f3fa1cf31d250a9dea0 2014-09-02 * process.c (rb_fork_async_signal_safe): Inline rb_fork_internal. (rb_fork_ruby): Ditto. (rb_fork_internal): Removed. (chfunc_protect): Removed.
de884088130a710bd5693d64a6de126ffcbb9fbc 2014-09-02 * process.c (send_child_error): Simplified. (recv_child_error): Ditto.
93621161d6fe71a7e02cd443ce79de20bcc70867 2014-09-02 * process.c (retry_fork_async_signal_safe): Specialized version of retry_fork respect to rb_fork_async_signal_safe. (retry_fork_ruby): Specialized version of retry_fork respect to rb_fork_ruby. (rb_fork_ruby): Removed.
34af76e3180a9f0dea76784a07a9452dbeeb615f 2014-09-02 * process.c (retry_fork_async_signal_safe): Don't return on in child process.
50190956c261986f96025a7a2b4b12cc51507448 2014-09-02 Ruby can delay arbitrarily because Ruby is not a realtime system,
93a7bf4b1789c0424bbcc6827eacae5f85734453 2014-09-02 * configure.in: Use AC_FUNC_FORK.
9b16f906922fcb63a35c41b57bcec91f5791ad66 2014-09-03 * process.c (retry_fork_async_signal_safe): Use vfork() if available.
ed0f2528e86fd993ab740db4d5b34d3c24f73b34 2014-09-03 * process.c (forked_child): Removed.
777d61faf49607ca5c77d36fa2c6318fc5feccbe 2014-09-03 * process.c (before_fork_ruby): Renamed from before_fork. (after_fork_ruby): Renamed from after_fork.
f20d51b0adb640c9351b3025e6dda7843c3342aa 2014-09-04 * process.c (has_privilege): New function. (retry_fork_async_signal_safe): Don't use vfork() for privileged process.
d03315d84a0ac639f80b5c0d499c1c662be66c55 2014-09-04 * configure.in (dirfd): Check function.
f0b12c0461bd6d86f6fa34255f99b760e34dba04 2014-09-04 Describe about vfork().
2cf2d7ee20d614ff9aa1689dcf093fe6ddde6d2b 2014-09-05 * process.c (has_privilege): Fix assignements.
82d85fe441210bf847ef7f5b803a787bb15429d0 2014-09-05 * configure.in: Check sys/id.h, getuidx and getgidx for AIX.
192c39532b012b4bec98f1912c61832d96466963 2014-09-05 * process.c (has_privilege): Refine uid/gid check.
4eed59e667536b77397afdd42823aafa4d8057b2 2014-09-05 * process.c (has_privilege): Fix a return value.
5e42cc30855e7f84fb9269421d7710152eb00557 2014-09-05 * process.c (handle_fork_error): Don't need state_p argument.
01689aa9b16a2d78b21c5d037beeda4eb201d1f6 2014-09-05 * process.c (handle_fork_error): Make try_gc_p argument volatile to suppress "clobbered" warning.
0610a859d979db77aa6b1e3591d13c0d8a8a63c0 2014-09-05 * process.c (disable_child_handler_before_fork): New function. (disable_child_handler_fork_parent): Ditto. (disable_child_handler_fork_child): Ditto. (retry_fork_async_signal_safe): Call above functions to disable signal handlers in child process.
99acd378d82d60d446ef12ccdaa332ef29df3243 2014-09-05 * signal.c (ruby_signal): Don't set SA_SIGINFO for SIG_IGN and SIG_DFL.
2942657a566e8e5cd3b037ffe9cb961252be9fd5 2014-09-05 Unwrap a useless block.
31468275212035ab544997964bd95a7dc48a981d 2014-09-05 * process.c (rb_f_exec): Call before_exec_async_signal_safe and after_exec_async_signal_safe around rb_exec_async_signal_safe. (rb_exec_async_signal_safe): Don't call before_exec_async_signal_safe and after_exec_async_signal_safe. (rb_exec_without_timer_thread): Call before_exec and after_exec. (disable_child_handler_fork_child): Make SIGPIPE handler SIG_DFL.
3de392def964dbacec97d35db7f771669f93f8e5 2014-09-06 * process.c (struct child_handler_disabler_state): Defined.
42becbddc24ed347d67e479cccfabcc3404b24ae 2014-09-06 * process.c (struct child_handler_disabler_state): cancelstate field added. (disable_child_handler_before_fork): Record cancelstate. (disable_child_handler_fork_parent): Restore cancelstate.
11a8187bd16061f097396b0165c32dfc11297a7d 2014-09-06 * process.c (has_privilege): The gid zero is not a privilege.
e6368921eabf3874e8d6caab3d9af423768937d6 2014-09-07 * process.c: PTHREAD_CANCEL_DISABLE is not defined on Android.
341376215b58407d6764240d9b9ebe67a9c82170 2014-09-20 * ext/openssl/lib/openssl/x509.rb (OpenSSL::X509::Name#pretty_print): New method. (OpenSSL::X509::Certificate#pretty_print): Ditto.
cc659d2f1b120fda6b085a7a51ac4115397bf9ef 2014-09-20 * enum.c (enum_slice_when): New method: Enumerable#slice_when. (slicewhen_i): New function. (slicewhen_ii): New function.
1292c5ec58507fb721ba646672b15a9f163bfae9 2014-09-20 * enum.c (enum_chunk): Deprecate the state management. (enum_slice_before): Ditto.
34ac0ea7bfa0544cc26b943218069d35789e88fd 2014-09-21 wait until the thread is stopped.
c7b257717823607877cfdcf45d9e224541682f41 2014-09-21 (test_main_thread_status_at_exit) wait until the thread enter the begin clause.
1ea49760417b17e62a90cce3d736f777cbfd52b7 2014-09-21 * thread_pthread.c (native_set_thread_name): New function to set thread name visible with ps command on GNU/Linux. Ex. ps -o %c -L
6a7d389ed0bae2083b6608072fad34e64b3901d7 2014-09-21 * lib/drb/drb.rb: Support graceful shutdown. (DRbTCPSocket#initialize): Create a pipe for shutdown notification. (DRbTCPSocket#close): Invoke close_shutdown_pipe. (DRbTCPSocket#close_shutdown_pipe): New private method. (DRbTCPSocket#accept): Use accept_or_shutdown. (DRbTCPSocket#accept_or_shutdown): New private method which returns nil on shutdown. (DRbServer#stop_service): Use shutdown instead of Thread#kill. (DRbServer#run): Break infinite loop when main_loop returns nil. (DRbServer#main_loop): @protocol.accept may return nil.
565fef821069ac0ef50359e372eef3ba14ce69be 2014-09-22 * test/ruby/test_time_tz.rb: Fix test error with tzdata-2014g. [ruby-core:65058] [Bug #10245] Reported by Vit Ondruch.
13b74c9cc671be495b438fdb41e2c7a8b075c190 2014-09-22 Fix a typo.
7b25bd8ba247ba7f0c1b3542b89aac220f0564ed 2014-10-02 * ext/etc/etc.c (etc_nprocessors): New method. Accepted by matz at RubyKaigi 2014. [ruby-core:65142] [Feature #10267]
253bd7b103aafa3a21e850a4522dc280d598a844 2014-10-02 Describe Etc.nprocessors.
fe18cd011c516a20dc60654e8559f699f54181e2 2014-10-02 test_advice show OS and filesystem when failed.
9deb5262d899c7ff103c9b235723e947ae2314cb 2014-10-05 update doc.
5a77a4e71b3de4936015a0ffe4c1e92cd40caa68 2014-10-10 Update doc. and warnings.
178bc9a0e797d7c09a74a6edec525bda314cc575 2014-10-12 * test/lib/test/unit.rb: Hide skips by default.
c66506ef24db824b87ca04cec1600d93196f8db5 2014-10-13 * lib/find.rb (Find.find): Call to_path for arguments to obtain strings. [ruby-core:63713] [Bug #10035] Reported by Herwin.
450307e38315f81c10d959054c49d8baed522027 2014-10-13 * enum.c (nmin_run): max(n) and max_by(n) returns an array in descending order. [ruby-core:65452] Suggested by David Grayson.
2f83b32f7123508239da5ed670a45e831d614ac7 2014-10-13 update doc.
5a601ec59173ba8f0be5df6b0db5f86b6f3f6ec5 2014-10-14 * enum.c: min(n) drops elements bigger than the n-th maximum element. (struct nmin_data): New field to record the n-th maximumelement, limit (nmin_filter): Update limit field. (nmin_i): Drop too big eleents.
7643c2b37d84b73250626587a912ecacc0d4d4fe 2014-10-15 Extract assert_segv and split the big regexp.
2386407223a5074a25e1a3827ed2e1be81ec3a40 2014-10-15 * test/ruby/envutil.rb (assert_regexp_list): New assertion method.
e1ba2d418ad6f4e9e63e9db05ff5602e0f379652 2014-10-15 * test/ruby/envutil.rb (assert_pattern_list) Renamed from assert_regexp_list. Show multiline string in multi lines.
7d9e04de496915dd9e4544ee18b1a0026dc79242 2014-10-15 * ext/etc/etc.c (etc_nprocessors_affinity): use sched_getaffinity for getting precious number of available cpus.
ac7190349c5a9d1d87d1d12a84e83ef0708f2531 2014-10-15 Unused variable removed.
e67b307e559a883f1f7bca34c1062ab83f03dd49 2014-10-15 Simplify a regexp.
1451377e750cc775a5cef54419bdfc139f2e6ce0 2014-10-15 Simplify multiline condition.
0621ddc423b498bc1caaac78a06496b8a22bf6fa 2014-10-15 * ext/etc/etc.c (etc_nprocessors_affin): Test CPU_ALLOC availability. CentOS 5 don't have CPU_ALLOC().
f65a15b0cf3ac685fa8b94fb72656485dd222974 2014-10-15 update doc.
53da7250ed09b2c154591870804ab4c98b64b053 2014-10-16 * test/ruby/envutil.rb (assert_pattern_list): Show number of matched patterns and characters.
4c02456b3db04e8cdbe62a7bdaf9c3b49b15d3ef 2014-10-16 Set ASCII-8BIT encoding.
6338a3a4a4c0d8b37a07545421a425027c85f651 2014-10-16 Set an encoding for SEGV message.
0ee11fc6a7605b1a6aeaa8799031447489b2feb3 2014-10-16 * vm_backtrace.c (id2str): Fix a variable name. [ruby-dev:48642] [Bug #10389]
1efb3c31b731e99627bbc0da13dfd3463bb67c67 2014-10-17 * Avoid undefined behaviors found by gcc -fsanitize=undefined. gcc (Debian 4.9.1-16) 4.9.1
0d4185f30e360b078d663acd8f4dfda95fe2aae9 2014-10-17 * Avoid undefined behaviors found by gcc -fsanitize=undefined. gcc (Debian 4.9.1-16) 4.9.1
50650bb338744994c3c927f73fa6cb071e6f676a 2014-10-17 * pack.c (pack_unpack): Add casts for char references for 'b' and 'h'.
108627d911260126ca144d2b4b74f3fda3acfabd 2014-10-17 * pack.c (pack_unpack): Add casts for char references for 'u'. Fix line ending recognition algorithm.
1fe90db5380117580ae41be4f3d01686aaa73697 2014-10-25 * io.c (io_binwrite_string): Test writev() failure.
26d56b7dc87600c560672c582f1785a21e10fa45 2014-10-25 A test renamed.
905b52217cf0b564660ca94b3788fabd686c96f1 2014-11-01 * bignum.c (bary_mul_balance_with_mulfunc): Fix free work area location. [ruby-dev:48723] [Bug #10464] [ruby-core:66044] [Bug #10465] Reported by Kohji Nishihama.
bfd540cd75f7dcdd87b08266008056a0030c31a6 2014-11-01 * test/ruby/envutil.rb (assert_join_threads): New assertion to join multiple threads without exceptions.
a7c425cbf32f70b53caa178f1f16cec168ecb456 2014-11-01 * test/openssl/utils.rb (start_server, server_loop): Use a pipe to stop server instead of shutdown/close a listening socket.
d5802c512eb4508c606a4038d900eb610611fbb2 2014-11-01 * test/openssl/test_ssl_session.rb (test_ctx_client_session_cb): Don't ignore errors of SSL accept. (test_ctx_server_session_cb): Ditto.
f4b417eb43468630cf4591c1768bc0c3b1378bcd 2014-11-01 refine message of assert_join_threads.
3ec72f078c207f53348809d304ba37ba5f915629 2014-11-01 * test/openssl/utils.rb (start_server): Don't close sockets before threads finished.
88c37cdcc3d2947345a043c76524af7f1067e980 2014-11-01 start_server refined.
aa46754bc9b005325754f1b81a279cad906224a2 2014-11-01 comment updated.
a25e9259d5d7e6f17513b0f922af1a93dfdeec71 2014-11-01 ignore_ssl_accept_error option is changed to ignore_listener_error.
e6aac32abfafcbf9e3dd639694d5016bbaf4fd0d 2014-11-01 * test/openssl/test_ssl.rb: Don't ignore errors on listener threads, as much as possible.
5998b9d68f6ff95f1a163d1be0c963132836d1b3 2014-11-03 * test/openssl/utils.rb: The default of :ignore_listener_error is changed to false.
6c41b73decf61254ac9c3bc3fc0e1d0169d5b524 2014-11-04 update doc.
a0e4956dce4dfa1f42f0377400078e98317ef54b 2014-11-05 * lib/webrick/server.rb: Stop lisntner loop properly. [ruby-core:66085] [Bug #10478] Fixed by Charles Nutter.
f4c848e158e469e031aa29a503526345e97cab75 2014-11-05 * test/open-uri/test_open-uri.rb: Don't ignore webrick's log.
600b9132327f6e643e4f7707c982230405a6eb2f 2014-11-06 * test/open-uri/test_open-uri.rb: Check empty webrick log.
8f1b3a799f096750c1ec090b07be3c8afe79bdf3 2014-11-06 * test/test_unicode_normalize.rb: Rename TestNormalize to TestUnicodeNormalize. Define constants under TestUnicodeNormalize.
8222432c9db1432995538a5d355d014c6fd1a0e9 2014-11-08 Use assert_join_threads.
742bbbb01b310440a7672fabddd016226d20bee7 2014-11-08 * test/webrick: Examine log and use assert_join_threads.
179fde39efbe644114326ee862edaa7628d88f4e 2014-11-08 * test/net/http/utils.rb: Don't connect to spawned server before actual test.
f6695a95eabb16e89537b46efec2cba7b71aea2b 2014-11-09 * defs/known_errors.def (EHWPOISON): New errno symbol. It is defined by glibc-2.16.
7044cea301ddf80375bff2bab6021d28392bf94a 2014-11-09 * test/webrick: Refine log tests.
ee0b5fbd53bc320f7278cdc3edf632d0e39d5c31 2014-11-09 Fix previous change.
ee0a9dfb6a97978c0144979f938f60faf0005867 2014-11-09 * defs/known_errors.def: More errors for FreeBSD.
0babd248270c0e108ef593b36d0fd188c966ecbb 2014-11-09 * test/net/http: Examine webrick log.
a4b5982b4c95b0c6779748bf010aa7445714f343 2014-11-09 * test/xmlrpc: Test webrick error log is empty.
b30ff6839db848efafc4b7b61abed0e2708d2627 2014-11-09 * test/xmlrpc: Use assert_join_threads.
5ab3fe5fb5fd5d501665860843b8017a47af1109 2014-11-09 * test/xmlrpc: Refine log test.
070c310e87d04865da1b4f217432e22cfae5e380 2014-11-09 * test/webrick: Store log in an array.
b0132150c60a7e4c1fdb6820afa4cfdc5598f3a6 2014-11-09 * test/webrick: Fix the argument order of assert_equal.
0d07bc203c421e9ebda8ef3ae50230f6b1866a71 2014-11-09 * lib/webrick/httpstatus.rb: require webrick/accesslog for AccessLog.
ad58f04833b6d9f6b0d01c5fc8adc61df6d088cc 2014-11-09 * test/open-uri: Test server log in server thread.
ed50872b301fc9fe58b751cdda472a33aa286750 2014-11-09 * test/webrick/webrick.cgi: Don't use debug mode.
2a9ea113550c8358788dd1a3f163aba963b28d96 2014-11-09 * lib/webrick/server.rb (initialize): Initialize shutdown pipe here to avoid race condition. (cleanup_shutdown_pipe): New private method. (cleanup_listener): Extracted from shutdown method. Call this method from start method to avoid race condition.
e62fe866e562ff267b353150c39b084771c34590 2014-11-10 * lib/webrick/server.rb (shutdown): Use close() on @shutdown_pipe_w to notify readability on the read side of the pipe. write_nonblock() is not usable for pipe on Windows. (cleanup_shutdown_pipe): Rescue IOError for @shutdown_pipe_w.close.
230fb3ceae16ef5ac1ee6e2351fc5c950da5535b 2014-11-10 * lib/webrick/server.rb: Less instance variables.
33bb38a644c62edadec677465b2b08eea4756593 2014-11-10 * lib/webrick/server.rb: Setup shutdown pipe in listen method.
9bf5457481e252ea9afaada4c6d42789dc20c58f 2014-11-10 * test/net/ftp/test_ftp.rb (create_ftp_server): Don't ignore exceptions on server thread. Delete read_timeout method call to fix NoMethodError.
976574413a3168138febc0a7da1f4e0a4be4b038 2014-11-10 * test/net/imap/test_imap.rb: Don't ignore exceptions on server threads.
7bb546a2a1f44182b15285e4e5ef9b766df07f82 2014-11-11 * test/net/http/test_https_proxy.rb: Use assert_join_threads.
1fca7620dc13e981a0c74705495124dfcc65d760 2014-11-11 * test/net/pop/test_pop.rb: Use assert_join_threads.
08bb9482a07765acba998f3a76f7de442e02187d 2014-11-11 * test/resolv/test_dns.rb: Use assert_join_threads.
801c8ab026053547093e4b7d3573ab9d7ff0b5f1 2014-11-11 * test/fileutils/test_fileutils.rb: Use assert_join_threads.
ae831861bed60da0acbbaa3144d15a552f9183bf 2014-11-11 * test/ruby/test_object.rb: Specify an exception class for rescue clause.
1e502d2a10e89a1960f829bcda6410eeb1069156 2014-11-13 * test/openssl/ssl_server.rb: Unused file removed. It is not used since r16111, Ruby 1.9.1.
3864eb828b37315d1e15f147bcfb4ff06566dcf6 2014-11-13 * test/openssl: Don't specify port number.
b19c39f94f5406b91142ae873b9912ee03a5ab31 2014-11-13 * test/monitor/test_monitor.rb: Use assert_join_threads.
fb2008a73a46066481b77f53c62de8630a153efe 2014-11-13 * test/lib/envutil.rb: Moved from test/ruby/.
a73d8cd1033929b9d070e415ad4314b1bb85016b 2014-11-14 * tool/update-deps: Support GNU Make 4.0.
8727eb77be16fa76a2f0a2293b48c0a052e73289 2014-11-15 * tool/update-deps: Extend to fix dependencies.
57682b05e1af3e40361a7d4c2bc7ab1153ded4a5 2014-11-15 * common.mk: Remove comments in Dependency lines. Notified by usa.
dd547e1b22188d23c4b7d3fc260cf71f8de075aa 2014-11-15 Mark auogenerated part.
a895babbff609332d00b81f56beb2191b98eb248 2014-11-15 Modify parts only marked as autogenerated.
7cd76ab0c579ee5400d0d33753369e675b497d36 2014-11-15 * internal.h: Include ruby.h and ruby/encoding.h to be includable without prior inclusion.
6afabcb4aa351effda2d4a2a47f3117552aae6e0 2014-11-15 * common.mk: No need to declare dependencies which will be detected by inference rules.
32dc9e462a8a111c3cbb7964858b45036a30606a 2014-11-15 * common.mk: parse.o depends on parse.y before parse.h.
c2e082742115ca6860d3f55509d86a15db0b9a96 2014-11-15 add an assertion.
2a87fdedb75ebe0db2b470f8f5754d4c876e0291 2014-11-15 * common.mk: Specify dependencies for generated C sources.
f4330f7f6b5ab169837a979ff7fccea0c2a9bc8c 2014-11-16 Revert r48450.
30a5ce7345d314541d2f2013dd3a771c16feee26 2014-11-16 * common.mk (CCAN_LIST_INCLUDES): Unused variable removed. (ENCODING_H_INCLUDES): Ditto. (PROBES_H_INCLUDES): Ditto. (VM_CORE_H_INCLUDES): Ditto.
8463a90871adaf82a31e598943ae3762a5a666aa 2014-11-18 * include/ruby/io.h (FMODE_WSPLIT): Removed. The write() system call is not required to split. It was useful to avoid whole process blocking in Ruby 1.8 but not useful since write() is invoked without GVL. (FMODE_WSPLIT_INITIALIZED): Ditto.
714fd78f6721f0c6df58d2fefae6b016424d317e 2014-11-18 * debug.c (SET_WHEN): Don't declare debug variables here. ruby_initial_gc_stress_ptr is changed int* to VALUE* at r41406.
2b9191e5572f165ea88295094dcbf3f466684902 2014-11-18 * internal.h: Gather declarations in non-header files.
4ac7afa50094d99ed53da95a69d8d50f69cbd108 2014-11-18 * enc/encdb.c: Include internal.h.
196c869024d43e548b0696e180375d8a30b9e09d 2014-11-18 * tool/update-deps: Sort dependencies.
20fe728a2450a230cfb6d04f94a178db619dc6a7 2014-11-18 Dependencies updated.
a494ed4113c3f4fc93078e9b1ecba56e7f7f9006 2014-11-19 Add comments.
fdc41af7742456d31f007715d419a45aad4b8849 2014-11-19 * internal.h (ruby_init_setproctitle): Declare here.
1b2109f629a2503eef4360e050aa52e0d9c8050b 2014-11-20 * tool/update-deps: Insert all dependencies found by compiler.
0dc240e782893bbd4a642df8ac0bb961dcc50be2 2014-11-20 Fix a variable name.
8d7f9b0e380d789ca3c8be16249ed1ee1741502c 2014-11-21 * tool/update-deps (in_makefile): Use FILES_NEED_VPATH and FILES_CONFUSING.
1199bae130bc3e9c7bb3b3138ab3069ac4f580f6 2014-11-21 Forgot to commit.
6ca202fceeda9d4ea56e91f5173ad05ca5bf3590 2014-11-21 Update dependency.
2aaba598d6232c3238a62b528223a1a5653a1c1f 2014-11-21 * tool/update-deps: Refactored.
3ca77ee9f812e90907cd0057adea6d7e4592dbe0 2014-11-22 * tool/make-snapshot: Specify PWD macro for make. PWD environment variable may not exist.
afe02a2f1970202c1b7bf7ea7f4a09e8e05134f4 2014-11-25 Move the description about vfork.
7df1831bae12e3ff1018dd80eb30aec4d7b0a243 2014-11-25 * template/prelude.c.tmpl: Don't expand RbConfig::Config[...]. It is not used now.
a08d6c5bd80ddb96667a213767af5d50c02d3cb3 2014-11-25 * common.mk (prereq): Don't depends on prelude.c and golf_prelude.c. Since they depend on $(PREP) which is miniruby, they are rebuilt after miniruby is built, even if tarball contains them.
5af1a10d7ce4e156e5587a25a0dd2cf88dd52a57 2014-11-25 * tool/make-snapshot: Don't generate enc/trans/newline.c in tarball.
b1028f7a6ce3cdb01f1215e8ccc69b23e39c77f4 2014-11-25 * common.mk: encdb.h and transdb.h depends on $(PREP). So prebuild files for them in tarball are useless.
0eadc632c1c377d52965e67a8ef09a80fa54f341 2014-11-26 * lib/tsort.rb: Returns an enumerator if no block is given. [ruby-core:66270] [Feature #10508] Proposed by Andrey Savchenko.
35748bdc85e7492984f084a8e112ab38a4edf121 2014-11-27 Describe about TSort.each_*
15bfc6ffbfe59ce71ad24d9327b34562b1470bd6 2014-11-27 * time.c (time_s_mkutc): [DOC] Time.utc's 10 arguments form doesn't examine wday, yday, isdst and tz. (time_s_mktime): [DOC] Time.mktime's 10 arguments form doesn't examine wday, yday and tz. Suggested by naruse.
fcb1280e530187d8c08b36a05cd02465f155daed 2014-11-27 * tool/update-deps: List up files built always in the source directory and source files built always in the build directory.
f53119b78ffd2f5fc4cdb4cfa8d8e2b2bb2267c5 2014-11-27 * tool/update-deps: List up files built always in the source directory and source files built always in the build directory.
698f329b552123ac8a098b076f11863be6914e99 2014-11-27 Update dependencies.
1c6f4943b9efdf89acaca1966bad46fd4deec0af 2014-11-27 * common.mk (miniprelude.c): It is not depend on prelude.rb now.
20b93fffdf04ac69b4c68078923d73b2f059256b 2014-11-27 store make output.
693f56bb01ef201bbad211a8a8d52b2ef20cecbf 2014-11-27 Update dependency.
ea44d4d9d5ddb4102818c858cea91977469a3dc9 2014-11-30 * test/ruby/test_process.rb (test_deadlock_by_signal_at_forking): Use assert_separately.
1918ea16c788e6fcca468f4223bb24bb8b358f22 2014-11-30 * test/ruby/test_process.rb (test_deadlock_by_signal_at_forking): Don't raise Interrupt.
80870e14a764bd60aa2919990a90eca3c3e2715d 2014-12-12 [DOC]
fe98c98549009926a64537a3a5772e0df96ad980 2014-12-19 update dependencies.
7317392a38364dcbde3b25c2a55fe93752da9767 2014-12-19 * tool/update-deps: Use $(hdrdir) if possible.
ecedd3b224e07fc6a11be7e896c8d662185308bd 2014-12-19 Update dependencies.
8b5c7d939d3e22b2728ca9f59c3ac3376b88618a 2014-12-20 * lib/tmpdir.rb (Dir.mktmpdir): Accept nil again, as Ruby 2.1. [ruby-core:66943] [Bug #10616] Fixed by Alex Slynko.
fa9f7c25574dff38327a3ba08cd74c76eb303c59 2014-12-20 Add a test for Dir.mktmpdir(nil) [ruby-core:66943] [Bug #10616].
81e9d9799a0911058157404c1976f00598fc7b6a 2014-12-27 * process.c: Unused code removed. It seems waitpid() is universaly available on POSIX platforms.
e36d40f9231d272b5ca9b33d36c85edf647ac934 2014-12-31 * lib/resolv.rb (Resolv::DNS::Name#==): Compare an array of Label:Str objects. Label#Str#== is case-insensitive.
6cf00e15f87236d79eff6092b91bb71a77f2c590 2014-12-31 * lib/resolv.rb (Resolv::DNS::Label::Str#initialize): Set encoding ASCII-8BIT before downcase. case insensivity of DNS labels doesn't apply non-ASCII characters. [RFC 4343]
331b0ac55b1eb6f4b1e48df9cf91e6752cf586ac 2015-01-01 [DOC]
ec7f1f5dc23b331e09340e0431b17eb5307aeddb 2015-01-02 * lib/resolv.rb (Resolv::DNS::Label::Str#==): Check class equality. (Resolv::DNS::Name#initialize): Normalize labels as Resolv::DNS::Label::Str objects.
d4959439abf1aec694ca5ad836e451892919af4a 2015-01-02 * eval.c (ruby_init): Print ruby_setup() error only in debug mode. Unsupressable error message is not a good idea. Note that the message is printed sometimes with following code (highly timing dependent, though): pid = spawn("ruby -e ''"); Process.kill(:TERM, pid)
ce80a49f38ce90951bbecf225103aa2291287921 2015-01-03 Refine help message.
9bbe6b9d0ce6f3228b082aba3f70cdefd3415a22 2015-01-06 * time.c (timelocalw): Set tm_isdst field -1 if vtm->isdst is VTM_ISDST_INITVAL. This bug is introduced at packing struct vtm (r45155). [ruby-core:67345] [Bug #10698] Reported by Boris Ruf.
d50a8dd0bdf2e1638acb65255e312bb023b322ed 2015-01-06 Refine an assertion message.
1ade9cad02a366a5f54a410a9f6337c92839d36e 2015-01-07 * lib/open3.rb: Open3 properly passes non-keyword hash args to spawn. Fixed by Josh Cheek. [Fix GH-808] Related to [ruby-core:67347] [Bug #10699]
45913acc68b8830e622031f0f5730fcb020bc765 2015-01-08 Add a test.
04196d1f8cf1a3e8095a8cd4d7f1e6dbaa323203 2015-01-10 Use bit_length.
57b87a00f8027d230d845e0dbd08432d9aa1aae6 2015-01-11 [DOC]
255955585c922ec5e303df184057b7781fcee345 2015-01-15 * io.c (rb_io_close_m): Don't raise when the IO object is closed. [ruby-core:67444] [Feature #10718]
10fe26fe29681e1b33ee9881efab8e21a7b4fc4d 2015-01-15 Describe IO#close.
cb03af1ab756bf898df594ab9f8a43c4be35cb97 2015-01-21 * NEWS: References to tickets added. [ruby-core:67701] [Bug #10760] Suggested by Zachary Scott.
c7ba10cc1367b1a756053983b8837ec39c851982 2015-01-21 #10714 is a feature.
9ee9812dad9c59c0638d52325546e01a40904d10 2015-03-01 * lib/time.rb (strptime): Support %s.%N. [ruby-core:68301] [Bug #10904] Patch by Sadayuki Furuhashi.
a12a453152dc551a5e4c92038b19594815cbc7d1 2015-03-01 add tests for strptime("%s.%N").
b6d5ce7975667cc32d7d86a992d5206627e5ff73 2015-03-08 * ext/zlib/zlib.c (rb_gzfile_close): Don't raise on double close for consistent to IO#close.
ab0a64e1c87d8fd9d0a6ee8bb6bc084d0a6f482b 2015-03-10 * lib/webrick/server.rb: Invoke setup_shutdown_pipe in start method instead of listen method. [ruby-core:68476] [Bug #10956] Reported by Shintaro Kojima.
31eb1938832eb3a3a69c7246db151c96b589b877 2015-03-12 * test/lib/leakchecker.rb: Check environment variables.
5fdf36734886d933315b837173314f465ba25f46 2015-03-13 * test/readline/test_readline.rb: Restore environment variables: COLUMNS LINES
774f682952d247297568e905588f26f1849f589b 2015-04-06 * enum.c: Enumerable#chunk and Enumerable#slice_before no longer takes the initial_state argument. [Feature #10958]
00478a98ac8161d9ff663a7770b5ee4ddf6495ac 2015-04-09 * process.c (fd_clear_cloexec): Extracted from run_exec_dup2.
99605583379b28502ba375bdfcd995ed19fc6754 2015-04-09 * internal.h (rb_execarg_parent_start): Renamed from rb_execarg_fixup.
f6b1dd28c9b765c361e228276bbd2e4fcd13687b 2015-04-09 * internal.h (rb_execarg_parent_end): Declared.
3bf92fb10d9018937bea7a1ca9a471a9f070ffba 2015-04-09 * process.c (redirect_open): Removed.
6cf4e97b3ede0d34511e2a7b70ca611a526dc554 2015-04-09 move debug functions.
ce28a7539d28fb9c2fa77b0df51c4d35165442ce 2015-04-09 * process.c: Release GVL when opening a file in spawn() to avoid whole process blocking when opening a named pipe. (open_func): New function. (rb_execarg_parent_start1): Extracted from rb_execarg_parent_start and use rb_thread_call_without_gvl2 to release GVL when opening a file. (rb_execarg_parent_start): Invoke rb_execarg_parent_start1 via rb_protect and invoke rb_execarg_parent_end when error.
79f940cda1d2cd538198d2b1ee54c09e02d107c6 2015-04-09 * test/ruby/test_process.rb: Use mkfifo command instead of mknod command to create a named file. mkfifo commandis defined by POSIX.
1eff125f8a16a3bce34fbd864834f1d373d17bca 2015-04-10 Fix a typo.
ff381ca19bde87981e2c53cab618ae1e771869bf 2015-04-10 * process.c (rb_execarg_parent_start1): Handle EINTR.
dec741512647226d7bf3dee328d91c5fd87f10f9 2015-04-10 * test/ruby/test_file_exhaustive.rb: Test named pipe.
deab71578bb6f92a2e3cc24ef166fac2484d4f05 2015-04-10 * test/ruby/test_file_exhaustive.rb: Test anonymous pipe.
0ad3abe1f10d5e8134c1956d84c432e2b0fc3304 2015-04-10 * test/ruby/test_file_exhaustive.rb: Test socket.
6f636adad0b0e8c8aabf9739673df7c48b446099 2015-04-10 Use shorter filenames to avoid sockaddr_un size limitation.
b75b040e045cb77794b04e471ce1f685901662dc 2015-04-10 Use more shorter filenames to avoid sockaddr_un size limitation.
7156deb522b3244926a3e60cfdd9700c39d38162 2015-04-11 * test/ruby/test_file_exhaustive.rb: Test character device using /dev/null.
29de8ed4992912573402be0bf52b9d84ec3bc1fd 2015-04-11 * test/ruby/test_file_exhaustive.rb: Create sample files lazily.
aed411d561d41c9687453210c20c4f57815534ac 2015-04-11 reorder invocations in test_stat_init.
7ca24e0b1befbc8090d0ac145cc7d9c7625a500f 2015-04-11 refactored to make code consistent around sleep.
3d2468240d7b90a83db0429c4d5ef384dffd6347 2015-04-11 simplified.
8e7b572d97f0a19a8467f3a299d72c49ba51a293 2015-04-11 Delay signal bit more.
28ca0b0f20f877b1f00d246cb8d6d4d2fcf259b3 2015-04-11 * file.c (rb_f_test): Consider nsec for "=", "<" and ">" for "test"
d51b836fddad3387e1ecd6441091466d9b2bb94a 2015-04-11 * test/ruby/test_file_exhaustive.rb: Test suid, sgid and sticky file.
a96034cf101fd8623a854662a93e77a2ccbd6b0b 2015-04-12 * ext/-test-/file/fs.c: OpenBSD needs sys/param.h before sys/mount.h.
606274b55d831f9b99ca35e1cd870c400079cc90 2015-04-12 * ext/fiddle/depend: Fix "Wrong mix of special targets" error with OpenBSD make.
77ea0461c9cf437a3527c12086d02c3febf52bd3 2015-04-12 * test/ruby/test_file_exhaustive.rb: Test a file not owned.
2722cb9ce1170751e705103fb05a81a7a9e96e64 2015-04-12 * test/ruby/test_file_exhaustive.rb: Test a block device on GNU/Linux.
525d2102fcc625435598729e8c972c147eefd24f 2015-04-12 Consider more block devices.
2eb3c2c52850690a3fd2bc2267f8eafdab62c950 2015-04-12 * test/ruby/test_io.rb: New test that open(fifo) doesn't block other threads.
2abf47bff9a9780f8640a7d89caef9915cbe6bd0 2015-04-12 Test fifo without sleep.
3024fc235af08b8637e115692ab595592338a6fa 2015-04-13 * test/lib/envutil.rb (File.mkfifo): Defined using mkfifo command.
9bf416badf723ef6f3e18763b5f5864cd8b367f7 2015-04-13 Fix.
2f9b7898f6fa4716d61eb8bff03cc645749e9838 2015-06-03 * configure.in: Don't check __int128.
899d49bd2980c1fae55818cf983449c71a800949 2015-06-03 * ext/rbconfig/sizeof/extconf.rb: Check C99 standard integer types.
07736e3d7d4cf4c4411e5a238aa49f42237ed8db 2015-06-14 Add ticket numbers.
11aa7c9604055b252c5d84c6b8cb5e95be7bfafa 2015-06-14 * enum.c (enum_chunk_while): New method Enumerable#chunk_while. [ruby-core:67738] [Feature #10769] proposed by Tsuyoshi Sawada.
2f8d3280e0bbbf6d964d84ab4ae9456a1e8e8eb0 2015-06-14 * ext/socket/raddrinfo.c (parse_numeric_port): Detect port overflow. (numeric_getaddrinfo): Use parse_numeric_port. numeric_getaddrinfo fails if port is too big now. This makes rb_getaddrinfo invokes the real getaddrinfo() on such condition. This change is related to [ruby-core:69355] [Bug #11179].
9bcff8dbe9cbe1054e2d8dac0c24cc87548207f8 2015-06-14 [DOC]
3093ffab83bdac5c4fcb61716d6eb13b2fcab0a5 2015-06-14 * time.c (time_getlocaltime): [DOC] Add examples of valid utc_offset formats. [ruby-core:68306] [Misc #10905] Patch by Charles Korn.
35808bbf4bdc3344b849deba2f5d704a5c5070b5 2015-06-14 show pathname of failed file.
8bb581f8dd4eeb0e3e784488f3c8d102df9327c3 2015-06-14 * ext/pathname/lib/pathname.rb (descend): Blockless form supported. (ascend): Ditto. [ruby-core:68820] [Feature #11052] Patch by Piotr Szotkowski.
96593ece29ad71f0b3545df730f566199a8ec4a0 2015-06-16 * ext/rbconfig/sizeof/extconf.rb: Check several types defined in C99 and x86_64 ABI.
07a296cead4db6c8c7d47009f2443b148fa67634 2015-06-17 * ext/rbconfig/sizeof/extconf.rb: Check __float80.
11dde7770d8c9dcbe902e9176c2d2b09f00771d3 2015-08-11 * numeric.c (Init_Numeric): Fix document for Float::MIN and Float::EPSILON.
c748ac9893166e084f94a958aa558f7fc167933b 2015-09-19 * test/lib/envutil.rb: mkfifo command based File.mkfifo method definition removed.
7ab70c3548d26dd7806be86d326fb99a3e7ceef7 2015-10-04 * ext/pathname/lib/pathname.rb: freeze string literals for reduced object allocation. patch by schneems.
ca7c9e31e9c0a5e6aac188fc6bce2f3b6977a894 2015-10-04 add ref. [Feature #11375] [ruby-core:70043]
ddb3fbc63d7d34e43a5e53f1ddb9cafb4e3a7c0b 2015-10-04 * enum.c (nmin_filter): Fix limit value. patch by Helder Pereira. [Bug #11471] [ruby-core:70477]
8595d3099a580448288345ebcf0b10fc37d8dd75 2015-10-04 add a comment.
12c367ca505f3aa829dba6770dc575b5432d3caa 2015-10-05 specify frozen_string_literal: true.
805c20a8e59315f15dbb22ac1518de6a27385039 2015-10-05 * lib/pp.rb: Use frozen_string_literal: true.
36ca18b84715dcc92a82ec4cbef6e83321640443 2015-10-05 Put an line before "frozen_string_literal: true" for emacs.
83da44790b0a4099d7ea54bdeee84e605f940cd1 2015-10-06 * lib/tmpdir.rb (Dir.tmpdir): return duplicated string to be modify safely even when $SAFE > 0.
e794fa5cb5b2a2ebffa4a535da4d951f6a4b559a 2015-10-13 * ext/socket/raddrinfo.c (rsock_fd_family): Check sa_len.
3d61b259ffcfb0dcc1e3b1b540b1cd18842bdff8 2015-10-18 * lib/securerandom.rb: Specify frozen_string_literal: true.
89db37cf775340eddc8d3821eb8236b2d8216f0d 2015-10-18 * lib/open-uri.rb: Specify frozen_string_literal: true.
60055f8dfde7251330d345c64f0963a2e11cd9d3 2015-11-09 * lib/resolv.rb (Resolv::DNS::Message::MessageEncoder#put_labels): Prevent overflow of pointer to labels. Patch by Hannes Georg. [ruby-core:71248] [Bug #11632]
13a31356d87b5603b0081d3034acdf422aeefba7 2015-11-09 add a test.
84694f3d9ba586b5087355f452bdeebaf7a8a77b 2015-11-09 add message for assert_equal.
68ebbbfebe5b666cf76ab41f1e6191a172d62690 2015-11-10 * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true".
66ef9b9310f5ce7fa58e44185160d56ceebd410f 2015-11-12 add a test.
8b129406c606800888610403f1afb57baeb515e2 2015-11-12 Module#<=> is not suitable for Comparable.
1ec544695fa02d714180ef9c34e755027b6a2103 2015-11-14 * lib/open3.rb: Specify frozen_string_literal: true.
fb7ccd690e956b6eda1a7edf4950732ab1706dff 2015-11-14 * lib/time.rb: Specify frozen_string_literal: true.
2f7ac37beb83cf844882658c16e7f2352a6add92 2015-11-14 * lib/resolv-replace.rb: Specify frozen_string_literal: true.
4c0158ac597bcaeb44ceb8e7ad0ea3b7ac4bcc62 2015-11-14 * lib/tsort.rb: Specify frozen_string_literal: true.
af4c1ac8af71ab33390c19ca733786fde78ca5c9 2015-11-14 test/test_tsort.rb: Specify frozen_string_literal: true.
fb2a6ecf9e12b13d535977637abfb2ba84182b6a 2015-11-14 * lib/time.rb: Use "<<" to reduce string allocation.
373e87a74db2fd71e870376b743eaad4ed74d42a 2015-11-14 * ext/socket/lib/socket.rb: Specify frozen_string_literal: true.
f4fbc7d2a6691a7f789a8a644705039d9bbd0ffe 2015-11-16 [DOC]
1f2b9a46a11cb4ed040ee48fecdb9cdeea3fdc59 2015-11-18 add tests.
1ca597236fda4c8c237f84956c77bb95f2b05df5 2015-11-18 * test/socket/test_socket.rb (test_udp_recvmsg_truncation): rflags is nil on Solaris 10 which have no HAVE_STRUCT_MSGHDR_MSG_CONTROL. Reported by Naohisa Goto. [ruby-core:71557] [Bug #11709]
33b832979b2d01a865a25c9faefe6a3cee6e5dc2 2015-11-19 * ext/socket/ancdata.c: Check buffer full and ignore MSG_TRUNC flag. buffer fullness is more robust to detect the message is too big for the buffer. AIX 7.1 recvmsg doesn't set MSG_TRUNC for rflags when MSG_PEEK is given.
f061d403264013440070df52bba46588f2897148 2016-02-13 * hash.c (rb_hash_invert): [DOC] more examples.
169b867fbf039ccb7f990449b898b2f9870a5269 2016-02-24 * random.c (limited_rand): Add a specialized path for the limit fits in 32 bit.
db271576bbab2269f4269c16d0da9bf67dfe917f 2016-03-11 * test/lib/test/unit.rb: describe !/REGEXP/ in the help message.
95d2ec93bc5d032dc6695d32d37f963a9617eeaf 2016-03-15 * enum.c (enum_inject): Implement the specialized code for self is an array and a symbol operator is given.
43e20c6a9afca385601e694b4ae55dbc05e87509 2016-03-15 * enum.c (enum_inject): Implement the specialied code for :+ operator for Fixnums.
32674b167bddc0d737c38f84722986b0f228b44b 2016-03-15 * enum.c (enum_inject): Consider redefinition of Fixnum#+. [ruby-dev:49510] [Bug#12178] Reported by usa.
fa153d74359bfef231aa97d3f164211990f19eee 2016-03-17 * enum.c (enum_inject): Implement the specialized code for sum of integers including Bignums.
85473c481e3d07cf9856b1c73d7c8df1f0062bd8 2016-03-17 * enum.c (ary_inject_op): Extracted from enum_inject.
087a393fa56c4dcf247588d2fb018c4bd46003cb 2016-03-17 * enum.c (ary_inject_op): Implement the specialized code for sum of float numbers.
9d8ef4ea20ff30fb6f41d1f24280949dd68f11d2 2016-04-11 Update dependencies.
b359d20352163558d4e7550714844f24b568297e 2016-04-13 * array.c (rb_ary_sum): Array#sum is implemented. Kahan's compensated summation algorithm for precise sum of float numbers is moved from ary_inject_op in enum.c.
30d7fb3791b83ed76651aef5edd12832c504afbb 2016-04-13 add a space in [ruby-core:74569] [Feature #12217]
8574a372a03c418aa3dbfd9cd20acd252d3b3cbc 2016-04-13 Array#sum described.
350a74005804b2e99302d1647bb9255cfc06ab62 2016-04-14 [DOC]
76426c7ea573785b8c7d3a0b4cfd15d2555741e4 2016-04-14 * array.c (rb_ary_sum): Support the optional argument, init, and block.
df941c91b10d4a77631ecc85c51dc527642684b7 2016-04-14 [DOC]
c0e3b20e99c349b1b0b0258c1101e75936ce8673 2016-04-14 add an assertion.
32959b0b5cbed4a6628f50cd65d4196a66d8cdb6 2016-04-14 add assertions.
4873e62103a6f72b6cc7031680a80fec59122607 2016-04-15 mention Array#sum with third-party gems.
72305d2531437e5303ac4d1c8756e81d35869149 2016-04-15 * array.c (rb_ary_sum): Fix SEGV by [1/2r, 1].sum.
b59a158a1870000ef1db5acd52afa1b40e2c4fe6 2016-04-15 * array.c (rb_ary_sum): Don't yield same element twice. Found by nagachika.
ef6af0c9670a2b7ad14696990c82572cf41ca9aa 2016-04-22 [DOC] Arrah#sum with non-numeric objects.
c5c60ded6dbb6256640b0308a45c42da8c7fe071 2016-04-22 * test/ruby/test_time_tz.rb: Tests depends on Europe/Moscow removed to avoid test failures due to the tzdata change. https://github.com/eggert/tz/commit/8ee11a301cf173afb0c76e0315b9f9ec8ebb9d95 Found by naruse.
9368d7515b9886267ebe7602218e4ac2ea494074 2016-04-26 * numeric.c (int_abs): Integer#{abs,magnitude} moved from Fixnum and Bignum.
bcc17969832e8f40200231f1a925c8f2318aa706 2016-04-26 {Fixnum,Bignum}#bit_length is unified into Integer.
05bd6f83690ccd9cec4728cd23a4a66c995abcc2 2016-04-26 forgot to remove Bignum#bit_length.
8f045eddb2dcd171b98a4dd6b018441acf4b1048 2016-04-26 {Fixnum,Bignum}#size is unified into Integer.
69fbb21c12336810b0864f213c6a401c75967c3f 2016-04-26 {Fixnum,Bignum}#>> is unified into Integer.
06ca50338b15d2931c0fa04faa718d00e71092f7 2016-04-26 {Fixnum,Bignum}#<< is unified into Integer.
68c661b8e5345cb7643e88febd9ca0dc17726175 2016-04-26 [DOC] update Integer#<< doc.
d5a7299bca633621789db8ff76665d0caee80918 2016-04-27 {Fixnum,Bignum}#[] is unified into Integer.
02107a91c8b652a6572402f92c20bee10c30a81e 2016-04-27 [DOC] move rdoc comments.
c71e02bd07b1ae7211ee2cafad39e9b13f9d33d3 2016-04-27 [Doc] Add Document-method: directives.
f949a95dab55dc6bf0a0f98aecbbda699cb30397 2016-04-27 {Fixnum,Bignum}#^ is unified into Integer.
44af023d44decaa58225304176898663734af07b 2016-04-30 {Fixnum,Bignum}#| is unified into Integer.
b296cacb123cd0bbf9ca1efae66f1fcb7c1caae0 2016-04-30 {Fixnum,Bignum}#& is unified into Integer.
10fb4e151d4b053c1adf2363b278ec37a49497da 2016-04-30 {Fixnum,Bignum}#~ is unified into Integer.
d73b431e5068f2b5a2c696dca6d84a8c394602b1 2016-04-30 Rename fix_rev and rb_big_neg to fix_comp and rb_big_comp.
8a2df1ce3f143b49d43b3899692c6ed559b6d53c 2016-04-30 {Fixnum,Bignum}#** is unified into Integer.
27f9556de9593483f713f622054e8fd648737438 2016-04-30 {Fixnum,Bignum}#fdiv is unified into Integer.
bda463c134c28da140426f9795c694a5bd17de2e 2016-04-30 move Fixnum#/ document position.
1b1a1ed6c8faeb41d4299dbbdd477713ab19e8b2 2016-04-30 {Fixnum,Bignum}#divmod is unified into Integer.
728333dcd329a7dd5c423a2a2b564dc01312c9e0 2016-04-30 {Fixnum,Bignum}#modulo is unified into Integer.
73dd745cf1c742d62d8662ef69ec13ec7c30924f 2016-04-30 {Fixnum,Bignum}#div is unified into Integer.
ae225a2ca84ea84da0c7c15ad07b9e89fbbb9392 2016-04-30 {Fixnum,Bignum}#-@ is unified into Integer.
635cff451ff4405ee8ad5c97d9b5b6a04435e0da 2016-04-30 Define Integer#remainder instead of Bignum#remainder.
11678caa3454ee944e3c8034d9b3f882e2b9b42f 2016-04-30 Define Integer#-@ instead of Fixnum#-@.
d13774e23f75fe86d57a0bb06a569ec75e5dff06 2016-04-30 Define Integer#GMP_VERSION.
d00bca92a93fbb2a0a0e8be6f4d466d9062a2190 2016-04-30 Define Integer#<= instead of Bignum#<=.
6b16db9c800ab1f48ca581b1b347e335dad82fc7 2016-04-30 Define Integer#< instead of Bignum#<.
289c3f40a1023889a0fe69c43487ca1762e209c6 2016-04-30 Define Integer#>= instead of Bignum#>=.
70279a5700fc0498a1ef168f018c8231e105a112 2016-04-30 Define Integer#> instead of Bignum#>.
25f2c8506639cdeb7be55879b7e9aa432b8be265 2016-04-30 Define Integer#== instead of Bignum#==.
e27a06f4bbf0723cd19a943c41dff3125ed0a69d 2016-04-30 Define Integer#% instead of Bignum#%.
a9f3a1cda13c78e893f841fc08b21a17afe64b16 2016-04-30 Define Integer#* instead of Bignum#*.
11ca96d3a34bead0e4bbdddd2f9618c1869e85ad 2016-04-30 Define Integer#- instead of Bignum#-.
d0e2d150b8bc9d18d2beff1752086237a627b509 2016-04-30 Define Integer#+ instead of Bignum#+.
8248c26e6dfb2d80c03c65ca51bca62992e5c959 2016-04-30 Define Integer#/ instead of Bignum#/.
6b6fa21031f91757ff9091788a77a3faa29d4a90 2016-04-30 Gather Fixnum method definitions.
c19c8ef4aedadd52b9354188f36aa590ec319200 2016-04-30 [DOC]
aa2395b8878be3273aa863cdcf27f119e8133b2a 2016-04-30 fix a typo.
396d835d098e39efec080a22d4b5102c5084819f 2016-05-01 [DOC] merge documents for {Integer,Fixnum}#succ.
9ac296698a7ac34da43a0dd32d385d05e16f8a94 2016-05-01 Fix a test message.
05655519308b22f55702feea8d6093c4950ecc6f 2016-05-01 update comments.
de2f7416d2deb4166d78638a41037cb550d64484 2016-05-01 envutil.rb defines Integer::{FIXNUM_MIN,FIXNUM_MAX}.
0963d96e527d80ddff877e4520fe76c35cdee439 2016-05-01 Add a cast to avoid signed integer overflow.
5ea4824508ee9334718b5e33091f96e0353e12bb 2016-05-01 test/lib/test/unit/assertions.rb defines assert_fixnum and assert_bignum.
76be3f22c7f0cc7e16721b98e187e65ab9b12640 2016-05-01 test_name use Integer instead of Fixnum.
af97057c4d0f894c7cbef53f8e812898e6f407f0 2016-05-01 * test/ruby/test_numeric.rb (test_step): Use Integer::FIXNUM_MAX.
f1183cb910348685a1f9030fbda061d88950dfd2 2016-05-01 complex.c don't refer rb_cFixnum and rb_cBignum.
74b314e41ff5d23a9afbde57e358544330cb0945 2016-05-02 * test/ruby/test_refinement.rb (test_inspect): Use Integer instead of Fixnum.
f9727c12cc8fbc5f752f5983be1f14bb976e5a13 2016-05-17 [Feature #12005] Unify Fixnum and Bignum into Integer
1afbc71ac2176d2179630a4d3f8b1de8710330e1 2016-05-17 forgot to commit.
449fbfd4d4ce47be227804c22214fed32a5b0124 2016-05-17 Use Integer instead of Fixnum and Bignum.
3c7f671a5575530c77fe768415112ee637afab8c 2016-05-17 Describe Fixnum and Bignum integration in NEWS.
341b34d7339c267c51448d35d9e8f47413fbcc53 2016-05-17 add issue number for Array#sum incompatitbility description.
76e8beb6e153b4da1e953d45d2767b1b4c08d478 2016-06-20 update description about rb_cFixnum and rb_cBignum.
90985c411919bbc4ca197d400fb3e47f9195a389 2016-07-11 describe RUBY_INTEGER_UNIFICATION.
393ecc9f10016828a3713438ae216dc39b965364 2016-09-07 lib/open-uri.rb: Allow http to https redirection.
577de1e93dac9adf321602517c5ab80884911566 2016-09-08 replace fixnum by integer in documents.
45d62ec988a3d3937c7a18c5dfc7fc5449347438 2016-09-20 describe "0.class == Integer" to detect the feature.
19b38f83df6277124b73b6af2c68b83dfcd19b41 2016-10-11 Ruby 2.4.0 will not have rb_cFixnum and rb_cBignum is removed.
ea8990d8670f71d6b1fa3d55086c9f147348452c 2016-10-11 pp prints a multiple lines string prettier.
1ab0740838a5ff69ca6762817c9167cd1be741a5 2016-10-11 Add an optional argument, env, to URI.find_proxy.
a44f5878f212dba8a37c27a90be9aba9d0aec62a 2016-10-11 forgot to replace two occurences of ENV.
2db9a0db991bff28ea55fa04a291ff5db02a7b72 2016-10-11 Test URI.find_proxy using env argument.
e694894dbd3995a55b438aebc24c16caf2007a0f 2016-10-25 [DOC] add description of j and J for unpack.
58206933b48402709cf1a667b663e6285fa24d2d 2016-10-25 [DOC] table format refined.
8afd5857f0608b5c1e01b1fd4959b06db4e49c53 2016-11-05 [DOC] add explanation for Array#sum
9373c5efb993dd8cae0526118805449b19af2c22 2016-11-05 Pathname#empty? implemented.
365c3215855ae2f4412a8e198d7d4facd27a7d67 2016-11-05 extract_resources uses each_resource instead of each_answer.
5fa7cdbde54bed9bda3f9de20d621989a19ddc3b 2016-11-05 Time.parse's "now" argument as nil works again.
a03411b63ef86badb8fe03d14e6443420131717b 2016-11-05 fix vtm_add_offset yday on last day of year.
7d27c0a2d83f391943e0eb03c676c028b95925a1 2016-11-05 fix Resolv::LOC::Coord.create.
7c7444bcd3f40d0594aa24875f66519b6c53fccf 2016-11-05 Enumerator::Lazy#chunk_while defined.
19e6276125c9d0c98a1defec7254a0ded801f2a7 2016-11-11 Enable the document for Kernel[#.]pp.
7a4fe57adb1cfd7c92fdcdc6991f82836c0b67fb 2016-12-21 [DOC] itemize values for half option of Float#round.
cd5f5715d703b75d520f9624e33b100fecb078e2 2017-02-09 [DOC] Update an obsolete example for slice_before.
dbd4c4a7b373061d235857f7f34e15859a7f1051 2017-02-22 refine warning message for binary regexp /.../n.
d8cee4ff0a851037e96fe76d951a1549284c875a 2017-03-02 refine a warning message.
2f3ff53f86eb5e9477991e385e3362cfe9a2dd36 2017-03-02 [DOC] update doc.
70ae0d2a4216a611467746d82eb857337c566f6e 2017-04-04 Refactored using Method#owner.
a2831955b26a07241c8c45ab2affdbafd4a36db2 2017-10-21 lib/open-uri.rb: accept :encoding option as well as encoding in mode string.
ae2578f6bc3f62bc4bc768be602067bd536fd3fe 2017-10-21 [DOC] describe methods used for src and dst argument.
3d9453994c965abff8851d008a01b40153ffee77 2017-10-21 lib/open3.rb: accept IO-like object for :stdin_data argument.
cea5f5aaee52ef756a6f7c200b0b37f9c63c01c0 2017-10-21 Pathname#glob method implemented.
4ad1ac75e49ae6809ca32e0ebda75f32c8a8eda2 2017-10-21 declare variables once for each line in pathname.c.
2432796e1b2f5d90a1db6fb071f508439049b4f4 2017-10-21 RbConfig::LIMITS is provided by rbconfig/sizeof.
6fba455acbac14d1e5f0e789b8a74101fe060514 2017-10-21 add example for Socket.gethostbyaddr.
b5c6fc856100b17b6f20e6e792a02ee7e33306bc 2017-10-21 Deprecation document for gethostbyname,gethostbyaddr.
d88a0f13c2da49b4de8e6f0398f6c1b994c69800 2017-10-21 Describe recommended-methods.
b867882a1c2a358bb7a46f84365c86a959d35240 2017-10-21 SecureRandom.alphanumeric implemented.
6cba29b4220cc0277f209af9d172f4ec1ddb5f0e 2017-10-21 less random generations in Random::Formatter#choose.
d808918583d406d93c9007cf14a9f39af7e4b83e 2017-10-21 deprecate TCPSocket.gethostbyname.
dd5b75af34d6dd561cd16c1e1d48de8b12177bbb 2017-10-21 reference Socket.getaddrinfo to Addrinfo.getaddrinfo.
add309c49627b88cb20865dacee8dc17cd0d9525 2017-12-01 Replace Kernel#pp after PP class is defined.
bf287424fd00c0304c836525bb52d89fc1f4a84a 2017-12-21 open-uri defines URI.open defined as an alias.
277cedb84c918abd6b67e5ab59251ec52d5def8c 2018-08-08 Store String as zone in struct vtm.
b81a33263a7461be24c2718f6fce395ee853749b 2018-08-08 Rename gmt field to tzmode in struct time_object.
4078be54adf9c7cbfc837f67cbfb31fb9053181a 2018-08-08 rename several internal macros in time.c
8507904385e86d4ce2c913e11e86ea5b71267fdc 2018-08-12 timegm_noleapsecond uses calc_tm_yday.
3d3ff9f324e507e1c4e2ffab60e1ea5698f62ff8 2018-08-15 gmtimew_noleapsecond uses tables for mon and mday.
efb002cd7aa60c0885d33d42846e19d311fec95e 2018-08-21 rename an argument of calc_wday.
53a5b276b8bc6e22a9fecc23dd99259e2d0e7fa4 2018-12-12 Use File class methods to avoid pipe execution
c33e716d6d2069e78f0b96793547355b0679a2d7 2018-12-12 mention Pathname change.
c8cb0565a132f2f50f1ebd481c6b8dcec68c8c71 2018-12-12 open3.rb don't use keyword splat (**).
608310d6ffc6284ada059c074d9be390c72df556 2018-12-13 use :chdir option to avoid fd 3 to work with Windows.
4cf828632f3e2411b4c141fb30b2edf4844351fa 2018-12-16 Pathname#relative_path_from compatible with mock.
78dc3da299f49eec2783190ad72812852750f40e 2018-12-18 Pathname#relative_path_from uses is_a?
b7c2ca7a3225efcc79a72ee3798abc3320f5c304 2018-12-27 [DOC] SecureRandom is extended by Random::Formatter.
b1cb15c4a42575eb8ceb1c89256f37c662e20172 2019-02-09 new constant: Process::CLOCK_TAI.
50d85436f8f194aa78cd0e819471fe20767a5993 2019-07-11 WEBrick::HTTPResponse create tempfile if required.
d34303ad109b93445b01d0420c9a5bfeffafac38 2019-07-11 remove an unused variable.
357f295a0e97a105e51d0b3a4b5c062c55dffe92 2019-07-14 Describe lambda-ness of Proc more.
05aac90a1bcfeb180f5e78ea8b00a4d1b04d5eed 2019-07-14 Warn open-uri's "open" method at Kernel.
6bca4437dea5da28b8b7e5f1cb87561f2772a03d 2019-07-14 Describe warning of open-uri.
4d9504fe13c6470d9da74540f92a247e8c1d9b99 2019-07-14 Delegates 3 arguments for Pathname.glob.
5786df12f5c07510f9f15e984c564179afae33c0 2019-07-14 Describe about Pathname.glob.
4900a10689036211da79c8189ff7eba11c8c81ee 2019-07-14 socket: use frozen string buffer when releasing GVL
b7ec77f3614d7a89a47466f240d53abc0f967d19 2019-07-14 fix typos.
8f7884761e30c453287d73de6ea733d565635ebc 2019-07-15 The default charset of text/* media type is UTF-8.
bd494ae79b18e260b0123bf40ddc1c694d7b25b8 2019-07-15 add tests for "break" in lambda.
e4c1b199961cc5fa34c02b2225bbc14b75259fd2 2019-07-15 add tests for orphan/not-orphan proc/lambda.
1da3a31a5f0211db121e0df4ca456838a437537f 2019-07-30 Use lowercase letters for IPv6 addresses.
338c5b8c1dc061e9f8d21f6d9f5ac053c4497383 2020-01-28 Extract a function, ruby_reset_timezone().
29e31e72fb5a14194a78ec974c4ba56c33ad8d45 2020-01-28 ruby_reset_timezone resets leap_second_info.
2dea81f47728b9a28831dd91fc14dafcc3d29271 2020-02-10 Don't refer Date in the document for Time.
6abd08c0b451b9ef9c8bcd99e58ebc7097ac9547 2020-04-10 Replace Fixnum by Integer in a document.
87bcb3c47c7369fe285b2c7c670476a8d4553d82 2020-04-10 Fix articles.
48eb1ad2c3aa1a14bd8ef61cbd72a791b0b67418 2020-07-21 [DOC] time.c document updated.
b74f9d656a028430d942fb609f79c4027f0549fa 2021-10-25 add example for buffer: argument of pack.
671d90eca3b8c00c73b72c3852a5103b1a17af6b 2022-04-24 add description for IO.nonblock=.
c23b25f75f6180b7428f9650e063b1e50fc161e2 2023-10-12 describe the assumption for Range#overlap?.
abf192eb16ea845ac11743a32bd2f3e2d234488b 2023-12-07 always omit test_ai_addrconfig.
3ee83c73c38070d695537d4322ce4decb970a54a 2024-06-01 Tempfile.create(anonymous: true) implemented. (#10803)
1eb651fb50d65b708453efdd6506870e061758c8 2024-06-01 described about `Tempfile.create(anonymous: true)`.
767aa0cdb6b82beaf3ef3a51d1004812f52a72b9 2024-06-01 move `Tempfile.create(anonymous: true)` entry.
fc495951b128a4256ba28be560584d2a58530f21 2024-06-01 Tempfile document updated.
d03c61241a38cb16ed185d609af2d3dc69f66ba3 2024-06-02 Time internal representation described.
56fe5ad7785c5c1a6f81d3ef63b44ab12b47301e 2024-06-02 Time internal representation comment removed.
d05d03b1866944e3d8f82d809b3370e7cf5e253e 2024-06-02 IO.select accepts a numeric value as timeout.
ca2170e69f454259c612143a8c3bf6ab576d7f4d 2024-06-03 [DOC] percent literals can be nested.
61af722d4e2899784a58d06f2be0d67cab9d0efa 2024-06-03 fix typos.
9f469ad187e80854c9b3aaffa2feca8ad5b77fd3 2024-06-06 [DOC] Time uses the proleptic Gregorian calendar.
5e1001f754b34e1f0cc67563512c6036b6eb75ab 2024-06-07 [DOC] document line continuation.
ed2f8ea62ebe77bbb8408cb27b416c4a7f1023cc 2024-06-18 [DOC] IO#close on closed IO is not an error.
4963d393ca1b05dafaf97b7adc15075808ab464e 2025-02-22 Add description for Socket::Ifaddr#flags.
b17f984e4e903d3ece3013c1488279d1947dfc39 2025-02-22 [doc] Time class document updated.
dfc25204235079e23eadf9e0ba860c1ebcb14325 2025-02-23 [doc] update Time document.
698ef864a59004f468c77534d59e51e862ec2624 2025-04-15 `IO.select` accepts +Float::INFINITY+ as a timeout argument.
ad69f4ddffb639dca7313dda10865735529b4325 2025-04-18 [doc] update {Enumerator,Enumerable}#size document.
fa17cb75a1a79b6c3fb1e70acc5a4a589efa23e8 2025-04-21 [doc] update Enumerable document.