aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * template/yasmdata.rb.tmpl: fix type and name.ko12007-08-123-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb: reverted some wrongly erased "o" optionstadf2007-08-102-10/+15
| | | | | | | | (pointed out by nobu). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_start_func_2): not re-raise to main thread if it isnobu2007-08-103-5/+15
| | | | | | | joining the current thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_create_core): inherit the priority of creatingnobu2007-08-103-4/+6
| | | | | | | | thread. submitted at [ruby-core:11873] by David Flanagan <david AT davidflanagan.com>. [ruby-core:11876] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.ci (native_thread_apply_priority): set actuallynobu2007-08-102-0/+6
| | | | | | | applied prority. [ruby-core:11876] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_start_func_2): let abort_on_exception work.nobu2007-08-092-0/+22
| | | | | | | [ruby-core:11873] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (internal_id_gen): internal ID must be bigger thannobu2007-08-093-3/+9
| | | | | | | tLAST_TOKEN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt): check if rhs has value before assignment insteadnobu2007-08-092-50/+68
| | | | | | | | | inside node_assign_gen(). [ruby-dev:31293] * parse.y (call_bin_op_gen, call_uni_op_gen): split call_op_gen. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update syntax (f_marg_list).akr2007-08-091-9/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (f_marg_list): renamed from f_marg_head.nobu2007-08-092-10/+17
| | | | | | | | * parse.y (f_margs): allow multiple mandatory arguments after a splat. [ruby-dev:31153] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_cycle): typo fixed. a patch from Kazuhiromatz2007-08-083-4/+9
| | | | | | NISHIYAMA <zn AT mbf.nifty.com>. [ruby-dev:31362] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cptr.c (rb_dlptr_s_to_ptr): no longer checkmatz2007-08-083-9/+4
| | | | | | HAVE_RB_IO_STDIO_FILE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cptr.c (rb_dlptr_s_to_ptr): fptr->f was renamed to fd. amatz2007-08-082-1/+6
| | | | | | report from Yusuf Celik <ycelik AT oytek.com.tr>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_next_p): should check correctly even whenmatz2007-08-085-14/+68
| | | | | | | | | | | | | | | | | e.next has not been called before. * enumerator.c (enumerator_next): raise StopIteration (name taken from Python) instead of IndexError. * enum.c (enum_zip): catch StopIteration exception. * enumerator.c (enumerator_with_index): return Enumerator if no block is given. * test/ruby/test_iterator.rb (TestIterator::test_enumerator): add test for enumerators. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* variable renaming refined.akr2007-08-083-31/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big2str0): should not use RTEST for non-VALUE.nobu2007-08-082-6/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big2str0): should preserve sign mark.usa2007-08-082-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (btest-miniruby, test-sample): split the test targetnobu2007-08-083-5/+14
| | | | | | | so that -k option works. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove puts for debugsuke2007-08-071-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (establishShell): handshaking before close slavenobu2007-08-072-2/+8
| | | | | | | device. [ruby-talk:263410] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (MasterDevice, SlaveDevice, deviceNo): constified.nobu2007-08-073-43/+42
| | | | | | | | | * ext/pty/pty.c (SlaveName): removed static buffer. * ext/pty/expect_sample.rb: support for autologin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (ruby_special_consts): added RUBY_SPECIAL_SHIFT.nobu2007-08-073-13/+39
| | | | | | | * .gdbinit: some improvements. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (node_name.inc): use $? instead of $< for nmake.nobu2007-08-072-1/+6
| | | | | | | [ruby-dev:31356] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (ac_cv_func_isinf): set yes also on OpenSolaris.nobu2007-08-072-3/+8
| | | | | | | [ruby-Bugs-12859] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): fix for win32 platforms.nobu2007-08-072-5/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big2str0): make Bignum#to_s even faster. a patchmatz2007-08-062-150/+264
| | | | | | from Kenta Murata <muraken AT gmail.com>. [ruby-dev:31354] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_zip): zip no longer converts arguments intomatz2007-08-064-106/+53
| | | | | | arrays, uses enumerators. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (rb_fiber_yield): change argument ordering. export.matz2007-08-065-24/+145
| | | | | | | | | | | | | | | | | * cont.c (rb_fiber_current): export * include/ruby/intern.h: export several functions from cont.c. * enumerator.c (enumerator_next): new method to implement external iterator (generator) using fiber. * enumerator.c (enumerator_next_p): new method to check whether any element is left in the generator sequence. * enumerator.c (enumerator_rewind): a new method to rewind the generator sequence. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_cycle): new method to cycle enumerable forever.matz2007-08-064-3/+72
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * irb/ruby-lex.rb: support for '\c'. [ruby-talk:263508]keiju2007-08-062-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix test of PROPERTYPUT_REF in some environmentsuke2007-08-061-2/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.ci, insns.def: move some statements to functions.ko12007-08-067-300/+332
| | | | | | | | * vm.c, vm.h, vm_evalbody.ci: fix include/typedef places. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/vm/instruction.rb (make_header_analysys): fix last commit.ko12007-08-062-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/vm/instruction.rb (make_header_analysys): add to separateko12007-08-062-4/+14
| | | | | | | | header addition process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test using sentgen.akr2007-08-061-0/+132
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/encodings/{ISO-8859-15,CP-1252}.rb: fixed invalid syntax.nobu2007-08-063-80/+84
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test: def m() yield end; p m {|((*))|}.akr2007-08-061-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: fix to output file name if it containsko12007-08-062-1/+7
| | | | | | | | invalid syntax. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (value_expr_gen): fix to cause "void value expression"ko12007-08-063-6/+11
| | | | | | | | | | when jump expression such as "next" are shown on value_expr(). [ruby-dev:31119] * bootstraptest/test_syntax.rb: fix to above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: fix a f_marg rule. [ruby-dev:31160]ko12007-08-062-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (assert_equal): add additionalko12007-08-062-5/+10
| | | | | | | | message parameter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (iseq_s_compile_option_get, Init_ISeq): added a newnobu2007-08-062-6/+19
| | | | | | | method VM::InstructionSequence::compile_option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (node_name.inc): auto-generate node name list.nobu2007-08-064-233/+18
| | | | | | | | | * iseq.c (ruby_node_name): ditto. * tool/node_name.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (INSNS): not chdir to srcdir.nobu2007-08-064-10/+25
| | | | | | | | * lib/vm/instruction.rb (RubyVM::SourceCodeGenerator): --destdir option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added a note.tadf2007-08-051-2/+2
| | | | | | | | fixed a typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added an assertion.tadf2007-08-051-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss, sample/rss, test/rss:kou2007-08-0543-1455/+3053
| | | | | | | | | - 0.1.7 -> 0.1.8. - supported <itunes:XXX>. - reverted backward incompatibility API changes introduced 0.1.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open_v, pipe_open_s): separate array and stringnobu2007-08-043-36/+47
| | | | | | | cases. [ruby-dev:31344] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): save all CONFIG values.nobu2007-08-032-16/+53
| | | | | | | | | | | * ext/extmk.rb (extmake): remove mkmf.log at clean, and extconf.h at distclean, respectively. * ext/extmk.rb: remove rdoc at clean, and installed list file at distclean, respectively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (find_type): new method.nobu2007-08-022-13/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e