Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.7 #74

Merged
merged 15 commits into from
Sep 21, 2024
Merged

Version 0.7 #74

merged 15 commits into from
Sep 21, 2024

Conversation

jwahlstrand
Copy link
Member

Major changes

  • Dialog methods like open_dialog, info_dialog, etc. now use the new API introduced in GTK 4.10. See Use new dialogs (breaking) #49. The previous API was deprecated in recent versions of GTK, so this will be better in the long term. With a few exceptions (see below) this should not require changes downstream.
  • GtkTextView related API has been changed drastically in order to make it consistent with the other parts of the package and to fix many of the auto-generated methods. See GtkTextView: use pointer or Ref instead of _GtkTextIter struct (breaking) #62
  • Minimum Julia version is now 1.10

Other changes

  • Updated Adwaita generated code
  • Misc. documentation improvements
  • Minor performance improvements enabled by bumping required Julia version

List of breaking changes

  • Arguments of ask_dialog have changed: no_text, yes_text, and modal removed.
  • Arguments of input_dialog have changed: buttons argument removed.
  • Lots of breaking changes related to GtkTextView - sorry folks!

The next non-0.7.x version will probably be 1.0.

In the newer versions of GTK v4, new dialogs were introduced and the old ones were deprecated, including GtkDialog and GtkMessageDialog. There isn't much difference in user-facing behavior, but since the old ones were deprecated it's less likely bugs will be fixed. This PR migrates to the new dialogs and cleans up our API a little.

I left the file dialogs alone after looking in the C code and realizing that the new dialogs are based on GtkFileChooserNative, like the old code.
…ing) (#62)

* GtkTextView: use pointer or ref instead of _GtkTextIter struct

This is more consistent with everything else in the package

* random stuff

* support adding widgets to gutter

* fix GtkTextIter auto-generated methods, better support methods for all non-opaque structs
@jwahlstrand jwahlstrand merged commit c499462 into main Sep 21, 2024
6 checks passed
@jwahlstrand jwahlstrand deleted the v7 branch September 21, 2024 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant