]>
_ Git - clay.git/log
Sam El-Borai [Tue, 6 May 2025 00:41:33 +0000 (02:41 +0200)]
[Documentation] Fix anchor to Clay_CustomElementConfig (#403)
Nic Barker [Tue, 6 May 2025 00:08:07 +0000 (12:08 +1200)]
[Documentation] Update README
João Matos [Mon, 5 May 2025 00:27:55 +0000 (01:27 +0100)]
[Debug] Update `Clay__RenderDebugLayoutSizing` to handle more sizing types. (#392)
David Delassus [Mon, 5 May 2025 00:27:41 +0000 (02:27 +0200)]
[Renderers/SDL3] Use `SDL_Texture` instead of `SDL_Surface` for images (#402)
Hayden Gray [Fri, 2 May 2025 04:02:40 +0000 (00:02 -0400)]
[Bindings/Odin] Updated odin bindings with new clip config (#397)
Great work, thanks for moving on this so quickly! 😁
Nic Barker [Thu, 1 May 2025 05:21:09 +0000 (17:21 +1200)]
[Core] Fix a bug with the implementation of clip .childOffset
Rats [Thu, 1 May 2025 02:31:05 +0000 (21:31 -0500)]
[Bindings/Odin] Odin Raylib renderer rewrite (#395)
Nic Barker [Thu, 1 May 2025 02:11:31 +0000 (14:11 +1200)]
[Core] Replace .scroll config with .clip (#376)
Nic Barker [Tue, 29 Apr 2025 00:42:33 +0000 (12:42 +1200)]
[Renderers/Raylib] Pin raylib version to 5.5
Nic Barker [Tue, 29 Apr 2025 00:31:54 +0000 (12:31 +1200)]
[Core] Correctly throw an error when using attach to element id with an invalid id
Nic Barker [Wed, 16 Apr 2025 08:16:05 +0000 (20:16 +1200)]
[Core] Fix a string hash bug with single characters (#384)
Jackson Novak [Wed, 16 Apr 2025 08:07:16 +0000 (03:07 -0500)]
[Documentation] Fix Clay_String definition in README.md file. (#374)
Tim Lügger [Mon, 14 Apr 2025 02:26:12 +0000 (04:26 +0200)]
[Renderers/Raylib] Fix raylib renderer border bottom left corner radius (#378)
Lily Nikitin [Mon, 14 Apr 2025 02:23:13 +0000 (19:23 -0700)]
[Renderers/Raylib] Add explicit type cast for malloc (#379)
Nic Barker [Fri, 11 Apr 2025 23:27:10 +0000 (11:27 +1200)]
[Core] Fix a potential null pointer deref in scroll GetScrollContainerData
Nathan Korth [Wed, 9 Apr 2025 01:40:22 +0000 (21:40 -0400)]
[Renderers/Sokol] Sokol renderer & examples (#373)
Philosoph228 [Tue, 8 Apr 2025 23:31:33 +0000 (04:31 +0500)]
[Renderers/WinGDI] Working on Win32 GDI renderer and example (#344)
Nic Barker [Fri, 4 Apr 2025 00:05:31 +0000 (13:05 +1300)]
[Core] Fix onHover reference not being reset for identical IDs between frames
Nic Barker [Thu, 3 Apr 2025 23:59:57 +0000 (12:59 +1300)]
[CMake] Revert change to CMakeLists because of OSX problems
Vitalii Rohozhyn [Mon, 31 Mar 2025 21:48:50 +0000 (23:48 +0200)]
[Cmake] basic CMake support for easier import into CMake projects (#345)
Nic Barker [Mon, 31 Mar 2025 21:43:11 +0000 (10:43 +1300)]
[Core] Remove unused variable in arm simd and inline rotate function'
Nic Barker [Mon, 31 Mar 2025 21:40:04 +0000 (10:40 +1300)]
[Core] Fix a bug with how element string ids were stored when using Clay_Hovered
Nic Barker [Mon, 31 Mar 2025 21:31:40 +0000 (10:31 +1300)]
[Renderers/Raylib] Fix FLAG_HIGHDPI causing window resize to break
Nic Barker [Thu, 27 Mar 2025 22:52:20 +0000 (11:52 +1300)]
[Compilers] Fix implicit typecast in simd hash function
Nic Barker [Thu, 27 Mar 2025 22:47:31 +0000 (11:47 +1300)]
[Core] Fix implicit simd typecast on arm architectures
Piggybank Studios [Wed, 26 Mar 2025 21:14:17 +0000 (14:14 -0700)]
[Core] Fix CLAY__ELEMENT_DEFINITION_LATCH overflow in CLAY macro if 256 loops end at the same time
Nic Barker [Tue, 25 Mar 2025 20:34:51 +0000 (09:34 +1300)]
[Core] Fix a bug where ID aliases werent copied on hash collision
ellie-but-backwards [Tue, 25 Mar 2025 20:21:35 +0000 (21:21 +0100)]
[Bindings/Odin] Remove field hashStringContents in odin bindings (#350)
Igor Karatayev [Tue, 25 Mar 2025 20:19:50 +0000 (23:19 +0300)]
[Core] Guard against hashmap item null dereference (#338)
Nic Barker [Mon, 24 Mar 2025 21:13:04 +0000 (10:13 +1300)]
[Core] Switch text content hashing to default behaviour (#335)
Nic Barker [Thu, 20 Mar 2025 21:49:42 +0000 (10:49 +1300)]
[Core] Apply minimum width for single words and fix some minimum sizing bugs
Leo Zurbriggen [Thu, 20 Mar 2025 20:25:50 +0000 (21:25 +0100)]
[Bindings/Odin] expose _OpenElement and _CloseElement (#301)
Nic Barker [Mon, 17 Mar 2025 22:20:51 +0000 (11:20 +1300)]
[Compilers] Add a dummy function to suppress unused variable warning in GCC
Nic Barker [Mon, 17 Mar 2025 22:13:46 +0000 (11:13 +1300)]
[Renderers/SDL2] Added explicit include of math.h in SDL2 renderer
Nic Barker [Mon, 17 Mar 2025 22:12:21 +0000 (11:12 +1300)]
[Housekeeping] Revert previous commit to allow proper PR attribution
Nic Barker [Mon, 17 Mar 2025 22:10:53 +0000 (11:10 +1300)]
[Renderers/SDL2] Added explicit include of math.h in SDL2 renderer
Nic Barker [Mon, 17 Mar 2025 22:05:06 +0000 (11:05 +1300)]
[Core] Fix a bug where floating elements could be clipped incorrectly
Emerald-Ruby [Sat, 15 Mar 2025 21:51:36 +0000 (21:51 +0000)]
math.h include missing cause lots of warning logs
Nic Barker [Wed, 12 Mar 2025 20:52:16 +0000 (09:52 +1300)]
[Renderers/SDL2] Fix rounded corner border index
Nic Barker [Wed, 12 Mar 2025 20:51:44 +0000 (09:51 +1300)]
[Renderers/Raylib] Reuse memory in raylib renderer for temporary string allocations
Nic Barker [Wed, 12 Mar 2025 20:40:31 +0000 (09:40 +1300)]
[Compilers] Fix integer truncation warnings with explicit casts
Nic Barker [Wed, 12 Mar 2025 20:27:44 +0000 (09:27 +1300)]
[Renderers/win32_gdi] Create initial WinGDI renderer
Nic Barker [Wed, 12 Mar 2025 20:21:09 +0000 (09:21 +1300)]
Update README
Nic Barker [Wed, 12 Mar 2025 20:08:20 +0000 (09:08 +1300)]
[Bindings/Odin] Add support for local ids to odin bindings
Nic Barker [Wed, 12 Mar 2025 20:02:17 +0000 (09:02 +1300)]
[Bindings/Odin] Fix bad data type in odin bindings for floating config
Nic Barker [Mon, 10 Mar 2025 21:29:34 +0000 (10:29 +1300)]
Merge pull request #320 from shakkar23/patch-1
[Renderers/SDL2] Enable live resizing of layout during window resize in SDL2
Nic Barker [Mon, 10 Mar 2025 20:50:28 +0000 (09:50 +1300)]
Merge pull request #300 from joshuahhh/patch-1
[Documentation] Update README.md: it's gotten bigger
Nic Barker [Mon, 10 Mar 2025 20:39:40 +0000 (09:39 +1300)]
Merge pull request #319 from emoon/pass-declaration-by-pointer
Support passing declaration by pointer as well
hailey [Mon, 10 Mar 2025 15:29:55 +0000 (10:29 -0500)]
Updated rectangle border rendering
hailey [Mon, 10 Mar 2025 14:33:12 +0000 (09:33 -0500)]
[Renderers/Win32_GDI] first pass, fixed build errors and added build script
__hexmaster111 [Mon, 10 Mar 2025 14:23:36 +0000 (09:23 -0500)]
Added win32 samples (first pass)
__hexmaster111 [Mon, 10 Mar 2025 14:12:52 +0000 (09:12 -0500)]
Merge branch 'nicbarker:main' into main
Nic Barker [Mon, 10 Mar 2025 01:39:14 +0000 (14:39 +1300)]
[Documentation] Update internal version number to 0.13 in clay.h
Jesus Coca [Sun, 9 Mar 2025 01:37:02 +0000 (17:37 -0800)]
add resizing while the window is being resized
Daniel Collin [Sat, 8 Mar 2025 21:28:09 +0000 (22:28 +0100)]
[Compilers] Fixed SIMD related compile error on some ARM compilers (#316)
Daniel Collin [Sat, 8 Mar 2025 14:17:36 +0000 (15:17 +0100)]
Support passing declaration by pointer as well
Johann Muszynski [Sat, 8 Mar 2025 12:53:30 +0000 (14:53 +0200)]
Fix integer truncation warnings with explicit casts
Nic Barker [Fri, 7 Mar 2025 22:08:04 +0000 (11:08 +1300)]
[Bindings/Odin] Update odin bindings for text config userdata pointer
Michael Savage [Fri, 7 Mar 2025 22:01:26 +0000 (00:01 +0200)]
[Core] Add a userData pointer to Clay_TextElementConfig (#274)
Ethan McCue [Fri, 7 Mar 2025 08:45:27 +0000 (03:45 -0500)]
[Documentation] Fix typo (#315)
Nic Barker [Wed, 5 Mar 2025 02:10:51 +0000 (15:10 +1300)]
[Bindings/Odin] Recompile odin bindings with -O3
Rico P [Tue, 4 Mar 2025 21:14:37 +0000 (22:14 +0100)]
[Documentation] fix example in README (#307)
__hexmaster111 [Tue, 4 Mar 2025 21:13:42 +0000 (15:13 -0600)]
Updated measure text to support the defualt raylib font if the user spesfied font failed to load. (#305)
Laytan [Tue, 4 Mar 2025 20:49:53 +0000 (21:49 +0100)]
[Bindings/Odin] fix CreateArenaWithCapacityAndMemory capacity type (#306)
__hexmaster111 [Tue, 4 Mar 2025 11:57:30 +0000 (05:57 -0600)]
Update main.c
__hexmaster111 [Tue, 4 Mar 2025 11:56:20 +0000 (05:56 -0600)]
Update main.c
__hexmaster111 [Tue, 4 Mar 2025 11:55:30 +0000 (05:55 -0600)]
updated examples to call close
Joshua Horowitz [Tue, 4 Mar 2025 05:38:25 +0000 (21:38 -0800)]
Update README.md: it's gotten bigger
__hexmaster111 [Mon, 3 Mar 2025 22:08:34 +0000 (16:08 -0600)]
Added missing CloseWindow() call for raylib as well
__hexmaster111 [Mon, 3 Mar 2025 22:04:07 +0000 (16:04 -0600)]
[Raylib Render] Dont call malloc and Free every frame so much
Nic Barker [Mon, 3 Mar 2025 21:56:38 +0000 (10:56 +1300)]
[Core] Improve & streamline grow / shrink handling (#296)
FintasticMan [Mon, 3 Mar 2025 21:30:53 +0000 (22:30 +0100)]
[Macros] Add versions of the CLAY_ID macros that take Clay_String (#285)
mizmar [Mon, 3 Mar 2025 17:36:04 +0000 (18:36 +0100)]
[Renderers/SDL2] Fix rounded corner border index
Nic Barker [Sun, 2 Mar 2025 22:36:12 +0000 (11:36 +1300)]
[Core] Convert capacity from uint32_t to size_t in Clay_CreateArenaWithCapacityAndMemory
Joram Vandemoortele [Wed, 26 Feb 2025 02:37:51 +0000 (03:37 +0100)]
[Compilers] Added DLL macro to support .dll building (#278)
Nic Barker [Mon, 24 Feb 2025 19:54:20 +0000 (08:54 +1300)]
[Core] Fix bug where hover state didnt take clip rectangles into account
Benjamin Block [Sun, 23 Feb 2025 19:52:41 +0000 (14:52 -0500)]
[Documentation] Update `README.md` for Odin bindings to reflect the latest API changes. (#281)
mizmar [Wed, 19 Feb 2025 20:22:35 +0000 (21:22 +0100)]
[Core] Fix inverted condition for setting booleanWarnings.maxTextMeasureCacheExceeded (#275)
Alex Pedley [Wed, 19 Feb 2025 20:21:14 +0000 (20:21 +0000)]
[Core] Make fakeContext use correct value from currentContext (#269)
Nic Barker [Mon, 17 Feb 2025 20:36:59 +0000 (09:36 +1300)]
[Core] Fix a bug where floating elements would be incorrectly configured
Laytan [Mon, 17 Feb 2025 20:16:31 +0000 (21:16 +0100)]
[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>
Timothy Hoyt [Sun, 16 Feb 2025 20:15:58 +0000 (14:15 -0600)]
[Renderers/SDL2] Opengl, antialiasing, vsync, alpha blending (#264)
Nic Barker [Sun, 16 Feb 2025 20:11:45 +0000 (09:11 +1300)]
[Documentation] Update README.md to include docs on Clay_GetElementData()
Thomas Anderson [Sun, 16 Feb 2025 19:56:26 +0000 (13:56 -0600)]
[Renderers/Raylib] Convert Image usage to Texture (#266)
Timothy Hoyt [Sun, 16 Feb 2025 19:49:05 +0000 (13:49 -0600)]
[Renderers/SDL2] Make SDL_RenderCornerBorder static (#263)
irfan-zahir [Sun, 16 Feb 2025 19:48:19 +0000 (03:48 +0800)]
[Renderers/SDL3] Enable sdl3 alpha blending (#261)
Nic Barker [Thu, 13 Feb 2025 21:17:29 +0000 (10:17 +1300)]
[Github] Create FUNDING.yml
Timothy Hoyt [Thu, 13 Feb 2025 21:14:11 +0000 (15:14 -0600)]
[Renderers/SDL2] Added rounded corner borders and fixed other issues (#258)
Nic Barker [Thu, 13 Feb 2025 21:05:16 +0000 (10:05 +1300)]
[Core] Fix aspect ratio scaling of images when only one sizing axis was specified
tomat [Wed, 12 Feb 2025 21:02:06 +0000 (21:02 +0000)]
[Renderers/SDL3] Add image rendering and scissor support to SDL3 renderer (#246)
Julio Ernesto Rodríguez Cabañas [Wed, 12 Feb 2025 20:19:36 +0000 (20:19 +0000)]
[Renderers/SDL3] Use text engine to render text on the SDL3 renderer (#256)
Nic Barker [Wed, 12 Feb 2025 00:09:29 +0000 (13:09 +1300)]
[Examples/clay-official-website] Update compiled wasm for official website example
Nic Barker [Wed, 12 Feb 2025 00:08:46 +0000 (13:08 +1300)]
[Examples/clay-official-website] Switch default renderer back to HTML for official website example
Nic Barker [Wed, 12 Feb 2025 00:07:05 +0000 (13:07 +1300)]
[Bindings/Odin] Update odin bindings to include debug tools changes
Nic Barker [Wed, 12 Feb 2025 00:05:48 +0000 (13:05 +1300)]
[Core] Update debug tools to include text alignment
Nic Barker [Tue, 11 Feb 2025 23:02:57 +0000 (12:02 +1300)]
[Documentation] Fix documentation mistake for border configuration
Nic Barker [Tue, 11 Feb 2025 22:59:50 +0000 (11:59 +1300)]
[Documentation] Update README with better documentation of Clay_ElementDeclaration
Nic Barker [Tue, 11 Feb 2025 21:43:32 +0000 (10:43 +1300)]
[Core] Add .textAlignment field to text element config
Nic Barker [Tue, 11 Feb 2025 20:12:11 +0000 (09:12 +1300)]
[Compilers] Fix missing initializer warnings under -Wextra
Nic Barker [Tue, 11 Feb 2025 04:11:03 +0000 (17:11 +1300)]
[Core & Documentation] Cleanup public / private API and internal document public API via comments