aboutsummaryrefslogtreecommitdiffstats
path: root/win32
Commit message (Collapse)AuthorAgeFilesLines
* * win32/Makefile.sub (config.h): added RUBY_COREDLL.nobu2009-03-171-0/+1
| | | | | | | | * ext/dl/handle.c (rb_dlhandle_initialize): returns msvcrt if libc or RUBY_COREDLL is given. [ruby-core:22828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (REVISION_H): keeps timestamp of revision.h.nobu2009-03-161-7/+15
| | | | | | | | | [ruby-core:22900] * tool/ifchange, win32/ifchange.bat: extended --timestamp option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, win32/Makefile.sub: added preprocessing rules.nobu2009-03-161-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (.y.c): use SRC_FILE which contains slashes instead ofnobu2009-03-151-0/+2
| | | | | | | backslashes. [ruby-core:22891] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (WARNFLAGS): warning 4996 is only in VC++8 orusa2009-03-121-0/+4
| | | | | | | | later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_env): set TMPDIR if none of TMPDIR, TMP,nobu2009-03-111-55/+0
| | | | | | | TEMP is set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_telldir, rb_w32_seekdir): should use long.nobu2009-03-112-10/+115
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_to_i, time_hash): time_t may be bigger than longnobu2009-03-101-0/+5
| | | | | | | | | | | | and int. * time.c (time_timeval, rb_time_timeval, obj2nsec, time_strftime), (time_mdump, time_mload): suppress warnings. * win32/Makefile.sub (config.h): added TIMET2NUM and NUM2TIMET. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: suppress warnings. based on a patch from Charlienobu2009-03-101-23/+24
| | | | | | | Savage at [ruby-core:22804]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (WARNFLAGS): uses -wd4996 instead ofnobu2009-03-101-2/+4
| | | | | | | CRTDEFFLAGS. cf. [ruby-core:22725] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (OPTFLAGS): simplified.usa2009-03-101-1/+1
| | | | | | | forgotten to commit at r22849 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (LDFLAGS): moved -link to TRY_LINK, LINK_SOnobu2009-03-101-6/+5
| | | | | | | | and so on. based on a patch by Charlie Savage at [ruby-core:22794] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): passes LDFLAGS to rbconfig.rb sonobu2009-03-101-1/+1
| | | | | | | that extconf.rb could refer it. [ruby-core:22725] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (LDFLAGS): always prepends -link.nobu2009-03-081-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (update-mspec): split from update-rubyspec.nobu2009-03-061-0/+18
| | | | | | | * win32/Makefile.sub (update-{rubyspec,mspec}): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, Makefile.in, win32/Makefile.sub (CHDIR): cd usingnobu2009-03-061-1/+2
| | | | | | | phisical directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (.c.asm): removed $(COUTFLAG).nobu2009-03-061-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, win32/Makefile.sub (INSNS): moved variablenobu2009-03-061-0/+3
| | | | | | | definition before rule. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_sysinit): initializes version info first.nobu2009-03-051-14/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (Win32System, Win32Version): moved before get_version.nobu2009-03-051-3/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_osid): always define for binary compatibility.nobu2009-03-051-12/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (make_insns_rules): rule to make rules for insns.nobu2009-03-051-0/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (miniruby.exe): workaround for a failure ofnobu2009-03-051-2/+5
| | | | | | | mt.exe on Windows 7 beta. [ruby-talk:330284] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/README.win32 (Requirement): VC++ 5.0 is not supportednobu2009-03-041-1/+1
| | | | | | | already. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/README.win32 (Requirement): added unicows.lib and dll.nobu2009-03-041-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/configure.bat (--enable-win95): new optionnobu2009-03-043-3/+22
| | | | | | | to enable/disable win95 support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (mingw): checks if unicows.lib is available.nobu2009-03-041-0/+3
| | | | | | | * win32/Makefile.sub (LIBS): links unicows.lib if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h (WIN95): moved to config.hnobu2009-03-042-5/+19
| | | | | | | | | | * win32/Makefile.sub (config.h): defines WIN95 only if unicows.lib is available. * win32/setup.mak (-unicows-): checks if unicows.lib is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_env): keeps wide chars as wide chars.nobu2009-03-021-20/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (INSNS, newline.c, miniprelude.c, prelude.c),nobu2009-02-261-19/+0
| | | | | | | | (node_name.inc, known_errors.inc): unified from Makefile.in and win32/Makefile.sub. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (sysopen_func, rb_sysopen_internal, rb_sysopen): open fileusa2009-02-251-3/+34
| | | | | | | | | | | | | | | | | | | by UTF-16'ed filename on Windows. * io.c (rb_file_open_generic, rb_io_s_sysopen, rb_io_reopen, argf_next_argv): follow above change. * io.c (rb_scan_open_args): no longer need to convert filepath here on Windows. * win32/wio32.c (rb_w32_wopen): new function to open file by UTF-16'ed filename. * win32/win32.c (rb_w32_open): call rb_w32_open(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): use un.rb as cp instead ofusa2009-02-251-1/+0
| | | | | | | | | | | cmd.exe's copy command. * lib/mkmf.rb (create_makefile): no longer need to convert path separator when copying file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (main): split from exts and makes main program afternobu2009-02-241-5/+3
| | | | | | | | | | | | | | building exts with miniruby, to get rid of overwriting running program. [ruby-core:22339] * Makefile.in, win32/Makefile.sub (RUNCMD, MKMAIN_CMD): macros to run script file. * ext/extmk.rb (parse_args): added --command-output option which creates script file to make main program. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, */Makefile.sub (LOAD_RELATIVE): moved from ruby.cnobu2009-02-191-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * debug.c (set_debug_option): added rtc_error option.nobu2009-02-162-5/+27
| | | | | | | | | | | | | * win32/Makefile.sub (CRTDEFFLAGS): separated from DEFS. * win32/win32.c (rtc_error_handler): ignores RTC errors unless rtc_error debug option is given. * win32/win32.c (rb_w32_sysinit): suppress useless CRT assertions. [ruby-core:22116] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (_CrtDbgReportW): prevent from false positivenobu2009-02-151-0/+2
| | | | | | | assertions in msvcrtd. [ruby-core:22116] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_readdir_with_enc): fallback to OS convertionusa2009-02-061-1/+4
| | | | | | | | when ASCII-8BIT is passed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/{dir.h, win32.c} (rb_w32_readdir_with_enc): new function tousa2009-02-062-35/+96
| | | | | | | | | | | | | | | read entry with specified enc. * win32/win32.c (readdir_internal): extract from rb_w32_opendir(). * win32/win32.c (opendir_internal): extract from rb_w32_readdir(). * dir.c (dir_read, dir_each): use new READDIR macro instead of readdir() to pass enc for special version of readdir, such as above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): follow recent changes about paths.usa2009-02-051-5/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb: shouldn't export DllMain.usa2009-02-041-2/+3
| | | | | | | | reported at http://pc11.2ch.net/test/read.cgi/tech/1233686068/21 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (RUBYDEF): uses mkexports.rb on cygwin too.nobu2009-02-021-4/+10
| | | | | | | * win32/mkexports.rb (Exports::Cygwin): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_write): use of cast expressions as lvaluesnobu2009-02-021-1/+1
| | | | | | | is deprecated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: patchlevel is somtimes minus.usa2009-02-021-3/+4
| | | | | | | | * win32/resource.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/dir.h: forgot to commit.usa2009-02-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (open_dir_handle, rb_w32_opendir, move_to_next_entry,usa2009-02-021-27/+37
| | | | | | | | rb_w32_readdir, check_valid_dir): change backend API from A to W. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_write): limit write size to 32KB if the fileusa2009-01-301-2/+17
| | | | | | | | seems to be console. [ruby-core:21613] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (RUBYDEF): needs DATA marks to exportnobu2009-01-271-1/+1
| | | | | | | | | non-function symbols. [ruby-core:21582] * win32/mkexports.rb (Exports::Mingw#each_export): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_header): checks the header depending onnobu2009-01-271-0/+1
| | | | | | | | | | | | platform. * lib/mkmf.rb (have_header, find_header): use try_header. * win32/Makefile.sub (try_header): uses try_compile to get rid of slow -E option of VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (distclean-enc, realclean-enc): do not call clean ofnobu2009-01-272-8/+3
| | | | | | | | | | | | | | | | | | | enc.mk twice or more. * enc/depend (cleanobjs): added deffile. * lib/mkmf.rb (create_makefile): removes deffile at clean instead of distclean. * win32/Makefile.sub (miniruby, LIBRUBY_SO): removes lib and exp files. * win32/Makefile.sub (clean, distclean): have moved to common.mk. * win32/rmdirs.bat: omits `not empty' message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (clean-ext): condition of EXTS was inverted.nobu2009-01-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e