Commit Graph

14 Commits

Author SHA1 Message Date
Dinar Ahmatnurov
b5a6df4966 fixed issue with malformed UTF-8 string;
ocl: Change static variable order in cl_context.cpp to avoid crashes during destruction

ContextImpl::currentContext contains a reference to one of the
DeviceInfoImpl objects from:

static std::vector<DeviceInfoImpl> global_devices;

ContextImpl::currentContext is destroyed in the destructor
for the statically defined object __module, and relies on its
DeviceInfoImpl reference to query some hardware features while
being destroyed.

This means that we need to ensure that the global_devices vector is
destroyed affter __module, otherwise ContextImpl::currentContext's
DeviceInfoImpl reference will no longer be valid when __module is
destroyed.

Since these variables are all confined to a single compilation unit,
they will be destruct from bottom to top, so we need to make sure
that __module is the bottom definition so it can be destroyed first.

iOS: fix crash from overrelease in UIImageToMat

viz: fixed memory leak, issue 3961

fix installation layout for debian packages:

Install symlinks to shared libraries as a part of development package,
not runtime package.

It is default behavior for debian packages.

Fix test name.

TIFF loader: Allocate large enough buffer when (bpp * ncn) > 8.

TIFF loader: Pass buffer size to read functions.

replace not ascii and not cyrillic symbols with '?';

add test for putText;

fix warning;

minor fixes;
2014-10-27 12:47:53 +03:00
Maksim Shabunin
ba7c92b0e8 Fixed highgui drawing test
- changed image comparison technique
- removed old assert statements
2014-10-23 13:28:33 +04:00
Vadim Pisarevsky
06a13d9ba0 replaced jpegs with png's. Accuracy tests pass; performance tests were not tried yet 2012-10-02 23:07:46 +04:00
Andrey Kamaev
f2d3b9b4a1 Warning fixes continued 2012-06-09 15:00:04 +00:00
Vadim Pisarevsky
d5a0088bbe merged 2.4 into trunk 2012-04-30 14:33:52 +00:00
Vadim Pisarevsky
0404b2989e fixed line clipping (ticket #1284) 2012-03-29 13:06:38 +00:00
Alexander Reshetnikov
5d4a8d0889 Updated license text in highgui files 2012-03-20 16:39:02 +00:00
Andrey Kamaev
4168a698f6 Fixed highgui tests for Android 2011-12-20 07:45:49 +00:00
Andrey Morozov
19900d9894 converted all highgui tests to the format of google test system 2011-06-02 15:23:37 +00:00
Vadim Pisarevsky
ddd8f897fe fixed drawing test 2011-06-02 12:45:00 +00:00
Andrey Morozov
da9e3ed6fb commented several tests because it's very slow 2011-06-02 11:43:13 +00:00
Andrey Morozov
2df096c1e2 converted drawing tests to the format of google test system 2011-06-02 10:05:24 +00:00
Vadim Pisarevsky
bf05872929 added opencv_test_highgui 2011-06-01 14:23:55 +00:00
Vadim Pisarevsky
061b49e0b2 reworked nearly all of the OpenCV tests (except for opencv_gpu tests) - they now use the Google Test engine. 2011-02-09 20:55:11 +00:00