Sébastien Helleu
f2507a68a7
core: remove obsolete comment
...
The completion context can be "GUI_COMPLETION_NULL" if there's no base word
found (for example empty input).
2020-04-28 10:53:49 +02:00
Sébastien Helleu
d1a427b67f
api: return integer in function gui_completion_search (issue #1484 )
2020-04-28 10:46:49 +02:00
Sébastien Helleu
2bd8e91b54
api: add hdata "completion_word" (issue #1484 )
2020-04-27 22:18:03 +02:00
Sébastien Helleu
d3020976d5
api: add functions completion_new, completion_search and completion_free (issue #1484 )
2020-04-27 22:15:42 +02:00
Sébastien Helleu
33ea747040
core: add default key alt-shift-N to toggle nicklist bar
2020-04-24 22:45:07 +02:00
Sébastien Helleu
6e18f31cb2
core: translate log message when the signal SIGHUP is received
2020-04-21 22:39:51 +02:00
Sébastien Helleu
100440c8a1
core: restore signal "signal_sighup", and if eaten do not reload configuration
2020-04-21 22:34:42 +02:00
Tom Fitzhenry
de1e61f7cd
core: reload config on SIGHUP
...
fixes https://github.com/weechat/weechat/issues/1476
2020-04-22 01:25:08 +10:00
Sébastien Helleu
0b994d718d
core: add command line option "--stdout" in weechat-headless binary ( closes #1475 , closes #1477 )
2020-04-19 11:28:39 +02:00
Tom Fitzhenry
18a837c55b
core: log to stdout, if headless
...
Fixes https://github.com/weechat/weechat/issues/1475 .
2020-04-19 11:05:22 +02:00
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