Commit Graph

4731 Commits

Author SHA1 Message Date
gingerBill
2bdae52fed Add @(init) attribute for procedures, allowing for procedures to be called at startup
These procedures will be called after global variables have been initialized as normal
2021-10-03 11:53:32 +01:00
gingerBill
b3a66b3950 Change c.int to PixelFormat where appropriate 2021-10-02 23:58:40 +01:00
gingerBill
a971fb6e94 Make TextFormat use static internal buffers; Add TextFormatAlloc 2021-10-02 22:43:55 +01:00
gingerBill
036fa5cb24 Correct ABI for windows with LLVM 2021-10-02 18:12:34 +01:00
gingerBill
81fe50d623 Add sizes to assert message 2021-10-02 17:48:09 +01:00
gingerBill
b9b9bd8612 Add message to assert; add sanity check for possible future behaviour 2021-10-02 17:44:24 +01:00
gingerBill
171a5d6476 Clean up struct_fields_index_by_increasing_offset 2021-10-02 17:43:48 +01:00
gingerBill
00671a59a0 Minor code cleanup for backend; add struct_fields_index_by_increasing_offset for future use 2021-10-02 17:22:56 +01:00
gingerBill
ebca0398a7 Remove need for alignment lb_struct_has_padding_prefix 2021-10-02 16:06:42 +01:00
gingerBill
58a405cc9f Fix typos; Add MemAllocator which wraps the raylib allocation procedures into an Odin Allocator; Reimplement TextFormat using fmt.*printf 2021-10-02 15:46:55 +01:00
gingerBill
444fedd8d4 Heavily improve the LLVM struct type generation to improve ABI 2021-10-02 15:45:46 +01:00
gingerBill
f7137bf367 Improvements to vendor:microui 2021-10-02 14:06:34 +01:00
gingerBill
92a0ce991e Update examples/all 2021-10-02 14:06:11 +01:00
gingerBill
1e7c60e171 Minor style change 2021-10-02 14:05:26 +01:00
gingerBill
2d2e3ed6a1 Remove dead code 2021-10-02 14:04:52 +01:00
gingerBill
21a06df5e1 Add alias for MJSON as Bitsquid 2021-10-02 14:04:41 +01:00
gingerBill
c04efe8762 Merge pull request #1204 from Airbus5717/master
fix Specification link in readme
2021-10-02 11:28:15 +01:00
Airbus5717
41071ee351 fix Specification link in readme 2021-10-02 13:26:33 +03:00
gingerBill
594049027b Merge branch 'master' of https://github.com/odin-lang/Odin 2021-10-02 01:13:35 +01:00
gingerBill
b1ea291942 Fix typos 2021-10-02 01:13:28 +01:00
Jeroen van Rijn
254c504465 Merge pull request #1199 from Skytrias/master
small package fixes
2021-10-01 12:15:33 -07:00
gingerBill
d32d1b7e07 Add reflect.set_union_value dev-2021-10 2021-09-30 12:04:27 +01:00
gingerBill
cf94fd7b82 Merge branch 'master' of https://github.com/odin-lang/Odin 2021-09-30 11:46:02 +01:00
gingerBill
6ca793f0e9 Remove deprecation from the build specific procedures 2021-09-30 11:45:56 +01:00
skytrias
9ceb6b79fd small package fixes 2021-09-29 21:47:36 +02:00
gingerBill
bd1e1c66f3 Merge pull request #1188 from krux02/minor-fix-3
fix #1187
2021-09-29 19:22:56 +01:00
gingerBill
08ac2fd1b6 Rename virtual.Arena to virtual.Growing_Arena 2021-09-29 16:50:36 +01:00
gingerBill
b2a36f204e Add a mutex to arena_free_all 2021-09-29 16:46:14 +01:00
gingerBill
efdd5cf499 Add a mutex to virtual.Arena 2021-09-29 16:43:58 +01:00
gingerBill
805e48ae1e Add core:mem/virtual 2021-09-29 16:39:20 +01:00
gingerBill
c6ff88e85a Add io.write_f16 io.write_f32 io.write_f64 2021-09-29 16:39:02 +01:00
gingerBill
f99bea12c7 Allow uintptr <-> [^]T 2021-09-29 16:36:05 +01:00
gingerBill
19ac822e4a Improve reflect.Type_Info_Complex support 2021-09-29 15:08:45 +01:00
gingerBill
9d797ea225 Add more support for complex types 2021-09-29 15:02:51 +01:00
gingerBill
aac290e366 Clean up json.marshal_to_writer 2021-09-29 14:50:53 +01:00
gingerBill
1d6e398f20 Add io.Error to fmt.fprintf_typeid 2021-09-29 14:49:58 +01:00
gingerBill
9fae575531 Keep -vet happy 2021-09-29 14:49:25 +01:00
gingerBill
e928793e79 Correct _builder_stream_vtable 2021-09-29 14:49:06 +01:00
gingerBill
e99061500d Minor clean up of n_read/n_written handling 2021-09-29 14:28:09 +01:00
gingerBill
8e2a0be804 Add an extra optional ^int parameter to most io read/write calls allowing for simplified or_return use with incrementing byte usage 2021-09-29 13:59:47 +01:00
gingerBill
94a27224b2 Deprecate strings.write_quoted_* in favour of io.write_quoted_*; make reflect.write_type a little more robust with io.Error handling 2021-09-29 13:42:58 +01:00
gingerBill
4acb4c4ee2 Split examples/all into different files 2021-09-29 13:41:29 +01:00
gingerBill
b2164b5da6 Make the io/conv.odin utilities be #optional_ok 2021-09-29 13:24:42 +01:00
gingerBill
057310472e Add io.write_i128 and io.writer_u128 2021-09-29 13:21:49 +01:00
gingerBill
c22f2866c7 Remove fmt dependency 2021-09-29 13:18:06 +01:00
gingerBill
07ba3e6304 Merge branch 'master' of https://github.com/odin-lang/Odin 2021-09-29 13:06:13 +01:00
gingerBill
9bc12e3f38 Improve json.marshal error handling for io.Writer; Add docs for the different JSON specifications 2021-09-29 13:06:03 +01:00
gingerBill
b3f2263442 Add io.write_quoted_* utility procedures to package io 2021-09-29 13:04:59 +01:00
Jeroen van Rijn
6884841ece Merge pull request #1197 from Kelimion/help
Fix -collection help typo.
2021-09-28 11:04:44 -07:00
Jeroen van Rijn
6f04c61bdf Fix -collection help typo. 2021-09-28 19:59:44 +02:00