James Turner [Wed, 24 Aug 2011 10:25:37 +0000 (11:25 +0100)]
Include ws2tcpip.h header (for getaddrinfo) on Windows
James Turner [Wed, 24 Aug 2011 09:30:27 +0000 (02:30 -0700)]
Fix a release build issue, meaning of IDLE state was overloaded, add an explicit state when we're waiting for the response start.
James Turner [Wed, 24 Aug 2011 09:30:02 +0000 (02:30 -0700)]
Copy constructor and assignment operator for revised IPAddress
James Turner [Wed, 24 Aug 2011 08:46:20 +0000 (09:46 +0100)]
Change IPAddress to use getaddrinfo internally, and store the sockaddr data via a pointer
James Turner [Mon, 22 Aug 2011 09:15:05 +0000 (10:15 +0100)]
Revert "Support non-blocking address lookups, and switch to getaddrinfo over gethostbyname. (Only affects netChannel - raw socket will use blocking behaviour by default, as previously)"
This reverts commit
878b504f8e044bc0e59903caa8641492421b76d8.
James Turner [Mon, 22 Aug 2011 09:15:00 +0000 (10:15 +0100)]
Revert "Keep automake working, added new files"
This reverts commit
a175033e3bb0c56cc0616ee224d6719a2896cec1.
James Turner [Mon, 22 Aug 2011 09:14:55 +0000 (10:14 +0100)]
Revert "Ick, further fixes for Linux/MSVC"
This reverts commit
5f07efa12af93a7356930ddc1abc77a947f22092.
James Turner [Mon, 22 Aug 2011 08:10:38 +0000 (09:10 +0100)]
Ick, further fixes for Linux/MSVC
James Turner [Sun, 21 Aug 2011 21:37:01 +0000 (22:37 +0100)]
Keep automake working, added new files
James Turner [Sun, 21 Aug 2011 21:30:04 +0000 (22:30 +0100)]
Support non-blocking address lookups, and switch to getaddrinfo over gethostbyname. (Only affects netChannel - raw socket will use blocking behaviour by default, as previously)
Torsten Dreyer [Sun, 21 Aug 2011 19:13:38 +0000 (21:13 +0200)]
Remove (last) reference to obsolete visual_enviro.hxx
ThorstenB [Sun, 21 Aug 2011 12:30:28 +0000 (14:30 +0200)]
Fix sg_dir dot-file handling
File dialogs never showed ".." directories for navigation, since these were
filtered by the "INCLUDE_HIDDEN" option. Only the "NO_DOT_OR_DOTDOT"
option should be used for filtering - otherwise it's impossible to show
the "."/".." directories while all other files are still hidden.
Torsten Dreyer [Sat, 20 Aug 2011 06:51:39 +0000 (08:51 +0200)]
remove reference to obsolete visual_enviro.hxx
Curtis L. Olson [Tue, 16 Aug 2011 03:45:44 +0000 (22:45 -0500)]
Add visual_enviro.hxx to the source distribution (why isn't visual_enviro.cxx
built here?)
Curtis L. Olson [Tue, 16 Aug 2011 03:05:18 +0000 (22:05 -0500)]
Make sure hla tree is added to source distribution.
ThorstenB [Thu, 11 Aug 2011 21:45:19 +0000 (23:45 +0200)]
Introduce some more logging classes.
The current habit of almost everything being in either SG_GENERAL or
SG_ALL really sucks :).
Curtis L. Olson [Thu, 11 Aug 2011 14:47:07 +0000 (09:47 -0500)]
Fix "make dist"
James Turner [Mon, 8 Aug 2011 17:09:30 +0000 (18:09 +0100)]
Tweaks to queuing of HTTP/1.0 connections, and tests for sequential connections in both 1.0 and 1.1 modes.
Stuart Buchanan [Sun, 7 Aug 2011 11:56:10 +0000 (12:56 +0100)]
Add support for "squashing" the billboarding of individual 3D cloud sprites, to allow thin layers of stratus to be generated by large textures.
Stuart Buchanan [Sun, 7 Aug 2011 10:41:25 +0000 (11:41 +0100)]
Add control of 3D cloud field wrapping. Base code was already present, but without accessor methods.
James Turner [Sun, 7 Aug 2011 09:49:13 +0000 (10:49 +0100)]
Update HTTP code to support HTTP/1.0 responses, eg metarproxy
Frederic Bouvier [Sat, 6 Aug 2011 14:41:02 +0000 (16:41 +0200)]
Remove obsolete files
Frederic Bouvier [Sat, 6 Aug 2011 14:26:21 +0000 (16:26 +0200)]
Fix issue #392: mktime takes a localtime as input. Assumption that if HAVE_DAYLIGHT is missing imply that mktime takes a gmt time is wrong (sg_time.cxx, line 482)
Frederic Bouvier [Sat, 6 Aug 2011 13:58:31 +0000 (15:58 +0200)]
Fix a typo
James Turner [Thu, 4 Aug 2011 18:37:30 +0000 (19:37 +0100)]
Whoops, fix tests for user-agent being HTTP/1.1 spec
ThorstenB [Thu, 4 Aug 2011 17:23:55 +0000 (19:23 +0200)]
Improved CMake support for libsvn
Added missing CMake defines for SVN_CLIENT.
Don't detect libsvn without APR.
When installed, enable libsvn support by default (same as for automake).
When enabled, provide libsvn include dir to libtsync.
gitignore temporary CMake files
James Turner [Thu, 4 Aug 2011 17:03:56 +0000 (18:03 +0100)]
Further HTTP improvements, correct proxy support, spec compliance, support for chunked encoding.
ThorstenB [Mon, 1 Aug 2011 17:47:19 +0000 (19:47 +0200)]
Ove Kåven: Fix property refcounting for particles
James Turner [Mon, 1 Aug 2011 08:03:12 +0000 (09:03 +0100)]
Further HTTP improvements, wget-alike test program to check it all behaves!
ThorstenB [Sun, 31 Jul 2011 12:00:48 +0000 (14:00 +0200)]
#232: resurrect the "point sprites for runway lights" switch
Automatic GL/OSG feature detection still not working, since we don't have
a "context" - but at least the manual switch works (on start-up only).
James Turner [Sat, 30 Jul 2011 11:41:54 +0000 (12:41 +0100)]
Ooops, forgot automake
James Turner [Sat, 30 Jul 2011 09:48:37 +0000 (10:48 +0100)]
Clean header dependencies of condition.hxx - introduce a new header, propsfwd.hxx, for common case of headers that only need SGPropertyNode_ptr and SGCondition_ptr
James Turner [Sat, 30 Jul 2011 09:43:49 +0000 (10:43 +0100)]
Tweaks to HTTP code, in preparation for using it for metar - especially, test code for proxies
Stuart Buchanan [Fri, 29 Jul 2011 14:22:24 +0000 (15:22 +0100)]
Updates to random forest:
- Bug fix - use multiple textures per tile
- Graduate LoD so tree cover fades in/out.
Stuart Buchanan [Tue, 26 Jul 2011 21:17:14 +0000 (22:17 +0100)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next
Torsten Dreyer [Mon, 25 Jul 2011 18:22:57 +0000 (20:22 +0200)]
Don't rely on simgear/version.h
version.h is generated by the build system for official builds of
FlightGear. To avoid complicating the life of regular developers,
especially on Windows, we set HAVE_VERSION_H if version.h is generated.
If that define is not set, we include this file instead, which provides
placeholder values instead.
Stuart Buchanan [Thu, 21 Jul 2011 17:45:13 +0000 (18:45 +0100)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next
Mathias Froehlich [Tue, 19 Jul 2011 17:23:09 +0000 (19:23 +0200)]
Make it compile with gcc-4.6
James Turner [Tue, 19 Jul 2011 16:56:04 +0000 (17:56 +0100)]
Merge branch 'next' of gitorious.org:fg/simgear into next
James Turner [Tue, 19 Jul 2011 16:55:40 +0000 (17:55 +0100)]
Ooof, lurking PLIB reference in the tests
Mathias Froehlich [Tue, 19 Jul 2011 16:54:02 +0000 (18:54 +0200)]
Fix case of SGGeometryTest.cxx
James Turner [Tue, 19 Jul 2011 16:30:08 +0000 (17:30 +0100)]
Enable more unit-tests via CTest
James Turner [Tue, 19 Jul 2011 13:34:07 +0000 (14:34 +0100)]
Remove some debug output, fix version.h include path
James Turner [Tue, 19 Jul 2011 13:17:05 +0000 (06:17 -0700)]
But of course, Mac lacks malloc.h - so you cstdlib instead. <sigh>
James Turner [Tue, 19 Jul 2011 12:53:13 +0000 (13:53 +0100)]
test linkage needs librt on Linux. Need to tidy this up on the FG side.
James Turner [Tue, 19 Jul 2011 12:32:39 +0000 (05:32 -0700)]
Fix Linux compilation of netChat - explicit include of malloc.h required.
James Turner [Tue, 19 Jul 2011 12:10:01 +0000 (13:10 +0100)]
And not forgetting VC90 either.
James Turner [Tue, 19 Jul 2011 11:56:49 +0000 (12:56 +0100)]
Not forgetting automake for the moment
James Turner [Tue, 19 Jul 2011 11:55:55 +0000 (12:55 +0100)]
Tiny HTTP client layer on top of NetChat - and CTest support for some SimGear tests.
ThorstenB [Mon, 18 Jul 2011 18:29:11 +0000 (20:29 +0200)]
Fix locale setting for Windows
ThorstenB [Mon, 18 Jul 2011 18:15:50 +0000 (20:15 +0200)]
Clean solution for locale problem.
Changing and reverting the locale isn't thread-safe. Instead, setup the
environment to ensure the active locale sticks to default "C" locale at
any time.
Stuart Buchanan [Mon, 18 Jul 2011 18:11:25 +0000 (19:11 +0100)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next
Torsten Dreyer [Sun, 17 Jul 2011 09:06:45 +0000 (11:06 +0200)]
Bump to version 2.5.0
Torsten Dreyer [Sun, 17 Jul 2011 08:46:56 +0000 (10:46 +0200)]
Bump version to 2.4.0
Stuart Buchanan [Sun, 3 Jul 2011 18:03:06 +0000 (19:03 +0100)]
Merge branches 'next' and 'next' of git://gitorious.org/fg/simgear into next
ThorstenB [Sun, 3 Jul 2011 11:04:00 +0000 (13:04 +0200)]
Alert message formatting.
Avoid log output cluttering due to "missing animation objects".
Torsten Dreyer [Tue, 28 Jun 2011 11:16:08 +0000 (13:16 +0200)]
terrasync: some code cleanup - don't use snprintf
ThorstenB [Sat, 25 Jun 2011 23:06:07 +0000 (01:06 +0200)]
#348: (continued) Missing sound files not reported properly
Avoid useless "File '' not found." messages for missing sound files.
ThorstenB [Sat, 25 Jun 2011 22:36:19 +0000 (00:36 +0200)]
#348: Missing model/texture files not reported properly
Whenever resolving a (relative) path to an absolute path with
'findDataFile', check if the result is empty and report original
(relative) path as missing. Otherwise no or a meaningless message is
issued ("File '' not found.").
Torsten Dreyer [Fri, 24 Jun 2011 22:04:44 +0000 (00:04 +0200)]
Terrasync: make whitespace in pathnames work under windows
ThorstenB [Thu, 23 Jun 2011 15:18:37 +0000 (17:18 +0200)]
Disable support of white-space path for Windows
Apparently enclosing white-space paths using '"' doesn't work on Windows.
ThorstenB [Thu, 23 Jun 2011 15:14:36 +0000 (17:14 +0200)]
Improve upate interval after failed updates.
Torsten Dreyer [Wed, 22 Jun 2011 20:40:23 +0000 (22:40 +0200)]
Fix bug #346: httpd broken
Fix bug introduced by myself in
commit
b06e38699a4467cf99bdcfee6e906082e104b86a
ThorstenB [Wed, 22 Jun 2011 07:16:27 +0000 (09:16 +0200)]
Bad boundary check. Add missing parentheses.
ThorstenB [Mon, 20 Jun 2011 20:46:46 +0000 (22:46 +0200)]
fix #353: svn doesn't like stray path separators
ThorstenB [Mon, 20 Jun 2011 20:10:07 +0000 (22:10 +0200)]
Improve error handling and avoid refresh nuisances.
Ignore errors due to missing (ocean-)scenery data on SVN server.
For now, only refresh scenery tiles when ocean is replaced by actual
scenery data after download.
ThorstenB [Mon, 20 Jun 2011 20:05:37 +0000 (22:05 +0200)]
Improve external SVN support.
Support white-space paths when calling external SVN utility.
Support optional configuration of absolute path to SVN utility.
Frederic Bouvier [Wed, 15 Jun 2011 06:13:37 +0000 (08:13 +0200)]
Compile built-in svn in MSVC if 32-bit target is selected
ThorstenB [Tue, 14 Jun 2011 19:49:42 +0000 (21:49 +0200)]
Melchior FRANZ: fix SGPropertyNode::LAST_USED_ATTRIBUTE
fixes commit
c782a32076016f2c3c01b4fd437b024dc77806e9,
(also see
38494a48d83f194e151d2fea2726e60725478c12 :) )
ThorstenB [Mon, 13 Jun 2011 12:13:48 +0000 (14:13 +0200)]
Csaba Halasz: fix SGTimerQueue so tasks can remove themselves properly
fixes commit
c033979130b1c5822c5e9fc55bffc09632d5a48f
ThorstenB [Sun, 12 Jun 2011 18:32:13 +0000 (20:32 +0200)]
Introduce "PRESERVE" flag to protect properties on sim reset.
Some specific properties need protection and shouldn't be restored to their
original values on sim-reset.
ThorstenB [Sun, 12 Jun 2011 11:41:38 +0000 (13:41 +0200)]
Add optional attribute condition to "copyProperties".
Option to only copy properties with specific attribute values.
Default is copy all (as before).
ThorstenB [Sun, 12 Jun 2011 11:31:23 +0000 (13:31 +0200)]
Make some properties read-only to avoid sim-reset issues.
Do not loose internal statistics/state on sim-reset
ThorstenB [Sun, 12 Jun 2011 08:08:16 +0000 (10:08 +0200)]
Add missing CMake module for built-in svn-client support.
Thanks to Martin for spotting this.
ThorstenB [Sat, 11 Jun 2011 21:58:00 +0000 (23:58 +0200)]
Added missing terrsync make+header files...
ThorstenB [Sat, 11 Jun 2011 21:22:26 +0000 (23:22 +0200)]
Convert terrasync into a subsystem.
Fixed scenery tile refresh method.
Simgear automake makefiles with libsvn detection.
Simgear CMake support for libsvn (may not work :) )
ThorstenB [Sat, 11 Jun 2011 20:55:57 +0000 (22:55 +0200)]
Copied original terrasync sources
ThorstenB [Thu, 9 Jun 2011 20:24:08 +0000 (22:24 +0200)]
Add method to reload specific scenery tiles.
ThorstenB [Wed, 8 Jun 2011 21:39:24 +0000 (23:39 +0200)]
Added guarded blocking deque class.
So, what are we going to do with it... ;-)
Mathias Froehlich [Wed, 8 Jun 2011 11:42:30 +0000 (13:42 +0200)]
Do not crash on exporting some EffectGeodes.
ThorstenB [Thu, 2 Jun 2011 08:05:10 +0000 (10:05 +0200)]
fix #314: Nasal not working on i386/32bit systems with gcc>=4.5.x
Change magic Nasal reftag to encode a quiet NaN (qNaN) instead of a
signaling NaN (sNaN), since sNaNs cannot pass cleanly through an FPU
(an sNaN is always converted to a qNaN, even by simple FPU load/store
instructions). gcc 4.5.x uses float load/store operations more
aggressively to move our 64bit Nasal variables (naRef) around.
Signed-off-by: Andy Ross
Torsten Dreyer [Tue, 31 May 2011 13:53:25 +0000 (15:53 +0200)]
gcc warning fix: remove unused variable
ThorstenB [Sun, 29 May 2011 16:40:19 +0000 (18:40 +0200)]
fixed #260: Scale animation also scales color
Added missing normalization. Thanks to Lauri for analysing this.
ThorstenB [Sat, 28 May 2011 21:09:06 +0000 (23:09 +0200)]
screen shot fixes (issue #127 related)
Provide proper return status when screen grabbing.
Allow tasks to remove themselves (return task entries to the queue _before_
executig them)
Torsten Dreyer [Sat, 28 May 2011 08:20:03 +0000 (10:20 +0200)]
Merge branch 'next' of gitorious.org:fg/simgear into next
Torsten Dreyer [Sat, 28 May 2011 08:17:19 +0000 (10:17 +0200)]
(Re)fix bug #285, textranslate broken
Due to fingertrouble, I removed the check for _step == 0 which
this patch re-adds.
Also, make this function look more like a template by not using
0.0 - constants.
ThorstenB [Fri, 27 May 2011 20:30:18 +0000 (22:30 +0200)]
Minor compiler version detection issue.
Well, almost prepared for gcc 5.0 now ;-).
Torsten Dreyer [Fri, 27 May 2011 19:06:06 +0000 (21:06 +0200)]
Make multicast sockets work under windows
msdn article 737550 states that "the preferred method is to call the
bind function to associate a socket with a local IP address and then
join the multicast group. Although this order of operations is not
mandatory, it is strongly recommended".
Since binding to the multicast address seems to fail, let's try binding
to INADDR_ANY and joint thereafter.
Torsten Dreyer [Wed, 25 May 2011 17:21:08 +0000 (19:21 +0200)]
ignore cmake generated files
Torsten Dreyer [Wed, 25 May 2011 17:14:09 +0000 (19:14 +0200)]
Fix bug #285 textranslate and scroll animation with negative numbers
rewrite SGStepExpression::apply_mods so it creates the same step
for negative numbers as it does for positive numbers.
James Turner [Sat, 21 May 2011 13:56:10 +0000 (14:56 +0100)]
Port version-defined-in-a-file logic over from fg.
James Turner [Sat, 21 May 2011 13:12:31 +0000 (14:12 +0100)]
Bump Simgear version to 2.3.0 - should have been done after 2.2.0 was branched, oops. Will refactor this lot to use a single 'version' file like FG, soon.
Stuart Buchanan [Sat, 14 May 2011 20:13:05 +0000 (21:13 +0100)]
Fix 3D cloud elevation
ThorstenB [Sat, 7 May 2011 17:40:01 +0000 (19:40 +0200)]
Also remove visual_enviro.cxx from the VC90 build.
Mathias Froehlich [Sat, 7 May 2011 16:32:44 +0000 (18:32 +0200)]
Also remove visual_enviro.cxx from the cmake build system.
Torsten Dreyer [Fri, 6 May 2011 12:10:04 +0000 (14:10 +0200)]
Remove unused class SGEnviro
This class and their source files visual_enviro.[h|c]xx were
unused since OSG transition. It's only functionality was to
keep a variable for the enable-state of rendering of precipitation.
This has now been moved to SGPrecipitation.
Torsten Dreyer [Fri, 6 May 2011 11:07:21 +0000 (13:07 +0200)]
fix typo
Curtis L. Olson [Tue, 3 May 2011 18:24:57 +0000 (13:24 -0500)]
Fix a crash on exit. The SGEnviro destructor was attempting to delete an
object that had already been deleted by the sound manager. Since SGEnviro
doesn't own this object, I removed the delete from it's destructor.
Frederic Bouvier [Tue, 26 Apr 2011 18:42:42 +0000 (20:42 +0200)]
Consistency fix - remove a warning under MSVC
Frederic Bouvier [Tue, 26 Apr 2011 17:45:40 +0000 (19:45 +0200)]
Compile under MSVC