| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This prepares the build to export symbols using compiler directives, in
our bid to drop gendef.exe. We will also mark pre-declarations of usage
of glibmm class items with GLIBMM_API as well.
|
|
|
|
| |
Bug 786824
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/error.hg: Wrap the GTlsError GError in this file.
* gio/src/tlsclientconnection.hg:
* gio/src/tlsconnection.hg: Have default true values for boolean
setter methods in these classes.
* gio/src/tlsfiledatabase.hg: Clarify a TODO.
* gio/src/dbuserror.hg: Whitespace.
|
|
|
|
|
|
| |
* gio/src/dbuserror.hg: Remove now unnecessary declaration of friend
Gio::wrap_init().
* gio/src/dbusproxy.hg: Add _GMMPROC_EXTRA_NAMESPACE(DBus). Bug #640029.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/m4/base.m4: Include <glibmm/ustring.h> and <sigc++/sigc++.h>
by default in header files of generated files in modules other than
glibmm. This should make compilation faster for those modules.
* gio/src/*.{h,cc}g:
* gio/giomm/slot_async.cc: Adjust includes according to the above
change.
Bug #662597
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbuserror.hg: Rename the class to Error.
* examples/dbus/busserver.cc: Adapated.
* tests/giomm_ioerror_and_iodbuserror/main.cc: Added a test to check that
both Gio::Error and Gio::DBus::Error are working.
* tests/Makefile.am: Set TESTS, so that the test is actually run.
We should add others to this too.
This current fails, so I need to fix the problem in a subsequent commit.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/m4/base.m4: Added a SECTION_H_GERROR_PRIVATE section.
* tools/m4/gerror.m4: Import the SECTION_H_GERROR_PRIVATE section.
* gio/src/dbuserror.hg: Put this back into the DBus namespace.
Push a custom friend declaration into the SECTION_H_GERROR_PRIVATE section,
because the standard generated friend declaration would not specify the
correct one.
This still does not rename DBusError to DBus::Error, but this is a step on
the way.
* examples/dbus/busserver.cc: Adapated.
|
|
|
|
|
|
|
|
| |
* gio/src/error.[hg|ccg]: Move Gio::DBus::Error to
* gio/src/dbuserror.[hg|ccg]: and temporarily rename it to Gio::DBusError
because generate_wrap_init.pl.in is wrapping only on of Gio::Error and
Gio::DBus::Error. Unfortunately, we need to fix the generation to handle
this properly even when it is called Gio::DBus::DBusError.
|
|
|
|
|
|
|
|
|
|
| |
* tools/m4/class_shared.m4:
* tools/generate_wrap_init.pl.in: Add a _GMMPROC_EXTRA_NAMESPACE(thenamespace)
macro, so that wrap_init.cc will have the correct pre-declarations of the
wrap_new() and get_type() functions.
I am suprised that we have no other way to do this already, but I cannot
find one, and this hack works.
For instance, this lets use put some classes in a Gio::DBus namespace.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/variant.{ccg,hg} (VariantStringBase): Implement a new class
from which the Glib::Variant<> string class (like
Glib::Variant<Glib::ustring>) now derive. The new class has methods
for determining/creating object paths and signatures. The new
instances are created by setting output parameters.
(VaraintContainerBase): Implement this new class from which variant
containers should derive.
(VariantContainerBase::get_n_children, get, get_maybe): Moved from
Variant<VariantBase>
(castitem constructors): Corrected all GVariant* castitem constructors
to accept a 'take_a_reference' bool parameter.
(Variant< std::vector<T> >::create, get, get_iter): Re-wrote these
methods to use the Glib::VariantType class to get variant types
instead of using strings. Also Re-wrote to work specifically with
fixed arrays (see g_variant_get_fixed_array). This means that this
class will not work with vectors of strings because
g_variant_get_strv() and g_variant_get_bytestring_array() need to be
used in those cases.
(std::vector<T> get): Re-wrote to use an output parameter.
* glib/src/variant_basictypes.h.m4: Corrected the castitem
constructors as above.
* tests/Makefile.am:
* tests/glibmm_variant/main.cc: Added a small test for the
Variant< std::vector<T> > methods.
* gio/src/dbuserror.hg:
* gio/src/error.hg: Wrap the GDBusError enum as a GError, moving its
declaration to error.hg.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusconnection.hg: Add a DBus Doxygen group in which to
include all the D-Bus docs.
* gio/src/dbusaddress.hg:
* gio/src/dbusauthobserver.hg:
* gio/src/dbuserror.hg:
* gio/src/dbusintrospection.hg:
* gio/src/dbusmessage.hg:
* gio/src/dbusmethodinvocation.hg:
* gio/src/dbusownname.hg:
* gio/src/dbusproxy.hg:
* gio/src/dbusserver.hg:
* gio/src/dbusutils.hg:
* gio/src/dbuswatchname.hg: Include all the D-Bus classes, functions
and slots in the new group.
* glib/glibmm.h: Mention the new group in the list of giomm features.
* gio/src/dbusproxy.ccg: Typos.
|
|
|
|
|
|
|
|
|
| |
* gio/giomm.h:
* gio/src/dbusaddress.{ccg,hg}:
* gio/src/filelist.am: Add new sources and make sure they are built.
* gio/src/dbusconnection.hg:
* gio/src/dbuserror.hg: Typos.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/application.hg:
* gio/src/asyncinitable.hg:
* gio/src/credentials.hg:
* gio/src/dbusauthobserver.hg:
* gio/src/dbusconnection.hg:
* gio/src/dbuserror.hg:
* gio/src/dbusintrospection.hg:
* gio/src/dbusmessage.hg:
* gio/src/dbusmethodinvocation.hg:
* gio/src/dbusownname.hg:
* gio/src/dbusproxy.hg:
* gio/src/dbusserver.hg:
* gio/src/dbusutils.hg:
* gio/src/dbuswatchname.hg:
* gio/src/unixcredentialsmessage.hg:
* gio/src/unixfdlist.hg:
* gio/src/unixfdmessage.hg: Correct @newin{}'s from 2.26 to 2.28.
* gio/src/proxy.hg:
* gio/src/proxyaddress.hg:
* gio/src/proxyresolver.hg: Add class docs.
* gio/src/unixsocketaddress.hg: Add to Doxygen group NetorkIO.
* gio/src/socketcontrolmessage.hg: Rephrase a TODO.
|
|
|
|
|
|
|
| |
* gio/src/application.hg: Add class docs.
(is_valid): Renamed to id_is_valid().
* gio/src/actiongroup.hg: Added class docs.
* gio/src/dbuserror.hg: Typos.
|
|
* gio/src/dbuserror.{ccg,hg}:
* gio/src/dbusutils.{ccg,hg}:
* gio/src/filelist.am: Add new sources wrapping C functions from the
D-Bus Utitiles and GDBusError gio DBus C API. The GBDusError
functions are wrapped in a new Gio::DBus::Error namespace.
* gio/src/dbusownname.hg:
* gio/src/dbuswatchname.hg: Typos.
|