summaryrefslogtreecommitdiff
path: root/win32
AgeCommit message (Collapse)Author
2009-01-20* Makefile.in (miniruby): renames and then removes, to get rid ofnobu
EPERM on cygwin and mingw. * Makefile.in ($(LIBRUBY_SO)): use wildcard option of objcopy. * configure.in (DLDFLAGS): do not export all symbols. * cygwin/GNUmakefile.in (RUBYDEF): rejects symbols prefixex with Init_. * win32/mkexports.rb (Exports::Mingw): includes all symbols except for prefixed with Init_ as well as mswin32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-17* configure.in (VCSUP): fixed the cases for git-svn or git.yugui
* win32/Makefile.sub (VCSUP): ditto. * Makefile.in (up): `cd' is necessary for git and git-svn. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-16 * win32/Makefile.sub (up): tell nmake that need to run command viausa
shell. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-16* configure.in (Makefile): set VCS and VCSUP.nobu
* Makefile.in, win32/Makefile.sub (up): split from common.mk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-16 * win32/Makefile.sub ($(INSNS), node_name.inc, known_errors.inc,usa
miniprelude.c, newline.c): if dependencies is newer than targets or targets don't exist, try to create targets with BASERUBY. no need to detect errors there because the absence of BASERUBY is not abnormal. after the try, if the targets still don't exist, copy them from $(srcdir). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-16 * include/ruby/ruby.h (PRI_PTRDIFF_PREFIX): must define as string.usa
if not, cause compile error in using PRI?VALUE. * win32/Makefile.sub (config.h): add SIZEOF_INTPTR_T and SIZEOF_UINTPTR_T for SIZEOF_VALUE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-15 * win32/Makefile.sub ($(INSNS), node_name.inc, known_errors.inc,usa
miniprelude.c, newline.c): shoudn't copy when $(srcdir) != ".", too. (this is a workaround. we need more strict check.) * win32/Makefile.sub ($(INSNS)): shound't remove BASERUBY. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-15 * win32/Makefile.sub (COMPILERFLAG): for enc/trans/gb18030.c.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-15* configure.in, win32/Makefile.sub (MISSING): added langinfo on mingwnobu
and mswin. * encoding.c (rb_locale_charmap): use environments on mingw and mswin. * missing/langinfo.c (nl_langinfo_codeset): MS-Windows Japanese environment uses Windows-31J derived from Shift_JIS, not EUC-JP. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-15 * win32/Makefile.sub ($(INSNS), node_name.inc, known_errors.inc,usa
miniprelude.c, newline.c): copy only when $(srcdir) != pwd. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-14* win32/win32.c (rb_w32_aspawn): should not escape with carretnobu
unless using cmd.exe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-13 * include/ruby/intern.h, thread.c, win32/Makefile.sub (rb_fdset_t,usa
rb_fd_init, rb_fd_term, rb_fd_zero, rb_fd_set, rb_fd_clr, rb_fd_isset, rb_fd_select, rb_fd_ptr, rb_fd_max, HAVE_RB_FD_INIT): new type, functions, and macros for Windows. * win32/win32.c (extract_fd, rb_w32_select): use rb_fdset_t to expand fd_array if needed. [ruby-core:19946] * win32/win32.c (copy_fd): new funcion for rb_w32_select(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-12* win32/win32.c (internal_cmd_match): extracted fromnobu
is_internal_cmd. * win32/win32.c (argv_size, join_argv): escapes redirection, pipe and carret punctuations with carrets. * win32/win32.c (rb_w32_aspawn): ditto, and redirections and pipe have no meanings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-12* win32/win32.c (open_dir_handle): extracted from rb_w32_opendir.nobu
* win32/win32.c (winnt_stat): gets rid of strange behavior of GetFileAttributes(). [ruby-core:21269] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05* win32/win32.c (init_env): use user profile folder than personalnobu
folder. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-03 * common.mk, Makefile.in, win32/Makefile.sub (INSNS): move the macrousa
definition from common.mk to {Makefile.in,win32/Makefile.sub}. [ruby-dev:37678] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-02 * common.mk, Makefile.in, win32/Makefile.sub ($(INSNS), node_name.inc,usa
known_errors.inc, miniprelude.c, newline.c): move rules from common.mk to {Makefile.in,win32/Makefile.sub) for nmake. [ruby-core:20993] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-31* Makefile.in (distclean-ext, realclean-ext): use EXTS as default.nobu
* win32/Makefile.sub (distclean-ext, realclean-ext): try to remove ext directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-28* win32/Makefile.sub (config.h): do not use snprintf/vsnprintf innobu
msvcrt. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-27 * win32/win32.c (rb_w32_argv_size): if an argument is empty, it's sizeusa
is 2, not 0, because it will be converted to "". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-23* win32/win32.c (rb_w32_spawn): deals with quoted commands.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-23 * win32/win32.c (rb_w32_spawn): support normal commands with arguments.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-22* cygwin/GNUmakefile.in (rubydll.def), win32/mkexports.rbnobu
(Exports#exports): added VERSION. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-22* configure.in (mingw): no longer uses snprintf and vsnprintf ofnobu
msvcrt. * win32/win32.c (rb_w32_vsnprintf, rb_w32_snprintf): removed. * win32/Makefile.sub (config.h): vsnprintf exists in VC7 or later. * win32/mkexports.rb (Exports#initialize): aliases rb_w32_vsnprintf and rb_w32_snprintf for binary compatibility. * sprintf.c (rb_str_format): uses snprintf instead of sprintf. * numeric.c (flo_to_s, rb_num2long, rb_num2ll): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-20* dln.c (dln_find_1): supplements an extension for executablenobu
files on DOSish platforms. * io.c (pipe_open): use rb_w32_aspawn() for array form. * win32/win32.c (rb_w32_pipe_exec): no longer used. * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): deals with batch files and commands with extensions. [ruby-core:20695] * win32/win32.c (has_redirection): supports environment variables references. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-15 * win32/Makefile.sub (config.h): define CANONICALIZATION_FOR_MATHNusa
to follow r20683. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-05 * win32/win32.c (rb_w32_read, rb_w32_write, rb_w32_isatty): checkusa
whether fd is valid. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 * win32/win32.c (rb_w32_read): ERROR_BROKEN_PIPE is not a real errorusa
at this point. * io.c (pipe_open): use rb_w32_spawn() instead of rb_w32_pipe_exec() to use our own redirection scheme. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04 * win32/win32.c (waitpid): fix bug of checking child slot.usa
* win32/win32.c (FindChildSlotByHandle): new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 * win32/win32.c (rb_w32_accept): secure fd before accept because ifusa
error causes in securing, cannot restore the state of accepted socket. fixed [ruby-core:19728] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 * win32/win32.c (ifs_open_socket): should retry without proto_bufferusa
if cannot find the suitable protocol. a patch from Heesob Park. fixed [ruby-core:19713] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-02win32/Makefile.sub: add RUNRUBYOPT. [ruby-dev:37009]suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-29 * win32/win32.c (rb_w32_open): shouldn't seek here.usa
* win32/win32.c (rb_w32_write): write to the end of the file when FAPPEND is specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-28 * win32/win32.c (rb_w32_open): need to seek to the end of the file whenusa
O_APPEND is specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-28 * win32/win32.c (rb_w32_pipe_exec): internal fds should be alwaysusa
binmode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-28 * win32/Makefile.sub (RUNRUBY): now ruby requires something fromusa
gem_prelude, so need to set library path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-26* thread.c (blocking_region_{begin,end}): declared as inline.nobu
* util.c (freedtoa): used only when MULTIPLE_THREADS is not defined. * win32/win32.c (rb_w32_pipe): serial is DWORD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24* configure.in (sitedir): considers --program-prefix andyugui
--program-suffix. (vendordir): ditto. (rubyhdrdir): ditto. * mkconfig.rb (CONFIG["rubylibdir"]): ditto. * win32/Makefile.sub: ditto. * instruby.rb (:rdoc): ditto. * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17* common.mk (ID_H_TARGET): phony target to update id.h.nobu
* tool/ifchange, win32/ifchange.bat: --timestamp option added. * tool/generic_erb.rb: --timestamp, --output and --if-change options added. * template/id.h.tmpl: moved from id.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-04* dln.c: Ruby no longer supports Windows CE.yugui
* eval.c: ditto. * include/ruby/defines.h: ditto. * include/ruby/win32.h: ditto. * ruby.c: ditto. * strftime.c: ditto. * win32/Makefile.sub: ditto. * win32/win32.c: ditto. * ext/tk/extconf.rb: ditto. * lib/fileutils.rb: ditto. * test/fileutils/test_fileutils.rb: ditto. * wince/*: removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-03 * win32/{configure.bat,setup.mak,Makefile.sub): add --program-prefixusa
configure option support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-23 * win32/win32.c (subtruct): check tv_sec. reported by ko1.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-08 * win32/win32.c (getppid): typo. [ruby-dev:36202]usa
* process.c (get_ppid): mention the return value on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-08 * win32/Makefile.sub (config.h): define SIZE_MAX for VC++6/7.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-08 * win32/win32.c (filetime_to_unixtime): remove unused variable.usa
[ruby-dev:36191] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-03 * win32/win32.c (filetime_to_timeval): new function, split fromusa
gettimeofday(). * win32/win32.c (gettimeofday): use above function. * win32/win32.c (filetime_to_unixtime): ditto. [ruby-dev:36135] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-03* win32/win32.c: fix ruby/signal.h depending codes.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 * win32/Makefile.sub (COMPILERFLAG): new compiler flag to compileusa
enc/trans/japanese*.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 * win32/Makefile.sub (miniruby): new target.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-02 * win32/win32.c (gettimeofday): easier calculation. use the definitionusa
of the Gregorian calender. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e