Commit Graph

462 Commits

Author SHA1 Message Date
Neel Goyal 8e144d5648 Convert test programs to not use libevent. 2014-03-07 14:32:35 -05:00
Neel Goyal c819553c58 Add return code to _destroy methods. Prevent destroy in callbacks for the context firing them 2014-03-07 10:42:37 -05:00
Willem Toorop a1351147da context->return_dnssec_status uninitialized
in getdns_context_create.

Also fix memory leak on create_default_namespaces error.
2014-03-07 11:18:23 +01:00
Glen Wiley 9c5d8aa687 fixed detecting libevent v1 if libevent v2 is not available 2014-03-07 02:50:00 -05:00
Glen Wiley dffcb32a97 added LDFLAGS specific to extension libs 2014-03-07 02:19:32 -05:00
Neel Goyal 1ca679d313 Fix for make uninstall error 2014-03-06 22:10:50 -05:00
ngoyal 3c399b3b19 Update Makefile.in 2014-03-06 16:14:39 -05:00
Glen Wiley 6d661193e7 Merge branch 'master' of https://github.com/getdnsapi/getdns 2014-03-06 11:44:16 -05:00
Glen Wiley 8036639f91 do not build libev/uv/event extensions by default, handle --with/without 2014-03-06 11:43:18 -05:00
Willem Toorop 2362dc0880 review context destroy from cancel callback 2014-03-06 14:57:22 +01:00
Neel Goyal 3f8e8ac098 Possible fix for #21 and tests 2014-03-05 22:13:37 -05:00
Neel Goyal 6ab9ce861b Fix a silly bug in getdns_context_set_return_dnssec_status 2014-03-05 10:42:36 -05:00
Saúl Ibarra Corretgé 785ebf4ed6 Handle possible allocation failure 2014-03-05 14:27:15 +01:00
Saúl Ibarra Corretgé edd2c81bc5 Remove uneeded check
libuv will always pass the handle to the close callback
2014-03-05 14:27:15 +01:00
Saúl Ibarra Corretgé d51840efd7 Removed uv_data->polling field
It's not necessary as uv_is_active can be used to check if a handle
is started or not.
2014-03-05 14:27:15 +01:00
Neel Goyal 108f72bc36 Fix for issue #18 - allow destroy in callback 2014-03-04 17:00:18 -05:00
Neel Goyal 28992ff992 Add missing cpp guards for getdns_extra.h 2014-03-03 16:08:41 -05:00
Neel Goyal b548cce9d8 Add a method to change unbound async mode (getdns_extra) between fork and thread 2014-02-28 19:24:09 -05:00
ngoyal f149dedaaf Fix an install error for getdns_extra.h 2014-02-28 15:33:14 -05:00
Neel Goyal 2b19661e77 Define u_char if including event.h for libevent1 2014-02-25 14:21:44 -05:00
Willem Toorop d7c5122565 Merge branch 'develop' into release_20140225 2014-02-25 14:26:34 +01:00
Willem Toorop d2c890ab6a Fill in <organization> place holder.
s/the name of the <organization>/the names of the copyright holders/g
2014-02-25 14:23:19 +01:00
Willem Toorop 8d77505219 s/Versign/Verisign/g in all files 2014-02-25 14:12:33 +01:00
Glen Wiley bea6fde7bf relative references to libtool to smooth over binary dist build 2014-02-24 18:59:25 -05:00
Neel Goyal 72bb33ca2e Fix an issue builing extensions. Make sure to look for the headers as well as the libs 2014-02-24 16:35:48 -05:00
Glen Wiley ba5c7beec4 tweaks to build binary dist tarball 2014-02-24 14:53:14 -05:00
Glen Wiley 8068e02ffc Merge branch 'develop' of https://github.com/verisign/getdns into develop 2014-02-24 09:26:56 -05:00
Glen Wiley 6dd03b1cdc fixed spelling of NLnet in licenses, fixed make clean errs in docs 2014-02-24 09:26:20 -05:00
Willem Toorop 50a60db918 [API 0.5] Print result with example-reverse 2014-02-24 15:17:40 +01:00
Neel Goyal deade2b8bb Update extensions to add/remove persistent event based on request count 2014-02-21 18:42:04 -05:00
Neel Goyal 91daf87f4b Update check_getdns - build one per event loop abstraction 2014-02-21 15:42:06 -05:00
Neel Goyal 2594d3d575 Modify check getdns to only use default loop. Adding changes for extensions in next commit 2014-02-21 14:08:37 -05:00
Neel Goyal 2f0bcd665b Compile examples 2014-02-21 12:47:33 -05:00
Neel Goyal 80703de636 Begin refactor out extensions into libs. 2014-02-21 12:23:20 -05:00
Willem Toorop 6e8ace78ff Match examples with current spec [API 0.402] 2014-02-21 12:55:34 +01:00
Neel Goyal 7c30f3710a More code review changes 2014-02-20 17:35:27 -05:00
Neel Goyal abebc0e2b6 Create ldns_rbtree structs with mem functs 2014-02-20 17:05:15 -05:00
Neel Goyal 524783804c Fix some issues per code review 2014-02-20 16:17:41 -05:00
Neel Goyal 4f266d1a88 Change make test to only call check_getdns 2014-02-20 15:51:51 -05:00
Neel Goyal 48fea8d9e0 Add getdns_context_set_return_dnssec_status 2014-02-20 15:42:10 -05:00
Craig E. Despeaux 097e6936cb Fix failing tests 2014-02-20 11:53:57 -05:00
Glen Wiley 344893f87f fixed license and copyright notices 2014-02-20 09:12:19 -05:00
Willem Toorop f009158a74 GETDNS_COMPILATION_COMMENT & include spec in dist 2014-02-20 14:07:04 +01:00
Neel Goyal 59b47a3470 Add getdns_context_get_api_information 2014-02-19 16:22:55 -05:00
Neel Goyal a80d22f07f Add stub for rebuilding unbound ctx. Only allow updates to certain context fields if unbound query hasn't been sent. 2014-02-19 14:56:37 -05:00
Neel Goyal 38904780f2 Add start of api_info. Add package url for autoconf 2014-02-19 13:15:27 -05:00
Willem Toorop 96b9f095a7 Implement getdns_root_trust_anchor 2014-02-19 16:56:00 +01:00
Willem Toorop 2630e21ac9 Typedeffed the structs away in getdns.h
Sync with API 0.400
2014-02-19 15:14:43 +01:00
Willem Toorop 5b70ed9b1a Merge branch 'develop' of github.com:verisign/getdns into develop 2014-02-19 14:05:06 +01:00
Willem Toorop f418c2f1ce rcodes, opcodes and classes defines
Sync with API 0.399
2014-02-19 14:02:02 +01:00