baldurk
991b8c3a01
Add std::hash overload for rdcstr to allow it to be used in hashmaps
2024-11-08 11:57:24 +00:00
Jake Turner
f730eb6659
Add helper: rdcstr standardise_directory_separator(const rdcstr &path);
...
Replaces all directory separators combinations with '/'
i.e.
'\' -> '/'
'//' -> '/'
2024-09-10 14:59:03 +01:00
baldurk
546490c1a6
Add a unit test for strip_nonbasic
2024-09-06 16:42:11 +01:00
baldurk
9f4f0e6aa1
Update copyright years to 2024
2024-02-12 11:04:52 +00:00
baldurk
771aa8e769
Fix incorrect return type
2023-05-19 10:58:29 +01:00
baldurk
1f72a09e3b
Sanitise strings printed when received from target control/remote server
...
* Given socket corruption or network errors these strings could contain
unprintable characters so we sanitise them reasonably. This also ameliorates a
potential security concern with arbitrary strings being written to a log, but
these connections are still considered trusted and users should not be
exposing RenderDoc ports to the internet.
2023-05-19 10:28:58 +01:00
baldurk
d47e79ae07
Update copyright years to 2023
2023-02-01 12:23:32 +00:00
baldurk
fcdea67879
Update copyright years to 2022
2022-02-17 17:38:32 +00:00
baldurk
b61202af8e
Add tests of get_lastpathsep
...
* This is an internal function but it's still useful to test it independently.
2021-02-18 15:41:54 +00:00
baldurk
2409132989
Add unit tests of strhash() on NULL/empty strings
2021-02-18 15:41:54 +00:00
baldurk
026da176bb
Update copyright years to 2021
2021-01-13 13:56:10 +00:00
baldurk
936e6372cb
Remove use of 3rdparty/ prefix from includes
...
* We instead always have 3rdparty/ in the relevant include search paths and rely
on that. Each library still has its own unique base dir within 3rdparty to
clarify where the include is coming from.
2020-03-11 18:00:53 +00:00
baldurk
2916c0f9f7
Update copyright years to 2020
2020-01-06 16:20:45 +00:00
baldurk
bd9f4fc389
Remove use of vector/string from core project
...
* This also affects the drivers via interfaces e.g. IReplayDriver and some
utility functions.
2019-12-16 18:10:31 +00:00
baldurk
5f72b9d53c
Remove std::string/std::vector use from os-specific layer
2019-12-16 17:06:15 +00:00
baldurk
5f33403849
Switch string_utils to use rdc types
2019-12-16 17:06:15 +00:00
baldurk
a965a3a703
Remove 'using std::string'
...
* This will make it easier to replace std::string with rdcstr in future
2019-05-17 16:32:56 +01:00
baldurk
37d3320847
Don't process split of an empty string
2019-05-13 19:07:23 +01:00
baldurk
6ceb84d2b7
Optimise string split function to not make as many string copies
2019-03-13 14:21:28 +00:00
baldurk
c1408df4cd
Remove wstring variants of string utils functions
...
* When needed on windows we convert to/from UTF-8. For most places this is easy
enough, the callstack processing is now moved to store most data as UTF-8 in
the first place.
2019-03-13 14:21:28 +00:00
baldurk
86ff87863e
Update copyright years to 2019
2019-02-01 18:32:13 +00:00
baldurk
e305029ddd
Update copyright years to 2018
2018-01-01 17:55:29 +00:00
baldurk
276783b948
Move custom printf & string_utils out of serialise/ folder
2017-11-03 16:07:46 +00:00