summaryrefslogtreecommitdiffstats
path: root/ext/socket/extconf.rb
Commit message (Collapse)AuthorAgeFilesLines
* * ext/socket/socket.c: sorry, BeOS also uses HAVE_CLOSESOCKET,ocean2005-07-191-1/+0
| | | | | | | | | | so reverted. * ext/socket/extconf.rb: should not define HAVE_CLOSESOCKET on windows. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bignorm): fixed a bug in normalizing negative numbersmatz2005-06-071-2/+7
| | | | | | | | | | | | | | | | reported from Honda Hiroki <hhonda@ipflex.com>. normalizing should not trim preceding zeros from negative numbers. * ext/socket/socket.c (ruby_getaddrinfo__aix): merged a patch from KUBO Takehiro <kubo@jiubao.org> to support AIX. [ruby-list:40832] * lib/yaml/rubytypes.rb (Array::to_yaml): merged a patch from Tilman Sauerbeck <tilman@code-monkey.de>. [ruby-core:05055] * lib/yaml/rubytypes.rb (Hash::to_yaml): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (LIBS, COMMON_HEADERS): useusa2005-02-101-7/+2
| | | | | | | | | | | | | winsock2 on mswin32/mingw. * ext/socket/extconf.rb: ditto. * win32/win32.c (StartSockets): ditto. * win32/win32.h: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb (sockaddr_storage): winsock2.h have theusa2005-02-061-2/+3
| | | | | | | | | definition of struct sockaddr_storage, but socket.c doesn't include it because this version of ruby still has binary level compatibility with winsock1. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extract_makefile): extract previously collectednobu2005-02-061-168/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | informations from existing Makefile. * ext/socket/extconf.rb: check if getaddrinfo() works fine only when wide-getaddrinfo option is not given. fixed: [ruby-dev:25422] * ext/tk/extconf.rb: separate tkutil configuration. * lib/mkmf.rb ($extmk): check if under ext directory. * lib/mkmf.rb (Logging.postpone): allow recursive operation. * lib/mkmf.rb (try_constant): make sure if really a constant, reduce the number of times of compile. * lib/mkmf.rb (have_macro, have_var, byte_order): new functions. * lib/mkmf.rb (find_library): allow directory list with separators. * lib/mkmf.rb (arg_config): manage provided configuration options. * lib/mkmf.rb (dir_config): accept arrays of directory names as default values. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.matz2004-01-021-12/+13
| | | | | | | | | | | | [ruby-dev:22476] * io.c (argf_eof): ARGF.eof? should not have any side effect. [ruby-dev:22469] * io.c (argf_each_byte): should return self. [ruby-dev:22465] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): dump extended modules as well.matz2003-10-151-1/+1
| | | | | | | | | | | | * marshal.c (r_object0): TYPE_USRMARSHAL should restore extended modules before invoking marshal_load. these two fixes are done by Masatoshi Seki <m_seki@mva.biglobe.ne.jp>. * parse.y (yylex): argument parentheses preceded by spaces should be warned; not error. [ruby-talk:84103] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: useless assignment removed.akr2003-10-071-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: check recvmsg even if sendmsg is exists.akr2003-10-061-1/+1
| | | | | | | * ext/socket/socket.c (thread_read_select): restored. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c: add new functions: setpwent, getpwent, endpwent,matz2003-10-011-0/+1
| | | | | | | | | | | | setgrent, getgrent, endgrent. * ext/socket/socket.c (sock_s_gethostbyname): do not reverse lookup. * Makefile.in: copy lex.c from $(srcdir) if it's not the current directory. [ruby-dev:21437] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_and): convert argument using 'to_int'.matz2003-09-121-5/+14
| | | | | | | | | | | | | | | * bignum.c (rb_big_or): ditto. * bignum.c (rb_big_xor): ditto. * eval.c (rb_f_require): allow "require" on $SAFE>0, if feature name is not tainted. * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::stream): Supports StringIO. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: check s6_addr8 in in6_addr (Tru64 UNIX).matz2003-09-021-0/+18
| | | | | | | | | | | | the patch is submitted by nmu <nmu@users.sourceforge.jp>. * ext/socket/getaddrinfo.c (getaddrinfo): should use in6_addr8 on some platforms. * ext/socket/getnameinfo.c (getnameinfo): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (os2-emx): renamed from os2_emx, add flags tonobu2003-07-301-2/+4
| | | | | | | | | | | | | | | | | | CFLAGS and LDFLAGS, and remove lib prefix. [ruby-dev:20993] * file.c (rb_file_s_rename): retry with removing new file on DOSISH. [ruby-dev:21007] * ext/socket/extconf.rb (sendmsg, recvmsg): check functions. * ext/socket/socket.c (unix_send_io, unix_recv_io): raise NotImplementedError unless system calls are available. * ext/socket/socket.c (sock_initialize): rename from sock_init() to get rid of conflict with OS/2 socket library. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): if object responds to 'marshal_dump',matz2003-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Marshal.dump uses it to dump object. unlike '_dump', marshal_dump returns any kind of object. * marshal.c (r_object0): restore instance by calling 'marshal_load' method. unlike '_load', it's an instance method, to handle cyclic reference. * marshal.c (marshal_load): all objects read from file should be tainted. [ruby-core:01325] * lib/timeout.rb (Timeout::timeout): execute immediately if sec is zero. * ext/socket/socket.c (socks_init): typo fixed. [ruby-talk:77232] * ext/socket/extconf.rb: the default value for --enable-socks is taken from ENV["SOCKS_SERVER"]. [ruby-talk:77232] * ruby.c (proc_options): add -W option. -W0 to shut up all warning messages. [ruby-talk:77227] * error.c (rb_warn): no message will be printed if the value of $VERBOSE is "nil", i.e. perfect silence. * ruby.c (verbose_setter): $VERBOSE value is either true, false, or nil. * io.c (Init_IO): no "read" check for $stdin. in addition some function names has been changed. * regex.c (re_match_exec): incorrect multibyte match. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (thgroup_add): no warning for terminated threads.matz2003-07-241-2/+23
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_step): remove epsilon; add margin of 0.5, to makematz2003-05-061-0/+1
| | | | | | | "1.1.step(1.5,0.1)" to work (third try). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_struct_member): moved from ext/socket/extconf.rb.eban2002-09-081-59/+5
| | | | | | | | | * ext/socket/extconf.rb: use macro_defined? instead of egrep_cpp. * ext/etc/extconf.rb: use have_struct_member. * ext/etc/etc.c: add prefix HAVE_ST_ to PW_ macros. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* new platform [bccwin32] merged.H_Konishi2002-06-111-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: The IPv6 stack of Cygwin is still incomplete.eban2002-06-041-3/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_aset): should raise error if an indexing stringmatz2002-06-041-2/+3
| | | | | | | | | | | | is not found in the receiver. * sprintf.c (rb_f_sprintf): "%d" should convert objects into integers using Integer(). * lib/tempfile.rb (Tempfile::size): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: include <windows.h>, <winsock.h> on _WIN32.eban2002-04-191-9/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb (have_struct_member): don't print checkedakr2002-03-081-4/+4
| | | | | | | result. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb (have_struct_member): new method.akr2002-02-281-0/+40
| | | | | | | | | | | | | | check msg_control and msg_accrights in struct msghdr. check sys/uio.h. * socket/socket.c: include sys/uio.h if available. (thread_read_select): new function. (unix_send_io): ditto. (unix_recv_io): ditto. (unix_s_socketpair): ditto. (Init_socket): define UNIXSocket#send_io, UNIXSocket#recv_io, git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: remove -L/usr/local/lib.eban2001-12-031-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_ctl): do not call ioctl/fcntl for f2, if f and f2matz2001-02-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | have same fileno. * eval.c (rb_load): raise LocaJumpError if unexpected local jumps appear during load. * ext/socket/socket.c (bsock_close_read): don't call rb_thread_fd_close(); it's supposed to be called by io_io_close(). * ext/socket/socket.c (bsock_close_read): do not modify f and f2. * ext/socket/socket.c (bsock_close_write): ditto. * ext/socket/socket.c (sock_new): avoid dup(2) on sockets. * parse.y (primary): preserve and clear in_single and in_def using stack to prevent nested method errors in singleton class bodies. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-12-221-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ebaneban2000-09-121-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-07-101-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-30matz2000-05-301-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-18matz2000-05-181-0/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* support mingw32.eban2000-05-131-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-09matz2000-05-091-1/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-05-01matz2000-05-011-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-02-23matz2000-02-231-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2000-02-01matz2000-02-011-1/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* marshal load GC protectmatz1999-10-201-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19991018matz1999-10-181-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19991012matz1999-10-121-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 19990922matz1999-09-221-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 1.4.1 to bematz1999-08-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove marshal/gtk/kconvmatz1999-08-131-4/+253
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was generated by cvs2svn to compensate for changes in r372,matz1999-01-201-4/+8
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was generated by cvs2svn to compensate for changes in r11,matz1998-01-161-4/+13
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionmatz1998-01-161-0/+17
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2 b2dd03c8-39d4-4d8f-98ff-823fe69b080e