Commit Graph

23 Commits

Author SHA1 Message Date
Robert Knight 4f13ad97b7 Add a note that bzip2 compression with the 'zip' tool requires a recentish version of zip
Looking at some of my test systems:

 * Mac OS 10.5's 'zip' lacks bzip2
 * Mac OS 10.6's 'zip' supports bzip2
 * Debian Lenny's 'zip' lacks bzip2
 * On Windows it depends what version of cygwin is being used.  The version we are currently
   using on build-windows (zip 3.0) supports bzip2.
2011-09-05 10:05:06 +01:00
Robert Knight 39809d4713 Add a note to try using bzip2 instead of the standard compression.
In brief testing, this reduced the file size of an all-in-one zip package
by several MB.  Provided that the zip library can support bzip2 decompression
on all platforms, this would be an easy win to reduce download sizes.
2011-09-04 16:59:46 +01:00
Robert Knight 000eea3553 Update TODO file 2011-08-30 12:38:59 +01:00
Robert Knight 86d61fdb4a Update TODO file.
Add a note in the TODO file about binary patches.
2011-08-30 11:06:33 +01:00
Robert Knight 0fc706264a Add a note in the TODO file about preventing multiple simultaneous updates 2011-08-30 11:03:49 +01:00
Robert Knight b7d999b2c8 Update TODO file 2011-08-29 21:45:02 +01:00
Robert Knight cdf2c2c6ba Update TODO file 2011-08-29 18:49:26 +01:00
Robert Knight af41002e2e Update the TODO file
The ability to prompt the user to Retry/Cancel file writes during installation is less
necessary now that we can move files that are in use.  Without retry/cancel support
the update installation will just be canceled if it fails.
2011-08-26 14:22:12 +01:00
Robert Knight bf56d5a2fe Add a note about possibly using the transactional features of NTFS in Windows >= Vista for more robust update installation in future. 2011-08-26 13:15:06 +01:00
Robert Knight ef6809e0fe Fix updater cleanup of temporary directory on Windows
* On Windows FileOps::removeFile() fails for updater.exe
   since that file is in use by the current process.

   Whilst it is not possible to remove the file whilst it
   is in use, it can be moved or scheduled for deletion on reboot.

   This commit changes FilesOps::removeFile() to simulate the
   behavior of unlink() on Linux by moving in-use files to
   a temporary directory and then scheduling for them to
   be removed on restart.
2011-08-26 12:55:09 +01:00
Robert Knight d705095fe9 Update the TODO file with new tasks 2011-08-26 11:16:26 +01:00
Robert Knight 3a747ad557 Add note about looking for better solution to overwriting files in use during Windows updates 2011-08-25 14:34:29 +01:00
Robert Knight d1848ff35a Update TODO file 2011-08-24 16:53:18 +01:00
Robert Knight 82de2a91f8 Update TODO file 2011-08-24 12:29:43 +01:00
Robert Knight b1216d73b8 Update TODO file 2011-08-24 12:17:08 +01:00
Robert Knight 36a296204c Add a further TODO entry 2011-08-23 20:32:12 +01:00
Robert Knight 812cf89c07 Update the TODO file with finished tasks and new tasks 2011-08-23 20:26:41 +01:00
Robert Knight 28b9d50f0a Update the TODO file after Mac testing and make a note that elevation on Mac only works when running the app directly on the Mac (as opposed to over an SSH session). 2011-08-22 14:55:31 +01:00
Robert Knight d295b0323c Add support for the old-format updater command-line syntax.
The old syntax uses a series of Key=Value pairs, instead of
the more standard "--key value" syntax.

This is required so that the old Mendeley Desktop versions can
launch the new updater.
2011-08-22 12:59:08 +01:00
Robert Knight 2f7a131cb4 Add task to start the installed application once the update install is complete to the TODO list 2011-08-22 00:41:58 +01:00
Robert Knight f7f6eddbbe Add note about need to implement setting of file permissions under Unix and Windows 2011-08-22 00:36:08 +01:00
Robert Knight 9a0bee0358 Implement elevation under Linux using one of kdesudo, gksudo or gksu
* Add FileOps::fileName() to get the base name for a file
 * Add ProcessUtils::runSync() to run a process, wait for it to exit and then
   return the status code from that process.
 * Change ProcessUtils::runAsyncUnix() to use execvp() in order to search PATH
   for the specified binary if the filename is not absolute.
2011-08-22 00:32:33 +01:00
Robert Knight 012813fa13 Add TODO file listing remaining tasks to do before the standalone updater can be used to replace the existing system. 2011-08-21 23:54:34 +01:00