Mathew Sutcliffe
c77951743e
INetwork: refactor request/reply pattern and sending position updates to be more encapsulated
...
refs #81
2014-01-08 01:00:17 +00:00
Klaus Basan
535ea65a9a
start using our value classes as arguments in INetwork signals and slots
...
refs #81
2014-01-08 00:59:45 +00:00
Klaus Basan
c6da7b0d35
removing unneeded code
...
refs #81
2014-01-08 00:58:08 +00:00
Klaus Basan
978f3c88e5
style changes and removals of typeid
...
refs #81
2014-01-08 00:57:43 +00:00
Mathew Sutcliffe
e607121cc4
Updating IContext to our current style and making it less reliant on macros.
...
Updating code that uses IContext to a more conformant pattern of usage.
2013-10-05 18:12:16 +01:00
Mathew Sutcliffe
5483f71c9b
test_blackcore.pro includes externals.pri
...
removed TODO comments
fixed mistake regarding backslash line continuations
2013-09-21 14:50:01 +01:00
Roland Winklmeier
6092cc7193
refs #60
...
Added externals.pri looking for the external headers/libraries in 3 steps:
1. Manually set absolut path. Currently commented. Uncomment for local
use.
2. Enviromental variable "VATSIM_EXTERNAL_DIR"
3. default path client/externals.
2013-09-21 15:21:32 +02:00
Mathew Sutcliffe
e12d7fbd7a
Had a bit of spare time so tried out the policy design pattern I've been learning about, applying it to PQ converters.
...
Some interesting results:
* Minor simplification of PQ converters and unit ctors; may not seem like much, but I think it enables possible future simplifications of a similar kind.
* CMeasurementPrefix is gone, no longer needed. Now prefixes are applied at the template stage.
* Apart from that, PQs public API is unchanged.
* Discovered that ft/s^2 conversion factor was wrong: fixed.
2013-09-15 22:01:11 +01:00
Mathew Sutcliffe
a011bb18e6
fixed compile errors caused by inconsistencies between merged branches
2013-08-29 00:02:47 +01:00
Mathew Sutcliffe
20c33bf77c
Merge branch 'fsd'
2013-08-28 23:29:10 +01:00
Mathew Sutcliffe
31955f0913
fixed missing space character in fsd sample
2013-08-28 23:26:57 +01:00
Mathew Sutcliffe
dcc4f4aa8d
Merge branch 'kbdbusbaseclasses'
2013-08-28 22:49:01 +01:00
Mathew Sutcliffe
74452599bf
disambiguate metric tonne (1,000kg) and US ton (2,000lb)
2013-08-22 19:59:41 +01:00
Mathew Sutcliffe
9b239f12aa
fixes for MinGW, including adding CONFIG += c++11 in all qmake project files
2013-08-19 18:46:37 +01:00
Mathew Sutcliffe
cec9de5cc5
use enums instead of bools to distinguish true/magnetic headings and tracks and MSL/AGL altitudes
2013-08-19 18:11:54 +01:00
Mathew Sutcliffe
5f267e8245
minor regularization of vectors and matrices
2013-08-19 17:44:33 +01:00
Mathew Sutcliffe
da8ba9aac3
First major wave of PQ refactoring, including but not limited to:
...
* Default unit is more clearly stated in one place, not restated in many different places, and is not always the SI unit
* Converter strategy pattern in CMeasurementUnit, covering linear, affine, and different kinds of sexagesimal units
* General reorganization of CMeasurementUnit construction and CPhysicalQuantity methods, not removing any behvaiour
* Move duplicated method unitFromSymbol from derived classes into base class CMeasurementUnit
* For DBus, CPhysicalQuantity marshals both in its own unit and in the default unit
2013-08-19 03:05:08 +01:00
Mathew Sutcliffe
a6756f2043
suppress/fix a few more GCC and MSVC warnings and errors
2013-08-14 18:05:12 +01:00
Mathew Sutcliffe
e8b52b33d0
removed CAviationVerticalPositions
2013-08-13 22:23:55 +01:00
Mathew Sutcliffe
e8b412dd25
dbusclient sample: partial fix for compiling with MSVC
2013-08-08 20:46:41 +01:00
Roland Winklmeier
efacac77eb
refs #42
...
- Added DBus handler interface
- Added more complex flow to both samples
- Added custom class to be transfered
2013-08-07 01:32:13 +02:00
Klaus Basan
e6e6dea4cd
More DBus tests
2013-08-06 13:56:15 +02:00
Mathew Sutcliffe
56e05b55a9
Normalized handling of leading/trailing whitespace in sample app (refs #22 )
2013-08-04 17:49:46 +01:00
gmt2001
d1e35c0b27
refs #22
...
Fix leading space and trailing LF in real name
Use proper const char* to const char* copy in NetworkVatlib::initiateConnection()
2013-08-04 01:54:03 -04:00
Mathew Sutcliffe
930be03fa6
sample console-based client to demonstrate INetwork interface (refs #22 )
2013-07-31 22:02:41 +01:00
Klaus Basan
a53ea0c5fd
DBus: track, heading, transponder. Added I18N for track/heading, added further I18N keys. Of course not all I18N strings are translated yet.
2013-07-28 03:20:04 +02:00
Klaus Basan
40a97c3d82
Added I18N for PQs, initial version. Hence resource file and language files. Changed samplesphysicalquantities to check some I18N topics.
2013-07-27 20:23:23 +02:00
Klaus Basan
581638ec7f
Enabled coordinate classes for DBus, added generation method for lat/lng by WGS84 strings
2013-07-25 23:58:09 +02:00
Klaus Basan
2fc08a0376
Enabled DBus with matrix classes, noticed issue with QList Signature (ad, addddd)
2013-07-25 00:10:50 +02:00
Klaus Basan
9b2cb3b517
Shifted DBus operators to CBaseStreamStringifier, much easier to provide streaming - especially for derived classes.
...
Still required but unwanted overloaded DBus operator in aviomodulator.h - no compilation without them. Need to be removed.
Enabled more classes for DBus.
2013-07-24 02:20:32 +02:00
Roland Winklmeier
40abcf4c19
refs #42 :
...
- Added CDBusServer into Blackcore library
- Added DBus server and client sample
2013-07-22 22:44:00 +02:00
Klaus Basan
8b512ba818
DBus enabling of base classes plus sample for testing / show how to use them. Also qdbuscpp2xml plugin for blackmisc classes.
2013-07-22 14:33:50 +02:00
Mathew Sutcliffe
6736209945
extra comment to help explain the plugin system
2013-07-06 15:12:24 +01:00
Roland Winklmeier
c4e0ca68b7
Merge branch 'qt5_migration' of dev.vatsim-germany.org:vatpilotclient/client into qt5_migration
2013-07-06 10:18:24 +02:00
Roland Winklmeier
6127ac4ef5
Refs #41 :
...
- Changed: Qt5 has a different method to connect signals and slots together based on
C++x11
Migrated the first bunch of occurences to the new method.
- Fixed: CDebug singleton was not created yet in BlackD. Crashed the
application.
2013-07-06 00:25:46 +02:00
Mathew Sutcliffe
126ea9b8ac
- Fixed: using Qt5 plugin system based on Q_PLUGIN_METADATA
2013-07-05 23:22:11 +01:00
Klaus Basan
837809b96d
Changed round and renamed length in vector / matrix
2013-05-01 00:00:03 +02:00
Klaus Basan
ad6ac0186b
Cleaned up tests / samples a bit
2013-04-30 03:27:34 +02:00
Klaus Basan
b7ce5e6c02
Re-added logging samples to overcome capital L directory
2013-04-30 02:50:09 +02:00
Klaus Basan
b38b781aa6
Remove Logging samples dir, will be added manually from repo again to avoid this capital letter directory feedback
2013-04-30 02:47:16 +02:00
Klaus Basan
b84df5fc21
Merged with changes of MS, some similar bug fixes done in parallel
2013-04-30 02:34:15 +02:00
Klaus Basan
8f5d9263fd
Fixed all issues detected by the test cases under MinGW - such as usage of abs() -> changed to qAbs(), rounding issues detected during calculations, and changed streaming methods with qDebug() (QDebug vs &QDebug issue).
2013-04-30 01:43:14 +02:00
Mathew Sutcliffe
3c2b894c93
fixed qmake files to support GNU make _and_ MSVC (discussed in #34 )
2013-04-29 23:14:42 +01:00
Mathew Sutcliffe
92c9b81683
combined case-sensitive folders Logging and logging, now we just have logging
2013-04-29 16:39:09 +01:00
Klaus Basan
c6426a0759
Move Math constants into class (to be consistent with other constants), tested against minGW / gcc 4.7.2 and fixed various issues (mainly initializer lists, unused variables). BlackMisc compiles now in MinGW, but still issues (especially with qDebug() friend methods)
2013-04-29 16:00:41 +02:00
Klaus Basan
33e775e108
Removed redundant classes after refactoring and moving classes to BlackMisc. Basically the result of the merge with PQ branch.
2013-04-27 18:06:11 +02:00
Klaus Basan
c5b9c48cd6
Changed interpolator (preliminary) to work with PQs and new classes, added stubs for unit tests in BlackCore
2013-04-27 02:09:42 +02:00
Klaus Basan
5eac9be7d5
Unit tests for acceleration and more for vector
2013-04-25 20:21:04 +02:00
Klaus Basan
a31e405b6b
Implemented commutative multiplications as friends in the templates, further test cases (unit tests), fixed Doxygen attributes, renamed test classes
2013-04-25 01:56:18 +02:00
Klaus Basan
919913dd95
merge with master
2013-04-24 13:31:19 +02:00