134 Commits

Author SHA1 Message Date
Sébastien Helleu
68b45a8216 core: fix package name in comment (FindV8.cmake) 2015-06-11 22:52:28 +02:00
Sébastien Helleu
515e8b7b1a ruby: add detection of Ruby 2.2 2015-06-10 23:17:19 +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
81e037b1ce lua: add detection of Lua 5.3 2015-05-17 14:25:44 +02: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
Sébastien Helleu
fdcf46b476 doc: add translators in docs, move table of contents on the left, build HTML5 2015-01-12 21:53:34 +01:00
Sébastien Helleu
a020c28ea6 core: update copyright dates 2015-01-01 09:23:23 +01:00
Sébastien Helleu
81e337645c core: fix Lua detection on FreeBSD with cmake 2014-11-22 11:23:01 +01:00
Sébastien Helleu
60bfb73de5 core: fix Lua detection on Cygwin with cmake 2014-10-03 23:47:26 +02:00
Sébastien Helleu
3a80f0479e core: fix Lua detection on OpenBSD with cmake 2014-10-03 23:33:54 +02:00
Sébastien Helleu
b51edca846 core: use pkg-config to find Lua lib/headers with cmake, detection of Lua 5.2 2014-10-03 22:31:02 +02:00
Tim D. Smith
9fe0aabb38 core: use HINTS for introspected values in Python detection 2014-09-28 15:00:32 +02:00
Sébastien Helleu
6a2bef6fb7 guile: fix compilation with Guile < 2.0.4 (closes #198) 2014-09-20 15:43:29 +02:00
Sébastien Helleu
6860aa491f aspell: fix compilation with enchant version older than 1.6.0 (closes #192) 2014-09-20 11:05:48 +02:00
Sébastien Helleu
db9a8e7bc4 tests: add unit tests using CppUTest
The tests can be run only via CMake:

  1. build with tests: cmake .. -DENABLE_TESTS=ON
  2. make
  3. ctest  (or ctest -V for verbose output)
2014-07-20 12:13:25 +02:00
Sébastien Helleu
7618fdd240 core: use lower case for CMake keywords 2014-04-12 18:00:27 +02:00
Sebastien Helleu
7f54a1adc1 ruby: add detection of Ruby 2.1 2014-03-16 11:26:47 +01:00
Sebastien Helleu
44411f123a core: fix cmake warning CMP0007 on "make uninstall" (bug #41528) 2014-02-12 10:33:21 +01:00
Sebastien Helleu
52fb9fc237 core: fix typo in FindGnuTLS.cmake 2014-02-06 17:26:36 +01:00
Sebastien Helleu
d8b9e0a6bf ruby: add detection and fix compilation with Ruby 2.0 (patch #8209)
Now the search for Ruby is first performed with pkg-config and includes
detection of Ruby 2.0.
If not found, the old code for detection is used (for old distros or
old Ruby versions).

The specific test on Ruby 1.9.0 (to disable this version) has been
removed (1.9.0 was a dev/unstable version from 2007, quite old now).
2014-02-05 17:27:36 +01:00
Sebastien Helleu
892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu
be9269dfc2 aspell: display aspell/enchant version on signal "debug_libs" 2013-11-17 20:51:10 +01:00
Sebastien Helleu
e8122773b8 core: use $DESTDIR on make uninstall with cmake 2013-08-07 10:11:24 +02:00
Sebastien Helleu
1cadbdf6a9 core: update man page and add translations (in french, german, italian, and japanese) 2013-06-28 20:08:16 +02:00
Sebastien Helleu
fb7edb3518 aspell: add support of enchant library (patch #6858)
Enchant is enabled only if the new option for cmake (or configure) is enabled:
- for cmake: cmake -DENABLE_ENCHANT=ON
- for configure: ./configure --enable-enchant
2013-06-07 21:01:48 +02:00
Sebastien Helleu
9857b44e4e guile: fix arguments given to callbacks (separate arguments instead of one list with arguments inside), guile >= 2.0 is now required (bug #38350)
Unfortunately this breaks compatibility with existing guile scripts, but this
change is needed to keep consistency with other scripting languages.

Now guile >= 2.0 is required, WeeChat can not compile any more with guile 1.8.
2013-02-19 22:49:59 +01:00
Sebastien Helleu
c37016e5ea core: fix detection of iconv with cmake on OS X (bug #38321) 2013-02-14 14:41:43 +01:00
Sebastien Helleu
5d2382caab core: fix detection of python on Ubuntu Raring 2013-01-31 17:14:34 +01:00
Sebastien Helleu
0f143da012 guile: fix compilation with guile 2.0 2013-01-16 22:37:31 +01:00
Sebastien Helleu
323801f869 core: add cmake option ENABLE_PYTHON3 and configure option --enable-python3
With this option, the python plugin will be built and linked with Python 3
(if found, or Python 2 as fallback).

This option it not (yet) recommended, because many scripts are working only
with Python 2.x. It should be used only to tests scripts with Python 3.x
in WeeChat.
2013-01-05 20:46:22 +01:00
Sebastien Helleu
f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Sebastien Helleu
857fb35dcb core: fix cmake target "dist": build tarballs using git-archive and not cvs 2012-12-14 19:01:07 +01:00
Sebastien Helleu
e8ab9ba18d core: stop cmake if gcrypt lib is not found (bug #37671) 2012-11-06 15:01:56 +01:00
Sebastien Helleu
cc5118b3b6 core: check that python version is >= 2.5 in cmake/autotools (patch from Peter Boström) 2012-08-21 09:27:49 +02:00
Sebastien Helleu
67c78085c9 core: fix typo in FindNcurses.cmake (patch from jaset) 2012-07-31 08:26:33 +02:00
Sebastien Helleu
24a06f0e08 python: fix detection of python (first try "python2.x" and then "python") (bug #36835) 2012-07-17 14:07:03 +02:00
Peter Boström
16c6dcb34c ruby: replace puts with print in FindRuby.cmake 2012-06-30 17:06:35 +02:00
Peter Boström
47810d56aa ruby: add detection of ruby version 1.9.3 in cmake 2012-06-30 16:58:01 +02:00
Sebastien Helleu
47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +01:00
Sebastien Helleu
daea95866c python: support of Python 3.x (task #11704)
Note that Python 2.x is still the only Python compiled if found:
Python 3.x is not auto-detected by cmake neither configure.
Many official Python scripts will not load/run with Python 3.x,
so Python 2.x (2.7 or 2.6) is still the recommended version.
2012-01-03 19:35:05 +01:00
Sebastien Helleu
ae997df61e core: fix detection of zlib with cmake 2011-12-07 11:21:23 +01:00
Sebastien Helleu
013f8cc757 relay: add WeeChat protocol (for remote GUI), doc about protocol, new options
The protocol is partial, under development, and NOT ready for usage.

New options added in relay.conf:
- relay.network.allowed_ips: allow only some IPs on relay plugin (by default
  all IPs are allowed)
- relay.network.compression_level: compression level used in WeeChat protocol
  (compression is made using zlib)
2011-12-06 23:06:23 +01:00
Sebastien Helleu
3ec981877a core: replace Config by RbConfig for detection of Ruby to avoid deprecation warnings 2011-11-04 17:12:41 +01:00
Sebastien Helleu
dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu
9b42328d55 guile: new script plugin for scheme (task #7289) 2011-10-26 19:25:51 +02:00
Sebastien Helleu
223e7f8452 core: fix lookup of ncurses include path under Cygwin 2011-08-18 11:10:31 +02:00
Sebastien Helleu
6929486649 tcl: fix tcl detection on some 64-bits systems (bug #32915) 2011-03-26 17:59:01 +01:00
Sebastien Helleu
89424130d2 Fix compilation of Ruby plugin with ruby >= 1.9.1, give higher priority to newest ruby when many versions are installed 2011-01-13 17:44:03 +01:00
Sebastien Helleu
d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu
62dc84f4e9 Add support of python 2.7 in cmake and configure (debian #606989) 2010-12-13 22:20:57 +01:00