summaryrefslogtreecommitdiffstats
path: root/win32
Commit message (Collapse)AuthorAgeFilesLines
* * 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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@24963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: sorry, typo.usa2009-09-161-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (DOCTARGETS): rdoc is default.usa2009-09-161-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: typo.usa2009-09-161-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@24923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat: keep old makefile with renamed.nobu2009-09-141-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@24253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (WSABUF): get rid of compile error on VC9 and mingw.usa2009-07-221-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.[ch] (recvmsg, sendmsg): new functions to support recvmsg/usa2009-07-211-1/+206
| | | | | | | | | sendmsg like UNIX. these functions are experimental and not tested well. bug reports are welcome. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (TEST_RUNNABLE): follow r24209.usa2009-07-211-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (LIBPATHFLAG): path is already quoted in mkmf.rb.usa2009-07-151-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/resource.rb: CONFIG["TEENY"] is not ruby's version but API'susa2009-06-241-1/+1
| | | | | | | | one. So need to use RUBY_VERSION instead. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb: rbconfig.rb exists on ".".usa2009-06-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, win32/Makefile.sub (RMALL): need for distclean-rdoc.nobu2009-06-091-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in ($ridir): new configuration. [ruby-core:23520].yugui2009-05-231-3/+1
| | | | | | | | | | | | | | | | | | | | c.f. [ruby-core:23519]. (--with-ridir): new configure option. * tool/instruby.rb (:doc, :rdoc): uses $ridir instead of a fixed path. * lib/rdoc/ri/paths.rb: follows $ridir. * Makefile.in: removes RIDATADIR which is no longer used. * bcc32/Makefile.sub: generates the 'ridir' entry for RbConfig. removes RIDATADIR which is no longer used. * win32/Makefile.sub: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: moved into tool/.yugui2009-05-221-1/+1
| | | | | | | | | | | | | | | | * mkconfig.rb: ditto. * rubytest.rb: ditto. * runruby.rb: ditto. * common.mk: follows the moves. * configure.in: ditto. * win32/Makefile.sub: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak (-version-): r23426.nobu2009-05-171-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in, win32/Makefile.sub (RUBY_BASE_NAME):nobu2009-05-081-6/+11
| | | | | | | | | | program base name. [ruby-dev:38241] * configure.in (--with-soname): base name of shared library. [ruby-dev:38290] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): updated.nobu2009-04-011-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn): use original command if not found.nobu2009-03-231-2/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): use NULL asnobu2009-03-221-29/+49
| | | | | | | application name for batch files. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_conv_from_wstr): added.nobu2009-03-201-56/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): omit program namenobu2009-03-201-50/+117
| | | | | | | if actual program path is found. [ruby-core:22960] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (errmap): added ERROR_MOD_NOT_FOUND.nobu2009-03-201-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e