Commit Graph

78 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Klaus Basan
abfd72552b Removed template from basestreamstringifier as discussed in https://dev.vatsim-germany.org/boards/15/topics/497?r=503 2013-05-10 22:56:36 +02:00
Klaus Basan
7b3174fd96 Merge with MS "private instead of protected in CRTP" changes 2013-05-01 00:51:57 +02:00
Klaus Basan
837809b96d Changed round and renamed length in vector / matrix 2013-05-01 00:00:03 +02:00
Mathew Sutcliffe
e5afc2c627 made derived() private instead of protected in CRTP 2013-04-30 20:12:47 +01: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
a05b85135c replaced "clone" with "derived" in CRTP (more usual, more flexible, more clear in its intent, and avoids copying the object twice on compilers that don't optimise return by value) 2013-04-30 00:09:32 +01:00
Mathew Sutcliffe
ba70a150e0 fix for g++ 4.5.2: this is the correct way to overload @operator<<@ for QDebug and CLogMessage because they are flyweight objects 2013-04-29 23:45:30 +01:00
Mathew Sutcliffe
177efba563 including qmath.h instead of math.h fixes problem with M_PI in MSVC 2013-04-29 23:32:13 +01:00
Mathew Sutcliffe
715e6e8340 fixed CMath::PI2() 2013-04-29 23:28:41 +01:00
Mathew Sutcliffe
3c2b894c93 fixed qmake files to support GNU make _and_ MSVC (discussed in #34) 2013-04-29 23:14:42 +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
7c7ca2dfae Fixed some issues with MinGW gcc, e.g. added some includes, removed nullptr, changed some initializer lists (prevents warnings) 2013-04-29 00:15:32 +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
c97ddc4e3b Polymorphic clone for CRT Pattern in templates (basically a static_cast for concrete initializations of template class) 2013-04-27 17:18:32 +02:00
Klaus Basan
b257862aac Before changing to polymorphic clone 2013-04-27 15:46:22 +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
2d8720c6ae Added PQ acceleration and units for mile / statute mile 2013-04-25 12:06:54 +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
Klaus Basan
472521f281 Further details on classes like epsilon compare, further unit tests. 2013-04-24 01:59:17 +02:00
Klaus Basan
bd53371de4 Fixed some issue with scalar multiplications (explicit) and continued with UNIT tests 2013-04-21 01:13:23 +02:00
Klaus Basan
f4affe55ef Had to withdraw 3Vector3D, since they store values internally as float (idiotic design). Hence qreal will be dropped. Started with Unit tests. 2013-04-20 17:46:46 +02:00
Klaus Basan
7b0468d300 Completed transformation class and created samples for this class 2013-04-20 01:49:50 +02:00
Klaus Basan
f98ec80680 Geodetic conversions transfered to Transformer class 2013-04-19 19:17:48 +02:00
Klaus Basan
8ffa443a69 Revised avionics (stringifier) and matrix operations 2013-04-19 14:36:30 +02:00
Klaus Basan
8121babe77 Initial structure for refactoring, some conversions still missing. Especially required further test cases. 2013-04-19 00:19:41 +02:00
Mathew Sutcliffe
de1d46aa73 #31 CApplicationContext: fixed setDebug and getDebug (thanks Roland) 2013-04-18 23:05:28 +01:00
Klaus Basan
5bf308c54b Initial refactoring of vector and matrix classes 2013-04-18 01:04:21 +02:00
Mathew Sutcliffe
9916419678 #31 Squashed merge of commits relating to the plugin system and IContext redesign, from the 'interconnect' branch. 2013-04-17 01:26:54 +01:00
Mathew Sutcliffe
83b380d035 #12 fixed link order when linking with blackcore and blackmisc 2013-04-12 22:30:06 +01:00
Klaus Basan
5f678dfe28 String-ifier for streams as preparation for the GeoClasses 2013-04-12 19:21:50 +02:00