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

Change callback experimental implementation. #5159

Merged
merged 11 commits into from
May 2, 2024

Conversation

ogoffart
Copy link
Member

@ogoffart ogoffart commented May 1, 2024

Currently gated by the experimental feature gate.

CC #112

We can already use that internally and try to get more experience.
But we still need to document, and define all edge cases and test them properly.
(what happens with loops, order of evaluation, when is the first callback called)

@@ -0,0 +1,20 @@
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[xtask license_header] reported by reviewdog 🐶

Suggested change
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.2 OR LicenseRef-Slint-commercial

Comment on lines 1 to 2
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[xtask license_header] reported by reviewdog 🐶

Suggested change
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.2 OR LicenseRef-Slint-commercial

@@ -0,0 +1,73 @@
// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[xtask license_header] reported by reviewdog 🐶

Suggested change
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.2 OR LicenseRef-Slint-commercial

Introduce a ChangeTracker type, but it is not of any use now
@ogoffart ogoffart force-pushed the olivier/changed-callbacks branch from ad28cc7 to 9e9ab89 Compare May 1, 2024 11:11
@ogoffart ogoffart force-pushed the olivier/changed-callbacks branch from 44d7509 to 2604064 Compare May 1, 2024 11:28
@ogoffart ogoffart force-pushed the olivier/changed-callbacks branch from 2604064 to fbe96a7 Compare May 2, 2024 10:00
@ogoffart ogoffart merged commit 659dcfb into master May 2, 2024
36 checks passed
@ogoffart ogoffart deleted the olivier/changed-callbacks branch June 27, 2024 17:25
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.

None yet

2 participants