summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-16fix typoskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-16fix a typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-16* file.c (rb_file_size, rb_file_flock): improve parformance of Winodws.usa
* file.c (rb_file_truncate): removed unnecessary #ifdef. * test/test_file.rb (TestFile#test_truncate_size): added an assertion for File#size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-16* bignum.c (bigdivrem_single1): Renamed from bigdivrem_single. Addakr
x_higher_bdigit argument. (bigdivrem_single): Just call bigdivrem_single1. (bigdivrem_restoring): Use bigdivrem_single1 to avoid memmove. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-16* bignum.c (bary_small_rshift): Specify the higher BDIGIT instead ofakr
sign bit. (big_shift3): Follow the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* bignum.c (bary_mul_toom3): Reduce a branch.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* process.c (rb_clock_gettime): add CLOCK_MONOTONIC support on OS X.naruse
http://developer.apple.com/library/mac/qa/qa1398/_index.html [Feature #8658] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* bignum.c (bigdivrem_single): Use shift when y is a power of two.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* bignum.c (bigdivrem_restoring): Use bigdivrem_single if non-topmostakr
BDIGITs of y are zero. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* bignum.c (rb_big2str1): Truncate topmost zeros of x.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* bignum.c (bary_divmod): Simplify an expression.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* 2013-08-16svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* bignum.c (bigdivrem_normal): Remove a local variable.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* bignum.c (big2str_karatsuba): Use bigdivrem_restoring directly toakr
reduce working buffer and memory copy. (rb_big2str1): Allocate working buffer for big2str_karatsuba here. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* test/ruby/test_file.rb (TestFile#test_truncate_size): test forusa
above changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* io.c, internal.h (rb_io_flush_raw): new function to select callingusa
fsync() (on Windows). * io.c (rb_io_flush_raw): use above function. * file.c (rb_file_truncate): use above function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15parse.y: simplifynobu
* parse.y (f_label): extract from f_kw and f_block_kw. * parse.y (f_opt, f_block_opt): use f_norm_arg to simlify actions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* win32/win32.c (clock_gettime): improve precision when freq is lessusa
than and nearly equals 10**9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* gc.c (gc_lazy_sweep): remove heap_increment() here because heap_incko1
may be 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* io.c (rb_io_rewind): remove fsync() for Windows to improve theusa
performance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* test/fileutils/test_fileutils.rb (TestFileUtils#test_rmdir):usa
FileUtils.rmdir ignores Errno::ENOTEMPTY, so, in such cases, this assertion is nonsence. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* process.c (rb_clock_gettime): [DOC] FreeBSD 7.1 supportsakr
CLOCK_THREAD_CPUTIME_ID. http://www.freebsd.org/releases/7.1R/relnotes.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-15* include/ruby/win32.h, win32/Makefile.sub, win32/win32.cusa
(clock_gettime): [experimental] emulates clock_gettime(2) of posix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-14* 2013-08-15svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-14* hash.c (rb_hash_aset): [DOC] Document key dup patch by @kachickzzak
[Fixes GH-382] https://github.com/ruby/ruby/pull/382 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-14* test/test_pstore.rbusa
(PStoreTest#test_pstore_files_are_accessed_as_binary_files): need more time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-14get detailed ps data to debugnaruse
add -L/-H/-M to get thread info git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-14* test/test_pstore.rbusa
(PStoreTest#test_pstore_files_are_accessed_as_binary_files): changed because vc10-x64 CI fails with timeout. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-14* proc.c (rb_mod_define_method): now they return the symbols of theusa
defined methods, not the methods/procs themselves. [ruby-dev:42151] [Feature #3753] * NEWS: documents about above change and def-expr (see r42337). * test/ruby/test_module.rb: tests about above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-14test_dir_m17n.rb: fixed encoding file system on OS Xnobu
* test/ruby/test_dir_m17n.rb (test_filename_as_bytes_extutf8), (test_filename_bytes_euc_jp, test_filename_euc_jp), (test_filename_ext_euc_jp_and_int_utf_8): Mac OS X also has fixed encoding file system. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-13* bignum.c (bigdivrem_restoring): xn argument removed.akr
(bigdivrem_normal): Follow the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-13Remove a trailing space.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-13* 2013-08-14svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-13* bignum.c (big_div_struct): Remove xn and j field. Add zn field. akr
(bigdivrem1): Follow the above change. (bigdivrem_restoring): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-13* bignum.c (big_div_struct): ynzero field removed.akr
(bigdivrem1): Follow the above change. (bigdivrem_restoring): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-13* bignum.c (bigdivrem_restoring): Extracted from bigdivrem_normal.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-13random.c: coerce before check negativenobu
* random.c (rb_random_ulong_limited): coerce before check negative. [Fixes GH-379] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-13object.c: undef Module#prepend_features on Classnobu
* object.c (Init_Object): undef Module#prepend_features on Class, as well as Module#append_features. [Fixes GH-376] * test_class.rb: Added test for above. And ensure type checking on similar methods as module_function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-13fix a typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-13fix a typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12* 2013-08-13svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12* doc/syntax/literals.rdoc: [DOC] String literal concat by @cknadlerzzak
[Fixes GH-380] https://github.com/ruby/ruby/pull/380 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12 * gc.c (gc_marks_test): inhibit gc for st's operation.tarui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12parse.y: CR in middlenobu
* parse.y (parser_whole_match_p): treat CR in middle of a line as a mere whitespace. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12* class.c (rb_prepend_module): make T_ICLASS object shady becauseko1
this T_ICLASS object seems to share method table with other class objects. It was causes WB miss. TODO: need to know the data structure. * test/ruby/test_module.rb: add a test for WB miss. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12* process.c: [DOC] RDoc formatting of Process.clock_gettimezzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12* lib/yaml/dbm.rb: [DOC] Document call-seq for YAML::DBMzzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12* ext/dbm/extconf.rb: [DOC] Hide from RDoczzak
Some libraries might want to document extconf.rb so RDoc treats it like any other ruby program. However, DBM users shouldn't care about these methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12* ext/dbm/dbm.c: [DOC] Reformat headings of DBM classzzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-12* lib/yaml.rb, lib/yaml/: [DOC] Document YAML::DBM#key and addzzak
references to similar methods with more detail. This patch brings lib/yaml to 100% documentation coverage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e