| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Ubuntu 22.10 contains libsigc++-3.0-dev.
|
| |
|
|\
| |
| |
| |
| | |
liststore.hg: Rename a local variable (fix `-Dwarnings=max` on Visual Studio)
See merge request GNOME/glibmm!59
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In the templatized implementation of
std::pair<bool, unsigned int> ListStore<T_item>::find, replace 'result' with
'find_result' for what g_list_store_find_with_equal_func_full() returns, to
avoid a compiler warning when building the giomm_listmodel test program when
'-Dwarnings=max' is specified, for Visual Studio builds, as we are using a
variable 'result' in a rather global scrope there[1].
This will help fix 'meson dist' on Visual Studio builds.
[1]: https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4459
|
|\ \
| |/
| |
| |
| | |
Fix builds against glib-2.75.x+ with -Dwarnings=fatal on Visual Studio
See merge request GNOME/glibmm!57
|
|/
|
|
|
|
|
|
|
|
|
|
| |
... for Visual Studio builds, as GLib 2.75.x and later applied
__declspec(dllimport) via macros to DLL builds of the GLib libraries,
meaning that when we put the GQuark and GType function prototypes into
wrap_init.cc warning C4273 will be raised as the prototypes in
wrap_init.cc does not have any dllimport decorations (and would not have
otherwise mattered).
This allows builds with '-Dwarnings=fatal' to proceed with Visual Studio
builds.
|
|\
| |
| |
| |
| | |
Fix giomm_simple test on Windows
See merge request GNOME/glibmm!58
|
|/
|
|
|
|
|
|
|
|
| |
One normally cannot attempt to remove (delete) a file on Windows if it
is still open, so we must close the resources that are tied to the file
before attempting to delete it.
Without doing so, the test program will fail on Windows as an exception
is caught as the file->remove() call failed since the associated
iostream is still open.
|
|
|
|
| |
See libsigcplusplus PR#83
|
|
|
|
| |
See gtkmm#131
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Fixes #105
|
|
|
|
| |
Fixes #104
|
|
|
|
|
| |
A group (but not a 'using' alias) gets its own html file,
which can be referred to from outside glibmm.
|
|
|
|
| |
Required for Glib::Object's inheritance diagram.
|
|
|
|
| |
See gtkmm!72 (William Roy)
|
| |
|
| |
|
|
|
|
| |
using gtk files from glib 2.74.0.
|
| |
|
| |
|
|
|
|
| |
and other minor documentation fixes.
|
|
|
|
|
|
| |
* gio/src/file.[ccg|hg]: Add create_tmp().
Document create_for_parse_name().
* tests/giomm_simple/main.cc: Test File::create_tmp().
|
| |
|
|
|
|
|
|
| |
* gio/src/liststore.[ccg|hg]: Add two ListStoreBase::find() and
two ListStore::find().
* tests/giomm_listmodel/main.cc: Test ListStore::find().
|
| |
|
| |
|
|
|
|
|
| |
Test with only one gcc version.
Don't use warning_level and werror. They are applied to subprojects.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
using gtk files from glib 2.73.3.
|
| |
|
|
|
|
| |
Fixes #101
|
|
|
|
|
|
| |
get_connection() and get_interface_info() must add a reference.
The error in get_connection() was noticed by 우정모 (kr.woaini).
Fixes #102
|
| |
|
| |
|
|
|
|
| |
GListStore is declared G_DECLARE_FINAL_TYPE.
|
|
|
|
|
|
|
|
|
|
|
| |
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 #100
|
|
|
|
| |
See issue gtkmm#119
|
| |
|
|
|
|
|
|
|
|
| |
...before attempting the build. This will ensure that they are available
during the build and that we do not accidentally refer to an old copy that
exists on the system.
Should fix issue #99.
|
|
|
|
|
|
|
| |
Instead, create them using plain 'md' commands if they don't exist prior to
compiling the sources, if applicable.
Should speed up builds a bit.
|
|
|
|
|
| |
We can actually silence more warnings here, since the issues that they cover
can normally be fished out by the unit tests.
|
|
|
|
|
|
| |
Add a short description of each of the current compiler flags we are using for
this purpose, and only apply '/wd4267' for 64-bit builds since that flag
normally applies for 64-bit builds only.
|
| |
|
| |
|
| |
|