Dan Čermák
b1a31352b6
Add default constructor for XmpData
2018-04-25 00:13:51 +02:00
Dan Čermák
2bf89f4854
Store pointers to Impl classes in auto_ptr
...
Pimpl class Impl is stored in raw pointers which are allocated on the heap in
the constructor. However, the constructor can throw an exception resulting in a
memory leak as the destructor is **not** invoked.
=> A smart pointer is however properly deallocated.
2018-04-25 00:13:26 +02:00
Luis Díaz Más
bf7047a71b
clang-format XmpKey code
2018-04-07 20:04:22 +02:00
Luis Díaz Más
336b759cc0
Remove 'using namespace' from public header
2018-04-06 09:23:58 +02:00
Dan Čermák
22a7a8c2ed
Fix outdated documentation of PngImage::doWriteMetadata()
...
The function does not return anything, it only throws exceptions.
2018-02-22 11:57:51 +01:00
Dan Čermák
efe2ccdcb6
Replaced all hardcoded error codes with ker... constants
2018-02-18 09:28:57 +01:00
Dan Čermák
d897997b29
Force error code usage to construct a Exiv2::BasicError
...
changed parameter code_'s type from int to ErrorCode => requires the
usage of the enum constants
2018-02-18 09:28:40 +01:00
Dan Čermák
b80fa1b4ed
Added error codes from src/error.cpp into an enumeration
2018-02-18 09:26:32 +01:00
Luis Díaz Más
f36bea3801
exiv2::getEnv throws std::out_of_range on unexpected EnVar
...
This change define explicitly the behavior that exiv2::getEnv should have
on response to unexpected inputs.
There are some other minor changes:
- Use _putenv_s for the unit tests on Windows
- Add todo comment
- Remove deprecated note about freeing memory
2017-12-06 17:29:05 +01:00
Luis Díaz Más
8dc3c1f0a0
Replace malloc/free by new/delete. Use const char* for input arg
2017-12-06 17:29:05 +01:00
Luis Díaz Más
8b049922d7
Change exiv2::urlencode signature to return std::string
...
The goal of this change is to remove the responsibility from the client code to
free the memory of the returned string.
2017-12-06 17:29:05 +01:00
tbeu
5df8b01b77
Remove obsolete svn revision
2017-11-19 11:17:11 +01:00
Luis Díaz Más
4beb08e219
Merge pull request #105 from Kicer86/bigtiff
...
Work in progress - improvements for bigtiff
2017-10-07 09:38:49 +02:00
Michał Walenciak
2e535d8a27
trying to fix windows build
2017-10-07 08:58:58 +02:00
Luis Díaz Más
5b8894908b
Remove all references to EXV_HAVE_REGEX and related code
2017-10-04 19:27:01 +02:00
Luis Díaz Más
8ad49f6d73
Robin changes in sync with master changes
2017-09-28 19:42:57 +02:00
clanmills
6e3855aed7
Fix https://github.com/Exiv2/exiv2/issues/55
2017-09-27 09:20:13 +01:00
clanmills
e3298ab5e1
Integrating #55 and #78
2017-09-26 22:32:27 +01:00
Dan Čermák
d4e7510f7c
Added missing include for INT_MIN & INT_MAX constants
2017-09-26 22:57:59 +02:00
clanmills
8a8f60a4e7
Fix https://github.com/Exiv2/exiv2/issues/55 Thank You, Raphaël Hertzog.
2017-09-26 21:37:53 +01:00
Michał Walenciak
b6e79357de
Adding 8-byte swap functions + consts
2017-09-21 18:15:12 +02:00
Michał Walenciak
c008ad2403
making tag related functions private
2017-09-21 18:15:12 +02:00
Michał Walenciak
ca1929d88a
adding 64bit types
2017-09-21 18:15:12 +02:00
Michał Walenciak
ab27bfab3c
introducing getULongLong()
2017-09-21 18:15:12 +02:00
Michał Walenciak
bc6eed0b03
registering new file type
2017-09-21 18:15:12 +02:00
clanmills
d366943297
Refactoring EXV_USE_CURL and EXV_USE_SSH
2017-09-13 16:54:10 +01:00
Robin Mills
d356aaae95
cmakeBuild.cmd --webready working with VS 2005
2017-09-13 11:54:02 +01:00
clanmills
2828b11cf7
Build changes to support EXV_HAVE_REGEX and EXV_HAVE_REGEX_H
2017-09-11 16:09:24 +01:00
Robin Mills
31fc5d2e30
Merge pull request #62 from Kicer86/crash_fix
...
Fix for crash in multithread environment
2017-09-02 08:31:04 +01:00
Michał Walenciak
20582a93c6
Marking members in a proper way.
2017-09-02 08:02:00 +02:00
Michał Walenciak
4e25435afb
Changing return type of Image::tagName to std::string
2017-09-02 08:00:07 +02:00
Michał Walenciak
0d9552aede
adding comment
2017-09-01 18:35:21 +02:00
Michał Walenciak
ddb87fe0cf
Moving static tagName() into Image class to prevent multithread crashes.
...
static variables inside of tagName() were not protected against multithread access.
It could cause a crash in case of simultaneous initialization of map of tags.
2017-09-01 18:29:51 +02:00
Robin Mills
aac74efb8e
http://dev.exiv2.org/boards/3/topics/2872 I've removed the troublesome Visual Studio SRWLock code and use CRITICAL_SECTION for all msvc builds.
2017-08-31 13:11:15 +01:00
Robin Mills
afba52e042
Remove include tags_int.hpp from include/exiv2/*video.hpp files
2017-08-18 13:52:05 +01:00
Luis Diaz Mas
6be5278dd2
Fix inclusion of file
2017-08-18 13:55:45 +02:00
Luis Díaz Más
1c03767391
Move inclusion of private header from .hpp to .cpp (not needed in the .hpp)
2017-08-18 13:55:45 +02:00
clanmills
935421c855
Refactoring autotools to support ADOBE_XMPSDK (Work in Progress)
2017-08-15 20:00:09 +01:00
clanmills
62d24d3c77
Correction to previous commit.
2017-08-12 14:53:10 +01:00
clanmills
2e816165ea
Changes to autotools to support C++11 (work in progress)
2017-08-12 14:48:38 +01:00
clanmills
df53123cfb
Restoring exv_msvc.h for use by msvc/exiv2/libexiv2.vcproj
2017-08-11 15:45:50 +01:00
Luis Díaz Más
ea0c4899ff
Remove exv_msvc.h. It has the same content than exv_conf.h and we were getting lot of warnings when compiling with MSVC
2017-08-09 23:05:06 +02:00
Luis Diaz Mas
22efdffd1d
Use #ifdef instead of #if for EXV_HAVE_REGEX
2017-08-08 22:15:17 +02:00
Luis Diaz Mas
8c323cad04
Remove EXV_HAVE_STDINT_H definition that was causing warnings
2017-08-08 21:58:45 +02:00
Luis Diaz Mas
db5ce5ed82
Remove few unused variables declared in CMakeChecks.txt
2017-08-08 21:58:45 +02:00
Luis Diaz Mas
367d3b8a1e
Remove unused HAVE_WCHAR_H variable
2017-08-08 21:58:45 +02:00
Luis Diaz Mas
2887a0dbad
Remove unused HAVE_VPRINTF variable
2017-08-08 21:58:45 +02:00
Luis Diaz Mas
d85a7c6751
Remove unused HAVE_SYS_TIME_H and TM_IN_SYS_TIME variables
2017-08-08 21:58:45 +02:00
Luis Diaz Mas
1a34a55383
Handle HAVE_STRINGS_H variable in the new cmake file
2017-08-08 21:58:45 +02:00
Luis Diaz Mas
bfb849859a
Remove unused variable HAVE__BOOL
2017-08-08 21:58:45 +02:00