Commit graph

45 commits

Author SHA1 Message Date
5e165c1fad fixed errors in win32 implementation 2025-10-21 17:17:49 +02:00
b601ace92b fixed arena + some niceties 2025-10-21 10:31:58 +02:00
df0187bdb3 Merge branch 'master' of https://git.snarmph.win/snarmph/colla 2025-10-21 10:30:53 +02:00
7298d53b9b . 2025-10-21 10:30:40 +02:00
alessandro bason
ae3536529b windows stuff 2025-10-11 20:42:14 +02:00
alessandro bason
7e7c371b9e . 2025-10-01 16:58:04 +02:00
61c1060a98 . 2025-09-28 16:31:22 +02:00
524ec0d1ce most of the colla_lin.c implementation 2025-09-13 10:10:23 +02:00
alessandro bason
ccb992a44a moving stuff to custom git instance 2025-09-12 14:12:59 +02:00
alessandro bason
a66e58193f . 2025-06-24 17:47:08 +02:00
alessandro bason
95d74c2ef4 update stuff 2025-06-16 09:52:28 +02:00
snarmph
6d36aa4442 . 2025-03-21 19:09:14 +01:00
snarmph
01f4ad7f62 Added Virtual File System support 2024-12-05 18:15:05 +01:00
snarmph
363c4f19cb Merge branch 'master' of https://github.com/snarmph/colla 2024-12-02 19:12:00 +01:00
snarmph
4efb77ea9b fixed docs 2024-12-02 19:11:30 +01:00
59053c1aae fixed error when using tcc on linux 2024-12-01 20:13:18 +01:00
snarmph
a92b119549 mmmmh 2024-11-29 16:10:48 +01:00
snarmph
82aee127b0 bug fixes and new features
added hot_reload.c for easy hot reloading
added xml.c for xml parsing
added support for tiny c compiler for mostly everything out of the box
fuzzed xml/json/ini parsers
2024-11-11 11:40:35 +01:00
snarmph
ae59f269c2 use arena everywhere + bunch of cool new stuff 2024-04-18 14:29:36 +01:00
snarmph
8fdecd89a5 added compile.ini and moved some files in deprecated (still need some work) 2023-02-06 11:34:12 +01:00
alessandrobason
87751fad5f . 2022-09-09 12:46:20 +01:00
alessandrobason
e3cc2fcf5e . 2022-09-09 11:19:32 +01:00
alessandrobason
b2c9f9bd63 fixed missing os.h 2022-08-26 12:29:47 +01:00
alessandrobason
68b1ed07d6 fixed colla.h and gen.lua 2022-08-26 11:33:44 +01:00
alessandrobason
5086bda758 deprecated os.h and removed scanf from istream as it can't return the end position 2022-08-26 11:31:08 +01:00
alessandrobason
a08fc40eba added iniAsBool 2022-08-24 17:31:36 +01:00
alessandrobason
1f597c0220 fixed bug in file.c 2022-08-22 19:08:20 +01:00
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