Sébastien Helleu
cf3ba52828
core: remove obsolete cpack config
...
This config was used to build binary package of WeeChat, which was never
released in this format.
2023-03-25 11:09:04 +01:00
Sébastien Helleu
29ac28f94a
core: add extra compiler options to check overflow of destination buffer and output truncation
2023-03-23 18:50:48 +01:00
Sébastien Helleu
bff143dcf4
core: add CMake test called "notests" when tests are not compiled
...
Now the command `make test` executes properly and returns 0 when test are not
compiled.
2023-01-06 07:53:39 +01:00
Sébastien Helleu
e660233325
Revert "core: add a fake target "test" so that make test successes when tests are not compiled"
...
This reverts commit 129860fd52 .
2023-01-06 07:11:35 +01:00
Sébastien Helleu
129860fd52
core: add a fake target "test" so that make test successes when tests are not compiled
2023-01-05 21:26:55 +01:00
Sébastien Helleu
30ad9ca62d
core: rename script git-version.sh to set_git_version.sh
2023-01-05 08:01:48 +01:00
Sébastien Helleu
33bba784c3
core: update copyright dates
2023-01-01 14:54:35 +01:00
Sébastien Helleu
319abf4fd0
python: remove support of Python 2.x
2022-10-15 22:56:06 +02:00
Sébastien Helleu
57c0a82557
core: fix CMake warning in Python detection
2022-08-13 14:37:00 +02:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
498194f6fc
relay: add zstd compression in weechat protocol
...
Option relay.network.compression_level is renamed to relay.network.compression
and is now a percentage between 0 (no compression) to 100 (best compression,
slowest).
Compression is now disabled by default in weechat protocol and must be enabled
via the `handshake` command (option `compression` has been removed from `init`
command).
2021-12-24 16:45:57 +01:00
Sébastien Helleu
27a480c7d7
core: fix compilation with Ruby 3.0 on macOS (issue #1721 , closes #1605 )
2021-11-21 16:29:40 +01:00
Jan Palus
bd21b25bad
typing: correct typo in CMake option description
2021-09-19 14:58:07 +02:00
Sébastien Helleu
dccf605e66
typing: add typing plugin
2021-07-04 13:27:32 +02:00
Sébastien Helleu
c588ee21bc
core: improve options to load GnuTLS system/user CAs ( closes #972 )
...
Changes:
* new option: weechat.network.gnutls_ca_system
* option weechat.network.gnutls_ca_file renamed to
weechat.network.gnutls_ca_user
* reload certificates when options are changed
* remove build option CA_FILE
2021-05-12 20:39:40 +02:00
Sébastien Helleu
703106a31f
core: mention evaluation with string_eval_path_home for CMake/autotools option CA_FILE (issue #1285 )
2021-05-11 21:07:04 +02:00
Sébastien Helleu
5361722699
core: set WeeChat home to empty string by default in CMake and autotools (issue #1285 )
2021-05-11 21:06:24 +02:00
Andrew Potter
b222e75019
core: Use mallinfo2() when available
...
mallinfo() is deprecated in glibc 2.33
2021-05-08 07:25:44 +02:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
03f4afe65e
Revert "core: add extra compiler options to check overflow of destination buffer and output truncation"
...
This reverts commit 4ff4a64209 .
These compiler flags are not supported on old compiler version, for example on
Debian Stretch/Jessie and Ubuntu Xenial (16.04).
2020-11-29 11:05:38 +01:00
Sébastien Helleu
4ff4a64209
core: add extra compiler options to check overflow of destination buffer and output truncation
2020-11-28 09:43:57 +01:00
Sébastien Helleu
340d6646a6
javascript: disable build by default and remove Debian packaging of JavaScript plugin (issue #360 )
2020-06-13 14:34:13 +02:00
Sébastien Helleu
e130ee7358
core: make GnuTLS a required dependency
2020-04-18 11:34:59 +02:00
Sébastien Helleu
b907f6b643
core: fix indentation
2020-04-12 10:17:03 +02:00
Eli Schwartz
973a4b2e77
cmake: fix bugged WEECHAT_SHAREDIR definition exposed by DATAROOTDIR rename
...
configure.ac defines this to /usr/share/weechat, which means scripts can
load from this directory as a fallback for $HOME/.weechat/, but cmake
defines this instead as /usr/share, which means system-installed
fallback scripts would need to be installed to /usr/share/python/foo.py
instead, and that's completely insane!
Fix this discrepancy by creating a cmake define specifically for
WEECHAT_SHAREDIR based on the datarootdir, just like autotools does it.
2020-04-12 10:16:41 +02:00
Eli Schwartz
683464626d
cmake: rename internal variable SHAREDIR to DATAROOTDIR
...
This is how other build systems (e.g. autotools) see the variable, and
cmake's own GNUInstallDirs defines the same. It more clearly describes
what this setting does vs. the ambiguous "sharedir".
2020-04-12 10:16:41 +02:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
7aa24ecd88
core: add different icons sizes (16x16 to 512x512) ( closes #1347 )
2019-11-18 20:05:43 +01:00
Lucas Hoffmann
8054cb0ee1
core: add a desktop file ( closes #982 , closes #408 )
2019-10-07 20:47:43 +02:00
Sébastien Helleu
baf8f635ff
core: fix style in CMake files
2019-10-01 18:31:41 +02:00
Kyle Sabo
0678e0c9b3
core: fix build on Alpine ( closes #1406 )
2019-09-27 20:56:09 +02:00
Sébastien Helleu
bff40e4c26
core: display an error on missing dependency in CMake ( closes #916 , closes #956 )
2019-09-15 07:49:03 +02:00
Sébastien Helleu
62944b7168
core: disable option "-Werror-implicit-function-declaration" for C++ compiler
...
This option is valid for C compiler only.
2019-08-27 22:26:57 +02:00
Sébastien Helleu
8897e04c0d
core: fix help on python to build with Python 2 (issue #1382 )
2019-07-31 21:24:36 +02:00
Sébastien Helleu
ab81128a7a
core: compile with Python 3 by default
...
The CMake option ENABLE_PYTHON3 is renamed to ENABLE_PYTHON2, to use Python 2
first then fallback on Python 3.
In the same way, the configure option --enable-python3 is renamed to
--enable-python2, to use Python 2 first then fallback on Python 3.
2019-07-01 21:28:33 +02:00
Sébastien Helleu
2712f0991b
core: replace CMAKE_INSTALL_PREFIX by ${prefix} in libdir (weechat.pc)
2019-05-01 08:32:36 +02:00
Ryan Farley
8df3ad3d26
cmake: allow custom libdir ( fix #1341 )
...
Allows for custom LIBDIR to specified with cmake builds. WEECHAT_LIBDIR
is used for a custom Weechat directory, or set from LIBDIR (as LIBDIR
used to be set).
2019-04-25 16:53:55 -05:00
Sébastien Helleu
9b4fa10923
core: set CMake minimum version required to 3.0
...
This is required for add_library() with INTERFACE library type.
2019-03-25 08:52:53 +01:00
Sébastien Helleu
2612adf899
core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options
...
This option is OFF by default and should be enabled only for tests, to measure
test coverage.
2019-03-24 09:38:43 +01:00
Sébastien Helleu
57aa9e060e
spell: rename "aspell" plugin to "spell" (issue #1299 )
...
The following things have been renamed:
- file aspell.conf -> spell.conf
- options aspell.* -> spell.*
- bar item aspell_dict -> spell_dict
- bar item and local variable aspell_suggest -> spell_suggest
- info aspell_dict -> spell_dict
2019-02-19 21:15:56 +01:00
Sébastien Helleu
2b0057239b
core: update copyright dates
2019-01-01 15:40:51 +01:00
Sébastien Helleu
4712d0bb06
core: use https for links to GNU GPL license
2018-11-29 23:16:07 +01:00
Sébastien Helleu
34fd37fa50
core: fix forced highlight on messages sent to other buffers ( closes #1277 )
...
The C compiler flag "-fsigned--char" is used to force "char" data type to be
always signed (which is what WeeChat expects).
On ARM systems, char is unsigned by default, which is causing problems when
WeeChat stores -1 in the notify_level (type: char).
2018-11-14 22:23:34 +01:00
Sébastien Helleu
638ed2ecf5
core: fix C++ compiler flags (cmake)
2018-11-14 22:06:35 +01:00
Sébastien Helleu
805717e9ec
core: add binary weechat-headless to run WeeChat without interface ( closes #1120 )
...
The optional command line option "--daemon" runs WeeChat like a daemon
(fork, new process group, file descriptors closed).
2018-03-11 09:59:39 +01:00
Sébastien Helleu
03456722ef
core: fix typo: scripts manager -> script manager
2018-01-29 21:04:27 +01:00
Sébastien Helleu
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Adam Saponara
d032ee2159
php: new php plugin
...
This plugin requires PHP >= 7.0.
2017-09-03 15:33:16 +02:00
Sébastien Helleu
2a5eb1564f
fset: add fset (Fast Set) plugin skeleton (WIP)
2017-06-25 16:35:27 +02:00
Sébastien Helleu
edfeb60e32
buflist: new plugin "buflist" (bar with list of buffers)
2017-03-25 14:18:19 +01:00