| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
* glib/glibmm/main.[cc|h]: Use Source::get_time() consistently.
Remove a misleading sentence from the documentation of
Source::get_current_time(). Bug 792524
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Bug 791711
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
Bug 787648
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Bug 787698
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
Bug 785895
|
|
|
|
| |
Bug 785895
|
|
|
|
|
|
|
| |
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/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
|
|
|
|
| |
Bug 777791
|
|
|
|
| |
Bug 777791
|
| |
|
|
|
|
| |
Bug 785895
|
|
|
|
| |
Bug 785895
|
|
|
|
|
| |
In C++11 default values of function arguments can contain curly braces,
such as const Glib::RefPtr<SomeClass>& x = {}. Bug 783216 comment 13
|
| |
|
|
|
|
|
|
|
| |
* 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.)
|
|
|
|
| |
Don't modify names of preprocessor macros.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
| |
Bug 786824
|
|
|
|
| |
Due to an extra blank some files were not processed by gmmproc.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
plus some minor tweaks that don't quite seem worth changing upstream.
This adds some useful extra context for get_(prg|user|real)name().
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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
|
|
|
|
| |
This looks much less ugly.
|
|
|
|
|
|
| |
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
|
| |
|