1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 15:26:37 +02:00
Commit Graph

50 Commits

Author SHA1 Message Date
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
Sebastien Helleu c572e393e7 Remove "category" for buffers (keep only name). 2008-09-18 18:44:03 +02:00
Sebastien Helleu e43dd39646 Reintroduce /ignore command to ignore IRC nicks/hosts, using regex 2008-09-03 18:20:35 +02:00
Sebastien Helleu cd586cda77 Add infolist for list of filters ("filter") 2008-09-03 10:09:22 +02:00
Sebastien Helleu 209df25bdb Add "no_filter" tag, to prevent some lines to be filtered (like output of /filter command) 2008-09-03 09:39:08 +02:00
Sebastien Helleu 9c90a31d35 Fix display bug with prefix when filters are enable: do not count prefix length if line is not displayed 2008-06-07 10:08:53 +02:00
Sebastien Helleu 3a53257032 Add "const" keyword for some "char *" function arguments (core and plugins API) 2008-06-03 10:56:51 +02:00
Sebastien Helleu ae98666bc6 Added "toggle" value for /set on boolean options, fixed refresh bugs, added option type for infolist "options" 2008-04-16 14:44:02 +02:00
Sebastien Helleu 8117668827 Fixed bugs with filters (regex and refresh of buffers) 2008-04-03 13:08:39 +02:00
Sebastien Helleu 57323fa71e Removed sizeof(char) and useless type casts from void* to another pointer type (patch from Leonid Evdokimov) 2008-03-23 23:00:04 +01:00
Sebastien Helleu 61ca929728 Added tags for lines and custom filtering by tags or regex (task #7674), fixed many memory leaks 2008-03-22 23:36:12 +01:00