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
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
39787d483a
api: add list "gui_buffer_last_displayed" in hdata "buffer"
2012-03-05 08:02:55 +01:00
Sebastien Helleu
205a869598
core: fix memory leak when closing buffer
2012-02-19 19:15:14 +01:00
Sebastien Helleu
5f6df8021b
core: add support of flags in regular expressions and highlight options, add irc options to customize/disable default nick highlight (task #11128 )
...
New functions in C plugin API:
- string_regex_flags
- string_regcomp
New irc options:
- irc.look.highlight_server
- irc.look.highlight_channel
- irc.look.highlight_pv
Regex flags are supported in following options/commands:
- option weechat.look.highlight
- option weechat.look.highlight_regex
- options irc.look.highlight_{server|channel|pv}
- option relay.network.allowed_ips
- core command /filter
- irc command /list
- irc command /ignore
- rmodifier command /rmodifier
2012-01-22 13:48:42 +01:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
6f3fd239be
core: add type "hashtable" for hdata, new api functions: hdata_hashtable and hashtable_map_string
2011-12-19 22:39:24 +01:00
Sebastien Helleu
6f6e1569cd
core: add "full_name" in buffer structure
2011-11-21 17:55:30 +01:00
Sebastien Helleu
2c6d525045
core: add option "jump_last_buffer_displayed" for command /input (key: alt+"/") (task #11553 )
2011-11-08 18:51:15 +01:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
Sebastien Helleu
f843f904bc
core: fix bugs with calls to realloc
2011-08-28 15:25:30 +02:00
Sebastien Helleu
44f2b7caf4
core: add functions "key_bind" and "key_unbind" in plugin API
2011-08-20 10:52:27 +02:00
Sebastien Helleu
aa948c76a3
core: remove some compilation warnings under Cygwin
2011-08-18 11:09:46 +02:00
Sebastien Helleu
5073cd3476
core: add buffer property "short_name_is_set", return name if short name is not set (in buffer infolist or property)
2011-08-14 16:04:12 +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
6b4416042b
core: add "layout_number_merge_order" in buffer properties that can be read
2011-08-06 23:05:43 +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
982db541ec
core: fix unwanted merge of buffers when no layout number is assigned to buffer
2011-08-05 13:23:43 +02:00
Sebastien Helleu
d27c459c1d
core: fix bugs with automatic layout (bug #26110 ), add support of merged buffers in layout (task #10893 )
2011-08-05 13:18:03 +02:00
Sebastien Helleu
6442302f3f
core: add option -all for command /buffer unmerge
2011-08-04 17:24:53 +02:00
Sebastien Helleu
3bea55b2f0
core: add context "search" for keys (to define keys used during search in buffer with ctrl+"r")
2011-07-05 15:36:42 +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
97de735761
core: remove unused variables
2011-05-01 10:55:10 +02:00
Sebastien Helleu
d6e4b2cc87
core: add date and date_printed of each line in dump of buffers
2011-04-24 18:07:56 +02:00
Sebastien Helleu
175a4e2fa5
core: recalculate buffer_max_length when buffer short name is changed (patch #7441 )
2011-04-24 10:25:45 +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
176454afa1
core: add prefix in addition of message in output of /debug buffer
2011-04-07 14:56:29 +02:00
Sebastien Helleu
c71e2cad38
Add function "buffer_match_list" in plugin API
2011-03-11 18:39:37 +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
ccb08945a1
Dynamically allocate color pairs
...
This commit introduces major changes in 256 colors support:
- extended colors can be used without being added with command "/color add"
- background color is now allowed for nick colors (using slash separator)
2011-01-31 19:03:30 +01:00
Sebastien Helleu
d24f6e9e17
Update copyright dates
2011-01-01 18:06:29 +01:00
Sebastien Helleu
0721bb1d4c
Add new command /color
2011-01-01 14:39:12 +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
908d9ca602
Add refresh when buffer property "nicklist_display_groups" is changed
2010-10-28 19:35:14 +02:00
Sebastien Helleu
ebf94445b9
Use const void * for keys and values in some hashtable functions
2010-10-17 10:39:51 +02:00
Sebastien Helleu
79c8c90256
Fix bug with buffer name in "/bar scroll" command
2010-10-15 16:06:17 +02: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
c3be323a73
Fix memory leak in function gui_buffer_set_highlight_words_list
2010-09-27 16:35:14 +02:00
Sebastien Helleu
4a97ea68f5
Free hashtable with local variables when closing buffer (memory leak)
2010-09-27 16:17:56 +02:00
Sebastien Helleu
bd7ae6d5a7
Add new option weechat.look.input_share (task #9228 )
2010-09-27 16:07:27 +02:00
Sebastien Helleu
94fbbc0a7f
Use of hashtable for local variables of buffers
2010-07-05 17:05:49 +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
f1dfe08243
Add keys for undo/redo changes on command line (default: ctrl/alt + underscore) (task #9483 )
2010-04-28 23:24:32 +02:00
Sebastien Helleu
31bfcf96c7
Reformat and add comments for description of C sources
2010-04-08 18:15:00 +02:00
Sebastien Helleu
9399c9f9cb
Add missing properties "highlight_words_add" and "highlight_words_del" in array gui_buffer_properties_set
2010-04-05 13:45:59 +02:00
Sebastien Helleu
96f49f39e0
Add or remove highlight words in a buffer with "highlight_words_add" and "highlight_words_del" (for buffer_set)
2010-04-03 19:11:02 +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