| 1 |
XML::Bare Changelog |
| 2 |
|
| 3 |
0.53 ( 7-12-13 ) |
| 4 |
- Remove executable permissions from files that shouldn't have them. |
| 5 |
- Added shebang to main Bare.pm file ( apparently some people want this ) |
| 6 |
- Correct line endings to unix style on parser.c |
| 7 |
- Improved simplify function that works properly with trees instead of just a single level |
| 8 |
- Added hash2xml to quickly convert recursing hashes into XML |
| 9 |
|
| 10 |
0.52 ( 4-29-13 ) |
| 11 |
- Added proper binmode setting when outputting XML to address deficiences on Win32 ( such as failing Strawberry perl due to line endings ) |
| 12 |
- Added evil OS check in file writing code to address differences in how files must be opened to write utf8 on win32 versus linux/cygwin. |
| 13 |
- Added note regarding using utf8 flag instead of using encoding(utf8) |
| 14 |
- Altered UTF8 test to also write XML containing UTF8 to a file. |
| 15 |
|
| 16 |
0.51 ( 4-28-13 ) |
| 17 |
- New 'unsafe' parsing mode, giving a 30% speed increase with some downfalls |
| 18 |
- New 'read_more' function, allowing more data to be read in before parsing into a tree |
| 19 |
- Fixed some memory leaks |
| 20 |
- Added 'Controversy' section to documentation |
| 21 |
- Updated speed comparisons for feed2.xml, adding a comparison against XML::Fast as well |
| 22 |
as a comparison of running in 'unsafe' mode. |
| 23 |
- Spelling correction |
| 24 |
- "Modernized" file handling using my variables |
| 25 |
|
| 26 |
0.50 ( 4-24-13 ) |
| 27 |
- Remove debugging print statements that were left in |
| 28 |
- Include the new test cases in the distribution |
| 29 |
|
| 30 |
0.49 ( 4-23-13 ) |
| 31 |
- Fixes to find_by_perl |
| 32 |
Can now be accessed in an object or namespace flexibly. |
| 33 |
Now ignores case of keys. |
| 34 |
Keys with underscores can be used. |
| 35 |
Will work properly when passed a single node instead of an array reference of nodes. |
| 36 |
- Fixes to xget |
| 37 |
Method of deferencing has been changed to be compatible with newer versions of perl ( 5.10.2+ ) |
| 38 |
- Fixed handling of nodes named 'value'; they will no longer crash the XS code |
| 39 |
- Added a new function similar to new called 'simple', that works in the same way but automatically uses the 'simple' parser |
| 40 |
- Altered handling of node values in simple mode, so that it stores values when mixed with nodes or atttributes under 'content' ( like XML::Simple ) |
| 41 |
This feature was requested by users so it has been added. Note that it only does this when the value is not composed of just spaces and carriage returns. |
| 42 |
|
| 43 |
0.48 ( 4-22-13 ) |
| 44 |
- Revert code back to 0.45 version |
| 45 |
Changes lost in the process: |
| 46 |
Content is not stored in the 'content' key any more; it is stored as the node itself when the node contains nothing else. As God intended. |
| 47 |
Memory leak fixes |
| 48 |
Quote handling |
| 49 |
- Code copyright returned fully to David Helkowski; any changes by other parties have been discarded. Any code ported in from other open source projects removed. |
| 50 |
This has been done intentionally so as to make it possible to relicense the software commerically. |
| 51 |
- XS code modofied to work in a multi-threaded environment |
| 52 |
- Reverting Makefile.PL back to original wierd hackish fixes. They are there for specific reasons. |
| 53 |
|
| 54 |
0.47 ( 2-8-12 ) |
| 55 |
- Preping release unchanged from trial release. |
| 56 |
The 0.45 release and previous set particular compile options for several different |
| 57 |
platforms. My release refactoring stripped the Makefile.PL customisations, however |
| 58 |
it appears these are not needed by any of the smoker CPANTS systems, so am releasing |
| 59 |
with really basic compilation driver - see how it goes... |
| 60 |
|
| 61 |
0.46_03 ( 1-28-12 ) |
| 62 |
- Bug #49906 Simple mode reports content of empty node as integer 1 |
| 63 |
- Bug #52762 XML::Simple compatibility mode doesn't support CDATA with attributes |
| 64 |
- Bug #52832 Several memory leaks |
| 65 |
- XML quote decoding on XML read |
| 66 |
|
| 67 |
0.45 |
| 68 |
- Missing UTF8 test files now included |
| 69 |
- XML Saving functionality now does size checks to ensure concurrency |
| 70 |
issues do not corrupt XML. |
| 71 |
- Linking under Solaris should now be fixed |
| 72 |
- Line number defines removed from XS compilation to attempt to |
| 73 |
fix some strange compilation problems. |
| 74 |
|
| 75 |
0.44 |
| 76 |
- Self closing nodes now printed by xml function |
| 77 |
- UTF8 Handling fixed; thanks go to Nigel Metheringham for the fix |
| 78 |
recommendation as well as the test files |
| 79 |
- Static linking has been fixed |
| 80 |
- 'cc' now used properly in cases where 'gcc' is absent |
| 81 |
|
| 82 |
0.43 ( 3-17-09 ) |
| 83 |
- Fixed newly broken add_node problem from 0.42 |
| 84 |
- Added a new test to detect fixed problem |
| 85 |
|
| 86 |
0.42 ( 3-16-09 ) |
| 87 |
- A number of memory leaks have been fixed |
| 88 |
- XML files included for benchmarking have been replaced with dummy test |
| 89 |
data to avoid licensing problems. |
| 90 |
|
| 91 |
0.41 ( internal ) |
| 92 |
- Perl code has been optimized |
| 93 |
- Fixed problem with merge function |
| 94 |
- Added tohtml output |
| 95 |
- Added flag to indicate node read in as CDATA |
| 96 |
|
| 97 |
0.40 ( 12-14-08 ) |
| 98 |
- Added schema checking functionality |
| 99 |
- Fixed parsing of nodes with more than one comment block |
| 100 |
- Added error checking to ensure properly closed tags |
| 101 |
- Fixed parsing of attributes without values |
| 102 |
|
| 103 |
0.30 ( 7-02-08 ) |
| 104 |
- Add new parsing mode, simple, which simulates XML::Simple. |
| 105 |
|
| 106 |
0.29 ( internal ) |
| 107 |
- New function add_node_after |
| 108 |
- Fixed node ordering such that node order is preserved |
| 109 |
|
| 110 |
0.28 ( internal ) |
| 111 |
- Altered xml output so that it cleans extraneous input spacing |
| 112 |
and indents mixed values properly. |
| 113 |
- Added prereqs to Makefile.pl |
| 114 |
- Added Test::POD and Test::POD::Coverage tests |
| 115 |
- Fixed incorrect pointer type cast in parser.c |
| 116 |
- Rewrote benchmark system to use templated benchmarking |
| 117 |
|
| 118 |
0.27 ( 11-21-07 ) |
| 119 |
- makefile.pl modified to be compatible with Darwin and |
| 120 |
to error out if XCode ( gcc specifically ) is not installed |
| 121 |
- makefile.pl modified to support Perl 5.6+ on Win32 MSVC |
| 122 |
( previously only Perl 5.8 was supported ) |
| 123 |
- parser.c modified to include stdlib.h for malloc in Darwin. |
| 124 |
- Cyclic equality test weakened to allow for differences in |
| 125 |
default sorting of hash keys per perl version. |
| 126 |
|
| 127 |
0.26 ( 11-09-07 ) |
| 128 |
- Compatibility with versions before Perl 5.6 is not fruitful. |
| 129 |
Perl 5.6 now required and will likely remain as a requirement. |
| 130 |
It broke too many things. |
| 131 |
|
| 132 |
0.25 ( 11-09-07 ) |
| 133 |
- makefile.pl modified to pass -shared option correctly |
| 134 |
to gcc and not the linker. This caused compilation failure |
| 135 |
on certain Solaris systems. |
| 136 |
|
| 137 |
0.24 ( 11-09-07 ) |
| 138 |
- Continued makefile.pl changes to recognize some platforms |
| 139 |
use executable extensions for gcc. |
| 140 |
- Remove blank require line from meta.yml. It seemed to break |
| 141 |
the kwalitee rating. |
| 142 |
|
| 143 |
0.23 ( 11-08-07 ) |
| 144 |
- Minor change to XS code for potential future Perl 5.005 support |
| 145 |
|
| 146 |
0.22 ( 11-07-07 ) |
| 147 |
- Altered makefile.pl to be compatible with more platforms. |
| 148 |
- Removed dependency upon string.h for msvc because it |
| 149 |
was breaking activestate builds. |
| 150 |
- Perl 5.005 allowed, but it fails |
| 151 |
- Comment parsing had an issue when the node containing |
| 152 |
the comment had no direct value. This has now been resolved. |
| 153 |
- Using comments caused ever increasing blank spaces to be added. |
| 154 |
This has now been resolved. |
| 155 |
- A test for comment reading has been added. |
| 156 |
- A test for cyclic equality ( repeated loading and saving ) has |
| 157 |
now been added. |
| 158 |
|
| 159 |
0.21 ( 11-04-07 ) |
| 160 |
- Comments are no longer completely ignored. One comment |
| 161 |
node is recognized and stored per non immediate node. |
| 162 |
|
| 163 |
0.20 ( internal ) |
| 164 |
- forcearray function has been added |
| 165 |
- simplify function has been added |
| 166 |
- croak now used to error out of an improper call to find_node |
| 167 |
- obj2xml has been corrected; previously newlines would stack |
| 168 |
up at the end of the xml file |
| 169 |
|
| 170 |
0.17 ( internal - unstable ) |
| 171 |
- Merge updated to handle array and overlap properly |
| 172 |
- del_by_perl function has been added |
| 173 |
- add_node modified to return the added node |
| 174 |
- find_node modified to skip blank values |
| 175 |
- Previously a set of nodes could not be printed out using |
| 176 |
the 'xml' function. This can now be done. ( see perldoc ) |
| 177 |
|
| 178 |
0.16 ( internal ) |
| 179 |
- Mixed XML is now supported. |
| 180 |
- UTF8 is now parsed properly. |
| 181 |
|
| 182 |
0.15 ( internal ) |
| 183 |
- C Parser has been revised greatly in order to make it faster. Internal |
| 184 |
state engine has been rewritten using gotos instead of a switch in order |
| 185 |
make each state more independent and easily optimized by the compiler. |
| 186 |
|
| 187 |
0.14 ( internal ) |
| 188 |
- Code that creates Perl hash from parsed XML structure has been |
| 189 |
rewritten in XS instead of Perl. As a result overall speed has been |
| 190 |
increased by 40% or so. |
| 191 |
|
| 192 |
0.13 ( internal ) |
| 193 |
- Code that creates Perl hash from parsed XML structure has been |
| 194 |
cleaned up in order to avoid use of a temporary Perl hash. |
| 195 |
|
| 196 |
0.12 ( internal ) |
| 197 |
- 'find_node' and 'del_node' functions are now exportable. |
| 198 |
- 'find_node' function will now work properly if called on a single item |
| 199 |
instead of a list of items. |
| 200 |
- Added 'find_by_perl' function to select nodes from a list that match |
| 201 |
a specific perl expression. |
| 202 |
- A performance test script and some xml files are now included and example runs of |
| 203 |
the test script are in the documentation. XML::Bare is ~14-80 times |
| 204 |
faster than the alternatives. |
| 205 |
|
| 206 |
0.11 ( 6-25-07 ) |
| 207 |
- Changed XS code so that it is backwards compatible with older versions of Perl. |
| 208 |
- Changed XS code to use 'blind' pointers, a custom created Perl Scalar. Speed |
| 209 |
is increased as a result for XML with large contiguous values. |
| 210 |
|
| 211 |
0.10 ( 6-21-07 ) |
| 212 |
- Made XS routines 30% more efficient. Speed of parsing and perl hash creation |
| 213 |
is now very good in comparison to all currently available alternatives in perl. |
| 214 |
|
| 215 |
0.09 ( 6-20-07 ) |
| 216 |
- Rewrote library using XS instead of swig. |
| 217 |
|
| 218 |
0.08 ( 6-20-07 ) |
| 219 |
- Parser has been rewritten in C to avoid dependency on g++. |
| 220 |
- After node parsing C tree structure memory is now freed. |
| 221 |
|
| 222 |
0.07 ( 6-19-07 ) |
| 223 |
- Modified custom script because it was incorrect in its use of redirection, causing |
| 224 |
some platforms to fail to compile. |
| 225 |
|
| 226 |
0.06 ( 6-17-07 ) |
| 227 |
- Modified Makefile to use custom script to switch between g++ and gcc for |
| 228 |
compilation. Even as c, swig interface still did not compile properly with |
| 229 |
g++ on some systems. |
| 230 |
|
| 231 |
0.05 ( 6-16-07 ) |
| 232 |
- Ceased using c++ for swig interface; it caused compilation issues on some platforms |
| 233 |
- Fix further output indentation issues due to {value} always being displayed. |
| 234 |
{value} is now displayed as documented. |
| 235 |
- First line of changes was incorrect previously |
| 236 |
|
| 237 |
0.04 ( 06-15-07 ) |
| 238 |
- Added clean function |
| 239 |
- Added merge function |
| 240 |
- Bugfix: xml output indentation was off due to parser changes in 0.03 |
| 241 |
- Updated documentation |
| 242 |
|
| 243 |
0.03 ( 06-14-07 ) |
| 244 |
- Modified makefile to work under windows with Activestate and MSVC |
| 245 |
- Cleaned up parser some and fixed basic mixed xml |
| 246 |
- Added changelog to dist |
| 247 |
- Dist now created from MakeMaker 6.32 ( license and abstract add to Meta.yml ) |
| 248 |
|
| 249 |
0.02 ( 06-13-07 ) |
| 250 |
- Changed version line in perl module from my to global to allow proper cpan indexing |
| 251 |
|
| 252 |
0.01 ( 06-13-07 ) |
| 253 |
- First release |