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

7652 Коммитов

Автор SHA1 Сообщение Дата
kosako baedd2b4f7 fix bug [ruby-list:42234]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-21 00:56:05 +00:00
gotoyuzo 9a012539ba * lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters,
:InputBufferSize and :OutputBufferSize.

* lib/webrick/utils.rb (WEBrick::Utils.timeout): add new timeout
  method. this implementation is expected to be compatible with
  timeout.rb and faster than timeout.rb.

* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#_read_data):
  Timeout.timeout is replaced by WEBrick::Utils.timeout.

* lib/webrick/httprequest.rb: WEBrick::HTTPRequest::BUFSIZE is
  replaced by config[:InputBufferSize].

* lib/webrick/httpresposne.rb: WEBrick::HTTPResponse::BUFSIZE is
  replaced by config[:OutputBufferSize].

* lib/webrick/server.rb: get rid of unnecessary require.

* test/webrick/test_utils.rb: test for WEBrick::Utils.timeout.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-18 13:42:52 +00:00
nobu 9e365254a6 * 2006-05-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-17 15:48:29 +00:00
nobu fbbc511d65 * ext/extmk.rb, lib/mkmf.rb: use BUILD_FILE_SEPARATOR in Makefiles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-17 15:42:21 +00:00
kosako 8c5f9ef2ea don't use onig_recompile()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-15 12:39:25 +00:00
akr 2d80e59b76 unused variable removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-13 08:55:39 +00:00
akr 4bd4ea12ad add ML ref.
[ruby-core:7865]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-13 08:24:46 +00:00
eban 3780530a64 * 2006-05-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-13 07:50:44 +00:00
akr 52d0a1624c update readpartial doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-13 07:43:41 +00:00
akr 55fc4f0c27 * lib/pp.rb (PP.mcall): new method.
(Struct#pretty_print): call Kernel#class and Struct#members even if
  overriden.
  (Struct#pretty_print_cycle): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-13 07:35:50 +00:00
eban a673b24319 * 2006-05-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-11 12:16:22 +00:00
gotoyuzo 1fbcb92ec8 * ext/openssl/ossl_cipher.c (add_cipher_name_to_ary): should return
value. [ruby-dev:28627]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-11 09:31:27 +00:00
kosako 8e57e208a7 merge Oniguruma 4.0.3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-10 14:41:20 +00:00
eban dfa0b1cc31 * 2006-05-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-09 02:13:19 +00:00
akr 400fa512cf note EAGAIN on readpartial document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-09 02:12:11 +00:00
usa 9b9de890dc * 2006-05-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-08 00:14:57 +00:00
gotoyuzo 55ef220fe0 * ext/openssl/extconf.rb: add check for OBJ_NAME_do_all_sorted.
* ext/openssl/ossl_cipher.c (ossl_s_ciphers): new method
  OpenSSL::Cipher.ciphers. it returns all the cipher names.

* ext/openssl/ossl_cipher.c (ossl_cipher_init): refine warning message.

* ext/openssl/lib/openssl/cipher.rb: reimplement without eval() and
  add constants AES128, AES192, AES256. [ruby-dev:28610]

* ext/openssl/lib/openssl/digest.rb: reimplement without eval().

* test/openssl/test_cipher.rb, test_digest: fix about reimplemented               features.

* sample/openssl/cipher.rb: rewrite all.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-08 00:12:00 +00:00
eban 911655fd17 * 2006-05-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-07 03:28:43 +00:00
akr 8afbf5cc03 * lib/resolv.rb (Resolv::DNS::Requester::ConnectedUDP#initialize):
Use AF_INET6 for nameservers containing colons.
patch by Stephan Maka.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-07 02:56:06 +00:00
suke 08b5a86487 * should not test in the environment that does not have win32ole
library.

* CRLF -> LF.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-06 23:40:08 +00:00
suke 119b7a0534 *** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-06 23:35:47 +00:00
suke 2bdd9d6eba ext/win32ole/win32ole.c (add_event_call_back): should not
delete event handler when the event name is not entried.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-01 09:05:08 +00:00
eban 0cf4abaa27 * 2006-05-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-01 03:19:07 +00:00
suke 9154b19bae ole_param_ole_type should return "unknown type" string when ITypeInfo::GetFuncDesc failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-30 23:37:54 +00:00
eban 5c1ae872f4 * 2006-04-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-30 13:18:40 +00:00
suke 2b5beeed15 add test/win32ole/test_win32ole_variant.rb.
ext/win32ole/win32ole.c: use ANSI C style.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-30 13:11:12 +00:00
eban 09d313fa85 * 2006-04-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-29 13:58:17 +00:00
gotoyuzo 968eb23418 * ext/openssl/ossl_asn1.c (ossl_asn1_decode0): should initialize
flag. [ruby-core:07785]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-29 13:52:15 +00:00
eban 08968d685d * 2006-04-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-25 09:05:31 +00:00
nagai 3df4f07a6b * ext/tk/tcltklib.c (delete_slaves): maybe increment the reference
count of a NULL Tcl_Obj [ruby-core:07759].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-25 09:02:00 +00:00
usa 105e1deba7 * 2006-04-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-21 06:27:46 +00:00
nagai 09cc0b160e * ext/tk/tcltklib.c (lib_eventloop_ensure): refer freed pointer
[ruby-core:07744] and memory leak.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-21 06:22:43 +00:00
eban 55cc0dd148 * 2006-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-18 08:44:21 +00:00
nagai bce4ed2f72 * ext/tk/lib/multi-tk.rb: add a binding to a container for a slave IP.
* ext/tk/lib/tk.rb: update RELEASE_DATE.
* ext/tk/tcltklib.c: forget to reset a Tcl interpreter.
* ext/tk/stubs.c: fix potential bugs about handling rb_argv0.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-18 08:43:10 +00:00
eban ef65804903 * 2006-04-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-15 05:23:37 +00:00
ser 78d9dd71a6 Short summary:
This is a version bump to REXML 3.1.4 for Ruby HEAD.  This change log is
  identical to the log for the 1.8 branch.

  It includes numerous bug fixes and is a pretty big patch, but is nonetheless
  a minor revision bump, since the API hasn't changed.

  For more information, see:

    http:/www.germane-software.com/projects/rexml/milestone/3.1.4

  For all tickets, see:

    http://www.germane-software.com/projects/rexml/ticket/#

  Where '#' is replaced with the ticket number.

Changelog:

* Fixed the documentation WRT the raw mode of text nodes (ticket #4)
* Fixes roundup ticket #43: substring-after bug.
* Fixed ticket #44, Element#xpath
* Patch submitted by an anonymous doner to allow parsing of Tempfiles.  I was
  hoping that, by now, that whole Source thing would have been changed to use
  duck typing and avoid this sort of ticket... but in the meantime, the patch
  has been applied.
* Fixes ticket:30, XPath default namespace bug.  The fix was provided
  by Lucas Nussbaum.
* Aliases #size to #length, as per zdennis's request.
* Fixes typo from previous commit
* Fixes ticket #32, preceding-sibling fails attempting delete_if on nil nodeset
* Merges a user-contributed patch for ticket #40
* Adds a forgotten-to-commit unit test for ticket #32
* Changes Date, Version, and Copyright to upper case, to avoid conflicts with
  the Date class.  All of the other changes in the altered files are because
  Subversion doesn't allow block-level commits, like it should.  English cased
  Version and Copyright are aliased to the upper case versions, for partial
  backward compatability.
* Resolves ticket #34, SAX parser change makes it impossible to parse IO feeds.
* Moves parser.source.position() to parser.position()
* Fixes ticket:48, repeated writes munging text content
* Fixes ticket:46, adding methods for accessing notation DTD information.
* Encodes some characters and removes a brokes link in the documentation
* Deals with carriage returns after XML declarations
* Improved doctype handling
* Whitespace handling changes
* Applies a patch by David Tardon, which (incidentally) fixes ticket:50
* Closes #26, allowing anything that walks like an IO to be a source.
* Ticket #31 - One unescape too many
  This wasn't really a bug, per se... "value" always returns
  a normalized string, and "value" is the method used to get
  the text() of an element.  However, entities have no meaning
  in CDATA sections, so there's no justification for value
  to be normalizing the content of CData objects.  This behavior
  has therefore been changed.
* Ticket #45 -- Now parses notation declarations in DTDs properly.
* Resolves ticket #49, Document.parse_stream returns ArgumentError
* Adds documentation to clarify how XMLDecl works, to avoid invalid bug reports.
* Addresses ticket #10, fixing the StreamParser API for DTDs.
* Fixes ticket #42, XPath node-set function 'name' fails with relative node
  set parameter
* Good patch by Aaron to fix ticket #53: REXML ignoring unbalanced tags
  at the end of a document.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-15 04:11:04 +00:00
eban 406c1cb485 * 2006-04-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-08 09:31:03 +00:00
suke 93f080c12f remove testOLEPARAM.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-08 09:16:58 +00:00
suke 29ba4ff416 add WIN32OLE_METHOD#inspect, WIN32OLE_PARAM#inspect
add test/win32ole/test_win32ole_param.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-08 09:13:30 +00:00
suke de558c7995 remove testOLEPARAM.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-08 09:11:39 +00:00
eban b2f55389b8 * 2006-04-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-07 13:29:32 +00:00
suke 11974f3b6d WIN32OLE_TYPELIB.new accepts OLE files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-07 13:16:46 +00:00
nagai 3b7c8b3488 * intern.h (rb_obj_instance_exec, rb_mod_module_exec): add declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-06 07:45:33 +00:00
nagai 495d872fac * ext/tk/lib/tk/panedwindow.rb: lack of arguments. [ruby-core:7681]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-06 02:21:20 +00:00
eban 659e09e741 * 2006-04-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-05 16:24:14 +00:00
nagai 8ba823c485 * ext/tk/tcltklib.c: fix SEGV when embedding to an application.
[ruby-core:7600]
* ext/tk/tcltklib.c: fix SEGV at exit. [ruby-talk:186489]
* ext/tk/tkutil/tkutil.c: follow to changing specification of
  instance_eval on ruby-1.9.x.
* ext/tk/lib/tk.rb: ditto.
* ext/tk/lib/multi-tk.rb: ditto.
* ext/tk/lib/tk.rb: remove warning about redefinition of methods.
* ext/tk/lib/tk/variable.rb: remove warning about unseting Tcl
 variables.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-05 16:08:45 +00:00
eban 5ebb8ad06b * 2006-04-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-04 15:32:30 +00:00
akr 62123eff4f * lib/pathname.rb: use a subclass for instantiation except
methods take pathname argument.  suggested by Evan Phoenix.
  [ruby-core:7618]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-04 15:29:59 +00:00
suke ec8e6b07ba *** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-01 09:28:59 +00:00
suke b4d47bcff3 add test_win32ole_method.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-01 09:22:58 +00:00