aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* id.c: generatenobu2012-12-047-95/+94
| | | | | | | * common.mk, defs/id.def, template/id.c.tmpl: generate id.c as well as id.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/memory_status.rb: fixed small typos introduced at r38182.usa2012-12-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* supress warningkosaki2012-12-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* supress warningkosaki2012-12-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_mutex_owned_p): new method that return currentkosaki2012-12-044-0/+63
| | | | | | | | | thread have the target mutex or not. [Feature #7505] [ruby-dev:46697] * test/ruby/test_thread.rb (test_mutex_owned, test_mutex_owned2): test for the above. * NEWS: new for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-12-05svn2012-12-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (make_compiler, add_put_cmd, add_insert_cmd): extractseki2012-12-042-16/+25
| | | | | | | | methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* id.h.tmpl: remove unused idnobu2012-12-041-2/+0
| | | | | | | * template/id.h.tmpl (attr_ids): remove Bitblt and Answer which are no longer predefined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/memory_status.rb (Memory): use fiddle/types if available.ngoto2012-12-042-4/+19
| | | | | | | | * test/ruby/memory_status.rb (Memory::Win32): :stdcall is needed on x86 WIN32. This commit partly reverts r38054. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/lib/fiddle/types.rb: copied from ext/dl/lib/dl/types.rbngoto2012-12-042-0/+76
| | | | | | | and modified for Fiddle, needed for migration from DL to Fiddle. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/lib/fiddle/import.rb (import_function, bind_function):ngoto2012-12-042-3/+18
| | | | | | | | should respect call_type for migration from DL to Fiddle. [Bug #7484] [ruby-core:50405] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2012-12-041-4/+4
| | | | | | unification is uncountable git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2012-12-040-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .document: Added ChangeLog and doc/ChangeLog-* as documentationdrbrain2012-12-042-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/changelog.rb: Added a ChangeLog parser to RDoc.drbrain2012-12-044-0/+329
| | | | | | | | * lib/rdoc/parser.rb: ditto * test/rdoc/test_rdoc_parser_changelog.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2012-12-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* marshal.c: PRIsVALUEnobu2012-12-042-5/+5
| | | | | | | * marshal.c (path2class, path2module): use PRIsVALUE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* marshal.c: rb_check_funcallnobu2012-12-042-14/+13
| | | | | | | | * marshal.c (w_object, marshal_dump, marshal_load): use rb_check_funcall if possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* marshal.c: GC guardnobu2012-12-043-9/+21
| | | | | | | | | * marshal.c (w_object, marshal_dump, r_object0, marshal_load): use RB_GC_GUARD() (directly or indirectly) instead of volatile. * variable.c (rb_path_to_class): prevent the arguemnt from GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_opts.h: enable optimization - operand unifications.ko12012-12-044-50/+27
| | | | | | | | | | | | | Operand unification technique enable to combine an instruction and specific operands and make new instruction. * defs/opt_operand.def: add several configuration of operand unifications. * insns.def: use `int' instead to suppress warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 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