aboutsummaryrefslogtreecommitdiff
path: root/contrib/python/Changelog
blob: aaa57e13692b5347e4bc5dbc6be8e200c81499dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
1.6.16	2012-11-13
	* Fix typo in ldns_struct_pkt.opcode2str

1.6.14	2012-10-23
	* Added rich comparison methods for ldns_dname, ldns_rdf, ldns_rr and
	  ldns_rr_list classes.
	* Added deprecation warnings into ldns_rr.new_frm_fp() and
	  ldns_rr.new_frm_fp_l() and others.
	* Fixed ldns_rr.set_rdf(), which may cause memory leaks, because it
	  returns new objects (in the scope of Python). Also it leaked memory,
	  when the call was not successful.
	* Fixed ldns_get_rr_list_hosts_frm_file, marked as newobject.
	* Fixed ldns_rr_list.cat() to return bool as mentioned in documentation.
	* Fixed ldns_rr_list_cat_clone, marked as newobject.
	* Fixed ldns_rr_list.new_frm_file(). Exception argument was invalid.
	* Fixed ldns_rr_list.push_rr() to return bool as mentioned in
	  documentation.
	* Fixed ldns_rr_list.push_rr_list() to return bool as mentioned in
	  documentation.
	* Fixed ldns_rr_list.set_rr(), which caused memory corruption, double free
	  problems and memory leaks. (The wrapper used original function instead
	  of its push cloned variant which was missing.)
	* Fixed ldns_rr_list.set_rr_count(), added python exception raise in order
	  to avoid assertion failure.
	* Fixed ldns_rr_list.subtype_by_rdf(), marked as newobject.
	* Added ldns_rr.to_canonical(), ldns_rr.is_question(),
	  ldns_rr.type_by_name(), ldns_rr.class_by_name(), ldns_rr_list.new(),
	  ldns_rr.set_question().
	* Modified ldns_rr_list.owner() and ldns_rr.owner(), now returns ldns_dname.
	* Fixed assertion failures for several methods when receiving incorrect but
	  syntactically valid arguments (i.e., ldns_rr.a_address(),
	  ldns_rr.dnskey_algorithm(), ldns_rr.dnskey_flags(),
	  ldns_rr.dnskey_key(), ldns_rr.dnskey_protocol(),
	  ldns_rr.mx_exchange(), ldns_rr.mx_preference(), ldns_rr.ns_nsdname(),
	  ldns_rr.owner(), ldns_rr.rdf(), ldns_rr.rrsig_algorithm(),
	  ldns_rr.rrsig_expiration(), ldns_rr.rrsig_inception(),
	  ldns_rr.rrsig_keytag(), ldns_rr.rrsig_labels(), ldns_rr.rrsig_origttl(),
	  ldns_rr.rrsig_sig(), ldns_rr.rrsig_signame(),
	  ldns_rr.rrsig_typecovered(), ldns_rr_list.owner(), ldns_rr_list.rr())
	* Fixed ldns_rr.a_address(), which was asserting when called
	  on non A or AAAA type rr. Now returns None when fails.
	* Added scripts for testing the basic functionality of the ldns_rr,
	  ldns_rr_descriptor and ldns_rr_list class code.
	* Improved documentation of ldns_rr, ldns_rr_descriptor and ldns_rr_list.
	* Fixed automatic conversion from Python string to ldns_rdf and
	  ldns_dname. Caused memory corruption when using Python 3.
	* The Python 3 wrapper code now raises TypeError instead of ValueError
	  when receiving a non FILE * argument when it should be a FILE *.
	* Fixed wrong handling of _ldns_rr_list_free() and
	  _ldns_rr_list_deep_free() when compiling with LDNS_DEBUG directive.
	* Fixed malfunctioning ldns.ldns_rdf_new_frm_fp_l().
	* Fixed malfunctioning ldns_drf.absolute() and ldns_dname.absolute().
	* Marked several functions related to ldns_rdf and ldns_buffer as
	  returning new objects.
	* Method operating on ldns_dnames and returning dname ldns_rdfs now
	  return ldns_dname instances.
	* Improved documentation of ldns_buffer, ldns_rdf and ldns_dname
	  classes.
	* Methods ldns_buffer.available() and ldns_buffer.available_at() now
	  return bool types as described in the documentation.
	* Added scripts for testing the basic functionality of the ldns_buffer,
	  ldns_rdf, ldns_dname class code.
	* Added deprecation warnings to ldns_rdf methods operating on dname
	  rdfs. The user is encouraged to converts dname ldns_rdfs to
	  ldns_dnames.
	* Extended ldns_dname constructor to accept ldns_rdfs containing dnames.