summaryrefslogtreecommitdiffstats
path: root/win32
Commit message (Collapse)AuthorAgeFilesLines
...
* * bcc32/Makefile.sub: remove unnecessary `.dll' from filename ofusa2002-09-112-7/+7
| | | | | | | | | | | | | dll's resource file. * cygwin/GNUmakefile.in: ditto. [ruby-dev:17103] * win32/Makefile.sub: ditto. [ruby-dev:17103] * win32/resource.rb: ditto. [ruby-dev:17103] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (ext): make directory `ext' on compile dir.usa2002-09-111-2/+4
| | | | | | | [ruby-dev:18255] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat: add CR to end of line.usa2002-09-111-32/+32
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (miniruby): shouldn't link $(EXTOBJS).usa2002-09-104-59/+96
| | | | | | | | | | | | | * win32/Makefile.sub ($(LIBRUBY_A), $(LIBRUBY)): avoid lib.exe's warning. * win32/Makefile.sub: remove unnecessary rules. * win32/configure.bat, win32/setup.mak, win32/README.win32: enable to pass some arguments to configure. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h (S_I?USR): define only if not mingw32.eban2002-09-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: prototype; time_free() to avoid VC++ warnings.usa2002-09-082-2/+38
| | | | | | | | | | * win32/win32.c (rb_w32_stat): remove S_IWGRP and S_IWOTH bits from st_mode. * win32/win32.h (S_I*): define if not defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: modify program_prefix only if specifiedeban2002-09-081-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | --program-prefix. * configure.in: don't generate ext/extmk.rb. * Makefile.in: execute directly $(srcdir)/ext/extmk.rb. remove -Cext option, "Dir::chdir 'ext'" in ext/extmk.rb. * {win32,bccwin32}/Makefile.sub: ditto. * instruby.rb: ditto. * ext/extmk.rb: renamed from ext/extmk.rb.in. * lib/mkmf.rb (module Logging): create log files (mkmf.log) in each extension module directories. * ext/extmk.rb: ditto. * lib/mkmf.rb (macro_defined?): new method. * ext/.cvsignore: remove extmk.rb. * ext/*/.cvsignore: add "*.def". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (kill): negate pid under Win9x.nobu2002-08-281-9/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h: define SIGINT and SIGKILL if not defined.usa2002-08-282-7/+9
| | | | | | | * win32/win32.c: remove definition of SIGINT and SIGKILL. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: RUBY_SO_NAME is msvcrt-rubyXX on mswin32/mingw32.eban2002-08-232-2/+5
| | | | | | | | | * configure.in (sitearch): new var. * mkconfig.rb, lib/mkmf.rb (sitearch): ditto. * win32/Makefile.sub, win32/setup.mak (sitearch): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * replace of check EPIPE error(in getc()) rutine on bcc32.H_Konishi2002-08-201-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/stubs.c (ruby_tcltk_stubs): win32_getenv returnseban2002-07-301-0/+3
| | | | | | | | | the same address always, so allocate string by ruby_strdup. * win32/win32.c: prototype; rb_w32_open_osfhandle(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_finalize, pipe_popen): two-way pipe support for win32.usa2002-06-282-134/+163
| | | | | | | | | | | | | * win32/win32.c (ChildRecord, FindFreeChildSlot): ditto. * win32/win32.c, win32/win32.h (pipe_exec): new function for two-way pipe support for win32. * win32/win32.c, win32/win32.h (FindPipedChildSlot, rb_w32_popen, rb_w32_pclose): removed functions for two-way pipe support for win32. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_stat): fix buffer overflow. (ruby-bugs:PR#329)usa2002-06-271-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb: remove unnecessary exports. (ruby-dev:17418)usa2002-06-181-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *bcc32 fix for win9x.H_Konishi2002-06-141-28/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: set PROCESSOR_LEVEL to 6 if it's too big value.usa2002-06-111-0/+3
| | | | | | | * win32/Makefile.sub: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* new platform [bccwin32] merged.H_Konishi2002-06-114-25/+134
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): use sub! instead of []= becauseusa2002-06-061-1/+1
| | | | | | | []= causes exception. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Wed May 29 18:55:47 2002 KONISHI Hiromasa <H_Konishi@ruby-lang.org>H_Konishi2002-05-293-156/+164
| | | | | | | | | * function renames my* and win32_* to rb_w32_* in win32/win32.c fixed files win32/win32.c, win32/win32.h, win32/dir.h, hash.c, rubysig.h, signal.c, ext/socket/socket.c git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): add VC++4/5 support about noreturnusa2002-05-181-0/+4
| | | | | | | directive. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: config.h inlined. and catch up with thenobu2002-05-142-144/+233
| | | | | | | | | latest change. * win32/config.h.in: no longer used. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/config.h.in: define HAVE_DECL_SYS_NERR.eban2002-05-031-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (insert): fix prototype for ANSI C.eban2002-04-281-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: add -DNT to $CFLAGS instead of $CPPFLAGS.usa2002-04-192-4/+4
| | | | | | | * win32/setup.mak: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: include <mswsock.h> on __MINGW32__.eban2002-04-191-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: use missing/acosh.c.usa2002-04-122-2/+6
| | | | | | | * win32/config.h.in: define HAVE_COSH, HAVE_SINH, and HAVE_TANH. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/README.win32: follow recent changes.usa2002-03-291-4/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): reflect user defined $CC inusa2002-03-281-1/+1
| | | | | | | config.status. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb: support VC++.NET.usa2002-03-261-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): fix install path (prefix).usa2002-03-201-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/config.status.in: no longer used.nobu2002-03-201-67/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): and use recent autoconf format.nobu2002-03-201-80/+80
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: made variables configurable.nobu2002-03-203-15/+161
| | | | | | | | | | | | | | * win32/Makefile.sub (config.h): updates RUBY_PLATFORM from Makefile. * win32/Makefile.sub (config.status): ditto. * win32/Makefile.sub (clean): separate ext and local clean up. * win32/Makefile.sub (distclean): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (StartSockets): remove duplicated lines.nobu2002-03-151-3/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/config.status.in: set LIBRUBY_SO.usa2002-02-221-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/resource.rb: Modify copyright in resource script.usa2002-01-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (mypopen): fixed that mypclose() didn't really closeusa2001-11-261-26/+74
| | | | | | | | | | pipe. * win32/win32.c (CreateChild): set STARTF_USESTDHANDLES flag only when some handles are passed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (ruby_setenv): remove USE_WIN32_RTL_ENV block since it'susa2001-11-142-305/+39
| | | | | | | | | obsoleted. * win32/win32.c, win32/win32.h: sort out #if 0 - #endif or others. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (waitpid): fix wait count.usa2001-11-131-5/+5
| | | | | | | * win32/win32.c (poll_child_status): rename from wait_child(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (mypopen): return error status instead of callingusa2001-11-131-5/+5
| | | | | | | | | rb_sys_fail(). * win32/win32.c (do_spawn): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (envix): use GET_ENVIRON and FREE_ENVIRON to get environmentusa2001-11-132-429/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variables list. * hash.c (env_keys): ditto. * hash.c (env_each_key): ditto. * hash.c (env_values): ditto. * hash.c (env_keys): ditto. * hash.c (env_each_value): ditto. * hash.c (env_each): ditto. * hash.c (env_inspect): ditto. * hash.c (env_to_a): ditto. * hash.c (env_size): ditto. * hash.c (env_empty_p): ditto. * hash.c (env_has_value): ditto. * hash.c (env_index): ditto. * hash.c (env_to_hash): ditto. * win32/win32.c (win32_getenv): use static buffer. * win32/win32.c, win32/win32.h (win32_get_environ): get environment variables list. [new] * win32/win32.c, win32/win32.h (win32_free_environ): free environment variables list. [new] * win32/win32.c (do_spawn): use CreateChild() instead of calling CreateProcess() directly. Original patches comes from Patrick Cheng. * win32/win32.c (mypopen): ditto. * win32/win32.c (mypclose): use rb_syswait() instead of waiting in this function. * win32/win32.c (waitpid): use wait_child() instead of _cwait(). * win32/win32.c (CreateChild): added. [new] * win32/win32.c (wait_child): added. [new] * win32/win32.c (FindFirstChildSlot): added. [new] * win32/win32.c (FindChildSlot): added. [new] * win32/win32.c (FindPipedChildSlot): added. [new] * win32/win32.c (CloseChildHandle): added. [new] * win32/win32.c (FindFreeChildSlot): added. [new] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/config.status.in: make CFLAGS same as Makefile's one.usa2001-11-091-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb: follow the change of rb_io_puts().usa2001-10-301-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (isInternalCmd): check return value of NtMakeCmdVector ↵usa2001-09-251-12/+14
| | | | | | (Tietew <tietew@tietew.net>'s patch). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_strerror): fix a bug that sometimes made null message onusa2001-08-241-1/+2
| | | | | | | | | win32 (Tietew <tietew@tietew.net>'s patch). * win32/win32.c (mystrerror): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (NtCmdGlob): avoid VC++ warning.usa2001-08-151-1/+1
| | | | | | | * lib/mkmf.rb: add -I$(srcdir) to CPPFLAGS. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h: fix problems with BC++ (ruby-bugs#PR161).usa2001-08-071-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in: Use -F and -T for mswin32 because cl.exe doesn't support ↵usa2001-06-092-23/+63
| | | | | | | | | | | -o officially and cl.exe considers that *.cc and *.cxx are OBJs. * lib/mkmf.rb: ditto. * win32/Makefile.sub: Use del instead of rm. All these changes are derived from Nobuyoshi Nakada's patch. Thanks. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/dir.h: re-add.usa2001-05-301-0/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e