Commit Graph
4099 Commits
Author SHA1 Message Date
Zorg d182b28d09 Rename AppcastDownloader service to TemporaryDownloader 2016-05-26 18:27:15 -04:00
Zorg c5026976ee Rename UpdateDownloader service to PersistentDownloader 2016-05-26 18:10:07 -04:00
Kornel 8b56fba39b Merge pull request #814 from DivineDominion/master
add Carthage & CocoaPods compatibility indicators to README
2016-05-26 11:06:42 +01:00
Christian Tietze db232a263b add CocoaPods indicator 2016-05-26 10:44:15 +02:00
Christian Tietze 4d952e9961 add Carthage indicator 2016-05-26 10:43:29 +02:00
Kornel Lesiński 64fd27d918 Fix 10.7 compat in new code 2016-05-22 23:09:23 +01:00
Kornel Lesiński 666e86b0bb Merge remote-tracking branch 'origin/master' into nsparse
* origin/master: (31 commits)
  Fix indentation with bspatch.c
  Fix warnings for bsdiff.c
  Improve error handling on readfile()
  Don't forget to free the buffer on failure
  Don't exit the program on failure for bsdiff.c
  Don't exit the program on failure for bspatch.c
  Use FILE* functions in bspatch.c
  Use FILE* (fopen/fread/etc) functions for bsdiff.c
  Fix warnings for bspatch
  Don't hide warnings for bsdiff/bspatch
  Reorganize checks for clarity
  Update changelog
  Update screenshot with new logo.
  Remove Sparkle.png. This does not appear to be used anywhere anymore.
  Set correct DPI for all images (72 for @1x, 144 for @2x).
  Assign newly added icon images in asset catalog (#801) (#804)
  Update app icon for Autoupdate.app (#347)
  Updated sponsored by text and links (#800)
  Upgrade warning to alert for signing update over HTTP with no DSA key
  Clear update caches directory before downloading new update
  ...
2016-05-22 23:09:08 +01:00
Kornel 601b4a7a7f Merge pull request #811 from zorgiepoo/bsdiff-fixes
bsdiff fixes
2016-05-22 22:31:12 +01:00
Zorg c9cb670761 Improve codesign_xpc script by taking files instead of a directory 2016-05-21 19:55:37 -04:00
Zorg cd135d9b10 Add log to see if remote message service gets interrupted 2016-05-21 00:07:36 -04:00
Zorg 1084071810 Enable automatic termination if creating CFMessagePort fails 2016-05-20 23:58:31 -04:00
Zorg dd0230e6c2 Use ASL_LEVEL_ERR instead of "3" 2016-05-20 21:57:47 -04:00
Zorg d463db5742 Protect RemoteMessagePort service terminating prematurely 2016-05-20 18:28:07 -04:00
Zorg e3795194d6 Set completion handler to nil when download fails 2016-05-20 18:26:53 -04:00
Zorg cb5cf9aa69 self can't be nil here 2016-05-20 16:35:09 -04:00
Zorg 0a53d51d89 Don't send NSURLResponse objects over XPC or to the user driver
This class doesn't support NSSecureCoding in OS X 10.8, so this fixes a crash there.
2016-05-19 21:52:50 -04:00
Zorg 4a0837a500 Add wrapper class over NSURLRequest that implements NSSecureCoding
This fixes a crash on OS X 10.8 where NSURLRequest didn't implement secure coding there
2016-05-19 21:21:50 -04:00
Zorg 83fe6adcba Make sure XPC versions are synced with the framework version 2016-05-19 19:29:47 -04:00
Zorg 7c06ceb7e4 Set version info for XPC services 2016-05-18 22:28:02 -04:00
Zorg 4661fee388 Deal with byte order when sending installation progress 2016-05-18 20:08:01 -04:00
Zorg 1a952227a7 Replace assert(false/NO) with abort() 2016-05-18 19:15:01 -04:00
Zorg eec2eca0c2 Document SULog and its intended use case 2016-05-18 19:04:41 -04:00
Zorg a8dd49acad On second thought, stick to using NSLog for DEBUG warning 2016-05-18 19:03:13 -04:00
Zorg 3826b35bc2 Explain why NSLog is being used here. 2016-05-18 18:53:30 -04:00
Zorg 4ba3673dfd Use SULog over NSLog in a couple of places now 2016-05-18 18:52:25 -04:00
Zorg 72d63f3992 Print friendly error messages in sparkle-cli 2016-05-18 18:51:47 -04:00
Zorg 346f996942 Re-write logging functionality
1. Use Apple's logging system (ASL) - don't invent our own inefficient mechanism.
2. Logging is not dependent on a global file that any process and thread using Sparkle can write to now, which could also be cleared at any point before.
3. Don't write to stderr on non-debug builds. This is ideal for sparkle-cli utility.
2016-05-18 18:48:01 -04:00
Zorg 3b05179ccf Don't litter status messages with SULog
We should just stick to logging errors
2016-05-18 18:01:02 -04:00
Zorg 1316707136 Fix indentation with bspatch.c 2016-05-16 22:30:48 -04:00
Zorg e485baf8b8 Fix warnings for bsdiff.c 2016-05-16 22:20:35 -04:00
Zorg d71fe4a17d Improve error handling on readfile() 2016-05-16 22:05:53 -04:00
Zorg f990f5fcfc Don't forget to free the buffer on failure 2016-05-16 22:05:43 -04:00
Zorg 07ac154e2e Don't exit the program on failure for bsdiff.c 2016-05-16 22:05:29 -04:00
Zorg 48eb25fbf3 Don't exit the program on failure for bspatch.c
We call warn type functions instead of err ones now and do some cleanup
2016-05-16 22:05:19 -04:00
Zorg 914bf9e333 Use FILE* functions in bspatch.c 2016-05-16 22:04:44 -04:00
Zorg 271b7a1daf Use FILE* (fopen/fread/etc) functions for bsdiff.c
This way we don't have to handle EINTR
2016-05-16 22:01:41 -04:00
Zorg c11c660f22 Fix warnings for bspatch 2016-05-16 21:58:32 -04:00
Zorg 0e2fe68399 Don't hide warnings for bsdiff/bspatch 2016-05-16 21:57:19 -04:00
Zorg 159c16fc12 Improve error handling on readfile() 2016-05-16 19:25:39 -04:00
Zorg 71330366d8 Don't forget to free the buffer on failure 2016-05-16 19:22:34 -04:00
Zorg a1b6cbb5e2 Don't exit the program on failure for bsdiff.c 2016-05-16 19:15:57 -04:00
Zorg e1af0264de Don't exit the program on failure for bspatch.c
We call warn type functions instead of err ones now and do some cleanup
2016-05-16 19:02:00 -04:00
Zorg 7056ccb321 Use FILE* functions in bspatch.c 2016-05-16 18:21:52 -04:00
Zorg 77ad42aab6 Use FILE* (fopen/fread/etc) functions for bsdiff.c
This way we don't have to handle EINTR
2016-05-16 10:57:42 -04:00
Zorg fa36cb300b Add exception handling to secure coding archivers/unarchivers 2016-05-14 23:27:59 -04:00
Zorg 8b19b0e1b4 Adding todo to implement showing linked release notes from popup user driver 2016-05-14 21:57:41 -04:00
Zorg fbb9fbf535 Add showing release notes from sparkle-cli 2016-05-14 21:56:35 -04:00
Zorg 1446acf519 Add methods onto user driver show showing linked release notes
These release notes are downloaded while showing that the new update is found
2016-05-14 21:45:25 -04:00
Zorg 95416e4f65 Add SUURLDownload specifically for downloading temporary files 2016-05-13 22:11:47 -04:00
Kornel 852965d824 Merge pull request #807 from sparkle-project/seccheck
Simpler conditions for security config check
2016-05-12 23:19:08 +01:00