James Turner
2a1e33863a
Search all resources when adding models at runtime.
...
geo.put-model / add-model mechanism now supports resolving paths
using all the defined locations, including aircraft dirs and
additional data dirs,
2014-01-23 15:02:33 +00:00
James Turner
c6541e9c8f
Remove some debug log calls.
...
All places which continuously log messages (either every frame or at
least every second) tending to swamp other log output.
2014-01-23 13:49:58 +00:00
James Turner
45d67406a4
CrashRpt tweaks, checking.
...
- show a message box if setup fails
- log setup status
2014-01-22 22:33:30 +00:00
James Turner
80cc2ff8c3
Adjust fg-aircraft handling back to original style.
...
- startup code will warn and fix the alternate style
- man page now documents the option
2014-01-22 10:56:04 +00:00
Clément de l'Hamaide
695a9be75d
Use --fg-aircraft paths for AI model
...
Firstly search model in $fg-root/AI/ path,
if not found, search model in --fg-aircraft paths,
if not found, search model in $fg-root/Aircraft path
This commit should solve the complaint "I have an aircraft in a separate Aircraft/ folder
but during MP session other user are shown with the aircraft from the $fg-root/Aircraft path
instead of this behaviour I want to see the aircraft from my separate Aircraft/ folder"
2014-01-21 00:13:17 +01:00
James Turner
a46114da9a
Fix typo, add Hudson Build-ID to reports.
2014-01-20 21:54:06 +00:00
James Turner
1b585fa415
Windows native file-dialog, menu-bar
...
By Gijs with additions by James. Menubar is disabled at present
since it's not usable and potentially inferior to other solutions,
but committing the code so it doesn't rot.
2014-01-20 18:43:02 +00:00
James Turner
b9353144a5
Add crashrpt to Windows nightlies.
2014-01-20 09:07:08 +00:00
James Turner
ce3a7b20fe
Crash-fix: mat-lib is now reference-counted.
...
Adapt to corresponding SG change to make SGMaterialLib be ref-counted,
and have the 'reload-materials' command notify the tile-manager of this,
so it can update the options struct it passes to new tiles.
2014-01-19 16:49:44 +00:00
James Turner
2df74c9b63
Silence some clang warnings.
...
(Unused private variables)
2014-01-19 16:49:43 +00:00
Erik Hofman
fe79be0702
Do not use the new JSBSim ground reactions code by default until there is a good way to identify Nasal scripts that do this themselves
2014-01-19 15:23:15 +01:00
James Turner
49a0398fc6
Make lifetime of CameraViewportListener explicit.
...
MSVC is warning on this usage, as is the Mac release build. Working
around the issue for the moment.
2014-01-18 18:49:03 +00:00
James Turner
2a460d8e86
Make CrashRpt link optional
...
(The variable contains -NOTFOUND, not the empty string, so we can't
just link against it regardless)
2014-01-18 15:36:20 +00:00
James Turner
590be3f8ff
Initial integration of CrashRpt for Windows.
2014-01-18 14:51:19 +00:00
Erik Hofman
e3e44e49ee
Sync. with JSBSim CVS: although it looks a large part it is mostly bug fixes and fixing compiler warnings
2014-01-18 10:56:15 +01:00
Torsten Dreyer
a5cc6353b3
Version 3.1.0
2014-01-17 22:00:20 +01:00
Torsten Dreyer
41d8820d9f
No double-zero for the version number :-/
2014-01-17 21:49:57 +01:00
James Turner
f98af7eb35
Fix un-initialized memory read.
2014-01-17 17:17:47 +00:00
Torsten Dreyer
15e52d4ae4
Version 3.0.0
2014-01-16 21:47:52 +01:00
Clément de l'Hamaide
c0c8158ca1
FGCom: force 8.33KHz to be handled even if the frequency doesn't exist
2014-01-16 18:15:58 +01:00
James Turner
2a354e224c
Make Traffic-via-terrasync conditional
...
GUI dialog already set the property, just need to pick it up.
2014-01-15 22:01:02 +00:00
James Turner
5e7574c9c2
Bug-fix: Cocoa menus work in aircraft with custom dialogs.
...
Restarting the GUI could cause Cocoa menus to misbehave, due to
destruction behaviour of SGBinding. Use new clear() helper in the
short term to work around this.
2014-01-15 22:00:09 +00:00
James Turner
2b55acd3eb
Tweaks to fg-aircraft handling.
...
Warn (but do not require, since people would probably complain) when
added paths do not contain an Aircraft subdir. When people specify
a path which ends in /Aircraft, use the parent directory.
2014-01-15 17:10:12 +00:00
James Turner
d8a3f160ef
Bugfix: guard against corrupted airport XML.
2014-01-14 13:42:11 +00:00
James Turner
1b9394fc37
Crashfix: move spatial, AI queries in map-widget
...
In threaded OSG drawing, MapWidget::draw runs in the render
thread context, but touches lots of main thread state. Move most of the
work to an update() helper run on the main thread instead, so draw()
mostly makes pure GL calls.
(This is a fix for 3.0, the real solution is to migrate to a
Canvas-based map and GUI)
2014-01-14 13:11:06 +00:00
James Turner
976f3115a9
GPS bug fix: restore startup mode.
...
- the 'default to current airport' behaviour got broken by the
changes to the scratch.
- expose a 'valid' flag on WP1
2014-01-14 13:04:52 +00:00
James Turner
9993e0a588
Fix bug 1286 - mouse scroll-wheel+shift ignored
...
On Mac, the OS is mapping shift+wheel to horizontal scrolling for
those of us without a mighty-mouse or trackpad. Detect this case
and map back to vertical scrolling inside FlightGear for the moment.
https://code.google.com/p/flightgear-bugs/issues/detail?id=1286
2014-01-13 21:08:32 +00:00
James Turner
061154d7a6
Reset, fix Nasal timers added on shutdown.
2014-01-13 20:13:34 +00:00
James Turner
4d0eeb8184
Reset work, fix time-slew on OSG event handling.
2014-01-13 20:13:34 +00:00
Clément de l'Hamaide
606643a199
FGCom: update special_frq for built-in/standalone sync
2014-01-12 21:17:57 +01:00
James Turner
7316360421
Clear the custom OSG notify logger on shutdown.
...
Should avert crashes due to order of static destruction.
2014-01-12 17:18:35 +00:00
James Turner
7b8a64b614
Crash fix: thread-safe material conditions
...
When tiles are being loaded, re-evaluate the materials cache once
per update cycle. (This is probably too often, but no worse than the
previous approach).
2014-01-06 08:28:40 +00:00
James Turner
448539a6b9
Fix crash: Quit via Cmd-Q on Mac.
...
Tweak static-init order of some OSG objects, so they are valid when
fg_terminate runs, and hence orderly shutdown in possible.
2014-01-04 17:27:55 +00:00
James Turner
9e773e85f8
#1291 , hang on exit with OSG threading.
...
Explicitly stop threading during shutdown, before destroying various
rendering / viewer related structures.
2014-01-04 16:10:42 +00:00
James Turner
580a7f07dd
Fix METAR-download bug on Windows.
...
https://code.google.com/p/flightgear-bugs/issues/detail?id=1207
Use the new (in SimGear) sgGMTime helper when comparing METAR age.
This prevents users in time-zones 4 or more hours ahead of GMT from
being unable to use METAR reports.
2014-01-01 21:05:29 +00:00
James Turner
47e802e674
Fix for the fix: check for a viewer.
...
- avoid a crash if we bail out before creating the viewer (missing
data or bad aircraft)
2013-12-30 17:16:53 +00:00
James Turner
b0db2a764f
Fix crash on exit (cancel the osgDB pager)
...
- borrow some code from the new reset codepath to cleanly stop the
OSG pager thread during normal shutdown. Avoids a race-condition
destroying various structures the pager thread might be modifying.
2013-12-30 15:24:15 +00:00
Clément de l'Hamaide
fe61a98ca5
Remove unwanted message from IAX lib
2013-12-26 15:36:57 +01:00
Clément de l'Hamaide
eac763ee61
Fix frozen shutdown for Linux
2013-12-26 15:36:08 +01:00
Clément de l'Hamaide
af5ae8b5b1
Make cmake happy (from Christian Schmitt commit - terragear)
2013-12-25 13:49:41 +01:00
Clément de l'Hamaide
c9a0a50847
Delete unused variable
2013-12-24 11:22:24 +01:00
Clément de l'Hamaide
4fc6c8a54d
FGCom standalone: update positions.txt
2013-12-23 14:04:21 +01:00
Clément de l'Hamaide
0687a1c1b2
gen_phonebook.pl: skip 8.33KHz from apt.dat + fgcom.conf update
2013-12-22 20:21:42 +01:00
Thomas Geymayer
5b537b6999
PID: ensure correct initialization with large sampling interval
2013-12-22 14:18:25 +01:00
James Turner
0940a33907
Use a real function to wrap isfinite differences.
...
Don't worry about compiler ability to inline the macro for the moment;
use a real function to ensure lookup is stable on different compilers.
2013-12-22 11:18:48 +00:00
James Turner
43358a2418
Fix a crash where we show a message-box on start.
...
Don't assume we got as far as creating a viewer when destroying
the renderer.
2013-12-21 15:31:27 +00:00
James Turner
c717b70231
Support non-C99 mode in MSVC.
2013-12-21 15:31:27 +00:00
James Turner
4c51ad0d87
Cocoa: fix warning about deprecated function.
...
SetFrontProcess is deprecated, use NSApplication instead now we
have the CocoaHelpers file.
2013-12-21 15:31:27 +00:00
Clément de l'Hamaide
f650fe5abd
Remove specific hack while testing period
2013-12-21 15:48:25 +01:00
James Turner
b3dbfe21fe
Fix some warnings from new Xcode.
...
finite is deprecated, use C99 isfinite as recommended.
2013-12-20 12:42:12 +00:00