| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
The bind_property() overload with two transformation functions
has been wrong since commit 4ed3ff9cad836dc7b24282a112d66847292a9baa.
|
|
|
|
|
|
| |
It's deprecated from Meson 0.64. The replacement, fs.copyfile(),
is not useful here. It only copies from the source directory to
the build directory.
|
|
|
|
| |
Should have been done in commit dc92d02f4d50851a1af59e5fbe2a753dcfd2e9df.
|
|
|
|
| |
and update the constructor's documentation.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/giomm.h:
* gio/giomm/meson.build:
* gio/src/filelist.am: Add BytesIcon.
* glib/src/bytes.[ccg|hg]: Add Glib::Value specialization.
Required by _WRAP_PROPERTY in bytesicon.hg.
* tools/extra_defs_gen/generate_defs_gio.cc: Add G_TYPE_BYTES_ICON.
* gio/src/gio_signals.defs: Add BytesIcon property.
* gio/src/bytesicon.[ccg|hg]: New files.
Fixes #107
|
|
|
|
|
| |
A group (but not a 'using' alias) gets its own html file,
which can be referred to from outside glibmm.
|
| |
|
|
|
|
| |
using gtk files from glib 2.74.0.
|
|
|
|
| |
using gtk files from glib 2.73.3.
|
|
|
|
| |
Fixes #101
|
|
|
|
|
|
|
|
|
|
|
| |
Some GObject-derived classes shall not be derived from.
* glib/glibmm/class.cc:
* glib/glibmm/interface.cc: Don't derive or add interfaces to a class
if G_TYPE_IS_FINAL(gtype) is true.
* tools/m4/class_shared.m4: Fix gtype_ when _DO_NOT_DERIVE_GTYPE is used.
Add _ABI_AS_WITH_DERIVED_GTYPE, making it possible to
add _DO_NOT_DERIVE_GTYPE without breaking ABI.
|
|
|
|
| |
See issue gtkmm#119
|
|
|
|
|
| |
This reverts commit 7b811a0be824675f31a422d40a75bbb5d10e32ad.
It broke ABI. See #98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac:
* meson.build: Require glib-2.0 >= 2.71.2.
* gio/src/dbusproxy.hg: signal_signal() accepts a signal name.
* gio/src/file.[ccg|hg]: Add move_async() and move_finish().
* gio/src/socketclient.hg: Deprecate set/get/property_tls_validation_flags().
* gio/src/tlscertificate.hg: Add properties private_key, private_key_pem,
pkcs11_uri, private_key_pkcs11_uri.
* gio/src/tlsclientconnection.hg: Deprecate set/get/property_validation_flags().
* glib/glibmm/main.[cc|h]: Add create(MainContextFlags flags).
* glib/src/enums.hg: Add enum Glib::MainContextFlags.
|
|
|
|
|
| |
using gtk files from glib 2.72.0.
And update gio/src/gio_signals.defs.patch.
|
|
|
|
|
|
|
| |
Avoid warnings from the clang++ compiler.
It's deprecated to implicitly declare a copy constructor, if there
is a user-defined copy assignment operator.
|
|
|
|
|
|
| |
The default value will be changed in future Meson releases.
Don't use deprecated python3.path() and execute(..., gui_app: ...).
|
|
|
|
| |
Change from Glib::RefPtr<Glib::Object> to Glib::RefPtr<Glib::ObjectBase>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
using gtk files from glib 2.70.0.
And update gio_docs_override.xml and glib_extra_objects.defs.
|
|
|
|
|
|
|
| |
Replace it by g_quark_from_string().
g_quark_from_static_string() shall not be used, if glibmm (but not glib)
is loaded and unloaded several times.
Fixes #96
|
|
|
|
|
|
|
|
| |
Avoid warnings from the clang++ compiler.
It's deprecated in C++ to implicitly declare a copy constructor, if there
is a user-defined copy assignment operator. Instead of declaring copy
assignment operators private without implementation, declare them deleted.
|
|
|
|
|
| |
Deleted methods shall not be decorated with GLIBMM_API.
Fixes #92
|
|
|
|
| |
Fixes #89
|
|
|
|
| |
Fixes #87
|
|
|
|
|
|
|
| |
Instead, mark the individual members with GLIBMM_API so that we avoid having
the code tied to a particular STL and compiler version.
Update the classes that derive from Glib::Source accordingly as well
|
|
|
|
|
|
|
|
|
| |
This will avoid having the ABI tied to a particular STL and compiler version,
and so will eliminate C4275 compiler warnings when building the code.
Also update gerror.m4 so that it will generate code deriving from Glib::Error
with the export macro markings with the member functions, so that things
continue to build properly
|
|
|
|
|
| |
It's actually not necessary here, and it will cause issues with the previous
commit
|
|
|
|
|
|
|
| |
...and templates that inherit std::string. This will help us to also eliminate
C4251 warnings from code that use the ustring class and related items, and avoid
ABI compatibility issues when building code that link and run aginst glibmm on
Visual Studio builds.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* meson.build:
* docs/reference/meson.build:
* gio/giomm/meson.build:
* glib/glibmm/meson.build:
Call add_dist_script() in a subproject, if meson.version() >= 0.58.0.
* tools/build_scripts/handle-built-files.py:
Use MESON_PROJECT_DIST_ROOT if it exists, else MESON_DIST_ROOT.
It exists if meson.version() >= 0.58.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
C++20 changed some aspects of templates that broke variant.h on
some compilers (GCC 11).
Ref: https://wg21.cmeerw.net/cwg/issue2237
template<class T>
struct A {
A<T>(); // ok pre-C++20, now incorrect
// A(); // correct for all versions
};
This commit removes the "simple-template-id" from both the default
constructor (no args) and the explicit constructor (has args), even
though only the default constructor currently gives error on GCC 11.
Since both versions are wrong according to the issue referred to above
it is expected that GCC (and possibly other compilers) will be updated
to fail on both cases in the future.
|
|
|
|
|
|
|
| |
It shall not be possible to find a glibmm header file
with #include <xxx.h> instead of #include <glibmm/xxx.h>.
Not fully fixed until https://github.com/mesonbuild/meson/issues/8562
has been fixed.
|
|
|
|
| |
glib and sigc++ can be subprojects of glibmm.
|
|
|
|
|
|
|
| |
This will fix warnings when building items using glibmm and giomm with
MinGW/GCC.
Please see: https://gitlab.gnome.org/GNOME/gtkmm/-/issues/90
|
|
|
|
|
|
|
| |
The paths to the source code in untracked/ shall be relative to the
meson.build file, when library files are built from a tarball.
With absolute paths Meson may generate too long file names.
See gtkmm!61
|
|
|
|
|
|
| |
and update gio/src/gio_docs_override.xml.
Regenerated while the glib-2-66 branch was checked out from glib.
|
|
|
|
|
|
|
| |
g_binding_get_source(), g_binding_get_target() and g_time_zone_new()
are deprecated in glib 2.68. We can't use the replacement functions,
which are new in glib 2.68. We want to build with -Dwarnings=fatal
and run with both glib 2.68 and older versions of glib.
|
|
|
|
|
|
|
| |
So we can use the 2.66 version numbers for stable releases in the
glibmm-2.4 ABI series.
We've done similar ABI name changes several times before.
|
|
|
|
|
|
|
|
|
|
|
|
| |
g++-10 with optimization level -O1 or higher warns about possible use of
an uninitialized variable when tests/glibmm_binding/main.cc is compiled.
I don't understand why.
There is no warning if the private method Glib::Binding::TransformProp::
operator()() is compiled without optimization. Add an attribute that turns
off optimization for this method when it's compiled with with gcc-10 or
higher. gcc-9 does not warn. gcc-10 does not warn in glibmm-2.4, where
std::optional is not used.
|
|
|
|
| |
and remove unnecessary TODO comments in several files.
|
| |
|
|
|
|
| |
See https://github.com/libsigcplusplus/libsigcplusplus/pull/65
|
|
|
|
|
| |
The value_basictypes.h and variant_basictypes.h files, which are generated
from .m4 files, were not included in the input to Doxygen.
|
|
|
|
| |
Use std::map or std::unordered_map instead.
|
|
|
|
|
| |
This is done for completeness' sake, as we are doing for the private headers that we
generate.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes the built DLL and .lib's contain the toolset version if the build is
carried out using Visual Studio 2017 or later, unless the
'msvc14x-parallel-installable' option is set to be false during configuration.
The reasoning behind this change is that there are subtle problems when, for
instance, one tries to link to a Visual Studio 2017-built glibmm when building
gtkmm and libxml++ with Visual Studio 2019. This is unfortunate as
Microsoft did try hard to make interoperating between binaries built with
Visual Studio 2015, 2017 and 2019 as easy as possible in terms of ABI and API,
but unfortunately this hits the corner cases where this compatibility does not
work.
As the name suggests, this attempts to make Visual Studio 2017 and 2019
builds share a single set of underlying C DLLs easier, while avoiding breakages
caused by such subtle differences.
|
|
|
|
|
|
|
| |
Commit 8b8af81f accidentally changed the macro check from '_MSC_VER' to
'MSC_VER', fix that. It probably does not matter since Visual Studio 2017
is required, where 'GLIBMM_HAVE_ALLOWS_STATIC_INLINE_NPOS' is enabled,
but fix that for consistency's sake.
|