Commit Graph

118 Commits

Author SHA1 Message Date
Klaus Basan
61a140a5a4 Ref T32, add query parameter for swift application 2017-04-21 03:12:39 +02:00
Klaus Basan
6c76e0fea6 refs #935, globalsetup.cpp(369): warning C4503 2017-04-19 19:31:16 +01:00
Klaus Basan
f2d89bf56c Fixed misc. things for bootstrap file/reader
* added help URL
* added swift map URL
* fixed typo for crash report server
* added more failover servers
2017-04-19 19:30:58 +01:00
Klaus Basan
9ec452f1c4 Minor, string building 2017-04-18 00:07:10 +01:00
Klaus Basan
9faad01c8b refs #921, changed setup/reader to distribution URL 2017-04-18 00:07:08 +01:00
Klaus Basan
cbf69d9847 refs #921, remove UpdateInfo class (now distribution list) 2017-04-18 00:06:37 +01:00
Klaus Basan
d918ee4cfd refs #883, class for storing the launcher state
* removed DBus setting (causing crash as it was shared among launcher/pilot client, so using cache)
* also remember UI values
2017-02-24 15:21:54 +00:00
Klaus Basan
dd37945625 refs #883, added new "directories"
* directories for in buildconfig/globalsetup
* renamed to CBuildConfig::getSwiftShareDir
2017-02-24 15:21:47 +00:00
Klaus Basan
dcaa745e7b refs #787, utility functions for shared files
* entity to shared file, shared file for DB Info
* CUrl path function
* removed redundant code in CDbInfo::getEntity() and fixed CEntityFlags::singleEntityByName
2016-12-06 09:35:00 +01:00
Klaus Basan
c02cbcb952 Updated some documentation based on a brief slack discussion with MG 2016-12-06 09:34:37 +01:00
Klaus Basan
de7821ff86 refs #781, use admit in database reader
* added amit functions in readers
* cacheHasChanged functions (needed because data of caches are loaded in background)
* pinned small caches
* CDatabaseReader::readInBackgroundThread uses admitCaches now
2016-12-06 09:34:35 +01:00
Klaus Basan
65950e4518 refs #758, updated bootstrap file and removed old URLs
* replaced some hardcoded URLs
* removed swiftTeamDefaultServers()
* bootstrap.json
2016-12-06 09:33:41 +01:00
Klaus Basan
fb8f6e9b7f refs #748, airport reader setup
* removed functions for old file URL
* added URL functions for DB data
2016-12-06 09:33:39 +01:00
Klaus Basan
87e8465d6a refs #756, use session user object 2016-12-06 09:33:31 +01:00
Michał Garapich
39dae7ed45 Fix possible memleak in CDatabaseWriter
* CApplication network methods cleanup
2016-08-26 00:18:41 +02:00
Michał Garapich
1032b2f506 refs #650 Implement CAirportDataReader
* Add BlackCore::CAirportDataReader class
* Add cache traits for airport list
* Add corresponding WebReaderFlag
* Add CAirport::convertFromDatabaseJson()
* Add CApplication::headerFromNetwork() to handle HTTP HEAD method
2016-08-26 00:18:41 +02:00
Roland Winklmeier
e47aec223e Integrate Crashpad crash handler into CApplication
Crash handler launches an external crash handler executable called
swift_crashpad_handler. It monitores the parent process and produces
a local dump in case of a crash.
For release builds, the dump is also uploaded to a crash report server.

refs #490
2016-08-09 17:51:57 +02:00
Mathew Sutcliffe
0ae1e70923 refs #697 Data cache traits renamed with T prefix. 2016-08-03 02:20:27 +01:00
Klaus Basan
ebcd738a4b refs #709, fixed initial version displayed
(was not called when data were not updated)
2016-07-28 21:08:12 +02:00
Klaus Basan
7c9328b868 URLs for airports (slack discussion with MG) 2016-07-14 18:49:30 +02:00
Klaus Basan
8412ab9917 follow up of #698 and optimized VATSIM cache
(do not set if equal)
2016-07-12 03:37:40 +02:00
Klaus Basan
8d5020d78e Some Web readers adjustemnts
* do not init shared URLs before needed
* do not load info objects when DB is unavailable
* adjust reader flags when DB is down
* airport URL available in setup
2016-07-03 13:22:26 +02:00
Klaus Basan
b4a9531357 refs #690, remember last login data
* cache/setting for last values
* integrated in login component
* allow to set default value for server selection
2016-06-29 15:38:13 +02:00
Klaus Basan
c133ad04c7 refs #681, using FSD setup in server 2016-06-29 15:38:10 +02:00
Klaus Basan
83d0234d3c refs #680, call help URL from menu
* added central functionality in CGuiApplication
* function in global setup for URL
2016-06-23 20:13:36 +02:00
Klaus Basan
2a99bed0cd refs #656, MS review items https://dev.vatsim-germany.org/issues/656#note-4
Remove defaultValue where not needed
2016-06-08 18:21:03 +02:00
Klaus Basan
332d8e5fc8 refs #649, added caches to model data reader
* trait
* const fix distributor list
2016-06-08 18:21:00 +02:00
Klaus Basan
e6f0db73c5 refs #656, using deferred for large caches 2016-06-08 18:20:36 +02:00
Klaus Basan
467f37db7f refs #649, added check for changed base URL to database reader
(continued #649 after fixes of #664)
2016-06-08 18:20:35 +02:00
Klaus Basan
239f410cef refs #649, info reader and shared URLs 2016-06-08 03:59:04 +02:00
Klaus Basan
74638c4c10 refs #649, caches for DB data 2016-06-08 03:59:03 +02:00
Mathew Sutcliffe
4c08d1cc86 refs #659 Use constexpr with isPinned method of data cache traits. 2016-05-26 19:57:22 +01:00
Roland Winklmeier
2d8f56a598 Link CBuildConfig and CVersion into static library blackconfig
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.

refs #645
2016-05-24 13:12:23 +02:00
Roland Winklmeier
933271b828 Fix BlackCore header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-13 17:06:00 +02:00
Klaus Basan
0f5d2a29a8 refs #655, Change signature (order) of setProperty/compareProperty 2016-05-13 16:44:17 +02:00
Klaus Basan
d0daad7d34 refs #642, fixed setup loading, in same step refs #636 clear cache
* changed signals in setup reader
* explicit mode is default
* detailed information what is loaded
* new log pattern
* allow to add message list to log component
* allow to clear cache by cmd line arg
* consolidated cmd names
2016-05-05 20:49:13 +02:00
Mathew Sutcliffe
7b04a20e9f refs #653 Make small cache values pinned, so they are sync loaded at start. 2016-05-05 15:25:07 +01:00
Klaus Basan
efe6d9f183 refs #633, cleaned up resource dir
* removed local.env.template
* fixed path in global setup class
* removed timestamp check from gloabl setup (problem when switching URLs)
2016-04-11 20:16:16 +02:00
Mathew Sutcliffe
4e9d7d3efe refs #628 Metaclass style compatible with the AStyle beautifier. 2016-04-06 15:15:12 +01:00
Mathew Sutcliffe
4bd4baa535 refs #628 Use the metaclass mixins in all value classes. 2016-04-03 18:17:43 +01:00
Roland Winklmeier
d379f14133 Introduce build config template buildconfig.h.in
refs #625
2016-03-31 17:12:01 +02:00
Klaus Basan
c339a3d1e0 refs #619, use a combined cache class
* moved caches to blackmisc
* used CModelCaches in loader
* applied changes in simulator specific loader classes
* renamed find function to findFirstByModelStringOrDefault
* made merge function static so it can be used elsewhere
2016-03-30 13:41:51 +02:00
Klaus Basan
703a43c6fb refs #621, allow to load setup from resource dir file
* CValueObjects can be loaded from JSON file
* get bootstrap file location
2016-03-30 13:41:45 +02:00
Klaus Basan
87a0c75f43 refs #621, use getXX for setup members, no idea why I have not used our standard 2016-03-30 13:41:44 +02:00
Klaus Basan
1eb65a873c refs #610, VATSIM status file
* automatically load status file
* keep VATSIM data file locations
* use METAR/datafile locations from bootstrap or VATSIM status file
2016-03-18 01:10:12 +00:00
Klaus Basan
06bcbe2a2f refs #607, use cached FSD servers and voice servers. So in case read fails last good data could be used. 2016-03-18 01:10:09 +00:00
Klaus Basan
55a0ab7b48 refs #485, renamed the trait for authenticated user to AuthenticatedDbUser
* there is no single authenticated user, this one has a specific usage
* adjusted classed
* formatting
2016-03-18 01:09:39 +00:00
Klaus Basan
f27d130df9 refs #485, VATSIM data to be cached 2016-03-18 01:09:37 +00:00
Klaus Basan
f4cbfc2fa9 refs #603, new CMD args, formerly passed by env.vars
* removed from CProject
* removed. env. vars menu items
* prepared for vatlib cmd. args
* prepared for eol (end of lifetime) timestamp (time bomb)
2016-03-18 01:09:31 +00:00
Klaus Basan
12957f8ec0 refs #602, remove QNetworkAccessManager from readers, use central one 2016-03-18 01:09:15 +00:00