Граф коммитов

664 Коммитов

Автор SHA1 Сообщение Дата
usa 56e69d7109 * win32/win32.c (readdir_internal): free old temporary filename.
[ruby-core:24820]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-12 05:16:56 +00:00
usa f00babd1a6 * win32/win32.c (has_redirection): need to execute shell if commandline
includes newline.  cf. [ruby-core:24560]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-04 13:13:17 +00:00
usa fe038100d9 * win32/win32.c (rb_w32_connect): return value was broken when some
error occurred.
	  [ruby-core:24234]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-03 07:30:19 +00:00
usa 87487a8c8a * win32/win32.c (rb_w32_{open,wopen}): fixed typos. these conditions
mean to call runtime's open() if textmode.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-23 05:36:57 +00:00
usa 681dce6bfe * win32/win32.c (WSABUF): get rid of compile error on VC9 and mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-22 01:01:27 +00:00
usa 9dd0d27156 * win32/win32.[ch] (recvmsg, sendmsg): new functions to support recvmsg/
sendmsg like UNIX. these functions are experimental and not tested
	  well. bug reports are welcome.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 04:38:20 +00:00
usa 3f0308dbf1 * win32/Makefile.sub (TEST_RUNNABLE): follow r24209.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-21 04:35:56 +00:00
usa dc1327a6f2 * win32/Makefile.sub (LIBPATHFLAG): path is already quoted in mkmf.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-15 07:30:42 +00:00
usa 62c885753c * win32/resource.rb: CONFIG["TEENY"] is not ruby's version but API's
one.  So need to use RUBY_VERSION instead.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-24 07:09:40 +00:00
usa a560aa5620 * win32/mkexports.rb: rbconfig.rb exists on ".".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-24 07:07:59 +00:00
nobu a5488474c2 * Makefile.in, win32/Makefile.sub (RMALL): need for distclean-rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-09 01:58:51 +00:00
yugui 8875ffc412 * configure.in ($ridir): new configuration. [ruby-core:23520].
c.f. [ruby-core:23519].

  (--with-ridir): new configure option.

* tool/instruby.rb (:doc, :rdoc): uses $ridir instead of
  a fixed path.

* lib/rdoc/ri/paths.rb: follows $ridir.

* Makefile.in: removes RIDATADIR which is no longer used.

* bcc32/Makefile.sub: generates the 'ridir' entry for RbConfig.
  removes RIDATADIR which is no longer used.

* win32/Makefile.sub: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-23 16:07:46 +00:00
yugui a654e0b57b * instruby.rb: moved into tool/.
* mkconfig.rb: ditto.

* rubytest.rb: ditto.

* runruby.rb: ditto.

* common.mk: follows the moves.

* configure.in: ditto.

* win32/Makefile.sub: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22 11:48:42 +00:00
nobu d291fd5208 * win32/setup.mak (-version-): r23426.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-17 13:27:53 +00:00
nobu 15fabcb2db * Makefile.in, configure.in, win32/Makefile.sub (RUBY_BASE_NAME):
program base name.  [ruby-dev:38241]

* configure.in (--with-soname): base name of shared library.
  [ruby-dev:38290]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-08 01:14:14 +00:00
nobu b6e82baca5 * win32/Makefile.sub (config.h): updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-01 22:42:29 +00:00
nobu 2c772139b6 * win32/win32.c (rb_w32_spawn): use original command if not found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-23 05:32:26 +00:00
nobu 6a64e9e4ac * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): use NULL as
application name for batch files.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-22 05:51:58 +00:00
nobu 564517840e * win32/win32.c (rb_w32_conv_from_wstr): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-20 23:22:34 +00:00
nobu ba1a12170b * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): omit program name
if actual program path is found.  [ruby-core:22960]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-20 23:17:42 +00:00
nobu 88db4af385 * win32/win32.c (errmap): added ERROR_MOD_NOT_FOUND.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-20 09:25:26 +00:00
nobu 27a39b8ffe * win32/Makefile.sub (config.h): added RUBY_COREDLL.
* ext/dl/handle.c (rb_dlhandle_initialize): returns msvcrt if libc
  or RUBY_COREDLL is given.  [ruby-core:22828]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-17 04:48:03 +00:00
nobu 2bb561ea5f * common.mk (REVISION_H): keeps timestamp of revision.h.
[ruby-core:22900]

* tool/ifchange, win32/ifchange.bat: extended --timestamp option.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-16 03:30:01 +00:00
nobu 40819d4599 * Makefile.in, common.mk, win32/Makefile.sub: added preprocessing rules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-16 00:29:00 +00:00
nobu 28398e91f1 * common.mk (.y.c): use SRC_FILE which contains slashes instead of
backslashes.  [ruby-core:22891]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-15 00:17:21 +00:00
usa 61c216748c * win32/Makefile.sub (WARNFLAGS): warning 4996 is only in VC++8 or
later.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-12 13:31:11 +00:00
nobu c8d40b9a3d * win32/win32.c (init_env): set TMPDIR if none of TMPDIR, TMP,
TEMP is set.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 04:22:38 +00:00
nobu bf065f2e2e * win32/win32.c (rb_w32_telldir, rb_w32_seekdir): should use long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-11 04:16:56 +00:00
nobu 8231655dea * time.c (time_to_i, time_hash): time_t may be bigger than long
and int.

* time.c (time_timeval, rb_time_timeval, obj2nsec, time_strftime),
  (time_mdump, time_mload): suppress warnings.

* win32/Makefile.sub (config.h): added TIMET2NUM and NUM2TIMET.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 19:47:46 +00:00
nobu 0032476a24 * win32/win32.c: suppress warnings. based on a patch from Charlie
Savage at [ruby-core:22804].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 19:29:51 +00:00
nobu c26d21bf71 * win32/Makefile.sub (WARNFLAGS): uses -wd4996 instead of
CRTDEFFLAGS.  cf. [ruby-core:22725]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 11:07:42 +00:00
usa f8147318dd * win32/Makefile.sub (OPTFLAGS): simplified.
forgotten to commit at r22849


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 04:52:29 +00:00
nobu a3e3fcbcd0 * win32/Makefile.sub (LDFLAGS): moved -link to TRY_LINK, LINK_SO
and so on.  based on a patch by Charlie Savage at
  [ruby-core:22794]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 04:45:51 +00:00
nobu 5157e572b8 * win32/Makefile.sub (config.h): passes LDFLAGS to rbconfig.rb so
that extconf.rb could refer it.  [ruby-core:22725]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-10 03:27:54 +00:00
nobu 6ad0626daa * win32/Makefile.sub (LDFLAGS): always prepends -link.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-08 14:02:50 +00:00
nobu 849c996270 * Makefile.in (update-mspec): split from update-rubyspec.
* win32/Makefile.sub (update-{rubyspec,mspec}): added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 09:46:52 +00:00
nobu 2a413f97a4 * configure.in, Makefile.in, win32/Makefile.sub (CHDIR): cd using
phisical directory.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 09:37:31 +00:00
nobu 4965ea4f58 * win32/Makefile.sub (.c.asm): removed $(COUTFLAG).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 07:17:46 +00:00
nobu 6e000d8854 * Makefile.in, win32/Makefile.sub (INSNS): moved variable
definition before rule.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 05:28:42 +00:00
nobu 90b0b8d437 * win32/win32.c (rb_w32_sysinit): initializes version info first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-05 05:52:51 +00:00
nobu b9e0c6ec08 * win32/win32.c (Win32System, Win32Version): moved before get_version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-05 04:38:23 +00:00
nobu f4259225d5 * win32/win32.c (rb_w32_osid): always define for binary compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-05 04:21:47 +00:00
nobu 11075c9332 * win32/Makefile.sub (make_insns_rules): rule to make rules for insns.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-05 02:52:21 +00:00
nobu a6c117a2b1 * win32/Makefile.sub (miniruby.exe): workaround for a failure of
mt.exe on Windows 7 beta.  [ruby-talk:330284]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-05 02:27:20 +00:00
nobu 00305d36f0 * win32/README.win32 (Requirement): VC++ 5.0 is not supported
already.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-04 15:26:17 +00:00
nobu e7184e7a53 * win32/README.win32 (Requirement): added unicows.lib and dll.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-04 15:06:39 +00:00
nobu d34f9699fc * configure.in, win32/configure.bat (--enable-win95): new option
to enable/disable win95 support.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-04 14:29:58 +00:00
nobu 43ba7d0058 * configure.in (mingw): checks if unicows.lib is available.
* win32/Makefile.sub (LIBS): links unicows.lib if available.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-04 11:27:12 +00:00
nobu 6e7d7bf5dd * include/ruby/win32.h (WIN95): moved to config.h
* win32/Makefile.sub (config.h): defines WIN95 only if unicows.lib
  is available.

* win32/setup.mak (-unicows-): checks if unicows.lib is available.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-04 10:35:28 +00:00
nobu a8c4a7e44c * win32/win32.c (init_env): keeps wide chars as wide chars.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-02 03:22:14 +00:00