Commit graph

298 commits

Author SHA1 Message Date
Yousef Khadadeh
9eeee0dfff Added richtext clipboard to Emscripten and fixed emscripten compilation warning 2025-11-12 09:00:03 +03:00
Yousef Khadadeh
8830386dc0 Copy paragraph styles in rich text, and make plain text clipboard work in web version again 2025-11-11 22:21:25 +03:00
Yousef Khadadeh
b8fb00e218 Displaying text works on emscripten version 2025-11-11 19:52:45 +03:00
Yousef Khadadeh
cdbff3c043 Started work on getting emscripten clipboard working with rich text 2025-11-11 18:48:08 +03:00
Yousef Khadadeh
afe1623cf8 Added rich text clipboard 2025-11-11 17:42:41 +03:00
Yousef Khadadeh
c7cea45e9c Paragraph style copied in HTML 2025-11-11 12:16:11 +03:00
Yousef Khadadeh
9cdac48374 Can now extract formatted HTML from rich textbox 2025-11-11 11:46:02 +03:00
Yousef Khadadeh
c2e3fd553e Text cursor position is more accurate when paragraph is empty 2025-11-10 17:32:47 +03:00
Yousef Khadadeh
def4ccb984 Added UI to change paragraph style 2025-11-10 16:49:02 +03:00
Yousef Khadadeh
435d9346a9 Created RichText namespace, and tweaked scrollbar behaviour 2025-11-10 14:45:51 +03:00
Yousef Khadadeh
e0143f49f0 Text modifiers now apply to text that will be inserted later 2025-11-09 16:24:40 +03:00
Yousef Khadadeh
fabccaf553 Made modifiers immutable to prevent mistakes 2025-11-09 15:01:57 +03:00
Yousef Khadadeh
45da7939eb Improved scrollbar in scroll areas 2025-11-09 12:55:35 +03:00
Yousef Khadadeh
c956ab7230 Make all dropdowns scrollable at a specified maxHeight 2025-11-08 23:19:05 +03:00
Yousef Khadadeh
d4492807fe Added font picker to text edit gui 2025-11-08 20:50:23 +03:00
Yousef Khadadeh
644655544c Added text decoration modifiers, and icon toggle buttons for text modifiers 2025-11-05 18:21:49 +03:00
Yousef Khadadeh
bc8bd93e3b Added font size modifier to edit GUI 2025-11-05 14:55:22 +03:00
Yousef Khadadeh
4857b40af3 Can now toggle some modifiers 2025-11-05 12:29:31 +03:00
Yousef Khadadeh
fe936b6c25 Fixed issues with stacking styles and duplicate/empty styles 2025-11-05 08:51:52 +03:00
Yousef Khadadeh
ee887c82dd Changed method of setting styles over intervals 2025-11-04 22:30:43 +03:00
Yousef Khadadeh
029b6c8966 Text styles can stack 2025-11-04 19:04:09 +03:00
Yousef Khadadeh
bb388efffc Can now add styles to textbox (stacking styles still has issues) 2025-11-04 17:31:23 +03:00
Yousef Khadadeh
b43fedaaac Added text style modifiers 2025-11-04 10:58:26 +03:00
Yousef Khadadeh
640d4673ad Textbox height fixed when only accepting single line 2025-11-02 09:38:15 +03:00
Yousef Khadadeh
86e0999a5c More improvements to GUI 2025-11-01 20:47:34 +03:00
Yousef Khadadeh
30f7856815 Slight readability improvements to GUI 2025-11-01 18:07:39 +03:00
Yousef Khadadeh
49d72e384c GUI style changed to make it take less space 2025-11-01 16:07:19 +03:00
Yousef Khadadeh
ab2d2ca415 Increase version number to v0.3.0 2025-10-30 11:26:00 +03:00
Yousef Khadadeh
6ce16849df p2p.json can now be changed from config folder 2025-10-27 20:19:47 +03:00
Yousef Khadadeh
011f8ba0b4 Fixed more RichTextBox issues, fixed segfault from zooming in/out too fast, fixed segfault from undoing an edit 2025-10-25 17:31:55 +03:00
Yousef Khadadeh
4db5838a64 Using new RichTextBox instead of CollabTextBox in program. Fixes still needed to work properly 2025-10-20 17:30:36 +03:00
Yousef Khadadeh
ec68dd9b71 Improved support for right to left text 2025-10-20 11:41:22 +03:00
Yousef Khadadeh
cd89744bbe Separated RichTextBox into different paragraphs 2025-10-19 15:54:00 +03:00
Yousef Khadadeh
295529586c Textbox mostly works with text other than ASCII 2025-10-18 13:32:12 +03:00
Yousef Khadadeh
e507473e3a Started working on RichTextBox (Broken commit) 2025-10-16 21:22:08 +03:00
Yousef Khadadeh
5f93445506 Made names bold in chat 2025-10-16 09:38:58 +03:00
Yousef Khadadeh
921e111255 Print messages using SkParagraph and new TextParagraph element 2025-10-15 16:33:24 +03:00
Yousef Khadadeh
9ceb4e1b8a Free memory from unused GUI elements, and make colorpicker not glitch on first appearance 2025-10-14 12:51:24 +03:00
Yousef Khadadeh
1ec7c717b2 GUI now catches text input again 2025-10-14 11:27:55 +03:00
Yousef Khadadeh
89dd5b5d81 Holding left click outside of text box changes text selection 2025-10-14 11:07:59 +03:00
Yousef Khadadeh
da6b245a9b Get ICU working on Emscripten builds (build is massive for now, shrink it later) 2025-10-13 18:54:33 +03:00
Yousef Khadadeh
525da85f51 Update skia version, and start work on getting harfbuzz shaper working 2025-10-12 18:24:59 +03:00
Yousef Khadadeh
79d768e8f6 sdl updated to version 3.2.24 2025-10-12 11:06:04 +03:00
Yousef Khadadeh
8511cae7ab Capture all text input when typing faster than rendering speed, and add Roboto license 2025-10-12 10:17:08 +03:00
Yousef Khadadeh
0cc326bcc9 Fixed some memory leaks and uses of uninitialized values 2025-10-11 15:35:17 +03:00
Yousef Khadadeh
48156cb4bf Get filenames of downloaded files 2025-10-11 13:02:07 +03:00
Yousef Khadadeh
1175424c23 Load image data in a different thread 2025-10-10 18:41:08 +03:00
Yousef Khadadeh
d633e549bc Make sure progress bar is centered on image 2025-10-10 14:45:33 +03:00
Yousef Khadadeh
2aab3e9e60 Prevent head of line blocking and track server resource download progress 2025-10-10 10:34:12 +03:00
Yousef Khadadeh
344ef4093a Make blue colors in default theme a bit lighter 2025-10-09 22:19:42 +03:00