Christoffer Lerno
|
becda6ea1d
|
Improve Android linking
|
2025-06-08 15:06:19 +02:00 |
|
Christoffer Lerno
|
c7b3ae0cf9
|
Fix Android errno
|
2025-06-08 11:33:28 +02:00 |
|
Awang
|
d7a11903c7
|
Add external __errno() function for env::ANDROID (#2182)
|
2025-06-06 14:47:16 +02:00 |
|
Christoffer Lerno
|
207bcfea02
|
os::exit and os::fastexit added.
|
2025-03-20 13:36:59 +01:00 |
|
Christoffer Lerno
|
5c77c9a754
|
- Change distinct -> typedef.
- Order of attribute declaration is changed for `alias`.
- Added `LANGUAGE_DEV_VERSION` env constant.
- Rename `anyfault` -> `fault`.
- Changed `fault` -> `faultdef`.
- Added `attrdef` instead of `alias` for attribute aliases.
|
2025-03-15 20:10:47 +01:00 |
|
Christoffer Lerno
|
8b49e6c14d
|
Rename def to alias.
|
2025-03-13 11:22:27 +01:00 |
|
Boris Barbulovski
|
f21cc02320
|
Initial Android support. (#2024)
* Initial Android support.
* Add Android x86_64
* - Typo api_verion
- Typo in DEFAULT_TARGETS
- Removed unnecessary snprintf
---------
Co-authored-by: Christoffer Lerno <christoffer@aegik.com>
|
2025-03-08 23:38:52 +01:00 |
|
Erik Bäckman
|
83bc24f58c
|
Fix libc::stat on FreeBSD (x86_64)
|
2025-03-04 10:20:13 +01:00 |
|
rexim
|
122179980c
|
Introduce Socket.shutdown()
|
2025-02-07 20:52:36 +01:00 |
|
Thomas Adam
|
61badb6af7
|
libc: add isatty()
|
2025-01-04 15:41:51 +01:00 |
|
Christoffer Lerno
|
a1a6511e26
|
Remove "Timespec"
|
2024-11-22 16:50:29 +01:00 |
|
Tomas Kallup
|
bdd6ed0e83
|
Fix: Unify termios types for actions & flags
The type for `Tcflags` was used instead of the CInt (now `Tcactions`)
and vice versa.
|
2024-11-04 17:15:40 +01:00 |
|
PavelBlinnikov
|
6a2957faf7
|
fix: segfault in panic when statically compiled
Co-authored-by: RoadToLP <ilya.titoff2013@yandex.ru>
|
2024-10-12 22:18:38 +02:00 |
|
Christoffer Lerno
|
a665978b64
|
Fixing some whitespace issues.
|
2024-10-08 19:38:31 +02:00 |
|
wilsonk
|
4c7d61ae82
|
Bsd family fixes (#1435)
Some small fixes for the BSD's
Try fcntl for NetBSD
Fixes for stdin, etc. and setjmp/longjmp
|
2024-09-13 14:49:51 +02:00 |
|
wilsonk
|
1b54a99f6a
|
Add initial FreeBSD support (#1430)
Add initial FreeBSD support
|
2024-09-11 22:38:53 +02:00 |
|
Christoffer Lerno
|
6d93ce9d33
|
Update to libc::setjmp on Win32, to do no stack unwinding.
|
2024-08-11 18:22:14 +02:00 |
|
Christoffer Lerno
|
800f7970a7
|
Fixes to the socket functions. Improved output when pointer is out of range. Better error when casting to a distinct fails.
|
2024-08-06 17:08:03 +02:00 |
|
Christoffer Lerno
|
2748cf99b3
|
- Fix issue where a compile time parameter is followed by "...".
- Fix issue with some conversions to untyped list.
- Experimental change: add `+++` `&&&` `|||` as replacement for `$concat`, `$and` and `$or`.
|
2024-08-04 23:16:25 +02:00 |
|
PalsFreniers
|
b0e104bfd0
|
Adding Termios library as std::libc::termios (posix libc functions) (#1272)
Adding libc's termios to lib/std/libc
|
2024-07-31 14:45:04 +02:00 |
|
Christoffer Lerno
|
1d61ace302
|
Do not link with debug libc on win32 when using cross compile libs. Add delete methods to dstring. Fixes to macOS aarch64 codegen. Use glibc backtrace when available. Add load_* methods to file. The cast (int[8])int_slice[:8] now works.
|
2023-12-08 18:59:57 +01:00 |
|
Christoffer Lerno
|
87fdb5956e
|
Improved backtrace on platforms without glibc. Added $$frameaddress and $$returnaddress properly.
|
2023-11-18 20:13:11 +01:00 |
|
Christoffer Lerno
|
e706a8acd0
|
Fix Linux constant in posix.c3. Address issue #1009. Sanitizes the module name in generated project.
|
2023-09-22 15:15:47 +02:00 |
|
Christoffer Lerno
|
8dad8f2b1c
|
Use regular backtrace for Mac on signals as well.
|
2023-09-22 01:12:48 +02:00 |
|
Pierre Curto
|
65bea1cb2d
|
add ThreadPool (#926)
* lib/std/collections: fix tab indentation
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
* lib/std/threads: add ThreadPool
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
* ats/lib/threads: add num_cpu()
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
---------
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
|
2023-08-14 15:33:51 +02:00 |
|
Christoffer Lerno
|
499c82b089
|
Updated indentation to C3 standard.
|
2023-07-26 14:01:24 +02:00 |
|
Pierre Curto
|
89e084938f
|
cross platform socket interface (#857)
* lib/std/net: add Network, Socket and Listener
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
* lib/std/net: add SocketOption
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
* lib/std/net: fixes for win32 and wasm
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
---------
Signed-off-by: Pierre Curto <pierre.curto@gmail.com>
|
2023-07-16 14:14:36 +02:00 |
|
Christoffer Lerno
|
e2676a5c7f
|
Change zero terminated wide strings to use WString over Char16
|
2023-07-09 20:10:17 +02:00 |
|
Christoffer Lerno
|
68f6cb1286
|
Updated organization file functions, env naming.
|
2023-06-24 10:29:17 +02:00 |
|
Christoffer Lerno
|
d90fa5e292
|
Make errno implicitly convertible to int. Add getaddrinfo on all platforms. Fix addrinfo struct and sizes.
|
2023-06-22 02:06:37 +02:00 |
|
Christoffer Lerno
|
503a4de277
|
Cleanup of libc
|
2023-06-21 16:27:53 +02:00 |
|
Christoffer Lerno
|
ab93389031
|
- Updated posix/win32 stdlib namespacing
- Process stdlib
- Fix to void expression blocks
|
2023-06-21 16:27:53 +02:00 |
|
Christoffer Lerno
|
4c1edfb941
|
Dev (#777)
* The new @if directive.
|
2023-06-10 23:16:28 +02:00 |
|
Christoffer Lerno
|
809321e20c
|
Updated grammar. Removal of elif. Removal of ':' ';' in some ct statements. Empty faults is now an error. Remove "define" for types. Remove "private". Better errors on incorrect bitstruct syntax. Introduction of wildcard type rather than optional wildcard. Removal of scaled vector type. mkdir and rmdir. Disallow define @Foo() = { @inline }. Add handling for @optreturn and change it to @return!. Restrict interface style functions. Updated x64 ABI. stdlib updates to string. Removed deprecated functions. Update how variadics are implemented. Extended error messages. x86 ABI fixes. Shift check fixes. '!' and '?' are flipped. No trailing ',' allowed in functions. Fix to string parsing. Allow l suffix. Simplifying flatpath. any replaces variant, anyfault replaces anyerr. Allow getting the underlying type of anyfault. De-duplicate string constants. Fix of readme. Extended list. Fix of "(MyEnum)x + 1". Clock and DateTime types. Fixes to array concat.
|
2023-04-21 10:56:39 +02:00 |
|
Christoffer Lerno
|
9c145996b0
|
$elif deprecated.
|
2023-03-20 16:54:45 +01:00 |
|
Christoffer Lerno
|
5ee0d52ff1
|
Deprecate :; in $if etc.
|
2023-03-20 01:03:54 +01:00 |
|
Christoffer Lerno
|
a22ebbb0ef
|
Improved support for freestanding.
|
2023-01-25 11:10:37 +01:00 |
|
Christoffer Lerno
|
b508a43f8f
|
Add lambdas.
|
2023-01-24 10:15:23 +01:00 |
|
Christoffer Lerno
|
af0174f360
|
Some work on io libs.
|
2022-12-09 08:45:02 +01:00 |
|