summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * configure.in: fixed the help strings for the header and librarynobu2009-03-311-0/+6
| | | | | | | | dir switches, and updated to use AS_HELP_STRING. patches from Richard Brown, c.f. [ruby-core:23067]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/csv/test_interface.rb, test/csv/test_serialization.rb:jeg22009-03-301-0/+5
| | | | | | | | Trying more fixes some failing tests on Windows. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gdbinit (rp): show negative fixnum correctly.akr2009-03-301-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (eval_string_with_cref): replaces the message ifnobu2009-03-301-0/+5
| | | | | | | frozen. [ruby-dev:38208] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/csv/test_interface.rb: Trying a fix for some failing testsjeg22009-03-291-0/+5
| | | | | | | | on Windows. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#relative_path_from): compares pathnobu2009-03-281-0/+6
| | | | | | | | components according to system default case-sensitiveness. [ruby-core:22829] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ruby.imp): all symbols in static library need to benobu2009-03-281-0/+7
| | | | | | | | | exported, so that encoding-extensions can be loaded. based on a patch from Yutaka Kanemoto <kinpoco AT gmail.com> at [ruby-talk:332282]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): checks if named argument given twice.nobu2009-03-271-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (GETNAMEARG): remembers named arg is used, to get ridnobu2009-03-271-0/+5
| | | | | | | of too many arguments warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (link_command, cc_command, cpp_command): should notnobu2009-03-271-0/+5
| | | | | | | override extout defined in extmk.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (what_type?): checks more restrictively, andnobu2009-03-271-0/+5
| | | | | | | supports universal binary. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_cmp): negate the result of reverse comparison.akr2009-03-261-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cmpint): FIX2INT may fail on LP64 platforms.akr2009-03-261-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sdbm/_sdbm.c: should include "ruby/defines.h" as well formatz2009-03-261-0/+6
| | | | | | | prototypes of compatibility functions on Win32 platform. [ruby-core:22870] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb (String#is_binary_data?): TAB would benobu2009-03-261-0/+10
| | | | | | | | | | | | usually considered to be included in text data. * lib/rdoc/parser.rb (RDoc::Parser.binary?): blksize may be nil and is irrelevant to whether a file is binary. copied from above since TAB and newlines would be usually considered to be included in text data. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): considersnobu2009-03-261-0/+5
| | | | | | | --program-prefix and --program-suffix. reapplied r19923. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (target_alias): replaces cpu with universal too.nobu2009-03-241-1/+8
| | | | | | | | | | * configure.in (target): replaces cpu with arch by --with-arch. * mkconfig.rb (TOPDIR): chops arch in config instead of RUBY_PLATFORM which varies on universal_binary. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb (MAJOR, MINOR, TEENY): reads from version.h always.nobu2009-03-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_SIZEOF): need to include $4.nobu2009-03-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_inspect): Cannot access fptr->fd if fptr is NULL.knu2009-03-241-0/+6
| | | | | | | | | This fixes a coredump caused by: ruby -e "class X < IO; def initialize; end; end; p X.new.inspect" git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_timespec): use NUM2TIMET.akr2009-03-231-0/+5
| | | | | | | | (time_s_at): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (Init_process): Better patch for eliminating anknu2009-03-231-0/+5
| | | | | | | | | "unused variable". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/dbm.c (fdbm_initialize): Make the file variableknu2009-03-231-0/+8
| | | | | | | | | | | 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/trunk@23057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_lstat): Back out.knu2009-03-231-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_stat, rb_file_s_lstat): Remove repeated typeknu2009-03-231-0/+5
| | | | | | | | checks. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (init_heap): set default to heap slots lengthnari2009-03-231-0/+7
| | | | | | | | | if HEAP_OBJ_LIMIT is larger than HEAP_MIN_SLOTS. [Bug #1310] (set_heaps_increment): increment next_heaps_length if next_heaps_length and heaps_used are same. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn): use original command if not found.nobu2009-03-231-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend (link_so): replaces $(TARGET) with basename of thenobu2009-03-221-0/+5
| | | | | | | target. [ruby-talk:330286] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): use NULL asnobu2009-03-221-0/+5
| | | | | | | application name for batch files. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (write_would_block): defined.akr2009-03-211-0/+13
| | | | | | | | | | | | | | | | (read_would_block): defined. (ossl_start_ssl): add nonblock argument. (ossl_ssl_connect): follow ossl_start_ssl change. (ossl_ssl_connect_nonblock): new method. (ossl_ssl_accept): follow ossl_start_ssl change. (ossl_ssl_accept_nonblock): new method. (ossl_ssl_read_internal): use write_would_block and read_would_block. (ossl_ssl_write_internal): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_exec): prints error message only on platformsnobu2009-03-201-0/+5
| | | | | | | neither close-on-exec nor spawnv is supported. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): omit program namenobu2009-03-201-0/+5
| | | | | | | if actual program path is found. [ruby-core:22960] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): should pass program name even if multiplenobu2009-03-201-0/+5
| | | | | | | arguments are given. fix for TestProcess::test_argv0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/buffering.rbakr2009-03-201-0/+9
| | | | | | | | | | | (OpenSSL::Buffering#write_nonblock): new method. * ext/openssl/ossl_ssl.c (ossl_ssl_write_nonblock): new method. (ossl_ssl_write_internal): defined. (ossl_ssl_write): use ossl_ssl_write_internal. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (errmap): added ERROR_MOD_NOT_FOUND.nobu2009-03-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: a patch was being attached to [Bug#1305].nobu2009-03-201-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (libprefix): must not append "lib" after $(libdir),nobu2009-03-201-0/+5
| | | | | | | when load_relative is not used on darwin. [ruby-dev:38182] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss.nobu2009-03-201-0/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_mWaitReadable): defined.akr2009-03-191-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (rb_mWaitWritable): defined. (io_getpartial): extend IO::WaitReadable on EWOULDBLOCK and EAGAIN. (rb_io_write_nonblock): extend IO::WaitWritable on EWOULDBLOCK and EAGAIN. * error.c (make_errno_exc): extracted from rb_sys_fail. (rb_mod_sys_fail): new function. * include/ruby/ruby.h (rb_mod_sys_fail): declared. (rb_mWaitReadable): declared. (rb_mWaitWritable): declared. * ext/socket/init.c (rsock_s_recvfrom_nonblock): extend IO::WaitReadable on EWOULDBLOCK and EAGAIN. (rsock_s_accept_nonblock): extend IO::WaitReadable on EWOULDBLOCK, EAGAIN, ECONNABORTED and EPROTO. * ext/socket/socket.c (sock_connect_nonblock): extend IO::WaitWritable on EINPROGRESS. * ext/socket/ancdata.c (bsock_sendmsg_internal): extend IO::WaitWritable on EWOULDBLOCK and EAGAIN. (bsock_recvmsg_internal): extend IO::WaitReadable on EWOULDBLOCK and EAGAIN. * ext/openssl/ossl_ssl.c (ossl_ssl_read_internal): raise SSLError extended by IO::WaitReadable/IO::WaitWritable on SSL_ERROR_WANT_READ/SSL_ERROR_WANT_WRITE. * ext/openssl/ossl.c (ossl_make_error): extracted from ossl_raise. (ossl_exc_new): new function. * ext/openssl/ossl.h (ossl_exc_new): declared. * lib/net/protocol.rb (rbuf_fill): rescue IO::WaitReadable and IO::WaitWritable. [ruby-core:22539], [ruby-dev:38140] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c: not use pktinfo.ipi_spec_dst if not definedtakano322009-03-181-0/+5
| | | | | | | * ext/socket/extconf.rb: define HAVE_IPI_SPEC_DST git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_syslog.rb (TestSyslog#test_open): checkkazu2009-03-181-0/+5
| | | | | | | param after block again. because detect not to call block. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_syslog.rb (TestSyslog#test_open): checkkazu2009-03-181-0/+5
| | | | | | | block parameter in block. [ruby-dev:38180] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (report_bug): rb_bug can be caused by extensionnobu2009-03-181-0/+5
| | | | | | | libraries. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb (open_server_inaddr_any): fixed multiple networkseki2009-03-171-0/+5
| | | | | | | | families problem. a patch from Charl Matthee at [ruby-core:21033]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot (package): creates .revision.time and passesnobu2009-03-171-0/+5
| | | | | | | CHDIR to create prerequisite files. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (Enumerator#{each_,}{with_index,with_object}): Fixknu2009-03-171-0/+6
| | | | | | | | a bug where any parameter but the first one is dropped even if multiple values are yielded with. [Bug #1198] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#sub): set $~ in block.binding.akr2009-03-171-0/+5
| | | | | | | [ruby-dev:38173] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): added RUBY_COREDLL.nobu2009-03-171-0/+7
| | | | | | | | * ext/dl/handle.c (rb_dlhandle_initialize): returns msvcrt if libc or RUBY_COREDLL is given. [ruby-core:22828] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c, dln.c, parse.y, re.c, ruby.c, sprintf.c, strftime.c,nobu2009-03-171-0/+6
| | | | | | | | string.c, util.c, variable.c: use strlcpy, memcpy and snprintf instead of strcpy, strncpy and sprintf. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_win32.rb (Win32API): enclosed by DL::TestWin32.nobu2009-03-161-0/+5
| | | | | | | [ruby-core:22827] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e