Laytan Laats
4ae021cd4c
add other failing test and fix them
2023-12-18 15:17:27 +01:00
Yawning Angel
29c80c238d
core: Fixed build constraints
...
Multiple constraints on the same line are combined with logical OR,
while combining multiple negated constraints needs to be done with
logical AND (each constraint on a separate line).
2023-12-17 23:02:46 +09:00
Laytan Laats
58ff3dd1ed
log allocator: add option to switch between bytes and human format
2023-12-16 01:27:38 +01:00
Laytan Laats
cf8c9a6be4
log allocator: fix the formatting for query info/features and errors
2023-12-16 00:55:59 +01:00
Laytan Laats
ea709451e8
log allocator: use %m to format size
2023-12-15 23:43:35 +01:00
gingerBill
2e9298891e
Merge pull request #3019 from DanielGavin/parser-fix
...
Fixed crash in `core:odin/parser` with `#reverse`
2023-12-14 15:16:01 +00:00
Lucas Perlind
12b8f91249
Format hidpi.odin
2023-12-14 10:29:50 +11:00
DanielGavin
8e395cc6e9
Fixed crash in core:odin/parser with #reverse
2023-12-13 20:08:26 +01:00
gingerBill
6e9e469abd
Merge pull request #3008 from laytan/fix-stat-struct-layout-linux-arm64
...
fix struct stat layout linux arm64
2023-12-13 15:24:38 +00:00
gingerBill
0490ba46f4
Merge pull request #3015 from Lperlind/master
...
Add Hidpi to Windows
2023-12-13 15:24:25 +00:00
gingerBill
173527d631
Remove random tag
2023-12-13 01:53:15 +00:00
gingerBill
f8cb2bcad2
Add slice.unique and slice.unique_proc
2023-12-13 01:50:26 +00:00
gingerBill
b011487778
Reimplement binary_search_by to be simpler
2023-12-13 01:37:15 +00:00
gingerBill
c8cc130744
Fix the implementation of binary_search_by to work with a normal ordering call, rather than the backwards version.
...
WHY THE HECK WAS IT THIS WAY IN THE FIRST PLACE?!
2023-12-13 01:24:03 +00:00
gingerBill
fe0244606b
Revert
2023-12-13 01:20:53 +00:00
gingerBill
036fa6482c
Use cmp_proc in binary_search
2023-12-13 01:18:05 +00:00
gingerBill
04ca22b9ea
Add to core:slice reduce_reverse, filter_reverse, repeat
2023-12-13 00:35:23 +00:00
Lucas Perlind
e410908ce8
Add Hidpi to Windows
2023-12-12 12:14:18 +11:00
Laytan Laats
d278c852cc
clean up field names
2023-12-08 23:43:30 +01:00
Matija Dizdar
843b2350eb
added #no_bounds_check back into binary_search_by
2023-12-06 21:48:37 +01:00
Matija Dizdar
526d338300
removed incorrect requirement for key type to be ordered in binary_search_by
2023-12-06 21:29:18 +01:00
Laytan Laats
a6aca5d6d1
fix struct stat layout linux arm64
2023-12-06 17:17:45 +01:00
gingerBill
31b1aef44e
Merge pull request #3003 from karl-zylinski/patch-1
...
virtual arena: Actually use DEFAULT_ARENA_STATIC_RESERVE_SIZE as default value on arena_init_static
2023-12-05 16:04:25 +00:00
flysand7
2e1b2dc3ba
strings: Fix up documentation of split_n
2023-12-05 23:17:19 +11:00
Karl Zylinski
65333181fc
virtual arena: Actually use DEFAULT_ARENA_STATIC_RESERVE_SIZE as default value on arena_init_static
2023-12-04 21:15:46 +01:00
Laytan Laats
291a064725
fix write on x86_64 Darwin
2023-12-04 14:57:02 +01:00
gingerBill
abe896a7be
Merge pull request #2984 from mtarik34b/add-min-index-and-max-index-procs
...
Add min_index and max_index procedures
2023-12-02 12:58:15 +00:00
flga
e23eba0914
runtime: panic_allocator should use panic_allocator_proc
2023-12-01 19:21:58 +00:00
Jeroen van Rijn
f79efd43e4
Fix missing clamp in core:math/big random.
2023-11-27 12:43:24 +01:00
Tarık B
5a661dc67b
Add min_index and max_index procedures
2023-11-26 08:33:50 +01:00
Hector
9f96382558
Removed some accidental semi-colons and converted indentation to tabs.
2023-11-25 16:36:51 +00:00
Hector
1db5e1250f
Binary search improvements
...
Modified the algorithm so that the index is either the location of the
element if found or the index at which to insert the element to maintain
sorted order.
Also added some tests to verify the above claim.
2023-11-25 13:48:48 +00:00
Jeroen van Rijn
2bb5c4cafc
Merge pull request #2973 from flysand7/dial_tcp_bug
...
[net]: Fix passing the wrong socket to `linux.connect` on linux
2023-11-25 10:39:14 +01:00
Jeroen van Rijn
9ea88f1353
Merge pull request #2918 from flysand7/math-doc
...
[math]: Fix the doc comments on `F64_*` constants
2023-11-24 14:16:19 +01:00
Jeroen van Rijn
4d89249caf
Merge pull request #2939 from laytan/allow-larger-thread-poly-data
...
Allow larger thread poly data
2023-11-24 14:06:24 +01:00
flysand7
ff0e976ff3
[net]: Fix passing the wrong socket to on linux
2023-11-24 23:57:53 +11:00
Jeroen van Rijn
0df1645422
Merge pull request #2942 from flga/master
...
core:sys/linux: make Perf_Read_Format a bitset
2023-11-24 13:53:14 +01:00
Jeroen van Rijn
bb6d73953c
Merge pull request #2972 from flysand7/net-socket-any
...
[net]: Add send_any, recv_any variants to proc groups for Any_Socket
2023-11-24 13:42:48 +01:00
Jeroen van Rijn
ae40946198
Merge pull request #2950 from laytan/fix-nil-exceptions-with-incomplete-code-parse
...
fix nil exceptions with incomplete code parse
2023-11-24 13:39:58 +01:00
flysand7
8063569cdd
[net]: Add send_any, recv_any variants to proc groups for Any_Socket
2023-11-24 23:27:12 +11:00
Jeroen van Rijn
dab72d5615
Merge pull request #2952 from Pingar5/master
...
Add various missing windows procedures
2023-11-24 13:23:47 +01:00
gingerBill
0888c69b57
Remove unneeded typeid_of
2023-11-23 17:16:21 +00:00
Jeroen van Rijn
f6308ab5b9
Merge pull request #2899 from jakubtomsu/more-sys-windows
...
More `core:sys/windows` bindings (primarily MiniDump and SHGetKnownFolderPath)
2023-11-23 16:26:29 +01:00
gingerBill
3baf8d92c3
Add assert to disallow -no-crt when importing core:c/libc
2023-11-23 01:20:19 +00:00
Michael Kutowski
3d90e580c5
check to see if s.builder is nil
2023-11-23 00:04:06 +01:00
Michael Kutowski
f635d3d8af
forgot to use the old package name
2023-11-23 00:02:48 +01:00
Michael Kutowski
29f1b79d70
Add setup_once and clear_all, tidy up old code and add a few comments
2023-11-22 23:56:58 +01:00
gingerBill
955be66f1a
Merge pull request #2894 from jakubtomsu/union-tag-intrinsics
...
New built-in procedures for unions
2023-11-22 16:26:15 +00:00
jakubtomsu
a0e6ae6f33
return uintptr from type_union_tag_offset
2023-11-22 17:15:27 +01:00
Laytan Laats
08d032859f
use start pos as end pos if end node is nil
2023-11-22 16:16:43 +01:00