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
Sébastien Helleu
9d6ebeda0d
core: add default keys ctrl-F11/F12 to scroll up/down one page in nicklist (same action as F11/F12)
2019-01-20 01:29:28 +01:00
Sébastien Helleu
2b0057239b
core: update copyright dates
2019-01-01 15:40:51 +01:00
Sébastien Helleu
4712d0bb06
core: use https for links to GNU GPL license
2018-11-29 23:16:07 +01:00
Sébastien Helleu
d26380a9bb
core: replace "Mac OS X" and "OS X" by "macOS" (issue #1272 )
2018-11-18 11:04:29 +01:00
Sébastien Helleu
ed3f281ba9
api: add functions string_base_{encode,decode}, remove functions string_{encode,decode}_base64
2018-11-04 14:49:11 +01:00
Sébastien Helleu
a8b6fa08b7
core: split plugin-api.c into 2 files (API wrappers and infos/infolists)
2018-11-03 23:01:46 +01:00
Sébastien Helleu
8848b0e22a
api: return integer in function string_encode_base64
2018-11-02 14:09:23 +01:00
Sébastien Helleu
70c2e27110
core: split wee-secure.c into 3 files (secured data functions, buffer and config)
2018-10-27 08:54:10 +02:00
Sébastien Helleu
438313d331
core: replace call to strncpy by memcpy
...
This fixes a gcc warning: "warning: ‘strncpy’ output truncated before
terminating nul copying as many bytes from a string as its length
[-Wstringop-truncation]".
2018-10-21 08:54:04 +02:00
Sébastien Helleu
fb3ca3caae
core: fix format of variables in printf-like functions (from int to long and long long)
2018-10-01 22:57:13 +02:00
Sébastien Helleu
8abd05fe3d
core: replace "long unsigned int" by "unsigned long"
2018-10-01 22:21:25 +02:00
Sébastien Helleu
6ca2408c99
core: fix weechat_print modifier
...
All changes:
- always send the Tab char in the weechat_print modifier string
- handle special cases in weechat_print modifier: no prefix (" \t...") or no
date ("\t\t...")
2018-08-16 18:19:07 +02:00
Sébastien Helleu
f10578b18b
core: remove use of pointer "buffer" once the line has been initialized
2018-08-15 16:16:31 +02:00
Sébastien Helleu
cfc491f7d1
core: remove unneeded initialization of variable "highlight"
2018-08-15 16:11:27 +02:00
Sébastien Helleu
8c47ca6926
core: add comments in function to print a line
2018-08-15 12:17:42 +02:00
Sébastien Helleu
7b0cced319
core: fix destruction of line prefix in weechat_print modifier
2018-08-15 12:16:52 +02:00
Sébastien Helleu
8e939b089d
core: fix comparison of strings in weechat_print modifier
2018-08-15 12:16:06 +02:00
Sébastien Helleu
3bdab1c538
core: fix type of variables "buffer_name" and "buffer_type" sent to the hook_line callback
2018-08-14 14:51:18 +02:00
Sébastien Helleu
42be1a74a0
api: add function hook_line
2018-08-12 21:45:00 +02:00
Sébastien Helleu
12a6f74ec0
core: fix check of tags in lines
...
All changes:
- fix check of tags in lines: check lines without tags, fix check of tags with
negation ("!tag")
- add string functions string_split_tags and string_free_split_tags
- add tests on function gui_line_match_tags
2018-08-12 20:30:13 +02:00
Nils Görs
b934e874d0
gui: fix uncleared completion item ( #1162 )
2018-07-21 12:50:39 +02:00
Sébastien Helleu
df27a3b76a
core: send signal "key_pressed" for mouse code only if the string is UTF-8 valid ( closes #1220 )
2018-07-15 15:09:31 +02:00
Sébastien Helleu
a205886d7a
core: fix compiler warnings on calls to snprintf
2018-07-13 21:24:40 +02:00
Sébastien Helleu
4592c9438f
core: send buffer pointer (when possible) in signal "hotlist_changed" ( closes #1133 )
...
When a buffer is added or updated in the hotlist, the buffer pointer is sent.
When the hotlist is cleared or resorted, the buffer pointer is NULL.
2018-05-31 20:25:10 +02:00
Sébastien Helleu
2026545aaa
core: fix delete of previous/next word (keys Ctrl+w and Alt+d) ( closes #1195 )
2018-05-22 22:26:00 +02:00
Sébastien Helleu
25951cf56d
core: remove unused variable
2018-05-19 08:13:12 +02:00
Fredrik Fornwall
b29352eff6
Replace getdtablesize() with sysconf(_SC_OPEN_MAX)
...
From the getdtablesize(3) man page:
It is not specified in POSIX.1; portable applications should
employ sysconf(_SC_OPEN_MAX) instead of this call.
Specifically, this fixes a compilation problem on Android.
2018-03-18 21:15:12 +01:00
Sébastien Helleu
8e7f5ea6e8
core: fix build with CMake and Ninja
2018-03-18 11:49:15 +01:00
Sébastien Helleu
71999e17c6
core: quit WeeChat on ctrl-C (signal SIGINT) in headless mode
2018-03-16 20:10:57 +01:00
Sébastien Helleu
84f4e31425
core: fix compilation error on Cygwin
2018-03-16 20:09:35 +01:00
Sébastien Helleu
78f5a73d94
doc: replace "rm -f" by "$(RM)" in makefiles
2018-03-11 20:59:41 +01:00
Sébastien Helleu
985a55cf45
core: fix compilation warning on ignored returned value for function dup()
2018-03-11 10:34:19 +01:00
Sébastien Helleu
805717e9ec
core: add binary weechat-headless to run WeeChat without interface ( closes #1120 )
...
The optional command line option "--daemon" runs WeeChat like a daemon
(fork, new process group, file descriptors closed).
2018-03-11 09:59:39 +01:00