Skip to content
Snippets Groups Projects
  1. Nov 15, 2015
  2. Nov 14, 2015
  3. Nov 13, 2015
  4. Nov 12, 2015
  5. Nov 09, 2015
  6. Nov 08, 2015
    • Daniel Martí's avatar
      Merge branch 'download-local-files-through-fdroid' into 'master' · 3e44ab24
      Daniel Martí authored
      Never fallback to UIL for handling image downloads, only use for displaying.
      
      @relan picked up a bug I introduced while refactoring the icon downloading code in !139. This fixes that bug.
      
      Our `IconDownloader` extended `BaseImageDownloader` from UIL. There was an
      explicit check in the F-Droid `IconDownloader` which looks for
      HTTP/HTTPS/Bluetooth schemes. If it wasn't one of these, it fell back
      to the base class. This was what was happening for local cached image
      files. As such, when the `getInputStream(...)` method was refactored
      to only use F-Droids `DownloadFactory` and not delegate to the base class,
      it failed on local "file://" URLs.
      
      This change introduces a `LocalFileDownloader` and makes the `DownloaderFactory`
      aware of it.
      
      The `BaseImageDownloader` class only provides support for the following schemes:
      
       * HTTP
       * HTTPS
       * File
       * Android content providers
       * Android assets
       * Android drawables
      
      F-Droid now supports HTTP, HTTPS, and File URLs. There is not currently any
      need for content proiders, assets or drawables to get icons for apps in F-Droid.
      If there is a need in the future (e.g. an issue currently discusses loading
      icons from installed apps if possible) then that specific `Downloader` can get
      introduced to solve the problem.
      
      See merge request !164
      3e44ab24
  7. Nov 07, 2015
    • Peter Serwylo's avatar
      Never fallback to UIL for handling image downloads, only use for displaying. · 1a5bd84f
      Peter Serwylo authored
      Our `IconDownloader` extended `BaseImageDownloader` from UIL. There was an
      explicit check in the F-Droid `IconDownloader` which looks for
      HTTP/HTTPS/Bluetooth schemes. If it wasn't one of these, it fell back
      to the base class. This was what was happening for local cached image
      files. As such, when the `getInputStream(...)` method was refactored
      to only use F-Droids `DownloadFactory` and not delegate to the base class,
      it failed on local "file://" URLs.
      
      This change introduces a `LocalFileDownloader` and makes the `DownloaderFactory`
      aware of it.
      
      The `BaseImageDownloader` class only provides support for the following schemes:
      
       * HTTP
       * HTTPS
       * File
       * Android content providers
       * Android assets
       * Android drawables
      
      F-Droid now supports HTTP, HTTPS, and File URLs. There is not currently any
      need for content proiders, assets or drawables to get icons for apps in F-Droid.
      If there is a need in the future (e.g. an issue currently discusses loading
      icons from installed apps if possible) then that specific `Downloader` can get
      introduced to solve the problem.
      1a5bd84f
    • F-Droid Translatebot's avatar
      Pull translation updates from Weblate · 447dbe73
      F-Droid Translatebot authored
      Translators:
      
      ageru                French
      Phạm Nguyễn Hoàng    Esperanto
      Phạm Nguyễn Hoàng    Vietnamese
      447dbe73
Loading