summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2010-04-30* win32/win32.c: add declaration of wstati64 for gcc.wanabe
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-30* merge some patches from win32-uncode-test branch.usa
see #1685. * file.c, include/ruby/intern.h (rb_str_encode_ospath): new function to convert encoding for pathname. * win32.c, include/ruby/win32.h (rb_w32_ulink, rb_w32_urename, rb_w32_ustati64, rb_w32_uopen, rb_w32_uutime, rb_w32_uchdir, rb_w32_umkdir, rb_w32_urmdir, rb_w32_uunlink): new functions to accept UTF-8 path. * win32/win32.c (rb_w32_opendir, link, rb_w32_stati64, rb_w32_utime, rb_w32_unlink): use WCHAR path internally. * file.c (rb_stat, eaccess, access_internal, rb_file_s_ftype, chmod_internal, rb_file_chmod, rb_file_chown, utime_internal, rb_file_s_link, unlink_internal, rb_file_s_rename): use UTF-8 version functions on Win32. * file.c (apply2files, rb_stat, rb_file_s_lstat, rb_file_symlink_p, rb_file_readable_p, rb_file_writable_p, rb_file_executable_p, check3rdbyte, rb_file_identical_p, rb_file_chmod, rb_file_chown, rb_file_s_link, rb_file_s_symlink, rb_file_s_rename): call rb_str_encode_ospath() before passing the path to system. * io.c (rb_sysopen): ditto. * dir.c (dir_chdir, dir_s_mkdir, dir_s_rmdir): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-30* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):nobu
assertion message must be String or Proc. suggested by caleb clausen at [ruby-core:29884]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-30* test/ruby/test_io.rb: skip false tests on Windows.nobu
[ruby-core:29886] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-30* math.c: Math::DomainError < StandardException [ruby-core:29855]marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-30* test/test_open3.rb (TestOpen3#test_commandline): use simplenobu
command via shell. [ruby-dev:41100] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-30* file.c (file_expand_path): call rb_str_set_len before BUFCHECK toakr
prevent rb_str_resize in BUFCHECK discard the content. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-30* string.c (rb_str_sub_bang): String#sub! now raises an error whenmarcandre
called on a frozen string, even if no change is made. See [ruby-core:23657] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-30* eval.c (make_exception, rb_obj_extend): Fix error messages in case of wrongmarcandre
number of arguments * file.c (rb_f_test, rb_file_s_umask): ditto * numeric.c (int_chr, num_step): ditto * process.c (rb_f_sleep): ditto * re.c (rb_reg_initialize_m): ditto * signal.c (rb_f_kill, sig_trap): ditto * string.c (rb_str_aref_m, rb_str_aset_m, rb_str_count, rb_str_delete_bang, rb_str_slice_bang, rb_str_sub_bang, str_gsub): ditto * proc.c (curry): rdoc fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29* time.c (TIMET_MAX): should be time_t, not unsigned_time_t.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29* time.c (rb_time_unmagnify_to_float): should cast.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29* numeric.c (fix_mul): the width of fixnum is same as long's on allusa
platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29* lib/matrix.rb: Improve algorithm for Matrix#determinant and Matrix#rankmarcandre
{determinant,det,rank}_e are now deprecated. [ruby-core:28273] Also fixes a bug in Determinant#rank (e.g. [[0,1][0,1][0,1]]) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29* win32/Makefile.sub (config.h): define some constants to selectusa
collect code for win64. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29* test/test_open3.rb (test_commandline): use dump instead ofnobu
shellwords. [ruby-core:23797] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29* lib/thwait.rb (ThreadsWait#join): refined rdoc again.nobu
[ruby-core:29863] [ruby-dev:41092] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29* ChangeLog: fixed entry.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):nobu
use more descriptive assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29* test/ruby: fixed nonsense assertions.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):nobu
reverted. [ruby-core:29872] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29* lib/thwait.rb (ThreadsWait#join): refined rdoc. [ruby-core:29863]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert): rejectnobu
non-boolean values. [ruby-core:29868] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29* io.c (seek_before_access): renamed. see [ruby-core:29861].nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-29* io.c (rb_io_s_binread): fixed rdoc. parts of a patch from Rogernobu
Pack in [ruby-core:29861]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28* lib/xmlrpc/utils.rb: Fixing an incompatibility withjeg2
reflection methods returning Symbols. Patch by HD Moore. [ruby-core:29821] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28* lib/thwait.rb: revise rdoc. a patch from Roger Pack inmame
[ruby-core:27362]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28* ext/json: Update to JSON 1.4.2.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28* thread. (rb_thread_terminate_all): revert r24591 which caused SEGVmame
sometimes. [ruby-dev:40936] [ruby-core:27245] [ruby-core:27416] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28* test/psych/visitors/test_yaml_tree.rb (test_struct_const): removemame
Struct::Foo which affects test/ruby/test_struct to warn redefining constant. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28* time.c (time_timespec): use rb_check_funcall.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28* ext/socket/extconf.rb: CMSG_ macros are broken on 64bit darwin,nobu
because of use of __DARWIN_ALIGN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28* include/ruby/ruby.h ({RSTRING,RSTRUCT,RBIGNUM}_LENINT): check longnobu
to cast to int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28* ext/socket/unixsocket.c (sendmsg_blocking, recvmsg_blocking):nobu
define only when used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28* ext/socket/rubysocket.h: non-implemented method definitions neednobu
to be shared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28* vsnprintf.c (ruby_vsnprintf, ruby_snprintf): suppress warnings.nobu
why return int in spite of the arguments of size_t? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28* tool/compile_prelude.rb: enable optimization.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28* parse.y (warn_balanced): do not warn for EXPR_ENDFN.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-27* eval.c (ruby_cleanup): add exception guard around code runningmame
signal handler (of r27513). Absence of the guard made bootstraptest/test_thread.rb fail sometimes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-27* insns.def (onceinlinecache): add exclusion control for a regionmame
between onceinlinecache and setinlinecache. [ruby-dev:39768] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-27* iseq.c (set_relation): do not use top_wrapper as bottom of cref,mame
which caused constant lookup error when "wrapped load" is used; instead, use Object as bottom, and push top_wrapper on Object. [ruby-core:25039] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-27* eval.c (ruby_cleanup): before cleanup, check signal buffer and runmame
handler if any. [ruby-core:20970] * thread.c (rb_threadptr_check_signal): separeted from timer_thread_function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-27* lib/net/smtp.rb (Net::SMTP#rcptto_list): fixed typo.nobu
[ruby-core:29809] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-27Import RDoc 2.5.7. Fixes #1318 and ruby-core:29780drbrain
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-27* parse.y (parser_read_escape): deny extra character escapes.nobu
[ruby-core:27228] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-26* io.c (select_internal): IO which cbuf is not empty is readable.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-26* parse.y (program): check void_expr when rb_parse_in_main().mame
[ruby-dev:38717] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-26 * complex.c, rational.c, lib/cmath.rb, lib/date.rb lib/date/delta*:tadf
reverted r27484-27486. now official spec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-26* ext/json/generator/generator.c (convert_UTF8_to_JSON_ASCII): get ridusa
of a warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-26Recommit of JSON; fix mixed declarations.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-26* ext/jason: revert r27493. came again after canceling gcc-ism.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e