kou
6b68105ab2
* lib/mkmf.rb (mkmf_failed): fixed typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-22 15:39:40 +00:00
nobu
9001cbdfad
* eval.c (rb_thread_start_0): update curr_thread before raising
...
TAG_THREAD. [ruby-dev:25712]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-22 14:57:43 +00:00
nobu
984f9a0df1
* configure.in, lib/mkmf.rb: use simple commands if available.
...
* mkconfig.rb: remove autoconf internal variables from rbconfig.rb.
* lib/mkmf.rb (create_makefile): substitute implicit rules in depend
file.
* {bcc32,win32,wince}/Makefile.sub (COMPILE_RULES, RULE_SUBST):
include $(topdir) and $(hdrdir) to search path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-22 14:52:59 +00:00
nobu
21189400d6
* ext/syck/rubyext.c: get rid of warnings caused by a bug of VC.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-22 14:51:53 +00:00
nobu
6f6b9a9b54
* signal.c (ruby_signal, ruby_nativethread_signal): must be valid as
...
expressions, not only statements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-22 14:50:33 +00:00
akr
6b80542ead
typo fix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-22 09:15:30 +00:00
nobu
8c18a183c9
* parse.y (parser_yylex): identfier after dot must not be a variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-21 22:25:28 +00:00
nagai
7e70ac99de
* signal.c: Standard signal handlers ignore signals on non-Ruby native
...
threads. When a handler is entried with ruby_signal() (like as the
standard signal handlers), the handler for the signal is marked as
it cannot accept non-Ruby native threads. If a handler can treat all
signals on all native threads, please use ruby_nativethread_signal()
to entry it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-21 09:33:34 +00:00
akr
b36f9a090d
* lib/open-uri.rb (URI::FTP#buffer_open): access mechanism
...
re-implemented according to RFC 1738.
reported by Guillaume Marcais. [ruby-talk:131650]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-19 15:53:43 +00:00
seki
5c293c10e1
(DRbObject#respond_to?) take two arguments. [ruby-dev:25722]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-19 10:00:33 +00:00
akr
614b7a2d32
* lib/open-uri.rb: call OpenSSL::SSL::SSLSocket#post_connection_check
...
after connection is made.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-19 04:55:16 +00:00
nobu
74240f58c3
* lib/mkmf.rb (create_makefile): reverted wrongly removed lines.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-19 04:31:36 +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
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
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
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
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
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
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
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
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
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
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
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
b0a71179ea
* ext/tk/make-tkutil, ext/tk/tkutil/subconf.rb: no longer used.
...
* ext/tk/tkutil/extconf.rb: need to compile tkutil. [ruby-dev:25607]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-09 01:03:41 +00:00
seki
3d7177422d
reject :instance_eval, :class_eval, :module_eval [druby-ja:117]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-08 14:51:06 +00:00
akr
2c685f1681
typo fix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-02-08 14:05:06 +00:00