summaryrefslogtreecommitdiffstats
path: root/common/domainadaptor.h
Commit message (Collapse)AuthorAge
* Fixed a bunch of exportsChristian Mollekopf2018-04-20
|
* Fixed more warnings and then disabled themChristian Mollekopf2018-03-25
| | | | ..because there is a boatload more to fix.
* No more SINK_DEBUG_AREAChristian Mollekopf2017-05-12
|
* A single propertymapper for both directionsChristian Mollekopf2017-04-28
|
* Removed the resource mapperChristian Mollekopf2017-04-28
|
* Removed more unnecessary template argumentsChristian Mollekopf2017-04-28
|
* Removed the template argument from the write property mapperChristian Mollekopf2017-04-28
|
* Simplified propertymapperChristian Mollekopf2017-04-28
|
* Default domain adaptorChristian Mollekopf2017-03-21
|
* 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
|
* make contacts suitable for applications like sinkshSandro Knauß2017-01-30
|
* CleanupChristian Mollekopf2016-11-14
|
* Get access to properties in indexes.Christian Mollekopf2016-10-21
|
* TypeImplementation cleanupChristian Mollekopf2016-10-21
|
* Ported the pipeline to the 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.
* make it compileMichael Bohlender2016-09-04
|
* Fixed new diagnostics errorsChristian Mollekopf2016-07-13
|
* A new debug system.Christian Mollekopf2016-07-07
| | | | | | | | | | | | | | | Instead of a single #define as debug area the new system allows for an identifier for each debug message with the structure component.area. The component is a dot separated identifier of the runtime component, such as the process or the plugin. The area is the code component, and can be as such defined at compiletime. The idea of this system is that it becomes possible to i.e. look at the output of all messages in the query subsystem of a specific resource (something that happens in the client process, but in the resource-specific subcomponent). The new macros are supposed to be less likely to clash with other names, hence the new names.
* Catch errorsChristian Mollekopf2016-06-21
|
* Simpler facade and domaintypeadaptorfactory instantiationChristian Mollekopf2016-06-16
|
* Track modified properties to detect necessary replay changesChristian Mollekopf2016-06-03
|
* Run preprocessors before persising the value.Christian Mollekopf2016-05-08
| | | | And allow preprocessors to modify the result.
* Catch if we try to set a property when we can'tChristian Mollekopf2016-05-08
|
* Fromatted the whole codebase with clang-format.Christian Mollekopf2016-03-03
| | | | clang-format -i */**{.cpp,.h}
* Prepared sort indexesChristian Mollekopf2016-02-16
|
* 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
* Renamed Akonadi2 to SinkChristian Mollekopf2016-01-20
| | | | (except for documentation).
* CleanupChristian Mollekopf2015-12-31
|
* Separated DomainTypeAdaptorFactoryInterfaceChristian Mollekopf2015-11-21
|
* Added a folder typeChristian Mollekopf2015-11-09
|
* Made headers installable and install headersChristian Mollekopf2015-10-23
|
* CleanupChristian Mollekopf2015-10-21
|
* Added support for mails to akonadi and the dummyresource.Christian Mollekopf2015-09-08
| | | | Adding new types definitely needs to become easier.
* Untangled the include dependencies a bit.Christian Mollekopf2015-08-13
| | | | We no longer depend on clientapi.h from everywhere.
* DebuginfoChristian Mollekopf2015-07-23
|
* Allow passing in the metadataChristian Mollekopf2015-07-14
| | | | Perhaps this should also happen in the form of properties?
* Removed unnecessary template parameterChristian Mollekopf2015-07-14
|
* Generalized creating the buffer.Christian Mollekopf2015-06-01
|
* Use type implementation to define default buffer and buffer-builderChristian Mollekopf2015-05-31
|
* Moved default read/write property mapper to TypeImplementationChristian Mollekopf2015-05-31
| | | | | There is always exactly one default buffer that we can centralize in TypeImplementation.
* Moved complete writing part to GenericFacadeChristian Mollekopf2015-04-19
|
* Further simplify writing of buffer adaptors.Christian Mollekopf2015-04-12
| | | | Still not quite there but we're avoiding the bulk of duplication by now.
* More generic domainadpator code.Christian Mollekopf2015-04-12
| | | | | This should cover read and write for entites that have a 1:1 mapping to the resource buffers.
* checkpointChristian Mollekopf2015-04-10
|
* Moved generic parts of the domain adaptor to commonChristian Mollekopf2015-04-09
|
* Renamed Akonadi::Domain to Akonadi::ApplicationDomainChristian Mollekopf2015-04-09
| | | | Because it's really the application domain and not the akonadi domain.