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

5886 Коммитов

Автор SHA1 Сообщение Дата
nagai 0634c07610 * ext/tk/lib/tk/image.rb: TkPhotoImage#cget bug fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-24 14:30:14 +00:00
nobu 0ebc7c2bc9 * io.c (next_argv): reduce use of stdio.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 18:06:19 +00:00
nobu a892f803ef * 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/trunk@7649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 17:53:58 +00:00
nobu 4bdc2a662d * 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/trunk@7647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 17:23:02 +00:00
eban ca5b499241 * 2004-12-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 17:10:29 +00:00
nagai 532e34fcd2 * 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/trunk@7645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 16:23:30 +00:00
nobu d34a65bc40 * 2004-12-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 14:44:38 +00:00
nobu a68e68b227 * process.c (SIZEOF_RLIM_T): err if size of rlim_t is not set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 14:43:30 +00:00
nobu 4155f97bb0 * 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/trunk@7642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 14:36:53 +00:00
akr 4ff1561a8c * rubyio.h: rename FMODE_UNSEEKABLE to FMODE_DUPLEX.
* io.c (io_check_tty): extracted function to set FMODE_LINEBUF and
  FMODE_DUPLEX.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 10:12:35 +00:00
nagai 13fde676fe * 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/trunk@7640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-23 04:17:03 +00:00
nobu 7d6f48ccd2 * configure.in (bsdi): use $(CC) for LDSHARED. fixed [ruby-dev:25270]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-22 15:16:55 +00:00
nobu f68ab9c2d9 * 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/trunk@7632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-22 02:15:35 +00:00
nobu bf48e22869 * 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/trunk@7631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 23:35:11 +00:00
mneumann e537aaba91 * lib/xmlrpc/client.rb: use "" instead of "." if prefix argument is
nil in proxy methods. nil is default value.

* test/xmlrpc/test_webrick_server.rb, test/xmlrpc/webrick_testing.rb:
  use threads instead of forking. this should fix issue #1208
  (http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1208&group_id=426).
  removed testing of SSL enabled servlet as this hangs.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 16:23:33 +00:00
nahi d1be7e2cd3 2004-12-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 15:10:31 +00:00
nahi e426b93e84 * lib/soap/*, test/soap/*, sample/soap/authheader/*: eval cleanup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 15:08:56 +00:00
gotoyuzo 8180c1bd50 * ext/openssl/ossl_asn1.c (ossl_asn1_decode_all): use rb_str_new4
to avoid SEGV.

* 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/trunk@7626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 13:09:26 +00:00
gotoyuzo 21d42dc45b * 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/trunk@7623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 03:44:17 +00:00
usa 97c701fb41 * 2004-12-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 03:17:14 +00:00
nagai 3019758857 * 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/trunk@7620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-21 03:12:40 +00:00
nahi d7f6ed827f * added samples for the previous soap4r's commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 14:00:21 +00:00
akr 9ee320461d updated
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 13:58:50 +00:00
akr a198987f0b gcc noinline attribute is available since gcc-3.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 13:55:00 +00:00
nahi e5a3aba50e * 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/*

        * 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/trunk@7612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 13:50:15 +00:00
gotoyuzo 643dc13211 * lib/net/https.rb: delete descriptions about key_file and cert_file.
fixed: [ruby-dev:25243]

* ext/openssl/lib/net/telnets.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 05:46:45 +00:00
nagai 5cd1282f21 * ext/tk/lib/multi-tk.rb: supports new features of Tcl/Tk8.5a2
* ext/tk/lib/tk/clock.rb: ditto
* ext/tk/lib/tk/text.rb: ditto
* ext/tk/lib/tk/panedwindow.rb: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 05:10:59 +00:00
nobu 9a6c901fc4 * parse.y (special_local_set): prevent the parser object from GC.
fixed: [ruby-dev:25252]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 01:52:06 +00:00
eban ce1fce4a4c * 2004-12-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-20 01:30:27 +00:00
nobu a0f7b7ec92 * lib/cgi/session.rb (CGI::Session#initialize): empty session id was
used if request had no session key.  fixed: [ruby-core:03981]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-19 18:31:04 +00:00
nobu d81899716f * 2004-12-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-19 17:10:46 +00:00
kou ee6e23caf6 * lib/rexml/encodings/SHIFT_JIS.rb: fixed LoadError bug. [ruby-core:3958]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-19 15:19:43 +00:00
nobu 64592fbc10 * configure.in (disable-rpath): typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-19 08:29:13 +00:00
nobu a965236490 * configure.in (enable_rpath): use rpath flag to embed the library
path into extensions on ELF environment.  [ruby-dev:25035]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-19 08:25:36 +00:00
nobu 8c299e6e26 * lib/test/unit.rb: use standalone runner for -e.
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner#options): accept
  multiple -p and -x options.

* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir#recursive_collect):
  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-19 02:01:59 +00:00
nobu 3cf7c1758f * 2004-12-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-18 07:38:33 +00:00
nobu 9c016c18fc * ext/zlib/zlib.c (rb_deflate_s_deflate, rb_inflate_s_inflate):
disallow interrupt by type conversion.  fixed: [ruby-dev:25226]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-18 07:37:01 +00:00
nahi 93ed2c7b1e * lib/webrick/httpauth.rb,
lib/webrick/httpauth/{basicauth.rb,digestauth.rb}: use
          pack/unpack-template char "m" instead of lib/base64.rb to do base64
          encoding/decoding.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-18 06:17:33 +00:00
akr 7614d64725 * configure.in (ac_cv_sizeof_rlim_t): set 8 for BSD/OS.
Reported by OHARA Shigeki.  [ruby-dev:25236]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-17 08:47:11 +00:00
nagai cb2349d653 * ext/tk/lib/tk.rb: fix bug on setting up system encoding
* ext/tk/lib/tk/event.rb: fix error on require process
* ext/tk/lib/font.rb: fix abnormal termination error on Windows
* ext/tk/lib/tk/virtevent.rb: TkVirtualEvent::PreDefVirtEvent.new()
  accepts event-sequence arguments
* ext/tk/lib/text.rb: fail to dump embedded images
* ext/tk/lib/text.rb: tag_nextrange and tag_prevrange returns wrong
  types of values
* ext/tk/lib/texttag.rb: nextrange and prevrange returns wrong types of values
* ext/tk/lib/text.rb: add TkText::IndexModMethods module and
  TkText::IndexString class to treat text index modifiers
* ext/tk/lib/texttag.rb: use TkText::IndexModMethods module
* ext/tk/lib/textmark.rb: ditto
* ext/tk/lib/textimage.rb: ditto
* ext/tk/lib/textwindow.rb: ditto
* ext/tk/lib/textimage.rb: wrong gravity of text mark for embedded image
* ext/tk/lib/textwindow.rb: wrong gravity of text mark for embedded window


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-17 07:31:51 +00:00
nobu 3da93dd842 * lib/cgi/session.rb (CGI::Session#initialize): control adding
session_id hidden fields.  fixed: [ruby-talk:123850]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-17 04:34:39 +00:00
eban 0b2d95aafd * 2004-12-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-17 02:46:48 +00:00
nobu 9534e73ff4 * eval.c (rb_proc_arity, rb_node_arity, rb_mod_method_arity,
rb_obj_method_arity): new functions to obtain method arity.
  [ruby-dev:25143]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-16 15:06:58 +00:00
nobu 7910c3fd56 * eval.c (rb_proc_arity, rb_node_arity, rb_mod_method_arity,
rb_obj_method_arity): new functions to obtain method arity.
  [ruby-dev:25143]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-16 15:01:49 +00:00
nobu 326ebac3db * lib/mkmf.rb (create_makefile): create RUBYARCHDIR also when no extension
is installed.  fixed: [ruby-dev:25215]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-16 14:31:21 +00:00
seki c09dc0f725 adjust and reduce sleep
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-16 13:38:15 +00:00
gotoyuzo 67f4a393ba * ext/openssl/ossl.c (ossl_raise): refine message format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-16 09:39:54 +00:00
nagai a247c7715d * ext/tk/sample/demos-en/widget: modify version check for supporting features
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-16 07:32:01 +00:00
nagai cd4ce67e50 * ChangeLog: forgot to commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-16 07:14:49 +00:00
nagai 9e51ec666b * ext/tk/lib/tk/bindtag.rb: bug fix [ruby-talk: 123667]
* ext/tk/lib/tk/timer.rb: accept :idle for the interval argument
* ext/tk/lib/tk.rb: add TkComm._callback_entry?()
* ext/tk/lib/multi-tk.rb: add MultiTkIp.cb_entry_class
* ext/tk/lib/tk/canvas.rb: use TkComm._callback_entry?()
* ext/tk/lib/tk/canvastag.rb: ditto
* ext/tk/lib/tk/dialog.rb: ditto
* ext/tk/lib/tk/optiondb.rb: ditto
* ext/tk/lib/tk/text.rb: ditto
* ext/tk/lib/tk/texttag.rb: ditto
* ext/tk/lib/tk/textwindow.rb: ditto
* ext/tk/lib/tk/timer.rb: ditto
* ext/tk/lib/tk/validation.rb: ditto
* ext/tk/lib/tkextlib/*: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-16 07:13:14 +00:00