Commit Graph

3917 Commits

Author SHA1 Message Date
Martín Lucas Golini
e5f3983c44 Upgrade SOIL2.
Allow to disable GLEW dependency, it will now be disabled by default so we can test. The idea is to remove the dependency completely once this is confirmed to work.
2026-06-22 10:12:02 -03:00
Martín Lucas Golini
77099864e5 Nits in UIFileDialog and serialize/unserialize for later use in ecode. 2026-06-18 00:31:36 -03:00
Martín Lucas Golini
14a47c64d0 Update efsw and backport utf encoder/decoder fixes to eepp. 2026-06-17 00:53:07 -03:00
Martín Lucas Golini
b83c21bfdd ecode: Display the keybindings of some commands I forgot to add the keybind display. 2026-06-15 13:25:22 -03:00
Martín Lucas Golini
3fa38a2574 Fixes in HTML td height. 2026-06-15 02:36:16 -03:00
Martín Lucas Golini
d04f4502db Fix minor bug in UIFileDialog text input row selection. 2026-06-15 01:32:28 -03:00
Martín Lucas Golini
407fc1ae11 Minor nit: improve dropdown list scrolling. 2026-06-14 16:30:21 -03:00
Martín Lucas Golini
3312419fd6 Fix horizontal scroll when line wrap type set is Line Breakin Column (SpartanJ/ecode#915).
A few improvements for related to LSP rules overriding (SpartanJ/ecode#913).
2026-06-13 18:40:33 -03:00
Martín Lucas Golini
96cee9d1c4 This should make premake5 configuration beta8 friendly.
Improvement for: SpartanJ/ecode#913.
2026-06-12 14:43:35 -03:00
Martín Lucas Golini
4005d2ccc5 Fix MSBuild path. 2026-06-12 00:11:44 -03:00
Martín Lucas Golini
b91b922ac8 This should fix the use after free rare issue: C++ destroys class members in reverse declaration order. mProcess was declared before mHandlers. So during destruction, mHandlers was freed first, then mProcess destructor ran and joined the async read threads but by then the threads were already accessing freed memory. 2026-06-11 20:47:27 -03:00
Martín Lucas Golini
10588e3eb4 Revert last commit, won't fix it properly. 2026-06-11 15:29:36 -03:00
Martín Lucas Golini
ff97358695 This should fix a possible but very implausible heap-use-after-free issue in the LSP client. 2026-06-11 02:16:24 -03:00
Martín Lucas Golini
650bbed0c5 Add MiMo support. 2026-06-11 01:57:57 -03:00
Martín Lucas Golini
e8be533de6 eepp: Added FileMapped class for mmap'ed files, added IOStreamFileMapped to be able to use it as any other IOStream implementation.
Some nits in FileSystem::fileGet, added support for case-insensitive BMH implementation.
ecode: project global search now uses mmap'ed files for big files and made several tweaks and optimizations to avoid trashing the memory allocator.
2026-06-10 02:03:31 -03:00
Martín Lucas Golini
b64b8f21f0 Improve signature documentation pop-up positioning when displaying signature help.
In system font resolver: Prefer native/open desktop families for CSS generics.
2026-06-09 01:23:32 -03:00
Martín Lucas Golini
785fd41bd5 Fix crash when clicked a menu sub-menu button form the code editor context menu. 2026-06-08 13:56:29 -03:00
Martín Lucas Golini
05e81c23de Communicate the reason for the layout invalidation, store and process the reasons, this is an initial setup, we will continue working on it. The new system will allow us to fine grain the invalidations to avoid re-layouting on each attribute change, this commit already does some of this but it's not fully fine-grained and needs more work. 2026-06-08 02:33:49 -03:00
Martín Lucas Golini
12413ea630 Temporary fix until we have proper layout invalidation. 2026-06-07 02:00:42 -03:00
Martín Lucas Golini
788dcc6bf4 Add "defer" to force CSS files to load asynchronously (this will help unit-test some layout issues).
Added `Browser-Like Layout Invalidation Plan`.
Minor changes in HTML example.
Added a couple of examples that I'll use for unit-tests.
2026-06-07 00:32:54 -03:00
Martín Lucas Golini
b75cab5939 Fix html element sizing. 2026-06-06 19:16:35 -03:00
Martín Lucas Golini
68904b9656 Fixed layouting performance issues in UIRichText (layout invalidation trashing issues). Everything is highly commented given that none of these changes are obvious and it's very easy to break it.
Added tests to verify possible regression. And added a simple benchmark with some metrics to inspect layouting invalidation issues.
2026-06-06 15:54:54 -03:00
Martín Lucas Golini
9bc9b099ad Implemented calc, min, max, clamp CSS functions. 2026-06-06 02:19:40 -03:00
Martín Lucas Golini
d342fd88ef Fix invalid access. 2026-06-05 01:32:24 -03:00
Martín Lucas Golini
288950bf34 Image sizing fixes.
Added support for `:where` and `:is`.
2026-06-05 00:18:26 -03:00
Martín Lucas Golini
9bfa128658 Use the new tab position setting for *all* new tabs (SpartanJ/ecode#904). 2026-06-04 16:42:10 -03:00
Martín Lucas Golini
bd2c8991a7 Fix incorrect calculations in grid layout when pixel density != 1. 2026-06-04 13:43:08 -03:00
Martín Lucas Golini
5d0e31e52e Allow to inspect widget style from widget inspector. 2026-06-04 02:00:39 -03:00
Martín Lucas Golini
7aaa068d61 Fix Event::OnFocusWithin and Event::OnFocusWithinLoss not being correctly emited. 2026-06-04 01:02:30 -03:00
Martín Lucas Golini
3be4de9b5e Fix hr. 2026-06-04 00:34:46 -03:00
Martín Lucas Golini
11a2ca801c Optionally display signature help documentation in signature help (enabled by default), SpartanJ/ecode#911. 2026-06-03 11:27:51 -03:00
Martín Lucas Golini
39e57c2689 Remove bad test. 2026-06-03 10:45:30 -03:00
Martín Lucas Golini
b72e2c5d0b More grid fixes and fixed a couple of crashes. 2026-06-03 02:07:37 -03:00
Martín Lucas Golini
f8f066c57a Fix infinite loop in flex layouter. 2026-06-02 19:42:50 -03:00
Martín Lucas Golini
2e14b4d0cb Span’s own RichText was using the parent match width while still inheriting text-align: center, so the text was rendered offset inside the correct span box. 2026-06-02 19:09:28 -03:00
Martín Lucas Golini
cb1f5739dd Merge branch 'develop' into feature/grid-layout 2026-06-02 18:38:31 -03:00
Martín Lucas Golini
7795ec2fc3 Fix importing CSS within CSS.
Fix in colors with vars processing.
Added prefers-contrast support at least for parsing.
2026-06-02 18:37:41 -03:00
Martín Lucas Golini
c5e6a4d1c9 Merge branch 'develop' into feature/grid-layout 2026-06-02 14:51:57 -03:00
Martín Lucas Golini
b97232cecc Fix double background being rendered. 2026-06-02 14:51:34 -03:00
Martín Lucas Golini
f3f0fca795 Merge branch 'develop' into feature/grid-layout 2026-06-02 14:24:25 -03:00
Martín Lucas Golini
5030e392df Color::fromString now supports modern CSS rgb/hsl/hsv function format (although not 100% complete, it supports most common cases). 2026-06-02 14:23:38 -03:00
Martín Lucas Golini
ad4e4285d6 Grid fixes. 2026-06-02 12:29:37 -03:00
Martín Lucas Golini
2f8e631e88 Merge branch 'develop' into feature/grid-layout 2026-06-02 02:35:14 -03:00
Martín Lucas Golini
a75292ca5a Fix z-index hit-testing. 2026-06-02 02:35:00 -03:00
Martín Lucas Golini
312ea199a3 gradient fixes 2026-06-02 02:33:49 -03:00
Martín Lucas Golini
43bf00dcea Fix bad merge. :S 2026-06-02 02:09:15 -03:00
Martín Lucas Golini
ce52a791b2 Merge branch 'develop' into feature/grid-layout 2026-06-02 02:05:03 -03:00
Martín Lucas Golini
27bfd11b51 gradients refactor 2026-06-02 02:02:11 -03:00
Martín Lucas Golini
1218d8140e Merge branch 'develop' into feature/grid-layout
# Conflicts:
#	src/eepp/ui/uihtmlwidget.cpp
2026-06-02 01:59:28 -03:00
Martín Lucas Golini
9bc02d2411 Very basic z-index support (we won't support stacking-context for now, but this can fix several simple scenarios). 2026-06-02 01:51:16 -03:00