Commit Graph

56 Commits

Author SHA1 Message Date
Luis Díaz Más
d64c2aad67 Replace dirname implementation with std::filesystem 2022-02-18 13:51:38 +01:00
Luis Díaz Más
f1c8d5bbb4 Remove unused headers 2022-02-18 13:51:38 +01:00
Luis Díaz Más
7c6a7aefc2 Utils::strtol only used in the app 2022-02-18 13:51:38 +01:00
Luis Díaz Más
8c6e22e6aa replace is only used in actions.cpp 2022-02-18 13:51:38 +01:00
Luis Díaz Más
49fbfb44a3 Remove startsWith from utils 2022-02-18 13:51:37 +01:00
Luis Díaz Más
d1524e3d96 simpler implementation of startsWith 2022-02-18 13:51:37 +01:00
Kevin Backhouse
3575a8258e
Merge pull request #1786 from Exiv2/mergify/bp/main/pr-1769
Safer std::vector indexing (backport #1769)
2021-07-25 19:00:21 +01:00
Kevin Backhouse
dc2c77ce81
Safer std::vector indexing. 2021-07-18 14:40:45 +01:00
postscript-dev
510a38e27d
Move all startsWith() funcs to Util namespace
The function checks if a string is in the beginning of another. This
is intended for use until the move to C++20 when
`std::basic_string<>::starts_with()` becomes available. Suggested in
https://github.com/Exiv2/exiv2/pull/1777 .

Separate identical definitions have been moved into a single copy.
2021-07-18 12:00:05 +01:00
Rosen Penev
2c57f214c5 clang-tidy: use nullptr
Found with modernize-use-nullptr

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-26 08:31:45 +02:00
Rosen Penev
8337462032 clang-tidy: use empty() instead of comparing size
Found with readability-container-size-empty

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-11 22:02:47 +02:00
Robin Mills
d632988bbd Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
Luis Díaz Más
603692a1d8 Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
Robin Mills
74bc0e0535 Changes for cross-platform getopt 2018-09-01 20:19:45 +02:00
Robin Mills
185d0e9482 #199 Fix for getopt(). Use src/getopt_win32 code instead of libc/getopt() 2018-03-20 18:49:16 +01:00
tbeu
5b5987a596 Remove obsolete EXIV2_RCSID 2017-11-19 11:17:12 +01:00
tbeu
5df8b01b77 Remove obsolete svn revision 2017-11-19 11:17:11 +01:00
Robin Mills
6d5c2c3256 Getting ready to release v0.26 2017-03-08 20:42:28 +00:00
Robin Mills
0abf56f71b #1236 CMake build on MinGW. 2016-09-30 16:45:54 +00:00
Andreas Huggel
fd80993ab0 Updated copyright notice. 2015-05-02 11:55:40 +00:00
Robin Mills
24cb148e11 #1004. Reviewed all include directives in src/*.cpp and samples/*.cpp
fixed svn_version.sh again!
change to test/build-test.py for MacOS-X/Xcode 6.
2015-01-06 12:40:31 +00:00
Robin Mills
d393b0fa7e trunk: exiv2 v0.25 2014-12-25 13:55:57 +00:00
Andreas Huggel
f09fceda6b Updated copyright year in a few files, version in runner.txt. 2013-12-01 12:13:42 +00:00
Robin Mills
a297d2b69e Rollback 3089 - somehow it's broken the build! 2013-07-24 05:05:52 +00:00
Robin Mills
da1ed8c536 Bumping the copyright notice in src &samples from 2012 to 2013 2013-07-24 03:12:38 +00:00
Andreas Huggel
0d397b95c7 Updated copyright message for 2012. 2012-03-22 15:19:35 +00:00
Andreas Huggel
7770151915 Updated Copyright message for 2011. 2011-02-13 14:08:44 +00:00
Andreas Huggel
06ce0d18b6 - Introduced exiv2.hpp as a wrapper to include all Exiv2 objects. (Renamed existing exiv2.hpp to exiv2app.hpp)
- Changed Sony/Minolta pretty-print function to print EV value
- Renamed rcsid.hpp to rcsid_int.hpp, do not publish it anymore
2010-06-27 10:04:39 +00:00
Andreas Huggel
6d496a4888 Updated Copyright notice for 2010. 2010-04-03 07:53:30 +00:00
Andreas Huggel
370af5c8a3 Merged all changes from the unstable branch into the trunk. 2009-11-27 05:59:23 +00:00
Andreas Huggel
8a6d9dbc42 Updated Copyright notice for 2009. 2009-02-16 14:30:51 +00:00
Andreas Huggel
3ac665a305 Added 2008 to Copyright notice. 2008-01-09 16:44:09 +00:00
Andreas Huggel
91c4dafbf9 Fixed compiler issues (gcc-4.3, msvc 7.1) 2007-09-24 06:33:17 +00:00
Andreas Huggel
da6266da3b Copyright updates for 2007 2007-02-02 10:09:31 +00:00
Andreas Huggel
db5426a29e Added RenameAddon1.diff patch from Tobias Jahn, fixes bug #459. 2006-11-16 14:42:38 +00:00
Andreas Huggel
9daaaa3f6d Fixed compiler warnings 2006-06-21 09:16:36 +00:00
Andreas Huggel
99b4e71459 Updated copyright and fsf address 2006-01-17 14:53:57 +00:00
Andreas Huggel
06e5c0719e Removed trailing whitespace from source files 2005-10-08 11:25:44 +00:00
Andreas Huggel
e65f3fef98 Fixed MSVC and MinGW warnings 2005-09-12 16:15:48 +00:00
Andreas Huggel
55aebc0686 Overhauled exception handling. The new class Error has a list of error messages, which is selected based on the error code provided in the constructor.
Image::read/writeMetadata and ImageFactory::open now throw Error in case of failure. Applications therefore now need an exception handler for the error handling of such function calls. This should result in shorter and simpler application code.
2005-04-17 11:51:32 +00:00
Andreas Huggel
6a0ecb420e Merged revisions 551:552 from branches/Exiv2-0_6_041212. Fixes bug #423 in trunk 2005-04-01 09:32:40 +00:00
Andreas Huggel
59e1a6f29f Added an EXV_ prefix to precompiler defines (still not to all yet - I don't like the idea of "exv_size_t" or "exv_const" - but hopefully to those more likely to create conflicts). Fixes bug #420 2005-03-19 06:50:19 +00:00
Andreas Huggel
8521dead83 Added 2005 to Copyright lines 2005-03-12 16:43:06 +00:00
Andreas Huggel
cac5030c7b Merged revisions 514:520 from branches/Exiv2-0_6_041212 2005-03-12 12:28:58 +00:00
brad
77d3d5621a added subversion style keywords 2004-11-09 19:10:37 +00:00
Andreas Huggel
4a23d9d652 Updated win32 configuration 2004-09-05 15:07:16 +00:00
Andreas Huggel
166e6f7928 Added full IPTC read and write support (Brad, bs_3.patch) 2004-08-12 03:57:27 +00:00
Andreas Huggel
9d72b7d1ec Revamped image and introduced byte* interface (Brad, bs_1.patch with minor modifications by ahu) 2004-07-26 08:11:38 +00:00
Andreas Huggel
eba6b82386 Added timegm() from the tz distribution and preparations for conditional compilation (requires configure script) 2004-07-07 15:41:54 +00:00
Andreas Huggel
834c533e20 Renamed MSVC specific getopt.h to getopt_win32.h 2004-06-30 05:38:54 +00:00