1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 08:13:14 +02:00
Commit Graph

51 Commits

Author SHA1 Message Date
Sebastien Helleu df80aa5fc9 api: allow update for some variables of hdata, add new functions hdata_update and hdata_set 2012-08-27 09:47:46 +02:00
Sebastien Helleu bfabcd68c8 core: fix use of unitialized value (line->data->display) when adding a line in buffer 2012-08-14 10:08:16 +02:00
Sebastien Helleu eab0110732 core: add support of arrays in hdata variables 2012-07-20 18:12:07 +02:00
Sebastien Helleu 44acc36e7d core: fix typo in comment 2012-07-17 22:36:11 +02:00
Sebastien Helleu d8c9013aff core: fix color of nicks in buffers without nicklist when option weechat.look.color_nick_offline is on 2012-06-09 11:31:06 +02:00
Sebastien Helleu 200652836b core: add options to use different color for offline nicks in prefix (patch from Nei) (task #11109)
New options:
- weechat.look.color_nick_offline: boolean to enable feature (off by default)
- weechat.color.chat_nick_offline: color for offline nicks (displayed in prefix)
2012-06-09 08:53:50 +02:00
Sebastien Helleu 04e98c3f29 core: force display of prefix on first line displayed in window (even if it should be hidden by option weechat.look.prefix_same_nick) 2012-05-22 07:59:59 +02:00
Sebastien Helleu 5459e6595a core: fix bugs with option weechat.look.prefix_same_nick, use nick color for string used as replacement
Bugs fixed:
- hide/replace prefix only if prefix is a nick (do not do it for join/part/quit or action messages)
- hide/replace prefix only when displaying messages (do not cache value in lines)

The nick color used in replacement string comes from tag "prefix_nick_ccc", where "ccc" is the color of nick.
2012-04-03 21:22:53 +02:00
Sebastien Helleu 7038630b6d core: fix bug with option weechat.look.prefix_same_nick and filtered lines 2012-04-01 08:39:11 +02:00
Sebastien Helleu 67115edf3d core: add option weechat.look.prefix_same_nick (hide or change prefix on messages whose nick is the same as previous message) (task #11965) 2012-03-28 18:07:15 +02:00
Sebastien Helleu 47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +01:00
Sebastien Helleu f0b8181395 core: add signal "buffer_line_added" 2011-12-17 17:34:45 +01:00
Sebastien Helleu c40a281ce4 core: fix type of variables in hdata "line_data" (type integer -> char) 2011-11-25 15:23:28 +01:00
Sebastien Helleu 6f6e1569cd core: add "full_name" in buffer structure 2011-11-21 17:55:30 +01:00
Sebastien Helleu f211a839f6 core: rename options weechat.history.{max_lines|max_minutes} to weechat.history.{max_buffer_lines_number|max_buffer_lines_minutes} 2011-11-05 12:53:29 +01:00
Sebastien Helleu d16d11b392 core: add option weechat.history.max_minutes: maximum number of minutes in history per buffer (task #10900) (patch from Quentin Pradet) 2011-11-01 19:30:30 +01:00
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu be137ba3fc core: add missing assignment of buffer pointer in line structure 2011-09-20 17:15:03 +02:00
Sebastien Helleu cc3a4834d0 core: allow empty short name on buffers (name is used if not set) 2011-08-14 13:20:03 +02:00
Sebastien Helleu 1cb7c6a6c5 core: return info about line/word for chat area in focus hashtable, add keys m/q/Q to quote line in cursor mode, sort mouse keys by priority 2011-08-14 11:30:08 +02:00
Sebastien Helleu 8d2c23209f core: save and restore layout for buffers and windows on /upgrade 2011-08-05 23:15:23 +02:00
Sebastien Helleu 19bc95b961 core: many improvements on hdata
New features:
- add optional hdata name for variables in hdata
- add plugin API functions: hdata_get_var_hdata
- use hashtable to store hdata (created by WeeChat and plugins)
- free hdata and infolists created by plugin on plugin unload
- free all hdata on exit
- add "free" option to command /debug hdata
- remove hdata for hooks
2011-06-26 18:15:42 +02:00
Sebastien Helleu 52d7770ff1 core: add local variable "highlight_regex" in buffers 2011-06-15 17:43:46 +02:00
Sebastien Helleu c8b2a6a084 core: add "hdata" (direct access to WeeChat/plugin data) 2011-06-13 12:32:27 +02:00
Sebastien Helleu 70b0f12469 core: add buffer to hotlist if away is set on buffer (even if buffer is displayed) (task #10948), do not update hotlist during upgrade 2011-04-23 17:23:17 +02:00
Sebastien Helleu 9d128cad22 core: add messages counts in hotlist for each buffer, option weechat.look.hotlist_buffer_separator and tag "notify_none"
New options:
- weechat.look.hotlist_buffer_separator
- weechat.look.hotlist_count_max
- weechat.look.hotlist_count_min_msg
- weechat.color.status_count_msg
- weechat.color.status_count_private
- weechat.color.status_count_highlight
- weechat.color.status_count_other
2011-04-11 13:57:00 +02:00
Sebastien Helleu 8c13cab941 Add new option weechat.look.highlight_tags (force highlight on tags) 2011-03-18 12:17:21 +01:00
Sebastien Helleu e2510cbd04 Allow list of buffers in command /filter (exclusion with prefix "!") (task #10880) 2011-03-09 10:13:41 +01:00
Sebastien Helleu 6f047c4a05 Remember scroll position for all buffers in windows (bug #25555) 2011-03-01 16:31:56 +01:00
Sebastien Helleu 25fe7a53a1 Fix scroll problem on buffers with free content and non-allocated lines (bug #32039) 2011-01-05 14:58:17 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 528dc258ca Replace buffer local variable "no_highlight_nicks" by "hotlist_max_level_nicks" 2010-11-29 10:17:09 +01:00
Sebastien Helleu e92079cfe9 Add new option weechat.look.highlight_regex and function string_has_highlight_regex in plugin API (task #10321) 2010-11-25 21:28:14 +01:00
Sebastien Helleu a56dc00b2f Set highlight flag on line printed if there is tag "notify_highlight" 2010-11-05 12:13:00 +01:00
Sebastien Helleu fe2a361364 Add property "no_highlight_nicks" in buffers to disable highlight for some nicks in buffer
This can be used with script buffer_autoset.py (see /help autosetbuffer).
2010-10-11 16:29:15 +02:00
Sebastien Helleu 9605a8726f Add new option weechat.look.prefix_align_min (task #10650) 2010-10-02 00:29:19 +02:00
Sebastien Helleu 7e6088570b Add new option weechat.look.align_end_of_lines 2010-07-12 09:43:16 +02:00
Sebastien Helleu 6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00
Sebastien Helleu 4456a6047f Remove unused variable 2010-04-14 19:25:59 +02:00
Sebastien Helleu 1dba2c8c92 Fix crash on /quit when scrolling in buffer and if first line displayed was from a plugin 2010-04-14 19:24:54 +02:00
Sebastien Helleu 31bfcf96c7 Reformat and add comments for description of C sources 2010-04-08 18:15:00 +02:00
Sebastien Helleu 187381f1d1 Allow buffer local variables in highlight words (option "weechat.look.highlight" and buffer property "highlight_words")
For example "$nick" with highlight a message printed if it contains content of local variable "nick" for buffer.
2010-04-03 17:25:13 +02:00
Sebastien Helleu 2801b8437c Reformat multi-line comments 2010-03-19 23:33:14 +01:00
Sebastien Helleu 10a3954908 Fix alignment in buffers lines when time is empty string 2010-01-28 10:15:48 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu 88b65fe3c2 Add new option weechat.look.prefix_buffer_align_max 2009-08-29 10:30:25 +02:00
Sebastien Helleu 7d25b62665 Fix hotlist bug after /buffer unmerge (bug #27133) 2009-07-29 10:38:45 +02:00
Sebastien Helleu 2f7a5a4147 Rename function string_explode to string_split 2009-06-28 19:49:32 +02:00
Sebastien Helleu 16e741f063 Fix bug with pointer to last read line in merged buffers (can lead to crash) 2009-06-22 11:46:29 +02:00
Sebastien Helleu 76b883f05f Fix bug after /upgrade on buffers with free content (bug #26020) 2009-06-21 14:10:41 +02:00