aboutsummaryrefslogtreecommitdiffstats
path: root/win32
Commit message (Collapse)AuthorAgeFilesLines
* * win32/setup.mak: commit miss.usa2007-10-311-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat, setup.mak: now can recognize OS even ifusa2007-10-313-18/+40
| | | | | | | | | | the ``--target'' option of configure is omitted. * win32/README.win32: update the descriptions about compiler. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb: deal with __fastcall name decorations.nobu2007-10-131-3/+3
| | | | | | | [ruby-list:44111] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc,win}32/mkexports.rb: explicit data. [ruby-list:44108]nobu2007-10-131-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (COMMON_MACROS): workaround for old SDK's bug.usa2007-10-111-1/+1
| | | | | | | | [ruby-core:12584] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub (VPATH): add enc directory.nobu2007-10-101-1/+3
| | | | | | | | | * common.mk (ENCOBJS): encoding objects. * enc: directory for encodings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_env): refactoring. remove unused code.usa2007-10-021-13/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * main.c (main): use platform-independent per-process initialization.nobu2007-09-292-1/+2
| | | | | | | | | | | | | | | | [ruby-dev:31900] * ruby.c (ruby_sysinit): new function for per-process initialization. * include/ruby/ruby.h (RUBY_GLOBAL_SETUP): toplevel setup declaration. * include/ruby/win32.h, win32/mkexports.rb: alias NtInitialize ruby_sysinit. * win32/win32.c (rb_w32_sysinit): renamed from NtInitialize. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/REAMDE.win32: follow recent changes.usa2007-09-271-7/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13537 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/trunk@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/trunk@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/trunk@12827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cfunc.c (rb_dlcfunc_call): adjust format. [ruby-dev:31222]nobu2007-07-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ext/digest/digest.c (rb_digest_instance_update, 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] * include/ruby/win32.h (rb_w32_getcwd): prototype added. [ruby-dev:31232] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12799 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/trunk@12758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: define FUNC_FASTCALL macro.ko12007-06-281-0/+1
| | | | | | | | | * vm.h: fix to use FUNC_FASTCALL macro. TODO: add FUNC_FASTCALL macro by configure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: remove unused functions.usa2007-06-271-54/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h, win32/Makefile.sub, win32/configure.bat,usa2007-06-275-26/+55
| | | | | | | | | win32/mkexports.rb, win32/setup.mak, win32/win32.c: import x64-mswin64 port. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): rubyhdrdir was missing.nobu2007-06-101-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, win32/Makefile.sub (XCFLAGS): -I. is needed for *.inc.nobu2007-06-101-1/+1
| | | | | | | * ext/extmk.rb (parse_args): add also topdir to mflags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby: moved public headers.nobu2007-06-104-551/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {win32,wince}/Makefile.sub: add lex.c rule.usa2007-06-081-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_opendir): removed duplicated code.nobu2007-05-291-23/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_opendir, rb_w32_readdir): eliminate magicnobu2007-05-291-11/+15
| | | | | | | numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12399 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/trunk@12282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (NtInitialize, exit_handler): add initializing andusa2007-04-251-48/+36
| | | | | | | | | | | | | | cleanup of critical section object for select. * win32/win32.c (do_select): block reentrance. * win32/win32.c (rb_w32_select): 0 sec polling of socket. this is workaround because winsock cannot do select at same socket at the same time by two or more threads. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.[ch] (rb_w32_enter_critical, rb_w32_leave_critical): nousa2007-04-112-52/+0
| | | | | | | | | | | | need to reject reentrance. removed. * rubysig.h (RUBY_CRITICAL): follow above changes. * rubysig.h (TRAP_BEG, TRAP_END): no need to save errno. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_fclose, rb_w32_close): need to save errnousa2007-04-101-0/+4
| | | | | | | | before calling original fclose()/close(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (do_select): use ubf_select() as UBF on windows.usa2007-04-091-7/+0
| | | | | | | | | * win32/win32.c (do_select): shouldn't call catch_interrupt() here. fixed: [ruby-dev:30674], reported by wanabe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_cmdvector): fixed buffer size. reported byusa2007-03-301-10/+5
| | | | | | | | | | | wanabe [ruby-dev:30672] * win32/win32.c (init_env, insert, rb_w32_get_environ): use strdup instead of malloc + strlcpy. suggested by nobu [ruby-dev:30673] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_env, insert, cmdglob, rb_w32_cmdvector,usa2007-03-231-47/+44
| | | | | | | | | | | | | rb_w32_opendir, rb_w32_readdir, rb_w32_strerror, rb_w32_stati64, rb_w32_get_environ): use strlcpy() and strlcat(). * win32/win32.c (rb_w32_opendir): use realloc() instead of xrealloc(). * win32/win32.c (rb_w32_closedir): check NULL before free pointers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (LIBS): remove an unnecessary library.usa2007-03-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/{strlcat,strlcpy}.c, missing.h: new functions.usa2007-03-191-2/+2
| | | | | | | | | | | * LEGAL: add copyright notice about above files. * configure.in: check whether strlcat and strlcpy are exist or not. * {bcc32,win32,wince}/Makefile.sub: use above files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/dir.h, win32/win32.c (rb_w32_opendir, rb_w32_readdir,usa2007-03-172-9/+15
| | | | | | | rb_w32_closedir): get rid of possible buffer-overflows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex), win32/win32.c (rb_w32_utime): fixednobu2007-03-041-6/+6
| | | | | | | indentation broken at YARV merger. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, configure.in, */Makefile.sub (THREAD_MODEL): systemnobu2007-02-281-0/+1
| | | | | | | | | specific thread model. * compile.h, regint.h, vm.h, array.c: removed unnecessary #include. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: enable -Zi (debug) option.ko12007-02-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c, gc.c, io.c, ruby.h, rubyio.h, win32/win32.h (rb_io_t):nobu2007-02-241-3/+0
| | | | | | | | | | | renamed from OpenFile. * ext/dl/cptr.c, ext/io/wait/wait.c, ext/openssl/ossl.h, ext/openssl/ossl_bio.c, ext/openssl/ossl_ssl.c, ext/pty/pty.c, ext/readline/readline.c, ext/socket/socket.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_thread_flock, rb_file_flock): use UBF feature.nobu2007-02-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_waitpid_blocking, rb_waitpid): use UBF feature.nobu2007-02-241-2/+2
| | | | | | | | | | | * thread_win32.ci (rb_w32_wait_events_blocking): blocking version. * win32/win32.c (waitpid): use rb_w32_wait_events_blocking(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (StartSocket): remove unnecessary code.usa2007-02-241-9/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_polling): check interrupts here.usa2007-02-232-119/+6
| | | | | | | | | | | | | | | * thread_win32.ci (w32_wait_events): rename from w32_wait_event(), and now receive multiple event handles. * win32/win32.c (wait_events, rb_w32_main_context): removed. * thread_win32.ci (rb_w32_wait_events): new function. * thread_win32.ci, win32/win32.c (rb_w32_sleep, rb_w32_Sleep): move from win32/win32.c to thread_win32.ci, and use w32_wait_events(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (set_pioinfo_extra): simplified.usa2007-02-231-39/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (pid_t, uid_t, gid_t): check if defined.nobu2007-02-182-5/+5
| | | | | | | | | | | * intern.h, process.c, rubyio.h, ext/etc/etc.c, ext/pty/pty.c: use rb_{pid,uid,gid}_t instead of plain int. [ruby-dev:30376] * ext/etc/extconf.rb (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM, NUM2GIDT): moved to configure.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (get_pioinfo_extra): new function for VC++8 SP1usa2007-02-152-2/+52
| | | | | | | | | workaround. [ruby-core:10259] * win32/win32.c (NtInitialize): call above function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: change stack limit to 2MB from 32MB.ko12007-02-141-1/+1
| | | | | | | | * win32/Makefile.sub: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h: prepare rb_last_status_get() and rb_last_status_set().ko12007-02-051-3/+1
| | | | | | | | | | | | Use these functions instead of rb_last_status ([ruby-dev:30264]). * process.c: define above functions. * ext/pty/pty.c: use above functins. * io.c (pipe_finalize): ditto. * process.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub, common.mk (vmasm): generalized.nobu2007-02-021-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, configure.in, */{Makefile.sub, configure.bat,usa2007-01-233-0/+14
| | | | | | | setup.mak}: add --with-baseruby configure option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Merge YARVko12006-12-311-15/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 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/trunk@11411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e