Sébastien Helleu
e998417f5c
core: fix resize of a bar when its size is 0 (automatic) ( closes #1470 )
2020-04-07 19:00:33 +02:00
Sébastien Helleu
5edbeea338
core: fix unlikely memory leak in completion
2020-02-09 06:56:53 +01:00
Sébastien Helleu
7cd566e8d3
core: reset variable "old_full_name" after send of signal "buffer_renamed" (issue #1428 )
2020-01-12 17:09:47 +01:00
Sébastien Helleu
1fac6fd404
core: add variable "old_full_name" in buffer, set before the buffer is renamed (issue #1428 )
2020-01-12 16:57:08 +01:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
d66a02ca9d
core: move each hash algorithm in a separate function (issue #635 )
2019-11-25 22:31:36 +01:00
Sébastien Helleu
0044fa1902
core: remove allocation of string when salt is used (issue #635 )
2019-11-25 21:38:55 +01:00
Simmo Saan
1a00368888
core: add option weechat.look.nick_color_hash_salt to allow for reshuffling of colors (issue #635 )
2019-11-25 21:38:20 +01:00
Sébastien Helleu
8cde654c6f
core: set buffer name, short name and title only if the value has changed
...
This fix reduces the number of messages "_buffer_title_changed" sent to the
weechat relay clients in IRC private buffers (this message was sent for every
new message received in the private buffer).
2019-11-17 21:48:17 +01:00
Jerome Duval
8d991f1284
Haiku: link libnetwork, not libpthread.
2019-11-10 11:04:47 +01:00
Sébastien Helleu
5d4220a91f
core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer ( closes #899 , issue #978 )
2019-10-14 20:44:15 +02:00
Sébastien Helleu
c3b33859ae
core: fix long lines
2019-10-06 19:09:29 +02:00
Sébastien Helleu
f2551b8403
Merge remote-tracking branch 'origin/pr/630'
2019-10-06 19:07:25 +02:00
Sébastien Helleu
e6570d6e3a
core: fix line too long, add comment on argument "with_suffix"
2019-10-06 18:11:58 +02:00
Sébastien Helleu
e47002884a
core: count suffix in alignment computed for context info
2019-10-06 18:08:52 +02:00
Sébastien Helleu
c77bccba87
Merge remote-tracking branch 'origin/pr/619'
2019-10-06 18:08:17 +02:00
Sébastien Helleu
90f711a965
core: add function to convert WeeChat colors to ANSI colors (issue #528 )
2019-10-01 18:31:41 +02:00
Sébastien Helleu
177fa6c528
core: add support of reverse video in ANSI color codes
2019-10-01 18:31:41 +02:00
Sébastien Helleu
daad558291
core: fix typos in comments
2019-10-01 18:31:41 +02:00
Sébastien Helleu
baf8f635ff
core: fix style in CMake files
2019-10-01 18:31:41 +02:00
Sébastien Helleu
e1a4612797
core: ignore color codes in ${length:xxx} and ${lengthscr:xxx}
2019-09-21 13:54:36 +02:00
Sébastien Helleu
bff40e4c26
core: display an error on missing dependency in CMake ( closes #916 , closes #956 )
2019-09-15 07:49:03 +02:00
Sébastien Helleu
68d6f1b415
api: add infos "term_colors" and "term_color_pairs"
2019-08-25 19:10:32 +02:00
Sébastien Helleu
608ec9f483
core: add values djb2_32 and sum_32 for option weechat.look.nick_color_hash (issue #1394 )
2019-08-20 21:20:33 +02:00
Sébastien Helleu
80f103b68a
core: use fixed-width integer for computing nick hash (issue #1394 )
2019-08-19 23:27:11 +02:00
Sébastien Helleu
c411ee475a
core: create or update option weechat.notify.xxx when function buffer_set is called with "notify" property ( closes #1390 )
2019-08-10 17:48:34 +02:00
Zero King
acbf021330
core: fix memory leak in case of error
2019-07-27 18:51:29 +00:00
Sébastien Helleu
d540ea91ae
Merge remote-tracking branch 'origin/pr/1345'
2019-06-28 20:43:21 +02:00
Sébastien Helleu
f15a24b2ec
core: add option "close" in command /window ( closes #853 )
2019-06-17 21:08:07 +02:00
Sébastien Helleu
9178156354
api: add argument "strip_items" in function string_split
2019-06-15 20:47:14 +02:00
Sébastien Helleu
7aa82db471
core: replace char "," by "~" in color codes to separate foreground from background ( closes #1264 )
2019-06-07 21:29:05 +02:00
Simmo Saan
980d26956f
gui: fix wide ncurses header on FreeBSD (issue #1343 )
2019-05-13 13:48:39 +00:00
Simmo Saan
5910bcf3c8
gui: fix wbkgrndset for non-wide ncurses by fallback to wbkgdset (issue #1343 )
...
cchar_t, setcchar and wbkgrndset are actually widec ncurses features,
not ext-colors features, but NCURSES_WIDECHAR doesn't accurately reflect
their existence so NCURSES_EXT_COLORS is used instead.
2019-05-04 14:31:11 +03:00
Simmo Saan
c7b242ffd9
gui: readd color buffer table zero padding and dashes (issue #1343 )
2019-05-02 21:16:57 +03:00
Simmo Saan
bf1462d7a1
gui: change command line option "-c" color pairs table to match (issue #1343 )
2019-05-02 21:06:42 +03:00
Simmo Saan
f5f6cf028c
gui: change color buffer pairs table to only show allocated pairs (issue #1343 )
2019-05-02 19:30:22 +03:00
Simmo Saan
d392b406c5
gui: increase ncurses color pair limit from 255 to 32767 (issue #1343 )
2019-05-02 19:30:22 +03:00
Simmo Saan
08719963de
gui: replace ncurses COLOR_PAIR attribute usage with special functions (issue #1343 )
2019-05-02 19:30:22 +03:00
Sébastien Helleu
ebf38f142e
core: merge functions gui_line_prefix_is_same_nick_as_{previous|next} (issue #931 )
2019-04-13 20:46:05 +02:00
Adrian Bjugård
0b5bff9ef5
core: add option weechat.look.prefix_same_nick_middle ( closes #930 , closes #931 )
2019-04-13 20:36:41 +02:00
Simmo Saan
97e9046918
core: add option weechat.look.buffer_time_same ( closes #1127 )
2019-04-13 14:45:53 +02:00
Sébastien Helleu
2f37de9148
core: make "input_commands_allowed" work with /wait and /repeat commands (issue #928 )
2019-03-28 18:45:22 +01:00
Sébastien Helleu
2612adf899
core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options
...
This option is OFF by default and should be enabled only for tests, to measure
test coverage.
2019-03-24 09:38:43 +01:00
Sébastien Helleu
2b70d71aa1
core: replace argument "keep_eol" by "flags" in function string_split ( closes #1322 )
2019-03-10 18:29:16 +01:00
Sébastien Helleu
55501b84d6
core: remove function gui_buffer_match_list_split, use function string_match_list
2019-02-27 07:46:29 +01:00
Simmo Saan
c84ac65954
core: add /filter addreplace ( closes #1055 )
2019-02-23 13:37:46 +01:00
Sébastien Helleu
7b79fbbd09
Merge remote-tracking branch 'origin/pr/1311'
2019-02-23 11:17:02 +01:00
Simmo Saan
91936ff583
gui: only refilter affected buffers on filter change ( closes #1309 )
2019-02-21 16:03:15 +02:00
Sébastien Helleu
57aa9e060e
spell: rename "aspell" plugin to "spell" (issue #1299 )
...
The following things have been renamed:
- file aspell.conf -> spell.conf
- options aspell.* -> spell.*
- bar item aspell_dict -> spell_dict
- bar item and local variable aspell_suggest -> spell_suggest
- info aspell_dict -> spell_dict
2019-02-19 21:15:56 +01:00
Sébastien Helleu
1a34f87163
core: do not automatically add a space when completing "nick:" at the beginning of command line
...
The space can be added in option weechat.completion.nick_completer
(this is now the default value of the option):
/set weechat.completion.nick_completer ": "
2019-01-26 14:54:57 +01:00