summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2.53.1.12.53.1.1Murray Cumming2017-04-262-3/+102
|
* tests/Makefile.am: Fix a typo to fix the build.Murray Cumming2017-04-261-3/+4
|
* Glib::SignalProxy: Make a specialization for void signal handlersKjell Ahlstedt2017-04-233-25/+117
| | | | | | | Make specializations of SignalProxy<> and SignalProxyDetailed<> for signal handlers that return void. The specializations have no connect_notify() method, and the 'after' parameter in the connect() method has a default value only in the specializations. Bug 126213
* Glib::SignalProxy::connect(): Improve the documentationKjell Ahlstedt2017-04-201-0/+22
| | | | Mention that the 'after' parameter can be important. Bug 126213
* Gio::DBus::InterfaceSkeleton: Change InterfaceSkeletonFlags to ↵Murray Cumming2017-04-193-6/+8
| | | | InterfaceSkeleton::Flags.
* Gio::DBus::Server: Change ServerFlags to Server::Flags.Murray Cumming2017-04-193-22/+24
|
* NodeTree: Move enums into class, and use C++11 enum classes.Murray Cumming2017-04-182-50/+50
|
* Binding: Change BindingFlags to Binding::Flags.Murray Cumming2017-04-183-12/+15
|
* Keyfile: Change KeyfileFlags to Keyfile::Flags.Murray Cumming2017-04-183-10/+10
|
* Module: Change ModuleFlags to Module::Flags.Murray Cumming2017-04-182-4/+4
|
* Checksum: Change ChecksumType to Checksum::Type.Murray Cumming2017-04-182-11/+11
|
* Regex: Move enums inside class.Murray Cumming2017-04-183-45/+49
|
* Gio::Drive: Move enums into class.Murray Cumming2017-04-185-14/+16
|
* Gio::TlsDatabase: Move enums into class.Murray Cumming2017-04-183-24/+28
|
* Resource: Move enums into class.Murray Cumming2017-04-183-34/+34
|
* Gio::UnixSocketAddress: Change UnixSocketAddressType to UnixSocketAddress::Type.Murray Cumming2017-04-183-9/+12
|
* Gio::Mount: Move enums into class.Murray Cumming2017-04-189-116/+116
|
* Gio::TlsPassword: Change TlsPasswordFlags to TlsPassword::Flags.Murray Cumming2017-04-183-7/+11
|
* Gio::IOStream: Change IOStreamSpliceFlags to IOStream::SpliceFlags.Murray Cumming2017-04-182-7/+7
|
* Gio::Settings: Change SettingsBindFlags to Settings::BindFlags.Murray Cumming2017-04-183-6/+7
|
* Gio::Resolver: Change ResolverRecordType to Resolver::RecordType.Murray Cumming2017-04-183-8/+8
|
* Gio::Socket: Move enums into class.Murray Cumming2017-04-189-32/+37
|
* Gio::File: Move some flags enums into the class.Murray Cumming2017-04-183-155/+155
|
* Gio::OutputStream: Move OutputStreamSpliceFlags to SpliceFlags.Murray Cumming2017-04-183-15/+17
|
* Gio::Credentials: Change CredentialsType to Credentials::Type.Murray Cumming2017-04-182-4/+5
|
* convert_gio.m4: Remove duplicate conversion.Murray Cumming2017-04-181-1/+0
|
* Gio::Notification: Change NotificationPriority to Priority.Murray Cumming2017-04-182-3/+4
|
* Gio::FileMonitor: Change FileMonitorEvent to FileMonitor::Event.Murray Cumming2017-04-183-4/+7
|
* Gio::FileAttributeInfo: Change FileAttributeInfoFlags to Flags.Murray Cumming2017-04-184-7/+8
|
* Gio::Emblem: Change EmblemOrigin to Emblem::Origin.Murray Cumming2017-04-183-8/+11
|
* Gio::Converter: Put enums inside class.Murray Cumming2017-04-183-6/+10
| | | | Change ConverterFlags and ConverterResult to Converter::Flags and Covnerter::Result.
* Gio::AppInfo: Change AppInfoCreateFlags to CreateFlagsMurray Cumming2017-04-183-4/+5
|
* Gio::Application: Change ApplicationFlags to Application::Flags.Murray Cumming2017-04-183-8/+12
|
* gmmproc: New and improved _CONV_*_ENUM m4 macrosKjell Ahlstedt2017-04-183-80/+107
| | | | | | | | | | | * 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.
* RefPtr: Minor documentation fixKjell Ahlstedt2017-04-181-2/+2
| | | | Gdk::Pixmap does not exist in gtkmm3 or gtkmm4. Don't mention it.
* RefPtr: Improve the reference docs now that this is a std::shared_ptr.Murray Cumming2017-04-181-10/+13
| | | | | | This should be simplified even more when we eventually remove, or at least stop using, the RefPtr alias, using std::shared_ptr<> in our API.
* Glib, Gio: Remove obsolete substitutions in _WRAP_ENUMKjell Ahlstedt2017-04-178-25/+15
| | | | | Some substitution arguments in _WRAP_ENUM (s#old#new#) have become unnecessary now that _WRAP_ENUM generates code with enum class.
* Value: Only use RefPtr specialization for types that have get_base_type().Murray Cumming2017-04-153-23/+76
| | | | | | | | For instance, RefPtr to ObjectBase-derived types, or other types that try to have a similar API. Previously, this assumed that any Value<RefPtr<T>> was for a T that had a get_base_type() (wrapping an underlying glib/gtk C type).
* Variant: operator bool(): Simplify to avoid clang++ warnings.Murray Cumming2017-04-151-1/+1
| | | | The odd code here was necessary when this returned void*, before C++11.
* Gio: Remove enum ErrorEnumKjell Ahlstedt2017-04-141-17/+0
| | | | | | | * gio/src/enums.hg: GIOErrorEnum was wrapped twice, with _WRAP_ENUM in gio/src/enums.hg, and with _WRAP_GERROR in gio/src/error.hg. Remove the wrapping with _WRAP_ENUM. Uses of Gio::ErrorEnum, if any, can be replaced by Gio::Error::Code.
* Fix make check when _WRAP_ENUM generates enum classKjell Ahlstedt2017-04-119-20/+21
| | | | Bug 86864
* Fix build when _WRAP_ENUM generates enum classKjell Ahlstedt2017-04-1140-363/+455
| | | | Bug 86864
* gmmproc, _WRAP_ENUM: Generate enum class; enums can be inside classesKjell Ahlstedt2017-04-117-86/+280
| | | | | | | | | | | | | | | | | | | | | | Two modifications of _WRAP_ENUM: 1. It is expanded to an enum class instead of a plain enum. It means that it can't be implicitly converted to an int, and that enumerator names are local to the enum. 2. It can be located in a class, with some restrictions. When located in a class, and a Value specialization shall be generated (NO_GTYPE is not specified) or it's a Flags type (i.e. bitwise operators shall be generated), then the following requirements must be met: 2.1. _WRAP_ENUM must be located in the public part of the class. 2.2. The class must contain a class macro (_CLASS_GENERIC, _CLASS_GOBJECT, _CLASS_GTKOBJECT, etc.) before _WRAP_ENUM. Two new elements can be included in docs_override.xml files: substitute_type_name and substitute_enumerator_name. They improve the translation of C names to C++ names in documentation. See examples in glibmm and in gtkmm. Bug 86864
* value_custom: Replace a template parameter with C++11 type traits.Murray Cumming2017-04-091-23/+24
|
* Value: Remove the CType alias.Murray Cumming2017-04-093-10/+1
| | | | | | | | This should not be necessary. Anything that uses it could hopefully use auto instead. This avoids the problem of the Value<RefPtr> specialization assuming that the RefPtr holds a Glib::ObjectBase-derived typed.
* tests: glibmm_value: Test RefPtr-to-ObjectBase.Murray Cumming2017-04-091-0/+40
|
* tests: Split object_move and objectbase_move tests.Murray Cumming2017-04-097-113/+152
| | | | This allows further reuse of the DerivedObject and DerivedObjectBase test classes.
* tests: glibmm_value: Actually test set/get().Murray Cumming2017-04-071-11/+61
|
* tests: glibmm_value: Actually call the test function.Murray Cumming2017-04-071-1/+3
|
* tests: glibmm_value: Move code to main.ccMurray Cumming2017-04-073-35/+32
| | | | Which was previously almost empty.