Taylor Robbins (Piggybank Studios)
|
08d4a22121
|
Fixed a bug in the CLAY macro that would cause an infinite loop if 256 for loops ended at the same time (i.e. without another for loop starting). This was caused by the CLAY__ELEMENT_DEFINITION_LATCH static uint8_t overflowing to 0 when incremented in the post-loop step which causes the loop to wrongfully run a second time
|
2025-03-24 18:42:15 -07:00 |
|
Nic Barker
|
02bce89d17
|
[Core] Improve & streamline grow / shrink handling (#296)
|
2025-03-04 10:56:38 +13:00 |
|
FintasticMan
|
b5b086af13
|
[Macros] Add versions of the CLAY_ID macros that take Clay_String (#285)
|
2025-03-04 10:30:53 +13:00 |
|
Nic Barker
|
5571c00a21
|
[Core] Convert capacity from uint32_t to size_t in Clay_CreateArenaWithCapacityAndMemory
|
2025-03-03 11:36:12 +13:00 |
|
Joram Vandemoortele
|
4ee501019c
|
[Compilers] Added DLL macro to support .dll building (#278)
|
2025-02-26 15:37:51 +13:00 |
|
Nic Barker
|
1fa8684e47
|
[Core] Fix bug where hover state didnt take clip rectangles into account
|
2025-02-25 08:55:14 +13:00 |
|
mizmar
|
766325c395
|
[Core] Fix inverted condition for setting booleanWarnings.maxTextMeasureCacheExceeded (#275)
|
2025-02-20 09:22:35 +13:00 |
|
Alex Pedley
|
5afdf3f8c9
|
[Core] Make fakeContext use correct value from currentContext (#269)
|
2025-02-20 09:21:14 +13:00 |
|
Nic Barker
|
a60b977946
|
[Core] Fix a bug where floating elements would be incorrectly configured
|
2025-02-18 09:41:06 +13:00 |
|
Nic Barker
|
d9e02ab1d3
|
[Core] Fix aspect ratio scaling of images when only one sizing axis was specified
|
2025-02-14 10:05:16 +13:00 |
|
Nic Barker
|
e35bba079e
|
[Core] Update debug tools to include text alignment
|
2025-02-12 13:05:48 +13:00 |
|
Nic Barker
|
82ca328ae2
|
[Core] Add .textAlignment field to text element config
|
2025-02-12 10:43:32 +13:00 |
|
Nic Barker
|
72af2a4020
|
[Compilers] Fix missing initializer warnings under -Wextra
|
2025-02-12 09:12:11 +13:00 |
|
Nic Barker
|
3961720ef0
|
[Core & Documentation] Cleanup public / private API and internal document public API via comments
|
2025-02-11 17:11:03 +13:00 |
|
Nic Barker
|
dd1f018444
|
[Documentation] Add inline documentation comments for subfields of Clay_ElementDeclaration
|
2025-02-11 14:14:55 +13:00 |
|
Harrison Lambeth
|
3030390038
|
Define CLAY_IMPLEMENTATION in Jetbrains IDE (#236)
|
2025-02-11 10:11:42 +13:00 |
|
Nic Barker
|
92582f66d8
|
[DebugTools] Fix a bug with display of border widths in debug tools
|
2025-02-11 10:11:15 +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 |
|
FelixBreitweiser
|
fd76ce62f3
|
[Core] Check whether the maximum number of elements has been exceeded before rendering the debug view (#255)
|
2025-02-11 09:35:51 +13:00 |
|
Nic Barker
|
76c8e1f115
|
[Examples/clay-official-website] Update web renderer example to latest API
|
2025-02-10 16:53:21 +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
|
e97031f234
|
fix mistake in x64 simd comparison
|
2025-02-07 09:56:05 +13:00 |
|
johan0A
|
7a84facec9
|
add CLAY_DISABLE_SIMD flag to conditionally disable SIMD includes (#251)
|
2025-02-07 09:41:38 +13:00 |
|
Nic Barker
|
bd2ce4b833
|
[Core] Update debug view for new non rectangle API
|
2025-02-07 09:34:48 +13:00 |
|
Nic Barker
|
b9c5f8e47f
|
[Core] Fixed a bug where userdata wasn't getting correctly passed through for image render commands
|
2025-02-06 10:06:10 +13:00 |
|
Nic Barker
|
95fcd85a2a
|
[Core] Fixed a bug where Clay_Hovered didn't work with explicit IDs
|
2025-02-06 09:54:07 +13:00 |
|
Nic Barker
|
9d940c1f8e
|
[Core] Replace config macros with a single unified configuration struct (#240)
|
2025-02-04 17:00:19 +13:00 |
|
Harrison Lambeth
|
40ae6d8894
|
Fix int conversion errors in msvc (#242)
|
2025-01-30 15:46:37 +13:00 |
|
Harrison Lambeth
|
efad3deef8
|
Copy elementId in Clay__AddHashMapItem() in case underlying stringId has changed (#239)
|
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
|
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)
|
2025-01-29 17:14:01 +13:00 |
|
noflashbang
|
34f2dab9e8
|
Normalized usage of Clay__defaultMaxElementCount and Clay__defaultMaxMeasureTextWordCacheCount (#233)
|
2025-01-29 13:09:07 +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
|
81589ad29b
|
[Core] Fix layout bug in SIZING_PERCENT
|
2025-01-21 19:11:33 +13:00 |
|
Nic Barker
|
326325ffaf
|
[Core] Convert measureText pointer to value string slice (#214)
|
2025-01-20 11:27:22 +13:00 |
|
Daniel Collin
|
e8025cc254
|
SetMesureText and SetQueryScrollOffset takes userData (#212)
|
2025-01-20 10:59:02 +13:00 |
|
Nic Barker
|
a093730da2
|
[Core] Fix a segfault if debug tools were enabled without a measure text function
|
2025-01-16 09:14:57 +13:00 |
|
Michael Savage
|
cd82ce6fcf
|
[Core] Don't divide zero by zero (#200)
Co-authored-by: Nic Barker <contact+github@nicbarker.com>
|
2025-01-15 10:06:22 +13:00 |
|
Nic Barker
|
814c9392c6
|
[Core] Add API to query element bounding boxes (#199)
Co-authored-by: hexmaster111 <hailey@not-an-email-address.fake>
|
2025-01-14 22:09:06 +13:00 |
|
Nic Barker
|
338852b3ce
|
Fix a bug with the new padding
|
2025-01-14 14:26:30 +13:00 |
|
Nic Barker
|
f1d8a53a32
|
[Core] [Breaking] Split padding values into left, right, top, bottom (#195)
|
2025-01-14 10:38:02 +13:00 |
|
Harrison Lambeth
|
afba9f0de6
|
Add a function to reset text measurement cache (#181)
|
2025-01-13 19:26:46 +13:00 |
|
Nic Barker
|
3a4455aa83
|
Fix text wrapping handling with explicit newline characters (#192)
Co-authored-by: Ryzee119 <wendland@live.com.au>
|
2025-01-13 19:23:28 +13:00 |
|
Nic Barker
|
208c7cb3a0
|
Fix incorrect border between children after 2nd element
|
2025-01-12 19:16:09 +13:00 |
|
Nic Barker
|
c2c445e455
|
Fix broken ifdef on MSVC
|
2025-01-12 10:49:00 +13:00 |
|
Nic Barker
|
9e7595b873
|
Fixed a bug where minMemorySize could cause a memory overwrite
|
2025-01-11 21:37:21 +13:00 |
|
Nic Barker
|
32d1a31dfe
|
Fix uint64 usage for wasm
|
2025-01-11 21:35:45 +13:00 |
|
Nic Barker
|
b2b50724e2
|
Fix bug in html renderer debug tools
|
2025-01-11 20:45:20 +13:00 |
|
Nic Barker
|
d81c9e1de5
|
fix C++ compile issues
|
2025-01-11 14:21:47 +13:00 |
|