(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
ocean
3463a11129
* bcc32/Makefile.sub: backport SIZEOF_TIME_T definition from 1.9.
...
* win32/Makefile.sub: ditto.
* wince/Makefile.sub: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 01:30:15 +00:00
(no author)
5923a2c0e7
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@6109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 08:02:56 +00:00
usa
c7b6005089
* win32/Makefile.sub, wince/Makefile.sub (config.h): shouldn't check
...
defined? NORETURN. [ruby-dev:23100]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 03:33:49 +00:00
ocean
a08492a0fc
* bcc32/Makefile.sub: backport from 1.9 - configure. (Thanks Nakada)
...
[ruby-dev:22910]
* win32/Makefile.sub: ditto.
* wince/Makefile.sub: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 16:27:39 +00:00
usa
2e373d478f
* win32/Makefile.sub: rollback.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-26 15:30:50 +00:00
matz
09c8c7b889
* parse.y (block_append): update nd_end for "real" head node.
...
[ruby-list:39058]
* eval.c (proc_eq): Proc with empty body may not be equal.
[ruby-dev:22590]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-26 05:41:11 +00:00
nobu
9ac4ebbf21
* configure.in (LIBPATHFLAG, RPATHFLAG): enclose paths with single
...
quotes. [ruby-dev:22564]
* lib/mkmf.rb (libpathflag): do not enclose with quotes always.
* {bcc32,win32,wince}/Makefile.sub (LIBPATHFLAG): quoted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-12 02:46:40 +00:00
usa
d0133e413d
* bcc32/Makefile.sub, win32/Makefile.sub (config.h): remove
...
HAVE_ISINF definition to follow previous commits of missing.h
and win32/win32.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 09:26:24 +00:00
nobu
748b699d1b
* configure.in (ac_cv_func_setitimer): moved from defines.h
...
* defines.h, rubysig.h, signal.c: removed macro handling which
should be done in configure.
* configure.in (intrinsics.h): check if present.
* ruby.h: include intrinsics.h if available.
* bignum.c, marshal.c: include ieeefp.h if available.
* missing.h (isinf): define as a macro if finite() and isnan()
are available. [ruby-core:02032]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 08:23:55 +00:00
usa
b3b5b5e6b6
* eval.c (stack_extend): ignore inline optimization on VC7.
...
* win32/Makefile.sub (OS, RT): can override.
* win32/Makefile.sub (LDFLAGS): ditto. shouldn't use pdb:none
option. based on Tietew's patch [ruby-dev:22289]
* lib/mkmf.rb (create_makefile): should remove deffile if it's
made by miniruby. based on nobu's patch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-18 12:48:43 +00:00
eban
79444dbdb9
* win32/win32.h: define execv() using do_aspawn().
...
* process.c (proc_exec_v): remove #ifdef's which stopped needing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-10 04:00:07 +00:00
usa
d8d81b35a4
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
...
(XCFLAGS): re-export $(XCFLAGS).
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
(ARCH_FLAG): export $(ARCH_FLAG) (perhaps empty value).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-01 00:30:37 +00:00
eban
66598727ef
win32/win32.c (rb_win32_stat): add "." to buf1 only if it has a drive letter.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-27 09:13:50 +00:00
eban
4539512afc
* win32/win32.c (rb_w32_stat): remove _fullpath() for NUL: device.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-27 08:00:23 +00:00
usa
1b6755193b
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
...
(XCFLAGS): output empty value instead of `-DRUBY_EXPORT'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-24 05:54:05 +00:00
usa
dbd254d4f4
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
...
(HAVE_GETCWD): output to config.h.
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub
(XCFLAGS): output to config.status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-22 08:38:07 +00:00
nobu
113423bdff
* win32/win32.c (make_cmdvector): process backslashes even if a quote
...
is not enclosed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-06 02:42:10 +00:00
usa
81160e93c9
* string.c: add #include "version.h". this file still depends on it.
...
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub,
wince/Makefile.sub: add version.h dependency to string.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-11-05 02:15:27 +00:00