summaryrefslogtreecommitdiff
path: root/gio/tests/resolver.c
AgeCommit message (Collapse)AuthorFilesLines
2021-10-29Imported Upstream version 2.67.1upstream/2.67.1DongHun Kwak1-1/+1
2019-12-03Imported Upstream version 2.61.1Hyunjee Kim1-1/+3
2017-09-29Imported Upstream version 2.53.3DongHun Kwak1-1/+1
Change-Id: I620ef00381ff01f0dd7c6d644b3c0a88e29aaedb Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
2014-01-31Updated FSF's addressDaniel Mustieles1-3/+1
2013-11-04gio/tests: Clean up inclusion of unistd.hChun-wei Fan1-0/+2
Include unistd.h only on *NIX and define items as necessary on Windows, also replace instances of ssize_t with the GLib-equivilant gssize so to fix the build on platforms that do not have ssize_t, such as Visual C++. https://bugzilla.gnome.org/show_bug.cgi?id=711047
2012-10-16Remove g_type_init() callsRyan Lortie1-2/+0
Very many testcases, some GLib tools (resource compiler, etc) and GApplication were calling g_type_init(). Remove those uses, as they are no longer required. https://bugzilla.gnome.org/show_bug.cgi?id=686161
2012-04-16Add support for MX, TXT, NS and SOA records to GResolverStef Walter1-22/+259
* Add resolver functions for looking up DNS records of various types. Currently implemented: MX, TXT, SOA, SRV, NS * Return records as GVariant tuples. * Make the GSrvTarget lookups a wrapper over this new functionality. * Rework the resolver test so that it has support for looking up MX, NS, SOA, TXT records, and uses GOptionContext https://bugzilla.gnome.org/show_bug.cgi?id=672944
2011-10-13g_thread_new: never failRyan Lortie1-3/+1
Remove the GError argument from g_thread_new() and abort on failure. Introduce g_thread_try() for those who want to handle failure.
2011-10-13thread: nuke the concept of 'joinable'Ryan Lortie1-1/+7
And remove the 'joinable' argument from g_thread_new() and g_thread_new_full(). Change the wording in the docs. Clarify expectations for (deprecated) g_thread_create().
2011-10-10Don't use deprecated GThread API in gio testsMatthias Clasen1-1/+1
2011-09-09Remove !g_thread_supported() codepaths in gioDan Winship1-30/+11
In particular, remove the libasyncns import, which was only used by GUnixResolver, which is only used when threads are not available. Likewise remove GWin32Resolver, and the hacky broken non-threaded parts of GIOScheduler. https://bugzilla.gnome.org/show_bug.cgi?id=616754
2010-12-07gio: Add a count to the resolver test for number of enumeratorsBenjamin Otte1-14/+26
This adds the nice stress-test feature of having 5 enumerators running at the same time. Yay!
2009-11-11BugĀ 591216 - Warning building resolver.oRyan Lortie1-1/+4
check result of write system call to quiet compiler warning
2009-08-19Re-run res_init() when resolv.conf changesDan Winship1-0/+3
libc caches the contents of resolv.conf, so if it changes (eg, because the network state changed), we need re-run res_init(). http://bugzilla.gnome.org/show_bug.cgi?id=584246
2009-07-05Revert "Move gio tests from gio/tests/ to tests/gio/"Matthias Clasen1-0/+506
This reverts commit 2262d76b33094304ece0d0d9cd5920682599a49b. Move GIO tests back to where they belong.
2009-07-01Move gio tests from gio/tests/ to tests/gio/Benjamin Otte1-506/+0
This avoids getting tests built every time when working on libgio and running make in the gio/ directory.
2009-06-29fix warnings from gcc compilation with my mad CFLAGSBenjamin Otte1-3/+3
2009-06-15Don't use deprecated GLib apiMatthias Clasen1-1/+1
Fixes bug 585673.
2009-04-22GResolver wrappers: GNetworkAddress, GNetworkService, GSocketConnectableDan Winship1-6/+135
Higher-level wrappers around GResolver. GSocketConnectable provides an interface for synchronously or asynchronously iterating multiple socket addresses, with GNetworkAddress and GNetworkService providing interfaces based on hostname and SRV record resolution. Part of #548466.
2009-04-22Add GResolver, a glib-ish interface to DNSDan Winship1-0/+377
GResolver provides asynchronous (and synchronous-but-cancellable) APIs for resolving hostnames, reverse-resolving IP addresses back to hostnames, and resolving SRV records. Part of #548466.