aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix typoskazu2011-02-031-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/to_ruby.rb: use Regexp::NOENCODINGtenderlove2011-02-023-4/+9
| | | | | | | rather than magic number. * ext/syck/lib/syck/rubytypes.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (Init_Regexp): added a constant for ARG_ENCODING_NONEtenderlove2011-02-023-0/+14
| | | | | | | [ruby-core:35054] * test/ruby/test_regexp.rb: corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-02-03svn2011-02-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/to_ruby.rb: ARG_ENCODING_NONE regulartenderlove2011-02-025-2/+28
| | | | | | | | | | expressions can round trip. [ruby-core:34969] * test/psych/test_yaml.rb: test for ARG_ENCODING_NONE regex * ext/sych/lib/syck/rubytypes.rb: ARG_ENCODING_NONE regular expressions can round trip. * test/syck/test_yaml.rb: test for ARG_ENCODING_NONE regex git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fdatasync): Use fsync(2) if if the underlyingkosaki2011-02-022-4/+13
| | | | | | | | operating system does not support fdatasync(2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Commit files I forgot to adddrbrain2011-02-024-0/+357
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import RDoc 3.5.1drbrain2011-02-0249-270/+2116
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Ignore -test- and tmpdirdrbrain2011-02-020-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-02-02svn2011-02-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/st.h (st_table): Added comment why we need __extension__.kosaki2011-02-012-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc/NEWS-1.9.2: add File#sizekazu2011-02-011-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/encdb.c: parenthesize macro arguments.akr2011-02-012-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_require.rb (TestRequire#test_require_with_unc):usa2011-02-012-1/+7
| | | | | | | | use ``127.0.0.1'' instead of ``localhost'' as host name, because XP or earlier cannot resolv it as NBT hostname. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/benchmark/test_benchmark.rb (#capture_bench_output):kosaki2011-02-012-1/+8
| | | | | | | | | | Added explict sleep. Windows have imprecise time support. Thus Tms.new.Add!{} may be or may be not equal 0. The test failure started since r30747. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import rubygems 1.5.0 (released version @ 1fb59d0)ryan2011-02-0117-46/+201
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/console/console.c (console_set_winsize): new method to setnobu2011-01-312-1/+63
| | | | | | console size. [EXPERIMENTAL] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/console/console.c (console_winsize): use GetWriteFD.nobu2011-01-312-11/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h, win32/win32.c: add rb_w32_inet_ntop.tarui2011-01-313-0/+25
| | | | | | | inet_ntop's minimum supported client is Vista. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-02-01svn2011-01-311-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/benchmark.rb: fix benchmarck to work with current ruby.naruse2011-01-313-93/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | patched by Benoit Daloze [ruby-core:33846] [ruby-dev:43143] merged from https://github.com/eregon/ruby/commits/benchmark * lib/benchmark (Report#width): update documentation * lib/benchmark: document the return value of #benchmark and the :list attribute in Report * lib/benchmark (Tms#format): rename variables, use String#% instead of Kernel.format * lib/benchmark: remove undocumented Benchmark::times (an alias of Process::times used twice) * lib/benchmark (#benchmark): use label_width for the caption * lib/benchmark (Tms#initialize): rename variables * lib/benchmark: allow title to not be a String and call #to_s * lib/benchmark (Benchmark#bm): return an Array of the times with the labels * lib/benchmark: correct output for Benchmark#bmbm (remove the extra space) * lib/benchmark: add a few tests for Benchmark::Tms output * lib/benchmark: improve style (enumerators, ljust, unused vars) * lib/benchmark: add spec about output and return value * lib/benchmark: improve basic style and consistency no parenthesis for print and use interpolation instead of printf * lib/benchmark: remove unnecessary conversions and variables * lib/benchmark: correct indentation * lib/benchmark: rename the FMTSTR constant and variable to FORMAT * lib/benchmark: remove useless exception * test/benchmark: remove unused variable warnings git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.c (add_id): remove duplicated rb_id2str() call.nagachika2011-01-312-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/langinfo.c: parenthesize macro arguments.akr2011-01-312-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: revert r30698.kosaki2011-01-312-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_start_func_2): check deadlock condition beforenagachika2011-01-312-2/+9
| | | | | | | release thread stack. fix memory violation when deadlock detected. reported by Max Aller. [Bug #4009] [ruby-core:32982] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix typos.nagachika2011-01-311-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/locale.rb (IRB::Locale::#search_file):yugui2011-01-312-1/+6
| | | | | | Gem might be undefined if --disable-gems. [ruby-core:34990] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * addr2line.c: suppressed shorten-64-to-32 warnings.naruse2011-01-319-61/+73
| | | | | | | | | | | | * regcomp.c: ditto. * regexec.c: ditto. * regint.h: ditto. * regparse.c: ditto. * regparse.h: ditto. * time.c: ditto. * variable.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Additional fix for r30736naruse2011-01-301-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add ML Reference and a test for r30736 [ruby-core:34997]naruse2011-01-302-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-01-31svn2011-01-301-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_uniq_bang): call ARY_SET_LEN(ary, 0) beforenaruse2011-01-302-1/+12
| | | | | | | | | rb_resize_capa because rb_resize_capa expects resized length is smaller than current array length. call rb_ary_unshare before rb_resize_capa because rb_resize_capa losts the reference to original shared array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/crypt.c: parenthesize macro arguments.akr2011-01-302-39/+43
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/test_gem_security.rb (TestGemSecurity): valid onlynobu2011-01-302-2/+5
| | | | | | if OpenSSL is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_dl2.rb (TestDL#test_sin): math functions do notnobu2011-01-303-0/+10
| | | | | | | work on x86_64 due to the design of DL2. * test/dl/test_func.rb (DL::TestFunc#test_{sinf,sin): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime_with_timespec): %G produces 4 digits.akr2011-01-303-1/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/emacs_mule.c (emacsmule_islead): 7bit range is also leadingnobu2011-01-303-12/+23
| | | | | | byte. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_fetch_m): use useful message for longer key, not anobu2011-01-303-4/+14
| | | | | | nonsense id value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_ellipsize): new function to ellipsize a string.nobu2011-01-305-1/+114
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (rb_enc_step_back): new function to stepnobu2011-01-302-0/+6
| | | | | | back n characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/emacs_mule.c (emacsmule_islead): fix inverse condition.nobu2011-01-303-1/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c (struct argf): char behaves like an unsigned char by default on AIX.kanemoto2011-01-302-1/+6
| | | | | | | http://publib.boulder.ibm.com/infocenter/comphelp/v111v131/index.jsp?topic=/com.ibm.xlcpp111.aix.doc/language_ref/ch.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Mac OS X wrongly reports it has fdatasync(3).naruse2011-01-292-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_bn.c (GetBNPtr): add missing nil case.naruse2011-01-293-2/+15
| | | | | | patched by Martin Bosslet. [ruby-core:34987] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h: Added NUM2MODET() and MODET2NUM() default definition.kosaki2011-01-292-0/+11
| | | | | | | | Because r30686 introduced win32 build failure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-01-30svn2011-01-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_join): [].join.encoding must be US-ASCII.naruse2011-01-293-1/+7
| | | | | | [ruby-list:47790] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/driver.rb (BenchmarkDriver#measure): Show command linekosaki2011-01-292-1/+6
| | | | | | | | when abnormal exiting occur. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * property.nobu2011-01-290-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_get_ev_const): no-scope reference to toplevelmame2011-01-293-2/+25
| | | | | | | | | private constant has been prohibited incorrectly. * test/ruby/test_module.rb (test_toplevel_private_constant): add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e