summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Glib::TimeoutSource: Use monotonic time consistentlyKjell Ahlstedt2018-01-252-20/+8
| | | | | | * glib/glibmm/main.[cc|h]: Use Source::get_time() consistently. Remove a misleading sentence from the documentation of Source::get_current_time(). Bug 792524
* Gio::TlsClientConnection: Disable deprecation warnings from glibKjell Ahlstedt2018-01-181-0/+7
| | | | | | | g_tls_client_connection_[set|get]_use_ssl3() and the use-ssl3 property have been deprecated in glib/gio. They can't be deprecated in the stable glibmm-2-54 branch now. This patch makes it possible to build glibmm-2.54.x against the newest glib.
* Variant: Slightly elaborate Variant<Variant> docsDaniel Boles2018-01-151-1/+8
| | | | | | | Point out get_n_children() for checking nullable status, and copy the doc for Variant<VariantBase> to Variant< Variant<T> >. https://bugzilla.gnome.org/show_bug.cgi?id=778219
* Glib::Threads::Private: Fix gobj()Kjell Ahlstedt2017-12-201-1/+1
| | | | Bug 791711
* Glib::VariantBase::cast_dynamic(): Remove noexcept(false)Kjell Ahlstedt2017-11-202-11/+7
| | | | | | noexcept(false) has the same meaning as no noexcept specification, but Doxygen adds "noexcept" instead of "noexcept(false)" in the detailed description of the method, which is confusing. Bug 789329
* Variant: Fix typo: unclosed monospace tagDaniel Boles2017-10-231-1/+1
|
* gmmproc, _WRAP_METHOD_DOCS_ONLY: Optionally suppress @return sectionKjell Ahlstedt2017-10-133-12/+18
| | | | | | Add an optional 'voidreturn' parameter that can be specified if the wrapped C function returns a value, but the corresponding C++ method returns void. Bug 787978
* Gio::Action: Add exception specs to errthrowKjell Ahlstedt2017-09-291-1/+1
|
* Glib::KeyFile, OptionContext, Regex: Add exception specs to errthrowKjell Ahlstedt2017-09-293-22/+33
|
* gmmproc: _WRAP_METHOD: Accept optional list of exceptions in errthrowKjell Ahlstedt2017-09-293-9/+34
| | | | | | | | In _WRAP_METHOD[_DOCS_ONLY], the errthrow parameter can now contain an optional list of exceptions with default value Glib::Error. Corresponding @throws Doxygen commands are included in the documentation, if the documentation does not contain other @throws commands (e.g. from *_docs_override.xml). Bug 787979
* Gio::DataInputStream: Fix the documentation of read_line_utf8()Kjell Ahlstedt2017-09-241-19/+42
| | | | | | | Hand-code the documentation of read_line_utf8() and read_line_finish_utf8(). Use Glib::convert_return_gchar_ptr_to_stdstring() to set the output parameter. It handles the case when the char* is NULL. Minor fixes in the documentation of several other methods.
* gmmproc: Suppress the @return section if return type is voidKjell Ahlstedt2017-09-241-6/+10
| | | | | | If the wrapped C function returns a value, but the corresponding C++ method returns void, _WRAP_METHOD() suppresses the @return section in the documentation. Bug 787978
* tests: Avoid unused function warnings from G_DECLARE_INTERFACE()Murray Cumming2017-09-201-0/+7
|
* tests/glibmm_variant: Use C++14 features conditionallyKjell Ahlstedt2017-09-192-2/+12
| | | | | | | | * glib/src/variant.hg: Add (void) to intentionally unused variables, thus avoiding warnings when the test case is built with clang++. * tests/glibmm_variant/main.cc: Use std::get<Number>(std::tuple) (not std::get<Type>()) when compiling with only C++11 support. Bug 787648
* Glib::Variant: Avoid warnings from clang++Kjell Ahlstedt2017-09-192-3/+2
| | | | Bug 787648
* 2.54.12.54.1Kjell Ahlstedt2017-09-182-1/+16
|
* Glib::Variant<std::tuple>: Don't use std::index_sequence from C++14Kjell Ahlstedt2017-09-181-4/+69
| | | | | | | std::index_sequence and std::index_sequence_for are new in C++14, but this version of glibmm requires only C++11. The code that replaces std::index_sequence has been provided by Jonathan Wakely <zilla@kayari.org>. Bug 787648
* gmmproc: Convert all property documentation to C++Kjell Ahlstedt2017-09-173-12/+15
| | | | Bug 787698
* Gio::Application docs: Add a note to property_resource_base_path()Kjell Ahlstedt2017-09-131-0/+7
| | | | | | The type of property_resource_base_path() shall be std::string (is bool). Fixing this would break API and ABI. A fix has to wait until the next API/ABI break. For now, add a note to the documentation. Bug 787496
* 2.54.02.54.0Murray Cumming2017-09-132-1/+33
|
* Gio::ActionGroup, Settings: Add detail_name to some _WRAP_SIGNAL()sKjell Ahlstedt2017-09-132-5/+6
| | | | | | | * gio/src/actiongroup.hg: signal_action_added(), signal_action_removed(), signal_action_enabled_changed() and signal_action_state_changed() accept an 'action_name' parameter. * gio/src/settings.hg: signal_writable_changed() accepts a 'key' parameter.
* Regenerate gio_signals.defs and gio_signals.defs.patchKjell Ahlstedt2017-09-132-86/+120
|
* generate_extra_defs.cc: Write signal flags to .defs filesKjell Ahlstedt2017-09-131-18/+30
| | | | Bug 785895
* gmmproc: Write signal flags to generated documentationKjell Ahlstedt2017-09-134-10/+54
| | | | Bug 785895
* gmmproc: Warn for unmatched deprecations in signals and propertiesKjell Ahlstedt2017-09-121-9/+5
| | | | | | | Warn if a signal or a property is deprecated in the _WRAP_* macro, but not in the .defs file. (Warnings if a signal or a property is deprecated in the .defs file, but not in the _WRAP_* macro have been added previously.)
* Glib::Variant: Improved support for D-Bus object paths and signaturesKjell Ahlstedt2017-09-088-11/+440
| | | | | | | | | | | | | | * glib/glibmm/filelist.am: Add variantdbusstring.h and variantdbusstring.cc. * glib/glibmm/variantdbusstring.[cc|h]: New files. String classes meant only for Variants with D-Bus object paths or D-Bus signatures. * glib/src/variant.[ccg|hg]: Add specializations for Variant<Glib::DBusObjectPathString>, Variant<Glib::DBusSignatureString> and Variant<std::vector<Glib::DBusObjectPathString>>. * glib/src/varianttype.[ccg|hg]: Add VARIANT_TYPE_OBJECT_PATH_ARRAY. * tests/glibmm_variant/main.cc: Add test_object_path(). Make it possible to create a composite Variant containing variant type o (D-Bus object path) or g (D-Bus signature). Bug 785700
* tests/glibmm_variant: Add test of Variant<std::tuple>Kjell Ahlstedt2017-09-081-1/+65
| | | | Bug 777791
* Glib::Variant: Add template specialization for std::tupleAlexander Rössler2017-09-081-0/+186
| | | | Bug 777791
* Regenerate glib_signals.defs and gio_signals.defsKjell Ahlstedt2017-09-083-27/+212
|
* generate_extra_defs.cc: Write default values of properties to .defs filesKjell Ahlstedt2017-09-081-0/+51
| | | | Bug 785895
* gmmproc: Write default values of properties to generated documentationKjell Ahlstedt2017-09-083-5/+47
| | | | Bug 785895
* gmmproc: Accept curly braces in default values in _WRAP macrosKjell Ahlstedt2017-09-072-92/+72
| | | | | In C++11 default values of function arguments can contain curly braces, such as const Glib::RefPtr<SomeClass>& x = {}. Bug 783216 comment 13
* gmmproc: Remove obsolete TODO commentsKjell Ahlstedt2017-09-072-3/+2
|
* gmmproc: Fix _WRAP_ENUM for enumerators with apostrophesKjell Ahlstedt2017-09-072-16/+31
| | | | | | | * tools/enum.pl: Handle enumerator values like 'B', 1u << 2, (gint)(1u << 31). Suppress repeated long warnings. * tools/pm/Output.pm: Handle enumerator values like 'B'. (1u << 2 and (gint)(1u << 31) require no fix.)
* Glib, Gio: docs_override.xml: Add substitute_enumerator_name elementsKjell Ahlstedt2017-09-072-0/+25
| | | | Don't modify names of preprocessor macros.
* gmmproc: Add new elements types for the docs_override.xml filesKjell Ahlstedt2017-09-071-7/+86
| | | | | | | | | * tools/pm/DocsParser.pm: Add handling of substitute_type_name and substitute_enumerator_name elements in docs_override.xml files. This is a small part of the fix for enum class and enums inside classes, discussed in bug 86864, which is implemented in full in the next ABI- reaking version of glibmm. This particular part does not break ABI, it just improves the generated documentation.
* 2.52.12.52.1Murray Cumming2017-09-042-1/+15
|
* Glib::VariantIter: Fix typos in copyright noticeKjell Ahlstedt2017-09-011-2/+2
|
* Update the Free Software Foundation address in copyright noticesKjell Ahlstedt2017-08-30445-1249/+460
| | | | Bug 786824
* gio/src/filelist.am: Really include all .hg files in giomm_files_hgKjell Ahlstedt2017-08-301-1/+1
| | | | Due to an extra blank some files were not processed by gmmproc.
* Gio: Exclude DesktopAppInfo from wrap_init.cc on MacOSKjell Ahlstedt2017-08-154-7/+20
| | | | | | | Modify the conditional inclusion of desktopappinfo.h in giomm.h and wrap_init.cc. It shall not be included when running under MacOS. This should have been fixed by commit fe99895f8d3b61409c416f1244a29f2aa3478f96. Bug 781947
* gio/src/filelist.am: Always include all .hg files in giomm_files_hgKjell Ahlstedt2017-08-151-1/+4
| | | | | | Commit 0bc35fb4fa28ee8564fecab4e21011dc42e74ed1 fixed giomm_files_hg, but in the wrong way. giomm_files_hg shall always include all .hg files, regardless of which ones are used on the present platform.
* miscutils: Update docs of get_*_name() from GLibDaniel Boles2017-07-301-5/+22
| | | | | | plus some minor tweaks that don't quite seem worth changing upstream. This adds some useful extra context for get_(prg|user|real)name().
* Gio::TlsDatabase: Fix memory leak in a vfuncKjell Ahlstedt2017-06-271-0/+2
| | | | | | create_certificate_handle_vfunc() shall delete the returned character array after it has been copied to a Glib::ustring, or else it leaks memory. Bug 783360
* 2.52.02.52.0Murray Cumming2017-06-232-1/+16
|
* RefPtr: Clarify comment about undefined behaviourDaniel Boles2017-05-311-1/+1
| | | | | | Dereferencing a null pointer does not necessarily cause a segfault: it is undefined behaviour, which means anything, or nothing, may happen. Avoid setting an expectation that a segfault will reliably occur here.
* ActionMap: Revert accidental changes to Slot declsDaniel Boles2017-05-311-2/+2
| | | | | | I cherry-picked a commit from master that should only have updated documentation, but because the way of declaring slots has been changed in libsigc++, it ended up changing them here too. That was unintentional
* Variant: Use own get_n_children() instead of C APIDaniel Boles2017-05-292-13/+7
| | | | This looks much less ugly.
* Gio::UnixSocketAddress::create(): Remove a default valueKjell Ahlstedt2017-05-181-2/+1
| | | | | | Remove the default value of the 'type' parameter. As there is another create() with one parameter, the default value makes a call to create("pathname") ambiguous. Bug 782592
* Gio::DBus::Proxy: Wrap call() and call_sync() methods. Bug 781818Vyacheslav Yurkov2017-05-123-189/+117
|