Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 2.53.1.12.53.1.1 | Murray Cumming | 2017-04-26 | 2 | -3/+102 |
| | |||||
* | tests/Makefile.am: Fix a typo to fix the build. | Murray Cumming | 2017-04-26 | 1 | -3/+4 |
| | |||||
* | Glib::SignalProxy: Make a specialization for void signal handlers | Kjell Ahlstedt | 2017-04-23 | 3 | -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 documentation | Kjell Ahlstedt | 2017-04-20 | 1 | -0/+22 |
| | | | | Mention that the 'after' parameter can be important. Bug 126213 | ||||
* | Gio::DBus::InterfaceSkeleton: Change InterfaceSkeletonFlags to ↵ | Murray Cumming | 2017-04-19 | 3 | -6/+8 |
| | | | | InterfaceSkeleton::Flags. | ||||
* | Gio::DBus::Server: Change ServerFlags to Server::Flags. | Murray Cumming | 2017-04-19 | 3 | -22/+24 |
| | |||||
* | NodeTree: Move enums into class, and use C++11 enum classes. | Murray Cumming | 2017-04-18 | 2 | -50/+50 |
| | |||||
* | Binding: Change BindingFlags to Binding::Flags. | Murray Cumming | 2017-04-18 | 3 | -12/+15 |
| | |||||
* | Keyfile: Change KeyfileFlags to Keyfile::Flags. | Murray Cumming | 2017-04-18 | 3 | -10/+10 |
| | |||||
* | Module: Change ModuleFlags to Module::Flags. | Murray Cumming | 2017-04-18 | 2 | -4/+4 |
| | |||||
* | Checksum: Change ChecksumType to Checksum::Type. | Murray Cumming | 2017-04-18 | 2 | -11/+11 |
| | |||||
* | Regex: Move enums inside class. | Murray Cumming | 2017-04-18 | 3 | -45/+49 |
| | |||||
* | Gio::Drive: Move enums into class. | Murray Cumming | 2017-04-18 | 5 | -14/+16 |
| | |||||
* | Gio::TlsDatabase: Move enums into class. | Murray Cumming | 2017-04-18 | 3 | -24/+28 |
| | |||||
* | Resource: Move enums into class. | Murray Cumming | 2017-04-18 | 3 | -34/+34 |
| | |||||
* | Gio::UnixSocketAddress: Change UnixSocketAddressType to UnixSocketAddress::Type. | Murray Cumming | 2017-04-18 | 3 | -9/+12 |
| | |||||
* | Gio::Mount: Move enums into class. | Murray Cumming | 2017-04-18 | 9 | -116/+116 |
| | |||||
* | Gio::TlsPassword: Change TlsPasswordFlags to TlsPassword::Flags. | Murray Cumming | 2017-04-18 | 3 | -7/+11 |
| | |||||
* | Gio::IOStream: Change IOStreamSpliceFlags to IOStream::SpliceFlags. | Murray Cumming | 2017-04-18 | 2 | -7/+7 |
| | |||||
* | Gio::Settings: Change SettingsBindFlags to Settings::BindFlags. | Murray Cumming | 2017-04-18 | 3 | -6/+7 |
| | |||||
* | Gio::Resolver: Change ResolverRecordType to Resolver::RecordType. | Murray Cumming | 2017-04-18 | 3 | -8/+8 |
| | |||||
* | Gio::Socket: Move enums into class. | Murray Cumming | 2017-04-18 | 9 | -32/+37 |
| | |||||
* | Gio::File: Move some flags enums into the class. | Murray Cumming | 2017-04-18 | 3 | -155/+155 |
| | |||||
* | Gio::OutputStream: Move OutputStreamSpliceFlags to SpliceFlags. | Murray Cumming | 2017-04-18 | 3 | -15/+17 |
| | |||||
* | Gio::Credentials: Change CredentialsType to Credentials::Type. | Murray Cumming | 2017-04-18 | 2 | -4/+5 |
| | |||||
* | convert_gio.m4: Remove duplicate conversion. | Murray Cumming | 2017-04-18 | 1 | -1/+0 |
| | |||||
* | Gio::Notification: Change NotificationPriority to Priority. | Murray Cumming | 2017-04-18 | 2 | -3/+4 |
| | |||||
* | Gio::FileMonitor: Change FileMonitorEvent to FileMonitor::Event. | Murray Cumming | 2017-04-18 | 3 | -4/+7 |
| | |||||
* | Gio::FileAttributeInfo: Change FileAttributeInfoFlags to Flags. | Murray Cumming | 2017-04-18 | 4 | -7/+8 |
| | |||||
* | Gio::Emblem: Change EmblemOrigin to Emblem::Origin. | Murray Cumming | 2017-04-18 | 3 | -8/+11 |
| | |||||
* | Gio::Converter: Put enums inside class. | Murray Cumming | 2017-04-18 | 3 | -6/+10 |
| | | | | Change ConverterFlags and ConverterResult to Converter::Flags and Covnerter::Result. | ||||
* | Gio::AppInfo: Change AppInfoCreateFlags to CreateFlags | Murray Cumming | 2017-04-18 | 3 | -4/+5 |
| | |||||
* | Gio::Application: Change ApplicationFlags to Application::Flags. | Murray Cumming | 2017-04-18 | 3 | -8/+12 |
| | |||||
* | gmmproc: New and improved _CONV_*_ENUM m4 macros | Kjell Ahlstedt | 2017-04-18 | 3 | -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 fix | Kjell Ahlstedt | 2017-04-18 | 1 | -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 Cumming | 2017-04-18 | 1 | -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_ENUM | Kjell Ahlstedt | 2017-04-17 | 8 | -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 Cumming | 2017-04-15 | 3 | -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 Cumming | 2017-04-15 | 1 | -1/+1 |
| | | | | The odd code here was necessary when this returned void*, before C++11. | ||||
* | Gio: Remove enum ErrorEnum | Kjell Ahlstedt | 2017-04-14 | 1 | -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 class | Kjell Ahlstedt | 2017-04-11 | 9 | -20/+21 |
| | | | | Bug 86864 | ||||
* | Fix build when _WRAP_ENUM generates enum class | Kjell Ahlstedt | 2017-04-11 | 40 | -363/+455 |
| | | | | Bug 86864 | ||||
* | gmmproc, _WRAP_ENUM: Generate enum class; enums can be inside classes | Kjell Ahlstedt | 2017-04-11 | 7 | -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 Cumming | 2017-04-09 | 1 | -23/+24 |
| | |||||
* | Value: Remove the CType alias. | Murray Cumming | 2017-04-09 | 3 | -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 Cumming | 2017-04-09 | 1 | -0/+40 |
| | |||||
* | tests: Split object_move and objectbase_move tests. | Murray Cumming | 2017-04-09 | 7 | -113/+152 |
| | | | | This allows further reuse of the DerivedObject and DerivedObjectBase test classes. | ||||
* | tests: glibmm_value: Actually test set/get(). | Murray Cumming | 2017-04-07 | 1 | -11/+61 |
| | |||||
* | tests: glibmm_value: Actually call the test function. | Murray Cumming | 2017-04-07 | 1 | -1/+3 |
| | |||||
* | tests: glibmm_value: Move code to main.cc | Murray Cumming | 2017-04-07 | 3 | -35/+32 |
| | | | | Which was previously almost empty. |