0.1.6 "Investigating the not so obvious"
* added examples/replace.rb
* added rb_gc_start() when a new document is parsed,
example/replace.rb freezes after 600 parses, if this is not done.
I can only assume, that there is an internal limit in libxml. ruby starts
gc'ing when about 7 MB of memory are allocated.
Investigiating this further is maybe necessary, cause I don't understand
the effect fully.
* added XML::Simple::DOM::Attribute#to_i
* changed behaviour of XML::Simple::file, the string that is used for
creating te document is no longer the name of the root element, but free
form
OLD: XML::Simple.file("test.xml",test) resulting in
NEW: XML::Simple.file("test.xml","") resulting in
Drawback: you can initialize documents that are not wellformed, but i
think the new way is much more convenient
* changed examples/create.rb
* added XML::Simple::DOM::Node#to_f
* added XML::Simple::DOM::Node#children?
* added XML::Simple::DOM::Attribute#to_f
* added XML::Simple::DOM::Attribute#has_key?
* removed XML::Simple::DOM::Attribute#at
* changed XML::Simple::DOM::Node#inspect - behaves like expected now
* added XML::Simple::DOM::Node#dump - output a Nodes XML representation
* all #to_i behave like expected (with base as optional parameter)
0.1.5 "All work and no play ..." Features
* XML::Simple::Dom::Node#parent
* XML::Simple::Dom::Node#to_i
* XML::Simple::Dom#save_as
* XML::Simple#string
* improved locking
* started testing in semi-production environment
* cleanup and reorganisation
* examples/string.rb
0.1.4 "Pull Perfection" Bugfixes + Features
* #append_child and the other functions now need only 1 paramter (thanks to
Emmanuel Touzery)
* domattributeset.* and pullattributeset.* to keep things logical
* pullattribute as specialized returntype when accessing attributes via pull
* small changes to nodes.c and attributes.c to remove a bug (to enthusiastic
xmlFree)
* additional cleanup and renaming
* added Christian Neukirchen to AUTHORS
0.1.3 "Teamwork" - Bugfixes + Features
* Merged patch that adds XML::Simple::Node#name, contributed by
* Restructuring of the code, rbxs_base.* was renamed to rbxs_do.*, the
skeletons for the constructors and the module initialisation moved to
rbxs.c, to improve the design
Together with Christian Neukirchen:
* Added XML::Simple::QName, XML::Simple::Node#name, returns a QName object,
that has #name, #prefix, and #namespace.
* Added the first implementation of a pull parser, by borrowing ideas and
code from chris' ruby/dl implementation. XML::Simple.pull(File)
* Added examples/pull.rb for first demonstration
0.1.2 "Session with Klaus" - Bugfixes + Features
* rbxs_nodeset.c - each now works as expected
* rbxs_base.c - changed open to (name,root[,encoding]), which creates a
file named name unless File.exists?
* examples/create.rb - added
0.1.1 "The morning after" - Bugfixes
* Fixed memleaks in attributeset.c
* Added examples/xpath_attrs.rb
* Changed example names and added comments
0.1.0 "First Strike"
* Basic Features