summaryrefslogtreecommitdiff
path: root/gio/gnetworkaddress.c
Commit message (Collapse)AuthorAgeFilesLines
* networkaddress: Fix userinfo parsing in urisMatthias Clasen2012-04-081-5/+5
| | | | | | The code that is checking the userinfo part was accidentally given a pointer to the end of the userinfo, so it was not checking the right portion of the string at all.
* docs: Fix GNetworkAddress typoDavid King2012-02-211-1/+1
| | | | g_network_address_parse_host() → g_network_address_parse().
* GIO: add lots of annotations for Vala bindingsEvan Nemerson2012-01-111-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=667447
* gio static fixupsRyan Lortie2011-10-161-0/+1
|
* g_network_address_parse: deprecate symbolic port namesDan Winship2011-09-031-2/+6
| | | | | | | (which shouldn't ever have been part of the API. Grr.) Solaris /etc/services doesn't even have "http", which was causing tests/network-address to fail...
* gio: Make enumerating a GNetworkAddress work more than onceBenjamin Otte2010-12-071-44/+50
| | | | | | Previously, the code only initialized the enumerator if the address hadn't had cached addresses. But creating an enumerator cached the addresses, so the second one failed to work.
* Use g_simple_async_result_{new_,}take_errorChristian Persch2010-11-031-2/+1
| | | | Bug #633685.
* Add a lot of missing annotationsJohan Dahlin2010-09-241-4/+4
|
* Fix IPv6 parsing in _g_uri_parse_authority, add _g_uri_from_authorityDan Winship2010-09-101-3/+46
| | | | | | Fixes connections to IPv6 address literals. https://bugzilla.gnome.org/show_bug.cgi?id=629259
* Implemented proxy_enumerate() for all ConnectablesNicolas Dufresne2010-08-191-2/+26
| | | | | | | | This patch implements method proxy_enumerate from GSocketConnectable for all connectables (GNetworkAddress, GNetworkService, GInetSocketAddress and GUnixSocketAddress). Reviewed-by: Dan Winship <danw@gnome.org>
* Added proxy_enumerate method to GSocketConnectableNicolas Dufresne2010-08-191-1/+1
| | | | Reviewed-by: Dan Winship <danw@gnome.org>
* Added method g_network_address_parse_uri()Nicolas Dufresne2010-08-191-0/+296
| | | | | | | | This method allow creating a network address from a URI. If no port is found in the URI, the default_port parameter will be used. Note that new property scheme is there for future TLS implementation. Reviewed-by: Dan Winship <danw@gnome.org>
* Drop an unneeded ifMatthias Clasen2010-07-301-2/+1
|
* gio/: fully remove gioalias hacksRyan Lortie2010-07-071-4/+0
|
* Fix GNetworkAddress skipping addresses when enumeratingSjoerd Simons2009-09-111-5/+0
| | | | | | | | g_network_address_address_enumerator_next_finish takes the first item of the address list and moves the pointer to the next one, so we shouldn't do the same in g_network_address_address_enumerator_next_async function Fixes bug #593941
* Misc networking build fixesDan Winship2009-06-011-7/+1
| | | | | http://bugzilla.gnome.org/show_bug.cgi?id=580301 http://bugzilla.gnome.org/show_bug.cgi?id=584176
* Fix make checkMatthias Clasen2009-05-281-1/+1
|
* Documentation and coding style fixupsMatthias Clasen2009-05-271-20/+24
| | | | Lots of pedanic changes.
* Include stdlib.h to avoid warningAlexander Larsson2009-05-151-0/+1
| | | | Fixes a "implicit declaration of function ‘strtol’" warning
* Add g_network_address_parseAlexander Larsson2009-05-141-0/+164
| | | | | This is useful if you want to allow users to specify the hostname and optionally a port.
* GResolver wrappers: GNetworkAddress, GNetworkService, GSocketConnectableDan Winship2009-04-221-0/+462
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.