Sébastien Helleu
d322389e04
core: add support of full color option name in command /eval and API function string_eval_expression()
2015-04-26 10:29:30 +02:00
Sébastien Helleu
b2a68af077
core: add options weechat.look.word_chars_{highlight|input} ( closes #55 , task #9459 )
2015-04-11 18:53:44 +02:00
Sébastien Helleu
8b056d7d24
tests: check that function string_strndup returns NULL if the given string is NULL
2015-03-22 11:14:12 +01:00
Sébastien Helleu
cace7471f0
tests: remove compiler warnings about unused parameters
2015-03-06 19:24:24 +01:00
Sébastien Helleu
3eb6cd3cd9
tests: remove unused variables
2015-03-03 07:43:23 +01:00
Sébastien Helleu
f6941c20eb
tests: remove unused variable
2015-03-02 21:15:23 +01:00
Sébastien Helleu
07c7ecb679
tests: add tests on weelist functions
2015-02-13 08:00:09 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
0cd2aff765
core: use https for WeeChat URLs
2014-12-13 09:16:09 +01:00
Sébastien Helleu
7818e08964
tests: fix compilation of tests with clang ( closes #275 )
2014-12-10 21:15:40 +01:00
Sébastien Helleu
b460055f78
tests: add tests of regex replace with empty regex or regex_replace
2014-11-23 08:32:52 +01:00
Sébastien Helleu
e253a2509a
tests: add hashtable tests with multiple items giving same hashed key
2014-11-18 20:12:25 +01:00
Sébastien Helleu
0d1abd3899
tests: add tests of functions string_shared_get and string_shared_free
2014-11-03 20:52:02 +01:00
Sébastien Helleu
633a32ccd3
api: add regex replace feature in function string_eval_expression
2014-10-22 21:19:54 +02:00
Sébastien Helleu
5f98f20c94
tests: fix memory leak in hashtable tests
2014-10-16 20:46:31 +02:00
Sébastien Helleu
f62f759c3d
core: add hide of chars in string in evaluation of expressions
...
The syntax is: ${hide:char,string}.
All chars in string are replaced with char (which can be one or more chars).
2014-10-16 20:46:06 +02:00
Sébastien Helleu
45a0bfe1b3
tests: add test of function string_split_shell with an empty string
2014-10-12 18:09:57 +02:00
Sébastien Helleu
9249738582
tests: add extra check of argv pointer in test of string_split functions
2014-10-12 18:09:04 +02:00
Sébastien Helleu
8b23106145
tests: initialize argc to -1 instead of 1 before some tests
2014-10-12 18:07:53 +02:00
Sébastien Helleu
5014231818
tests: add some tests on function eval_expression
2014-10-12 17:58:13 +02:00
Sébastien Helleu
2867996d1f
core: fix search/insert of elements in sorted arraylist with duplicates
...
The pointer and index returned is now the first element found with the value
(with the lower index if there are many elements with same value).
And the index for insert is the last element with same value + 1
(the higher index + 1).
2014-10-11 15:47:09 +02:00
Sébastien Helleu
f53baf628e
Merge branch 'arraylist'
2014-10-05 08:35:17 +02:00
Sébastien Helleu
4c49113036
tests: add tests of hashtable functions
2014-09-03 07:38:46 +02:00
Sébastien Helleu
dda1a66fd7
tests: add tests of arraylist functions
2014-09-01 11:51:04 +02:00
Sébastien Helleu
7b546bea2e
api: use microseconds instead of milliseconds in functions util_timeval_diff and util_timeval_add
2014-08-29 18:17:27 +02:00
Sébastien Helleu
5424c5f9de
core: fix build of tests with autotools
2014-08-25 20:26:19 +02:00
Sébastien Helleu
f39b37351c
tests: fix build of tests when the build directory is outside source tree ( closes #178 )
2014-08-25 07:38:38 +02:00
Sébastien Helleu
bc34c3cfc2
tests: fix memory leak in tests launcher
2014-08-15 15:08:31 +02:00
Sébastien Helleu
dcf46a2ca0
tests: read WeeChat command line arguments in environment variable "WEECHAT_TESTS_ARGS"
2014-08-14 19:15:25 +02:00
Sébastien Helleu
99b7aa9d27
tests: fix memory leaks
2014-08-14 19:13:32 +02:00
Sébastien Helleu
00e79af39c
tests: add tests of function string_split_shell
2014-08-14 19:12:00 +02:00
Sébastien Helleu
328eeee5e1
tests: add partial tests of functions hashtable_set*
2014-08-14 19:09:27 +02:00
Sébastien Helleu
346fb62cf6
tests: don't install binary "tests" with autotools
2014-08-14 19:06:21 +02:00
Sébastien Helleu
536318eafe
tests: add tests of function string_replace_with_callback
2014-08-14 07:38:42 +02:00
Sébastien Helleu
a538a9c08e
tests: add tests of function string_replace_regex
2014-08-09 09:08:06 +02:00
Sébastien Helleu
13fc108c6d
tests: add TODO comments for missing tests
2014-08-06 07:53:04 +02:00
Sébastien Helleu
2cc265f34e
tests: add tests of functions hashtable_hash_key_djb2 and hashtable_new
2014-08-04 07:41:24 +02:00
Sébastien Helleu
1aa8fd09ef
tests: add tests of functions string_is_command_char and string_input_for_buffer
2014-08-02 16:55:49 +02:00
Sébastien Helleu
28cb1ae6f5
tests: add tests of base 16/64 decoding/encoding
2014-08-02 16:54:24 +02:00
Sébastien Helleu
e29f01b4fb
Merge branch 'travis-tests'
2014-08-02 15:47:20 +02:00
Sébastien Helleu
ee1e181894
tests: remove test of han char in utf8_strlen_screen (failing on Ubuntu Precise)
2014-08-02 15:36:40 +02:00
Sébastien Helleu
1294bce155
tests: remove test of han char in utf8_char_size_screen (failing on Ubuntu Precise)
2014-08-02 15:25:56 +02:00
Sébastien Helleu
d046315e8b
api: fix function string_format_size on 32-bit systems
2014-08-02 11:44:15 +02:00
Sébastien Helleu
f9b04635d3
tests: fix compilation of tests
...
The header gui-curses.h doesn't need to be included (this causes an error
because the real ncurses lib header is not found when compiling tests).
2014-08-02 11:38:58 +02:00
Sébastien Helleu
2987f9208e
tests: add tests of function string_format_size
2014-08-01 07:34:35 +02:00
Sébastien Helleu
aaa29153b0
tests: add tests of functions string_iconv*
2014-07-31 07:48:36 +02:00
Sébastien Helleu
3d6b9ff5a7
tests: add tests of function string_is_word_char
2014-07-29 07:39:30 +02:00
Sébastien Helleu
9177e02f1a
tests: add -v option for command "tests" to increase verbosity (CMake)
2014-07-22 21:04:59 +02:00
Sébastien Helleu
29385e39be
tests: fix compilation warning with autotools
2014-07-21 21:25:55 +02:00
Sébastien Helleu
63add00da7
tests: add compilation of tests with autotools
2014-07-21 21:25:43 +02:00