aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * .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
* * vm_insnhelper.c (vm_caller_setup_args): save and restoreko12012-11-133-2/+79
| | | | | | | | | | ci->argc and ci->blockptr before and after method invocations because these method dispatches override call_info. * bootstraptest/test_method.rb: add tests for this fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (dmyprobes.h): always create for make dist.naruse2012-11-134-7/+16
| | | | | | | | * Makefile.in (probes.h): create or copy dmyprobes.h * win32/Makefile.sub: only do copy dmyprobes.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (.SUFFIX): .SUFFIX is needed here for .d.h on bsd make.naruse2012-11-132-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk Makefile.in win32/Makefile.sub (.d.h): it's not common.usa2012-11-134-10/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2012-11-130-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix dtrace commit r37631, it is [Feature #2565]naruse2012-11-136-40/+58
| | | | | | | | | | | | | | | * configure.in: disable dtrace because it doesn't work on FreeBSD. * common.mk (clean-local): rm probes.h. * common.mk (parse.o): depend $(PROBES_H_INCLUDES). * common.mk (.d.h): moved from Makefile.in and use BASERUBY. * tool/gen_dummy_probes.rb: reimplemented with ruby because sed is not available on Windows Microsoft VC++ environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/README.win32: added mention about build directory. currentlyusa2012-11-132-0/+10
| | | | | | | | we can not build ruby in win32 directory. this problem is reported by Masahiro Kitajima <katonbo@katontech.com>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_memsearch_ss): performance improvement by using memmem(3) ifglass2012-11-133-0/+56
| | | | | | | | possible. [ruby-dev:45530] [Feature #6311] * configure.in: check existence of memmem(3) and that it is not broken. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add probes.h to svn:ignore and sort .gitignorekazu2012-11-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2012-11-120-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * probes.d: add DTrace probe declarations. [ruby-core:27448]tenderlove2012-11-1237-25/+850
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * array.c (empty_ary_alloc, ary_new): added array create DTrace probe. * compile.c (rb_insns_name): allowing DTrace probes to access instruction sequence name. * Makefile.in: translate probes.d file to appropriate header file. * common.mk: declare dependencies on the DTrace header. * configure.in: add a test for existence of DTrace. * eval.c (setup_exception): add a probe for when an exception is raised. * gc.c: Add DTrace probes for mark begin and end, and sweep begin and end. * hash.c (empty_hash_alloc): Add a probe for hash allocation. * insns.def: Add probes for function entry and return. * internal.h: function declaration for compile.c change. * load.c (rb_f_load): add probes for `load` entry and exit, require entry and exit, and wrapping search_required for load path search. * object.c (rb_obj_alloc): added a probe for general object creation. * parse.y (yycompile0): added a probe around parse and compile phase. * string.c (empty_str_alloc, str_new): DTrace probes for string allocation. * test/dtrace/*: tests for DTrace probes. * vm.c (vm_invoke_proc): add probes for function return on exception raise, hash create, and instruction sequence execution. * vm_core.h: add probe declarations for function entry and exit. * vm_dump.c: add probes header file. * vm_eval.c (vm_call0_cfunc, vm_call0_cfunc_with_frame): add probe on function entry and return. * vm_exec.c: expose instruction number to instruction name function. * vm_insnshelper.c: add function entry and exit probes for cfunc methods. * vm_insnhelper.h: vm usage information is always collected, so uncomment the functions. 12 19:14:50 2012 Akinori MUSHA <knu@iDaemons.org> * configure.in (isinf, isnan): isinf() and isnan() are macros on DragonFly which cannot be found by AC_REPLACE_FUNCS(). This workaround enforces the fact that they exist on DragonFly. 12 15:59:38 2012 Shugo Maeda <shugo@ruby-lang.org> * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo), vm_insnhelper.c (vm_search_method): revert r37616 because it's too slow. [ruby-dev:46477] * test/ruby/test_refinement.rb (test_inline_method_cache): skip the test until the bug is fixed efficiently. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-11-13svn2012-11-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2012-11-121-2/+2
| | | | | | "garbage" (noun) is uncountable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix build on DragonFly where configure fails to detect isinf()/isnan().knu2012-11-122-0/+9
| | | | | | | | * configure.in (isinf, isnan): isinf() and isnan() are macros on DragonFly which cannot be found by AC_REPLACE_FUNCS(). This workaround enforces the fact that they exist on DragonFly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo),shugo2012-11-125-16/+13
| | | | | | | | | | vm_insnhelper.c (vm_search_method): revert r37616 because it's too slow. [ruby-dev:46477] * test/ruby/test_refinement.rb (test_inline_method_cache): skip the test until the bug is fixed efficiently. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-11-12svn2012-11-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb (each_export): skip garbages generated by VS2012'susa2012-11-122-1/+7
| | | | | | | | nmake. reported and patched by Yoshida Masato at [Bug #7333] [ruby-dev:46484] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/date/test_date_{parse,strptime}.rb: changed the format oftadf2012-11-113-454/+458
| | | | | | | some extra messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_parse.c (date__parse): revised the tight parsertadf2012-11-112-38/+83
| | | | | | | (about handling of apostrophes). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* glibc 2.16 or later denies salt contained other than [0-9A-Za-z./] [Bug #7312]naruse2012-11-111-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: warn for wrong elementsnobu2012-11-113-3/+16
| | | | | | | | * hash.c (rb_hash_s_create): just warn for wrong elements now. [ruby-dev:46440] [Bug #7300] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: refine error messagesnobu2012-11-115-5/+17
| | | | | | | | * hash.c (rb_hash_s_create): refine error messages. * error.c (rb_builtin_class_name): share for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (top_using): remove Kernel#using, and add main.using instead.shugo2012-11-113-7/+34
| | | | | | * test/ruby/test_refinement.rb: related test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e