nobu
b8bcb6474c
* win32/win32.c (rb_w32_read): suppress warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-14 12:20:59 +00:00
luislavena
c2bfeaa244
Evaluate truncate, ftruncate and ftello existence
...
This corrects mingw-w64 compilation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-11 16:38:10 +00:00
arton
858a66d1ac
* win32/win32.c: fix r31152 (dup line)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-22 15:18:09 +00:00
arton
50ff6ed866
* win32/win32.c: wait process real termination after reading
...
exit code. fixes #4518
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-22 15:05:39 +00:00
arton
11e4052295
* hash.c (ruby_setenv): check env process block size with OS ver.
...
* 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
2011-03-19 16:33:59 +00:00
usa
86bb0af7ea
* win32/win32.c: revert r30987 because it causes some failures in
...
test-all, especially webrick.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-01 07:23:37 +00:00
kosaki
4a57c5e7d9
* win32/win32.c (rb_w32_spawn): use shell if a commandline contain
...
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
2011-02-28 13:52:58 +00:00
kosaki
c6e6380665
* win32/setup.mak (USE_RUBYGEMS): fixed r30835. It didn't work on
...
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
2011-02-14 09:49:56 +00:00
usa
23301142cc
* win32/win32.c (is_internal_cmd): if the first char of prog is '@',
...
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
2011-02-14 04:17:01 +00:00
nobu
020dc4ba60
* configure.in (rubygems): add --disable-rubygems option.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-11 03:03:26 +00:00
tarui
fb672259d9
* include/ruby/win32.h, win32/win32.c: add rb_w32_inet_ntop.
...
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
2011-01-31 17:31:18 +00:00
kosaki
8d397b77ea
* win32/win32.c: get rid of STRNDUPA(). It's dangerous API.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27 12:42:45 +00:00
kosaki
2529d2c38d
* win32/win32.c (rb_w32_aspawn): get rid of too huge alloca().
...
[Bug #4330 ] [ruby-core:34898]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27 12:33:57 +00:00
kosaki
f7fb66bd35
* win32/win32.c (rb_w32_spawn): get rid of too huge alloca().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27 11:31:48 +00:00
kosaki
ab720532ef
* win32/win32.c (open_dir_handle): get rid of too huge alloca().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27 09:50:30 +00:00
kosaki
21931d6aa2
* win32/win32.c (wstati64): get rid of too huge alloca().
...
[Bug #4316 ] [ruby-core:34834]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27 09:21:40 +00:00
usa
11c5daa698
* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): fixed previous commit. sorry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-27 06:21:40 +00:00
usa
98929a2dfd
* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): get rid of too huge
...
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
2011-01-27 06:12:48 +00:00
usa
377b85f2cb
* configure.in, win32/Makefile.sub (RUNRUBY): require path should
...
include "." because rbconfig.rb is there.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-14 02:37:34 +00:00
naruse
4a744b3d78
* win32/win32.c (rb_w32_write_console): don't raise exception when
...
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
2010-12-31 19:26:30 +00:00
kosaki
962b75384e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-30 11:21:54 +00:00
nobu
3a28aaaa3a
* win32/rm.bat: remove duplicated line.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-29 11:33:54 +00:00
nobu
0dfd81cb23
* win32/Makefile.sub (clean-enc): pass V to inferior make.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-29 11:27:36 +00:00
kosaki
0585d81d51
* win32/configure.bat: Remove obsoleted conding rule. Now, we
...
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
2010-12-27 11:42:21 +00:00
usa
ea7158919f
* win32/README.win32: note to need NT based OS to build ruby.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-27 06:23:19 +00:00
nobu
aefc03ba1e
* win32/rmall.bat: property.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-27 01:49:36 +00:00
kosaki
205cc6c068
* win32/Makefile.sub: suppress a strange error message when RMALL
...
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
2010-12-26 14:10:41 +00:00
kosaki
43b4bae567
* win32/Makefile.sub: fix 'nmake clean-enc' breakage since r28322.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-26 13:46:02 +00:00
usa
c5d383bae1
* win32/setup.mak (BASERUBY): quit with an error when BASERUBY was not
...
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
2010-12-17 04:29:16 +00:00
usa
b9b26300da
* win32/{configure.bat,setup.mak,Makefile.sub} (PROGRAM_PREFIX,
...
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
2010-12-16 10:55:11 +00:00
nobu
e806b0fed7
* configure.in, win32/Makefile.sub (WERRORFLAG): flag to treat
...
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
2010-12-06 23:00:47 +00:00
tarui
88ab39f6ab
* win32/win32.c (rb_w32_read): fixed more for readline, and so on. [ruby-core:33511]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06 15:29:45 +00:00
usa
eb702efcfa
* win32/Makefile.sub (RCFLAGS): VC10 and after only. fixed the problem
...
of r30015. [ruby-core:33530]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-03 03:56:21 +00:00
usa
2f1a781e85
* win32/Makefile.sub (RCFLAGS): -nologo switch is only available in
...
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
2010-12-02 14:06:54 +00:00
usa
82ec8baa95
* win32/win32.c (rb_w43_read): more fix. [ruby-core:33513]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-02 06:32:01 +00:00
usa
77049334aa
* win32/win32.c (rb_w32_read): rollback debug code of previous commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-02 04:49:28 +00:00
usa
6f3225f698
* win32/win32.c (rb_w32_read): workaround for console reading troubles.
...
fixed [ruby-core:33511]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-02 04:42:29 +00:00
usa
173f69146c
* win32/Makefile.sub (rc): suppress meaningless message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-02 01:20:36 +00:00
usa
e4288860d8
* win32/win32.c (rb_w32_read): read only 1 byte at once on console.
...
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
2010-11-30 03:26:43 +00:00
nobu
f0a2b08b44
* win32/Makefile.sub (scriptbin.mk): fix generated rules.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-29 13:53:16 +00:00
nobu
8fba2b63ec
* win32/win32.c (rb_w32_write_console): fix argument type.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-29 13:52:26 +00:00
usa
95f0f27dd0
* win32/win32.c (rb_w32_isatty): use GetConsoleMode() to determine the
...
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
2010-11-29 05:33:15 +00:00
usa
3d24592008
* win32/win32.c (rb_w32_write_console): fixed indentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-29 05:11:49 +00:00
luislavena
ac0f5a53b6
* io.c (io_fwrite): use rb_w32_write_console under Windows.
...
* 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
2010-11-27 19:49:58 +00:00
nobu
3c4fecda3f
* win32/win32.c (filecp, wstr_to_mbstr, mbstr_to_wstr):
...
refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-23 21:13:35 +00:00
nobu
16cb5ce483
* win32/win32.c (wlink, rb_w32_getppid): use typedef instead of
...
repeating compilcated function prototypes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-23 12:59:50 +00:00
nobu
e7fbb33c91
* win32/Makefile.sub (insns_rules.mk): remove extra backslash.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-19 14:05:50 +00:00
nobu
83e274d46d
* cygwin/GNUmakefile.in, win32/Makefile.sub (clean): rc files are
...
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
2010-11-19 13:44:06 +00:00
nobu
7ae23d32c2
* win32/Makefile.sub (scriptbin): create script binaries.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-18 14:56:34 +00:00
nobu
7afe174b9e
* win32/configure.bat: remove quotes from arguments to be quoted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17 14:19:24 +00:00