Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow format strings to be NULL in dmixml_Add*() functions | David Sommerseth | 2010-04-20 | 1 | -5/+19 |
| | | | | | | | | | | | This bug was reported by Jan Hutař <jhutar@redhat.com> [1] The implemented fix avoids assertions if the format strings to dmixml_AddAttribute(), dmixml_AddTextChild() and dmixml_AddTextContent() functions are NULL. In these cases, it will result in an empty value instead of returning NULL from these functions. [1] <https://bugzilla.redhat.com/show_bug.cgi?id=583867> | ||||
* | Removed not needed \n from log_append() entries | David Sommerseth | 2010-02-05 | 1 | -1/+1 |
| | |||||
* | Added logging flag to log_append() to change log behaviour | David Sommerseth | 2010-02-05 | 1 | -3/+3 |
| | | | | | | | | | | | | | | Valid flags are: * LOGFL_NORMAL Log all messages to the log context, and send log message to stderr on errors * LOGFL_NODUPS Log only unique messages. Duplicated messages will be removed * LOGFL_NOSTDERR Don't write to stderr, even if errors occur | ||||
* | Ported fprintf() -> log_append() on XML functions | David Sommerseth | 2010-01-08 | 1 | -4/+5 |
| | |||||
* | Added new function: dmixml_FindNodeByAttr_NoCase(...) | David Sommerseth | 2009-06-15 | 1 | -5/+11 |
| | | | | | | | | | | This function will ignore the case of the string of the value to be found. This improves the behaviour mentioned in commit 20030e42b4d3f7283f6143641cb009a8dbf1da24. At the moment, the immediate advantage is that the pymap.xml is not strictly bound to if the type IDs in hex are in upper and/or lower case. Both cases and mixed cases will now work. | ||||
* | Added missing file section for Doxygen parsing | David Sommerseth | 2009-06-03 | 1 | -3/+12 |
| | |||||
* | Added Doxygent comments, fixed missing copyright | David Sommerseth | 2009-06-03 | 1 | -22/+91 |
| | |||||
* | Rewrote dmixml_FindNodeByAttr(...) function to also use TagName | David Sommerseth | 2009-06-02 | 1 | -20/+18 |
| | | | | The previous version did not consider the tag name when searching for nodes. | ||||
* | Return earlier when possible | Nima Talebi | 2009-05-24 | 1 | -4/+4 |
| | |||||
* | Completed preliminary reimplementation of type() | Nima Talebi | 2009-05-24 | 1 | -0/+30 |
| | | | | | | | Updated test unit to match. Throw an exception instead of returning None/False in some functions. | ||||
* | Avoid segfault if XPATH_NODESET do not contain any data | David Sommerseth | 2009-05-13 | 1 | -1/+6 |
| | |||||
* | Fixed segfault when processing XPATH_NODESET type and the nodeset is NULL | David Sommerseth | 2009-05-13 | 1 | -1/+1 |
| | |||||
* | Rewritten dmixml_GetXPathContent(...) and _get_key_value(...) | David Sommerseth | 2009-04-30 | 1 | -10/+9 |
| | | | | | This rewrite was to handle XPATH_NUMBER more correctly. Now these functions needs an preallocated memory buffer for the result. | ||||
* | Added function for retrieving values from XPath objects | David Sommerseth | 2009-04-29 | 1 | -1/+34 |
| | | | | Reverted commit 75aaf67d43cf4a28fe8d3e07111dab75a0c4396d in addition | ||||
* | Only consider XML nodes which is of XML_ELEMENT_NODE when finding a specific ↵ | David Sommerseth | 2009-04-29 | 1 | -1/+2 |
| | | | | node | ||||
* | Don't return NULL in dmixml_GetContent(...) | David Sommerseth | 2009-04-29 | 1 | -1/+1 |
| | |||||
* | Do not add XML values if input is "(null)" | David Sommerseth | 2009-04-29 | 1 | -3/+10 |
| | |||||
* | Added right trim of xml data | David Sommerseth | 2009-04-29 | 1 | -0/+7 |
| | |||||
* | Added more XML functions | David Sommerseth | 2009-04-29 | 1 | -0/+53 |
| | |||||
* | Added missing copyright details | David Sommerseth | 2009-04-29 | 1 | -1/+4 |
| | |||||
* | Added dmixml.[ch] - helper function for generating XML nodes | David Sommerseth | 2009-04-29 | 1 | -0/+140 |