Jeroen van Rijn
cb85d00e9e
Merge pull request #2064 from awwdev/patch-2
...
removed do
2022-09-21 16:23:54 +02:00
André (counter)
8ce1ce85ad
removed do
2022-09-21 16:03:52 +02:00
gingerBill
a6d3cbe824
Correct json.unmarshal for maps
2022-09-21 13:10:06 +01:00
gingerBill
9b9aa9c353
Remove more dead code for map header stuff
2022-09-21 13:08:40 +01:00
gingerBill
831620bfc4
Remove header cache code
2022-09-21 13:06:02 +01:00
gingerBill
4f50988799
Remove debug code
2022-09-21 13:03:30 +01:00
gingerBill
ff97a73152
Reduce unnecessary map gets
2022-09-21 13:03:13 +01:00
gingerBill
769d8dd038
Simplify __get_map_header stuff
2022-09-21 12:13:05 +01:00
gingerBill
1d793ea338
Split header table data and the map pointer
2022-09-21 12:09:05 +01:00
gingerBill
5337413c56
Temporary patch for lb_gen_map_header
2022-09-21 11:36:14 +01:00
gingerBill
380905618a
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-09-21 11:31:58 +01:00
gingerBill
3ff56e4405
Correct get_fullpath_relative to remove all trailing path separators (/ and \)
2022-09-21 11:31:52 +01:00
Jeroen van Rijn
58297774f7
Merge pull request #2061 from flplv/main
...
Changed nightly build for linux to include the llvm library file
2022-09-21 03:41:15 +02:00
Felipe Lavratti
5e9ff85fa8
Changed nightly build for linux to include the llvm library file
2022-09-21 00:50:34 +01:00
gingerBill
eb7a9c55b0
Improve parapoly support for ^T to [^]$V and vice versa
2022-09-20 22:47:53 +01:00
Jeroen van Rijn
6157af56e9
Merge pull request #2059 from sumofat/pr_fix_stbi_darwin
...
Pr fix darwin libdir 2
2022-09-18 14:38:35 +02:00
ray.garner
d6f84887ff
Fix darwin libs for vendor stbi
2022-09-18 21:35:13 +09:00
gingerBill
729ffeee09
Begin work on core:debug/pe
2022-09-17 18:45:33 +01:00
gingerBill
0092995f9d
Update .gitignore
2022-09-17 17:54:12 +01:00
gingerBill
3fb69d59bb
Minor correction to __get_map_header
2022-09-17 17:48:38 +01:00
gingerBill
cb207afdf3
Merge pull request #2055 from odin-lang/map-index-internal
...
Map Internals Improvements
2022-09-17 15:30:53 +01:00
gingerBill
756c1b7bcb
Correct slice/ptr.odin calls
2022-09-17 15:12:32 +01:00
gingerBill
cd484979a8
General clean up minor with rearrangements and removing unneeded procedures
2022-09-17 15:09:39 +01:00
gingerBill
9e3ea92829
Inline many calls and delete unused procedures
2022-09-17 14:59:16 +01:00
gingerBill
c37de9459e
Minor refactor of the dynamic_map_internal.odin stuff
2022-09-17 14:46:52 +01:00
gingerBill
4d512c2cf6
Correct lb_gen_map_header initialization
2022-09-17 13:40:29 +01:00
gingerBill
81f10f53ad
Correct delete_key
2022-09-17 13:22:23 +01:00
gingerBill
fbf036a654
Wrap __dynamic_map_find for certain cases
2022-09-17 13:11:29 +01:00
gingerBill
40bcfc7c8d
Update json/unmarshal.odin for the new runtime.__dynamic_map_set
2022-09-17 13:05:14 +01:00
gingerBill
bfe0ffd6e6
Minor clean up
2022-09-17 13:02:06 +01:00
gingerBill
8ee6bb5d4b
Add contextless where possible in dynamic_map_internal.odin
2022-09-17 13:00:19 +01:00
gingerBill
0ebc2add03
Use a cache when generating the map header to minimize stack wastage
2022-09-17 12:56:03 +01:00
gingerBill
7840c1b89f
Change __dynamic_map_get and __dynamic_map_set to use separate parameters rather than take a singular struct
2022-09-17 12:48:12 +01:00
gingerBill
0428d5ae2e
Catch missing areas of Map_Index usage
2022-09-17 12:27:34 +01:00
gingerBill
b967ae2739
Change internal map indices to use a distinct uint rather than just int
2022-09-17 12:21:23 +01:00
gingerBill
c462496bd5
Merge pull request #2048 from odin-lang/pow2-map
...
Use pow of two capacity for hash maps to allow for `& (n-1)` instead of `% n`
2022-09-17 11:28:42 +01:00
gingerBill
a903e5024c
Chnage next_pow2 to ceil_to_pow2
2022-09-17 11:18:26 +01:00
gingerBill
7cce55e2fc
Merge pull request #2051 from graphitemaster/dale/vendor-zlib
...
Vendor zlib
2022-09-17 11:17:07 +01:00
gingerBill
99a1a10286
Fixed #2044 Uninitialised constant struct member values can cause crash
...
Foo :: struct {
x: i32,
data: sa.Small_Array(10, i32),
}
defaultFoo :: Foo{
x = 1,
// The 'data' value is not set!
}
fmt.println(defaultFoo.data) // caused the bug
2022-09-17 11:01:56 +01:00
gingerBill
9640b49319
Fix #1435 type switch statements of empty union types
2022-09-17 10:42:54 +01:00
gingerBill
1bc0e66ed1
Improve error message for using offset_of within a struct itself of that struct
2022-09-17 10:36:49 +01:00
gingerBill
117d32dfc4
Enforce constant pointer cast on global procedure variable initialization x := proc() {}
2022-09-17 10:26:57 +01:00
gingerBill
320b84df4f
Fix #2052 typo in linalg.max_single
2022-09-17 10:20:52 +01:00
gingerBill
98eaf5c6c0
Fix #2054 Differing behaviours with defer statements for single vs multiple return values caused by naïve ABI optimization
2022-09-17 10:20:04 +01:00
Jeroen van Rijn
9842019205
[examples] Add math/noise, align imports.
2022-09-15 18:01:15 +02:00
Jeroen van Rijn
479278be4e
Merge pull request #2053 from z64/master
...
Fix -verbose-error source lines from having last char cut off with LF files
2022-09-15 16:09:15 +02:00
Zac Nowicki
4767311a22
Fix -verbose-error source lines from having last char cut off
...
Fixes #1226
2022-09-15 07:09:38 -04:00
gingerBill
f50fc33749
Clean up of the core library to make the stream vtables not be pointers directly.
2022-09-15 10:00:50 +01:00
Jeroen van Rijn
8aba92da9b
[zlib] Add statically linked x64 library.
2022-09-14 23:27:28 +02:00
Jeroen van Rijn
59f3e10f0a
[zlib] Add LICENSE, update README
2022-09-14 23:08:52 +02:00