Mathew Sutcliffe
5f267e8245
minor regularization of vectors and matrices
2013-08-19 17:44:33 +01:00
Mathew Sutcliffe
f9f35f27d5
make construct-from-CAngle constructors explicit in CLatitude and CLongitude to make it harder to convert between incompatible CAngle subclasses
2013-08-19 14:28:55 +01:00
Mathew Sutcliffe
21ca361bc1
removed operator= and copy ctor from classes where they only duplicated the behaviour of the default implementations that C++ generates automatically
2013-08-19 03:21:12 +01:00
Mathew Sutcliffe
a6f89ce9ea
renamed CBaseStreamStringifier to CStreamable
2013-08-19 03:05:09 +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
a8036f1ce5
in geodetic coordinates, latitude(), longitude(), and height() return by reference to const instead of by value
2013-08-18 23:15:33 +01:00
Mathew Sutcliffe
c8114c2d85
Remove switchUnit() from CHeading and CTrack; they already inherit switchUnit() from CPhysicalQuantity
2013-08-18 23:13:56 +01:00
Mathew Sutcliffe
5d4fcc8d40
resolved pressure constants 1013.2hPa != 29.92inHg
2013-08-18 17:29:37 +01:00
Mathew Sutcliffe
baa0ac147e
remove integer quantities
2013-08-14 18:05:15 +01:00
Mathew Sutcliffe
586be27502
update unit tests
2013-08-14 18:05:13 +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
d4279a8c28
move QT_TRANSLATE_NOOP to suppress GCC warnings
2013-08-14 18:05:10 +01:00
Mathew Sutcliffe
1c1aa4cad3
moved Q_DECLARE_METATYPE outside of namespace
2013-08-13 22:47:19 +01:00
Mathew Sutcliffe
5257560265
fixed repeatedly increasing memory usage in units unmarshalling code
2013-08-13 22:44:01 +01:00
Mathew Sutcliffe
117021aadf
fixed copy/paste mistake in CModulator
2013-08-13 22:30:52 +01:00
Mathew Sutcliffe
2c781e8b36
style fixes: mostly just things that make my eyes bleed :)
2013-08-13 22:29:48 +01:00
Mathew Sutcliffe
e8b52b33d0
removed CAviationVerticalPositions
2013-08-13 22:23:55 +01:00
Mathew Sutcliffe
e194773c5b
CAtcListManager class
2013-08-09 00:55:46 +01:00
Mathew Sutcliffe
eade49799b
corrected error message
2013-08-09 00:49:12 +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
0c310227b4
refs #22
...
* storing callsign and realname as QByteArray instead of QString makes it easier to ensure that C-strings passed to the shim have lifetimes coincident with the shim
* added a bit more error handling and invariant enforcement
* now we terminate the connection automatically on fatal errors
* added first doxygen comment (first of many)
2013-08-04 17:58:05 +01: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
Mathew Sutcliffe
b8f26dce4a
refs #22
...
* Implemented a few more signals
* Support for storing the INetwork object in the IContext
* Improved exception handling
* Fixed some mistakes
2013-07-31 21:51:18 +01:00
Klaus Basan
62591a750f
Refactoring, renamed: convertToQString (old: stringForConvert)
2013-07-28 03:31:04 +02: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
7316980a5c
Enabled coordinates for DBus
2013-07-25 12:37:51 +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
3a71fb8223
Merge branch 'master' into fsd
2013-07-20 16:00:53 +01:00
Mathew Sutcliffe
1c5293f38f
fixed bug discovered during Qt5 migration: you can't throw nothing (unless you're rethrowing an already caught exception)
2013-07-18 20:43:46 +01: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
Mathew Sutcliffe
e64e7b75c2
a little bit more on info queries and replies (refs #22 )
2013-07-06 00:30:45 +01: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
Mathew Sutcliffe
82f5661aa6
info queries and replies, and misc tidy-up (refs #22 )
2013-07-05 21:11:44 +01:00
Roland Winklmeier
7564973b14
- Fixed: toAscii() and fromAscii() Methods are deprecated
...
- Fixed: Namespace conflict with IContext in blackd.cpp
- Fixed: Missing include of QMessageBox, QMenu
- Fixed: QBool was removed in Qt5
- Fixed: Missing include QDataStream in basestreamstringifier.h
2013-07-05 21:03:05 +02:00
Mathew Sutcliffe
009bba1e54
error-handling tweaks (refs #22 )
2013-07-05 18:48:58 +01:00
Mathew Sutcliffe
ab71d75683
groundwork for I18N of text sent over FSD (refs #22 )
2013-07-05 16:42:35 +01:00
Mathew Sutcliffe
fd3dc4dbe9
first iteration on #22 shimlib integration
2013-07-04 22:14:06 +01:00
Mathew Sutcliffe
495a37d4bc
Added protected CBaseStreamStringifier::operator=() as discussed in https://dev.vatsim-germany.org/boards/15/topics/497
2013-05-22 15:29:04 +01:00
Mathew Sutcliffe
0938ff8744
fixed and simplified generation of doxygen docs with qmake
2013-05-17 01:38:44 +01:00