Sebastien Helleu
dcd7ff81b3
core: update translations
2013-12-11 19:08:49 +01:00
Sebastien Helleu
4520b0f7ae
core: add option weechat.look.buffer_position
...
The value of option can be:
- "end": buffer is added after the end of list (number = last number + 1)
- "first_gap": buffer is added at first number available in the list
(after the end of list if no number is available)
2013-12-07 10:44:08 +01:00
Sebastien Helleu
70e68afbf8
core: fix command /buffer renumber
2013-11-30 19:42:28 +01:00
Sebastien Helleu
f97ef54733
core: fix unmerge of buffer
2013-11-30 19:09:39 +01:00
Sebastien Helleu
92d6074931
core: add limits for buffers (max 10000 buffers opened, number of a buffer: between 1 and INT_MAX - 10000)
2013-11-30 18:45:19 +01:00
Sebastien Helleu
a496db78aa
core: add option weechat.look.buffer_auto_renumber
...
New option: weechat.look.buffer_auto_renumber, boolean which is on by
default, so the behavior is the same: no gap is allowed in numbers,
they start at number 1 and they are auto-renumbered after each command
like /buffer move, /buffer merge, ...
A new option "renumber" has been added in command /buffer, to renumber
a range of buffers (or all).
Changes when the option weechat.look.buffer_auto_renumber is off:
- command "/buffer move":
- the current number will be left free for use, and the
target number can be any number >= 1 (possibly higher than the
current last buffer number)
- the value can be "-" (which moves the buffer to number 1)
or "+" (which moves the buffer to the end, ie last number + 1)
- command "/buffer swap":
- now the buffers are swapped in the list without being "moved"
- comand "/buffer [+/-]N":
- it is now working with gaps in buffer numbers
- command "/buffer merge":
- it can now merge a group of merged buffers into another buffer
(or buffers merged themselves)
- layout can restore buffer numbers with gaps in numbers
2013-11-30 10:39:38 +01:00
Sebastien Helleu
9e1caff33f
core: do not update terminal title on startup if option weechat.look.window_title is empty
2013-11-24 18:14:54 +01:00
Sebastien Helleu
1fa4701ed0
core: free secured data on exit
2013-11-23 16:29:51 +01:00
Sebastien Helleu
bfcabd2b96
core: fix crash on "/buffer close name" when the buffer is not found
2013-11-22 08:19:05 +01:00
Sebastien Helleu
51aa15cced
core: fix crash on /buffer close core.weechat
2013-11-22 07:57:30 +01:00
Sebastien Helleu
fba9839587
core: use #ifdef to check if versions are defined in signal "debug_libs"
2013-11-18 14:31:26 +01:00
Sebastien Helleu
3b53a3a8be
core: remove "v" before versions displayed by /debug libs
2013-11-18 07:46:14 +01:00
Sebastien Helleu
8d64b658df
core: add option "libs" for command /debug, add signal "debug_libs"
2013-11-17 20:49:37 +01:00
Sebastien Helleu
47213a9869
core: remove obsolete signals "debug_buffer" and "debug_windows"
2013-11-17 11:48:00 +01:00
Sebastien Helleu
f435e8d3fa
core: optimize loop when closing several buffers with command /buffer close n1-n2
2013-11-15 09:01:19 +01:00
Sebastien Helleu
d1a89e9db0
core: fix memory leak when n2 is not a valid number in command /buffer close n1-n2
2013-11-15 09:00:24 +01:00
Sebastien Helleu
ea9d79f268
core: set option weechat.look.paste_bracketed to "on" by default
2013-11-13 08:28:07 +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
ff62f3edff
api: add support of infos with format ${info:name,arguments} in function string_eval_expression and command /eval
2013-11-09 15:35:54 +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
8c7b9a1c5e
core: improve error message when a .conf file can not be read, add a second warning about default values used
2013-11-09 10:15:32 +01:00
Sebastien Helleu
1417b7a823
core: remove unneeded warning when read of sec.conf fails (another warning is already displayed)
2013-11-09 10:13:09 +01:00
Sebastien Helleu
46c26922aa
core: do not exit if read of sec.conf/weechat.conf fails
2013-11-09 09:59:37 +01:00
Sebastien Helleu
a5785a1ddc
core: remove unneeded warning when read of weechat.conf fails (another warning is already displayed)
2013-11-09 09:57:01 +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
05e1e31072
core: create .conf file with default options only if the file does not exist (and not on read error with existing file)
2013-11-09 08:44:48 +01:00
Sebastien Helleu
f5a65c9b2b
api: fix read of arrays in hdata functions hdata_<type> (bug #40354 )
2013-11-03 12:04:02 +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
0069dbb5f1
core: fix bind of keys in cursor/mouse context when key starts with "@" (remove the warning about unsafe key)
2013-10-26 12:22:22 +02:00
Sebastien Helleu
52d72a3934
core: fix typo in /help weechat.history.max_buffer_lines_number
2013-10-20 21:49:21 +02:00
Sebastien Helleu
da695533d4
core: fix typo in /help weechat.history.max_buffer_lines_minutes
2013-10-20 21:42:54 +02:00
Sebastien Helleu
7014fbdd60
core: add warning about value 0 in help of some history options
...
Options affected:
- weechat.history.max_buffer_lines_minutes
- weechat.history.max_buffer_lines_number
- weechat.history.max_commands
2013-10-20 12:21:09 +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
7364853c9d
core: remove warning about proxy not found for option weechat.network.proxy_curl on startup
...
Proxies are not yet fully loaded (when reading weechat.conf), so the warning
is not displayed on startup, but only when option is changed.
2013-10-06 11:34:49 +02:00
Sebastien Helleu
42dce54812
core: fix spaces displayed after combining chars (bug #40115 )
2013-10-02 08:03:22 +02:00
Sebastien Helleu
8b966d1c7e
core: fix time displayed in status bar (it was one second late) (bug #40097 )
2013-09-24 22:55:27 +02:00
Sebastien Helleu
7f27d88ca6
core: add proxy options username/password in /help secure
2013-09-20 10:27:08 +02:00
Sebastien Helleu
2110c6d92e
core: add support of secured data in proxy options username/password (evaluate content)
2013-09-19 15:12:04 +02:00
Sebastien Helleu
e900579fba
relay: add support of secured data in option relay.network.password (evaluate content) (patch from Nils Görs)
2013-09-19 15:11:51 +02:00
Sebastien Helleu
252feedde4
core: fix memory leak on unhook of a print hook (if using tags)
2013-09-19 10:19:29 +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
daf535c9af
core: fix computation of columns in output of /help (take care about size of time/buffer/prefix)
2013-09-02 18:56:58 +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
86e7d95b9c
core: fix evaluation of expressions with parentheses
...
First evaluate sub-expressions between parentheses.
Before the fix:
>> 1 && (0 || 0)
== [1]
After the fix:
>> 1 && (0 || 0)
== [0]
2013-08-25 13:34:51 +02:00
Sebastien Helleu
f250be4aa8
core: add note about color codes "${color:xxx}" in /help weechat.look.day_change_message
2013-08-25 12:40:09 +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
fc1e35fb48
core: display an error message when "/buffer notify xxx" fails (with a wrong notify level)
2013-08-21 11:18:52 +02:00
Sebastien Helleu
64bbb327bb
core: improve help of command /away
2013-08-20 14:30:50 +02:00
Sebastien Helleu
cc1523b654
core: add commment in function string_shared_get (returned value must not be changed)
2013-08-17 17:44:10 +02:00