Releases: gtk-rs/gtk4-rs
Releases · gtk-rs/gtk4-rs
0.9.2
Bilal Elmoussaoui:
deny: Remove quick-xml
Florian Reisecker:
misc: Add IntelliJ dir to .gitignore
Martin Ling:
Fix segfault in FileChooserExtManual::add_choice()
Sebastian Dröge:
gdk4-win32: Add missing v4_8 feature
gdk4-win32: Fix docs build on Linux
Update gir
Regenerate with latest gir
Update Cargo.lock
Update version to 0.9.2
Sebastian Wiesner:
Update container image to libadwaita 1.6
dependabot[bot]:
build(deps): bump glium from 0.34.0 to 0.35.0
0.9.1
0.9.0
What's Changed
- book: Update to 0.7 release by @jf2048 in #1324
- Use gio::spawn_blocking instead of thread::spawn by @Hofer-Julian in #1433
- Use
derived_properties
macro by @Hofer-Julian in #1434 - Add dependabot for github actions by @Hofer-Julian in #1440
- Regenerate with latest gir/gir-files by @bilelmoussaoui in #1444
- build(deps): bump actions/checkout from 2 to 3 by @dependabot in #1448
- build(deps): bump actions/cache from 1 to 3 by @dependabot in #1445
- Add typos CI workflow by @Hofer-Julian in #1439
- gdk: Add missing Clipboard::set by @bilelmoussaoui in #1450
- book: Update for 0.7.1 by @Hofer-Julian in #1451
- gtk4-macro: Bump quick-xml to 0.30 by @bilelmoussaoui in #1453
- Untangle docsrs attribute from features by @pentamassiv in #1454
- Regenerate with latest gir/gir-files by @bilelmoussaoui in #1455
- Impl Write on text buffers by @ranfdev in #1452
- Add new Path APIs by @bilelmoussaoui in #1463
- book: Update instructions to
v4_12
by @Hofer-Julian in #1465 - Go back to 4_8 by @Hofer-Julian in #1466
- gdk: Make RGBA::new const and add with_* constructors by @SeaDve in #1468
- book: Move to
std::cell::OnceCell
by @Hofer-Julian in #1470 - book: Extend memory management chapter by @Hofer-Julian in #1459
- book: Add missing snippet for
new_task
by @Hofer-Julian in #1472 - Regenerate with latest gir/gir-files by @bilelmoussaoui in #1475
- build(deps): update windows requirement from 0.48 to 0.51 by @dependabot in #1473
- gdk: Rename
GdkCairoContextExt::set_source_{rgba => color}
by @RealKC in #1476 - Regenerate with updated gir/gir-files by @bilelmoussaoui in #1479
- book: Add missing steps for installation in windows by @erwinschrodinger1 in #1486
- gdk: Simplify RGBA builder code by @SeaDve in #1483
- gsk: Add builder for Stroke by @SeaDve in #1482
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #1490
- Regenerate with latest gir by @bilelmoussaoui in #1492
- gtk: Implement HasParamSpec for TemplateChild by @bilelmoussaoui in #1495
- book: Check links with lychee by @Hofer-Julian in #1499
- book: Run separate jobs for check and deploy by @Hofer-Julian in #1501
- CI: Add Hofer-Julian as code owner for
.github/workflows/book.yml
by @Hofer-Julian in #1502 - book: Fix typo in memory management chapter by @Hofer-Julian in #1504
- gtk4-macros: Update to proc-macro-crate 2 by @sdroege in #1506
- build(deps): update khronos-egl requirement from 5.0 to 6.0 by @dependabot in #1507
- book: Rename action to correct name by @Hofer-Julian in #1510
- examples: Only require GTK 4.10 for the examples by @sdroege in #1509
- gtk: Use glib enums instead of bools where it makes sense by @bilelmoussaoui in #1512
- examples: Clean up, modernize and simplify virtual methods example by @sdroege in #1513
- examples: various cleanups by @bilelmoussaoui in #1515
- book: Split book workflow in two by @Hofer-Julian in #1517
- book: Disable playground globally by @Hofer-Julian in #1518
- book: Move to async-channel by @Hofer-Julian in #1521
- book: Use bounded channels instead of unbounded by @Hofer-Julian in #1522
- book: Extend main loop chapter with async section by @Hofer-Julian in #1511
- Migrate listings to action group by @Hofer-Julian in #1525
- build(deps): update quick-xml requirement from 0.30 to 0.31 by @dependabot in #1528
- docker: Move to libadwaita 1.4 by @Hofer-Julian in #1531
- book: Move to
install_action
by @Hofer-Julian in #1529 - book: Use new API spawn_future_local by @Hofer-Julian in #1533
- book: Add setuptools installation by @wroyca in #1534
- book: Move to libadwaita 1.4 by @Hofer-Julian in #1536
- Update to windows 0.52 by @sdroege in #1540
- build(deps): bump docker/build-push-action from 1 to 5 by @dependabot in #1493
- build(deps): update femtovg requirement from 0.7 to 0.8 by @dependabot in #1538
- build(deps): update glium requirement from 0.32 to 0.33 by @dependabot in #1537
- Add clarification around creating tokio runtime by @JakeStanger in #1546
- docs: fix composite template internal_child -> internal by @vhakulinen in #1550
- build(deps): bump lycheeverse/lychee-action from 1.8.0 to 1.9.0 by @dependabot in #1554
- Update project_setup.md by @redvimo in #1558
- book: Fix link to GVariant docs by @Hofer-Julian in #1559
- build(deps): bump lycheeverse/lychee-action from 1.9.0 to 1.9.1 by @dependabot in #1561
- build(deps): update proc-macro-crate requirement from 2.0 to 3.0 by @dependabot in #1555
- image: Use modern way of publishing the container by @bilelmoussaoui in #1566
- build(deps): update glium requirement from 0.33 to 0.34 by @dependabot in #1556
- Fix nightly clippy warnings by @bilelmoussaoui in #1551
- Various fixes by @bilelmoussaoui in #1568
- examples: Add a gtk::Scale by @bilelmoussaoui in #1569
- examples: Add a menubar one by @bilelmoussaoui in #1570
- Revert "book: Go back to 4_8 for now" by @bilelmoussaoui in #1571
- build(deps): bump docker/build-push-action from f2a1d5e99d037542a71f64918e516c093c6f3fc4 to 9f6f8c940b91232557f8699b21341a08624a8dce by @dependabot in #1574
- build(deps): bump docker/metadata-action from 9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 to dbef88086f6cef02e264edb7dbf63250c17cef6c by @dependabot in #1573
- build(deps): bump docker/login-action from 65b78e6e13532edd9afa3aa52ac7964289d1a9c1 to 3d58c274f17dffee475a5520cbe67f0a882c4dbb by @dependabot in #1572
- build(deps): bump actions/cache from 3 to 4 by @dependabot in #1575
- build(deps): bump h2 from 0.3.21 to 0.3.24 in /book/listings by @dependabot in #1577
- Use cargo workspace features by @bilelmoussaoui in #1579
- Get rid of once_cell by @bilelmoussaoui in #1580
- book: Use const consistently by @Hofer-Julian in #1582
- print_job: fix send() closure by @pbor in #1563
- book: Less usage of once_cell by @Hofer-Julian in #1581
- Add missing installation step for Windows by @pieterdd in #1584
- build(deps): bump lycheeverse/lychee-action from 1.9.1 to 1.9.2 by @dependabot in #1586
- build(deps): bump docker/build-push-action from 9f6f8c940b91232557f8699b21341a08624a8dce to 94d76d3bc1409736cb5dc1ada9502bec3a72973c by @dependabot in #1585
- Examples: Dialog's response signal handling by @jobale in #1514
- Examples: async request no blocking main thread by @Claudio-code in #1578
- CI: add a cargo deny job by @bilelmoussaoui in #1576
- Regen with ffi workspacecs usage by @bilelmoussaoui in #1587
- gtk::show_about_dialog: Set hide_on_close by @felinira in #1588
- examples: Add example for About Dialog by @Felin...
0.8.2
Bilal Elmoussaoui:
- gtk/subclass: Add IMContext.activate_osk_with_event vfunc support
- gdk: Add DmabufTextureBuilder::build
- gdk: Mark Texture builders destroy callbacks as Send
- Add gtk 4.15 unstable APIs support
Kévin Commaille:
- macros: Remove proc-macro-error dependency
- macros: Upgrade syn to 2.0
- macros: Drop anyhow dependency
Sebastian Dröge:
- Correctly handle NULL GError** out parameters
0.8.1
Bilal Elmoussaoui:
- Add more 4.14 APIs support
- Fix gtk::PopoverMenuFlags erroneously locked behind v4_14 feature flag
- Add a
gnome-46
feature togtk4
crate. See README for details
0.8.0
What's Changed
- book: Update to 0.7 release by @jf2048 in #1324
- Use gio::spawn_blocking instead of thread::spawn by @Hofer-Julian in #1433
- Use
derived_properties
macro by @Hofer-Julian in #1434 - Add dependabot for github actions by @Hofer-Julian in #1440
- Regenerate with latest gir/gir-files by @bilelmoussaoui in #1444
- build(deps): bump actions/checkout from 2 to 3 by @dependabot in #1448
- build(deps): bump actions/cache from 1 to 3 by @dependabot in #1445
- Add typos CI workflow by @Hofer-Julian in #1439
- gdk: Add missing Clipboard::set by @bilelmoussaoui in #1450
- book: Update for 0.7.1 by @Hofer-Julian in #1451
- gtk4-macro: Bump quick-xml to 0.30 by @bilelmoussaoui in #1453
- Untangle docsrs attribute from features by @pentamassiv in #1454
- Regenerate with latest gir/gir-files by @bilelmoussaoui in #1455
- Impl Write on text buffers by @ranfdev in #1452
- Add new Path APIs by @bilelmoussaoui in #1463
- book: Update instructions to
v4_12
by @Hofer-Julian in #1465 - Go back to 4_8 by @Hofer-Julian in #1466
- gdk: Make RGBA::new const and add with_* constructors by @SeaDve in #1468
- book: Move to
std::cell::OnceCell
by @Hofer-Julian in #1470 - book: Extend memory management chapter by @Hofer-Julian in #1459
- book: Add missing snippet for
new_task
by @Hofer-Julian in #1472 - Regenerate with latest gir/gir-files by @bilelmoussaoui in #1475
- build(deps): update windows requirement from 0.48 to 0.51 by @dependabot in #1473
- gdk: Rename
GdkCairoContextExt::set_source_{rgba => color}
by @RealKC in #1476 - Regenerate with updated gir/gir-files by @bilelmoussaoui in #1479
- book: Add missing steps for installation in windows by @erwinschrodinger1 in #1486
- gdk: Simplify RGBA builder code by @SeaDve in #1483
- gsk: Add builder for Stroke by @SeaDve in #1482
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #1490
- Regenerate with latest gir by @bilelmoussaoui in #1492
- gtk: Implement HasParamSpec for TemplateChild by @bilelmoussaoui in #1495
- book: Check links with lychee by @Hofer-Julian in #1499
- book: Run separate jobs for check and deploy by @Hofer-Julian in #1501
- CI: Add Hofer-Julian as code owner for
.github/workflows/book.yml
by @Hofer-Julian in #1502 - book: Fix typo in memory management chapter by @Hofer-Julian in #1504
- gtk4-macros: Update to proc-macro-crate 2 by @sdroege in #1506
- build(deps): update khronos-egl requirement from 5.0 to 6.0 by @dependabot in #1507
- book: Rename action to correct name by @Hofer-Julian in #1510
- examples: Only require GTK 4.10 for the examples by @sdroege in #1509
- gtk: Use glib enums instead of bools where it makes sense by @bilelmoussaoui in #1512
- examples: Clean up, modernize and simplify virtual methods example by @sdroege in #1513
- examples: various cleanups by @bilelmoussaoui in #1515
- book: Split book workflow in two by @Hofer-Julian in #1517
- book: Disable playground globally by @Hofer-Julian in #1518
- book: Move to async-channel by @Hofer-Julian in #1521
- book: Use bounded channels instead of unbounded by @Hofer-Julian in #1522
- book: Extend main loop chapter with async section by @Hofer-Julian in #1511
- Migrate listings to action group by @Hofer-Julian in #1525
- build(deps): update quick-xml requirement from 0.30 to 0.31 by @dependabot in #1528
- docker: Move to libadwaita 1.4 by @Hofer-Julian in #1531
- book: Move to
install_action
by @Hofer-Julian in #1529 - book: Use new API spawn_future_local by @Hofer-Julian in #1533
- book: Add setuptools installation by @wroyca in #1534
- book: Move to libadwaita 1.4 by @Hofer-Julian in #1536
- Update to windows 0.52 by @sdroege in #1540
- build(deps): bump docker/build-push-action from 1 to 5 by @dependabot in #1493
- build(deps): update femtovg requirement from 0.7 to 0.8 by @dependabot in #1538
- build(deps): update glium requirement from 0.32 to 0.33 by @dependabot in #1537
- Add clarification around creating tokio runtime by @JakeStanger in #1546
- docs: fix composite template internal_child -> internal by @vhakulinen in #1550
- build(deps): bump lycheeverse/lychee-action from 1.8.0 to 1.9.0 by @dependabot in #1554
- Update project_setup.md by @redvimo in #1558
- book: Fix link to GVariant docs by @Hofer-Julian in #1559
- build(deps): bump lycheeverse/lychee-action from 1.9.0 to 1.9.1 by @dependabot in #1561
- build(deps): update proc-macro-crate requirement from 2.0 to 3.0 by @dependabot in #1555
- image: Use modern way of publishing the container by @bilelmoussaoui in #1566
- build(deps): update glium requirement from 0.33 to 0.34 by @dependabot in #1556
- Fix nightly clippy warnings by @bilelmoussaoui in #1551
- Various fixes by @bilelmoussaoui in #1568
- examples: Add a gtk::Scale by @bilelmoussaoui in #1569
- examples: Add a menubar one by @bilelmoussaoui in #1570
- Revert "book: Go back to 4_8 for now" by @bilelmoussaoui in #1571
- build(deps): bump docker/build-push-action from f2a1d5e99d037542a71f64918e516c093c6f3fc4 to 9f6f8c940b91232557f8699b21341a08624a8dce by @dependabot in #1574
- build(deps): bump docker/metadata-action from 9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 to dbef88086f6cef02e264edb7dbf63250c17cef6c by @dependabot in #1573
- build(deps): bump docker/login-action from 65b78e6e13532edd9afa3aa52ac7964289d1a9c1 to 3d58c274f17dffee475a5520cbe67f0a882c4dbb by @dependabot in #1572
- build(deps): bump actions/cache from 3 to 4 by @dependabot in #1575
- build(deps): bump h2 from 0.3.21 to 0.3.24 in /book/listings by @dependabot in #1577
- Use cargo workspace features by @bilelmoussaoui in #1579
- Get rid of once_cell by @bilelmoussaoui in #1580
- book: Use const consistently by @Hofer-Julian in #1582
- print_job: fix send() closure by @pbor in #1563
- book: Less usage of once_cell by @Hofer-Julian in #1581
- Add missing installation step for Windows by @pieterdd in #1584
- build(deps): bump lycheeverse/lychee-action from 1.9.1 to 1.9.2 by @dependabot in #1586
- build(deps): bump docker/build-push-action from 9f6f8c940b91232557f8699b21341a08624a8dce to 94d76d3bc1409736cb5dc1ada9502bec3a72973c by @dependabot in #1585
- Examples: Dialog's response signal handling by @jobale in #1514
- Examples: async request no blocking main thread by @Claudio-code in #1578
- CI: add a cargo deny job by @bilelmoussaoui in #1576
- Regen with ffi workspacecs usage by @bilelmoussaoui in #1587
- gtk::show_about_dialog: Set hide_on_close by @felinira in #1588
- examples: Add example for About Dialog by @Felin...
0.7.3
- gdk: Make RGBA::new const
- gdk: Add with_* constructors for RGBA
- gsk: Add builder for Stroke
- gtk/gsk: Support new GTK 4.14 APIs
0.7.2
- gtk4-macros: Bump quick-xml to 0.30
- gdk: Add missing
Clipboard::set
- gtk: Implement
std::fmt::Write
forEntryBuffer
/TextBuffer
- gtk: Add the latest 4.12 APIs
- gsk/gtk: Start supporting the to be released 4.14 Path APIs, see https://github.com/gtk-rs/gtk4-rs/tree/master/examples/fill_and_stroke
0.7.1
0.7.0
What's Changed
- book: Adapt to glib-build-tools breaking change by @RealKC in #1277
- gtk4: Use correct length for the
StrV
when passing to C by @sdroege in #1298 - book: Update to 0.6 by @Hofer-Julian in #1300
- WIP: book: Use glib::ExitStatus by @A6GibKm in #1285
- examples: add gtk4 femtovg example by @jf2048 in #1305
- Update gir-files by @sdroege in #1310
- examples: list_box_model: Use
im-rc::Vector
instead ofVec
by @sdroege in #1311 - gtk: Add Accessible subclassing support by @bilelmoussaoui in #1312
- rgba: Add TRANSPARENT const by @A6GibKm in #1315
- Update built with section in README by @AaronErhardt in #1318
- Prepare for gir collections by @jf2048 in #1320
- gtk4: Update for
IntoStrV
not including the NULL terminator in the … by @sdroege in #1321 - examples: Update ListStore::new by @jf2048 in #1326
- Update bindings by @bilelmoussaoui in #1327
- Add a note to the book by @mashomee in #1331
- Remove mention of "clear_button" in the book by @zekefast in #1333
- Fix typos and deprecations in the book for CSS chapter (14th). by @zekefast in #1334
- Change xml code block to diff in "Adapt Todo App". by @zekefast in #1336
- Fix typos by @FineFindus in #1337
- README: Document gnome_44 feature by @A6GibKm in #1338
- Add a note about finishing touches to "Set CSS Name and Use Exported Colors" section of 14th (CSS) chapter of the book. by @zekefast in #1339
- Fix typo in the comment of gtk4-rs/book/listings/todo/8/window/mod.rs listing. by @zekefast in #1340
- gtk4-macros: enable default features of syn by @decathorpe in #1341
- Replace usage of deprecated gtk::Dialog with adw::MessageDialog in the books listings. by @zekefast in #1343
- book: Add lock file for listings and update dirs by @Hofer-Julian in #1345
- Specify libadwaita latest stable release branch in the book. by @wroyca in #1356
- Regenerate with latest gir-files by @bilelmoussaoui in #1344
- gtk: Implement convenience traits for StringObject by @bilelmoussaoui in #1361
- gtk: Move provider related functions outside of StyleContext by @bilelmoussaoui in #1362
- book: Move to property macro by @Hofer-Julian in #1363
- book: Use generated wrapper method by @Hofer-Julian in #1366
- gtk4-macros: Support blueprint files in CompositeTemplate by @yuraiz in #1348
- Bind Settings to
active
instead ofstate
by @Schmiddiii in #1370 - Update gir: Use docsrs attribute by @AaronErhardt in #1369
- gtk4: allow subclassing WindowGroup by @jf2048 in #1371
- gtk4: Remove manual overrides for GestureClick by @A6GibKm in #1372
- Regenerate with latest gir by @bilelmoussaoui in #1376
- Regenerate with latest gir-files by @bilelmoussaoui in #1379
- Regenerate bindings by @bilelmoussaoui in #1382
- examples: update for 4.10 deprecations by @jf2048 in #1385
- Regenerate gir for trait impls by @jf2048 in #1387
- Regenerate with latest gir/gir-files by @bilelmoussaoui in #1389
- Generate trait signature once for manual code by @bilelmoussaoui in #1391
- Fix required features not shown in docs by @AaronErhardt in #1392
- book: Use property docs of of gtk-rs by @Hofer-Julian in #1396
- book: Use glib Priority enum by @lupinx2 in #1359
- Upgrade http links to https in Cargo.toml by @Benjins-automation in #1397
- Use bind helper functions by @Hofer-Julian in #1401
- Update librsvg in installation_windows.md by @wroyca in #1404
- book: Fix clippy lint by @Hofer-Julian in #1405
- book: Fix button sensitivity action by @Hofer-Julian in #1406
- Improve grammar by @gianzellweger in #1410
- Update to latest gir/gir-files by @bilelmoussaoui in #1407
- Update to bitflags2 by @bilelmoussaoui in #1413
- Adapt to glib::Inhibit removal by @bilelmoussaoui in #1414
- gtk: Add SectionModel subclassing support by @bilelmoussaoui in #1417
- Use
iter
ongio::ListModel
by @Hofer-Julian in #1419 - examples: Use
gtk::Application::builder
by @Hofer-Julian in #1420 - Only run clippy on stable by @GuillaumeGomez in #1424
- Add
--generate-link-to-definition
option when building on docs.rs by @GuillaumeGomez in #1423 - gdk: bind GLTextureBuilder::build by @elmarco in #1426
- More GLTextureBuilder tweaks by @elmarco in #1427
- Add 'gl' feature to gdk4 by @elmarco in #1428
- Regen & bump MSRV by @bilelmoussaoui in #1430
- gtk: Add a GNOME 45 feature by @bilelmoussaoui in #1431
- Update gir-files submodule & regen by @bilelmoussaoui in #1432
New Contributors
- @mashomee made their first contribution in #1331
- @zekefast made their first contribution in #1333
- @decathorpe made their first contribution in #1341
- @Schmiddiii made their first contribution in #1370
- @lupinx2 made their first contribution in #1359
- @Benjins-automation made their first contribution in #1397
- @gianzellweger made their first contribution in #1410
Full Changelog: 0.6.0...0.7.0