summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * file.c (rb_file_s_extname): fix for file name with spaces.nobu2008-07-062-1/+6
| | | | | | | [ruby-talk:307404] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2008-07-07svn2008-07-061-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (ruby_init_stack): prior STACK_END_ADDRESS ifnobu2008-07-062-0/+13
| | | | | | | found. [ruby-core:17624] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (bsock_send, s_recvfrom, ruby_connect, s_accept),nobu2008-07-061-150/+213
| | | | | | | (udp_send, unix_send_io, unix_recv_io): blocking region support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (bsock_send, s_recvfrom, ruby_connect, s_accept),nobu2008-07-061-0/+5
| | | | | | | (udp_send, unix_send_io, unix_recv_io): blocking region support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_win32ole_type.rb (test_initialize): add suke2008-07-062-1/+21
| | | | | | | | more assertions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/collector/objectspace.rbkou2008-07-062-1/+6
| | | | | | | (Test::Unit::Collector::ObjectSpace::NAME): fix a typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2008-07-06svn2008-07-051-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (host_str): fix type mismatch in rb_raiseakr2008-07-052-6/+16
| | | | | | | | | | format and argument. (port_str): ditto. (unix_recv_io): ditto. (sock_s_unpack_sockaddr_un): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (NUM2INT): cast to int.akr2008-07-052-4/+11
| | | | | | | | | (FIX2INT): ditto. (NUM2UINT): cast to unsigned int. (FIX2UINT): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot to commit.akr2008-07-051-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rename rb_pipe_internal to rb_pipe.akr2008-07-053-8/+9
| | | | | | | use rb_pipe in pipe_nocrash. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_pipe_internal): new function for handling EMFILE and ENFILEakr2008-07-052-17/+32
| | | | | | | | | | error of pipe(). (UPDATE_MAXFD_PIPE): removed. (pipe_open): use rb_pipe_internal. (rb_io_s_pipe): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_initialize): NUM2INT() returns int.nobu2008-07-054-10/+16
| | | | | | | | | * thread.c (timer_thread_function), thread_pthread.c (thread_timer), thread_win32.c (timer_thread_func), thread_{pthread,win32}.c (rb_thread_create_timer_thread): passing VM. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_str_slice! refactored.akr2008-07-051-3/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update spawn rdoc a bit.akr2008-07-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_word.rb: check word installed.suke2008-07-052-25/+56
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: revert. before lazy sweep.nari2008-07-052-246/+129
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: add WIN32OLE#ole_respond_to?suke2008-07-053-1/+45
| | | | | | | * test/win32ole/test_win32ole.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (unescape_nonascii): add has_property argument not toakr2008-07-043-3/+24
| | | | | | | | | raise error by /\p{Hiragana}\u{3042}/ in EUC-JP script. (rb_reg_preprocess): use has_property argument to make regexp encoding fixed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2008-07-05svn2008-07-041-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (unescape_nonascii): make regexp fixed_encoding if \p is used.akr2008-07-043-0/+30
| | | | | | | fixed [ruby-core:17279]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (d2time): fix the bug of VT_DATE suke2008-07-043-2/+48
| | | | | | | | | to String conversion when negative value. * test/win32ole/test_win32ole_variant.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/testcase.rb: collect decendants ofakr2008-07-045-11/+38
| | | | | | | | | | | | | | | | Test::Unit::TestCase using inherited. * lib/test/unit/autorunner.rb: don't use ObjectSpace.each_object. * lib/test/unit/collector/dir.rb: ditto. * lib/test/unit/collector/objectspace.rb: ditto. [ruby-core:17126] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/oniguruma.h (OnigEncoding): removed auxiliary_data.nobu2008-07-044-107/+118
| | | | | | | | | | | | | * include/ruby/encoding.h (ENC_DUMMY_P): moved dummy encoding flag to rb_encoding from Encoding instance. * encoding.c (rb_encoding_list): list of Encoding instances. * encoding.c (struct rb_encoding_entry): moved base encoding from instance variable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (check_uint, rb_num2uint, rb_fix2uint): proper check.usa2008-07-042-4/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* svn:eol-style LFnobu2008-07-040-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (Net::FTP#sendport): use divmod. [ruby-core:17557]nobu2008-07-042-5/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (garbage_collect_force): sweep is completely ended.nari2008-07-042-7/+18
| | | | | | | | * gc.c (os_obj_of): invoke garbage_collect_force() when freelist none. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (rb_num2uint, rb_fix2uint): typo.usa2008-07-032-8/+16
| | | | | | | * ChangeLog: format. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2008-07-04svn2008-07-031-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (check_uint, rb_num2uint): also needs checking negativeusa2008-07-032-8/+9
| | | | | | | | value. see [ruby-dev:33683] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/coverage: add svn:ignoremame2008-07-030-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h: remove prototypes about coverage.mame2008-07-037-17/+76
| | | | | | | | | | | | | | | | | | | * iseq.c (prepare_iseq_build): add prototype. * parse.y (coverage): ditto. * thread.c (clear_coverage): ditto. * thread.c (update_coverage): use rb_sourceline. * thread.c (rb_get_coverages): rename and move to vm.c. * vm.c (rb_vm_get_coverages): ditto. * ext/coverage/coverage.c: add rdoc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* describe glibc version bit more accurate.akr2008-07-031-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/coverage/coverage.c, ext/coverage/extconf.rb: eliminatemame2008-07-0311-41/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | COVERAGE__ and introduce coverage.so instead. How to measure coverage: (1) require "coverage.so", (2) require or load Ruby source file, and (3) Coverage.result will return the same hash as COVERAGE__. [ruby-dev:35324] * thread.c (rb_enable_coverages): start coverage measurement by using rb_add_event_hook. * thread.c (rb_get_coverages): returns current results of coverage measurement. * include/ruby/intern.h: add prototype for above two functions. * vm_core.h, vm.c: add field of coverages to rb_vm_t. * insns.def (trace): remove special handling for COVERAGE__. * iseq.c (prepare_iseq_build): switch COVERAGE__ to rb_get_coverages(). * parse.y (coverage): ditto. * thread.c (clear_coverage): ditto. * lib/coverage.rb: use coverage.so instead of COVERAGE__. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_initialize): NUM2INT returns long.mame2008-07-032-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* new file.akr2008-07-031-0/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (Init_eval): typo fixed in r17833.nobu2008-07-032-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (Init_win32ole): remove duplicate line.suke2008-07-032-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refine configure message of broken erfc of glibc-2.3 on IA64.akr2008-07-031-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (erfc): erfc of glibc comes with Debian GNU/Linux Etchakr2008-07-032-0/+28
| | | | | | | | | on IA64 is broken. erfc(10000.0) aborts. use missing/erf.c instead. http://sources.redhat.com/ml/libc-hacker/2005-08/msg00008.html git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb (Net::SMTP::start): use 'localhost' instead ofmatz2008-07-032-3/+10
| | | | | | | | 'localhost.localdomain'. [ruby-dev:35333] * lib/net/smtp.rb (Net::SMTP::SMTP.start): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (SET_LC_MESSAGES): LC_MESSAGES must be C.nobu2008-07-022-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (Init_eval), gc.c (Init_GC), proc.c (Init_Proc): freezenobu2008-07-024-3/+11
| | | | | | | messages of preallocated special exceptions also. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_during_gc): VALUE cache is irrelevant.nobu2008-07-022-10/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regint.h (GET_ALIGNMENT_PAD_SIZE, ALIGNMENT_RIGHT): cast pointer tomame2008-07-022-6/+11
| | | | | | | uintptr_t instead of unsigned int. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c: include ieeefp.h to refer isinf.mame2008-07-025-0/+26
| | | | | | | | | | | * ext/bigdecimal/bigdecimal.c: ditto. * ext/json/ext/generator/generator.c: ditto. * rational.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/tgamma.c (tgamma): remove unused variable.mame2008-07-022-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: avoid creating Ruby object duringsuke2008-07-023-1/+123
| | | | | | | | | | GC. thanks to arton <artonx AT yahoo.co.jp>. [ruby-dev:35313] * test/win32ole/test_win32ole_event.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e