Sebastien Helleu
7b37bf701e
guile: fix module used after unload of a script
2014-02-17 22:01:14 +01:00
Sebastien Helleu
be159f42a8
lua: fix interpreter used after unload of a script
2014-02-17 22:00:16 +01:00
Sebastien Helleu
77058acc0a
perl: fix context used after unload of a script
2014-02-17 21:57:51 +01:00
Sebastien Helleu
5ac3d538b8
python: fix interpreter used after unload of a script
2014-02-17 21:56:21 +01:00
Sebastien Helleu
652ec24449
core: allow empty arguments for command /print
2014-02-17 11:12:36 +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
ec9adea198
core: use item "buffer_last_number" instead of "buffer_count" by default in status bar
2014-02-13 22:34:20 +01:00
Jason A. Donenfeld
c324610226
core: fix freeze/crash in gnutls (bug #41576 )
...
The link is now made against pthread on all platforms.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com >
2014-02-13 16:09:35 +01:00
Sebastien Helleu
f821a94cc4
irc: use a more explicit error when the creation of a temporary server failed
2014-02-13 10:06:25 +01:00
Sebastien Helleu
f324a1589d
core: add signals "key_combo_{default|search|cursor}"
2014-02-11 20:09:02 +01:00
Sebastien Helleu
a9aca06545
core: ignore return value of 'write' in function hook_set (fix compiler warning)
2014-02-11 11:55:05 +01:00
Sebastien Helleu
eef3b57075
core: split key command when the key is created (improve speed when executing commands of a key)
2014-02-10 21:10:45 +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
a0bf3938f1
core: display a warning in case of inconsistency between the options weechat.look.save_{config|layout}_on_exit
2014-02-09 12:51:34 +01:00
Sebastien Helleu
190f5dd5f2
core: add more info in /help weechat.look.hotlist_sort
2014-02-09 12:43:18 +01:00
Sebastien Helleu
43fb54f51d
core: fix apply of layout when buffers that are not in layout are before some buffers in layout
...
Now when a layout is applied, the buffers in layout are inserted/sorted
first in the new list. Then the other buffers (not in layout) are added
after this loop, and then they are added after all layout buffers.
2014-02-07 17:07:45 +01:00
Sebastien Helleu
0ffb61617a
core: fix hotlist problems after apply of a layout (bug #41481 )
...
This commit fixes a problem when computing the value of "num_displayed"
in all buffers. For merged buffers (with same number), the num_displayed
of each merged buffer must be incremented (and not only the current
active buffer).
2014-02-06 15:17:00 +01:00
Sebastien Helleu
d8b9e0a6bf
ruby: add detection and fix compilation with Ruby 2.0 (patch #8209 )
...
Now the search for Ruby is first performed with pkg-config and includes
detection of Ruby 2.0.
If not found, the old code for detection is used (for old distros or
old Ruby versions).
The specific test on Ruby 1.9.0 (to disable this version) has been
removed (1.9.0 was a dev/unstable version from 2007, quite old now).
2014-02-05 17:27:36 +01:00
Patrick Steinhardt
47ced4833d
core: fix installation of weechat-plugin.h with autotools (patch #8305 )
2014-02-04 22:18:12 +01:00
Sebastien Helleu
a3b5ae5e65
alias: add default alias /beep => /print -stderr \a
2014-02-04 16:20:55 +01:00
Sebastien Helleu
b91378fedc
core: use structure itself for sizeof in two malloc
2014-02-04 08:34:05 +01:00
Sebastien Helleu
a2839fabb5
ruby: fix compilation warning
2014-02-02 20:33:03 +01:00
Sebastien Helleu
6c47428e78
core: fix compilation on Android (replace include of sys/termios.h by termios.h) (bug #41434 )
2014-02-02 15:12:37 +01:00
Sebastien Helleu
01fb345fe0
core: fix compilation on Android (replace calls to rindex by strrchr) (bug #41420 , patch #8301 )
2014-02-02 09:00:46 +01:00
Sebastien Helleu
9db356bd9b
core: fix crash when creating two bars with same name but different case (bug #41418 )
2014-02-01 09:12:51 +01:00
Sebastien Helleu
219f75b225
irc: clear the gnutls session in all cases after SSL connection error
2014-01-31 19:24:26 +01:00
Sebastien Helleu
59481611dd
relay: send backlog for irc private buffers
2014-01-31 16:41:12 +01:00
Sebastien Helleu
f3d614460b
core: fix typos in translations and docs
2014-01-29 22:37:33 +01:00
Sebastien Helleu
f285fdafa0
irc: add value "353" in option irc.look.display_join_message
...
So now the values mean:
- 353: names on channel
- 366: names count (before this commit it meant 353 + 366)
2014-01-28 18:31:03 +01:00
Sebastien Helleu
1b2f4108fd
core: fix display of read marker when all buffers line are unread
...
The bug is when all buffer lines are unread (so "last_read_line" pointer
is NULL), and that the option weechat.look.read_marker_always_show is on.
The read marker was displayed at bottom after switch to the buffer.
Thanks to Nils Görs.
2014-01-27 18:32:32 +01:00
Sebastien Helleu
b8ffa87b5c
logger: replace backslashs in name by logger replacement char under Cygwin (bug #41207 )
2014-01-27 16:31:36 +01:00
Sebastien Helleu
58c615f33b
core: fix memory leak in regex matching when evaluating expression
2014-01-26 20:04:05 +01:00
Sebastien Helleu
0fbbbb4435
irc: add command "monitor" in /help irc.look.notify_tags_ison
2014-01-25 13:37:41 +01:00
Sebastien Helleu
86a99af606
scripts: fix script interpreter used after register during load of script in python/perl/ruby/lua/guile plugins (bug #41345 )
2014-01-25 13:04:25 +01:00
Sebastien Helleu
97cede06b5
core: add support of escaped unicode chars in commands /print and "/input insert"
2014-01-24 12:53:23 +01:00
Sebastien Helleu
3acdcee0d9
irc: use MONITOR instead of ISON for /notify when it is available on server (task #11477 ) (patch from Nils Görs)
2014-01-23 11:31:57 +01:00
Sebastien Helleu
48797574ff
core: revert the rename of option weechat.look.save_layout_on_exit
2014-01-22 18:50:24 +01:00
Sebastien Helleu
b49f825d0a
core: fix typo in /help print
2014-01-22 15:44:00 +01:00
Sebastien Helleu
a763797d36
api: add function "infolist_search_var"
2014-01-22 15:08:50 +01:00
Sebastien Helleu
79f2f46dec
core: rename option weechat.look.save_layout_on_exit to weechat.look.store_layout_on_exit, replace "save" by "store" for layouts
2014-01-21 22:03:12 +01:00
Sebastien Helleu
26dfd69f87
core: change format of buffer name in output of /buffer
...
Now the full name of buffer is displayed, without parentheses around the
plugin name.
The old ouput was:
[1] (core) weechat (notification: all)
[1] (irc) server.freenode (notification: all)
[2] (irc) freenode.#weechat (notification: all)
Now it is:
[1] core.weechat (notification: all)
[1] irc.server.freenode (notification: all)
[2] irc.freenode.#weechat (notification: all)
2014-01-21 15:32:09 +01:00
Sebastien Helleu
5c661a497f
core: delay the signal "signal_sigwinch" after WeeChat screen refresh
...
The signal is sent after WeeChat screen refresh, so all sizes for
windows, bars, ... are already adjusted to the new terminal size.
2014-01-21 14:19:12 +01:00
Sebastien Helleu
5d1568ecc2
core: add signals "signal_sighup" and "signal_sigwinch" (terminal resized)
2014-01-21 14:06:57 +01:00
Sebastien Helleu
a6ed216052
irc: do not display names by default when joining a channel (task #13045 )
2014-01-21 12:55:48 +01:00
Sebastien Helleu
160ab683ef
core: update translations
2014-01-21 12:33:03 +01:00
Sebastien Helleu
d820389f8a
irc: refactor code in gnutls callback to display certificates even if option ssl_fingerprint is set
2014-01-21 12:21:13 +01:00
Sebastien Helleu
1ce23cd331
irc: check that server option ssl_fingerprint has exactly 40 hexadecimal digits (when set to non-empty value)
2014-01-21 10:44:35 +01:00
Maarten de Vries
357740f455
irc: add server option "ssl_fingerprint" (task #12724 )
2014-01-21 10:35:38 +01:00
Sebastien Helleu
462b106197
irc: add comment with return value for function irc_server_gnutls_callback
2014-01-20 22:43:01 +01:00
Sebastien Helleu
91dad6808a
irc: display PONG answer when resulting from manual /ping command
2014-01-20 11:27:37 +01:00