aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * test/testunit: add skip messages.nobu2011-06-102-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_transcode.rb (TestTranscode#test_Big5_Hkscs): fixnobu2011-06-101-1/+1
| | | | | | indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_module.rb (TestModule#remove_rake_mixins): remove allnobu2011-06-102-3/+9
| | | | | | module related to Rake. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c: Mention that Encoding.compatible? can work with moredrbrain2011-06-102-5/+16
| | | | | | | than just Strings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych.rb: updating version to match released gem.tenderlove2011-06-092-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal (BigDecimal_to_i): Integer#** may return flonum.tadf2011-06-092-4/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (string_to_c_internal): uses rb_reg_nth_match;tadf2011-06-093-28/+21
| | | | | | | | * rational.c (string_to_r_internal): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: remove an unused declaration.nagachika2011-06-092-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c (string_to_r): Rational#** may return flonum.tadf2011-06-092-3/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-06-10svn2011-06-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: fix IO.copy_stream interrupt handling.akr2011-06-096-23/+137
| | | | | | | | | | | | | | | | based on the patch by Eric Wong. [ruby-core:36156] * vm_core.h (rb_thread_call_with_gvl): don't declare here. * thread.c: include internal.h. (rb_thread_execute_interrupts): new function. * internal.h (rb_thread_execute_interrupts): declared. (rb_thread_call_with_gvl): declared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_objspace_call_finalizer): use rb_typeddata_is_kind_of() fornagachika2011-06-095-1/+34
| | | | | | | | | type check to get rid of a double free when main Thread has singleton class. [ruby-core:36741] [Bug #4828] * thread.c (rb_obj_is_mutex): add a new utility function. * vm.c (rb_obj_is_thread): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_thread.rb (TestThread#test_kill_thread_subclass):nagachika2011-06-092-0/+16
| | | | | | add test for Thread.kill with Thread subclass instance. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_thread.rb (TestThread#test_kill_wrong_argument):nagachika2011-06-092-0/+13
| | | | | | | test for [ruby-core:35086]. partially forward porting r31402 from ruby_1_9_2 branch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c: Fix the ambiguous description of the behavior ofmrkn2011-06-092-1/+8
| | | | | | | rb_str_aref_m with a range. It returns nil when the beginning of the range is greater than the end of the string rather than the range. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/to_ruby.rb: Hash subclasses can be readtenderlove2011-06-094-23/+56
| | | | | | | | | from YAML files. * ext/psych/lib/psych/visitors/yaml_tree.rb: Hash subclasses can be dumped to YAML files. * test/psych/test_hash.rb: corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/to_ruby.rb: Ruby modules can be loadedtenderlove2011-06-094-1/+31
| | | | | | | | | from YAML files. * ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby modules can be dumped to YAML files. * test/psych/test_class.rb: corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-06-09svn2011-06-091-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/to_ruby.rb: Ruby classes can be loadedtenderlove2011-06-094-6/+19
| | | | | | | | | from YAML files. * ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby classes can be dumped to YAML files. * test/psych/test_class.rb: corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix some typosnagachika2011-06-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: add ticket linknagachika2011-06-081-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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