Commit Graph
3966 Commits
Author SHA1 Message Date
Martín Lucas Golini a9901ef23b Allow to configure window shadow style with: window-shadow-color, window-shadow-offset, window-shadow-size. 2026-02-16 13:32:14 -03:00
Martín Lucas Golini 106af2f060 Minor refactor. 2026-02-15 00:07:08 -03:00
NullPlane f223283426 Update German translation [de.xml][ecode] (#170)
~~> Updated German Translation to 0.7.4_r00
2026-02-14 18:56:01 -03:00
Martín Lucas Golini 1b1782bb2d I'll need this later.
Updated TODO.
2026-02-13 20:38:44 -03:00
Martín Lucas Golini 5085a13c21 Added a few models. 2026-02-11 21:17:16 -03:00
Martín Lucas Golini ccd6da0a1b Fix a bug in LLMChatCompletionRequest that missed parsing packets without a complete JSON object (affected Copilot and Perplexity).
Fix a bug in Markdown parser, I misinterpreted the documentation.
2026-02-10 01:01:41 -03:00
Martín Lucas Golini 29f89d6f3a Fix in UITextView::getText, always return the buffer, text cache can have a different buffer if text-overflow is enabled, wrap doesn't change buffer anymore since is soft-wrap. 2026-02-09 13:53:34 -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 3d3327c5a1 Fixes in text selection when not using shaper and fixes in text wrap rendering when using TextLayout::wrapLayout. 2026-02-08 20:53:59 -03:00
Martín Lucas Golini d36c825074 Forgot installing premake5 in Haiku CI build. 2026-02-08 17:22:11 -03:00
Martín Lucas Golini 0c520fa9a7 Fix libsdl2_devel package name in Haiku CI build. 2026-02-08 17:06:25 -03:00
Martín Lucas Golini 7851181230 Add Haiku ecode nightly (not tested!). 2026-02-08 16:56:26 -03:00
Martín Lucas Golini 95c1392de6 Try fix FreeBSD nightlies (although it does seem an issue in the FreeBSD image). 2026-02-08 15:05:16 -03:00
Martín Lucas Golini 5140dbabdb Fix RichTextTest in CI (disable anti-aliasing on line rendering so image comparison does not fail due to differences on NVIDIA and Mesa renderers). 2026-02-08 14:15:50 -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 4979623687 Added initial offset for Text (plus tests).
Added Primitive::drawPixelPerfectLineRectangle.
Added tRect::enlarge.
2026-02-07 13:01:10 -03:00
Martín Lucas Golini 619295fa62 Fix modifed files color highlight in treeview.
Minor change in AI Assistant.
2026-02-06 00:45:24 -03:00
Martín Lucas Golini a82a9652fb This really fixes MSVC build. But I don't understand how this broke in a first place... it makes no sense. 2026-02-05 01:44:09 -03:00
Martín Lucas Golini 9d81f9d96b I guess this should fix MSVC build. 2026-02-05 01:19:55 -03:00
Martín Lucas Golini 2687f49294 Refactor in ContextSettings.
Added NVIDIA provider in AI Assistant and updated Perplexity models.
2026-02-05 00:53:07 -03:00
Martín Lucas Golini f2d491384d Some UI widgets constructor refactor and minor function renaming.
Added Moonshot LLM models support.
2026-02-04 01:31:43 -03:00
Martín Lucas Golini ec47dffa30 Several fixes in soft-wrap implementation.
Added soft-wrap support in UITextView and UITooltip.
Added more soft-wrap tests, now testing also selection.
2026-02-03 01:41:15 -03:00
Martín Lucas Golini e553398b04 ecode: log the configuration path during initialization. 2026-02-02 19:04:39 -03:00
Martín Lucas Golini e2c390eedf Fix --verbose on Windows. 2026-02-02 14:49:25 -03:00
Martín Lucas Golini bbb8fce43f Instead of using *::cell::text and tableview::cell::icon in breeze and styles we will just use *::tableview::cell. And leave the inner elements of PushButton unaltered (since the father already can alter them).
Did some fixes in `Text::findCharacterPos` and `Text::findCharacterFromPos`, also tentatively added support for soft-wrap in those function (I haven't tested much yet).
2026-02-01 21:46:42 -03:00
Martín Lucas Golini b7d9fd0567 Soft-Wrap in Text support WIP. 2026-02-01 00:56:37 -03:00
Martín Lucas Golini 98cf4a85d7 Simplify wrapsWidth in LineWrap. 2026-01-31 02:18:27 -03:00
Martín Lucas Golini 73f04262be Fix user-after-free during plugin reload. 2026-01-30 00:35:34 -03:00
Martín Lucas Golini 256df44a4d Better wildcard matching in utest (allow multiple wildcards). 2026-01-29 17:37:54 -03:00
Martín Lucas Golini 4654aea175 Fix issue with kerning when using tab characters (i do not want to apply kerning in tab characters). 2026-01-28 22:40:59 -03:00
Martín Lucas Golini 9561334401 Fixes for line widths calculation. 2026-01-27 23:49:02 -03:00
Martín Lucas Golini b3b5f97ab8 Optionally return wraps width when computing breaks WIP. 2026-01-26 21:59:53 -03:00
Martín Lucas Golini efc361b654 LineWraps now also report real new line breaks (otherwise it will not be possible to partition into visual lines).
Added more text hard-wrap tests.
RGB now has a constructor that accepts Color. Color now has `toRGB()`.
2026-01-25 14:53:55 -03:00
Martín Lucas Golini 9d4fce4524 Implemented soft-wrap support in TextLayout.
Also fixed an old LineWrap::computeLineBreaks bug that wrapped too soon some texts, I had to update the tests (they where looking strange but I thought it was some unfortunate wrapping).
2026-01-25 00:26:54 -03:00
Martín Lucas Golini 1789540388 Separate TextLayout result into paragraphs with ShapedTextParagraph.
Change the `Text::wrapText` implementation to use the `LineWrap::computeLineBreaks` function, so it's consistent across eepp. Also renamed the function to `Text::hardWrapText` to be more descriptive.
Added new-line support in `LineWrap::computeLineBreaks`.
2026-01-24 17:59:09 -03:00
Martín Lucas Golini baa16fe44d Some minor changes in TextLayout and LineWrap. 2026-01-24 13:55:58 -03:00
Martín Lucas Golini b3748d05f2 Add yet another text rendering test. 2026-01-24 01:01:16 -03:00
Martín Lucas Golini 409cda3ba5 Minor refactor in LineWrap. 2026-01-23 21:48:10 -03:00
Martín Lucas Golini 403a06cee4 Fix MSVC build. 2026-01-22 11:18:39 -03:00
Martín Lucas Golini 5d56e4da34 Added String::formatBuffer for char32_t strings.
Minor fixes in breeze theme.
2026-01-22 01:41:25 -03:00
Martín Lucas Golini faedaa43f4 Refactor in LineWrap operations enums and structs, moved everything into linewrap.hpp.
Revisiting some old code, the Map Editor, many things are not properly layouted, I might fix it later, for the moment a few minor fixes.
Fix build output and app output highlighting.
Fix isStopSelChar used in UITextInput for text selection (double click).
2026-01-21 00:03:01 -03:00
Martín Lucas Golini 46f13af278 Nit. 2026-01-19 23:50:14 -03:00
Martín Lucas Golini 1082e6db9b Fix LSP graceful exit (this fixes clangd not erasing the preamble cache files). 2026-01-18 12:37:17 -03:00
Martín Lucas Golini f180e58e56 Added Settings -> Window -> UI Theme -> Syntax Color Scheme to use the editor color scheme globally for the UI Theme colors, having a single color palette for the whole UI and making much easier to style the UI, this solves SpartanJ/ecode#661, since now we support one UI theme for each existing syntax color scheme. Still a WIP, I'll continue improving it during the development of 0.7.5, but it's ready to use. 2026-01-18 01:38:27 -03:00
Martín Lucas Golini ddb412f42d Fix Haiku Build 2026-01-17 13:25:31 -03:00
Martín Lucas Golini cf6c14fbda Do not copy the whole SyntaxDefinition into TextDocument but instead keep the shared pointer to the definition.
Did some minor SyntaxDefinition memory access safety improvements.
In breeze color scheme definition renamed `--win-icon` to `--icon-line` and removed `--scroll-button` since it was not being used.
2026-01-17 00:19:51 -03:00
Martín Lucas Golini a8cde70eb1 Fix a couple of very unlikely invalid memory access bugs (I was able to reproduce one of those). 2026-01-16 20:07:44 -03:00
Martín Lucas Golini 534e9a8f59 Improved FunctionString::parse to support function calls within function calls. Also fixed some corner cases and added unit tests for the function. 2026-01-15 22:05:29 -03:00
Martín Lucas Golini f8fe1d9687 Add multi-thread protection to: ModelSelection.
Make UIAbstractView::notifySelectionChange thread-safe.
Added new UI Test (FontRendering.UITextTest).
2026-01-14 20:12:45 -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