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
gingerBill
bf9ae77fbd
Remove duplicates from init/fini procedure list
2023-12-12 17:29:52 +00:00
gingerBill
4adfc120ba
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-12-12 17:11:42 +00:00
gingerBill
d8bb93accc
Fix race condition caused by lack of checking specialized parapoly procedures as a dependency ( #2968 )
2023-12-12 17:10:59 +00:00
Jeroen van Rijn
040b90ce76
Merge pull request #3011 from xtactis/binary_search_by_fix/3007
...
Fix for bug in binary_search_by implementation
2023-12-07 18:26:34 +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
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
dev-2023-12
2023-12-05 16:04:25 +00:00
gingerBill
a8c09d77ff
Merge pull request #3004 from flysand7/strings-doc
...
strings: Fix up documentation of split_n
2023-12-05 16:04:07 +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
gingerBill
65afe6f70d
Merge pull request #3002 from laytan/fix-write-on-x86_64-darwin
...
fix write on x86_64 Darwin
2023-12-04 14:06:19 +00:00
Laytan Laats
291a064725
fix write on x86_64 Darwin
2023-12-04 14:57:02 +01:00
Jeroen van Rijn
c5c46c5073
Silence writable string warnings when compiling Odin on Linux.
2023-12-03 18:08:18 +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
gingerBill
f00df0afe9
Merge pull request #2992 from flysand7/x11-fix
...
[x11/xlib]: Fix some foreign declarations
2023-12-02 12:38:11 +00:00
gingerBill
35f21abc7b
Merge pull request #2993 from flysand7/sdl-fix
...
[vendor/sdl]: Fix fourcc codes for pixel formats to match FOURCC definition
2023-12-02 12:37:57 +00:00
gingerBill
b1977dfa4b
Merge pull request #2996 from flga/master
...
runtime: panic_allocator should use panic_allocator_proc
2023-12-02 12:37:31 +00:00
flga
e23eba0914
runtime: panic_allocator should use panic_allocator_proc
2023-12-01 19:21:58 +00:00
flysand7
4b245e2d83
[vendor/sdl]: Fix fourcc codes for pixel formats to match FOURCC definition
2023-12-01 12:15:48 +11:00
flysand7
f169d8c396
[x11/xlib]: Fix some foreign declarations
2023-12-01 12:00:45 +11:00
Jeroen van Rijn
4aa8834d39
Add os.args to demo.
2023-11-27 21:01:27 +01: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
Jeroen van Rijn
e8e3501443
Merge pull request #2979 from rope-hmg/master
...
Binary search improvements
2023-11-25 17:48:09 +01:00
Hector
9f96382558
Removed some accidental semi-colons and converted indentation to tabs.
2023-11-25 16:36:51 +00:00
Hector
82088e4a75
Used strings.builder_reset instead of clear for the string builder
2023-11-25 16:26:29 +00:00
Hector
b12bfe407d
Updated to tabs and used provided test methods.
2023-11-25 16:21:48 +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
cabaac5a68
Merge pull request #2976 from mtarik34b/improve-command-line-help-and-usage
...
Improve command line help/usage and its formatting
2023-11-25 11:06:34 +01: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
Tarık B
bfff322eb9
Fix oversights, apply minor improvements
2023-11-25 10:24:22 +01:00
Tarık B
dd60802db4
Apply consistent usage of third-person singular
2023-11-25 10:24:22 +01:00
Tarık B
6db42cfaec
Standardize to consistent 3-space indentation for inline comments
...
Inline comments in a cohesive block of multiple lines are aligned with 3-space
indentation to the length of the longest line.
2023-11-25 10:24:22 +01:00
Tarık B
21f5b41150
Remove redundant example
2023-11-25 10:24:22 +01:00
Tarık B
1f007a46ee
Fix newly introduced capitalization and punctuation error
2023-11-25 10:24:22 +01:00
Tarık B
4fa4feb669
Increase indentation for -vet extra check listing
2023-11-25 10:24:22 +01:00
Tarık B
5fd3fc4c7c
Unify showing of available options
2023-11-25 10:24:22 +01:00
Tarık B
ee2d3e00fd
Capitalize first word of sentences
2023-11-25 10:24:22 +01:00
Tarık B
6f65ed6cc8
Add period at the end of sentences.
2023-11-25 10:24:22 +01:00
Tarık B
70525a12ca
Fix typo
2023-11-25 10:24:22 +01:00
Tarık B
914950592c
Fix indentation
2023-11-25 10:24:22 +01:00
Jeroen van Rijn
3c021f9c52
Merge pull request #2923 from flysand7/raylib-fix
...
Pre-compiled raygui on linux
2023-11-24 14:18:49 +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