From 26a35b7d7e72ab8f685e75b0332bade1efef92d8 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 1 Apr 2020 00:25:33 +0200 Subject: Clarify return policy of `Application::run` --- winit/src/application.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winit') diff --git a/winit/src/application.rs b/winit/src/application.rs index d5f957bf..37682901 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -100,8 +100,8 @@ pub trait Application: Sized { /// Runs the [`Application`] with the provided [`Settings`]. /// - /// This method will take control of the current thread and __will NOT - /// return__. + /// On native platforms, this method will take control of the current thread + /// and __will NOT return__. /// /// It should probably be that last thing you call in your `main` function. /// -- cgit From ac8875f81d3ddc50b6ccafb0a867a6df3058e557 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 1 Apr 2020 02:37:15 +0200 Subject: Fix `iced_native` version in `iced_winit` --- winit/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winit') diff --git a/winit/Cargo.toml b/winit/Cargo.toml index ca2018c7..a3b1613d 100644 --- a/winit/Cargo.toml +++ b/winit/Cargo.toml @@ -19,7 +19,7 @@ window_clipboard = "0.1" log = "0.4" [dependencies.iced_native] -version = "0.1.0-alpha" +version = "0.1.0" path = "../native" [target.'cfg(target_os = "windows")'.dependencies.winapi] -- cgit From f5e7e0625eec96f96d9dcbe514198a82bd5a49ec Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 1 Apr 2020 04:35:24 +0200 Subject: Improve docs for `Sandbox` and `Application` --- winit/src/application.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winit') diff --git a/winit/src/application.rs b/winit/src/application.rs index 37682901..fb02fdec 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -34,7 +34,7 @@ pub trait Application: Sized { type Flags; /// Initializes the [`Application`] with the flags provided to - /// [`run`] as part of the [`Settings`]: + /// [`run`] as part of the [`Settings`]. /// /// Here is where you should return the initial state of your app. /// -- cgit From 15aa40df40a169939aa3614b729d40fff10d6ac6 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 2 Apr 2020 03:21:34 +0200 Subject: Add missing link to `conversion::fullscreen` --- winit/src/conversion.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'winit') diff --git a/winit/src/conversion.rs b/winit/src/conversion.rs index debaf535..eaa26ace 100644 --- a/winit/src/conversion.rs +++ b/winit/src/conversion.rs @@ -90,7 +90,8 @@ pub fn window_event( /// Converts a [`Mode`] to a [`winit`] fullscreen mode. /// -/// [`Mode`]: +/// [`Mode`]: ../enum.Mode.html +/// [`winit`]: https://github.com/rust-windowing/winit pub fn fullscreen( monitor: winit::monitor::MonitorHandle, mode: Mode, -- cgit From 8c8325d0cf797f7ce69c2d9e0db83faa3d94d5f0 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 2 Apr 2020 03:33:30 +0200 Subject: Write documentation for the `debug` feature --- winit/src/application.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winit') diff --git a/winit/src/application.rs b/winit/src/application.rs index fb02fdec..b974711c 100644 --- a/winit/src/application.rs +++ b/winit/src/application.rs @@ -12,6 +12,9 @@ use crate::{ /// /// An [`Application`](trait.Application.html) can execute asynchronous actions /// by returning a [`Command`](struct.Command.html) in some of its methods. +/// +/// When using an [`Application`] with the `debug` feature enabled, a debug view +/// can be toggled by pressing `F12`. pub trait Application: Sized { /// The graphics backend to use to draw the [`Application`]. /// -- cgit From 2ef1b4317a6d8a99cb9d9653597e09666bd9ea81 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 2 Apr 2020 03:37:56 +0200 Subject: Remove subcrates `CHANGELOG` At this stage, it is important to allow the library to change rapidly. Because of this, keeping a log of changes can be counter-productive. We do not want pin down design decisions by writing detailed changelogs (sunk cost fallacy). Once the library and its different parts start becoming more stable and mature, we will reintroduce changelogs accordingly. For now, we will keep a main `CHANGELOG` file just for the `iced` crate. --- winit/CHANGELOG.md | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 winit/CHANGELOG.md (limited to 'winit') diff --git a/winit/CHANGELOG.md b/winit/CHANGELOG.md deleted file mode 100644 index 1289a45a..00000000 --- a/winit/CHANGELOG.md +++ /dev/null @@ -1,14 +0,0 @@ -# Changelog -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [Unreleased] - -## [0.1.0-alpha] - 2019-11-25 -### Added -- First release! :tada: - -[Unreleased]: https://github.com/hecrj/iced/compare/winit-0.1.0-alpha...HEAD -[0.1.0-alpha]: https://github.com/hecrj/iced/releases/tag/winit-0.1.0-alpha -- cgit