aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * parse.y (vtable_free): remove meaningless null check.mame2008-07-302-3/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (struct dir_data): change path field char * to VALUE.akr2008-07-302-12/+28
| | | | | | | | | | | | | | (mark_dir): new function for mark path field. (free_dir): follow the path field change. (dir_s_alloc): ditto. (dir_initialize): ditto. (dir_s_open): ditto. (dir_inspect): ditto. (dir_path): return (duplicate of) the path field to preserve encoding. [ruby-dev:35685] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (sym_inspect): remove dead code.mame2008-07-302-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix wrong method name and add reference.mame2008-07-301-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (parse_exp): fix memory leak.mame2008-07-302-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (parse_exp): fix memory leak at Regexp.new("x{1,1}").mame2008-07-302-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-07-30svn2008-07-301-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_select): recalc the rest of timeout for eachnobu2008-07-304-13/+69
| | | | | | | iterations. [ruby-core:18015] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_ungetc): raise NotImplementedError when ungetc is calledmame2008-07-293-9/+54
| | | | | | | | | | | | | | | against dummy encoding IO. * io.c (rb_io_getline_1): ditto when gets with delimiter is called. * io.c (io_getc): ditto when getc is called. * test/ruby/test_io_m17n.rb (test_terminator_stateful_conversion, test_getc_stateful_conversion, test_ungetc_stateful_conversion): these tests should raise NotImplementedError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (pipe): run reader thread and writer thread.mame2008-07-292-57/+85
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (Init_bigdecimal): fix typo.mame2008-07-292-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/etc/test_etc.rb (test_passwd): age field may be string undermame2008-07-292-1/+6
| | | | | | | some environments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (char_casecmp): fix: return 0 if either of characters is NUL.naruse2008-07-292-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fixed wrong changelog for r18253.nobu2008-07-291-2/+3
| | | | | | | | | * file.c (rb_find_file_ext, rb_find_file): explicit relative path which starts with "./" or "../" should be searched from cwd instead of load path. [ruby-dev:35673] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/etc/test_etc.rb (test_getpwuid): fix for users whose uid isnaruse2008-07-292-3/+8
| | | | | | shared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_find_file_ext, rb_find_file): converts Windows style pathnobu2008-07-282-6/+23
| | | | | | | to Cygwin path. [ruby-dev:35647] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_atanh): raise EDOM on FreeBSD when atanh(1).naruse2008-07-283-3/+39
| | | | | | | | | | | | * math.c (math_log): ditto. * math.c (math_log2): ditto. * math.c (math_log10): ditto. * test/ruby/test_math.rb: test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-07-29svn2008-07-281-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (struct dir_data): intenc field removed.akr2008-07-282-38/+13
| | | | | | | | | | | (dir_s_alloc): intenc initialization removed. (dir_initialize): :internal_encoding option removed. dirname code conversion removed. (dir_enc_str): code conversion removed. [ruby-dev:35661] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/: use PNG instead of zlib as binary data.kou2008-07-284-21/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.[ch] (cond_every_entry, rb_thread_cond_struct): revertedusa2008-07-284-25/+34
| | | | | | | | | | | r18239 because r18245 made the changes unnecessary. * thread.c (rb_mutex_struct): define after including thread_{pthread, win32}.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_require.rb (test_require_too_long_filename):mame2008-07-282-1/+13
| | | | | | | Kernel#require does not use dln_find_file_r (at r18242). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h: move the definition of struct rb_mutex_struct.mame2008-07-283-10/+14
| | | | | | | * thread.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (mutex_unlock): fix typo.mame2008-07-282-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_find_file_ext, rb_find_file): not to split load path withnobu2008-07-282-55/+32
| | | | | | | path separator. [ruby-Bugs-21356] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (overlapped_socket_io, fcntl, rb_w32_close): must notnobu2008-07-282-4/+16
| | | | | | | pass a pointer to int which is smaller than st_data_t on mswin64. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (CreateChild, overlapped_socket_io): suppressnobu2008-07-282-3/+8
| | | | | | | warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (MAXPATHLEN): define before use.usa2008-07-282-6/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.[ch]: moved definitions of cond_every_entry andusa2008-07-283-10/+16
| | | | | | | | | rb_thread_cond_struct from .c to .h because rb_thread_cond_struct is used in vm_core.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (load_lib): use dln_find_file_r instead of dln_find_file.nobu2008-07-282-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-07-28svn2008-07-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h, thread.c: It is now prohibited to use Data_Get_Struct inmame2008-07-274-33/+34
| | | | | | | | | | *_free against an object that is going to be free'ed. So, change type of thread_t#keeping_mutexes from VALUE to mutex_t. * vm.c: remove mark to keeping_mutexes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_ssl.rb (server_loop): rescue Errno::EINVAL andmame2008-07-272-3/+7
| | | | | | | Errno::ECONNABORTED. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptests/method.rb: increase RLIMIT_STACK size to 4M+8Kbytesnaruse2008-07-272-2/+8
| | | | | | because FreeBSD fails this less than that. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_mark_children, obj_free): T_DEFERRED should not be appear.ko12008-07-272-8/+17
| | | | | | | | | * gc.c (gc_sweep, finalize_list): fix to decrement heap_slot#limit after executing finalizer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h: add a type T_DEFERRED.ko12008-07-276-51/+103
| | | | | | | | | | | | | | * gc.c: fix deferred finalizer system. finalize processes of T_DATA and T_FILE are executed after gc process. And fix to use BUILTIN_TYPE() instead of seeing flag. * thread.c, vm_core.h: add RUBY_VM_SET_FINALIZER_INTERRUPT() and check intterupt_flag at rb_thread_execute_interrupts(). * thread.c (mutex_mark): fix to mark next_mutex. * vm.c (rb_thread_mark): fix to mark keeping_mutexes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.h (dln_find_exe, dln_find_file): deprecated, use reentrantnobu2008-07-274-5/+11
| | | | | | | versions instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-07-27svn2008-07-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merged from 1.8seki2008-07-273-91/+156
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/exyacc.rb: fixed NoMethodError(Kernel#sub!).yugui2008-07-262-17/+21
| | | | | | | replaced use of special variables with explicit IO operations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add sample script using WIN32OLE_EVENT#handler=suke2008-07-261-0/+40
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (Init_win32ole): addsuke2008-07-263-61/+192
| | | | | | | | | WIN32OLE_EVENT#handler=, WIN32OLE_EVENT#handler * test/win32ole/test_win32ole_event.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-07-26svn2008-07-251-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (add_event_call_back): remove unused suke2008-07-252-1/+5
| | | | | | | variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* svn:eol-style LFnobu2008-07-252-84/+84
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_sweep, obj_free, run_final): defer finalizers of IO andnobu2008-07-252-10/+32
| | | | | | | Data. [ruby-dev:35578] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httputils.rb (WEBrick::HTTPUtils#split_header_value):nobu2008-07-252-12/+10
| | | | | | | | reduce backtrack. based on a fix by Christian Neukirchen <chneukirchen AT gmail.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/enc/test_koi8.rb: move from test/ruby/test_koi8.rb.mame2008-07-252-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_invoke, add_event_callback,suke2008-07-252-9/+9
| | | | | | | rescue_callback): refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/err_in_callback.rb : add test of raisingsuke2008-07-253-1/+92
| | | | | | | | | exception in WIN32OLE_EVENT callback. * test/win32ole/test_err_in_callback.rb : ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e