Willem Toorop
a8fac29a66
Handle more harmless I/O error cases +
...
- never exit on I/O errors
- never stop listening on I/O errors
- extended platfrom.[ch] with _getdns_strerror()
2017-11-03 13:50:13 +01:00
Willem Toorop
9fa6ab5994
Clang pragma's with clang only
2017-03-25 20:22:34 -05:00
Willem Toorop
426fc238da
Fixes for FreeBSD warnings when compiling tests
...
/usr/local/include/check.h:454:75: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
_ck_assert_failed(__FILE__, __LINE__, "Assertion '"#expr"' failed" , ## __VA_ARGS__, NULL)
/usr/local/include/check.h:454:75: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments]
2017-03-22 14:10:15 +01:00
Willem Toorop
55cdd8fed3
Fix pedantic warnings in unit tests
2016-12-08 22:33:10 +01:00
Willem Toorop
a5748be5fb
Unit test fixes for CFLAGS=-Wextra
2016-12-08 14:39:38 +01:00
Willem Toorop
af47cf81a3
Fix reversed IPv6 to domain under our control
2015-02-19 10:31:18 +01:00
Willem Toorop
f9a0974e5a
just_address_answers only with getdns_address()
...
We gave it always, but reading the spec it seems it is only required when a
call to getdns_address() or getdns_address_sync() was made.
2015-01-29 12:29:05 +01:00
Willem Toorop
736f5ff157
No executable flags on source files
...
Thanks Paul Wouters
2015-01-20 12:16:49 +01:00
Willem Toorop
a1be0c985d
Miscelaneous fixes that came out of the unit tests
...
TODO: libuv still has issues. Do we really need a close callback?
2014-10-15 01:13:39 +02:00
saradickinson
d9addba883
Second pass at implementing per query namespaces!
2014-09-25 15:59:05 +00:00
Willem Toorop
57b51a5dcc
prefer includes local to builddir
2014-05-19 15:50:34 +02:00
Neel Goyal
501bc14de6
Update destroys to return void. Assert failure in context destroy. Update tests
2014-03-11 11:43:41 -04: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
Neel Goyal
108f72bc36
Fix for issue #18 - allow destroy in callback
2014-03-04 17:00:18 -05: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
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
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
db2556fb5d
move to enum types leftovers in tests
2014-02-09 21:58:50 +01:00
Nitin Singh
527b750b7e
add some more new test and fix auto merge issue on git pull
2014-02-08 11:42:54 -05:00
Neel Goyal
3af362e2fd
Fix some major bugs in extensions when clearing timeout. Add libev
2014-02-06 00:24:26 -05:00
Neel Goyal
562e2dd6df
Add libuv support. Change event loop handling in tests
2014-02-05 00:01:55 -05:00
Neel Goyal
86896652a8
Fix tests for non eventloop
2014-02-03 19:57:10 -05:00
Neel Goyal
6a07664ef9
Fix an issue with timeouts in the async
2014-02-03 16:33:50 -05:00
Nitin Singh
a0d52e95ed
add new test set_timeout and removed printf
2014-01-31 09:59:44 -05:00
Nitin Singh
1f6bbfb711
added test for display ip addresses and context_set_context_update
2014-01-30 14:24:22 -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
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
b35f533ce3
A little cleanup to eliminate some compile warnings.
2013-12-20 00:00:41 -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