1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00
Commit Graph

116 Commits

Author SHA1 Message Date
Sébastien Helleu 02eed97d97 relay: fix crash when closing relay buffers (closes #57, closes #78)
A flag "closing" has been added in buffers. It is set to 1 when the buffer
is closing, and then no more printf is allowed in the buffer (a message
printed on relay buffer was causing a crash when it is closed).
2014-05-24 18:57:29 +02:00
Sébastien Helleu 55d77ed216 core: add option -all for command /buffer hide|unhide 2014-04-05 18:43:11 +02:00
Sébastien Helleu c7ce05d5ec core: add hidden buffers, add options hide/unhide in command /buffer 2014-04-05 16:30:13 +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
Sébastien Helleu 0e561104fa core: add non-active merged buffers with activity in hotlist (if another merged buffer is zoomed) (task #12845)
There was a bug with "num_displayed" in buffers when they are merged and
that one buffer is zoomed: now the num_displayed is > 0 for the active buffer,
and it is set to 0 for all merged non-active buffers (only in case of zoom).

A variable "zoomed" has been added in buffers to know if a buffer with this
number is zoomed or not (possibly another buffer).
2014-03-31 10:31:56 +02:00
Sebastien Helleu 92ec36eced core: add buffer property "clear" 2014-03-25 10:55:12 +01:00
Sebastien Helleu 9b380a935b core: fix use of reserved C identifiers in headers (closes #31) 2014-03-19 10:39:13 +01:00
Sebastien Helleu 9c838d2628 api: add support of case insensitive search and search by buffer full name in function buffer_search (bug #34318) 2014-03-11 15:07:36 +01:00
Sebastien Helleu 79f2f46dec core: rename option weechat.look.save_layout_on_exit to weechat.look.store_layout_on_exit, replace "save" by "store" for layouts 2014-01-21 22:03:12 +01:00
Sebastien Helleu 892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu d52d214448 core: add buffer property "highlight_tags_restrict", rename option irc.look.highlight_tags to irc.look.highlight_tags_restrict
The buffer property "highlight_tags" is renamed to "highlight_tags_restrict".
New behavior for buffer property "highlight_tags": force highlight on tags.
Option irc.look.highlight_tags is renamed to irc.look.highlight_tags_restrict.
2013-12-15 13:45:40 +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 58f1403414 Merge branch 'buffer-auto-renumber' 2013-12-11 18:54:06 +01:00
Sebastien Helleu 1d7466032d core: add buffer property "day_change" to hide messages for the day change in specific buffers 2013-12-04 09:38:57 +01:00
Sebastien Helleu c8a479453d core: add missing access to hdata "buffer_visited" 2013-12-01 08:46:07 +01:00
Sebastien Helleu 92d6074931 core: add limits for buffers (max 10000 buffers opened, number of a buffer: between 1 and INT_MAX - 10000) 2013-11-30 18:45:19 +01:00
Sebastien Helleu 4c59f2bf5e core: add variable "gui_buffers_count", use it in bar item "buffer_count"
Now the bar item "buffer_count" displays the number of opened buffers
(each merged buffer counts 1).
2013-11-30 15:11:17 +01:00
Sebastien Helleu a496db78aa core: add option weechat.look.buffer_auto_renumber
New option: weechat.look.buffer_auto_renumber, boolean which is on by
default, so the behavior is the same: no gap is allowed in numbers,
they start at number 1 and they are auto-renumbered after each command
like /buffer move, /buffer merge, ...

A new option "renumber" has been added in command /buffer, to renumber
a range of buffers (or all).

Changes when the option weechat.look.buffer_auto_renumber is off:

- command "/buffer move":
    - the current number will be left free for use, and the
      target number can be any number >= 1 (possibly higher than the
      current last buffer number)
    - the value can be "-" (which moves the buffer to number 1)
      or "+" (which moves the buffer to the end, ie last number + 1)

- command "/buffer swap":
    - now the buffers are swapped in the list without being "moved"

- comand "/buffer [+/-]N":
    - it is now working with gaps in buffer numbers

- command "/buffer merge":
    - it can now merge a group of merged buffers into another buffer
      (or buffers merged themselves)

- layout can restore buffer numbers with gaps in numbers
2013-11-30 10:39:38 +01:00
Sebastien Helleu 600ee3ddf3 core: add search of regular expression in buffer, don't reset search type on 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-17 11:51:50 +02:00
Sebastien Helleu 8b925baa3c core: add count for groups, nicks, and total in nicklist 2013-03-03 11:30:58 +01:00
Sebastien Helleu f97598b4aa core: update copyright dates 2013-01-01 13:12:49 +01:00
Sebastien Helleu 638b2e3f1c core: fix typo in comment 2012-12-01 12:34:22 +01:00
Sebastien Helleu e1a54d49eb core: add default key alt+"x" (zoom on merged buffer) (task #11029) 2012-08-30 10:46:42 +02:00
Nils Görs ee74131f69 core: add option "swap" for command /buffer (task #11373) 2012-07-29 20:08:52 +02:00
Sebastien Helleu d66555f387 core: add callback "nickcmp" for nick comparison in buffers 2012-06-14 20:06:42 +02:00
Sebastien Helleu 47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +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 cc3a4834d0 core: allow empty short name on buffers (name is used if not set) 2011-08-14 13:20: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 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 54a6f42de5 core: add number in windows, improve mouse/cursor actions when screen is split 2011-07-29 19:46:02 +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 c71e2cad38 Add function "buffer_match_list" in plugin API 2011-03-11 18:39:37 +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 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 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 dcdba08f8a Update comments after #endif in C headers 2010-06-25 15:03:39 +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 df0d408ce9 Add option "get" for command /buffer, add completions with buffer properties 2010-04-03 16:05:39 +02:00
Sebastien Helleu 56526db5cf Fix infinite loop with /layout apply and bug when applying layout, sometimes many /layout apply were needed (bug #26110) 2010-03-29 16:30:23 +02:00
Sebastien Helleu 96e6ae3fc3 Add new options for command /key (listdefault, listdiff and reset), add examples in /help key
Note: old option "reset" for /key has been renamed to "resetall".
2010-03-24 19:54:31 +01:00