Releases: vmagnin/gtk-fortran
gtk-fortran 4.2.1
Fixed
- Issue #257:
examples/tests.f90,examples/bazaar.f90andsrc/gtk-fortran.f90were crashing (segmentation fault) on macOS because the GLibg_get_os_info()function returns NULL on that OS.
gtk-fortran 4.2.0
This release offers interfaces to GTK 4.6.2 and GLib 2.72.1.
Added
- gtk-fortran can now be used as a simple fpm dependency (gtk4 branch only). See the gtkzero_fpm example. It implied some changes:
gtk-auto.f90andgtkenums-auto.f90are renamed with the.incextension.- Removed
mswindowsonly-auto.f90andunixonly-auto.f90, and addedapi_compatibility.f90with the modulegtk_os_dependentto keep API compatibility. plplot/plplot_extra_ndef.f90renamedplplot_extra.f90and moved tosrc/.
examples/bazaar.f90: the About button credits the authors of that file. The call togtk_about_dialog_set_license()is replaced by the more convenientgtk_about_dialog_set_license_type().- A
tutorials/directory contains the GTK 4 sources used in the Wiki first tutorial. src/gtk-fortran.f90: prints the GTK and GLib version of the release.- A conda repository for gtk-4-fortran.
Changed
- Better handling of default compiler flags, using flags like
CMAKE_Fortran_FLAGS_RELEASE_INIT(CMake>=3.7 required). A filecmake/DefaultFlags.cmakewas added. Backported to gtk3 branch. gtkbuilder2.f90: replacedgtk_builder_add_from_file()bygtk_builder_new_from_file().- The syntax was modernized in many places (Fortran 2008).
Fixed
g_application_run()should be called with an array[c_null_ptr]as third argument instead ofc_null_ptr. Needed with the NAG Fortran compiler. Backported to gtk3 branch.examples/tests.f90: loop undefined with ifort. And now usesg_variant_unref().- Various bug fixes.
gtk-fortran 3.24.31
- Based on GTK 3.24.31, GLib 2.72.1.
- Better handling of default compiler flags, using flags like
CMAKE_Fortran_FLAGS_RELEASE_INIT(CMake>=3.7 required). A filecmake/DefaultFlags.cmakewas added. g_application_run()should be called with an array[c_null_ptr]as third argument instead ofc_null_ptr. Needed with the NAG Fortran compiler.
gtk-fortran 4.1
Based on GTK 4.4.0 and GLib 2.70.0 and generated on Fedora 35.
Concerning gtk-fortran itself, under the hood the main change is that each interface now uses the import :: statement instead of use, intrinsic :: iso_c_binding, only: (although anecdotal, the overall size gain is 6% on the 9822 interfaces).
Concerning GTK 4.4, the novelties are listed in the GTK NEWS file, and main changes are presented in the GTK blog. For example, the GTK Inspector is now enabled by default (CTRL+SHIFT+D).
gtk-fortran 3.24.30
Based on GTK 3.24.30, GLib 2.68.4, generated under Fedora 34.
gtk-fortran 4.0
Starting with that release, gtk-fortran will follow a classical semantic versioning (instead of following the GTK or Ubuntu versions): gtk-fortran 4.0 is based on GTK 4.2 and GLib 2.68.
The GTK 4 library is progressively arriving in all systems: Ubuntu 21.04, Fedora 33 & 34, Alpine Linux, ALT Linux Sisyphus, Arch Linux, KaOS, Mageia 8, NetBSD 9.1, OpenMandriva Rolling, openSUSE Tumbleweed. But concerning Debian, it is still in the experimental branch. Concerning Windows, GTK 4 is available in MSYS2.
See the CHANGELOG file for a summary of the new features since the April 2020 release, and the GTK Development Blog to know more about the numerous changes in GTK 4.
Note that the gtkf-sketcher tool has only been partially ported to GTK 4, as an essential API for that tool disappeared from GTK 4. And Glade is not yet ported to GTK 4.
gtk-fortran 3.24.28
We have also made a new release in the gtk3 branch, with GTK 3.24.28 and GLib 2.68. All the improvements included in gtk-fortran 3.24.28 (gtk3 branch) are also in gtk-fortran 4.0.
Note that the package names are gtk-3-fortran and gtk-4-fortran: installing both libraries on your machine is not a problem.
gtk-fortran v20.04.gtk3.24.18
gtk-fortran 20.04 is based on GTK 3.24.18 and GLib 2.64.2.
The main objective of this release was to prepare the future GTK 4 migration. A lot of clean-up has been made: scripts, build tools, examples (a lot of deprecated functions were removed)…
A gtk4 development branch has been created. The core of the library is ready for GTK 4 (3.98.3, available for example in Fedora 32). Some examples are already running. The big work will be to upgrade each example and the HL library and its examples. GTK 4 could be released at the end of this year. See: https://blog.gtk.org/
gtk-fortran v19.04.gtk3.24.8
Based on GTK 3.24.8, GLib 2.60.0, generated with Ubuntu 19.04 x86_64, PLplot>=5.13.
gtk-fortran v19.04.gtk2.24.32
Based on GTK 2.24.32, GLib 2.60.0, generated with Ubuntu 19.04 x86_64, PLplot<=5.10.