summaryrefslogtreecommitdiff
path: root/win32
AgeCommit message (Collapse)Author
2016-05-29win32.c: RUBY_CRITICALnobu
* win32/win32.c (RUBY_CRITICAL): removed the argument but make just a block which does nothing, so that debuggers can step into the block. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-21* configure.in (ALWAYS_INLINE): force compilers the function inlined.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-11win32: qsort_snobu
* win32/Makefile.sub (HAVE_QSORT_S): disable on VS2012 too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-11* win32/Makefile.sub (HAVE_QSORT_S): use qsort_s only for Visual Studiousa
2012 or later, because VS2010 seems to causes a SEGV in test/ruby/test_enum.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-11util.c: qsort_snobu
* util.c (ruby_qsort): use qsort_s if available, for Microsoft Visual Studio 2005 (msvcr80.dll) and mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-02* win32/win32.c, include/ruby/win32.h (rb_w32_utruncate): implements newusa
truncate alternative which accepts UTF-8 path. * file.c (truncate): use above function. [Bug #12340] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-01* win32/win32.c: drop Win2K support.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-01* cont.c, hash.c, random.c, win32/win32.c: cleanup some Win9x/ME/NT4usa
support leftovers. [fix GH-1328] patched by @cremno git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-29win32/win32.c: remove unnecessary declarationnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-28win32/file.c: fix reallocation thresholdnobu
* win32/file.c (replace_to_long_name): fix reallocation threshold. dereferenced size of a pointer is not same as the buffer size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-28win32/file.c: remove unnecessary codenobu
* win32/file.c (replace_to_long_name): remove unnecessary backward scan for the last directory separator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-24win32.c: suppress warningsnobu
* win32/win32.c (set_pioinfo_extra): remove "/*" within comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-23Support MSVC14 and 15 [Bug #11118]naruse
Search _pioinfo which is not exported after MSVC14. [Bug #12014] [GH-884] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-22* file.c, win32/file.c: Removed obsoleted safe level checks.hsbt
[fix GH-1327] Patch by @cremno git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-10win32/file.c: fix freenobu
* win32/file.c (rb_file_expand_path_internal): should free wpath, but not xfree, corresponding to rb_w32_mbstr_to_wstr which allocates by malloc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-07win32.c: call w32_wopen directlynobu
* win32/win32.c (rb_w32_uopen): call w32_wopen directly instead of variadic rb_w32_wopen. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-08* win32/win32.c (rb_w32_write_console): remove unused variable.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-08* win32/win32.c (rb_w32_write_console): now no need to checkusa
ERROR_CALL_NOT_IMPLEMENTED because it is for old Win9X. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-08* win32/win32.c (rb_w32_write_console): stop the VT100 emulation if theusa
console supports it natively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-07update-rubyspec: show latest commitnobu
* Makefile.in, win32/Makefile.sub (update-mspec, update-rubyspec): ensure the latest commits. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-02win32.c: reuse fullpath buffernobu
* win32/win32.c (open_dir_handle): reuse the fullpath buffer instead of allocating another buffer for copy. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-01win32.c: w32_wopendirnobu
* win32/win32.c (w32_wopendir): remove filename parameter, and check the drive letter in wpath instead. rename from opendir_internal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-01win32.c: volume_prefix_lennobu
* win32/win32.c (rb_w32_read_reparse_point): name the prefix length to be dropped. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-01win32.c: suffix should be alnumnobu
* win32/win32.c (fileattr_to_unixmode): built-in executable suffixes are alpha-numeric only, no needs to scan whole path, especially path separators. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-01win32.c: move counting lengthnobu
* win32/win32.c (opendir_internal): defer counting the length just before the loop where it is used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-29win32/file.c: drop garbagenobu
* win32/file.c (rb_readlink): drop garbage after the substitute name, as rb_w32_read_reparse_point returns the expected buffer size but "\??\" prefix is dropped from the result. * win32/win32.c (w32_readlink): ditto, including NUL-terminator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-29* win32/win32.c (fileattr_to_unixmode, rb_w32_reparse_symlink_p): volumeusa
mount point should be treated as directory, not symlink. [ruby-core:72483] [Bug #11874] * win32/win32.c (rb_w32_read_reparse_point): check the reparse point is a volume mount point or not. * win32/file.c (rb_readlink): follow above change (but this pass won't be used). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-23configure.bat: put a spacenobu
* win32/configure.bat: put a space after replaced string to get rid of something weird sometimes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-22* win32/configure.bat: set svn:eol-style to CRLF.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-22* remove trailing spaces.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-22configure.bat: fix strange gotonobu
* win32/configure.bat: get rid of wrong goto destination by putting something before LF. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-22* properties.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-22configure.bat: set eol-stylenobu
* win32/configure.bat: should be CRLF eol-style. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-22* properties.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-22configure.bat: --with-libdirnobu
* win32/configure.bat: add --with-libdir option for basename of libdir. on Windows it must be placed under exec_prefix always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-19common.mk: update-remotenobu
* common.mk (update-remote): update by downloading remote files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09probes.h including dummy headernobu
* Makefile.in, win32/Makefile.sub (probes.h): include dummy header instead of copying. * common.mk (probes.dmyh): add nmake VPATH prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09fix rc files conflict in parallel buildnobu
* cygwin/GNUmakefile.in (%.rc): generate .rc files separately to get rid of conflict in parallel build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09RUBY_PROGRAM_VERSION from RUBY_VERSIONnobu
* configure.in, win32/setup.mak: extract RUBY_PROGRAM_VERSION from RUBY_VERSION in version.h instead of RUBY_API_VERSION numbers in include/ruby/version.h, and cut it into version numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09RUBY_RELEASE_DATE in verconf.mknobu
* win32/setup.mak (verconf.mk): extract RUBY_RELEASE_DATE without quotation marks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09fix library teenynobu
* configure.in, win32/Makefile.sub: fix teeny of library version to 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09revert r53459, r53427, r53314nobu
Revert "* tool/make-snapshot: fix for the changes of version.h in r53314." Revert "* version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of" Revert "program version from API version" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-25program version from API versionnobu
* configure.in, version.h (RUBY_PROGRAM_VERSION): extract version numbers from API version in include/ruby/version.h except for TEENY, to save matz job next year. * win32/setup.mak (-version-): use program version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-25setup.mak: split release datenobu
* win32/setup.mak (verconf.mk): split release date into year, month, and day. * common.mk (RUBY_RELEASE_DATE): move from Makefile.in to share with win32/setup.mak. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-25setup.mak: follow up r53310nobu
* win32/setup.mak (verconf.mk): no longer appends, and escape dollar. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-25setup.mak: follow up r53303nobu
* win32/setup.mak (verconf.mk): follow up r53303. needs STRINGIZE now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-05Fix cross buildnobu
* tool/fake.rb: Fix cross build when srcdir is an absolute path. * Makefile.in: PREP dependency is needed when cross build too, not "-r$(arch)-fake" to be used before created. [Fix GH-1125] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-01win32.c: fix argument typenobu
* win32/win32.c (dupfd): promote argument type for old VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-01explicit_bzero.c: needs windows.hnobu
* missing/explicit_bzero.c, random.c (explicit_bzero): SecureZeroMemory() needs windows.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-19* win32/win32.c (finish_overlapped_socket): return value of thisusa
function should be only 0 or SOCKET_ERROR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e