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

4241 Коммитов

Автор SHA1 Сообщение Дата
nobu 48b24fe536 * parse.y (string_content): reset lexical states at the beginning of
string contents.  [ruby-list:39061]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-22 07:21:40 +00:00
matz 002517aba8 * parse.y (newline_node): do not use NODE_NEWLINE node anymore,
use NEWLINE flag instead.

* ext/socket/socket.c (sock_gethostbyname): returns host if
  ai_canonname is NULL. (ruby-bugs PR#1243)

* parse.y (block_append): update nd_end for "real" head node.
  [ruby-list:39058]

* marshal.c (w_class): should not dump singleton class.
  [ruby-dev:22631]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 16:47:23 +00:00
siena d0149b9e21 * missing/os2.c (chdir, getcwd):
use _chdir2 and _getcwd2 supporting multiple drives in OS/2 with EMX.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 16:23:07 +00:00
eban a9f5c042ef 2004-01-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 16:11:45 +00:00
siena 357d0ffc29 * configure.in: check availability of link(). [ruby-dev:22237]
* file.c (rb_file_s_link): raise an exception when link() is unavailable.
* missing/os2.c (link): removed. File#link isn't supported.
* bcc32/Makefile.sub: define HAVE_LINK to enable link(). [ruby-dev:22241]
* win32/Makefile.sub: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 16:09:40 +00:00
siena 6ccba894a5 * ChangeLog: typo: RUBY_MBCHAR_MAX was RUBY_MBCHAR_MAXSIZE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 15:30:22 +00:00
siena fc69b2a7f6 * defines.h: define RUBY_MBCHAR_MAX instead of MB_CUR_MAX.
* dir.c (Next, emx_mblen): use RUBY_MBCHAR_MAX for mblen().
* file.c (CharNext): ditto.
* ruby.c (translate_char): ditto.
* util.c (__crt0_glob_function): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 15:26:11 +00:00
dave cb3cf6cfea :nodoc: the "Deprecated" module
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 15:11:02 +00:00
eban 72592e35ae * configure.in: Interix(SFU) support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 14:53:31 +00:00
seki 27e4c2fc27 remove O_NONBLOCK
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 14:06:21 +00:00
seki 6010ca65fa typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 14:05:09 +00:00
nobu 58145e6d93 * ext/digest/md5/extconf.rb: have_library appends found library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 09:05:28 +00:00
shugo a2f60e923e * lib/net/imap.rb (envelope): allow NIL.
* lib/net/imap.rb (body): ditto.
* lib/net/imap.rb (number): ditto.
* lib/net/imap.rb (ensure_nz_number): show a detailed error
message.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 09:01:23 +00:00
eban 2cff4c0126 2004-01-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 07:46:59 +00:00
nobu f3e0252e5e * lib/mkmf.rb (merge_libs): squeeze successive same libraries.
[ruby-dev:22652]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 07:44:24 +00:00
nobu b89f4520e5 * lib/base64.rb: enclosed in a module. [ruby-core:02285]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 07:10:41 +00:00
nobu ce164c2a30 * ext/digest/rmd160/extconf.rb: have_library appends found library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 07:01:43 +00:00
dave fb24225154 Tidy benchmark.rb documentation a tad
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-20 06:20:59 +00:00
gotoyuzo 91482546b5 * ext/openssl/extconf.rb: should check <openssl/conf_api.h> instead
of OPENSSL_VERSION_NUMBER. [ruby-list:39056]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-20 05:49:14 +00:00
dave 66186dd081 Document base64
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-20 05:44:56 +00:00
dave e10e26d329 RDoc abbrev
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-20 05:27:23 +00:00
dave f8c7b41165 Document lib/English. Add top-level aliases to rdoc html output
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-20 05:04:31 +00:00
nobu c354e35d79 * test/ruby/test_marshal.rb (MarshalTestLib::test_exception): test
for [ruby-dev:22604].

* test/ruby/test_marshal.rb (MarshalTestLibtest_singleton): test
  for [ruby-dev:22588].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 19:42:03 +00:00
eban 2bedaf0198 2004-01-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 18:00:15 +00:00
gotoyuzo 0ecdbb65a8 * ext/openssl/extconf.rb: add check for OpenSSL version.
[ruby-list:39054]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 17:55:18 +00:00
nobu 108baac00a * error.c (name_err_mesg_to_str): inverted condition for result of
inspection.  [ruby-dev:22628]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 14:56:24 +00:00
eban 939e7877d3 * lib/rdoc/parsers/parse_c.rb: escape '{' and '}' to avoid warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 14:05:55 +00:00
eban 0ade226f58 * sample/exyacc.rb: escape '}' to avoid warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 13:27:38 +00:00
nobu 224021104d * ext/digest/defs.h, win32/win3.c, win32/win32.h, file.c: remove
useless casts for Borland C.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 12:28:14 +00:00
matz 22c005569b * variable.c (rb_set_class_path): do not set path if
* lib/cgi.rb (CGI::QueryExtension): give extended string, not a
  delegater object.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 09:19:31 +00:00
nobu 8e877fc517 * error.c (NameError::message): internal use only.
* eval.c (rb_method_missing): use hidden constant.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 08:39:43 +00:00
akira 8ccba1d12f * test/ruby/test_time.rb: added tests for [ruby-dev:22614] and
[ruby-dev:22617].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 07:32:47 +00:00
usa c24cfc6b43 2004-01-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 04:11:40 +00:00
usa fe5b6676b1 * ext/extmk.rb, win32/Makefile.sub, win32/configure.bat,
win32/setup.mak: --with-static-linked-ext support on mswin32.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 04:10:53 +00:00
tadf 5bcd6bd99f synchronized with date2 3.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 22:14:02 +00:00
tadf 720a23df0a synchronized with date2 3.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 22:01:12 +00:00
nobu 91c798b670 * ext/iconv/charset_alias.rb: prefer us_EN locale encodings or
former.  [ruby-dev:22609]

* ext/iconv/iconv.c (iconv_create): raise InvalidEncoding
  exception when EINVAL.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 14:59:49 +00:00
nobu a7b1a2eced * class.c, error.c, file.c, io.c, numeric.c, object.c, re.c, struct.c,
time.c: marked init_copy functions nodoc.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 14:16:47 +00:00
eban 736668f2b0 * ruby.c: use translate_char() on Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 11:49:46 +00:00
nahi 47d0703ee5 * failed to add in the previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 11:13:11 +00:00
nahi 290034fde8 * lib/soap/wsdlDriver.rb, lib/wsdl/soap/operation.rb: add support of
"parts" attribute of soap:body element in WSDL.

        * lib/wsdl/xmlSchema/schema.rb: friendly warning message for
          simpleType element which is not supported for now.

        * test/wsdl/soap/{soapbodyparts.wsdl,test_soapbodyparts.wsdl}: new
          files.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 11:10:18 +00:00
nobu 11685dc1ee * time.c (time_overflow_p): should return results. [ruby-dev:22614]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 07:46:51 +00:00
siena 058fd78390 retry committing ChangeLog and time.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 04:11:09 +00:00
siena 4e880080a7 * test/ruby/test_time.rb: new test case to test Time#[+-].
* time.c (time_plus, time_minus): fix RangeError for a negative
  argument in environments whose time_t is unsigned. [ruby-dev:22608]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 04:00:00 +00:00
eban 8e8cce4951 2004-01-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-17 17:39:08 +00:00
eban 14dc9c3508 * defines.h (_WIN32): undef _WIN32 on Cygwin before defining DOSISH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-17 17:39:05 +00:00
nobu 13fa93f777 * marshal.c (class2path): check anonymous class/module before
checking referable, and allow singleton classes.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-17 15:23:59 +00:00
nobu 292b3ecbb4 * error.c (NameError::Message): new class for lazy evaluation of
message to ensure replaced before marshalling.  [ruby-dev:22604]

* eval.c (rb_method_missing): use NameError::Message.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-17 14:58:57 +00:00
usa f9c2dcec4e check ArgumentError by Time.at(-1) instead of by test itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-17 13:13:42 +00:00
nobu 0a3a46b45e 2004-01-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-17 13:08:57 +00:00