summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2009-08-21Rename FMODE_STRIP_BOM to FMODE_SETENC_BY_BOM.naruse
* include/ruby/io.h, io.c (FMODE_SETENC_BY_BOM): renamed from FMODE_STRIP_BOM. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-21Change modestr syntax for BOM to "BOM|UTF-*".naruse
* io .c (rb_io_fmode_modestr): change modestr syntax for BOM to "BOM|UTF-*". * io.c (parse_mode_enc): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-21use rl_prep_terminal only on Windows. [ruby-core:25009]naruse
* ext/readline/readline.c (readline_readline): use rb_prep_terminal only on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20* lib/rdoc/ri/gemdirs.rb: split from lib/rdoc/ri/paths.rb to getnobu
rid of loading rubygems and searching all gems always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20* io.c (rb_sysopen): moved sysopen_struct from rb_sysopen_internal.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20* parse.y (reduce_nodes_gen): preserve NODE_FL_NEWLINE flag duringmame
node reducing. [ruby-core:24463] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20Fix: change terminal's size on Widows when the window size is changednaruse
* 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
2009-08-20* parse.y (ivar2_hash_type): disabled for now.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-20* thread.c (rb_thread_terminate_all): do not ignore interrupt whenmatz
reaping threads on termination. [ruby-dev:39107] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-19* enumerator.c (next_init): don't clear feedvalue.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-19* enumerator.c: implement Enumerator#{next_values,peek_values,feed}akr
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-19* dir.c (DEFINE_STRUCT_DIRENT): use union to allocate sufficientmatz
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
2009-08-19* enc/unicode.c (CodeRanges): initialized statically.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-18* test/ruby/test_settracefunc.rb (test_return, test_return2): add twomame
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-18* compile.c (NODE_RETURN): fire return event at explicit return.mame
[ruby-dev:38701] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-18* enumerator.c (enumerator_peek): new method Enumerator#peek. akr
(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
2009-08-18Tue Aug 18 13:46:14 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>takano32
* 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
2009-08-18* vm_insnhelper.c (vm_call_cfunc): ensure hook c-return.wanabe
[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
2009-08-17* range.c (range_step): treat symbols specially so that iteratingmatz
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-17* range.c (range_each): should honor to_str conversion.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-17 * lib/date/delta.rb: removed require 'date'. added to_c.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-17* parse.y (lex_get_str, lex_io_gets, rb_parser_compile_string):nobu
must be ascii compatible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-17Don't warn if the duplicate is caused by /i.naruse
* 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
2009-08-16 * lib/date/delta.rb: merged from date4. [experimental]tadf
* 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
2009-08-16 * lib/date/format.rb (strptime): removed \v; since \s includes \v.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16 * complex.c (nucomp_rationalize) added. [experimental]tadf
* 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
2009-08-16use num#i.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16 * numeric.c (flo_pow,fix_pow): may return complex number.tadf
* bignum.c (rb_big_pow): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16* string.c (rb_str_upto): generate numerical sequence whenmatz
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
2009-08-16* numeric.c (num_imaginary): num#i to return imaginary counterpartmatz
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
2009-08-16 * lib/complex.rb, lib/rational.rb: added warning messages.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16* parse.y (yylex): should dispatch scan-event even when followsnobu
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
2009-08-16 * lib/date/format.rb: reverted.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16* lib/date/format.rb: suppressed a warning.naruse
* lib/irb/ruby-lex.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16* lib/csv.rb: Change magic comment to US-ASCII in order tonaruse
make literals as US-ASCII. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-16* regparse.c (parse_char_class, parse_exp, parse_branch),nobu
(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
2009-08-16* vm.c (vm_backtrace_each, vm_backtrace_push),nobu
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
2009-08-16* vm_dump.c (bugreport_backtrace): rb_backtrace_iter_func nownobu
takes VALUE as file and method names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-15* vm_insnhelper.c (opt_eq_func): fix optimization bug. This issueko1
was found out and debugged with Takuto Hayashi at Security and Programming camp 2009. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-15* regparse.c (add_ctype_to_cc_by_range): fix the firstnaruse
character bigger than sb_out was dropped. * test/ruby/test_regexp.rb (TestRegexp#test_posix_bracket): add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-15\d, \s and \w are now non Unicode class. [ruby-dev:39026]naruse
* include/ruby/oniguruma.h (ONIGENC_CTYPE_SPECIAL_MASK): added. (ONIGENC_CTYPE_D): ditto. (ONIGENC_CTYPE_S): ditto. (ONIGENC_CTYPE_W): ditto. * regparse.c: \d, \s and \w are now non Unicode class. [ruby-dev:39026] (fetch_token_in_cc): use ONIGENC_CTYPE_[DSW] for \d/\s/\w. (fetch_token): ditto. (add_ctype_to_cc): add routines for ONIGENC_CTYPE_[DSW]. (parse_exp): ditto. * test/ruby/test_regexp.rb (TestRegexp#test_char_class): add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-15* parse.y (fname, string_dvar, sym, dsym, f_arglist): removednobu
duplications. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-14* include/ruby/ruby.h (rb_check_safe_str): deprecated.nobu
* ext/openssl/ossl_x509store.c (ossl_x509store_add_{file,path}): replaced deprecated funtion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-14* re.c (rb_reg_preprocess_dregexp): change Exception class tonaruse
RegexpError. * test/ruby/test_m17n.rb (test_regexp_usascii): follow above. * test/ruby/test_m17n.rb (test_regexp_embed): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-14* enc/Makefile.in (MKDIRS): revert r24525.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-14* ext/digest/lib/digest/hmac.rb (Digest::HMAC#initialize): fasternobu
code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-14* configure.in (rubyhdrdir): fixed typo. [ruby-dev:39079]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-13* doc/ChangeLog-1.8.0: add forgotten entry contributed bymatz
TAKAHASHI Kaoru. [ruby-dev:39065] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-13* lib/delegate.rb (Delegator#method_missing): __FILE__ may containmatz
multi-byte characters. a patch from Kenta Murata in [ruby-dev:39066]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e