gingerBill
a957d3dd64
Minor clean up of default_hasher_cstring
2022-03-06 12:17:49 +00:00
gingerBill
a7c0edb046
Add int and float functions
2022-03-03 18:08:04 +00:00
gingerBill
52bb8524b1
Add basic reduce evaluation e.g. + 1 2 3, - 2 3, * 3 4, / 3 4
2022-03-03 18:03:23 +00:00
gingerBill
11b08b4d86
Initial work on core:text/template
2022-03-03 15:38:59 +00:00
gingerBill
09f5713cf8
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-03-03 14:31:45 +00:00
Jeroen van Rijn
26c0c6a525
Merge pull request #1581 from Kelimion/32-bit-fixes
...
32 bit fixes
2022-03-03 15:26:42 +01:00
Jeroen van Rijn
6d9f84ba03
[tests] Make test runners exit with errorlevel 1 if a test fails.
2022-03-03 15:16:16 +01:00
Jeroen van Rijn
8af08f2153
[compress] 32-bit cleanness.
2022-03-03 15:10:19 +01:00
gingerBill
0b05650366
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-03-03 13:54:31 +00:00
gingerBill
96e36c7c39
Minor fix to strconv.unquote_string
2022-03-03 13:54:23 +00:00
gingerBill
16c6dbcbe5
Merge pull request #1579 from semarie/vendors
...
Vendors libraries portability and examples/all splitting
2022-03-03 12:09:46 +00:00
gingerBill
92a78c83d9
Merge pull request #1571 from SrMordred/patch-4
...
Fixing bindings
2022-03-03 12:08:17 +00:00
gingerBill
6b2302fa8b
Merge pull request #1572 from Lperlind/better-fmt
...
Improve core:fmt formatting
2022-03-03 12:07:14 +00:00
gingerBill
ee28945e09
Update FUNDING.yml
2022-03-03 11:19:12 +00:00
Sébastien Marie
3dcea60f5b
vendor: ENet: follow strict-style and remove optional semi-colon
2022-03-03 09:27:10 +00:00
Sébastien Marie
f126e05034
stb, miniaudio: use default builtin variables of make for CC and AR
2022-03-03 07:36:47 +00:00
gingerBill
68b74eb7c7
Merge pull request #1577 from zhibog/crypto_rand_windows
...
Added rand_bytes for Windows in core:crypto
2022-03-02 23:10:31 +00:00
zhibog
3b4199a669
Added rand_bytes for Windows in core:crypto
2022-03-02 21:22:56 +01:00
Sébastien Marie
562901aedf
split all_vendor.odin
...
create 3 files:
- all_vendor.odin : no specific OS
- all_vendor_directx.odin : directx vendor, windows-only
- all_vendor_stb.odin : stb vendor, windows and linux only
stb could technically be used on others OS. but it is shipped upstream as set of c-files without unified library name.
2022-03-02 19:21:22 +00:00
Sébastien Marie
793117ed63
vendor: sdl2: simplify foreign import
2022-03-02 18:50:37 +00:00
Sébastien Marie
5b783d6376
vendor: raylib: simplify foreign import
2022-03-02 18:44:29 +00:00
Sébastien Marie
d3f3528d1d
vendor: portmidi: simplify foreign import
2022-03-02 18:43:17 +00:00
Sébastien Marie
3145935d6b
miniaudio
...
- simplify foreign
- enable SUPPORT_SNDIO on OpenBSD
- correct ptr type for SUPPORT_PULSEAUDIO (Linux) and SUPPORT_COREAUDIO (Darwin)
2022-03-02 18:35:13 +00:00
Sébastien Marie
25430333ba
vendor: glfw: simplify foreign import
2022-03-02 18:25:22 +00:00
Sébastien Marie
2ca2b32dd0
vendor: botan: simplify foreign import
2022-03-02 18:21:43 +00:00
gingerBill
fd415f0b45
Merge pull request #1573 from semarie/openbsd-vendor
...
Openbsd vendor
2022-03-02 12:56:12 +00:00
Lucas Perlind
507722954c
Improve core:fmt formatting
...
* Strings will respect widths smaller than the string's length
* Strings are right justified by default like integers
* Strings accept '-' flag to be left justified
* Booleans will be formatted like strings
* Enums will be formatted like strings
2022-03-02 16:22:16 +11:00
Patric Dexheimer
524d23d45d
Update raylib.odin
2022-03-01 16:55:34 -03:00
Patric Dexheimer
e9ee6f5291
Fixing bindings
...
https://github.com/raysan5/raylib/blob/master/src/raylib.h#L1179
2022-03-01 16:00:18 -03:00
gingerBill
7e5342f41f
Use contextless where possible
dev-2022-03
2022-03-01 15:52:14 +00:00
gingerBill
18607e53cb
Correct alloc_from_memory_block
2022-03-01 15:38:04 +00:00
gingerBill
ed933b3f21
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-03-01 14:49:11 +00:00
gingerBill
49fecbdc5e
Improve error message when there is "no field" found for a large anonymous struct
2022-03-01 14:49:05 +00:00
Jeroen van Rijn
f971126183
[mem] Add missing \n to tracking allocator example.
2022-03-01 13:51:41 +01:00
gingerBill
d4ccb69ccc
Check if directory exists with the same target executable name when building a directory
2022-02-28 21:49:19 +00:00
Sébastien Marie
37b4e0de6c
sdl2: add openbsd support
2022-02-28 16:17:15 +00:00
Sébastien Marie
737f440c7f
glfw: add openbsd support
2022-02-28 16:17:14 +00:00
Sébastien Marie
cba3f1e374
ENet: add openbsd support
2022-02-28 16:17:14 +00:00
gingerBill
a70dde34da
Merge pull request #1565 from semarie/openbsd-pie
...
openbsd: defaults to PIE executable
2022-02-28 16:11:59 +00:00
Sébastien Marie
f76f70c7cf
openbsd: defaults to PIE executable
...
OpenBSD uses PIE code by default to allow the system to load the binary at a random location.
don't pass -no-pie to preserve this behaviour, and build objects with -fPIC (LLVMRelocPIC).
2022-02-28 15:24:22 +00:00
gingerBill
dd9843aa21
Merge pull request #1557 from semarie/openbsd-support
...
initial OpenBSD support
2022-02-28 14:23:56 +00:00
gingerBill
3c72cb67d3
Remove context.user_data
2022-02-28 13:00:32 +00:00
gingerBill
7681c43b14
Show error message when something like this is done test: proc() : {}
2022-02-28 12:12:04 +00:00
gingerBill
7e43cd7d97
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-02-28 12:06:42 +00:00
gingerBill
c223fc1766
Correct debug information for local variables
2022-02-28 12:06:35 +00:00
Sébastien Marie
04297bb680
ci: add check for OpenBSD amd64
2022-02-26 14:18:37 +00:00
Sébastien Marie
553292ffd0
vendor: botan: add OpenBSD support
2022-02-26 08:47:58 +00:00
Sébastien Marie
57862846a2
tests/vendor: pass extra linker flags
...
on OpenBSD, botan library is third-party and live in /usr/local which isn't a path included by default in linker.
2022-02-26 08:21:46 +00:00
Sébastien Marie
8e270d3a99
openbsd: poor man implementation for getting executable path
...
it tries to get executable path from argv[0]. it is unreliable and unsecure, but should be fine enough for the considered use-case. it still doesn't address all possible cases.
2022-02-26 08:19:41 +00:00
Sébastien Marie
ae5cb09041
internal_odin_root_dir: readlink could fail
2022-02-25 17:59:57 +00:00