mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 14:56:39 +02:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c47916ac8e | |||
| e0cecefb0f | |||
| 2682fb450d | |||
| bf48efffec | |||
| a205886d7a |
+2
-1
@@ -16,7 +16,7 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
|||||||
|
|
||||||
|
|
||||||
[[v2.2]]
|
[[v2.2]]
|
||||||
== Version 2.2 (under dev)
|
== Version 2.2 (2018-07-14)
|
||||||
|
|
||||||
New features::
|
New features::
|
||||||
|
|
||||||
@@ -56,6 +56,7 @@ Bug fixes::
|
|||||||
* irc: send whole IRC message including IRCv3 tags in the signals irc_in, irc_in2, irc_raw_in and irc_raw_in2 (issue #787)
|
* irc: send whole IRC message including IRCv3 tags in the signals irc_in, irc_in2, irc_raw_in and irc_raw_in2 (issue #787)
|
||||||
* irc: fix memory leak when receiving a message with IRCv3 tags
|
* irc: fix memory leak when receiving a message with IRCv3 tags
|
||||||
* guile: fix memory leak in 7 functions returning allocated strings
|
* guile: fix memory leak in 7 functions returning allocated strings
|
||||||
|
* lua: fix macros used to return values
|
||||||
* php: fix return code of functions config_write_option and config_write_line
|
* php: fix return code of functions config_write_option and config_write_line
|
||||||
* php: fix memory leak in 72 functions returning allocated strings
|
* php: fix memory leak in 72 functions returning allocated strings
|
||||||
* python: fix crash when loading a script with Python >= 3.7 (issue #1219)
|
* python: fix crash when loading a script with Python >= 3.7 (issue #1219)
|
||||||
|
|||||||
+1
-1
@@ -18,7 +18,7 @@ https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
|
|||||||
|
|
||||||
|
|
||||||
[[v2.2]]
|
[[v2.2]]
|
||||||
== Version 2.2 (under dev)
|
== Version 2.2 (2018-07-14)
|
||||||
|
|
||||||
[[v2.2_default_hotlist_conditions]]
|
[[v2.2_default_hotlist_conditions]]
|
||||||
=== Default conditions for hotlist
|
=== Default conditions for hotlist
|
||||||
|
|||||||
@@ -281,7 +281,7 @@ gui_main_signal_sigwinch ()
|
|||||||
void
|
void
|
||||||
gui_main_handle_quit_signals ()
|
gui_main_handle_quit_signals ()
|
||||||
{
|
{
|
||||||
char str_signal[64], str_weechat_signal[64];
|
char str_signal[32], str_weechat_signal[64];
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
switch (weechat_quit_signal)
|
switch (weechat_quit_signal)
|
||||||
|
|||||||
+1
-1
@@ -240,7 +240,7 @@ const char *
|
|||||||
gui_color_get_custom (const char *color_name)
|
gui_color_get_custom (const char *color_name)
|
||||||
{
|
{
|
||||||
int fg, bg, fg_term, bg_term, term_color;
|
int fg, bg, fg_term, bg_term, term_color;
|
||||||
static char color[32][32];
|
static char color[32][96];
|
||||||
static int index_color = 0;
|
static int index_color = 0;
|
||||||
char color_fg[32], color_bg[32];
|
char color_fg[32], color_bg[32];
|
||||||
char *pos_delim, *str_fg, *pos_bg, *error, *color_attr;
|
char *pos_delim, *str_fg, *pos_bg, *error, *color_attr;
|
||||||
|
|||||||
@@ -70,38 +70,56 @@
|
|||||||
#define API_STATIC_STRING(__string) \
|
#define API_STATIC_STRING(__string) \
|
||||||
plugin_script_get_static_string(&lua_data, __string);
|
plugin_script_get_static_string(&lua_data, __string);
|
||||||
#define API_RETURN_OK \
|
#define API_RETURN_OK \
|
||||||
lua_pushinteger (L, 1); \
|
{ \
|
||||||
return 1
|
lua_pushinteger (L, 1); \
|
||||||
|
return 1; \
|
||||||
|
}
|
||||||
#define API_RETURN_ERROR \
|
#define API_RETURN_ERROR \
|
||||||
lua_pushinteger (L, 0); \
|
{ \
|
||||||
return 1
|
lua_pushinteger (L, 0); \
|
||||||
|
return 1; \
|
||||||
|
}
|
||||||
#define API_RETURN_EMPTY \
|
#define API_RETURN_EMPTY \
|
||||||
lua_pushstring (L, ""); \
|
{ \
|
||||||
return 0
|
lua_pushstring (L, ""); \
|
||||||
|
return 0; \
|
||||||
|
}
|
||||||
#define API_RETURN_STRING(__string) \
|
#define API_RETURN_STRING(__string) \
|
||||||
lua_pushstring (L, \
|
{ \
|
||||||
(__string) ? __string : ""); \
|
lua_pushstring (L, \
|
||||||
return 1
|
(__string) ? __string : ""); \
|
||||||
|
return 1; \
|
||||||
|
}
|
||||||
#define API_RETURN_STRING_FREE(__string) \
|
#define API_RETURN_STRING_FREE(__string) \
|
||||||
lua_pushstring (L, \
|
{ \
|
||||||
(__string) ? __string : ""); \
|
lua_pushstring (L, \
|
||||||
if (__string) \
|
(__string) ? __string : ""); \
|
||||||
free (__string); \
|
if (__string) \
|
||||||
return 1
|
free (__string); \
|
||||||
|
return 1; \
|
||||||
|
}
|
||||||
#if LUA_VERSION_NUM >= 503
|
#if LUA_VERSION_NUM >= 503
|
||||||
#define API_RETURN_INT(__int) \
|
#define API_RETURN_INT(__int) \
|
||||||
lua_pushinteger (L, __int); \
|
{ \
|
||||||
return 1
|
lua_pushinteger (L, __int); \
|
||||||
|
return 1; \
|
||||||
|
}
|
||||||
#define API_RETURN_LONG(__long) \
|
#define API_RETURN_LONG(__long) \
|
||||||
lua_pushinteger (L, __long); \
|
{ \
|
||||||
return 1
|
lua_pushinteger (L, __long); \
|
||||||
|
return 1; \
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
#define API_RETURN_INT(__int) \
|
#define API_RETURN_INT(__int) \
|
||||||
lua_pushnumber (L, __int); \
|
{ \
|
||||||
return 1
|
lua_pushnumber (L, __int); \
|
||||||
|
return 1; \
|
||||||
|
}
|
||||||
#define API_RETURN_LONG(__long) \
|
#define API_RETURN_LONG(__long) \
|
||||||
lua_pushnumber (L, __long); \
|
{ \
|
||||||
return 1
|
lua_pushnumber (L, __long); \
|
||||||
|
return 1; \
|
||||||
|
}
|
||||||
#endif /* LUA_VERSION_NUM >= 503 */
|
#endif /* LUA_VERSION_NUM >= 503 */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -599,7 +599,7 @@ relay_irc_get_line_info (struct t_relay_client *client,
|
|||||||
char **tags, char **message)
|
char **tags, char **message)
|
||||||
{
|
{
|
||||||
int i, num_tags, command, action, all_tags, length;
|
int i, num_tags, command, action, all_tags, length;
|
||||||
char str_tag[256], *pos, *message_no_color, str_time[256];
|
char str_tag[512], *pos, *message_no_color, str_time[256];
|
||||||
const char *ptr_tag, *ptr_message, *ptr_nick, *ptr_nick1, *ptr_nick2;
|
const char *ptr_tag, *ptr_message, *ptr_nick, *ptr_nick1, *ptr_nick2;
|
||||||
const char *ptr_host, *localvar_nick, *time_format;
|
const char *ptr_host, *localvar_nick, *time_format;
|
||||||
time_t msg_date;
|
time_t msg_date;
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ TEST_GROUP(Scripts)
|
|||||||
TEST(Scripts, API)
|
TEST(Scripts, API)
|
||||||
{
|
{
|
||||||
char path_testapigen[PATH_MAX], path_testapi[PATH_MAX];
|
char path_testapigen[PATH_MAX], path_testapi[PATH_MAX];
|
||||||
char *path_testapi_output_dir, str_command[4096];
|
char *path_testapi_output_dir, str_command[(PATH_MAX * 2) + 128];
|
||||||
char *test_scripts_dir;
|
char *test_scripts_dir;
|
||||||
struct timeval time_start, time_end;
|
struct timeval time_start, time_end;
|
||||||
long long diff;
|
long long diff;
|
||||||
|
|||||||
+2
-2
@@ -32,9 +32,9 @@
|
|||||||
# devel-patch the patch version of devel (e.g. 2 for version 1.4.2)
|
# devel-patch the patch version of devel (e.g. 2 for version 1.4.2)
|
||||||
#
|
#
|
||||||
|
|
||||||
WEECHAT_STABLE=2.1
|
WEECHAT_STABLE=2.2
|
||||||
WEECHAT_DEVEL=2.2
|
WEECHAT_DEVEL=2.2
|
||||||
WEECHAT_DEVEL_FULL=2.2-rc2
|
WEECHAT_DEVEL_FULL=2.2
|
||||||
|
|
||||||
if [ $# -lt 1 ]; then
|
if [ $# -lt 1 ]; then
|
||||||
echo >&2 "Syntax: $0 stable|devel|devel-full|devel-major|devel-minor|devel-patch"
|
echo >&2 "Syntax: $0 stable|devel|devel-full|devel-major|devel-minor|devel-patch"
|
||||||
|
|||||||
+3
-1
@@ -23,7 +23,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
%define name weechat
|
%define name weechat
|
||||||
%define version 2.1
|
%define version 2.2
|
||||||
%define release 1
|
%define release 1
|
||||||
|
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
@@ -77,6 +77,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_prefix}/share/icons/hicolor/32x32/apps/weechat.png
|
%{_prefix}/share/icons/hicolor/32x32/apps/weechat.png
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 14 2018 Sébastien Helleu <flashcode@flashtux.org> 2.2-1
|
||||||
|
- Released version 2.2
|
||||||
* Sun Mar 18 2018 Sébastien Helleu <flashcode@flashtux.org> 2.1-1
|
* Sun Mar 18 2018 Sébastien Helleu <flashcode@flashtux.org> 2.1-1
|
||||||
- Released version 2.1
|
- Released version 2.1
|
||||||
* Wed Dec 20 2017 Sébastien Helleu <flashcode@flashtux.org> 2.0.1-1
|
* Wed Dec 20 2017 Sébastien Helleu <flashcode@flashtux.org> 2.0.1-1
|
||||||
|
|||||||
Reference in New Issue
Block a user