summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * io.c (rb_io_getline_fast, rb_io_getline_1): set encoding to thenobu2007-09-281-0/+5
| | | | | | | result string, as well as getc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/bm_app_erb.rb: added.ko12007-09-281-0/+6
| | | | | | | | * benchmark/bm_io_file_(create|read|write).rb: added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/driver.rb: fix file selection algorithm.ko12007-09-281-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/REAMDE.win32: follow recent changes.usa2007-09-271-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/driver.rb: fix to output some helpful messages.ko12007-09-271-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * benchmark/driver.rb: added.ko12007-09-271-0/+10
| | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@13535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiber/fiber.c: modify prototype declaration.ko12007-09-271-0/+5
| | | | | | | | [ruby-core:12247] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (strings, xstring, regexp, dsym): empty strings havenobu2007-09-271-0/+5
| | | | | | | US-ASCII encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (assert_finish): new method.akr2007-09-261-0/+7
| | | | | | | | * bootstraptest/test_knownbug.rb: add test for [ruby-dev:31866] using assert_finish. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_associate_index): deal with ASCII compatiblenobu2007-09-261-0/+18
| | | | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@13529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_mark_set): new function to mark keys.nobu2007-09-261-2/+4
| | | | | | | | * marshal.c (struct dump_arg, struct load_arg): added wrappers to mark data and compat_tbl entries. [ruby-dev:31870] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (struct dump_arg, struct load_arg): added wrappers to marknobu2007-09-261-0/+5
| | | | | | | compat_tbl entries. [ruby-dev:31870] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_waitpid): no needs to poll. [ruby-dev:31871]nobu2007-09-261-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knownbug.rb: remove a fixed test.ko12007-09-261-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knownbug.rb: move fixed tests.ko12007-09-261-0/+8
| | | | | | | | | * bootstraptest/test_method.rb: ditto. * test/ruby/test_io.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML number.ko12007-09-261-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (eval): fix to check stack overflow.ko12007-09-261-0/+6
| | | | | | | | * eval_intern.h, vm.h: move CHECK_STACK_OVERFLOW() macro. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.ci (vm_throw): fix to move increment point.ko12007-09-261-0/+5
| | | | | | | | [ruby-dev:31840] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c: Fiber as SemiCoroutine on default. [ruby-core:12146]ko12007-09-261-0/+6
| | | | | | | | * ext/fiber/fiber.c: enable Fiber#transfer. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_check): check for ASCII-compatibilities.nobu2007-09-261-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@13518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_method.ci (rb_get_alloc_func): cast to suppress a warning.nobu2007-09-261-0/+6
| | | | | | | * eval_method.ci (remove_method): local variable to be initialized. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (ext/extinit.o): use $(OUTFLAG) as well as othernobu2007-09-251-0/+5
| | | | | | | objects. [ruby-Bugs-14228] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yyerror): limit error message length.nobu2007-09-251-0/+5
| | | | | | | [ruby-dev:31848] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_ungetc): reallocate internal buffer if pushing datamatz2007-09-251-0/+5
| | | | | | excess capacity. [ruby-dev:31650] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_method.ci (remove_method): should not remove undef placematz2007-09-251-0/+5
| | | | | | holder. [ruby-dev:31816], [ruby-dev:31817] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_longjmp): source file information may be NULL.matz2007-09-251-0/+7
| | | | | | | | [ruby-dev:31849] * eval.c (ruby_finalize_0): clear trace_func before finalization. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_equal): should handle recursive array.matz2007-09-241-0/+6
| | | | | | * hash.c (hash_equal): should handle recursive hash. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (hash_i): avoid too frequent hash conflict where key andmatz2007-09-241-0/+4
| | | | | | | value are same. a patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:31802] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/weakref.rb (WeakRef): remove debug print. [ruby-dev:31799]matz2007-09-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/strscan/strscan.c (strscan_initialize, strscan_getch): use thenobu2007-09-241-0/+6
| | | | | | | | encoding of the target string instead of setting to StringScanner instance. [ruby-dev:31831] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/net/http.rb: fix typo.shyouhei2007-09-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: an SSL verification (the server hostname shouldgotoyuzo2007-09-231-0/+14
| | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@13499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (os_obj_of, os_each_obj): hide objects to be finalized.nobu2007-09-231-0/+5
| | | | | | | [ruby-dev:31810] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_method.ci (rb_attr): should not use alloca for unknowen sizenobu2007-09-221-0/+7
| | | | | | | | | input. [ruby-dev:31816] * parse.y (rb_intern_str): prevent str from optimization. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_method.ci (remove_method): check for undefined method.nobu2007-09-221-0/+5
| | | | | | | [ruby-dev:31816] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/options.rb (Options::check_diagram): dot -V outputshyouhei2007-09-221-0/+5
| | | | | | | changed. [ ruby-Bugs-11978 ], Thanks Florian Frank. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::List::summarize): use each_line ifnobu2007-09-211-0/+5
| | | | | | | defined rather than each. [ruby-Patches-14096] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_init): separate from strio_initializenobu2007-09-211-0/+5
| | | | | | | to share with strio_reopen properly. [ruby-Bugs-13919] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_mark_rest): copy just used part.nobu2007-09-211-0/+10
| | | | | | | | | | | * gc.c (gc_mark_children): mark u1 and u2 of NODE_ARGSCAT. * gc.c (os_obj_of): hide T_VALUES too. [ruby-dev:31804] * gc.c (run_final): freeze temporary argument array. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-style.el (ruby-style-label-indent): fix for function topnobu2007-09-201-0/+5
| | | | | | | level labels. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_match_m): evaluate a block if match. it would makematz2007-09-201-0/+7
| | | | | | | | condition statement much shorter, if no else clause is needed. * string.c (rb_str_match_m): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (hash_equal): should call rb_eql when argument eql is set.matz2007-09-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (popen_exec), process.c (rb_spawn): stop other threads beforenobu2007-09-201-0/+5
| | | | | | | exec. [ruby-core:08262] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb: fix a coerce bug of Vector. [ruby-core: 12190]keiju2007-09-181-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (HTTP::GenericRequest#initialize): check path is not nil. ↵aamine2007-09-171-0/+5
| | | | | | [ruby-dev:31149] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (ripper): rename event: arglist_* -> args_*.aamine2007-09-171-0/+19
| | | | | | | | | | | | | * parse.y (ripper): rename event: restparam -> rest_param. * parse.y (ripper): rename event: constpath_* -> const_path_*. * parse.y (ripper): rename event: topconst_* -> top_const_*. * parse.y (ripper): rename event: iter_block -> method_add_block. * parse.y (ripper): support block local parameter declaration. * parse.y (ripper): introduce new macro params_new. * ext/ripper/lib/ripper/sexp.rb: should not dispose event arguments whose name ends with "_new" but arity != 0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (struct parser_params): common members in the parser andnobu2007-09-151-0/+5
| | | | | | | ripper must be placed at each same location. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_rstrip_bang): fixed too much rstrip. [ruby-dev:31786]kou2007-09-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_initialize): set default encoding. [ruby-dev:31787]nobu2007-09-151-0/+7
| | | | | | | | * ruby.c (load_file): make new parse instance after processing shebang line options. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_associate_index, rb_enc_get_index): check ifnobu2007-09-151-0/+7
| | | | | | | | | object is encoding capable. [ruby-dev:31780] * string.c (rb_str_subpat_set): check for if the argument is a String. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e