Commit Graph

25 Commits

Author SHA1 Message Date
Stephen Anthony f7e6e61d8a Default to using system-wide libsqlite3 on Linux/UNIX systems.
Fix for slow exit from app in this mode is now fixed.
2022-12-18 21:18:56 -03:30
Stephen Anthony dfb64f05a8 Add missing directory separator that sometimes is missing in SQL database file. 2022-10-11 18:45:46 -02:30
Stephen Anthony d488b9c860 More 'const' conversion, with help from clang-15. 2022-09-13 22:52:59 -02:30
Stephen Anthony fc0a8c91a8 Second pass at fixes for suggestions from clang-tidy. 2022-08-21 13:53:52 -02:30
Stephen Anthony f987c3f72c Yay, got clang-tidy working again. First pass at fixing suggestions. 2022-08-20 15:32:15 -02:30
Stephen Anthony 11d2f34bcb Update copyright to 2022. Happy New Year! 2021-12-31 16:07:17 -03:30
Stephen Anthony 21438a82cc Yearly update to copyright for 2021. 2021-01-05 18:42:43 -03:30
Christian Speckner ba24fe7430 Refactoring: more fluent interfaces, improve const semantics. 2021-01-02 17:05:42 +01:00
Christian Speckner e06b58efaf Add a migration for an old settings DB (R77 style). 2021-01-02 16:06:44 +01:00
Christian Speckner 2e25d20554 Change DB name to stella, add migration for old stellarc file. 2021-01-02 15:45:35 +01:00
Christian Speckner 08cb68fea9 Tune sqlite build, remove the possibility of linking against system libsqlite3. 2021-01-02 14:39:12 +01:00
Christian Speckner eb33623749 Move error handling to SqliteDatabase, performance tuning. 2021-01-02 14:17:33 +01:00
Christian Speckner e8330f5600 Reimplement export / load of per-ROM properties. 2020-12-31 00:02:24 +01:00
Stephen Anthony 39b42bca55 Merge branch 'master' into feature/full-on-sqlite 2020-12-20 19:03:15 -03:30
Stephen Anthony b36729a825 Make variables initialized in c'tor initialization list use brace-syntax.
- This is on the advice of one of the static analyzers we use.
 - More classes have to be converted; this is only the first pass.
2020-12-20 12:06:10 -03:30
Stephen Anthony 00d241c67b Some fixes for suggestions from clang-tidy. 2020-12-16 16:24:46 -03:30
Stephen Anthony 162b13f3d1 Completely remove 'cfgfile' functionality, since the SQL backend uses the same name on all ports. 2020-12-16 00:28:41 -03:30
Stephen Anthony 9ad47ae5f3 Updated copyright to 2020. Happy New Year to anyone reading this! 2019-12-31 13:48:56 -03:30
Stephen Anthony 0c6f8bf381 More default initialization updates. 2019-12-28 22:36:40 -03:30
Stephen Anthony 48e9e81747 Convert remaining Logger functions to new API: fixes #515. 2019-08-14 12:02:04 -02:30
Christian Speckner ca96f20bc2 Make failure to checkpoint WAL non-fatal, make sure that early logs are not swallowed. 2019-05-04 20:38:13 +02:00
Christian Speckner cc5db6b330 Put DB in WAL mode. 2019-05-04 20:38:13 +02:00
Christian Speckner 6da1968845 Pacify compiler warning (and fix sqlite on windows). 2019-05-04 00:47:02 +02:00
Christian Speckner 8e22dc52b4 Log via Logger singleton, fixes races between logging and OSystem teardown. 2019-05-01 23:14:16 +02:00
Christian Speckner 017c2a7c16 Final refactoring & cleanup to generalize sqlite handling. 2019-05-01 11:42:22 +02:00