Commit graph

12,988 commits

Author SHA1 Message Date
rich2014
b05b79bc9a FIX: in the FileViewHeader, the PathEdit will be in the wrong position when the address is visible 2026-05-29 21:56:09 +08:00
rich2014
3fabe6aef5 FIX: Name may be empty in virtual FileSource (root path in Mounted Drive) 2026-05-29 10:44:45 +08:00
Alexander Koblov
6b1a346caa FIX: Build snapshots 2026-05-28 20:49:27 +03:00
EH
3e601a1940
FIX: Virtual terminal - AutoFollow off-by-one and clear resets viewport (#2876) 2026-05-28 20:41:25 +03:00
rich2014
0ec7b7e32b FIX: the issue that TKASCDEdit could not gain focus when clicked 2026-05-28 17:30:15 +08:00
EH
307a682f27
FIX: SyncDirs — enable smooth progress bars (#2893)
Co-authored-by: heredie <heredie@localhost>
2026-05-26 20:46:25 +03:00
EH
adb32099c9
FIX: SyncDirs — preserve symlink timestamps on Linux (bug #3) (#2888) 2026-05-26 20:45:53 +03:00
EH
59607049b2
FIX: SyncDirs — preserve symlink follow/skip choice across file batches (#2887)
When TreeBuilder.BuildFromFiles() runs and the user answers 'follow all'
or 'skip all', the choice is stored in TreeBuilder.FSymLinkOption.
But after FreeAndNil(TreeBuilder) the choice was lost, so each new batch
of files started fresh with gOperationOptionSymLinks (default: ask), and
the dialog re-appeared for every symlink in every subsequent batch.

Fix: write back TreeBuilder.SymLinkOption to Self.SymLinkOption before
freeing the builder so the answer carries forward.

Co-authored-by: heredie <heredie@localhost>
2026-05-26 11:53:55 +03:00
rich2014
246f410673 UPD: simplified expression in UpdateRenameFileEditPosition() 2026-05-26 14:07:44 +08:00
rich2014
92fdf16192 UPD: update i18n for LCL 2026-05-26 14:04:55 +08:00
rich2014
a4c174d5ba UPD: update i18n for LCL 2026-05-25 12:29:43 +08:00
EH
6123a21ed0
FIX: Zip plugin - allow cancelling TAR archive packing mid-operation (#2874)
* FIX: zip plugin - allow cancelling TAR archive packing mid-operation

TAbTarArchive.SaveArchive iterated all items without ever checking
the abort flag, making it impossible to cancel a TAR/TGZ/TBZ2 pack
operation until all files had been written.

Add a DoArchiveProgress call with abort check after each item in the
save loop, identical to the pattern already used in TAbZipArchive.SaveArchive
(abziptyp.pas) and in all extract loops (abarctyp.pas).

When the user cancels, EAbUserAbort is raised, caught in PackFilesW,
and the incomplete archive is deleted if it did not exist before packing.

* FIX: zip plugin - prevent crash on TAR abort inside GZip archive

When TAbUserAbort propagates out of TAbTarArchive.SaveArchive (e.g.
from the abort check added to the save loop), it exits the IsGzippedTar
branch of TAbGzipArchive.SaveArchive without calling SwapToGzip. The
outer finally block then compares FStream (which equals FTarStream,
possibly nil) with NewStream (FGzStream) and incorrectly frees
NewStream. The destructor later calls SwapToGzip (restoring FStream to
the already-freed FGzStream) and then frees FStream a second time,
causing an access violation.

Fix: compare FGzStream instead of FStream in the finally condition.
FGzStream always holds the original gzip stream reference and is never
changed by SwapToTar/SwapToGzip, so the NewStream ownership check is
correct regardless of which swap state the archive is in.

---------

Co-authored-by: heredie <heredie@localhost>
2026-05-23 12:12:23 +03:00
rich2014
10a51f880a UPD: adjust vert alignment type in FileView in Lazarus 4.99 2026-05-23 10:55:00 +08:00
rich2014
617493ec78 UPD: fine-tune the position of the Inplace Rename Button on macOS 2026-05-22 11:33:26 +08:00
rich2014
4843768305 UPD: simplify vert alignment in edtRename in FileView in Lazarus 4.99 2026-05-22 10:47:48 +08:00
PhoebosL
d0140b8834
UPD: NormalizeAccentedChar function (#2865)
* UPD: NormalizeAccentedChar function

Changes in function logic to improve its performance especially in quick search / filter
 instead of Result := Result + cWorkingChar, which allocates memory on each iteration
the changed function in PR now works like so
allocate memory for string -> fill in accent-striped characters -> trim excess of space

* Update uaccentsutils.pas

---------

Co-authored-by: Alexander Koblov <alexx2000@mail.ru>
2026-05-21 10:01:52 +03:00
rich2014
27ca1b3be0 UPD: update zh_CN/zh_TW 2026-05-19 17:58:40 +08:00
rich2014
5e7a25c691 UPD: i18n for 'Open with default App' Modern ToolBar Item in ViewForm on macOS 2026-05-19 14:41:00 +08:00
rich2014
0291126ba2 ADD: 'Open with default App' Modern ToolBar Item in ViewForm on macOS 2026-05-19 14:40:21 +08:00
rich2014
7cf22b45ea FIX: the issue of misaligned image positions after cropping in ViewerForm 2026-05-19 12:40:23 +08:00
rich2014
8918485f72 FIX: Image.Cursor switching issue in ViewerForm 2026-05-19 12:12:32 +08:00
rich2014
f695bd75ae UPD: Remove unnecessary checks on ToolBar1.Visible; checks on btnHightlight.Down are sufficient (especially since ToolBar1 is always hidden on macOS) 2026-05-19 11:32:05 +08:00
rich2014
c6ff324ae8 UPD: refactor UndoXXX into TNormalizedRect in ViewerForm 2026-05-19 10:11:45 +08:00
rich2014
ebbe447b1d FIX: the issue of the selection exceed bounds in Highlight 2026-05-19 09:42:27 +08:00
rich2014
8c3e18eee8 FIX: macOS does not support XOR; when eliminating the selection in Highlight, redrawing is used instead of XOR 2026-05-19 08:47:52 +08:00
rich2014
961eeb5e24 FIX: the issue with incorrect direction when drawing FocusRect in ViewerForm 2026-05-19 08:47:52 +08:00
rich2014
acf007f698 UPD: simplify drawing Rectangle/Ellipse 2026-05-19 08:47:52 +08:00
Alexander Koblov
ab77a7183f FIX: Lazarus 4.6 compatibility 2026-05-18 19:16:56 +03:00
rich2014
e49ddec96c UPD: refactor Undo Rect calc 2026-05-18 21:39:48 +08:00
rich2014
e7d8c81a34 FIX: the issue with incorrect direction when drawing rectangles/ellipses in ViewerForm 2026-05-18 18:19:08 +08:00
rich2014
9088062dec FIX: the issue with incorrect restore area when drawing rectangles/ellipses in ViewerForm 2026-05-18 17:15:47 +08:00
rich2014
77a97a25ed UPD: i18n for Highlight/Paint Modern ToolBar Item in ViewerForm 2026-05-18 12:57:59 +08:00
rich2014
e0f075beea UPD: i18n for GIF Modern ToolBar Item in ViewerForm 2026-05-18 12:57:35 +08:00
rich2014
34c7eb23c0 UPD: i18n for Modern ToolBar Item on middle side in ViewerForm 2026-05-18 12:28:06 +08:00
rich2014
44a15d3e09 UPD: i18n for Modern ToolBar Item on left side in ViewerForm 2026-05-18 11:49:08 +08:00
rich2014
79ccbfddb3 UPD: move translateItemConfig() from ucocoamodernformconfig_editor to ucocoamodernformconfig 2026-05-18 11:47:41 +08:00
rich2014
72d5efc80e UPD: adjust some Icons in Modern Tool Bar in ViewerForm on macOS 2026-05-18 11:09:32 +08:00
rich2014
6e5a8a4d21 UPD: hide the LCL Toolbar in ViewerForm on macOS 11+ again 2026-05-17 22:52:49 +08:00
rich2014
f0a56568d1 ADD: check Slide/PenWidth Modern Form ToolBar selected menu Item in ViewerForm on macOS 2026-05-17 22:44:09 +08:00
rich2014
ec59b39ddb UPD: Lazarus/Cocoa 4.99 compatible 2026-05-17 20:07:08 +08:00
rich2014
91d2178bc7 UPD: don't active quicksearch/filter when Fn Key held 2026-05-16 15:38:20 +08:00
rich2014
d8426b25b6 ADD: support 'Fn' key as modifier for ShortCut on macOS 2026-05-16 15:36:30 +08:00
Alexander Koblov
837cc08394 FIX: Process commands with single quotes (fixes #2862) 2026-05-15 17:40:43 +03:00
Alexander Koblov
d03fa06aee FIX: KASButton - incorrect enabled state 2026-05-15 17:40:43 +03:00
rich2014
198b296abc UPD: improve Paint Modern Tool Bar Item in ViewerForm on macOS 2026-05-15 20:50:46 +08:00
rich2014
65d7f5180c UPD: improve PenColor Modern Tool Bar Item in ViewerForm on macOS 2026-05-15 19:18:56 +08:00
Alexander Koblov
d002cdc373 UPD: Dialog position 2026-05-14 18:29:57 +03:00
Alexander Koblov
7c34dfe389 FIX: Blurry icons 2026-05-14 18:27:51 +03:00
rich2014
043cb97b90 UPD: apply ColorWell in PenColor Modern Tool Bar Item in ViewerForm on macOS 2026-05-14 21:40:55 +08:00
rich2014
97ca989239 UPD: apply emphasize icon in HighLight/Paint Modern Tool Bar Item in ViewerForm on macOS 2026-05-12 20:40:27 +08:00