summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * re.c (rb_reg_s_union): check for encoding of original object.nobu2007-10-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * debug.c: use enum for constants for gdb if possible.akr2007-10-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c, debug.c: move debug enum and constants to debug.c.akr2007-10-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (RUBY_ENCODING_SHIFT): added as enum.akr2007-10-161-0/+6
| | | | | | | | * .gdbinit (rp): show encoding and coderange for strings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_regx_options): check if regexp encoding optionnobu2007-10-161-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matches to current encoding. * re.c (char_to_option, rb_char_to_option_kcode): 'n' is not kcode option now. * re.c (rb_reg_to_s, rb_reg_error_desc): copy encoding rather than append as an option. * re.c (make_regexp, rb_reg_prepare_re): use encoding of Regexp and String instead of kcode. * re.c (rb_reg_initialize): set fixed option if none is set. * re.c (rb_reg_regcomp): ditto. * re.c (rb_reg_equal): check if encodings are equal. * re.c (rb_reg_initialize_m): encoding option is obsolete. * re.c (rb_kcode, rb_get_kcode, rb_set_kcode): removed. * re.c (Init_Regexp): removed Regexp#kcode method. * ruby.c (proc_options): allow long encoding name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_s_union): encoding of all regexp objects shouldmatz2007-10-161-0/+5
| | | | | | match. [ruby-dev:32076] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_to_s): rename function.matz2007-10-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_new4): should copy encoding. a patch from NARUSE,nobu2007-10-161-0/+5
| | | | | | | Yui <naruse AT airemix.com>. [ruby-dev:32076] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_inject): RDoc update. a patch from David Flanaganmatz2007-10-151-0/+5
| | | | | | <david AT davidflanagan.com> in [ruby-core:12679] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (Init_Encoding): define #to_s to show encoding namematz2007-10-151-0/+5
| | | | | | in to_s representation as well as #inspect. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_round): should be number but not rounding factor.nobu2007-10-151-0/+5
| | | | | | | [ruby-dev:32060] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_bytes0): refined length check. [ruby-dev:32059]nobu2007-10-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (pst_to_s): returns a string such as "pid 10220 exit 1"akr2007-10-151-0/+8
| | | | | | | | | | instead of "256". [ruby-dev:32053] (pst_inspect): change format "#<Process::Status: pid=10220,exited(1)>" to "#<Process::Status: pid 10220 exit 1>". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_bytes0): check if source has enough data.nobu2007-10-151-0/+5
| | | | | | | [ruby-dev:32054] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (s_accept_nonblock): make accepted fdakr2007-10-141-0/+5
| | | | | | | nonblocking. [ruby-talk:274079] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_obj_encoding): rdoc update. a patch from Davidnobu2007-10-141-0/+14
| | | | | | | | | | | | | | | | Flanagan <david AT davidflanagan.com>. [ruby-core:12664] * encoding.c (enc_dump, enc_load): marshaling feature. a patch from David Flanagan. [ruby-core:12665] * encoding.c (Init_Encoding): undefine allocator of Encoding. [ruby-core:12665], [ruby-core:12666] * test/ruby/test_encoding.rb: tests for Encoding from David Flanagan [ruby-core:12665] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (PP::PPMethods#pp_hash): don't sort keys because hash isakr2007-10-141-2/+8
| | | | | | | | ordered. (ENV.pretty_print): call pp_hash with sorted hash. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (AC_SYS_LARGEFILE): keep results also in commandnobu2007-10-131-0/+7
| | | | | | | | | options, to vail out of mismatch. [ruby-list:44114] * mkconfig.rb, lib/mkmf.rb (configuration): add DEFS. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/mkexports.rb: deal with __fastcall name decorations.nobu2007-10-131-0/+5
| | | | | | | [ruby-list:44111] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * inits.c (rb_call_inits): call Init_Encoding.nobu2007-10-131-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_cEncoding): new Encoding class.nobu2007-10-131-0/+16
| | | | | | | | | | | | | | | | | * encoding.c (rb_to_encoding, rb_to_encoding_index): helper functions. * encoding.c (rb_obj_encoding): return Encoding object now. * gc.c (garbage_collect): mark Encoding objects. * string.c (rb_str_force_encoding): accept Encoding object as well as encoding name. * include/ruby/encoding.h (rb_to_encoding_index, rb_to_encoding): prototypes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI.open_http): fix :ssl_ca_cert option.akr2007-10-131-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (foletype_s_ole_classes, suke2007-10-131-0/+16
| | | | | | | | | | | | | | | | | | | foletype_s_typelibs): refactoring. * test/win32ole/test_win32ole_type.rb: add some test. * ext/win32ole/win32ole.c (Init_win32ole): change method name WIN32OLE_TYPELIB.ole_types from WIN32OLE_TYPELIB.ole_classes. * test/win32ole/test_win32ole_typelib.rb: ditto. * test/win32ole/test_folderitem2_invokeverb.rb: check create shortcut string more strictly (This test is invoked in Japanese Windows environment). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (set_file_encoding): case-insensitive search, a patch fromnobu2007-10-131-0/+5
| | | | | | | David Flanagan <david AT davidflanagan.com> [ruby-core:12629] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc,win}32/mkexports.rb: explicit data. [ruby-list:44108]nobu2007-10-131-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/document.rb (REXML::Document::write): leakymatz2007-10-121-0/+5
| | | | | | modification trans -> transitive. [ruby-dev:32040] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: encoding specifier should work if the line matchesmatz2007-10-121-0/+6
| | | | | | | /coding[:=] ?/, a la Python PEP-263, so that VIM comments like "# vim: set fileencoding=<encoding name>" should be recognized. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (match_values_at): make #select to be alias to #values_atmatz2007-10-121-0/+5
| | | | | | to adapt RDoc description. [ruby-core:12588] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_combination): fixed memory corruption due to toomatz2007-10-121-0/+8
| | | | | | | | | small memory allocation * array.c (rb_ary_product): accessing out of memory bounds. condition fixed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * trunk/parse.y (magic_comments): add "encoding" as same as "coding".nobu2007-10-121-0/+8
| | | | | | | | | * trunk/parse.y (set_file_encoding): special file encoding handling. * trunk/parse.y (parser_yylex): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/node.h (NOEX_LOCAL): remove unused local visibility.matz2007-10-111-0/+8
| | | | | | | | * class.c (ins_methods_push): ditto. * class.c (rb_class_local_methods): method removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, too.usa2007-10-111-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (COMMON_MACROS): workaround for old SDK's bug.usa2007-10-111-0/+5
| | | | | | | | [ruby-core:12584] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, */Makefile.sub (VPATH): add enc directory.nobu2007-10-101-0/+8
| | | | | | | | | * common.mk (ENCOBJS): encoding objects. * enc: directory for encodings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/oniguruma.h (OnigEncodingTypeST): add OnigEncodingmatz2007-10-101-0/+8
| | | | | | | | | parameter to every function members. * include/ruby/oniguruma.h (OnigEncodingTypeST): add auxiliary data member to provide user defined data for an encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_s_quote): no longer takes optional second argumentmatz2007-10-101-0/+5
| | | | | | that has never been documented. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_init): don't alias iso-8859-1 to ascii.akr2007-10-101-0/+6
| | | | | | | | * ascii.c (OnigEncodingASCII): change the name US-ASCII to ASCII-8BIT. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_str_coderange): fixed checkfor non-ascii.nobu2007-10-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_permutation): use frozen shared hidden array.nobu2007-10-091-1/+4
| | | | | | | [ruby-dev:31985] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_permutation, rb_ary_combination): missing typenobu2007-10-091-0/+7
| | | | | | | | | names. * array.c (rb_ary_permutation): used buffer should be t1. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: remove to_a completely.matz2007-10-091-0/+6
| | | | | | * array.c (tmpbuf): keep DRY to clear klass of temporary objects. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_permutation, rb_ary_combination, rb_ary_product):nobu2007-10-091-0/+5
| | | | | | | hide internal buffer objects. [ruby-dev:31982] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_read_escape, parser_tokadd_escape): check code range.usa2007-10-091-0/+5
| | | | | | | [ruby-dev:31980] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (STR_NEW3): check for if single byte sequence.nobu2007-10-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb, lib/net/smtp.rb, lib/net/pop.rb: hostname shouldgotoyuzo2007-10-081-0/+8
| | | | | | | | | | be verified against server's indentity as persented in the server's certificate. [ruby-dev:31960] * ext/openssl/lib/net/telnets.rb, ext/openssl/lib/net/ftptls.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/test_taxonomy.rb, test/rss/test_parser_1.0.rb,kou2007-10-071-0/+6
| | | | | | | | test/rss/test_image.rb, test/rss/rss-testcase.rb: ensured declaring XML namespaces. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/node.h: make node flags as VALUE type.akr2007-10-071-0/+7
| | | | | | | | | enum ruby_node_flags removed. * ruby.c: define RUBY_NODE_* as const for gdb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2007-10-071-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h: enum ruby_value_flags removed.akr2007-10-071-0/+6
| | | | | | | * ruby.c: define RUBY_FL_* as const VALUE for gdb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: remove enable_post_connection_check flag.gotoyuzo2007-10-071-0/+6
| | | | | | | * lib/open-uri.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e