James Turner
3cbbbe3df4
Sentry: fix a merge error when enabled.
2020-11-01 11:18:55 +00:00
Julian Smith
d34f7dc451
src/Main/positioninit.cxx: open popup if we can't find taxiway to avoid starting on runway.
2020-11-01 09:29:20 +00:00
Julian Smith
1a4d3785c4
src/Main/fg_commands.cxx: incremented diagnostic if profiling not available.
2020-11-01 00:03:03 +00:00
Julian Smith
aa1e0e1d1d
src/Main/main.cxx: fixed warning in OpenBSD-specific code.
2020-11-01 00:03:03 +00:00
Julian Smith
a6a7ce3e4b
src/Main/bootstrap.cxx: avoid warning on openbsd.
2020-11-01 00:03:03 +00:00
Julian Smith
34e749bc15
src/Main/bootstrap.cxx: disable custom segfault handler on OpenBSD.
2020-11-01 00:03:03 +00:00
Julian Smith
43468727ad
Added command 'dialog-toggle' - toggles display of dialogue.
...
E.g. useful for keyboard shortcuts.
2020-10-31 17:23:28 +00:00
Julian Smith
e2f2299286
src/Main/options.cxx:fgOptLoadTape(): call fgOSExit() if we fail to load tape.
...
If user specified --load-tape then failure to load it should be fatal to avoid
confusion. It also avoids needlessly overwriting a valid recovery tape if
/sim/replay/recovery-period is set.
2020-10-31 17:23:28 +00:00
James Turner
0dfdf63399
Clear atomic listeners too
...
This is part of trying to reduce possible causes of the property
crash on shutdown.
2020-10-29 17:28:05 +00:00
Automatic Release Builder
5b3f0e5cbb
Sentry: generate a UUID for report tracking
...
Because we don’t have any user-identifier, generate a UUID so that
we can filter reports by it.
2020-10-29 16:24:41 +00:00
Automatic Release Builder
3e72fb230f
Sentry: block XML parse errors from the launcher
...
Avoid filling up the logs when the launcher parses broken aircraft XML;
wait until the user actually pick one to fly with, before reporting
XML errors.
2020-10-29 16:23:26 +00:00
Automatic Release Builder
19aa0332f2
loadxml() command: add ‘quiet’ bool option
...
This is to avoid console/log spam from jetways.nas in particular,
which uses loadxml to probe for file existence, every 10 seconds. But
in general it seems useful to have this potentially be quiet, since
there is a result code.
2020-10-29 16:23:26 +00:00
Automatic Release Builder
4ac8523bed
SetupRootDialog: avoid calling exit()
...
This causes QApplication to become unhappy and crash, so use a
graceful exit via a new return code and FG_OPTIONS_EXIT instead.
Sentry-Id: FLIGHTGEAR-6B
2020-10-29 16:22:35 +00:00
Automatic Release Builder
2b54078023
Additional Sentry message ignores: add AC3D
...
These make the reports very noisy for no value.
2020-10-29 16:22:35 +00:00
Automatic Release Builder
7597887e60
Fix Sentry issue: FGCom crash on exit
...
FGCom was added to the wrong group, leading it to be shutdown after
FGSoundManager, and hence, after OpenAL wad closed, which causes
crashes.
Sentry-Id: FLIGHTGEAR-66
2020-10-29 16:22:35 +00:00
Automatic Release Builder
c7b90a05d7
Silence a warning on exit.
2020-10-29 14:53:25 +00:00
Automatic Release Builder
c7f66ecf1c
Fix some warnings from Xcode 12
2020-10-29 14:52:19 +00:00
Automatic Release Builder
c75388f4b7
Sentry: white-list another libPNG warning
...
These are not useful for tracing, so filter them out
2020-10-29 14:47:57 +00:00
Automatic Release Builder
6e947f59eb
Change MP on-runway-start message to MANDATORY_INFO
2020-10-29 14:47:48 +00:00
Automatic Release Builder
39bc7f2acd
Nasal: reduce exceptions from loadxml()
...
When the file path is not preset, check for this and don’t let
readProperties() fail with an exception, since this makes for very
noisy event reporting.
2020-10-29 14:46:35 +00:00
Automatic Release Builder
d803875997
Sentry: fix exception reporting formatting
2020-10-29 14:46:07 +00:00
Automatic Release Builder
c564c667df
Sentry: avoid duplicate events for exceptions
...
Since fatalMessageBox already logs an event when it’s invoked, don’t
report the event a second time.
2020-10-29 14:44:40 +00:00
Automatic Release Builder
a2ba405d8e
Sentry: log SimGear exception throws
2020-10-29 14:44:27 +00:00
Automatic Release Builder
db4e71955e
Sentry: track compositor on/off
2020-10-29 14:42:24 +00:00
James Turner
dfcae619cf
Crude startup logging.
...
To diagnose startup hang, will revert once we have fix the issue.
2020-10-29 13:44:59 +00:00
James Turner
423c754009
Reposition: tolerate more scenarios in ATC_mgr
...
When starting at an airport, but not at parking or a runway, create
an empty AIFlightPlan, and ensure the AIManager code doesn’t choke on
empty FPs.
Add a unit-test which simulates the C172 tutorial reposition logic,
which is a little gnarly.
2020-10-27 18:32:18 +00:00
Erik Hofman
ef8dc106ce
Explicitly set the daylight-saving time flag to zero since we specify in GMT
2020-10-22 12:02:28 +02:00
Erik Hofman
23252df726
Move tide calculations from FGLight into it's own subsystem
2020-10-19 14:28:56 +02:00
James Turner
497636c3dc
Fix for Linux build
2020-10-15 16:17:30 +01:00
James Turner
5329c4024b
Sentry experiment: record warnings/alerts
...
This means that when a crash/exception occurs, we can see the preceding
warnings and alerts. Not sure if this will really help, so giving it
a test.
2020-09-18 10:34:40 +01:00
James Turner
d56e3857b6
Fix sentry setting of dist
...
Was missing header and string conversion, oops.
2020-09-18 10:14:23 +01:00
James Turner
aea0a1a12a
Sentry: set dist (build) data
2020-09-17 21:45:39 +01:00
James Turner
3a69e20248
Reduce the default log-level for the launcher.
2020-09-14 11:05:46 +01:00
James Turner
cae06a79b7
Attempt to fix crash-on-exit seen for Windows
...
Can’t reproduce this crash but it’s happening for some users on Windows,
so this should either fix it, or make the problem more obvious. Let’s
see.
https://sentry.io/organizations/flightgear/issues/1890563449
2020-09-14 11:05:46 +01:00
James Turner
395a3e70e9
Logging: use new MANDATORY_INFO level.
...
Requires corresponding SG commit.
2020-09-08 10:59:29 +01:00
Erik Hofman
bdc66d5535
Rename our own version of pu.h to FlightGear_pu.h per James advice. Remove inclusion of pu.h where it isn't requirted.
2020-09-03 12:56:01 +02:00
Erik Hofman
0451816a82
Add our own version of pu.h and use it to prevent bug #2362 on all systems. This can be done since pu.h is to be considered in code freeze forever anyhow.
2020-09-01 10:12:42 +02:00
Scott Giese
7b914bc5fb
Removed unreachable code
2020-08-29 11:20:40 -05:00
James Turner
66f938be8e
Sentry: fix naming clash.
2020-08-26 15:29:55 +01:00
James Turner
a882b75c9b
Sentry: fix fatal-error event type.
2020-08-26 13:57:44 +01:00
James Turner
5dbab6e90e
CMake: overhaul how we find 3rd-party files
...
Handle the standard windows-3rd-party setup (used by fgmeta) with no
extra options, and also handle the slightly odd setup we use on Jenkins.
Try to tolerate all permutations of setting MSVC_3RDPARTY_ROOT to
different places in the hierarchy.
We no longer try to guess Boost_INCLUDEDIR by looking at parent dirs of
MSVC_3RDPARTY_ROOT, since this seemed kind of bad to me. Let’s try
it and see.
2020-08-26 13:57:24 +01:00
Automatic Release Builder
9d775cdfe7
Fix duplicate init of Sentry on reset
2020-08-26 09:52:16 +01:00
Automatic Release Builder
73b4c3839d
Sentry: more breadcrumbs
2020-08-26 09:52:09 +01:00
Automatic Release Builder
d9b7435dab
Sentry logging of exceptions, fatal errors
2020-08-26 09:52:02 +01:00
Automatic Release Builder
bade1ec4c6
Attempt to fix ref-ptr crash on exit
...
Fixing Sentry issue FLIGHTGEAR-9
2020-08-26 09:51:55 +01:00
James Turner
cf424e4344
Rename buildId header file
...
Avoid the very common name ‘build.h’ in favour of something clearer
and FlightGear specific.
2020-08-24 15:05:16 +01:00
James Turner
178d1beb80
Cmake: Remove version.h machinery
...
Merge this file into config.h, this means we can save an include path
everywhere.
2020-08-24 15:04:24 +01:00
James Turner
95fd692af1
CMake: move install() rule for compatability
...
Older CMake versions can’t install(TARGET…) from a different directory.
2020-08-23 21:50:36 +01:00
James Turner
218df89b29
Embedded resources: better cmake command
...
Use add_custom_command and an intermediate OBJECT library to avoid
rerunning fgrcc unless the XML input file has actually changed.
2020-08-23 11:31:37 +01:00
James Turner
47ff3e9f67
Improve CMake strucutre
2020-08-23 11:31:37 +01:00