James Turner
6185b8fd0d
Fix crash with Touch animation mouse-up
2020-04-05 14:04:19 +01:00
Richard Harrison
ef002f6dfa
Merge /u/fgarlin/simgear/ branch next into next
...
https://sourceforge.net/p/flightgear/simgear/merge-requests/73/
2020-04-04 20:43:04 +00:00
James Turner
9cdec99fa4
Quiet some warnings
2020-04-03 10:00:22 +01:00
Fernando García Liñán
9393f84972
Compositor: Fix crash when using clustered shading with OSG 3.6
2020-04-02 21:21:55 +02:00
Stuart Buchanan
ceba006c60
Only sync scenery-path-suffix with valid name
...
It is possible to have a property tree with
/sim/rendering/scenery-path-suffix[n]/enabled=true
/sim/rendering/scenery-path-suffix[n]/name=<blank>
Previously this would be downloaded as scenery//[tile]
Now we just ignore such invalid paths.
2020-04-01 21:47:53 +01:00
James Turner
e9e2053c64
Strutils: add hex-decoding helper
...
This will be used to allow entering hex bytes in XML files, for HID
descriptor support on Windows.
2020-03-31 10:09:47 +01:00
Fernando García Liñán
bf013aea54
Compositor: Improve custom depth range handling in scene passes.
2020-03-30 19:23:03 +02:00
Stuart Buchanan
454df4872a
Reduce shader attribute usage by packing floats
...
Previously we required 6 shader attributes to pass
in all the required information for the building shader.
By using packing techniques this has been reduced to 4.
This should improve support for integrated graphics cards.
2020-03-26 22:09:04 +00:00
James Turner
ec315bf26d
Fix thumbnail cache retrieval
...
Use direct reading of thumbnail-cache files, instead of using libCurl
2020-03-26 16:51:00 +00:00
James Turner
74c304097d
Fix for older libCurl versions
2020-03-26 16:51:00 +00:00
Erik Hofman
ad1833a4d5
Move more modern C++ idioms and use std::unique_ptr for moving daat ownership around
2020-03-26 09:54:28 +01:00
James Turner
d65bb58317
HTTP: increase the Curl download buffer size
...
This improves download performance with large files, i.e,
most of them.
2020-03-24 20:34:49 +00:00
James Turner
8cf11f9208
Packages: fix handling of unsafe paths in zips
...
This was breaking the P-51D which contains a mis-named PNG file which
tripped the unsafe path detection.
2020-03-24 13:51:57 +00:00
Fernando García Liñán
73f00bd842
Compositor: Added support for logarithmic depth buffer.
2020-03-22 17:24:48 +01:00
Fernando García Liñán
1b6545fc05
Compositor: No longer append 'Compositor/' to Effects when the Compositor is
...
enabled. Do not remove transparent bins in shadow passes.
2020-03-22 17:24:48 +01:00
James Turner
40725a76ab
Packages: randomise mirror URL selection
...
Also add retry on mirrors when a download fails.
2020-03-21 18:31:53 +00:00
Erik Hofman
75f40fad95
Use more modern C++
2020-03-20 10:40:09 +01:00
Erik Hofman
b458300c02
'lin' is a valid value for the type parameter so do not show a warning. Add a 'random' tag for pitch offset
2020-03-20 09:56:21 +01:00
Erik Hofman
6c6e74e8d1
Change logging levels to developer mode and be more descriptive
2020-03-19 13:33:30 +01:00
gallaert
4bab064ad6
- When HLA is enabled in Simgear, HLA is also enabled in Flightgear
...
making the build between Simgear and Flightgear consistent.
- Fix an issue with lib/lib64 path between CentOS/RedHat distributions
and Debian derived distributions.
2020-03-15 22:29:43 +00:00
gallaert
3da2880aae
Merge branch 'next' of https://git.code.sf.net/p/flightgear/simgear into next
2020-03-15 21:32:42 +00:00
James Turner
c8d802bc1d
More SGPath / UTF-8 fixes
...
Use SGPath in more public APIs, so FlightGear doesn’t have to convert
and guess the conversion itself.
2020-03-15 14:26:42 +00:00
James Turner
c3a169319c
Fix UTF-8 shader path support
...
Work around osg::Shader::loadShaderFromSourceFile ’s lack of UTF-8
support by loading using our own istream, and then setting the text
directly.
2020-03-15 14:26:42 +00:00
Erik Hofman
72af950573
Fix an error
2020-03-15 14:57:24 +01:00
Erik Hofman
edae7a2b75
Make warnings and alerts a single message for DEV_WARN and DEV_ALERT since they will result in a popu-dialog message
2020-03-15 14:33:05 +01:00
Erik Hofman
1fa48e7edb
File readind is not of the SG_INPUT class s change it to SG_IO and make all warinigs and alerts developer-warings and developer-alerts
2020-03-15 14:24:02 +01:00
Erik Hofman
d76992efe6
Show the affected file when displaying an animation error or warning
2020-03-15 10:44:29 +01:00
James Turner
87da4680c7
Tweaks to Windows string conversion
...
Avoid use of code-cvt, and tolerate differences in compiler handling of
string literals (tested Clanged and MSVC, hopefully GCC is kind)
2020-03-14 20:10:20 +00:00
Richard Harrison
9cc7508b07
fixes #2123 Relocation splash distorted.
...
Allow splash screen as an origin and do not allow splash screens to be cached and thus the poweroftwo rules don't apply.
2020-03-13 20:07:31 +01:00
James Turner
b258bc598e
Load time-zones from UTF-8 paths correctly
...
Use _wfopen on Windows, after converting UTF-8 paths to wchar
2020-03-13 16:48:12 +00:00
James Turner
f25c0c60a8
Use UTF8 paths in nearly all places, for OSG
...
We already request OSG to use UTF8 paths, so ensure whenever we pass
an SGPath to OSG, we use the correct conversion function.
2020-03-13 09:50:43 +00:00
James Turner
f350bd31bd
CanvasImage: fillRect / setPixel tweaks
...
Fix image dirtying and allocation without an underlying fike
2020-03-11 17:12:42 +00:00
gallaert
06f1699223
Merge branch 'next' of https://git.code.sf.net/p/flightgear/simgear into next
2020-03-09 22:13:16 +00:00
James Turner
3e4d528859
Additional install / download failure test
...
Ensure we can install again on a previously failed URL.
2020-03-09 15:00:23 +00:00
Erik Hofman
b847f57382
Fix a threads header
2020-03-09 14:56:08 +01:00
gallaert
2d7ad25031
Merge branch 'next' of https://git.code.sf.net/p/flightgear/simgear into next
2020-03-01 16:14:13 +00:00
James Turner
d670cc13ac
testHTTP mods to investigate macOS failure.
...
Disabled one test for now, since it’s blocking macOS release process
2020-02-25 16:12:12 +00:00
James Turner
43699d039f
Track package install status persistently.
2020-02-25 14:27:48 +00:00
James Turner
9192b009e1
Catalog enable/disable feature
2020-02-24 11:35:04 +00:00
Stuart Buchanan
3fe85809b2
Add support for tarballs in Terrasync
2020-02-16 20:26:20 +00:00
Stuart Buchanan
a4b79d6882
Merge /u/tbmoore/simgear/ branch tmoore/canvas-mipmap into next
...
https://sourceforge.net/p/flightgear/simgear/merge-requests/52/
2020-02-12 21:02:43 +00:00
gallaert
fc21e6eafa
Merge branch 'next' of https://git.code.sf.net/p/flightgear/simgear into next
2020-01-31 22:51:14 +00:00
Erik Hofman
11e243a216
Clean up the threading code: remove the private classes.
2020-01-29 11:33:54 +01:00
Stuart Buchanan
9f862dcc0e
Fix directional lights for AMD
...
Some AMD drivers do not like triangles for point sprites, which
breaks directional lights. This works around this by allowing
users to set /rendering/triangle-directional-lights=false which
falls back to the non-directional implementation of a point.
2020-01-27 09:28:25 +00:00
Erik Hofman
faf43d2c4b
Comment out Windows debugging code, for now
2020-01-24 19:30:32 +01:00
Erik Hofman
b0580b2df5
Re-order the mutex locking of the condition-mutex and the caller-mutex, add noxecept. Also add some debugging code to detect multiple locks of the same mutex.
2020-01-24 15:46:36 +01:00
Erik Hofman
308903dc91
Revert to c3ae704610
until the condition_variable problem is solved
2020-01-24 13:52:37 +01:00
Erik Hofman
1c7fd67c39
Convert condition variables to C++11 too.
2020-01-24 10:48:53 +01:00
Erik Hofman
c3ae704610
Move SGThread::current to after the system dependent code which includes the proper header files
2020-01-23 13:47:04 +01:00
Erik Hofman
9f8e6c0634
Make backwards compatible stubs so only a recompile without any modification is required.
2020-01-23 10:38:52 +01:00