Sébastien Helleu
41cb1bf635
api: fix handle of invalid escape in function string_convert_escaped_chars()
...
And a new test is now checking that "\" returns "".
2015-08-24 11:05:31 +02:00
Sébastien Helleu
951d1f91a4
api: add function string_hex_dump()
2015-08-22 09:30:08 +02:00
Sébastien Helleu
46a9d17ac3
api: add argument "length" in function utf8_is_valid()
2015-08-18 07:36:48 +02:00
Sébastien Helleu
4ecd8a505f
api: fix type of value returned by functions utf8_prev_char, utf8_next_char and utf8_add_offset
2015-07-04 08:39:55 +02:00
Sébastien Helleu
bd850398e8
core: add missing comments before functions when the result must be freed after use
2015-07-04 08:24:53 +02:00
Sébastien Helleu
b13db0305d
api: fix type of value returned by function strcasestr
2015-07-03 19:45:51 +02:00
Sébastien Helleu
2bd2d74a07
api: add function string_eval_path_home()
2015-06-24 07:54:42 +02:00
Sébastien Helleu
71dd64678c
core: add comments after some #endif
2015-04-30 21:15: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
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
b8b5cd26bc
core: remove extra spaces in a comment
2014-10-12 12:02:41 +02:00
Sébastien Helleu
08d2b9aaeb
core: check that data is not NULL in function string_iconv_fprintf
2014-09-28 08:20:08 +02:00
Sébastien Helleu
0f363218b6
core: make argument "errors" optional in function string_replace_with_callback
2014-08-13 07:33:49 +02:00
Andrew Potter
62d891aea9
core: callback_free_key shouldn't point to already free'd value
2014-08-11 22:51:20 +02:00
Sébastien Helleu
4faa227a2d
core: check that callback is not NULL in function string_replace_with_callback
2014-08-11 07:47:55 +02:00
Sébastien Helleu
5597c93b64
core: check that regex is not NULL in function string_replace_regex
2014-08-08 07:33:37 +02:00
Sébastien Helleu
e7b604c97e
core: fix example in comment of function string_replace_regex
2014-08-07 07:48:15 +02:00
Sébastien Helleu
cf3e0ccbfd
core: fix result of hash function (in hashtables) on 32-bit systems
2014-08-02 16:53:12 +02:00
Sébastien Helleu
8a93906beb
api: fix function string_decode_base64
...
The result of function was sometimes wrong, for example base64 decoding of
"YWJj" was returning "ab" instead of "abc".
2014-08-02 16:52:17 +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
d2dc05b01e
core: check that from/to arguments are not NULL in base16/64 functions
2014-07-30 07:44:25 +02:00
Sébastien Helleu
3ffbb85cb9
core: check that string is not NULL in function string_input_for_buffer
2014-07-28 08:27:16 +02:00
Sébastien Helleu
12c8cd4988
core: check that string is not NULL in function string_iconv
2014-07-27 08:34:34 +02:00
Sébastien Helleu
0693ffb82b
core: fix compilation warning on GNU/Hurd about unsigned long numbers
2014-07-25 22:23:46 +02:00
Sébastien Helleu
db01880bd1
core: add comments in translations for file size units
2014-07-25 20:40:38 +02:00
Sébastien Helleu
f227e9ec3e
core: add terabyte unit for size displayed
2014-07-25 07:57:48 +02:00
Sébastien Helleu
95011c82e0
core: return only -1, 0 or 1 in string comparison functions
2014-07-05 11:38:44 +02:00
Sébastien Helleu
e0e3f9fdee
core: check that regex is not NULL in function string_regcomp
2014-07-05 10:17:28 +02:00
Sébastien Helleu
afa81c4594
core: check that regex is not NULL in function string_regex_flags
2014-07-05 10:15:29 +02:00
Sébastien Helleu
d936880392
core: add note about result that must be freed in function string_mask_to_regex
2014-07-05 10:13:46 +02:00
Sébastien Helleu
e75fef58c4
core: check that "chars" argument is not NULL in function string_strip
2014-07-05 10:05:35 +02:00
Sébastien Helleu
60c7696353
core: check that string is not NULL in function string_convert_escaped_chars
2014-07-05 10:03:15 +02:00
Sébastien Helleu
8fc8cbc129
core: add comment with return value of function string_strcasestr
2014-07-05 09:51:26 +02:00
Sébastien Helleu
e702722842
core: check that string is not NULL in function string_strndup
2014-07-04 07:41:20 +02:00
Sébastien Helleu
34723d2acc
api: allow wildcard "*" inside the mask in function string_match
2014-04-12 23:07:06 +02:00
Sebastien Helleu
3a6313c4b5
api: add support of nested variables in function string_eval_expression and command /eval ( closes #35 )
2014-03-20 15:57:46 +01:00
Sebastien Helleu
85abcaedaa
Merge branch 'exec'
2014-03-15 12:28:07 +01:00
Sebastien Helleu
eb21248ae7
core: fix highlight problem with "(?-i)" and upper case letters in option weechat.look.highlight
2014-03-13 14:14:10 +01:00
Sebastien Helleu
cd65198c71
api: add callback in function string_replace_regex
2014-03-13 10:59:58 +01:00
Sebastien Helleu
bcf0a94bf4
core: comment unneeded assignment in function string_split_shell (make C static analyzer happy)
2014-02-22 12:50:38 +01:00
Sebastien Helleu
913de0c29b
core: fix uninitialized value in function string_decode_base64
2014-02-22 12:46:57 +01:00
Sebastien Helleu
9ce8fc7068
core: fix memory leak and use of invalid pointer in split of string (in case of insufficient memory)
2014-02-22 12:28:19 +01:00
Sebastien Helleu
360f900d92
core: move function string_replace before string_replace_regex
2014-02-15 12:59:05 +01:00
Sebastien Helleu
fa2600f496
doc: add function string_split_shell in plugin API reference
2014-02-14 11:15:09 +01:00
Sebastien Helleu
0bfacb5592
core: change text in comment of function string_replace_regex
2014-02-14 10:54:38 +01:00
Sebastien Helleu
7c0d9fe850
core: improve the string_replace_regex function (add reference char, change syntax for match refs)
...
The reference char is now an argument for the function.
The references are now $0 .. $99 and $+ was added (last match, with
highest number).
The syntax to replace a match with one char is now: $.cN or $.c+
(for example: "$.*3").
2014-02-09 15:14:07 +01:00
Sebastien Helleu
a03653273c
core: replace "regex_t *" by "void *" in string functions (fix ruby compilation error with autotools)
2014-02-09 12:55:40 +01:00
Sebastien Helleu
6bc7c456d7
core: add argument "num_items" in function string_split_shell
2014-02-09 12:55:40 +01:00
Sebastien Helleu
30942f7f62
trigger: add trigger plugin
2014-02-09 12:55:40 +01:00
Sebastien Helleu
97cede06b5
core: add support of escaped unicode chars in commands /print and "/input insert"
2014-01-24 12:53:23 +01:00