Compare commits
28 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
1ff82ee907
|
|||
|
57e92fbb85
|
|||
|
a04dfc59fe
|
|||
|
7f69655c54
|
|||
|
444f97b357
|
|||
|
ed7130a664
|
|||
|
ba1c2357af
|
|||
|
a48023553e
|
|||
|
d29317b29c
|
|||
|
deb096a0e9
|
|||
|
722fc48a30
|
|||
|
6287e20919
|
|||
|
07d59db5ab
|
|||
|
2909b017fb
|
|||
|
64d4009427
|
|||
|
4179a9bd49
|
|||
|
aa4e86c2a0
|
|||
|
5bbe9ceef8
|
|||
|
f80226620c
|
|||
|
2fccfb10f7
|
|||
|
b9eddabedd
|
|||
|
50ed74a740
|
|||
|
3ca08badc2
|
|||
|
b0f5b8c10d
|
|||
|
d87d533078
|
|||
|
3c47e5b354
|
|||
|
54d3406175
|
|||
|
f79dd027e9
|
@@ -13,10 +13,12 @@ if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC)
|
||||
endif ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC)
|
||||
|
||||
# Version
|
||||
set (project_version "0.9.6")
|
||||
set (project_version "0.9.8")
|
||||
|
||||
# Try to append commit ID if it follows a version tag. It might be nicer if
|
||||
# we could also detect dirty worktrees but that's very hard to get right.
|
||||
# If we didn't need this for CPack, we could use add_custom_command to generate
|
||||
# a version source/include file.
|
||||
find_package (Git)
|
||||
set (git_head "${PROJECT_SOURCE_DIR}/.git/HEAD")
|
||||
if (GIT_FOUND AND EXISTS "${git_head}")
|
||||
@@ -83,7 +85,7 @@ include_directories (${libffi_INCLUDE_DIRS})
|
||||
link_directories (${libffi_LIBRARY_DIRS})
|
||||
|
||||
# FIXME: other Lua versions may be acceptable, don't know yet
|
||||
pkg_search_module (lua lua53 lua5.3 lua-5.3 lua>=5.3)
|
||||
pkg_search_module (lua lua53 lua5.3 lua-5.3 lua54 lua5.4 lua-5.4 lua>=5.3)
|
||||
option (WITH_LUA "Enable support for Lua plugins" ${lua_FOUND})
|
||||
|
||||
if (WITH_LUA)
|
||||
@@ -233,8 +235,8 @@ endforeach (page)
|
||||
# CPack
|
||||
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Experimental IRC client, daemon and bot")
|
||||
set (CPACK_PACKAGE_VERSION "${project_version_safe}")
|
||||
set (CPACK_PACKAGE_VENDOR "Premysl Janouch")
|
||||
set (CPACK_PACKAGE_CONTACT "Přemysl Janouch <p@janouch.name>")
|
||||
set (CPACK_PACKAGE_VENDOR "Premysl Eric Janouch")
|
||||
set (CPACK_PACKAGE_CONTACT "Přemysl Eric Janouch <p@janouch.name>")
|
||||
set (CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE")
|
||||
|
||||
set (CPACK_GENERATOR "TGZ;ZIP")
|
||||
|
||||
2
LICENSE
2
LICENSE
@@ -1,4 +1,4 @@
|
||||
Copyright (c) 2014 - 2018, Přemysl Janouch <p@janouch.name>
|
||||
Copyright (c) 2014 - 2020, Přemysl Eric Janouch <p@janouch.name>
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted.
|
||||
|
||||
24
NEWS
24
NEWS
@@ -1,3 +1,27 @@
|
||||
0.9.8 (2020-09-02) "Yep, Still Using It"
|
||||
|
||||
* degesch: fixed a crash and prompt attribute output in libedit 20191231-3.1,
|
||||
though users are officially discouraged from using this library
|
||||
|
||||
* degesch: fixed Lua 5.4 build, so far the support is experimental
|
||||
|
||||
* Miscellaneous little fixes
|
||||
|
||||
|
||||
0.9.7 (2018-10-21) "Business as Usual"
|
||||
|
||||
* kike: fix wildcard handling in WHOIS
|
||||
|
||||
* kike: properly handle STATS without parametetrs
|
||||
|
||||
* kike: abort earlier when an invalid mode character is detected while
|
||||
processing channel MODE messages
|
||||
|
||||
* kike: do not send NICK notifications when the nickname doesn't really change
|
||||
|
||||
* kike: fix hostname string verification (only used for "server_name")
|
||||
|
||||
|
||||
0.9.6 (2018-06-22) "I've Been Sitting Here All This Time"
|
||||
|
||||
* Code has been relicensed to 0BSD and moved to a private git hosting
|
||||
|
||||
11
README.adoc
11
README.adoc
@@ -12,7 +12,7 @@ All of them have these potentially interesting properties:
|
||||
- TLS support, including client certificates
|
||||
- lean on dependencies (with the exception of 'degesch')
|
||||
- compact and arguably easy to hack on
|
||||
- permissive license
|
||||
- very permissive license
|
||||
|
||||
degesch
|
||||
-------
|
||||
@@ -52,6 +52,10 @@ Not supported:
|
||||
be used to implement this feature if needed
|
||||
- limits of almost any kind, just connections and mode `+l`
|
||||
|
||||
This program has been
|
||||
https://git.janouch.name/p/haven/src/branch/master/hid[ported to Go],
|
||||
and development continues over there.
|
||||
|
||||
ZyklonB
|
||||
-------
|
||||
The IRC bot. It builds upon the concept of my other VitaminA IRC bot. The main
|
||||
@@ -77,6 +81,9 @@ Runtime dependencies: openssl +
|
||||
Additionally for degesch: curses, libffi, lua >= 5.3 (optional),
|
||||
readline >= 6.0 or libedit >= 2013-07-12
|
||||
|
||||
Avoid libedit if you can, in general it works but at the moment history is
|
||||
acting up and I have no clue about fixing it.
|
||||
|
||||
$ git clone --recursive https://git.janouch.name/p/uirc3.git
|
||||
$ mkdir uirc3/build
|
||||
$ cd uirc3/build
|
||||
@@ -126,6 +133,7 @@ Custom Key Bindings in degesch
|
||||
------------------------------
|
||||
The default and preferred frontend used in 'degesch' is GNU Readline. This
|
||||
means that you can change your bindings by editing '~/.inputrc'. For example:
|
||||
|
||||
....
|
||||
# Preload with system-wide settings
|
||||
$include /etc/inputrc
|
||||
@@ -136,6 +144,7 @@ $if degesch
|
||||
"\e\e[D": move-buffer-left
|
||||
$endif
|
||||
....
|
||||
|
||||
Consult the source code and the GNU Readline manual for a list of available
|
||||
functions. Also refer to the latter for the exact syntax of this file.
|
||||
Beware that you can easily break the program if you're not careful.
|
||||
|
||||
2
common.c
2
common.c
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* common.c: common functionality
|
||||
*
|
||||
* Copyright (c) 2014 - 2015, Přemysl Janouch <p@janouch.name>
|
||||
* Copyright (c) 2014 - 2015, Přemysl Eric Janouch <p@janouch.name>
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted.
|
||||
|
||||
77
degesch.c
77
degesch.c
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* degesch.c: the experimental IRC client
|
||||
*
|
||||
* Copyright (c) 2015 - 2018, Přemysl Janouch <p@janouch.name>
|
||||
* Copyright (c) 2015 - 2020, Přemysl Eric Janouch <p@janouch.name>
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted.
|
||||
@@ -454,6 +454,7 @@ input_rl_start (void *input, const char *program_name)
|
||||
rl_readline_name = slash ? ++slash : program_name;
|
||||
rl_startup_hook = app_readline_init;
|
||||
rl_catch_sigwinch = false;
|
||||
rl_change_environment = false;
|
||||
|
||||
rl_basic_word_break_characters = WORD_BREAKING_CHARS;
|
||||
rl_completer_word_break_characters = NULL;
|
||||
@@ -788,7 +789,8 @@ input_el__redisplay (void *input)
|
||||
el_push (self->editline, x);
|
||||
|
||||
// We have to do this or it gets stuck and nothing is done
|
||||
(void) el_gets (self->editline, NULL);
|
||||
int count = 0;
|
||||
(void) el_wgets (self->editline, &count);
|
||||
}
|
||||
|
||||
static char *
|
||||
@@ -1015,7 +1017,8 @@ input_el__restore_buffer (struct input_el *self, struct input_el_buffer *buffer)
|
||||
el_winsertstr (self->editline, buffer->saved_line);
|
||||
el_cursor (self->editline,
|
||||
-(buffer->saved_len - buffer->saved_point));
|
||||
cstr_set (&buffer->saved_line, NULL);
|
||||
free (buffer->saved_line);
|
||||
buffer->saved_line = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1086,7 +1089,6 @@ input_el_show (void *input)
|
||||
return;
|
||||
|
||||
input_el__restore (self);
|
||||
// XXX: the ignore doesn't quite work, see https://gnats.netbsd.org/47539
|
||||
el_set (self->editline,
|
||||
EL_PROMPT_ESC, input_el__make_prompt, INPUT_START_IGNORE);
|
||||
input_el__redisplay (self);
|
||||
@@ -3024,18 +3026,6 @@ irc_to_utf8 (const char *text)
|
||||
return str_steal (&s);
|
||||
}
|
||||
|
||||
// This function is used to output debugging IRC traffic to the terminal.
|
||||
// It's far from ideal, as any non-UTF-8 text degrades the entire line to
|
||||
// ISO Latin 1. But it should work good enough most of the time.
|
||||
static char *
|
||||
irc_to_term (struct app_context *ctx, const char *text)
|
||||
{
|
||||
char *utf8 = irc_to_utf8 (text);
|
||||
char *term = iconv_xstrdup (ctx->term_from_utf8, utf8, -1, NULL);
|
||||
free (utf8);
|
||||
return term;
|
||||
}
|
||||
|
||||
// --- Output formatter --------------------------------------------------------
|
||||
|
||||
// This complicated piece of code makes attributed text formatting simple.
|
||||
@@ -4246,11 +4236,11 @@ buffer_rename (struct app_context *ctx,
|
||||
str_map_set (&ctx->buffers_by_name, buffer->name, NULL);
|
||||
str_map_set (&ctx->buffers_by_name, new_name, buffer);
|
||||
|
||||
cstr_set (&buffer->name, xstrdup (new_name));
|
||||
|
||||
buffer_close_log_file (buffer);
|
||||
buffer_open_log_file (ctx, buffer);
|
||||
|
||||
cstr_set (&buffer->name, xstrdup (new_name));
|
||||
|
||||
// We might have renamed the current buffer
|
||||
refresh_prompt (ctx);
|
||||
}
|
||||
@@ -4758,6 +4748,8 @@ irc_real_shutdown (struct server *s)
|
||||
s->transport->in_before_shutdown (s);
|
||||
|
||||
while (shutdown (s->socket, SHUT_WR) == -1)
|
||||
// XXX: we get ENOTCONN with OpenSSL (not plain) when a localhost
|
||||
// server is aborted, why? strace says read 0, write 31, shutdown -1.
|
||||
if (!soft_assert (errno == EINTR))
|
||||
break;
|
||||
|
||||
@@ -5521,6 +5513,7 @@ irc_autofill_user_info (struct server *s, struct error **e)
|
||||
return true;
|
||||
|
||||
// Read POSIX user info and fill the configuration if needed
|
||||
errno = 0;
|
||||
struct passwd *pwd = getpwuid (geteuid ());
|
||||
if (!pwd)
|
||||
{
|
||||
@@ -5945,18 +5938,32 @@ on_refresh_prompt (struct app_context *ctx)
|
||||
|
||||
struct str prompt = str_make ();
|
||||
make_prompt (ctx, &prompt);
|
||||
|
||||
// libedit has a weird bug where it misapplies ignores when they're not
|
||||
// followed by anything else, so let's try to move a trailing space,
|
||||
// which will at least fix the default prompt.
|
||||
const char *attributed_suffix = "";
|
||||
#ifdef HAVE_EDITLINE
|
||||
if (have_attributes && prompt.len && prompt.str[prompt.len - 1] == ' ')
|
||||
{
|
||||
prompt.str[--prompt.len] = 0;
|
||||
attributed_suffix = " ";
|
||||
}
|
||||
#endif // HAVE_EDITLINE
|
||||
|
||||
char *localized = iconv_xstrdup (ctx->term_from_utf8, prompt.str, -1, NULL);
|
||||
str_free (&prompt);
|
||||
|
||||
if (have_attributes)
|
||||
{
|
||||
// XXX: to be completely correct, we should use tputs, but we cannot
|
||||
input_maybe_set_prompt (ctx->input, xstrdup_printf ("%c%s%c%s%c%s%c",
|
||||
input_maybe_set_prompt (ctx->input, xstrdup_printf ("%c%s%c%s%c%s%c%s",
|
||||
INPUT_START_IGNORE, ctx->attrs[ATTR_PROMPT],
|
||||
INPUT_END_IGNORE,
|
||||
localized,
|
||||
INPUT_START_IGNORE, ctx->attrs[ATTR_RESET],
|
||||
INPUT_END_IGNORE));
|
||||
INPUT_END_IGNORE,
|
||||
attributed_suffix));
|
||||
free (localized);
|
||||
}
|
||||
else
|
||||
@@ -9653,12 +9660,19 @@ lua_task_resume (struct lua_task *self, int index)
|
||||
n = 2;
|
||||
}
|
||||
|
||||
#if LUA_VERSION_NUM >= 504
|
||||
int nresults = 0;
|
||||
int res = lua_resume (L, NULL, n, &nresults);
|
||||
#else
|
||||
int res = lua_resume (L, NULL, n);
|
||||
int nresults = lua_gettop (L);
|
||||
#endif
|
||||
|
||||
struct error *error = NULL;
|
||||
if (res == LUA_YIELD)
|
||||
{
|
||||
// AFAIK we don't get any good error context information from here
|
||||
if (lua_task_schedule (self, lua_gettop (L), &error))
|
||||
if (lua_task_schedule (self, nresults, &error))
|
||||
return;
|
||||
}
|
||||
// For simplicity ignore any results from successful returns
|
||||
@@ -12456,6 +12470,7 @@ resume_terminal (struct app_context *ctx)
|
||||
|
||||
update_screen_size ();
|
||||
CALL_ (ctx->input, prepare, true);
|
||||
CALL (ctx->input, on_tty_resized);
|
||||
|
||||
toggle_bracketed_paste (true);
|
||||
// In theory we could just print all unseen messages but this is safer
|
||||
@@ -13148,26 +13163,6 @@ app_editline_init (struct input_el *self)
|
||||
|
||||
// --- Configuration loading ---------------------------------------------------
|
||||
|
||||
static struct config_item *
|
||||
load_configuration_file (const char *filename, struct error **e)
|
||||
{
|
||||
struct config_item *root = NULL;
|
||||
|
||||
struct str data = str_make ();
|
||||
if (!read_file (filename, &data, e))
|
||||
goto end;
|
||||
|
||||
struct error *error = NULL;
|
||||
if (!(root = config_item_parse (data.str, data.len, false, &error)))
|
||||
{
|
||||
error_set (e, "Parsing `%s' failed: %s", filename, error->message);
|
||||
error_free (error);
|
||||
}
|
||||
end:
|
||||
str_free (&data);
|
||||
return root;
|
||||
}
|
||||
|
||||
static const char *g_first_time_help[] =
|
||||
{
|
||||
"",
|
||||
|
||||
39
kike.c
39
kike.c
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* kike.c: the experimental IRC daemon
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, Přemysl Janouch <p@janouch.name>
|
||||
* Copyright (c) 2014 - 2018, Přemysl Eric Janouch <p@janouch.name>
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted.
|
||||
@@ -50,7 +50,7 @@ static struct simple_config_item g_config_table[] =
|
||||
{ "operators", NULL, "IRCop TLS cert. fingerprints" },
|
||||
|
||||
{ "max_connections", "0", "Global connection limit" },
|
||||
{ "ping_interval", "180", "Interval between PING's (sec)" },
|
||||
{ "ping_interval", "180", "Interval between PINGs (sec)" },
|
||||
{ NULL, NULL, NULL }
|
||||
};
|
||||
|
||||
@@ -194,7 +194,8 @@ irc_validate_to_str (enum validation_result result)
|
||||
}
|
||||
|
||||
// Anything to keep it as short as possible
|
||||
#define SN "[0-9A-Za-z][-0-9A-Za-z]*[0-9A-Za-z]*"
|
||||
// "shortname" from RFC 2812 doesn't work how its author thought it would.
|
||||
#define SN "[0-9A-Za-z](-*[0-9A-Za-z])*"
|
||||
#define N4 "[0-9]{1,3}"
|
||||
#define N6 "[0-9ABCDEFabcdef]{1,}"
|
||||
|
||||
@@ -233,6 +234,13 @@ irc_is_valid_host (const char *host)
|
||||
|| irc_is_valid_hostaddr (host);
|
||||
}
|
||||
|
||||
// TODO: currently, we are almost encoding-agnostic (strings just need to be
|
||||
// ASCII-compatible). We should at least have an option to enforce a specific
|
||||
// encoding, such as UTF-8. Note that with Unicode we should not allow all
|
||||
// character clasess and exclude the likes of \pM with the goal of enforcing
|
||||
// NFC-normalized identifiers--utf8proc is a good candidate library to handle
|
||||
// the categorization and validation.
|
||||
|
||||
static bool
|
||||
irc_is_valid_user (const char *user)
|
||||
{
|
||||
@@ -1428,6 +1436,10 @@ irc_handle_nick (const struct irc_message *msg, struct client *c)
|
||||
if (client && client != c)
|
||||
RETURN_WITH_REPLY (c, IRC_ERR_NICKNAMEINUSE, nickname);
|
||||
|
||||
// Nothing to do here, let's not annoy roommates
|
||||
if (c->nickname && !strcmp (c->nickname, nickname))
|
||||
return;
|
||||
|
||||
if (c->registered)
|
||||
{
|
||||
client_add_to_whowas (c);
|
||||
@@ -1446,7 +1458,6 @@ irc_handle_nick (const struct irc_message *msg, struct client *c)
|
||||
cstr_set (&c->nickname, xstrdup (nickname));
|
||||
str_map_set (&ctx->users, nickname, c);
|
||||
|
||||
if (!c->registered)
|
||||
irc_try_finish_registration (c);
|
||||
}
|
||||
|
||||
@@ -1468,6 +1479,7 @@ irc_handle_user (const struct irc_message *msg, struct client *c)
|
||||
|
||||
cstr_set (&c->username, xstrdup (username));
|
||||
cstr_set (&c->realname, xstrdup (realname));
|
||||
c->mode = 0;
|
||||
|
||||
unsigned long m;
|
||||
if (xstrtoul (&m, mode, 10))
|
||||
@@ -1994,10 +2006,11 @@ irc_handle_chan_mode_change
|
||||
mode_processor_step (&p, '+');
|
||||
while (*mode_string)
|
||||
if (!mode_processor_step (&p, *mode_string++))
|
||||
break;
|
||||
goto done_processing;
|
||||
}
|
||||
|
||||
// TODO: limit to three changes with parameter per command
|
||||
done_processing:
|
||||
if (p.added.len || p.removed.len)
|
||||
{
|
||||
struct str message = str_make ();
|
||||
@@ -2446,8 +2459,8 @@ irc_handle_whois (const struct irc_message *msg, struct client *c)
|
||||
{
|
||||
struct str_map_iter iter = str_map_iter_make (&c->ctx->users);
|
||||
bool found = false;
|
||||
while ((target = str_map_iter_next (&iter))
|
||||
&& !irc_fnmatch (mask, target->nickname))
|
||||
while ((target = str_map_iter_next (&iter)))
|
||||
if (!irc_fnmatch (mask, target->nickname))
|
||||
{
|
||||
irc_send_whois_reply (c, target);
|
||||
found = true;
|
||||
@@ -2715,7 +2728,7 @@ irc_try_join (struct client *c, const char *channel_name, const char *key)
|
||||
else if (channel_get_user (chan, c))
|
||||
return;
|
||||
|
||||
bool invited_by_chanop = str_map_find (&c->invites, channel_name);
|
||||
bool invited_by_chanop = !!str_map_find (&c->invites, channel_name);
|
||||
if ((chan->modes & IRC_CHAN_MODE_INVITE_ONLY)
|
||||
&& !client_in_mask_list (c, &chan->invite_list)
|
||||
&& !invited_by_chanop)
|
||||
@@ -2881,9 +2894,9 @@ irc_handle_stats_uptime (struct client *c)
|
||||
static void
|
||||
irc_handle_stats (const struct irc_message *msg, struct client *c)
|
||||
{
|
||||
char query;
|
||||
if (msg->params.len < 1 || !(query = *msg->params.vector[0]))
|
||||
RETURN_WITH_REPLY (c, IRC_ERR_NEEDMOREPARAMS, msg->command);
|
||||
char query = 0;
|
||||
if (msg->params.len > 0)
|
||||
query = *msg->params.vector[0];
|
||||
if (msg->params.len > 1 && !irc_is_this_me (c->ctx, msg->params.vector[1]))
|
||||
RETURN_WITH_REPLY (c, IRC_ERR_NOSUCHSERVER, msg->params.vector[1]);
|
||||
if (!(c->mode & IRC_USER_MODE_OPERATOR))
|
||||
@@ -2896,7 +2909,7 @@ irc_handle_stats (const struct irc_message *msg, struct client *c)
|
||||
case 'u': irc_handle_stats_uptime (c); break;
|
||||
}
|
||||
|
||||
irc_send_reply (c, IRC_RPL_ENDOFSTATS, query);
|
||||
irc_send_reply (c, IRC_RPL_ENDOFSTATS, query ? query : '*');
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -3009,8 +3022,6 @@ static void
|
||||
irc_process_message (const struct irc_message *msg,
|
||||
const char *raw, void *user_data)
|
||||
{
|
||||
(void) raw;
|
||||
|
||||
struct client *c = user_data;
|
||||
if (c->closing_link)
|
||||
return;
|
||||
|
||||
2
liberty
2
liberty
Submodule liberty updated: bb30c7d86e...1a76b2032e
@@ -1,7 +1,7 @@
|
||||
--
|
||||
-- auto-rejoin.lua: join back automatically when someone kicks you
|
||||
--
|
||||
-- Copyright (c) 2016, Přemysl Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2016, Přemysl Eric Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--
|
||||
-- censor.lua: black out certain users' messages
|
||||
--
|
||||
-- Copyright (c) 2016, Přemysl Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2016, Přemysl Eric Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--
|
||||
-- fancy-prompt.lua: the fancy multiline prompt you probably want
|
||||
--
|
||||
-- Copyright (c) 2016, Přemysl Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2016, Přemysl Eric Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
--
|
||||
-- I call this style closure-oriented programming
|
||||
--
|
||||
-- Copyright (c) 2016, Přemysl Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2016, Přemysl Eric Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--
|
||||
-- ping-timeout.lua: ping timeout readability enhancement plugin
|
||||
--
|
||||
-- Copyright (c) 2015 - 2016, Přemysl Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2015 - 2016, Přemysl Eric Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--
|
||||
-- slack.lua: try to fix up UX when using the Slack IRC gateway
|
||||
--
|
||||
-- Copyright (c) 2017, Přemysl Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2017, Přemysl Eric Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--
|
||||
-- thin-cursor.lua: set a thin cursor
|
||||
--
|
||||
-- Copyright (c) 2016, Přemysl Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2016, Přemysl Eric Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--
|
||||
-- utm-filter.lua: filter out Google Analytics bullshit from URLs
|
||||
--
|
||||
-- Copyright (c) 2015, Přemysl Janouch <p@janouch.name>
|
||||
-- Copyright (c) 2015, Přemysl Eric Janouch <p@janouch.name>
|
||||
--
|
||||
-- Permission to use, copy, modify, and/or distribute this software for any
|
||||
-- purpose with or without fee is hereby granted.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
ZyklonB calc plugin, basic Scheme evaluator
|
||||
|
||||
Copyright 2016 Přemysl Janouch
|
||||
Copyright 2016 Přemysl Eric Janouch
|
||||
See the file LICENSE for licensing information.
|
||||
|
||||
!#
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# ZyklonB coin plugin, random number-based utilities
|
||||
#
|
||||
# Copyright 2012, 2014 Přemysl Janouch
|
||||
# Copyright 2012, 2014 Přemysl Eric Janouch
|
||||
# See the file LICENSE for licensing information.
|
||||
#
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# ZyklonB eval plugin, LISP-like expression evaluator
|
||||
#
|
||||
# Copyright 2013, 2014 Přemysl Janouch
|
||||
# Copyright 2013, 2014 Přemysl Eric Janouch
|
||||
# See the file LICENSE for licensing information.
|
||||
#
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# ZyklonB factoids plugin
|
||||
#
|
||||
# Copyright 2016 Přemysl Janouch <p@janouch.name>
|
||||
# Copyright 2016 Přemysl Eric Janouch <p@janouch.name>
|
||||
# See the file LICENSE for licensing information.
|
||||
#
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#
|
||||
# ZyklonB pomodoro plugin
|
||||
#
|
||||
# Copyright 2015 Přemysl Janouch
|
||||
# Copyright 2015 Přemysl Eric Janouch
|
||||
# See the file LICENSE for licensing information.
|
||||
#
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// ZyklonB scripting plugin, using a custom stack-based language
|
||||
//
|
||||
// Copyright 2014 Přemysl Janouch
|
||||
// Copyright 2014 Přemysl Eric Janouch
|
||||
// See the file LICENSE for licensing information.
|
||||
//
|
||||
// Just compile this file as usual (sans #!) if you don't feel like using TCC.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
--
|
||||
-- ZyklonB seen plugin
|
||||
--
|
||||
-- Copyright 2016 Přemysl Janouch <p@janouch.name>
|
||||
-- Copyright 2016 Přemysl Eric Janouch <p@janouch.name>
|
||||
-- See the file LICENSE for licensing information.
|
||||
--
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# ZyklonB YouTube plugin, displaying info about YouTube links
|
||||
#
|
||||
# Copyright 2014 - 2015, Přemysl Janouch <p@janouch.name>
|
||||
# Copyright 2014 - 2015, Přemysl Eric Janouch <p@janouch.name>
|
||||
# See the file LICENSE for licensing information.
|
||||
#
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* zyklonb.c: the experimental IRC bot
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, Přemysl Janouch <p@janouch.name>
|
||||
* Copyright (c) 2014 - 2016, Přemysl Eric Janouch <p@janouch.name>
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted.
|
||||
|
||||
Reference in New Issue
Block a user