subsurface/packaging
Berthold Stoeger 634152ae43 filter: add filter constraint object to the core
Adds a filter constraint object to the core, which represents one
constraint the user can filter dives with. The plan is to write these
constraints to the XML and git logs. Therefore, this code is written
in C-style except when it comes to handling strings and dates, which
is just too painful in plain C.

There is one pointer to QStringList in the class, though when compiled
with C, this is simply transformed into a pointer to void. Granted,
that smells of an ugly hack. However it's more pragmatic than
self-flaggelation with C string and list handling.

A filter constraint is supposed to be a very general thing, which can
filter for strings, multiple-choice lists, numerical ranges and date
ranges.

Range constraints have a range mode: less-or-equal, greater-or-equal
or in-range. Text constraints have a string mode: startswith, substring
or exact.

All the data are accessed via setter and getter functions for
at least basic levels of isolation, despite being written with
a C-interface in mind.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-09-29 16:13:03 -07:00
..
android Android: install translations into the right place 2020-05-27 12:41:14 -07:00
headless Preserve wiki pages about headless Subsurface from trac wiki 2018-01-19 15:25:37 +01:00
ios filter: add filter constraint object to the core 2020-09-29 16:13:03 -07:00
macosx build-system/macOS: change signing to re-enable notarization 2020-09-13 18:34:36 -07:00
OBS build-system: update OBS spec file 2020-09-28 11:19:21 -07:00
ubuntu build-system/packaging: add bluez dependency for Linux builds 2020-09-19 19:26:56 -07:00
windows build-system: document how to create a Windows installer 2020-09-28 10:38:08 -07:00