aboutsummaryrefslogtreecommitdiffstats
path: root/win32
Commit message (Collapse)AuthorAgeFilesLines
* * win32/win32.c (rb_w32_read): suppress warning.nobu2011-04-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Evaluate truncate, ftruncate and ftello existenceluislavena2011-04-111-3/+3
| | | | | | This corrects mingw-w64 compilation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: fix r31152 (dup line)arton2011-03-221-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: wait process real termination after reading arton2011-03-221-1/+7
| | | | | | | exit code. fixes #4518 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (ruby_setenv): check env process block size with OS ver.arton2011-03-191-1/+1
| | | | | | | | | * win32/win32.c: export rb_w32_osver for above patch. * include/ruby/win32.h: declare rb_w32_osver for Win32 Libs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: revert r30987 because it causes some failures inusa2011-03-011-9/+0
| | | | | | | test-all, especially webrick. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn): use shell if a commandline containkosaki2011-02-281-0/+9
| | | | | | | | | | | | | | | double-quote character. * win32/win32.c (is_internal_cmd): similar, use shell if a commandline contain caret character. * test/ruby/test_system.rb (TestSystem#test_system_at): fix wrong test case. if system() invoke a command by using shell, system() never return nil. Also, "" quotation must not appear twice in a command line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak (USE_RUBYGEMS): fixed r30835. It didn't work onkosaki2011-02-141-0/+4
| | | | | | | | | mswin32 port. If you changed win32/configure.bat, you should change setup.mak too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (is_internal_cmd): if the first char of prog is '@',usa2011-02-141-0/+2
| | | | | | | execute it via shell. [ruby-core:35218] (#4393) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rubygems): add --disable-rubygems option.nobu2011-02-112-0/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h, win32/win32.c: add rb_w32_inet_ntop.tarui2011-01-311-0/+16
| | | | | | | inet_ntop's minimum supported client is Vista. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: get rid of STRNDUPA(). It's dangerous API.kosaki2011-01-271-3/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_aspawn): get rid of too huge alloca().kosaki2011-01-271-1/+1
| | | | | | | | [Bug #4330] [ruby-core:34898] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn): get rid of too huge alloca().kosaki2011-01-271-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (open_dir_handle): get rid of too huge alloca().kosaki2011-01-271-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (wstati64): get rid of too huge alloca().kosaki2011-01-271-1/+5
| | | | | | | | [Bug #4316] [ruby-core:34834] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): fixed previous commit. sorry.usa2011-01-271-18/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): get rid of too hugeusa2011-01-271-10/+18
| | | | | | | alloca(). this is the real fix of [ruby-core:34833]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (RUNRUBY): require path shouldusa2011-01-141-2/+2
| | | | | | | include "." because rbconfig.rb is there. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_write_console): don't raise exception whennaruse2010-12-311-2/+2
| | | | | | | the conversion is for writing to console. Patched by Heesob Park [ruby-core:33999] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30431 ↵kosaki2010-12-301-11/+11
| | | | b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/rm.bat: remove duplicated line.nobu2010-12-291-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (clean-enc): pass V to inferior make.nobu2010-12-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat: Remove obsoleted conding rule. Now, wekosaki2010-12-271-3/+0
| | | | | | | | | don't support to build on Windows 95/98. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/README.win32: note to need NT based OS to build ruby.usa2010-12-271-4/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/rmall.bat: property.nobu2010-12-271-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: suppress a strange error message when RMALLkosaki2010-12-262-1/+7
| | | | | | | | | found no such file. * win32/rmall.bat: new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: fix 'nmake clean-enc' breakage since r28322.kosaki2010-12-261-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak (BASERUBY): quit with an error when BASERUBY was notusa2010-12-171-0/+3
| | | | | | | able to set, just like configure.in does. [ruby-dev:42782] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/{configure.bat,setup.mak,Makefile.sub} (PROGRAM_PREFIX,usa2010-12-163-8/+8
| | | | | | | | | PROGRAM_SUFFIX): unite the differences of the names of macros of prefix and suffix. reported by HANEDA Norikatsu. [ruby-dev:42775] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (WERRORFLAG): flag to treatnobu2010-12-061-1/+3
| | | | | | | | | | | | | | warnings as errors. * lib/mkmf.rb (Logging.postpone): yield log file object. * lib/mkmf.rb (xsystem): add options, :werror only right now. * lib/mkmf.rb (with_werror): check as if warnings are errors. * lib/mkmf.rb (convertible_int): make declaration conflict warnings errors not to pass wrong type. [ruby-dev:42684] * lib/mkmf.rb (COMMON_MACROS): get rid of conflicts. * win32/Makefile.sub (WARNFLAGS): make declaration conflict warnings errors if possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_read): fixed more for readline, and so on. ↵tarui2010-12-061-1/+7
| | | | | | [ruby-core:33511] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (RCFLAGS): VC10 and after only. fixed the problemusa2010-12-031-1/+1
| | | | | | | of r30015. [ruby-core:33530] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (RCFLAGS): -nologo switch is only available inusa2010-12-021-1/+6
| | | | | | | newer versions of rc.exe. fixed the problem of r30012. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w43_read): more fix. [ruby-core:33513]usa2010-12-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_read): rollback debug code of previous commit.usa2010-12-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_read): workaround for console reading troubles.usa2010-12-021-3/+7
| | | | | | | fixed [ruby-core:33511] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (rc): suppress meaningless message.usa2010-12-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_read): read only 1 byte at once on console.usa2010-11-301-2/+4
| | | | | | | | workaround of Windows bug. see [ruby-core:33460]. this is not the final solution. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (scriptbin.mk): fix generated rules.nobu2010-11-291-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_write_console): fix argument type.nobu2010-11-291-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_isatty): use GetConsoleMode() to determine theusa2010-11-291-1/+3
| | | | | | | fd is console or not, just like rb_w32_write_console(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_write_console): fixed indentation.usa2010-11-291-7/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fwrite): use rb_w32_write_console under Windows.luislavena2010-11-271-0/+23
| | | | | | | * win32/win32.c (rb_w32_write_console): added to write to write Unicode using WriteConsoleW for stdout/stderr. [ruby-core:33166] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (filecp, wstr_to_mbstr, mbstr_to_wstr):nobu2010-11-231-38/+18
| | | | | | refactored. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (wlink, rb_w32_getppid): use typedef instead ofnobu2010-11-231-4/+6
| | | | | | repeating compilcated function prototypes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (insns_rules.mk): remove extra backslash.nobu2010-11-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in, win32/Makefile.sub (clean): rc files arenobu2010-11-191-1/+1
| | | | | | | made at compile time, so should be removed by clean. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (scriptbin): create script binaries.nobu2010-11-181-12/+46
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat: remove quotes from arguments to be quoted.nobu2010-11-171-13/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e