Mike Gelfand
10159208e1
Disable format warnings when building with MinGW
2016-01-09 18:24:43 +00:00
Mike Gelfand
7ea2b71ec8
Fix MinGW build (still produces lots of useless warnings though)
2015-12-31 12:41:17 +00:00
Mike Gelfand
d4213f09d5
On second thought, bring back stdbool.h check back
...
Might be useful for uClibc (which still doesn't provide it) and others.
2015-12-29 19:44:50 +00:00
Mike Gelfand
eb8fc35ac6
Remove useless checks and definitions (C99)
...
Now that MSVC support for C99 is quite good, remove previously needed but
now unused checks and definitions, like PRI* format macros (including
PRIdMAX and TR_PRIuSIZE, replaced with %jd and %zu) and inline macro.
Also, remove ssize_t typedef and replace few occurences with ev_ssize_t.
Also, remove check for stdbool.h availability (guaranteed by C99) and
include it unconditionally (except when in C++ mode).
2015-12-29 19:37:31 +00:00
Mike Gelfand
34ebe520a1
Move DBus/COM checks up to where Qt is being searched for
2015-12-17 18:10:43 +00:00
Mike Gelfand
e92449d91f
Add ActiveQt-based COM interop helper
2015-12-16 20:01:03 +00:00
Mike Gelfand
7c951671bd
Bump CMake to 2.8.12, rework Qt use a little
2015-12-16 18:46:06 +00:00
Mike Gelfand
3f86b77068
Add the rest of current Windows-related third-party patches
2015-11-06 20:47:52 +00:00
Mike Gelfand
7502dcc439
Don't install Makefile.in files for web UI when using CMake
2015-11-05 22:48:27 +00:00
Mike Gelfand
69687544d7
#6005 : Bump minimum OpenSSL version to 0.9.7, fix build for versions less than 0.9.8b
2015-10-13 21:24:31 +00:00
Mike Gelfand
0f9bdc6ac2
Use CMake-provided C/C++ standard selection capabilities; fix build (qtr.pro)
2015-08-01 16:05:02 +00:00
Mike Gelfand
088c5c6ab9
Bump DHT version used in CMake scripts (includes latest Win32 fixes)
2015-06-08 19:54:51 +00:00
Mike Gelfand
5d48c2d3e9
#5851 : Don't use _configthreadlocale if not provided by CRT (even if declaration is present)
2015-06-01 18:52:14 +00:00
Mike Gelfand
ae5755dc1e
#5851 : Use per-thread locale setup if possible
...
This prevents crashes on concurrent tr_variantFromBuf, tr_variantToBuf
and tr_variantGetReal use.
2015-06-01 05:25:14 +00:00
Mike Gelfand
a1393e7b35
#5934 : Generate REVISION file and use it in case of missing reliable source
2015-04-24 19:14:56 +00:00
Mike Gelfand
b5eee9b0fc
Bump natpmp revision to include latest Win32 fixes
2015-04-23 22:03:29 +00:00
Mike Gelfand
123a8decc2
Define WIN32_LEAN_AND_MEAN and NOMINMAX for our own code only
2015-04-23 21:32:00 +00:00
Mike Gelfand
68339d6933
Bump miniupnpc revision to fix `MINIUPNP_STATICLIB` macro definition
2015-04-21 13:56:17 +00:00
Mike Gelfand
829cbffaf7
Add version info to executables (on Windows). Group projects into folders (CMake).
2015-04-14 22:46:40 +00:00
Mike Gelfand
5578d616a8
Add patch from #5002 (r13646) to fix crash in libutp for CMake-based builds
2015-03-29 20:48:06 +00:00
Mike Gelfand
4072ff2a21
Fix libb64 unsigned char issues while waiting for upstream to accept the patch
2015-03-14 06:59:44 +00:00
Mike Gelfand
a2037bdbbd
Define one of LFS macros instead of using xxx64 functions directly.
...
There're too many functions and types to consider, and benefits of not
using LFS macros aren't that big (I was thinking of using fts(3) but
that may not happen soon or at all).
2015-03-10 22:31:09 +00:00
Mike Gelfand
8c511dc590
Use lseek64 instead of lseek, if available (large files on 32-bit systems)
2015-03-08 19:14:24 +00:00
Mike Gelfand
bdcd69537e
Bump libevent version used by CMake to 2.0.22-stable
2015-01-13 21:27:31 +00:00
Mike Gelfand
30690fcf99
Lower minimum PolarSSL version required down to 1.2
2015-01-07 13:41:22 +00:00
Mike Gelfand
d877fb9cde
Add PolarSSL support
2015-01-07 13:19:00 +00:00
Mike Gelfand
3dcc53f4f5
#4400 : Do not require OpenSSL anymore
2015-01-07 02:16:24 +00:00
Mike Gelfand
c7d2a7f959
#4400 : Add CyaSSL support
2015-01-07 02:04:08 +00:00
Mike Gelfand
b928ae1ba8
Use libb64 instead of OpenSSL to encode/decode BASE64
...
Some crypto libraries (like CyaSSL, MatrixSSL and CommonCrypto) either
don't have or expose this functionality at all, expose only part of it,
or (like OpenSSL) have heavyweight API for it. Also, for the task as
easy as BASE64 encoding and decoding it's much better to use small and
simple specialized library.
2015-01-01 21:16:36 +00:00
Mike Gelfand
eee49af2b4
Improve cross-compilation support when using CMake
2014-12-20 22:28:43 +00:00
Mike Gelfand
74a5bdb9e6
Don't mess with MinGW printf support for now (tricky)
2014-12-13 16:00:14 +00:00
Mike Gelfand
7de6a52e14
Fix utils test; move -Winline to C-only flags (it only harms C++)
2014-12-11 05:25:26 +00:00
Mike Gelfand
fed15dc29d
Fix a couple of ordinary and pedantic warnings
...
Add previously missing -Wall to warning flags in CMake. Remove -Wformat
and -Wvariadic-macros (enabled by default; latter is not meaningful in
C99 mode we use), -Wdeclaration-after-statement (again, not needed as
we use C99). Move -Wmissing-declarations to C-only flags (GCC man says
so).
Add copyrights year to crypto-utils-fallback.c.
2014-12-11 05:11:02 +00:00
Mike Gelfand
5a05ceee5e
Include CTest to enable memcheck
2014-12-07 10:00:34 +00:00
Mike Gelfand
e7382071d0
Remove duplicate -Wcast-align flag, add canonicalize_file_name function check
2014-12-06 16:28:53 +00:00
Mike Gelfand
83c4edb008
#5828 : Initial CMake build system support
2014-12-01 19:55:22 +00:00