From ff2a470fd85cc3ccf8c32f6268a0e8aa0075dd38 Mon Sep 17 00:00:00 2001 From: LordRatte Date: Thu, 23 Dec 2021 09:34:37 +0200 Subject: Change GitHub namespace to new org for all files --- native/Cargo.toml | 2 +- native/README.md | 4 ++-- native/src/event.rs | 2 +- native/src/lib.rs | 6 +++--- native/src/user_interface.rs | 2 +- native/src/widget.rs | 10 +++++----- native/src/widget/checkbox.rs | 2 +- native/src/widget/image.rs | 2 +- native/src/widget/pane_grid.rs | 2 +- native/src/widget/radio.rs | 2 +- native/src/widget/text.rs | 2 +- native/src/widget/text_input.rs | 2 +- 12 files changed, 19 insertions(+), 19 deletions(-) (limited to 'native') diff --git a/native/Cargo.toml b/native/Cargo.toml index b662e6fa..8f0aea6a 100644 --- a/native/Cargo.toml +++ b/native/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Héctor Ramón Jiménez "] edition = "2018" description = "A renderer-agnostic library for native GUIs" license = "MIT" -repository = "https://github.com/hecrj/iced" +repository = "https://github.com/iced-rs/iced" [features] debug = [] diff --git a/native/README.md b/native/README.md index 0d79690a..ceb525d9 100644 --- a/native/README.md +++ b/native/README.md @@ -1,7 +1,7 @@ # `iced_native` [![Documentation](https://docs.rs/iced_native/badge.svg)][documentation] [![Crates.io](https://img.shields.io/crates/v/iced_native.svg)](https://crates.io/crates/iced_native) -[![License](https://img.shields.io/crates/l/iced_native.svg)](https://github.com/hecrj/iced/blob/master/LICENSE) +[![License](https://img.shields.io/crates/l/iced_native.svg)](https://github.com/iced-rs/iced/blob/master/LICENSE) [![project chat](https://img.shields.io/badge/chat-on_zulip-brightgreen.svg)](https://iced.zulipchat.com) `iced_native` takes [`iced_core`] and builds a native runtime on top of it, featuring: @@ -34,4 +34,4 @@ iced_native = "0.4" __Iced moves fast and the `master` branch can contain breaking changes!__ If you want to learn about a specific release, check out [the release list]. -[the release list]: https://github.com/hecrj/iced/releases +[the release list]: https://github.com/iced-rs/iced/releases diff --git a/native/src/event.rs b/native/src/event.rs index 1c26b5f2..27540a25 100644 --- a/native/src/event.rs +++ b/native/src/event.rs @@ -9,7 +9,7 @@ use crate::window; /// _**Note:** This type is largely incomplete! If you need to track /// additional events, feel free to [open an issue] and share your use case!_ /// -/// [open an issue]: https://github.com/hecrj/iced/issues +/// [open an issue]: https://github.com/iced-rs/iced/issues #[derive(Debug, Clone, PartialEq)] pub enum Event { /// A keyboard event diff --git a/native/src/lib.rs b/native/src/lib.rs index 950454ce..4753bba2 100644 --- a/native/src/lib.rs +++ b/native/src/lib.rs @@ -1,6 +1,6 @@ //! A renderer-agnostic native GUI runtime. //! -//! ![The native path of the Iced ecosystem](https://github.com/hecrj/iced/raw/improvement/update-ecosystem-and-roadmap/docs/graphs/native.png) +//! ![The native path of the Iced ecosystem](https://github.com/iced-rs/iced/raw/improvement/update-ecosystem-and-roadmap/docs/graphs/native.png) //! //! `iced_native` takes [`iced_core`] and builds a native runtime on top of it, //! featuring: @@ -23,8 +23,8 @@ //! - Build a new renderer, see the [renderer] module. //! - Build a custom widget, start at the [`Widget`] trait. //! -//! [`iced_core`]: https://github.com/hecrj/iced/tree/master/core -//! [`iced_winit`]: https://github.com/hecrj/iced/tree/master/winit +//! [`iced_core`]: https://github.com/iced-rs/iced/tree/master/core +//! [`iced_winit`]: https://github.com/iced-rs/iced/tree/master/winit //! [`druid`]: https://github.com/xi-editor/druid //! [`raw-window-handle`]: https://github.com/rust-windowing/raw-window-handle //! [renderer]: crate::renderer diff --git a/native/src/user_interface.rs b/native/src/user_interface.rs index 5d24bf4f..40f7a204 100644 --- a/native/src/user_interface.rs +++ b/native/src/user_interface.rs @@ -18,7 +18,7 @@ use std::hash::Hasher; /// The [`integration` example] uses a [`UserInterface`] to integrate Iced in /// an existing graphical application. /// -/// [`integration` example]: https://github.com/hecrj/iced/tree/0.3/examples/integration +/// [`integration` example]: https://github.com/iced-rs/iced/tree/0.3/examples/integration #[allow(missing_debug_implementations)] pub struct UserInterface<'a, Message, Renderer> { root: Element<'a, Message, Renderer>, diff --git a/native/src/widget.rs b/native/src/widget.rs index e2613e67..caa3f0bc 100644 --- a/native/src/widget.rs +++ b/native/src/widget.rs @@ -93,12 +93,12 @@ use crate::{Clipboard, Hasher, Layout, Length, Point, Rectangle, Shell}; /// - [`geometry`], a custom widget showcasing how to draw geometry with the /// `Mesh2D` primitive in [`iced_wgpu`]. /// -/// [examples]: https://github.com/hecrj/iced/tree/0.3/examples -/// [`bezier_tool`]: https://github.com/hecrj/iced/tree/0.3/examples/bezier_tool -/// [`custom_widget`]: https://github.com/hecrj/iced/tree/0.3/examples/custom_widget -/// [`geometry`]: https://github.com/hecrj/iced/tree/0.3/examples/geometry +/// [examples]: https://github.com/iced-rs/iced/tree/0.3/examples +/// [`bezier_tool`]: https://github.com/iced-rs/iced/tree/0.3/examples/bezier_tool +/// [`custom_widget`]: https://github.com/iced-rs/iced/tree/0.3/examples/custom_widget +/// [`geometry`]: https://github.com/iced-rs/iced/tree/0.3/examples/geometry /// [`lyon`]: https://github.com/nical/lyon -/// [`iced_wgpu`]: https://github.com/hecrj/iced/tree/0.3/wgpu +/// [`iced_wgpu`]: https://github.com/iced-rs/iced/tree/0.3/wgpu pub trait Widget where Renderer: crate::Renderer, diff --git a/native/src/widget/checkbox.rs b/native/src/widget/checkbox.rs index 5a8dbc83..95856928 100644 --- a/native/src/widget/checkbox.rs +++ b/native/src/widget/checkbox.rs @@ -32,7 +32,7 @@ pub use iced_style::checkbox::{Style, StyleSheet}; /// Checkbox::new(is_checked, "Toggle me!", Message::CheckboxToggled); /// ``` /// -/// ![Checkbox drawn by `iced_wgpu`](https://github.com/hecrj/iced/blob/7760618fb112074bc40b148944521f312152012a/docs/images/checkbox.png?raw=true) +/// ![Checkbox drawn by `iced_wgpu`](https://github.com/iced-rs/iced/blob/7760618fb112074bc40b148944521f312152012a/docs/images/checkbox.png?raw=true) #[allow(missing_debug_implementations)] pub struct Checkbox<'a, Message, Renderer: text::Renderer> { is_checked: bool, diff --git a/native/src/widget/image.rs b/native/src/widget/image.rs index 164b4a5e..b8fb662e 100644 --- a/native/src/widget/image.rs +++ b/native/src/widget/image.rs @@ -20,7 +20,7 @@ use std::hash::Hash; /// let image = Image::::new("resources/ferris.png"); /// ``` /// -/// +/// #[derive(Debug, Hash)] pub struct Image { handle: Handle, diff --git a/native/src/widget/pane_grid.rs b/native/src/widget/pane_grid.rs index 24b87eed..b3d8b819 100644 --- a/native/src/widget/pane_grid.rs +++ b/native/src/widget/pane_grid.rs @@ -6,7 +6,7 @@ //! The [`pane_grid` example] showcases how to use a [`PaneGrid`] with resizing, //! drag and drop, and hotkey support. //! -//! [`pane_grid` example]: https://github.com/hecrj/iced/tree/0.3/examples/pane_grid +//! [`pane_grid` example]: https://github.com/iced-rs/iced/tree/0.3/examples/pane_grid mod axis; mod configuration; mod content; diff --git a/native/src/widget/radio.rs b/native/src/widget/radio.rs index aa7019d4..1dbe7cf5 100644 --- a/native/src/widget/radio.rs +++ b/native/src/widget/radio.rs @@ -41,7 +41,7 @@ pub use iced_style::radio::{Style, StyleSheet}; /// Radio::new(Choice::B, "This is B", selected_choice, Message::RadioSelected); /// ``` /// -/// ![Radio buttons drawn by `iced_wgpu`](https://github.com/hecrj/iced/blob/7760618fb112074bc40b148944521f312152012a/docs/images/radio.png?raw=true) +/// ![Radio buttons drawn by `iced_wgpu`](https://github.com/iced-rs/iced/blob/7760618fb112074bc40b148944521f312152012a/docs/images/radio.png?raw=true) #[allow(missing_debug_implementations)] pub struct Radio<'a, Message, Renderer: text::Renderer> { is_selected: bool, diff --git a/native/src/widget/text.rs b/native/src/widget/text.rs index 488b45c4..f0b29d15 100644 --- a/native/src/widget/text.rs +++ b/native/src/widget/text.rs @@ -21,7 +21,7 @@ use std::hash::Hash; /// .size(40); /// ``` /// -/// ![Text drawn by `iced_wgpu`](https://github.com/hecrj/iced/blob/7760618fb112074bc40b148944521f312152012a/docs/images/text.png?raw=true) +/// ![Text drawn by `iced_wgpu`](https://github.com/iced-rs/iced/blob/7760618fb112074bc40b148944521f312152012a/docs/images/text.png?raw=true) #[derive(Debug)] pub struct Text { content: String, diff --git a/native/src/widget/text_input.rs b/native/src/widget/text_input.rs index fb9f0834..f06b6aa6 100644 --- a/native/src/widget/text_input.rs +++ b/native/src/widget/text_input.rs @@ -52,7 +52,7 @@ pub use iced_style::text_input::{Style, StyleSheet}; /// ) /// .padding(10); /// ``` -/// ![Text input drawn by `iced_wgpu`](https://github.com/hecrj/iced/blob/7760618fb112074bc40b148944521f312152012a/docs/images/text_input.png?raw=true) +/// ![Text input drawn by `iced_wgpu`](https://github.com/iced-rs/iced/blob/7760618fb112074bc40b148944521f312152012a/docs/images/text_input.png?raw=true) #[allow(missing_debug_implementations)] pub struct TextInput<'a, Message, Renderer: text::Renderer> { state: &'a mut State, -- cgit