| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
and use it instead of SignalProxy_async_callback().
Part of issue #1
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Bug 786824
|
|
|
|
| |
This seems to work.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/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().
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|