aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Suppress warning: uninitialized variable [ruby-core:50470] [Bug #7494]naruse2012-12-041-1/+1
| | | | | | Conditional operator is required to return true or false. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: replase parser->enc with current_enc.naruse2012-12-042-22/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT: Converted to RDoc formatdrbrain2012-12-033-994/+1038
| | | | | | | * README.EXT.ja: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/driver.rb: Fixed ri page display for files withdrbrain2012-12-033-1/+38
| | | | | | | | extensions. * test/rdoc/test_rdoc_ri_driver.rb: Test for above git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .document: Add NEWS for `ri ruby:NEWS`drbrain2012-12-037-10/+33
| | | | | | | | | | | * NEWS: Set format as rdoc * doc/NEWS-1.8.7: ditto * doc/NEWS-1.9.1: ditto * doc/NEWS-1.9.2: ditto * doc/NEWS-1.9.3: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-12-04svn2012-12-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adjust stylekazu2012-12-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix a typo for r38151.nagachika2012-12-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_exec.c: check VM_COLLECT_USAGE_DETAILS.ko12012-12-032-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_specialized_instruction):ko12012-12-032-0/+8
| | | | | | | | | change condition of using `opt_send_simple'. More method invocations can be simple. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_objectspace.rb: skip RuntimeErrorko12012-12-032-1/+11
| | | | | | | | | which says a message "can't modify frozen File". Is that correct behavior? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoko12012-12-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_exec.c: vm_analysis_insn should be statkc.ko12012-12-032-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* proc.c: magic numbernobu2012-12-031-2/+3
| | | | | | | * proc.c (rb_method_call): name a magic number. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: test bits at oncenobu2012-12-031-1/+2
| | | | | | | * object.c (rb_obj_clone): test TAINT and UNTRUSTED bits at once. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* random.c, rational.c: make marshal methods privatenobu2012-12-034-9/+14
| | | | | | | | * random.c (Init_Random), rational.c (Init_Rational): make marshal methods private. [Feature #6539] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.h: iseq_catch_table_entry::catch_type should beko12012-12-033-6/+27
| | | | | | | | | | Fixnum because they are pushed into Array in a compiler. [Bug #7502] * test/ruby/test_objectspace.rb: add a test of this issue. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id.h.tmpl: move empty?nobu2012-12-032-4/+8
| | | | | | | * template/id.h.tmpl (preserved_ids): "empty?" is not an attribute name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_backtrace.c (vm_backtrace_to_ary): check negative size (2nd arg).ko12012-12-032-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Un-zerofill the day of month part of some entries.knu2012-12-031-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix a typo in misc/ruby-additional.el.knu2012-12-032-3/+8
| | | | | | | | | | * misc/ruby-additional.el (ruby-mode-set-encoding): Unbreak by fixing a typo, s/set/setq/. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): joke shouldn't use id.h defined ids.ko12012-12-034-10/+17
| | | | | | | | | * id.c (Init_id): ditto. * common.mk: fix dpendency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby-mode.el: fix argument indentnobu2012-12-033-9/+34
| | | | | | | | | | | * misc/ruby-mode.el (ruby-block-end-re, ruby-delimiter) (ruby-mode-syntax-table, ruby-parse-partial, ruby-beginning-of-indent): merge from Emacs. * misc/ruby-mode.el (ruby-calculate-indent): fix indentation of argument lines in parentheses. [Bug #5140] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser.rb: Improved modeline support. Patch by nobu.drbrain2012-12-023-2/+30
| | | | | | | * test/rdoc/test_rdoc_parser.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-12-03svn2012-12-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_new): stop checking stringmrkn2012-12-023-2/+20
| | | | | | taintness. [Bug #5508] [ruby-core:40510] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (RB_GC_SAVE_MACHINE_CONTEXT, rb_gc_save_machine_context): tarui2012-12-023-15/+19
| | | | | | | | extract rb_gc_save_machine_context to RB_GC_SAVE_MACHINE_CONTEXT. NOTE: machine_regs and machine_stack_end must be set in current scope. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c, enum.c, insns.def, io.c, numeric.c, parse.y, process.c,ko12012-12-0210-24/+38
| | | | | | | | | | | | range.c: use prepared IDs. A patch from charliesome (Charlie Somerville). [Bug #7495] * common.mk: add dependency to id.h. * common.mk: replace ID_H_INCLUDES with id.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r38141 for stack problemtarui2012-12-022-7/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (RB_GC_SAVE_MACHINE_CONTEXT, rb_gc_save_machine_context):tarui2012-12-022-5/+7
| | | | | | | Don't set machine_regs and machine_stack_end with a different scope. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typozzak2012-12-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/weakref.rb (rdoc): Clean up usage, add example,zzak2012-12-022-6/+62
| | | | | | | note ArgumentError on WeakRef.new git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (WeakMap): Add doc for internal reference, use lib/weakref.rbzzak2012-12-022-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typokazu2012-12-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ticket ref: [ruby-dev:46665] [Bug #7468]tarui2012-12-021-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser.rb: Parse files with a -*- rdoc -*- modelinedrbrain2012-12-013-1/+67
| | | | | | | * test/rdoc/test_rdoc_parser.rb: Test for above git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.h (SET_MACHINE_STACK_END): add volatile for preventingkosaki2012-12-012-2/+7
| | | | | | harmful optimization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (rb_iseq_line_trace_each): iterate `line' event only.ko12012-12-013-9/+31
| | | | | | | | * test/ruby/test_iseq.rb: add a test for this change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_trace.c: add TracePoint#inspect.ko12012-12-013-0/+87
| | | | | | | | * test/ruby/test_settracefunc.rb: add a test for this change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_trace.c (rb_tracepoint_new): commit miss.nobu2012-12-011-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-12-02svn2012-12-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/gen_dummy_probes.rb: add mode name.nobu2012-12-011-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adjust style.nobu2012-12-0114-47/+44
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: PATH_SEPARATORnobu2012-12-011-2/+5
| | | | | | | * tool/make-snapshot (package): now PATH_SEPARATOR is needed for id2token.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rubygems/test_gem_specification.rb ↵nobu2012-12-011-3/+1
| | | | | | (test_emits_zulu_timestamps_properly): too old bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* time.c, vm_method.c: update rdocnobu2012-12-012-22/+6
| | | | | | | | * time.c (time_{mdump,dump,mload,load): update rdoc. * vm_method.c (obj_respond_to_missing): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_method.c: privatenobu2012-12-011-1/+4
| | | | | | | * vm_method.c (basic_obj_respond_to): call even if private. [Feature #6539] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_backtrace.rb: add a test forko12012-12-012-0/+15
| | | | | | | | | | Thread::Backtrace::Location#inspect. BTW, tests for `caller_locations' are not enough. Any volunteers are welcome. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_backtrace.c (location_inspect_m): addko12012-12-012-0/+13
| | | | | | | | | Thread::Backtrace::Location#inspect. It same as loc_obj.to_s.inspect. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: recurse for the argumentnobu2012-12-013-5/+22
| | | | | | | * io.c (rb_io_puts): recurse for the argument itself, not converted array elements. [ruby-core:42444] [Bug #5986] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e