Commit Graph

985 Commits

Author SHA1 Message Date
Klaus Basan
23856bbc57 Connection guard (detected during #477)
Disconnects Qt signal/slot conenction when destroyed
2015-11-19 21:04:40 +00:00
Klaus Basan
0c94922bd6 refs #501, compareByPropertyIndex (performance for sort) 2015-11-19 21:04:34 +00:00
Klaus Basan
1e57ce7ecb MS' review items from here ( refs #478 )
https://dev.vatsim-germany.org/issues/478#note-3
2015-11-19 21:04:31 +00:00
Klaus Basan
134a725002 refs #497 value objects role/user
* created value objects for role/role list and authenticated user
* removed old roles class
2015-11-19 21:04:15 +00:00
Klaus Basan
bcf1bed1d0 Improved log level when DB reading fails
(Mapping between severity and read status flags)
2015-11-19 21:04:12 +00:00
Klaus Basan
ac61a3458d Removed settings context
* removed old settings related classes
* moved notifications to BlackMisc::Audio
* added audio settings where needed

refs #464
refs #337
2015-11-19 21:04:06 +00:00
Klaus Basan
6466260d8c Fixed icon loading (failed after new dir structure)
In same step improved paths in project (static const)
2015-11-19 21:04:01 +00:00
Klaus Basan
3a0ab1aff7 refs #488, workaround for gcc bug.
Should be reverted when we have gcc > 4.7
2015-11-19 21:03:58 +00:00
Klaus Basan
955b8bafea Moved smart selector functions to lists 2015-11-19 21:03:55 +00:00
Klaus Basan
008792d95b refs #478, allow to set timestamp by "setByYearMonthDayHourMinute" 2015-11-19 21:03:47 +00:00
Klaus Basan
53ba50dd3a refs #478, use data cache in readers
* URLs no longer have to be passed
* watchdog for DB readers to check DB status

In same step:
* fixed some log messages and comments
* allow to self signed SSL certificates
* adjusted namespace for CNetworkUtils (now in network)
2015-11-19 21:03:39 +00:00
Klaus Basan
4fce848c59 refs #478, updated project
* use env. variables to set status of project (dev.environment, local setup dir)
* convert project to string
2015-11-19 21:03:36 +00:00
Klaus Basan
2d46a93676 refs #478, fixes for datacache and containerbase discussed with MS via slack 2015-11-19 21:03:34 +00:00
Klaus Basan
a725ce2181 refs #478 refs #488, utils / free functions
* seed for random numbers per thread
* added function to get all user metatypes as string
* added new read file function per path/name
* removed DBus operators for pixmap
* JSON operators for byte array
* util function for JSON string
2015-11-19 21:03:23 +00:00
Klaus Basan
19df8a5d71 refs #478, CUrl class and moved network utils
* moved network utils into network folder
* CUrl / CUrlList as DBus/JSON compliant class for locations
* Added support for selsigned certificates in network utils
2015-11-19 21:03:20 +00:00
Klaus Basan
dff7ed5a90 refs #478 minor improvements
* updated / clean-up of global property indexes
* beta test function in CProject
* typo in math utils
2015-11-19 21:03:17 +00:00
Roland Winklmeier
4fc2db14ca refs #487 Implement IAircraftModelLoader for XPlane 2015-11-19 21:03:06 +00:00
Roland Winklmeier
94901b7846 refs #487 Finish IAircraftModelLoader::createModelLoader factory method 2015-11-19 21:03:03 +00:00
Roland Winklmeier
35cb4e2067 refs #487 add XPlane path utilities 2015-11-19 21:03:01 +00:00
Mathew Sutcliffe
e3319f0dae refs #481 Removed old randomElements. 2015-11-19 21:02:58 +00:00
Mathew Sutcliffe
86913471a9 refs #481 Algorithms to copy random elements from containers. 2015-11-19 21:02:55 +00:00
Mathew Sutcliffe
e4adad45d0 refs #482 Rationalized the copying of files from source tree to build tree. 2015-11-19 21:02:47 +00:00
Mathew Sutcliffe
6b75de0b3f refs #482 Project files changed to use new qmake feature files and build directory structure. 2015-11-19 21:02:41 +00:00
Mathew Sutcliffe
69031ef9da refs #452 Fixed mutex lock logic in CPixmap. 2015-11-19 21:02:28 +00:00
Mathew Sutcliffe
32b5081127 Fixed mutex lock mistakes. 2015-11-19 21:02:25 +00:00
Mathew Sutcliffe
108c6f7db5 refs #452 Fixed clang error. 2015-11-19 21:02:22 +00:00
Mathew Sutcliffe
d13e863218 refs #472 Removed static_cast<int> for enums in blackmisc, no longer needed. 2015-11-19 21:02:16 +00:00
Mathew Sutcliffe
9b1e42d71a refs #472 Solution for using enums with dbus. 2015-11-19 21:02:13 +00:00
Mathew Sutcliffe
246753d05e refs #467 CFileLogger must not use CLogSubscriber or CLogPatternHandler because this would cause undesired dbus traffic. 2015-11-19 21:02:07 +00:00
Mathew Sutcliffe
3aa3a2a892 refs #467 Mechanism for processes to notify each other of which log patterns they are subscribed to. 2015-11-19 21:02:02 +00:00
Mathew Sutcliffe
6d5e3b5897 refs #467 Refactored CLogPatternHandler garbage collection by hooking into QObject::disconnectNotify. 2015-11-19 21:01:59 +00:00
Mathew Sutcliffe
eb6a638099 refs #467 Made CLogPattern hashable (so it can be used in QSet). 2015-11-19 21:01:56 +00:00
Mathew Sutcliffe
785df80935 refs #467 Worked around a QtDBus bug which prevented CLogPattern from being marshalled. 2015-11-19 21:01:53 +00:00
Mathew Sutcliffe
9d19e091fe refs #467 Added CIdentifierList::containsAnyNotIn(). 2015-11-19 21:01:51 +00:00
Mathew Sutcliffe
3401fff017 refs #466 Refactored automatic signal relaying into CGenericDBusInterface. 2015-11-19 21:01:10 +00:00
Mathew Sutcliffe
f03b24022e refs #466 Resolved TODO item in GUI. 2015-11-19 21:01:04 +00:00
Mathew Sutcliffe
b1a3793c2f refs #466 Resolved miscellaneous TODO items. 2015-11-19 21:01:02 +00:00
Mathew Sutcliffe
a102fc73b6 refs #466 Resolved TODO items in logging. 2015-11-19 21:00:59 +00:00
Mathew Sutcliffe
64a25a7860 refs #466 Resolved TODO items in containers. 2015-11-19 21:00:56 +00:00
Mathew Sutcliffe
2ca457903c refs #475 Missing extern template declarations. 2015-11-19 21:00:53 +00:00
Mathew Sutcliffe
9593020fc8 refs #475 Tweaked resource file directory. 2015-11-19 21:00:51 +00:00
Klaus Basan
2507ce6715 Fixes as discussed in the meeting
* hasXXMessage performance
* remove id ASSERT_X
2015-11-19 21:00:34 +00:00
Klaus Basan
aa653e0d85 refs #475, allow to load DB data from disk.
* Will allow to load data if DB is not accessible / available
* Also allows to save, so a special set can be saved for testing/forensic.
* fixed status bar, as received data no longer means DB is alive
2015-11-19 21:00:26 +00:00
Klaus Basan
326a465b54 refs #475, added file utilities 2015-11-19 21:00:25 +00:00
Klaus Basan
e336428822 refs #475, added functions in project
* get some specific directories
* detect if running on developer's machine
2015-11-19 21:00:23 +00:00
Klaus Basan
68d0b8cc98 During #475 found issue with deleter
* changed / improved deleter
* formatting in related class soundgenerator
2015-11-19 21:00:22 +00:00
Klaus Basan
84b06c51d9 refs #475 new icons for load/save 2015-11-19 21:00:21 +00:00
Klaus Basan
3ed2068ff5 refs #452, MS review
https://dev.vatsim-germany.org/issues/452#note-5
2015-11-19 21:00:19 +00:00
Klaus Basan
e033cfacfd refs #469, misc:
* Formatting
* added begin/endStructure for pixmap
2015-11-19 21:00:18 +00:00
Klaus Basan
8827b68b3b refs #452 signals in reader classes. adjusted METAR reader
* renamed to connectDataReadSignal
* removed unused individual signals, e.g. vatsimMetarsRead -> replace by data read signal + entity flag
* added data in METAR class (kept there, not in airspace monitor) -> reader aware
2015-11-19 21:00:15 +00:00