Commit Graph

15401 Commits

Author SHA1 Message Date
Feoramund
339b2b23f6 Add unsafe_write to uuid package 2024-06-22 18:21:32 -04:00
Feoramund
8b8f8c7f7d Address minor organizational issues 2024-06-22 18:21:32 -04:00
Feoramund
95a9c9b016 Fix indentation 2024-06-22 18:21:32 -04:00
Feoramund
9b3a104640 Add buffer-based to_string to uuid package 2024-06-22 18:21:32 -04:00
Feoramund
9b265b2309 Improve time-related API in uuid package
- Let timestamps be specified by the user.
- Change `time_v*` to `raw_time_v*` and implement an API that returns
  timestamps from the `time` package.
2024-06-22 18:21:32 -04:00
Feoramund
ea771d0cb7 Update uuid package documentation 2024-06-22 18:21:31 -04:00
Feoramund
fcdba334ea Require CSPRNG in UUID generation where applicable 2024-06-22 18:21:31 -04:00
Feoramund
3aa232a894 Move v3 and v5 UUID procs to uuid/legacy 2024-06-22 18:21:31 -04:00
Feoramund
9866b54d59 Add version 6 UUID generation 2024-06-22 18:21:31 -04:00
Feoramund
525bfca4ef Add version 1 UUID generation 2024-06-22 18:21:31 -04:00
Feoramund
4cfbd83b10 Add version 7 UUID generation 2024-06-22 18:21:31 -04:00
Feoramund
fee81985b4 Make UUID namespaces @(rodata) 2024-06-22 18:21:31 -04:00
Feoramund
6da99b888a Make UUID Identfier only a distinct byte array 2024-06-22 18:21:31 -04:00
Feoramund
31873ed466 Fix wrong comments 2024-06-22 18:21:31 -04:00
Feoramund
4dacddd85e Add core:encoding/uuid 2024-06-22 18:21:27 -04: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
gingerBill
28e33d86de Merge pull request #3776 from IllusionMan1212/os2-read-fix
fix(os2): check for 0 bytes read and return EOF
2024-06-20 15:37:41 +01:00
gingerBill
dab3c832e0 Add #warning(<string>) builtin compile time procedure 2024-06-20 15:32:30 +01:00
Jeroen van Rijn
94a8c38d86 Add GetNumberOfConsoleInputEvents 2024-06-20 15:19:25 +02:00
gingerBill
8c760e140f Move import to a windows specific file 2024-06-20 12:38:09 +01:00
gingerBill
3db7780a2c Add vendor:wgpu to examples/all 2024-06-20 12:20:06 +01:00
gingerBill
8b446fc88d Fix wgpu paths for Windows 2024-06-20 12:18:26 +01:00
gingerBill
c9884906d9 Add #directory 2024-06-20 12:15:55 +01:00
gingerBill
5dc98336a8 Merge pull request #3524 from Feoramund/freebsd-amd64-syscall-errno
Add `intrinsics.syscall_bsd`
2024-06-20 11:47:01 +01:00
gingerBill
23351ca8be Merge pull request #3137 from laytan/show-defineable
Add flags to show/export defineable values and warn if a -define is unused in the project
2024-06-20 11:45:52 +01:00
gingerBill
56383e45a7 Fix #3768 2024-06-20 11:44:00 +01:00
gingerBill
7184792f7a Merge pull request #3740 from laytan/wgpu
Add `vendor:wgpu`
2024-06-20 11:39:58 +01:00
gingerBill
d4aa6c3288 Merge pull request #3788 from Beefster09/builder-utils
Add to_cstring for Builders
2024-06-20 11:34:03 +01:00
gingerBill
7703bc595c Merge pull request #3789 from Feoramund/unicode-annex-11
Measure `East_Asian_Width` during grapheme decoding
2024-06-20 11:32:06 +01:00
Feoramund
e620645a03 Measure East_Asian_Width during grapheme decoding 2024-06-19 22:35:36 -04:00
Justin Snyder
1a6bb59125 drop unnecessary defer 2024-06-19 18:25:42 -06:00
Justin Snyder
271782d2f4 fix typo
apparently i had a moment of dyslexia
2024-06-19 17:53:34 -06:00