1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 13:26:38 +02:00
Commit Graph

1338 Commits

Author SHA1 Message Date
Sébastien Helleu 3aadfc6765 core: fix insert of mouse code in input line after a partial key combo (closes #130) 2014-07-21 21:29:44 +02:00
Sébastien Helleu d0b95b6858 core: remove whitespace in cmake files 2014-07-20 19:16:01 +02:00
Sébastien Helleu f2fd562d79 core: fix build with autotools (add main.c) 2014-07-20 18:53:13 +02:00
Sébastien Helleu ce98ded306 core: fix link errors with ncurses library 2014-07-20 16:16:08 +02:00
Sébastien Helleu de7e7585dd core: do not exit WeeChat in weechat_end() (let the caller do that)
This is needed for automated tests, to exit with return code of tests.
2014-07-14 20:03:39 +02:00
Sébastien Helleu 9935b336ed core: move main() function into Curses GUI 2014-07-14 20:03:39 +02:00
Sébastien Helleu 1f65f80db4 core: send signal key_combo_xxx even for unknown combos 2014-07-14 20:02:26 +02:00
Sébastien Helleu 32751e59ca core: hide message timestamp in bare display if timestamp is disabled in buffer (closes #129) 2014-07-14 10:05:16 +02:00
Sébastien Helleu f80a80204a core: add option weechat.color.status_nicklist_count (closes #109, closes #110) 2014-07-12 08:13:58 +02:00
Sébastien Helleu 17e451ae55 core: fix color display of last color number + 1 (closes #101) 2014-06-07 17:08:17 +02:00
Sébastien Helleu 5d0a74a43e core: add option weechat.look.hotlist_remove (closes #99) 2014-06-06 19:39:19 +02:00
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 7aaf3be15b api: add argument "flags" in function hdata_new_list 2014-05-24 18:03:14 +02:00
Sébastien Helleu 838a71cceb core: fix reset of attributes between nick colors in /color buffer 2014-05-22 20:46:14 +02:00
Sébastien Helleu 91a88eb224 core: fix display of item buffer_short_name when the short name is not defined in buffer 2014-05-18 17:39:22 +02:00
Sébastien Helleu b1430131a7 core: add bar item "buffer_short_name" (task #10882) 2014-05-16 20:55:56 +02:00
Sébastien Helleu 37200b46e8 core: add parentheses around tests in conditions 2014-05-08 10:51:26 +02:00
stfn cc03a85744 core: add support for negated tags in filters (closes #72) 2014-05-07 13:07:59 +02:00
Sébastien Helleu 7f1cd19b45 core: change default key for bare display from alt-'!' to alt-'l' 2014-05-04 17:35:22 +02:00
Sébastien Helleu 7618fdd240 core: use lower case for CMake keywords 2014-04-12 18:00:27 +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 79533566c6 core: add a message about key alt-c in /color buffer 2014-04-04 10:31:35 +02:00
Sébastien Helleu c4c6d2cddc core: add "hotlist" in completion of command "/buffer set" 2014-04-03 14:34:01 +02:00
Sébastien Helleu 55e43e15f8 api: allow value "-1" for property "hotlist" in function buffer_set (to remove a buffer from hotlist) 2014-04-03 13:53:18 +02:00
Sébastien Helleu a0d0711bb0 core: use an integer for seconds in command /window bare <delay> 2014-04-02 13:29:58 +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 e96639123b core: don't remove a buffer from hotlist if it's not visible (another merged buffer is zoomed) 2014-03-31 11:26:06 +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
Sébastien Helleu 1fedd443da core: fix refresh of bar item "buffer_zoom" on buffer switch 2014-03-31 10:27:31 +02:00
Sébastien Helleu 58e86f004c core: use seconds as float number for delay in command /window bare <delay> 2014-03-30 22:28:51 +02:00
Sebastien Helleu 0cfbae1512 core: fix reset of attributes in bars when "resetcolor" is used (closes #41) 2014-03-30 08:34:32 +02:00
Sebastien Helleu 5c1e5988f9 core: fix alignment of lines in merged buffers (closes #43)
The bug happened when options weechat.look.prefix_align and
weechat.look.prefix_buffer_align are set to "none".
2014-03-29 20:26:49 +01:00
Sebastien Helleu 2e08e39d2e core: quit WeeChat on signal SIGHUP, remove signal "signal_sighup" 2014-03-29 18:21:05 +01:00
Sebastien Helleu db000cd3b0 core: add text search in buffers with free content (task #13051) 2014-03-29 17:06:36 +01:00
Sebastien Helleu 6a5f0fbc07 core: fix crash on /reload weechat
The problem was introduced in commit eef3b57075
which was storing split commands inside keys themselves (for optimization).

This causes a problem when weechat.conf is reloaded, because all keys are
then deleted and created again, which removes the array of commands which
is currently used. And then it leads to a crash of WeeChat.

This commit reverts this behavior and the key commands are split when they
are executed.
2014-03-27 07:53:01 +01:00
Sebastien Helleu 03f73b8cdc core: skip and ignore color attributes before special names like "reset" in gui_color_get_custom 2014-03-25 15:36:21 +01:00
Sebastien Helleu 92ec36eced core: add buffer property "clear" 2014-03-25 10:55:12 +01: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 9b380a935b core: fix use of reserved C identifiers in headers (closes #31) 2014-03-19 10:39:13 +01:00
Sebastien Helleu bc96d2f1ec core: add key alt-j,alt-f to jump to first buffer, change command for jump to last buffer
New key alt-j,alt-f is bound by default to "/buffer -".
The existing key alt-j,alt-l is now bound by default to "/buffer +".
2014-03-19 10:15:57 +01:00
Sebastien Helleu db852a3f26 core: fix "/window scroll_bottom" on a buffer with free content
The bug was introduced by commit 8fac1eea40
which purpose was to not scroll to the end of buffer with "/window scroll -N"
when the top of buffer is displayed.

This commit is adding the syntax "--N" to force a scroll from the end (only
used by "/window scroll_bottom").
2014-03-17 08:32:18 +01:00
Sebastien Helleu a4a4e2f38f core: fix compilation on SmartOS (bug #40981, closes #23) 2014-03-16 19:18:16 +01:00
Sebastien Helleu 907e099f86 api: allow negative value for y in function printf_y 2014-03-16 17:21:35 +01:00
Sebastien Helleu 6749ed354d core: add decoding of bright ANSI colors (90-97, 100-107) 2014-03-15 12:09:31 +01:00
Sebastien Helleu e38f437ad7 core: add modifier and infos to decode ANSI colors
New modifier:
- color_decode_ansi: convert ANSI colors to WeeChat colors (or remove colors).

New infos:
- color_ansi_regex: regex used to parse ANSI colors in a string
- color_term2rgb: convert a terminal color (0-255) to RGB
- color_rgb2term: convert a RGB color to terminal color (0-255)
2014-03-15 11:06:30 +01:00
Sebastien Helleu a97bcd1ca1 core: add functions to convert RGB to terminal color (and vice versa) 2014-03-14 19:16: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 8fac1eea40 core: fix "/window scroll -N" on a buffer with free content 2014-03-07 17:46:51 +01:00
Sebastien Helleu dc2365104f core: add option weechat.look.hotlist_add_conditions, remove option weechat.look.hotlist_add_buffer_if_away 2014-03-06 19:29:08 +01:00