mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
Lots of changes again. Biggest ones:
- window's text buffer should work better - themes are almost working, you can change the text formats with /format - automatically try to rejoin the channel after 5 minutes if the join there failed because it was "temporarily unavailable" (netsplits) - generally cleaning code.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@216 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
969cfe8abc
commit
cbdaf7d06d
63 changed files with 2471 additions and 1912 deletions
|
|
@ -21,73 +21,75 @@
|
|||
#include "module.h"
|
||||
#include "printtext.h"
|
||||
|
||||
FORMAT_REC fecommon_core_formats[] =
|
||||
{
|
||||
{ MODULE_NAME, "Core", 0 },
|
||||
FORMAT_REC fecommon_core_formats[] = {
|
||||
{ MODULE_NAME, "Core", 0 },
|
||||
|
||||
/* ---- */
|
||||
{ NULL, "Windows", 0 },
|
||||
/* ---- */
|
||||
{ NULL, "Windows", 0 },
|
||||
|
||||
{ "line_start", "%B-%W!%B-%n ", 0 },
|
||||
{ "line_start_irssi", "%B-%W!%B- %WIrssi:%n ", 0 },
|
||||
{ "timestamp", "[$[-2.0]3:$[-2.0]4] ", 6, { 1, 1, 1, 1, 1, 1 } },
|
||||
{ "daychange", "Day changed to ${[-2.0]1}-$[-2.0]0 $2", 3, { 1, 1, 1 } },
|
||||
{ "talking_with", "You are now talking with %_$0%_", 1, { 0 } },
|
||||
{ "refnum_too_low", "Window number must be greater than 1", 0 },
|
||||
{ "windowlist_header", "Ref Name Active item Server Level", 0 },
|
||||
{ "windowlist_line", "$[3]0 %|$[20]1 $[15]2 $[15]3 $4", 5, { 1, 0, 0, 0, 0 } },
|
||||
{ "windowlist_footer", "", 0 },
|
||||
{ "line_start", "%B-%W!%B-%n ", 0 },
|
||||
{ "line_start_irssi", "%B-%W!%B- %WIrssi:%n ", 0 },
|
||||
{ "timestamp", "[$[-2.0]3:$[-2.0]4] ", 6, { 1, 1, 1, 1, 1, 1 } },
|
||||
{ "daychange", "Day changed to $[-2.0]{0}-$[-2.0]1 $2", 3, { 1, 1, 1 } },
|
||||
{ "talking_with", "You are now talking with %_$0%_", 1, { 0 } },
|
||||
{ "refnum_too_low", "Window number must be greater than 1", 0 },
|
||||
{ "refnum_not_found", "No such window: $0", 1, { 0 } }, /*REMOVE!!!!!!!!*/
|
||||
{ "windowlist_header", "Ref Name Active item Server Level", 0 },
|
||||
{ "windowlist_line", "$[3]0 %|$[20]1 $[15]2 $[15]3 $4", 5, { 1, 0, 0, 0, 0 } },
|
||||
{ "windowlist_footer", "", 0 },
|
||||
|
||||
/* ---- */
|
||||
{ NULL, "Server", 0 },
|
||||
/* ---- */
|
||||
{ NULL, "Server", 0 },
|
||||
|
||||
{ "looking_up", "Looking up %_$0%_", 1, { 0 } },
|
||||
{ "connecting", "Connecting to %_$0%_ %K[%n$1%K]%n port %_$2%_", 3, { 0, 0, 1 } },
|
||||
{ "connection_established", "Connection to %_$0%_ established", 1, { 0 } },
|
||||
{ "cant_connect", "Unable to connect server %_$0%_ port %_$1%_ %K[%n$2%K]", 3, { 0, 1, 0 } },
|
||||
{ "connection_lost", "Connection lost to %_$0%_", 1, { 0 } },
|
||||
{ "server_quit", "Disconnecting from server $0: %K[%n$1%K]", 2, { 0, 0 } },
|
||||
{ "server_changed", "Changed to %_$2%_ server %_$1%_", 3, { 0, 0, 0 } },
|
||||
{ "unknown_server_tag", "Unknown server tag %_$0%_", 1, { 0 } },
|
||||
{ "looking_up", "Looking up %_$0%_", 1, { 0 } },
|
||||
{ "connecting", "Connecting to %_$0%_ %K[%n$1%K]%n port %_$2%_", 3, { 0, 0, 1 } },
|
||||
{ "connection_established", "Connection to %_$0%_ established", 1, { 0 } },
|
||||
{ "cant_connect", "Unable to connect server %_$0%_ port %_$1%_ %K[%n$2%K]", 3, { 0, 1, 0 } },
|
||||
{ "connection_lost", "Connection lost to %_$0%_", 1, { 0 } },
|
||||
{ "server_quit", "Disconnecting from server $0: %K[%n$1%K]", 2, { 0, 0 } },
|
||||
{ "server_changed", "Changed to %_$2%_ server %_$1%_", 3, { 0, 0, 0 } },
|
||||
{ "unknown_server_tag", "Unknown server tag %_$0%_", 1, { 0 } },
|
||||
|
||||
/* ---- */
|
||||
{ NULL, "Highlighting", 0 },
|
||||
/* ---- */
|
||||
{ NULL, "Highlighting", 0 },
|
||||
|
||||
{ "hilight_header", "Highlights:", 0 },
|
||||
{ "hilight_line", "$[-4]0 $1 $2 $3$3$4$5", 7, { 1, 0, 0, 0, 0, 0, 0 } },
|
||||
{ "hilight_footer", "", 0 },
|
||||
{ "hilight_not_found", "Highlight not found: $0", 1, { 0 } },
|
||||
{ "hilight_removed", "Highlight removed: $0", 1, { 0 } },
|
||||
{ "hilight_header", "Highlights:", 0 },
|
||||
{ "hilight_line", "$[-4]0 $1 $2 $3$3$4$5", 7, { 1, 0, 0, 0, 0, 0, 0 } },
|
||||
{ "hilight_footer", "", 0 },
|
||||
{ "hilight_not_found", "Highlight not found: $0", 1, { 0 } },
|
||||
{ "hilight_removed", "Highlight removed: $0", 1, { 0 } },
|
||||
|
||||
/* ---- */
|
||||
{ NULL, "Aliases", 0 },
|
||||
/* ---- */
|
||||
{ NULL, "Aliases", 0 },
|
||||
|
||||
{ "alias_added", "Alias $0 added", 1, { 0 } },
|
||||
{ "alias_removed", "Alias $0 removed", 1, { 0 } },
|
||||
{ "alias_not_found", "No such alias: $0", 1, { 0 } },
|
||||
{ "aliaslist_header", "Aliases:", 0 },
|
||||
{ "aliaslist_line", "$[10]0 $1", 2, { 0, 0 } },
|
||||
{ "aliaslist_footer", "", 0 },
|
||||
{ "alias_added", "Alias $0 added", 1, { 0 } },
|
||||
{ "alias_removed", "Alias $0 removed", 1, { 0 } },
|
||||
{ "alias_not_found", "No such alias: $0", 1, { 0 } },
|
||||
{ "aliaslist_header", "Aliases:", 0 },
|
||||
{ "aliaslist_line", "$[10]0 $1", 2, { 0, 0 } },
|
||||
{ "aliaslist_footer", "", 0 },
|
||||
|
||||
/* ---- */
|
||||
{ NULL, "Logging", 0 },
|
||||
/* ---- */
|
||||
{ NULL, "Logging", 0 },
|
||||
|
||||
{ "log_opened", "Log file %W$0%n opened", 1, { 0 } },
|
||||
{ "log_closed", "Log file %W$0%n closed", 1, { 0 } },
|
||||
{ "log_create_failed", "Couldn't create log file %W$0", 1, { 0 } },
|
||||
{ "log_locked", "Log file %W$0%n is locked, probably by another running Irssi", 1, { 0 } },
|
||||
{ "log_not_open", "Log file %W$0%n not open", 1, { 0 } },
|
||||
{ "log_started", "Started logging to file %W$0", 1, { 0 } },
|
||||
{ "log_stopped", "Stopped logging to file %W$0", 1, { 0 } },
|
||||
{ "log_list_header", "Logs:", 0 },
|
||||
{ "log_list", "$0: $1 $2$3$4", 5, { 0, 0, 0, 0, 0 } },
|
||||
{ "log_list_footer", "", 0 },
|
||||
{ "windowlog_file", "Window LOGFILE set to $0", 1, { 0 } },
|
||||
{ "windowlog_file_logging", "Can't change window's logfile while log is on", 0 },
|
||||
{ "log_opened", "Log file %W$0%n opened", 1, { 0 } },
|
||||
{ "log_closed", "Log file %W$0%n closed", 1, { 0 } },
|
||||
{ "log_create_failed", "Couldn't create log file %W$0", 1, { 0 } },
|
||||
{ "log_locked", "Log file %W$0%n is locked, probably by another running Irssi", 1, { 0 } },
|
||||
{ "log_not_open", "Log file %W$0%n not open", 1, { 0 } },
|
||||
{ "log_started", "Started logging to file %W$0", 1, { 0 } },
|
||||
{ "log_stopped", "Stopped logging to file %W$0", 1, { 0 } },
|
||||
{ "log_list_header", "Logs:", 0 },
|
||||
{ "log_list", "$0: $1 $2$3$4", 5, { 0, 0, 0, 0, 0 } },
|
||||
{ "log_list_footer", "", 0 },
|
||||
{ "windowlog_file", "Window LOGFILE set to $0", 1, { 0 } },
|
||||
{ "windowlog_file_logging", "Can't change window's logfile while log is on", 0 },
|
||||
|
||||
/* ---- */
|
||||
{ NULL, "Misc", 0 },
|
||||
/* ---- */
|
||||
{ NULL, "Misc", 0 },
|
||||
|
||||
{ "not_toggle", "Value must be either ON, OFF or TOGGLE", 0 },
|
||||
{ "perl_error", "Perl error: $0", 1, { 0 } }
|
||||
{ "not_toggle", "Value must be either ON, OFF or TOGGLE", 0 },
|
||||
{ "perl_error", "Perl error: $0", 1, { 0 } },
|
||||
|
||||
{ NULL, NULL, 0 }
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue