diff --git a/src/application.rs b/src/application.rs index 5f803d8..acce6bc 100644 --- a/src/application.rs +++ b/src/application.rs @@ -1,6 +1,6 @@ -// application.rs -// -// Copyright 2020 Christopher Davis +// Copyright (c) 2020-2023 Christopher Davis +// Copyright (c) 2022-2023 Sophie Herold +// Copyright (c) 2022 Sabri Ünal // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/src/decoder/formats/heif.rs b/src/decoder/formats/heif.rs index 45aa4de..d526b34 100644 --- a/src/decoder/formats/heif.rs +++ b/src/decoder/formats/heif.rs @@ -1,3 +1,20 @@ +// Copyright (c) 2023 Sophie Herold +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + ///! Decode using libheif-rs use super::*; use crate::decoder::tiling::{self, FrameBufferExt}; diff --git a/src/decoder/formats/image_rs_other.rs b/src/decoder/formats/image_rs_other.rs index 46c8005..57d757c 100644 --- a/src/decoder/formats/image_rs_other.rs +++ b/src/decoder/formats/image_rs_other.rs @@ -1,3 +1,20 @@ +// Copyright (c) 2023 Sophie Herold +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + ///! Decode using image-rs use super::*; use crate::decoder::tiling::{self, FrameBufferExt}; diff --git a/src/decoder/formats/mod.rs b/src/decoder/formats/mod.rs index 0630ef0..233ab6b 100644 --- a/src/decoder/formats/mod.rs +++ b/src/decoder/formats/mod.rs @@ -1,3 +1,20 @@ +// Copyright (c) 2023 Sophie Herold +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + mod heif; mod image_rs_other; mod svg; diff --git a/src/decoder/formats/svg.rs b/src/decoder/formats/svg.rs index 1a9f6a5..3d67a95 100644 --- a/src/decoder/formats/svg.rs +++ b/src/decoder/formats/svg.rs @@ -1,3 +1,20 @@ +// Copyright (c) 2023 Sophie Herold +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + ///! Decode using librsvg use super::*; use crate::decoder::tiling::{self, FrameBufferExt}; diff --git a/src/decoder/mod.rs b/src/decoder/mod.rs index 095849b..55dd4df 100644 --- a/src/decoder/mod.rs +++ b/src/decoder/mod.rs @@ -1,3 +1,20 @@ +// Copyright (c) 2023 Sophie Herold +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + ///! Decodes several image formats pub mod formats; pub mod tiling; diff --git a/src/decoder/tiling.rs b/src/decoder/tiling.rs index e46cdb6..0b3083a 100644 --- a/src/decoder/tiling.rs +++ b/src/decoder/tiling.rs @@ -1,3 +1,20 @@ +// Copyright (c) 2023 Sophie Herold +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + ///! Tiled renderer ///! ///! It is not always feasible or desiareble to store the complete decoded diff --git a/src/file_model.rs b/src/file_model.rs index 5b235aa..cb6cf52 100644 --- a/src/file_model.rs +++ b/src/file_model.rs @@ -1,6 +1,5 @@ -// file_model.rs -// -// Copyright 2022 Christopher Davis +// Copyright (c) 2022-2023 Sophie Herold +// Copyright (c) 2022 Christopher Davis // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/src/image_metadata/gps.rs b/src/image_metadata/gps.rs index 5106f7e..7e24e39 100644 --- a/src/image_metadata/gps.rs +++ b/src/image_metadata/gps.rs @@ -1,3 +1,21 @@ +// Copyright (c) 2022-2023 Sophie Herold +// Copyright (c) 2023 Lubosz Sarnecki +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + use crate::util::gettext::*; #[derive(Debug, Clone, Copy)] diff --git a/src/image_metadata/mod.rs b/src/image_metadata/mod.rs index b175c3f..1141935 100644 --- a/src/image_metadata/mod.rs +++ b/src/image_metadata/mod.rs @@ -1,3 +1,20 @@ +// Copyright (c) 2022-2023 Sophie Herold +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + /*! Resources for working with EXIF Metadata - diff --git a/src/image_metadata/obj.rs b/src/image_metadata/obj.rs index 7aca868..ae4e5ae 100644 --- a/src/image_metadata/obj.rs +++ b/src/image_metadata/obj.rs @@ -1,3 +1,20 @@ +// Copyright (c) 2022-2023 Sophie Herold +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + use gio::prelude::*; use super::{GPSLocation, ImageMetadata, Orientation}; diff --git a/src/main.rs b/src/main.rs index 0949cb8..ba46d54 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,5 @@ -// main.rs -// -// Copyright 2020 Christopher Davis +// Copyright (c) 2020-2022 Christopher Davis +// Copyright (c) 2022-2023 Sophie Herold // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/src/util/gettext.rs b/src/util/gettext.rs index 23a271d..a040e3d 100644 --- a/src/util/gettext.rs +++ b/src/util/gettext.rs @@ -1,3 +1,20 @@ +// Copyright (c) 2023 Sophie Herold +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + pub use gettextrs::gettext; fn freplace(mut s: String, args: &[&str]) -> String { diff --git a/src/util/mod.rs b/src/util/mod.rs index ebce45d..1655148 100644 --- a/src/util/mod.rs +++ b/src/util/mod.rs @@ -1,3 +1,21 @@ +// Copyright (c) 2021-2023 Christopher Davis +// Copyright (c) 2022-2023 Sophie Herold +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + pub mod gettext; use crate::deps::*; diff --git a/src/widgets/image.rs b/src/widgets/image.rs index 46820ec..6b1124d 100644 --- a/src/widgets/image.rs +++ b/src/widgets/image.rs @@ -1,5 +1,7 @@ -// -// Copyright 2021 Christopher Davis +// Copyright (c) 2021-2022 Christopher Davis +// Copyright (c) 2022-2023 Sophie Herold +// Copyright (c) 2022 Maximiliano Sandoval R +// Copyright (c) 2023 Lubosz Sarnecki // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/src/widgets/image_page.rs b/src/widgets/image_page.rs index f0412fc..1d432dc 100644 --- a/src/widgets/image_page.rs +++ b/src/widgets/image_page.rs @@ -1,6 +1,5 @@ -// image_page.rs -// -// Copyright 2022 Christopher Davis +// Copyright (c) 2022-2023 Sophie Herold +// Copyright (c) 2022 Christopher Davis // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/src/widgets/image_view.rs b/src/widgets/image_view.rs index 3d8d922..d553d7e 100644 --- a/src/widgets/image_view.rs +++ b/src/widgets/image_view.rs @@ -1,6 +1,8 @@ -// image_view.rs -// -// Copyright 2020 Christopher Davis +// Copyright (c) 2020-2023 Christopher Davis +// Copyright (c) 2022-2023 Sophie Herold +// Copyright (c) 2022 Elton A Rodrigues +// Copyright (c) 2022 Maximiliano Sandoval R +// Copyright (c) 2023 Philipp Kiemle // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/src/widgets/mod.rs b/src/widgets/mod.rs index a051633..389d059 100644 --- a/src/widgets/mod.rs +++ b/src/widgets/mod.rs @@ -1,6 +1,5 @@ -// mod.rs -// -// Copyright 2020 Christopher Davis +// Copyright (c) 2020-2022 Christopher Davis +// Copyright (c) 2023 Sophie Herold // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/src/widgets/print.rs b/src/widgets/print.rs index 7bd8a61..ebfca17 100644 --- a/src/widgets/print.rs +++ b/src/widgets/print.rs @@ -1,3 +1,20 @@ +// Copyright (c) 2023 Sophie Herold +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + //! The print layout widget that also coordinates the print process use crate::decoder; diff --git a/src/widgets/print_preview.rs b/src/widgets/print_preview.rs index 2e68c07..83e25d1 100644 --- a/src/widgets/print_preview.rs +++ b/src/widgets/print_preview.rs @@ -1,3 +1,20 @@ +// Copyright (c) 2023 Sophie Herold +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + //! Print preview widget that shows a fake page with the image on it use crate::deps::*; diff --git a/src/widgets/properties_view.rs b/src/widgets/properties_view.rs index d09639e..1b98abf 100644 --- a/src/widgets/properties_view.rs +++ b/src/widgets/properties_view.rs @@ -1,6 +1,5 @@ -// properties_view.rs -// -// Copyright $year Christopher Davis +// Copyright (c) 2022-2023 Sophie Herold +// Copyright (c) 2022-2023 Christopher Davis // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by diff --git a/src/widgets/sliding_view.rs b/src/widgets/sliding_view.rs index 1562914..f9795a8 100644 --- a/src/widgets/sliding_view.rs +++ b/src/widgets/sliding_view.rs @@ -1,3 +1,22 @@ +// Copyright (c) 2023 Sophie Herold +// Copyright (c) 2023 Christopher Davis +// Copyright (c) 2023 Lubosz Sarnecki +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// SPDX-License-Identifier: GPL-3.0-or-later + //! A sliding view widget for images //! //! This widget it similar to `AdwCarousel`. diff --git a/src/window.rs b/src/window.rs index 9e6b3b8..eaa6930 100644 --- a/src/window.rs +++ b/src/window.rs @@ -1,6 +1,8 @@ -// window.rs -// -// Copyright 2020 Christopher Davis +// Copyright (c) 2020-2023 Christopher Davis +// Copyright (c) 2022-2023 Sophie Herold +// Copyright (c) 2022 Elton A Rodrigues +// Copyright (c) 2022 Maximiliano Sandoval R +// Copyright (c) 2023 Lubosz Sarnecki // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by