Commit Graph

109 Commits

Author SHA1 Message Date
Vadim Zeitlin
9ab1e1539d Check for _MSC_VER definedness in libtiff code.
This avoids warnings about _MSC_VER being undefined when it's compared with
1500 when building with gcc.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-06 00:42:06 +00:00
Vadim Zeitlin
d1c629ce8f Fix some harmless but annoying warnings about casts in libtiff code.
Avoid MSVC C4244 warnings due to implicit casts between 64 and 32 bit
integers.

This patch was also submitted to libtiff via

	http://bugzilla.maptools.org/show_bug.cgi?id=2427

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-01-20 02:08:46 +00:00
Vadim Zeitlin
8c2bd115c7 Fix libtiff compilation with VC6 after upgrade to 4.0.3.
VC6 headers don't define INVALID_SET_FILE_POINTER constant so do it ourselves
if necessary.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-22 02:34:26 +00:00
Stefan Csomor
c1c4c9b471 making Xcode builds work against against libtiff, copied over from a console build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-19 09:58:33 +00:00
Vadim Zeitlin
2346ca0853 Fix libtiff compilation with MinGW.
At least some versions of MinGW don't define 64 bit integer types resulting in
errors when they're used in libtiff code, so explicitly include basetyps.h to
make sure these types are defined.

Closes #14897.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-14 12:29:07 +00:00
Vadim Zeitlin
6a5c9ff8e8 Readded tiffconf.h removed by libtiff 4.0.3 merge.
This file is needed by Windows builds.

Should have been part of r73157, see #12301.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-10 14:30:37 +00:00
Vadim Zeitlin
80ed523f33 Merged libtiff 4.0.3 changes into the trunk.
This should help with making libtiff work better in 64 bit builds as libtiff 4
is supposed to support them much better.

Closes #12301.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-10 14:01:44 +00:00
Dimitri Schoolwerth
a9a4f22953 Set svn properties on various files throughout the repository (skipped docs/ ).
Added missing svn:eol-style (set to native) and svn:keywords (set to Id) properties to c/cpp/cxx/h/mm files.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-03-18 15:10:15 +00:00
Stefan Csomor
4ba6d656c3 __BIG_ENDIAN__ is either defined AND has a value of 1, or it is not defined at all, so #ifdef is sufficient
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-01-27 13:00:16 +00:00
Vadim Zeitlin
ee90c6b914 Update configure helper scripts to latest versions from GNU project.
The new version (the one we used was 6 years out of date) notably detects 64
bit MinGW platforms correctly which closes #12356.

Also update config.{guess,sub} scripts in 3rd party libraries directories to
bring them all in sync with the main one and ensure that MinGW 64 is supported
by them too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-26 13:31:15 +00:00
Kevin Ollivier
d5e7ffcf7a Make sure all Bakefile formats that use CRLF line feeds are set to use CRLF in SVN.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-08 04:07:02 +00:00
Stefan Csomor
eceb28f912 fixing 64bit OSX, closes #11118
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-18 15:19:32 +00:00
Vadim Zeitlin
31cb01131e don't use AC_CANONICAL_TARGET in libtiff configure: this is unnecessary as it's not a cross-compiler and also doesn't work when running it as sub-configure when caching is enabled (because the host and the build aliases are cached by the top level configure but the target one is not and autoconf-generated code doesn't deal with this situation correctly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 15:26:07 +00:00
Vadim Zeitlin
47493bc09f compilation fixes for Unicode build in !TIF_PLATFORM_CONSOLE case (fixes WinCE compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 23:05:45 +00:00
Vadim Zeitlin
ecb22f9e0a WinCE adjustments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 23:04:57 +00:00
Chris Elliott
75cdd73f80 Watcom needs lfind change too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 20:57:56 +00:00
Chris Elliott
8ec67c0bf1 fix compile bug with DMC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 13:06:07 +00:00
Robert Roebling
0eee633069 Added new line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 18:13:27 +00:00
Stefan Csomor
143973fc13 moving os x config defaults
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 13:07:48 +00:00
Stefan Csomor
51e7be5664 xcode adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 08:00:55 +00:00
Chris Elliott
5b0c31c300 Borland has only lfind
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-06 08:44:10 +00:00
Vadim Zeitlin
92ab7bed77 include tif_config.h using <> instead of ""
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 19:56:41 +00:00
Vadim Zeitlin
15811f2f67 copy tif_config.h.vc to tif_config.h, this file will be used for all builds not using configure (for configure-based builds the file with the same name in the build directory will be used)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 15:04:16 +00:00
Vadim Zeitlin
24a39c0dd5 use libtiff/libjpeg VC-specific include files for all Win32 compilers, including mingw32 (and even when using configure which is wrong but will be fixed later)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 14:13:15 +00:00
Vadim Zeitlin
0217cc6196 fix VC6 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-21 12:44:10 +00:00
Vadim Zeitlin
d24f0fab26 build fixes for MSVC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 00:16:14 +00:00
Vadim Zeitlin
3442c078ad build updates for libtiff 3.8.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-20 00:01:33 +00:00
Vadim Zeitlin
8414a40c52 import libtiff 3.8.2 into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:59:15 +00:00
Vadim Zeitlin
6854c3fccb remove the old hybrid libtiff sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 23:51:55 +00:00
Vadim Zeitlin
a989a329db changed ds[pw] files to use CRLF eol style and not native one (this helps if you have them on a partition exported via Samba from Unix to Windows)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 12:13:58 +00:00
Vadim Zeitlin
db23ced867 remove .cvsignore files, they're useless with svn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 22:41:53 +00:00
Michael Wetherell
90eaf43334 Check the size of the boolean type used by an external jpeg lib on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 21:59:47 +00:00
Michael Wetherell
a4cc2d0919 Add a hack to allow an external jpeg library to still be used on
cygwin/mingw/wine now that their windows headers define a type boolean
conflicting with the jpeg headers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-29 21:42:57 +00:00
Michael Wetherell
e26a41ba70 Rename boolean to wxjpeg_boolean to avoid conflicts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-28 20:44:32 +00:00
Włodzimierz Skiba
065bb76dba Removed unused Symantec (*.sc) build system. Symantec C++ is now replaced by DigitalMars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 12:49:12 +00:00
Włodzimierz Skiba
8d5ff32d33 Removed unused and outdated Watcom build files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 20:59:31 +00:00
Vadim Zeitlin
f3f4302326 undid last commit, the neceesary defines fo HP-UX are now provided by configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-07 21:45:59 +00:00
Vadim Zeitlin
587c26c5e3 compilation fix for HP-UX (at least version 11)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 16:48:49 +00:00
Vadim Zeitlin
5887690b5e fix for -Wundef warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-01 21:47:12 +00:00
Włodzimierz Skiba
1dba7b4c69 wxOS2 with Open Watcom: correct PCH usage, missing headers, warning fixes, source cleaning and other Watcom adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 17:30:41 +00:00
Julian Smart
d69225772a Olly Betts' typo patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:29:22 +00:00
Vadim Zeitlin
c970e6dcc5 removed obsolete workspaces
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-18 16:56:52 +00:00
Michael Wetherell
28ceed839c Compilation fixes for djgpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-22 13:18:47 +00:00
Stefan Csomor
e143eaadfb obsolete CW versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-19 12:37:35 +00:00
Stefan Csomor
41eba454ae CW fix, added tif_color
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-19 12:36:19 +00:00
Stefan Csomor
87142ecc10 CW fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-19 12:26:07 +00:00
Vadim Zeitlin
7618402ddb changed to DOS format; added tif_extension.c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 14:13:49 +00:00
David Elliott
ed1f71875b Metrowerks: The unix.h header is part of MSL_Extras. It's not needed for
Darwin and so with the change I don't need to include MSL_Extras.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 05:25:14 +00:00
Václav Slavík
2c15c98b33 security fix (patch 1089659)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-24 11:48:14 +00:00
Ryan Norton
beaae8c3d6 Warning fixes for msvc - return function address explicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 15:37:30 +00:00