Commit graph

7022 commits

Author SHA1 Message Date
eban
bb73409497 * 2006-05-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-15 08:49:43 +00:00
matz
98d593dc9e * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::parse_symbol_arg):
typo fixed.  a patch from Florian Gross <florg at florg.net>.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-15 08:45:02 +00:00
akr
ddd8e92a54 add ML ref.
[ruby-core:7865]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-13 08:24:46 +00:00
eban
8ddc18a530 * 2006-05-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-13 07:50:44 +00:00
akr
238cc5974b update readpartial doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-13 07:43:41 +00:00
akr
20de4fbc7d * 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/branches/ruby_1_8@10148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-13 07:35:50 +00:00
matz
b0c7f088aa * util.c (ruby_strtod): differ addition to minimize error.
[ruby-dev:28619]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-11 10:59:12 +00:00
eban
5f5405a086 * 2006-05-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-11 09:26:51 +00:00
matz
b12d61b308 * util.c (ruby_strtod): should not raise ERANGE when the input
string does not have any digits.  [ruby-dev:28629]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-11 09:23:21 +00:00
eban
2d63b2b50e * 2006-05-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-09 02:36:48 +00:00
akr
4c4dd6ca31 note EAGAIN on readpartial document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-09 02:12:11 +00:00
eban
5668437eae * 2006-05-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-07 03:28:43 +00:00
akr
944326afdd * 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/branches/ruby_1_8@10135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-07 02:56:06 +00:00
eban
3a67582698 * 2006-05-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-05 16:36:54 +00:00
matz
9ce5de6202 * signal.c (trap): sig should be less then NSIG. Coverity found
this bug.  a patch from Kevin Tew <tewk at tewk.com>.
  [ruby-core:07823]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-05 15:41:19 +00:00
matz
a7f999b68e * ext/syck/yaml2byte.c (syck_yaml2byte_handler): need to free
type_tag.  a patch from Pat Eyler <rubypate at gmail.com>.
  [ruby-core:07808]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-03 17:41:11 +00:00
eban
5f78b3d2fa * 2006-05-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-03 17:32:02 +00:00
matz
704fbef5b6 * ext/syck/emitter.c (syck_scan_scalar): avoid accessing
uninitialized array element.  a patch from Pat Eyler
  <rubypate at gmail.com>.  [ruby-core:07809]

* array.c (rb_ary_fill): initialize local variables first.  a
  patch from Pat Eyler <rubypate at gmail.com>.  [ruby-core:07810]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-03 17:29:36 +00:00
eban
3d2d405046 * 2006-05-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-02 17:19:42 +00:00
matz
0c83a49ecf * ext/socket/socket.c (make_hostent_internal): accept ai_family
check from Sam Roberts <sroberts at uniserve.com>.
  [ruby-core:07691]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-02 17:15:15 +00:00
eban
35635ab27b * 2006-05-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-01 03:50:13 +00:00
matz
9466848db3 * numeric.c (num_div): use floor rather than rb_Integer().
[ruby-dev:28589]

* numeric.c (flo_divmod): the first element of Float#divmod should
  be an integer. [ruby-dev:28589]

* test/ruby/test_float.rb: add tests for divmod, div, modulo and remainder.

* util.c (ruby_strtod): fixed wrong conversion.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-05-01 03:46:47 +00:00
eban
a6fdf0bbcd * 2006-04-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-29 13:58:17 +00:00
gotoyuzo
27a80110fc * ext/openssl/ossl_asn1.c (ossl_asn1_decode0): should initialize
flag. [ruby-core:07785]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-29 13:52:15 +00:00
eban
a30e1a09cf * 2006-04-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-28 02:18:20 +00:00
matz
15a5fba74f * util.c (ruby_strtod): should not cut off 18 digits for no
reason.  [ruby-core:07796]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-28 01:58:01 +00:00
eban
f2fb05ffd6 * 2006-04-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-26 17:51:58 +00:00
matz
8520eae480 * array.c (rb_ary_fill): internalize local variable "beg" to
pacify Coverity.  [ruby-core:07770]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-26 16:52:54 +00:00
eban
63bc911070 * 2006-04-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-26 08:43:02 +00:00
matz
de27b2c9c2 * pack.c (pack_unpack): now supports CRLF newlines. a patch from
<tommy at tmtm.org>.  [ruby-dev:28601]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-26 08:01:45 +00:00
nagai
5120d92108 * 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/branches/ruby_1_8@10109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-25 09:02:00 +00:00
matz
a115742968 * lib/jcode.rb (String::tr_s): should have translated non
squeezing character sequence (i.e. a character) as well.  thanks
  to Hiroshi Ichikawa <gimite at gimite.ddo.jp> [ruby-list:42090]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-24 23:09:01 +00:00
eban
870eb33e6b * 2006-04-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-24 16:08:32 +00:00
matz
b068b82ca1 * regex.c (re_compile_pattern): should check if c is not a
multibyte chracter.  a patch from KIMURA Koichi
  <kimura.koichi at canon.co.jp>.  [ruby-dev:28598]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-24 15:15:22 +00:00
nagai
d23b7958c5 * 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/branches/ruby_1_8@10104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-21 06:22:43 +00:00
usa
eda34de0df * 2006-04-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-21 04:53:29 +00:00
matz
56fcbc4a6e * ext/socket/socket.c: document update patch from Sam Roberts
<sroberts at uniserve.com>.  [ruby-core:07701]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-21 03:19:17 +00:00
matz
2835df5a05 * parse.y (arg): too much NEW_LIST()
* eval.c (SETUP_ARGS0): remove unnecessary access to nd_alen.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-19 04:57:58 +00:00
matz
1d3fd0024d * eval.c (rb_eval): use ARGSCAT for NODE_OP_ASGN1.
[ruby-dev:28585]

* parse.y (list_concat): revert last change.

* parse.y (arg): use NODE_ARGSCAT for placeholder.

* lib/getoptlong.rb (GetoptLong::get): RDoc update patch from
  mathew <meta at pobox.com>.  [ruby-core:07738]

* variable.c (rb_const_set): raise error when no target klass is
  supplied.  [ruby-dev:28582]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-19 03:02:03 +00:00
usa
763420cbcf * 2006-04-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-19 01:01:35 +00:00
matz
7aa4ba303a * parse.y (list_concat): should not modify nodes other than
NODE_ARRAY.  [ruby-dev:28583]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-19 00:51:49 +00:00
nagai
8784f9c235 * 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/branches/ruby_1_8@10096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-18 08:43:10 +00:00
eban
434dce137b * 2006-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-17 15:39:52 +00:00
matz
e546c7dc2e * eval.c: block_unique should be 1, not frame_unique.
[ruby-dev:28577]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-17 15:13:07 +00:00
eban
6afda79587 * 2006-04-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-14 04:18:50 +00:00
ser
5f4bf32929 Short summary:
This is a version bump to REXML 3.1.4.  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.
* Minor, yet incomplete, documentation changes.  Again, these are in this patch
  because of Subversion's glaring lack of block-level commits.
* 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/branches/ruby_1_8@10090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-14 02:56:44 +00:00
eban
bec759abcc * 2006-04-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-09 17:20:48 +00:00
matz
234c47e9fb * prec.c (prec_prec_f): documentation patch from
<gerardo.santana at gmail.com>.  [ruby-core:07689]

* bignum.c (rb_big_pow): second operand may be too big even if
  it's a Fixnum.  [ruby-talk:187984]

* README.EXT: update symbol description.  [ruby-talk:188104]

* COPYING: explicitly note GPLv2.  [ruby-talk:187922]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-09 16:10:40 +00:00
nagai
468a0bd4fa * ext/tk/lib/tk/panedwindow.rb: lack of arguments. [ruby-core:7681]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-06 02:21:20 +00:00
eban
c02b0b9cf6 * 2006-04-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-04-05 16:24:14 +00:00