aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 2011-06-08svn2011-06-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (root_fiber_alloc): set root fiber's status RUNNING.nagachika2011-06-082-1/+8
| | | | | | | | in cont_mark() only RUNNING fiber's machine stack is marked. root fiber's status should be RUNNING at the beginning regardless of FIBER_USE_NATIVE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/irb/irb.rd: fix typo. patch by Nobuhiro IMAI.kosaki2011-06-074-3/+10
| | | | | | | | | | [Bug #4843] [ruby-dev:43639] * doc/irb/irb.rd.ja: ditto. * doc/ChangeLog-YARV: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): IO#tty? ofusa2011-06-073-18/+9
| | | | | | | | | Windows has been fixed at r29969. * test/rubygems/test_gem_stream_ui.rb: now can run tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/test_gem.rb (TestGem#{test_self_user_home_userprofile,usa2011-06-072-4/+8
| | | | | | | | test_self_user_home_user_drive_and_path}): should simply ignore meaningless tests instead of skipping them. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):usa2011-06-072-1/+6
| | | | | | | should show some messages when skippning tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c (date_s_today, datetime_s_now): check thenobu2011-06-072-2/+9
| | | | | | result of localtime_r(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (rb_gmtime_r2): adjust indent.nobu2011-06-071-12/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/extconf.rb: use $defs not $CPPFLAGS to get rid ofnobu2011-06-072-5/+9
| | | | | | command line escape issues on Windows. fixed #4835. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-06-07svn2011-06-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (TestIO#test_s_{,bin}write): do not create a filekazu2011-06-062-52/+55
| | | | | | under /tmp. [Bug #4846] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c: use #if FIBER_USE_NATIVE instead of #ifdef.nagachika2011-06-062-14/+21
| | | | | | | you can suppress use of setcontext for Fiber with compile option -DFIBER_USE_NATIVE=0 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/date/test_switch_hitter.rb: added a test.tadf2011-06-062-0/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix a typo.nagachika2011-06-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: added notes.tadf2011-06-062-2/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix a typo.nagachika2011-06-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: flattened format to strftimev.tadf2011-06-063-9/+18
| | | | | | | | * ext/date/date_core.c (date_strftime_internal): taints run. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/{defines,missing}.h (rb_infinity, rb_nan): move fromusa2011-06-063-18/+23
| | | | | | | defines.h to missing.h. (couldn't use RUBY_EXTERN there.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rdoc/test_rdoc_markup_pre_process.rb (TestRDocMarkupPreProcess#usa2011-06-062-10/+7
| | | | | | | | | {test_include_file,test_include_file_encoding_incompatible}): no need to write such workaround. don't hide the bug of ruby (and the bug is already fixed). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c (valid_jd_sub): need to convert from VALUE tousa2011-06-062-2/+10
| | | | | | | | | double. * ext/date/date_core.c (offset_to_sec): get rid of a compiler warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h (rb_inifinity, rb_nan): export for Windows.usa2011-06-062-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb(Test::Unit::Runner#puke):sorah2011-06-062-0/+28
| | | | | | | | Add overriding from MiniTest::Unit#puke. This reverts minitest's fix that skip messages are hidden when not verbose mode (-v option). To hide skip messages, use --hide-skip option instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: don't use autoload.naruse2011-06-062-3/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-06-06svn2011-06-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/parser.c (parse): release event objects to plug memorytenderlove2011-06-062-0/+6
| | | | | | leak. Thanks Mark J. Titorenko! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: remove rb_thread_stop_timer_thread function declaration.kosaki2011-06-053-7/+7
| | | | | | | | | Instead, include vm_core.h. * process.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (thread_timer): add to care a spurious wakeup.kosaki2011-06-052-9/+22
| | | | | | | | | | When native_cond_timedwait() return 0 by spurious wakeup, we don't have to neither 1) call timer_thread_function and 2) exit the timer thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c (m_real_cwyear): new. derived from m_cwyear.tadf2011-06-053-56/+89
| | | | | | | | * ext/date/date_strftime.c: trivial changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/config_list.in: add new options for tcltklib.nagai2011-06-052-1/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_tmx.h: now does not place decoded data. allows totadf2011-06-054-321/+352
| | | | | | | | | | | access indirectly via functions on demand. * ext/date/date_strftime.c: ditto. * ext/date/date_core.c: ditto. * ext/date/date_core.c ({d|dt}_lite_to_s): use strftime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-06-05svn2011-06-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: wrote about changes of date.tadf2011-06-042-0/+45
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c (d_lite_inspect): changed the format.tadf2011-06-042-807/+1113
| | | | | | | | * ext/date/date_core.c: refactoring and fixing some bugs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* clone_const_inobu2011-06-041-16/+24
| | | | | | | * class.c (clone_const_i, class_instance_method_list): get rid of type-punning function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_module.rb (TestModule#test_mix_const): test fornobu2011-06-041-1/+16
| | | | | | constant mix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (check_mix_method_i, do_mix_method_i): not mix methodsnobu2011-06-043-0/+22
| | | | | | renamed as nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-06-04svn2011-06-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/test_gem_commands_which_command.rb:naruse2011-06-032-4/+9
| | | | | | "missing" exists on ruby's top source directory. [Bug #4815] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/test_case.rb: Refix for test-all in separate directory.naruse2011-06-032-2/+8
| | | | | | r31147 + r31151. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog for r31910sorah2011-06-031-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c (d_lite_plus): get rid of compiler warnings.usa2011-06-032-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/missing.h, numeric.c (round): moved prototype of round()usa2011-06-033-2/+10
| | | | | | | | from numeric.c to missing.h. (note: round() is C99 feature, so ruby provides it if not exists in C runtime.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/parallel.rb: Keep $stdin, $stdout before run testcasesorah2011-06-031-2/+8
| | | | | | | and restore after run. Because some test break $stdin, $stdout. Fixes [Bug #4433] [ruby-core:35353] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fflush): windows -- call fsync() only when the FD is tied tousa2011-06-032-1/+10
| | | | | | | file, because if the FD is pipe, it blocks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-06-03svn2011-06-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (URI::HTTP#request_uri): return nil when the urinaruse2011-06-033-5/+11
| | | | | | is path-rootless form. Bug #4759 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Improve the line ending detection algorithmjeg22011-06-022-10/+29
| | | | | | | | (patch by Alexey). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_write, rb_io_s_binwrite): return!!!usa2011-06-022-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: Add File.write, File.binwrite. [Feature #1081] [ruby-core:21701]sorah2011-06-024-1/+197
| | | | | | | | * test/ruby/test_io.rb: Test for File.write, File.binwrite. * NEWS: News for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_flush, rb_io_flush): need to fsync() when ruby calls internalusa2011-06-022-3/+8
| | | | | | | flush. [ruby-core:36670] [Bug #4813] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e