Commit Graph

207 Commits (master)

Author SHA1 Message Date
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
Sébastien Helleu 5cc4005231 core: move script makedist.sh to tools directory, make all arguments optional 2017-01-14 15:14:37 +01:00
Sébastien Helleu 705d86e684 core: update copyright dates 2017-01-01 11:32:04 +01:00
Sébastien Helleu 091ef992dd Revert "api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux (closes #770)"
This reverts commit 399636f984.
2016-08-19 19:44:08 +02:00
Sébastien Helleu 399636f984 api: fix connection to servers with hook_connect() on Windows 10 with Windows subsystem for Linux (closes #770) 2016-08-06 22:13:52 +02:00
Sébastien Helleu 35712daa1a core: improve help on python3 option (cmake and autotools) 2016-06-21 19:41:30 +02:00
Sébastien Helleu b7bdbbdc50 core: rename .asciidoc files to .adoc (issue #722) 2016-05-15 08:52:19 +02:00
Sébastien Helleu 3330724574 core: update copyright dates 2016-01-01 11:09:53 +01:00
Sébastien Helleu cfc1f39779 core: add a script version.sh to get WeeChat stable/devel version 2015-10-24 13:00:06 +02:00
Sébastien Helleu 80293c2447 core: rename "build-scripts" directory to "tools" 2015-10-17 14:30:10 +02:00
Sébastien Helleu fd1886e883 core: rename "scripts" directory to "build-scripts" 2015-08-16 11:29:31 +02:00
Sébastien Helleu a929633759 Version 1.4-dev 2015-08-16 09:30:37 +02:00
Sébastien Helleu 9019d031b6 Version 1.3 2015-08-16 08:27:07 +02:00
Sébastien Helleu f1b36e5095 Version 1.3-rc2 2015-08-14 21:37:58 +02:00
Sébastien Helleu 6923a9efa0 Version 1.3-rc1 2015-08-06 07:42:02 +02:00
Sébastien Helleu 3262599413 core: make cpputest optional in cmake compilation
With this fix, WeeChat can be built without tests (if cpputest is not found),
without having to explicitely disable tests ("-DENABLE_TESTS=OFF").
2015-05-17 14:58:10 +02:00
Sébastien Helleu 486ed2b0da core: remove use of PREFIX in main CMakeLists.txt 2015-05-17 08:57:08 +02:00
Sébastien Helleu 5918943192 Version 1.3-dev 2015-05-10 10:04:03 +02:00
Sébastien Helleu 66abd51786 Version 1.2 2015-05-10 09:24:50 +02:00
Sébastien Helleu dc8b3f977f Version 1.2-rc2 2015-05-02 08:44:55 +02:00
Sébastien Helleu 0afd1f2243 Version 1.2-rc1 2015-04-24 22:41:04 +02:00
Sébastien Helleu 26f415f5db core: move definitions with version and license in root CMakeLists.txt 2015-03-19 22:42:03 +01:00
Sébastien Helleu 6908ef0cdd core: align options in CMakeLists.txt
Better when things are aligned, no? :)
2015-03-08 12:51:41 +01:00
Sébastien Helleu 145191dbc5 javascript: add new plugin to run javascript scripts in WeeChat
This plugin was originally written by Koka El Kiwi
(repository: https://github.com/KokaKiwi/weechat-js-plugin).

This plugin uses Google V8 engine to execute JS scripts.
2015-03-07 16:52:09 +01:00