aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * eval.c (rb_f_send): do not call private methods if the receivermatz2005-08-301-1/+5
| | | | | | | is specified. [ruby-talk:153672] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/usage.rb: improper exceptions. [ruby-dev:26870]ocean2005-08-291-0/+7
| | | | | | | | * lib/rdoc/usage.rb: support the case when non-ruby code exists before shebang. (this is needed when ri.bat is executed on windows) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/init.rb: make IRB -I option that is same befavior for ruby.keiju2005-08-291-0/+8
| | | | | | | | | | [ruby-dev:26872] * lib/irb/locale.rb: support to print help message when OS locale is ja_JP.utf-8. [ruby-dev:26872] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#descend): new method.akr2005-08-281-0/+5
| | | | | | | (Pathname#ascend): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: require 'date/format' instead of 'parsedate'.akr2005-08-281-0/+7
| | | | | | | | | (Time.parse): extract fractional seconds using Date._parse. (Time.strptime): extract fractional seconds using Date._strptime. [ruby-talk:153859] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c ({curses,window}_clrtoeol): added. suggestedocean2005-08-271-0/+10
| | | | | | | | | | | | by Reyn Vlietstra. * ext/curses/curses.c: chtype in curses is not `char', rahter `long'. [ruby-Bugs:2298] * ext/curses/view.rb: String =~ String is deprecated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: supress warnings. (win32)ocean2005-08-251-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/logger/test_logger.rb (test_shifting_size): should close logusa2005-08-241-0/+6
| | | | | | | | device before unlink, since some platform cannot unlink opened file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add test for SHA224, SHA256, SHA384 and SHA512.gotoyuzo2005-08-221-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/digest.rb: added SHA224, SHA256, SHA384 and SHA512.gotoyuzo2005-08-221-0/+6
| | | | | | | | these features are enabled if this library is compiled with OpenSSL 0.9.8 or later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): try to decodegotoyuzo2005-08-221-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | the argument as a string. * ext/openssl/ossl_ns_pki.c (ossl_spki_to_der): new method. * ext/openssl/ossl_x509store.c (ossl_x509store_initialize): should set @time to avoid warning. * ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths, X509_STORE_add_cert, X509_STORE_add_crl): should raise error if wrapped functions fails. * ext/openssl/ossl_ssl.c (ossl_sslctx_set_ciphers): fix error message. * ext/openssl/ossl_x509req.c (ossl_x509req_set_attributes): get rid of unused variable. * test/openssl/test_ns_spki.rb: add new file. * test/openssl/test_x509store.rb: add test for error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (ruby__sfvwrite): should move `buf' to the end ofocean2005-08-221-0/+5
| | | | | | | `result'. [ruby-dev:26859] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: ONIG_OPTION_CAPTURE_GROUP conflicts withmatz2005-08-221-0/+5
| | | | | | | RE_OPTION_ONCE. [ruby-dev:26852] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/vsnprintf.c (BSD__sprint): needs to call vwrite functionnobu2005-08-221-0/+5
| | | | | | | pointer. fixed: [ruby-dev:26854] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex): update paren_nest for brackets [].matz2005-08-201-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/wsdl/xmlSchema/importer.rb (WSDL::XMLSchema::Importer#fetch): addnahi2005-08-201-1/+7
| | | | | | | | a workaround for importing an WSDL whose path begins with drive letter. [ruby-dev:26242] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regexec.c (code_is_in_cclass_node): check code size.matz2005-08-201-0/+5
| | | | | | | [ruby-dev:26840] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (write, shift_log?, shift_log): file shifting racenahi2005-08-201-0/+7
| | | | | | | | | condition bug fixed. [ruby-dev:26764] * test/logger/test_logger.rb: tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (Time.apply_offset): fix a problem with last day ofakr2005-08-191-0/+5
| | | | | | | month. reported by Lucas Nussbaum. [ruby-talk:152866] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (socketpair_internal): need to call open_ifs_socket()usa2005-08-181-0/+6
| | | | | | | | to create sockets instead of winsock's socket(). fixed: [yarv-dev:581] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (terminate_process): take String message.nobu2005-08-171-1/+8
| | | | | | | | * eval.c (rb_thread_switch): propagate the exception caused thread termination directly. fixed: [ruby-core:05552] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb: ensure that symbol_to_option is private_class_methodnaruse2005-08-171-0/+6
| | | | | | | | and all other methods are module_function fixed: [ruby-dev:26808] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_add_method): preserve safe level in the environmentmatz2005-08-161-1/+0
| | | | | | | | | | | | | | | | | | | where a method is defined . * eval.c (rb_call0): restore preserved safe level in the method execution. * parse.y (lambda): need separate block variable stack manipulation and lpar_beg maintenance. based on a patch found in [ruby-core:05551] from Mauricio Fernandez <mfp@acm.org>. * parse.y (parser_yylex): adjust lpar_beg after tLAMBEG and kDO_LAMBDA. [ruby-core:05551] * parse.y (yycompile): remove unreachable code. [yarv-dev:570] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_add_method): preserve safe level in the environmentmatz2005-08-161-0/+20
| | | | | | | | | | | | | | | | | | | where a method is defined . * eval.c (rb_call0): restore preserved safe level in the method execution. * parse.y (lambda): need separate block variable stack manipulation and lpar_beg maintenance. based on a patch found in [ruby-core:05551] from Mauricio Fernandez <mfp@acm.org>. * parse.y (parser_yylex): adjust lpar_beg after tLAMBEG and kDO_LAMBDA. [ruby-core:05551] * parse.y (yycompile): remove unreachable code. [yarv-dev:570] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h (rb_check_to_integer): add declaration.nobu2005-08-141-0/+6
| | | | | | | * object.c (rb_to_integer, rb_check_to_integer): argument constified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_rescue2): reduce PUSH_TAG() as well as NODE_RESCUE.nobu2005-08-141-0/+7
| | | | | | | | | [ruby-dev:26800] * range.c (range_check, range_init): reduce uselse exceptions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (remove_entry_secure): forgot final chdir.aamine2005-08-131-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (remove_entry_secure): uses chdir(2) and check if current ↵aamine2005-08-131-0/+5
| | | | | | directory is correct. [ruby-dev:26100] [ruby-dev:26226] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add WIN32OLE_VARIANT class.suke2005-08-131-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss.nobu2005-08-131-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_block_pass): distinguish current block from others.nobu2005-08-131-1/+9
| | | | | | | fixed: [ruby-dev:26274] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_set_string): disallow nil.nobu2005-08-131-2/+7
| | | | | | | http://www.rubyist.net/~nobu/t/20050811.html#c05 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb: Kconv.kconv is now alias of Kconv.convnaruse2005-08-121-0/+5
| | | | | | | * ext/nkf/lib/kconv.rb: remove nkf dependend symbols fomr SYMBOL_TO_OPTION git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (f_larglist): allow optional arguments even whenmatz2005-08-121-0/+9
| | | | | | | | | | | parentheses are omitted. based on Nobu's patch from http://www.rubyist.net/~nobu/t/20050805.html * parse.y (parser_yylex): update & maintain lpar_beg for detect lambda parameters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_equal, fix_cmp, fix_gt, fix_ge, fix_lt, fix_le):matz2005-08-121-3/+14
| | | | | | | | | | | reduce coercing when a method knows about a operand type. [ruby-dev:26789] * lib/delegate.rb: simplifies Delegator classes; SimpleDelegator now uses method_missing for all methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c: keep holding string after closed.nobu2005-08-111-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added ML number. [ruby-list:41018]kou2005-08-111-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/1.0.rb (RSS::RDF::Channel#setup_maker_attributes):kou2005-08-111-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | removed self. * lib/rss/maker/base.rb (RSS::Maker::ItemsBase#<=>): use #date instead of @date. (RSS::Maker::Base::self.def_array_element): added #size. * lib/rss/maker/1.0.rb (RSS::Maker::RSS10::Channel#to_rss, RSS::Maker::RSS10::Items::Item#to_rss): cleared dc_dates set upped by using #date. * lib/rss/maker/dublincore.rb (RSS::Maker::ChannelBase, RSS::Maker::ItemsBase::ItemBase): fixed opposite alias. * test/rss/test_setup_maker_1.0.rb (RSS::TestSetupMaker10::test_setup_maker_items_sort): added some tests for RSS::Maker::ItemsBase#do_sort. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_mul0): multiply two numbers (x, y) withoutmatz2005-08-101-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | normalizing the result. x should be a big number. [ruby-dev:26778] * bignum.c (rb_big_pow): use rb_big_mul0() instead of rb_big_mul(). * array.c (rb_ary_or, rb_ary_and, rb_ary_plus, rb_ary_diff): revert the change on 2005-08-03. Set operation on other item should have in separate methods. * parse.y (shadowing_lvar_gen): warn when arguments shadows external local variables. * parse.y (f_opt): optional arguments should not clobber external local variables. * parse.y (f_rest_arg): rest arguments should not clobber external local variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: fix bug on handling __ruby2val_optkeys().nagai2005-08-101-0/+11
| | | | | | | | | | * ext/tk/lib/tk/itemconfig.rb: fix bug on handling __item_ruby2val_optkeys(). * ext/tk/lib/tk/canvas.rb: didn't check __item_ruby2val_optkeys(). * ext/tk/lib/tkextlib/blt/component.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (formal_assign): let default values overridenobu2005-08-091-3/+8
| | | | | | | arguments to zsuper. fixed: [ruby-dev:26743] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: remove dangerous 'rb_jump_tag's.nagai2005-08-091-0/+25
| | | | | | | | | | | | | | | | | | | * ext/tk/lib/tk.rb: add __val2ruby_optkeys and __ruby2val_optkeys to help to convert option values between ruby and tcl. * ext/tk/lib/tk/itemconfig.rb: add __item_val2ruby_optkeys and __item_ruby2val_optkeys to help to convert option values between ruby and tcl. * ext/tk/lib/tk/radiobutton.rb: use __ruby2val_optkeys for 'variable' option (for the reason of backward compatibility). * ext/tk/lib/tk/composite.rb: clarify the arguments of super(). * ext/tk/lib/tk/spinbox.rb: ditto. * ext/tk/lib/tk/text.rb: ditto. * ext/tk/lib/tk/validation.rb: ditto. * ext/tk/lib/tkextlib/*: support to treat tkvariable-type configure options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (f_block_arg), eval.c (rb_yield_0): deal with dynamicnobu2005-08-081-0/+5
| | | | | | | variable lambda arguments. [ruby-core:05540] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (assign): deal with new block argument.nobu2005-08-081-1/+9
| | | | | | | | | | fixed: [ruby-core:05536] * eval.c (rb_node_arity): follow change of NODE_ARGS. fixed: [ruby-dev:26761] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_fnmatch.rb: separated from test_file.rb.ocean2005-08-081-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_method.rb: added. [ruby-dev:26761]nahi2005-08-081-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (f_larglist): mistake in syntax rule. [ruby-core:05535]matz2005-08-081-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.c (ossl_raise): should use ERR_peek_last_errorgotoyuzo2005-08-071-0/+9
| | | | | | | | | | | to get last error on the current thread. And should report if errors are on the stack while OpenSSL.debug is true. * ext/openssl/ossl.c (ossl_get_errors): new method for debugging this library. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpproxy.rb (HTTPProxyServer#intialize),gotoyuzo2005-08-071-0/+12
| | | | | | | | | | | | | | lib/webrick/httpserver.rb (HTTPServer#intialize), lib/webrick/httpservlet/cgihandler.rb (CGIHandler#initialize), lib/webrick/httpservlet/erbhandler.rb (ERBHandler#initialize), lib/webrick/httpservlet/filehandler.rb(DefaultFileHandler#initialize): super (called with no arguments) takes default value of optional arguments. [ruby-dev:26743] * lib/webrick/httputils.rb: add a media-type "text/html" for .xhtml. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_super.rb: added optional arg tests. [ruby-dev:26743]nahi2005-08-071-0/+5
| | | | | | | the tests expects 1.8 behavior at this time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e