Fork 0
Commit Graph

34 Commits

Author SHA1 Message Date
Ailin Nemui b8736225cf good-bye and thanks, autotools 2022-02-19 21:44:10 +01:00
Ailin Nemui 82f8ee57c3 autoload the IRC module 2022-02-16 21:49:11 +01:00
Ailin Nemui e7f3946583 configure automake with nostdinc
the current directoryh won't be added to the compiler's -I path
2021-02-02 00:24:34 +01:00
ailin-nemui db9aa817d5
Merge pull request #1246 from ailin-nemui/wrong-prefixes
correct wrong function prefixes

Module authors will have to adapt these changes:

    [M] 'constant I_INPUT_READ'    {G_INPUT_READ}
    [M] 'constant I_INPUT_WRITE'    {G_INPUT_WRITE}
    [M] 'function int i_input_add(GIOChannel*, int, GInputFunction, void*)'    {g_input_add}
    [M] 'function int i_input_add_full(GIOChannel*, int, int, GInputFunction, void*)'    {g_input_add_full}
    [M] 'function int i_input_add_poll(int, int, int, GInputFunction, void*)'    {g_input_add_poll}
    [M] 'function GIOChannel* i_io_channel_new(int)'    {g_io_channel_new}
    [M] 'function int i_io_channel_read_block(GIOChannel*, void*, int)'    {g_io_channel_read_block}
    [M] 'function int i_io_channel_write_block(GIOChannel*, void*, int)'    {g_io_channel_write_block}
    [M] 'function int i_istr_cmp(gconstpointer, gconstpointer)'    {g_istr_cmp}
    [M] 'function int i_istr_equal(gconstpointer, gconstpointer)'    {g_istr_equal}
    [M] 'function guint i_istr_hash(gconstpointer)'    {g_istr_hash}
    [M] 'function void i_log_func(const char*, GLogLevelFlags, const char*)'    {glog_func}
    [M] 'function GSList* i_slist_delete_string(GSList*, const char*, GDestroyNotify)'    {gslist_delete_string}
    [M] 'function GSList* i_slist_find_icase_string(GSList*, const char*)'    {gslist_find_icase_string}
    [M] 'function GSList* i_slist_find_string(GSList*, const char*)'    {gslist_find_string}
    [M] 'function void* i_slist_foreach_find(GSList*, FOREACH_FIND_FUNC, void*)'    {gslist_foreach_find}
    [M] 'function void i_slist_free_full(GSList*, GDestroyNotify)'    {gslist_free_full}
    [M] 'function GSList* i_slist_remove_string(GSList*, const char*)'    {gslist_remove_string}
    [M] 'function char* i_slist_to_string(GSList*, const char*)'    {gslist_to_string}
2021-01-30 21:09:26 +01:00
Ailin Nemui 9181796472 correct wrong function prefixes: g_istr -> i_istr 2021-01-07 10:09:45 +01:00
Ailin Nemui 1f05f86167 package the meson.build files 2021-01-06 22:12:46 +01:00
ailin-nemui f95fc81130 make lines reformattable
- completely removed the old textbuffer representation (

- textbuffer-formats is an extra module, so if we unhook the signals it
  should go back to the "old way" of storing pre-rendered tex

- design uses cache, original formats and list of arguments
2020-04-26 18:54:16 +02:00
Ailin Nemui 00a7efc69f modularise irc component 2019-07-17 13:37:19 +02:00
Ailin Nemui db16a0a853 meson build support 2019-07-10 09:25:26 +02:00
ailin-nemui 7e6e1f2e10 Use full paths to includes 2019-05-01 22:08:45 +02:00
ailin-nemui 80fe52cb59 fix test on Big Endian 64bit, due to pointer size mismatch 2019-02-13 13:56:03 +01:00
ailin-nemui 83e98da2ff add test for paste_join_multiline 2018-11-09 11:05:52 +01:00
ailin-nemui 9d2429c027 test line joining 2018-11-09 10:57:37 +01:00
ailin-nemui bc1d82a757
Merge pull request #964 from ailin-nemui/fixes
fix duplicate include guard and link libs of test
2018-10-18 15:15:50 +02:00
ailin-nemui da15279fa3 fix flood test libs 2018-10-17 00:58:39 +02:00
ailin-nemui 8b1afbd355 revert core changes 2018-10-06 20:05:54 +02:00
Will Storey 7b09cac9ec Call functions via signals rather than directly
This allows us to leave functions static.
2018-08-27 21:04:54 -07:00
Will Storey 6f38d67d87 Add tests for channel change events 2018-08-27 20:51:18 -07:00
ailin-nemui 3075cbc6fb
Fix test compilation on old glib
e.g. Debian 7
2018-04-24 14:00:30 +02:00
ailin-nemui 191e0ac84e
Merge pull request #802 from ailin-nemui/test-796
Test for segfault on disconnect during signal processing
2018-03-20 10:30:39 +01:00
ailin-nemui e7c9b3afb8 fix test builds on some platforms 2018-01-16 11:05:47 +01:00
ailin-nemui d4bd0d02fb
Merge pull request #807 from ailin-nemui/fix-real-length-test
fix format_real_length expected test result
2018-01-08 14:33:39 +01:00
ailin-nemui 3b1ee8e7e7 change expected format_real_length test result
This change from 0 -> 4 was introduced by #697 and is thus expected
2018-01-08 13:47:25 +01:00
ailin-nemui b8e3c5d00e only use nonfatal assertions for GLib that actually supports it
Fixes tests on Debian 7 and RHEL 6
2018-01-08 13:33:40 +01:00
ailin-nemui 6b0e140996 show destroyed event 2018-01-04 23:03:07 +01:00
ailin-nemui bffced5498
Update test-796.c
odd space
2018-01-04 21:11:00 +01:00
ailin-nemui 3b7b868bb1 finish test case 2018-01-04 16:43:58 +01:00
ailin-nemui c7cd49f8d7 first bug case, exposes broken server object in chat-completion 2018-01-04 16:18:07 +01:00
ailin-nemui 5bddfe7b73 add new test skeleton 2018-01-04 14:29:57 +01:00
ailin-nemui eb9e2ed6fd Update test-irc.c
Fix wrong array (missing an s)
2017-12-07 12:07:37 +01:00
ailin-nemui d932e6e4b7 add test case for format_real_length 2017-12-07 12:06:20 +01:00
ailin-nemui 43d06369bf move fixtures to outer scope 2017-12-07 12:06:20 +01:00
ailin-nemui c20eddeb38 add glib testing TAP utilities 2017-12-07 12:06:20 +01:00
Will Storey 1328e1ba08 Add a test program to test mode parsing
This uses GLib's testing framework. It is to test the changes to the
mode parsing for #603.
2017-12-07 12:06:20 +01:00