1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00
Commit Graph

3489 Commits

Author SHA1 Message Date
Sebastien Helleu f1a346c21a core: replace darkgray color as default value of options
New default value is now used for these options:
- weechat.color.chat_inactive_buffer: "default"
- weechat.color.chat_inactive_window: "default"
- weechat.color.chat_nick_offline: "default"
- weechat.color.chat_nick_offline_highlight_bg: "blue"
- weechat.color.chat_prefix_buffer_inactive_buffer: "default"
- irc.color.topic_old: "default"
- logger.color.backlog_end: "default"
- logger.color.backlog_line: "default"
- script.color.text_delimiters: "default"
2013-12-23 08:35:19 +01:00
Sebastien Helleu 929a7906c4 relay: use syntax \xNN instead of \NN for control chars in raw buffer 2013-12-22 18:31:53 +01:00
Sebastien Helleu 571e6c0d5a irc: use syntax \xNN instead of \NN for control chars in raw buffer 2013-12-22 18:31:30 +01:00
Sebastien Helleu c0081e7355 charset: replace call to strcasecmp by weechat_strcasecmp
This fixes a compilation problem on Illumos.
2013-12-21 10:29:32 +01:00
Sebastien Helleu d7f29995fd core: add support of UTF-8 chars in horizontal/vertical separators 2013-12-18 16:38:20 +01:00
Sebastien Helleu 66494c439e core: add option weechat.look.window_auto_zoom, disable automatic zoom by default when terminal becomes too small for windows 2013-12-18 13:07:24 +01:00
Sebastien Helleu 17052c0c67 irc: remove display of channel in channel notices, display "PvNotice" for channel welcome notices 2013-12-17 08:29:05 +01:00
Sebastien Helleu 4a88caa1f2 irc: add option irc.look.smart_filter_mode (task #12499) 2013-12-16 11:02:17 +01:00
Sebastien Helleu f44cf6ac3c core: add support of logical and/or for argument "tags" in function hook_print 2013-12-15 19:52:20 +01:00
Sebastien Helleu 2f3d712a62 core: fix use of NULL pointer (in case of malloc error) when creating a new filter 2013-12-15 19:50:56 +01:00
Sebastien Helleu 4c3d090184 core: fix some translation of "tags" in french 2013-12-15 16:47:38 +01:00
Sebastien Helleu d52d214448 core: add buffer property "highlight_tags_restrict", rename option irc.look.highlight_tags to irc.look.highlight_tags_restrict
The buffer property "highlight_tags" is renamed to "highlight_tags_restrict".
New behavior for buffer property "highlight_tags": force highlight on tags.
Option irc.look.highlight_tags is renamed to irc.look.highlight_tags_restrict.
2013-12-15 13:45:40 +01:00
Sebastien Helleu 52cbd0b921 core: add note about support of "*" for tags in /help filter 2013-12-14 11:43:58 +01:00
Sebastien Helleu 811b68991e core: add logical "and" between tags in filters, weechat.look.highlight_tags and buffer property "highlight_tags"
The logical "and" is made with the separator "+".

Example: "irc_notice+nick_toto,nick_test"
will match a notice from nick "toto" or any message from nick "test".
2013-12-14 11:26:03 +01:00
Sebastien Helleu 542dc8cd33 core: rename options save/reset to add/del in command /layout
The "save" option does not save to disk (so it was a bit confusing with
/save command); therefore it is renamed to "add".

The "reset" option does not really reset but delete things in the layout
(or the layout itself); therefore it is renamed to "del" (for consistency,
like other commands in WeeChat core and plugins).
2013-12-13 12:50:36 +01:00
Sebastien Helleu 1e14a6d089 irc: display mask of ignore deleted with /ignore del 2013-12-11 21:20:56 +01:00
Sebastien Helleu dcd7ff81b3 core: update translations 2013-12-11 19:08:49 +01:00
Sebastien Helleu 58f1403414 Merge branch 'buffer-auto-renumber' 2013-12-11 18:54:06 +01:00
Sebastien Helleu dd8650a282 irc: add note about command /disconnect in /help connect 2013-12-11 13:19:14 +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 0eb77db79f core: add signal "buffer_cleared" 2013-12-08 09:41:59 +01:00
Sebastien Helleu fa7f42cdd6 core: remove option on /unset of plugin description option (plugins.desc.xxx) (bug #40768) 2013-12-08 08:57:30 +01:00
Sebastien Helleu 0b27dd58b3 irc: don't return a default ban mask if option is not set or if host is not found 2013-12-08 08:31:44 +01:00
Sebastien Helleu c832116cae irc: rename option irc.look.ban_mask_default to irc.network.ban_mask_default 2013-12-07 22:38:58 +01:00
Sebastien Helleu 1aeeecb82d irc: add option irc.look.ban_mask_default (bug #26571) 2013-12-07 22:02:05 +01:00
Sebastien Helleu faba6aa6c2 irc: improve /help of command/command_delay/autojoin options in servers 2013-12-07 15:18:40 +01:00
Sebastien Helleu c82633e9e4 core: use first gap for new buffer only if the buffer has no layout number 2013-12-07 12:45:40 +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 9d74013036 irc: add option irc.network.lag_max 2013-12-06 08:40:44 +01:00
Sebastien Helleu ea16b06348 irc: fix ignore on a host without nick 2013-12-05 19:47:51 +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 267eeffa0a irc: add comments about irc color codes in messages 2013-12-04 08:55:02 +01:00
Sebastien Helleu 57cda6a331 irc: remove function irc_color_decode_for_user_entry
Since commits d03eb52d49 and
0c48b7ab8b, the IRC color codes are the
same in input line and messages, so the function
irc_color_decode_for_user_entry is not needed any more.
It was used only to decode colors when completing the command /topic
(with the channel topic).
2013-12-04 07:51:59 +01:00
Sebastien Helleu d0832cd50e core: replace default key ctrl+"c", "u" by ctrl+"c", "_" for underlined text in messages 2013-12-01 18:39:05 +01:00
Sebastien Helleu 0c48b7ab8b irc: use color code 0x1F (ctrl-_) for underlined text in input line (same code as messages) (bug #40756) 2013-12-01 18:34:40 +01:00
Sebastien Helleu d3799b4616 core: replace default key ctrl+"c", "r" by ctrl+"c", "v" for reverse video in messages 2013-12-01 11:30:52 +01:00
Sebastien Helleu d03eb52d49 irc: use color code 0x16 (ctrl-V) for reverse video in messages
Other clients are using 0x16, and not 0x12 that was the default in
WeeChat (which was able to decode both 0x12 and 0x16).

Now the 0x12 is not decoded and does not make reverse video any more.
2013-12-01 11:28:32 +01:00
Sebastien Helleu b32ccca390 irc: check that string is not NULL in functions irc_color_{decode,decode_for_user_entry,encode} 2013-12-01 09:50:53 +01:00
Sebastien Helleu c8a479453d core: add missing access to hdata "buffer_visited" 2013-12-01 08:46:07 +01:00
Sebastien Helleu 9a160509d7 core: fix random crash when closing a buffer
The problem happened because we used a pointer to a
"struct t_gui_buffer_visited" for the switch to another buffer,
when the buffer is closed. This is executed in all windows displaying
the buffer, but on each switch to buffer, the visited buffers are
updated and therefore the address can change. The pointer becomes
invalid, and WeeChat still uses it on next windows for the buffer
switch.

It happened rarely because the visited buffer is freed and allocated
immediately after, so the address is often the same in memory.

Thanks to silverd for the tests on OS X to track the problem.
2013-12-01 08:37:22 +01:00
Sebastien Helleu 983791de84 irc: use option irc.network.colors_send (instead of receive) when displaying messages sent by commands /away, /me, /msg, /notice, /query 2013-11-30 19:50:56 +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 3e90657ab0 core: fix crash when moving buffer with only one buffer (core buffer) 2013-11-30 17:34:25 +01:00
Sebastien Helleu b7e0e29de7 core: add bar item "buffer_last_number" 2013-11-30 15:57:34 +01:00
Sebastien Helleu 4c59f2bf5e core: add variable "gui_buffers_count", use it in bar item "buffer_count"
Now the bar item "buffer_count" displays the number of opened buffers
(each merged buffer counts 1).
2013-11-30 15:11:17 +01:00
Sebastien Helleu f99103ee21 aspell: fix detection of nicks when there are non-alphanumeric chars around and in private buffers 2013-11-30 13:31:06 +01:00
Sebastien Helleu 332dcf1257 aspell: fix detection of nicks when there is nick completer at the end 2013-11-30 12:58:33 +01:00
Sebastien Helleu 0a0bbeed4d aspell: fix detection of nicks with non-alphanumeric chars 2013-11-30 12:18:36 +01:00