Commit Graph

189 Commits

Author SHA1 Message Date
Vitaliy Lyudvichenko
253a0a55fe Add GoogleTest 1.7 framework for unit tests. [#CLICKHOUSE-2] 2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
19a2195710 Implemented re-readable buffers, add unit tests. [#CLICKHOUSE-2070] 2017-03-28 20:46:16 +03:00
proller
0b5731bc59 Try fix "Conditional jump or move depends on uninitialised value(s)" in cctz 2017-03-17 21:38:11 +04:00
Alexey Zatelepin
98a866ee5b split a single large SET_WATCHES message into multiple smaller ones [#CLICKHOUSE-2101]
See https://issues.apache.org/jira/browse/ZOOKEEPER-706 for details.
2017-03-15 23:44:24 +04:00
proller
e96092c66c Freebsd fixes (#555)
* freebsd fixes

* Update SocketImpl.cpp
2017-03-04 05:58:45 +04:00
proller
0e91c47066 Allow build with external double-conversion lz4 zstd re2 zookeeper (#531)
* Allow build with external double-conversion lz4 zstd re2 zookeeper

* fix

* fix

* freebsd fixes

* spaces

* fix

* fix

* fix

* wip

* move

* fix
2017-03-01 03:49:04 +04:00
proller
9bbe8fe5c4 Dynamic library mode (#471)
* Cmake: UNBUNDLED option

* Dynamic library mode
2017-02-08 22:53:00 +04:00
proller
045fd6f55d fix build without readline 2017-02-08 01:40:08 +03:00
proller
f87ae6808f cmake: USE_INTERNAL_ZLIB_LIBRARY (#463)
* Correct fix of building with external poco with disabled sending progress

    Revert "Removed wrong code [#CLICKHOUSE-2]."

    This reverts commit 33f9917f53.

* fix

* fix

* cmake: USE_INTERNAL_ZLIB_LIBRARY
2017-02-08 01:28:13 +04:00
proller
5a9c317b65 Freebsd: libcctz build fix 2017-02-02 19:16:38 +03:00
Alexey Milovidov
c903a23864 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 19:12:30 +03:00
Alexey Milovidov
93bbaf0e70 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:49:26 +03:00
Alexey Milovidov
3476e4d4c4 Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:48:53 +03:00
Alexey Milovidov
b2457e076a Sending progress in HTTP headers (continued) [#CLICKHOUSE-32]. 2017-01-22 18:42:42 +03:00
Alexey Milovidov
a2380fc86b Poco: allow sending and flushing individual HTTP headers [#CLICKHOUSE-32]. 2017-01-22 18:02:24 +03:00
Alexey Milovidov
eec6c54ce1 cctz: removed useless file from build [#CLICKHOUSE-2]. 2017-01-21 07:36:34 +03:00
Alexey Milovidov
ed60f63e26 Added CCTZ to build [#CLICKHOUSE-2]. 2017-01-21 04:24:35 +03:00
Alexey Milovidov
2b311d49e9 Imported CCTZ library from 90ef68be6d [#CLICKHOUSE-2]. 2017-01-21 04:13:22 +03:00
proller
2688f4563f cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config (#375)
* Manual version update to [54135]

* Temporary release script fix [#METRIQA-732]

* cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config
2017-01-20 21:58:07 +04:00
proller
f63a3ab167 Fix some errors in apple build (#362)
Fix some errors in apple build
2017-01-18 20:16:35 +03:00
proller
f7c0998599 fix clang build (#353)
* Freebsd clang3.8 compile fixes

* clean

* fix

* fix clang build
2017-01-18 02:48:01 +04:00
proller
29475c94c0 Reorganize includes, less depends in .h files 2017-01-16 22:47:11 +03:00
proller
718b765742 Fix no-pie with clang 2017-01-16 19:29:11 +03:00
Alexey Milovidov
a3d59db251 Fixed error on clang [#CLICKHOUSE-2]. 2017-01-14 12:12:16 +03:00
Alexey Milovidov
e8d7641316 Fixed warning on clang [#CLICKHOUSE-2]. 2017-01-14 12:05:56 +03:00
proller
e2bc0c7471 Add -no-pie flag to linker in static mode 2017-01-13 23:11:21 +03:00
proller
c601dacf31 arm64 compile fix 2017-01-13 22:01:45 +03:00
alexey-milovidov
56743008dd Merge pull request #317 from proller/libs
Allow link with external libs: poco, tcmalloc
2017-01-13 21:39:23 +04:00
proller
2a6a4657be Fix compiling zlib-ng on arm64 (#331)
Fix compiling zlib-ng on arm64
2017-01-13 15:41:25 +03:00
proller
ee3882f251 Allow link with external libs: poco, tcmalloc 2017-01-13 14:25:44 +03:00
proller
ecb7642c4f Freebsd: preparing port, misc build/install chandes 2017-01-12 13:51:30 +00:00
proller
4df7b19c44 fix test_anl.cmake for old cmake 2017-01-11 16:41:39 +03:00
proller
8cbed35e0d Fix finding libanl (missing pthread) 2017-01-11 13:53:30 +03:00
proller
0df043fcec fix static linking with libanl.a on ubuntu 16.10 2017-01-09 19:32:41 +03:00
Alexey Zatelepin
b87f2dbac6 turn off new quick zlib strategy [#METR-23582] 2017-01-09 16:52:41 +03:00
Alexey Zatelepin
c1e8b674e0 add missing zlib include dir [#METR-23582] 2017-01-09 16:07:42 +03:00
artpaul
d0961238b9 fix build; error was 'add_intrinsics_option Macro invoked with incorrect arguments for macro' 2017-01-09 13:32:45 +05:00
Alexey Zatelepin
1b61f2a9d3 use zlib-ng from contrib everywhere [#METR-23582] 2017-01-08 22:24:38 +03:00
Alexey Zatelepin
7b3f4adcc1 add libzlib-ng/README.clickhouse [#METR-23582] 2017-01-08 21:26:53 +03:00
Alexey Zatelepin
89daba2cfb adopt zlib-ng CMakeLists.txt from ad8868ab0e/CMakeLists.txt [#METR-23582] 2017-01-08 21:26:30 +03:00
Alexey Zatelepin
8f74b844fc import zlib-ng sources from 343c4c5491 [#METR-23582] 2017-01-08 21:26:03 +03:00
proller
ca9c4bbdbb Dont use tcmalloc TCMALLOC_AGGRESSIVE_DECOMMIT patch 2016-12-28 03:47:46 +03:00
proller
4bc003c4c1 Porting to freebsd: initial, compile ok, most tests ok. 2016-12-24 01:03:10 +00:00
proller
d9e81f858d silent "variable not used" warning 2016-12-21 15:49:38 +03:00
proller
2443531dd0 Misc build fixes: boost warning, boost minimum version, shared libanl 2016-12-20 21:45:32 +03:00
proller
b5ba772839 Dont build internal boost if USE_INTERNAL_BOOST_LIBRARY=FALSE 2016-12-20 16:48:32 +03:00
Alexey Milovidov
982611da78 Fixed logical error in name of variable in CMakeLists [#METR-2944]. 2016-12-18 21:58:16 +03:00
artpaul
de25eee339 remove DBOOST_SYSTEM_NO_DEPRECATED from libboost 2016-12-18 12:29:45 +05:00
Vladimir Chebotarev
717d185ce8 libre2: Avoid generation of include files each configuration phase. [#METR-21516] 2016-12-13 12:48:49 +03:00
Alexey Milovidov
e8e627328b Added relaxed option for boost [#METR-2944]. 2016-12-12 21:24:27 +03:00
Vitaliy Lyudvichenko
876ad28dd8 Merge remote-tracking branch 'origin/master' into metrics_refinement 2016-12-12 19:17:23 +03:00
Alexey Milovidov
5b857d5ae6 Added README [#METR-2944]. 2016-12-12 08:41:34 +03:00
Alexey Milovidov
d605bfdc9d Using internal boost library [#METR-2944]. 2016-12-12 07:57:09 +03:00
Alexey Milovidov
ce16083ece Using internal boost library [#METR-2944]. 2016-12-12 07:33:33 +03:00
Alexey Milovidov
fe2bafbbab Using internal boost library [#METR-2944]. 2016-12-12 07:29:36 +03:00
Alexey Milovidov
3c80ee723f Using internal boost library [#METR-2944]. 2016-12-12 07:27:12 +03:00
Alexey Milovidov
239eec99a7 Using internal boost library [#METR-2944]. 2016-12-12 07:25:00 +03:00
Alexey Milovidov
7ee104fbc8 Using internal boost library [#METR-2944]. 2016-12-12 07:24:32 +03:00
Alexey Milovidov
875d95fbd3 Using internal boost library [#METR-2944]. 2016-12-12 07:24:06 +03:00
Alexey Milovidov
53a0427967 Using internal boost library [#METR-2944]. 2016-12-12 07:23:44 +03:00
Alexey Milovidov
1cfdede245 Using internal boost library [#METR-2944]. 2016-12-12 07:23:19 +03:00
Alexey Milovidov
51deacfe77 Using internal boost library [#METR-2944]. 2016-12-12 07:22:55 +03:00
Alexey Milovidov
5a39a6de29 Using internal boost library [#METR-2944]. 2016-12-12 07:21:38 +03:00
Alexey Milovidov
5c83473f04 Using internal boost library [#METR-2944]. 2016-12-12 07:21:02 +03:00
Alexey Milovidov
3d98503ea0 Using in-tree boost library [#METR-2944]. 2016-12-12 07:19:55 +03:00
Alexey Milovidov
58a8cff3ae Using internal boost library [#METR-2944]. 2016-12-12 07:17:16 +03:00
Alexey Milovidov
599308aef0 Get rid of obsolete mongodb client library [#METR-23791]. 2016-12-11 12:43:16 +03:00
Vitaliy Lyudvichenko
6540156100 Removed redundant code from CMakeLists. 2016-12-09 13:13:16 +03:00
Alexey Milovidov
ca7d0a4742 Get rid of useless part of library [#METR-20000]. 2016-12-08 22:20:51 +03:00
Alexey Milovidov
684f2a9f34 Removed code with "evil" license [#METR-20000]. 2016-12-08 04:00:04 +03:00
Alexey Milovidov
9331ecd3bf Removed code with "evil" license [#METR-20000]. 2016-12-08 03:58:34 +03:00
Vladimir Chebotarev
ca5c1dc31b cmake: Improved build. [#METR-21516] 2016-12-06 19:51:34 +03:00
Vladimir Chebotarev
bcc5500f91 cmake: More options. [#METR-23701] 2016-12-05 15:43:14 +03:00
Vitaliy Lyudvichenko
4df22acea9 Try to fix LIBTCMALLOC linking. 2016-11-30 15:10:39 +03:00
Alexey Milovidov
12dd6fbe95 Build improvement [#METRIQA-526]. 2016-11-28 18:35:13 +03:00
Vladimir Chebotarev
84ab03a669 libpoco: Removed Poco MySQL binding. [#METR-21516] 2016-11-09 23:36:42 +03:00
Vladimir Chebotarev
cdaece7dfa : More specific usage of static libraries. [#METR-21516] 2016-11-09 21:49:01 +03:00
Vladimir Chebotarev
e2ceb63c54 libcommon, libre2, tools: Fixed build under OS X Sierra. [#METR-21516] 2016-11-03 15:41:13 +03:00
Vladimir Smirnov
d36f52502e Make it compilable on OS X
It's still hackish and dirty, but server and client compies.

Server starts, but throwes meaningless exception on any query.

Client seems to be working fine.

Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
11477b942e Whitespaces [#METR-23332]. 2016-10-29 20:16:43 +03:00
Alexey Milovidov
024799acee Fixed error in Poco::UTF8Encoding::isLegal function [#METR-23332]. 2016-10-29 20:15:43 +03:00
Alexey Milovidov
eec9087521 Updated ZSTD [#METR-23280]. 2016-10-25 10:14:12 +03:00
Alexey Milovidov
8db2069cbf Updated tcmalloc [#METR-20000]. 2016-10-20 06:51:19 +03:00
Alexey Milovidov
9b5b6bc3a3 Addition to prev. revision [#METR-2944]. 2016-10-12 00:45:15 +03:00
Alexey Milovidov
f806255da1 Removed Poco/Data/SQLite, because it is unused but makes build more complicated [#METR-2944]. 2016-10-12 00:39:24 +03:00
Yuri Dyachenko
065b02494a add -Wold-style-cast 2016-08-26 22:55:11 +03:00
Pavel Kartavyy
b731f9cf6d Poco: remove unused header 2016-08-18 19:46:54 +03:00
Pavel Kartavyy
50c28f08b4 Poco: fix endless execution of task that was cancelled before run() method 2016-08-18 19:43:39 +03:00
Alexey Milovidov
f93babdd4d Fixed build with clang [#METR-2944]. 2016-08-07 19:13:00 +03:00
Alexey Milovidov
9a07830dbb Removed useless code (experimental) [#METR-2944]. 2016-08-02 04:46:05 +03:00
Alexey Milovidov
340a6acd4f Fixed undefined behavior in libcpuid [#METR-2944]. 2016-07-31 08:17:16 +03:00
Alexey Milovidov
fa5e66c1fc Fixed warning in Poco when asserts are off [#METR-2944]. 2016-07-06 02:40:02 +03:00
Alexey Milovidov
4a8f3e6143 Addition to prev. revision [#METR-2944]. 2016-06-27 11:13:54 +03:00
Alexey Milovidov
0d902573fe Addition to prev. revision [#METR-2944]. 2016-06-27 11:11:27 +03:00
Alexey Milovidov
36c36fed41 More correct [#METR-2944]. 2016-06-27 11:02:15 +03:00
Alexey Milovidov
6ba6d01491 Using in-tree zookeeper client library [#METR-21848]. 2016-06-26 11:16:13 +03:00
Alexey Milovidov
1529dfbc59 Added zookeeper client library to tree [#METR-21848]. 2016-06-26 11:13:49 +03:00
Alexey Milovidov
c68d6ea303 Better message when listen_host is IPv6 address and IPv6 is disabled [#METR-21842]. 2016-06-25 06:06:36 +03:00
Alexey Milovidov
55f44cff83 Removed useless code from old library [#METR-2944]. 2016-06-19 00:42:20 +03:00
Pavel Kartavyy
ebafc24121 BaseDaemon: waitForTerminationRequest() use sigaction instead of sigwait 2016-06-08 17:39:19 +03:00