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
Sebastien Helleu
c14b1b5fae
core: remove gap after read marker line when there is no bar on the right (bug #39548 )
2013-07-22 18:25:35 +02:00
Sebastien Helleu
765297c038
Merge branch 'scroll-beyond-end'
2013-07-20 11:54:52 +02:00
Sebastien Helleu
27882ee74e
core: scroll to bottom after smart jump (alt-a) only if window was scrolled (and not beyond the end)
2013-07-20 11:31:48 +02:00
Sebastien Helleu
94b9104d14
core: replace obsolete INCLUDES by AM_CPPFLAGS in files Makefile.am
2013-07-20 09:07:05 +02:00
Sebastien Helleu
22b20d6206
core: add options weechat.look.hotlist_prefix and weechat.look.hotlist_suffix (task #12730 ) (patch from Nils Görs)
2013-07-20 08:42:16 +02:00
Sebastien Helleu
354d96ea36
core: fix filtered line displayed after /window scroll_beyond_end
2013-07-18 20:07:47 +02:00
Sebastien Helleu
913e036fa3
core: fix pointer used to check if buffer has lines
2013-07-17 18:37:11 +02:00
Sebastien Helleu
c10cfb6aa0
core: do nothing in "/window scroll_beyond_end" if the buffer has no lines
2013-07-17 18:35:01 +02:00
Sebastien Helleu
bee56c3b7f
core: add option "scroll_beyond_end" for command /window (task #6745 )
2013-07-17 18:04:44 +02:00
Sebastien Helleu
7389514c09
core: add option weechat.look.key_bind_safe
2013-07-15 19:04:00 +02:00
Sebastien Helleu
92609e3cd6
core: remove obsolete reference to "key functions" in comments
2013-07-15 18:28:01 +02:00
Sebastien Helleu
c6fe4b18ef
core: fix malloc(0) when building content of a bar using a filling with columns
2013-07-13 07:31:51 +02:00
Sebastien Helleu
ff09807c10
core: fix char displayed at the intersection of three windows (bug #39331 )
2013-07-10 08:39:44 +02:00
Sebastien Helleu
37b8aef96d
core: move test of invalid UTF-8 char length from gui-chat.c to wee-utf8.c
2013-06-29 16:10:09 +02:00
Sebastien Helleu
f4e4f55de1
core: fix display bugs with some UTF-8 chars that truncates messages displayed
...
Example of char causing problems: U+26C4 (snowman without snow)
2013-06-29 13:43:27 +02:00
Sebastien Helleu
91017cb06c
core: remove extra space after empty prefix (when prefix for action, error, join, network or quit is set to empty string) (bug #39218 )
2013-06-10 11:48:49 +02:00
Sebastien Helleu
21356d9909
core: add "proxy" infolist and hdata
2013-06-08 11:40:27 +02:00
Sebastien Helleu
c070481d0b
core: fix random crash on mouse actions (bug #39094 )
2013-05-30 20:14:41 +02:00
Sebastien Helleu
e7c947df3e
core: fix compilation warnings
2013-05-22 20:56:54 +02:00
Sebastien Helleu
8771986f3f
Merge branch 'layout_infolist_hdata'
2013-05-21 22:34:46 +02:00
Sebastien Helleu
2e43bac479
core: fix line alignment when option weechat.look.buffer_time_format is set to empty string
...
A regression was introduced by commit 305175fb8c
2013-05-21 11:07:15 +02:00
Sebastien Helleu
e2807e5f23
core: add variable "current_layout" in infolist "layout"
2013-05-15 21:38:40 +02:00