I just made the 4000th commit for WeeChat, which is also the 600th commit for the past 12 months!
Commits by range: month: 56 year: 600 total: 4000
New page with statistics about Git repositories (core and scripts): https://weechat.org/dev/stats/
Sunday, March 25 2012
By Sébastien Helleu on Sunday, March 25 2012, 18:24
I just made the 4000th commit for WeeChat, which is also the 600th commit for the past 12 months!
Commits by range: month: 56 year: 600 total: 4000
New page with statistics about Git repositories (core and scripts): https://weechat.org/dev/stats/
Saturday, March 10 2012
By Sébastien Helleu on Saturday, March 10 2012, 09:54
The support for terminal bracketed paste mode has been added. In this mode, pasted text is bracketed with control sequences so that WeeChat can differentiate pasted text from typed-in text (ESC[200~
, followed by the pasted text, followed by ESC[201~
).
New options:
Changes on option weechat.look.paste_max_lines: now -1 is used to disable option (and new default value is 1 instead of 3). According to value, you have following behaviour:
When pasting one line with newline in bracketed paste mode, the newline at the end of paste is automatically removed (regardless the value of option weechat.look.paste_max_lines).
According to my tests the "bracketed paste mode" works fine with:
According to my tests it currently does not work with:
Please comment this post if you have info about other terminals (supported or not).
Sunday, February 26 2012
By Sébastien Helleu on Sunday, February 26 2012, 08:53
Version 0.3.7 is available!
As usual, many new features and bug fixes, see ChangeLog for detail.
Important: please read the release notes if you are upgrading to this version (from any other version).
New major features in this release:
New options:
New default alias:
/umode
--> /mode $nick
New keys:
/input jump_last_buffer_displayed
)Note: to add missing keys, you can use command /key missing
Wednesday, January 18 2012
By Sébastien Helleu on Wednesday, January 18 2012, 21:54
URL transfer has been added in API for plugins and scripts (using libcurl).
A new function has been added: "hook_process_hashtable". Behaviour is the same as "hook_process", but with an extra "options" (a hashtable). To download URL content (html page or file), the syntax is (example is python):
weechat.hook_process_hashtable('url:http://weechat.org/download/', { 'file_out': '/tmp/url.txt' }, 10000, 'my_process_cb', '')
This code will download URL in file "/tmp/url.txt" and call function "my_process_cb" when done, with return code:
It is possible to download URL without any option, then the output is on standard output of process (received as "out" in callback, possibly in many chunks, depending on page size):
weechat.hook_process('url:http://weechat.org/download/', 10000, 'my_process_cb', '')
Sunday, December 25 2011
By Sébastien Helleu on Sunday, December 25 2011, 13:07
Christmas gift: "QWeeChat", the first remote interface for WeeChat. It is written in Python, using Qt toolkit.
This is an alpha version of this interface, only some features are implemented, but it's usable as-is.
The source code is available on download page, and requires latest development version of WeeChat.
New versions will follow, as well as interfaces for other systems like mobile devices (first should be Android).
A screenshot of QWeeChat in action (click for full size):
Merry Christmas and happy new year 2012 with WeeChat and QWeeChat!
Tuesday, November 1 2011
By Sébastien Helleu on Tuesday, November 1 2011, 20:39
/buffer 1
/buffer core.weechat
(if core buffer is #1)/buffer close 2-99999
(joke! - this will destroy all buffers and keep only buffer(s) with number 1)/buffer move 1
(joke! - current buffer will become #1)There are other ways with scripts, but it's cheating!
* : press key many times until you reach buffer #1.
Saturday, October 22 2011
By Sébastien Helleu on Saturday, October 22 2011, 11:11
Version 0.3.6 is available!
As usual, many new features and bug fixes, see ChangeLog for detail.
Important: please read the release notes if you are upgrading to this version (from any other version).
New major features in this release:
New options:
New keys:
/mouse toggle
)New keys have been added for context "cursor" and "mouse", please see documentation.
Note: to add missing keys, you can use command /key missing
Friday, September 23 2011
By Sébastien Helleu on Friday, September 23 2011, 18:30
New "inactive" colors have been added, to use a different text color for inactive windows or inactive lines (lines from merged buffer which is not selected).
Some options have been added to control display of inactive color, and of course inactive color themselves.
The first two options control wheter inactive colors are used for inactive windows or inactive lines in merged buffers:
/set weechat.look.color_inactive_window
(default: off)/set weechat.look.color_inactive_buffer
(default: off)Some options are used to specify if time/prefix_buffer/prefix/message will use inactive colors or not:
/set weechat.look.color_inactive_time
(default: off)/set weechat.look.color_inactive_prefix_buffer
(default: on)/set weechat.look.color_inactive_prefix
(default: on)/set weechat.look.color_inactive_message
(default: on)And finally, the three new colors used for inactive windows and inactive lines in merged buffers:
/set weechat.color.chat_inactive_window
(default: darkgray, suggested: 245)/set weechat.color.chat_inactive_buffer
(default: darkgray, suggested: 245)/set weechat.color.chat_prefix_buffer_inactive_buffer
(default: darkgray, suggested: 58)Sunday, August 28 2011
By Sébastien Helleu on Sunday, August 28 2011, 16:38
Some tips to beautify your WeeChat, using unicode chars and some colors.
A full line for separator between prefix (usually nick) and messages:
/set weechat.look.prefix_suffix "│"
Full line for read marker:
/set weechat.look.read_marker_string "─"
Arrows for join/quit (be careful, impact on log files):
/set weechat.look.prefix_join "▬▬▶" /set weechat.look.prefix_quit "◀▬▬"
String for bar item "buffer_filter" (WeeChat >= 0.3.6):
/set weechat.look.item_buffer_filter "•"
"More" indicators in bars (WeeChat >= 0.3.6):
/set weechat.look.bar_more_down "▼" /set weechat.look.bar_more_left "◀" /set weechat.look.bar_more_right "▶" /set weechat.look.bar_more_up "▲"
Time with gray shading, and no colon separator (WeeChat >= 0.3.5):
/set weechat.look.buffer_time_format "${252}%H${245}%M${240}%S"
Note: updated in WeeChat 0.4.2, the syntax is now:
/set weechat.look.buffer_time_format "${color:252}%H${color:245}%M${color:240}%S"
Another "blue" for background of title and status bars:
/set weechat.bar.title.color_bg 60 /set weechat.bar.status.color_bg 60
Some dark colors for delimiters, host,...:
/set weechat.color.chat_delimiters 29 /set weechat.color.chat_host 24 /set weechat.color.chat_prefix_suffix 24 /set weechat.color.nicklist_away 244 /set weechat.color.separator 60 /set irc.color.reason_quit 244 /set irc.color.topic_new 36 /set irc.color.topic_old 244
More nick colors: add for example "31,35,38,40,49,63,70,80,92,99,112,126,130,138,142,148,160,162,167,169,174,176,178,184,186,210,212,215,247" to nick colors:
/set weechat.color.chat_nick_colors "cyan,magenta,green,brown,lightblue,default,lightcyan,lightmagenta,lightgreen,blue,31,35,38,40,49,63,70,80,92,99,112,126,130,138,142,148,160,162,167,169,174,176,178,184,186,210,212,215,247"
Saturday, August 6 2011
By Sébastien Helleu on Saturday, August 6 2011, 11:14
The layout has improved, here is the list of new features and a bug fixed:
/layout apply
/upgrade
(not the layout saved, but the layout you had immediately before doing /upgrade
)/layout apply
was required after starting WeeChatEnjoy!
Tuesday, July 26 2011
By Sébastien Helleu on Tuesday, July 26 2011, 17:49
Mouse support has been added to WeeChat, and a "cursor" mode: a mode when you can move cursor everywhere and do actions with keys on focused area.
New commands added:
/mouse /cursor
Before using mouse, add missing keys:
/key missing
Mouse events (clicks on buttons, gestures) are caught as special "keys", in context "mouse". For a list of default events, you can look at documentation (default keys) or output of this command in WeeChat:
/key list mouse
Mouse is not enabled by default. To enable it (at startup and now), do:
/set weechat.look.mouse on /mouse enable
When mouse is enabled, you can use shift+selection or shift+buttons to select/paste text (like when mouse is disabled). Note that on some terminals like iTerm, you may have to use alt instead of shift.
New key alt+m will toggle mouse on/off.
Finally, thanks to Nei for his scripts, the mouse support in WeeChat is partially based on them.
Mouse support will be improved in near future, for example interactions with words/messages in chat area (select text, click on URLs, ..).
Stay tuned!
Wednesday, June 15 2011
By Sébastien Helleu on Wednesday, June 15 2011, 20:00
A local variable "highlight_regex" has been added in buffers.
It is recommended to use script buffer_autoset.py to set it, so that it's saved and set at any time when buffer is created.
However, it's still possible to set it manually (for testing) with command: /buffer set highlight_regex XXX
.
For example, to highlight all messages on server freenode, channel #test:
/autosetbuffer add irc.freenode.#test highlight_regex .*
Sunday, May 15 2011
By Sébastien Helleu on Sunday, May 15 2011, 09:45
Version 0.3.5 is available!
As usual, many new features and bug fixes, see ChangeLog for detail.
Important: please read the release notes if you are upgrading to this version (from any other version).
New major features in this release:
New options:
New keys:
/window balance
)/window swap
)Note: to add missing keys, you can use command /key missing
Monday, April 11 2011
By Sébastien Helleu on Monday, April 11 2011, 19:00
Count of messages (by priority) has been added to hotlist.
New options:
/set weechat.look.hotlist_buffer_separator
(default: ", ")/set weechat.look.hotlist_count_max
(default: 2)/set weechat.look.hotlist_count_min_msg
(default: 2)/set weechat.color.status_count_msg
(default: "brown")/set weechat.color.status_count_private
(default: "green")/set weechat.color.status_count_highlight
(default: "magenta")/set weechat.color.status_count_other
(default: "default")Example with default config:
(2 highlights and 5 messages on #test, 1 highlight and 1 private message from FlashCode)
Wednesday, March 9 2011
By Sébastien Helleu on Wednesday, March 9 2011, 19:00
It is now possible to use a list of buffers in filters. Exclusion of buffers is allowed using prefix "!".
Example: add IRC smart filter on all freenode channels, but not channels beginning with "#private":
/filter add irc_smart irc.freenode.*,!*#private* irc_smart_filter *
Thursday, February 17 2011
By Sébastien Helleu on Thursday, February 17 2011, 20:00
Attributes have been added for color options. List of supported attributes:
*
": bold!
": reverse_
": underlineAttributes are optional and can be added before color name/number/alias.
For self nick as white underlined:
/set weechat.color.chat_nick_self _white
For time in status bar as orange underlined with bold:
/set weechat.color.status_time *_214
Wednesday, February 9 2011
By Sébastien Helleu on Wednesday, February 9 2011, 20:00
The list of commands in /help
commands has been improved.
By default it's now a short list (only names of commands), and long list is possible with option -listfull
. Moreover, it is possible to list commands for one plugin (or core) only.
Example of short list for irc plugin: /help -list irc
[irc] admin deop join mode part samode stats voice allchan devoice kick motd ping sanick summon wallchops allserv die kickban msg pong sapart time wallops ban disconnect kill names query saquit topic who connect halfop links nick quote server trace whois ctcp ignore list notice reconnect service unban whowas cycle info lusers notify rehash servlist userhost dcc invite map op restart squery users dehalfop ison me oper sajoin squit version
Example of long list for core commands: /help -listfull irc
[irc] admin - find information about the administrator of the server allchan - execute a command on all channels of all connected servers allserv - execute a command on all connected servers ban - ban nicks or hosts connect - connect to IRC server(s) ctcp - send a CTCP message (Client-To-Client Protocol) cycle - leave and rejoin a channel dcc - start a DCC (file transfer or direct chat) dehalfop - remove channel half-operator status from nick(s) deop - remove channel operator status from nick(s) devoice - remove voice from nick(s) ...
Moreover, display of command arguments in /help <command>
has been improved.
Old version: /help server
[irc] /server [list [servername]] | [listfull [servername]] | [add servername hostname[/port] [-temp] ...
New version: /help server
[irc] /server list|listfull [<server>] add <server> <hostname>[/<port>] [-temp] [-<option>[=<value>]] [-no<option>] copy|rename <server> <new_name> del|keep <server> deloutq|jump|raw
Thursday, February 3 2011
By Sébastien Helleu on Thursday, February 3 2011, 19:00
WeeChat now creates color pairs dynamically: when a color (foreground + background) is used on screen, a pair is created if it does not yet exist in pairs table.
Therefore, it's not needed any more to use /color add
to add colors to use them in options.
It is possible to use any terminal color by number in options.
However, you can still create an alias on number with command /color alias
.
Sunday, January 16 2011
By Sébastien Helleu on Sunday, January 16 2011, 10:36
Version 0.3.4 is available!
As usual, many new features and bug fixes, see ChangeLog for detail.
Important: please read the release notes if you are upgrading to this version (from any other version).
New major features in this release:
/notify
New options:
Sunday, January 9 2011
By Sébastien Helleu on Sunday, January 9 2011, 12:37
WeeChat now supports 256 colors!
Using new command /color
you can browse WeeChat and terminal colors, and define custom pairs.
See documentation for more information.
Screenshot (click for full size):
Tuesday, December 7 2010
By Sébastien Helleu on Tuesday, December 7 2010, 22:58
It is now possible to add color in time displayed for each line in formated buffers.
Option weechat.look.buffertimeformat now supports colors with format: "${xxx}" where "xxx" is a color name (lightblue, red, ...) or a number (for example: "214" for orange).
Note: updated in 0.4.2, the syntax is now: "${color:xxx}".
Screenshot of colored time, with french flag colors:
Thursday, December 2 2010
By Sébastien Helleu on Thursday, December 2 2010, 08:00
It is now possible to set max hotlist level for some nicks, per buffer, or per group of buffers (like IRC servers).
A new buffer property "hotlist_max_level_nicks" has been added. It can be set easily with script buffer_autoset.py, see /help autosetbuffer
for example.
Possible levels are (default is -1):
If you have already opened buffer, then script option will not apply immediately to buffers. Then you can use /buffer
command to manually set this property on a buffer, for example, to disable highlights from "joe" and "mike" on current buffer:
/buffer set hotlist_max_level_nicks_add joe:2,mike:2
Monday, October 11 2010
By Sébastien Helleu on Monday, October 11 2010, 18:30
It is now possible to disable highlights from some nicks, per buffer, or per group of buffers (like IRC servers).
A new buffer property "nohighlightnicks" has been added. It can be set easily with script buffer_autoset.py, see /help autosetbuffer
for example.
If you have already opened buffer, then script option will not apply immediately to buffers. Then you can use /buffer
command to manually set this property on a buffer, for example, to disable highlights from "joe" and "mike" on current buffer:
/buffer set nohighlightnicks_add joe,mike
Updated on 2010-12-02: this option has been replaced by "hotlistmaxlevel_nicks", see Max hotlist level for some nicks.
Saturday, August 7 2010
By Sébastien Helleu on Saturday, August 7 2010, 10:11
Version 0.3.3 is available!
As usual, many new features and bug fixes, see ChangeLog for detail.
Important: please read the release notes if you are upgrading to this version (from any other version).
New major features in this release:
/wallchops
/quit
New options:
New keys:
Note: to add missing keys, you can use command /key missing
Sunday, April 18 2010
By Sébastien Helleu on Sunday, April 18 2010, 13:48
Version 0.3.2 is available!
As usual, many new features and bug fixes, see ChangeLog for detail.
Important: please read the release notes if you are upgrading to this version (from any other version).
Sunday, January 31 2010
By Sébastien Helleu on Sunday, January 31 2010, 12:00
Version 0.3.1.1 is available!
This version fixes crashes with SSL connection and purge of old DCC chats. It is recommended to upgrade from 0.3.1 to 0.3.1.1 for all users.
Saturday, January 23 2010
By Sébastien Helleu on Saturday, January 23 2010, 14:00
Version 0.3.1 is available!
As usual, many new features and bug fixes, see ChangeLog for detail.
Important: please read the release notes if you are upgrading to this version (from any other version).
Sunday, September 6 2009
By Sébastien Helleu on Sunday, September 6 2009, 12:00
Version 0.3.0 is released, after 2 years of work and more than 1000 commits!
This is a major upgrade since last stable, please read files UPGRADE_0.3 and ChangeLog for list of changes: configuration files and plugin API are not compatible with previous versions.
For this important release, site has moved to weechat.org, with a new look!
Enjoy WeeChat!
Wednesday, June 10 2009
By Sébastien Helleu on Wednesday, June 10 2009, 19:42
It is now possible to merge buffers with command /buffer merge (or unmerge). IRC plugin uses that feature to merge server buffers, with the new option irc.look.server_buffer (merge_with_core, merge_without_core, independent).
When a buffer is merged to one or more other buffers, they will have same number, and chat area will display mixed lines (short name of buffer is displayed on each line, to know to which buffer line belongs). Bars still display content for current selected buffer.
New key Ctrl+x has been added to swtich current active buffer when many buffers are merged (old key Alt+s has been removed).
For devel users: it's not possible to upgrade from previous versions to this one, and you should do /key missing
to add missing key.
Friday, April 24 2009
By Sébastien Helleu on Friday, April 24 2009, 19:15
A new feature has been added recently to easily switch to another buffer, then come back to current one.
For example if you are on buffer #2, you press Alt+1 twice: you'll come back to buffer #2.
This new feature can be disabled, if you think old behaviour was better (really?):
/set weechat.look.jump_current_to_previous_buffer off
Saturday, April 11 2009
By Sébastien Helleu on Saturday, April 11 2009, 14:49
Completion has been improved for command arguments. Now many templates are allowed for one command, and WeeChat will automatically choose and use the better template according to arguments you give on command line.
Let's take an example: the /proxy command. Completion template is this string:
add %(proxies_names) http|socks4|socks5 || del %(proxies_names) || set %(proxies_names) %(proxies_options) || list
The single pipe is still used to add many possible items for one argument. Now a double pipe has been added to separate many templates. WeeChat will choose template according to arguments you give before completion location in command line.
Example 1: if you enter: "/proxy add
[+tab]", then WeeChat will use first template ("add %(proxies_names) http|socks4|socks5").
Example 2: if you enter: "/proxy set
[+tab]", WeeChat will used third template ("set %(proxies_names) %(proxies_options)").
Now, you'll ask: but how to complete first argument of command? WeeChat can't know which template to use!
Hey, good question! I was sure you would ask that ;)
The answer is very simple: for first argument, WeeChat will make a "or" between first argument of each template (so it will use a fictive template which is: "add|del|set").
It's recommended to use plain words for first argument of each template (when using many templates). If you use many words (separated by single pipe), or items (%(xxx)), then WeeChat will not know which template to use, and may not complete at all.
Another thing you should know, default completion items (defined by WeeChat core) have been renamed. Old name was something like "%x", new name is"%(xxx)". For example %n has been renamed to %(nicks). Some new completions have been added too. Please read doc for new names (and now that includes names of completion items defined by plugins).
If you are using old development version, nick completion will be broken, so you'll have to issue following command: /unset weechat.completion.default_template
Happy completion party!
Wednesday, December 17 2008
By Sébastien Helleu on Wednesday, December 17 2008, 23:02
Sunday, November 23 2008
By Sébastien Helleu on Sunday, November 23 2008, 23:15
Support for many proxies has been added. It's now possible to create many proxies, and assign different proxy (or no proxy) for each IRC server.
To create, delete, list proxies, use new /proxy
command. New IRC option for each server is irc.server.xxx.proxy = name
, where name is the name of proxy to use for connection.
For example, to define a http proxy and use it only on freenode server:
/proxy add myproxy http sample.host.org 8888 /set irc.server.freenode.proxy "myproxy"
Sunday, October 26 2008
By Sébastien Helleu on Sunday, October 26 2008, 09:46
Git branch "protocols" has been merged to "master".
If you're using protocols branch, you should switch back to master branch now, using following commands:
git checkout master git pull git remote prune origin
Thursday, October 2 2008
By Sébastien Helleu on Thursday, October 2 2008, 21:22
New command /layout
has been added and a new option weechat.look.save_layout_on_exit
.
WeeChat now saves layout (windows layout and order of buffers). With /layout
command, you can show saved layout, apply layout, and save layout for windows and/or buffers.
Windows layout is position of windows (including size), and buffer displayed in windows (plugin and buffer name).
Buffers layout is order of buffers, ie numbers assigned to buffers.
Wednesday, August 20 2008
By Sébastien Helleu on Wednesday, August 20 2008, 21:32
New version of /upgrade
command is now available. Today it's working for core and IRC plugin. Almost all code has been rewritten, so maybe there are new bugs ;)
Known bugs/limits today:
Saturday, March 22 2008
By Sébastien Helleu on Saturday, March 22 2008, 08:43
Filters have been added. This feature replaces old /ignore
command for IRC, but is more powerful and is not specific to IRC, it applies on buffer content.
With new /filter
command, you can ask WeeChat to filter lines displayed, by tags and/or regular expression on content of line. Unlike old /ignore
command, the /filter
command only hides lines, they are not removed, and you can see them when you want.
To understand filters, you should know what are tags. Each line displayed in a (formated) buffer may have optional tags, which are one or more words for this line. Number of tags is not limited, but should be reasonable (4 or 5 max). Tags are not visible (not displayed in buffer), they are used to filter content of buffers.
IRC plugin uses tags for all messages displayed if they're issued from an IRC server. Tags are: "irc_xxx" where "xxx" is the command received. For example if someone joins IRC channel, line with "--> nick has joined #channel" will have tag "irc_join". For IRC numeric command, tag is "irc_cmd_xxx" where "xxx" is number (3 digits), and second tag is "irc_numeric".
Some examples of filters:
/filter add joinquit * irc_join,irc_part,irc_quit *
/filter add spamfilter * * spam
/filter add sucks irc.freenode.#weechat * weechat sucks
You can enable/disable filters by /filter
command (look at /help filter
) or with shortcut key meta + "=".
In a later version, you'll be able to see indicator in status bar, to know if filters are enabled or not, and if something is filtered on current buffer (lines hidden). This will be possible with new bars.
Saturday, March 15 2008
By Sébastien Helleu on Saturday, March 15 2008, 17:09
Bars have been added to WeeChat. They are used to display informations around chat area. In near future, some existing items will become real bars (like title, nicklist, status, input).
Plugin and script API is now ready for using these bars. Following screenshot is a demo of scripts buffers.pl and uptime.pl:
Updated on 2008-10-12: new bars are now used: title, nicklist, status, input.
page 3 of 3 - next entries »