aboutsummaryrefslogtreecommitdiffstats
path: root/win32
Commit message (Collapse)AuthorAgeFilesLines
* * {bcc32,win32,wince}/Makefile.sub (config.status): shouldn't useusa2006-10-061-3/+0
| | | | | | | copy command instead of install. use -run install. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, ext/extmk.rb, win{32,ce}/Makefile.in: keepnobu2006-10-011-0/+1
| | | | | | | LIBRUBY_SO unless need to be removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (CPP): check predefined value.usa2006-09-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/Makefile.sub (INSTALLED_LIST): need to defineusa2006-09-201-1/+3
| | | | | | | this macro to install. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, win32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.nobu2006-09-083-11/+8
| | | | | | | | | | * mkconfig.rb, ext/extmk.rb, lib/mkmf.rb, win32/mkexports.rb: suppress warnings with $VERBOSE. * win32/resource.rb: only file which has more than one icon is DLL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): follow Array#to_s.usa2006-09-081-1/+1
| | | | | | | | | * lib/mkmf.rb (create_makefile): ditto. * win32/resource.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub, win32/configure.bat win32/setup.mak: programnobu2006-09-083-4/+19
| | | | | | | name transform. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Win32API/Win32API.c (Win32API_initialize): use RSTRING_PTR andusa2006-08-311-1/+1
| | | | | | | | | | | | | | | RSTRING_LEN. * ext/tk/stubs.c, ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: ditto. * ext/win32ole/win32ole.c (ole_val2olevariantdata): ditto. * lib/mkmf.rb (create_makefile): follow nil.to_s. * win32/resource.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, bcc32/Makefile.sub, win32/Makefile.sub, win32/dir.h,nobu2006-08-124-21/+228
| | | | | | | win32/win32.c, win32/win32.h: large file support for win32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (exit_handler): new function; release winsock andusa2006-07-311-19/+30
| | | | | | | | | | | | | | | | | environment work area. * win32/win32.c (NTInitialize): setup exit_handler. * win32/win32.c (StartSockets): use exit_handler. exit handler. * win32/win32.c (rb_w32_getenv): use GetEnvironmentStrings() instead of GetEnvironmentVariable(), because the latter cannot distinguish wheather a null environment variable exists or not. fixed: [ruby-talk:205123] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (open_ifs_socket): should not use plain malloc.usa2006-07-181-1/+5
| | | | | | | * win32/win32.c (rb_w32_opendir): should not use plain realloc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): define FUNC_STDCALL/FUNC_CDECL.usa2006-07-071-0/+2
| | | | | | | from [ruby-dev:28970]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h: define isascii on MinGW for msvcrt compatibility.eban2006-06-271-0/+2
| | | | | | | | * configure.in: set ac_cv_header_sys_time_h=no on MinGW for msvcrt compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h (write): not need to define on bcc.usa2006-06-111-1/+0
| | | | | | | * ChangeLog: fixed typo :) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.[ch] (rb_w32_read, rb_w32_write): new functions.usa2006-06-082-0/+28
| | | | | | | use recv() and send() when fd is socket. fixed: [ruby-dev:28694] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (errmap): add some winsock errors.usa2006-06-071-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_cmdvector): backslashes inside single-quotesnobu2006-06-011-2/+2
| | | | | | | no longer has special meanings. fixed: [ruby-list:42311] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_getcwd): runtime's getcwd() will not successusa2006-06-011-19/+30
| | | | | | | | if the length of the cwd is longer than MAX_PATH. fixed [ruby-list:42335] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_getcwd): set errno if not set.usa2006-06-011-0/+7
| | | | | | | fixed [ruby-list:42346] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h, lib/mkmf.rb (create_header): clear command line options fornobu2006-05-251-2/+2
| | | | | | | | | | | | | | | macros moved to extconf.h. * ext/extmk.rb (extract_makefile, extmk): made RUBY_EXTCONF_H and EXTSTATIC permanent. * ext/{dbm,digest/*,socket,zlib}/extconf.rb: used $defs and $INCFLAGS. * {bcc32,win32,wince}/Makefile.sub (COMPILE_C, COMPILE_CXX): added $(INCFLAGS). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: merge multiple entries to an entry with multiple lines.nobu2006-05-242-2/+26
| | | | | | | | | | | * lib/mkmf.rb: allow a series of commands to link. * win32/Makefile.sub: embed manifests. * win32/setup.mak: suffix OS name by runtime version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (filetime_to_unixtime): should set tm_isdst to -1.ocean2006-03-021-0/+1
| | | | | | | | stat() didn't treat daylight saving time property on WinNT. [ruby-talk:182100] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (NtInitialize): need to set a handler for VC++8.usa2006-02-241-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: generate RbConfig instead of Config.akr2006-02-202-3/+3
| | | | | | | | | | | | | | | * instruby.rb, rubytest.rb, runruby.rb, bcc32/Makefile.sub, ext/extmk.rb, ext/dl/extconf.rb, ext/iconv/charset_alias.rb, lib/mkmf.rb, lib/rdoc/ri/ri_paths.rb, lib/webrick/httpservlet/cgihandler.rb, test/dbm/test_dbm.rb, test/gdbm/test_gdbm.rb, test/ruby/envutil.rb, test/soap/calc/test_calc_cgi.rb, test/soap/header/test_authheader_cgi.rb, test/soap/ssl/test_ssl.rb, win32/mkexports.rb, win32/resource.rb: Use RbConfig instead of Config. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_utime): drop read-only attribute beforeusa2006-02-141-0/+5
| | | | | | | changing file time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): should define HAVE_LONG_LONG withusa2006-02-141-0/+3
| | | | | | | VC++8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (search_time_t): support non 32bit time_t environments.usa2006-02-141-0/+8
| | | | | | | | | * win32/Makefile.sub (config.h): VC++8 have ``long long'' type. * win32/Makefile.sub (config.h): VC++8's time_t is 64bit value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (LK_ERR): ERROR_NOT_LOCKED is not an error.usa2006-02-041-1/+14
| | | | | | | In such situation, flock() should return 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak (MAKE): workaround for nmake 8.usa2006-01-171-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: invoke .bat via shell. workaround for nmake 8.usa2006-01-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (OPTFLAGS): I have experienced trouble on y- flag,ocean2006-01-091-0/+4
| | | | | | | | | | (VisualC++6) so use -O2b2xg- if $(MSC_VER) < 1400. [ruby-core:7040] * lib/webrick/httpservlet/filehandler.rb: fixed typo. (Kero van Gelder) [ruby-core:7075] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_seekdir): should not segfault even if passedocean2006-01-012-19/+31
| | | | | | | | | | | | the location which rb_w32_telldir didn't return. (and should change `bits' position) [ruby-core:7035] * win32/dir.h: ditto. (stores `loc' instead of `bitpos') * test/ruby/test_dir.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: VC++8 support.nobu2005-12-301-2/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_strerror): remove all CR and LF. (avoid brokenocean2005-11-281-3/+3
| | | | | | | error message on bccwin32 + winsock) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (test_identical): test if two files are identical.nobu2005-11-222-22/+21
| | | | | | | | | | * file.c (rb_f_test): support DOSISH systems where st_ino is not reliable. fixed: [ruby-core:06672] * win32.h, win32.c (rb_w32_osid): check the running platform. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (winnt_stat): set mapped errno instead of ENOENT.ocean2005-11-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_stat): Dir.chdir('//server/shared');ocean2005-11-221-1/+106
| | | | | | | | p Dir.glob('*') should work on WinNT. (implemented our own stat(2) on WinNT) [ruby-list:41552] [ruby-dev:27711] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mk: findstr doesn't exist on win9x.ocean2005-11-211-2/+2
| | | | | | | fixed: [ruby-dev:27756] (written by nobu) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h (S_IFIFO): r,w = IO.pipe; r.stat.pipe? nowocean2005-11-181-0/+4
| | | | | | | returns true on VisualC++6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, cygwin/GNUmakefile.in (mingw): use def file to aliasnobu2005-11-053-160/+220
| | | | | | | | | | | | symbols. [ruby-dev:27532] * bcc32/mkexports.rb, win32/mkexports.rb: make aliases in DLL. * win32/win32.c, win32/win32.h: replace symbols only when RUBY_EXPORT is defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_EXTERN): macro to export symbols in sharednobu2005-10-251-0/+1
| | | | | | | | | | | | library. [ruby-core:05528] * defines.h, {bcc32,win32,wince}/Makefile.sub (RUBY_EXTERN): moved to configuration pass. * ext/extmk.rb (extmake): RUBY_EXTERN for static linked extensions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/depend, ext/dl/extconf.rb, ext/socket/depend,usa2005-10-181-1/+1
| | | | | | | | | | ext/socket/extconf.rb: shouldn't define DESTCLEANFILES in depend, use $distcleanfiles in extconf.rb. * win32/Makefile.sub (distclean-local): should remove .config.h.time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: fixup configure_args for mswin32 configure.usa2005-10-171-2/+2
| | | | | | | * win32/configure.bat (srcdir, target): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat: remove unnecessary line which preventsusa2005-10-151-1/+0
| | | | | | | creating Makefile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (MKFILES): update MKFILES if configure files getnobu2005-10-143-3/+57
| | | | | | | | | | changed. * win32/configure.bat, win32/setup.mak (configure_args): store arguments to configure files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (ioctl): should set errno.usa2005-10-141-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (do_select, rb_w32_select): brush up.usa2005-10-011-48/+71
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_select): documented problem.ocean2005-09-171-6/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_select): fixed deadlock bug.ocean2005-09-171-33/+37
| | | | | | | | because select(2) modifies its fd_set arguments, it must be restored sometimes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_select): I hope performance problem wasocean2005-09-171-8/+24
| | | | | | | solved. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e