| 1 |
1.6.17 2014-01-10 |
| 2 |
* Added ldns_rdf.data_as_bytearray(). The method returns a bytearray object |
| 3 |
containing rdf data. |
| 4 |
* Changed the behaviour of ldns_resolver.trusted_key() in order to prevent |
| 5 |
memory corruption and leaks. |
| 6 |
* Fixed memory leaks when destroying ldns_resolver. |
| 7 |
* Removed ldns_pkt.section_count(), ldns_resolver.set_searchlist_count() |
| 8 |
because it is marked static in the library. |
| 9 |
* Added ldns_pkt.new(), ldns_resolver.new(). |
| 10 |
* Marked as returning new object ldns_pkt.get_section_clone(), |
| 11 |
ldns_resolver.get_addr_by_name(), ldns_resolver.get_name_by_addr(), |
| 12 |
ldns_resolver.search(). |
| 13 |
* Added push cloning for ldns_pkt.safe_push_rr(), |
| 14 |
ldns_pkt.safe_push_rr_list(), ldns_pkt.set_additional(), |
| 15 |
ldns_pkt.set_answer(), ldns_pkt.set_answerfrom(), |
| 16 |
ldns_pkt.set_authority(), ldns_pkt.set_edns_data(), |
| 17 |
ldns_pkt.set_question(), ldns_pkt.set_tsig(), |
| 18 |
ldns_resolver.set_dnssec_anchors(), ldns_resolver.set_domain(). |
| 19 |
* Added pull cloning for ldns_pkt.answerfrom(), ldns_pkt.edns_data(), |
| 20 |
ldns_pkt.tsig(), ldns_resolver.axfr_last_pkt(), |
| 21 |
ldns_resolver.dnssec_anchors(), ldns_resolver.domain(), |
| 22 |
ldns_resolver.tsig_algorithm(), ldns_resolver.tsig_keydata(), |
| 23 |
ldns_resolver.tsig_keyname(). |
| 24 |
* Method ldns_rdf.reverse() now throws an exception when not applied |
| 25 |
on dname rdfs. This is to prevent assertion fails in ldns' C code. |
| 26 |
|
| 27 |
1.6.16 2012-11-13 |
| 28 |
* Fix typo in ldns_struct_pkt.opcode2str |
| 29 |
|
| 30 |
1.6.14 2012-10-23 |
| 31 |
* Added rich comparison methods for ldns_dname, ldns_rdf, ldns_rr and |
| 32 |
ldns_rr_list classes. |
| 33 |
* Added deprecation warnings into ldns_rr.new_frm_fp() and |
| 34 |
ldns_rr.new_frm_fp_l() and others. |
| 35 |
* Fixed ldns_rr.set_rdf(), which may cause memory leaks, because it |
| 36 |
returns new objects (in the scope of Python). Also it leaked memory, |
| 37 |
when the call was not successful. |
| 38 |
* Fixed ldns_get_rr_list_hosts_frm_file, marked as newobject. |
| 39 |
* Fixed ldns_rr_list.cat() to return bool as mentioned in documentation. |
| 40 |
* Fixed ldns_rr_list_cat_clone, marked as newobject. |
| 41 |
* Fixed ldns_rr_list.new_frm_file(). Exception argument was invalid. |
| 42 |
* Fixed ldns_rr_list.push_rr() to return bool as mentioned in |
| 43 |
documentation. |
| 44 |
* Fixed ldns_rr_list.push_rr_list() to return bool as mentioned in |
| 45 |
documentation. |
| 46 |
* Fixed ldns_rr_list.set_rr(), which caused memory corruption, double free |
| 47 |
problems and memory leaks. (The wrapper used original function instead |
| 48 |
of its push cloned variant which was missing.) |
| 49 |
* Fixed ldns_rr_list.set_rr_count(), added python exception raise in order |
| 50 |
to avoid assertion failure. |
| 51 |
* Fixed ldns_rr_list.subtype_by_rdf(), marked as newobject. |
| 52 |
* Added ldns_rr.to_canonical(), ldns_rr.is_question(), |
| 53 |
ldns_rr.type_by_name(), ldns_rr.class_by_name(), ldns_rr_list.new(), |
| 54 |
ldns_rr.set_question(). |
| 55 |
* Modified ldns_rr_list.owner() and ldns_rr.owner(), now returns ldns_dname. |
| 56 |
* Fixed assertion failures for several methods when receiving incorrect but |
| 57 |
syntactically valid arguments (i.e., ldns_rr.a_address(), |
| 58 |
ldns_rr.dnskey_algorithm(), ldns_rr.dnskey_flags(), |
| 59 |
ldns_rr.dnskey_key(), ldns_rr.dnskey_protocol(), |
| 60 |
ldns_rr.mx_exchange(), ldns_rr.mx_preference(), ldns_rr.ns_nsdname(), |
| 61 |
ldns_rr.owner(), ldns_rr.rdf(), ldns_rr.rrsig_algorithm(), |
| 62 |
ldns_rr.rrsig_expiration(), ldns_rr.rrsig_inception(), |
| 63 |
ldns_rr.rrsig_keytag(), ldns_rr.rrsig_labels(), ldns_rr.rrsig_origttl(), |
| 64 |
ldns_rr.rrsig_sig(), ldns_rr.rrsig_signame(), |
| 65 |
ldns_rr.rrsig_typecovered(), ldns_rr_list.owner(), ldns_rr_list.rr()) |
| 66 |
* Fixed ldns_rr.a_address(), which was asserting when called |
| 67 |
on non A or AAAA type rr. Now returns None when fails. |
| 68 |
* Added scripts for testing the basic functionality of the ldns_rr, |
| 69 |
ldns_rr_descriptor and ldns_rr_list class code. |
| 70 |
* Improved documentation of ldns_rr, ldns_rr_descriptor and ldns_rr_list. |
| 71 |
* Fixed automatic conversion from Python string to ldns_rdf and |
| 72 |
ldns_dname. Caused memory corruption when using Python 3. |
| 73 |
* The Python 3 wrapper code now raises TypeError instead of ValueError |
| 74 |
when receiving a non FILE * argument when it should be a FILE *. |
| 75 |
* Fixed wrong handling of _ldns_rr_list_free() and |
| 76 |
_ldns_rr_list_deep_free() when compiling with LDNS_DEBUG directive. |
| 77 |
* Fixed malfunctioning ldns.ldns_rdf_new_frm_fp_l(). |
| 78 |
* Fixed malfunctioning ldns_drf.absolute() and ldns_dname.absolute(). |
| 79 |
* Marked several functions related to ldns_rdf and ldns_buffer as |
| 80 |
returning new objects. |
| 81 |
* Method operating on ldns_dnames and returning dname ldns_rdfs now |
| 82 |
return ldns_dname instances. |
| 83 |
* Improved documentation of ldns_buffer, ldns_rdf and ldns_dname |
| 84 |
classes. |
| 85 |
* Methods ldns_buffer.available() and ldns_buffer.available_at() now |
| 86 |
return bool types as described in the documentation. |
| 87 |
* Added scripts for testing the basic functionality of the ldns_buffer, |
| 88 |
ldns_rdf, ldns_dname class code. |
| 89 |
* Added deprecation warnings to ldns_rdf methods operating on dname |
| 90 |
rdfs. The user is encouraged to converts dname ldns_rdfs to |
| 91 |
ldns_dnames. |
| 92 |
* Extended ldns_dname constructor to accept ldns_rdfs containing dnames. |