Commit graph

18 commits

Author SHA1 Message Date
alessandrobason
ae4da6d73d added a few function to str_istream_t 2022-08-22 18:27:41 +01:00
alessandrobason
8ddd9186b8 a lot of stuff tbh 2022-08-19 17:09:27 +01:00
alessandrobason
d80773bb00 added colored output for win32 cmd in tracelog 2022-03-31 11:50:52 +01:00
alessandrobason
915fd081f3 added:
- file: bool fileExists
 - str: removed c++ string conversion
 - tracelog: added utf8 output for windows
2022-03-31 02:19:14 +01:00
alessandrobason
bce93361b1 added:
* win32_slim.h: includes the minimal version of windows.h
modified:
 * cthread: added lock_t c++ class
 * os: added getUserName()
 * socket: modified socket_len_t to sk_len_t to better follow naming convetions in file
 * str: added operator std::string() to str_t
2021-11-24 10:15:47 +00:00
alessandrobason
7fdc8b5301 Merge remote-tracking branch 'refs/remotes/origin/master' 2021-11-04 00:11:09 +00:00
alessandrobason
10e86abb44 filed a bug in fileReadWholeText 2021-11-04 00:10:42 +00:00
snarmph
be71719f73 added some utility functions + fixed error in ostrAppendview 2021-10-31 10:25:46 +00:00
alessandrobason
aa39e2563d added readWholeFile and more generic tracelog with va_list 2021-10-31 00:36:05 +01:00
alessandrobason
4cc2159793 added mutex support on linux 2021-10-27 12:32:22 +01:00
alessandrobason
bb6f3f967c added:
* threads support with mutexes
2021-10-27 11:45:27 +01:00
59b55c7f6c added:
dir -> directory walker similar to dirent
    dirwatch -> lets you watch a directory for changes in another thread
    vec -> generic vector
2021-10-25 01:32:31 +01:00
alessandro.bason
aa08240ec9 bit better sockets 2021-10-20 10:51:18 +01:00
snarmph
c4d1ffe539 added:
* file: small wrap over winapi for windows and stdio for posix
 * fs: small wrapper over stat
 * slice: slice macro type
modified:
 * str and strview are now slices
2021-10-06 00:13:10 +02:00
snarmph
bb5cce33f0 added:
* coroutines
 * string
modified:
 * http: fixed a couple of bugs
 * strutils: renamed to os, it is now a header for some generic platform-indipendent code
 * tracelog: added option to not print newline at the end of a message + bug fixes
2021-10-05 17:57:27 +02:00
d8b44c1281 added some stuff 2021-10-03 17:03:11 +02:00
snarmph
449e9d726f fix 2021-09-30 17:50:12 +02:00
snarmph
efd4d9c750 first commit 2021-09-30 17:42:28 +02:00