Permalink
Switch branches/tags
Commits on Oct 15, 2009
  1. * file.c (win32_io_info): UTF-8 handling.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@25349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Oct 15, 2009
  2. * file.c (rb_str_encode_ospath): no more gurantee that the returned

      string is ended with NUL.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@25347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Oct 15, 2009
  3. * file.c (rb_file_s_truncate): remove unnecessary WIN32 specific code.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@25346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Oct 15, 2009
  4. * 2009-10-15

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@25345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Oct 15, 2009
  5. * file.c (rb_str_encode_ospath): use UTF-8 instead of UTF-16LE as

      internal path encoding on Windows.  result of Ruby Developers' Meeting
      20091013.
    
    * 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.
    
    * dir.c, file.c, io.c: follow above changes.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@25344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Oct 15, 2009
Commits on Oct 14, 2009
  1. * include/ruby/intern.h, dir.c, file.c, io.c (rb_str_encode_ospath):

      renamed from rb_str_conv_for_path().
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@25333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Oct 14, 2009
  2. * 2009-10-14

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@25332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Oct 14, 2009
  3. * dir.c, file.c: define wrapper macros by the original function name

      directly. suggested by matz.
      but, ``stat'' is used as function's name and struct's name, so cannot
      define simply. it's pending.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@25331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Oct 14, 2009
Commits on Oct 7, 2009
  1. * pullup r25251.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@25254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Oct 7, 2009
  2. * 2009-10-07

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@25253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Oct 7, 2009
  3. * dir.c (dir_chdir, dir_s_mkdir, dir_s_rmdir): use wrapper macros

      instead of using platform ifdefs.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@25252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Oct 7, 2009
Commits on Sep 2, 2009
  1. * 2009-09-02

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@24734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Sep 2, 2009
  2. * file.c (rb_stat, rb_file_lstat, eaccess, rb_file_s_ftype,

    	  rb_file_size, rb_file_chmod, chown_internal, rb_file_chown,
    	  utime_internal, rb_file_s_link, unlink_internal, rb_file_s_rename,
    	  rb_stat_init): use wrapper macros instead of using platform ifdefs.
    
    	* file.c (rb_file_s_truncate): call rb_str_conv_for_path().
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@24733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Sep 2, 2009
Commits on Sep 1, 2009
  1. * 2009-09-01

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@24725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Sep 1, 2009
  2. * win32/win32.c (rb_w32_opendir, link, rb_w32_stati64, rb_w32_utime,

    	  rb_w32_unlink): use WCHAR path internally.
    
    	* win32/win32.c, include/ruby/win32.h (rb_w32_wchown, rb_w32_wlink,
    	  rb_w32_wstati64, rb_w32_wutime, rb_w32_wunlink): new functions those
    	  accept WCHAR path.
    
    	* 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 WCHAR version
    	  runtime functions on Win32.
    
    	* file.c (rb_str_conv_for_path): guarantee that the return path always
    	  ended with NUL charcter.
    
    	* 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_conv_for_path() before passing the path to system, and
    	  simple use RSTRING_PTR() instead of StringValueCStr().
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@24724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Sep 1, 2009
Commits on Aug 26, 2009
  1. * 2009-08-26

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@24661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Aug 26, 2009
  2. * file.c (rb_str_conv_for_path): should check necessity of converting

    	  encoding on Max OS X.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@24660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Aug 26, 2009
Commits on Aug 21, 2009
  1. * file.c, include/ruby/intern.h (rb_str_conv_for_path): new function

    	  to convert encoding for pathname.
    
    	* io.c (rb_sysopen): use above function.
    
    	* dir.c (dir_chdir, dir_s_chroot, dir_s_mkdir, dir_s_rmdir): ditto.
    
    	* win32/win32.c, include/ruby/win32.h (rb_w32_wmkdir): new function
    	  to make directory with WCHAR pathname.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@24614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Aug 21, 2009
  2. * pullup r24607.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@24612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Aug 21, 2009
  3. * pullup r24607.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@24611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Aug 21, 2009
  4. * pullup r24607.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@24610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Aug 21, 2009
  5. * pullup r24607.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@24609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Aug 21, 2009
  6. * pullup r24607.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@24608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Aug 21, 2009
Commits on Sep 25, 2008
  1. * pullup r19538.

    	* transcode.c (rb_transcode_convertible): follow changes.
    
    	* win32/win32.c (rb_w32_parse_cmdline, rb_w32_write_console): ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@19539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Sep 25, 2008
Commits on Jul 9, 2008
  1. * 2008-07-09

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@17969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Jul 9, 2008
  2. pullup r17967.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@17968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jul 9, 2008
Commits on Jul 7, 2008
  1. * 2008-07-08

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@17949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Jul 7, 2008
  2. * ruby.c (proc_options, process_options): now opt->e_script is an array

    	  of arrays. each arrays have two elements -- pos and string.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@17948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jul 7, 2008
  3. * ruby.c (process_options): no need to call rb_w32_parse_cmdline() if

    	  locale == default_external.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@17947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jul 7, 2008
  4. * ruby.c (process_options): re-set e_script.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@17946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jul 7, 2008
  5. * win32/win32.c, include/win32/win32.c (rb_w32_parse_cmndline): new

    	  function to parse command line from GetCommandLineW().
    	  this is incomplete.
    
    	* ruby.c (process_options): use rb_w32_parse_cmdline(). this is
    	  incomplete, too.
    
    	* win32/win32.c (rb_w32_write_console): sorry, pullup mistake.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@17944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jul 7, 2008
  6. * pullup r17942.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@17943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jul 7, 2008
Commits on Jul 2, 2008
  1. * win32/win32.c (rb_w32_write_console): this function converts output…

    … characters
    
      to Unicode character and write it to Windows Connsole.
    
    * include/ruby/win32.h (rb_w32_write_console): ditto.
    
    * io.c (io_fwrite): use rb_w32_write_console when output is console and
      the system is win32.
    
    * transcode.c (rb_transcode_convertible): defined.
    
    * include/ruby/encoding.h (rb_transcode_convertible): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@17825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    nurse committed Jul 2, 2008
  2. pullup r17821.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@17822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jul 2, 2008
Commits on Jun 21, 2008
  1. pullup r17510. (now we are testing auto version.h updating.)

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/win32-unicode-test@17511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed Jun 21, 2008