Commit graph

7022 commits

Author SHA1 Message Date
matz
ca61cc0b23 * string.c (rb_str_justify): [ruby-dev:25367]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-29 16:05:10 +00:00
eban
a8a99b0fe5 * ChangeLog: removed a unrelated entry 'Sat Oct 9 00:25:39 2004'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-29 15:57:26 +00:00
eban
902c66e70d * 2004-12-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-29 15:38:56 +00:00
eban
a5a96cab7c * ChangeLog: sorted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-29 15:38:16 +00:00
eban
5d1d2420c0 * 2004-12-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-29 14:38:43 +00:00
eban
6a07a8cbb5 * ChangeLog: remove junk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-29 14:38:32 +00:00
dave
9aa36880e1 Update kilmer template to use sections
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-29 02:16:33 +00:00
nobu
e953a00ab2 * string.c (rb_str_justify): create buffer string after argument type
conversion.  fixed: [ruby-dev:25341]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-28 13:32:28 +00:00
nobu
785569e800 * ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all static
variables.  fixed: [ruby-list:40445]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-28 06:42:33 +00:00
nobu
6d516d712a * ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): second byte is up to
0xfe.

* ext/nkf/lib/kconv.rb (Kconv#kconv): should handle UTF8 and UTF16
  properly.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-28 06:26:34 +00:00
nobu
aa16b1de7d * ext/zlib/zlib.c (rb_deflate_s_deflate, rb_inflate_s_inflate): ensure
freeing internal zstreams.  fixed: [ruby-dev:25309]

* ext/zlib/zlib.c (rb_deflate_init_copy): replace rb_deflate_clone.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-28 04:36:21 +00:00
usa
6707a6fef7 * 2004-12-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-28 03:28:25 +00:00
usa
3672fd0a44 * win32/Makefile.sub, win32/setup.mak (RDOCTARGET, install,
install-nodoc, install-doc): rdoc support for mswin32.

* win32/configure.bat (--enable-install-doc, --disable-install-doc):
  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-28 03:28:10 +00:00
nagai
23182e77ad * ext/tcltklib/tcltklib.c: fix SEGV bug when deleting Tk interp
* ext/tk/lib/multi-tk.rb: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-27 11:04:21 +00:00
gotoyuzo
16cdfdad28 * ext/openssl/ossl_x509name.c (Init_ossl_x509name): should use
rb_hash_new to get exactly a Hash. fix [ruby-dev:25325].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-27 07:55:56 +00:00
aamine
5b0f4afc71 * test/fileutils/fileasserts.rb: sync with HEAD.
* test/fileutils/test_fileutils.rb: ditto.
* test/fileutils/test_nowrite.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-27 06:48:08 +00:00
eban
004db1285a * 2004-12-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-27 06:31:12 +00:00
aamine
225a5f5282 * lib/fileutils.rb (mv): should raise error when moving a directory to the (empty) directory. [ruby-talk:124368] (backport from HEAD 1.48)
* lib/fileutils.rb (mv): wrongly did not overwrite file on Win32 platforms. (backport from HEAD 1.48)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-27 06:22:14 +00:00
matz
918bb50674 * stable version 1.8.2 released.
* lib/fileutils.rb (mkdir, mkdir_p): should ensure directory
  permission. (backportted from HEAD, 1.47)

* lib/fileutils.rb (traverse, remove_dir): untaint trasted
  objects. (backportted from HEAD, 1.46)

* io.c: cancel io_reopen() change on Dec. 24th.

* dln.c: use <dlfcn.h> for NetBSD.  [ruby-dev:25313]

* io.c (rb_f_select): [ruby-dev:25312]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-25 10:56:41 +00:00
aamine
ae434c6035 * lib/fileutils.rb (mkdir, mkdir_p): should ensure directory permission. (backportted from HEAD, 1.47)
* lib/fileutils.rb (traverse, remove_dir): untaint trasted objects. (backportted from HEAD, 1.46)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-24 19:24:35 +00:00
ocean
f4960beffe * bcc32/Makefile.sub: bcc32 should use RTL dll (backport from HEAD)
[ruby-dev:25306]

* win32/win32.[ch]: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-24 14:52:25 +00:00
nagai
3d35bc31f4 * ext/tk/lib/tk/image.rb: TkPhotoImage#cget bug fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-24 14:30:14 +00:00
ocean
b35a261a79 * win32/win32.[ch]: failed to compile on bcc32 (and probably wince)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-24 09:40:34 +00:00
nobu
2907bc0f81 * io.c (io_reopen, rb_io_reopen): prohibit to change access mode for
special IO ports.  [ruby-dev:25225]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 17:53:58 +00:00
nobu
7aabcb07df * ext/syck/rubyext.c (rb_syck_io_str_read): [ruby-core:03973]
* ext/syck/rubyext.c (syck_loader_transfer): check type conversion.

* ext/syck/rubyext.c (syck_parser_assign_io, rb_new_syck_node): duck
  typing.

* ext/syck/rubyext.c (syck_parser_s_alloc, syck_parser_initialize):
  allocation framework.

* ext/syck/rubyext.c (syck_emitter_s_alloc, syck_emitter_initialize):
  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 17:24:09 +00:00
eban
d694af939a * 2004-12-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 17:10:29 +00:00
nagai
6eb09c3d04 * ext/tk/lib/tkextlib/blt.rb: add BLT extension support
* ext/tk/lib/tkextlib/blt/*.rb: ditto
* ext/tk/lib/tkextlib/blt/tile/*.rb: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 16:23:30 +00:00
nobu
4b5138d888 * process.c (proc_setgroups): check if the argument lenght is
modified.  fixed: [ruby-dev:25285]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 14:36:53 +00:00
nagai
adfb4c3ba8 * ext/tcltklib/tcltklib.c: define TclTkLib::COMPILE_INFO and RELEASE_DATE
* ext/tcltklib/extconf.rb: ditto
* ext/tk/lib/tkutil.c: define Tk::RELEASE_DATE
* ext/tk/lib/tk.rb: define Tk::RELEASE_DATE


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 04:17:03 +00:00
nobu
b258364f30 * io.c (io_reopen): restore exact mode. fixed: [ruby-core:04003]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 00:38:39 +00:00
nobu
8bb2f7d56a * 2004-12-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 00:26:21 +00:00
nobu
44a49bc2e0 * io.c (io_reopen): readable flag was left unset for read-only IO.
fixed: [ruby-core:04003]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 00:19:03 +00:00
nobu
2e4c41f394 * configure.in (bsdi): use $(CC) for LDSHARED. fixed [ruby-dev:25270]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-22 15:16:55 +00:00
tadf
a04fbd6849 Removed duplicated entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-22 11:02:47 +00:00
matz
a63326b345 * lib/cgi/session.rb: [ruby-list:40444]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-22 08:06:12 +00:00
nobu
46213a37bb * io.c (rb_io_mode_modenum): replace O_ACCMODE with O_RDWR.
fixed: [ruby-dev:25273]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-22 02:15:35 +00:00
nobu
988a289230 * ext/dl/sym.c (rb_dlsym_initialize): extract internal pointers after
all argument conversion.  fixed: [ruby-dev:25271]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 23:35:11 +00:00
nahi
3b5540851a 2004-12-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 15:10:31 +00:00
nahi
3edeb852fe * lib/soap/*, test/soap/*, sample/soap/authheader/*: eval cleanup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 15:08:56 +00:00
gotoyuzo
3a664c4b40 * ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode,
ossl_asn1_decode_all): temporary value should be marked volatile.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 13:09:55 +00:00
gotoyuzo
a8fee4c9bb * ext/openssl/ossl_asn1.c (ossl_asn1_traverse, ossl_asn1_decode):
use rb_str_new4 to avoid SEGV. fix [ruby-dev:25261]

* test/openssl/test_asn1.rb: add tests for OpenSSL::ASN1.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 05:40:23 +00:00
(no author)
3ded769c39 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@7624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 05:40:23 +00:00
nobu
63699fc66a * io.c (io_reopen): keep duplex pipe in correct mode for exception
safeness.  fixed: [ruby-dev:25152]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 03:22:48 +00:00
nagai
519aed5fab * ext/tk/lib/tk/grid.rb: rescue bug of 'grid configure' on Tcl/Tk8.3-
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 03:12:40 +00:00
usa
32db8bfc1e * 2004-12-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 03:06:04 +00:00
matz
139973f602 * ext/openssl/ossl_asn1.c (ossl_asn1_traverse): [ruby-dev:25261]
* ext/openssl/ossl_asn1.c (ossl_asn1_decode): ditto.

* ext/openssl/ossl_asn1.c (ossl_asn1_decode_all): ditto.

* struct.c (make_struct): [ruby-dev:25249]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 02:54:17 +00:00
nahi
e8ed175fe0 * added files:
* lib/soap/mapping/wsdl*.rb
          * lib/wsdl/soap/element.rb
          * lib/wsdl/xmlSchema/simpleContent.rb

        * modified files:
          * lib/soap/*
          * lib/wsdl/*
          * lib/xsd/*
          * test/soap/*
          * test/wsdl/*
          * test/xsd/*
          * sample/soap/*
          * sample/sdl/*

        * summary
          * imported from the soap4r repository.  Version: 1.5.3-ruby1.8.2

          * added several XSD basetype support: nonPositiveInteger,
            negativeInteger, nonNegativeInteger, unsignedLong, unsignedInt,
            unsignedShort, unsignedByte, positiveInteger

          * HTTP client connection/send/receive timeout support.

          * HTTP client/server gzipped content encoding support.

          * improved WSDL schema definition support; still is far from
            complete, but is making step by step improovement.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 14:41:10 +00:00
(no author)
330a8e51c5 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@7616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 14:41:10 +00:00
akr
50651e957a updated
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 13:58:50 +00:00
akr
6afa7415c7 gcc noinline attribute is available since gcc-3.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 13:55:00 +00:00