FreeFileSync/FreeFileSync-disable-in-app-updates.patch
Jannik Seiler 81b549558c Accepting request 1045531 from home:seil0:branches:network
- Update to 11.29
  - Fixed crash after 1-byte file copy from MTP device
  - Fixed incorrect installer z-order during auto-update (macOS)
  - Compress copied file only if target folder is marked as NTFS-compressed (Windows)
  - Show install errors without requiring access to "System Events" (macOS)
  - Fall back to creation time if modification time is missing on MTP device
  - Copy/paste filter config via operating system clipboard
  - Show FreeFileSync startup error message when called from RealTimeSync
  - Avoid server round trip when preparing summary email
  - Show path conflict warning aggregated into groups
  - Don't assume path conflict if single write and multiple ignored items
  - Fixed CTRL + Insert clipboard copy for some text controls (Windows, Linux)
- Changes from 11.28
  - Recover from corrupted database file
  - Save database files pair-wise as a transaction
  - Fixed FTP access for Xiaomi "File Manager"
  - Fixed filter full path detection for root directory (Linux/macOS)
  - Fixed recycle bin double initialization bug (Windows)
  - Fixed incorrect case-insensitive string comparison for i and ı
  - Round progress percentage numbers down
- Changes from 11.27
  - Fixed "Some files will be synchronized as part of multiple base folders" false-negative
  - Fixed "Unexpected size of data stream" for Google Drive
  - Fixed crash when downloading empty file from Google Drive
  - RealTimeSync: fixed ffs_batch not accepted as valid configuration
  - Fixed top buttons vertical GUI layout
  - Fixed progress dialog font on Ubuntu MATE
  - Support cut/copy/paste for filter settings
  - Fixed free disk space calculation if target folder not yet created
- Changes from 11.26
  - Faster file copy for SSD-based hard drives (Linux, macOS)
  - Don't fill the OS file cache during file copy (macOS)
  - Removed redundant memory buffering during file copy
  - Fixed ERROR_FILE_EXISTS on Samba share when copying files with NTFS extended attributes
  - Show warning when recycle bin is not available (macOS, Linux)
  - Customize config item background colors
  - Fixed macOS menu bar not showing after app start
  - Fixed normalizing strings with broken UTF encoding
  - Fixed sound playback not working (Linux)
  - Don't allow creating file names ending with dot character (Windows)
- Changes from 11.25
  - Fixed crash when normalizing Unicode non-characters
  - Fixed crash when accesssing Google Drive
  - Fixed regession for decomposed Unicode comparison
  - Fixed "exit code 106: --sign is required" error on macOS
  - Reset icon cache after each comparison
- Changes from 11.24
  - Enhanced filter syntax to match files only (append ':')
  - Fixed "Some files will be synchronized as part of multiple base folders": no more false-positives
  - Detect full path filter items and convert to relative path
  - Auto-detect FTP server character encoding (UTF8 or ANSI)
  - Cancel grid selection via Escape key or second mouse button
  - Apply conflict preview limit accross all folder pairs
  - Require config type and file extension to match
  - Fixed view filter panel vertical layout
  - Strict validation of UTF encoding

OBS-URL: https://build.opensuse.org/request/show/1045531
OBS-URL: https://build.opensuse.org/package/show/network/FreeFileSync?expand=0&rev=59
2022-12-27 17:26:17 +00:00

48 lines
2.7 KiB
Diff

diff -Naur FreeFileSync_11.29_Source_orig/FreeFileSync/Source/ui/gui_generated.cpp FreeFileSync_11.29_Source/FreeFileSync/Source/ui/gui_generated.cpp
--- FreeFileSync_11.29_Source_orig/FreeFileSync/Source/ui/gui_generated.cpp 2022-12-16 20:32:32.000000000 +0100
+++ FreeFileSync_11.29_Source/FreeFileSync/Source/ui/gui_generated.cpp 2022-12-25 16:40:47.704967137 +0100
@@ -108,13 +108,14 @@
m_menuItemHelp = new wxMenuItem( m_menuHelp, wxID_HELP, wxString( _("&View help") ) + wxT('\t') + wxT("F1"), wxEmptyString, wxITEM_NORMAL );
m_menuHelp->Append( m_menuItemHelp );
- m_menuHelp->AppendSeparator();
+ // disable update/auto update actions for packaged version (they are only hidden, to not break any code and keep the patch small)
+ //m_menuHelp->AppendSeparator();
m_menuItemCheckVersionNow = new wxMenuItem( m_menuHelp, wxID_ANY, wxString( _("&Check for updates now") ) , wxEmptyString, wxITEM_NORMAL );
- m_menuHelp->Append( m_menuItemCheckVersionNow );
+ //m_menuHelp->Append( m_menuItemCheckVersionNow );
m_menuItemCheckVersionAuto = new wxMenuItem( m_menuHelp, wxID_ANY, wxString( _("Check &automatically once a week") ) , wxEmptyString, wxITEM_CHECK );
- m_menuHelp->Append( m_menuItemCheckVersionAuto );
+ //m_menuHelp->Append( m_menuItemCheckVersionAuto );
m_menuItemCheckVersionAuto->Check( true );
m_menuHelp->AppendSeparator();
diff -Naur FreeFileSync_11.29_Source_orig/FreeFileSync/Source/ui/main_dlg.cpp FreeFileSync_11.29_Source/FreeFileSync/Source/ui/main_dlg.cpp
--- FreeFileSync_11.29_Source_orig/FreeFileSync/Source/ui/main_dlg.cpp 2022-12-16 20:32:32.000000000 +0100
+++ FreeFileSync_11.29_Source/FreeFileSync/Source/ui/main_dlg.cpp 2022-12-25 16:41:36.056820006 +0100
@@ -929,7 +929,7 @@
updateGui();
//register regular check for update on next idle event
- Bind(wxEVT_IDLE, &MainDialog::onStartupUpdateCheck, this);
+ //Bind(wxEVT_IDLE, &MainDialog::onStartupUpdateCheck, this);
//asynchronous call to wxWindow::Layout(): fix superfluous frame on right and bottom when FFS is started in fullscreen mode
Bind(wxEVT_IDLE, &MainDialog::onLayoutWindowAsync, this);
diff -Naur FreeFileSync_11.29_Source_orig/FreeFileSync/Source/ui/version_check.cpp FreeFileSync_11.29_Source/FreeFileSync/Source/ui/version_check.cpp
--- FreeFileSync_11.29_Source_orig/FreeFileSync/Source/ui/version_check.cpp 2022-12-16 20:32:32.000000000 +0100
+++ FreeFileSync_11.29_Source/FreeFileSync/Source/ui/version_check.cpp 2022-12-25 16:42:36.580635844 +0100
@@ -83,7 +83,9 @@
return false;
const time_t now = std::time(nullptr);
- return std::abs(now - lastUpdateCheck) >= 7 * 24 * 3600; //check weekly
+ //return std::abs(now - lastUpdateCheck) >= 7 * 24 * 3600; //check weekly
+
+ return false;
}