aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in (RUBY_PROGRAM_VERSION, RUBY_RELEASE_DATE): extractsnobu2009-08-202-2/+6
| | | | | | | | | from version.h for cross-compiling. * template/fake.rb.in (RUBY_VERSION, RUBY_DESCRIPTION): use above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete.nobu2009-08-202-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-08-21svn2009-08-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_sysopen_internal): removed const qualifier.nobu2009-08-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_sysopen): moved sysopen_struct from rb_sysopen_internal.nobu2009-08-202-30/+48
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (reduce_nodes_gen): preserve NODE_FL_NEWLINE flag duringmame2009-08-202-0/+9
| | | | | | node reducing. [ruby-core:24463] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix: change terminal's size on Widows when the window size is changednaruse2009-08-202-0/+6
| | | | | | | * ext/readline/readline.c (readline_get): add rl_prep_terminal(1). insited by jitte [ruby-list:43546] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (ENABLE_SELECTOR_NAMESPACE): defaulted to 0.nobu2009-08-201-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (ivar2_hash_type): disabled for now.nobu2009-08-202-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_terminate_all): do not ignore interrupt whenmatz2009-08-202-4/+13
| | | | | | reaping threads on termination. [ruby-dev:39107] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-08-191-7/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-08-191-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (next_init): don't clear feedvalue.akr2009-08-193-1/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c: implement Enumerator#{next_values,peek_values,feed}akr2009-08-194-27/+424
| | | | | | | | | | | | | | | | | | | | | | and StopIteration#result. [ruby-dev:39109] (struct enumerator): replace no_next by stop_exc. new field feedvalue. (enumerator_mark): mark feedvalue and stop_exc. (enumerator_init): initialize feedvalue and stop_exc. (enumerator_init_copy): initialize feedvalue. (next_ii): send yield arguments as an array. return feedvalue. (next_i): generate StopIteration exception here. set result. (next_init): initialize feedvalue. (enumerator_next_values): new method Enumerator#next_values. (ary2sv): new function. (enumerator_peek_values): new method Enumerator#peek_values. (enumerator_feed): new method Enumerator#feed. (yielder_yield): return the yield value. (generator_each): return the iterator value. (stop_result): new method StopIteration#result. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-08-20svn2009-08-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (DEFINE_STRUCT_DIRENT): use union to allocate sufficientmatz2009-08-193-6/+53
| | | | | | | | | | | memory space for Solaris. a patch from Naohisa GOTO <ngoto at gen-info.osaka-u.ac.jp> in [ruby-dev:39132]. [ruby-dev:39062] * configure.in (SIZEOF_STRUCT_DIRENT_TOO_SMALL): Solaris dirent check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/unicode.c (CodeRanges): initialized statically.nobu2009-08-192-163/+137
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_settracefunc.rb (test_return, test_return2): add twomame2009-08-182-0/+88
| | | | | | tests for [ruby-dev:38701] and [ruby-core:24463]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-08-19svn2009-08-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (NODE_RETURN): fire return event at explicit return.mame2009-08-182-0/+6
| | | | | | [ruby-dev:38701] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_peek): new method Enumerator#peek. akr2009-08-183-3/+74
| | | | | | | | (enumerator_next): don't rewind at end. [ruby-dev:38932] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_feature_provided): suppressed warnings.nobu2009-08-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2009-08-180-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Tue Aug 18 13:46:14 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>takano322009-08-182-0/+4
| | | | | | | | * touch test/rdoc/empty.dat to run test_rdoc_parser.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_cfunc): ensure hook c-return.wanabe2009-08-183-1/+11
| | | | | | | | | | [Bug #1588] * test/ruby/test_settracefunc.rb (TestSetTraceFunc#test_raise): follow above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_step): treat symbols specially so that iteratingmatz2009-08-173-0/+52
| | | | | | | | over symbols should work like strings. [ruby-core:24780] * range.c (range_each): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-08-18svn2009-08-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_each): should honor to_str conversion.matz2009-08-173-11/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/delta.rb: removed require 'date'. added to_c.tadf2009-08-172-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (lex_get_str, lex_io_gets, rb_parser_compile_string):nobu2009-08-173-15/+48
| | | | | | | must be ascii compatible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't warn if the duplicate is caused by /i.naruse2009-08-172-9/+35
| | | | | | | | | | | | | | * regparse.c (add_code_range_to_buf0): added with checkdup argument. * regparse.c (add_code_range_to_buf): use above. * regparse.c (add_code_range0): added with checkdup argument. * regparse.c (add_code_range): use above. * regparse.c (i_apply_case_fold): don't warn if the duplicate is git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/delta.rb: merged from date4. [experimental]tadf2009-08-165-1/+810
| | | | | | | | | | * lib/date/delta/parser.*: ditto. * lib/date.rb: followed the above changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (strptime): removed \v; since \s includes \v.tadf2009-08-163-3/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_rationalize) added. [experimental]tadf2009-08-164-0/+301
| | | | | | | | * rational.c ({nurat,nilclass,integer,float}_rationalize) ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use num#i.tadf2009-08-162-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_pow,fix_pow): may return complex number.tadf2009-08-163-4/+21
| | | | | | | | * bignum.c (rb_big_pow): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upto): generate numerical sequence whenmatz2009-08-163-3/+56
| | | | | | characters in both edges are all digits. [ruby-talk:343186] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_imaginary): num#i to return imaginary counterpartmatz2009-08-163-0/+24
| | | | | | | | of the given numeric. * complex.c (Init_Complex): undef #i for complex numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* warn only when $VERBOSE.tadf2009-08-162-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-08-17svn2009-08-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/complex.rb, lib/rational.rb: added warning messages.tadf2009-08-164-3/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): should dispatch scan-event even when followsnobu2009-08-163-1/+10
| | | | | | | just after delayed-token. [ruby-dev:37855] [Bug #1071] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb: reverted.tadf2009-08-162-7/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb: suppressed a warning.naruse2009-08-163-9/+15
| | | | | | * lib/irb/ruby-lex.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rescue Encoding::ConverterNotFoundError.naruse2009-08-161-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Change magic comment to US-ASCII in order tonaruse2009-08-162-1/+6
| | | | | | make literals as US-ASCII. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c: commit miss again.nobu2009-08-161-23/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c: commit miss.nobu2009-08-161-10/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (parse_char_class, parse_exp, parse_branch),nobu2009-08-162-25/+41
| | | | | | | | (parse_subexp): fixed memory leak. a patch from Ralf Junker <ralfjunker AT gmx.de> at [ruby-core:24921]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (vm_backtrace_each, vm_backtrace_push),nobu2009-08-164-13/+20
| | | | | | | | vm_eval.c (print_backtrace), vm_dump.c (bugreport_backtrace): rb_backtrace_iter_func now takes VALUE as file and method names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e