Andrea Piseri
b6ebfe4b2c
rename iterator procedures
2022-02-05 18:11:48 +01:00
Andrea Piseri
bccbdefde9
Update interface to allow more modes of iteration
...
It's now possible to iterate over:
- all keys in the range min_value ..= max_value, with `iterate_all`
- all set keys in the bit array, with `iterate_set`
- all unset keys in the range min_value ..= max_value, with `iterate_unset`
`Bit_Array` now stores the `max_value` provided during construction, and
updates it when a key that was previously out of range is set.
2022-02-05 18:00:59 +01:00
ap29600
b54fc96b1e
rename iterator proc to next, add named return values
2022-02-04 22:39:47 +01:00
Andrea Piseri
48af78e469
add iterator to core:container/bit_array
2022-02-04 22:12:07 +01:00
gingerBill
abb26e0bea
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-02-04 12:08:24 +00:00
gingerBill
76edfae0e0
core:container/topological_sort
2022-02-04 12:08:20 +00:00
gingerBill
a5298e17ec
Merge pull request #1467 from ap29600/u128_endian_swap
...
fix logic in bswap_128
2022-02-03 15:06:12 +00:00
Andrea Piseri
cf9f3d5e2d
fix logic in bswap_128
2022-02-03 15:50:39 +01:00
gingerBill
35c90fe124
Fix type alias declaration evaluation problem ( #854 #1439 )
2022-02-03 13:34:31 +00:00
gingerBill
df8bdac33f
Initialize the global_rand with the intrinsics.read_cycle_counter() value
2022-02-03 00:31:36 +00:00
gingerBill
b4f7a527c2
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-02-02 23:38:40 +00:00
gingerBill
35533a7baa
Update core:container/lru to support clear and take a boolean to indicate whether or not to call the on_remove procedure on clear or destroy
2022-02-02 23:38:32 +00:00
gingerBill
2c9ed7464f
Merge pull request #1465 from ap29600/reflect_is_nil_fix
...
Fix logic in `is_nil` procedure
2022-02-02 19:36:25 +00:00
Andrea Piseri
e190c024fd
Fix logic in is_nil procedure: a non_nil slice means there is data to check.
2022-02-02 20:07:38 +01:00
gingerBill
e250475bf9
Merge pull request #1457 from DanielGavin/parser-inline
...
Fix core:odin/parser not setting the inline flag correctly.
2022-02-02 16:32:09 +00:00
gingerBill
5db603ded2
Minor sanity clean up
2022-02-02 15:39:41 +00:00
gingerBill
78815778ee
Add //+private file to complement //+private (//+private package)
2022-02-02 15:28:49 +00:00
gingerBill
a04d849e30
core:container/lru
dev-2022-02
2022-02-01 15:24:37 +00:00
gingerBill
8c9505505a
Add allocator parameter to rand.perm
2022-02-01 15:23:49 +00:00
gingerBill
eac74631ec
Correct debug information logic for procedure parameters
2022-02-01 14:11:19 +00:00
gingerBill
85706d559d
Fix typo
2022-01-31 20:19:46 +00:00
gingerBill
67ba05cb7c
Correct false positive check in check_unique_package_names
2022-01-31 19:33:02 +00:00
gingerBill
2f1aeaf757
Remove the unneeded $
2022-01-31 15:56:40 +00:00
gingerBill
14a17fb36f
Add slice.stable_sort* procedures
2022-01-31 15:55:52 +00:00
gingerBill
1a9ec776cb
Unify logic for slice.sort* related procedures
2022-01-31 12:43:20 +00:00
gingerBill
da1edac56d
Enforce -strict-style in CI
2022-01-31 11:29:05 +00:00
gingerBill
44ec95a983
Fix all_main.odin
2022-01-30 21:55:55 +00:00
gingerBill
1502066303
Correct CI
2022-01-30 21:43:42 +00:00
gingerBill
35a826a0fd
Update CI to do odin check examples/all
2022-01-30 21:38:34 +00:00
gingerBill
ebb8ca7c26
Add round to linalg_glsl_math.odin
2022-01-30 21:35:05 +00:00
gingerBill
763de44853
Merge pull request #1461 from AquaGeneral/master
...
Added round to HLSL and GLSL, and isinf/isfinite + isnan to HLSL
2022-01-30 10:46:13 +00:00
Jesse Stiller
62cc752066
Added round to HLSL and GLSL, and isinf/isfinite + isnan to HLSL
2022-01-30 13:57:01 +10:00
gingerBill
965b962b29
Merge pull request #1459 from powerc9000/clay-macos-fixes
...
Fix mutex and conditions trying to be destroyed twice in unix
2022-01-28 00:24:29 +00:00
powerc9000
2f3c5336d9
Fix mutex and conditions trying to be destroyed twice in unix
2022-01-27 15:38:16 -07:00
gingerBill
3824937295
Remove debug code
2022-01-27 16:30:22 +00:00
gingerBill
fc8ddcef5c
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-01-27 16:09:44 +00:00
gingerBill
3165b7cf95
Add rand.exp_float64
2022-01-27 16:09:33 +00:00
gingerBill
5eea23cf76
Fix typo
2022-01-27 16:09:05 +00:00
gingerBill
2aa783179e
Update doc_format.odin
2022-01-27 16:08:58 +00:00
gingerBill
24e7356825
Add #no_type_assert and #type_assert to disable implicit type assertions with x.(T)
2022-01-27 16:08:47 +00:00
Jeroen van Rijn
2fcba25e50
Merge pull request #1458 from Kelimion/zlib_fix
...
Fix DEFLATE stored block handling.
2022-01-27 15:10:33 +01:00
Jeroen van Rijn
28bc274449
Fix DEFLATE stored block handling.
2022-01-27 14:58:45 +01:00
Daniel Gavin
ff5e036773
Trim whitespaces
2022-01-27 14:27:26 +01:00
Daniel Gavin
4dc29d141f
Fix core:odin/parser not setting the inline flag correctly.
2022-01-27 14:24:33 +01:00
gingerBill
16786aac78
Correct int31_max etc
2022-01-27 12:33:34 +00:00
gingerBill
32b37f3429
Support built-in procedures for doc format
2022-01-27 00:08:05 +00:00
gingerBill
5808793cae
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-01-26 23:31:53 +00:00
gingerBill
7e11f3cc4b
Update doc format to allow for aliases
2022-01-26 23:31:47 +00:00
gingerBill
714ab516c5
Merge pull request #1454 from jasonKercher/fix_segfault
...
avoid segfault in llvm_backend_general.cpp on map resize
2022-01-26 19:56:59 +00:00
CiD-
498f68c06b
avoid segfault on map resize
2022-01-26 14:37:15 -05:00