Commit Graph
68 Commits
Author SHA1 Message Date
Florent Le Coz f03d1a16dd Only download Catch when the test_suite target is built 2015-10-29 03:55:57 +01:00
Florent Le Coz 9fe94215da Make lcov gcov etc optional
make coverage will display an error instead
2015-10-29 03:20:39 +01:00
Florent Le Coz 3b7bbe1472 make coverage is only available with a debug build 2015-10-29 02:52:24 +01:00
Florent Le Coz 6ae7e08c52 Add code coverage support
make coverage runs the test_suite and generates a report
2015-10-29 02:33:05 +01:00
Florent Le Coz 3c1889fbd0 Use Catch for our test suite
`make check` is also added to compile and run the tests
Catch is fetched with cmake automatically into the build directory when needed
2015-10-29 02:32:57 +01:00
Florent Le Coz bf30b4498f Add the network module to the test_suite
Because we added a network unit test
2015-10-24 15:16:58 +02:00
Florent Le Coz f904d57940 Provide username and realname IRC server options
Used in the USER command when connecting to the IRC server, instead of the
first nick.

fix #3028
2015-09-23 18:47:29 +02:00
Florent Le Coz 88ae2599f6 Introduce an optional Database module
Uses litesql
2015-09-18 22:09:26 +02:00
Florent Le Coz 525f452cbc louloulibs is part of the repository, so no need to check for its presence 2015-07-15 21:17:34 +02:00
Florent Le Coz a004261733 Bump to 3.0~dev 2015-06-04 04:32:03 +02:00
Florent Le Coz c649e56deb Release version 2.0 2015-05-28 23:58:14 +02:00
Florent Le Coz 427df5fc2a Revert "Use git-archive-all in the make dist, to include the submodules in the archive"
This reverts commit 54f96debca.
2015-05-28 23:46:24 +02:00
Florent Le Coz 54f96debca Use git-archive-all in the make dist, to include the submodules in the archive 2015-05-26 14:00:25 +02:00
Florent Le Coz f0e07beacb Forgot to remove some XMPP files that are now in louloulibs instead 2015-03-02 10:21:01 +01:00
Florent Le Coz 649ebaf1b9 Suggest the command git submodule update --init 2015-02-27 18:32:30 +01:00
Florent Le Coz cc6a2295c3 Fix a typo 2015-02-27 17:50:42 +01:00
Florent Le Coz b3503bf112 Also check if the louloulibs/CMakeLists.txt file is missing
Because apparently when cloning a repository with submodules, git creates
empty sub-directories
2015-02-27 12:46:22 +01:00
Florent Le Coz e6569a1090 Only use include_directory() if the directory path is defined 2015-02-27 12:40:50 +01:00
Florent Le Coz d600a2843f Remove all the libs that are now in louloulibs 2015-02-27 12:26:48 +01:00
Florent Le Coz 53e6b1da69 Fix the systemd-conditional code
By using SYSTEMD_FOUND instead of SYSTEMDDAEMON_FOUND, where I forgot to
rename it…
2015-02-26 02:56:46 +01:00
Florent Le Coz b86547dc1e Implement async DNS resolution using c-ares
fix #2533
2015-02-23 13:56:08 +01:00
Florent Le Coz 2bb4a347cd Improve dependencies checks in the build process
- Rename all Find*.cmake files to uppercase, to make things more consistent,
  and fix some issues with them (notably the REQUIRED flag)

- Rename SYSTEMDDAEMON to SYSTEMD and only use the libsystemd instead of
  libsystemd-daemon because it's deprecated for a long time now

- Provide a WITH_* and WITHOUT_* switch for all optional dependencies

- Document things in the INSTALL file
2014-11-13 06:44:15 +01:00
Florent Le Coz b94247813b Provide WITHOUT_BOTAN and WITHOUT_SYSTEMD cmake flags
Use them to build without linking to them, even if they are on your system
2014-07-15 15:44:19 +02:00
Florent Le Coz 4582f10797 Bump master version to 2.0~dev 2014-07-12 14:30:27 +02:00
Florent Le Coz b578aebc03 Release version 1.0 2014-07-12 14:17:23 +02:00
Florent Le Coz a165e59240 Fix some cmake issues
fix #2551
2014-06-30 01:02:59 +02:00
Florent Le Coz 2cf64e10b5 Provide a make dist target 2014-06-24 17:48:31 +02:00
Florent Le Coz a2d55e4bea Rename cmake target test->test_suite for cmake 3.0
See CMP0037
2014-06-23 01:00:21 +02:00
Florent Le Coz aaf7177413 Write the software version, including the git hash, in config.h using cmake 2014-06-20 10:45:38 +02:00
Florent Le Coz 9757c2c695 includes from cmake BINARY_DIR should be included before considering SOURCE_DIR 2014-06-18 11:45:09 +02:00
Florent Le Coz 349dc06e91 Silence warnings coming from Botan headers 2014-06-08 13:03:05 +02:00
Florent Le Coz 23f32ba39e Implement TLS support using Botan
For now, it tries two TLS ports and then connects to the non-tls port.  In
the future we would like the user to be able to configure that.

fix #2435
2014-06-08 05:07:54 +02:00
Florent Le Coz a63faf6fa9 Use libuuid to generate unique IDs for iq and adhoc sessions 2014-05-30 13:39:00 +02:00
Florent Le Coz 634e7cf125 mini reorder 2014-05-11 03:37:07 +02:00
Florent Le Coz 23db31cff1 [cmake] Do not print useless messages when an optional lib is not found 2014-05-11 03:36:42 +02:00
Florent Le Coz 18b27793de Use epoll on linux by default, poll otherwise 2014-04-30 02:30:19 +02:00
Florent Le Coz c6059e5a21 Upgrade to C++14 2014-04-28 18:46:25 +02:00
Florent Le Coz 0b4f761e31 Fix the CMakeLists.txt to correctly have -Ibuild/src/ 2014-04-22 14:30:23 +02:00
Florent Le Coz 9d8166f10d Add support for systemd-daemon 2014-04-15 07:02:09 +02:00
Florent Le Coz c64bb0bde9 Improved doc rule in the cmake thing 2014-04-13 20:28:42 +02:00
Florent Le Coz 8246849fdf Do not link with pthread 2014-04-13 19:16:18 +02:00
Florent Le Coz 3b1bf740a3 Fix the CMakeLists.txt regarding ronn 2014-03-14 01:34:35 +01:00
Florent Le Coz aeae88dd32 Move CMake’s config.h(.cmake) files into src/ 2014-02-19 02:49:22 +01:00
Florent Le Coz e43de640e9 Build the man page as part of the build process, if ronn is found 2014-02-17 03:07:27 +01:00
Florent Le Coz 7cfc79179c Make install rule 2014-02-17 02:12:12 +01:00
Florent Le Coz b71547a32b Fix the build system to correctly include config.h 2014-01-14 21:45:56 +01:00
Florent Le Coz 48b4f7b83f Remove cryptopp dependency, directly include a simple sha1 implementation 2014-01-13 20:11:36 +01:00
Florent Le Coz b11126a19d Provide a JID for IRC users, and add a stringprep dependency for this 2013-12-08 20:14:12 +01:00
Florent Le Coz cb718def0c Put utils::tolower definition in its own cpp file 2013-12-08 18:02:24 +01:00
Florent Le Coz fb01f78b0a Rewrite the FindIconv module cleanly 2013-12-08 15:57:10 +01:00