xushiwei
1bc7e5e0a5
Merge pull request #617 from xushiwei/q
...
library: math/rand
2024-07-30 21:50:22 +08:00
xushiwei
9280d23b1a
Merge pull request #616 from tsingbx/main
...
add openssl sha1,sha256,sha512
2024-07-30 21:46:21 +08:00
xushiwei
cacd52f81d
library: math/rand
2024-07-30 21:41:26 +08:00
tsingbx
95f64761ca
add SHA224_CTX, SHA384_CTX
2024-07-30 21:24:03 +08:00
tsingbx
6e24792b9b
Remove redundant code and add examples
2024-07-30 21:06:17 +08:00
xushiwei
1eaf124d4e
library: hash/{crc32, adler32}
2024-07-30 19:36:36 +08:00
tsingbx
cd32d6debe
add openssl sha1,sha256,sha512
2024-07-30 19:20:15 +08:00
xushiwei
3212f059ff
c/zlib: crc32/adler32
2024-07-30 18:53:55 +08:00
luoliwoshang
aca3a05222
c/clang/symg:abstract json item fetch
2024-07-30 17:25:33 +08:00
luoliwoshang
f427c0532d
c/clang/symg:use cjson get conf
2024-07-30 17:25:33 +08:00
xushiwei
c0e84043c9
library: os.ReadFile
2024-07-30 17:14:59 +08:00
xushiwei
d480bb3ecd
library: crypto/md5
2024-07-30 02:07:19 +08:00
xushiwei
42352d9f57
library: c/openssl
2024-07-30 01:35:49 +08:00
xushiwei
23bfaf1ba2
Merge pull request #597 from aofei/build
...
build: fix `sigsetjmp` issues and ensure required libs on Linux
2024-07-29 11:26:03 +08:00
Aofei Sheng
e7d72b6f53
build: fix sigsetjmp issues and ensure required libs on Linux
...
1. Handle `sigsetjmp` platform differences:
- Separate `sigsetjmp` linkage to platform-specific files.
- Use `__sigsetjmp` on Linux to handle `sigsetjmp` being a macro.
- Maintain original implementation for Darwin.
2. Ensure linking of required libs:
- Explicitly link against fundamental libs (e.g., libm, libatomic).
- Address the fact that typical Linux linkers don't link these by
default.
2024-07-29 11:16:04 +08:00
xushiwei
eab26deab9
Merge pull request #572 from hackerchai/fix/general-fix-libuv
...
fix(c/libuv): Fix return type FsType & struct rename
2024-07-29 11:12:49 +08:00
hackerchai
b1cc732cb2
refactor(c/libuv): Rename UvPipe & remove unused structs
...
Signed-off-by: hackerchai <i@hackerchai.com >
2024-07-29 09:59:46 +08:00
luoliwoshang
072f606784
c/lua:coroutine
2024-07-28 20:28:28 +08:00
luoliwoshang
35ba69a175
c/lua:metatable
2024-07-28 19:32:19 +08:00
xushiwei
2cd9994321
C.wrap_pthread_mutex_lock
2024-07-27 09:28:09 +08:00
xushiwei
e69306a2ba
c/pthread/sync: use go:linkname for internal func
2024-07-27 09:11:38 +08:00
hackerchai
bc93bda1b7
fix(c/libuv): rename UvFile into File & remove unused File struct
...
Signed-off-by: hackerchai <i@hackerchai.com >
2024-07-26 19:04:49 +08:00
hackerchai
6923f0df2a
fix(c/libuv): fix return type FsType
...
Signed-off-by: hackerchai <i@hackerchai.com >
2024-07-26 19:01:53 +08:00
xushiwei
af06983c60
Merge pull request #570 from xushiwei/x
...
cjson.ParseString demo
2024-07-26 16:44:13 +08:00
xushiwei
e027872f50
cjson.ParseString demo
2024-07-26 16:43:51 +08:00
xushiwei
e98e4fde8d
Merge pull request #569 from xushiwei/x
...
cjson: FreeCStr
2024-07-26 16:35:39 +08:00
xushiwei
ae50511135
cjson: FreeCStr
2024-07-26 16:31:53 +08:00
xushiwei
ed4a8c2a36
Merge pull request #567 from fuxiaohei/main
...
fix describe mismatch in pthread.h
2024-07-26 15:14:38 +08:00
xushiwei
66a89a7d54
c/libuv: disable EFTYPE
2024-07-26 14:55:36 +08:00
fuxiaohei
666be94a71
fix describe mismatch in pthread.h
2024-07-26 14:53:27 +08:00
赵英杰
1a7ecda67c
refactor(c-libuv): Separate third-party libraries from standard libraries
2024-07-26 09:38:45 +08:00
xushiwei
067078db86
Merge pull request #563 from spongehah/refactor/c-libuv-remove-go-wrapper
...
refactor(c-libuv): Adjust the style of Errno definitions
2024-07-26 09:26:57 +08:00
赵英杰
37650fae75
refactor(c-libuv): Adjust the style of Errno definitions
2024-07-26 09:23:02 +08:00
xushiwei
90f85bb9c3
Merge pull request #554 from luoliwoshang/c/clang/symbol
...
c/clang:symbol dump demo
2024-07-25 19:26:11 +08:00
xushiwei
d8026833dc
llcppg
2024-07-25 18:46:40 +08:00
luoliwoshang
baaddd395c
c/clang:file location
...
c/clang/demo:filename
c/clang:fix undefined filename
c/clang:file use uintptr
c/clang:change cpp format
2024-07-25 18:00:03 +08:00
赵英杰
65e1f261c0
refactor(c-libuv): Ajust Errno
2024-07-25 15:40:02 +08:00
hackerchai
c27c654180
refactor(c/libuv): general fixes & optimize code
...
Signed-off-by: hackerchai <i@hackerchai.com >
refactor(c/libuv): optimize functions
Signed-off-by: hackerchai <i@hackerchai.com >
refactor(c/libuv): mv name
Signed-off-by: hackerchai <i@hackerchai.com >
refactor(c/libuv): modify libs
Signed-off-by: hackerchai <i@hackerchai.com >
refactor(c/libuv): use new buffer arg
Signed-off-by: hackerchai <i@hackerchai.com >
refactor(c/libuv/demo): optimize code style with go style
Signed-off-by: hackerchai <i@hackerchai.com >
refactor(c/libuv): optimize code and add comment
Signed-off-by: hackerchai <i@hackerchai.com >
fix(c/libuv): fix TranslateSysError
Signed-off-by: hackerchai <i@hackerchai.com >
refactor(c/libuv): remove go wrapper
Signed-off-by: hackerchai <i@hackerchai.com >
refactor(c/libuv/demo): refactor c style
Signed-off-by: hackerchai <i@hackerchai.com >
refactor(c/liobuv/demo): Some adjustments after removing go wrapper
refactor(c/libuv/demo): add print in echo_server
Signed-off-by: hackerchai <i@hackerchai.com >
doc(c/libuv): add README.md for c/libuv
Signed-off-by: hackerchai <i@hackerchai.com >
feat(c/libuv): implement poll_init_socket
Signed-off-by: hackerchai <i@hackerchai.com >
refactor(c/libuv): mv poll_init_socket function
Signed-off-by: hackerchai <i@hackerchai.com >
refactor(demo): remove libuv demo
Signed-off-by: hackerchai <i@hackerchai.com >
2024-07-25 11:04:06 +08:00
赵英杰
c63580ee38
feat(c/libuv/demo): Add libuv demo echo_server
...
refactor(c/libuv): Adjust comments and file names to accommodate merge
2024-07-25 11:00:57 +08:00
赵英杰
e9d4328fad
feat(c/libuv): Add tcp, udp, poll, core, stream, err features
...
feat(c/io): add libuv async io with io, tcp, udp, timer, dns, loop
feat(c/io): add libuv async io with stream, req, handle
feat(c/libuv): rename c/io to c/libuv, and improve errro, net, handle, stream
feat(c/libuv): Add a libuv demo: echo_server
refactor(c/libuv): Adjust comments and file names to accommodate merge
2024-07-25 11:00:57 +08:00
hackerchai
545f9f2cca
feat(c/libuv/demo): Add libuv async_fs demo
...
Signed-off-by: hackerchai <i@hackerchai.com >
fix(c/libuv): fix fs demo
Signed-off-by: hackerchai <i@hackerchai.com >
refactor(c/libuv): neat comment and adapt merge
Signed-off-by: hackerchai <i@hackerchai.com >
2024-07-25 11:00:56 +08:00
hackerchai
db6930d9e4
feat(c/libuv): Add io, fs, signal, core, poll features
...
Signed-off-by: hackerchai <i@hackerchai.com >
feat(c/libuv): Add io, fs, signal features
Signed-off-by: hackerchai <i@hackerchai.com >
refactor(c/libuv): rename io into libuv
Signed-off-by: hackerchai <i@hackerchai.com >
fix(c/libuv): fix some compile errors
Signed-off-by: hackerchai <i@hackerchai.com >
2024-07-25 11:00:55 +08:00
luoliwoshang
0f8b202531
c/clang:symbol dump demo
2024-07-24 15:58:50 +08:00
xushiwei
06a3e278ff
llgo/x/io: Promise: Async/Await
2024-07-22 19:34:49 +08:00
xushiwei
5fa68f8cdd
demo: select
2024-07-19 11:27:49 +08:00
xushiwei
bc90c6b82f
c/sys: select
2024-07-19 11:18:13 +08:00
xushiwei
675d9d8c09
use syscall.Timeval
2024-07-19 08:30:41 +08:00
xushiwei
bab0bb349f
Merge pull request #523 from spongehah/c/hyper_related
...
[feat] llgo/c/hyper-related c lib
2024-07-19 08:20:12 +08:00
xushiwei
8fc4000b63
Update README.md
2024-07-19 07:13:51 +08:00
xushiwei
5b35f781cb
Create README.md
2024-07-19 06:43:37 +08:00