summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* CI: Install all dependencies with aptKjell Ahlstedt2023-01-131-51/+2
| | | | Ubuntu 22.10 contains libsigc++-3.0-dev.
* meson.build: Simplify if-file-exists testKjell Ahlstedt2023-01-131-10/+2
|
* Merge branch 'fix-msvc-warnings-max' into 'master'Kjell Ahlstedt2023-01-091-2/+2
|\ | | | | | | | | liststore.hg: Rename a local variable (fix `-Dwarnings=max` on Visual Studio) See merge request GNOME/glibmm!59
| * liststore.hg: Rename a local variableChun-wei Fan2023-01-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge branch 'disable-c4273-wrap_init' into 'master'Chun-wei Fan2023-01-091-0/+7
|\ \ | |/ | | | | | | Fix builds against glib-2.75.x+ with -Dwarnings=fatal on Visual Studio See merge request GNOME/glibmm!57
| * generate_wrap_init.pl.in: Disable warning C4273Chun-wei Fan2023-01-091-0/+7
|/ | | | | | | | | | | | ... 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.
* Merge branch 'fix-giomm-simple-test-windows' into 'master'Kjell Ahlstedt2023-01-081-0/+1
|\ | | | | | | | | Fix giomm_simple test on Windows See merge request GNOME/glibmm!58
| * Fix giomm_simple test on WindowsChun-wei Fan2023-01-051-0/+1
|/ | | | | | | | | | 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.
* meson.build: Simplify lookup of python commandKjell Ahlstedt2023-01-041-6/+1
| | | | See libsigcplusplus PR#83
* meson.build: Fix the evaluation of is_git_build on WindowsKjell Ahlstedt2023-01-041-5/+10
| | | | See gtkmm#131
* Meson build: Don't copy files with configure_file()Kjell Ahlstedt2023-01-044-13/+16
| | | | | | 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.
* Glib::Binding::unbind(): Fix documentationKjell Ahlstedt2022-12-271-3/+2
| | | | Should have been done in commit dc92d02f4d50851a1af59e5fbe2a753dcfd2e9df.
* Glib::Module: Deprecate build_path()Kjell Ahlstedt2022-12-212-14/+30
| | | | and update the constructor's documentation.
* Add Gio::BytesIconKjell Ahlstedt2022-12-029-0/+127
| | | | | | | | | | | | | * 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
* Gio::AppInfo: Add get_[recommended|fallback]_for_type()Kjell Ahlstedt2022-12-021-1/+5
| | | | Fixes #105
* Gio::NetworkMonitor::get_default(): Add refreturnKjell Ahlstedt2022-11-051-1/+1
| | | | Fixes #104
* Glib::RefPtr: Put the documentation in a Doxygen groupKjell Ahlstedt2022-10-101-0/+11
| | | | | A group (but not a 'using' alias) gets its own html file, which can be referred to from outside glibmm.
* Doxyfile.in: Allow more graph nodesKjell Ahlstedt2022-10-102-2/+2
| | | | Required for Glib::Object's inheritance diagram.
* meson.build: Detect if we build from a git subtreeKjell Ahlstedt2022-09-261-6/+8
| | | | See gtkmm!72 (William Roy)
* 2.74.02.74.0Kjell Ahlstedt2022-09-193-2/+14
|
* glib/glibmm.h: Update the link to the gtkmm tutorialKjell Ahlstedt2022-09-191-1/+1
|
* Glib, Gio: Regenerate docs.xml filesKjell Ahlstedt2022-09-192-13/+51
| | | | using gtk files from glib 2.74.0.
* Convert README to README.mdKjell Ahlstedt2022-09-121-4/+36
|
* CI: Return to using ubuntu:rolling (22.04)Kjell Ahlstedt2022-09-021-2/+2
|
* Gio::File docs: Add @throwsKjell Ahlstedt2022-09-021-32/+116
| | | | and other minor documentation fixes.
* Gio::File: Add create_tmp()Kjell Ahlstedt2022-09-013-11/+106
| | | | | | * gio/src/file.[ccg|hg]: Add create_tmp(). Document create_for_parse_name(). * tests/giomm_simple/main.cc: Test File::create_tmp().
* Gio::ListStore::find() docs: Small changesKjell Ahlstedt2022-09-012-7/+7
|
* Gio::ListStore: Add find()Kjell Ahlstedt2022-08-293-0/+234
| | | | | | * gio/src/liststore.[ccg|hg]: Add two ListStoreBase::find() and two ListStore::find(). * tests/giomm_listmodel/main.cc: Test ListStore::find().
* CI: Skip building with Autotools if glib is too oldKjell Ahlstedt2022-08-271-0/+8
|
* 2.73.22.73.2Kjell Ahlstedt2022-08-233-2/+44
|
* CI: Use ubuntu:devel (22.10)Kjell Ahlstedt2022-08-231-31/+15
| | | | | Test with only one gcc version. Don't use warning_level and werror. They are applied to subprojects.
* Gio: Add some methods for glibmm 2.74Kjell Ahlstedt2022-08-228-6/+45
| | | | | | | | | | | | | * 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.
* Glib, Gio: Regenerate docs.xml and .defs filesKjell Ahlstedt2022-08-229-62/+1308
| | | | using gtk files from glib 2.73.3.
* Doxyfile.in: Remove obsolete entryKjell Ahlstedt2022-08-221-1/+0
|
* Add Glib::ustring::release()Kjell Ahlstedt2022-08-211-0/+11
| | | | Fixes #101
* Gio::DBus::Proxy: Add some refreturnglibmm-2-72Kjell Ahlstedt2022-07-291-4/+4
| | | | | | get_connection() and get_interface_info() must add a reference. The error in get_connection() was noticed by 우정모 (kr.woaini). Fixes #102
* gmmproc: Make h2def.py recognize G_DEFINE_AUTOPTR_CLEANUP_FUNCKjell Ahlstedt2022-07-231-0/+4
|
* gmmproc, DocsParser.pm: Improve the handling of gi-docgen syntax, part 3Kjell Ahlstedt2022-07-071-0/+3
|
* Gio::ListStore: Don't derive a gtkmm__GListStore GTypeKjell Ahlstedt2022-06-081-0/+2
| | | | GListStore is declared G_DECLARE_FINAL_TYPE.
* gmmproc: Improved handling of final typesKjell Ahlstedt2022-06-083-8/+65
| | | | | | | | | | | 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.
* Gio::Action: Improve the documentationKjell Ahlstedt2022-06-061-17/+18
| | | | See issue #100
* Glib::RefPtr: Improve the documentationKjell Ahlstedt2022-06-061-0/+15
| | | | See issue gtkmm#119
* Update tools/test_scripts/testheaders.shKjell Ahlstedt2022-06-011-5/+15
|
* NMake Makefiles: Ensure g[lib|io]mm[config.h|.rc] are createdChun-wei Fan2022-05-271-0/+4
| | | | | | | | ...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.
* NMake Makefiles: Remove rules on build directory creationChun-wei Fan2022-05-272-16/+10
| | | | | | | 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.
* Meson/MSVC: Add more warnings to ignoreChun-wei Fan2022-05-231-0/+3
| | | | | We can actually silence more warnings here, since the issues that they cover can normally be fished out by the unit tests.
* Meson: Re-organize MSVC compiler warnings-related itemsChun-wei Fan2022-05-231-4/+14
| | | | | | 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.
* meson.build: Avoid configuration warningsKjell Ahlstedt2022-05-192-25/+32
|
* 2.72.12.72.1Kjell Ahlstedt2022-05-053-2/+10
|
* CI: Accept warnings from clang++Kjell Ahlstedt2022-05-041-1/+1
|