Commit Graph

378 Commits

Author SHA1 Message Date
Craig E. Despeaux db507121cf Added tests for getdns_cancel_callback(). 2014-01-06 14:31:01 -05:00
Craig E. Despeaux c736df8a89 Added globals to support getdns_cancel_callback() tests.
Fixed macro evaluation problem in ASSERT_RC.
2014-01-06 12:59:43 -05:00
Craig E. Despeaux c8a7180a3a Added tests for context create and destroy 2014-01-02 13:46:23 -05:00
Craig E. Despeaux 6ae6ce3bbb GIT should ignore check_getdns 2014-01-02 13:45:48 -05:00
Craig E. Despeaux 0f1e27d0ba Merge remote branch 'origin/develop' into feature/check_examples 2014-01-02 13:43:23 -05:00
Melinda Shore 740ad82822 cast argument to getdns_convert_dns_name_to_fqdn() in example-reverse to char * to keep compiler happy 2013-12-31 17:05:52 -08:00
Glen Wiley 3248d223cd added prototype for remove_name 2013-12-27 09:35:47 -05:00
Craig E. Despeaux c18d406389 Implemented the rest of Neel's review feedback. 2013-12-20 16:47:59 -05:00
Craig E. Despeaux c1f7ced032 Implemented most of Neel's review feedback. 2013-12-20 14:08:19 -05:00
Craig E. Despeaux d9c3df6ce8 Added test suites for getdns_list_get_length() and getdns_list_get_data_type().
Removed any macros that performed variable declarations.
2013-12-20 11:20:57 -05:00
Craig E. Despeaux b35f533ce3 A little cleanup to eliminate some compile warnings. 2013-12-20 00:00:41 -05:00
Bryan Graham 181111fa69 delete check_getdns_address_sync.c check_getdns_general_sync.c 2013-12-19 19:44:54 -05:00
Bryan Graham 01c70b73c9 refactoring: check_getdns_common.h check_getdns_common.c check_getdns.c, tests are now in header files 2013-12-19 19:36:41 -05:00
Craig E. Despeaux 5e08bbc347 Removed debug related printf. 2013-12-19 09:42:36 -05:00
Craig E. Despeaux 09631e038b New source file for getdns_general and updates to getdns_general_sync. 2013-12-18 16:23:07 -05:00
Bryan Graham ae3b661ed9 added check_getdns_address_sync.c 2013-12-17 19:50:40 -05:00
Craig E. Despeaux 6d0bc40a13 Added unit test program that uses check. 2013-12-17 16:03:10 -05:00
Neel Goyal 8792fe63a2 Fix issue #44 - remove extra i++ 2013-12-13 15:49:26 -05:00
Neel Goyal cc8fc8aaf7 Fix a typo for issue #43 fix 2013-12-12 14:01:37 -05:00
Neel Goyal 52befefdf8 Merge branch 'develop' of github.com:verisign/getdns into develop 2013-12-12 14:00:04 -05:00
Neel Goyal 93211cc99a Fix for issue #43 - add additional header fields 2013-12-12 13:59:53 -05:00
Glen Wiley 46b584117a Merge branch 'develop' of https://github.com/verisign/getdns into develop 2013-12-12 07:45:27 -05:00
Glen Wiley aed5047216 updates to man pages 2013-12-12 07:45:07 -05:00
Melinda Shore 80e29b53bb reverted error text to spec 2013-12-11 18:06:53 -08:00
Willem Toorop d987ec0440 Update examples in the API specification
They are now actually working with our implementation
2013-12-11 23:55:35 +01:00
Willem Toorop 372c6772b0 Merge branch 'develop' of github.com:verisign/getdns into develop
Conflicts:
	src/test/Makefile.in
2013-12-11 23:45:47 +01:00
Willem Toorop f2739d7bcc Merge branch 'fix_examples' into develop 2013-12-11 23:43:22 +01:00
Willem Toorop 51f0299137 Fix example-reverse (and reverse_address)
From the example it is clear that network format addresses are expected for getdns_hostname*
2013-12-11 23:41:21 +01:00
Neel Goyal 0c0d5b63ae Remove a test that shouldn't have been added 2013-12-11 16:46:56 -05:00
Willem Toorop 8a8accea42 Copied examples from spec and fixed everything ;)
Well.. fixed the examples so they work and free memory
and fixed our code to return correct dict format with "just_address_answers"

Now tests are probably broken, and also the example-reverse needs some attention
2013-12-11 16:21:49 +01:00
Neel Goyal 1e9f716b6f Check for answer on getdns_list_get methods 2013-12-10 18:27:28 -05:00
W.C.A. Wijngaards 601b821c43 Edit date and version number into the manpages with sed. 2013-12-10 11:44:36 +01:00
W.C.A. Wijngaards b736e38886 Make and install new manpages. Easy list of manpages in Makefile.in. 2013-12-10 10:32:57 +01:00
Glen Wiley 668e493d9b added text to man pages - still need some work but getting there 2013-12-09 19:28:09 -05:00
ngoyal 9c003c8963 Update README.md 2013-12-09 14:22:21 -05:00
Neel Goyal 7db1610c95 Have add item default to adding an int of value 0 2013-12-09 14:11:17 -05:00
Neel Goyal 969ce94358 Merge branch 'develop' of github.com:verisign/getdns into develop 2013-12-09 12:55:42 -05:00
Neel Goyal db23854041 Fix NPE (Issue #42) 2013-12-09 12:55:33 -05:00
Willem Toorop 4c7a322d71 Merge branch 'develop' of github.com:verisign/getdns into develop 2013-12-09 16:26:48 +01:00
Willem Toorop 391fbdfbd1 getdns_list_set_* on list length mean append 2013-12-09 16:26:18 +01:00
W.C.A. Wijngaards 5bb291ddb6 Doxyfile had wrong version number inside. 2013-12-09 16:21:02 +01:00
W.C.A. Wijngaards 031f26801a Solaris port, add -D flag to get strdup. 2013-12-09 09:49:28 +01:00
W.C.A. Wijngaards e80082aeaf autoconf and autoheader recent configure.ac change 2013-12-09 09:11:31 +01:00
Willem Toorop 78ca11d4c0 Merge branch 'extended_mem_funcs' into develop 2013-12-09 00:54:58 +01:00
Willem Toorop 3dfe92da64 extended memory functions 2013-12-09 00:52:38 +01:00
Willem Toorop c80cab6929 getdns_strdup, getdns_bindata_(copy|destroy)
Restructure a bit to make that work too
2013-12-09 00:05:18 +01:00
Willem Toorop 70e5193b3f Context has own mem-funcs
It keeps using mem funcs for internal state that were given upon context creation.
Only dicts and lists are created with mem funcs set by getdns_context_set_memory_functions
2013-12-08 23:15:57 +01:00
Willem Toorop 8fe9da6503 Header functions, structs/unions and macro's 2013-12-08 22:56:34 +01:00
Willem Toorop 6c5b23f53a Merge branch 'develop' of github.com:verisign/getdns into develop 2013-12-06 16:29:27 +01:00
Willem Toorop 0e8e8de97d [API 0.370] getdns_context_set_memory_function*s*! 2013-12-06 16:02:32 +01:00