Commit Graph

220 Commits

Author SHA1 Message Date
Nic Barker
3145e12491 Fix for garbage padding and MSVC fixes 2025-02-01 21:05:25 +13:00
Nic Barker
50f88d7cf6 test 2025-01-31 22:25:44 +13:00
Nic Barker
06d6ed32fd fix windows x64 SIMD detection 2025-01-31 17:31:26 +13:00
Nic Barker
e2f4e2ade1 msvc fixes 2025-01-31 17:24:10 +13:00
Nic Barker
01b52385d6 Fix SDL3 renderer 2025-01-31 16:19:15 +13:00
Nic Barker
6d87726b71 Update SDL2 renderer to new API 2025-01-31 16:06:49 +13:00
Nic Barker
8133d36e65 braces around inits 2025-01-31 15:55:40 +13:00
Nic Barker
ed26b79098 swap out malloc.h for stdlib in demo 2025-01-31 15:51:10 +13:00
Nic Barker
33b150e515 Pedantic compiler errors 2025-01-31 15:45:18 +13:00
Nic Barker
595194741b Pedantic compiler updates 2025-01-31 15:30:28 +13:00
Nic Barker
c9d5e73be4 CPP declaration order 2025-01-31 15:17:34 +13:00
Nic Barker
d87c5e1658 Migrate official website to new API 2025-01-31 15:02:49 +13:00
Nic Barker
907662600b Remove cairo from github actions 2025-01-31 14:09:12 +13:00
Nic Barker
01e13714eb Fix passthrough of debug tools highlight 2025-01-31 14:06:17 +13:00
Nic Barker
f6ab2b5151 Fix PR comments 2025-01-31 14:04:54 +13:00
Nic Barker
bff5586eb2 Update Odin bindings to new API 2025-01-31 13:41:01 +13:00
Nic Barker
577946a3be Fix handling of corner radius in examples 2025-01-31 11:17:23 +13:00
Nic Barker
b58bdd1a1d initial SSE implementation of memcmp for x64 platforms 2025-01-31 10:05:32 +13:00
Nic Barker
85acb86dbc move corner radius into shared config 2025-01-31 09:54:23 +13:00
Nic Barker
ec746667ce Convert examples to use shared layout code 2025-01-30 19:39:39 +13:00
Nic Barker
591bf68e1e Add shared layouts to examples, improve hover and style overrides 2025-01-30 15:40:29 +13:00
Nic Barker
adcf45addb remove unused macros 2025-01-30 13:52:21 +13:00
Nic Barker
93d1418038 Fix debug view 2025-01-30 13:49:30 +13:00
Nic Barker
7cd48bd336 Convert internal memcmp to simd version 2025-01-30 12:11:43 +13:00
Nic Barker
dfc9db43bc initial attempt 2025-01-30 12:11:43 +13:00
Nic Barker
cc6dfccc7e update odin bindings and revert some accidental change
s
2025-01-30 12:11:42 +13:00
Nic Barker
3effdbbfd4 update generated wasm 2025-01-30 12:11:26 +13:00
Nic Barker
16ed00b184 Expose getter for max element counts 2025-01-30 12:11:06 +13:00
Nic Barker
7af2d128c9 Update for c99 compat 2025-01-30 12:11:06 +13:00
Harrison Lambeth
9d81c808f9 seems like this fully works 2025-01-30 12:11:06 +13:00
Harrison Lambeth
efad3deef8
Copy elementId in Clay__AddHashMapItem() in case underlying stringId has changed (#239)
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-01-30 10:20:14 +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
5fae7a6249 [Core] Compensate for OSes that don't return 64b aligned memory from malloc
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-01-29 21:16:24 +13:00
Nic Barker
1bcf256e4d
[Core] Replace generated arrays with macro declarations, align cache lines to 64 bytes (#235)
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-01-29 17:14:01 +13:00
Martin Evald
e9f2e6c4f1
[Renderers/SDL2] Don't take addresses of temporaries. (#232) 2025-01-29 13:09:41 +13:00
noflashbang
34f2dab9e8
Normalized usage of Clay__defaultMaxElementCount and Clay__defaultMaxMeasureTextWordCacheCount (#233) 2025-01-29 13:09:07 +13:00
Nic Barker
951d785deb [Documentation] Fix incorrect type information in README for CLAY_IDI
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-26 15:43:55 +13:00
Nic Barker
4612481d25 [Documentation] Fix some typos in the README example code 2025-01-26 15:35:30 +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
cb62db77e3 [Documentation] Combine quick start steps into a single code block in main README 2025-01-26 15:22:46 +13:00
Cory
ea6109bd0b
[CMake] Make Examples Optional in CMAKE (#216) 2025-01-26 15:05:45 +13:00
arnauNau
c0dac38c87
[Renderers/SDL3] Add borders and rounded borders functionality. (#220) 2025-01-26 14:39:34 +13:00
Timothy Hoyt
c3fcf6ce12
[Bindings/C++] Link and information for ClayMan, a C++ wrapper library for clay (#218)
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-24 20:51:00 +13:00
arnauNau
aba846a446
[Renderers/SDL3] Add rounded corners rectangle functionality (#219)
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-23 09:30:24 +13:00
Nic Barker
9d659e8abd [Examples/Raylib] Restore deleted font
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-21 21:28:38 +13:00
Nic Barker
ec2b3b35ff [Renderers/Raylib] Early return 0 rather than segfault when Raylib fonts fail to load 2025-01-21 21:26:57 +13:00
Nic Barker
5f7176cdcc Fix quick start in README to include error handler 2025-01-21 21:17:24 +13:00
Nic Barker
ebeef93c34 [Documentation] Include CLAY_ID_LOCAL in README.md 2025-01-21 21:11:49 +13:00
Nic Barker
9b2d585499 Update odin and wasm bindings 2025-01-21 19:14:22 +13:00
Nic Barker
81589ad29b [Core] Fix layout bug in SIZING_PERCENT 2025-01-21 19:11:33 +13:00