Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 93 (100.0%) | 811 (100.0%) | 8.7 |
ser | 59 (63.4%) | 679 (83.7%) | 11.5 |
matz | 15 (16.1%) | 81 (10.0%) | 5.4 |
nobu | 4 (4.3%) | 46 (5.7%) | 11.5 |
ocean | 1 (1.1%) | 2 (0.2%) | 2.0 |
usa | 1 (1.1%) | 1 (0.1%) | 1.0 |
nahi | 1 (1.1%) | 1 (0.1%) | 1.0 |
kou | 1 (1.1%) | 1 (0.1%) | 1.0 |
shyouhei | 11 (11.8%) | 0 (0.0%) | 0.0 |
set svn:eol-style
0 lines of code changed in:
Merged from REXML main repository:
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.
------------------------------------------------------------------------
1 lines of code changed in:
* hash.c (rb_hash_compare_by_identity): rename Hash#identical to
Hash#compare_by_identity.
1 lines of code changed in:
* lib/rexml/source.rb (REXML::Source::encoding): should not
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.
2 lines of code changed in:
* lib/rexml/encoding.rb (encoding=): give priority to particular
conversion to iconv. [ruby-core:06520]
45 lines of code changed in:
* lib/rexml/encodings/SHIFT-JIS.rb: encoding and decoding were
swapped. [ruby-core:4772] (patch from speakillof)
* lib/rexml/encoding.rb: fixed indentation.
2 lines of code changed in:
Applied Nobu's patch to the XML document encoding structure in REXML. It
passes all of REXML's native tests as well as a couple of others, and should
fix potential threading issues.
77 lines of code changed in:
* lib/rexml/encodings/SHIFT_JIS.rb: fixed LoadError bug. [ruby-core:3958]
1 lines of code changed in:
Merged in the changes from BSD bug report. shift-jis is now shift_jis, in
accordance with IANA
5 lines of code changed in:
Added support for CP-1252 and ISO-8859-15 encodings for non-iconv systems.
167 lines of code changed in:
------------------------------------------------------------------------
1 lines of code changed in:
REXML changes
* The main purpose for this change is to get a fix in for nasty bug in XPath.
In the new code for the descendant-or-self axis, the document order code
was calling the wrong method to do node comparisons, causing a terrible
overhead that slowed the axis down to the point where it was unusable.
This is a common axis, also known as '//', so this fix is critical.
* Using Element#text= on a non-Text, non-String argument caused an error.
This has been changed so that the behavior is like puts() -- to_s() is
called on the object first.
* Refactored the pretty-printing code a little.
1 lines of code changed in:
* lib/rexml/encodings/SHIFT_JIS: wrong library name.
1 lines of code changed in:
Fixed Issue7: DocType with external IDs was not being quoted.
SHIFT_JIS now merely includes Shift-JIS
1 lines of code changed in:
@@ Fix for the XPath descendant* result set ordering bug @@
@@ SAX2 listener bug fixes @@
@@ Undid a code change that caused a 10x speed regression @@
@@ Indentation fixes, and a new word wrapping feature for text nodes
was contributed by Devin Bayer (documentation forthcoming; see the
change logs for now) @@
The XPath bug fix is really ugly and inefficient, but I spent two days hacking
at it and this was the best I could come up with.
The SAX2 listener fixes had to do with crashes in certain conditions, like when
there was a carriage return at the end of a document
Several people submitted patches for the speed regression; it is embarrassing
how long it took me to get around to looking at this. To this day, I don't
know where the offending code came from.
Encoding fixes
Added a contributed word wrapping option for text formatting. Devin Bayer
contributed this. Here's his comment:
"Setting :wordwrapping to :all, wordwraps all text nodes longer than 60
characters.
Setting :indentstyle to aString, make aString used as indentation,
instead of the default ' '.
And as long as :respect_whitespace isn't set for the element,
multiline text nodes will be indented."
4 lines of code changed in:
* misc/ruby-mode.el: better support for general delimited
strings. [ruby-dev:22695]
* lib/weakref.rb (WeakRef::initialize): set up @__id before
calling "super".
* lib/delegate.rb (Delegator::initialize): preserve
singleton_method_added method [ruby-dev:22685]
* lib/delegate.rb (Delegator::initialize): use Kernel::raise
instead of mere raise. [ruby-dev:22681]
1 lines of code changed in:
Commit miss?
1 lines of code changed in:
* pack.c (pack_pack): remove unnecessary negative value check.
[ruby-dev:22329]
* io.c (rb_io_ungetc): need fflush before ungetc if write buffer
is filled. [ruby-dev:22330]
1 lines of code changed in:
* lib/rexml/encodings/US-ASCII.rb: typo. [ruby-talk:88650]
* test/ruby/test_system.rb: num of asserts depended on running dir.
* test/xsd/test_noencoding.rb: rexml + without iconv/uconv cannot
handle euc-jp. install iconv, uconv or xmlscan.
1 lines of code changed in:
REXML changes:
* Took out the duplicate Shift-JIS entries, for OSes that don't understand
case sensitive file names.
* Fixed some bugs in the encodings
40 lines of code changed in:
(8 more)