summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-09-07add tag v1_8_6_91v1_8_6_91shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_6_91@13382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07 * sample/test.rb, test/ruby/test_system.rb(valid_syntax?): keepshyouhei
comment lines first. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-07 * bignum.c (big_lshift): make shift offset long type.shyouhei
(big_rshift): ditto. (rb_big_lshift): ditto. (big_rshift): ditto. [ruby-dev:31434] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * hash.c (rb_hash_delete_key): delete the entry without calling block.shyouhei
* hash.c (rb_hash_shift): should consider iter_lev too. * hash.c (delete_if_i): use rb_hash_delete_key() so that the block isn't called twice. [ruby-core:11556] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * lib/rinda/tuplespace.rb: fix Rinda::TupleSpace keeper thread bug.shyouhei
the thread is started too early. [ruby-talk:264062] * test/rinda/test_rinda.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * ext/pty/pty.c (establishShell): handshaking before close slaveshyouhei
device. [ruby-talk:263410] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * configure.in (ac_cv_func_isinf): set yes also on OpenSolaris.shyouhei
[ruby-Bugs-12859] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * lib/rexml/encodings/{ISO-8859-15,CP-1252}.rb: fixed invalid syntax.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13214 ↵shyouhei
b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * ext/extmk.rb (extmake): save all CONFIG values.shyouhei
* ext/extmk.rb (extmake): remove mkmf.log at clean, and extconf.h at distclean, respectively. * ext/extmk.rb: remove rdoc at clean, and installed list file at distclean, respectively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * sprintf.c (rb_f_sprintf): should not check positional number asshyouhei
width. [ruby-core:11838] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * bignum.c (rb_big_aref): check for Bignum index range.shyouhei
[ruby-dev:31271] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * ext/digest/lib/digest.rb (Digest::self.const_missing): avoidshyouhei
infinite recursive const_missing call. [ruby-talk:262193] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * dln.c (conv_to_posix_path): removed.shyouhei
* ruby.c (rubylib_mangled_path, rubylib_mangled_path2): return VALUE instead of a pointer to static buffer. * ruby.c (push_include_cygwin): fixed buffer overflow. [ruby-dev:31297] * ruby.c (ruby_init_loadpath): not convert built-in paths. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * intern.h (is_ruby_native_thread): removed since declared as an intshyouhei
function in ruby.h already. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * file.c (rb_file_s_rename): deleted code to get rid of a bug ofshyouhei
old Cygwin. * file.c (rb_file_truncate): added prototype of GetLastError() on cygwin. [ruby-dev:31239] * intern.h (is_ruby_native_thread): prototype. * missing/strftime.c (strftime): fix printf format and actual arguments. * ext/Win32API/Win32API.c (Win32API_initialize): ditto. * ext/tk/tcltklib.c (ip_finalize): ditto. * ext/dl/ptr.c (rb_dlptr_inspect): ditto. [ruby-dev:31268] * ext/dl/sym.c (rb_dlsym_inspect): ditto. * ext/socket/getnameinfo.c: include stdio.h always. * ext/win32ole/win32ole.c (ole_hresult2msg, folevariable_name, folevariable_ole_type, folevariable_ole_type_detail, folevariable_value, folemethod_visible): missing return value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * lib/mkmf.rb (create_makefile): make OBJS depend on RUBY_EXTCONF_Hshyouhei
only if extconf.h is created. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * {win32,wince,bcc32}/setup.mak (-version-): no RUBY_EXTERN magic.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * lib/mkmf.rb (init_mkmf): should remove mkmf.log too.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * ext/openssl/ossl_config.c (ossl_config_set_section): do notshyouhei
initialize aggregations with dynamic values. [ruby-talk:259306] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * eval.c (get_backtrace): check the result more.shyouhei
[ruby-dev:31261] [ruby-bugs-12398] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22* bignum.c (rb_big_lshift, rb_big_rshift): separated functionsshyouhei
to get rid of infinite recursion. fixed calculation in edge cases. [ruby-dev:31244] * numeric.c (rb_fix_lshift, rb_fix_rshift): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * bignum.c (rb_big_pow): refine overflow check. [ruby-dev:31242]shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * time.c (time_succ): Time#succ should return a time object in theshyouhei
same timezone mode to the original. [ruby-talk:260256] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * numeric.c (fix_pow): integer power calculation: 0**n => 0, shyouhei
1**n => 1, -1**n => 1 (n: even) / -1 (n: odd). * test/ruby/test_fixnum.rb (TestFixnum::test_pow): update test suite. pow(-3, 2^64) gives NaN when pow(3, 2^64) gives Inf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * lib/base64.rb (Base64::b64encode): should not specify /o optionshyouhei
for regular expression. [ruby-dev:31221] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * sprintf.c (rb_f_sprintf): more checks for format argument.shyouhei
[ruby-core:11569], [ruby-core:11570], [ruby-core:11571], [ruby-core:11573] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * ext/digest/digest.c (rb_digest_instance_update,shyouhei
rb_digest_instance_finish, rb_digest_instance_reset, rb_digest_instance_block_length): %s in rb_raise() expects char*. [ruby-dev:31222] * ext/openssl/ossl.h: include ossl_pkcs5.h. [ruby-dev:31231] * ext/openssl/ossl_pkcs5.h: new file for PKCS5. [ruby-dev:31231] * ext/openssl/ossl_x509name.c (ossl_x509name_to_s): use ossl_raise() instead of rb_raise(). [ruby-dev:31222] * ext/sdbm/_sdbm.c: DOSISH platforms need io.h. [ruby-dev:31232] * ext/syck/syck.h: include stdlib.h for malloc() and free(). [ruby-dev:31232] * ext/syck/syck.h (syck_parser_set_input_type): prototype added. [ruby-dev:31231] * win32/win32.c: include mbstring.h for _mbspbrk(). [ruby-dev:31232] * win32.h (rb_w32_getcwd): prototype added. [ruby-dev:31232] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * bignum.c (rb_cstr_to_inum): check leading non-digits.shyouhei
[ruby-core:11691] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * bignum.c (rb_big_neg): SIGNED_VALUE isn't in 1.8.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * numeric.c (fix_pow): 0**2 should not raise floating pointshyouhei
exception. [ruby-dev:31216] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * win32/win32.c (CreateChild): enclose command line except forshyouhei
command.com which can not handle quotes. [ruby-talk:258939] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * lib/mkmf.rb (link_command, cc_command, cpp_command): do not expandshyouhei
::CONFIG which is an alias of MAKEFILE_CONFIG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * struct.c (rb_struct_init_copy): disallow changing the size.shyouhei
[ruby-dev:31168] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * random.c: documentation fix. srand(0) initializes PRNG with '0',shyouhei
not with random_seed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * bcc32/{Makefile.sub,setup.mak}: remove surplus slash from srcdir.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * sprintf.c (rb_f_sprintf): sign bit extension should not be doneshyouhei
if FPLUS flag is specified. [ruby-list:39224] numbers if FZERO is specified. [ruby-list:39218] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * array.c (rb_ary_initialize): should call rb_ary_modify() first.shyouhei
[ruby-core:11562] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * parse.y (yylex): return non-valid token for an invalidshyouhei
instance/class variable name. a patch from from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:31095] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * parse.y (dsym): return non-null NODE even if yyerror(). based on ashyouhei
patch from from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:31085] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * process.c (proc_exec_v, rb_proc_exec): preserve errno.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-22 * eval.c (ruby_cleanup): return EXIT_FAILURE if any exceptions occuredshyouhei
in at_exit blocks. [ruby-core:11263] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-21 * variable.c (rb_path2class): get rid of dangling pointer caused byshyouhei
optimized out value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-21 * ext/dl/lib/dl/win32.rb: seems that dl doesn't accept void argument.shyouhei
fixed [ruby-bugs:PR#5489]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-21 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle moreshyouhei
extensions. [ruby-dev:30972] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-21 * configure.in (darwin): prohibit loading extension libraries toshyouhei
miniruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-21 * eval.c (rb_kill_thread): renamed in order to get rid of conflictshyouhei
with a BeOS system function. [ruby-core:10830] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-21 * process.c (ruby_setreuid, ruby_setregid): rename to get rid of nameshyouhei
clash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-21 * lib/net/imap.rb (ResponseParser#next_token): fixedshyouhei
error message. (backported from HEAD) * lib/net/imap.rb (ResponseParser#parse_error): fixed the condition not to refer @token.symbol unexpectedly. Thanks, Dick Monahan. (backported from HEAD) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-21 * marshal.c (w_extended): erroneous check condition when dumpshyouhei
method is defined. [ruby-core:10646] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e