aboutsummaryrefslogtreecommitdiffstats
path: root/win32
Commit message (Collapse)AuthorAgeFilesLines
* Makefile.sub: fix mswin buildnobu2013-03-161-0/+2
| | | | | | | * win32/Makefile.sub (config.h): fix mswin build, also VC has time.h and struct timeval. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.sub: __FUNCTION__nobu2013-03-141-0/+3
| | | | | | | * win32/Makefile.sub (config.h): __FUNCTION__ is available at least VC9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Refactor rb_file_expand_path_internal for dir_string corner casesluislavena2013-03-141-25/+44
| | | | | | | | | | * win32/file.c (get_user_from_path): add internal function that retrieves username from supplied path (refactored). * win32/file.c (rb_file_expand_path_internal): refactor expansion of user home to use get_user_from_path and cover dir_string corner cases. [ruby-core:53168] [Bug #8034] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Expand home directory when used in dir_stringluislavena2013-03-101-4/+34
| | | | | | | | * win32/file.c (rb_file_expand_path_internal): Expand home directory when used as second parameter (dir_string). [ruby-core:53168] [Bug #8034] * test/ruby/test_file_exhaustive.rb: add test to verify. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.nobu2013-03-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mswin: static-linked-extnobu2013-03-021-0/+1
| | | | | | | * enc/depend (CPPFLAGS), lib/mkmf.rb (MakeMakefile#create_makefile): define RUBY_EXPORT for static-linked-ext mswin. [Bug #7960] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.sub: MAKEDIRSnobu2013-03-021-0/+1
| | | | | | | | * win32/Makefile.sub (config.status): set MAKEDIRS to use makedirs.bat. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.sub: static-linked-extnobu2013-03-021-0/+8
| | | | | | | | * win32/Makefile.sub (EXTOBJS, EXTOBJS, config.h): definitions for static-linked-ext. [Bug #7960] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: fix typenobu2013-02-281-3/+3
| | | | | | | * win32/win32.c (constat_attr): fix type of attributes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: suppress warningnobu2013-02-281-1/+1
| | | | | | | | * win32/win32.c (set_env_val): get rid of intger overflow warning by VC 11. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: suppress warningsnobu2013-02-271-2/+2
| | | | | | | | * win32/win32.c (set_env_val): reuse size of typedef to suppress unused-local-typedefs warnings from gcc 4.8 and reduce same calculation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: stylenobu2013-02-151-1/+2
| | | | | | | * win32/win32.c (rb_w32_fd_is_text): adjust style. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.sub: sitearchnobu2013-02-111-2/+2
| | | | | | | | * win32/Makefile.sub (config.status): site and vendor directories should use sitearch, not arch. [ruby-dev:46964] [Bug #7823] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: no expansionnobu2013-02-091-0/+2
| | | | | | * common.mk (showconfig): get rid of variable expansion by shell. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.status): added variables which wereusa2013-02-071-0/+11
| | | | | | | missing at r39130. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.sub: rubyarchdir in config.statusnobu2013-02-071-0/+2
| | | | | | | * win32/Makefile.sub (config.status): now rbconfig.rb needs rubyarchdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: missing initializationnobu2013-01-231-2/+2
| | | | | | | | * win32/win32.c (rb_w32_spawn, rb_w32_aspawn_flags): fix missing initialization. pointed out by phasis68 (Heesob Park) at [ruby-core:51579]. [Bug #7721] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: acp_to_wstr results checknobu2013-01-231-8/+16
| | | | | | | | * win32/win32.c (rb_w32_spawn, rb_w32_aspawn_flags): check the results of acp_to_wstr() which can return NULL. [ruby-core:51557] [Bug #7721] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* setup.mak: -runtime-nobu2013-01-122-63/+24
| | | | | | | * win32/setup.mak (-runtime-): see msvcrt from link header on mswin instead of running testing executable file, for cross compiling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* setup.mak: -osname-nobu2013-01-111-8/+11
| | | | | | | * win32/setup.mak (-osname-): separate from -runtime- and just compile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/rm.bat: remove each filesnobu2013-01-111-1/+1
| | | | | | | * win32/rm.bat: removing by wildcard errs on network file system, so remove each files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/setup.mak: remove each filesnobu2013-01-111-1/+1
| | | | | | | * win32/setup.mak (-runtime-): removing by wildcard errs on network file system, so remove each files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in: continue if Makefile unchangednobu2013-01-101-2/+2
| | | | | | | * Makefile.in, win32/Makefile.sub ($(MKFILES)): continue if Makefile unchanged. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/rm.bat: fix infinite loopnobu2013-01-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk (fake, yes-fake, no-make): these dependeciesusa2013-01-071-7/+7
| | | | | | | | | are not platform dependent. * win32/Makefile.sub ($(arch)-fake.rb): workaround. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefie.sub: Fix build with VC.yugui2013-01-061-1/+1
| | | | | | Patch by Charlie Savage. Fixes [ruby-core:51261] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (RBCONFIG): Moved from common.mk in order to use theyugui2013-01-041-0/+1
| | | | | | | | variable in Makefile.in. * win32/Makefie.sub (RBCONFIG): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/{dir.h,win32.c} (rb_w32_readdir): removed old rb_w32_readdir()usa2012-12-212-17/+9
| | | | | | | | | | and renamed from rb_w32_readdir_with_enc(). [ruby-core:24864] [Feature #1927] * dir.c (READDIR): follow above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: each_compile_rulesnobu2012-11-281-1/+1
| | | | | | | * lib/mkmf.rb (MakeMakefile#each_compile_rules): splat $(*VPATH*) for each VPATH elements. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README: mention about README.win32.usa2012-11-261-2/+2
| | | | | | | * win32/README.win32: small changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.sub: fix r37821nobu2012-11-261-0/+1
| | | | | | | * win32/Makefile.sub (DLNOBJ): missing in r37821. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, win32/Makefile.sub (probes.dmyh): now be made in currentusa2012-11-221-2/+7
| | | | | | | (=build) directory if build from the repository. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, Makefile.in, win32/Makefile.sub (.dmyh.h): nmake mergesusa2012-11-221-0/+4
| | | | | | | | | | explicit rules for same target, but not merges exlicit rules and implicit rules -- always explict rules win. So, need to add an explist rule for probes.h. reported by Heesob Park at [Bug #7421] [ruby-core:49839] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_read): Windows 8 fixed one of a bug of consoleusa2012-11-201-1/+1
| | | | | | | | API. based on the patch by Heesob Park at [ruby-core:49479] [Bug #7379] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: no purelibnobu2012-11-191-0/+1
| | | | | | | | | * common.mk (RUBYLIB): purelib option in runruby.rb is deprecated since r28841, so set to an empty list to get rid of a bogus path in child processes, which caused an insecure operation exception in test/ruby/test_encoding.rb:test_unsafe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk (probes.h): moved to common.mk and changed tousa2012-11-191-1/+1
| | | | | | | | | | | see $(srcdir). * common.mk (probes.dmyh): now created it on $(srcdir) always. * win32/Makefile.sub (.SUFFIXES): removed common suffix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Swap logic around wildcard character detectionluislavena2012-11-171-1/+1
| | | | | | | | * win32/file.c (replace_to_long_name): correct logic around wildcard characters detection and ensure wide-chars are used as pattern. [ruby-core:49451] [Bug #7374] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Skip path expansion for all wildcard charactersluislavena2012-11-171-2/+2
| | | | | | | | | | * win32/file.c (replace_to_long_name): skip expansion for all wildcard characters. [ruby-core:49451] [Bug #7374] * test/ruby/test_file_exhaustive.rb: add more assertions to test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* skip long name conversion if last character is a wildcard oneluislavena2012-11-161-0/+5
| | | | | | | | | * win32/file.c (replace_to_long_name): skip automatic path expansion when wildcard character is used. [ruby-core:49451] [Bug #7374] * test/ruby/test_file_exhaustive.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* probes.h: select by suffix rulesnobu2012-11-161-4/+5
| | | | | | | | * Makefile.in, common.mk, configure.in, win32/Makefile.sub (probes.h): select generating with dtrace or copying dummy file by suffix rules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in: probes.hnobu2012-11-161-1/+2
| | | | | | | | * Makefile.in, win32/Makefile.sub (probes.h): fix copying dmyprobes.h path when outplace-build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (dmyprobes.h): always create for make dist.naruse2012-11-131-2/+2
| | | | | | | | * Makefile.in (probes.h): create or copy dmyprobes.h * win32/Makefile.sub: only do copy dmyprobes.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk Makefile.in win32/Makefile.sub (.d.h): it's not common.usa2012-11-131-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/README.win32: added mention about build directory. currentlyusa2012-11-131-0/+4
| | | | | | | | we can not build ruby in win32 directory. this problem is reported by Masahiro Kitajima <katonbo@katontech.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb (each_export): skip garbages generated by VS2012'susa2012-11-121-1/+1
| | | | | | | | nmake. reported and patched by Yoshida Masato at [Bug #7333] [ruby-dev:46484] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (has_redirection): should use shell (cmd.exe) whenusa2012-10-251-0/+1
| | | | | | | | | the commandline containts '&'. reported by Roger Pack at [ruby-core:47912] [Bug #7143], and patched by Heesob Park at [ruby-core:47931]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: Use the non-recursive marking instead of recursion. Thenari2012-10-031-1/+0
| | | | | | | | | | | | | | recursion marking of CRuby needs checking stack overflow and the fail-safe system, but these systems not good at partial points, for example, marking deep tree structures. [ruby-dev:46184] [Feature #7095] * configure.in (GC_MARK_STACKFRAME_WORD): removed. It's used by checking stack overflow of marking. * win32/Makefile.sub (GC_MARK_STACKFRAME_WORD): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/file.c: simplifynobu2012-09-051-2/+2
| | | | | | * win32/file.c (rb_file_expand_path_internal): simplify a condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/file.c: prototype and cosmetic changesnobu2012-09-051-22/+25
| | | | | | | * win32/file.c (home_dir, system_code_page): use prototype, adjust indent, and fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (Makefile): make to depend on common.mk, tousa2012-08-281-1/+1
| | | | | | | stop and force to re-run make process when common.mk is changed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e