summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-04-30fix commit mistake of r31389.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-30* win32/win32.c (rb_w32_fdcopy): New. This can copy even thoughkosaki
fdset size exceed FD_SETSIZE. * include/ruby/intern.h (rb_fd_copy): use rb_w32_fdcopy() git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-30* thread.c (do_select): Change arugment type to rb_fdset_t.kosaki
Now do_select() is free from unexpected hangup if HAVE_RB_FD_INIT=1 [Bug #4636] * thread.c (rb_thread_fd_select, rb_thread_wait_fd_rw): adapt new argument type. * thread.c (rb_thread_select): make dummy implementation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-30* thread.c (rb_fd_copy): Change function argument. Nowkosaki
rb_fd_copy() has fully copy semantics. * include/ruby/intern.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-30* include/ruby/intern.h (rb_thread_select): mark as deprecated.kosaki
* ext/io/wait/wait.c (wait_readable): use rb_thread_fd_select instead of rb_thread_select. * ext/socket/init.c (wait_connectable0): ditto. * ext/readline/readline.c (readline_event): ditto. * io.c (rb_io_wait_readable, wait_readable, rb_io_wait_writable, wait_writable): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-30* thread.c (do_select): remove useless ifdef. time calculationkosaki
is not heavy weight. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-30* benchmark/bm_io_select3.rb: New.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-30* io.c (copy_stream_body, rb_io_s_copy_stream): move rb_fd_init()kosaki
from copy_stream_body to rb_io_s_copy_stream. fds of passing rb_fd_term() have to be guaranteed initialized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-30* benchmark/bm_io_select.rb, benchmark/bm_io_select2.rb: New.kosaki
based on a patch from Eric Wong at [Feature #4531] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29* test/io/wait/test_io_wait.rb: New. for testing ext/io/wait.kosaki
the patch was written by Eric Wong. [Feature #4531] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29fix eol-stylekosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29spell fixkosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29* include/ruby/win32.h: remove redundunt declaration ofkosaki
rb_w32_time_subtract(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29* 2011-04-30svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29* thread_pthread.c (gvl_init): fix hangup if GVL_SIMPLE_LOCK=1.kosaki
We don't have to call mutex_unlock() before initialize it! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29* thread_win32.c, include/ruby/win32.h: add prototypes.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29* thread_win32.c (native_cond_timedwait): New. r31373 causedkosaki
win32 build failure. * thread_win32.c (__cond_timedwait, abs_timespec_to_timeout_ms): New helper functions. * win32/win32.c (rb_w32_time_subtract): rename from subtract and remove static. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29fix indentationkosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29set svn:eol-style propertykosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29* benchmark/bm_vm4_pipe.rb: Add two new benchmark for GVLkosaki
performance. They was written by Koichi Sasada. * benchmark/bm_vm4_thread_pass.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29* vm_method.c (rb_clear_cache_by_class): Revert r29673. It madekosaki
a segmentation fault regression. [Bug #4289][ruby-core:34554]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29* io.c (make_writeconv): do not add textmode newline decorator if anynobu
newline decorator is set already. fixes #4618, fixes #4619 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29ChangeLog change.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29* thread.c (lock_func): small cleanup.kosaki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29* 2011-04-29svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-29* thread.c (rb_mutex_lock, lock_func): Avoid busy loop andkosaki
performance degression. bm_vm3_thread_mutex.rb performance change from 109.064sec to 16.331sec. * thread.c (init_lock_timeout): New helper function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-28* win32/{win32.c,dir.h} (rb_w32_uopendir): new API to pass UTF-8 path.usa
* win32/win32.c (opendir_internal, rb_w32_opendir): extract and merge common part of rb_w32_opendir() and rb_w32_uopendir(). * dir.c (do_opendir, glob_helper): encoding. * dir.c (dir_initialize, do_opendir): convert path to UTF-8 and call rb_w32_uopendir() instead of rb_w32_opendir() on Windows. fixes #4491, reported by Joey Zhou. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-28* test/dl/test_base.rb (DL::LIBC_SO): its always msvc*.dll onusa
mswin/mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-27* lib/csv.rb (CSV::open): suppress universal newline decorator.nobu
fixes #4603 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-27* lib/csv.rb (CSV.read): no mode is needed.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-27* 2011-04-28svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-27* io.c (rb_io_extract_modeenc, rb_f_backquote): set default textnobu
mode. fixes #4619 * io.c (pipe_open): set universal newline decorator if needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-27* enc/trans/emoji_iso2022_kddi.trans: ISO-2022-JP-KDDI doesn't havenaruse
CP932 UDA. Another reason is emacs-mule: the implementation of stateless-iso-2022-jp doesn't support beyond 94x94 (0x7fxx); but CP932 UDA is in 7Fxx-92xx. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26* configure.in (STRIP): use proper toolchain. based on a patchnobu
from Jon Forums at [ruby-core:35909]. fixes #4617 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26* test/ruby/test_encoding.rb (test_encoding): tests for r31362.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26 * ext/date/date_core.c (date_zone_to_diff): renamed.tadf
* ext/date/date_parse.c: ditto. * ext/date/date_strptime.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26* encoding.c (enc_find): accept Encoding objects.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26* include/ruby/win32.h (frexp, modf): fix suppressing warnings onnobu
mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26use skiptadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26use skiptadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26 * ext/date/date_core.c: modified validation methods.tadf
* ext/date/lib/date.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26* strip trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26* transcode.c (econv_opts): add newline option.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26* io.c (validate_enc_binmode, rb_io_extract_modeenc): set newlinenobu
decorator according to open mode. * transcode.c (rb_econv_prepare_options): new function, to prepare econv options with newline flags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26* include/ruby/encoding.h (ECONV_NEWLINE_DECORATOR_MASK): add.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26* transcode.c (econv_init): fix rdoc.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26* file.c (rb_file_truncate): fix function.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26* include/ruby/win32.h (ftruncate, truncate, ftello, fseeko): non-64nobu
versions on mingw are useless because they use int32_t. fixes #4564 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26* 2011-04-27svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-04-26 * ext/date/date_core.c (dt_lite_set_tmx): should get df value.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e