Sebastien Helleu
8d64b658df
core: add option "libs" for command /debug, add signal "debug_libs"
2013-11-17 20:49:37 +01:00
Sebastien Helleu
70ed2a8189
core: apply color attributes when clearing a window (patch #8236 ) (patch from Tom Alsberg)
2013-11-14 19:41:28 +01:00
Sebastien Helleu
725c5aaeb9
core: fix truncated text when pasting several long lines (bug #40210 )
2013-11-12 21:37:51 +01:00
Sebastien Helleu
e867298233
core: fix terminal title under screen/tmux
2013-11-09 19:26:33 +01:00
Sebastien Helleu
90774b73d8
core: rename option weechat.look.set_title to weechat.look.window_title (evaluated string)
2013-11-09 17:07:02 +01:00
Sebastien Helleu
9b4eb6d607
core: add bar item "buffer_zoom", add signals "buffer_{zoomed|unzoomed}" (patch #8204 ) (patch from Nils Görs)
2013-11-09 13:21:56 +01:00
Sebastien Helleu
cce23613a7
core: display lines waiting for buffer on exit (in case of early exit)
2013-11-09 08:55:57 +01:00
Sebastien Helleu
e2605cf77b
core: fix highlight on action messages: skip the nick at beginning to prevent highlight on it (bug #40516 )
2013-11-08 18:22:36 +01:00
Sebastien Helleu
b6e4f918f5
core: add default keys alt+home/end and alt+F11/F12 for xterm
2013-11-05 21:46:25 +01:00
Sebastien Helleu
dd32052fec
core: add support of italic text (requires ncurses >= 5.9 patch 20130831)
2013-11-02 10:58:38 +01:00
Sebastien Helleu
cf81a6dfcd
core: use ncurses include path when compiling with cmake
2013-11-02 09:43:20 +01:00
Sebastien Helleu
14cf7bd20f
core: fix auto-apply of window layout in current window when option irc.look.buffer_switch_autojoin is on
2013-10-27 11:07:33 +01:00
Sebastien Helleu
53ec644ce1
core: fix truncated prefix when filters are toggled (bug #40204 )
2013-10-19 16:21:20 +02: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
07115ef3d0
core: add options to customize default text search in buffers
...
New options:
- weechat.look.buffer_search_case_sensitive (boolean, off by default)
- weechat.look.buffer_search_force_default (boolean, off by default)
- weechat.look.buffer_search_regex (boolean, off by default)
- weechat.look.buffer_search_where (prefix, message (by default), prefix_message)
2013-10-06 11:59:42 +02:00
Sebastien Helleu
7bf712d4c9
core: fix display of read marker after buffer switch when there is no line displayed after (only filtered lines)
2013-10-05 10:19:48 +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
ad5a287134
core: fix extension (.exe) of symbolic link "weechat-curses" under Cygwin
2013-09-23 18:07:15 +02:00
Sebastien Helleu
92019c300c
core: replace some calls to ncurses *printw functions by *addstr
2013-09-23 13:07:45 +02:00
Sebastien Helleu
9c36b7c693
core: rename options weechat.look.day_change_message(2) to weechat.look.day_change_message_{1date|2dates}
2013-09-03 10:27:14 +02:00
Sebastien Helleu
0409faee7f
Merge branch 'shared-strings'
2013-09-02 15:24:20 +02:00
Sebastien Helleu
0d8bd7f1e6
core: add option weechat.look.day_change_message2
...
The new option weechat.look.day_change_message2 is used to display day change
between two messages, with two dates: the new one, and the old one.
Example:
-- Mon, 02 Sep 2013 (Thu, 22 Aug 2013) --
2013-09-02 08:39:06 +02:00
Sebastien Helleu
0806f1ad7e
core: fix automatic scroll to bottom of buffer when day change is displayed before first line of buffer
2013-08-28 23:27:04 +02:00
Sebastien Helleu
03b6b4c1cf
core: display day change message dynamically (do not store it as a line in buffer) (task #12775 )
...
Changes in options:
- rename option weechat.look.day_change_time_format to weechat.look.day_change_message
(color codes are allowed in this option)
- new option weechat.color.chat_day_change.
2013-08-25 09:39:59 +02:00
Sebastien Helleu
73f2c2c488
core: fix uncontrolled format string when displaying bufferized lines on startup (lines waiting for core buffer)
2013-08-22 23:06:30 +02:00
Sebastien Helleu
b47af3c61e
core: fix buffer returned in focus info for bar items with a forced buffer
2013-08-20 11:42:12 +02:00
Sebastien Helleu
eac1ca929b
core: add syntax "@buffer:item" in bar items to force the buffer used when displaying the bar item (task #12717 )
2013-08-19 21:22:10 +02:00
Sebastien Helleu
a4f789810a
core: use shared strings for groups/nicks in nicklist
2013-08-17 18:14:31 +02:00
Sebastien Helleu
af12457a13
core: use shared strings for prefix on lines
...
It can reduce by about 10% the memory used for lines in a buffer.
2013-08-17 17:47:38 +02:00
Sebastien Helleu
600ee3ddf3
core: add search of regular expression in buffer, don't reset search type on a new search, select where to search (messages/prefixes)
...
Key changed in search context:
- ctrl+"r": switch search type: string/regex
New keys in search context:
- alt+"c": case (in)sensitive search
- tab: search in messages/prefixes/both
2013-08-17 11:51:50 +02:00
Sebastien Helleu
c624960336
core: add text emphasis in messages when searching text in buffer
...
New options:
- weechat.look.emphasized_attributes
- weechat.color.emphasized
- weechat.color.emphasized_bg
2013-08-16 16:16:37 +02:00
Sebastien Helleu
674403f734
core: use shared strings for tags on lines
...
It can reduce by about 30% the memory used for lines in a buffer.
2013-08-10 18:20:49 +02:00
Sebastien Helleu
6714d6fc82
core: optimize the removal of lines in buffers (a lot faster to clear/close buffers with lot of lines)
...
The update of variables "buffer_max_length" and "prefix_max_length" in struct
t_gui_lines is now delayed and made during the main refresh (in main loop).
For a buffer with 50K lines, it is up to 3300 times faster to clear/close it.
For a buffer with 4096 lines (default limit), it is up to 120 times faster.
2013-08-10 17:18:12 +02:00
Sebastien Helleu
72c1af25e0
core: set "callback_free_value" directly in hashtable without calling function hashtable_set_pointer
2013-08-09 22:54:06 +02:00
Sebastien Helleu
766273ac99
core: remove symbolic link "weechat-curses" on make uninstall (cmake and autotools)
2013-08-07 10:20:42 +02:00
Sebastien Helleu
e5de0cd0e8
core: fix typo in comment for creation of symbolic link "weechat-curses"
2013-08-07 09:32:37 +02:00
Sebastien Helleu
3a2d2d6b03
core: use $DESTDIR when creating symbolic link "weechat-curses" with cmake
2013-08-06 20:57:23 +02:00
Sebastien Helleu
8ca36552ea
core: change color format for options from ${xxx} to ${color:xxx}
...
Options affected:
- weechat.look.buffer_time_format
- weechat.look.prefix_action
- weechat.look.prefix_error
- weechat.look.prefix_join
- weechat.look.prefix_network
- weechat.look.prefix_quit
2013-08-04 12:18:47 +02:00
Sebastien Helleu
dc878c5b69
api: add argument "options" in function string_eval_expression, add option "-c" for command /eval (to evaluate a condition)
2013-08-04 08:56:56 +02:00
Sebastien Helleu
663de42284
Merge branch 'secured-data'
2013-08-02 19:19:25 +02:00
Sebastien Helleu
fd5fc2e5a3
core: add platform-dependent extension on "weechat-curses" link (so that link is "weechat-curses.exe" on cygwin)
2013-08-02 18:40:40 +02:00
Sebastien Helleu
996da2f662
core: rename binary and man page from "weechat-curses" to "weechat" (task #11027 )
...
A symbolic link weechat-curses -> weechat is now created (by both cmake and
configure), so that the /upgrade will work from an old version.
However, if you upgrade from an old version, it is recommended to force the use
of the new binary name with the command: `/upgrade /path/to/weechat` (replace
the path accordingly).
2013-08-02 08:54:16 +02:00
Sebastien Helleu
c0c76ad995
core: do not scroll when using /window {page_down|scroll_down} after /window scroll_beyond_end
2013-07-31 19:09:31 +02:00
Sebastien Helleu
91b7aec855
core: reset scroll after /window {page_down|scroll_down} if last line of buffer is displayed at bottom
...
A regression was introduced by commit bee56c3b7f
(/window scroll_beyond_end).
Scenario to reproduce the problem, for example on an IRC channel with a long
history (more than two pages):
/window page_up
/window page_down
<type some text and send to channel>
It will display -MORE(1)- instead of automatically scrolling to bottom of
buffer.
2013-07-31 14:41:27 +02:00
Sebastien Helleu
b3923b65f1
core: use variable "items_count" directly from hashtable without calling function hashtable_get_integer
2013-07-30 10:10:37 +02:00
Sebastien Helleu
8cd4bf3750
core: add option "-o" for command /color
2013-07-27 23:23:15 +02:00
Sebastien Helleu
ca1e0dde07
core: use default value for prefixes used in messages displayed before the interface is initialized
2013-07-27 22:31:36 +02:00
Sebastien Helleu
a490195032
core: add secured data with optional encryption in file sec.conf
2013-07-27 12:57:08 +02:00