James Turner
7961f12e81
CommRadio: capture current behaviour for EPLL
2021-02-23 13:51:27 +00:00
Automatic Release Builder
41f9884b70
Launcher: improve automatic language selection
...
Don’t fail to select the language, when the UI language includes
a ‘script’ value, as happens for Chinese on macOS.
Thanks to Sidi Liang for reporting.
2021-02-22 10:43:36 +00:00
Automatic Release Builder
8551654cf0
Guard against ancient Intel OpenGL drivers
...
If we get back Intel < 2.1, bail out with the ‘drivers update needed’
warning.
2021-02-22 10:41:34 +00:00
James Turner
d30f5d63fe
Launcher: Getting started tips updates
2021-02-22 10:37:52 +00:00
Scott Giese
190aad784b
Maintenance: AIModel
...
Improve inheritance/polymorphism by eliminating shadow methods.
2021-02-21 23:18:15 -06:00
Scott Giese
7ee64f9994
Maintenance: AIAircraft
...
Remove dead code
2021-02-21 23:15:40 -06:00
Scott Giese
0d3f387214
Maintenance: performancedata
...
explicit ctor
2021-02-21 22:27:43 -06:00
Scott Giese
efcd505c9c
Maintenance: AIAircraft
...
fix a few missing initializations.
remove dead code.
2021-02-21 22:14:05 -06:00
Scott Giese
d605294348
Maintenance: nmea
...
use vector.empty instead of vector.size == 0.
convert atof (c) to stod (c++)
2021-02-21 20:26:45 -06:00
Scott Giese
f56e2a1b3a
Maintenance: nmea
...
overflow prevention
2021-02-21 16:02:50 -06:00
Scott Giese
08fce6d680
Maintenance: atlas
...
overflow prevention
2021-02-21 15:51:08 -06:00
Scott Giese
3626b6c0a9
Maintenance: FlightPlan
...
convert to size_t
2021-02-21 15:50:28 -06:00
Scott Giese
3e982bbae7
Maintenance: ErrorReporter
...
convert to size_t
2021-02-21 15:49:58 -06:00
James Turner
0b0d079d51
Missed error-reporting changes
2021-02-21 19:15:55 +00:00
James Turner
462fac1933
Fix CommRadio in 8.3Khz mode, when frequency does not match channel
...
Fix a bug where we would copy-assign a PropertyObject, when we
actually wanted to copy the value.
Thanks to Sascha Reißner for tracking the problem down.
2021-02-21 19:15:55 +00:00
James Turner
aeca129034
NaturalEarthLoader: free the thread, oops
...
Used the wrong smart pointer type, use the regular C++ one now.
2021-02-21 19:15:55 +00:00
Scott Giese
641db612aa
Maintenance: kln89
...
prevent overflow
convert atoi to stoi
2021-02-21 10:49:20 -06:00
Scott Giese
8567209ada
Maintenance: kr_87
...
overflow prevention
2021-02-21 10:15:15 -06:00
Scott Giese
6e64bd12e0
Maintenance: gps
...
overflow prevention
2021-02-21 10:07:27 -06:00
Scott Giese
cd5ec691af
Maintenance: clock
...
Reduce type size. Overflow prevention.
2021-02-21 09:53:08 -06:00
Scott Giese
2414397073
Maintenance: gui_funcs
...
Improved type choice.
Suppress compile warning.
2021-02-21 09:10:36 -06:00
James Turner
c2c4e6f126
Fix crash when menu item has no label
2021-02-21 12:13:00 +00:00
Scott Giese
edf766481d
Modernize: genTransponderCode()
...
update to c++
2021-02-21 01:26:50 -06:00
Scott Giese
cea9ba87a4
Suppress warning: potential uninitialized variable
2021-02-21 00:40:42 -06:00
Scott Giese
eb708eb5fe
Maintenance: runways
...
whitespace formatting.
increase buf size
convert atoi() to stoi()
2021-02-21 00:03:47 -06:00
Scott Giese
4a2cbc7389
Maintenance: HUD
...
prevent buffer overflow
2021-02-20 23:38:33 -06:00
Scott Giese
3c0d5661b5
Maintenance: cJSON
...
unguarded if statements... suppress warnings
2021-02-20 23:15:29 -06:00
Scott Giese
98e9c45287
Maintenance: yasim-test
...
unintialized variable correction
2021-02-20 23:04:13 -06:00
Scott Giese
4ce8be87a0
Maintenance: DefaultAircraftLocator
...
type correctness during comparison
2021-02-20 22:50:56 -06:00
Scott Giese
3c694ddb5b
Remove redundant policy definitions.
...
Add CMP0116 from CMake 3.20.
2021-02-20 22:34:32 -06:00
Scott Giese
2c9e2d86db
Maintenance: MPServersModel
...
type correctness
2021-02-20 22:29:55 -06:00
James Turner
caad29e7c8
Add error reporting to common failure points.
...
Not exhaustive by far, but adds many of the common failure points
witnessed on Sentry.
2021-02-20 20:06:27 +00:00
James Turner
a0ff4adbc6
Tweaks to sentry integration
...
Report menu item activation, and define a RAII helper for setting
the XML error reporting state.
2021-02-20 20:05:51 +00:00
James Turner
c85916d88d
Add error reporting subsystem
...
Requires corresponding SimGear commit
2021-02-20 20:05:03 +00:00
James Turner
cab0dc12a1
Remove a lingering Boost usage
2021-02-20 19:59:13 +00:00
James Turner
67d235a17e
Add a CMake message when ASan is enabled
2021-02-20 19:59:13 +00:00
Scott Giese
dd60a041b1
Maintenance: Yasim
...
unused static const char* warning.
Eliminate the variable since it is the only one defined.
2021-02-20 11:12:15 -06:00
Scott Giese
20c386a2f4
Maintenance: flite
...
fix whitespace and unguarded warning.
2021-02-20 11:09:12 -06:00
Scott Giese
01d912ad73
Maintenance: flite - unused variable
2021-02-20 10:07:27 -06:00
Scott Giese
92e34d5bf5
Maintenance: flite
...
logic error: Use of uninitialized variable.
clean up a few whitespace issues.
2021-02-20 10:06:23 -06:00
Julian Smith
32a066f810
Fixed replay-from-url bug.
...
Need to use simgear::HTTP::FileRequestRef shared pointer, otherwise
HTTPFileRequest will delete it after the transfer.
Also changed callback to a lambda to match reinstated simgear API.
2021-02-20 13:54:04 +00:00
Scott Giese
9fdb3e2c2a
Maintenance: flite - type safety
...
address of struct containing union. explicit cast to suppress warning.
2021-02-19 23:49:30 -06:00
Scott Giese
2e6ee5c2d3
Maintenance: iaxclient - Prevent buffer overflow
2021-02-19 23:03:12 -06:00
Scott Giese
d73bc11cf5
Maintenance: iax_transfer
...
Set but unused return code. Removed.
2021-02-19 22:48:14 -06:00
Scott Giese
580d069a1f
Maintenance: Prevent buffer overflow
2021-02-19 22:43:44 -06:00
Scott Giese
0df12d9c60
Maintenance: _BSD_SOURCE is deprecated
...
_DEFAULT_SOURCE supercedes _BSD_SOURCE
Suppresses glib warning
2021-02-19 22:03:02 -06:00
Julian Smith
309e28c6d7
src/Viewer/viewmgr.cxx: removed asserts on inputs from aircraft/nasal code.
...
The fgfs executable is the unit within which it makes sense to check
preconditions with assert. We are not in control of aircraft code in the same
way.
This allows debug build of test-suite to check handling of out-of-range view
numbers.
2021-02-19 22:27:34 +00:00
Julian Smith
ca423e0e3e
src/Aircraft/replay.cxx: downgrade recording indexing diagnostic.
2021-02-19 10:21:21 +00:00
Julian Smith
5b2fd572e4
src/Main/options.cxx: fixed Windows build error - use SGTimeStamp::sleepForMSec(), not sleep().
2021-02-19 10:21:21 +00:00
Scott Giese
0019b22046
Code Maintenance - nullptr checking
2021-02-18 23:52:46 -06:00