Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[core] Modularize FileSource codebase #15768

Merged
merged 5 commits into from
Jan 13, 2020

Commits on Jan 10, 2020

  1. [core] Modularize FileSource codebase (#15768)

    * [core] Introduce FileSourceManager and use it for default platform impl
    
      - Add `FileSourceManager` interface that provides access to `FileSource`
        instances and means of registering / unregistering `FileSource` factories
      - Split `DefaultFileSource` into smaller parts
      - Add `DatabaseFileSource` interface and it's default implementation
      - Remove inter-dependencies between concrete `FileSource` classes
    
    * [build] Add files to next build system
    
    * [core] Add generic property setters / getters
    
    * [core] Remove setOnlineStatus from OnlineFileSource interface
    
    * [core] Hide threading implementation details from DatabaseFileSource interface
    
    * [core] Make DB file source methods virtual
    
    * [core] Add documentation for DatabaseFileSource and rename one method
    
    * [core] Use simple callback instead of ActorRef
    
    * [core] Remove ActorRef from OnlineFileSource public header
    
    * [core] Add callback to FileSource::forward async API
    
    * [core] Pass OfflineRegionDefinition by value
    
    * [core] Update tests to use modular file sources
    
    * [core] Update unit tests
    
    * [core] Update unit tests after rebase
    
    * [core] Backport low prio fix for cached requests
    
    * [core] Backport pack database
    
    * [core] Return removed factory from unRegisterFileSourceFactory
    
    * [core] Rename shadowed args in onlinefilesource
    
    * [core] Remove simple std::function callback aliases
    
    * [core] Expose online file source property keys in public header file
    
    * [test-runner] Add proxy file source test runner
    
    * [cache] Update mbgl-cache utility to use new file source
    
    * [metrics] Rebaseline binary size metrics
    
    * [offline] Update offline utility
    
    * [core] Update changelog
    alexshalamov committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    9b919af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f4b352 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ec2a256 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    aa8738a View commit details
    Browse the repository at this point in the history
  5. [android] Use new FileSourceManager interface

    Use new interface for android jni adaptation classes.
    alexshalamov committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    e1ed063 View commit details
    Browse the repository at this point in the history