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

update #12

Merged
merged 83 commits into from
Jan 12, 2021
Merged

update #12

merged 83 commits into from
Jan 12, 2021

Conversation

JAicewizard
Copy link
Owner

No description provided.

richard-uk1 and others added 30 commits November 24, 2020 17:29
ClipBox should recurse events if any of its children are active, not
just its immediate child.
This fixes two small issues:

The first is that cursors set in leaf widgets were not being
handled correctly, due to the logic in `merge_up` not being called
on leaves.

The second is that on macOS we were not receiving a MouseMoved
event when we first left the window; we fix this by also explicitly
handling MouseLeave.
Add a convenience feature for when you want all image functionality.

I'm open to discussion whether this is a good thing or not.
* rework_identity

* fmt?

* Update druid/examples/identity.rs

Co-authored-by: Richard Dodd (dodj) <[email protected]>

* Update druid/examples/identity.rs

Co-authored-by: Richard Dodd (dodj) <[email protected]>

* Apply suggestions from code review

Co-authored-by: Richard Dodd (dodj) <[email protected]>
Co-authored-by: Colin Rofls <[email protected]>
* add documentation to Layout

* Apply suggestions from code review

Co-authored-by: Colin Rofls <[email protected]>
* Respect starting directory for dialogs on Windows

Before this change, FileDialogOptions::starting_directory had not been
used on Windows and therefore had no influence on the starting directory
of a FileDialog window.

This has now been fixed.

The use of `SHCreateItemFromParsingName` makes it mandatory to
explicitly link against shell32.lib because this is not done
automatically since Rust 1.33.0.

See rust-lang/rust#56568 for details.

* Fix: Use winapi feature instead of build.rs

As it turns out, the winapi crate already exposes shell32.lib via a
cargo feature, so there is no need to link it manually.
This lets us 'correctly' report click-count for mouse events on wasm.
Doing this 'actually correctly' would require finding some way
to determine what the user's current doubleclick delay is, and I
do not believe this is exposed by browsers, although I haven't looked
too hard and it is certainly possible.

- closes #1464
These were previously calling dispatch_cmd directly, which means
commands submitted while handling these events would not be
dispatched, and also meant that update wasn't sent.
Retain `Send` and `Sync` from type-erasing `image::Error`.
Add `Sync + Send` bounds to `dyn Error` from image.
We were using 'menu-save-file-as' for two different commands.
This removes the 'menu' prefix from save-file and save-file-as,
since these are not actually sent by the menu.
Add serde feature, and enable `im/serde` when active.
This is a pretty marginal win, but does remove some duplicate logic.
Remove druid-shell's ImageBuf in favor of piet's.
This should issues with text on wasm.
jpochyla and others added 29 commits January 5, 2021 16:39
…tform. This makes IntelliJ happier with the web examples.
Change conditional use of svg to be on the feature svg instead of pla…
This is replaced with compare_exchange, which is even *more*
confusing to use. :/
* Sub windows (squashed from previous branch)

* Update druid version. Address review comments

* Fix to mac window close handling.
Add WindowDisconnected event.
Close sub windows when their owning WidgetPod gets a WindowDisconnected event.

* Add WindowCloseRequested event and make window close cancellation work on mac.

* Update druid/src/event.rs

Co-authored-by: Colin Rofls <[email protected]>

* Update druid/src/event.rs

Co-authored-by: Colin Rofls <[email protected]>

* Changes to allow env updates to flow down to sub windows

* Doc fix

* Review fixes

Co-authored-by: Colin Rofls <[email protected]>
To support bindings and other cases where access and mutation of existing widgets is desired.
* adding added controller widget

* updating docs to use linking by name for intra doc links

* adding added controller widget

* updating docs to use linking by name for intra doc links

* making docs more concise

Co-authored-by: Colin Rofls <[email protected]>

* updating some formatting on comment

Co-authored-by: Colin Rofls <[email protected]>

* Added controller will now take a mut reference to child

* updating on added function signature

Co-authored-by: lazypassion <[email protected]>
Co-authored-by: Colin Rofls <[email protected]>
Co-authored-by: Richard Dodd (dodj) <[email protected]>
This also exposes the ValueTypeError at crate root;
both of these changes will be used for some theme
loading experiments.
Signed-off-by: Uli Schlachter <[email protected]>
Signed-off-by: Uli Schlachter <[email protected]>
Signed-off-by: Uli Schlachter <[email protected]>
Signed-off-by: Uli Schlachter <[email protected]>
Signed-off-by: Uli Schlachter <[email protected]>
* Add RichTextBuilder
Provide get_external_handle on DelegateCtx
I want to use this in my theme loading stuff to check that multiple
key's don't have the same inner key value.
* Allow customl 10n resources in AppLauncher

* Update CHANGELOG.md

* Refactor Env::default
@JAicewizard JAicewizard merged commit b81d18b into JAicewizard:master Jan 12, 2021
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.