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
Klaus Basan
b78d8a5088
refs #597 , adjusted update info/global setup
...
* some renaming
* adjusted to new server paths without dev/productive
* changed to different keys to obtain 2 JSON files in cache
2016-03-18 01:08:33 +00:00
Klaus Basan
9ff322ae25
refs #597 , use CMD arguments in setup reader.
...
* Setup reader will now be initialized and handles by CApplication
* Setup reader no longer threaded reader as it will be initialized and loade upfront
2016-03-18 01:08:24 +00:00
Klaus Basan
c3722f9198
refs #485 , refs #584 removed include blackmiscfreefunctions.h
2016-03-18 01:07:49 +00:00
Roland Winklmeier
794bf0cd74
Fix doxygen copydoc documentation
...
The following issues were fixed
* Fixed wrong/missing namespaces
* Fixed obvious typos in documentation
* Documentation not in sync with source code
refs #544
2016-02-08 01:53:17 +01:00
Klaus Basan
483c48cb82
refs #526 , reviewed setup reader (cache)
...
There are more adjustment when we eventually have all the features as discussed in the meeting available
2016-01-28 16:31:36 +01:00
Klaus Basan
3ac32fa58e
refs #559 , adjustments cache/settings moved
2015-12-20 17:00:12 +01:00
Klaus Basan
f4eec653c1
Fixed reading of setup data (found during #533 debugging)
...
Default value for dev. mode was wrong
2015-12-08 20:14:16 +01:00
Klaus Basan
fadb7eb750
refs #534 use cached data / settings
...
* models
* vPilot rules
* DBus address
2015-12-08 20:14:13 +01:00
Klaus Basan
8f85c54989
refs #538 , Formatting, minor tweaks, comments
...
* new slot syntax in ATC station component
* formatting, comments
* tab order
* utility function for severity in status message
* null checks in threadutils
* invalidKey function in datastore
* changed data object keys (cached objets)
* added missing value object compare cases
* renamed timer in context network
* finder function for model list
* renamed getContainer to container (as it is just a reference)
2015-12-07 02:25:26 +01:00
Klaus Basan
1fc7300982
refs #507 , split up blackmiscfreefunctions
...
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00
Klaus Basan
025457c43b
refs #509,renamed CDownload to CUpdateInfo
...
* as discussed in meeting
* follow up adjustments (file renaming, msg. renaming)
2015-11-20 22:38:50 +01:00