Граф коммитов

8922 Коммитов

Автор SHA1 Сообщение Дата
usa 45b0d65900 * thread.c (do_select): sorry, typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-09 09:30:50 +00:00
usa 1486959550 * thread.c (do_select): use ubf_select() as UBF on windows.
* win32/win32.c (do_select): shouldn't call catch_interrupt() here.
	  fixed: [ruby-dev:30674], reported by wanabe.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-09 09:29:45 +00:00
shugo 6df7c0c721 * lib/net/imap.rb (disconnect): call shutdown for
SSLSocket. Thanks, Technorama Ltd.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-09 00:28:35 +00:00
nobu e12090b9b2 * compile.c (defined_expr): test arguments of NODE_CALL and so
on as well as NODE_ATTRASGN.  [ruby-core:10886]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-08 04:27:41 +00:00
usa 31088109b7 * ext/openssl/ossl_pkey_ec.c (ossl_ec_key_get_group): get rid of
warning. we are aware of it.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-06 01:58:01 +00:00
usa 406389a9f3 * 2007-04-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-06 01:29:48 +00:00
technorama dcc5bd8bcf * ext/openssl/ossl_{bn,x509{attr,cert,name,store}}.c:
Add documentation.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-05 19:03:28 +00:00
nobu 13513057c5 * compile.h (ADD_CATCH_ENTRY): removed temporary variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-05 09:00:52 +00:00
nobu 22e4a7703f * compile.c (defined_expr): support for assignment.
[ruby-core:10867]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-05 08:58:46 +00:00
nobu a39ab5220d * ext/openssl/ossl_{pkey_ec,ssl_session,pkcs5}.c: set eol-style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-05 06:58:32 +00:00
usa 22405dad92 * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_alloc): should
return value.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-05 06:13:37 +00:00
technorama 953e8aca2b * ext/openssl/ossl_pkcs5.c: New module.
* ext/openssl/ossl_{cipher,digest,pkcs7,pkcs12}.c:
  Remove redundant module namespace.

* ext/openssl/lib/openssl/{cipher,digest}.rb
  Add backwards compatibile classes for rearranged classes.

* ext/openssl/ossl_{pkcs7,pkcs12}.c: Add documentation.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-05 05:59:22 +00:00
nobu f1796fdb2c * error.c (rb_notimplement), io.c (pipe_open): removed definite
articles and UNIX manual section from messages.  [ruby-dev:30690]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-04 15:42:16 +00:00
nobu 8259e4aa9a * io.c (pipe_open): refined the message of NotImplementedError.
[ruby-dev:30685]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-04 08:08:46 +00:00
usa 7f8eb55d6c * error.c (rb_notimplement): should show the name of this func,
not callee.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-04 03:29:31 +00:00
nobu 1f9d0992ab * io.c (pipe_open): raise NotImplementedError for command "-" on
platforms where fork(2) is not available.  [ruby-dev:30681]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-04 01:17:34 +00:00
nobu 9c64c3ed5c * io.c (popen_exec): should not close close-on-exec FDs.
[ruby-dev:30679]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-04 01:00:49 +00:00
technorama 9ce7494cda * ext/openssl/ossl_ssl.c: Add documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-03 18:29:30 +00:00
nobu 013baa2b43 * ChangeLog: fixed timestamps from commit log.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-03 07:30:16 +00:00
nobu 043479247c * ext/openssl/extconf.rb: check for functions added in 1.9.
* ext/openssl/ruby_missing.h: check per features instead by
  checking version code.  [ruby-core:10845]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-03 07:21:53 +00:00
technorama 8b95ee24de * ext/openssl/ossl_bn.c: More documentation.
* ext/openssl/lib/ossl_{pkey,pkey_ec}.[ch]: Add elliptic curves.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-03 07:02:44 +00:00
usa eed46ac633 * ext/socket/socket.c (s_recv, s_recvfrom): some systems (such as
windows) doesn't set fromlen if the socket is connection-oriented.
	  reported by Bram Whillock in [ruby-core:10512] [ruby-Bugs#9061]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-03 06:50:41 +00:00
usa 9a41f064fa * ext/openssl/ruby_missing.h: need to include version.h to check
RUBY_VERSION_CODE.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-03 00:37:13 +00:00
usa 7fa11815f8 * 2007-04-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-03 00:14:28 +00:00
technorama a05e89ca65 * ext/openssl/ossl_{ssl.[ch],ssl_session.c}},
ext/openssl/lib/openssl/lib/openssl/ssl.rb:
  New SSL::Session class.  Add session cb's, getter/setters,
  config, and statistics methods.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-02 22:10:12 +00:00
technorama 3930d3b36b * ext/openssl/{ossl.[ch],ossl_pkey.c} Add documentation.
* ext/openssl/ossl_hmac.c Add reset method.

* ext/openssl/ossl_cipher.c (Cipher#update) Take additional buffer argument.

* ext/openssl/{ossl_bio.c,ossl_ssl.c,ruby_missing.h} compatibility with 1.8.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-02 19:00:23 +00:00
nobu 790999028d * insns.def (throw), thread.c, yarvcore.h (throwed_errinfo): fixed
typo.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-02 12:54:42 +00:00
usa 528e8517b8 * win32/win32.c (rb_w32_cmdvector): fixed buffer size. reported by
wanabe [ruby-dev:30672]

	* win32/win32.c (init_env, insert, rb_w32_get_environ): use strdup
	  instead of malloc + strlcpy. suggested by nobu [ruby-dev:30673]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-30 02:50:58 +00:00
knu a2dba5be2d Add an entry for the last commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-30 02:08:31 +00:00
eban d46b261599 * 2007-03-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-29 17:32:56 +00:00
technorama 41fa6056ba * ext/openssl/ossl_{bn,cipher,digest,hmac,rand,pkey_{dh,dsa,rsa}}.c: Add Documentation for various methods.
* ext/openssl/lib/openssl/cipher.rb: Ditto

* ext/openssl/ossl_bn.c: add lshift! and rshift! methods.

* ext/openssl/ossl_digest.c: GetDigestPtr() also accept a string.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-29 17:29:03 +00:00
usa 240f1279aa * win32/win32.c (init_env, insert, cmdglob, rb_w32_cmdvector,
rb_w32_opendir, rb_w32_readdir, rb_w32_strerror, rb_w32_stati64,
	  rb_w32_get_environ): use strlcpy() and strlcat().

	* win32/win32.c (rb_w32_opendir): use realloc() instead of xrealloc().

	* win32/win32.c (rb_w32_closedir): check NULL before free pointers.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-23 02:30:53 +00:00
keiju 69b8b645b5 * lib/shell: commit miss(support for ruby 1.9(YARV) thread model).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-22 15:25:58 +00:00
usa 0ce0d4a596 * win32/Makefile.sub (LIBS): remove an unnecessary library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-22 04:32:55 +00:00
usa fa36cffb3e * 2007-03-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-22 01:28:41 +00:00
usa 4be1dfb9fa * test/ruby/test_bignum.rb (test_to_s): add tests for Bignum#to_s.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-22 01:28:23 +00:00
usa 0d16b614bf * marshal.c (w_short, w_long, w_object): get rid of VC++ warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-21 11:38:42 +00:00
ko1 bb7a2d40ff * compile.c, parse.y, eval.c, intern.h, iseq.c, lex.c, node.h,
proc.c, vm.c, vm_macro.def, vm_macro.def, yarvcore.c, yarvcore.h,
  debug.c, debug.h: merge half-baked-1.9 changes.  The biggest change
  is to change node structure around NODE_SCOPE, NODE_ARGS.  Every
  scope (method/class/block) has own NODE_SCOPE node and NODE_ARGS
  represents more details of arguments information.  I'll write a
  document about detail of node structure.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-21 11:15:15 +00:00
nobu df896a0560 * bignum.c (rb_big2str0): round up for the most significant digit.
[ruby-core:10686]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-21 08:04:11 +00:00
nobu e6e5674156 * ext/Win32API/lib/win32/sspi.rb: set properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-21 02:27:16 +00:00
ntalbott 25ac9f24fd * test/testunit/collector/test_dir.rb: Fixed test/unit tests that
were breaking due to Module#public_instance_methods now 
  returning a Symbol instead of a String.

* test/testunit/collector/test_objectspace.rb: Ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-20 23:29:49 +00:00
matz ed224698b5 * marshal.c (w_extended): erroneous check condition when dump
method is defined.  [ruby-core:10646]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-20 14:00:07 +00:00
keiju 42a81120e5 * lib/shell.rb, lib/shell: support for ruby 1.9(YARV) thread model.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-20 12:38:58 +00:00
shyouhei d9d838a45b * distruby.rb: Add zip generation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-20 07:37:34 +00:00
usa 315f27836f * eval.c: just minor changes (rdoc).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-20 07:35:57 +00:00
matz edec8b39f9 * eval.c (rb_f_callee_name): add __method__ and __callee__ again.
__callee__ need to rework to adopt YARV.  [ruby-core:10671]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-20 07:21:37 +00:00
knu 4503c8daeb * lib/set.rb: Revise rdoc.
* lib/set.rb (Set#freeze, Set#taint, Set#untaint): Implement
  Set#freeze, Set#taint, and Set#untaint; requested by: Dan
  Hutchings <dan AT moltoagitato.com> in [ruby-bugs:PR#9359].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-20 02:09:10 +00:00
nobu e1aec4aed8 * process.c (rb_fork): flush stdouts always before fork(2).
fixed: [ruby-dev:30612]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-20 00:12:51 +00:00
nobu 56f2d0aa98 * thread.c (thread_start_func_2): store the result of first_func
as well as first_proc.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-19 16:38:30 +00:00
nobu 08b53aa67a * thread.c (thread_create_core): block is not used if first_func
is given.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-03-19 16:02:05 +00:00