Romain Vimont
|
61274a7cdb
|
Factorize integer argument parsing
Add util functions for integer parsing (with tests), and factorize
integer argument parsing to avoid code duplication.
|
2019-12-08 21:19:53 +01:00 |
|
Romain Vimont
|
3259c60b22
|
Fix test compilation on mingw
Including SDL2/SDL.h redefines main to SDL_main by default.
|
2019-12-05 21:06:49 +01:00 |
|
Yu-Chen Lin
|
5eeaed09ae
|
Add test_strquote
Signed-off-by: Yu-Chen Lin <npes87184@gmail.com>
|
2019-12-04 19:24:59 +01:00 |
|
Romain Vimont
|
dfd0707a29
|
Move utilities to util/
|
2019-11-24 11:53:23 +01:00 |
|
Romain Vimont
|
0a7fe7ad57
|
Add helpers to truncate UTF-8 at code points
This will help to avoid truncating a UTF-8 string in the middle of a
code point, producing an invalid UTF-8 result.
|
2019-05-30 22:30:18 +02:00 |
|
Romain Vimont
|
ff4430b2a3
|
Declare fun(void) functions with no parameters
This is not C++.
|
2018-10-04 17:04:20 +02:00 |
|
Romain Vimont
|
536b31829a
|
Separate multi-words filenames by '_'
Rename foobar.ext to foo_bar.ext.
<https://github.com/Genymobile/scrcpy/pull/226#discussion_r209454865>
|
2018-08-15 19:30:01 +02:00 |
|
Romain Vimont
|
f75c404a26
|
Add tests for strutil
Test our custom string handling functions.
|
2018-01-18 17:25:13 +01:00 |
|