aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * bootstraptest/test_thread.rb: get rid of confusing ruby-mode.elnobu2013-01-011-1/+1
| | | | | | indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_thread.rb: get rid of "invalid nest" error innobu2013-01-011-10/+10
| | | | | | ruby-mode.el. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_tmpdir.rb: remove tmpdirnobu2013-01-011-0/+1
| | | | | | | * test/test_tmpdir.rb (TestTmpdir#test_no_homedir): remove created tmpdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-01-01svn2013-01-011-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2013-01-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_backtrace.c: Add documentation for Kernel#caller_locations,zzak2012-12-312-7/+131
| | | | | | | Kernel#caller, and Thread::Backtrace::Location git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-12-31svn2012-12-311-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_backtrace.rb: Add test for r37957 [Feature #7434]zzak2012-12-312-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* parse.y: escaped closing parenthsisnobu2012-12-303-0/+12
| | | | | | | * parse.y (simple_re_meta): escaped closing parenthsis has different meaning. [Bug #7610] [ruby-core:51088] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_method.c: idRespond_to_missingnobu2012-12-301-6/+5
| | | | | | * vm_method.c (respond_to_missing): use idRespond_to_missing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in: ignore CDPATHnobu2012-12-301-0/+1
| | | | | | | * Makefile.in (CDPATH): ignore and force to chdir from cwd. http://stackoverflow.com/questions/12885548/unable-to-build-ruby-1-9-3-on-lion git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use 4 argument form of AC_CHECK_HEADERS to forcecharliesome2012-12-302-1/+8
| | | | | | autoconf to use compiler's result git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-12-30svn2012-12-301-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_keyword.rb: add a test for passing hashktsj2012-12-302-0/+6
| | | | | | as a last argument. [ruby-dev:46712] [Bug #7529] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c: set keyword hash on Proc/block calls.ktsj2012-12-303-23/+161
| | | | | | | | [ruby-core:51172] [Bug #7630] * test/ruby/test_keyword.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/completion.rb: treat rightly comletion for symbol on irbkeiju2012-12-292-2/+7
| | | | | | | | [Bug #7632]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (window_cury, window_curx, window_maxy,shugo2012-12-292-10/+10
| | | | | | | window_maxx, window_begy, window_begx): use RB_UNUSED_VAR() to suppress unused-but-set-variable warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adjust stylenobu2012-12-2912-18/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use RB_TYPE_Pnobu2012-12-296-11/+11
| | | | | | | | | * enumerator.c (enumerator_initialize), eval.c (rb_using_refinement), (add_activated_refinement), numeric.c (num_interval_step_size), parse.y (arg, match_op_gen, cond0), range.c (range_bsearch), vm_insnhelper.c (vm_get_iclass): use RB_TYPE_P() to optimize. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: no semicolonnobu2012-12-291-1/+1
| | | | | | | * compile.c (ADD_TRACE): putting a semicolon at the last of a macro let do/while make no sense. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (RubyVM::InstructionSequence): rdoc formattingzzak2012-12-292-63/+96
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (RubyVM::InstructionSequence): Add rdoc for new iseq featureszzak2012-12-292-1/+127
| | | | | | | | added from r38085, this includes ::of, #path, #absolute_path, #label, #base_label, #first_lineno, and #inspect git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (rb_iseq_line_trace_all, rb_iseq_line_trace_specify): Addzzak2012-12-292-0/+22
| | | | | | | rdoc for experimental C level api of iseq, from r38076 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: singleton class clonenobu2012-12-295-1/+32
| | | | | | | | | * object.c (rb_obj_clone): attach clone to its singleton class during cloning singleton class so that singleton_method_added will be called on it. based on the patch by shiba (satoshi shiba)[Bug #5283] in [ruby-dev:44477]. [Bug #5283] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_class.rb (test_cannot_reinitialize_class_with_initialize_copy),nobu2012-12-291-12/+12
| | | | | | (test_invalid_superclass): get rid of confusing ruby-mode.el. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-12-29svn2012-12-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: AC_CHECK_HEADERSnobu2012-12-292-6/+5
| | | | | | | * configure.in (crt_externs.h): use standard macro AC_CHECK_HEADERS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check for the whether crt_externs.h is present when compilingcharliesome2012-12-286-5/+42
| | | | | | | | | | | | for darwin (this header is missing in the iOS SDK) * eval_intern.h: check HAVE_CRT_EXTERNS_H before including crt_externs.h, if not defined, include missing/crt_externs.h instead * hash.c: ditto * missing/setproctitle.c: ditto * missing/crt_externs.h: declare _NSGetEnviron() function and define environ for iOS git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/context.rb: IRB::Context#new: Check from JobManagerkeiju2012-12-282-1/+7
| | | | | | | | | inside IRB namespace [Bug #7628]. Thanks rafaelfranca for bug report and its patch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby-electric.el (ruby-electric-curlies): Automatically indent "}".knu2012-12-282-2/+11
| | | | | | | | * misc/ruby-electric.el (ruby-electric-curlies): Automatically indent closing curly brackets when ruby-electric-newline-before-closing-bracket is true. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2012-12-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm.c: suppress warningnobu2012-12-281-0/+3
| | | | | | | * vm.c (check_machine_stack_size): ifdef a variable which is unused on non-pthread platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_insnhelper.c: no splat single opt argnobu2012-12-283-1/+23
| | | | | | | | * vm_insnhelper.c (vm_yield_setup_block_args): pass single argument to single optional parameter unchanged without splatting. [Bug #7621] [ruby-dev:46801] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (method_eq): fix the documentation to refer to owner.shugo2012-12-283-1/+25
| | | | | | | | | [ruby-core:51105] [Bug #7613] * test/ruby/test_method.rb (test_alias_onwer): new test to confirm that `a == b' returns false if owners of a and b are different. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix indent broen at r38633 and tabify.nobu2012-12-281-23/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * def/id.def: use split(/^/) instead of String#lines to supportnaruse2012-12-272-1/+6
| | | | | | Ruby 1.8.5 as BASERUBY. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_mod_remove_const): fix segv caused by r38558.naruse2012-12-273-1/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-12-28svn2012-12-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Added more Hash methods to CSV::Row.jeg22012-12-273-17/+84
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb: make lex_state to EXPR_END when next tokenkeiju2012-12-272-1/+11
| | | | | | | | is an operator after SYMBEG [Bug #6378]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb: allow to handle recursive heredocs onkeiju2012-12-272-4/+24
| | | | | | | | irb[Bug #5648]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_getline): fix not to raise TypeErrorglass2012-12-273-2/+10
| | | | | | | | | when limit is nil. [Bug #7232] [ruby-core:48531] * test/stringio/test_stringio.rb: a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (VM_DEFINECLASS_TYPE): explicit cast to enum type to avoid 64->32charliesome2012-12-272-1/+6
| | | | | | shorten warning git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_ungetc): raise IOError instead of RuntimeErrorglass2012-12-273-0/+20
| | | | | | | | | | | if the string is frozen. [Bug #7231] [ruby-core:48530] * ext/stringio/stringio.c (strio_ungetbyte): ditto. * test/stringio/test_stringio.rb: a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-12-27svn2012-12-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo from r38623zzak2012-12-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/context.rb: fix IRB::Inspector#keys_with_inspector [Bug #7598]keiju2012-12-262-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo.shugo2012-12-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/context.rb: IRB::Context#use_readline= has been obsolatekeiju2012-12-262-10/+9
| | | | | | | | [Bug #6339]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/context.rb: make a correct prompt fromkeiju2012-12-262-1/+6
| | | | | | | | IRB.conf[:IRB_NAME] on irb [Bug #6338]. Patched by sho-h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e