<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/rexml/encodings, branch master</title>
<subtitle>Ruby GIT repository</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/kanarip/public_git/ruby.git/'/>
<entry>
<title>* {ext,lib,test}/**/*.rb: removed trailing spaces.</title>
<updated>2009-03-06T03:56:38+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2009-03-06T03:56:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/kanarip/public_git/ruby.git/commit/?id=d17d1b111341f2c8979cf8fbd63ec7ec9db7c3ad'/>
<id>d17d1b111341f2c8979cf8fbd63ec7ec9db7c3ad</id>
<content type='text'>
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* lib/xmlrpc, lib/rexml, test/ruby/test_array.rb,</title>
<updated>2008-10-01T13:46:53+00:00</updated>
<author>
<name>mame</name>
<email>mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2008-10-01T13:46:53+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/kanarip/public_git/ruby.git/commit/?id=f62b901b4aa66ddbf1e2a2f445c8316f3e8cbc3d'/>
<id>f62b901b4aa66ddbf1e2a2f445c8316f3e8cbc3d</id>
<content type='text'>
  test/ruby/test_unicode_escape.rb, test/scanf/test_scanf.rb,
  test/rss/rss-assertions.rb: fix indentation to remove warning.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  test/ruby/test_unicode_escape.rb, test/scanf/test_scanf.rb,
  test/rss/rss-assertions.rb: fix indentation to remove warning.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* lib/rexml/encodings/SHIFT-JIS.rb (REXML::Encoding): place -x for</title>
<updated>2007-11-06T18:35:33+00:00</updated>
<author>
<name>matz</name>
<email>matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2007-11-06T18:35:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/kanarip/public_git/ruby.git/commit/?id=d45acec2070df32d985614ff5767bc1b971cc7f8'/>
<id>d45acec2070df32d985614ff5767bc1b971cc7f8</id>
<content type='text'>
  nkf conversion.  a patch from &lt;moonwolf AT moonwolf.com&gt;.
  [ruby-dev:32183]

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  nkf conversion.  a patch from &lt;moonwolf AT moonwolf.com&gt;.
  [ruby-dev:32183]

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title> r1361@bean:  ser | 2007-10-01 21:24:28 -0400</title>
<updated>2007-10-02T01:45:19+00:00</updated>
<author>
<name>ser</name>
<email>ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2007-10-02T01:45:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/kanarip/public_git/ruby.git/commit/?id=74e14343cfd8a2d7548c452c64c52bbb70d1a417'/>
<id>74e14343cfd8a2d7548c452c64c52bbb70d1a417</id>
<content type='text'>
 


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* lib/rexml/encodings/{ISO-8859-15,CP-1252}.rb: fixed invalid syntax.</title>
<updated>2007-08-06T08:36:31+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2007-08-06T08:36:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/kanarip/public_git/ruby.git/commit/?id=7d864f8b082d425b2903dd4207df4bfdf5e631eb'/>
<id>7d864f8b082d425b2903dd4207df4bfdf5e631eb</id>
<content type='text'>
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>Merges upstream changes for REXML v3.1.7</title>
<updated>2007-07-25T12:47:23+00:00</updated>
<author>
<name>ser</name>
<email>ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2007-07-25T12:47:23+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/kanarip/public_git/ruby.git/commit/?id=79d04b5bf68c73df0d303645a644ca1c1c550999'/>
<id>79d04b5bf68c73df0d303645a644ca1c1c550999</id>
<content type='text'>
http://www.germane-software.com/repos/rexml/tags/3.1.7

 r1278@bean:  ser | 2007-06-07 00:53:06 -0400
 Fixed a double-encoding bug.  This was a regression, related
 to ticket:48.
 r1292@bean:  ser | 2007-07-25 08:19:36 -0400
  r1279@bean:  ser | 2007-06-09 23:19:02 -0400
  Fixes ticket:89 -- encoding CP-1252 was broken.  ISO-8859-15 had the same
  problem.
  
  Also in this patch is a fix to merge.rb (unused, but it should at least
  contain no errors), and a unit test for ticket:88.
 
 r1293@bean:  ser | 2007-07-25 08:19:37 -0400
  r1281@bean:  ser | 2007-07-24 11:08:48 -0400
  Addresses ticket:85
  
  This is a major rewrite of the XML formatting code.  The XML writers have all
  been extracted out of the classes and put into their own class containers.
  This makes writing parsers easier, and cleaner.
  
  There are three formatters, which correspond to the previous three XML writing
  modes:
  
    REXML::Formatters::Default    
        Prints the XML document exactly as it was parsed
    REXML::Formatters::Pretty     
        Pretty prints the XML document, destroying whitespace in the document
    REXML::Formatters::Transitive 
        Pretty prints the XML document, preserving whitespace
  
  All of the write() functions have been deprecated (some are still used, but
  these will also go away) except the write() function on Document, which is left
  for convenience.  To pretty print an XML document the canonical way:
  
    formatter = REXML::Formatters::Pretty.new( 5 ) # indent by 5 spaces
    formatter.write( document, output )
  
 
 r1294@bean:  ser | 2007-07-25 08:19:38 -0400
  r1283@bean:  ser | 2007-07-24 19:53:30 -0400
  This goes with the previous commit.
 
 r1295@bean:  ser | 2007-07-25 08:19:39 -0400
  r1285@bean:  ser | 2007-07-24 20:02:07 -0400
  And THIS goes with the previous two patches.  Dammit.
 
 r1296@bean:  ser | 2007-07-25 08:19:40 -0400
  r1287@bean:  ser | 2007-07-24 20:12:25 -0400
  Applied patch from Jeff Barczewski.  Note that this changes what the values of
  the name and IDs are from the previous behavior -- the values no longer include
  the quotes.  This is the correct behavior, so I'm leaving it in, but it is not
  backwards compatible.  Also fixes the serializer so that it outputs the doctype
  in a correct format (needed as a result of this change).
 
 r1297@bean:  ser | 2007-07-25 08:38:38 -0400
 Version update


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
http://www.germane-software.com/repos/rexml/tags/3.1.7

 r1278@bean:  ser | 2007-06-07 00:53:06 -0400
 Fixed a double-encoding bug.  This was a regression, related
 to ticket:48.
 r1292@bean:  ser | 2007-07-25 08:19:36 -0400
  r1279@bean:  ser | 2007-06-09 23:19:02 -0400
  Fixes ticket:89 -- encoding CP-1252 was broken.  ISO-8859-15 had the same
  problem.
  
  Also in this patch is a fix to merge.rb (unused, but it should at least
  contain no errors), and a unit test for ticket:88.
 
 r1293@bean:  ser | 2007-07-25 08:19:37 -0400
  r1281@bean:  ser | 2007-07-24 11:08:48 -0400
  Addresses ticket:85
  
  This is a major rewrite of the XML formatting code.  The XML writers have all
  been extracted out of the classes and put into their own class containers.
  This makes writing parsers easier, and cleaner.
  
  There are three formatters, which correspond to the previous three XML writing
  modes:
  
    REXML::Formatters::Default    
        Prints the XML document exactly as it was parsed
    REXML::Formatters::Pretty     
        Pretty prints the XML document, destroying whitespace in the document
    REXML::Formatters::Transitive 
        Pretty prints the XML document, preserving whitespace
  
  All of the write() functions have been deprecated (some are still used, but
  these will also go away) except the write() function on Document, which is left
  for convenience.  To pretty print an XML document the canonical way:
  
    formatter = REXML::Formatters::Pretty.new( 5 ) # indent by 5 spaces
    formatter.write( document, output )
  
 
 r1294@bean:  ser | 2007-07-25 08:19:38 -0400
  r1283@bean:  ser | 2007-07-24 19:53:30 -0400
  This goes with the previous commit.
 
 r1295@bean:  ser | 2007-07-25 08:19:39 -0400
  r1285@bean:  ser | 2007-07-24 20:02:07 -0400
  And THIS goes with the previous two patches.  Dammit.
 
 r1296@bean:  ser | 2007-07-25 08:19:40 -0400
  r1287@bean:  ser | 2007-07-24 20:12:25 -0400
  Applied patch from Jeff Barczewski.  Note that this changes what the values of
  the name and IDs are from the previous behavior -- the values no longer include
  the quotes.  This is the correct behavior, so I'm leaving it in, but it is not
  backwards compatible.  Also fixes the serializer so that it outputs the doctype
  in a correct format (needed as a result of this change).
 
 r1297@bean:  ser | 2007-07-25 08:38:38 -0400
 Version update


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>Merged from REXML main repository:</title>
<updated>2007-01-20T03:56:02+00:00</updated>
<author>
<name>ser</name>
<email>ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2007-01-20T03:56:02+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/kanarip/public_git/ruby.git/commit/?id=c26a42f615c98003c4ec87e805e4fa7758210f7b'/>
<id>c26a42f615c98003c4ec87e805e4fa7758210f7b</id>
<content type='text'>
Fixes ticket:68.
  NOTE that this involves an API change!  Entity declarations in the doctype
  now generate events that carry two, not one, arguments.

Implements ticket:15, using gwrite's suggestion.  This allows Element to be
subclassed.

Two unrelated changes, because subversion is retarded and doesn't do
block-level commits:

  1) Fixed a typo bug in previous change for ticket:15
  2) Fixed namespaces handling in XPath and element.  

    ***** Note that this is an API change!!! *****

    Element.namespaces() now returns a hash of namespace mappings which are
    relevant for that node.

Fixes a bug in multiple decodings

The changeset 1230:1231 was bad.  The default behavior is *not* to use the
native REXML encodings by default, but rather to use ICONV by default.  I know
that this will piss some people off, but defaulting to the pure Ruby version
isn't the correct solution, and it breaks other encodings, so I've reverted it.

* Fixes ticket:61 (xpath_parser)
* Fixes ticket:63 (UTF-16; UNILE decoding was bad)
* Cleans up some tests, removing opportunities for test corruption
* Improves parsing error messages a little
* Adds the ability to override the encoding detection in Source construction
* Fixes an edge case in Functions::string, where document nodes weren't 
  correctly converted
* Fixes Functions::string() for Element and Document nodes
* Fixes some problems in entity handling

Addresses ticket:66

Fixes ticket:71

Addresses ticket:78
  NOTE: that this also fixes what is technically another bug in REXML.  REXML's
  XPath parser used to allow exponential notation in numbers.  The XPath spec
  is specific about what a number is, and scientific notation is not included.
  Therefore, this has been fixed.

Cross-ported a fix for ticket:88 from CVS.

Fixes ticket:80

Documentation cleanup.  Ticket:84

Applied Kou's fix for an un-trac'ed bug.

------------------------------------------------------------------------


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes ticket:68.
  NOTE that this involves an API change!  Entity declarations in the doctype
  now generate events that carry two, not one, arguments.

Implements ticket:15, using gwrite's suggestion.  This allows Element to be
subclassed.

Two unrelated changes, because subversion is retarded and doesn't do
block-level commits:

  1) Fixed a typo bug in previous change for ticket:15
  2) Fixed namespaces handling in XPath and element.  

    ***** Note that this is an API change!!! *****

    Element.namespaces() now returns a hash of namespace mappings which are
    relevant for that node.

Fixes a bug in multiple decodings

The changeset 1230:1231 was bad.  The default behavior is *not* to use the
native REXML encodings by default, but rather to use ICONV by default.  I know
that this will piss some people off, but defaulting to the pure Ruby version
isn't the correct solution, and it breaks other encodings, so I've reverted it.

* Fixes ticket:61 (xpath_parser)
* Fixes ticket:63 (UTF-16; UNILE decoding was bad)
* Cleans up some tests, removing opportunities for test corruption
* Improves parsing error messages a little
* Adds the ability to override the encoding detection in Source construction
* Fixes an edge case in Functions::string, where document nodes weren't 
  correctly converted
* Fixes Functions::string() for Element and Document nodes
* Fixes some problems in entity handling

Addresses ticket:66

Fixes ticket:71

Addresses ticket:78
  NOTE: that this also fixes what is technically another bug in REXML.  REXML's
  XPath parser used to allow exponential notation in numbers.  The XPath spec
  is specific about what a number is, and scientific notation is not included.
  Therefore, this has been fixed.

Cross-ported a fix for ticket:88 from CVS.

Fixes ticket:80

Documentation cleanup.  Ticket:84

Applied Kou's fix for an un-trac'ed bug.

------------------------------------------------------------------------


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* hash.c (rb_hash_compare_by_identity): rename Hash#identical to</title>
<updated>2006-09-13T08:10:28+00:00</updated>
<author>
<name>matz</name>
<email>matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2006-09-13T08:10:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/kanarip/public_git/ruby.git/commit/?id=21ae83c43e7ed769dddc11b756bd087a4b06613c'/>
<id>21ae83c43e7ed769dddc11b756bd087a4b06613c</id>
<content type='text'>
  Hash#compare_by_identity.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Hash#compare_by_identity.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* lib/rexml/source.rb (REXML::Source::encoding): should not</title>
<updated>2006-09-11T02:48:17+00:00</updated>
<author>
<name>matz</name>
<email>matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2006-09-11T02:48:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/kanarip/public_git/ruby.git/commit/?id=8dc5f69e139af81001f6f2201951fd47a01daebf'/>
<id>8dc5f69e139af81001f6f2201951fd47a01daebf</id>
<content type='text'>
  convert the body twice.  [ruby-core:08828]

* lib/rexml/encoding.rb (REXML::Encoding::encoding):
  Encoding#encoding= to return boolean value to tell if the body
  is really converted or not.

* lib/rexml/encoding.rb (REXML::Encoding::encoding): Specific
  conversion library (e.g. rexml/encodings/UTF-16.rb) to have
  higher preceding.

* lib/rexml/encodings/UTF-16.rb (REXML::Encoding::decode_utf16):
  UTF-16#decode_utf16 should work strings without BOM.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  convert the body twice.  [ruby-core:08828]

* lib/rexml/encoding.rb (REXML::Encoding::encoding):
  Encoding#encoding= to return boolean value to tell if the body
  is really converted or not.

* lib/rexml/encoding.rb (REXML::Encoding::encoding): Specific
  conversion library (e.g. rexml/encodings/UTF-16.rb) to have
  higher preceding.

* lib/rexml/encodings/UTF-16.rb (REXML::Encoding::decode_utf16):
  UTF-16#decode_utf16 should work strings without BOM.


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* lib/rexml/encoding.rb (encoding=): give priority to particular</title>
<updated>2005-12-09T14:31:47+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2005-12-09T14:31:47+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/kanarip/public_git/ruby.git/commit/?id=996803ead92e3308171a174bdbf5ed36eadb99cc'/>
<id>996803ead92e3308171a174bdbf5ed36eadb99cc</id>
<content type='text'>
  conversion to iconv.  [ruby-core:06520]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  conversion to iconv.  [ruby-core:06520]


git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
</feed>
