[Kde-pim] Review Request 126884: Check for and replace strcasestr if neccessary

Andre Heinecke aheinecke at intevation.de
Wed Feb 10 11:47:01 GMT 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126884/#review92208
-----------------------------------------------------------



As pining helped in Review #126885 let's try this here, too. :-)
Here I'm not so sure if we should not replace the strcasestr with something Qt'ish but I didn't want to lower performance and introduce weird bugs e.g. by encoding handling.

This is the last change I needed to compile KMime for Windows with mingw from debian jessie.

- Andre Heinecke


On Jan. 25, 2016, 5:18 p.m., Andre Heinecke wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126884/
> -----------------------------------------------------------
> 
> (Updated Jan. 25, 2016, 5:18 p.m.)
> 
> 
> Review request for KDEPIM-Libraries and Volker Krause.
> 
> 
> Repository: kmime
> 
> 
> Description
> -------
> 
> Neccessary at least for Windows (with mingw-3).
> This renames the TimezoneChecks.cmake file to a more generic name so that it can be better extended if more checks are needed.
> 
> The replacement function was taken from libreplace as part of QtWebEngine. (I just grepped for strcasecmp in qt)
> There is also a replacement in Kdewin but this copies the strings which I found wasteful.
> The probably highly optimized version from Kde4 kdelibs/kdecore/fakes.c I've found to complicated ;-)
> 
> 
> Diffs
> -----
> 
>   cmake/CheckTimezone.cmake adc1937 
>   cmake/ConfigureChecks.cmake PRE-CREATION 
>   src/CMakeLists.txt ef86420 
>   src/config-kmime.h.cmake 7b7ef6d 
>   src/kmime_util.cpp ed002b9 
> 
> Diff: https://git.reviewboard.kde.org/r/126884/diff/
> 
> 
> Testing
> -------
> 
> Compiled under Debian GNU/Linux and for Windows with mingw.
> 
> 
> Thanks,
> 
> Andre Heinecke
> 
>

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list