Commit graph

7022 commits

Author SHA1 Message Date
eban
898220d87e 2004-07-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-01 02:21:43 +00:00
gotoyuzo
fbc87479bb * ext/openssl/ossl_asn1.c (ossl_i2d_ASN1_TYPE, ossl_ASN1_TYPE_free):
workaround for the versions earlier than OpenSSL-0.9.7.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-30 19:09:03 +00:00
gotoyuzo
7922fdd795 * ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize): should create
empty pkey object if no argument is passed. [ruby-talk:103328]

* ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto.

* ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize): ditto.

* ext/openssl/ossl_pkey_dh.c: add new methods: OpenSSL::PKey::DH#p,
  OpenSSL::PKey::DH#p=, OpenSSL::PKey::DH#g, OpenSSL::PKey::DH#g=,
  OpenSSL::PKey::DH#pub_key, OpenSSL::PKey::DH#pub_key=,
  OpenSSL::PKey::DH#priv_key and OpenSSL::PKey::DH#priv_key=.

* ext/openssl/ossl_pkey_dsa.c: add new methods: OpenSSL::PKey::DSA#p,
  OpenSSL::PKey::DSA#p=, OpenSSL::PKey::DSA#q, OpenSSL::PKey::DSA#q=,
  OpenSSL::PKey::DSA#g, OpenSSL::PKey::DSA#g=,
  OpenSSL::PKey::DSA#pub_key, OpenSSL::PKey::DSA#pub_key=,
  OpenSSL::PKey::DSA#priv_key and OpenSSL::PKey::DSA#priv_key=.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-30 18:34:59 +00:00
gotoyuzo
907911feda * ext/openssl/ossl_ssl.c (ossl_ssl_read): take optional second argument
to specify a string to be written.

* ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#read):
  take optional second argument to specify a string to be written.

* ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#gets):
  refine regexp for end-of-line.

* ext/opnessl/lib/openssl/ssl.rb
  (OpenSSL::SSL::SocketForwarder#listen): fix typo.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-30 18:21:39 +00:00
nobu
8f77ea14b4 * parse.y (primary): should not be NULL. [ruby-core:03098]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-30 02:39:38 +00:00
eban
d8383cf938 2004-06-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-30 02:05:48 +00:00
why
2970a70a80 * ext/syck/rubyext.c (syck_emitter_new): set buffer after
Data_Wrap_Struct to avoid possible GC. [ruby-talk:104835]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-29 17:41:26 +00:00
eban
759ab333e3 2004-06-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-29 03:37:39 +00:00
nobu
4c20725d55 * eval.c (rb_eval_cmd, rb_thread_trap_eval): restore safe level.
* gc.c (define_final, run_final): preserve and restore safe level for
  finalizers.  [ruby-core:03058]

* signal.c (signal_exec, rb_trap_exit, trap): preserve and restore
  safe level for signal handlers.  [ruby-dev:23829]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-29 01:31:37 +00:00
nobu
478ac79395 * ChangeLog: the patch posted by Jeff Mitchell.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-28 14:08:03 +00:00
nobu
44774c3557 * configure.in, lib/mkmf.rb (LIBPATHFLAG): use double quotes due to
DOSISH compilers.  [ruby-core:03107]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-28 05:58:13 +00:00
eban
5ed2edb74a 2004-06-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-27 15:43:28 +00:00
seki
ec2e12ee2c using "DRb.thread.join" instead of "gets"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-27 15:36:32 +00:00
kou
278b27a1a9 * sample/rss/tdiary_plugin/rss-recent.rb: supported Hiki.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-27 13:40:47 +00:00
eban
df366d97db 2004-06-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-27 10:40:12 +00:00
kou
4e7c55d814 * {lib,sample,test}/rss: added RSS Parser. [ruby-dev:23780]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-27 03:23:29 +00:00
(no author)
d26fe5ce2e This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-27 03:23:29 +00:00
nobu
4f65f3ab7f 2004-06-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-26 06:39:32 +00:00
nobu
61377cbe69 * configure.in (TRY_LINK): export.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-26 03:47:10 +00:00
nobu
86837c9bf3 * lib/mkmf.rb (libpathflag): should not quote here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-26 03:43:26 +00:00
nobu
b70ee175ac * lib/mkmf.rb (libpathflag, dir_config): quote directory names if
necessary.  [ruby-talk:104505]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-26 02:07:40 +00:00
nobu
af1d778520 * configure.in (aix): -b must come at the start of the command line,
and -e must not appear while testing libraries.  [ruby-talk:104501]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-26 02:05:54 +00:00
akr
4be85c0ede add an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-25 22:59:01 +00:00
nobu
c5fe339b55 * ext/iconv/extconf.rb: check stricter. [ruby-talk:104501]
* ext/iconv/extconf.rb: include iconv.h for libiconv.  [ruby-dev:22715]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-25 06:33:26 +00:00
matz
68a117d8e2 * eval.c (rb_thread_atfork): remove "fork terminates thread"
warning.  [ruby-dev:

* object.c (rb_obj_clone): backport FL_FINALIZE patch from 1.9.
  [ruby-core:02786][ruby-core:03067]

* ext/socket/socket.c (sock_sockaddr): Socket#gethostbyname()
  should give us packed address, not struct sockaddr.
  [ruby-core:03053]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-24 23:31:29 +00:00
usa
7d5188a282 2004-06-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-24 17:05:27 +00:00
usa
4211b12902 * {bcc32,win32,wince}/setup.mak: remove RUBY_EXTERN lines when
including version.h. [ruby-talk:104456] (backported from HEAD)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-24 17:04:58 +00:00
nobu
2a06d5ddea * io.c (rb_io_fread): return already read data when system call is
interrupted.  [ruby-talk:97206]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-24 05:23:44 +00:00
eban
1a22d14964 2004-06-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-24 01:38:24 +00:00
shugo
3fbeb30843 * version.h: added declarations of ruby_version,
ruby_release_date, ruby_platform.
  (backported from HEAD)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23 16:33:51 +00:00
dave
a4b3c35cfd Work around OSX strangneness with recvfrom on connection-oriented sockets
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23 13:23:55 +00:00
matz
a72f48f4d6 * ext/zlib/zlib.c: 0xff should not be shifted by 24 bits on
64 bit platforms.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-23 09:28:28 +00:00
dave
256be3c09c Fixed parsing of %r{} when generating source popup
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 16:47:31 +00:00
eban
d745e584e9 2004-06-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 15:23:14 +00:00
ocean
4de56c7d60 * ext/win32ole/win32ole.c (ole_hresult2msg): remove trailing
CR and LF. (doesn't depend on CR+LF) [ruby-dev:23694]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 15:21:03 +00:00
nobu
3398183231 * io.c (rb_io_initialize): should check fcntl result. [ruby-dev:23742]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 15:00:36 +00:00
suke
1dcf2fe854 * ext/win32ole/win32ole.c (OLE_FREE): should not call CoFreeUnuse-
dLibraries().

    * ext/win32ole/win32ole.c (ole_event_free): ditto.

    * ext/win32ole/win32ole.c (ole_hresult2msg): truncate error message
      before CR.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 12:28:07 +00:00
eban
1752ed3743 2004-06-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 07:58:59 +00:00
shugo
33c2096c5e * lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.
Thanks, Rutger Nijlunsing.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-22 07:47:36 +00:00
usa
9782acebe5 2004-06-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-21 01:30:27 +00:00
usa
dda47e42a8 * win32/win32.c (rb_w32_opendir): use FindFirstFile()/FindNextFile()/
FindClose() instead of _findfirst()/_findnext()/_findclose().
  merge from HEAD.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-21 01:29:49 +00:00
nobu
6c55c4eefd 2004-06-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-19 04:28:32 +00:00
nobu
6b7e83a4c8 * eval.c (method_call): allow changing $SAFE. [ruby-dev:23713]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-19 04:24:34 +00:00
nobu
37d443fd54 * eval.c (eval): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-18 14:52:07 +00:00
nobu
4f360c5e49 2004-06-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-18 14:16:32 +00:00
nobu
5d14e8c830 * eval.c (proc_save_safe_level, rb_set_safe_level, safe_setter): limit
safe level.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-18 14:12:42 +00:00
matz
36eb460780 * eval.c (rb_mod_freeze): prepare string representation before
freezing. [ruby-talk:103646]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-16 14:21:34 +00:00
nobu
f5b3969eda * test/ruby/test_array.rb: use local variables instead of a global
variable.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-16 09:20:36 +00:00
eban
e8cbc69fab 2004-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-16 07:05:37 +00:00
nobu
3e0723af69 * object.c (rb_mod_le): singleton class inherits Class rather than its
object's class.  [ruby-dev:23690]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-16 07:04:48 +00:00