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

6073 Коммитов

Автор SHA1 Сообщение Дата
nobu 04f8cbbe78 * 2005-02-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-19 02:22:57 +00:00
nobu 9648e68d88 * ext/extmk.rb (extract_makefile): remove no longer existing installed
files.

* lib/mkmf.rb (install_dirs): return installation directory list.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-19 01:43:58 +00:00
ocean c1ed63a4c4 * ext/bigdecimal/sample/linear.rb: resolve LoadError.
* ext/bigdecimal/sample/nlsolve.rb: ditto.

* ext/bigdecimal/lib/bigdecimal/nlsolve.rb: removed because this file
  is sample script and same file exists in ext/bigdecimal/sample.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-18 17:31:14 +00:00
ocean 64fbfe54fb added ML number
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-18 16:46:09 +00:00
ocean ce5140ad2a * bigdecimal/newton.rb: resolve LoadError.
* bigdecimal/nlsolve.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-18 16:42:43 +00:00
kosako 1034d1407e remove GNU regex API
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-17 14:43:38 +00:00
nobu 02b8414d98 * eval.c (rb_thread_start_1): initialize newly pushed frame.
fixed: [ruby-dev:25707]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-17 14:29:20 +00:00
ocean 52dca16384 * lib/drb/drb.rb (DRbServer.default_safe_level): fix typo.
* test/digest/test_digest.rb: separate test case for each algorithms.
  (Thanks nobu) [ruby-dev:25412]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-17 11:16:57 +00:00
ntalbott f2d29b01cb * lib/test/unit/collector.rb (collect_file): now deletes paths added
to $LOAD_PATH instead of restoring it verbatim.

	* lib/test/unit/autorunner.rb (AutoRunner.run): fixed so that
	  'ruby -rtest/unit -rtest1 -rtest2 -e0' will use the objectspace
	  collector again. Also tried to simplify the calling convention.

	* test/runner.rb: adjusted for new AutoRunner semantics.

	* lib/test/unit.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-17 04:50:49 +00:00
akr 966332ebed fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-17 00:01:11 +00:00
eban 580b57cbf9 * 2005-02-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-16 15:34:59 +00:00
seki 8fd62dccb2 update unittest, port from v1.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-16 15:30:52 +00:00
nobu 482abfc851 * test/openssl/ssl_server.rb: get rid of race condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-16 14:58:25 +00:00
nobu 1fdf66ad67 * eval.c (rb_thread_start_1): outer block variables wasn't linked to
threads.  fixed: [ruby-dev:25700]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-16 14:54:22 +00:00
gotoyuzo 2048950e16 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::Nonblock#initialize):
native win32 platform doesn't have F_GETFL.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-16 06:14:25 +00:00
usa ee51586eda * 2005-02-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-16 00:45:27 +00:00
gotoyuzo a579d8bf68 * ext/openssl/ossl_ssl.c (ossl_ssl_read, ossl_ssl_write): should
call rb_sys_fail instead of rasing SSLError if SSL_ERROR_SYSCALL
  occured.

* ext/openssl/lib/openssl/buffering.rb (Buffering#fill_rbuff):
  should rescue Errno::EAGAIN.

* ext/openssl/lib/openssl/buffering.rb (Buffering#each): fix typo.
  suggested by Brian Ollenberger.

* ext/openssl/lib/openssl/ssl.rb: set non-blocking flag to the
  underlying IO.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-15 17:50:47 +00:00
kou e65affb360 * lib/rss/parser.rb (RSS::ListenerMixin::tag_end):
fixed invalid namespace handling bug.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-14 15:01:05 +00:00
gotoyuzo 1883e41c1b * ext/openssl/lib/openssl/ssl.rb
(OpenSSL::SSL::SSLSocket#post_connection_check): new method.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-14 04:14:39 +00:00
eban 610131d7b9 * 2005-02-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-13 15:37:31 +00:00
seki 2681be1eed add safe_leve, default_safe_level ([druby-ja:120])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-13 15:13:54 +00:00
kou 1a22e46d60 * lib/rss/dublincore.rb (RSS::DublicCoreModel#date{,=}): added
convenient methods.
* lib/rss/0.9.rb (RSS::Rss::Channel#date{,=}): ditto.
* lib/rss/2.0.rb (RSS::Rss::Channel::Item#date{,=}): ditto.
* test/rss/: added tests for the convenient methods.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-13 14:21:21 +00:00
nobu 8b8973761c * eval.c (rb_thread_start_0): restore prot_tag before rewinding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-13 14:12:55 +00:00
gotoyuzo 9c560ca864 * lib/webrick/cgi.rb (WEBrick::CGI.start): should set reason-phrase
to the value of status header field. ([ruby-dev:40617])


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-13 08:00:35 +00:00
eban 08e340fb75 * 2005-02-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-13 03:57:37 +00:00
ksaito ad24e23548 * regparse.c (type_cclass_hash): (Thanks Nobu) fixed overrun. ([ruby-dev:25676]).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-13 02:58:58 +00:00
ksaito 7049aeb893 * oniggnu.h, oniguruma.h, regcomp.c, st.c: imported Oni Guruma 3.6.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-13 01:54:52 +00:00
ksaito 2e3d3bb916 This commit was generated by cvs2svn to compensate for changes in r7956,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-13 01:39:06 +00:00
seki d1d0c52a1e make module_function
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-12 16:34:45 +00:00
nobu a46bb48bcb * eval.c (TAG_THREAD): to start a new thread.
* eval.c (ruby_init, ruby_options, ruby_cleanup, rb_protect,
  rb_load_protect, rb_thread_start_0): make thread anchor.

* eval.c (proc_alloc): clone proc object if klass is not Proc or
  created in different thread.

* eval.c (rb_block_pass): call a function with a block.  [new]

* eval.c (rb_f_throw): raise NameError in main thread.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-12 13:17:18 +00:00
akr 4c1d7f6d8f * lib/open-uri.rb (OpenURI.open_loop): send authentication only for
the URI directly specified.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-12 08:40:23 +00:00
nobu 4413bd95c6 * random.c (rand_init): suppress warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-12 06:07:47 +00:00
eban 1aacb7a948 * 2005-02-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-12 05:45:27 +00:00
akr f1bd353b58 document updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-12 05:38:44 +00:00
akr 203b7c50f2 * lib/open-uri.rb (OpenURI.open_http): reject userinfo explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-12 05:12:56 +00:00
akr c34e899e4f * lib/open-uri.rb: support https if the platform provides CA
certificates.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-12 05:01:18 +00:00
eban ac0478b274 * 2005-02-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-11 09:36:21 +00:00
gotoyuzo 6bfc1f3900 * ext/openss/ossl_x509store.c (ossl_x509store_set_default_paths):
new method OpenSSL::X509::Store#set_default_paths.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-11 08:42:57 +00:00
akr db6d5b15be * lib/open-uri.rb (URI::HTTP#proxy_open): new option supported:
:http_basic_authentication.
  suggested by Kent Sibilev.  [ruby-core:4392]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-11 02:47:11 +00:00
nobu 6ef3fe6349 * win32/win32.c (rb_w32_fdopen): suppress warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-10 12:18:16 +00:00
usa a32bc08d36 * configure.in, win32/Makefile.sub (LIBS, COMMON_HEADERS): use
winsock2 on mswin32/mingw.

* ext/socket/extconf.rb: ditto.

* win32/win32.c (StartSockets): ditto.

* win32/win32.h: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-10 04:55:34 +00:00
usa 0de2877326 * lib/mkmf.rb (create_makefile): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-10 03:58:50 +00:00
nobu bd1541667c * 2005-02-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-10 03:24:03 +00:00
nobu 0bb45af103 * ext/extmk.rb (extract_makefile): default to true if not compiled
previously.

* ext/extmk.rb (extmake): create dummy makefile if extconf failed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-10 03:09:27 +00:00
nobu 80f4330973 * bcc32/Makefile.sub (COMMON_LIBS): add libraries included in
import32.lib.

* lib/mkmf.rb (create_makefile): restrict prefixing with srcdir to
  rule lines, add search path to implicit rules, and set Borland make
  special macros for search path.

* win32/win32.c, win32/win32.h (read): aboid a BCC runtime bug.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-10 03:07:24 +00:00
nobu 6400a671b8 * win32/win32.c (init_stdhandle): assign standard file handles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-10 03:06:43 +00:00
ttate 8c5bd041b6 modified some test scripts for [ruby-dev:25661].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-09 09:42:40 +00:00
usa 816fa8d14d * ext/socket/socket.c (wait_connectable): fixed wrong condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-09 07:34:56 +00:00
usa bc983c9f3e * eval.c (scope_dup): add volatile not to optimize tbl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-09 05:49:31 +00:00
usa ce74e58366 * 2005-02-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-09 01:04:43 +00:00