4798 Commits

Author SHA1 Message Date
Sebastien Helleu
5a07051f20 core: remove use of function gcry_kdf_derive so that it compiles with libgcrypt < 1.5.0
The key built with salt + passphrase has changed, so old encrypted data
in file sec.conf can not be decrypted with this new version.
2013-08-02 23:15:21 +02:00
Sebastien Helleu
d6a19adc54 core: change the message displayed on /secure decrypt -discard 2013-08-02 23:04:23 +02:00
Sebastien Helleu
16b114b609 doc: add feature "secured data" for libgcrypt in dependencies (user's guide) 2013-08-02 21:32:11 +02:00
Sebastien Helleu
a41bed395b core: add task #7395 in ChangeLog 2013-08-02 20:22:23 +02:00
Sebastien Helleu
26fcc66953 core: update translations 2013-08-02 20:16:47 +02:00
Sebastien Helleu
663de42284 Merge branch 'secured-data' 2013-08-02 19:19:25 +02:00
Sebastien Helleu
fd5fc2e5a3 core: add platform-dependent extension on "weechat-curses" link (so that link is "weechat-curses.exe" on cygwin) 2013-08-02 18:40:40 +02:00
Sebastien Helleu
996da2f662 core: rename binary and man page from "weechat-curses" to "weechat" (task #11027)
A symbolic link weechat-curses -> weechat is now created (by both cmake and
configure), so that the /upgrade will work from an old version.

However, if you upgrade from an old version, it is recommended to force the use
of the new binary name with the command: `/upgrade /path/to/weechat` (replace
the path accordingly).
2013-08-02 08:54:16 +02:00
Sebastien Helleu
f9d57a3099 core: fix compiler warning on freopen (ignore file returned) 2013-08-01 16:29:12 +02:00
Sebastien Helleu
8bff3225fd script: fix uninitialized pointer in detailed view of a script 2013-08-01 16:18:44 +02:00
Sebastien Helleu
c0c76ad995 core: do not scroll when using /window {page_down|scroll_down} after /window scroll_beyond_end 2013-07-31 19:09:31 +02:00
Sebastien Helleu
35c3dbad63 plugins: remove the demo plugin 2013-07-31 18:56:32 +02:00
Sebastien Helleu
23add1ac14 core: add build of man page in debian/rules 2013-07-31 18:56:21 +02:00
Sebastien Helleu
3aed4ac11f core: do not build man page by default 2013-07-31 18:26:37 +02:00
Sebastien Helleu
91b7aec855 core: reset scroll after /window {page_down|scroll_down} if last line of buffer is displayed at bottom
A regression was introduced by commit bee56c3b7fa6ef0ce820a8f0a7e5e51b95aa3fab
(/window scroll_beyond_end).

Scenario to reproduce the problem, for example on an IRC channel with a long
history (more than two pages):
  /window page_up
  /window page_down
  <type some text and send to channel>
It will display -MORE(1)- instead of automatically scrolling to bottom of
buffer.
2013-07-31 14:41:27 +02:00
Sebastien Helleu
261efe6299 core: add cmake option ENABLE_MAN to compile man page (on by default)
For configure, the option is "--disable-man".
2013-07-31 13:28:59 +02:00
Sebastien Helleu
9951902c7b irc: use 6697 as default port for SSL servers created with URL "ircs://" (bug #39621) 2013-07-30 19:51:23 +02:00
Sebastien Helleu
ade379ac11 rmodifier: update default rmodifier for /secure (add option decrypt) 2013-07-30 12:17:11 +02:00
Sebastien Helleu
351674699c core: in case of empty passphrase, keep encrypted data in memory until the user runs /secure decrypt (with the good passphrase)
If user gives no passphrase (for example one space when prompted), the encrypted
data read in sec.conf will be stored in a separate hashtable.
While this hashtable contains something, it is not allowed to do any operation
on passphrase or secured data (and it is not allowed to reload sec.conf).
The user can decrypt data with /secure decrypt <passphrase>.
2013-07-30 12:16:44 +02:00
Sebastien Helleu
b3923b65f1 core: use variable "items_count" directly from hashtable without calling function hashtable_get_integer 2013-07-30 10:10:37 +02:00
Sebastien Helleu
53fa3f770e irc: add note about evaluated content of option (for options allowing secured data inside) 2013-07-29 18:53:15 +02:00
Sebastien Helleu
7e64b9f1f9 core: add note about evaluated content of option (for options allowing secured data inside) 2013-07-29 18:53:04 +02:00
Sebastien Helleu
6206fd6818 core: update ChangeLog (add hdata with script callback) 2013-07-28 16:29:52 +02:00
Sebastien Helleu
4c2cffbd31 script: add info about things defined by script in the detailed view of script (/script show) 2013-07-28 16:17:27 +02:00
Sebastien Helleu
0e4eb69d33 api: use pointer for infolist "hook" to return only one hook 2013-07-28 12:40:08 +02:00
Sebastien Helleu
1a7037d9cb doc: update auto-generated files with WeeChat commands 2013-07-28 12:34:55 +02:00
Sebastien Helleu
a668775ae3 core: add option sec.crypt.passphrase_file 2013-07-28 10:59:00 +02:00
Sebastien Helleu
8cd4bf3750 core: add option "-o" for command /color 2013-07-27 23:23:15 +02:00
Sebastien Helleu
f3d537dd7a core: use two spaces to separate columns in /help, do not use columns when the commands fit on a single line 2013-07-27 22:44:42 +02:00
Sebastien Helleu
ca1e0dde07 core: use default value for prefixes used in messages displayed before the interface is initialized 2013-07-27 22:31:36 +02:00
Sebastien Helleu
f385aa8f8c irc: display number of ops/halfops/voices on channel join only for supported modes on server (bug #39582) 2013-07-27 20:37:04 +02:00
Sebastien Helleu
6be17ac263 api: add new function strlen_screen 2013-07-27 18:21:50 +02:00
Sebastien Helleu
a490195032 core: add secured data with optional encryption in file sec.conf 2013-07-27 12:57:08 +02:00
Sebastien Helleu
50ab62b75d core: fix priority of logical operators in evaluation of expression
The AND ("&&") takes precedence over the OR ("||").

Before the fix:
>> 1 || 1 && 0
== [0]

After the fix:
>> 1 || 1 && 0
== [1]

Since the "&&" has higher priority, expression is evaluated as:
"1 || (1 && 0)".
2013-07-24 08:15:17 +02:00
Sebastien Helleu
ea76cdb06e doc: fix typo in example for function string_eval_expression (plugin API reference) 2013-07-23 19:39:39 +02:00
Sebastien Helleu
c14b1b5fae core: remove gap after read marker line when there is no bar on the right (bug #39548) 2013-07-22 18:25:35 +02:00
Sebastien Helleu
f7f019887d aspell: rename option aspell.look.color to aspell.color.misspelled, add option aspell.color.suggestions 2013-07-20 19:27:51 +02:00
Sebastien Helleu
87e342dd9e core: add CA_FILE option in cmake and configure to setup default value of option weechat.network.gnutls_ca_file (task #12725) 2013-07-20 17:29:19 +02:00
Sebastien Helleu
a3cc9bbe7e core: use gettext version 0.18 in configure.ac (fix error on make install) 2013-07-20 16:36:23 +02:00
Sebastien Helleu
56baaaffa8 core: use "/dev/null" for stdin in hook_process instead of closing stdin (bug #39538) 2013-07-20 15:45:25 +02:00
Sebastien Helleu
f4a0307316 core: add task #6745 in ChangeLog 2013-07-20 12:02:17 +02:00
Sebastien Helleu
41fbc14f48 core: update translations 2013-07-20 12:00:02 +02:00
Sebastien Helleu
765297c038 Merge branch 'scroll-beyond-end' 2013-07-20 11:54:52 +02:00
Sebastien Helleu
27882ee74e core: scroll to bottom after smart jump (alt-a) only if window was scrolled (and not beyond the end) 2013-07-20 11:31:48 +02:00
Sebastien Helleu
94b9104d14 core: replace obsolete INCLUDES by AM_CPPFLAGS in files Makefile.am 2013-07-20 09:07:05 +02:00
Sebastien Helleu
22b20d6206 core: add options weechat.look.hotlist_prefix and weechat.look.hotlist_suffix (task #12730) (patch from Nils Görs) 2013-07-20 08:42:16 +02:00
Sebastien Helleu
5a4f96b679 irc: use lower case at beginning of message when deleting a server 2013-07-19 18:14:37 +02:00
Sebastien Helleu
dfcc7baa40 irc: fix self nick color in server messages after nick is changed with /nick (bug #39415) 2013-07-19 10:18:20 +02:00
Sebastien Helleu
354d96ea36 core: fix filtered line displayed after /window scroll_beyond_end 2013-07-18 20:07:47 +02:00
Sebastien Helleu
fb86f21a5f irc: add support of wildcards in commands (de)op/halfop/voice (task #9221) 2013-07-18 19:58:29 +02:00