Sébastien Helleu
7aaf3be15b
api: add argument "flags" in function hdata_new_list
2014-05-24 18:03:14 +02:00
Sébastien Helleu
a03232e155
core: add default key alt-'-' to toggle filters in current buffer ( closes #17 )
2014-04-01 16:00:44 +02:00
Sebastien Helleu
89160c565e
core: fix add of filter on OS X when regex for message is empty (filter regex ending with "\t")
2014-03-19 19:59:02 +01:00
Sebastien Helleu
437767c0ca
api: add integer return code for functions hook_{signal|hsignal}_send
2014-02-10 17:42:53 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
Sebastien Helleu
2f3d712a62
core: fix use of NULL pointer (in case of malloc error) when creating a new filter
2013-12-15 19:50:56 +01:00
Sebastien Helleu
811b68991e
core: add logical "and" between tags in filters, weechat.look.highlight_tags and buffer property "highlight_tags"
...
The logical "and" is made with the separator "+".
Example: "irc_notice+nick_toto,nick_test"
will match a notice from nick "toto" or any message from nick "test".
2013-12-14 11:26:03 +01:00
Sebastien Helleu
53ec644ce1
core: fix truncated prefix when filters are toggled (bug #40204 )
2013-10-19 16:21:20 +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
21356d9909
core: add "proxy" infolist and hdata
2013-06-08 11:40:27 +02:00
Sebastien Helleu
1cdbc27abf
core: fix refresh of line after changes with hdata_update (update flag "displayed" according to filters)
2013-02-04 08:29:57 +01:00
Sebastien Helleu
632e2c1eae
core: fix scroll in buffer after enabling/disabling some filters (if scroll is on a hidden line) (bug #37885 )
2013-01-01 13:24:19 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
7eb5cc4b97
core: move comments with description of C file to top of files
2012-12-15 12:27:57 +01:00
Sebastien Helleu
7d34812f1c
core: reformat comments for functions
2012-12-13 18:51:44 +01:00
Sebastien Helleu
641de51bdb
api: allow creation of structure with hdata_update (allowed for hdata "history")
2012-12-08 23:54:07 +01:00
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
eab0110732
core: add support of arrays in hdata variables
2012-07-20 18:12:07 +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
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
80d1a52304
core: use extended regex in filters (patch #7616 )
2012-01-06 13:24:16 +01:00
Sebastien Helleu
6f6e1569cd
core: add "full_name" in buffer structure
2011-11-21 17:55:30 +01:00
Sebastien Helleu
61e5a4bcdb
core: apply filters after full reload of configuration files (with /reload) (bug #31182 )
2011-11-17 22:11:39 +01:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +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
c8b2a6a084
core: add "hdata" (direct access to WeeChat/plugin data)
2011-06-13 12:32:27 +02:00
Sebastien Helleu
c71e2cad38
Add function "buffer_match_list" in plugin API
2011-03-11 18:39:37 +01:00
Sebastien Helleu
df8a678995
Add missing variable "buffers" in dump of filters
2011-03-09 19:14:07 +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
d24f6e9e17
Update copyright dates
2011-01-01 18:06:29 +01:00
Sebastien Helleu
9605a8726f
Add new option weechat.look.prefix_align_min (task #10650 )
2010-10-02 00:29:19 +02:00
Sebastien Helleu
8dc23863c5
Use '!' to reverse a regex in a filter (to keep lines matching regex and hide other lines)
2010-07-16 19:45:14 +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
31bfcf96c7
Reformat and add comments for description of C sources
2010-04-08 18:15:00 +02:00
Sebastien Helleu
eb56a98fc8
Remove evil tabs in sources
2010-01-24 10:47:53 +01:00
Sebastien Helleu
2133eb30ff
Update copyright dates
2010-01-03 19:31:55 +01:00
Sebastien Helleu
2f7a5a4147
Rename function string_explode to string_split
2009-06-28 19:49:32 +02:00
Sebastien Helleu
58e6a514eb
Fix line filtering after /upgrade when filter applies on one buffer only
2009-06-12 14:47:22 +02:00
Sebastien Helleu
8d58b81d83
Add buffer merging feature, with /buffer merge/unmerge (task #7404 )
2009-06-10 12:40:05 +02:00
Sebastien Helleu
9303884613
Add filter with third argument of infolist_get for some infolists (bars, bar items, buffers, filters, plugins, irc_server, alias, script list)
2009-04-24 18:59:22 +02:00
Sebastien Helleu
b05f21f26a
Add plugin name in buffer name for filters
...
For example, freenode.#weechat becomes irc.freenode.#weechat for buffer name
in filter.
2009-01-30 14:59:16 +01:00
Sebastien Helleu
2115f3f675
Update copyright dates
2009-01-03 10:06:53 +01:00
Sebastien Helleu
d32b22f76f
Fix bug with pointer conversions on 64 bits architecture
2008-11-04 15:34:44 +01:00
Sebastien Helleu
b712ed09d7
Add smart join/part/quit message filter in IRC plugin, add names for filters
2008-10-25 19:13:43 +02:00
Sebastien Helleu
4c8b4d6080
Add "enabled" flag for each filter (now possible to disable only one or some filters)
2008-10-24 18:17:10 +02:00
Sebastien Helleu
ac107802fd
Aspell plugin is born again
2008-10-18 16:03:16 +02:00
Sebastien Helleu
9fa560300f
Fix some memory leaks
2008-09-30 12:13:00 +02:00