summaryrefslogtreecommitdiff
path: root/gio/src/socketclient.ccg
Commit message (Collapse)AuthorAgeFilesLines
* Add Gio::giomm_SignalProxy_async_callback() with C linkageKjell Ahlstedt2023-03-311-9/+9
| | | | | and use it instead of SignalProxy_async_callback(). Part of issue #1
* Gio: Use _WRAP_METHOD(..., ignore_deprecations)Kjell Ahlstedt2021-11-261-13/+0
|
* Gio::SocketClient, TlsClientConnection: Ignore some deprecationsKjell Ahlstedt2021-11-241-0/+13
| | | | | | | g_socket_client_[set,get]_tls_validation_flags() and g_tls_client_connection_[set,get]_validation_flags() are deprecated in glib 2.72. They can't be deprecated in glibmm 2.70. Ignore the deprecations, so it will still be possible to compile with warnings=fatal.
* Meson build: No implicit_include_directoriesKjell Ahlstedt2021-03-261-1/+1
| | | | | | | It shall not be possible to find a glibmm header file with #include <xxx.h> instead of #include <glibmm/xxx.h>. Not fully fixed until https://github.com/mesonbuild/meson/issues/8562 has been fixed.
* Rewrite Gio::Tls[Client,Server]ConnectionImplKjell Ahlstedt2020-08-121-19/+0
| | | | | | | | | | | TlsConnection_Class::wrap_new() can wrap a C object in a TlsConnection, TlsClientConnectionImpl or TlsServerConnectionImpl depending on which interface, if any, the C object implements. No need for special wrap*() functions in Tls[Client,Server]Connection or SocketClient::signal_event(). This is similar to Gdk::DeviceWithPad.
* Gio::SocketClient::signal_event(): Fix wrapping of 'connection' paramKjell Ahlstedt2020-07-311-0/+19
| | | | | | | | | | | | The GIOStream* parameter in the 'event' signal can point to either a GSocketConnection or to a subclass of GTlsConnection that implements the GTlsClientConnection interface. If it implements the GTlsClientConnection interface, wrap it in a Gio::TlsClientConnectionImpl. Then a signal handler can do: auto tls_client_connection = std::dynamic_pointer_cast<Gio::TlsClientConnection>(connection); Fixes #73
* Update the Free Software Foundation address in copyright noticesKjell Ahlstedt2017-08-301-4/+1
| | | | Bug 786824
* Run clang-format on the .ccg files.Murray Cumming2016-02-261-67/+30
| | | | This seems to work.
* Gio: Use of nullptr instead of 0.Murray Cumming2015-11-201-4/+4
|
* C++11: Some use of the auto keyword.Murray Cumming2015-07-151-8/+8
|
* Simplified lots of code by using the {?} _WRAP_METHOD() syntax.Murray Cumming2012-09-151-40/+0
| | | | | | | | | | | | | | | | | | | | | | * 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.
* Gio: Added some methods.Murray Cumming2010-11-101-2/+43
| | | | | | | | | | | | | | | | | | | * gio/src/gio_methods.defs: * glib/src/glib_functions.defs: * glib/src/gobject_functions.defs: Regenerated with h2defs.py. * gio/src/application.hg: Added open(). Notice that I have used std::vector instead of ArrayHandle, because that is what we should use for all new API, after we decided that the intermediate types are too awkward for people to understand. * gio/src/actiongroup.[hg|ccg]: Added list_actions, though we need to use a std::vector here instead. * gio/src/datainputstream.[hg|ccg]: Added read_upto(), read_upto_async() and read_upto_finish(). Updated the read_until*() documentation to discourage their use (apparently they will be properly deprecated eventually). * gio/src/settings.hg: Added range_check(). * gio/src/socketclient.[hg|ccg]: Addef connect_to_uri(), connect_to_uri_async() and connect_to_uri_finish().
* Remove the reduced API options and code, as discussed on mailing list.Murray Cumming2010-05-311-27/+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.
* Use Glib::unwrap() instead of ->gobj(),Murray Cumming2010-01-291-3/+3
| | | | | | | * gio/src/*.ccg: Use Glib::unwrap() instead of ->gobj(), so we don't crash if people pass in null RefPtr<>s, which they might do by accident, or if we have not wrapped all the may-be-null cases as method overrides.
* Add non-cancellable versions of a bunch of SocketClient functionsJonathon Jongsma2010-01-031-0/+111
|
* Wrap SocketClient, SocketConnection, TcpConnection, UnixConnectionJonathon Jongsma2010-01-021-0/+83