4834 Commits

Author SHA1 Message Date
Sebastien Helleu
c624960336 core: add text emphasis in messages when searching text in buffer
New options:
- weechat.look.emphasized_attributes
- weechat.color.emphasized
- weechat.color.emphasized_bg
2013-08-16 16:16:37 +02:00
Sebastien Helleu
170acfe6f2 core: remove obsolete enum t_config_look_nicklist 2013-08-15 17:59:17 +02:00
Sebastien Helleu
db05104f64 doc: fix emphasized text in plugin API reference and relay protocol 2013-08-14 17:26:37 +02:00
Sebastien Helleu
ea124f4158 core: fix typo in french translation of /help upgrade 2013-08-12 20:44:37 +02:00
Sebastien Helleu
7e0ae094cc core: add comment with return value of function string_regcomp 2013-08-12 10:51:49 +02:00
Nils Görs
7dea560ff5 doc: update german translations, scripting and user guide 2013-08-12 09:04:00 +02:00
Sebastien Helleu
ca7bb9a069 core: add note about "strftime" in help of options weechat.look.day_change_time_format and weechat.look.time_format 2013-08-11 20:04:07 +02:00
Sebastien Helleu
21caea83f5 doc: add "oauth" for IRC connection in FAQ 2013-08-10 23:00:28 +02:00
Sebastien Helleu
784de68a5f core: fix random crash on "/buffer close" with a buffer number (or a range of buffers) 2013-08-10 18:18:01 +02:00
Sebastien Helleu
6714d6fc82 core: optimize the removal of lines in buffers (a lot faster to clear/close buffers with lot of lines)
The update of variables "buffer_max_length" and "prefix_max_length" in struct
t_gui_lines is now delayed and made during the main refresh (in main loop).

For a buffer with 50K lines, it is up to 3300 times faster to clear/close it.
For a buffer with 4096 lines (default limit), it is up to 120 times faster.
2013-08-10 17:18:12 +02:00
Sebastien Helleu
a5cbfdf7fd core: update ChangeLog with changes on hashtables 2013-08-10 09:38:02 +02:00
Sebastien Helleu
d12c9efdbc core: change type of hashtable key hash to unsigned long, return item pointer in functions hashtable_set(_with_size)
The key hash has been changed from unsigned int to unsigned long, and now the
callback can return any value (not only between 0 and size-1), the modulo is
computed after the call to the callback by the hashtable functions.

Functions hashtable_set and hashtable_set_with_size were returning 1 if OK,
0 if error. Now they return pointer to hashtable item, or NULL if error.
2013-08-10 09:35:06 +02:00
Sebastien Helleu
e407c41c5c core: check that value is not NULL before calling free in hashtable_free_value 2013-08-09 23:06:41 +02:00
Sebastien Helleu
abb574ec4e core: add "callback_free_key" in hashtable 2013-08-09 23:00:12 +02:00
Sebastien Helleu
72c1af25e0 core: set "callback_free_value" directly in hashtable without calling function hashtable_set_pointer 2013-08-09 22:54:06 +02:00
Sebastien Helleu
d466a86efc core: fix typo coeur -> cœur (in french) 2013-08-08 09:39:54 +02:00
Sebastien Helleu
721478fe5b doc: add description of sections in configuration files (user's guide) 2013-08-07 22:04:32 +02:00
Sebastien Helleu
766273ac99 core: remove symbolic link "weechat-curses" on make uninstall (cmake and autotools) 2013-08-07 10:20:42 +02:00
Sebastien Helleu
e8122773b8 core: use $DESTDIR on make uninstall with cmake 2013-08-07 10:11:24 +02:00
Sebastien Helleu
e5de0cd0e8 core: fix typo in comment for creation of symbolic link "weechat-curses" 2013-08-07 09:32:37 +02:00
Sebastien Helleu
da66a343b3 core: fix typo in /help secure 2013-08-07 08:27:28 +02:00
Sebastien Helleu
c4c66923f5 core: update dependencies in INSTALL 2013-08-06 20:59:12 +02:00
Sebastien Helleu
3a2d2d6b03 core: use $DESTDIR when creating symbolic link "weechat-curses" with cmake 2013-08-06 20:57:23 +02:00
Sebastien Helleu
f0cd7a994a core: add new rmodifier in file NEWS 2013-08-05 20:43:40 +02:00
Sebastien Helleu
c4773e63d8 rmodifier: add option "missing" for command /rmodifier 2013-08-05 20:37:59 +02:00
Sebastien Helleu
227f8ac604 core: fix uninitialized variable "result" in callback of command /eval 2013-08-04 12:51:01 +02:00
Sebastien Helleu
f22b0311b9 core: change colors of example in /help weechat.look.buffer_time_format 2013-08-04 12:48:06 +02:00
Sebastien Helleu
390443112c core: optimize creation of hashtable "pointers" in eval_expression if argument is NULL
The hashtable is created on first call to eval_expression with pointers == NULL.
On next calls, the hashtable is cleared, then used again.
The hashtable is freed on exit.
2013-08-04 12:42:29 +02:00
Sebastien Helleu
2dff60d7f8 core: replace "behaviour" by "behavior" 2013-08-04 12:21:47 +02:00
Sebastien Helleu
8ca36552ea core: change color format for options from ${xxx} to ${color:xxx}
Options affected:
- weechat.look.buffer_time_format
- weechat.look.prefix_action
- weechat.look.prefix_error
- weechat.look.prefix_join
- weechat.look.prefix_network
- weechat.look.prefix_quit
2013-08-04 12:18:47 +02:00
Sebastien Helleu
f486b84134 core: fix asciidoc formatting in ChangeLog 2013-08-04 11:14:51 +02:00
Sebastien Helleu
234c7506ad doc: remove option ENABLE_DEMO for cmake in user's guide (demo plugin has been removed) 2013-08-04 10:16:43 +02:00
Sebastien Helleu
6ea81f4c8c api: add support of colors with format "${color:xxx}" in function string_eval_expression and command /eval 2013-08-04 10:09:53 +02:00
Sebastien Helleu
dc878c5b69 api: add argument "options" in function string_eval_expression, add option "-c" for command /eval (to evaluate a condition) 2013-08-04 08:56:56 +02:00
Sebastien Helleu
b94a1ce59b doc: fix typo in examples for function bar_new (plugin API reference) 2013-08-03 22:11:04 +02:00
Sebastien Helleu
43e3ff3b1a core: change the message displayed when passphrase is not given on startup 2013-08-02 23:18:09 +02:00
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