aboutsummaryrefslogtreecommitdiffstats
path: root/win32
Commit message (Collapse)AuthorAgeFilesLines
* * win32/win32.c (rb_w32_fdopen): suppress warning.nobu2005-02-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (LIBS, COMMON_HEADERS): useusa2005-02-103-11/+7
| | | | | | | | | | | | | winsock2 on mswin32/mingw. * ext/socket/extconf.rb: ditto. * win32/win32.c (StartSockets): ditto. * win32/win32.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub (COMMON_LIBS): add libraries included innobu2005-02-102-2/+18
| | | | | | | | | | | | | import32.lib. * lib/mkmf.rb (create_makefile): restrict prefixing with srcdir to rule lines, add search path to implicit rules, and set Borland make special macros for search path. * win32/win32.c, win32/win32.h (read): aboid a BCC runtime bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_stdhandle): assign standard file handles.nobu2005-02-101-0/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (flock_winnt, flock_win95): unlock file even ifusa2005-01-261-0/+2
| | | | | | | LOCK_NB is specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_close): didn't close socket handle.ocean2005-01-061-1/+15
| | | | | | | | * win32/win32.c (rb_w32_open_osfhandle): bcc32's _open_osfhandle never set EMFILE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (BITSTACK_POP): workaround for bcc32 compiler's bug.ocean2005-01-052-1/+6
| | | | | | | | | | | shift assignment operator '>>=' for __int64 in struct may generate collapsed code. [ruby-dev:25342] * win32/win32.[ch]: failed to compile on bcc32 (and probably wince) [ruby-dev:25306] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_fdisset): check whether the handle is valid.usa2004-12-151-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_close): need to reset osfhnd().usa2004-12-141-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_pipe_exec): need to close original socketusa2004-12-081-3/+1
| | | | | | | handle. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_pipe_exec): must close original handleusa2004-12-081-8/+6
| | | | | | | before exec. fixed: [ruby-dev:25112] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_fclose, rb_w32_close): shutdown socketusa2004-12-081-0/+4
| | | | | | | before closesocket(). fixed: [ruby-dev:25112] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (is_socket): reorder of function definitions.usa2004-12-071-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): win32 bidirectional pipe support.usa2004-12-072-68/+172
| | | | | | | | | | | | * win32/win32.[ch] (rb_w32_pipe_exec): ditto. * win32/win32.[ch] (socketpair): new function. POSIX socketpair emulation. * win32/win32.c (socketpair_internal): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (dir_s_mkdir): win32 special processing doesn't need any longer.usa2004-12-072-0/+46
| | | | | | | | | | * win32/win32.[ch] (rb_w32_mkdir): new function. POSIX.1 compatible interface. * win32/win32.[ch] (rb_w32_rmdir): new function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (is_socket): new function.usa2004-12-062-26/+19
| | | | | | | | | | | | | | | | | * io.c (rb_io_close_read, rb_io_close_write): use is_socket(). * io.c (rb_io_fptr_finalize): need to check fptr->f before calling rb_io_fptr_cleanup(). * io.c (pipe_open): win32 pipe support (experimental). * win32/win32.[ch] (rb_w32_pipe_exec): return file descripters instead of FILE structure. * win32/win32.[ch] (rb_w32_is_socket): new function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (CreateChild): push back the last space before nextusa2004-11-291-1/+1
| | | | | | | loop because CharNext() eats it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.[ch] (rb_w32_isatty): new function to replace MSVCRT'susa2004-11-182-0/+18
| | | | | | | isatty because it never sets errno. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/setup.mak (-epilogue-): fix bug of previous commit.usa2004-11-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/setup.mak (-epilogue-): remove config.h andusa2004-11-161-0/+1
| | | | | | | config.status to force updating them. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/README.bcc32, win32/README.win32: need bison instead ofusa2004-11-121-1/+1
| | | | | | | byacc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_options): now we cannot call rb_glob() beforeusa2004-11-122-13/+3
| | | | | | | | | | ruby_init(), so call rb_w32_cmdvector() at ruby_options(). * win32.{c,h} (rb_w32_cmdvector): rename make_cmdvector() and export it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (isUNCRoot): should check NUL after '.'.eban2004-10-251-2/+2
| | | | | | | | [ruby-dev:24590] * win32/win32.c (isUNCRoot): fixed buffer overrun. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_call_handler): workaround for Ctrl-C.usa2004-09-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: add prototypes for Microsoft compiler.usa2004-09-171-1/+2
| | | | | | | | | | * ext/ripper/depend (parse.obj): lex.c exists at hdrdir. * {bcc32,win32,wince}/Makefile.sub (YACC, YFLAGS, parse.c): use bison. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_getpid): don't need to use _getpid() onusa2004-09-131-5/+1
| | | | | | | mswin32 and mingw32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: bccwin32 port starts to use RTL dll.ocean2004-09-102-1/+6
| | | | | | | | | (need to rebuild all) [ruby-dev:24138] * win32/win32.{h,c}: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl.usa2004-09-073-2/+52
| | | | | | | | | | | | * win32/win32.[ch] (fcntl): ditto. * win32/win32.c (rb_w32_connect): support nonblocking mode. * ext/socket/socket.c (wait_connectable, ruby_connect): support nonblocking connect on various platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_proc_exec): strip trailing spaces. [ruby-dev:24143]nobu2004-08-271-8/+27
| | | | | | | * win32/win32.c (CreateChild): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (LIBS): need to link shell32usa2004-08-191-1/+1
| | | | | | | library for SH* functions on mswin32 and mingw32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_env): initialize HOME and USER environmentnobu2004-08-181-14/+61
| | | | | | | variables unless set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rubyio.h (rb_eof_error): should mark as NORETURN.usa2004-08-121-29/+20
| | | | | | | | * win32/win32.c (make_cmdvector): adjust escaped successive double-quote handling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.{h,c} (rb_w32_{f,fd,fs}open): workaround for bcc32'socean2004-07-252-0/+65
| | | | | | | | | {f,fd,fs}open bug. set errno EMFILE and EBADF. [ruby-dev:23963] * test/drb/drbtest.rb: fix method duplication. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak: remove RUBY_EXTERN lines when including version.h.usa2004-06-241-1/+1
| | | | | | | [ruby-talk:104456] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_opendir): should set errno if error occursusa2004-06-211-0/+1
| | | | | | | when calling OS API. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: remove unused functions and variables.usa2004-06-091-62/+50
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * */Makefile.sub (distclean-local): should remove $(RBCONFIG).usa2004-04-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, */Makefile.sub (ext/extinit.o): OUTFLAGnobu2004-04-071-0/+4
| | | | | | | | | doesn't work for object files on VC. * */Makefile.sub (config.h): need SIZEOF_TIME_T now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (clean-local, distclean-local): removenobu2004-03-281-1/+1
| | | | | | | | | work files. * win32/Makefile.sub (clean-local): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.c (ruby_show_copyright): obtain copyright year fromnobu2004-03-251-1/+1
| | | | | | | | | RUBY_RELEASE_YEAR. * win32/resource.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/resource.rb: default rubyw icon to ruby.ico, and let DLL alsonobu2004-03-251-3/+4
| | | | | | | | | include them. * win32/resource.rb: include winver.h for older WindowsCE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, */Makefile.sub (lib, dll): phony targets.nobu2004-03-251-4/+2
| | | | | | | | | * configure.in (ruby, miniruby): ditto. * cygwin/GNUmakefile.in (rubyw): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):nobu2004-03-232-13/+17
| | | | | | | | | | | | | | | | | | separate files under directories due to directory separator. * */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be removed. * win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit rules. * cygwin/GNUmakefile.in: some mingw stuffs were missed. * lib/mkmf.rb (create_makefile): Borland make wrongly removes braces from command lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub, common.mk: extract common portions.nobu2004-03-212-350/+48
| | | | | | | | | | | | | | | | * Makefile.in, cygwin/GNUmakefile.in, */Makefile.sub (RBCONFIG): separated time stamp file for rbconfig.rb. * configure.in: append common.mk to Makefile. * mkconfig.rb: keep mtime of rbconfig.rb if unchanged. * win32/rm.bat: remove multiple files. * wince/mkconfig_wce.rb: use fake.rb instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (opt_W_getter): get rid of warning.usa2004-03-101-10/+13
| | | | | | | | * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub: fixed dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:usa2004-03-091-4/+31
| | | | | | | replaced regex.c entry with Oniguruma files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub, mkconfig.rb: keep rbconfig.rb old ifnobu2004-03-041-5/+7
| | | | | | | unchanged. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): erred program name should be reported bynobu2004-03-021-10/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | exceptions, instead of the first argument. * process.c (rb_spawn): ditto. * process.c (proc_spawn_v): use first argument as program name. * win32/win32.c (rb_w32_aspawn): ditto. * win32/win32.c (CreateChild): search executable file if no program name given. * lib/drb/extservm.rb (invoke_service_command): use Process.spawn. [ruby-dev:23103] * lib/rdoc/ri/ri_display.rb (setup_pager): use IO.popen. [ruby-dev:23086], [ruby-dev:23103] * lib/rdoc/diagram.rb (convert_to_png): ditto. * lib/rdoc/generators/chm_generator.rb (compile_project): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): shouldn't check defined? NORETURN.usa2004-03-021-3/+1
| | | | | | | | | [ruby-dev:23100] * ChangeLog: typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/setup.mak: configure's default is "--enable-install-doc"ocean2004-03-011-0/+2
| | | | | | | * win32/setup.mak: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e