Mathew Sutcliffe
c37e160a42
simple memory profiling on Windows using the CRT debug heap
...
refs #81
2014-01-08 00:59:59 +00:00
Klaus Basan
388d297a2d
update client version numbers passed to shimlib
...
refs #81
2014-01-08 00:59:56 +00:00
Klaus Basan
3d48b29678
fixed formatting in error messages
...
refs #81
2014-01-08 00:59:52 +00:00
Klaus Basan
8d15f307c2
let INetwork have a QObject parent
...
refs #81
2014-01-08 00:59:49 +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
4747b3b484
new value objects for aviation, network, and settings
...
refs #81
2014-01-08 00:59:39 +00:00
Klaus Basan
fe1a570c39
classes for status messages
...
refs #81
2014-01-08 00:59:34 +00:00
Mathew Sutcliffe
a57e640398
generic type-erased container types CSequence and CCollection, including predicate-based algorithms
...
refs #81
2014-01-08 00:59:31 +00:00
Klaus Basan
c72e8a4a27
made strictness optional in CMeasurementUnit::unitFromSymbol
...
refs #81
2014-01-08 00:59:27 +00:00
Klaus Basan
f247399575
register CMeasurementUnit as a Qt meta type
...
refs #81
2014-01-08 00:59:24 +00:00
Klaus Basan
2cdc2abeb5
CMath::epsilonEqual fuzzy comparison function for doubles
...
refs #81
2014-01-08 00:59:19 +00:00
Klaus Basan
b0e212998f
degree/radian conversion functions
...
refs #81
2014-01-08 00:59:16 +00:00
Klaus Basan
f49341841e
suppress a compiler warning
...
refs #81
2014-01-08 00:59:13 +00:00
Klaus Basan
f6905d1d8b
format latitude and longitude strings with cardinal directions
...
refs #81
2014-01-08 00:59:10 +00:00
Klaus Basan
76e2421ba2
WGS84 function in CCoordinateGeodetic
...
refs #81
2014-01-08 00:59:06 +00:00
Klaus Basan
bf1837b414
CValueMap generic representation of a value object as a map of QVariants
...
refs #81
2014-01-08 00:59:03 +00:00
Klaus Basan
a280d239e6
using hashes to perform comparisons between blackmisc value objects stored inside of QVariant
...
refs #81
2014-01-08 00:59:00 +00:00
Klaus Basan
67a5dbfe48
converting value objects to/from QVariant
...
refs #81
2014-01-08 00:58:56 +00:00
Klaus Basan
0518e680c3
add greatCircleDistance
...
refs #81
2014-01-08 00:58:53 +00:00
Klaus Basan
ded6fc012e
rename CStreamable to CValueObject
...
refs #81
2014-01-08 00:58:50 +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
229d7c6068
initialize some pointers to null
2013-11-25 17:34:12 +00:00
Mathew Sutcliffe
ac1b014f1b
minor fix, only in doxygen comments
2013-10-21 03:43:09 +01:00
Mathew Sutcliffe
a9624dfc80
fixed a small mistake
2013-10-07 22:59:01 +01: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
01af31d4da
fixed bug which was discovered due to a GCC warning
2013-09-24 01:04:22 +01:00
Mathew Sutcliffe
dc436735cc
suppressing various GCC warnings
2013-09-24 01:01:07 +01:00
Mathew Sutcliffe
0a6fbb8aac
Specify full path to Windows find.exe, so GNU find is never used.
...
Argument to @contains()@ is @enabled@, not @-m64@, otherwise it will always return true.
2013-09-21 23:54:56 +01:00
Roland Winklmeier
0d2742fe96
Added proper mingw identification for external libraries
2013-09-21 21:58:44 +02:00
Roland Winklmeier
5fbb8deb02
Fixed bug in blackcore:
...
- vatlib.h path has changed
- externals.pri missing
2013-09-21 20:34:19 +02: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
2517f3b8a7
Uncommented one line in client.pro again.
...
I temporary commented it, since I didn't have the module in my current Qt
build.
2013-09-21 15:33:25 +02: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
95858559bb
fixed bug in CMath::round(),
...
was using qRound() instead of qRound64(),
which caused wrong answers when fractional part was 10 digits or more
2013-09-16 23:15:11 +01:00
Mathew Sutcliffe
8844774fbe
fixed bug when compiling with MinGW:
...
CPhysicalQuantity::operator== used the wrong abs() so it was only comparing integers
2013-09-16 23:12:41 +01:00
Mathew Sutcliffe
3e0c38b921
API fix: CPhysicalQuantity::setValueSameUnit() is supposed to be public
2013-09-16 23:09:54 +01: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
00473e6f5f
improved error reporting in BlackCoreTest::Expect
2013-09-03 19:29:04 +01:00
Mathew Sutcliffe
891d47c8ff
Pure Qt/C++ test harness for INetwork
2013-09-01 21:09:22 +01:00
Mathew Sutcliffe
21b74dc912
fixed error caught by gcc
2013-09-01 17:55:38 +01:00
Mathew Sutcliffe
7a7fd69ee1
Perl-based test harness for the commandline client sample
2013-08-31 01:04:34 +01:00
Mathew Sutcliffe
0ae6ae5fea
fixed atclist unittest: call QCoreApplication::processEvents() after each signal is emitted, because they use Qt::QueuedConnection
2013-08-29 00:12:57 +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
611f1ecaeb
consistent stringification of sexagesimal angle and time values with and without units
2013-08-28 20:42:31 +01:00
Mathew Sutcliffe
7117545fd6
Operator function templates, using std::enable_if to match only classes
...
derived from CStreamable, for streaming to/from QtDBusArgument, avoiding
the unrelated operator function template for streaming Container<T>
defined by Qt, by being a better match in overload resolution.
2013-08-26 21:15:59 +01:00
Mathew Sutcliffe
0107d24523
create a dummy implementation of INetwork for testing purposes, and use it in the atc list unittest
2013-08-24 16:54:36 +01:00