summaryrefslogtreecommitdiff
path: root/UCoreWorkers.pas
AgeCommit message (Collapse)AuthorFilesLines
2024-10-25Rework file copy/open-read-write-close data handlingv0.6.83Tomas Bzatek1-32/+39
Stick to the POSIX open(2), read(2), write(2), close(2) return values semantics, apply on the VFS interface. Also handle short reads and writes that are common for some gvfs backends. This makes cross-VFS copy work.
2024-10-23Sort global filelist in case of a streaming type archiveTomas Bzatek1-0/+6
Before this change sorting was done on each panel item separately. Streaming type archives (e.g. tar) needs strict sequential order as indicated by the inode_no and the global filelist to copy needs to be sorted once more. Tested on 7z2301-extra.7z
2024-10-23FillDirFiles: Ditch the SortForStream argumentTomas Bzatek1-2/+2
Always passed True, unused.
2024-10-23Full port to GErrorv0.6.81Tomas Bzatek1-379/+402
Started 15 years ago, picking up on that work. Introduced the new TUXCMD_ERROR domain to distinguish between operations or their steps. Plugins may continue reporting the G_IO_ERROR domain.
2011-08-05Do not use Inc() on Int64 and 32-bit architectureTomas Bzatek1-6/+6
Apparently another bug in FPC, let's avoid using Inc() for large numbers.
2010-02-14Show warning when some files are unreadablev0.6.76Tomas Bzatek1-121/+177
This will make user aware of what files will not be copied, chmodded or chowned.
2009-12-27Kylix fixes, cleanupTomas Bzatek1-42/+44
2009-12-25Sanitize Overwrite and DirDelete dialog response valuesTomas Bzatek1-101/+97
Also respect localized button accelerators
2009-12-16Worker thread arguments cleanupv0.6.75Tomas Bzatek1-229/+234
2009-12-13Set corresponding label and progress bar visibility in progress dialogTomas Bzatek1-785/+766
2009-12-13Consolidate ProcessProgressThread, make it more universalTomas Bzatek1-181/+197
2009-12-13Error system transformation to GErrorv0.6.74Tomas Bzatek1-164/+242
Note that most coreworkers are broken at the moment.
2009-11-30Fix duplicate files in the filelistTomas Bzatek1-1/+1
2009-11-29Fix callback setting for non-archiving modulesTomas Bzatek1-4/+4
2009-11-29Implement sorting for streamTomas Bzatek1-2/+2
Activated by default for testing purposes
2009-11-29Sort by inode number by defaultTomas Bzatek1-1/+1
2009-11-29Transform FillDirFiles input to allow sortingTomas Bzatek1-25/+24
2009-11-29Introduce copy operation start/stop callsv0.6.73Tomas Bzatek1-38/+51
This is the first step for a rapid extraction speed increase as we don't need to open&seek for every file. Sorting by inode is still need to be written but most archives work fine as they are. TODO: writing into the archive needs special care (see TODO in zip plugin)
2009-11-29Introduce inode_no propertyTomas Bzatek1-1/+1
2009-11-28Engine and VFS API cleanupv0.6.72Tomas Bzatek1-0/+2180
* also split threaded operations into UCoreWorkers.pas * symlinks should be properly resolved now, even in archives * no more relative/absolute path confusion * moved FillDirFiles outside engines, made it more universal