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
Wade Williams
e678e23268
Resolved merge conflict
2013-11-20 11:12:51 -06:00
Wade Williams
e115ae0489
Disabled CSL debugging
2013-11-20 11:10:59 -06:00
bsupnik
bf91ea6ce1
bug fixes for multi-pass drawing and HDR mode
2013-11-19 16:46:42 -05:00
bsupnik
fe7f49da0d
basic datarefs for pre-existing CSL state
2013-11-18 00:06:35 -05:00
bsupnik
2247275646
bug fix for crash-on-quit with async load on 10.25 and earlier SDK - work around by not using async. also covers not using async on v9.
2013-11-17 22:55:03 -05:00
bsupnik
eb319c1c86
first draft of OBJ-based CSL
2013-11-17 22:12:19 -05:00
bsupnik
533139fec8
bug fix from keith: fixed return types to XPMPGetPlaneData
2013-11-17 21:46:28 -05:00
bsupnik
591103b4e5
more removing 'long' as a type (this fixes BMP loading on mac, as if anyone cares)
...
fixed warnings in compiler
added logging for missing texture.
2013-11-14 12:58:10 -05: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
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
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
21b74dc912
fixed error caught by gcc
2013-09-01 17:55:38 +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
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
gmt2001
974f8b0141
Merge branch 'fsd' of git@dev.vatsim-germany.org:vatpilotclient/client.git into fsd
2013-08-24 09:42:29 -04:00
gmt2001
4edd28e0fa
Fix for always getting suspended message
2013-08-24 09:41:45 -04:00
Mathew Sutcliffe
ea4d0dedbb
removed escaped double-quote character from i18n string
2013-08-22 20:08:53 +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
669af6b691
give prefixed units their own names and symbols instead of concatenating prefix and base unit
2013-08-22 19:44:19 +01:00
Mathew Sutcliffe
e8736cf31d
unit names singular not plural
2013-08-22 18:32:15 +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
3567dace6f
fixed mistakenly big epsilons
2013-08-19 18:25:39 +01:00
Mathew Sutcliffe
3cb9a783d2
just something I missed earlier - no need to use qint32 here
2013-08-19 18:18:30 +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
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
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