summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-08-19core: add syntax "@buffer:item" in bar items to force the buffer used when ↵Sebastien Helleu
displaying the bar item (task #12717)
2013-08-18irc: replace default prefix modes "qaohvu" by the standard ones "ov" when ↵Sebastien Helleu
PREFIX is not sent by server (bug #39802)
2013-08-17core: use shared strings for groups/nicks in nicklistSebastien Helleu
2013-08-17core: use shared strings for prefix on linesSebastien Helleu
It can reduce by about 10% the memory used for lines in a buffer.
2013-08-17core: add commment in function string_shared_get (returned value must not be ↵Sebastien Helleu
changed)
2013-08-17core: add search of regular expression in buffer, don't reset search type on ↵Sebastien Helleu
a new search, select where to search (messages/prefixes) Key changed in search context: - ctrl+"r": switch search type: string/regex New keys in search context: - alt+"c": case (in)sensitive search - tab: search in messages/prefixes/both
2013-08-16core: add text emphasis in messages when searching text in bufferSebastien Helleu
New options: - weechat.look.emphasized_attributes - weechat.color.emphasized - weechat.color.emphasized_bg
2013-08-15core: remove obsolete enum t_config_look_nicklistSebastien Helleu
2013-08-12core: add comment with return value of function string_regcompSebastien Helleu
2013-08-11core: add note about "strftime" in help of options ↵Sebastien Helleu
weechat.look.day_change_time_format and weechat.look.time_format
2013-08-10core: use shared strings for tags on linesSebastien Helleu
It can reduce by about 30% the memory used for lines in a buffer.
2013-08-10core: add support of shared strings in split of strings (add functions ↵Sebastien Helleu
string_split_shared and string_free_split_shared)
2013-08-10core: add shared strings to reduce memory usageSebastien Helleu
Shared strings are stored in a hashtable with pointer for keys (values are not used). The key has a reference count + the string. The initial reference count is set to 1 and is incremented each time the same string is asked. When removing a shared string, the reference count is decremented. If it becomes 0, then the shared string is removed from the hashtable (and then the string is really destroyed).
2013-08-10core: fix random crash on "/buffer close" with a buffer number (or a range ↵Sebastien Helleu
of buffers)
2013-08-10core: optimize the removal of lines in buffers (a lot faster to clear/close ↵Sebastien Helleu
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-10core: change type of hashtable key hash to unsigned long, return item ↵Sebastien Helleu
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-09core: check that value is not NULL before calling free in hashtable_free_valueSebastien Helleu
2013-08-09core: add "callback_free_key" in hashtableSebastien Helleu
2013-08-09core: set "callback_free_value" directly in hashtable without calling ↵Sebastien Helleu
function hashtable_set_pointer
2013-08-07core: remove symbolic link "weechat-curses" on make uninstall (cmake and ↵Sebastien Helleu
autotools)
2013-08-07core: fix typo in comment for creation of symbolic link "weechat-curses"Sebastien Helleu
2013-08-07core: fix typo in /help secureSebastien Helleu
2013-08-06core: use $DESTDIR when creating symbolic link "weechat-curses" with cmakeSebastien Helleu
2013-08-05rmodifier: add option "missing" for command /rmodifierSebastien Helleu
2013-08-04core: fix uninitialized variable "result" in callback of command /evalSebastien Helleu
2013-08-04core: change colors of example in /help weechat.look.buffer_time_formatSebastien Helleu
2013-08-04core: optimize creation of hashtable "pointers" in eval_expression if ↵Sebastien Helleu
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-04core: change color format for options from `${xxx}` to `${color:xxx}`Sebastien Helleu
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-04api: add support of colors with format "${color:xxx}" in function ↵Sebastien Helleu
string_eval_expression and command /eval
2013-08-04api: add argument "options" in function string_eval_expression, add option ↵Sebastien Helleu
"-c" for command /eval (to evaluate a condition)
2013-08-02core: change the message displayed when passphrase is not given on startupSebastien Helleu
2013-08-02core: remove use of function gcry_kdf_derive so that it compiles with ↵Sebastien Helleu
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-02core: change the message displayed on /secure decrypt -discardSebastien Helleu
2013-08-02core: update translationsSebastien Helleu
2013-08-02Merge branch 'secured-data'Sebastien Helleu
2013-08-02core: add platform-dependent extension on "weechat-curses" link (so that ↵Sebastien Helleu
link is "weechat-curses.exe" on cygwin)
2013-08-02core: rename binary and man page from "weechat-curses" to "weechat" (task ↵Sebastien Helleu
#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-01core: fix compiler warning on freopen (ignore file returned)Sebastien Helleu
2013-08-01script: fix uninitialized pointer in detailed view of a scriptSebastien Helleu
2013-07-31core: do not scroll when using /window {page_down|scroll_down} after /window ↵Sebastien Helleu
scroll_beyond_end
2013-07-31plugins: remove the demo pluginSebastien Helleu
2013-07-31core: reset scroll after /window {page_down|scroll_down} if last line of ↵Sebastien Helleu
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-30irc: use 6697 as default port for SSL servers created with URL "ircs://" ↵Sebastien Helleu
(bug #39621)
2013-07-30rmodifier: update default rmodifier for /secure (add option decrypt)Sebastien Helleu
2013-07-30core: in case of empty passphrase, keep encrypted data in memory until the ↵Sebastien Helleu
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-30core: use variable "items_count" directly from hashtable without calling ↵Sebastien Helleu
function hashtable_get_integer
2013-07-29irc: add note about evaluated content of option (for options allowing ↵Sebastien Helleu
secured data inside)
2013-07-29core: add note about evaluated content of option (for options allowing ↵Sebastien Helleu
secured data inside)
2013-07-28script: add info about things defined by script in the detailed view of ↵Sebastien Helleu
script (/script show)
2013-07-28api: use pointer for infolist "hook" to return only one hookSebastien Helleu