Commit Graph

196 Commits

Author SHA1 Message Date
Alec Murphy 704c3962f5 System/Libraries/Graphics2D: Fix some line-drawing inaccuracies 2025-04-30 08:07:36 -04:00
Alec Murphy a23a5ae844 System/Libraries/Graphics2D: y lower-bounds-check on HLine2D 2025-04-29 15:14:45 -04:00
Alec Murphy 120c68d305 System/Libraries/Html/Renderer: Don't modify width,height of background
This should be done by the host application's window resize callback.
2025-04-29 14:17:32 -04:00
Alec Murphy 0cb9d96b15 System/Libraries/Html/Renderer: Use RectWidget for background_widget 2025-04-29 11:31:11 -04:00
Alec Murphy b55f58ebed System/Libraries/Html/Renderer: Use BorderedRectWidget for block_widget instead of Context2DWidget 2025-04-29 11:04:31 -04:00
Alec Murphy cfb8950f8a System/Libraries/Widget: Add RectWidget, BorderedRectWidget 2025-04-29 10:26:38 -04:00
Alec Murphy f3acdca538 System/Libraries/Graphics2D: NULL check for HLine2D 2025-04-29 08:52:45 -04:00
Alec Murphy 76db21a118 System/Libraries/Graphics2D: Zero-alloc Rect2D 2025-04-29 01:37:23 -04:00
Alec Murphy 1cc118da6f System/Libraries/Graphics2D: Bounds check for HLine2D 2025-04-29 01:36:38 -04:00
Alec Murphy 108c1994b2 System/Libraries/Graphics2D: Revert HLine2D changes in e04b8e6 2025-04-29 01:29:13 -04:00
Alec Murphy 9cf917cb8c System/Libraries/Html/Renderer: Slight refactor @render_node_list 2025-04-28 12:40:02 -04:00
Alec Murphy ef803c3d1e System/Libraries/Html/Renderer: Add @create_bordered_rect_from_resolved_node 2025-04-28 12:30:54 -04:00
Alec Murphy 08e7e0bac0 System/Libraries/Graphics2D: Remove min w/h on Rect2D 2025-04-28 11:43:12 -04:00
Alec Murphy d993ffdd66 System/Libraries/Html/Renderer: Apply CSS border values to node 2025-04-27 18:33:56 -04:00
Alec Murphy 37421e69dc System/Libraries/Css/Tokenizer: Add CSS_BORDER properties 2025-04-27 17:42:16 -04:00
Alec Murphy 75a11896ae System/Libraries/Html/Renderer: Refactor grouped margin/padding into separate functions from @apply_css_properties_to_node 2025-04-27 17:37:21 -04:00
Alec Murphy 61fd349325 System/Libraries/Html/Renderer: Apply CSS distance values to node->margin, node->padding 2025-04-27 15:28:31 -04:00
Alec Murphy 2b0704ab79 System/Libraries/Html/Tokenizer: Change border from @css_area to @css_border 2025-04-27 14:31:54 -04:00
Alec Murphy 44c77212b8 System/Libraries/Css/Tokenizer: Add @css_border, @css_radius 2025-04-27 14:31:17 -04:00
Alec Murphy a74a7bfa98 System/Libraries/Html/Tokenizer: Add CSS margin, border, padding to @html_dom_node 2025-04-27 13:53:57 -04:00
Alec Murphy 066b22de28 System/Libraries/Css/Tokenizer: Add @css_side, @css_area 2025-04-27 13:53:10 -04:00
Alec Murphy e95911da46 System/Libraries/Html/Renderer: Refactor @render_node_list 2025-04-27 13:39:27 -04:00
Alec Murphy 70ee3cc99a System/Libraries/Json: Consolidate CAlloc/Free requests for @json_callable_array and @json_callable_object 2025-04-27 06:20:21 -04:00
Alec Murphy a75b69face System/Libraries/Graphics2D: Consolidate CAlloc/Free requests for @callable_context2d 2025-04-27 06:08:44 -04:00
Alec Murphy 80f599a19a System/Libraries/Html/Renderer: Apply CSS distance types other than pixels to node width/height 2025-04-26 18:57:51 -04:00
Alec Murphy 49cb267474 System/Libraries/Html/Tokenizer: Add width/height DistanceType to @html_dom_node 2025-04-26 18:56:30 -04:00
Alec Murphy 6d384f81cd System/Libraries/Css/Tokenizer: Oopsie woopsie 2025-04-26 18:39:49 -04:00
Alec Murphy dad03ba4eb System/Libraries/CSs/Tokenizer: Define CSS_DISTANCE types 2025-04-26 18:18:20 -04:00
Alec Murphy e35d9978bb System/Libraries/Html/Renderer: Set initial CSS value for node width/height to undefined (-1) 2025-04-26 17:32:53 -04:00
Alec Murphy ee2114876a System/Libraries/Html/Renderer: Move some element defaults to Default.css 2025-04-26 10:50:49 -04:00
Alec Murphy 4d688e70dc System/Libraries/Html/Renderer: Allow :link pseudo-class to override text-decoration-color 2025-04-26 10:47:36 -04:00
Alec Murphy 9d9fb80aa9 System/Libraries/Html/Renderer: Set node->display and debugging values earlier 2025-04-26 10:31:11 -04:00
Alec Murphy c486e4cb02 System/Libraries/Html/Renderer: Temporary hack for link styles until we implement pseudo-classes 2025-04-25 14:37:47 -04:00
Alec Murphy 500cc4d913 Meta: Add more CSS debugging info 2025-04-25 14:34:28 -04:00
Alec Murphy 91f8fd3fad System/Libraries/Css/Tokenizer: Bugfix for descendant combinators 2025-04-25 09:59:33 -04:00
Alec Murphy dc14bc4dd8 System/Setup/Util: Add FifoU8Last() 2025-04-25 09:58:18 -04:00
Alec Murphy 8bad367d08 System/Libraries/Html/Renderer: Parse rgb,rgba color tuples 2025-04-24 21:09:30 -04:00
Alec Murphy 0d2b51cc39 System/Libraries/Css/Tokenizer: Handle parentheses 2025-04-24 20:04:56 -04:00
Alec Murphy 3bf6238aac System/Libraries/Html/Renderer: A whole bunch of CSS changes
We now handle simple and compound selectors, but not yet pseudo-classes
or (most) combinators.
2025-04-24 15:17:15 -04:00
Alec Murphy fc2b4ba4e5 Everywhere: Live patch MAlloc/Free to use RMAlloc/RFree
To make MAlloc/Free operations consistent across multiple processors, we
use a dedicated task on core 5 to service the requests.
2025-04-24 15:11:46 -04:00
Alec Murphy 04a602bb3b Meta: Update debugging stuff 2025-04-23 10:27:21 -04:00
Alec Murphy d9b835cea3 System/Libraries/Html/Renderer: Handle font-size pt values 2025-04-23 10:25:57 -04:00
Alec Murphy ae408a4679 System/Libraries/Css/Tokenizer: Allow descendant combinator in matches 2025-04-23 10:07:19 -04:00
Alec Murphy 652396a18c System/Libraries/Html/Renderer: Apply CSS display rules in order 2025-04-23 09:22:38 -04:00
Alec Murphy 453d6f35a5 System/Libraries/Css+Html: Handle text-align: left 2025-04-22 15:45:39 -04:00
Alec Murphy 1cf0007b0b System/Libraries/Css+Html: Handle display: inline-block 2025-04-22 15:34:17 -04:00
Alec Murphy d8fe2f0899 System/Libraries/Graphics2D+Widget: Use CAlloc2() 2025-04-21 19:49:25 -04:00
Alec Murphy 1b5635962f System/Core: Use CAlloc2() 2025-04-21 19:48:33 -04:00
Alec Murphy 9d774cfc23 System/Setup/Environment: Add CAlloc2(), MAlloc2() 2025-04-21 19:45:51 -04:00
Alec Murphy e04b8e6fb4 System/Libraries/Graphics2D: Use Plot2D() for HLine2D() 2025-04-21 09:53:02 -04:00