aboutsummaryrefslogtreecommitdiffstats
path: root/win32
Commit message (Collapse)AuthorAgeFilesLines
...
* * win32/win32.c (rb_w32_read): limit read size to 16KB if the filenobu2010-03-241-2/+17
| | | | | | | seems to be console. [ruby-core:28902] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tmpdir: split from lib/tmpdir.rb.nobu2010-03-161-9/+18
| | | | | | | * win32/win32.c (rb_w32_system_tmpdir): extracted from init_env. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_getcwd): remvoed duplicated code.nobu2010-03-161-6/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_env): get rid of alloca() for outer string.nobu2010-03-111-11/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (signbit): allow x64.wanabe2010-03-101-4/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): VC6 has __int64.usa2010-03-051-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): suppressed a warning.nobu2010-03-051-4/+5
| | | | | | | | | * win32/win32.c (rb_w32_map_errno, winnt_stat, rb_chsize): ditto. * win32/win32.c (rb_w32_aspawn): get rid of overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (signbit): defined on mingw.nobu2010-03-051-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (signbig): defined.nobu2010-03-022-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub, symbian/setup (config.h): pack.c requiresnobu2010-03-021-2/+9
| | | | | | | SIZEOF_INT*_T now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (COMPILE_PRELUDE): rbconfig is loaded on demand.nobu2010-02-082-2/+2
| | | | | | | | * tool/eval.rb, win32/{mkexports,resource}.rb: miniruby no longer contains "." in $:. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): should benobu2010-01-291-0/+3
| | | | | | | space-separated. [ruby-core:27912] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.c (RUBY_LIB, RUBY_*_LIB): moved from configures.nobu2010-01-251-8/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_env): use _wputenv() instead ofusa2010-01-121-3/+10
| | | | | | | | | SetEnvironmentVariableW() because latter doesn't set msvcrt's environ work area, of course. [Bug #2552] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat (WIN32DIR): regularise file separators.nobu2010-01-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removes the dtrace support. reverts r26239, r26238 and r26235.yugui2010-01-051-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (TRACING_MODEL): follow yugui's previous changes.usa2010-01-041-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (CreateChild): force to inherit standard I/O handles.usa2009-12-281-20/+18
| | | | | | | | this change fixes [ruby-core:27273], but other side effects might exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat: now recognize --with-*-{dir,include,lib} optionsusa2009-12-082-3/+14
| | | | | | | | | | | | | | and pass them to mkmf. * win32/configure.bat: general conversion from ``/'' to ``\'' of configure_args is not necessary any longer. * win32/setup.mak: BASERUBY is used as command, so always need to convert ``/'' to ``\'' within it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): moved fromnobu2009-11-301-0/+3
| | | | | | | | | | dln.c:dln_find_1(). * lib/mkmf.rb (def find_executable0): use EXECUTABLE_EXTS, not only EXEEXT. [ruby-core:26821] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/{configure.bat, setup.mak, Makefile.sub}: add new configureusa2009-11-263-1/+15
| | | | | | | | option ``--with-ntver''. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: nmake execute the file named echo if it existsusa2009-11-191-2/+2
| | | | | | | | in the PATH. reported by Kenta Murata <mrkn AT mrkn.jp> via IRC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (overlapped_socket_io, recvmsg, sendmsg): pass handlewanabe2009-11-011-3/+3
| | | | | | instead of pointer to CloseHandle(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32.c (recvmsg, sendmsg, link): shouldn't raise ruby's exceptionsusa2009-10-301-5/+23
| | | | | | | | | in the functions expected as system API. see [ruby-dev:39579] and [ruby-dev:39582] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): added RUBY_SITEARCH to usenobu2009-10-261-0/+2
| | | | | | | different name from RUBY_ARCH. [ruby-core:26324] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, Makefile.in, win32/Makefile.sub (XRUBY): runnablenobu2009-10-221-0/+5
| | | | | | | | | ruby without current libraries. * common.mk (rdoc): use XRUBY. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (enc/unicode/name2ctype.h): no need to createusa2009-10-191-1/+1
| | | | | | | | directory if it already exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn): `\'' is also quote character.usa2009-10-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, Makefile.in (LIBRUBY_SO), common.mk (ruby.imp),nobu2009-10-101-1/+1
| | | | | | | win32/mkexports.rb (each_export): exclude _threadptr_ functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/{setup.mak,Makefile.sub,win32.c},include/ruby/win32.h (RT_VER):usa2009-10-013-15/+16
| | | | | | | | | | | split compiler specification and runtime library specification. * win32/Makefile.sub (LD_SHARED*, config.status): no need to embbed manifest if not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_getpid): simply call GetCurrentProcessId()usa2009-10-011-2/+1
| | | | | | | | instead of calling MSVCRT's getpid(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/wini32.c (LK_ERR): with overlapped I/O, LockFileEx() returnsusa2009-09-281-1/+1
| | | | | | | | ERROR_IO_PENDING if the file is locked. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c, include/ruby/win32.h (rb_w32_access): new function tousa2009-09-251-0/+14
| | | | | | | | | | | replace MSVCRT's access(). [ruby-core:25761] * file.c (eaccess): workaround for recent MSVCRT is no longer needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, win32/Makefile.sub (INSNS): depend on tools.nobu2009-09-211-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): install-capi needs docdir. And,usa2009-09-161-3/+4
| | | | | | | | mandir, infodir and ridir are also depend on datadir like docdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: sorry, typo.usa2009-09-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (DOCTARGETS): rdoc is default.usa2009-09-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: typo.usa2009-09-161-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (CAPITARGET): enable iff doxygen is available.nobu2009-09-161-2/+21
| | | | | | | | | | | | * configure.in (INSTALLDOC): enable if rdoc or doxygen are enabled. * common.mk (docs): target to make documents. * Makefile.in, win32/Makefile.sub (install-{all,nodoc}): trigger by $(INSTALLDOC) from install. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/{configure.bat,Makefile.sub} (RDOCTARGET): the meaning of thisusa2009-09-151-1/+1
| | | | | | | | macro was changed at r24923. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat: need a space before a tab to output the tab byusa2009-09-151-3/+3
| | | | | | | | echo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, common.mk, */configure.bat (rdoc): make beforenobu2009-09-141-2/+2
| | | | | | | install if rdoc is enabled. [ruby-dev:39325] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat: keep old makefile with renamed.nobu2009-09-141-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (MAKEDIRS): define.usa2009-08-241-0/+1
| | | | | | | | * common.mk (capi): using $(MAKEDIRS), so depends on $(PREP). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (enc/unicode/name2ctype.h): use md instead ofnobu2009-08-241-1/+1
| | | | | | | $(MAKEDIRS). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/unicode/name2ctype.h: split from enc/unicode.c and made anobu2009-08-211-0/+4
| | | | | | | perfect hash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (readdir_internal): free old temporary filename.usa2009-08-121-2/+4
| | | | | | | | [ruby-core:24820] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (has_redirection): need to execute shell if commandlineusa2009-08-041-2/+3
| | | | | | | | includes newline. cf. [ruby-core:24560] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_connect): return value was broken when someusa2009-08-031-7/+4
| | | | | | | | | error occurred. [ruby-core:24234] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_{open,wopen}): fixed typos. these conditionsusa2009-07-231-2/+2
| | | | | | | | mean to call runtime's open() if textmode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e