]>
git.mxchange.org Git - simgear.git/log
Tim Moore [Sun, 19 Apr 2015 15:11:49 +0000 (17:11 +0200)]
changes for OSG 3.3.4 and later
The public interfaces to osgText and osg::GLExtensions changed.
James Turner [Sat, 11 Apr 2015 22:50:33 +0000 (23:50 +0100)]
Select default TerraSync server automatically.
James Turner [Sat, 11 Apr 2015 20:58:23 +0000 (21:58 +0100)]
Fix a clang warning
James Turner [Sat, 11 Apr 2015 20:58:15 +0000 (21:58 +0100)]
Explicit Mac SDK for the moment.
James Turner [Thu, 9 Apr 2015 14:33:56 +0000 (15:33 +0100)]
WindowsXP workaround for SHGetKnowwFolder
Fix from xDraconian after a bug report from Aleesandro.
James Turner [Tue, 24 Mar 2015 16:10:16 +0000 (11:10 -0500)]
Unit Test: Fixed failure of test_HTTP
From Scott (xDraconian)
James Turner [Tue, 24 Mar 2015 16:08:36 +0000 (11:08 -0500)]
Portability: Implemented Known Folders for Windows
Patch from Scott (xDraconian)
James Turner [Tue, 24 Mar 2015 16:05:57 +0000 (11:05 -0500)]
Portability: Fix compile errors on MSVC
From Scott (xDraconian)
James Turner [Tue, 17 Mar 2015 23:32:57 +0000 (23:32 +0000)]
Fix missing include for Cmake 3.2.1
James Turner [Tue, 17 Mar 2015 23:28:52 +0000 (23:28 +0000)]
Only detect threading library where needed
- avoids failure with newest CMake on Mac
James Turner [Tue, 17 Mar 2015 23:26:20 +0000 (23:26 +0000)]
Make flag Mac-specific.
James Turner [Tue, 17 Mar 2015 22:31:05 +0000 (22:31 +0000)]
Fix for Cmake 3.2.1 on Mac SDK handling
James Turner [Fri, 13 Mar 2015 09:56:19 +0000 (10:56 +0100)]
Catalogs: version-redirect support.
James Turner [Thu, 12 Mar 2015 14:27:48 +0000 (14:27 +0000)]
More logging for directory deletion failures.
James Turner [Thu, 12 Mar 2015 14:27:29 +0000 (14:27 +0000)]
Catalog install feedback.
- also support removing (uninstalling) a catalog and
all installs relating to it.
Rebecca N. Palmer [Fri, 13 Mar 2015 18:19:58 +0000 (18:19 +0000)]
Make nasal/iolib.h available to flightgear (for io.open)
Rebecca N. Palmer [Fri, 13 Mar 2015 18:19:48 +0000 (18:19 +0000)]
Move Nasal io.open to flightgear
James Turner [Wed, 11 Mar 2015 09:46:03 +0000 (09:46 +0000)]
FreeBSD / clang fix from Gerald Laplanche
James Turner [Wed, 11 Mar 2015 09:43:40 +0000 (09:43 +0000)]
Whitespace clean-up
James Turner [Wed, 11 Mar 2015 09:43:24 +0000 (09:43 +0000)]
Terrasync logging tweaks
Thomas Geymayer [Thu, 26 Feb 2015 21:34:21 +0000 (22:34 +0100)]
canvas::Map: Property to keep children aligned to given hdg.
Setting the 'hdg' property on child elements will rotate
them with respect to the heading set on the map projection.
James Turner [Tue, 24 Feb 2015 12:36:28 +0000 (12:36 +0000)]
Fix where we set OS-X deployment option.
James Turner [Fri, 20 Feb 2015 11:30:35 +0000 (11:30 +0000)]
Kill off allCatalogs list.
No longer needed, and fixes crash on shutdown.
Stuart Buchanan [Thu, 19 Feb 2015 21:14:07 +0000 (21:14 +0000)]
Support for tree shadows from Thorsten RENK.
Stuart Buchanan [Tue, 17 Feb 2015 21:47:51 +0000 (21:47 +0000)]
materials.xml defined vegetation Effect.
James Turner [Thu, 12 Feb 2015 16:20:56 +0000 (16:20 +0000)]
Remove use of ‘register’ keyword in this file.
Clang is now warning about this, and it’s certainly useless.
James Turner [Thu, 12 Feb 2015 16:19:57 +0000 (16:19 +0000)]
Tweak warning flags, for newer Clang.
No functionality changing, just less spam in the compile logs.
Rebecca N. Palmer [Thu, 12 Feb 2015 15:48:36 +0000 (15:48 +0000)]
DrawElementsFacade: use ref_ptr instead of mismatched new/free
Found by AddressSanitizer; not seen to crash, but probably best fixed
James Turner [Wed, 11 Feb 2015 15:46:01 +0000 (15:46 +0000)]
Explicitly force libc++ on clang
Stuart Buchanan [Tue, 10 Feb 2015 21:19:51 +0000 (21:19 +0000)]
Fix VASI/PAPI so they are generated.
James Turner [Tue, 10 Feb 2015 17:11:31 +0000 (17:11 +0000)]
Better CMake policy detection
- thanks to Rebecca Palmer for suggesting this!
James Turner [Mon, 9 Feb 2015 16:42:40 +0000 (16:42 +0000)]
Cmake policies conditional on Cmake version.
James Turner [Mon, 9 Feb 2015 15:12:21 +0000 (15:12 +0000)]
Switch 10.7 on Mac and revert to using libc++
(Deployment on libstdc++ with the 10.9 SDK is just too painful)
James Turner [Sun, 8 Feb 2015 13:46:09 +0000 (13:46 +0000)]
Force SDK version / C++ library on Mac.
Peter Sadrozinski [Sat, 10 Jan 2015 12:58:21 +0000 (07:58 -0500)]
memory reduced tile loading.
- do not save the TileGeometryBin and matcach in the randomObjectCallback
- recreate matcache, and get TileGeometry from scenegraph
- split obj.cxx into three distinct files - loadBTG, load surface geometry, and load tile details
- includes fix for sceneries that have missing materials
Rebecca N. Palmer [Sun, 18 Jan 2015 21:53:22 +0000 (21:53 +0000)]
Fix endianness tests, allowing arm64 support
https://buildd.debian.org/status/logs.php?pkg=simgear&ver=3.2.0~git20140719%
2B4a9125 -1&suite=experimental
https://launchpadlibrarian.net/
183053167 /buildlog_ubuntu-utopic-arm64.simgear_3.0.0-4_FAILEDTOBUILD.txt.gz
Rebecca N. Palmer [Sun, 18 Jan 2015 21:29:19 +0000 (21:29 +0000)]
Fix UpdateOnceCallback crash (bug 1554/1556/1568)
Torsten Dreyer [Sat, 17 Jan 2015 18:33:25 +0000 (19:33 +0100)]
Bump version to 3.5.0
FlightGear Flight Simulator [Sat, 17 Jan 2015 18:26:46 +0000 (19:26 +0100)]
Bump version number to 3.4.0
Stuart Buchanan [Thu, 15 Jan 2015 21:47:22 +0000 (21:47 +0000)]
Protect against divide-by-zero error.
Patch from Emilian Huminiuc.
Stuart Buchanan [Mon, 5 Jan 2015 20:50:34 +0000 (20:50 +0000)]
Fix directional lighting
Peter Sadrozinski [Sat, 27 Dec 2014 18:19:29 +0000 (13:19 -0500)]
- remove the test of the test..
Peter Sadrozinski [Sat, 27 Dec 2014 18:02:49 +0000 (13:02 -0500)]
- fix binobj unit test. Simgear now rejects zero area triangles in .btg files, and the unit test could generate them.
Peter Sadrozinski [Fri, 26 Dec 2014 15:24:34 +0000 (10:24 -0500)]
- fix for index overrun when building TexturedTriangleArray
- fix for ws2.0 zero area triangles - drop them when loading
James Turner [Thu, 23 Oct 2014 13:42:55 +0000 (14:42 +0100)]
Explicitly track not-found responses from SVN.
When SVN reports a path is not found (ocean tile), track
this data explicitly and cache the result. Reduces backend
hits for missing tiles.
Stuart Buchanan [Fri, 28 Nov 2014 21:57:37 +0000 (21:57 +0000)]
Fix PagedLOD for random objects.
- Only generate the object set and flights from the data once.
- Only expire the PagedLOD node after a suitable period of time.
Thomas Geymayer [Sun, 23 Nov 2014 22:39:56 +0000 (23:39 +0100)]
Nasal: add an naRef to ghosts to allow for proper gc of dependent objects/ghosts.
This allows for binding the lifetime of any nasal object to
the lifetime of a ghost. Otherwise circular references from
objects saved within the ghost would prevent the ghost from
being garbage collected.
Stuart Buchanan [Fri, 21 Nov 2014 22:14:03 +0000 (22:14 +0000)]
Fix two bugs in random object placement
Torsten Dreyer [Wed, 19 Nov 2014 16:23:29 +0000 (17:23 +0100)]
Make expiry time for paged models settable from props
Our paged models used the default minimumExpiryTime of zero seconds
which caused frequent stutter with AI traffic loaded.
This patch sets the minimumExpiryTime to 180 seconds, more than enough
to hold the models in memory during a full standard rate turn.
The property to set the expiry time is
/sim/rendering/plod-minimum-expiry-time-secs
Clément de l'Hamaide [Wed, 12 Nov 2014 21:31:19 +0000 (22:31 +0100)]
UniformFactory: fix Rembrandt light
Stuart Buchanan [Thu, 13 Nov 2014 20:38:28 +0000 (20:38 +0000)]
Support alpha for cloud definitions Thorsten RENK
James Turner [Tue, 11 Nov 2014 22:29:24 +0000 (22:29 +0000)]
Merge FreeBSD patches.
Taken from:
http://svnweb.freebsd.org/ports/head/devel/simgear/files/
Stuart Buchanan [Fri, 7 Nov 2014 22:22:55 +0000 (22:22 +0000)]
Limit number of random objects per triangle
Stuart Buchanan [Mon, 27 Oct 2014 22:40:27 +0000 (22:40 +0000)]
Change parameter name to avoid clash with cull-face
Stuart Buchanan [Tue, 21 Oct 2014 19:27:46 +0000 (20:27 +0100)]
Pass whether light is directional to shader.
Patch from Thorsten RENK.
Torsten Dreyer [Tue, 21 Oct 2014 08:44:13 +0000 (10:44 +0200)]
Precipitation updates from ThorstenR
Since the consensus seems to be that the precipitation clipping issue is with the panel code, attached is my proposed update for the precipitation system in SG and FG
* without corresponding control structures in FGData it falls back to default, except I have fixed an inconsistency in freezing behavior - previously rain changed suddenly to snow when the temperature dropped below zero, but the reverse transition was dragged out and gave odd visible motion with the wind as snow gradually changed back to rain with the particle speed not well defined. Now both transitions are sudden. And I see no more particles flow against the wind
* with
<!-- definitions for the detailed precipitation manager -->
<precipitation-control>
<rain-droplet-size type="float" userarchive="n">0.015</rain-droplet-size>
<snow-flake-size type="float" userarchive="n">0.03</snow-flake-size>
<detailed-precipitation type="bool" userarchive="n">false</detailed-precipitation>
<illumination type="float" userarchive="n">1.0</illumination>
<clip-distance type="float" userarchive="n">5.0</clip-distance>
</precipitation-control>
added to Environment/environment.xml, the new system allows to switch more detailed management on. This provides
* explicit setting of rain droplet size and snow flake size by the weather system
* automatic sqrt(r) scaling of the vertical speed of raindrops
* automatic transition to snow when freezing for small droplets but hail for large droplet sizes (looks like snow, but has different particle dynamics)
* an illumination scaling factor to dim the precipitating based on the light we have in the scene (I still need to devise a property rule to set this automatically)
The clip distance is also exposed now and considered at startup of the system - might be useful for e.g. airships when the gas bag provides rain cover (?) or to be simply off for open airplanes
Torsten Dreyer [Wed, 8 Oct 2014 10:45:01 +0000 (12:45 +0200)]
Set sun color below horizon
Thorsten Renk:
The following patch sets the sun color to alpha=0 when
the sun is below the local horizon, removing the oddity
that the sun is seen 'through' the terrain when the terrain
at large distance is rendered by the skydome.
Stuart Buchanan [Sat, 27 Sep 2014 21:05:30 +0000 (22:05 +0100)]
Further work to clean up UniformCache for Effects
Torsten Dreyer [Sat, 27 Sep 2014 19:50:44 +0000 (21:50 +0200)]
Merge branch 'UniformFactory' into next
Merging in Stuart's fix for the Effect system
Torsten Dreyer [Sat, 27 Sep 2014 19:48:36 +0000 (21:48 +0200)]
A better fix for crash in the Effect System
Stuart has improved the UniformCache approach, here are his
changes:
- We have a UniformCache so that each unique Uniform is only created once
- As part of the UniformFactory we also have a queue of listeners that are still to be added
- When the main thread sends an Update node visitor across the Effects,
all queued listeners are de-queued and added.
Thomas Geymayer [Mon, 22 Sep 2014 16:24:13 +0000 (18:24 +0200)]
Fix compiler warnings.
Thomas Geymayer [Mon, 22 Sep 2014 16:21:52 +0000 (18:21 +0200)]
Let ENABLE_TESTS enable/disable also the new Boost.Tests.
Clément de l'Hamaide [Sun, 21 Sep 2014 20:05:45 +0000 (22:05 +0200)]
Improve the <usage> tag feature
Do not load the <model> if <usage> tag is found as child.
Instead the load is triggered later by FlightGear
Thomas Geymayer [Mon, 15 Sep 2014 21:42:12 +0000 (23:42 +0200)]
cppbind: check if ghost is of wrong type.
- Throw an exception if converting an object
from Nasal fails due to a wrong type (nil
does not throw).
- Update cppbind test cases accordingly (and
refactor another test suite to use Boost.
Test).
Torsten Dreyer [Fri, 5 Sep 2014 09:16:28 +0000 (11:16 +0200)]
first stab at UniformFactory
Torsten Dreyer [Fri, 5 Sep 2014 09:28:28 +0000 (11:28 +0200)]
Revert "Partial fix for crash in SGPropertyNode::fireValueChanged"
This reverts commit
f33ad357e928b5210c87cb8977d3cc88deba811b .
Thomas Geymayer [Sun, 31 Aug 2014 17:24:58 +0000 (19:24 +0200)]
canvas::Text: fix global StateSet and line start cursor pos with empty line.
Torsten Dreyer [Fri, 29 Aug 2014 13:30:25 +0000 (15:30 +0200)]
Partial fix for crash in SGPropertyNode::fireValueChanged
The effect system used Listeners on property nodes to get the values
for shader uniforms. These listeners get deleted by an osg thread
causing access to freed memory when this happens while the main thread
calls fireValueChanged.
This patch changes the update method to polling for scalar properties.
This isn't 100% threadsafe, too. But at least it does not crash anymore.
Clément de l'Hamaide [Wed, 27 Aug 2014 20:08:20 +0000 (22:08 +0200)]
Remove Textures.high logic
Torsten Dreyer [Mon, 25 Aug 2014 22:05:01 +0000 (00:05 +0200)]
Canvas: add stroke-linejoin handling for path elements
Thomas Geymayer [Mon, 25 Aug 2014 19:49:44 +0000 (21:49 +0200)]
canvas::KeyboardEvent: C0/C1 control characters are not printable.
Thomas Geymayer [Mon, 25 Aug 2014 19:49:21 +0000 (21:49 +0200)]
Canvas: add method clearFocusElement.
Thomas Geymayer [Sat, 23 Aug 2014 13:54:07 +0000 (15:54 +0200)]
canvas::Text: clean up and expose character/cursor positions.
Stuart Buchanan [Sun, 10 Aug 2014 19:20:42 +0000 (20:20 +0100)]
Use surface-lights effect for random tile lights.
Thomas Geymayer [Sun, 10 Aug 2014 17:39:18 +0000 (19:39 +0200)]
Canvas: prepare for keypress events.
Thomas Geymayer [Sun, 10 Aug 2014 13:36:27 +0000 (15:36 +0200)]
Canvas: fix element mouse hit detection with OSG 3.3.2.
Stuart Buchanan [Sun, 10 Aug 2014 11:54:58 +0000 (12:54 +0100)]
Fix VS2010 lack of fminf
Stuart Buchanan [Sat, 9 Aug 2014 19:34:08 +0000 (20:34 +0100)]
New materials.xml format
bcoconni [Sat, 9 Aug 2014 17:53:19 +0000 (19:53 +0200)]
Added some OSG headers for the correct evaluation of the OSG_VERSION_LESS_THAN macro.
Thomas Geymayer [Sat, 9 Aug 2014 15:18:21 +0000 (17:18 +0200)]
Update for OpenSceneGraph 3.3.2 API changes.
Thomas Geymayer [Thu, 7 Aug 2014 22:58:26 +0000 (00:58 +0200)]
Add simple keyboard event demo application.
Thomas Geymayer [Sun, 3 Aug 2014 14:39:26 +0000 (16:39 +0200)]
Move canvas::AlignmentFlag to separate file.
Mapping in a separate file allows easier exposing of
values and string representation to Nasal.
Christian Schmitt [Sun, 3 Aug 2014 11:13:59 +0000 (13:13 +0200)]
Fix lights appearing three times.
The 3 lights showing up are fixed by my patch. It's the old way of
calculating a normal (PLIB-style) that makes them show up.
Thomas Geymayer [Sun, 3 Aug 2014 10:02:39 +0000 (12:02 +0200)]
canvas::Layout: support for alignment.
Set alignment inside layouts, taking care of where
excess space is distributed.
Thomas Geymayer [Thu, 31 Jul 2014 22:13:25 +0000 (00:13 +0200)]
Lots of (mostly) doxygen fixes/cleanup.
Thomas Geymayer [Wed, 30 Jul 2014 15:16:26 +0000 (17:16 +0200)]
Canvas: Support for preventDefault() on Events.
Thomas Geymayer [Wed, 30 Jul 2014 10:44:21 +0000 (12:44 +0200)]
Fallback for old Boost (also with UTF8-CPP library).
Thomas Geymayer [Tue, 29 Jul 2014 21:04:45 +0000 (23:04 +0200)]
Improve (mostly Canvas event related) documentation.
Thomas Geymayer [Tue, 29 Jul 2014 20:20:24 +0000 (22:20 +0200)]
Canvas: basic Keyboard event support (with input focus).
Thomas Geymayer [Sun, 27 Jul 2014 10:11:09 +0000 (12:11 +0200)]
Canvas: warn for missing tff and png plugins.
Thomas Geymayer [Sun, 27 Jul 2014 09:05:49 +0000 (11:05 +0200)]
Canvas: backdrop/stroke option for text (based on Gijs patch).
Thomas Geymayer [Mon, 21 Jul 2014 23:02:18 +0000 (01:02 +0200)]
Doxygen: disable (not working) latex output and update version.
Thomas Geymayer [Mon, 21 Jul 2014 22:48:42 +0000 (00:48 +0200)]
canvas::Layout: support for contents margins.
Thomas Geymayer [Mon, 21 Jul 2014 22:36:17 +0000 (00:36 +0200)]
Move overflow protected add helpers to math.
Thomas Geymayer [Mon, 21 Jul 2014 21:56:41 +0000 (23:56 +0200)]
canvas::Layout: clear parent/canvas after calling onRemove.
Thomas Geymayer [Mon, 21 Jul 2014 11:26:09 +0000 (13:26 +0200)]
Hopefully final fix for old gcc...
Thomas Geymayer [Mon, 21 Jul 2014 10:22:33 +0000 (12:22 +0200)]
One more fix for old gcc.
Thomas Geymayer [Mon, 21 Jul 2014 08:54:31 +0000 (10:54 +0200)]
Trying to make old gcc on Jenkins happy.
Thomas Geymayer [Sun, 20 Jul 2014 22:24:25 +0000 (00:24 +0200)]
canvas::Layout: support for hiding items.
Thomas Geymayer [Sun, 20 Jul 2014 22:19:31 +0000 (00:19 +0200)]
cppbind: helper to call Nasal methods on NasalWidget.