Commit Graph

360 Commits

Author SHA1 Message Date
ed 49a4e117a2 Got "Line LODs" working for the whitespace AST test, first step toward hboxes
Yet another issue with memory persists (seems to be related to slab free)
2024-03-15 00:02:28 -04:00
ed ee8b68ac3e Fixed text auto-layout 2024-03-14 10:11:04 -04:00
ed cf7660e385 first 'full' layout draft impl done.
found a memory bug...
2024-03-14 02:02:09 -04:00
ed 180c296556 Updates and fixes to memory 2024-03-14 00:00:44 -04:00
ed 2f574ef760 Updates to scripts 2024-03-14 00:00:29 -04:00
ed 0627794e28 saving a mess of stuff with auto-layout before updating with new mess 2024-03-14 00:00:22 -04:00
ed 159aedb592 Memory fixes, progress towards anchors support in the UI auto-layout
Also support for margins
2024-03-12 20:55:29 -04:00
ed d2daa686d4 Script updates 2024-03-12 02:32:46 -04:00
ed 9efd752180 Updates to odina ols repos 2024-03-12 02:32:37 -04:00
ed b4c6fd1866 More fixes & performance improvements
Still havent figured out the realloc issue with virtual arenas... But the fixes the slab perforamnce mitigate it at least.
2024-03-12 02:32:16 -04:00
ed 8b8c4948ad Added screeenspace culling for ui boxes 2024-03-11 02:05:30 -04:00
ed 1656dffb67 Setup spall profiling, did first optimizations! 2024-03-11 02:05:18 -04:00
ed 304e710c16 It works but there is a memory issue... (parsing in tick update) 2024-03-10 20:09:04 -04:00
ed c80254adbc Got whitespace parser working + widget generation for basic case! 2024-03-10 10:31:21 -04:00
ed 197dd82e78 update odin repo 2024-03-09 14:53:51 -05:00
ed 7b69723f35 Made the ui_resize_border_width percent based instead of pixel based. 2024-03-09 14:24:02 -05:00
ed 4a53a158e0 Lefted text box test to its own widget proc, fixed overlapping widget interaction! 2024-03-09 13:55:47 -05:00
ed 635ce91a9d First text box!!! 2024-03-09 10:21:48 -05:00
ed f1edf1c43e Added basic string interning 2024-03-08 23:20:49 -05:00
ed c395cbaeb6 Some cleanup
need todo string interning next....
2024-03-08 19:51:46 -05:00
ed cb58f4faef Improvements to UI signal 2024-03-08 18:45:27 -05:00
ed 4b026c379a Started to do manual control of the frame timing (no longer using raylib) 2024-03-08 18:45:08 -05:00
ed 191d5076ea Dragging! & basic proportional box resize frm cursor distance to box pos
Still need to add resize via 'pulling' to stretch the box out from a side or 2 sides diagonally.

Also some general clenaup of code
2024-03-08 03:34:21 -05:00
ed 90478bec94 Added ols to thirdparty ( just keeping own copy for the repo ) 2024-03-07 23:08:43 -05:00
ed a5208f2be2 Slab allocator works! 2024-03-07 19:15:54 -05:00
ed aa47f0ead0 Slab allocator compiler bug fixes 2024-03-07 18:29:49 -05:00
ed f17aead3ea Comment cleanup 2024-03-07 17:58:28 -05:00
ed 568e8043bb removing no longer used code from env 2024-03-07 17:57:58 -05:00
ed 06a040d056 Removing commetns from grime 2024-03-07 17:57:36 -05:00
ed 0afb4c3197 rename parser_code to parser_code_agnostic 2024-03-07 17:57:10 -05:00
ed f2237e7211 Started to overhaul memory setup + runtime fixes 2024-03-07 15:57:17 -05:00
ed 6836459a1d Completed first draft of slab allocator 2024-03-07 03:10:21 -05:00
ed d63c58008e Completed first draft iteration of grime_pool_allocator 2024-03-06 22:41:36 -05:00
ed c71ed67d6a minor fromatting changes 2024-03-06 22:41:17 -05:00
ed 1f2f0c66d8 Added impl for singly-linked lists 2024-03-06 22:41:01 -05:00
ed 6e52a79ca2 Compile fix for grime_arena 2024-03-06 22:40:45 -05:00
ed d92e4e1c7c Rolled my own virtual arena allocator
Much more straight forward and setup for my specific use case
2024-03-06 16:47:40 -05:00
ed 8eef63e84f Minor unicode file changes 2024-03-06 16:47:00 -05:00
ed 64229e6ca5 Updates to zpl hash map description 2024-03-06 16:46:33 -05:00
ed 9229358a16 Updates to general memory defs 2024-03-06 16:46:23 -05:00
ed aa9ce39224 Typo in grime_stack file 2024-03-06 16:45:50 -05:00
ed 3ab6bb8616 Rolled my own virtual memory baseline interface
Mostly use the core library's functionality but wanted a nicer wrap for my use case
2024-03-06 16:45:12 -05:00
ed 0656a41cf7 Move context_ext to its own file
Will be adding context related features here in the future
2024-03-06 16:44:38 -05:00
ed 59ad47162d Update font_provider with raylib changes 2024-03-06 16:44:01 -05:00
ed f1da2f7ded Update odin repo again 2024-03-06 16:43:45 -05:00
ed be5d55b2ad Updated odin repo 2024-03-06 16:41:07 -05:00
ed 3c8abc5333 Start to setup the other allocators I'm going to roll my own of, also created a string interning file 2024-03-05 10:41:42 -05:00
ed 898f359470 Removed box serialial unmarshaling def 2024-03-05 10:41:11 -05:00
ed eb66f5c70d Beginning setup of the code agnostic parser 2024-03-05 10:40:42 -05:00
ed 43a1c20d73 General refactors to various files
* Moved all mapped procedure overloads to grime.odin
* Removed extraneous entity_box related procedures
* Major refactor to grime_array its header is now allocated as part of its initialization
*
2024-03-05 10:40:28 -05:00