Commit Graph

261 Commits

Author SHA1 Message Date
Martín Lucas Golini
7d09138bb0 Add woff2 font format support.
Try again luck with the test that it's failing in macOS...
2026-04-09 00:54:22 -03:00
Martín Lucas Golini
1be1137ebd Forgot to include dir for args library. 2026-04-06 02:48:33 -03:00
Martín Lucas Golini
aa9138a12e Fix gumbo parser linking in mingw. 2026-03-29 21:21:40 -03:00
Martín Lucas Golini
0f8bacf6dd Fix br element tag.
Fix gumbo dependency in ecode.
Fix crash in StyleSheet::getStyleSheetStyleByAtRule.
Plus some minor nits.
2026-03-29 20:18:19 -03:00
Martín Lucas Golini
b7726b8767 Should fix MSVC build.
As for the MingW build I'll check if `--cc=gcc` works in the CI environments, since premake5-beta8 deprecated `--cc=mingw` which was an alias of `gcc`.
2026-03-29 15:11:41 -03:00
Martín Lucas Golini
26a97be74d Added HTML native linting.
Added HTML folding-ranges.
Fixed HTMLFormatter::HTMLtoXML.
Added `TextDocument::toString` and `TextDocument::toUtf8String`.
Fixed incorrect check for emojis in Text.
Fixed potential crash due to CSS parsing issues in StyleSheetSpecification.
2026-03-29 14:31:26 -03:00
Martín Lucas Golini
a14b8f4de0 Minor fix in UIHTMLTable layouting.
Add *very* basic HTML test. And *very* basic HTML demo. This is more than basic, it's just that I need something to quickly test stuff.
2026-03-28 02:45:24 -03:00
Martín Lucas Golini
dd039fc233 Improve stack-trace for ecode symbols.
Fix demangling in stack-trace for mingw builds.
Fix all stat calls in windows mingw builds that fail to detect files / dirs when the path ends with a path separator (this is an old bug, as old as I can remember, I thought it was fixed on mingw side but it seems only works for the cross compiled build, windows mingw build was failing catastrophically and never saw it).
There was also a very old minor bug in Sys::getProcessPath.
2026-03-22 18:41:47 -03:00
Martín Lucas Golini
05d6d3e2a3 Redesigned LLM model selection in AI Assistant chat UI (now it's possible to search by filtering its name).
Redesigned UIDropDownList to inherit from UIDropDown which is a base class to handle different types of drop-downs. Added UIDropDownModelList which is the same as UIDropDownList but uses a UIListView by default so it's a model/view based DropDown.
Fix crash when changing states of the buttons in the build panel.
Increased the default animations speed.
2026-03-21 15:02:50 -03:00
Martín Lucas Golini
ceef7532b6 premake4: I've found an issue with 4.4-beta5 when changing the soname it needs to have the .so. premake 4.3 seem to add it automatically and if it's present it does work the same.
Some minor adjustment in UISceneNode::loadLayout* functions.
2026-03-17 11:09:03 -03:00
Martín Lucas Golini
382a5d2476 Terminal selection reflow fixes. 2026-03-12 15:41:42 -03:00
Martín Lucas Golini
d6fa55a696 Added UIMarkdownView and Markdown class (integrated md4c into eepp).
Fixes in HTML rendering.
Fix deadlock in Http pool shutdown.
2026-03-05 01:31:25 -03:00
Martín Lucas Golini
fc0f33201c RichText class now can hold any Drawable.
Added UIRichText with spans (UITextSpan). Still a WIP but core is working.
2026-03-02 00:20:24 -03:00
Martín Lucas Golini
f6a33a408a Should fix windows build. 2026-02-28 13:05:52 -03:00
Martín Lucas Golini
cfc6b546ac Added native support for YAML linting (SpartanJ/ecode#829). 2026-02-28 12:29:56 -03:00
Martín Lucas Golini
677aab8e0c UIAbstractView::findRowWithText now accepts FindRowWithTextMatchKind instead of a boolean to force equal comparison.
Refactor of some examples, added a new hello world example but using UIApplication.
ecode: Fixed how it filters the `sbt`, `srt` and `sb` universal locator switches.
2026-02-26 00:32:48 -03:00
Martín Lucas Golini
7977cd99dd Minor changes in DropDownList style.
Added StringMapModel and an example.
2026-02-09 13:37:18 -03:00
Martín Lucas Golini
e0bf0a23e5 Added a basic RichText class (and added tests and an example).
Fixed LineWrap when using initial X offset and the word does not fit in the current line but it fits in the next.
Added basic agent rules.
2026-02-08 13:35:16 -03:00
Martín Lucas Golini
0f8f15fa53 Pump ecode and eepp versions.
Fix sharedir option in premake files.
Minor logic fix in copy file buffer.
2026-01-13 00:05:20 -03:00
Martín Lucas Golini
caebfc4d81 premake projects now enable text shaping by default. 2026-01-08 19:23:22 -03:00
Martín Lucas Golini
c08687c9fe Fix iOS build. 2025-12-31 13:17:32 -03:00
Martín Lucas Golini
da5ca25297 Added a Copy Contents button in AI Chat UI globes (since copying directly won't resolve the links automatically).
Fix how `ECODE_SHAREDIR` is set.
Fix a very rare race condition in LSPClientPlugin.
Always resolve line number when locating files (do not enforce the need of the absolute path).
Add aliases for YAML and Markdown.
2025-12-28 23:28:59 -03:00
Martín Lucas Golini
abda8775ac Add terminal cursor styles selection at Settings -> Terminal -> Cursor Styles.
Fix how selection in terminal is enabled or disabled based on the reported application capabilities.
Added sharedir option in premake files.
2025-12-19 12:56:16 -03:00
Martín Lucas Golini
91f93184af Update FreeType to 2.14.1.
Add SheenBidi dependency (still not in use).
Update tests with the new FreeType version.
2025-11-09 13:36:13 -03:00
Martín Lucas Golini
521631decf Fix ARGB images save when using WebP.
Upload artifacts.
2025-10-25 02:52:21 -03:00
Martín Lucas Golini
0ec661852a eepp: Updated mojoal, dr_mp3, dr_flac. Fixed various mojoal bugs. Added SoundFileFactory::isKnownFileExtension. SoundFileFactory::isValidAudio, SoundFileFactory::isValidAudioFile.
ecode: Added audio player support (SpartanJ/ecode#96).
2025-09-29 00:02:06 -03:00
Martín Lucas Golini
dfd47dd1e3 Native file dialogs support WIP (SpartanJ/ecode#653). 2025-09-18 23:20:16 -03:00
Martín Lucas Golini
10fdd7a0b1 Warn before closing terminal that is running some process (SpartanJ/ecode#644), probably still WIP, not tested outside Linux (it might not build).
Build ecode with -g1, it should improve crash information.
Regain editor focus after escaping from settings menu.
Prevent crash when during widget splitting (couldn't reproduce it but this just avoid crashing, SpartanJ/ecode#650).
2025-09-13 01:37:30 -03:00
Martín Lucas Golini
a703b09cc1 Fix macOS build. 2025-08-27 00:35:39 -03:00
Martín Lucas Golini
4b4a5f3491 More work on the Spell-Checker (SpartanJ/ecode#515).
Spell-Checked a lot of code.
2025-08-21 01:43:42 -03:00
Martín Lucas Golini
d7973b33e5 Pump SDL2. 2025-07-27 23:17:01 -03:00
Martín Lucas Golini
934d5a45bd Export ecode.exe symbols when built in release mode with mingw for better crash stack-traces. 2025-07-15 01:06:55 -03:00
Martín Lucas Golini
4877a4341a Added "Buffer Only Mode" to Global Search & Replace (#545).
emscripten build is now multi-threaded only.
2025-07-05 20:57:21 -03:00
Martín Lucas Golini
cec4fa6e72 Add webp image format support (load and save).
Fix bug introduced in the last commit for UIDataBind initialization.
Change gmake2 in favor of gmake when using premake5 since it has been depreated in premake5-beta6 (hopefully I did not miss anything).
2025-06-04 21:02:38 -03:00
Martín Lucas Golini
3560a2d1e4 Hopefully this can fix Windows build. 2025-05-14 15:19:00 -03:00
Martín Lucas Golini
9f58ad38fc Experimenting with oniguruma fallback and text-mate improvements. 2025-05-14 00:48:01 -03:00
Martín Lucas Golini
529f4b945e Update README.md.
Fix Android build.
2025-04-29 19:58:14 -03:00
Martín Lucas Golini
994e298fab Try building Linux x86_64 nightly within an Ubuntu 20.04 docker container. 2025-04-26 14:13:26 -03:00
Martín Lucas Golini
8e76cf606a Fix ecode Haiku build. 2025-04-13 14:34:23 +00:00
Martín Lucas Golini
be30ee67bc Update nlohmann/json library.
Removed "-ffast-math" flag for binary compilation (nlohmann/json is generating warnings due to the use of infinity, and actually binaries kinda don't need fast-math, it makes more sense in eepp).
Fix warning in Sys for macOS.
2025-04-12 00:42:54 -03:00
Martín Lucas Golini
9f3ddd89c0 Forgot to remove dependency. 2025-04-05 19:56:53 -03:00
Martín Lucas Golini
3958977752 This should be slightly more correct. 2025-04-05 18:33:11 -03:00
Martín Lucas Golini
7c71f6e1fb Try to enable backward-cpp for all ecode builds. This might break CI, let's see... 2025-04-05 18:25:18 -03:00
Martín Lucas Golini
67a86c3c05 Process class fix a dead-lock.
Compile with C++20 (compilation might fail on some systems, let's see the CI).
Fixed V1 syntax highlighting.
2025-03-31 18:52:42 -03:00
Martín Lucas Golini
bce702bf9f Update to the latest SDL2 version (2.32.2).
Fix user manually set fallback-font (default fallback font will be always loaded).
2025-03-28 15:38:43 -03:00
Martín Lucas Golini
c4e6b24e9f Added syntax highlighting for: Bazel, Ring, OpenSCAD and TCL.
Moved most languages to a separate module that it's not part of the base eepp module.
2024-11-29 00:15:02 -03:00
Martín Lucas Golini
cec4c39dbb Add a new example of how to create a custom widget. 2024-10-27 03:43:06 -03:00
Martín Lucas Golini
46b2a1b769 Expose export-compile-commands in premake5 project.
Minor fix in Sys::getOSArchitecture.
2024-10-18 12:55:15 -03:00
Martín Lucas Golini
8459f4e11f Fix fuzzy search for keys in commnad palette.
Fix in premake4 project file.
2024-10-14 20:36:22 -03:00
Martín Lucas Golini
406a7de910 Disable regex jit in emscripten (fix build) and enable jit in windows. 2024-10-03 12:02:41 -03:00