jason
6a894195cb
revert os2/process
2024-06-28 09:45:22 -04:00
jason
dc954307d7
fix assumption about std handles in os2/file.odin
2024-06-28 07:55:33 -04:00
jason
a15cbc474d
change error strings to an enumerated array in rodata; print_error takes a file argument
2024-06-28 07:45:24 -04:00
jason
f24f72c280
convert all to use sys/linux over sys/unix; new implementations for pipe, process and env
2024-06-27 17:14:48 -04:00
jason
f22754fc90
sys/linux: fix some syscalls and types; add more to Sig_Action and Sig_Info; Pid int->i32
2024-06-27 16:29:47 -04:00
Jeroen van Rijn
aa27cd4b0b
Allow core:odin to parse @(require) import
2024-06-27 16:14:16 +02:00
gingerBill
b1d06ea03f
Merge pull request #3808 from karl-zylinski/fix-append-elem-max-confusion
...
Replace `max(8, 1)` in _append_elem with just `8` and a comment.
2024-06-26 21:14:08 +01:00
Jeroen van Rijn
e37afa3ada
Merge pull request #3814 from Kelimion/fix_fixed
...
Fix core:math/fixed.
2024-06-26 20:46:46 +02:00
Jeroen van Rijn
3726f0b73c
Merge pull request #3812 from Feoramund/add-table-decorations
...
Add `write_decorated_table` to `text/table`
2024-06-26 20:15:11 +02:00
Jeroen van Rijn
c33bf7673f
Fix core:math/fixed.
2024-06-26 20:12:55 +02:00
Feoramund
ba354e0524
Add documentation for write_decorated_table
2024-06-26 12:53:34 -04:00
Feoramund
f13d30ad23
Add write_decorated_table API
2024-06-26 12:50:43 -04:00
Jeroen van Rijn
8d1827838f
Merge pull request #3807 from karl-zylinski/ctprint
...
Added fmt.ctprint
2024-06-25 22:52:48 +02:00
Karl Zylinski
f227a40652
Replace max(8, 1) in _append_elem with just 8 and a comment.
2024-06-25 22:48:14 +02:00
Karl Zylinski
4e2d12c540
Added fmt.ctprint
2024-06-25 22:32:20 +02:00
Jeroen van Rijn
5d1d98cef3
Merge pull request #3806 from NicknEma/windows_fixes
...
Update CommandLineToArgvW return type
2024-06-25 12:22:27 +02:00
NicknEma
845613c404
Update CommandLineToArgvW return type
...
It now returns a multi-pointer so it can be iterated without any casting.
2024-06-25 12:10:17 +02:00
gingerBill
93441a043a
Make runtime.heap_alloc contextless
2024-06-25 09:38:49 +01:00
gingerBill
c098739484
Remove @(warning) and #warning(...)
2024-06-25 09:36:59 +01:00
Jeroen van Rijn
e42029c5ed
wgpu ld -> dl
2024-06-25 01:35:26 +02:00
Jeroen van Rijn
d97fe41834
Mark deux
2024-06-24 22:45:12 +02:00
Jeroen van Rijn
d3d73590d3
Fix CSV comments.
2024-06-24 22:43:14 +02:00
Jeroen van Rijn
185e39e53d
Merge pull request #3791 from Feoramund/fix-text-table-alignment
...
Refactor `core:text/table`
2024-06-24 21:59:33 +02:00
Feoramund
8b05ec1765
Add string caching example documentation
2024-06-24 15:11:43 -04:00
Feoramund
fbd609fa37
Add complete example showcasing Unicode support
2024-06-24 15:04:45 -04:00
Feoramund
f325a08e57
Make core:text/table examples more complete
...
They should be completely copy-and-paste friendly now, without the
assumption of someone using `using table`.
2024-06-24 15:04:45 -04:00
Feoramund
7a43404ea1
Add Width_Proc documentation
2024-06-24 15:04:45 -04:00
Feoramund
7da96c484d
Remove table.dirty
2024-06-24 14:28:05 -04:00
Feoramund
e397bdf11d
Let WIDTH_PROC be specified as proc argument to write_*_table
2024-06-24 13:38:59 -04:00
Feoramund
67b4cb0038
Crunch the ranges
2024-06-24 13:18:54 -04:00
Jeroen van Rijn
8eafd9eb82
wgpu import
2024-06-23 22:19:29 +02:00
Jeroen van Rijn
3af9d31bd5
Add time.from_nanoseconds
2024-06-23 00:19:24 +02:00
Jeroen van Rijn
dae9a8dfff
Merge pull request #3796 from Feoramund/fix-lack-of-str-arg-or-cont
...
Fix print segfault by missing argument in `or_*` shadowed error
2024-06-22 17:57:02 +02:00
Feoramund
f58eded5d2
Fix print segfault by missing argument in or_* shadowed error
2024-06-22 11:45:43 -04:00
Jeroen van Rijn
13c58948f4
Merge pull request #3793 from Kelimion/build_test_only
...
Add `-build-mode:test`
2024-06-21 16:12:13 +02:00
Jeroen van Rijn
9f696a646f
Add -build-mode:test.
2024-06-21 16:02:55 +02:00
gingerBill
bad4a6237e
Delete misc/roadmap.md
2024-06-21 00:02:12 +01:00
Feoramund
bf44a94065
Update core:text/table documentation
2024-06-20 18:22:03 -04:00
Feoramund
82d92dc46c
Use log.error instead of eprintf
2024-06-20 17:53:45 -04:00
Feoramund
b81458073e
Add new API to core:text/table
...
- `header/row_of_values`, same `header/row`, more verbose name
- `aligned_header/row_of_values`, set alignment for an entire row
- `header/row_of_aligned_values`, set alignment per value
2024-06-20 17:53:45 -04:00
Feoramund
585747bbbf
Clarify error message
2024-06-20 17:53:34 -04:00
Feoramund
99c955d124
Remove unneeded loc argument
2024-06-20 15:26:00 -04:00
Feoramund
fd28199178
Optimize printing of markdown tables
...
Check only once if the table has a header row, instead of every row.
2024-06-20 15:01:09 -04:00
Feoramund
dd099d9dd6
Add Unicode support to core:text/table
2024-06-20 15:01:09 -04:00
Feoramund
2241ca8e72
Use tabs to indent HTML tables
2024-06-20 13:06:32 -04:00
Feoramund
b66b960e7e
Don't build HTML tables
...
`build` only recalculates length and width information, and this is not
needed for HTML tables.
2024-06-20 13:06:32 -04:00
Feoramund
4a3684c5e8
Rename write_ascii_table to write_plain_table
2024-06-20 13:06:28 -04:00
Jeroen van Rijn
91cc006e8f
Fix unaligned store for rand
2024-06-20 17:54:37 +02:00
Jeroen van Rijn
ac4577ca66
Merge pull request #3790 from Feoramund/optimize-common-rng-dest-size
...
Optimize default RNG for the common case
2024-06-20 17:41:13 +02:00
Feoramund
1dfc89567e
Optimize default RNG for the common case
2024-06-20 11:27:51 -04:00