Alec Murphy
bef1c78c5d
System/Utilities/TrueType: Change pointer type to I32* for @stbtt_RenderText()
2025-04-12 18:04:40 -04:00
Alec Murphy
b01e1171a3
System/Core/Compositor: Set defaults for TrueType font categories
2025-04-12 16:23:51 -04:00
Alec Murphy
6b09ccabb6
System/Libraries/Html: Add fontFamily attribute to @html_dom_node
2025-04-11 20:11:25 -04:00
Alec Murphy
8143d59620
System/Libraries/Css/Tokenizer: Split values on comma
2025-04-11 20:10:52 -04:00
Alec Murphy
6a394f8a86
Applications/Internet/Cyberia: Set default colors for root node
...
Until we have a default style sheet implemented, set the default colors
to black text on white background for the root node, so that we don't
end up with unreadable black bars everywhere.
2025-04-11 17:23:01 -04:00
Alec Murphy
603e1d15ab
System/Libraries/Html/Renderer: Apply bgcolor/color element attribute values to CSS
2025-04-11 17:22:29 -04:00
Alec Murphy
17910faac2
System/Libraries/Html/Renderer: Match rules in accordance with CSS Specificity
2025-04-11 16:58:48 -04:00
Alec Murphy
3e8d126fbe
System/Libraries/Html/Renderer: Add NULL check to @reflow_node_list()
2025-04-10 19:48:11 -04:00
Alec Murphy
61c287f446
Applications/Internet/Cyberia: Echo window mouse wheel events
...
Now, we can (kind of) scroll the page from anywhere in the viewport :^)
2025-04-10 19:37:23 -04:00
Alec Murphy
7878e28027
Applications/Internet/Cyberia: Fully resolve URLs in redirect
2025-04-10 15:41:02 -04:00
Alec Murphy
e3c7350a96
Applications/Internet/Cyberia: Familiarize address bar onclick behavior
...
We match the following address bar behavior from Chrome and Firefox:
- When the address bar is clicked, select all text on mouse up if no
selection currently exists.
- On address bar blur, clear the selection.
2025-04-10 15:11:40 -04:00
Alec Murphy
c45b862b2b
System/Libraries/Html/Renderer: Render INPUT type=checkbox
2025-04-10 14:49:35 -04:00
Alec Murphy
4992c222d7
System/Libraries/Html/Renderer: Render INPUT type=password
2025-04-10 11:41:13 -04:00
Alec Murphy
42e4f89b8b
System/Libraries/Html/Renderer: Render INPUT type=text
2025-04-10 11:35:43 -04:00
Alec Murphy
5fb71f80ca
System/Libraries/Widget: Eager repaint on widget->SetText() unless otherwise specified
2025-04-10 10:58:30 -04:00
Alec Murphy
d3048f31e5
Applications/Internet/Cyberia: Add web browser
...
This is the initial commit of the Cyberia web browser, Html and Css
libraries.
2025-04-10 10:51:59 -04:00
Alec Murphy
3545113247
System/Libraries/Gui: Add data attribute to Widget class
2025-04-10 10:47:37 -04:00
Alec Murphy
86190d4576
System/Core/Compositor: Hold F12 to display debug info
2025-04-10 10:08:38 -04:00
Alec Murphy
3e85af48d6
Meta: Cleanup removed files
2025-04-10 10:05:54 -04:00
Alec Murphy
96226e6211
System/Libraries/Ipc: Add msg->timestamp to IpcMessage class
2025-04-10 08:37:57 -04:00
Alec Murphy
4fa0873123
Include/Gui: Set GUI_EVENT_WIN_REPAINT_TIMEOUT to 100ms
...
If an Ipc Message that will trigger a window repaint is received by a
Client, and the message is older than GUI_EVENT_WIN_REPAINT_TIMEOUT,
discard the repaint request.
2025-04-10 08:30:16 -04:00
Alec Murphy
ebacbeafca
System/Core/Compositor: Update menubar title in @compositor_refresh(win)
2025-04-10 08:28:49 -04:00
Alec Murphy
c4f25e63c1
Applications/OS/TaskSwitcher: NULL check for win->close() keypress callback
2025-04-10 08:27:36 -04:00
Alec Murphy
e0d6102d60
Include/Gui: Add @gui_event_loop_handle_msg() to event loop
...
At the moment, this implementation may look a bit unnecessarily verbose,
but eventually it will allow us to be more specific in our message
handling.
2025-04-09 09:09:37 -04:00
Alec Murphy
d242f5c395
Media/Themes/Umami/Theme: Separate focus/hover logic from repaint
...
We shouldn't be doing this in the Theme routines to begin with, but
that's another issue altogether.
2025-04-09 09:07:50 -04:00
Alec Murphy
940e7b230c
System/Libraries/Gui: Add Bool explicit_repaint to Window class
2025-04-09 09:03:18 -04:00
Alec Murphy
2b8092f418
System/Libraries/Graphics2D: Add @get_truetype_text_width()
2025-04-09 08:59:06 -04:00
Alec Murphy
5f10e5f86d
Applications/Accessories/Calculator: Debounce numerical input
...
The Calculator isn't functional yet, but when it eventually does work,
it will be helpful to not duplicate every number keypress when the
result input widget is focused. :^)
2025-04-09 08:52:23 -04:00
Alec Murphy
26f67901cc
System/Libraries/System: Add timestamp to System.Log()
2025-04-08 07:16:57 -04:00
Alec Murphy
844f36663a
Meta: Suppress compiler warnings
2025-04-05 16:33:10 -04:00
Alec Murphy
c608390142
System/Setup/Environment: Enable SSE on all cores
2025-04-05 09:38:28 -04:00
Alec Murphy
850e4a84d9
Fonts: Add GNU FreeFont
2025-04-05 09:23:13 -04:00
Alec Murphy
88fc55ac18
System/Core/Compositor: Initialize TrueType fonts
2025-04-05 09:22:22 -04:00
Alec Murphy
a58151430c
System/Libraries/Graphics2D: Specify font name for Text2D
2025-04-05 09:21:54 -04:00
Alec Murphy
9c43ac1073
System/Utilities/TrueType: Add @stbtt_GetFontNameDefault
2025-04-05 09:19:10 -04:00
Alec Murphy
7969bf0993
src/truetype: Add stbtt_GetFontNameDefault
2025-04-05 09:18:31 -04:00
Alec Murphy
9658412570
Meta: Update .gitattributes
2025-04-05 08:20:01 -04:00
Alec Murphy
e5342de633
System/Libraries/Graphics2D: Add ctx->text()
2025-04-04 20:14:39 -04:00
Alec Murphy
356c16580c
System/Utilities/TrueType: Add TrueType font support via stb_truetype.h
2025-04-04 18:20:36 -04:00
Alec Murphy
172b4ce7a3
Meta: Add OpenLibm
2025-04-04 18:16:29 -04:00
Alec Murphy
4a72f35e9b
Meta: Update .gitignore
2025-04-04 18:12:14 -04:00
Alec Murphy
51d1ec19f6
Media/Themes/Umami: Repaint widgets with regard to win->opacity
2025-04-04 11:16:01 -04:00
Alec Murphy
3de382e6c5
Everywhere: Set default ctx->opacity to -1
2025-04-04 11:14:30 -04:00
Alec Murphy
a9c623685d
System/Libraries/Graphics2D: Add member 'opacity' to Context2D
...
This is meant to be used for alpha blending in the Compositor, unrelated
to the context's own alpha channel.
2025-04-04 08:23:21 -04:00
Alec Murphy
f2800ba2d6
System/Shell/Commands/cat: Allow concatenating http/https URLs
2025-03-30 05:41:29 -04:00
Alec Murphy
195df64e38
Media/Themes/Umami: Make IBM3161 the default monospace font
2025-03-29 17:16:39 -04:00
Alec Murphy
5107975a32
System/Libraries/Graphics2D: Use MemCpyU64 for Flip()
2025-03-29 14:54:29 -04:00
Alec Murphy
b7952b1cb8
Applicatiosn/OS/ShutDown.app: Update MessageBox API
2025-03-28 19:07:39 -04:00
Alec Murphy
bfa41f334b
System/Core/MessageBox: Update API and add Confirm()
2025-03-28 19:07:07 -04:00
Alec Murphy
39cdf87903
System/Setup/Environment: Don't deadlock on spawning multicore tasks simultaneously
2025-03-28 10:31:57 -04:00