summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-09-28* benchmark/driver.rb: fix to output benchmark resultsko1
to file "bmlog-#{Time.now.strftime('%Y%m%d-%H%M%S')}.#{$$}". * benchmark/bm_io_file_create.rb: remove useless codes. * benchmark/bm_vm2_eval.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-28check codepage for SJIS pathname test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-28* include/ruby/intern.h: export rb_ivar_foreach.akr
* include/ruby/ruby.h: modify struct RObject and RClass for optimizing T_OBJECT space. [ruby-dev:31853] (ROBJECT_LEN, ROBJECT_PTR) (RCLASS_IV_TBL, RCLASS_M_TBL, RCLASS_SUPER, RCLASS_IV_INDEX_TBL) (RMODULE_IV_TBL, RMODULE_M_TBL, RMODULE_SUPER): abstract accessor defined. * variable.c: support the modified RObject and RClass. * object.c: ditto. * class.c: ditto. * gc.c: ditto. * marshal.c: ditto. * eval_method.ci: use the abstract accessor. * insns.def: ditto. * proc.c: ditto. * struct.c: ditto. * eval.c: ditto. * error.c: ditto. * vm.c: ditto. * insnhelper.ci: ditto. * ext/digest/digest.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-28* io.c (rb_io_getline_fast, rb_io_getline_1): set encoding to thenobu
result string, as well as getc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-28* benchmark/bm_app_erb.rb: added.ko1
* benchmark/bm_io_file_(create|read|write).rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-28* benchmark/driver.rb: fix file selection algorithm.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-28thread variable test refined.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-27add test for thread local variable with fiber.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-27 * win32/REAMDE.win32: follow recent changes.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-27* benchmark/driver.rb: fix to output some helpful messages.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-27* benchmark/driver.rb: added.ko1
* common.mk: fix to use above driver. * benchmark/prepare_so_count_words.rb: added. * benchmark/bm_so_count_words.rb: fix benchmark process. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-27* ext/fiber/fiber.c: modify prototype declaration.ko1
[ruby-core:12247] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-27* parse.y (strings, xstring, regexp, dsym): empty strings havenobu
US-ASCII encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26refine a test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26* bootstraptest/runner.rb (assert_finish): new method.akr
* bootstraptest/test_knownbug.rb: add test for [ruby-dev:31866] using assert_finish. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26* string.c (rb_str_associate_encoding): commit miss.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26* encoding.c (rb_enc_associate_index): deal with ASCII compatiblenobu
flags. * encoding.c (rb_enc_check): allow ASCII compatible strings. * parse.y (rb_intern_str): use ASCII encoding for ASCII string. * string.c (rb_enc_str_coderange): check for code-range. * string.c (rb_str_modify): clear code-range flags. * string.c (rb_str_hash, rb_str_eql): ASCII compatible strings are comparable. * include/ruby/encoding.h: added code-range flags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26* gc.c (rb_mark_set): new function to mark keys.nobu
* marshal.c (struct dump_arg, struct load_arg): added wrappers to mark data and compat_tbl entries. [ruby-dev:31870] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26* marshal.c (struct dump_arg, struct load_arg): added wrappers to marknobu
compat_tbl entries. [ruby-dev:31870] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26* process.c (rb_waitpid): no needs to poll. [ruby-dev:31871]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26* bootstraptest/test_knownbug.rb: remove a fixed test.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26* bootstraptest/test_knownbug.rb: move fixed tests.ko1
* bootstraptest/test_method.rb: ditto. * test/ruby/test_io.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26add ML number.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26* eval.c (eval): fix to check stack overflow.ko1
* eval_intern.h, vm.h: move CHECK_STACK_OVERFLOW() macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26* insnhelper.ci (vm_throw): fix to move increment point.ko1
[ruby-dev:31840] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26* cont.c: Fiber as SemiCoroutine on default. [ruby-core:12146]ko1
* ext/fiber/fiber.c: enable Fiber#transfer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26* encoding.c (rb_enc_check): check for ASCII-compatibilities.nobu
* parse.y (parser_tokadd_string, parser_parse_string, parser_here_document, parser_yylex): set encoding to US-ASCII. * parse.y (rb_enc_symname_p): check if valid with encoding. * parse.y (rb_intern3): let symbols have encoding. * string.c (rb_str_hash): add encoding index. * string.c (rb_str_comparable, rb_str_equal, rb_str_eql): check if compatible encoding. * string.c (sym_inspect): made encoding aware. * insns.def (opt_eq): compare with encoding. * include/ruby/encoding.h (rb_enc_asciicompat): check if ASCII compatible. * include/ruby/encoding.h (rb_enc_get_index): added prototype. * include/ruby/intern.h (rb_str_comparable, rb_str_equal): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26* eval_method.ci (rb_get_alloc_func): cast to suppress a warning.nobu
* eval_method.ci (remove_method): local variable to be initialized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-26new file.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-25* Makefile.in (ext/extinit.o): use $(OUTFLAG) as well as othernobu
objects. [ruby-Bugs-14228] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-25* parse.y (parser_yyerror): limit error message length.nobu
[ruby-dev:31848] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-25* io.c (io_ungetc): reallocate internal buffer if pushing datamatz
excess capacity. [ruby-dev:31650] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-25* eval_method.ci (remove_method): should not remove undef placematz
holder. [ruby-dev:31816], [ruby-dev:31817] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-25* eval.c (rb_longjmp): source file information may be NULL.matz
[ruby-dev:31849] * eval.c (ruby_finalize_0): clear trace_func before finalization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-24* array.c (rb_ary_equal): should handle recursive array.matz
* hash.c (hash_equal): should handle recursive hash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-24* hash.c (hash_i): avoid too frequent hash conflict where key andmatz
value are same. a patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:31802] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-24* lib/weakref.rb (WeakRef): remove debug print. [ruby-dev:31799]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-24* ext/strscan/strscan.c (strscan_initialize, strscan_getch): use thenobu
encoding of the target string instead of setting to StringScanner instance. [ruby-dev:31831] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-24 lib/net/http.rb: fix typo.shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-23* lib/net/http.rb: an SSL verification (the server hostname shouldgotoyuzo
be matched with its certificate's commonName) is added. this verification can be skipped by "Net::HTTP#enable_post_connection_check=(false)". suggested by Chris Clark <cclark at isecpartners.com> * lib/net/open-uri.rb: use Net::HTTP#enable_post_connection_check to perform SSL post connection check. * ext/openssl/lib/openssl/ssl.c (OpenSSL::SSL::SSLSocket#post_connection_check): refine error message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-23* gc.c (os_obj_of, os_each_obj): hide objects to be finalized.nobu
[ruby-dev:31810] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-22* eval_method.ci (rb_attr): should not use alloca for unknowen sizenobu
input. [ruby-dev:31816] * parse.y (rb_intern_str): prevent str from optimization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-22merge tests for [ruby-dev:31816] and [ruby-dev:31817].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-22add test for [ruby-dev:31817].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-22* eval_method.ci (remove_method): check for undefined method.nobu
[ruby-dev:31816] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-22 * lib/rdoc/options.rb (Options::check_diagram): dot -V outputshyouhei
changed. [ ruby-Bugs-11978 ], Thanks Florian Frank. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-22add test for [ruby-dev:31818].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-22add test for [ruby-dev:31816].akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-21* lib/optparse.rb (OptionParser::List::summarize): use each_line ifnobu
defined rather than each. [ruby-Patches-14096] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-09-21* ext/stringio/stringio.c (strio_init): separate from strio_initializenobu
to share with strio_reopen properly. [ruby-Bugs-13919] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e