summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-29* dir.c (char_casecmp): fix: return 0 if either of characters is NUL.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-29* ChangeLog: fixed wrong changelog for r18253.nobu
* 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
2008-07-29* test/etc/test_etc.rb (test_getpwuid): fix for users whose uid isnaruse
shared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-28* file.c (rb_find_file_ext, rb_find_file): converts Windows style pathnobu
to Cygwin path. [ruby-dev:35647] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-28* math.c (math_atanh): raise EDOM on FreeBSD when atanh(1).naruse
* 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-28* 2008-07-29svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-28* dir.c (struct dir_data): intenc field removed.akr
(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
2008-07-28* test/rss/: use PNG instead of zlib as binary data.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-28 * thread_win32.[ch] (cond_every_entry, rb_thread_cond_struct): revertedusa
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
2008-07-28* test/ruby/test_require.rb (test_require_too_long_filename):mame
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
2008-07-28* vm_core.h: move the definition of struct rb_mutex_struct.mame
* thread.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-28* thread.c (mutex_unlock): fix typo.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-28* file.c (rb_find_file_ext, rb_find_file): not to split load path withnobu
path separator. [ruby-Bugs-21356] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-28* win32/win32.c (overlapped_socket_io, fcntl, rb_w32_close): must notnobu
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
2008-07-28* win32/win32.c (CreateChild, overlapped_socket_io): suppressnobu
warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-28 * win32/win32.c (MAXPATHLEN): define before use.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-28 * thread_win32.[ch]: moved definitions of cond_every_entry andusa
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
2008-07-28* dln.c (load_lib): use dln_find_file_r instead of dln_find_file.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-27* 2008-07-28svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-27* vm_core.h, thread.c: It is now prohibited to use Data_Get_Struct inmame
*_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
2008-07-27* test/openssl/test_ssl.rb (server_loop): rescue Errno::EINVAL andmame
Errno::ECONNABORTED. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-27* bootstraptests/method.rb: increase RLIMIT_STACK size to 4M+8Kbytesnaruse
because FreeBSD fails this less than that. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-27* gc.c (gc_mark_children, obj_free): T_DEFERRED should not be appear.ko1
* 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
2008-07-27* include/ruby/ruby.h: add a type T_DEFERRED.ko1
* 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
2008-07-27* dln.h (dln_find_exe, dln_find_file): deprecated, use reentrantnobu
versions instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-27* 2008-07-27svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-27merged from 1.8seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-26* sample/exyacc.rb: fixed NoMethodError(Kernel#sub!).yugui
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
2008-07-26add sample script using WIN32OLE_EVENT#handler=suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-26* ext/win32ole/win32ole.c (Init_win32ole): addsuke
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-25* 2008-07-26svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-25* ext/win32ole/win32ole.c (add_event_call_back): remove unused suke
variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-25svn:eol-style LFnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-25* gc.c (gc_sweep, obj_free, run_final): defer finalizers of IO andnobu
Data. [ruby-dev:35578] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-25* lib/webrick/httputils.rb (WEBrick::HTTPUtils#split_header_value):nobu
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
2008-07-25* test/ruby/enc/test_koi8.rb: move from test/ruby/test_koi8.rb.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-25* ext/win32ole/win32ole.c (ole_invoke, add_event_callback,suke
rescue_callback): refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-25* test/win32ole/err_in_callback.rb : add test of raisingsuke
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
2008-07-25* ext/win32ole/win32ole.c (Init_win32ole): addsuke
WIN32OLE_EVENT#off_event. * test/win32ole/test_win32ole_event.rb: ditto. * test/win32ole/test_win32ole_event.rb: some refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-25* regint.c (xmalloc, xrealloc, xfree): not to use ruby managed memory.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-25* vm.c (vm_invoke_proc): skip setting safe_level ifko1
it from bmethod. This change makes test/ruby/test_proc.rb pass. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-25* ext/nkf/nkf-utf8/nkf.c (struct input_code.name, input_codename):nobu
constified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-25* test/ruby/test_transcode.rb: refactoring/cleanup ofduerst
test_iso_2022_jp(_1) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-24fix ChangeLog.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-24* ext/nkf/nkf.c (rb_nkf_convert): output of mime encode is US-ASCII.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-24* sample/coverage.rb: move from lib/coverage.rb because this remains inmame
an early phase of development. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-24* 2008-07-25svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-24* file.c (rb_find_file_ext, rb_find_file): converts Windows style pathnobu
to Cygwin path. [ruby-dev:35647] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-24 * win32/win32.c (exit_handler): use st_free_table() to free socklist.usa
* win32/win32.c (rb_w32_pipe_exec, rb_w32_accept, rb_w32_socket, rb_w32_socketpair): should check and release fd and sockets/handles if an error occurs in rb_w32_open_osfhandle(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-24 * win32/win32.c (overlapped_socket_io): avoid warnings.usa
* thread_win32.c (ubf_handle): refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e