This repository was archived by the owner on Jun 8, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 62
Migrate subclassing infrastructure to glib-rs #392
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
9ffa8f2
Add an associated type for the Rust class type to Wrapper
sdroege 667dc55
Merge gobject-subclass infrastructure rewrite into glib-rs
sdroege 15cabbb
Remove unneeded IsAClass trait
sdroege da2ad12
Implement Object class methods on ObjectClass
sdroege 3571551
Add methods for up/downcasting between different class struct types
sdroege a36380f
Rename subclassing macros to include a glib_ prefix
sdroege 6eb97be
Hide subclassing infrastructure behind the "subclassing" feature
sdroege d035662
Move ObjectSubclass type parameter into IsSubclassable trait
sdroege 9597e69
Don't use floating reference guard for finalize
sdroege 52467d9
Improve subclassing unit test to ensure the object is not leaked
sdroege 336af86
Rename TypeData::get_interfaces() to ::get_interface_data() and re-pu…
sdroege dc7befe
Re-export some types from the subclass modules
sdroege 78b8247
Include subclass type in the InitializingType wrapper
sdroege 52b6118
Don't provide the object to ObjectSubclass::new() anymore
sdroege 5abddc4
Automatically override vfuncs and don't require subclasses to do so
sdroege 059a28c
ParamSpec constructors can't return NULL
sdroege 26c31ba
Implement a more extensible scheme for object properties
sdroege 4080b53
Add a code example to the documentation of the subclass module
sdroege 3eee4c7
Use usize for the property index
sdroege 153ff73
Extend Object subclassing unit test to check if the constructed virtu…
sdroege 059f77e
Also include subclassing module if the dox feature is enabled
sdroege fee41c7
Improve subclassing docs
sdroege b775960
Update license/copyright headers
sdroege 9698750
Remove unneeded clones in example/docs
sdroege eb2a554
Add a link to the subclass module in the main library documentation
sdroege 20aa0f0
Add a note about subclassing to the README.md
sdroege File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.