diff --git a/CMakeLists.txt b/CMakeLists.txt index 8fd160d7..f07e55a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required( VERSION 3.3.2 ) project(exiv2 # use TWEAK to categorize the build - VERSION 0.27.4.9 # 0.27.4 = GM (tagged and released) + VERSION 0.27.4.10 # 0.27.4 = GM (tagged and released) # 0.27.4.9 = 27.4.9 Development # 0.27.4.00 = GM Preview # 0.27.4.2 = RC2 (tagged and released) diff --git a/README.md b/README.md index e8637747..8a3bf7d9 100644 --- a/README.md +++ b/README.md @@ -795,7 +795,7 @@ EXIV2API bool enableBMFF(bool enable); The return value of `enableBMFF()` reports the build status of bmff support. A return value of true indicates that the library has been built with bmff support. -Applications may wish the provide a preference setting to enable bmff support and thereby place the responsibility for the use of this code with the user of the application. +Applications may wish to provide a preference setting to enable bmff support and thereby place the responsibility for the use of this code with the user of the application. It is recommended that you enclose the call to `enableBMFF()` with the compile time macro EXIV2\_TEST\_VERSION to ensure that your code builds cleanly on earlier versions of Exiv2. It is recommended that you call enableBMFF() at process start-up as it is not threadsafe. A code snippet is provided in [2.14 Thread Safety](#2-14). diff --git a/contrib/Qt/main.cpp b/contrib/Qt/main.cpp index 9e72c4fd..552f06f6 100644 --- a/contrib/Qt/main.cpp +++ b/contrib/Qt/main.cpp @@ -1,3 +1,23 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + #include #include #include diff --git a/contrib/organize/helpers.cpp b/contrib/organize/helpers.cpp index 5d438d05..18a5605f 100644 --- a/contrib/organize/helpers.cpp +++ b/contrib/organize/helpers.cpp @@ -18,11 +18,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: helpers.cpp - Author(s): Brad Schick (brad) - History: 19-Jan-09, brad: created -*/ // ***************************************************************************** #include diff --git a/contrib/organize/helpers.hpp b/contrib/organize/helpers.hpp index 6fa951ee..5a85e28b 100644 --- a/contrib/organize/helpers.hpp +++ b/contrib/organize/helpers.hpp @@ -1,8 +1,7 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2009 Brad Schick - * - * This file is part of the organize tool. + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -18,11 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: helpers.hpp - Author(s): Brad Schick (brad) - History: 19-Jan-09, brad: created -*/ // ***************************************************************************** diff --git a/contrib/organize/organize.cpp b/contrib/organize/organize.cpp index 58c49a08..a176a6bc 100644 --- a/contrib/organize/organize.cpp +++ b/contrib/organize/organize.cpp @@ -1,8 +1,7 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2009 Brad Schick - * - * This file is part of the organize tool. + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -18,11 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: organize.cpp - Author(s): Brad Schick (brad) - History: 19-Jan-09, brad: created -*/ // ***************************************************************************** #include diff --git a/include/exiv2/asfvideo.hpp b/include/exiv2/asfvideo.hpp index b103c4d1..50ddb9e2 100644 --- a/include/exiv2/asfvideo.hpp +++ b/include/exiv2/asfvideo.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/include/exiv2/basicio.hpp b/include/exiv2/basicio.hpp index 1cd98791..e2a0ce44 100644 --- a/include/exiv2/basicio.hpp +++ b/include/exiv2/basicio.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/include/exiv2/bmpimage.hpp b/include/exiv2/bmpimage.hpp index d5f8b8c3..aa8c7f78 100644 --- a/include/exiv2/bmpimage.hpp +++ b/include/exiv2/bmpimage.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/include/exiv2/convert.hpp b/include/exiv2/convert.hpp index ce43594d..87ea2597 100644 --- a/include/exiv2/convert.hpp +++ b/include/exiv2/convert.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/include/exiv2/cr2image.hpp b/include/exiv2/cr2image.hpp index 42ab5509..dd19430d 100644 --- a/include/exiv2/cr2image.hpp +++ b/include/exiv2/cr2image.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/include/exiv2/crwimage.hpp b/include/exiv2/crwimage.hpp index 6b142602..aab0f825 100644 --- a/include/exiv2/crwimage.hpp +++ b/include/exiv2/crwimage.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/include/exiv2/datasets.hpp b/include/exiv2/datasets.hpp index 2ac98c3a..0e7c4a43 100644 --- a/include/exiv2/datasets.hpp +++ b/include/exiv2/datasets.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/include/exiv2/easyaccess.hpp b/include/exiv2/easyaccess.hpp index 29c301a5..d51fb8ae 100644 --- a/include/exiv2/easyaccess.hpp +++ b/include/exiv2/easyaccess.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/include/exiv2/epsimage.hpp b/include/exiv2/epsimage.hpp index 9338f575..54d26e7d 100644 --- a/include/exiv2/epsimage.hpp +++ b/include/exiv2/epsimage.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/include/exiv2/error.hpp b/include/exiv2/error.hpp index 942a4cd5..19f63836 100644 --- a/include/exiv2/error.hpp +++ b/include/exiv2/error.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/include/exiv2/exif.hpp b/include/exiv2/exif.hpp index 8f5eb7c6..2a70efec 100644 --- a/include/exiv2/exif.hpp +++ b/include/exiv2/exif.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/include/exiv2/futils.hpp b/include/exiv2/futils.hpp index 9e450282..c1bad332 100644 --- a/include/exiv2/futils.hpp +++ b/include/exiv2/futils.hpp @@ -1,6 +1,6 @@ -// ********************************************************* -*- C++ -*- +// ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,14 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file futils.hpp - @brief Basic file utility functions required by Exiv2 - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 12-Dec-03, ahu: created
- 02-Apr-05, ahu: moved to Exiv2 namespace - */ #ifndef FUTILS_HPP_ #define FUTILS_HPP_ diff --git a/include/exiv2/gifimage.hpp b/include/exiv2/gifimage.hpp index bec7b1ad..828be6da 100644 --- a/include/exiv2/gifimage.hpp +++ b/include/exiv2/gifimage.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,14 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file gifimage.hpp - @brief GIF image, implemented using the following references: - GIF89 specification by W3C
- @author Marco Piovanelli, Ovolab (marco) - marco.piovanelli@pobox.com - @date 26-Feb-2007, marco: created - */ #ifndef GIFIMAGE_HPP_ #define GIFIMAGE_HPP_ diff --git a/include/exiv2/http.hpp b/include/exiv2/http.hpp index e0c08c74..71d33d67 100644 --- a/include/exiv2/http.hpp +++ b/include/exiv2/http.hpp @@ -1,3 +1,23 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + #ifndef HTTP_HPP_ #define HTTP_HPP_ diff --git a/include/exiv2/image.hpp b/include/exiv2/image.hpp index 7b0ac555..7000c512 100644 --- a/include/exiv2/image.hpp +++ b/include/exiv2/image.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,9 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file image.hpp - */ #ifndef IMAGE_HPP_ #define IMAGE_HPP_ diff --git a/include/exiv2/ini.hpp b/include/exiv2/ini.hpp index 17d544b5..1772867f 100755 --- a/include/exiv2/ini.hpp +++ b/include/exiv2/ini.hpp @@ -1,3 +1,23 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + // Read an INI file into easy-to-access name/value pairs. // inih and INIReader are released under the New BSD license (see LICENSE.txt). diff --git a/include/exiv2/iptc.hpp b/include/exiv2/iptc.hpp index add74138..c0226c94 100644 --- a/include/exiv2/iptc.hpp +++ b/include/exiv2/iptc.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -20,9 +20,6 @@ /*! @file iptc.hpp @brief Encoding and decoding of IPTC data - @author Brad Schick (brad) - brad@robotbattle.com - @date 31-Jul-04, brad: created */ #ifndef IPTC_HPP_ #define IPTC_HPP_ diff --git a/include/exiv2/jp2image.hpp b/include/exiv2/jp2image.hpp index 308c76bf..fcc60822 100644 --- a/include/exiv2/jp2image.hpp +++ b/include/exiv2/jp2image.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/include/exiv2/jpgimage.hpp b/include/exiv2/jpgimage.hpp index 27dd53b1..6ca47849 100644 --- a/include/exiv2/jpgimage.hpp +++ b/include/exiv2/jpgimage.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,19 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file jpgimage.hpp - @brief Class JpegImage to access JPEG images - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @author Brad Schick (brad) - brad@robotbattle.com - @author Volker Grabsch (vog) - vog@notjusthosting.com - @author Michael Ulbrich (mul) - mul@rentapacs.de - @date 15-Jan-05, brad: split out from image.cpp - */ + #ifndef JPGIMAGE_HPP_ #define JPGIMAGE_HPP_ diff --git a/include/exiv2/matroskavideo.hpp b/include/exiv2/matroskavideo.hpp index fa6981de..d83b7e8e 100644 --- a/include/exiv2/matroskavideo.hpp +++ b/include/exiv2/matroskavideo.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file matroskavideo.hpp - @brief An Image subclass to support Matroska video files - @author Abhinav Badola for GSoC 2012 - mail.abu.to@gmail.com - @date 18-Jun-12, AB: created - */ #ifndef MATROSKAVIDEO_HPP_ #define MATROSKAVIDEO_HPP_ diff --git a/include/exiv2/metadatum.hpp b/include/exiv2/metadatum.hpp index 41640e28..036812ef 100644 --- a/include/exiv2/metadatum.hpp +++ b/include/exiv2/metadatum.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file metadatum.hpp - @brief Provides abstract base classes Metadatum and Key - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @author Brad Schick (brad) - brad@robotbattle.com - @date 09-Jan-04, ahu: created
- 31-Jul-04, brad: isolated as a component
- 23-Aug-04, ahu: added Key - */ #ifndef METADATUM_HPP_ #define METADATUM_HPP_ diff --git a/include/exiv2/mrwimage.hpp b/include/exiv2/mrwimage.hpp index 7e5af656..4ed70823 100644 --- a/include/exiv2/mrwimage.hpp +++ b/include/exiv2/mrwimage.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,14 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file mrwimage.hpp - @brief Minolta RAW image, implemented using the following references: - Minolta Raw file format by Dalibor Jelinek - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 13-May-06, ahu: created - */ #ifndef MRWIMAGE_HPP_ #define MRWIMAGE_HPP_ diff --git a/include/exiv2/orfimage.hpp b/include/exiv2/orfimage.hpp index 2cbf2d61..299ee631 100644 --- a/include/exiv2/orfimage.hpp +++ b/include/exiv2/orfimage.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file orfimage.hpp - @brief Olympus RAW image - @author Jeff Costlow - costlow@gmail.com - @date 31-Jul-07, costlow: created - */ #ifndef ORFIMAGE_HPP_ #define ORFIMAGE_HPP_ diff --git a/include/exiv2/pgfimage.hpp b/include/exiv2/pgfimage.hpp index 96127809..dfdd8f3b 100644 --- a/include/exiv2/pgfimage.hpp +++ b/include/exiv2/pgfimage.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,16 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file pgfimage.hpp - @brief PGF image, implemented using the following references: - PGF specification from libpgf web site
- @author Andreas Huggel (ahu) - ahuggel@gmx.net - @author Gilles Caulier (cgilles) - caulier dot gilles at gmail dot com - @date 16-Jun-09, gc: submitted - */ #ifndef PGFIMAGE_HPP_ #define PGFIMAGE_HPP_ diff --git a/include/exiv2/pngimage.hpp b/include/exiv2/pngimage.hpp index cfa83da1..78c9108f 100644 --- a/include/exiv2/pngimage.hpp +++ b/include/exiv2/pngimage.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file pngimage.hpp - @brief PNG image, implemented using the following references: - PNG specification by W3C
- PNG tags list by Phil Harvey
- @author Andreas Huggel (ahu) - ahuggel@gmx.net - @author Gilles Caulier (cgilles) - caulier dot gilles at gmail dot com - @date 12-Jun-06, gc: submitted - */ #ifndef PNGIMAGE_HPP_ #define PNGIMAGE_HPP_ diff --git a/include/exiv2/preview.hpp b/include/exiv2/preview.hpp index b1391857..3e8f15ec 100644 --- a/include/exiv2/preview.hpp +++ b/include/exiv2/preview.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file preview.hpp - @brief Classes to access all preview images embedded in an image. - @author Vladimir Nadvornik (vn) - nadvornik@suse.cz - @date 18-Sep-08, vn: created - */ #ifndef PREVIEW_HPP_ #define PREVIEW_HPP_ diff --git a/include/exiv2/properties.hpp b/include/exiv2/properties.hpp index 09db134d..f56b0c28 100644 --- a/include/exiv2/properties.hpp +++ b/include/exiv2/properties.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,17 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file properties.hpp - @brief XMP property and type information.
References:
- XMP Specification from Adobe - (Property descriptions copied from the XMP specification with the permission of Adobe) - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @author Gilles Caulier (cgilles) - caulier dot gilles at gmail dot com - @date 13-Jul-07, ahu: created - */ #ifndef PROPERTIES_HPP_ #define PROPERTIES_HPP_ diff --git a/include/exiv2/psdimage.hpp b/include/exiv2/psdimage.hpp index a087f879..242e4b4b 100644 --- a/include/exiv2/psdimage.hpp +++ b/include/exiv2/psdimage.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,16 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file psdimage.hpp - @brief Photoshop image, implemented using the following references: - Adobe Photoshop 6.0 File Format Specification by Adobe
- @author Marco Piovanelli, Ovolab (marco) - marco.piovanelli@pobox.com - @author Michael Ulbrich - mul@rentapacs.de - @date 05-Mar-2007, marco: created - */ #ifndef PSDIMAGE_HPP_ #define PSDIMAGE_HPP_ diff --git a/include/exiv2/quicktimevideo.hpp b/include/exiv2/quicktimevideo.hpp index f9faf496..fe0e129d 100644 --- a/include/exiv2/quicktimevideo.hpp +++ b/include/exiv2/quicktimevideo.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file quicktimevideo.hpp - @brief An Image subclass to support Quick Time video files - @author Abhinav Badola for GSoC 2012 - mail.abu.to@gmail.com - @date 28-Jun-12, AB: created - */ #ifndef QUICKTIMEVIDEO_HPP #define QUICKTIMEVIDEO_HPP diff --git a/include/exiv2/rafimage.hpp b/include/exiv2/rafimage.hpp index aade5ea6..207fe7e7 100644 --- a/include/exiv2/rafimage.hpp +++ b/include/exiv2/rafimage.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file rafimage.hpp - @brief Fujifilm RAW image - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 05-Feb-07, ahu: created - */ #ifndef RAFIMAGE_HPP_ #define RAFIMAGE_HPP_ diff --git a/include/exiv2/riffvideo.hpp b/include/exiv2/riffvideo.hpp index 2568ed9e..0b323b92 100644 --- a/include/exiv2/riffvideo.hpp +++ b/include/exiv2/riffvideo.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file riffvideo.hpp - @brief An Image subclass to support RIFF video files - @author Abhinav Badola for GSoC 2012 - mail.abu.to@gmail.com - @date 18-Jun-12, AB: created - */ #ifndef RIFFVIDEO_HPP #define RIFFVIDEO_HPP diff --git a/include/exiv2/rw2image.hpp b/include/exiv2/rw2image.hpp index 4bca3717..9da395e5 100644 --- a/include/exiv2/rw2image.hpp +++ b/include/exiv2/rw2image.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file rw2image.hpp - @brief Class Rw2Image - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 06-Jan-09, ahu: created - */ #ifndef RW2IMAGE_HPP_ #define RW2IMAGE_HPP_ diff --git a/include/exiv2/rwlock.hpp b/include/exiv2/rwlock.hpp index 1ebbdb90..7dc24c9a 100644 --- a/include/exiv2/rwlock.hpp +++ b/include/exiv2/rwlock.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/include/exiv2/slice.hpp b/include/exiv2/slice.hpp index c26d058a..fed9a009 100644 --- a/include/exiv2/slice.hpp +++ b/include/exiv2/slice.hpp @@ -1,7 +1,6 @@ -// ********************************************************* -*- C++ -*- +// ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 maintainers - * + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -18,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file slice.hpp - @brief Simple implementation of slices (=views) for STL containers and C-arrays - @author Dan Čermák (D4N) - dan.cermak@cgc-instruments.com - @date 30-March-18, D4N: created - */ #ifndef EXIV2_INCLUDE_SLICE_HPP #define EXIV2_INCLUDE_SLICE_HPP diff --git a/include/exiv2/ssh.hpp b/include/exiv2/ssh.hpp index ee9470dc..e6530fcd 100644 --- a/include/exiv2/ssh.hpp +++ b/include/exiv2/ssh.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/include/exiv2/tags.hpp b/include/exiv2/tags.hpp index 6482c39b..f6a63a3a 100644 --- a/include/exiv2/tags.hpp +++ b/include/exiv2/tags.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,14 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file tags.hpp - @brief Exif tag and type information - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 15-Jan-04, ahu: created
- 11-Feb-04, ahu: isolated as a component - */ #ifndef TAGS_HPP_ #define TAGS_HPP_ diff --git a/include/exiv2/tgaimage.hpp b/include/exiv2/tgaimage.hpp index d7fc4abe..04b1d387 100644 --- a/include/exiv2/tgaimage.hpp +++ b/include/exiv2/tgaimage.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,15 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file tgaimage.hpp - @brief Truevision TARGA v2 image, implemented using the following references: - Truevision TGA page on Wikipedia
- TGA(tm) File Format Specification - @author Marco Piovanelli, Ovolab (marco) - marco.piovanelli@pobox.com - @date 05-Mar-2007, marco: created - */ #ifndef TGAIMAGE_HPP_ #define TGAIMAGE_HPP_ diff --git a/include/exiv2/tiffimage.hpp b/include/exiv2/tiffimage.hpp index 3c849a4b..c251806e 100644 --- a/include/exiv2/tiffimage.hpp +++ b/include/exiv2/tiffimage.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,9 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: tiffimage.hpp - */ #ifndef TIFFIMAGE_HPP_ #define TIFFIMAGE_HPP_ diff --git a/include/exiv2/types.hpp b/include/exiv2/types.hpp index c19ca72c..bd65eb65 100644 --- a/include/exiv2/types.hpp +++ b/include/exiv2/types.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,15 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file types.hpp - @brief Type definitions for %Exiv2 and related functionality - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 09-Jan-04, ahu: created
- 11-Feb-04, ahu: isolated as a component
- 31-Jul-04, brad: added Time, Data and String values - */ #ifndef TYPES_HPP_ #define TYPES_HPP_ diff --git a/include/exiv2/utilsvideo.hpp b/include/exiv2/utilsvideo.hpp index 68c737f7..b09de2e4 100644 --- a/include/exiv2/utilsvideo.hpp +++ b/include/exiv2/utilsvideo.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -22,7 +22,6 @@ #define UTILSVIDEO_HPP_ #include "exiv2lib_export.h" - #include "exif.hpp" namespace Exiv2 diff --git a/include/exiv2/value.hpp b/include/exiv2/value.hpp index 7ca57f36..f6b0894b 100644 --- a/include/exiv2/value.hpp +++ b/include/exiv2/value.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,15 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file value.hpp - @brief Value interface and concrete subclasses - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 09-Jan-04, ahu: created - 11-Feb-04, ahu: isolated as a component - 31-Jul-04, brad: added Time, Data and String values - */ #ifndef VALUE_HPP_ #define VALUE_HPP_ diff --git a/include/exiv2/version.hpp b/include/exiv2/version.hpp index f5df8150..d83e2596 100644 --- a/include/exiv2/version.hpp +++ b/include/exiv2/version.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,16 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file version.hpp - @brief Precompiler define and a function to test the %Exiv2 version. - References: Similar versioning defines are used in KDE, GTK and other - libraries. See http://apr.apache.org/versioning.html for accompanying - guidelines. - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 31-May-06, ahu: created - */ #ifndef VERSION_HPP_ #define VERSION_HPP_ diff --git a/include/exiv2/webpimage.hpp b/include/exiv2/webpimage.hpp index bd8be56c..4edccbeb 100644 --- a/include/exiv2/webpimage.hpp +++ b/include/exiv2/webpimage.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file webpimage.hpp - @brief An Image subclass to support WEBP image files - @author Ben Touchette - draekko.software+exiv2@gmail.com - @date 29-Jul-16 - */ #ifndef WEBPIMAGE_HPP #define WEBPIMAGE_HPP diff --git a/include/exiv2/xmp_exiv2.hpp b/include/exiv2/xmp_exiv2.hpp index 88a05c37..8934ebe6 100644 --- a/include/exiv2/xmp_exiv2.hpp +++ b/include/exiv2/xmp_exiv2.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file xmp.hpp - @brief Encoding and decoding of XMP data - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 13-Jul-07, ahu: created - */ #ifndef XMP_HPP_ #define XMP_HPP_ diff --git a/include/exiv2/xmpsidecar.hpp b/include/exiv2/xmpsidecar.hpp index 6cb7e306..a1be3740 100644 --- a/include/exiv2/xmpsidecar.hpp +++ b/include/exiv2/xmpsidecar.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file xmpsidecar.hpp - @brief An Image subclass to support XMP sidecar files - @author Andreas Huggel - ahuggel@gmx.net - @date 07-Mar-08, ahu: created - */ #ifndef XMPSIDECAR_HPP_ #define XMPSIDECAR_HPP_ diff --git a/samples/Jzon.cpp b/samples/Jzon.cpp index 1f9b608e..6f52a106 100644 --- a/samples/Jzon.cpp +++ b/samples/Jzon.cpp @@ -1,3 +1,23 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + /* Copyright (c) 2013 Johannes Häggqvist diff --git a/samples/geotag.cpp b/samples/geotag.cpp index cbcdc40d..3c93ddf0 100644 --- a/samples/geotag.cpp +++ b/samples/geotag.cpp @@ -4,6 +4,25 @@ // g++ geotag.cpp -o geotag -lexiv2 -lexpat +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + #include #include "unused.h" diff --git a/samples/getopt-test.cpp b/samples/getopt-test.cpp index 5b38a10b..024c3a61 100644 --- a/samples/getopt-test.cpp +++ b/samples/getopt-test.cpp @@ -1,4 +1,22 @@ // ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ // getopt-test.cpp // Sample program to test getopt() // Command: diff --git a/samples/httptest.cpp b/samples/httptest.cpp index 3e325e75..30aa21fc 100644 --- a/samples/httptest.cpp +++ b/samples/httptest.cpp @@ -1,4 +1,22 @@ // ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ /* httptest.cpp This application is to test http.cpp. It provides the function to GET|HEAD|PUT the file via http protocol. diff --git a/samples/ini-test.cpp b/samples/ini-test.cpp index 54581f10..1c62c364 100644 --- a/samples/ini-test.cpp +++ b/samples/ini-test.cpp @@ -1,3 +1,24 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + + /* 670 rmills@rmillsmbp:~/gnu/exiv2/trunk/samples $ gcc ../src/ini.cpp ini-test.cpp -lstdc++ -o ini-test 671 rmills@rmillsmbp:~/gnu/exiv2/trunk/samples $ ./ini-test diff --git a/samples/iotest.cpp b/samples/iotest.cpp index ee593530..43894042 100644 --- a/samples/iotest.cpp +++ b/samples/iotest.cpp @@ -1,5 +1,6 @@ // ***************************************************************** -*- C++ -*- /* + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -16,14 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - Abstract : Tester application for BasicIo functions. Tests MemIo primarily - since FileIo just sits atop of FILE* streams. - - File : iotest.cpp - Author(s): Brad Schick (brad) - History : 04-Dec-04, brad: created - */ // ***************************************************************************** // included header files #include diff --git a/samples/iptceasy.cpp b/samples/iptceasy.cpp index cda07eff..1447d3d6 100644 --- a/samples/iptceasy.cpp +++ b/samples/iptceasy.cpp @@ -1,6 +1,24 @@ // ***************************************************************** -*- C++ -*- // iptceasy.cpp // The quickest way to access, set or modify IPTC metadata. +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ #include diff --git a/samples/iptcprint.cpp b/samples/iptcprint.cpp index 83866c0f..93257131 100644 --- a/samples/iptcprint.cpp +++ b/samples/iptcprint.cpp @@ -1,6 +1,24 @@ // ***************************************************************** -*- C++ -*- // iptcprint.cpp // Sample program to print the IPTC metadata of an image +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ #include diff --git a/samples/iptctest.cpp b/samples/iptctest.cpp index a3cb37e1..c8b01887 100644 --- a/samples/iptctest.cpp +++ b/samples/iptctest.cpp @@ -1,11 +1,21 @@ // ***************************************************************** -*- C++ -*- /* - Abstract : Sample program test the Iptc reading and writing. - This is not designed to be a robust application. - - File : iptctest.cpp - Author(s): Brad Schick (brad) - History : 01-Aug-04, brad: created + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ // ***************************************************************************** // included header files diff --git a/samples/key-test.cpp b/samples/key-test.cpp index 1f4a4d18..071424ec 100644 --- a/samples/key-test.cpp +++ b/samples/key-test.cpp @@ -1,11 +1,21 @@ // ***************************************************************** -*- C++ -*- /* - Abstract : Key unit tests - - File : key-test.cpp - Author(s): Andreas Huggel (ahu) - History : 24-Aug-04, ahu: created - + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ // ***************************************************************************** // included header files diff --git a/samples/largeiptc-test.cpp b/samples/largeiptc-test.cpp index 4793b482..54d368ed 100644 --- a/samples/largeiptc-test.cpp +++ b/samples/largeiptc-test.cpp @@ -1,5 +1,24 @@ // ***************************************************************** -*- C++ -*- // Test for large (>65535 bytes) IPTC buffer +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ #include diff --git a/samples/metacopy.cpp b/samples/metacopy.cpp index 1af51462..63f9d63e 100644 --- a/samples/metacopy.cpp +++ b/samples/metacopy.cpp @@ -1,5 +1,6 @@ // ***************************************************************** -*- C++ -*- /* + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -16,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - Abstract : Tester application for image file handling - - File : metacopy.cpp - Author(s): Brad Schick (brad) - History : 13-Jul-04, brad: created - */ // ***************************************************************************** // included header files #include diff --git a/samples/metacopy.hpp b/samples/metacopy.hpp index 78813f5f..2e8b7305 100644 --- a/samples/metacopy.hpp +++ b/samples/metacopy.hpp @@ -1,5 +1,6 @@ // ***************************************************************** -*- C++ -*- /* + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -16,12 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file metacopy.hpp - @brief Defines class Params, used for the command line handling - @author Brad Schick (brad) - @date 13-Jul-04, brad: created - */ #ifndef METACOPY_HPP_ #define METACOPY_HPP_ diff --git a/samples/mmap-test.cpp b/samples/mmap-test.cpp index db3d4ba1..182eacf2 100644 --- a/samples/mmap-test.cpp +++ b/samples/mmap-test.cpp @@ -1,6 +1,24 @@ // ***************************************************************** -*- C++ -*- // mmap-test.cpp // Simple mmap tests +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ #include diff --git a/samples/mrwthumb.cpp b/samples/mrwthumb.cpp index 3c2cdf47..c1bbab78 100644 --- a/samples/mrwthumb.cpp +++ b/samples/mrwthumb.cpp @@ -1,6 +1,24 @@ // ***************************************************************** -*- C++ -*- // mrwthumb.cpp // Sample program to extract a Minolta thumbnail from the makernote +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ #include "error.hpp" #include "exif.hpp" diff --git a/samples/mt-test.cpp b/samples/mt-test.cpp index f316299e..b3e72080 100644 --- a/samples/mt-test.cpp +++ b/samples/mt-test.cpp @@ -1,6 +1,24 @@ // ***************************************************************** -*- C++ -*- // mt-test.cpp // Sample multi-threading program +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ // Discussion: http://dev.exiv2.org/issues/1207 // Caution: This code isn't currently exercised by any bash script in the test suite diff --git a/samples/path-test.cpp b/samples/path-test.cpp index a1bf8e1b..f71f6154 100644 --- a/samples/path-test.cpp +++ b/samples/path-test.cpp @@ -1,5 +1,23 @@ // ***************************************************************** -*- C++ -*- // path-test.cpp +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ #include diff --git a/samples/prevtest.cpp b/samples/prevtest.cpp index cd44c5c5..fb178bb3 100644 --- a/samples/prevtest.cpp +++ b/samples/prevtest.cpp @@ -1,6 +1,24 @@ // ***************************************************************** -*- C++ -*- // prevtest.cpp // Test access to preview images +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ #include diff --git a/samples/remotetest.cpp b/samples/remotetest.cpp index 30e1d4a7..2ca331ea 100644 --- a/samples/remotetest.cpp +++ b/samples/remotetest.cpp @@ -3,6 +3,24 @@ // Tester application for testing remote i/o. // It makes some modifications on the metadata of remote file, reads new metadata from that file // and reset the metadata back to the original status. +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ #include diff --git a/samples/stringto-test.cpp b/samples/stringto-test.cpp index b3669968..69bbb102 100644 --- a/samples/stringto-test.cpp +++ b/samples/stringto-test.cpp @@ -1,6 +1,24 @@ // ***************************************************************** -*- C++ -*- // stringto-test.cpp // Test conversions from string to long, float and Rational types. +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ #include diff --git a/samples/taglist.cpp b/samples/taglist.cpp index 9a0ef17e..d761b165 100644 --- a/samples/taglist.cpp +++ b/samples/taglist.cpp @@ -1,12 +1,22 @@ // ***************************************************************** -*- C++ -*- /* - Abstract: Print a simple comma separated list of tags defined in Exiv2 - - File: taglist.cpp - Author(s): Andreas Huggel (ahu) - History: 07-Jan-04, ahu: created + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -// ***************************************************************************** #include diff --git a/samples/tiff-test.cpp b/samples/tiff-test.cpp index ff59513d..e22990d2 100644 --- a/samples/tiff-test.cpp +++ b/samples/tiff-test.cpp @@ -1,4 +1,23 @@ // ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + // tiff-test.cpp // First and very simple TIFF write test. diff --git a/samples/tiffaddpath-test.cpp b/samples/tiffaddpath-test.cpp index 8a94f17e..b122a171 100644 --- a/samples/tiffaddpath-test.cpp +++ b/samples/tiffaddpath-test.cpp @@ -1,4 +1,22 @@ // ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ // tiffaddpath-test.cpp // Test driver to test adding new tags to a TIFF composite structure diff --git a/samples/toexv.cpp b/samples/toexv.cpp index a245c3ba..255eaa64 100644 --- a/samples/toexv.cpp +++ b/samples/toexv.cpp @@ -18,9 +18,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - Abstract : Test application to extract metadata from image to exv file - */ // ***************************************************************************** // included header files #include diff --git a/samples/werror-test.cpp b/samples/werror-test.cpp index b2036507..8fac3b73 100644 --- a/samples/werror-test.cpp +++ b/samples/werror-test.cpp @@ -1,3 +1,23 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + // ***************************************************************** -*- C++ -*- // werror-test.cpp // Simple tests for the wide-string error class WError diff --git a/samples/write-test.cpp b/samples/write-test.cpp index 16bc6f27..0016feaa 100644 --- a/samples/write-test.cpp +++ b/samples/write-test.cpp @@ -1,16 +1,21 @@ // ***************************************************************** -*- C++ -*- /* - Abstract : ExifData write unit tests - - Author(s): Andreas Huggel (ahu) - - Test procedure: - $ rm -f test.jpg thumb.jpg iii ttt; - $ ./exifprint ../test/img_1771.jpg > iii; - $ cp ../test/img_1771.jpg ./test.jpg; - $ ./makernote-test2 ../test/img_1771.jpg > ttt; - $ diff iii ttt - + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ // ***************************************************************************** // included header files diff --git a/samples/write2-test.cpp b/samples/write2-test.cpp index dd11c76f..d95609d4 100644 --- a/samples/write2-test.cpp +++ b/samples/write2-test.cpp @@ -1,11 +1,21 @@ // ***************************************************************** -*- C++ -*- /* - Abstract : ExifData write unit tests for Exif data created from scratch - - File : write2-test.cpp - Author(s): Andreas Huggel (ahu) - History : 26-Jun-04, ahu: created - + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ // ***************************************************************************** // included header files diff --git a/samples/xmpdump.cpp b/samples/xmpdump.cpp index b266a047..fff3e62b 100644 --- a/samples/xmpdump.cpp +++ b/samples/xmpdump.cpp @@ -1,4 +1,23 @@ // ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + // xmpdump.cpp // Sample program to dump the XMP packet of an image #include diff --git a/samples/xmpparse.cpp b/samples/xmpparse.cpp index 7dabddf6..af812041 100644 --- a/samples/xmpparse.cpp +++ b/samples/xmpparse.cpp @@ -1,4 +1,22 @@ // ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ // xmpparse.cpp // Read an XMP packet from a file, parse it and print all (known) properties. diff --git a/samples/xmpparser-test.cpp b/samples/xmpparser-test.cpp index d7aef12b..29805f0a 100644 --- a/samples/xmpparser-test.cpp +++ b/samples/xmpparser-test.cpp @@ -1,4 +1,22 @@ // ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ // xmpparser-test.cpp // Read an XMP packet from a file, parse and re-serialize it. diff --git a/samples/xmpprint.cpp b/samples/xmpprint.cpp index d662efa7..bb704bb4 100644 --- a/samples/xmpprint.cpp +++ b/samples/xmpprint.cpp @@ -1,4 +1,23 @@ // ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + // xmpprint.cpp // Read an XMP from a video or graphic file, parse it and print // all (known) properties. diff --git a/samples/xmpsample.cpp b/samples/xmpsample.cpp index 86049c6e..4b24b787 100644 --- a/samples/xmpsample.cpp +++ b/samples/xmpsample.cpp @@ -1,4 +1,22 @@ // ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ // xmpsample.cpp // Sample/test for high level XMP classes. See also addmoddel.cpp diff --git a/src/actions.cpp b/src/actions.cpp index c7ca7726..ea6e5360 100644 --- a/src/actions.cpp +++ b/src/actions.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2020 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/actions.hpp b/src/actions.hpp index 68a96896..169a74f8 100644 --- a/src/actions.hpp +++ b/src/actions.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/asfvideo.cpp b/src/asfvideo.cpp index 6fd9060b..7f677526 100644 --- a/src/asfvideo.cpp +++ b/src/asfvideo.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/basicio.cpp b/src/basicio.cpp index 12174616..5193ae54 100644 --- a/src/basicio.cpp +++ b/src/basicio.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/bmpimage.cpp b/src/bmpimage.cpp index cdc3908e..ef82f57e 100644 --- a/src/bmpimage.cpp +++ b/src/bmpimage.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/canonmn_int.cpp b/src/canonmn_int.cpp index 07e994c5..b4582d45 100644 --- a/src/canonmn_int.cpp +++ b/src/canonmn_int.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/canonmn_int.hpp b/src/canonmn_int.hpp index c99c1cd4..777a41ec 100644 --- a/src/canonmn_int.hpp +++ b/src/canonmn_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/casiomn_int.cpp b/src/casiomn_int.cpp index 16c0cb15..26e485e6 100644 --- a/src/casiomn_int.cpp +++ b/src/casiomn_int.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/casiomn_int.hpp b/src/casiomn_int.hpp index 9c4c6b48..33f39b9a 100644 --- a/src/casiomn_int.hpp +++ b/src/casiomn_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/convert.cpp b/src/convert.cpp index ef83a23f..eb710849 100644 --- a/src/convert.cpp +++ b/src/convert.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/cr2header_int.hpp b/src/cr2header_int.hpp index 8e31e34e..443c03d4 100644 --- a/src/cr2header_int.hpp +++ b/src/cr2header_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/cr2image.cpp b/src/cr2image.cpp index e1d8be32..be4568b8 100644 --- a/src/cr2image.cpp +++ b/src/cr2image.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/crwimage.cpp b/src/crwimage.cpp index e7429882..4bc5b57b 100644 --- a/src/crwimage.cpp +++ b/src/crwimage.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/crwimage_int.cpp b/src/crwimage_int.cpp index aefaf22e..a44a67e2 100644 --- a/src/crwimage_int.cpp +++ b/src/crwimage_int.cpp @@ -1,3 +1,23 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + #include "crwimage_int.hpp" #include "canonmn_int.hpp" #include "i18n.h" // NLS support. diff --git a/src/crwimage_int.hpp b/src/crwimage_int.hpp index 84997d29..8a8dd57c 100644 --- a/src/crwimage_int.hpp +++ b/src/crwimage_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file crwimage_int.hpp - @brief Internal classes to support CRW/CIFF format. - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 28-Aug-05, ahu: created - */ #ifndef CRWIMAGE_INT_HPP_ #define CRWIMAGE_INT_HPP_ diff --git a/src/datasets.cpp b/src/datasets.cpp index 8837270d..c418ef20 100644 --- a/src/datasets.cpp +++ b/src/datasets.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/easyaccess.cpp b/src/easyaccess.cpp index dcc3fb0d..3b261303 100644 --- a/src/easyaccess.cpp +++ b/src/easyaccess.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/enforce.hpp b/src/enforce.hpp index 5718d540..b63456a3 100644 --- a/src/enforce.hpp +++ b/src/enforce.hpp @@ -1,6 +1,6 @@ -// ********************************************************* -*- C++ -*- +// ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file enforce.hpp - @brief Port of D's enforce() to C++ & Exiv2 - @author Dan Čermák (D4N) - dan.cermak@cgc-instruments.com - @date 11-March-18, D4N: created - */ #include diff --git a/src/epsimage.cpp b/src/epsimage.cpp index 2d91cee7..79402e62 100644 --- a/src/epsimage.cpp +++ b/src/epsimage.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/error.cpp b/src/error.cpp index f68cc64e..638e33a7 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/exif.cpp b/src/exif.cpp index 493fd20b..50ecfa20 100644 --- a/src/exif.cpp +++ b/src/exif.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/exiv2.cpp b/src/exiv2.cpp index 7fc03a70..7012f736 100644 --- a/src/exiv2.cpp +++ b/src/exiv2.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/exiv2app.hpp b/src/exiv2app.hpp index dd3b8784..a19b8ca5 100644 --- a/src/exiv2app.hpp +++ b/src/exiv2app.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/fujimn_int.cpp b/src/fujimn_int.cpp index ad20b7ae..d618b0bb 100644 --- a/src/fujimn_int.cpp +++ b/src/fujimn_int.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/fujimn_int.hpp b/src/fujimn_int.hpp index 01392c25..9c802790 100644 --- a/src/fujimn_int.hpp +++ b/src/fujimn_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,19 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file fujimn_int.hpp - @brief Fujifilm MakerNote implemented according to the specification - in Appendix 4: Makernote of Fujifilm of the document - - Exif file format by TsuruZoh Tachibanaya
- Fuji Makernote list by Phil Harvey
- @author Andreas Huggel (ahu) - ahuggel@gmx.net - @author Gilles Caulier (gc) - caulier dot gilles at gmail dot com - @date 11-Feb-04, ahu: created - */ + #ifndef FUJIMN_INT_HPP_ #define FUJIMN_INT_HPP_ diff --git a/src/futils.cpp b/src/futils.cpp index e0757e93..6300b991 100644 --- a/src/futils.cpp +++ b/src/futils.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/getopt.cpp b/src/getopt.cpp index 78a96abc..fb48c391 100644 --- a/src/getopt.cpp +++ b/src/getopt.cpp @@ -1,3 +1,22 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ #if _MSC_VER >= 1400 # pragma warning(disable : 4996) diff --git a/src/getopt.hpp b/src/getopt.hpp index ca536b54..6abef8cc 100644 --- a/src/getopt.hpp +++ b/src/getopt.hpp @@ -1,3 +1,23 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + #ifndef GETOPT_H #define GETOPT_H diff --git a/src/gifimage.cpp b/src/gifimage.cpp index 72a198e7..5f4932be 100644 --- a/src/gifimage.cpp +++ b/src/gifimage.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,11 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: gifimage.cpp - Author(s): Marco Piovanelli, Ovolab (marco) - History: 26-Feb-2007, marco: created - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/helper_functions.cpp b/src/helper_functions.cpp index 8c0a357f..e01a8bf2 100644 --- a/src/helper_functions.cpp +++ b/src/helper_functions.cpp @@ -1,6 +1,6 @@ -// ********************************************************* -*- C++ -*- +// ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,19 +17,10 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file helper_functions.cpp - @brief A collection of helper functions - @author Dan Čermák (D4N) - dan.cermak@cgc-instruments.com - @date 25-May-18, D4N: created - */ #include "helper_functions.hpp" - #include - std::string string_from_unterminated(const char* data, size_t data_length) { const size_t StringLength = strnlen(data, data_length); diff --git a/src/helper_functions.hpp b/src/helper_functions.hpp index 8a2ce9ae..6ec990d6 100644 --- a/src/helper_functions.hpp +++ b/src/helper_functions.hpp @@ -1,6 +1,6 @@ -// ********************************************************* -*- C++ -*- +// ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file helper_functions.hpp - @brief A collection of helper functions - @author Dan Čermák (D4N) - dan.cermak@cgc-instruments.com - @date 25-May-18, D4N: created - */ #ifndef HELPER_FUNCTIONS_HPP #define HELPER_FUNCTIONS_HPP diff --git a/src/http.cpp b/src/http.cpp index e539e1e2..b4d776a8 100644 --- a/src/http.cpp +++ b/src/http.cpp @@ -1,6 +1,6 @@ // ********************************************************* -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/image.cpp b/src/image.cpp index 9267c8e4..ae6121a0 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2020 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,9 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: image.cpp - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/image_int.cpp b/src/image_int.cpp index ea50159e..c7c4802a 100644 --- a/src/image_int.cpp +++ b/src/image_int.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/image_int.hpp b/src/image_int.hpp index e3e75beb..94cca2eb 100644 --- a/src/image_int.hpp +++ b/src/image_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file image_int.hpp - @brief Internal image helpers - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 10-May-15, ahu: created - */ #ifndef IMAGE_INT_HPP_ #define IMAGE_INT_HPP_ diff --git a/src/ini.cpp b/src/ini.cpp index 6e4932fa..b7a2377d 100755 --- a/src/ini.cpp +++ b/src/ini.cpp @@ -1,3 +1,23 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + // Read an INI file into easy-to-access name/value pairs. // inih and INIReader are released under the New BSD license (see LICENSE.txt). diff --git a/src/iptc.cpp b/src/iptc.cpp index 1ffc759c..908ef5bd 100644 --- a/src/iptc.cpp +++ b/src/iptc.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,11 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: iptc.cpp - Author(s): Brad Schick (brad) - History: 31-July-04, brad: created - */ // ***************************************************************************** // included header files #include "iptc.hpp" diff --git a/src/jp2image.cpp b/src/jp2image.cpp index e6dae63b..eb31cea4 100644 --- a/src/jp2image.cpp +++ b/src/jp2image.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/jpgimage.cpp b/src/jpgimage.cpp index 66b61faa..5e80ebdb 100644 --- a/src/jpgimage.cpp +++ b/src/jpgimage.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,9 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: jpgimage.cpp - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/makernote_int.cpp b/src/makernote_int.cpp index a61d76ae..4db41f46 100644 --- a/src/makernote_int.cpp +++ b/src/makernote_int.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/makernote_int.hpp b/src/makernote_int.hpp index fd2cc844..d4282b76 100644 --- a/src/makernote_int.hpp +++ b/src/makernote_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,16 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file makernote_int.hpp - @brief Makernote factory and registry, IFD makernote header, and camera - vendor specific makernote implementations.
References:
- [1] ExifTool by Phil Harvey
- [2] Decoding raw digital photos in Linux by Dave Coffin - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 11-Apr-06, ahu: created - */ #ifndef MAKERNOTE_INT_HPP_ #define MAKERNOTE_INT_HPP_ diff --git a/src/matroskavideo.cpp b/src/matroskavideo.cpp index 1ea60c1f..b97feb7f 100644 --- a/src/matroskavideo.cpp +++ b/src/matroskavideo.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,12 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: matroskavideo.cpp - Author(s): Abhinav Badola for GSoC 2012 (AB) - History: 18-Jun-12, AB: created - Credits: See header file - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/metadatum.cpp b/src/metadatum.cpp index 2d995ea4..69a32ed1 100644 --- a/src/metadatum.cpp +++ b/src/metadatum.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: metadatum.cpp - Author(s): Andreas Huggel (ahu) - Brad Schick (brad) - History: 26-Jan-04, ahu: created - 31-Jul-04, brad: isolated as a component - */ // ***************************************************************************** // included header files #include "metadatum.hpp" diff --git a/src/minoltamn_int.cpp b/src/minoltamn_int.cpp index f5c0b41a..a1275748 100644 --- a/src/minoltamn_int.cpp +++ b/src/minoltamn_int.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: minoltamn.cpp - Author(s): Gilles Caulier (cgilles) - Andreas Huggel (ahu) - History: 06-May-06, gc: submitted - Credits: See header file. - */ // ***************************************************************************** // included header files diff --git a/src/minoltamn_int.hpp b/src/minoltamn_int.hpp index 37395198..1fab3ffd 100644 --- a/src/minoltamn_int.hpp +++ b/src/minoltamn_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,20 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file minoltamn_int.hpp - @brief Minolta MakerNote implemented using the following references:
- Minolta Makernote Format Specification by Dalibor Jelinek,
- Minolta Makernote list by Phil Harvey
- Minolta Makernote list from PHP JPEG Metadata Toolkit
- Email communication with caulier dot gilles at gmail dot com
- Some Minolta camera settings have been decoded by Xavier Raynaud from digiKam project and added by Gilles Caulier. - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @author Gilles Caulier (cgilles) - caulier dot gilles at gmail dot com - @date 06-May-06, gc: submitted - */ #ifndef MINOLTAMN_INT_HPP_ #define MINOLTAMN_INT_HPP_ diff --git a/src/mrwimage.cpp b/src/mrwimage.cpp index a4c7bfb2..c8378053 100644 --- a/src/mrwimage.cpp +++ b/src/mrwimage.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,12 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: mrwimage.cpp - Author(s): Andreas Huggel (ahu) - History: 13-May-06, ahu: created - Credits: See header file - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/nikonmn_int.cpp b/src/nikonmn_int.cpp index c9247e8f..a9fec8b6 100644 --- a/src/nikonmn_int.cpp +++ b/src/nikonmn_int.cpp @@ -3,7 +3,7 @@ * Lens database for the conversion of Nikon lens data to readable lens names * Copyright (C) 2005-2014 Robert Rottmerhusen * - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -20,14 +20,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: nikonmn.cpp - Author(s): Andreas Huggel (ahu) - Gilles Caulier (gc) - Jens Mueller (jm) - History: 17-May-04, ahu: created - 25-May-04, ahu: combined all Nikon formats in one component - */ // ***************************************************************************** // included header files #include "types.hpp" diff --git a/src/nikonmn_int.hpp b/src/nikonmn_int.hpp index e777e4ad..070d2cdb 100644 --- a/src/nikonmn_int.hpp +++ b/src/nikonmn_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -28,15 +28,6 @@ [5] Email communication with Robert Rottmerhusen
[6] Email communication with Roger Larsson
[7] Decoding raw digital photos in Linux by Dave Coffin
- - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @author Gilles Caulier (gc) - caulier dot gilles at gmail dot com - @author Jens Mueller (jm) - tschensinger at web dot de - @date 17-May-04, ahu: created
- 25-May-04, ahu: combined all Nikon formats in one component */ #ifndef NIKONMN_INT_HPP_ #define NIKONMN_INT_HPP_ diff --git a/src/olympusmn_int.cpp b/src/olympusmn_int.cpp index cd7b8a44..973b3032 100644 --- a/src/olympusmn_int.cpp +++ b/src/olympusmn_int.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,15 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: olympusmn.cpp - Author(s): Will Stokes (wuz) - Andreas Huggel (ahu) - Gilles Caulier (gc) - Greg Mansfield - History: 10-Mar-05, wuz: created - Credits: See header file. - */ // ***************************************************************************** // included header files diff --git a/src/olympusmn_int.hpp b/src/olympusmn_int.hpp index 34e06232..59aa5bff 100644 --- a/src/olympusmn_int.hpp +++ b/src/olympusmn_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -24,15 +24,6 @@ [2] ExifTool by Phil Harvey
[3] Olympus Makernote Format Specification by Evan Hunter
[4] email communication with Will Stokes - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @author Will Stokes (wuz) - wstokes@gmail.com - @author Gilles Caulier (gc) - caulier dot gilles at gmail dot com - @author Greg Mansfield - G.Mansfield at computer dot org - @date 10-Mar-05, wuz: created */ #ifndef OLYMPUSMN_INT_HPP_ #define OLYMPUSMN_INT_HPP_ diff --git a/src/orfimage.cpp b/src/orfimage.cpp index 2637ac6d..9835af27 100644 --- a/src/orfimage.cpp +++ b/src/orfimage.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,12 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: orfimage.cpp - Author(s): Andreas Huggel (ahu) - History: 13-May-06, ahu: created - Credits: See header file - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/orfimage_int.cpp b/src/orfimage_int.cpp index abc5e808..7c9f8105 100644 --- a/src/orfimage_int.cpp +++ b/src/orfimage_int.cpp @@ -1,3 +1,23 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + #include "orfimage_int.hpp" namespace Exiv2 { diff --git a/src/orfimage_int.hpp b/src/orfimage_int.hpp index 4803885a..b95c7e0e 100644 --- a/src/orfimage_int.hpp +++ b/src/orfimage_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,14 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file orfimage_int.hpp - @brief Internal classes to support Olympus RAW image format - @author Jeff Costlow - costlow@gmail.com - @date 31-Jul-07, costlow: created - 23-Apr-08, ahu: Moved to _int file - */ #ifndef ORFIMAGE_INT_HPP_ #define ORFIMAGE_INT_HPP_ diff --git a/src/panasonicmn_int.cpp b/src/panasonicmn_int.cpp index 2c3e9dd4..74fc38e8 100644 --- a/src/panasonicmn_int.cpp +++ b/src/panasonicmn_int.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: panasonicmn.cpp - Author(s): Andreas Huggel (ahu) - Gilles Caulier (gc) - History: 11-Jun-04, ahu: created - Credits: See header file - */ // ***************************************************************************** // included header files #include "types.hpp" diff --git a/src/panasonicmn_int.hpp b/src/panasonicmn_int.hpp index 2892647e..2368c2a5 100644 --- a/src/panasonicmn_int.hpp +++ b/src/panasonicmn_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file panasonicmn_int.hpp - @brief Panasonic MakerNote implemented using the following references: - Panasonic MakerNote Information by Tom Hughes, - Panasonic.pm of ExifTool by Phil Harvey, - Panasonic Makernote Format Specification by Evan Hunter. - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @author Gilles Caulier (gc) - caulier dot gilles at gmail dot com - @date 11-Jun-05, ahu: created - */ #ifndef PANASONICMN_INT_HPP_ #define PANASONICMN_INT_HPP_ diff --git a/src/pentaxmn_int.cpp b/src/pentaxmn_int.cpp index 128df3c3..313577eb 100644 --- a/src/pentaxmn_int.cpp +++ b/src/pentaxmn_int.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,9 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: pentaxmn.cpp - */ // ***************************************************************************** // included header files #include "types.hpp" diff --git a/src/pentaxmn_int.hpp b/src/pentaxmn_int.hpp index e4b5b4da..147dcb51 100644 --- a/src/pentaxmn_int.hpp +++ b/src/pentaxmn_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file pentaxmn_int.hpp - @brief Pentax MakerNote implemented according to the specification - http://www.gvsoft.homedns.org/exif/makernote-pentax-type3.html and - based on ExifTool implementation and - Pentax Makernote list by Phil Harvey
- */ #ifndef PENTAXMN_INT_HPP_ #define PENTAXMN_INT_HPP_ diff --git a/src/pgfimage.cpp b/src/pgfimage.cpp index f6a942f1..8c1a41b3 100644 --- a/src/pgfimage.cpp +++ b/src/pgfimage.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,12 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: pgfimage.cpp - Author(s): Gilles Caulier (cgilles) - History: 16-Jun-09, gc: submitted - Credits: See header file - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/pngchunk_int.cpp b/src/pngchunk_int.cpp index 378a1aaf..e7844f10 100644 --- a/src/pngchunk_int.cpp +++ b/src/pngchunk_int.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,9 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: pngchunk.cpp - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/pngchunk_int.hpp b/src/pngchunk_int.hpp index 2a2c59a8..4901dc7a 100644 --- a/src/pngchunk_int.hpp +++ b/src/pngchunk_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,19 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file pngchunk_int.hpp - @brief Class PngChunk to parse PNG chunk data implemented using the following references:
- PNG iTXt chunk structure from PNG definitive guide,
- PNG tTXt and zTXt chunks structures from PNG definitive guide,
- PNG tags list by Phil Harvey
- Email communication with caulier dot gilles at gmail dot com
- */ - - /* - File: pngchunk.cpp - */ - #ifndef PNGCHUNK_INT_HPP_ #define PNGCHUNK_INT_HPP_ diff --git a/src/pngimage.cpp b/src/pngimage.cpp index 599fd61d..067e3b86 100644 --- a/src/pngimage.cpp +++ b/src/pngimage.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,9 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: pngimage.cpp - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/preview.cpp b/src/preview.cpp index ed45566c..3ca52b11 100644 --- a/src/preview.cpp +++ b/src/preview.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,11 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: preview.cpp - Author(s): Vladimir Nadvornik (vn) - History: 18-Sep-08, vn: created - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/properties.cpp b/src/properties.cpp index fa62200b..7fcfc711 100644 --- a/src/properties.cpp +++ b/src/properties.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,12 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: properties.cpp - Author(s): Andreas Huggel (ahu) - Gilles Caulier (cgilles) - History: 13-July-07, ahu: created - */ // ***************************************************************************** // included header files #include "properties.hpp" diff --git a/src/psdimage.cpp b/src/psdimage.cpp index f27e5e5a..2d1472fc 100644 --- a/src/psdimage.cpp +++ b/src/psdimage.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,12 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: psdimage.cpp - Author(s): Marco Piovanelli, Ovolab (marco) - Michael Ulbrich (mul) - History: 05-Mar-2007, marco: created - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/quicktimevideo.cpp b/src/quicktimevideo.cpp index 1b2880e8..335d8848 100644 --- a/src/quicktimevideo.cpp +++ b/src/quicktimevideo.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,12 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: quicktimevideo.cpp - Author(s): Abhinav Badola for GSoC 2012 (AB) - History: 28-Jun-12, AB: created - Credits: See header file - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/rafimage.cpp b/src/rafimage.cpp index a256267b..bcbed1d9 100644 --- a/src/rafimage.cpp +++ b/src/rafimage.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,12 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: rafimage.cpp - Author(s): Andreas Huggel (ahu) - History: 05-Feb-07, ahu: created - Credits: See header file - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/riffvideo.cpp b/src/riffvideo.cpp index 658c51f4..ad00cf93 100644 --- a/src/riffvideo.cpp +++ b/src/riffvideo.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,12 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: riffvideo.cpp - Author(s): Abhinav Badola for GSoC 2012 (AB) - History: 18-Jun-12, AB: created - Credits: See header file - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/rw2image.cpp b/src/rw2image.cpp index c9629a56..1fdd72e7 100644 --- a/src/rw2image.cpp +++ b/src/rw2image.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,12 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: rw2image.cpp - Author(s): Andreas Huggel (ahu) - History: 06-Jan-09, ahu: created - - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/rw2image_int.cpp b/src/rw2image_int.cpp index 16aab0f1..110d783c 100644 --- a/src/rw2image_int.cpp +++ b/src/rw2image_int.cpp @@ -1,3 +1,23 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + #include "rw2image_int.hpp" namespace Exiv2 { diff --git a/src/rw2image_int.hpp b/src/rw2image_int.hpp index 5d9fe3fd..08e4e7c7 100644 --- a/src/rw2image_int.hpp +++ b/src/rw2image_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file rw2image_int.hpp - @brief Internal classes to support RW2 image format - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 06-Jan-09, ahu: created - */ #ifndef RW2IMAGE_INT_HPP_ #define RW2IMAGE_INT_HPP_ diff --git a/src/safe_op.hpp b/src/safe_op.hpp index 116e81fe..ddcc44b8 100644 --- a/src/safe_op.hpp +++ b/src/safe_op.hpp @@ -1,6 +1,6 @@ -// ********************************************************* -*- C++ -*- +// ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file safe_op.hpp - @brief Overflow checks for integers - @author Dan Čermák (D4N) - dan.cermak@cgc-instruments.com - @date 14-Dec-17, D4N: created - */ #ifndef SAFE_OP_HPP_ #define SAFE_OP_HPP_ diff --git a/src/samsungmn_int.cpp b/src/samsungmn_int.cpp index fa939f54..b9a201fc 100644 --- a/src/samsungmn_int.cpp +++ b/src/samsungmn_int.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,11 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: samsungmn.cpp - Author(s): Andreas Huggel (ahu) - History: 27-Sep-10, ahu: created - */ // ***************************************************************************** // included header files #include "types.hpp" diff --git a/src/samsungmn_int.hpp b/src/samsungmn_int.hpp index 3d89233e..8670821d 100644 --- a/src/samsungmn_int.hpp +++ b/src/samsungmn_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,14 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file samsungmn_int.hpp - @brief Samsung makernote tags.
References:
- [1] ExifTool by Phil Harvey - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 27-Sep-10, ahu: created - */ #ifndef SAMSUNGMN_INT_HPP_ #define SAMSUNGMN_INT_HPP_ diff --git a/src/sigmamn_int.cpp b/src/sigmamn_int.cpp index da1beaa8..fdafc4c7 100644 --- a/src/sigmamn_int.cpp +++ b/src/sigmamn_int.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,14 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: sigmamn.cpp - Author(s): Andreas Huggel (ahu) - History: 02-Apr-04, ahu: created - Credits: Sigma and Foveon MakerNote implemented according to the specification - in "SIGMA and FOVEON EXIF MakerNote Documentation" by Foveon. - - */ // ***************************************************************************** // included header files #include "types.hpp" diff --git a/src/sigmamn_int.hpp b/src/sigmamn_int.hpp index 99ac9170..f0b18134 100644 --- a/src/sigmamn_int.hpp +++ b/src/sigmamn_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,15 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file sigmamn_int.hpp - @brief Sigma and Foveon MakerNote implemented according to the specification - - SIGMA and FOVEON EXIF MakerNote Documentation by Foveon. - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 02-Apr-04, ahu: created - */ #ifndef SIGMAMN_INT_HPP_ #define SIGMAMN_INT_HPP_ diff --git a/src/sonymn_int.cpp b/src/sonymn_int.cpp index ca082693..3946f31e 100644 --- a/src/sonymn_int.cpp +++ b/src/sonymn_int.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,11 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: sonymn.cpp - Author(s): Andreas Huggel (ahu) - History: 18-Apr-05, ahu: created - */ // ***************************************************************************** // included header files #include "types.hpp" diff --git a/src/sonymn_int.hpp b/src/sonymn_int.hpp index 5eb7103d..10cd1306 100644 --- a/src/sonymn_int.hpp +++ b/src/sonymn_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,18 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file sonymn_int.hpp - @brief Sony MakerNote implemented using the following references:
- Sony Makernote list by Phil Harvey
-Email communication with caulier dot gilles at gmail dot com
- - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @author Gilles Caulier (cgilles) - caulier dot gilles at gmail dot com - @date 18-Apr-05, ahu: created - */ #ifndef SONYMN_INT_HPP_ #define SONYMN_INT_HPP_ diff --git a/src/ssh.cpp b/src/ssh.cpp index 275cfd95..e1b2af2a 100644 --- a/src/ssh.cpp +++ b/src/ssh.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,12 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: ssh.cpp - Author(s): Andreas Huggel (ahu) - History: 06-Jan-09, ahu: created - - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/tags.cpp b/src/tags.cpp index 25ec1e44..df0d5f6b 100644 --- a/src/tags.cpp +++ b/src/tags.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: tags.cpp - Author(s): Andreas Huggel (ahu) - Gilles Caulier (gc) - History: 15-Jan-04, ahu: created - 21-Jan-05, ahu: added MakerNote TagInfo registry and related code - */ // ***************************************************************************** // included header files #include "types.hpp" diff --git a/src/tags_int.cpp b/src/tags_int.cpp index 7a31678b..4c8cc7f5 100644 --- a/src/tags_int.cpp +++ b/src/tags_int.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or diff --git a/src/tags_int.hpp b/src/tags_int.hpp index 30e6a978..484a8be8 100644 --- a/src/tags_int.hpp +++ b/src/tags_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,14 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file tags_int.hpp - @brief Internal Exif tag and type information - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 15-Jan-04, ahu: created
- 11-Feb-04, ahu: isolated as a component - */ #ifndef TAGS_INT_HPP_ #define TAGS_INT_HPP_ diff --git a/src/tgaimage.cpp b/src/tgaimage.cpp index 5e61a363..3c012a41 100644 --- a/src/tgaimage.cpp +++ b/src/tgaimage.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,11 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: tgaimage.cpp - Author(s): Marco Piovanelli, Ovolab (marco) - History: 05-Mar-2007, marco: created - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/tiffcomposite_int.cpp b/src/tiffcomposite_int.cpp index a93b4592..420fa1bb 100644 --- a/src/tiffcomposite_int.cpp +++ b/src/tiffcomposite_int.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,11 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: tiffcomposite.cpp - Author(s): Andreas Huggel (ahu) - History: 11-Apr-06, ahu: created - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/tiffcomposite_int.hpp b/src/tiffcomposite_int.hpp index f51bbbf3..f19026ee 100644 --- a/src/tiffcomposite_int.hpp +++ b/src/tiffcomposite_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file tiffcomposite_int.hpp - @brief Internal classes used in a TIFF composite structure - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 11-Apr-06, ahu: created - */ #ifndef TIFFCOMPOSITE_INT_HPP_ #define TIFFCOMPOSITE_INT_HPP_ diff --git a/src/tifffwd_int.hpp b/src/tifffwd_int.hpp index 616c5a5f..46a390a8 100644 --- a/src/tifffwd_int.hpp +++ b/src/tifffwd_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file tifffwd_int.hpp - @brief Internal TIFF parser related typedefs and forward definitions. - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 24-Jun-06, ahu: created - */ #ifndef TIFFFWD_INT_HPP_ #define TIFFFWD_INT_HPP_ diff --git a/src/tiffimage.cpp b/src/tiffimage.cpp index 54cd9b57..9a56fc4f 100644 --- a/src/tiffimage.cpp +++ b/src/tiffimage.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,9 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: tiffimage.cpp - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/tiffimage_int.cpp b/src/tiffimage_int.cpp index c18cc920..e6f70208 100644 --- a/src/tiffimage_int.cpp +++ b/src/tiffimage_int.cpp @@ -1,5 +1,24 @@ -#include "tiffimage_int.hpp" +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ +#include "tiffimage_int.hpp" #include "error.hpp" #include "makernote_int.hpp" #include "sonymn_int.hpp" diff --git a/src/tiffimage_int.hpp b/src/tiffimage_int.hpp index c3fa5eee..d564f3a0 100644 --- a/src/tiffimage_int.hpp +++ b/src/tiffimage_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file tiffimage_int.hpp - @brief Internal class TiffParserWorker to parse TIFF data. - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 23-Apr-08, ahu: created - */ #ifndef TIFFIMAGE_INT_HPP_ #define TIFFIMAGE_INT_HPP_ diff --git a/src/tiffvisitor_int.cpp b/src/tiffvisitor_int.cpp index 7c7550d9..544851d1 100644 --- a/src/tiffvisitor_int.cpp +++ b/src/tiffvisitor_int.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,11 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: tiffvisitor.cpp - Author(s): Andreas Huggel (ahu) - History: 11-Apr-06, ahu: created - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/tiffvisitor_int.hpp b/src/tiffvisitor_int.hpp index 1a82e8f6..c125a422 100644 --- a/src/tiffvisitor_int.hpp +++ b/src/tiffvisitor_int.hpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,14 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file tiffvisitor_int.hpp - @brief Internal operations on a TIFF composite tree, implemented as visitor - classes. - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 11-Apr-06, ahu: created - */ #ifndef TIFFVISITOR_INT_HPP_ #define TIFFVISITOR_INT_HPP_ diff --git a/src/types.cpp b/src/types.cpp index 1a70c66a..f9bc8080 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,12 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: types.cpp - Author(s): Andreas Huggel (ahu) - History: 26-Jan-04, ahu: created - 11-Feb-04, ahu: isolated as a component - */ // ***************************************************************************** // included header files #include "types.hpp" diff --git a/src/utils.cpp b/src/utils.cpp index 66e98988..f5b72473 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,11 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: utils.cpp - Author(s): Andreas Huggel (ahu) - History: 08-Dec-03, ahu: created - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/src/utils.hpp b/src/utils.hpp index 26d56f83..3a23099a 100644 --- a/src/utils.hpp +++ b/src/utils.hpp @@ -1,6 +1,6 @@ -// ********************************************************* -*- C++ -*- +// ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file utils.hpp - @brief A collection of utility functions - @author Andreas Huggel (ahu) - ahuggel@gmx.net - @date 12-Dec-03, ahu: created - */ #ifndef UTILS_HPP_ #define UTILS_HPP_ diff --git a/src/utilsvideo.cpp b/src/utilsvideo.cpp index 2ebf70a2..9e86a2ed 100644 --- a/src/utilsvideo.cpp +++ b/src/utilsvideo.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/*! - @file utilsvideo.hpp - @brief An Image subclass to support RIFF video files - Mahesh Hegde 2014 - maheshmhegade@gmail.com - @date 16-Aug-14, AB: created - */ // ***************************************************************************** #include "config.h" diff --git a/src/value.cpp b/src/value.cpp index e02e465e..7588869d 100644 --- a/src/value.cpp +++ b/src/value.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,13 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: value.cpp - Author(s): Andreas Huggel (ahu) - History: 26-Jan-04, ahu: created - 11-Feb-04, ahu: isolated as a component - 31-Jul-04, brad: added Time, Date and String values - */ // ***************************************************************************** // included header files #include "value.hpp" diff --git a/src/version.cpp b/src/version.cpp index a3b53e08..415143e4 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -521,7 +521,6 @@ void Exiv2::dumpLibraryInfo(std::ostream& os,const exv_grep_keys_t& keys) output(os,keys,"library",*lib); } - output(os,keys,"have_strerror_r" ,have_strerror_r ); output(os,keys,"have_inttypes" ,have_inttypes ); output(os,keys,"have_libintl" ,have_libintl ); output(os,keys,"have_lensdata" ,have_lensdata ); diff --git a/src/webpimage.cpp b/src/webpimage.cpp index 442cb36c..13c28a37 100644 --- a/src/webpimage.cpp +++ b/src/webpimage.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,9 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: webpimage.cpp - */ /* Google's WEBP container spec can be found at the link below: https://developers.google.com/speed/webp/docs/riff_container diff --git a/src/xmp.cpp b/src/xmp.cpp index d426c1ef..90c28f58 100644 --- a/src/xmp.cpp +++ b/src/xmp.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,11 +17,6 @@ * along with this f; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: xmp.cpp - Author(s): Andreas Huggel (ahu) - History: 13-July-07, ahu: created - */ // ***************************************************************************** // included header files #include "xmp_exiv2.hpp" diff --git a/src/xmpsidecar.cpp b/src/xmpsidecar.cpp index 31467217..dd2cd130 100644 --- a/src/xmpsidecar.cpp +++ b/src/xmpsidecar.cpp @@ -1,6 +1,6 @@ // ***************************************************************** -*- C++ -*- /* - * Copyright (C) 2004-2018 Exiv2 authors + * Copyright (C) 2004-2021 Exiv2 authors * This program is part of the Exiv2 distribution. * * This program is free software; you can redistribute it and/or @@ -17,12 +17,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. */ -/* - File: xmpsidecar.cpp - Author(s): Andreas Huggel (ahu) - History: 07-Mar-08, ahu: created - Credits: See header file - */ // ***************************************************************************** // included header files #include "config.h" diff --git a/unitTests/mainTestRunner.cpp b/unitTests/mainTestRunner.cpp index 67c43bc2..0dd94973 100644 --- a/unitTests/mainTestRunner.cpp +++ b/unitTests/mainTestRunner.cpp @@ -1,5 +1,24 @@ -#include "gtestwrapper.h" +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ +#include "gtestwrapper.h" #include int main(int argc, char** argv) diff --git a/unitTests/test_DateValue.cpp b/unitTests/test_DateValue.cpp index b1ea2b36..a03a99e0 100644 --- a/unitTests/test_DateValue.cpp +++ b/unitTests/test_DateValue.cpp @@ -1,7 +1,25 @@ -#include "value.hpp" +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ +#include "value.hpp" #include "gtestwrapper.h" - using namespace Exiv2; TEST(ADateValue, isDefaultConstructed) diff --git a/unitTests/test_FileIo.cpp b/unitTests/test_FileIo.cpp index 363f66a1..51bb2344 100644 --- a/unitTests/test_FileIo.cpp +++ b/unitTests/test_FileIo.cpp @@ -1,7 +1,25 @@ -#include "basicio.hpp" +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ +#include "basicio.hpp" #include - using namespace Exiv2; namespace diff --git a/unitTests/test_LangAltValueRead.cpp b/unitTests/test_LangAltValueRead.cpp index 4ac8e2b7..ad44ee63 100644 --- a/unitTests/test_LangAltValueRead.cpp +++ b/unitTests/test_LangAltValueRead.cpp @@ -1,3 +1,23 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + #include #include "gtestwrapper.h" diff --git a/unitTests/test_TimeValue.cpp b/unitTests/test_TimeValue.cpp index 73bf5d7f..472bf3aa 100644 --- a/unitTests/test_TimeValue.cpp +++ b/unitTests/test_TimeValue.cpp @@ -1,7 +1,25 @@ -#include "value.hpp" +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ +#include "value.hpp" #include "gtestwrapper.h" - using namespace Exiv2; TEST(ATimeValue, isDefaultConstructed) diff --git a/unitTests/test_XmpKey.cpp b/unitTests/test_XmpKey.cpp index 5c3fc9ed..279e161a 100644 --- a/unitTests/test_XmpKey.cpp +++ b/unitTests/test_XmpKey.cpp @@ -1,8 +1,26 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + #include #include - #include "gtestwrapper.h" - using namespace Exiv2; namespace diff --git a/unitTests/test_basicio.cpp b/unitTests/test_basicio.cpp index 1ba644e4..45424a54 100644 --- a/unitTests/test_basicio.cpp +++ b/unitTests/test_basicio.cpp @@ -1,7 +1,25 @@ -#include +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ +#include #include "gtestwrapper.h" - using namespace Exiv2; TEST(MemIo, seek_out_of_bounds_00) diff --git a/unitTests/test_cr2header_int.cpp b/unitTests/test_cr2header_int.cpp index 4fd879c9..455a12f3 100644 --- a/unitTests/test_cr2header_int.cpp +++ b/unitTests/test_cr2header_int.cpp @@ -1,7 +1,25 @@ -#include "cr2header_int.hpp" +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ +#include "cr2header_int.hpp" #include "gtestwrapper.h" - using namespace Exiv2; static const byte cr2LittleEndian[] = {0x49, 0x49, 0x2a, 0x00, 0x10, 0x00, 0x00, 0x00, diff --git a/unitTests/test_enforce.cpp b/unitTests/test_enforce.cpp index b6d86059..da084ab1 100644 --- a/unitTests/test_enforce.cpp +++ b/unitTests/test_enforce.cpp @@ -1,3 +1,23 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + #include #include diff --git a/unitTests/test_futils.cpp b/unitTests/test_futils.cpp index 46b21dd1..ee618c7b 100644 --- a/unitTests/test_futils.cpp +++ b/unitTests/test_futils.cpp @@ -1,3 +1,23 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + #include // File under test #include diff --git a/unitTests/test_helper_functions.cpp b/unitTests/test_helper_functions.cpp index 51f9fbb5..1899f2ed 100644 --- a/unitTests/test_helper_functions.cpp +++ b/unitTests/test_helper_functions.cpp @@ -1,5 +1,24 @@ -#include "helper_functions.hpp" +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ +#include "helper_functions.hpp" #include "gtestwrapper.h" TEST(string_from_unterminated, terminatedArray) diff --git a/unitTests/test_image_int.cpp b/unitTests/test_image_int.cpp index 3acb6b64..268d7b48 100644 --- a/unitTests/test_image_int.cpp +++ b/unitTests/test_image_int.cpp @@ -1,3 +1,23 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + #include #include "gtestwrapper.h" #include diff --git a/unitTests/test_safe_op.cpp b/unitTests/test_safe_op.cpp index d578e362..f59aa9b7 100644 --- a/unitTests/test_safe_op.cpp +++ b/unitTests/test_safe_op.cpp @@ -1,7 +1,25 @@ -#include +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ +#include #include "gtestwrapper.h" - namespace si = Safe::Internal; /*! diff --git a/unitTests/test_slice.cpp b/unitTests/test_slice.cpp index bbc6785e..75bdc938 100644 --- a/unitTests/test_slice.cpp +++ b/unitTests/test_slice.cpp @@ -1,11 +1,28 @@ +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ + #include #include - #include "slice.hpp" #include "types.hpp" - #include "gtestwrapper.h" - using namespace Exiv2; template diff --git a/unitTests/test_tiffheader.cpp b/unitTests/test_tiffheader.cpp index f5f8815a..09d4745a 100644 --- a/unitTests/test_tiffheader.cpp +++ b/unitTests/test_tiffheader.cpp @@ -1,5 +1,24 @@ -#include +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ +#include #include "gtestwrapper.h" #include diff --git a/unitTests/test_types.cpp b/unitTests/test_types.cpp index a6599870..7d3ccfc1 100644 --- a/unitTests/test_types.cpp +++ b/unitTests/test_types.cpp @@ -1,10 +1,27 @@ -#include +// ***************************************************************** -*- C++ -*- +/* + * Copyright (C) 2004-2021 Exiv2 authors + * This program is part of the Exiv2 distribution. + * + * 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 2 + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA. + */ +#include #include #include - #include "gtestwrapper.h" - using namespace Exiv2; // More info about tm : http://www.cplusplus.com/reference/ctime/tm/