]>
git.mxchange.org Git - simgear.git/log
James Turner [Tue, 17 Mar 2015 16:56:17 +0000 (16:56 +0000)]
Set min-macos-version for Cmake 3.2.1
Torsten Dreyer [Thu, 28 Apr 2016 08:50:15 +0000 (10:50 +0200)]
Fix broken build/install with DNS enabled
Torsten Dreyer [Thu, 28 Apr 2016 06:19:30 +0000 (08:19 +0200)]
Initial commit for a DNS service resolver
- import udns library
(http://www.corpit.ru/mjt/udns.html)
- initial draft for a DNSClient (derived from HTTPClient)
Enable compile and test by adding -D ENABLE_DNS=Yes to cmake flags
James Turner [Wed, 20 Apr 2016 09:58:35 +0000 (11:58 +0200)]
Catalog refresh / package updating test.
James Turner [Tue, 19 Apr 2016 11:56:07 +0000 (13:56 +0200)]
Catalog removal test
- verifies installed packages are removed also.
James Turner [Mon, 18 Apr 2016 12:41:25 +0000 (13:41 +0100)]
Expand package-system unit-tests.
More to come, but this covers the absolute basics now.
James Turner [Thu, 14 Apr 2016 08:42:04 +0000 (09:42 +0100)]
Fixes for HTTP cancellation.
(Forgot to stage these from previous commit)
James Turner [Thu, 14 Apr 2016 08:15:57 +0000 (09:15 +0100)]
HTTP request cancellation
- replaces abort() with something more structured.
Stuart Buchanan [Fri, 8 Apr 2016 21:36:06 +0000 (22:36 +0100)]
Make LOD for buildings/trees/STG configurable.
Now based on /sim/rendering/static-lod/rough.
Richard Senior [Tue, 5 Apr 2016 10:49:59 +0000 (11:49 +0100)]
Fix problems parsing METAR strings that denote temporary sensor failures
1. Weather (normally blank, RA, SN, etc.) can be "//"
2. Cloud can be suffixed by "///", e.g. FEW045///
Also updated unit test.
James Turner [Wed, 30 Mar 2016 16:09:33 +0000 (17:09 +0100)]
Guard against disabling a not-yet-active catalog.
Erik Hofman [Mon, 28 Mar 2016 13:08:28 +0000 (15:08 +0200)]
Code cleanups and fix codecPCM16 for big-endian systems (they seem rare these days)
James Turner [Sat, 26 Mar 2016 19:55:37 +0000 (19:55 +0000)]
Use ref-ptr in canvas adapter getImage
Adjusted while investigating missing tooltip texture with recent
OSG versions.
James Turner [Fri, 25 Mar 2016 23:04:45 +0000 (23:04 +0000)]
Packages: handle catalog versions better
When a catalog version is stale, disable it but don’t remove it,
and still try to refresh it. This should give much better behaviour
when the FG version changes, should behave as users expect.
James Turner [Fri, 25 Mar 2016 13:28:24 +0000 (13:28 +0000)]
Fix HTTP unit-test
James Turner [Thu, 24 Mar 2016 19:15:20 +0000 (19:15 +0000)]
HTTP terra sync: fix hash cache handling
Avoids very long pauses blocking the terrasync thread, while existing
file trees are verified.
Also split the request queue so we don’t submit vary large numbers of
requests from a single repository, and hence block other repositories
from getting traffic.
James Turner [Thu, 24 Mar 2016 18:41:30 +0000 (18:41 +0000)]
HTTP/curl - pick up sleep value
James Turner [Tue, 22 Mar 2016 21:14:17 +0000 (21:14 +0000)]
Expose total bytes to download / remaining
For HTTP repositories, support some additional metrics about ongoing
transfers. Not currently exposed via properties / TerraSync API, but
will be shortly.
James Turner [Tue, 22 Mar 2016 21:13:22 +0000 (21:13 +0000)]
HTTP/curl - transfer byte metric work
Should fix the missing download rate feedback on the splash screen
and terra sync dialog.
James Turner [Tue, 22 Mar 2016 20:06:22 +0000 (20:06 +0000)]
Disable HTTP pipelining if the connection closes.
Don’t keep attempting to pipeline if the next server sets Close on
its response, since this just generates needless overhead.
James Turner [Sat, 5 Mar 2016 09:53:37 +0000 (09:53 +0000)]
Disable persistent TerraSync cache for HTTP
- since the root-level request for an HTTP repo is small, and static,
it doesn’t make sense to use the same persistent cache, especially
for initial testing.
James Turner [Tue, 1 Mar 2016 12:44:22 +0000 (12:44 +0000)]
Expose more pipelining controls on HTTP code
- used for both implementations, restrict default pipeline depth to
5 instead of 32 which was perhaps a little ambitious for some
servers.
James Turner [Tue, 1 Mar 2016 12:35:08 +0000 (12:35 +0000)]
Fix attempt to remove missing files.
James Turner [Tue, 1 Mar 2016 12:34:56 +0000 (12:34 +0000)]
Fixes for error handling in NetChannel
- return the correct errno value instead of using -1
James Turner [Sat, 27 Feb 2016 04:35:41 +0000 (06:35 +0200)]
HTTP repository testing tool.
James Turner [Fri, 26 Feb 2016 19:21:00 +0000 (21:21 +0200)]
Fix Windows compile of HTTP repo tests.
James Turner [Fri, 26 Feb 2016 19:18:26 +0000 (21:18 +0200)]
Lots of work on HTTP repository failure handling.
James Turner [Thu, 25 Feb 2016 22:10:34 +0000 (00:10 +0200)]
Fix a nasty bug in non-libCurl HTTP pipelining.
- when requests were closely overlapped, but not submitted at the
same time, connection state could get corrupted.
James Turner [Thu, 25 Feb 2016 19:20:33 +0000 (21:20 +0200)]
More error reporting from TerraSync/HTTP
- raise more errors when requests fail, and report/catch these.
James Turner [Thu, 25 Feb 2016 19:19:44 +0000 (21:19 +0200)]
Fix compilation with older versions of libCurl.
James Turner [Wed, 24 Feb 2016 21:35:54 +0000 (23:35 +0200)]
Fix for libCurl pipelining and connection count.
Torsten Dreyer [Tue, 23 Feb 2016 21:55:18 +0000 (21:55 +0000)]
Merge /u/edauvergne/simgear/ branch particles into next
http://sourceforge.net/p/flightgear/simgear/merge-requests/4/
James Turner [Mon, 22 Feb 2016 21:53:27 +0000 (23:53 +0200)]
Work around lack of endian.h on Windows
James Turner [Mon, 22 Feb 2016 21:41:13 +0000 (23:41 +0200)]
Fix a typo breaking HTTP unit-test.
James Turner [Mon, 22 Feb 2016 19:27:03 +0000 (21:27 +0200)]
HTTP repository: replace an assert.
- Torsten is seeing this on his setup.
James Turner [Mon, 22 Feb 2016 19:07:01 +0000 (21:07 +0200)]
More HTTP repository compile tweaks.
James Turner [Mon, 22 Feb 2016 18:50:24 +0000 (20:50 +0200)]
Use SGFile to avoid Windows breakage.
Torsten Dreyer [Mon, 22 Feb 2016 18:49:20 +0000 (19:49 +0100)]
Fix SimGear compile on Linux
James Turner [Mon, 22 Feb 2016 16:05:02 +0000 (18:05 +0200)]
Hopefully fix Linux compilation.
James Turner [Sun, 21 Feb 2016 19:49:02 +0000 (21:49 +0200)]
Optionally use HTTP repository.
- disabled by default since needs much testing.
James Turner [Tue, 26 Jan 2016 00:29:25 +0000 (18:29 -0600)]
HTTP repository implementation
A plain-HTTP terrasync repository implementation, using the
SimGear HTTP abstraction. File validity is based on SHA hashes,
and existing files are not re-downloaded if their hash matches,
so soft upgrade from an SVN checkout is possible.
James Turner [Tue, 26 Jan 2016 00:15:48 +0000 (18:15 -0600)]
Create TerraSync repo API
- create an abstract API for a remote repository, based on the current
SVN repository API, and update the code accordingly.
Edward d'Auvergne [Mon, 15 Feb 2016 13:30:50 +0000 (14:30 +0100)]
Debugging message improvements for the particle system.
Automatic Release Builder [Wed, 17 Feb 2016 20:16:33 +0000 (21:16 +0100)]
new version: 2016.2.0
Automatic Release Builder [Wed, 17 Feb 2016 20:16:32 +0000 (21:16 +0100)]
new version: 2016.1.1
Torsten Dreyer [Mon, 15 Feb 2016 15:53:31 +0000 (16:53 +0100)]
correct user-agent string for terrasync
James Turner [Mon, 8 Feb 2016 09:37:35 +0000 (09:37 +0000)]
Fix misnamed macro.
- should fix TerraSync user-agent.
Rebecca N. Palmer [Sat, 6 Feb 2016 21:16:27 +0000 (21:16 +0000)]
math: 'void getMaxSubdiv' does not make any sense
Fixes build failure with GCC 6: https://bugs.debian.org/812014
(getMaxSubdiv is currently unused)
James Turner [Tue, 2 Feb 2016 18:33:20 +0000 (18:33 +0000)]
CMake: don’t export build to build tree
- only export targets to the install tree, since this is
hopefully compatible with CMake 2.8
James Turner [Sat, 30 Jan 2016 14:29:12 +0000 (14:29 +0000)]
Fix headless build for CMake export
James Turner [Fri, 29 Jan 2016 09:39:08 +0000 (09:39 +0000)]
Work on CMake export of targets.
James Turner [Wed, 27 Jan 2016 14:02:27 +0000 (14:02 +0000)]
VS2013 compile fixes.
- mostly about return type conversions.
Gijs de Rooy [Wed, 20 Jan 2016 11:16:14 +0000 (12:16 +0100)]
TerraSync log typo
James Turner [Sat, 16 Jan 2016 21:49:58 +0000 (15:49 -0600)]
New log class for terrasync
James Turner [Tue, 12 Jan 2016 18:48:34 +0000 (12:48 -0600)]
Allow use of noreturn attribute with Clang
- other compilers could also be enabled in the future.
James Turner [Sat, 9 Jan 2016 15:45:43 +0000 (09:45 -0600)]
Fix a Simgear compile failure.
James Turner [Fri, 8 Jan 2016 18:17:02 +0000 (12:17 -0600)]
Linux test_HTTP fixes.
libCurl HTTP unit-test fixes.
James Turner [Wed, 6 Jan 2016 18:57:04 +0000 (12:57 -0600)]
Linux test_HTTP fixes.
James Turner [Wed, 6 Jan 2016 06:07:30 +0000 (00:07 -0600)]
Jenkins build fixes.
James Turner [Wed, 6 Jan 2016 05:18:41 +0000 (23:18 -0600)]
Fix negative loop counts when dt is small.
James Turner [Wed, 6 Jan 2016 05:17:20 +0000 (23:17 -0600)]
Remove obsolete member
James Turner [Wed, 6 Jan 2016 02:43:25 +0000 (20:43 -0600)]
Merge branch 'next' of ssh://git.code.sf.net/p/flightgear/simgear into next
Torsten Dreyer [Tue, 5 Jan 2016 19:45:11 +0000 (20:45 +0100)]
Version 2016.1.0
James Turner [Mon, 4 Jan 2016 19:36:32 +0000 (13:36 -0600)]
Quiet a debug message.
James Turner [Mon, 4 Jan 2016 03:51:58 +0000 (21:51 -0600)]
Quite some debug output from the materials caches.
James Turner [Mon, 4 Jan 2016 02:57:19 +0000 (20:57 -0600)]
New accessors for variant support.
James Turner [Sun, 3 Jan 2016 17:58:22 +0000 (11:58 -0600)]
Fixes for stalling scenery downloads.
- handle closed connections equivalent to IDLE, for timeout purposes
- if the server closes the socket in WAITING_FOR_RESPONSE state, fail
the first sent request when restoring.
Note this does not explain why the server sometimes closes the socket
in this way, but at least it now causes a detectable failure.
James Turner [Tue, 22 Dec 2015 21:16:13 +0000 (15:16 -0600)]
Trying to debug HTTP timeouts
Erik Hofman [Tue, 29 Dec 2015 14:49:12 +0000 (15:49 +0100)]
Fix a very rare nan where r_earth/position_radius > 1.0
Erik Hofman [Thu, 24 Dec 2015 13:18:53 +0000 (14:18 +0100)]
Remove the dependency on boost for STANDALONE mode
Erik Hofman [Wed, 23 Dec 2015 09:36:03 +0000 (10:36 +0100)]
use the proper namespace
Erik Hofman [Fri, 11 Dec 2015 10:09:39 +0000 (11:09 +0100)]
Fix two comparison between signed and unsigned integer warnings
James Turner [Thu, 10 Dec 2015 20:53:17 +0000 (14:53 -0600)]
Set macos-min-version for C files too
Should fix another 10.7 issues (Nasal code is .c)
James Turner [Thu, 10 Dec 2015 20:51:56 +0000 (14:51 -0600)]
Templated helper to retrieve a subsystem
- example of naming a subsystem
Erik Hofman [Thu, 10 Dec 2015 10:50:20 +0000 (11:50 +0100)]
Make it possible to tie the absolute position to a property
James Turner [Tue, 8 Dec 2015 20:42:43 +0000 (20:42 +0000)]
On Mac, force setting macon-min-version
- the CMake option seems to be erratic, it works locally but not
on the Jenkins machine for inexplicable reasons.
James Turner [Sun, 29 Nov 2015 12:43:03 +0000 (12:43 +0000)]
Expose catalog name directly.
Torsten Dreyer [Fri, 27 Nov 2015 10:11:42 +0000 (11:11 +0100)]
Add fg_root and cwd to the search path for loaded models
ref: http://sourceforge.net/p/flightgear/mailman/message/
34650992 /
Torsten Dreyer [Fri, 27 Nov 2015 10:07:52 +0000 (11:07 +0100)]
SGMaterialAnimation: Better handling of missing texture
Don't retry loading a missing texture on every frame.
Emit a warning message instead and retry on the next
change of the textures name.
James Turner [Tue, 24 Nov 2015 00:09:19 +0000 (00:09 +0000)]
Fix spelling of Find(CURL)
James Turner [Mon, 23 Nov 2015 17:57:46 +0000 (17:57 +0000)]
Whitespace fixes.
James Turner [Mon, 23 Nov 2015 17:57:36 +0000 (17:57 +0000)]
Fix for catalog adding/removing bugs
James Turner [Thu, 1 Oct 2015 03:12:35 +0000 (22:12 -0500)]
Optional use libCurl as the HTTP client.
Will permit HTTPS for packages in the future, disabled by default
for the moment.
James Turner [Sun, 22 Nov 2015 22:40:07 +0000 (22:40 +0000)]
More whitespace fixes.
James Turner [Thu, 1 Oct 2015 03:13:02 +0000 (22:13 -0500)]
EOL cleanups.
James Turner [Wed, 30 Sep 2015 03:49:22 +0000 (22:49 -0500)]
Require Cmake 2.8.11
- drop OldGNUInstallDirs work-around as a result
Rebecca N. Palmer [Sat, 21 Nov 2015 21:35:15 +0000 (21:35 +0000)]
SGPath(): make realpath() suitable for fgValidatePath
Handle non-existent files, drop obsolete workaround
Thomas Geymayer [Thu, 19 Nov 2015 22:10:11 +0000 (23:10 +0100)]
SubsystemMgr: prevent double delete and use shared pointers.
Stuart Buchanan [Fri, 6 Nov 2015 21:38:53 +0000 (21:38 +0000)]
QuadTree fix for large buildings.
QuadTree relies on a bounding box to set up correctly.
ProxyNodes don't have a BB until the model is loaded,
causing the QuadTree to collapse if the DB loader can't
keep up with the STG loader.
Fix this by creating a default BB before the model
is loaded.
Erik Hofman [Thu, 5 Nov 2015 14:33:06 +0000 (15:33 +0100)]
Add the option to set the reference name afterwards (but before calling play()
Torsten Dreyer [Mon, 2 Nov 2015 09:56:17 +0000 (10:56 +0100)]
Fix wrong log-class for debug message
Stuart Buchanan [Thu, 29 Oct 2015 20:07:12 +0000 (20:07 +0000)]
Use quadtree to improve culling of STG objects
Stuart Buchanan [Thu, 22 Oct 2015 19:28:37 +0000 (20:28 +0100)]
Remove max density 10000m for surface lights.
Thomas Geymayer [Tue, 29 Sep 2015 19:38:52 +0000 (21:38 +0200)]
Canvas: use weak pointer to protect parent element access.
Using a weak pointer is the best way to ensure no invalid
pointer is used. This also fixes a possible crash in
simgear::canvas::Element::getParentStyle on destructing
canvas elements.
James Turner [Mon, 28 Sep 2015 04:14:50 +0000 (23:14 -0500)]
Avoid duplicate refresh of Catalogs
- also fix duplicate reporting of successful refresh
James Turner [Mon, 28 Sep 2015 01:39:58 +0000 (20:39 -0500)]
Improve package extraction cleanup
James Turner [Mon, 28 Sep 2015 00:42:08 +0000 (19:42 -0500)]
Package support progress
- check the catalog version explicitly when refreshing
- handle packages with distinct dir name / primary ID correctly
(requires an updated catalog XML format)
Erik Hofman [Tue, 22 Sep 2015 10:36:40 +0000 (12:36 +0200)]
Revert previous change, OpenAL-Soft is not ready yet.
Rebecca N. Palmer [Mon, 21 Sep 2015 21:09:47 +0000 (22:09 +0100)]
Use our stdint.hxx, not C++11 cstdint
James Turner [Mon, 21 Sep 2015 19:55:52 +0000 (14:55 -0500)]
Fix missing include for uint8_t on Linux