summaryrefslogtreecommitdiff
path: root/tools/m4/convert_gio.m4
Commit message (Collapse)AuthorAgeFilesLines
* Add Gio::Subprocess, SubprocessLauncher and examples/subprocessKjell Ahlstedt2023-04-171-0/+5
| | | | Fixes #106
* Gio: Add some methods for glibmm 2.74Kjell Ahlstedt2022-08-221-0/+1
| | | | | | | | | | | | | * configure.ac: * meson.build: Require glib-2.0 >= 2.73.2. * gio/src/appinfo.hg: Add get_default_for_type_async/finish(), get_default_for_uri_scheme_async/finish(). * gio/src/file.hg: Add make_symbolic_link_async/finish(). * gio/src/liststore.hg: Add property_n_items(). * gio/src/resolver.hg: Add enum Resolver::NameLookupFlags, lookup_by_name_with_flags(), lookup_by_name_with_flags_async/finish(). * gio/src/gio_docs_override.xml: * tools/m4/convert_gio.m4: Add conversions for Resolver::NameLookupFlags.
* Add Gio::AppInfoMonitorKjell Ahlstedt2022-02-161-0/+1
| | | | Fixes #97
* Glib, Gio: Add some methods for glibmm 2.70Kjell Ahlstedt2021-10-051-0/+1
| | | | | | | | | | | | | | | | | | * configure.ac: * meson.build: Require glib-2.0 >= 2.69.1. * glib/src/binding.[ccg|hg]: Add dup_source(), dup_target(), Deprecate get_source(), get_target(). * glib/src/spawn.[ccg|hg]: Change parameter name, exit_status to wait_status. * glib/src/timezone.[ccg|hg]: Add operator bool(), create_identifier(). Deprecate create(). * gio/src/fileinfo.hg: Add get/set_access_date(), get/set_creation_date(). * gio/src/notification.hg: Add set_category(). * gio/src/tlscertificate.hg: Add property/get_not_valid_before(), property/get_not_valid_after(), property/get_subject_name(), property/get_issuer_name(). * gio/src/tlsconnection.hg: Add enum Gio::TlsProtocolVersion, property/get_protocol_version(), property/get_ciphersuite_name(). * tools/m4/convert_gio.m4: Add conversion for enum TlsProtocolVersion.
* SettingsSchemaSource: Wrap new_from_directory()Kjell Ahlstedt2019-11-241-1/+1
| | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=783216 Fix https://gitlab.gnome.org/GNOME/glibmm/issues/19 Close https://gitlab.gnome.org/GNOME/glibmm/merge_requests/20
* Remove Glib::TimeValKjell Ahlstedt2019-08-131-2/+0
| | | | | | | | | | | | | | | | | | GTimeVal has been deprecated in glib. Remove its wrapping in glibmm. * examples/dbus/server_without_bus.cc: * examples/dbus/session_bus_service.cc: Replace TimeVal by DateTime. * gio/src/fileinfo.[ccg|hg]: Remove [set_]modification_time(). Add set/get_modification_date_time(). * glib/glibmm.h: * glib/glibmm/filelist.am: Remove timeval. * glib/glibmm/timeval.[cc|h]: Removed files. * glib/src/date.[ccg|hg]: Remove set_time(const GTimeVal& timeval). * glib/src/datetime.[ccg|hg]: Remove create_now_local/utc(const TimeVal& tv) and to_timeval(). Add create_from_iso8601(), format_iso8601() and operator bool(). * tools/m4/convert_glib.m4: * tools/m4/convert_gio.m4: Remove conversions for GTimeVal.
* Add Gio::DBus::ObjectManager*Kjell Ahlstedt2019-07-181-1/+5
| | | | | Add Gio::DBus::ObjectManager, Gio::DBus::ObjectManagerClient and Gio::DBus::ObjectManagerServer. Fixes #43
* Add Gio::DBus::ObjectProxy and Gio::DBus::ObjectSkeletonKjell Ahlstedt2019-07-171-1/+3
| | | | | In preparation for adding Gio::DBus::ObjectManager, ObjectManagerClient and ObjectManagerServer. See issue #43.
* Gio: Add some API (AppInfo::launch_uris_async() etc.)Kjell Ahlstedt2019-03-151-0/+1
| | | | | | | | * gio/src/appinfo.hg: Add launch_uris_async() and launch_uris_async(). * gio/src/asyncresult.hg: _IGNORE g_async_result_legacy_propagate_error(). * gio/src/datainputstream.hg: _IGNORE deprecated methods. * gio/src/dbusconnection.hg: Add get/property_flags(). * tools/m4/convert_gio.m4: Add conversions for GDBusConnectionFlags.
* Gio::TlsConnection: Remove rehandshake APIKjell Ahlstedt2018-12-061-1/+0
| | | | | | | * gio/src/tlsconnection.hg: Remove set/get/property_rehandshake_mode() and enum Gio::TlsRehandshakeMode. Their equivalents in glib have been deprecated. * tools/m4/convert_gio.m4: Remove conversions for GTlsRehandshakeMode.
* convert_gio.m4: Add a conversion of GInputStreamKjell Ahlstedt2018-07-021-0/+1
| | | | useful in other modules, e.g. gtkmm.
* Use _WRAP_ENUM for Gio::DBus::Message::ByteOrderKjell Ahlstedt2017-06-131-0/+1
|
* Gio::DBus::InterfaceSkeleton: Change InterfaceSkeletonFlags to ↵Murray Cumming2017-04-191-1/+1
| | | | InterfaceSkeleton::Flags.
* Gio::DBus::Server: Change ServerFlags to Server::Flags.Murray Cumming2017-04-191-1/+1
|
* Gio::Drive: Move enums into class.Murray Cumming2017-04-181-2/+2
|
* Gio::TlsDatabase: Move enums into class.Murray Cumming2017-04-181-2/+2
|
* Resource: Move enums into class.Murray Cumming2017-04-181-2/+2
|
* Gio::UnixSocketAddress: Change UnixSocketAddressType to UnixSocketAddress::Type.Murray Cumming2017-04-181-1/+1
|
* Gio::Mount: Move enums into class.Murray Cumming2017-04-181-2/+2
|
* Gio::TlsPassword: Change TlsPasswordFlags to TlsPassword::Flags.Murray Cumming2017-04-181-1/+1
|
* Gio::Settings: Change SettingsBindFlags to Settings::BindFlags.Murray Cumming2017-04-181-1/+1
|
* Gio::Resolver: Change ResolverRecordType to Resolver::RecordType.Murray Cumming2017-04-181-1/+1
|
* Gio::Socket: Move enums into class.Murray Cumming2017-04-181-3/+3
|
* Gio::File: Move some flags enums into the class.Murray Cumming2017-04-181-2/+2
|
* Gio::OutputStream: Move OutputStreamSpliceFlags to SpliceFlags.Murray Cumming2017-04-181-1/+1
|
* Gio::Credentials: Change CredentialsType to Credentials::Type.Murray Cumming2017-04-181-1/+1
|
* convert_gio.m4: Remove duplicate conversion.Murray Cumming2017-04-181-1/+0
|
* Gio::Notification: Change NotificationPriority to Priority.Murray Cumming2017-04-181-1/+1
|
* Gio::FileMonitor: Change FileMonitorEvent to FileMonitor::Event.Murray Cumming2017-04-181-2/+2
|
* Gio::FileAttributeInfo: Change FileAttributeInfoFlags to Flags.Murray Cumming2017-04-181-1/+1
|
* Gio::Emblem: Change EmblemOrigin to Emblem::Origin.Murray Cumming2017-04-181-1/+1
|
* Gio::Converter: Put enums inside class.Murray Cumming2017-04-181-2/+2
| | | | Change ConverterFlags and ConverterResult to Converter::Flags and Covnerter::Result.
* Gio::AppInfo: Change AppInfoCreateFlags to CreateFlagsMurray Cumming2017-04-181-1/+1
|
* Gio::Application: Change ApplicationFlags to Application::Flags.Murray Cumming2017-04-181-1/+1
|
* gmmproc: New and improved _CONV_*_ENUM m4 macrosKjell Ahlstedt2017-04-181-56/+83
| | | | | | | | | | | * tools/m4/convert_base.m4: In _CONV_ENUM and _CONV_INCLASS_ENUM, add an optional argument, making it possible to define useful conversions when the C name of the enum is not the concatenation of C++ namespace + enum_name or namespace + class_name + enum_name. * tools/m4/convert_gio.m4: Add _CONV_GIO_ENUM, _CONV_GIO_DBUS_ENUM, _CONV_GIO_INCLASS_ENUM and _CONV_GIO_DBUS_INCLASS_ENUM. * tools/m4/convert_glib.m4: In _CONV_GLIB_ENUM and _CONV_GLIB_INCLASS_ENUM, add an optional argument like in convert_base.m4.
* Replace remaining uses of Glib::ListHandle<> with std::vector.Murray Cumming2017-03-201-1/+1
| | | | | | Using Glib::ListHandler<>::list_to_array() and Glib::ListHandler<>::list_to_vector() instead, and only in the implementation instead of in the API.
* Use std::vector<> instead of Glib::StringArrayHandle.Murray Cumming2017-03-171-1/+1
| | | | | | Using Glib::ArrayHandler<>::vector_to_array() and Glib::ArrayHandler<>::array_to_vector() instead, and only in the implementatoin instead of in the API.
* Gio::RemoteActionGroup: Derive from Gio::ActionGroup.Murray Cumming2016-12-021-1/+1
| | | | | | | | | | | | | | | | Because GRemotActionGroup requires GActionGroup: https://developer.gnome.org/gio/stable/GRemoteActionGroup.html#GRemoteActionGroup.prerequisites Both are interfaces. This is like Gio::LoadableIcon, which derives from Gio::Icon because GLoadableIcon requires GIcon. FileIcon then derives and implements LoadableIcon, but doesn't explicitly use _IMPLEMENTS_INTERFACE(Icon). Gio::DBus::ActionGroup: Don't derive directly from ActionGroup (instead just derive from, and implement Gio::RemoteActionGroup), just as FileIcon doesn't derive directly from (or implement) Icon. We can do this now that we can break ABI.
* Gio::DBus::Proxy: allow using GDBusProxy* conversion outside DBus namespaceMarcin Kolny2016-04-051-1/+1
| | | | | | * gio/src/dbusproxy.hg: fix _WRAP_METHOD usage * tools/m4/convert_gio.m4: update converstion definition - use Gio::DBus::Proxy instead of Proxy.
* TlsClientConnection: Add copy_session_state().Murray Cumming2015-09-141-0/+3
|
* Add SettingsSchema, SettingsSchemaKey and SettingsSchemaSource.Murray Cumming2015-06-211-0/+8
| | | | | However, these are completely untested, and not all functions have been wrapped.
* Gio::Notification: Add set_priority() and enum NotificationPriorityKjell Ahlstedt2015-02-181-0/+1
| | | | | * gio/src/notification.hg: Add enum NotificationPriority and set_priority(). * tools/m4/convert_gio.m4: Add conversion of GNotificationPriority.
* Gio: Added NetworkMonitor.Murray Cumming2014-12-151-0/+5
|
* Add Gio::ResourceKjell Ahlstedt2014-11-141-0/+5
| | | | | | | | * gio/src/resource.[hg|ccg]: Add class Resource, enum ResourceFlags and enum ResourceLookupFlags. * glib/src/bytes.hg: Mention Resource in a comment. * tools/m4/convert_gio.m4: Add conversions for GResource, GResourceFlags and GResourceLookupFlags. Bug #739206.
* TlsInteraction: Add certificate request methods.Murray Cumming2014-04-041-3/+7
| | | | | | * gio/src/tlsinteraction.hg: Add invoke_request_certificate(), request_certificate(), request_certificate_async() and request_certificate_finish().
* Add Glib::VariantDict, needed for GApplication.Murray Cumming2014-04-031-10/+0
| | | | | | | | | | | | | * glib/src/filelist.am: * glib/src/variantdict.[hg|ccg]: Add it as a generic refcounted type, with templated lookup_value() and insert_value() methods, though these are completely untested so far. * glib/src/variant.hg: Ignore a g_variant_dict_* function that gmmproc thinks is part of Variant. * tools/m4/convert_gio.m4: * tools/m4/convert_glib.m4: Move all Variant* conversion to the glib conversions and add a necessary one. * glib/glibmm.h: Include variantdict.h.
* Add Gio::NotificationKjell Ahlstedt2014-01-281-0/+4
| | | | | | | | | * gio/src/application.hg: Add send_notification(), withdraw_notification(). * gio/src/notification.[hg|ccg]: New files. * gio/src/filelist.am: Add notification.hg. * gio/giomm.h: Add giomm/notification.h. * tools/m4/convert_gio.m4: Add conversions between GNotification and Gio::Notification. Bug #722896.
* Gio::MenuItem: Add set/unset_icon().Murray Cumming2013-07-311-0/+1
|
* Gio::Action, ActionGroup: Fix memory problems.Kjell Ahlstedt2013-07-301-1/+1
| | | | | | * gio/src/action.ccg: get_state_bool(): Unref GVariant. * tools/m4/convert_gio.m4: Take a copy when const GVariantType* is converted to Glib::VariantType. Affects Action and ActionGroup. Bug #690134.
* Gio::DBusInterfaceSkeleton: Constant corrections.José Alburquerque2013-06-061-0/+1
| | | | | | | | | * gio/src/dbusinterfaceskeleton.hg (get_info): Add a const get_info() method returning a constant InterfaceInfo and make the original one non-constant. (has_connection): Accept the Connection as constant because it should not be modified. * tools/m4/convert_gio.m4: Add a needed conversion.