aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * include/ruby/node.h, node.h: move node.h from include path.ko12008-09-2317-15/+20
| | | | | | | | | | | | | | This change stop to install node.h beacuase of saving ABI (node.h will be changed. Extensions should not depends on this file). * blockinlining.c, class.c, compile.c, debug.h, enum.c, gc.c, iseq.c, parse.y, ruby.c, signal.c, variable.c, vm.c, vm_core.h, vm_dump.c: ditto. * ext/ripper/depend: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h: remove unused frame values.ko12008-09-231-9/+0
| | | | | | | (fix previous commit miss) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h: remove unused frame values.ko12008-09-231-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (signal_exec): execute rb_eval_cmd() directly.ko12008-09-232-7/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-09-24svn2008-09-231-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix ruby -w warnings for mismatched indentation discovered by rdocdrbrain2008-09-235-12/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv/csv.rb: Improved the idea of whitespace and word characters usedjeg22008-09-232-3/+8
| | | | | | | | in substitutions during header conversion as suggested by Michael Selig. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_binwrite): allocate wbuf if nosync.akr2008-09-232-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (copy_stream_body): use io_binwrite instead of io_fwrite.akr2008-09-232-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rational2.rb: updated.tadf2008-09-234-0/+1176
| | | | | | | | | | * test/ruby/test_complex2.rb: added. * test/ruby/test_complexrational.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_casecmp): make the ordering consistent withakr2008-09-233-16/+44
| | | | | | | String#<=>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_binwrite): add nosync argument.akr2008-09-232-30/+58
| | | | | | | | | | | | (do_writeconv): extracted from io_fwrite. (io_fwrite): add nosync argument. use do_writeconv. (io_write): add nosync argument. (io_write_m): new function for IO#write. (rb_p): don't append record separator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (signal_exec): fix to use rb_proc_call().ko12008-09-232-5/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/formatters/pretty.rb (REXML::Formatters::Pretty#wrap):matz2008-09-232-0/+6
| | | | | | abandon wrapping if the line contains no space. [ruby-dev:36045] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_binread): a new method to read binary chunk from amatz2008-09-232-1/+40
| | | | | | | | file. [ruby-core:18674] * io.c (open_key_args): wrong permission specified for read-open. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (subtruct): check tv_sec. reported by ko1.usa2008-09-232-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_s_canonicalize_internal): does no applytadf2008-09-235-268/+76
| | | | | | | | | | | | | | canonicalization rule anymore. * rational.c (nurat_s_canonicalize_internal(_no_reduce)?): ditto. * complex.c: removed class method new! and new. * rational.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_obj_is_proc): declaration moved for rdoc.akr2008-09-232-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (io.o): remove dependency for vm_core.h.ko12008-09-232-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_blocking_region): fix typo in a document.ko12008-09-232-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_blocking_region): write a documentko12008-09-232-0/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c, include/ruby/intern.h (rb_thread_interrupted): added.ko12008-09-234-5/+20
| | | | | | | | * io.c: use VALUE of thead instead of rb_tread_t to check interrupts. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c, vm_core.h: move decl of rb_iseq_clone() to class.c.ko12008-09-233-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * debug.h (ruby_set_debug_option): declared.akr2008-09-234-1/+14
| | | | | | | | | | * main.c: include debug.h. * common.mk (main.$(OBJEXT)): dependency updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (ENVMATCH, ENVNMATCH): reduced same code.nobu2008-09-232-29/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h: fix comment and rename macro HAVE_RUBY_MVM_H toko12008-09-232-2/+7
| | | | | | | | HAVE_RUBY_VM_H. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/node.h, vm_core.h: move definition ofko12008-09-2315-405/+437
| | | | | | | | | | | | | | | | | | | | | RUBY_VM_METHOD_NODE to node.h. * class.c, common.mk: remove useless inclusion. * compile.h, iseq.h, vm_core.h: rename compile.h to iseq.h. move some definitions from vm_core.h to iseq.h. * compile.c, iseq.c, vm.c: ditto. * eval.c, compile.c: move some functions for parser from eval.c to compile.c. * eval_intern.h, vm_core.h: move va_init_list() macro to vm_core.h. * iseq.c (rb_iseq_new_top, rb_iseq_first_lineno): added. * load.c, ruby.c: use rb_iseq_new_top() instead of rb_iseq_new() with ISEQ_TYPE_TOP constant directly. * proc.c: use rb_iseq_first_lineno() instead of accessing iseq structure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/eventids2.c (token_to_eventid): supper __ENCODING__matz2008-09-232-0/+6
| | | | | | keyword. [ruby-dev:36478] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo.akr2008-09-231-26/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2008-09-230-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, hash.c: remove unused inclusion.ko12008-09-233-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_safe.c, safe.c: rename eval_safe.c to safe.c.ko12008-09-235-8/+31
| | | | | | | | | * common.mk, eval.c, safe.c, inits.c: separate safe.c from eval.c and make Init_safe(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: clean upko12008-09-2319-376/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | - remove blockinlining.$(OBJEXT) to built - make ENCODING_H_INCLDUES variable (include/ruby/encoding.h) - make VM_CORE_H_INCLUDES variable (vm_core.h) - simplify rules. - make depends rule to output depend status using gcc -MM. * include/ruby/mvm.h, include/ruby/vm.h: rename mvm.h to vm.h. * include/ruby.h: ditto. * load.c: add inclusion explicitly. * enumerator.c, object.c, parse.y, thread.c, vm_dump.c: remove useless inclusion. * eval_intern.h: cleanup inclusion. * vm_core.h: rb_thread_t should be defined in this file. * vm_evalbody.c, vm_exec.c: rename vm_evalbody.c to vm_exec.c. * vm.h, vm_exec.h: rename vm.h to vm_exec.h. * insnhelper.h, vm_insnhelper.h: rename insnhelper.h to vm_insnhelper.h. * vm.c, vm_insnhelper.c, vm_insnhelper.h: - rename vm_eval() to vm_exec_core(). - rename vm_eval_body() to vm_exec(). - cleanup include order. * vm_method.c: fix comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (each_filename): return Enumerator if no blockmame2008-09-233-0/+9
| | | | | | | | | given. * test/pathname/test_pathname.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_env.rb (TestEnv#test_aset): test updated.matz2008-09-222-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (env_aset): allow nil value to remove an entry.matz2008-09-222-1/+7
| | | | | | [ruby-dev:36465] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-keyword-end-re): emacs21 support. amatz2008-09-222-15/+51
| | | | | | | | | | | patch from Hiroshi Moriyama <hiroshi at kvd.biglobe.ne.jp> in [ruby-dev:36471]. * misc/ruby-mode.el (ruby-in-ppss-context-p): ditto. * misc/ruby-mode.el (ruby-here-doc-end-syntax): git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/NEWS: fixed typo, Readline.HISTORY::clear -> Readline::HISTORY.clear.kouji2008-09-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/readline/test_readline_history.rbkouji2008-09-222-2/+9
| | | | | | | (Readline::TestHistory#test_each): checked return value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-09-23svn2008-09-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (Init_readline): used remove_history tokouji2008-09-222-1/+14
| | | | | | | check offset of history if unsupported clear_history. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#open): should return a value from thematz2008-09-222-2/+5
| | | | | | block (if given). [ruby-core:18394] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (enum): ISO C forbids comma at end ofshyouhei2008-09-222-1/+6
| | | | | | | enumerator list git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * LEGAL: updated file names removed and added. [ruby-dev:36426]matz2008-09-222-19/+42
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-09-22svn2008-09-211-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (get_default_external): add description.naruse2008-09-212-21/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_log): should check argc.tadf2008-09-213-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed previous commit.tadf2008-09-211-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c: added two macros.tadf2008-09-213-6/+20
| | | | | | | | * rational.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_s_convert): checks argc.tadf2008-09-213-8/+12
| | | | | | | | * rational.c (nurat_s_convert): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e