summaryrefslogtreecommitdiff
path: root/gio/src/resolver.hg
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary _IGNORE()Kjell Ahlstedt2015-07-301-5/+0
| | | | | | | | | | * gio/src/inputstream.hg: * gio/src/notification.hg: * gio/src/outputstream.hg: * gio/src/resolver.hg: * gio/src/socketconnection.hg: Remove _IGNORE() directives that have become unnecessary when the .defs files don't contain information from private.h files. gmmproc warns about unnecessary _IGNORE().
* Gio::SocketClient: Added some methods.Murray Cumming2013-03-251-0/+3
| | | | | * gio/src/desktopappinfo.hg: Added has_key(), get_string() and get_boolean().
* Documentation: Fix many warnings from Doxygen.Kjell Ahlstedt2013-01-271-4/+2
| | | | | | | | | | | | | | | * gio/src/gio_docs_override.xml: * glib/src/glib_docs_override.xml: Move "Since: n.m" from the <return> to the <description> entries. gmmproc adds a period at the end of the @return Doxygen command, and Doxygen warns for "@newin{n,m}.". * glib/glibmm/interface.h: * glib/glibmm/stringutils.h: * glib/glibmm/vectorutils.h: * gio/src/*.hg: * glib/src/*.hg: (Here "*" means "many", not "all") Examples of changes: Add missing @param. Change names of parameters, to make them equal in function declaration and @param command. Change "@name" to "@a name". Change "<ulink url=" to "<a href=".
* SocketConnection: Add connect*() and is_connected() methods.José Alburquerque2012-11-041-0/+1
| | | | | | | * gio/src/socketconnection.{ccg,hg}: Add connect(), connect_async(), connect_finish() and is_connected() methods (wrapping the corresponding C functions). * gio/src/resolver.hg: Add an _IGNORE.
* Resolver: Add lookup_records() and lookup_records_finish().José Alburquerque2012-10-301-4/+0
| | | | | | | | * glib/glibmm/containerhandle_shared.h: Add TypeTraits specializations for VariantBase (for the futre) and VariantContainerBase. * gio/src/resolver.hg: Add the new methods (mentioned above) because the VariantContainerBase TypeTraits specialization allows the vector utilities to convert to/from GVariants in a GList correctly.
* Resolver: Add the lookup_records_async() methods.José Alburquerque2012-10-291-0/+38
| | | | | | | | * gio/src/resolver.{ccg,hg}: Add the methods (cancellable and non-cancellable versions) adding TODO's about wrapping the remaining related methods (lookup_records() and lookup_records_finish()). * tools/m4/convert_gio.m4: Add a necessary enum conversion. * glib/src/variant.hg: Typo discovered while adding above methods.
* Strip trailing whitespace.Mark Vender2012-10-291-14/+14
| | | | | | | * gio/giomm/*.[h|cc]: * gio/src/*.[hg|ccg]: * glib/glibmm/*.[h|cc]: * glib/src/*.[hg|ccg]: Strip trailing whitespace. Bug #681072.
* Simplified lots of code by using the {?} _WRAP_METHOD() syntax.Murray Cumming2012-09-151-41/+3
| | | | | | | | | | | | | | | | | | | | | | * gio/src/application.[hg|ccg]: * gio/src/bufferedinputstream.[hg|ccg]: * gio/src/datainputstream.[hg|ccg]: * gio/src/dataoutputstream.[hg|ccg]: * gio/src/dbusconnection.[hg|ccg]: * gio/src/fileenumerator.[hg|ccg]: * gio/src/initable.[hg|ccg]: * gio/src/inputstream.[hg|ccg]: * gio/src/iostream.[hg|ccg]: * gio/src/outputstream.[hg|ccg]: * gio/src/resolver.[hg|ccg]: * gio/src/seekable.[hg|ccg]: * gio/src/socket.[hg|ccg]: * gio/src/socketaddressenumerator.[hg|ccg]: * gio/src/socketclient.[hg|ccg]: This relatively new gmmproc syntax lets us avoid the manual implementations and declarations just to have overloads without the Cancellable parameters. * gio/src/unixconnection.hg: This had no method overloads without Cancellable parameters but now it does.
* Dealt with several TODOs.Murray Cumming2011-02-151-8/+78
| | | | | * gio/src/*.[hg|ccg]: Mostly just adding hand-coded documentation, and changing some new methods to use std::vector.
* Resolver: lookup_service(), lookup_by_address(): Fix the reference counting.Murray Cumming2011-01-201-3/+21
| | | | | | * gio/src/resolver.[hg|ccg]: Use the correct OWNERSHIP_*, based on the documentation for the C functions. We must release both the list and the items.
* Remove the reduced API options and code, as discussed on mailing list.Murray Cumming2010-05-311-12/+0
| | | | | | | | | * configure.ac: Removed the --enable-api-exceptions, --enable-api-properties, --enable-api-vfuncs and --enable-api-default-signal-handlers options. * build/reduced.m4: Removed. * tools/m4/*.m4: * tools/pm/Output.pm: Remove any use of ifdefs and auto_ptr for reduced API. * *.[hg|ccg|h|cc]: Remove the idefed code.
* Regenerated method .defs. Added a Resolver signal.Murray Cumming2010-01-291-0/+4
| | | | | | | | | * gio/src/gio_enums.defs: Removed GSocketMsgFlags because it contained an #error and the values are non-numeric anyway. * gio/src/gio_methods.defs: Regenerated with h2defs.py * glib/src/glib_functions.defs: Regenerated with h2defs.py, removing badly-generated ones that try to mention function pointers. * gio/src/resolver.hg: Added reload signal.
* A bunch of minor doxygen cleanups around the treeJonathon Jongsma2010-01-031-1/+1
| | | | | Mostly correct the 'since 2.24' notation on all of the network classes, and fix up a variety of other little issues.
* Re-enable network IO stuff (Socket, Resolver, etc)Jonathon Jongsma2009-11-281-0/+6
| | | | | | | | | | | | | There is a bit of a problem with some of the async stuff that is exhibited by the included resolver example. For example, when run the example with the following arguments: ./resolver -c domain.com There are several critical warnings printed to the terminal, and I have not been able to debug it to find the cause yet. I think it must have something to with the lifetime of the enumerator object during the next_async() calls and sigc::bind, etc. but I can't figure it out yet.
* Add Network I/O classes to new documentation moduleJonathon Jongsma2009-09-081-0/+1
|
* Rename @since back to @newinDaniel Elstner2009-08-201-1/+1
| | | | | | | | | | | | * docs/reference/Doxyfile.in (ALIASES): Rename the @since alias back to its old name @newin, but otherwise keep the parameters. Apparently there is a @since command predefined in Doxygen which I hadn't noticed. It does seem to get overridden silently, but it is better not to rely on this. * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Output @newin instead of @since. * {glib,gio}/src/*.hg, {glib,gio}/{glib,gio}mm/*.h: Replace all uses of @since with @newin.
* Implement parametric Doxygen alias @since{m,n}Daniel Elstner2009-08-181-1/+1
| | | | | | | | | | | | * docs/reference/Doxyfile.in (ALIASES): Define a parametrized alias @since{major,minor} to replace the old @newin?p?* aliases which had to be defined manually for every version number used. (PREDEFINED): Predefine G_GNUC_NORETURN, G_GNUC_NULL_TERMINATED and G_GNUC_PURE to the empty expansion. Remove GTKMM_* macros. * tools/pm/DocsParser.pm (convert_tags_to_doxygen): Change "Since:" substitution to output the new generic @since alias. * {glib,gio}/src/*.hg, {glib,gio}/{glib,gio}mm/*.h: Change all uses of @newin?p?* to @since{major,minor}.
* add async versions of Resolver methodsJonathon Jongsma2009-07-161-2/+13
|
* add overloads for resolver methods without a cancellable objectJonathon Jongsma2009-07-161-3/+15
|
* Add Typetraits for SrvTarget so we can return a list of themJonathon Jongsma2009-06-181-20/+5
|
* Add initial wrappers for SocketConnectable, SocketAddressJonathon Jongsma2009-06-171-2/+4
|
* initial wrapping of Resolver, SrvTargetJonathon Jongsma2009-06-171-0/+87