Commit Graph

  • 75e3df6da2 Add utility procedure groups for sync primitives gingerBill 2021-10-12 11:03:52 +01:00
  • 753acc6971 Add wait_group_wait_with_timeout; Allow Sema to be implemented as a Wait_Group gingerBill 2021-10-11 20:14:26 +01:00
  • 0d258e8b55 Make many package time procedures use "contextless" calling convention gingerBill 2021-10-11 20:08:38 +01:00
  • 3a60bee804 Move assert to implementation file gingerBill 2021-10-11 20:07:39 +01:00
  • b67e0002c1 Add testing.expect_value; Improve testing.set_fail_timeout gingerBill 2021-10-11 20:05:13 +01:00
  • 0070119392 Add thread.create_and_start_with_* procedures gingerBill 2021-10-11 19:56:29 +01:00
  • 310fd1936b Clean up _futex_wait_with_timeout on Linux gingerBill 2021-10-11 19:49:56 +01:00
  • 077bf28d26 Separate Sema implementation from "header"; Allow for either Futex or Mutex+Cond implementations of Sema gingerBill 2021-10-11 19:48:27 +01:00
  • d97c6a7657 Rename futex_wake and futex_wake_all to futex_signal and futex_broadcast gingerBill 2021-10-11 16:40:23 +01:00
  • 46b33854c9 Add sema_wait_with_timeout gingerBill 2021-10-11 16:35:04 +01:00
  • 5ee3686569 Fix typo gingerBill 2021-10-11 16:34:50 +01:00
  • d23144fd27 Keep -vet happy gingerBill 2021-10-11 15:30:23 +01:00
  • e64eb631df Add testing.set_fail_timeout gingerBill 2021-10-11 15:28:25 +01:00
  • 129a62d4f1 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2021-10-11 15:23:44 +01:00
  • 8c9299c139 Use WaitOnAddress instead of RtlWaitOnAddress gingerBill 2021-10-11 15:23:39 +01:00
  • 3e9b7120be Merge pull request #1216 from Tetralux/fix-io-read gingerBill 2021-10-11 13:57:30 +01:00
  • 675ba44e67 Fix typo in io.read_at_least() Tetralux 2021-10-11 12:33:27 +00:00
  • 240b6aab13 Change futex_wait_with_timeout to return a boolean rather than an enum gingerBill 2021-10-11 13:23:11 +01:00
  • a1e8769cff Add atomic_cond_wait_with_timeout gingerBill 2021-10-11 13:02:17 +01:00
  • 73cba2cf13 Add cond_wait_with_timeout gingerBill 2021-10-11 12:55:25 +01:00
  • 49c761dc6d Fix typo gingerBill 2021-10-09 19:11:26 +01:00
  • 2a8d4c5bf5 Disallow or_return within defer gingerBill 2021-10-09 19:11:10 +01:00
  • 2b8807eb73 Keep -vet happy gingerBill 2021-10-09 16:35:26 +01:00
  • 2ef0e6b8f6 Update core:sync/sync2 to have a generic Futex interface, and implement the calls appropriately for each platform gingerBill 2021-10-09 16:33:28 +01:00
  • d386563344 Correct issue with the generated map type internals; Simplify map rehash logic to utilize resize gingerBill 2021-10-07 21:23:37 +01:00
  • 9ecc2ab15b Add more runtime.print_int procedures gingerBill 2021-10-07 21:22:49 +01:00
  • cb9101e0a0 Simplify lb_gen_map_header gingerBill 2021-10-07 14:12:47 +01:00
  • fd9adaf1de Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2021-10-07 13:41:26 +01:00
  • af7008aa44 Allow for array programming value constants gingerBill 2021-10-07 13:41:14 +01:00
  • d3a18fbe9a Merge pull request #1210 from Kelimion/png_improvements Jeroen van Rijn 2021-10-06 14:03:47 -07:00
  • b4b53aeb71 png: Channel helper metadata. Jeroen van Rijn 2021-10-06 22:47:40 +02:00
  • c4b4a841d6 png: Move metadata. Jeroen van Rijn 2021-10-06 22:43:33 +02:00
  • 263d63aa56 png: Add more OOM checks. Jeroen van Rijn 2021-10-06 22:09:32 +02:00
  • 8fcd1794a6 png: Add sane compile-time maximums for dimensions + chunk sizes. Jeroen van Rijn 2021-10-06 21:48:22 +02:00
  • 9b5ae95677 png + compress: Rearrange error unions. Jeroen van Rijn 2021-10-06 20:45:29 +02:00
  • 21c6d691d8 Add additional error checking to helpers. Jeroen van Rijn 2021-10-06 20:10:37 +02:00
  • 2e9eec156c Revert "Merge pull request #1209 from Kelimion/append_error" Jeroen van Rijn 2021-10-06 19:09:28 +02:00
  • c9468adcfd Merge pull request #1209 from Kelimion/append_error Jeroen van Rijn 2021-10-06 07:40:16 -07:00
  • b345176bde Make append builtins return an Allocator_Error. Jeroen van Rijn 2021-10-06 16:33:52 +02:00
  • 879a4d49ae Merge pull request #1208 from englerj/win32-bindings Jeroen van Rijn 2021-10-06 04:27:09 -07:00
  • 15594706c9 Additional win32 bindings. Josh Engler 2021-10-05 19:09:20 -04:00
  • 58e3f779f2 Remove nonsense from static_arena_init gingerBill 2021-10-05 17:12:24 +01:00
  • 455d64fbd4 Add error value to commit gingerBill 2021-10-05 17:11:12 +01:00
  • 16ca677c1f Correct mmap usage gingerBill 2021-10-05 17:05:33 +01:00
  • 1f1434b384 Add arena_util.odin gingerBill 2021-10-05 16:42:42 +01:00
  • f83370235f Add static_arena_bootstrap_new gingerBill 2021-10-05 16:39:14 +01:00
  • 4961aff51b Minor cleanup gingerBill 2021-10-05 16:37:15 +01:00
  • 0ed3143006 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2021-10-05 16:28:25 +01:00
  • bc2b8b597c Add virtual.Static_Arena gingerBill 2021-10-05 16:28:14 +01:00
  • ccc4c641c4 Clean up Memory_Block logic gingerBill 2021-10-05 16:25:30 +01:00
  • 0ca8a4ad3b Merge pull request #1207 from Kelimion/fix_1206 Jeroen van Rijn 2021-10-05 05:20:24 -07:00
  • 1931e3147d Remove assert from mem.ptr_to_bytes. Fixes #1206 Jeroen van Rijn 2021-10-05 14:18:48 +02:00
  • 9d9ec192f1 Rename to growing_arena.odin gingerBill 2021-10-04 17:57:59 +01:00
  • 586a000152 Add Protect_Flags for virtual.protect gingerBill 2021-10-04 17:42:15 +01:00
  • 728f143e33 Add virtual_linux.odin gingerBill 2021-10-04 17:30:06 +01:00
  • f2e78dcc0b Separate out the virtual memory allocation procedures gingerBill 2021-10-04 16:43:52 +01:00
  • a463609e4c If an entity is inserted into a scope already exists by the same name, it will not report as an error any more gingerBill 2021-10-04 12:41:33 +01:00
  • e05a305764 Minor clean up gingerBill 2021-10-03 12:43:11 +01:00
  • a437c95fed Remove mutex from Growing_Arena; Add Growing_Arena_Temp gingerBill 2021-10-03 12:41:24 +01:00
  • 8fe70978ff Add @(init) usage to core:mem/virtual gingerBill 2021-10-03 12:40:51 +01:00
  • 647fee31f8 Correct offset_of_by_string gingerBill 2021-10-03 12:34:01 +01:00
  • 8af6b6fa18 Remove debug code gingerBill 2021-10-03 12:32:51 +01:00
  • f48f06e7b7 Add offset_of_by_string gingerBill 2021-10-03 12:32:04 +01:00
  • 51b5a973e2 Allow constant string value for the field argument of offset_of gingerBill 2021-10-03 12:24:54 +01:00
  • 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 gingerBill 2021-10-03 11:53:32 +01:00
  • b3a66b3950 Change c.int to PixelFormat where appropriate gingerBill 2021-10-02 23:58:40 +01:00
  • a971fb6e94 Make TextFormat use static internal buffers; Add TextFormatAlloc gingerBill 2021-10-02 22:43:55 +01:00
  • 036fa5cb24 Correct ABI for windows with LLVM gingerBill 2021-10-02 18:12:34 +01:00
  • 81fe50d623 Add sizes to assert message gingerBill 2021-10-02 17:48:09 +01:00
  • b9b9bd8612 Add message to assert; add sanity check for possible future behaviour gingerBill 2021-10-02 17:44:24 +01:00
  • 171a5d6476 Clean up struct_fields_index_by_increasing_offset gingerBill 2021-10-02 17:43:48 +01:00
  • 00671a59a0 Minor code cleanup for backend; add struct_fields_index_by_increasing_offset for future use gingerBill 2021-10-02 17:22:56 +01:00
  • ebca0398a7 Remove need for alignment lb_struct_has_padding_prefix gingerBill 2021-10-02 16:06:42 +01:00
  • 58a405cc9f Fix typos; Add MemAllocator which wraps the raylib allocation procedures into an Odin Allocator; Reimplement TextFormat using fmt.*printf gingerBill 2021-10-02 15:46:55 +01:00
  • 444fedd8d4 Heavily improve the LLVM struct type generation to improve ABI gingerBill 2021-10-02 15:45:46 +01:00
  • f7137bf367 Improvements to vendor:microui gingerBill 2021-10-02 14:06:34 +01:00
  • 92a0ce991e Update examples/all gingerBill 2021-10-02 14:06:11 +01:00
  • 1e7c60e171 Minor style change gingerBill 2021-10-02 14:05:26 +01:00
  • 2d2e3ed6a1 Remove dead code gingerBill 2021-10-02 14:04:52 +01:00
  • 21a06df5e1 Add alias for MJSON as Bitsquid gingerBill 2021-10-02 14:04:41 +01:00
  • c04efe8762 Merge pull request #1204 from Airbus5717/master gingerBill 2021-10-02 11:28:15 +01:00
  • 41071ee351 fix Specification link in readme Airbus5717 2021-10-02 13:26:33 +03:00
  • 594049027b Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2021-10-02 01:13:35 +01:00
  • b1ea291942 Fix typos gingerBill 2021-10-02 01:13:28 +01:00
  • 254c504465 Merge pull request #1199 from Skytrias/master Jeroen van Rijn 2021-10-01 12:15:33 -07:00
  • d32d1b7e07 Add reflect.set_union_value dev-2021-10 gingerBill 2021-09-30 12:04:27 +01:00
  • cf94fd7b82 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2021-09-30 11:46:02 +01:00
  • 6ca793f0e9 Remove deprecation from the build specific procedures gingerBill 2021-09-30 11:45:56 +01:00
  • 9ceb6b79fd small package fixes skytrias 2021-09-29 21:47:36 +02:00
  • bd1e1c66f3 Merge pull request #1188 from krux02/minor-fix-3 gingerBill 2021-09-29 19:22:56 +01:00
  • 08ac2fd1b6 Rename virtual.Arena to virtual.Growing_Arena gingerBill 2021-09-29 16:50:36 +01:00
  • b2a36f204e Add a mutex to arena_free_all gingerBill 2021-09-29 16:46:14 +01:00
  • efdd5cf499 Add a mutex to virtual.Arena gingerBill 2021-09-29 16:43:58 +01:00
  • 805e48ae1e Add core:mem/virtual gingerBill 2021-09-29 16:39:20 +01:00
  • c6ff88e85a Add io.write_f16 io.write_f32 io.write_f64 gingerBill 2021-09-29 16:39:02 +01:00
  • f99bea12c7 Allow uintptr <-> [^]T gingerBill 2021-09-29 16:36:05 +01:00
  • 19ac822e4a Improve reflect.Type_Info_Complex support gingerBill 2021-09-29 15:08:45 +01:00
  • 9d797ea225 Add more support for complex types gingerBill 2021-09-29 15:02:51 +01:00
  • aac290e366 Clean up json.marshal_to_writer gingerBill 2021-09-29 14:50:53 +01:00
  • 1d6e398f20 Add io.Error to fmt.fprintf_typeid gingerBill 2021-09-29 14:49:58 +01:00