summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-26sizes.c.tmpl: autogeneratenobu
* template/sizes.c.tmpl: generate automatically by extracting RUBY_CHECK_SIZEOF from configure.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-26* 2013-08-26svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-26fix typokazu
* process.c (gcd_timetick_int): Renamed from gcd_timtick_int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-25* sizes.c (Init_sizes): Define the size of clock_t.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-25* object.c: [DOC] remove comment about trust/untrust.ktsj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-24* 2013-08-25svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-24* bignum.c (BARY_SHORT_MUL): Renamed from BARY_MUL1.akr
(bary_short_mul): Renamed from bary_mul1. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-24[DOC]akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-24[DOC]akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-24* 2013-08-24svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-24* process.c (rb_clock_gettime): The emulated clock names changed.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23win32ole.c: ID overflownobu
* ext/win32ole/win32ole.c (GetIDsOfNames): check ID overflow against DISPID, aka LONG, which is always 4 bytes. * ext/win32ole/win32ole.c (Invoke): use ID for method name to get rid of losing upper bits. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23add tests.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23* process.c (rb_clock_gettime): Add a cast to fix compile error byakr
-Werror,-Wshorten-64-to-32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23process.c: no symbol cachenobu
* process.c (rb_intern): no symbol cache while initialization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23configure.in: clock_tnobu
* configure.in (clock_t): needs time.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23* process.c (reduce_factors): New function.akr
(timetick2dblnum): Use reduce_factors. (timetick2integer): Ditto. (make_clock_result): Follow the above change. (rb_clock_gettime): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23* process.c (timetick_int_t): Renamed from timetick_giga_count_t.akr
(gcd_timtick_int): Renamed from gcd_ul and make the arguments timetick_giga_count_t. (reduce_fraction): Make the arguments timetick_int_t. (timetick2integer): Ditto. (make_clock_result): Ditto. (timetick2dblnum): Fix the return type. (rb_clock_gettime): Use timetick_int_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23Fix the previous commit.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23* process.c (gcd_ul): New function.akr
(reduce_fraction): Ditto. (reduce_fraction): Ditto. (timetick2dblnum): Ditto. (timetick2integer): Ditto. (make_clock_result): Use timetick2dblnum and timetick2integer. (rb_clock_gettime): Follow the make_clock_result change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23* array.c (ary_make_shared): shared ary as shady. Need more effort toko1
make it normal object. * array.c (rb_ary_modify): use RARRAY_PTR_USE() without WB because there are not new relations. * array.c (ary_ensure_room_for_unshift): use RARRAY_RAWPTR() because there are not new relations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23win32ole.c: store directlynobu
* ext/win32ole/win32ole.c (ole_wc2vstr): store converted multibyte string to string value directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23win32ole.c: suppress a warningnobu
* ext/win32ole/win32ole.c (ole_vstr2wc): downcast to suppress a warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23win32ole.c: check method name lengthnobu
* ext/win32ole/win32ole.c (fole_missing): reject too long method name, as Ruby string length is limited to long. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23win32ole.c: suppress warningsnobu
* ext/win32ole/win32ole.c (ole_excepinfo2msg, ole_wc2vstr): get rid of size_t with rb_enc_str_new() to suppress warnings on x64-mswin32. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23win32ole.c: no copy stringnobu
* ext/win32ole/win32ole.c (foletypelib_name, foletypelib_path): WC2VSTR() returns a string in cWIN32OLE_enc, no need to copy another string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23win32ole.c: fix typenobu
* ext/win32ole/win32ole.c (ole_method_docinfo_from_type): fix return type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23* array.c: introduce ARY_SHARED_OCCUPIED(shared).ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23process.c: suppress warningsnobu
* process.c (rb_clock_gettime): cast for tv_nsec explicitly to suppress warnings by VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23* 2013-08-23svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-23Makefile.sub: SIZEOF_CLOCK_Tnobu
* win32/Makefile.sub (config.h): now SIZEOF_CLOCK_T is needed for unsigned_clock_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-22* process.c (rb_clock_gettime): Strip "s" from unit names.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-22* process.c (unsigned_clock_t): Defined.akr
(rb_clock_gettime): Consider clock_t overflow for ISO_C_CLOCK_BASED_CLOCK_PROCESS_CPUTIME_ID. * configure.in: Check the size of clock_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-22* compile.c (build_postexe_iseq): fix to setup the local table.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-22* compile.c (rb_iseq_compile_node): accept NODE_IFUNC to supportko1
custom compilation. * compile.c (NODE_POSTEXE): compile to "ONCE{ VMFrozenCore::core#set_postexe{...} }" with a new custom compiler `build_postexe_iseq()'. * vm.c (m_core_set_postexe): remove parameters (passed by a block). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-21Exchange order of ISO_C_CLOCK_BASED_CLOCK_PROCESS_CPUTIME_ID andakr
POSIX_TIMES_BASED_CLOCK_PROCESS_CPUTIME_ID. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-21* process.c (rb_clock_gettime): Change emulation symbols forakr
Process.clock_gettime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-21* 2013-08-22svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-21* process.c (make_clock_result): Extracted from rb_clock_gettime.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-21* process.c (rb_clock_gettime): clock() based CLOCK_PROCESS_CPUTIME_IDakr
emulation implemented. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-21* process.c (rb_proc_times): Use RB_GC_GUARD to guard objects from GC.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-21* process.c (get_clk_tck): Extracted from rb_proc_times.akr
(rb_clock_gettime): times() based CLOCK_PROCESS_CPUTIME_ID emulation is implemented. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-21* process.c: POSIX_GETTIMEOFDAY_CLOCK_REALTIME is renamed toakr
SUS_GETTIMEOFDAY_CLOCK_REALTIME. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-21* process.c (rb_clock_gettime): CLOCK_PROCESS_CPUTIME_ID emulationakr
using getrusage is implemented. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-21* gc.c (getrusage_time): Fallback clock_gettime to getrusage whenakr
clock_gettime fails. Reported by Eric Saxby. [ruby-core:56762] [Bug #8805] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-21insns.def: refine commentsnobu
* insns.def (getinlinecache, once, opt_case_dispatch): refine some English version comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-20* insns.def: fix regexp's once option behavior.ko1
fix [ruby-trunk - Bug #6701] * insns.def: remove `onceinlinecache' and introduce `once' instruction. `once' doesn't use `setinlinecache' insn any more. * vm_core.h: `union iseq_inline_storage_entry' to store once data. * compile.c: catch up above changes. * iseq.c: ditto. * vm.c, vm_insnhelper.c: ditto. fix `m_core_set_postexe()' which is depend on `onceinlinecache' insn. * test/ruby/test_regexp.rb: add tests. * iseq.c: ISEQ_MINOR_VERSION to 1 (should increment major?) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-20* 2013-08-21svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-20* gc.c (rb_gcdebug_print_obj_condition): add printing information.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-20* test/gdbm/test_gdbm.rb: skip TestGDBM#test_s_open_lock on Solaris.ngoto
On Solaris (and platforms which do not have flock and have lockf), with GDBM 1.10, gdbm_open(3) blocks when opening already locked gdbm file. [Bug #8790] [ruby-dev:47631] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e