aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* st_update passes the key in st_tableshirosaki2012-11-173-0/+23
| | | | | | | | | | | * st.c (st_update): pass the key in st_table so that we can free memory of the key in st_table when deleting. [ruby-core:49220] [Bug #7330] * test/-ext-/st/test_update.rb (Bug::StTable#test_pass_objects_in_st_table): add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2012-11-170-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/core_ext.rb: move Kernel#y so that it cantenderlove2012-11-173-8/+15
| | | | | | | | manually be required as 'psych/y'. * ext/psych/lib/psych/y.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/abbrev.rb: fix r37113. Correct examples, fix styleeregon2012-11-162-11/+15
| | | | | | and show explicit dependency (require 'abbrev'). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* skip long name conversion if last character is a wildcard oneluislavena2012-11-163-0/+17
| | | | | | | | | * win32/file.c (replace_to_long_name): skip automatic path expansion when wildcard character is used. [ruby-core:49451] [Bug #7374] * test/ruby/test_file_exhaustive.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: suppress warningnobu2012-11-162-1/+4
| | | | | | | | * object.c (rb_obj_alloc): suppress unused variable warning. * tool/gen_dummy_probes.rb: define dtrace disabling macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm.c: gc guardnobu2012-11-161-0/+1
| | | | | | * vm.c (vm_collect_usage_operand): prevent from GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adjust indentnobu2012-11-162-5/+5
| | | | | | | | * object.c (rb_obj_alloc): adjust indent. * vm.c (vm_collect_usage_{insn,operand,register}): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/core.rb: Use symbols instead of strings formarcandre2012-11-168-22/+22
| | | | | | | | | | | | | | | | | | | | {const_,instance_variable_}{get,set}. [#7161] * lib/drb/drb.rb: ditto. * lib/ipaddr.rb: ditto. * lib/irb/workspace.rb: ditto. * lib/monitor.rb: ditto. * lib/rss/maker/base.rb: ditto. * lib/rss/rss.rb: ditto. * lib/xmlrpc/parser.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): add flonum to arg->data to keep reference indexnagachika2012-11-163-0/+15
| | | | | | | | consistency. [ruby-core:49323] [Bug #7348] * test/ruby/test_marshal.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: dependencies for proges.dmyhnobu2012-11-162-3/+7
| | | | | | | * common.mk (incs): dist files need probes.dmyh. * common.mk (probes.dmyh): depends on generator script. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-11-17svn2012-11-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* probes.h: select by suffix rulesnobu2012-11-166-22/+31
| | | | | | | | * Makefile.in, common.mk, configure.in, win32/Makefile.sub (probes.h): select generating with dtrace or copying dummy file by suffix rules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2012-11-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in: fix typonobu2012-11-161-1/+1
| | | | | | | * Makefile.in (yes-dtrace-probes.h): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_call_without_gvl2): change the parameter ofko12012-11-163-10/+21
| | | | | | | | | | | | `func' from `int *skip_interrupt' to `VALUE *flags'. If (flags & RUBY_CALL_WO_GVL_FLAG_SKIP_CHECK_INTS) is not zero, then skip checking interrupt. [ruby-core:46547] * include/ruby/thread.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (no-dtrace-probes.h): dmyprobes.h is in srcdir.naruse2012-11-163-2/+8
| | | | | | * common.mk (dmyprobes.h): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in: split probes.h commandsnobu2012-11-163-9/+21
| | | | | | | | * Makefile.in (probes.h): split build commands for dtrace-available and unavailable platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in: move probes.h to all-incsnobu2012-11-163-4/+9
| | | | | | | | * Makefile.in (incs): probes.h is a platform dependent file, so it cannot be a part of prereq target. move it to all-incs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: move after AC_PROG_CCnobu2012-11-162-9/+12
| | | | | | | * configure.in (DTRACE): move after AC_PROG_CC since cross_compiling is set in it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* range.c: compare signedness onlynobu2012-11-161-5/+3
| | | | | | | * range.c (BSEARCH_CHECK): compare signedness only and relax an assumption of the result of rb_cmpint() which compilers cannot know. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: cross-compiling fixnobu2012-11-162-2/+8
| | | | | | | * configure.in (DTRACE): ignore non-prefixed version if cross-compiling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in: probes.hnobu2012-11-163-2/+8
| | | | | | | | * Makefile.in, win32/Makefile.sub (probes.h): fix copying dmyprobes.h path when outplace-build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gitignore: ignore dmyprobes.hnobu2012-11-161-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove trailing spacesnobu2012-11-162-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb (POP3.certs): fix typo in comment.glass2012-11-162-1/+7
| | | | | | | patch from no6v (Nobuhiro IMAI) <nov@yo.rim.or.jp>. [ruby-dev:46519] [Bug #7355] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rake/helper.rb (Rake::TestCase#setup): revert r37669.naruse2012-11-167-9/+17
| | | | | | | | | @orig_PWD should be the original pwd. * test/rake/test_*.rb: don't use @orig_PWD to load libraries. It should be specified with relative path from the file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rake/helper.rb (Rake::TestCase#setup): @orig_PWD shouldn't benaruse2012-11-162-1/+6
| | | | | | Dir.pwd when the build directory is different from source directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake/version.rb: workaround fix to build. see #7366naruse2012-11-162-2/+12
| | | | | | [ruby-dev:46522] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake*: Updated to rake 0.9.4drbrain2012-11-1513-28/+90
| | | | | | | | | | http://rake.rubyforge.org/doc/release_notes/rake-0_9_4_rdoc.html for a list of changes in 0.9.4. * test/rake*: ditto * NEWS: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2012-11-150-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-11-16svn2012-11-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake*: Updated to rake 0.9.3drbrain2012-11-1545-230/+1408
| | | | | | | | | * test/rake*: ditto * bin/rake: ditto * NEWS: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Ignore dmyprobes.h, .time.id.hdrbrain2012-11-150-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_bsearch): fix some bugs: a documentation bug, a wrongmame2012-11-154-9/+23
| | | | | | | | | | | | condition, missed break in switch/case, and workaround for GCC optimization. See [ruby-core:49364] in detail. A great patch from Heesob Park. [Bug #7352] [Feature #4766] * array.c (rb_ary_bsearch): fix similar bug (missed break). * test/ruby/test_range.rb: add two test cases for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_exec.h (GENTRY): GENTRY should be pointer size.ko12012-11-152-1/+6
| | | | | | | | A patch by yoshidam (Yoshida Masato) [Bug #7332]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * man/erb.1: Fix grammar and copyright dateszzak2012-11-157-21/+33
| | | | | | | | | | | | | | * man/goruby.1: ditto * man/irb.1: ditto * man/rake.1: ditto * man/ri.1: ditto * man/ruby.1: ditto Patch by Arthur Gunn [Fixes Github #210] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * man/ruby.1: Grammar edits for man pagezzak2012-11-152-10/+15
| | | | | | | Based on a patch by Michael Endsley [Fixes Github #183] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-11-15svn2012-11-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_bsearch): add Array#bsearch for binary search.mame2012-11-146-0/+511
| | | | | | | | | | | | | | | [ruby-core:36390] [Feature #4766] * test/ruby/test_array.rb: add a test for above. * range.c (range_bsearch): add Range#bsearch for binary search. [ruby-core:36390] [Feature #4766] * test/ruby/test_range.rb: add a test for above * NEWS: added the two new methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (chmod): Add "X" to modes, convert format to tablezzak2012-11-142-12/+19
| | | | | | | [ruby-core:48965] [Bug #7288] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb (init_comments): Document private method #init_comments.zzak2012-11-142-0/+10
| | | | | | | Based on a patch from Vincent Batts [ruby-core:49172] [Bug #7319] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-11-14svn2012-11-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (probes.h): create from probes.dmrkn2012-11-132-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_cfunc_with_frame): don't use ci afterko12012-11-135-57/+77
| | | | | | | | | | | EXEC_EVENT_HOOK because ci can be overridden. * vm_eval.c: ditto. * method.h: change invoker's parameters types. * vm_method.c (call_cfunc_invoker_func): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_mod_using): raise an ArgumentError if cyclic using isshugo2012-11-133-0/+50
| | | | | | | | | detected. based on the patch by Charlie Somerville. [ruby-core:49092] Bug #7308 * test/ruby/test_refinement.rb: related test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Define dtrace test classes only when dtrace existsnaruse2012-11-1310-10/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (vm_insnhelper.c): this target is useless and causesnaruse2012-11-132-1/+5
| | | | | | ruby always need rebuild. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (insn_data_to_s_detail): remove debug lines.ko12012-11-132-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix ChangeLogko12012-11-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e