| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac:
* meson.build: Require glib-2.0 >= 2.73.2.
* gio/src/appinfo.hg: Add get_default_for_type_async/finish(),
get_default_for_uri_scheme_async/finish().
* gio/src/file.hg: Add make_symbolic_link_async/finish().
* gio/src/liststore.hg: Add property_n_items().
* gio/src/resolver.hg: Add enum Resolver::NameLookupFlags,
lookup_by_name_with_flags(), lookup_by_name_with_flags_async/finish().
* gio/src/gio_docs_override.xml:
* tools/m4/convert_gio.m4: Add conversions for Resolver::NameLookupFlags.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Fixes #97
|
|
|
|
|
|
| |
The default value will be changed in future Meson releases.
Don't use deprecated python3.path() and execute(..., gui_app: ...).
|
|
|
|
|
| |
Makes it easier to suppress deprecation warnings when a C method has been
deprecated, but the corresponding C++ method shall not (yet) be deprecated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
The default file encoding is platform dependent in Python.
Better specify which encoding is preferred.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
gtk4 has started using gi-docgen instead of gtk-doc. It has a different
syntax for referring to methods, signals, properties and other stuff
in the documentation.
gmmproc does not handle the gi-docgen syntax perfectly when it converts
to Doxygen syntax and C++ names. It has never handled gtk-doc syntax
perfectly, either. Hopefully it's good enough in most cases.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* tools/build_scripts/handle-built-files.py: Don't print names of
installed files if environment variable MESON_INSTALL_QUIET is set.
It is set by "meson install --quiet" in Meson 0.54.0 and newer.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
A Python script that can replace the Perl script tools/enum.pl.
Why? Just because I've got fond of Python.
|
|
|
|
| |
glib and sigc++ can be subprojects of glibmm.
|
|
|
|
|
| |
Ignore some new glib header files when generating
gio/src/gio_enums.defs and gio/src/gio_methods.defs.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Call g_type_ensure(SomeClass::get_type()).
Redefining the G_GNUC_CONST preprocessor macro does not have the
intended effect (SomeClass::get_type() actually being called) if
the package is compiled and linked with the -flto option.
LTO = link time optimization
https://mail.gnome.org/archives/gtkmm-list/2020-November/msg00009.html
|
| |
|
|
|
|
|
|
| |
As in the case of class_shared.m4, we need to do the same for
class_interface.m4 as well, in order to export the items in the private
headers fully.
|
|\
| |
| |
| |
| | |
class_shared.m4: Decorate private class prototype if `_WRAP_GOBJECT` has a function decoration specified (master branch)
See merge request GNOME/glibmm!39
|
| |
| |
| |
| |
| |
| | |
...when using _WRAP_GOBJECT with a function decoration. This will help expose
the class definition in the generated private/*_p.h in the built DLLs/LIBs that
is built with Visual Studio or clang-cl.
|
|/
|
|
|
| |
When parsing function declarations, remove G_DECLARE_DERIVABLE_TYPE
and GDK_DECLARE_INTERNAL_TYPE.
|
|
|
|
|
| |
Add a std::move() to avoid copying.
Fixes #76
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Specify #!/usr/bin/env python3, making it unnecessary to have a python
command which is a link to python3.
In h2def.py, use the built-in set() instead of Set() from the sets module.
|
|
|
|
|
|
| |
This allows one to pass in deocrations for the comparison operators so
that those decorations may be defined as compiler directives to export
symbols in a more fine-grained manner.
|
|
|
|
|
|
|
|
|
| |
Allow to apply the decl_prefix argument onto the template<> classes that
we generate for the _WRAP_GERROR and _WRAP_ENUM directives in the
various *.hg files, if specified.
Please note that this is done in GNU m4 style for enum.m4 since we are
using the 10th argument.
|
|
|
|
| |
Fixes #70
|
|
|
|
|
|
|
|
|
| |
So we can use the 2.64 version numbers for stable releases in the
glibmm-2.4 ABI series.
We don't need to release a stable ABI-parallel glibmm until we need
to release gtkmm 4.0, and that won't happen until GTK 4.0.0 happens.
We've done similar ABI name changes several times before.
|
|
|
|
|
|
| |
Apparently more items in the generated code must be marked with the
function decoration that is specified, otherwise the exported symbols
will not be complete.
|
|
|
|
|
|
|
|
| |
This allows one to export the generated Glib::Error class with decorations so
that one may be able to use this to export it using compiler directives.
This allows specifications that start with decl_prefix, and this also
decorates the `friend wrap_init() method in the generated Glib::Error class
|
|
|
|
|
| |
This allows the compiler to use the decoration macro to export those methods
from the generated items
|
|
|
|
|
| |
wrap_init.cc shall be rebuilt when generate_wrap_init.pl has been rebuilt.
Generated .h and .cc files shall be rebuilt when gmmproc has been rebuilt.
|
|
|
|
|
|
|
|
|
| |
The former method of using gendef.exe to generate the import library for
glibmm_generate_extra_defs somehow breaks 'meson dist' and builds from
release tarballs, unless one builds giomm first.
Fix this by using the __declspec(dll[ex|im]port) directives, since
glibmm_generate_extra_defs is a simple utility library.
|
|
|
|
|
|
|
|
|
|
| |
Ensure we can generate the import lib for glibmm_generate_extra_defs on
Visual Studio builds by using the same technique we used for glibmm and
giomm, and build the two programs that is to be built along side with
it.
Also re-order the items in meson.build a bit so that we are able to use
our gendef tool.
|
|
|
|
| |
Otherwise the script gets confused as the slashes were not escaped
|
|
|
|
|
|
| |
glibmm can be built with either Autotools or Meson.
See MR !27
|
|
|
|
|
|
|
|
| |
* examples/network/resolver.cc: Don't include config.h. It's not used.
* glib/glibmm/ustring.cc: Check if GLIBMM_SIZEOF_WCHAR_T is defined.
* tools/generate_wrap_init.pl.in:
* tools/gmmproc.in: Change '\@' to '\ @'. Meson's configure_file()
removes a backslash immediately before an at-sign.
|
|
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=783216
Fix https://gitlab.gnome.org/GNOME/glibmm/issues/19
Close https://gitlab.gnome.org/GNOME/glibmm/merge_requests/20
|
|
|
|
| |
Fixes #66
|
|
|
|
|
|
|
|
|
| |
So we can use the 2.62 version numbers for stable releases in the
glibmm-2.4 ABI series.
We don't need to release a stable ABI-parallel glibmm until we need
to release gtkmm 4.0, and that won't happen until GTK 4.0.0 happens.
We've done similar ABI name changes several times before.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GTimeVal has been deprecated in glib. Remove its wrapping in glibmm.
* examples/dbus/server_without_bus.cc:
* examples/dbus/session_bus_service.cc: Replace TimeVal by DateTime.
* gio/src/fileinfo.[ccg|hg]: Remove [set_]modification_time().
Add set/get_modification_date_time().
* glib/glibmm.h:
* glib/glibmm/filelist.am: Remove timeval.
* glib/glibmm/timeval.[cc|h]: Removed files.
* glib/src/date.[ccg|hg]: Remove set_time(const GTimeVal& timeval).
* glib/src/datetime.[ccg|hg]: Remove create_now_local/utc(const TimeVal& tv)
and to_timeval(). Add create_from_iso8601(), format_iso8601() and
operator bool().
* tools/m4/convert_glib.m4:
* tools/m4/convert_gio.m4: Remove conversions for GTimeVal.
|