Commit Graph

54 Commits

Author SHA1 Message Date
Nic Barker
5009146c65 [Bindings/Odin] Recompile odin bindings with -O3
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
2025-03-05 15:11:11 +13:00
Laytan
2d7d5bc082
[Bindings/Odin] fix CreateArenaWithCapacityAndMemory capacity type (#306) 2025-03-05 09:49:53 +13:00
Nic Barker
02bce89d17
[Core] Improve & streamline grow / shrink handling (#296)
Some checks are pending
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
2025-03-04 10:56:38 +13:00
Nic Barker
5571c00a21 [Core] Convert capacity from uint32_t to size_t in Clay_CreateArenaWithCapacityAndMemory
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
2025-03-03 11:36:12 +13:00
Benjamin Block
feead45f3e
[Documentation] Update README.md for Odin bindings to reflect the latest API changes. (#281)
Some checks are pending
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
2025-02-24 08:52:41 +13:00
Nic Barker
a60b977946 [Core] Fix a bug where floating elements would be incorrectly configured
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
2025-02-18 09:41:06 +13:00
Laytan
20340f6544
[Bindings/Odin] add missing bindings, fix binding, improve ergonomics of userdata, conform to stricter style flags (#270)
Co-authored-by: Nic Barker <contact+github@nicbarker.com>
Co-authored-by: Courtney Strachan <courtney.strachan@gmail.com>
2025-02-18 09:16:31 +13:00
Thomas Anderson
28a8f59733
[Renderers/Raylib] Convert Image usage to Texture (#266) 2025-02-17 08:56:26 +13:00
Nic Barker
9f91450431 [Bindings/Odin] Update odin bindings to include debug tools changes 2025-02-12 13:07:05 +13:00
Nic Barker
e35bba079e [Core] Update debug tools to include text alignment 2025-02-12 13:05:48 +13:00
Nic Barker
3961720ef0 [Core & Documentation] Cleanup public / private API and internal document public API via comments
Some checks are pending
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
2025-02-11 17:11:03 +13:00
Nic Barker
5a328da308 [Bindings/Odin] Switch error enum to correct size 2025-02-11 10:51:10 +13:00
Nic Barker
65d2122dd6 [Core] Fix a bug where floating containers with anonymous IDs could conflict 2025-02-11 10:09:17 +13:00
Nic Barker
dcd6feda86 [Bindings/Odin] Add support for Clay_Hovered() to Odin bindings
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
2025-02-08 18:54:15 +13:00
Dan Korostelev
b4102400ff
[Bindings/Odin] Add get/set current context method to Odin bindings (#252) 2025-02-08 18:51:55 +13:00
Nic Barker
ddc20bc8f6 [Core] Add error for incorrect percentage values, update Odin bindings enum formatting 2025-02-07 10:39:55 +13:00
Nic Barker
0a9122e78d [Bindings/odin] Update odin bindings for debug tooling 2025-02-07 10:24:57 +13:00
Nic Barker
0468243ac7 [Bindings/Odin] Update odin bindings for rendercommand changes
Some checks are pending
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
2025-02-06 19:02:54 +13:00
Nic Barker
9d940c1f8e
[Core] Replace config macros with a single unified configuration struct (#240)
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
2025-02-04 17:00:19 +13:00
Nic Barker
a1e692b72a
[Core] Add option to hash text contents to text config (#238) 2025-01-30 09:59:42 +13:00
Nic Barker
0a703de69a
[Core] Add z-index and string base to Render Commands (#227) 2025-01-26 15:28:35 +13:00
Nic Barker
9b2d585499 Update odin and wasm bindings 2025-01-21 19:14:22 +13:00
Nic Barker
01d3ab127f Update odin bindings for new text measurement API
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
2025-01-20 11:39:59 +13:00
Nic Barker
f1d8a53a32
[Core] [Breaking] Split padding values into left, right, top, bottom (#195) 2025-01-14 10:38:02 +13:00
Nic Barker
12b3280dab update odin bindings
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 15s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 11s
2025-01-11 14:22:52 +13:00
Nic Barker
7142a427bb Update odin bindings 2025-01-11 14:19:31 +13:00
Nic Barker
44fb89c8b6 Add an epsilon to compression comparison to prevent degenerate loop
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 13s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 12s
2025-01-10 21:54:13 +13:00
Harrison Lambeth
944d290428
[Core] Multi instance / context support (#174) 2025-01-10 09:08:48 +13:00
Nic Barker
c12cefeaf4
[Layout] Improve shrink size distribution (#173)
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 15s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 11s
2025-01-08 19:39:20 +13:00
Nic Barker
cf12cd6af8
[Core] Standardise number types to int32_t for array indices, lengths and capacities (#152)
Some checks failed
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 1m44s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 13s
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
2025-01-03 11:24:32 +13:00
Nic Barker
68fbb07311
[Bindings/Odin] Update Odin bindings to latest (#151) 2025-01-03 09:59:09 +13:00
Nic Barker
a48d40635a remove inline functions for better windows lib compatibility 2024-12-22 09:13:28 +13:00
Nic Barker
712a79c473
Allow floating configuration to capture pointer (#66) 2024-12-21 06:36:34 +13:00
Nic Barker
29133bc783
Multi-type elements (#34) 2024-10-22 20:41:35 +13:00
Nic Barker
9a8775751f Cleanup compiler options 2024-10-07 19:30:15 +13:00
Nic Barker
f579690f5d Improve space allocation for GROW containers 2024-10-07 18:56:13 +13:00
Nic Barker
d826187b50 Update odin bindings 2024-10-06 19:34:42 +13:00
Nic Barker
21d9f06a47 Update odin bindings for CLAY_ID_LOCAL 2024-09-28 15:49:43 +12:00
Nic Barker
5bb725d005 Fix forward declarations 2024-09-21 08:04:31 +12:00
Nic Barker
332837befd
Fix issues with multiple translation units (#20) 2024-09-20 20:46:48 +12:00
Nic Barker
d7a0a6cd50 Update odin bindings 2024-09-17 19:13:17 +12:00
Nic Barker
a4f90a217d
Debug Tools (#15) 2024-09-16 21:34:59 +12:00
Laytan
b3d768c00d
Fix some Odin bindings (#16) 2024-09-13 13:38:39 +12:00
FourteenBrush
c248914292
[bindings/odin] Improve Odin bindings (#13) 2024-09-01 15:13:28 +12:00
Nic Barker
3e7738bee5 Add linux lib for odin bindings 2024-09-01 10:35:04 +12:00
Nic Barker
b64e318cdb Fix a small issue on the odin official website example 2024-09-01 10:25:42 +12:00
Dudejoe870
4d1b65071f Fix memory leak in odin website example (#12) 2024-09-01 10:25:25 +12:00
Dudejoe870
29ebed2010
Fix crash on Windows (#10) 2024-09-01 09:55:42 +12:00
Laytan
39c2aa5305
Support wasm in Odin bindings (#8) 2024-08-31 13:04:33 +12:00
Nic Barker
b4ab3a93c0
Update README.md 2024-08-30 22:06:33 +12:00