aboutsummaryrefslogtreecommitdiffstats
path: root/win32
Commit message (Collapse)AuthorAgeFilesLines
* Merge from ruby_1_8.knu2008-05-291-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge from ruby_1_8.knu2008-05-191-10/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge -r16241:16456 from ruby_1_8.knu2008-05-182-55/+226
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rubyio.h (rb_io_t): renamed from OpenFile.nobu2008-04-151-3/+0
| | | | | | | | | | | * ruby.h (struct RHash), file.c, gc.c, io.c, ext/dl/dl.c, ext/io/wait/wait.c, ext/pty/pty.c, ext/readline/readline.c, ext/socket/socket.c: ditto. * win32/win32.h: removed workaround for OpenFile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc,win}32/Makefile (config.h): need to define RUBY_SETJMP, etc.nobu2008-04-011-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_cmdvector): terminate shrunken command line.nobu2008-03-111-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (clean-local): removes MINOBJS.nobu2008-03-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32}/Makefile.sub (RUNRUBY): use $(PROGRAM) instead ofusa2008-03-061-1/+1
| | | | | | | | | | ruby$(EXEEXT). suggested by KIMURA Koichi <kimura.koichi at canon.co.jp>. [ruby-dev:34000] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, {bcc,win}32/Makefile.sub (clean-local): removenobu2008-02-241-1/+1
| | | | | | | intermediate files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_map_errno): exported.nobu2008-02-202-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak ($(ARCH)): if a macro is appended by $(APPEND),usa2008-01-222-10/+11
| | | | | | | | | | | a space will be inserted on the top of the line. * win32/Makefile.sub (MKFILES): stop make process if Makefile is updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak: strip out empty lines from CPP output.nobu2008-01-151-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_open_osfhandle): reverted to old definition.nobu2008-01-101-1/+1
| | | | | | | [ ruby-Bugs-16948 ] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win{32,ce}/Makefile.sub: merged.nobu2008-01-081-26/+164
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32.h: only VC6 needs extern "C++" for math.h. [ruby-talk:285660]nobu2008-01-031-8/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * trunk/common.mk: not use -I$(srcdir)/lib with $(MINIRUBY) for crossnobu2007-12-301-1/+1
| | | | | | | | | | compiling. * configure.in, {win,bcc}32/Makefile.sub (MINIRUBY): -I$(srcdir)/lib moved. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win{32,ce}/Makefile.sub (MFLAGS): defaulted to -l.nobu2007-12-241-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: should not pass MAKEFLAGS to recursive make.nobu2007-12-241-1/+1
| | | | | | | | | | | | | | | | | + normal make: MFLAGS are set and command line options and macros are all passed silently. + GNU make: ditto, and all options and macros in MAKEFLAGS are in effect. + nmake: MFLAGS is not set and MAKEFLAGS has only options without hyphen, no macros exist in any variables. + Borland make: ditto, and command line macros cannot override macros in makefile, so passing them is vain. * {bcc32,win{32,ce}}/Makefile.sub (SET_MAKE): set MFLAGS which is not set by default, to get rid of chaotic situation of MFLAGS/MAKEFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb: deal with __fastcall name decorations.nobu2007-10-131-2/+3
| | | | | | | [ruby-list:44111] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc,win}32/mkexports.rb: explicit data. [ruby-list:44108]nobu2007-10-131-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32}/Makefile.sub (COMMON_MACROS): workaround for old SDK'susa2007-10-111-1/+1
| | | | | | | | bug. [ruby-core:12584] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (make_cmdvector): adjust escaped successiveusa2007-10-021-27/+24
| | | | | | | double-quote handling. (merge from trunk) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_env): initialize HOME and USER environmentusa2007-10-022-22/+64
| | | | | | | | | | | | variables unless set. [ruby-core:12328] (merge from trunk) * win32/win32.c (NtInitialize, getlogin): ditto. * configure.in, win32/Makefile.sub (LIBS): need to link shell32 library for SH* functions on mswin32 and mingw32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@13601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/{Makefile.sub,configure.bat,setup.mak: configure_argsnobu2007-07-211-1/+1
| | | | | | | | | | | | support. * bcc32/setup.mak: check runtime version. * win32/win32.c (rb_w32_open_osfhandle): prototype has changed in bcc 5.82. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {win32,wince,bcc32}/setup.mak (-version-): no RUBY_EXTERN magic.nobu2007-07-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/resource.rb: include patchlevel number.nobu2007-07-211-3/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (rb_digest_instance_update,nobu2007-07-152-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | rb_digest_instance_finish, rb_digest_instance_reset, rb_digest_instance_block_length): %s in rb_raise() expects char*. [ruby-dev:31222] * ext/openssl/ossl.h: include ossl_pkcs5.h. [ruby-dev:31231] * ext/openssl/ossl_pkcs5.h: new file for PKCS5. [ruby-dev:31231] * ext/openssl/ossl_x509name.c (ossl_x509name_to_s): use ossl_raise() instead of rb_raise(). [ruby-dev:31222] * ext/sdbm/_sdbm.c: DOSISH platforms need io.h. [ruby-dev:31232] * ext/syck/syck.h: include stdlib.h for malloc() and free(). [ruby-dev:31232] * ext/syck/syck.h (syck_parser_set_input_type): prototype added. [ruby-dev:31231] * win32/win32.c: include mbstring.h for _mbspbrk(). [ruby-dev:31232] * win32.h (rb_w32_getcwd): prototype added. [ruby-dev:31232] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (CreateChild): enclose command line except fornobu2007-07-131-10/+19
| | | | | | | command.com which can not handle quotes. [ruby-talk:258939] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_opendir): store attributes of the secondnobu2007-05-291-32/+27
| | | | | | | | | | entries or later too. * win32/win32.c (rb_w32_opendir, rb_w32_readdir): eliminate magic numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (move_to_next_entry): loc also must move forward.nobu2007-05-181-0/+1
| | | | | | | | [ruby-talk:251987] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb: preserve prefixed underscores for WINAPInobu2007-05-171-1/+1
| | | | | | | | | symbols. * wince/mkconfig_wce.rb, wince/mkexports.rb: obsolete. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_stdhandle): stderr should be without buffering,usa2007-05-151-0/+1
| | | | | | | | but mswin32 use buffering when stderr is not connected to tty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.ci (w32_wait_events): check whether interrupt_event isusa2007-04-101-0/+4
| | | | | | | | | | | valid handle or not. * thread_win32.ci (native_thread_destroy): clear interrupt_event when close it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (set_pioinfo_extra): new function for VC++8 SP1usa2007-02-231-1/+29
| | | | | | | | | workaround. [ruby-core:10259] * win32/win32.c (NtInitialize): call above function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (sighandler): need to tell to be interrupted to mainusa2007-02-232-1/+8
| | | | | | | | | | context when handler is installed. * win32/win32.[ch] (rb_win32_interrupted): new function to listen interrupt. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c, win32/win32.c, win32/dir.h, ruby.h, intern.h: Bringknu2007-02-152-2/+21
| | | | | | | | | encoding aware globbing support in from trunk. Dir.[] and Dir.glob() can now take many patterns in an array. Minor fixes will follow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb, mkconfig.rb, rubytest.rb, bcc32/mkexports.rb, ↵nobu2006-12-212-0/+0
| | | | | | win32/{resource,mkexports}.rb: set executable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): get rid of possible memory leak.nobu2006-10-301-17/+42
| | | | | | | | | * win32/win32.c (cmdglob, rb_w32_cmdvector, rb_w32_opendir, rb_w32_get_environ): not to use GC before initialization. [ruby-core:09024] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_utime): allow NULL to set the current time.nobu2006-10-181-4/+10
| | | | | | | [ruby-talk:219248] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: *OBJS are not needed for extension libraries.nobu2006-10-151-1/+1
| | | | | | | | * {bcc32,wince,win32}/Makefile.sub (config.status): fixed typo, missing comma. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/Makefile.sub (config.status): shouldn't useusa2006-10-101-3/+0
| | | | | | | copy command instead of install. use -run install. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11120 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/branches/ruby_1_8@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/branches/ruby_1_8@11027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32,wince}/Makefile.sub (INSTALLED_LIST): need to defineusa2006-09-201-0/+2
| | | | | | | this macro to install. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, win32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.nobu2006-09-083-12/+12
| | | | | | | | | | * mkconfig.rb, ext/extmk.rb, lib/mkmf.rb, win32/mkexports.rb: suppress warnings with $VERBOSE. * win32/resource.rb: add more info. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10893 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/branches/ruby_1_8@10884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): include winsock2.h instead ofusa2006-08-191-0/+4
| | | | | | | | winsock.h when --with-winsock2 is specified. fixed: [ruby-dev:29296] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h: removed an excess macro. fixed: [ruby-dev:29258]nobu2006-08-161-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_stdhandle): assign standard file handles.nobu2006-08-011-0/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10655 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/branches/ruby_1_8@10651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e