204 Commits

Author SHA1 Message Date
Ozan Tezcan
a2f9590038
Merge pull request #77 from tezc/mmap-align
auto align msync addr to multiple of OS page size
2021-05-15 15:45:11 +03:00
tezc
fb59e9db3b auto align msync addr to multiple of OS page size 2021-05-15 15:31:10 +03:00
Ozan Tezcan
a48de52daf
Merge pull request #76 from tezc/fix-m1-signal
get backtrace pointer for only MAC_OS_X_VERSION_10_6
2021-05-15 15:07:09 +03:00
tezc
1901bc7c76 get backtrace pointer for only MAC_OS_X_VERSION_10_6 2021-05-15 14:39:51 +03:00
Ozan Tezcan
17973df076
Merge pull request #75 from tezc/fix
Fix
2021-05-13 17:49:02 +03:00
tezc
92fcd6b09b fix sock fail test 2021-05-13 17:02:36 +03:00
tezc
27a370071b cancelled setting buffer size of a socket 2021-05-13 16:54:25 +03:00
tezc
b78f0b7000 made pow2 functions operate on uint64_t instead of size_t 2021-05-13 16:53:22 +03:00
Ozan Tezcan
57d9fbc07e
readme fix : array, queue, map (#74)
timer init fix, buf zero len memcpy check
2021-05-09 12:09:09 +03:00
tezc
0943d1f778 readme fix : array, queue, map 2021-05-04 00:00:44 +03:00
tezc
8d21bf2f3b readme update 2021-05-03 03:06:26 +03:00
tezc
845c1e08e6 readme update 2021-05-03 03:01:00 +03:00
Ozan Tezcan
8e8b7d6b64
Merge pull request #73 from tezc/v2
V2
2021-05-03 02:58:13 +03:00
tezc
8e48d260de revert sc_map api, fix sc_array sort 2021-05-01 02:19:39 +03:00
tezc
76641ccebf ubuntu 32 bit support on 64 bit 2021-04-27 21:27:29 +03:00
tezc
f3f91805af ubuntu 32 bit support on 64 bit 2021-04-27 21:17:43 +03:00
tezc
796bd45663 more 32 bit tests, doc fix 2021-04-27 21:13:23 +03:00
tezc
62001ca6fc sc_sock : fixed freebsd retcode 2021-04-27 20:44:34 +03:00
tezc
0f1fac7099 license change, refactor sc_sock, sc_map v2 2021-04-27 20:19:25 +03:00
tezc
a73fbcc74f refactor map, array and added queue test 2021-04-26 23:08:38 +03:00
tezc
05a72dd46b sc_map v2 - test and doc 2021-04-26 23:00:50 +03:00
tezc
3150369d7a sc_map v2 2021-04-26 22:04:29 +03:00
tezc
cce603126f queue and array v2 2021-04-26 20:33:38 +03:00
tezc
3c8e0f9f70 sc_sock windows : don't try to set non-existing fds 2021-04-15 01:41:55 +03:00
tezc
9250f22d7c sc_sock windows, move Ws2tcpip.h in front of windows.h 2021-04-15 01:36:48 +03:00
tezc
c3010e0d12 do not override error message on _term family functions + clang-format 2021-04-15 01:30:58 +03:00
tezc
d1a7e421ad more poll_term tests 2021-04-15 00:20:36 +03:00
tezc
7af766e1d5 save error message if close on sock_poll fails 2021-04-15 00:12:09 +03:00
tezc
e39a8fb2d2 fix windows sc_cond 2021-04-14 23:30:54 +03:00
tezc
13a8284383 made sc_sock_poll sc_sock_pipe and cond immune to double termination 2021-04-14 23:24:43 +03:00
tezc
e1ef96ad61 made sc_sock_poll sc_sock_pipe and cond immune to double termination 2021-04-14 23:16:36 +03:00
Ozan Tezcan
8c8a3ede9f
Merge pull request #71 from tezc/doc-fix
documentation fix
2021-04-14 02:11:36 +03:00
tezc
012a3243ad documentation fix 2021-04-14 01:25:28 +03:00
Ozan Tezcan
b0e47c120c
Merge pull request #70 from tezc/cleanup-destroy
made data structures immune to call term/destroy twice
2021-04-13 23:48:27 +03:00
tezc
5799b118b1 added mmap double destroy fix for windows 2021-04-13 23:10:42 +03:00
tezc
502372b4d6 added double destroy queue test 2021-04-13 22:46:20 +03:00
tezc
286379b0b2 bump version to 2.0.0 2021-04-13 22:36:50 +03:00
tezc
6eac784e7b made array and queue reusable after destroyed 2021-04-13 22:29:29 +03:00
tezc
57e67dc955 made data structures immune to call term/destroy twice 2021-04-13 22:16:30 +03:00
Ozan Tezcan
3d11311f90
Merge pull request #69 from tezc/fix-fd-leak
sc_mmap : cleanup fd on failure for Mac OS
2021-04-11 22:12:13 +03:00
tezc
90146f93be sc_mmap : cleanup fd on failure for Mac OS 2021-04-11 21:05:57 +03:00
tezc
9863c861ff bounds check in sc_str to prevent misuse 2021-04-08 13:47:58 +03:00
Ozan Tezcan
ac312c7192
Merge pull request #68 from tezc/str-fix
bounds check in sc_str to prevent misuse
2021-04-08 13:43:56 +03:00
tezc
b469d73ae7 bounds check in sc_str to prevent misuse 2021-04-08 13:16:53 +03:00
Ozan Tezcan
e8f896f077
refactor (#67)
* refactor
2021-04-07 04:55:05 +03:00
Ozan Tezcan
c221478638
Switched to tabs for indentation, amalgamation tool works with tabs only (#66)
* Switched to tabs for indentation, amalgamation tool works with tabs only
2021-04-07 00:28:50 +03:00
Ozan Tezcan
ded2b9429c
sc_buf set_rpos and set_wpos checks. Don't compact on reserve. (#65)
* sc_buf set_rpos and set_wpos checks. Don't compact on reserve.
2021-04-04 12:58:07 +03:00
Ozan Tezcan
6653078fd2
Merge pull request #64 from tezc/crc32-fix
crc32 big endian support, aarch64 hardware support
2021-04-04 12:46:09 +03:00
tezc
414feeb5b7 crc32 big endian support, aarch64 hardware support 2021-04-04 12:28:21 +03:00
tezc
44737e264a sc_signal.c indentation and apple fix. 2021-04-01 11:16:03 +03:00