matt335672
f5f67e2e80
Remove g_mbstowcs() and g_wcstombs()
...
These calls are now replaced with explicit UTF conversion routines in
the common/string_calls.[hc] and common/parse.[hc] modules.
Also removed:-
- The support code in common/os_calls.c to set the locale to use
these routines.
- The twchar type in arch.h
2023-10-23 14:19:49 +01:00
matt335672
36ea4a3f86
Remove mbstowcs/wcstombs from g_strtrim()
...
Because of the way UTF-8 encoding works, there is no need to
use mbstowcs/wcstombs in the implementation of this function.
2023-10-23 14:15:46 +01:00
matt335672
0463e552dc
Add UTF-8 / UTF-32 conversion routines
...
These are intended to replace non-UTF-16 uses of mbstowcs() / wcstombs()
2023-10-18 10:07:49 +01:00
matt335672
ce42e3e12d
Replace g_strsignal() with g_sig2text()
...
This call provides a textual representation of a signal number, i.e.
SIGHUP is mapped to "SIGHUP"
Unit tests are also added.
2023-06-12 16:19:17 +01:00
matt335672
0f32661056
Add g_strsignal() to string_calls module
2023-06-08 16:32:24 +01:00
Nexarian
89e178e7c9
Add function to split string into list.
...
- With working unit tests.
2023-03-03 18:33:33 -05:00
matt335672
61bfb264de
Add bitmask to character string conversions
2022-05-18 12:35:07 +01:00
matt335672
c1d2dcfc7f
Cosmetic fixes to string_calls
2022-05-18 12:35:07 +01:00
Kentaro Hayashi
69ea406440
Add g_str_to_bitmask utility function
...
It should be used for comma separated configuration to bitmask.
e.g. RestrictOutboundClipboard = text, file, image
2022-01-14 10:17:02 +09:00
matt335672
a7b48cd1cf
Added more string calls + fix prototypes
...
- Added g_strrchr() and g_strstr()
- Made C prototypes for g_strchr() and g_strnchr() compatible with
expected C library functions
2021-10-25 16:13:09 +01:00
matt335672
62ca216d4d
Improve security level logging at ISO layer
2021-09-03 12:30:02 +01:00
TOMATO-ONE
e3ffad77ca
neutrinordp: Allow fixed keyboard lauout information to be sent to remote. #1933
2021-07-20 01:08:45 +09:00
matt335672
85b101dfb2
Added string function g_strnchr()
2021-06-08 14:11:17 +01:00
Alexandre Quesnel
52707ac686
Fixing formatting with astyle
2021-05-08 16:58:11 +00:00
Alexandre Quesnel
09174ccd4d
Adding g_strnjoin() with units tests
2021-04-14 04:41:53 +00:00
matt335672
86c87b6f15
Move get_display_num_from_display to string_calls module
2021-04-13 12:16:00 +01:00
Alexandre Quesnel
b8d02823d1
Extracting bytes_to_hexdump function from logging implementation
2021-03-26 13:58:27 +00:00
matt335672
0a1a8f40e5
Moved a lot of string funcs to string_calls module
2020-12-22 11:57:24 +00:00
matt335672
5523847540
Allow FuseMountName for chansrv to be absolute path
2020-12-21 12:36:31 +00:00