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
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