summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* merges r23072 from trunk into ruby_1_9_1.yugui2009-04-191-0/+1
| | | | | | | | | -- * ext/sdbm/_sdbm.c: should include "ruby/defines.h" as well for prototypes of compatibility functions on Win32 platform. [ruby-core:22870] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r23057 from trunk into ruby_1_9_1.yugui2009-04-192-2/+4
| | | | | | | | | | | -- * ext/dbm/dbm.c (fdbm_initialize): Make the file variable volatile, because FilePathValue() currently does not protect the given variable from GC. (Probably it should) * ext/sdbm/init.c (fsdbm_initialize): Ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22924 from trunk into ruby_1_9_1.yugui2009-04-191-3/+3
| | | | | | | | | -- * ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): should use OPENSSL_free instead of free. a patch from Charlie Savage at [ruby-core:22858]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22916 from trunk into ruby_1_9_1.yugui2009-04-191-1/+1
| | | | | | | | -- * ext/openssl/ossl_ssl.c (ossl_ssl_def_const): use INT2NUM because OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG doesn't fit into Fixnum. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22891 from trunk into ruby_1_9_1.yugui2009-04-121-11/+1
| | | | | | | | -- * ext/dl/handle.c (rb_dlhandle_sym): RTLD_NEXT is not for symbol name. [ruby-dev:38150] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22883 from trunk into ruby_1_9_1.yugui2009-04-121-9/+9
| | | | | | | | -- * ext/dl/handle.c (rb_dlhandle_sym): fixed heap corruption. [ruby-core:22822] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22702 from trunk into ruby_1_9_1.yugui2009-03-041-30/+25
| | | | | | | | -- * ext/dl/handle.c (rb_dlhandle_sym): get rid of buffer overrun, and try ASCII WINAPI versions too. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22695 from trunk into ruby_1_9_1.yugui2009-03-041-2/+2
| | | | | | | | -- * ext/dl/win32/lib/Win32API.rb (initialize): passes rest arguments to DL. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22690 from trunk into ruby_1_9_1.yugui2009-03-043-25/+37
| | | | | | | | | | | | | | | -- * ext/dl/cfunc.c (rb_dlcfunc_call): fix for stdcall and missing argument numbers. [ruby-core:22601] * ext/dl/dl.h (DLSTACK_PROTO0_): added. * ext/dl/mkcallback.rb (gencallback, gen_callback_file), (rb_dl_init_callbacks): omit stdcall functions unless supported. * lib/rubygems/config_file.rb (SHGetFolderPath): stdcall. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22689 from trunk into ruby_1_9_1.yugui2009-03-041-1/+1
| | | | | | | | -- * ext/bigdecimal/bigdecimal.c (gfDebug): uncommented out. [ruby-core:22600] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22592 from trunk into ruby_1_9_1.yugui2009-03-031-3/+31
| | | | | | | | | | | | | | | -- * common.mk (main): split from exts and makes main program after building exts with miniruby, to get rid of overwriting running program. [ruby-core:22339] * Makefile.in, win32/Makefile.sub (RUNCMD, MKMAIN_CMD): macros to run script file. * ext/extmk.rb (parse_args): added --command-output option which creates script file to make main program. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22591 from trunk into ruby_1_9_1.yugui2009-03-031-0/+2
| | | | | | | | | -- * common.mk (ripper.c): exec can't work on Windows. * ext/ripper/depend (.SUFFIXES): nmake doesn't have .y by default. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22440 from trunk into ruby_1_9_1.yugui2009-02-221-4/+4
| | | | | | | * ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): OCSP_basic_verify returns positive value on success, not non-zero. [ruby-core:21762] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22253 from trunk into ruby_1_9_1.yugui2009-02-221-1/+2
| | | | | | | * ext/stringio/stringio.c (strio_ungetc): calculates new position before reallocation. [Bug#1099] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22180 from trunk into ruby_1_9_1.yugui2009-02-221-32/+43
| | | | | | | * ext/win32ole/win32ole.c (load_conv_function51932): fixed for the case IMultiLanguage is not available. [ruby-dev:37950] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22054 and r22055 from trunk into ruby_1_9_1.yugui2009-02-221-2/+4
| | | | | | | | | * ext/readline/readline.c (Init_readline): entry may be NULL. [ruby-dev:37891] -- change from assigned variable to called function git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21933 from trunk into ruby_1_9_1. win64 support.yugui2009-02-022-3/+3
| | | | | | | | | | | | | | | | | | | | | | * lib/xmlrpc/server.rb (Server#serve): gets rid of hardcoded platform names. * lib/resolv.rb (Resolv::Hosts::DefaultFileName), (Resolv::DNS::Config.default_config_hash): tries win32/resolv on mswin64 too. * lib/rubygems/specification.rb (Gem::Specification#ruby_code): aded mswin64. * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command): spawn is better to start a process in background. * ext/extmk.rb: uses FNM_SYSCASE. * instruby.rb: installs win32.h on mswin64 platform. [ruby-core:21722] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21686 from trunk into ruby_1_9_1.yugui2009-01-302-4/+4
| | | | | | | | | * cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed with ruby_ to export. * ext/continuation/continuation.c, ext/fiber/fiber.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21861 from trunk into ruby_1_9_1.yugui2009-01-291-1/+4
| | | | | | | * ext/zlib/zlib.c (zstream_run): previous change didn't resolve the problem. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21859 from trunk into ruby_1_9_1.yugui2009-01-281-1/+1
| | | | | | | * ext/zlib/zlib.c (zstream_run): desperately guard the variable. [ruby-core:20576] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21811 from trunk into ruby_1_9_1.yugui2009-01-281-0/+0
| | | | | | | * properties. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21679 from trunk into ruby_1_9_1.yugui2009-01-201-1/+3
| | | | | | | | * ext/nkf/nkf-utf8/nkf.c (nkf_buf_push): maybe a bug. * ext/nkf/nkf-utf8/nkf.c (options): no need to support help option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21676 from trunk into ruby_1_9_1.yugui2009-01-201-264/+329
| | | | | | | * ext/nkf/nkf-utf8/nkf.c: Update nkf to 2.0.9. revert -s meaning as Shift_JIS, etc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21628 from trunk into ruby_1_9_1.yugui2009-01-171-2/+2
| | | | | | | | | | | * configure.in (darwin): get rid of strange settings issue of apple gcc port, which searches /usr/local/include always but /usr/local/lib not. * ext/readline/readline.c (Init_readline): suppress warnings with libedit. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21510 from trunk into ruby_1_9_1.yugui2009-01-151-2/+1
| | | | | | | | | * gc.c (negative_size_allocation_error_with_gvl): abolish a warning. (negative_size_allocation_error): ditto. * ext/openssl/ossl.c (ossl_raise): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21508 from trunk into ruby_1_9_1.yugui2009-01-151-1/+1
| | | | | | | | * ext/curses/extconf.rb: check ncursesw earlier than ncurses to support UTF-8 strings. non UTF-8 strings should be converted explicitly. [ruby-core:21094] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21505 from trunk into ruby_1_9_1.yugui2009-01-152-2/+18
| | | | | | | | | | * ext/socket/extconf.rb (gai_strerror): checks if available and if returns const pointer. * ext/socket/getaddrinfo.c (gai_strerror): defines only if non available. [ruby-core:21328] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21484 from trunk into ruby_1_9_1.yugui2009-01-152-0/+2
| | | | | | | * ext/socket/{getaddrinfo,getnameinfo}.c: need to include ws2tcpip.h on Windows. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21476 from trunk into ruby_1_9_1.yugui2009-01-152-2/+2
| | | | | | | | | | | | * ext/socket/extconf.rb: use headers instead of "netdb.h" in checking getnameinfo() and getaddrinfo() because Windows doesn't have it. see [ruby-dev:37757]. * ext/socket/sockport.h (SA_LEN): use sockaddr_in6 when defined AF_INET6 if INET6 is not defined. winsock2's getaddrinfo() returns sockaddr_in6 if ipv6 is available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21472 from trunk into ruby_1_9_1.yugui2009-01-151-2/+3
| | | | | | | * ext/tk/lib/tk.rb: use Encoding.find("locale") instaed of Encoding.locale_charmap git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21469 from trunk into ruby_1_9_1.yugui2009-01-151-0/+10
| | | | | | | | * ext/socket/socket.c (sock_s_unpack_sockaddr_in): check too short sockaddr. (sock_s_unpack_sockaddr_un): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21406 from trunk into ruby_1_9_1.yugui2009-01-121-2/+2
| | | | | | * ext/tk/lib/tk.rb: rescue abnormal Encoding.locale_charmap value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21339 from trunk into ruby_1_9_1.yugui2009-01-091-1/+1
| | | | | | | * ext/curses/curses.c (free_window): use xfree instead of free. [ruby-dev:37200] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21297 from trunk into ruby_1_9_1.yugui2009-01-041-5/+4
| | | | | | | | | * ext/extmk.rb (extmake): does not use both of makefile.rb and extconf.rb at the same time. * lib/mkmf.rb (DLLIB): depends on Makefile. [ruby-core:21096] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21278 from trunk into ruby_1_9_1.yugui2009-01-041-4/+4
| | | | | | | | | | | * ext/socket/socket.c: don't apply socktype hack [ruby-core:184] for sock_s_getaddrinfo. (sock_getaddrinfo): add socktype_hack argument. (sock_addrinfo): call sock_getaddrinfo with socktype_hack. (sock_s_getaddrinfo): call sock_getaddrinfo without socktype_hack. [ruby-dev:37674] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21208 from trunk into ruby_1_9_1.yugui2009-01-012-3/+3
| | | | | | | | | | * ext/openssl/ossl_digest.c (GetDigestPtr): use StringValueCStr instead of STR2CSTR. * ext/openssl/ossl_pkey_ec.c (ossl_ec_key_initialize): ditto. (ossl_ec_group_initialize): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21202 from trunk into ruby_1_9_1.yugui2009-01-012-2/+16
| | | | | | | | | | * ext/socket/mkconstants.rb: use sock_define_uconst for INADDR_* constants because Socket::INADDR_LOOPBACK should be 0x7f000001 instead of -0xffffff. * ext/socket/socket.c (sock_define_uconst): defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21186 from trunk into ruby_1_9_1.yugui2008-12-301-1/+1
| | | | | | | * ext/dl/test/test_import.rb: fix a prototype decl. pointed out by Takehiro Kubo [ruby-core:20971]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21177 and r21182 from trunk into ruby_1_9_1.yugui2008-12-305-33/+87
| | | | | | | | | | | | | | | | | | | | | | | | | * ext/dl/test/test_base.rb: add x86_64-linux's case again. #932 -- * ext/dl/test/test_base.rb: add libc search logic. this patch is written by Takehiro Kubo. [ruby-core:20963] [Bug #932] * ext/dl/dl.h: Add ",..." as the last argument. this patch is written by Takehiro Kubo. Bug #633 [ruby-core:19289] * ext/dl/lib/dl/stack.rb: add add_padding() to calculate alignment. this patch is written by Takehiro Kubo. Bug #633 [ruby-core:19289] * ext/dl/test/test_func.rb: atof()'s return value is double. this patch is written by Takehiro Kubo. Bug #633 [ruby-core:19289] * ext/dl/test/test_import.rb: - atof()'s return value is double. - The types of qsort's second and third argument are size_t. - fprintf()'s return value is int. this patch is written by Takehiro Kubo. Bug #633 [ruby-core:19289] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21149 from trunk into ruby_1_9_1.yugui2008-12-291-1/+1
| | | | | | | | * Makefile.in (ext-clean): ext-clean always fails. * ext/dl/ripper/extconf.rb: adds y.output into the clean list. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21139 from trunk into ruby_1_9_1.yugui2008-12-291-0/+3
| | | | | | * test/ext/dl/test_base.rb : add BSD's case. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21138 from trunk into ruby_1_9_1.yugui2008-12-291-1/+1
| | | | | | | * ext/dl/lib/dl/import.rb (DL::Importer#sizeof): follows a feature change in 1.9. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21110, r21111 and r21140 from trunk into ruby_1_9_1.yugui2008-12-292-6/+3
| | | | | | | | * ext/dl/test/test_dl2.rb: modify strncpy, strcpy, qsort, types. Bug #633 [ruby-core:19289] * ext/dl/test/test_base.rb: /lib/libc.so is x86_64 binary in x86_64 architecture. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21100 and r21107 from trunk into ruby_1_9_1.yugui2008-12-281-0/+6
| | | | | | | | * ext/dl/test/test_base.rb: use lib64 when the architecture is x86_64. * ext/dl/test/test_base.rb: use libc.dylib when the platform is darwin. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20757 from trunk into ruby_1_9_1. [ruby-dev:37560]yugui2008-12-251-1/+3
| | | | | | | | * ext/pty/pty.c (child_info): add slavename. (chfunc): use slavename. (establishShell): set slavename. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20368 from trunk into ruby_1_9_1.yugui2008-12-251-1/+4
| | | | | | | | | | * ext/bigdecimal/bigdecimal.c (BigDecimal_div2): should return Integer for #div operation. * ext/bigdecimal/bigdecimal.c (BigDecimal_div2): should raise ZeroDivisionError if divisor is zero. [ruby-dev:37207] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20913 from trunk into ruby_1_9_1.yugui2008-12-251-3/+4
| | | | | | * ext/tk/tcltklib.c: fix wrong flag value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20903 from trunk into ruby_1_9_1.yugui2008-12-242-35/+48
| | | | | | | | | * ext/tk/lib/tk.rb: temporary patch for trouble on TkAqua (> Tk8.4.9). * ext/tk/sample/demos-jp/widget: set encoding to a demo-code string to avoid garbled text on the Code Window. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20847 from trunk into ruby_1_9_1.yugui2008-12-191-2/+7
| | | | | | | * ext/socket/socket.c (unix_recv_io): relax msg_controllen error check. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20846 from trunk into ruby_1_9_1 and filsters modification foryugui2008-12-192-0/+5
| | | | | | | | | 1.9.2 features. * ext/pty/extconf.rb: check util.h for OpenBSD. * ext/pty/pty.c: include util.h if available. fix variable name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e