Commit graph

72 commits

Author SHA1 Message Date
Yousef Khadadeh
6cec654d4c Can change canvas background color 2025-08-01 10:58:45 +03:00
Yousef Khadadeh
0b1cc8d4c2 Selection cache is also updated when objects are updated 2025-07-31 19:28:18 +03:00
Yousef Khadadeh
069fc66565 Updating ellipse and rectangle colors updates cache as well 2025-07-31 18:05:40 +03:00
Yousef Khadadeh
75a614946c Fixed objects being drawn ontop of cache images, causing transparency issues 2025-07-31 17:55:14 +03:00
Yousef Khadadeh
f72d8c21fa Fixed textbox color not updating cache, and taking snapshot images for cache instead of storing surfaces 2025-07-31 15:30:22 +03:00
Yousef Khadadeh
ed3d5f6d51 Removed temporary update commits 2025-07-31 09:34:17 +03:00
Yousef Khadadeh
d19b5c4cb0 Files no longer render name, and also fixed a bug where the very first object can't be edited 2025-07-30 11:45:18 +03:00
Yousef Khadadeh
b2f2070f95 Improve performance when hosting canvas with many objects 2025-07-30 11:36:55 +03:00
Yousef Khadadeh
207e173c1a Fixes to get code to compile on emscripten 2025-07-29 21:38:33 +03:00
Yousef Khadadeh
1d0a7fc495 Improved transform and clipboard paste performance, and share memory between copied brush strokes in some instances 2025-07-29 14:11:36 +03:00
Yousef Khadadeh
c499f597d9 Compress savefiles using zstd 2025-07-28 18:21:09 +03:00
Yousef Khadadeh
43f7027651 Add zstd license 2025-07-28 17:13:02 +03:00
Yousef Khadadeh
1300be0227 Compress large messages with zstd 2025-07-28 17:07:39 +03:00
Yousef Khadadeh
eb9db31d31 Remove colliderAllocated flag 2025-07-28 14:25:28 +03:00
Yousef Khadadeh
0a75b0ada3 Selection improvements 2025-07-28 13:49:46 +03:00
Yousef Khadadeh
d9761a84b5 Readded clipboard 2025-07-28 11:09:59 +03:00
Yousef Khadadeh
60230cc8ef Scale and translate transformations improved 2025-07-28 09:17:11 +03:00
Yousef Khadadeh
b745cae794 Undo and redo checks work on gui undo and redo buttons, not just shortcuts 2025-07-27 20:08:46 +03:00
Yousef Khadadeh
9aa41ddb7f Fixed bugs with undo and redo of multiple objects 2025-07-27 20:04:26 +03:00
Yousef Khadadeh
2de5c90006 Prevent undo and redo at points when they might break the program 2025-07-27 16:53:22 +03:00
Yousef Khadadeh
f606fc6fc1 Improved undo 2025-07-27 16:30:45 +03:00
Yousef Khadadeh
7e69688ca6 Transformations over network work again, with undo and redo 2025-07-27 11:56:34 +03:00
Yousef Khadadeh
b6a25280e6 Improved online performance for canvases with many components 2025-07-26 21:20:14 +03:00
Yousef Khadadeh
8a36bc4b6d Rotation works 2025-07-25 10:00:39 +03:00
Yousef Khadadeh
4a4456524f Added scale transform 2025-07-24 20:36:40 +03:00
Yousef Khadadeh
759f551cd3 Translation works on selection 2025-07-24 19:35:51 +03:00
Yousef Khadadeh
ff1355234f Begin work separating selection code from rectangle select tool 2025-07-24 16:35:48 +03:00
Yousef Khadadeh
7f905f01df Fixed segfault that occurs when undoing while drawing 2025-07-23 17:21:56 +03:00
Yousef Khadadeh
0a8add3df1 Optimized eraser, now uses BVH 2025-07-23 16:04:16 +03:00
Yousef Khadadeh
7fa82d3fa4 Fixed ordering issue with cache draw, also sharing draw cache space with all open tabs 2025-07-22 12:22:08 +03:00
Yousef Khadadeh
415921d881 Use multiple threads to load objects when loading file 2025-07-21 18:05:41 +03:00
Yousef Khadadeh
24b2d47a90 Removed updateDraw boolean 2025-07-21 17:48:46 +03:00
Yousef Khadadeh
38a10e0ef4 Add AABB collision check for BVH collision checks 2025-07-21 17:04:50 +03:00
Yousef Khadadeh
f75a5133d5 Improved collision system use of BVH 2025-07-21 16:54:48 +03:00
Yousef Khadadeh
f74298d21d Draw speedup when there are >100000 objects in the canvas 2025-07-21 15:46:42 +03:00
Yousef Khadadeh
1c1f23d68d Only run update and check_timer functions on components that need it 2025-07-21 13:57:48 +03:00
Yousef Khadadeh
f82e626686 Levels of detail for brush stroke decreased to save on memory 2025-07-21 13:01:48 +03:00
Yousef Khadadeh
241a0a9588 Speed up searching for info to send to network 2025-07-21 12:26:07 +03:00
Yousef Khadadeh
eb00125f01 Cache system doesnt break when transforming objects 2025-07-21 11:59:19 +03:00
Yousef Khadadeh
caea747f1e BVH draw cache working 2025-07-20 15:24:44 +03:00
Yousef Khadadeh
1e51bf660f Started work on draw cache 2025-07-19 19:41:25 +03:00
Yousef Khadadeh
1095b91cec Started work on cache for canvas components 2025-07-19 15:57:09 +03:00
Yousef Khadadeh
c7842c2924 Objects in corners dont disappear when rotating canvas 2025-07-14 17:09:34 +03:00
Yousef Khadadeh
d4b70a2386 Decrease details in brush strokes when zooming out 2025-07-14 17:00:28 +03:00
Yousef Khadadeh
5dd7311c20 Full flatpak info included, changed id from com.erroratline0.infinipaint to com.infinipaint.infinipaint 2025-07-11 15:55:53 +03:00
Yousef Khadadeh
28b6c39fcb Use dropped item pos from SDL for native systems 2025-07-10 22:28:57 +03:00
Yousef Khadadeh
e901ceec2b Increase patch number 2025-07-10 22:11:21 +03:00
Yousef Khadadeh
6370dfbb85 Added a button to upload images and files to the canvas 2025-07-10 22:09:56 +03:00
Yousef Khadadeh
c49f7c8531 Increased patch number in about menu 2025-07-10 15:55:23 +03:00
Yousef Khadadeh
47bcf78e72 Increased patch number 2025-07-10 15:53:09 +03:00