Sébastien Helleu
fce2fcba4f
core: add option weechat.look.chat_space_right (issue #1862 )
2022-12-29 12:00:28 +01:00
Sébastien Helleu
f1cfd6f73f
core: do not display non printable chars, fix function utf8_char_size_screen
...
Now the function utf8_char_size_screen can return -1 when the char is not
printable.
It has a specific behavior for some chars:
- U+0009: value of option weechat.look.tab_width
- U+0001 to U+001F (except U+0009): 1
- U+00AD (soft hyphen): -1
- U+200B (zero width space): -1
2022-12-10 16:05:14 +01:00
Sébastien Helleu
d18f68e497
core: display chars < 32 with a letter/symbol and reverse video attribute in chat
2022-12-10 16:05:14 +01:00
Sébastien Helleu
855d80702e
core: replace call to memcpy by utf8_strncpy
2022-12-10 16:05:14 +01:00
Sébastien Helleu
1fec7e8856
core: fix page scroll in bare display ( closes #1830 )
2022-10-05 20:33:35 +02:00
Sébastien Helleu
674f52bf58
core: add bar item "spacer"
2022-04-18 09:52:01 +02:00
Sébastien Helleu
608f56020d
core: search in message tags when tags are displayed with /debug tags
2022-01-30 13:33:21 +01:00
Sébastien Helleu
9259442dbf
core: add support of date and tags in messages displayed in buffers with free content, add function printf_y_date_tags ( closes #1746 )
2022-01-30 11:41:06 +01:00
Sébastien Helleu
05a9457504
core: move functions from gui-chat.c to gui-line.c
...
Functions moved and renamed:
- gui_chat_build_string_prefix_message -> gui_line_build_string_prefix_message
- gui_chat_build_string_message_tags -> gui_line_build_string_message_tags
2022-01-28 07:26:11 +01:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
c3cc06ff27
core: fix quoted line in cursor mode ( closes #1602 )
...
Regression was introduced in version 2.7 by commit
93d2dbf3e1 .
2021-02-28 17:13:52 +01:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +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
c77bccba87
Merge remote-tracking branch 'origin/pr/619'
2019-10-06 18:08:17 +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
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
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Sébastien Helleu
5aab494dd6
core, plugins: check return code of strftime function
2017-09-23 15:06:28 +02:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
e671e20e0c
Merge remote-tracking branch 'origin/pr/802'
2016-12-17 07:51:47 +01:00
Sébastien Helleu
570f4817dd
core: fix display of empty lines in search mode ( closes #829 )
2016-10-29 17:18:28 +02:00
arza
592810ca1f
core: add option weechat.look.align_multiline_words
2016-09-20 04:36:08 +03:00
Sébastien Helleu
3330724574
core: update copyright dates
2016-01-01 11:09:53 +01:00
Simmo Saan
93d2dbf3e1
gui: add missing line pointer to long words split across lines ( closes #617 )
...
Displaying a word which was forced to be split across lines added the new
coords without pointer to the original line. This made them unquotable in
cursor mode.
2015-12-03 12:00:22 +02:00
Simmo Saan
bcb7ac7777
gui: fix focus data being offset when prefix_align is none ( closes #610 )
...
window->coords_x_message stored a single x coordinate for the entire
window which was used for message position calculation. Such approach
does not work when prefix_align is none, thus now the x coordinate in
question is exactly calculated for a line individually.
2015-12-03 11:57:09 +02:00
Sébastien Helleu
e179a34a40
core: fix truncated messages after a word with a length of zero on screen (bug #40985 , issue #502 )
2015-08-23 09:50:36 +02:00
Sébastien Helleu
0c79b2fda8
core: fix type of value returned by functions gui_chat_string_next_char, gui_chat_string_add_offset and gui_chat_string_add_offset_screen
2015-07-04 16:32:18 +02:00
Sébastien Helleu
4ecd8a505f
api: fix type of value returned by functions utf8_prev_char, utf8_next_char and utf8_add_offset
2015-07-04 08:39:55 +02:00
Sébastien Helleu
bd850398e8
core: add missing comments before functions when the result must be freed after use
2015-07-04 08:24:53 +02:00
Sébastien Helleu
60ec9d5d51
core: fix display of time in bare display when option weechat.look.buffer_time_format is set to empty string ( closes #441 )
...
This reverts commit 2498ff63db .
2015-06-14 14:11:15 +02:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
12c997573b
core: fix display bug when scrolling in buffer on a filtered line ( closes #240 )
2014-11-16 08:52:33 +01:00
Sébastien Helleu
2498ff63db
core: display time in bare display only if option weechat.look.buffer_time_format is not an empty string
2014-10-22 21:35:33 +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
Sebastien Helleu
db000cd3b0
core: add text search in buffers with free content (task #13051 )
2014-03-29 17:06:36 +01:00
Sebastien Helleu
0084eaa193
core: replace constant by sizeof in a call to snprintf
2014-02-27 09:44:59 +01:00
Sebastien Helleu
39be4e3387
core: add bare display mode (for easy text selection and click on URLs)
...
New key: alt+"!", to swith to bare display (same key to come back to
standard display).
New options:
- weechat.look.bare_display_exit_on_input (default: on): by default
any changes in input will return to standard display
- weechat.look.bare_display_time_format (default: "%H:%M"): the format
of time used in bare display.
2014-02-16 11:29:03 +01:00
Sebastien Helleu
437767c0ca
api: add integer return code for functions hook_{signal|hsignal}_send
2014-02-10 17:42:53 +01:00
Sebastien Helleu
4b7e90c679
core: add option weechat.look.tab_width
2014-01-15 15:10:54 +01:00
Sebastien Helleu
a571d599d3
core: fix compilation warnings on OpenBSD
...
On OpenBSD, the variable "tv_sec" in struct timeval has type "long"
(type "time_t" under Linux).
So we need to copy this value to a temporary variable before using its
pointer with function localtime().
2014-01-05 10:42:49 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
Sebastien Helleu
95adb3a04b
core: fix text emphasis with wide chars on screen like japanese (patch #8253 ) (patch from Ryuunosuke Ayanokouzi)
2013-12-11 12:48:32 +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
2bde9453ed
core: use one date format when day changes from day to day+1
2013-10-10 19:42:11 +02:00
Sebastien Helleu
32f2ec42c6
core: replace some code by calls to function gui_chat_clrtoeol()
2013-10-02 16:24:03 +02:00
Sebastien Helleu
437ebb69d4
core: clear whole line before displaying content instead of clearing after the end of content (bug #40115 )
2013-09-30 19:26:09 +02:00
Sebastien Helleu
15173364c0
core: fix display of read marker (as horizontal line) or day change message after last buffer line when scrolling (bug #40126 )
2013-09-30 16:02:02 +02:00
Sebastien Helleu
92019c300c
core: replace some calls to ncurses *printw functions by *addstr
2013-09-23 13:07:45 +02:00