nobu
a5f61654e9
* dir.c (glob_helper): get rid of using String. [ruby-dev:26180]
...
* dir.c (push_braces): should skip balanced braces.
* eval.c (ruby_options), win32/win32.c (NtInitialize): move argument
intialization back. [ruby-dev:26180]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-18 14:39:27 +00:00
usa
3279381758
* win32/win32.c (unixtime_to_filetime): use localtime() instaed of
...
gmtime() when using FileLocalTimeToFileTime().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-17 02:52:43 +00:00
nobu
73cc4a2cd7
* win32/win32.h, {bcc32,win32,wince}/Makefile.sub: moved rb_[ugp]id_t
...
to get rid of redefinition warnings on mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-16 13:22:09 +00:00
ocean
49e9468085
* win32/win32.{h,c}: define rb_{p,g,u}id_t.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15 23:53:17 +00:00
nobu
ab59e8a6cc
* win32/win32.c (unixtime_to_filetime): deal with DST.
...
[ruby-talk:141817]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-15 00:57:49 +00:00
nobu
7862a89c56
* configure.in: Check for the availability of pid_t, gid_t and uid_t and
...
remove AC_TYPE_UID_T. fixed: [ruby-core:04745]
* defines.h: Remove pid_t typedef.
* ruby.h: Define rb_pid_t, rb_gid_t and rb_uid_t in accordance with
the available system types.
* process.c: Change instances of pid_t and gid_t to their rb_*
counterparts.
* ext/pty/pty.c: Change pid_t to rb_pid_t.
* vms/config.h: Define HAVE_{P,G,U}ID_T to 1.
* win32/Makefile.sub: Remove #define for {g,u}id_t.
* win32/win32.c: Change pid_t to rb_pid_t.
* wince/Makefile.sub: Remove #define for {g,u}id_t.
* wince/sys/types.h: Remove definitions of {p,g,u}id_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-14 14:57:53 +00:00
nobu
96afcf2b07
* ext/extmk.rb: keep srcdir unexpanded.
...
* lib/mkmf.rb (create_makefile): quote topdir and hdrdir if necessary.
fixed: [ruby-core:04932]
* lib/mkmf.rb (configuration), {bcc32,win32,wince}/Makefile.sub: make
also INSTALL_PROG and INSTALL_DATA system dependent.
fixed: [ruby-core:04931]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-05-13 14:44:59 +00:00
nobu
5dba068e10
* win32/Makefile.sub (OPTFLAGS): default global optimization to
...
disabled only for VC++6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-27 14:43:06 +00:00
nobu
38c9bb1ae1
* lib/mkmf.rb (create_makefile): support platforms have file separator
...
other than /.
* {bcc32,win32,wince}/Makefile.sub (BUILD_FILE_SEPARATOR): separator
of building platform.
* {bcc32,win32,wince}/Makefile.sub (CP, INSTALL): use COPY command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 15:08:36 +00:00
nobu
70779bf224
* Makefile.in, common.mk: miniruby depens on MINIOBJS.
...
* dmydln.c (dln_load): dummy function to raise LoadError.
* cygwin/GNUmakefile.in, {bcc32,win32,wince}/Makefile.sub: miniruby
can't load extensions on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 14:25:34 +00:00
nobu
a768498ffa
* win32/ifchange.bat: delete testing files.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-20 14:02:15 +00:00
nobu
ddda8205c2
* {bcc32,win32,wince}/configure.bat, {bcc32,win32,wince}/setup.mak:
...
add extout option.
* bcc32/setup.mak: make configuration variables overridable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-19 22:28:28 +00:00
nobu
ce557d0508
* configure.in (mingw32): use actual runtime DLL name as ruby DLL
...
name and default load path.
* win32/Makefile.sub, win32/setup.mak: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-13 11:24:44 +00:00
ocean
0fc986008e
* {bcc32,win32,wince}/Makefile.sub: ri data was not installed
...
into correct path. [ruby-dev:26011]
* bcc32/Makefile.sub: defaulted install-nodoc. [ruby-dev:26011]
* dir.c: rdoc fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-11 03:20:17 +00:00
ocean
0338abee0e
* win32/win32.{h,c} (rb_w32_fdopen): avoid warning on bcc32.
...
(backported from HEAD)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-03 08:26:43 +00:00
nobu
d338ca56f5
* {bcc32,win32,wince}/{Makefile.sub,setup.mak}: leave prefix empty in
...
config.status for backward compatibility. fixed: [ruby-core:04649]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-04-02 13:35:31 +00:00
ocean
75a49c91ef
* win32/rm.bat: $Id doesn't work on -kb file.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30 15:40:29 +00:00
nobu
162b040611
* Makefile.in, */Makefile.sub, */configure.bat, cygwin/GNUmakefile.in,
...
common.mk, configure.in, ext/extmk.rb, lib/mkmf.rb, instruby.rb,
runruby.rb: backport extout. [ruby-dev:25963]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-30 14:45:05 +00:00
(no author)
64eaecb8a8
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-07 12:10:03 +00:00
ocean
ca63c2c062
* dir.c (fnmatch): removed unnecessary code. (ruby_1_8 didn't have
...
String#clear, so [ruby-dev:24749] didn't affect it)
* win32/win32.c (NtInitialize): ditto. (by numeric.c 1.101.2.14)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-05 09:31:32 +00:00
usa
5fec853229
* {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl.
...
* win32/win32.[ch] (fcntl): ditto.
* win32/win32.c (rb_w32_connect): support nonblocking mode.
* ext/socket/socket.c (wait_connectable, ruby_connect): support
nonblocking connect on various platforms.
all changes are backported from CVS HEAD. [ruby-core:3154],
[ruby-core:4364].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-21 01:08:56 +00:00
usa
77f047ec89
* win32/Makefile.sub (COMMON_HEADERS): shouldn't include winsock2.h.
...
* ext/socket/extconf.rb (sockaddr_storage): remove workaround for
mswin32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-10 02:15:49 +00:00
usa
bf748365c7
* win32/win32.c (flock_winnt, flock_win95): unlock file even if
...
LOCK_NB is specified. (backported from CVS HEAD)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-26 01:53:02 +00:00
usa
b95e5aefda
* ext/extmk.rb (extmake): shoudn't set $extflags on mswin32.
...
* win32/Makefile.sub (LIBRUBY_SO): should use $DLDOBJS instead of
$EXTOBJS.
fixed: [ruby-core:04290] (backported from CVS HEAD)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-20 10:07:02 +00:00
ocean
02ee8870d6
* win32/win32.c (rb_w32_close): didn't close socket handle.
...
* win32/win32.c (rb_w32_open_osfhandle): bcc32's _open_osfhandle
never set EMFILE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-06 11:05:31 +00:00
usa
525c8f80b2
* dir.c (dir_s_mkdir): win32 special processing doesn't need any
...
longer. (backported from CVS HEAD)
* win32/win32.[ch] (rb_w32_mkdir): new function. POSIX.1 compatible
interface. (backported from CVS HEAD)
* win32/win32.[ch] (rb_w32_rmdir): new function. (backported from CVS
HEAD)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-01-05 01:50:06 +00:00
usa
3672fd0a44
* win32/Makefile.sub, win32/setup.mak (RDOCTARGET, install,
...
install-nodoc, install-doc): rdoc support for mswin32.
* win32/configure.bat (--enable-install-doc, --disable-install-doc):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-28 03:28:10 +00:00
ocean
f4960beffe
* bcc32/Makefile.sub: bcc32 should use RTL dll (backport from HEAD)
...
[ruby-dev:25306]
* win32/win32.[ch]: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-24 14:52:25 +00:00
ocean
b35a261a79
* win32/win32.[ch]: failed to compile on bcc32 (and probably wince)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-24 09:40:34 +00:00
usa
8dac052af4
* win32/win32.[ch] (rb_w32_isatty): new function to replace MSVCRT's
...
isatty because it never sets errno. (backported from CVS HEAD)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-15 08:05:10 +00:00
usa
6f3923f29e
* win32/win32.c (rb_w32_fdisset): check whether the handle is valid.
...
fixed: [ruby-core:03959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-15 05:31:32 +00:00
usa
4785d53be1
* win32/win32.c (rb_w32_fdisset): rollback previous commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-15 04:07:53 +00:00
usa
9ccc9cfaf3
* win32/win32.c (rb_w32_fdisset): check whether fd is socket.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-15 02:06:26 +00:00
usa
9cd4987614
* win32/win32.c (rb_w32_close): need to reset osfhnd().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-14 08:10:32 +00:00
usa
2807bd47af
* eval.c (run_trap_eval): prototype; avoid VC++ warnings.
...
* ext/socket/getaddrinfo.c: fix typo. fixed: [ruby-core:03947]
* win32/win32.c: need to include dln.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-11 03:44:40 +00:00
usa
c56fa330b2
* win32/win32.c (CreateChild): search executable file if no program
...
name given. (backported from CVS HEAD)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 05:00:29 +00:00
usa
518c3a3479
* win32/win32.c (CreateChild): push back the last space before next
...
loop because CharNext() eats it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 04:17:05 +00:00
usa
7ce7c614c5
* {bcc32,win32,wince}/Makefile.sub (test): should build ruby.exe
...
before running test. [ruby-core:03756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-17 04:11:22 +00:00
usa
f556628264
* {bcc32,win32,wince}/setup.mak (-epilogue-): fix bug of previous commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 08:37:59 +00:00
usa
78bb93ac08
* {bcc32,win32,wince}/setup.mak (-epilogue-): remove config.h and
...
config.status to force updating them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 07:30:42 +00:00
usa
54c24dfc99
* eval.c (ruby_options): now we cannot call rb_glob() before
...
ruby_init(), so call rb_w32_cmdvector() at ruby_options().
* win32.{c,h} (rb_w32_cmdvector): rename make_cmdvector() and
export it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-12 06:06:15 +00:00
eban
dfd322b36c
* win32/win32.c (isUNCRoot): should check NUL after '.'.
...
[ruby-dev:24590]
* win32/win32.c (isUNCRoot): fixed buffer overrun.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-25 09:40:55 +00:00
usa
0ac0f20c1f
* win32/win32.c (rb_w32_call_handler): workaround for Ctrl-C.
...
merge from HEAD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-22 04:06:46 +00:00
usa
ed4f3ae201
* win32/win32.c (CreateChild): strip trailing spaces. [ruby-dev:24143]
...
merge from HEAD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-30 02:30:55 +00:00
ocean
c5cd2349e9
* win32/win32.{h,c} (rb_w32_{f,fd,fs}open): workaround for bcc32's
...
{f,fd,fs}open bug. set errno EMFILE and EBADF. [ruby-dev:23963]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-25 02:08:12 +00:00
usa
b97aa9b90e
* string.c (rb_str_match): raise TypeError when both arguments are
...
strings. [ruby-dev:22869] (backported from HEAD)
* string.c (rb_str_match2): removed.
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,
wince/Makefile.sub (string.c): now not depend on version.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-07 06:54:40 +00:00
usa
4211b12902
* {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines when
...
including version.h. [ruby-talk:104456] (backported from HEAD)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-24 17:04:58 +00:00
usa
dda47e42a8
* win32/win32.c (rb_w32_opendir): use FindFirstFile()/FindNextFile()/
...
FindClose() instead of _findfirst()/_findnext()/_findclose().
merge from HEAD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-21 01:29:49 +00:00
nobu
640e6a2f0a
* Makefile.in */Makefile.sub: error.c no longer include version.h
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-24 05:50:04 +00:00
nobu
afe19a2c7c
* version.c (ruby_show_copyright): obtain copyright year from
...
RUBY_RELEASE_YEAR.
* win32/resource.rb: ditto.
* win32/resource.rb: default rubyw icon to ruby.ico, and let DLL also
include them.
* win32/resource.rb: include winver.h for older WindowsCE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-23 14:26:21 +00:00