Several general improvements and fixes across the UI: UIRichText, UITextSpan, UIImage, UIScrollView.

This commit is contained in:
Martín Lucas Golini
2026-03-08 03:05:17 -03:00
parent 2d3a7b3032
commit 9514b0fd73
24 changed files with 360 additions and 147 deletions

View File

@@ -1,11 +1,30 @@
---
trigger: always_on
---
# Build Instructions (Debug Mode)
To build the project in debug mode you must run from the root project directory:
All build commands must be executed from the **root project directory**. Follow these steps to build the project:
`make -C make/linux -j$(nproc)`
## Step 1: Update Makefiles (Conditional)
If you have **added, renamed, or deleted** any source files, you must regenerate the makefiles before compiling.
If any file has been added you should also run (previous to the make command):
* **Tool:** Use `premake5` if installed; otherwise, fallback to `premake4` (the parameters are identical).
* **Linker Flag (`--with-mold-linker`):** This flag is conditional. If the `mold` linker is installed on the system, you **must** include it to speed up linking. If `mold` is not installed, omit the flag.
`premake4 --disable-static-build --with-mold-linker --with-debug-symbols --address-sanitizer gmake`
**Command (if `mold` is installed):**
`premake5 --disable-static-build --with-mold-linker --with-debug-symbols --address-sanitizer gmake`
**Command (if `mold` is NOT installed):**
`premake5 --disable-static-build --with-debug-symbols --address-sanitizer gmake`
*(If no files were added/removed, you may skip Step 1).*
## Step 2: Compile the Project
To compile the project in debug mode, execute the `make` command, ensuring you point to the correct directory for your current Operating System.
The valid OS directory names are: `windows`, `macosx`, `linux`, `bsd`, `haiku`.
Run the following command, replacing `<os_name>` with the correct environment:
`make -C make/<os_name> -j$(nproc)`
**Examples:**
* Linux: `make -C make/linux -j$(nproc)`
* macOS: `make -C make/macosx -j$(sysctl -n hw.ncpu)`
* Windows: `make -C make/windows -j%NUMBER_OF_PROCESSORS%`