summaryrefslogtreecommitdiffstats
path: root/common/CMakeLists.txt
Commit message (Collapse)AuthorAge
* Use LMDB_LIBRARIESChristian Mollekopf2017-10-20
|
* Avoid storing the password in the configurationChristian Mollekopf2017-09-18
| | | | | | | The password (or any other secret), is now cached in the client process (in-memory only), and delivered to the resource via command. The resource avoids doing any operations against the source until the secret is available.
* Use imported targets instead of qt5_use_modulesHeiko Becker2017-07-29
| | | | | | | | | | | | | | | | | | | From Qt's documentation: "This macro is obsolete. Use target_link_libraries with IMPORTED targets instead." It's only recommended with cmake >=2.8.9 & < 2.8.12. Sink already requires cmake 3.0. One advantage of using the imported targets is, that cmake complains if a target isn't found before it's used, like Qt5Concurrent missing from the find_package_call here. Reviewers: #sink, cmollekopf Reviewed By: #sink, cmollekopf Subscribers: #sink Tags: #sink Differential Revision: https://phabricator.kde.org/D6361
* Move type implementations in one placeChristian Mollekopf2017-03-21
| | | | | | | Having them separated is rather pointless (since we need one for every type, and all types are the interface of sink, as one), and caused quite a bit of friction when adding new types. This will also make it easier to change things for all types.
* Addressbook supportChristian Mollekopf2017-03-09
|
* Adapt to KAsync changesChristian Mollekopf2017-03-01
|
* cmake cleanup and set the version in project()Christian Mollekopf2017-03-01
|
* Set the version in the main CMakeLists.txtChristian Mollekopf2017-03-01
|
* Bumped version to 0.1.0Christian Mollekopf2017-03-01
|
* PropertyParser to properly parse different property types.Christian Mollekopf2017-02-16
|
* Only use in the public interface what we have to use.Christian Mollekopf2017-02-01
|
* extract datas from VCardSandro Knauß2017-01-30
|
* Add Contact as new domain typeSandro Knauß2017-01-30
|
* Fixed buildChristian Mollekopf2016-11-30
|
* Renamed RemoteIdMap to SynchronizerStoreChristian Mollekopf2016-11-28
|
* Moved inspection commands to a separate inspector.Christian Mollekopf2016-11-28
|
* Move the commandprocessor to a separate file.Christian Mollekopf2016-11-28
|
* Added the flush command.Christian Mollekopf2016-11-25
| | | | | | | Instead of trying to actually flush queues, we send a special command through the same queues as the other commands and can thus guarantee that the respective commands have been processed without blocking anything.
* Folded the SourceWriteback into the Synchronizer.Christian Mollekopf2016-11-21
| | | | | | | | | | | | By concentrating all communication to the source in one place we get rid of several oddities. * Quite a bit of duplication since both need access to the synchronizationStore and the source. * We currently have an akward locking in place because both classes access the ync store. This is not easier to resolve cleanly. * The live of resource implementers becomes easier. * An implementation could elect to not use changereplay and always do a full sync... (maybe?)
* Notification debug stream operator.Christian Mollekopf2016-11-10
|
* A new indexer subsystem that can be used for indexes that are moreChristian Mollekopf2016-10-21
| | | | complex than a simple key-value pair.
* Removed EntityReaderChristian Mollekopf2016-10-21
|
* Removed the now obsolete EntityStoreChristian Mollekopf2016-10-21
|
* Refactor how the storage is used.Christian Mollekopf2016-10-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the initial refactoring to improve how we deal with the storage. It does a couple of things: * Rename Sink::Storage to Sink::Storage::DataStore to free up the Sink::Storage namespace * Introduce a Sink::ResourceContext to have a single object that can be passed around containing everything that is necessary to operate on a resource. This is a lot better than the multiple separate parameters that we used to pass around all over the place, while still allowing for dependency injection for tests. * Tie storage access together using the new EntityStore that directly works with ApplicationDomainTypes. This gives us a central place where main storage, indexes and buffer adaptors are tied together, which will also give us a place to implement external indexes, such as a fulltextindex using xapian. * Use ApplicationDomainTypes as the default way to pass around entities. Instead of using various ways to pass around entities (buffers, buffer adaptors, ApplicationDomainTypes), only use a single way. The old approach was confusing, and was only done as: * optimization; really shouldn't be necessary and otherwise I'm sure we can find better ways to optimize ApplicationDomainType itself. * a way to account for entities that have multiple buffers, a concept that I no longer deem relevant. While this commit does the bulk of the work to get there, the following commits will refactor more stuff to get things back to normal.
* Moved standard quries to a separate header.Christian Mollekopf2016-10-06
|
* Refactored the query part of the entity reader into DataStoreQuery.Christian Mollekopf2016-09-19
| | | | | | | | | DataStoreQuery now encapsulates the low-level query that operates directly on the storage. It no longer has access to the resource buffers, and is instantiated by the type implementation, so we can specialize the query alogorithm per type, but not per resource. This will allow us to implement the threading queries for the mailtype.
* Share special purpose preprocessor implementation.Christian Mollekopf2016-06-25
|
* Moved mailpreprocessors to a shared locationChristian Mollekopf2016-06-19
|
* Moved query logic to EntityReader to make it reusable in the resource.Christian Mollekopf2016-06-09
|
* Moved the classes to individual filesChristian Mollekopf2016-05-28
|
* Refactored the generic resource to use separate classes forChristian Mollekopf2016-05-28
| | | | | | | | changereplay and synchronization. This cleans up the API and avoids the excessive passing around of transactions. It also provides more flexibility in eventually using different synchronization strategies for different resources.
* Account filter for resources and contains comparator in queryChristian Mollekopf2016-05-01
|
* Use ConfigStore for accountsChristian Mollekopf2016-04-11
|
* Fixed accounts supportChristian Mollekopf2016-03-15
|
* A test helper to avoid writing to the data directory.Christian Mollekopf2016-03-15
|
* Fetch more data on demandChristian Mollekopf2016-02-20
| | | | | | | | We skip values we've already seen and only retrieve the new ones. This currently only properly works in a non-live query and we don't give the model any feedback when we can't fetch more data anymore. However, it generally works and we get the desired effect.
* clientapi.h goes Poof!Christian Mollekopf2016-02-10
|
* Moved Notifier and ResourceAccess to separate files.Christian Mollekopf2016-02-10
|
* Moved Store to separate fileChristian Mollekopf2016-02-10
|
* Use Sink instead of SinkCommonChristian Mollekopf2016-02-09
|
* Insall sincommon_export.hChristian Mollekopf2016-01-31
|
* Explicitly state visibilityChristian Mollekopf2016-01-31
| | | | | | | | | This cuts the exportet symbols from 12k to 2k and the library size from 16Mb to 14Mb, which isn't great but still an improvement. About 30% of the symbols are coming from the Store:: interface. nm -C -D /work/install/lib64/libsinkcommon.so.0.1
* clang analyze targetChristian Mollekopf2016-01-30
|
* Sink is not a frameworkChristian Mollekopf2016-01-21
|
* Renamed Akonadi2 to SinkChristian Mollekopf2016-01-20
| | | | (except for documentation).
* Install new headersChristian Mollekopf2016-01-20
|
* Merge remote-tracking branch 'origin/dev/hefee' into dev/inspectionChristian Mollekopf2016-01-19
|\
| * export propper files to link against via cmakeSandro Knauß2016-01-11
| |
* | Draft of inspection APIChristian Mollekopf2016-01-18
|/
* unqlite is a dead end; time to start pruning these thingsAaron Seigo2015-12-25
|