summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/openssl/lib/digest.rb: added SHA224, SHA256, SHA384 and SHA512.gotoyuzo2005-08-222-2/+13
| | | | | | | | these features are enabled if this library is compiled with OpenSSL 0.9.8 or later. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ns_spki.c (ossl_spki_initialize): try to decodegotoyuzo2005-08-227-7/+144
| | | | | | | | | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@9021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-23ocean2005-08-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (ruby__sfvwrite): should move `buf' to the end ofocean2005-08-222-0/+6
| | | | | | | `result'. [ruby-dev:26859] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: ONIG_OPTION_CAPTURE_GROUP conflicts withmatz2005-08-222-1/+6
| | | | | | | RE_OPTION_ONCE. [ruby-dev:26852] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/vsnprintf.c (BSD__sprint): needs to call vwrite functionnobu2005-08-222-1/+6
| | | | | | | pointer. fixed: [ruby-dev:26854] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-22nobu2005-08-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex): update paren_nest for brackets [].matz2005-08-203-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/wsdl/xmlSchema/importer.rb (WSDL::XMLSchema::Importer#fetch): addnahi2005-08-202-2/+14
| | | | | | | | a workaround for importing an WSDL whose path begins with drive letter. [ruby-dev:26242] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-21nahi2005-08-201-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9013 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: http://svn.ruby-lang.org/repos/ruby/trunk@9012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (write, shift_log?, shift_log): file shifting racenahi2005-08-203-83/+151
| | | | | | | | | condition bug fixed. [ruby-dev:26764] * test/logger/test_logger.rb: tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refactoringsuke2005-08-201-9/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-20suke2005-08-201-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test script to check WIN32OLE can invoke InvokeVerb of FolderItem2suke2005-08-201-0/+70
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb (Time.apply_offset): fix a problem with last day ofakr2005-08-192-1/+12
| | | | | | | month. reported by Lucas Nussbaum. [ruby-talk:152866] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-19akr2005-08-191-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (socketpair_internal): need to call open_ifs_socket()usa2005-08-182-2/+8
| | | | | | | | to create sockets instead of winsock's socket(). fixed: [yarv-dev:581] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-18usa2005-08-181-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (terminate_process): take String message.nobu2005-08-172-11/+17
| | | | | | | | * eval.c (rb_thread_switch): propagate the exception caused thread termination directly. fixed: [ruby-core:05552] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb: ensure that symbol_to_option is private_class_methodnaruse2005-08-172-20/+15
| | | | | | | | and all other methods are module_function fixed: [ruby-dev:26808] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_iterator.rb (test_block_passing): more tests.nobu2005-08-171-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8997 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: http://svn.ruby-lang.org/repos/ruby/trunk@8996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-17matz2005-08-161-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_add_method): preserve safe level in the environmentmatz2005-08-163-43/+59
| | | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@8994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-16nobu2005-08-161-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_mod_autoload_p, rb_f_autoload_p): added rdoc.nobu2005-08-161-6/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h (rb_check_to_integer): add declaration.nobu2005-08-143-2/+9
| | | | | | | * object.c (rb_to_integer, rb_check_to_integer): argument constified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-15nobu2005-08-141-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_rescue2): reduce PUSH_TAG() as well as NODE_RESCUE.nobu2005-08-143-27/+28
| | | | | | | | | [ruby-dev:26800] * range.c (range_check, range_init): reduce uselse exceptions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc fixaamine2005-08-131-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (remove_entry_secure): forgot final chdir.aamine2005-08-132-11/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (remove_entry_secure): uses chdir(2) and check if current ↵aamine2005-08-132-42/+47
| | | | | | directory is correct. [ruby-dev:26100] [ruby-dev:26226] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add WIN32OLE_VARIANT class.suke2005-08-132-77/+268
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add WIN32OLE_VARIANT classsuke2005-08-132-0/+75
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss.nobu2005-08-131-5/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_block_pass): distinguish current block from others.nobu2005-08-132-2/+12
| | | | | | | fixed: [ruby-dev:26274] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_set_string): disallow nil.nobu2005-08-132-10/+13
| | | | | | | http://www.rubyist.net/~nobu/t/20050811.html#c05 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb: Kconv.kconv is now alias of Kconv.convnaruse2005-08-122-56/+9
| | | | | | | * ext/nkf/lib/kconv.rb: remove nkf dependend symbols fomr SYMBOL_TO_OPTION git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dbm/test_dbm.rb: specify pid for Process.wait.akr2005-08-123-18/+66
| | | | | | | | | | | gdbm/test_gdbm.rb: ditto. sdbm/test_sdbm.rb: ditto. dbm/test_dbm.rb: add tests for open when db is not exist. gdbm/test_gdbm.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-13akr2005-08-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* *** empty log message ***suke2005-08-120-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (WIN32OLE_EVENT#on_event): should setsuke2005-08-122-8/+81
| | | | | | | only one event handler. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (f_larglist): allow optional arguments even whenmatz2005-08-126-40/+73
| | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@8971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_equal, fix_cmp, fix_gt, fix_ge, fix_lt, fix_le):matz2005-08-123-51/+53
| | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@8970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-12matz2005-08-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c: keep holding string after closed.nobu2005-08-112-10/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added ML number. [ruby-list:41018]kou2005-08-111-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/1.0.rb (RSS::RDF::Channel#setup_maker_attributes):kou2005-08-116-13/+87
| | | | | | | | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@8966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2005-08-11nobu2005-08-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e