Edward d'Auvergne
0b2152a8ad
TestSuite: Removal of some ancient, unused test files.
...
These include Scenery/{maptest.cxx, test.cxx} and Time/{test_event.c, ttest.c,
win32test.c}. These files, essentially untouched since added in 1999, are not
useful for conversion for the test suite.
2018-07-26 15:52:07 +02:00
Edward d'Auvergne
dbe7c90115
TestSuite: Shifted the YASim atmosphere test into the CppUnit framework.
2018-07-26 15:52:07 +02:00
Edward d'Auvergne
ba5b472705
TestSuite: Elimination of the now unused ENABLE_TESTS CMake variable.
2018-07-26 15:52:07 +02:00
Edward d'Auvergne
feb854946e
TestSuite: Complete removal of FG_TESTLIB.
2018-07-26 15:52:07 +02:00
Edward d'Auvergne
3e4132e660
modalMessageBox: Support for the runtime headless mode.
...
The caption, message, and additional text are instead output via SG_LOG().
2018-07-26 15:52:06 +02:00
Edward d'Auvergne
4699939275
Globals: Initial support for a runtime headless mode.
2018-07-26 15:52:06 +02:00
Edward d'Auvergne
b0c5a5481d
TestSuite: Migration of the autosaveMigration tests into the CppUnit infrastructure.
2018-07-26 15:52:06 +02:00
Edward d'Auvergne
63d751c15e
TestSuite: Always capture OSG logging.
...
The NotifyLogger class from src/Viewer/fg_os_osgviewer.cxx has been shifted into
a simgear header file so that it can be reused within the test suite.
2018-07-26 15:52:06 +02:00
Edward d'Auvergne
acb3307a1a
TestSuite: Migration of the AeroMesh tests into the CppUnit infrastructure.
2018-07-26 15:52:06 +02:00
Edward d'Auvergne
7aa034bc80
TestSuite: Migration of the AeroElement tests into the CppUnit infrastructure.
2018-07-26 15:52:06 +02:00
James Turner
68141f3675
Launcher shows aircraft URLs
...
(in the details view)
2018-07-26 12:03:21 +01:00
James Turner
72d5f1efa0
Basic support for structured authors data
2018-07-25 13:58:48 +01:00
James Turner
4395f96b13
Launcher: Fix helipad selection
2018-07-25 09:27:43 +01:00
James Turner
f3a1c10b24
Fix bug #2306 - missed refresh of the history model
...
The HistoryPopup was caching its contents rather early, and we failed
to tell the model when its underlying data updated. Connect that
through so the history model refreshes also.
https://sourceforge.net/p/flightgear/codetickets/2036/
2018-07-23 09:34:31 +01:00
Bertrand Coconnier
ec004d8c6b
Sync'ed JSBSim
...
- Trim reports, FGOutputFG and sockets messages now respond to the debug level
- Channels : fix for incorrect time steps caused by execrate
- Improved configuration error detection in FGSwitch with respect to late bound
- Fixed the ordre in which the components of the p-factor moment are reported in CSV output files.
2018-07-20 23:38:33 +02:00
James Turner
af380e0d8c
Fix glitch in custom start date/time persistence
2018-07-19 09:58:44 +01:00
James Turner
3422caa4d2
Launcher: Fix default runway selection
2018-07-19 09:58:44 +01:00
James Turner
86786496a5
Working on airport entry
2018-07-19 09:58:44 +01:00
James Turner
9098219032
Better units handling in the launcher / UI
2018-07-19 09:58:44 +01:00
James Turner
9716274612
Hacking UI for FP entry
2018-07-19 09:58:43 +01:00
James Turner
5b73e9c7d0
DME: refactor with a clear() helper for off/out-of-range
...
This ensures consistent behaviour of properties for out of range,
no station, U/S, loss of power.
Thanks to Sascha Reissner for the issue report.
2018-07-17 09:11:30 +01:00
Bertrand Coconnier
64f3c1d3b6
Sync'ed JSBSim
...
- Now all the sea level properties from the standard atmosphere are updated along with the other atmosphere properties.
- The properties propulsion/start_cmd and propulsion/cutoff_cmd are now read/write (they were read only before).
2018-07-07 18:34:19 +02:00
Bertrand Coconnier
7178b3ef6a
[JSBSim] Added a new property to ignore/override FG brake properties.
...
Mickael Danilov reported that one cannot send brake commands to /fdm/jsbsim/fcs/{right,left}-brake-cmd-norm since FG overwrites them with /autopilot/autobrake/* properties.
A new property /fdm/jsbsim/systems/override-fg-brake-properties has been added which is set ot false by default to keep the legacy behavior. When set to true, the properties /fdm/jsbsim/fcs/{right,left}-brake-cmd-norm can be modified by the user and will ignore the setting from FlightGear.
2018-07-07 17:04:01 +02:00
Bertrand Coconnier
07fac8c08e
[JSBSim] Fixed the property atmosphere/P-sl-psf
...
It did not report the correct value when modified.
2018-07-05 21:28:53 +02:00
James Turner
b24ba303dc
Fix a bug restoring a lat-lon location from history
...
https://sourceforge.net/p/flightgear/codetickets/2035/
2018-07-05 00:42:18 +01:00
James Turner
0f83a71860
Launcher search box clear icon
2018-07-05 00:41:42 +01:00
James Turner
916f2d7d76
Fix yes-no panel transparency
2018-07-05 00:17:05 +01:00
James Turner
b177d407f8
Launcher: fix setting altitude for lat/lon
...
https://sourceforge.net/p/flightgear/codetickets/2034/
2018-07-04 23:17:18 +01:00
Bertrand Coconnier
b0ee215bed
[JSBSim] Tentative fix for the P factor
2018-07-05 00:15:43 +02:00
James Turner
ab5342888b
Launcher: Install-scenery dialog supports .zips
...
Use the improved Simgear archive support to allow the WS2.0 zips
to be extracted
2018-07-04 11:36:30 +01:00
James Turner
728a5b13db
Tweak addons catalog styling
...
Refactor into a separate delegate component to make things cleaner
2018-07-04 09:54:26 +01:00
James Turner
81f4ce5ea8
Opt out of Qt's DPI scaling by default
2018-07-03 09:49:00 +01:00
James Turner
6dd374408c
Launcher: keyboard shortcuts
...
Use The Qt 5.6 Shortcut item, but via a conditional file so
we don’t touch the base Qt requirement. (This means no shortcuts
when using Qt 5.4 or 5.5, oh well)
2018-07-03 09:36:30 +01:00
James Turner
abcbbe897f
Ensure we build on Qt 5.4 (no qInfo)
2018-07-03 09:35:26 +01:00
James Turner
5c3c4a6733
Fix property-inspector Nasal module hookup
...
We need to clone the binding nodes so that we
can set / override the module on each binding,
when opening a dialog multiple times.
2018-07-03 00:34:33 +01:00
James Turner
68a2e80cb1
Add another human name for a state
...
Found this in the Citation Bravo, missing ‘taxi’
2018-07-02 23:15:01 +01:00
James Turner
12dac05d38
Launcher: experimenting with SVG icons
2018-07-02 23:15:01 +01:00
James Turner
c684701b7f
Fix 'restart the app' functionality on Windows
...
The read-only lock in fghome was tripping things up. Explicitly
release the lock in the restart-the-app situation.
2018-07-02 23:13:36 +01:00
James Turner
08c7707782
Launcher: altitude entry for runway-approach
2018-07-02 16:45:17 +01:00
James Turner
f76be60459
Confirm aircraft uninstallation
2018-07-02 14:40:18 +01:00
James Turner
85024d0f75
Improve aircraft list hightling
...
When selecting an aircraft programtically, don't animate the move
2018-07-02 14:31:05 +01:00
James Turner
946366a9d0
Fix aircraft list divider margin
2018-07-02 14:17:05 +01:00
James Turner
4752d266c6
Save settings on launcher exit
2018-07-02 14:13:00 +01:00
James Turner
8f9afcd796
Fix jumping aircraft when selecting variants
...
Always sort on the primary aircraft name, otherwise select a variant
triggers a re-sort of the list which is confusing for the user.
2018-07-02 14:11:01 +01:00
James Turner
a311e744ff
Fix variant poup on Linux
...
Maybe WM specific, but sizing the window late seems to trigger a bug. Fixes
repeated variant selection on Ubuntu for me.
2018-07-02 14:09:52 +01:00
James Turner
6475ae32b1
Launcher: nicer min-window-size computation
2018-07-02 11:59:01 +01:00
James Turner
b7e98caecf
Ensure the C172P tutorial airport (PHTO) is always listed
...
Adjust the location history so the default and tutorial airports always appear at
history locations 0 and 1.
2018-07-02 11:50:48 +01:00
James Turner
33ed13f889
Fix menu width when a header item is present.
2018-07-02 11:50:48 +01:00
Bertrand Coconnier
f0b16844b5
Sync'ed JSBSim
...
- Air density now takes humidity into account.
- The protocol of input sockets is no longer case sensitive
- Late bounded properties are now cached for better performance.
2018-07-01 19:08:39 +02:00
James Turner
d126c5a3da
Tweak launcher location-arg knock-out mode.
...
Allow setting of various secondary location args without
knocking out the main ones. The user arg values still override, but
this allows selecting a runway (for example) and manually setting
altitude / heading / offset if desired.
2018-06-29 14:56:05 +01:00
James Turner
602c2c30dd
FlightPlan parses waypoints using Simgear code
...
This means many formats are supported in the route-manager input
method, and when creating waypoints from a string.
2018-06-29 14:53:30 +01:00
James Turner
dea2d5e45e
Expose hold info to Nasal waypoint
...
Changes from Tobias Dammers, adjusted by James.
2018-06-29 11:52:27 +01:00
James Turner
016d359291
Fix assert found by Tobias Dammers
...
Hold waypoints were being marked as dynamic erroneously
2018-06-29 11:36:54 +01:00
James Turner
7a0483281d
Aircraft update list gets its own tab
2018-06-28 23:45:52 +01:00
James Turner
2212e9342f
Launcher: increase precision of lat/lon args
2018-06-28 22:51:53 +01:00
James Turner
1e3ba48a88
Windows compilation fix
2018-06-28 22:35:27 +01:00
James Turner
1a7f513fb1
Allow setting VC for on-final start
2018-06-28 16:54:21 +01:00
James Turner
aa61c55168
Disable on-final for heliport starts
2018-06-28 16:54:21 +01:00
James Turner
f6106e39d1
Launcher window-state saving
2018-06-28 16:54:21 +01:00
James Turner
7f554bd0fd
Fix saved config naming
2018-06-28 16:54:21 +01:00
James Turner
7d7dc725a8
Bug fixes for location saving
2018-06-28 16:54:21 +01:00
James Turner
5ebee55632
Launcher can save/load configs to disk
...
Aircraft state is also persisted to configs and on flying
2018-06-28 16:54:21 +01:00
James Turner
c013eb74ab
Nasal API to lat/lon formatting and parsing
2018-06-28 16:44:10 +01:00
James Turner
e49b1328c8
Route-manager waypoint-list lat-lon formatting
...
Use the new Simgear helpers to make the lat-lon formatting the
waypoint list dialog nicer.
2018-06-28 16:44:10 +01:00
James Turner
c86ed96433
Fix a compilation issue reported by Dany
2018-06-28 12:05:49 +01:00
James Turner
2573644518
Many small style fixes
2018-06-28 11:43:40 +01:00
James Turner
cf09e3f138
Tiny style tweak
2018-06-28 09:22:29 +01:00
James Turner
82f99a6a9e
Fix popup-width warning
2018-06-28 09:07:51 +01:00
James Turner
81b9105a8f
Show location history on 'back'
2018-06-27 23:33:16 +01:00
James Turner
ce15ca666f
Remove obsolete files
2018-06-27 23:18:18 +01:00
James Turner
2d6a6cd59e
Fix JS warning in Sidebar
2018-06-27 23:02:58 +01:00
James Turner
6535846732
Launcher styling tweaks
2018-06-27 16:46:22 +01:00
James Turner
ea5608b769
Use simgear formatting of lat/lon values
...
The code was basically moved into Simgear, this is just closing the
circle.
2018-06-27 11:27:12 +01:00
James Turner
2f12c0b0bd
Trim aircraft names to fix alphabetical sort
...
(Note, only for locl acft, hangar acft need a seperate fix)
2018-06-26 17:35:31 +01:00
James Turner
5229f8eabf
Basic menu for the launcher
2018-06-26 17:13:28 +01:00
James Turner
31f80e2431
View-command-line page marks overriden args
...
We mark up launcher arguments which are over-ridden
2018-06-26 11:20:10 +01:00
James Turner
5ada6d46d9
Improve launcher feedback when location is disabled
...
Also improve warning text about conflicting args
2018-06-26 11:20:10 +01:00
James Turner
92ab8549bd
Add ellipsis icon for QQ2 menu
...
Copying the same icon as Spotify and Chrome :)
2018-06-26 11:17:36 +01:00
James Turner
b690be1206
Fix HID input init
2018-06-25 23:39:22 +01:00
James Turner
5741cad568
HID tweaks
2018-06-25 23:39:22 +01:00
James Turner
268f9c9c33
Launcher: ensure extra args override launcher ones
...
Categorise arguments to ensure user-specified ones take precedence
over values set by the launcher.
When any positional arg is set, exclude all positional ones from being
set at all, to prevent strange interactions.
2018-06-25 23:06:20 +01:00
James Turner
9098e47664
Launcher: use new SGGeod <-> string functions
...
This relies on the latest Simgear to provide these functions.
2018-06-25 18:12:43 +01:00
James Turner
ca785f01e5
Launcher: Fix a crash in the new location code
2018-06-25 16:40:00 +01:00
James Turner
7d84a03dea
WebSocket property-mirror: optimise JSON building
...
Work around some awful cJSON performance when building large arrays,
greatly speeding up remote-canvas updating
2018-06-24 23:22:30 +01:00
James Turner
be3e927d4e
Property-mirror protocol C++11 tweaks
2018-06-24 14:32:35 +01:00
James Turner
0987b82fa8
Launcher styling tweaks
2018-06-24 11:15:01 +01:00
James Turner
c38e820756
Launcher: fix Windows build
2018-06-23 17:55:39 +01:00
James Turner
1bf52662ae
Launcher converted to QQ2
...
This simplifies the launcher's rendering since the widget-based
code is gone, various things get hooked up as a result. Styling
fixes everywhere as well.
Menubar on Linux/Windows needs to be re-added.
2018-06-23 17:14:21 +01:00
Bertrand Coconnier
f81c01465e
Fixed crashes while repositioning the aircraft.
2018-06-22 23:16:22 +02:00
James Turner
01f05b5383
Launcher: styling improvements everywhere
...
Use a standard text component to ensure the base font size can be
controlled centrally.
2018-06-21 22:54:37 +01:00
James Turner
225a128540
Consistent capitalisation of ACTIVE
2018-06-21 17:34:16 +01:00
James Turner
24d877fc18
Launcher: experiment with HiDPI airport icons
2018-06-21 16:16:35 +01:00
James Turner
240ac0f458
Launcher: optional alt/spd/hdg select
...
Bring this feature up to parity with the release branch.
2018-06-21 15:27:48 +01:00
James Turner
198f9ccb70
Tweaks to location search based on feedback
2018-06-21 14:34:05 +01:00
Bertrand Coconnier
6d83e6978d
Sync'ed JSBSim
...
* Removed the IAS dependency to the Pitot tube angle (real Pitot tube are less sensitive to AoA than was simulated)
* Removed the class FGUDPOutputSocket which was redundant with FGOutputSocket
* Added a new type of functions "template" which are intended to prevent duplication of functions. For now, they are available to compute output values and script notifications.
* Aerodynamics forces can now be specified in stability axes.
* Density altitude and pressure altitude are computed according to ISA standard atmosphere 1976.
New properties:
* Flight path angle (gamma) in degrees
- fdm/jsbsim/flight-path/gamma-deg
* Aerodynamics forces in stability axes
- fdm/jsbsim/forces/fsx-aero-lbs
- fdm/jsbsim/forces/fsy-aero-lbs
- fdm/jsbsim/forces/fsz-aero-lbs
* Aerodynamics moments in stability axes
- moments/roll-stab-aero-lbsft
- moments/pitch-stab-aero-lbsft
- moments/yaw-stab-aero-lbsft
* Pause JSBSim
- fdm/jsbsim/simulation/pause
* Fixed multiple bugs.
2018-06-19 23:08:07 +02:00
James Turner
ccabc052bc
Restore alphabetical sort of aircraft
2018-06-16 22:52:59 +01:00
James Turner
670bc17def
Launcher: improve transparent panel legibility
2018-06-16 22:17:45 +01:00
James Turner
e8ef24a54f
MSVC warning fixes
2018-06-16 13:03:36 +01:00
James Turner
82f23e556e
Improve MSVC project generation
...
- set startup project to fgfs
- guess a value for PATH based on the build config
2018-06-16 13:03:23 +01:00
James Turner
7c9b1b391f
Guard against SGPath::document()s returning null
...
Underlying bug is fixed in SimGear, but let's also guard against a failure here,
by falling back to FG_HOME on Windows.
For discussion see:
https://sourceforge.net/p/flightgear/codetickets/2019/
2018-06-15 11:11:05 +01:00