summaryrefslogtreecommitdiff
path: root/gio/src/dbuserror.hg
Commit message (Collapse)AuthorAgeFilesLines
* gio/src/*.hg: Mark classes and functions with GIOMM_APIChun-wei Fan2020-03-071-1/+3
| | | | | | 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.
* Update the Free Software Foundation address in copyright noticesKjell Ahlstedt2017-08-301-4/+1
| | | | Bug 786824
* giomm: Wrap the GTlsError GError.José Alburquerque2013-03-251-1/+0
| | | | | | | | | | | * 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.
* DBus::Error, DBus::Proxy: Fix interaction with generate_wrap_init.pl.Kjell Ahlstedt2012-02-281-12/+0
| | | | | | * gio/src/dbuserror.hg: Remove now unnecessary declaration of friend Gio::wrap_init(). * gio/src/dbusproxy.hg: Add _GMMPROC_EXTRA_NAMESPACE(DBus). Bug #640029.
* gmmproc: Don't include <glibmm.h> by default in generated files.José Alburquerque2011-10-251-1/+2
| | | | | | | | | | | | * 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
* Rename Gio::DBus::DBusError to Gio::DBus::Error.Murray Cumming2011-02-241-1/+1
| | | | | | | | | | | * 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.
* Move Gio::DBusError to Gio::Dbus::DBusError.Murray Cumming2011-02-241-9/+14
| | | | | | | | | | | | * 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.
* Bring back Gio::Error registration.Murray Cumming2011-02-231-0/+44
| | | | | | | | * 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.
* gmmproc: Allow some classes to be in a sub-namespace.Murray Cumming2011-02-161-75/+0
| | | | | | | | | | * 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.
* Variant: Add a VariantStringBase and a VariantContainerBase class.José Alburquerque2010-12-201-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Add a DBus Doxygen group.José Alburquerque2010-12-131-0/+3
| | | | | | | | | | | | | | | | | | | | * 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::DBus::Address: Wrap the gio dbus address API in this namespace.José Alburquerque2010-11-191-2/+2
| | | | | | | | | * 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.
* Correct @newin{}'s and add class docs of newly added API.José Alburquerque2010-11-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Application, ActionGroup: Add Doxygen class documentation.José Alburquerque2010-11-031-2/+2
| | | | | | | * 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.
* giomm: DBus: Wrap D-Bus Utilities and GDBusError C functions.José Alburquerque2010-09-091-0/+74
* 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.