Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfbca18d

Browse files
committed
Merge branch 'master' into 0.7
2 parentscdc9b35 +18552f9 commitfbca18d

File tree

105 files changed

+3051
-1084
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+3051
-1084
lines changed

‎.github/ISSUE_TEMPLATE/BUG-REPORT.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ body:
5858
attributes:
5959
label:Version
6060
description:|
61-
We only offer support for the`0.4` release on crates.io and the `master` branch on this repository. Which version are you using? Please make sure you are using the latest patch available (e.g. run `cargo update`).
61+
We only offer support for thelatest release on crates.io and the `master` branch on this repository. Which version are you using? Please make sure you are using the latest patch available (e.g. run `cargo update`).
6262
63-
If you are using an older release, please upgrade to`0.4` before filing an issue.
63+
If you are using an older release, please upgrade tothe latest one before filing an issue.
6464
options:
6565
-master
66-
-0.4
66+
-0.7
6767
validations:
6868
required:true
6969
-type:dropdown

‎.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ pkg/
44
Cargo.lock
55
.cargo/
66
dist/
7+
traces/

‎CHANGELOG.md

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,49 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
##[Unreleased]
88

9+
##[0.7.0] - 2023-01-14
10+
###Added
11+
- Widget-driven animations.[#1647](https://github.com/iced-rs/iced/pull/1647)
12+
- Multidirectional scrolling support for`Scrollable`.[#1550](https://github.com/iced-rs/iced/pull/1550)
13+
-`VerticalSlider` widget.[#1596](https://github.com/iced-rs/iced/pull/1596)
14+
-`Shift+Click` text selection support in`TextInput`.[#1622](https://github.com/iced-rs/iced/pull/1622)
15+
- Profiling support with the`chrome-trace` feature.[#1565](https://github.com/iced-rs/iced/pull/1565)
16+
- Customization of the handle of a`PickList`.[#1562](https://github.com/iced-rs/iced/pull/1562)
17+
-`window` action to request user attention.[#1584](https://github.com/iced-rs/iced/pull/1584)
18+
-`window` action to gain focus.[#1585](https://github.com/iced-rs/iced/pull/1585)
19+
-`window` action to toggle decorations.[#1588](https://github.com/iced-rs/iced/pull/1588)
20+
-`Copy` implementation for`gradient::Location`.[#1636](https://github.com/iced-rs/iced/pull/1636)
21+
22+
###Changed
23+
- Replaced`Application::should_exit` with a`window::close` action.[#1606](https://github.com/iced-rs/iced/pull/1606)
24+
- Made`focusable::Count` fields public.[#1635](https://github.com/iced-rs/iced/pull/1635)
25+
- Added`Dependency` argument to the closure of`Lazy`.[#1646](https://github.com/iced-rs/iced/pull/1646)
26+
- Switched arguments order of`Toggler::new` for consistency.[#1616](https://github.com/iced-rs/iced/pull/1616)
27+
- Switched arguments order of`Checkbox::new` for consistency.[#1633](https://github.com/iced-rs/iced/pull/1633)
28+
29+
###Fixed
30+
- Compilation error in`iced_glow` when the`image` feature is enabled but`svg` isn't.[#1593](https://github.com/iced-rs/iced/pull/1593)
31+
- Widget operations for`Responsive` widget.[#1615](https://github.com/iced-rs/iced/pull/1615)
32+
- Overlay placement for`Responsive`.[#1638](https://github.com/iced-rs/iced/pull/1638)
33+
-`overlay` implementation for`Lazy`.[#1644](https://github.com/iced-rs/iced/pull/1644)
34+
- Minor typo in documentation.[#1624](https://github.com/iced-rs/iced/pull/1624)
35+
- Links in documentation.[#1634](https://github.com/iced-rs/iced/pull/1634)
36+
- Missing comment in documentation.[#1648](https://github.com/iced-rs/iced/pull/1648)
37+
38+
Many thanks to...
39+
40+
-@13r0ck
41+
-@Araxeus
42+
-@ben-wallis
43+
-@bungoboingo
44+
-@casperstorm
45+
-@nicksenger
46+
-@Night-Hunter-NF
47+
-@rpitasky
48+
-@rs017991
49+
-@tarkah
50+
-@wiktor-k
51+
952
##[0.6.0] - 2022-12-07
1053
###Added
1154
- Support for non-uniform border radius for`Primitive::Quad`.[#1506](https://github.com/iced-rs/iced/pull/1506)
@@ -321,7 +364,9 @@ Many thanks to...
321364
###Added
322365
- First release!:tada:
323366

324-
[Unreleased]:https://github.com/iced-rs/iced/compare/0.5.0...HEAD
367+
[Unreleased]:https://github.com/iced-rs/iced/compare/0.7.0...HEAD
368+
[0.7.0]:https://github.com/iced-rs/iced/compare/0.6.0...0.7.0
369+
[0.6.0]:https://github.com/iced-rs/iced/compare/0.5.0...0.6.0
325370
[0.5.0]:https://github.com/iced-rs/iced/compare/0.4.2...0.5.0
326371
[0.4.2]:https://github.com/iced-rs/iced/compare/0.4.1...0.4.2
327372
[0.4.1]:https://github.com/iced-rs/iced/compare/0.4.0...0.4.1

‎Cargo.toml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name ="iced"
3-
version ="0.6.0"
3+
version ="0.7.0"
44
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
55
edition ="2021"
66
description ="A cross-platform GUI library inspired by Elm"
@@ -39,6 +39,13 @@ smol = ["iced_futures/smol"]
3939
palette = ["iced_core/palette"]
4040
# Enables querying system information
4141
system = ["iced_winit/system"]
42+
# Enables chrome traces
43+
chrome-trace = [
44+
"iced_winit/chrome-trace",
45+
"iced_glutin?/trace",
46+
"iced_wgpu?/tracing",
47+
"iced_glow?/tracing",
48+
]
4249

4350
[badges]
4451
maintenance = {status ="actively-developed" }
@@ -59,13 +66,13 @@ members = [
5966
]
6067

6168
[dependencies]
62-
iced_core = {version ="0.6",path ="core" }
69+
iced_core = {version ="0.7",path ="core" }
6370
iced_futures = {version ="0.5",path ="futures" }
64-
iced_native = {version ="0.7",path ="native" }
65-
iced_graphics = {version ="0.5",path ="graphics" }
66-
iced_winit = {version ="0.6",path ="winit",features = ["application"] }
67-
iced_glutin = {version ="0.5",path ="glutin",optional =true }
68-
iced_glow = {version ="0.5",path ="glow",optional =true }
71+
iced_native = {version ="0.8",path ="native" }
72+
iced_graphics = {version ="0.6",path ="graphics" }
73+
iced_winit = {version ="0.7",path ="winit",features = ["application"] }
74+
iced_glutin = {version ="0.6",path ="glutin",optional =true }
75+
iced_glow = {version ="0.6",path ="glow",optional =true }
6976
thiserror ="1.0"
7077

7178
[dependencies.image_rs]
@@ -74,10 +81,10 @@ package = "image"
7481
optional =true
7582

7683
[target.'cfg(not(target_arch="wasm32"))'.dependencies]
77-
iced_wgpu = {version ="0.7",path ="wgpu",optional =true }
84+
iced_wgpu = {version ="0.8",path ="wgpu",optional =true }
7885

7986
[target.'cfg(target_arch="wasm32")'.dependencies]
80-
iced_wgpu = {version ="0.7",path ="wgpu",features = ["webgl"],optional =true }
87+
iced_wgpu = {version ="0.8",path ="wgpu",features = ["webgl"],optional =true }
8188

8289
[package.metadata.docs.rs]
8390
rustdoc-args = ["--cfg","docsrs"]

‎README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![Crates.io](https://img.shields.io/crates/v/iced.svg)](https://crates.io/crates/iced)
99
[![License](https://img.shields.io/crates/l/iced.svg)](https://github.com/iced-rs/iced/blob/master/LICENSE)
1010
[![Downloads](https://img.shields.io/crates/d/iced.svg)](https://crates.io/crates/iced)
11-
[![Test Status](https://img.shields.io/github/workflow/status/iced-rs/iced/Test?event=push&label=test)](https://github.com/iced-rs/iced/actions)
11+
[![Test Status](https://img.shields.io/github/actions/workflow/status/iced-rs/iced/test.yml?branch=master&event=push&label=test)](https://github.com/iced-rs/iced/actions)
1212
[![Discord Server](https://img.shields.io/discord/628993209984614400?label=&labelColor=6A7EC2&logo=discord&logoColor=ffffff&color=7389D8)](https://discord.gg/3xZJ65GAhd)
1313

1414
A cross-platform GUI library for Rust focused on simplicity and type-safety.
@@ -68,7 +68,7 @@ __Iced is currently experimental software.__ [Take a look at the roadmap],
6868
Add`iced` as a dependency in your`Cargo.toml`:
6969

7070
```toml
71-
iced ="0.6"
71+
iced ="0.7"
7272
```
7373

7474
If your project is using a Rust edition older than 2021, then you will need to
@@ -215,7 +215,7 @@ cargo run --features iced/glow --package game_of_life
215215
and then use it in your project with
216216

217217
```toml
218-
iced = {version ="0.6",default-features =false,features = ["glow"] }
218+
iced = {version ="0.7",default-features =false,features = ["glow"] }
219219
```
220220

221221
__NOTE:__ Chances are you have hardware that supports at least OpenGL 2.1 or OpenGL ES 2.0,

‎core/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name ="iced_core"
3-
version ="0.6.2"
3+
version ="0.7.0"
44
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
55
edition ="2021"
66
description ="The essential concepts of Iced"
@@ -15,4 +15,4 @@ version = "0.6"
1515
optional =true
1616

1717
[target.'cfg(target_arch="wasm32")'.dependencies]
18-
wasm-timer ={version ="0.2" }
18+
instant ="0.1"

‎core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This crate is meant to be a starting point for an Iced runtime.
1818
Add`iced_core` as a dependency in your`Cargo.toml`:
1919

2020
```toml
21-
iced_core ="0.4"
21+
iced_core ="0.7"
2222
```
2323

2424
__Iced moves fast and the`master` branch can contain breaking changes!__ If

‎core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//! ![The foundations of the Iced ecosystem](https://github.com/iced-rs/iced/blob/0525d76ff94e828b7b21634fa94a747022001c83/docs/graphs/foundations.png?raw=true)
88
//!
99
//! [Iced]: https://github.com/iced-rs/iced
10-
//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.6/native
10+
//! [`iced_native`]: https://github.com/iced-rs/iced/tree/0.7/native
1111
//! [`iced_web`]: https://github.com/iced-rs/iced_web
1212
#![doc(
1313
html_logo_url ="https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg"

‎core/src/rectangle.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ impl std::ops::Mul<f32> for Rectangle<f32> {
116116

117117
fnmul(self,scale:f32) ->Self{
118118
Self{
119-
x:self.xasf32* scale,
120-
y:self.yasf32* scale,
119+
x:self.x* scale,
120+
y:self.y* scale,
121121
width:self.width* scale,
122122
height:self.height* scale,
123123
}

‎core/src/size.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
usecrate::{Padding,Vector};
2-
use std::f32;
32

43
/// An amount of space in 2 dimensions.
54
#[derive(Debug,Clone,Copy,PartialEq,Eq)]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp