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

Backport param spec builders #715

Merged
merged 7 commits into from Jun 9, 2022
Merged

Conversation

pbor
Copy link
Contributor

@pbor pbor commented Jun 8, 2022

Putting it here for reference as per discussion on the chat. Feel free to close it. Apart from this I did not find any other patch on mainline that applies cleanly to 0.15 and that does not break API.

This patchset applies cleanly to the stable branch and it is not an API break, only addition... on the other hand we do not have any evidence that the proposed API saw much testing.

Squashed commit of the following:

commit b1f3ce8
Merge: 8873941 a3a291a
Author: ranfdev <ranfdev@gmail.com>
Date:   Sun Feb 20 15:23:16 2022 +0100

    merge upstream

commit 8873941
Author: ranfdev <ranfdev@gmail.com>
Date:   Sun Feb 20 14:21:28 2022 +0100

    add #[must_use] on the entire builder type

commit a2bb5fb
Author: ranfdev <ranfdev@gmail.com>
Date:   Sun Feb 20 14:21:00 2022 +0100

    make ParamSpec*Builder new fn private, add missing builder method

commit 5cf1929
Author: ranfdev <ranfdev@gmail.com>
Date:   Sat Feb 19 14:13:03 2022 +0100

    improve flags comments for ParamSpec*Builder

commit 5bf22b2
Author: ranfdev <ranfdev@gmail.com>
Date:   Sat Feb 19 12:28:03 2022 +0100

    clearer missing parameter in ParamSpec*Builder

commit 3d28cdb
Author: ranfdev <ranfdev@gmail.com>
Date:   Sat Feb 19 12:20:18 2022 +0100

    add required param in ParamSpecOverriddenBuilder

commit 7e5a6fc
Author: ranfdev <ranfdev@gmail.com>
Date:   Fri Feb 18 17:11:48 2022 +0100

    add missing must_use

commit b7a6fc6
Author: ranfdev <ranfdev@gmail.com>
Date:   Fri Feb 18 17:07:12 2022 +0100

    Add required arguments on `ParamSpec` builders

commit f677656
Author: ranfdev <ranfdev@gmail.com>
Date:   Fri Feb 18 10:03:47 2022 +0100

    refactor, correctly handle `flags` in `ParamSpec*Builder`

commit bbba561
Author: ranfdev <ranfdev@gmail.com>
Date:   Thu Feb 17 18:44:50 2022 +0100

    Add missing ParamSpec builders, add define_builder_numeric

commit 6be1563
Author: ranfdev <ranfdev@gmail.com>
Date:   Wed Feb 16 19:03:11 2022 +0100

    add must use on methods returning Self

commit 6cc4771
Author: ranfdev <ranfdev@gmail.com>
Date:   Wed Feb 16 18:24:59 2022 +0100

    set builder is_a_type value to crate::Type::UNIT

commit 33da4d4
Author: ranfdev <ranfdev@gmail.com>
Date:   Wed Feb 16 17:02:39 2022 +0100

    improve  test

commit 427ad4b
Author: ranfdev <ranfdev@gmail.com>
Date:   Wed Feb 16 17:01:19 2022 +0100

    remove default value for required ParamSpecBuilder values

commit c3792b0
Author: ranfdev <ranfdev@gmail.com>
Date:   Tue Feb 1 23:20:35 2022 +0100

    define a corresponding `Builder` for each `ParamSpec`
@sdroege sdroege merged commit 8c25598 into gtk-rs:0.15 Jun 9, 2022
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

3 participants