Commit Graph

3323 Commits

Author SHA1 Message Date
Roland Winklmeier
77b60cbb7a Accept also numbers in airport ICAO codes 2016-07-11 21:33:33 +02:00
Roland Winklmeier
63c88c6919 Replace private slot with private method
With the new Qt5 C++11 syntax, private slots are not really necessary.
Replacing it with a normal private method reduces the generated code
from moc and also syntax issues are raised as compiler errors instead
of runtime asserts.
2016-07-11 21:33:33 +02:00
Roland Winklmeier
a3fbbd7a67 Improve logging when parsing VATSIM METARs
refs #689
2016-07-11 21:33:33 +02:00
Roland Winklmeier
28ec2be1ca Change MetarSet to MetarList
CMetarSet was implemented as a collection. This only makes sense for
values which have one member variable only or hardly ever change. METARs
often change and therefore a collection didn't make much sense.
Additional profiling showed that a sequence has better algorithmic
performance.

refs #689
2016-07-11 21:33:33 +02:00
Roland Winklmeier
319b18bf98 Set list of enabled simulators only if it was modified
refs #699
2016-07-10 21:16:45 +02:00
Mathew Sutcliffe
6a466a60ef Doxygen style. 2016-07-04 23:43:35 +01:00
Mathew Sutcliffe
323a5bb12f refs #698 CSequence iterator should be random access to improve STL algorithm efficiency. 2016-07-04 23:43:33 +01:00
Mathew Sutcliffe
a209f961a6 refs #698 Added unorderedEqualsByKeys method for sequences. 2016-07-04 23:43:29 +01:00
Mathew Sutcliffe
8a46a11dd8 refs #698 Avoid recursive templates by using C++14 generic lambda. 2016-07-04 23:43:27 +01:00
Mathew Sutcliffe
b859bead0c refs #700 Added sortByProperty method for sequences. 2016-07-04 23:43:20 +01:00
Mathew Sutcliffe
bf61657376 refs #698 Added equalsBy and equalsByKeys methods for containers. 2016-07-04 23:42:20 +01:00
Mathew Sutcliffe
e87d6b887c Removed unused code. 2016-07-04 23:40:36 +01:00
Mathew Sutcliffe
5bc639c3b4 Removed unnecessary typename keyword. 2016-07-04 23:40:33 +01:00
Mathew Sutcliffe
e20c8bbcbd Doxygen style. 2016-07-04 23:40:30 +01: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
773f318a07 ref #701, "improved countries"
* utility function for "accent free" strings
* added 3 letter ISO, alias names
* improved searching in countries
2016-07-03 13:22:25 +02:00
Klaus Basan
50f1d71978 Missing metatype registration 2016-07-03 13:22:24 +02:00
Klaus Basan
2e78674f09 Sort servers for later comparison (the comparison which avoids unnecessary saving and signals) 2016-07-03 13:22:23 +02:00
Klaus Basan
663b161b0c Gimmick and formatting
* flags for VATSIM servers
* improved country resolution
2016-07-03 13:22:06 +02:00
Klaus Basan
18112a0394 refs #693, integrated GUI close dialog
* utility function in CGuiApplication containing the logic (dialog needed, ..)
* closeEvent function
2016-07-01 14:38:33 +02:00
Klaus Basan
6650f18e57 refs #693, GUI dialog when application closes 2016-07-01 14:19:35 +02:00
Mathew Sutcliffe
744c7235e6 Context methods giving proper access to new settings save methods. 2016-06-30 22:43:45 +01:00
Mathew Sutcliffe
843620ca3c Caches: method to save values given a list of keys. 2016-06-30 22:20:32 +01:00
Mathew Sutcliffe
242e041ceb refs #679 CValueCache local signal relay moved to the point of emission, to tolerate different orders of initialization of application. 2016-06-30 02:06:16 +01:00
Mathew Sutcliffe
8b73da6ed6 refs #691 Make sure to set status correctly in interpolator. 2016-06-29 20:16:26 +01:00
Mathew Sutcliffe
76db851bc4 refs #691 INetwork must set timestamp for received situations. 2016-06-29 20:16:26 +01:00
Mathew Sutcliffe
37b8436ebb refs #679 Missing values in json should not cause members of default-constructed object to be overwritten. 2016-06-29 17:34:52 +01:00
Mathew Sutcliffe
903abcf514 refs #679 CApplication shall ensure CSettingsCache relay signal is connected when context is not available. 2016-06-29 17:34:51 +01:00
Klaus Basan
6f97e7290b refs #681, FSD UI at login screen
* plus completers for login GUI (ICAO, ...)
* some utility functions in related value object classed
2016-06-29 15:38:15 +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
42fdcea72c refs #681, use per server FSD setup in network vatlb
Refactoring
* encapsulated position timers start/stop
* only start interim position timer when connected
* use Q_FUNC_INFO for Q_ASSERT_X
* interim pos. interval as const values
* private VatlibQScopedPointerDeleter (slack discussion)
2016-06-29 15:38:12 +02:00
Klaus Basan
5c4e4e978e refs #681, removed old FSD settings (we use server based FSD setup now) 2016-06-29 15:38:11 +02:00
Klaus Basan
c133ad04c7 refs #681, using FSD setup in server 2016-06-29 15:38:10 +02:00
Klaus Basan
75a7ca382c refs #681, adjusted form classes
* made server form a CForm, not a component
* adjusted other forms
2016-06-29 15:38:09 +02:00
Klaus Basan
2d00ff42fe refs #681, GUI FSD setup
* form base class adjusted
* GUI form UI
2016-06-29 15:38:08 +02:00
Klaus Basan
0939b1f08f refs #687, further performance improvements
* avoid redundant reads by excluding entities which will be periodically updated
* restart timers when data are received, avoid overlapping requests
2016-06-29 15:38:07 +02:00
Klaus Basan
fcba4f2e75 refs #681, value object for FSD setup 2016-06-29 15:38:06 +02:00
Klaus Basan
c85b5d9341 refs #686, GUI for reader settings
* component
2016-06-29 15:38:05 +02:00
Klaus Basan
0fca9c1f18 refs #687, use hash to avoid unnecessary operations
* for bookings
* VATSIM file (plus check if cache really changed before writing)
* METARs
2016-06-29 15:38:04 +02:00
Klaus Basan
0253da8bf9 Minor improvements
* space in message
* removed ns Simulation
* Doxygen
2016-06-29 01:04:44 +02:00
Klaus Basan
dc02ff2d0c Addded log categories / human readable pattern 2016-06-29 01:04:44 +02:00
Klaus Basan
488d437a2a #refs 686, used settings in readers
* moved threaded reader to BlackCore (settings are normally BlackCore aware)
* created ns/subfolder VATSIM
* prepared settings for the VATSIM readers
2016-06-29 01:04:41 +02:00
Klaus Basan
056841f9b1 refs #685, settings for readers (value object, traits) 2016-06-29 01:04:39 +02:00
Klaus Basan
3ca9d729c8 refs #685, utility function 2016-06-29 01:04:23 +02:00
Klaus Basan
5b506e7bd1 refs #678, fixes bug reported by MS + improvements
* made clients threadsafe
* use clients to decide if model string is queried
* init aircraft/airline ICAO codes with DB data where possible
* Allow acces to log utility functions of matcher
2016-06-29 01:04:22 +02:00
Klaus Basan
2dec348c8c Formatting from refs #678 2016-06-25 16:00:36 +02:00
Klaus Basan
12d06aceef refs #678, using QString for queried string, not full model anymore 2016-06-25 16:00:36 +02:00
Klaus Basan
a132972f27 Fixed index/property order 2016-06-25 16:00:34 +02:00
Klaus Basan
3087a94ea8 refs #678 and slack discussion, renamed enum name
https://dev.vatsim-germany.org/issues/678#note-7
2016-06-25 16:00:33 +02:00
Klaus Basan
fe600e3557 refs #419, finetunig GUI settings 2016-06-25 16:00:32 +02:00