]> git.mxchange.org Git - simgear.git/log
simgear.git
12 years ago#453: Using = as Nasal function argument crashes FG
ThorstenB [Sat, 29 Oct 2011 19:20:46 +0000 (21:20 +0200)]
#453: Using = as Nasal function argument crashes FG
Keep Nasal parser from crashing when "=" function misses a left-hand
element, i.e. when parsing "sin(=)".
(Or do people writing such terrible syntax deserve a crash? ;-) ).

12 years agoterrasync improvements
ThorstenB [Sat, 29 Oct 2011 19:15:29 +0000 (21:15 +0200)]
terrasync improvements
Detach from console to make "Ctrl-C" work for fgfs on Linux.
Immediately start synchronization of current position when
starting at run-time.

12 years agoFix terrasync airport synchronization sequence
ThorstenB [Sat, 29 Oct 2011 19:13:12 +0000 (21:13 +0200)]
Fix terrasync airport synchronization sequence
Airport A-J were skipped. Thanks to James for spotting this.
Also corrects actual sync order.

12 years agoMove ALUT 1.0 variables inside the #ifdef, to avoid some compiler warnings.
James Turner [Sat, 29 Oct 2011 10:06:24 +0000 (11:06 +0100)]
Move ALUT 1.0 variables inside the #ifdef, to avoid some compiler warnings.

12 years agoRemove sg_sleep.*.
Mathias Froehlich [Fri, 28 Oct 2011 15:00:56 +0000 (17:00 +0200)]
Remove sg_sleep.*.

12 years agoFix mac build.
Mathias Froehlich [Fri, 28 Oct 2011 17:10:20 +0000 (19:10 +0200)]
Fix mac build.

12 years agoHopefully fix jenkins build.
Mathias Froehlich [Fri, 28 Oct 2011 17:05:11 +0000 (19:05 +0200)]
Hopefully fix jenkins build.

12 years agoMake use of SGTimeStamp::sleep*.
Mathias Froehlich [Fri, 28 Oct 2011 14:58:29 +0000 (16:58 +0200)]
Make use of SGTimeStamp::sleep*.

12 years agoAdd sleep implementations to SGTimeStamp.
Mathias Froehlich [Fri, 28 Oct 2011 14:52:46 +0000 (16:52 +0200)]
Add sleep implementations to SGTimeStamp.

Implement sleeping to an absolute timestamp
as well as sleeping for a relative time in
SGtimeStamp.
The reason for including this into SGTimeStamp
is that the timestamps internals are required to
do accurate sleeps to and absolute timestamp
for the posix timer implementation.

12 years agoFix a bug affecting TerraGear, and extend unit-tests to cover this. (SGPath::file...
James Turner [Fri, 28 Oct 2011 11:57:07 +0000 (12:57 +0100)]
Fix a bug affecting TerraGear, and extend unit-tests to cover this. (SGPath::file returned an empty string for paths with no directory separator)

12 years agoAdd sound test programs to the CMake build.
James Turner [Fri, 28 Oct 2011 11:29:26 +0000 (12:29 +0100)]
Add sound test programs to the CMake build.

12 years agoFix assorted compiler warnings found by Clang
James Turner [Fri, 28 Oct 2011 11:07:35 +0000 (12:07 +0100)]
Fix assorted compiler warnings found by Clang

12 years agoKeep VC90 project file working with SGAtomic
Torsten Dreyer [Thu, 27 Oct 2011 06:18:54 +0000 (08:18 +0200)]
Keep VC90 project file working with SGAtomic

12 years agoChange (revert!) behaviour of SGPath::base, which broke TerraGear, when used with...
James Turner [Wed, 26 Oct 2011 18:57:57 +0000 (19:57 +0100)]
Change (revert!) behaviour of SGPath::base, which broke TerraGear, when used with multiple file suffixes (hgt.zip, for example). Test cases updated to match TG-required behaviour.

12 years agoSupport stream output by SGPath directly.
James Turner [Tue, 25 Oct 2011 20:44:57 +0000 (21:44 +0100)]
Support stream output by SGPath directly.

12 years agoAddress warnings found via Clang - especially related to destructor visibility with...
James Turner [Mon, 24 Oct 2011 17:09:42 +0000 (18:09 +0100)]
Address warnings found via Clang - especially related to destructor visibility with ref_ptrs of various kinds.

12 years agoFix SGAtomic mutex logic.
Mathias Froehlich [Sun, 23 Oct 2011 21:27:38 +0000 (23:27 +0200)]
Fix SGAtomic mutex logic.

12 years agoRework SGAtomic, move more into the implementation.
Mathias Froehlich [Sun, 23 Oct 2011 21:03:15 +0000 (23:03 +0200)]
Rework SGAtomic, move more into the implementation.

Mainly move many cases into the implementation file.

12 years agoFixes for headless mode.
James Turner [Sun, 23 Oct 2011 16:56:28 +0000 (17:56 +0100)]
Fixes for headless mode.

12 years agoUse a compile test to see if we need to provide the GCC atomic built-ins ourselves...
James Turner [Sun, 23 Oct 2011 14:59:27 +0000 (15:59 +0100)]
Use a compile test to see if we need to provide the GCC atomic built-ins ourselves, or not.

12 years agoMake lat/lon points in the ocean tile configurable at run-time. Not hooked up to...
James Turner [Sun, 23 Oct 2011 10:26:19 +0000 (11:26 +0100)]
Make lat/lon points in the ocean tile configurable at run-time. Not hooked up to a property yet, but soon.

12 years agoFixes to 3D clouds
Stuart Buchanan [Sat, 22 Oct 2011 20:28:09 +0000 (21:28 +0100)]
Fixes to 3D clouds
 - Wrap 3D clouds (e.g. Global Weather) on the surface of a sphere rather than on a plane. Cloud altitude no-longer increases with distance from the start position
 - Fix altitude of individual clouds, which where being places approx 1/2 the sprite height too high. Note that this means sprite positions in the cloud are the center of the cloud rather than the bottom.
 - Improve LOD radii, which were far too large.

12 years agoSupport for creating a source package via CPack
James Turner [Sat, 22 Oct 2011 14:37:17 +0000 (15:37 +0100)]
Support for creating a source package via CPack

12 years agoAdd FUZZY_COMPARE to me tar unit-test, tolerate lower-order imprecision in FPUs
James Turner [Fri, 21 Oct 2011 10:21:52 +0000 (11:21 +0100)]
Add FUZZY_COMPARE to me tar unit-test, tolerate lower-order imprecision in FPUs

12 years agoSGPath rename wrapper. Let's see what Win32 makes of it.
James Turner [Fri, 21 Oct 2011 08:36:33 +0000 (09:36 +0100)]
SGPath rename wrapper. Let's see what Win32 makes of it.

12 years agoRemove-on-destroy option for simgear::Dir, to help with cleaning up temporary directo...
James Turner [Fri, 21 Oct 2011 08:36:10 +0000 (09:36 +0100)]
Remove-on-destroy option for simgear::Dir, to help with cleaning up temporary directories.

12 years agoRemove using std:: from the metar header, remove HTTP support, add very basic unit...
James Turner [Fri, 21 Oct 2011 08:35:37 +0000 (09:35 +0100)]
Remove using std:: from the metar header, remove HTTP support, add very basic unit-test harness.

12 years agostring list joining, and a test case for that and splitting.
James Turner [Thu, 20 Oct 2011 10:12:54 +0000 (11:12 +0100)]
string list joining, and a test case for that and splitting.

12 years agostd:: namespace fixes.
James Turner [Mon, 17 Oct 2011 08:50:35 +0000 (09:50 +0100)]
std:: namespace fixes.

12 years agoAdd another helper to strutils, to compare version strings.
James Turner [Mon, 17 Oct 2011 08:50:21 +0000 (09:50 +0100)]
Add another helper to strutils, to compare version strings.

12 years agoCompile fix: add this-> in SGExpression.hxx due to two-phase name lookup (reported...
Csaba Halasz [Sun, 16 Oct 2011 12:00:39 +0000 (14:00 +0200)]
Compile fix: add this-> in SGExpression.hxx due to two-phase name lookup (reported by gcc 4.7)

12 years agoFix windows build
Frederic Bouvier [Sat, 15 Oct 2011 07:42:15 +0000 (09:42 +0200)]
Fix windows build

12 years agoUse mkdtemp where available, avoiding linker warnings about dangerous tempnam
James Turner [Sat, 15 Oct 2011 01:06:35 +0000 (02:06 +0100)]
Use mkdtemp where available, avoiding linker warnings about dangerous tempnam

12 years agoUnit test for SGBinObj, and fix a bug in large-indice handling the test revealed.
James Turner [Fri, 14 Oct 2011 20:57:34 +0000 (21:57 +0100)]
Unit test for SGBinObj, and fix a bug in large-indice handling the test revealed.

12 years agoAdd default constructor to simgear::Dir
James Turner [Fri, 14 Oct 2011 18:28:21 +0000 (19:28 +0100)]
Add default constructor to simgear::Dir

12 years agoOne more Linux compile fix.
James Turner [Wed, 31 Aug 2011 14:26:11 +0000 (07:26 -0700)]
One more Linux compile fix.

12 years agoMissing include on Linux
James Turner [Fri, 14 Oct 2011 11:05:31 +0000 (12:05 +0100)]
Missing include on Linux

12 years agoSGPath/Dir extensions to ease file handling in TerraGear. Also a unit-test, shocking.
James Turner [Fri, 14 Oct 2011 10:37:36 +0000 (11:37 +0100)]
SGPath/Dir extensions to ease file handling in TerraGear. Also a unit-test, shocking.

12 years agoFix BTG writer for non-included index arrays.
James Turner [Wed, 12 Oct 2011 16:01:52 +0000 (17:01 +0100)]
Fix BTG writer for non-included index arrays.

12 years agoMake SGModelPlacement safe on reinit
ThorstenB [Tue, 11 Oct 2011 19:28:37 +0000 (21:28 +0200)]
Make SGModelPlacement safe on reinit
Remove old model When init is called multiple times (i.e. reinit).
Also allow explicit removal of submodel (= init(0) ).

12 years agoMerge branch 'next' of gitorious.org:fg/simgear into next
Torsten Dreyer [Sat, 8 Oct 2011 18:36:20 +0000 (20:36 +0200)]
Merge branch 'next' of gitorious.org:fg/simgear into next

12 years agohla: for rti13 queue all callbacks.
Mathias Froehlich [Sat, 8 Oct 2011 15:44:53 +0000 (17:44 +0200)]
hla: for rti13 queue all callbacks.

This is to avoid running into the rti13 ambassadors
recursion guards. Newer rti standards will not requires this.

12 years agoAdd missing header for printf
Martin Spott [Fri, 7 Oct 2011 07:57:09 +0000 (09:57 +0200)]
Add missing header for printf

12 years agoMerge branch 'next' of git.gitorious.org:fg/simgear into next
Martin Spott [Fri, 7 Oct 2011 07:39:12 +0000 (09:39 +0200)]
Merge branch 'next' of git.gitorious.org:fg/simgear into next

12 years agoSupport for 32-bit vertex indices in BTG files
James Turner [Tue, 4 Oct 2011 13:04:59 +0000 (14:04 +0100)]
Support for 32-bit vertex indices in BTG files

12 years agoStuart Buchanan:
Torsten Dreyer [Thu, 6 Oct 2011 14:49:09 +0000 (16:49 +0200)]
Stuart Buchanan:
A further fix to the cloud placement, to make it more accurate over longer distances.

12 years agoStuart Buchanan:
Torsten Dreyer [Thu, 6 Oct 2011 14:47:03 +0000 (16:47 +0200)]
Stuart Buchanan:
Add additional lighting factors for 3D clouds so you can set the bottom, middle, top, and shade lighting factors.

12 years agoMerge commit 'refs/merge-requests/12' of git://gitorious.org/fg/simgear into merge...
Torsten Dreyer [Thu, 6 Oct 2011 14:42:36 +0000 (16:42 +0200)]
Merge commit 'refs/merge-requests/12' of git://gitorious.org/fg/simgear into merge-requests/12

12 years agohla: Add flush queue request, fix comments.
Mathias Froehlich [Wed, 5 Oct 2011 19:03:52 +0000 (21:03 +0200)]
hla: Add flush queue request, fix comments.

12 years agoFix win32 build of decode_binobj
Frederic Bouvier [Wed, 5 Oct 2011 06:13:31 +0000 (08:13 +0200)]
Fix win32 build of decode_binobj

12 years agohla: Remove interface functions that should not be called explicitly.
Mathias Froehlich [Tue, 4 Oct 2011 19:07:24 +0000 (21:07 +0200)]
hla: Remove interface functions that should not be called explicitly.

12 years agohla: Initially request update for subscribed unowned attributes.
Mathias Froehlich [Tue, 4 Oct 2011 18:55:44 +0000 (20:55 +0200)]
hla: Initially request update for subscribed unowned attributes.

12 years agohla: provide a more general property data element implementation.
Mathias Froehlich [Tue, 4 Oct 2011 18:32:34 +0000 (20:32 +0200)]
hla: provide a more general property data element implementation.

12 years agohla: add missing file fir the last commit.
Mathias Froehlich [Tue, 4 Oct 2011 18:27:59 +0000 (20:27 +0200)]
hla: add missing file fir the last commit.

12 years agohla: provide a data type visitor building a default data element tree.
Mathias Froehlich [Tue, 4 Oct 2011 18:21:12 +0000 (20:21 +0200)]
hla: provide a data type visitor building a default data element tree.

12 years agohla: detect string and opaque data types.
Mathias Froehlich [Tue, 4 Oct 2011 17:48:34 +0000 (19:48 +0200)]
hla: detect string and opaque data types.

12 years agoFix decode_bin linkage with GNU ld.
James Turner [Tue, 4 Oct 2011 16:53:53 +0000 (17:53 +0100)]
Fix decode_bin linkage with GNU ld.

12 years agoBuild decode_bin helper under CMake.
James Turner [Tue, 4 Oct 2011 14:06:12 +0000 (15:06 +0100)]
Build decode_bin helper under CMake.

12 years agohla: remove the now unused HLAPropertyReference{,Set}.
Mathias Froehlich [Mon, 3 Oct 2011 11:11:27 +0000 (13:11 +0200)]
hla: remove the now unused HLAPropertyReference{,Set}.

12 years agoAdd convenience class for change listener callbacks.
ThorstenB [Mon, 3 Oct 2011 09:57:48 +0000 (11:57 +0200)]
Add convenience class for change listener callbacks.

12 years agoMerge branch 'next' of git.gitorious.org:fg/simgear into next
Martin Spott [Mon, 3 Oct 2011 09:45:57 +0000 (11:45 +0200)]
Merge branch 'next' of git.gitorious.org:fg/simgear into next

12 years agohla: Provide a directly property based api for property data element.
Mathias Froehlich [Mon, 3 Oct 2011 09:21:27 +0000 (11:21 +0200)]
hla: Provide a directly property based api for property data element.

12 years agoMerge branch 'next' of git.gitorious.org:fg/simgear into next
Martin Spott [Mon, 3 Oct 2011 08:42:38 +0000 (10:42 +0200)]
Merge branch 'next' of git.gitorious.org:fg/simgear into next

12 years agohla: fix typo resulting in an endless loop.
Mathias Froehlich [Sun, 2 Oct 2011 13:13:06 +0000 (15:13 +0200)]
hla: fix typo resulting in an endless loop.

12 years agohla: provide main loop capabilities for HLAFederate.
Mathias Froehlich [Sun, 2 Oct 2011 12:36:33 +0000 (14:36 +0200)]
hla: provide main loop capabilities for HLAFederate.

12 years agohla: lift the event loop logic from RTI to HLAFederate.
Mathias Froehlich [Sun, 2 Oct 2011 08:11:10 +0000 (10:11 +0200)]
hla: lift the event loop logic from RTI to HLAFederate.

12 years agoMerge branch 'next' of git.gitorious.org:fg/simgear into next
Martin Spott [Sat, 1 Oct 2011 20:05:53 +0000 (22:05 +0200)]
Merge branch 'next' of git.gitorious.org:fg/simgear into next

12 years agohla: Provide createJoin and resignDestroy methods.
Mathias Froehlich [Sat, 1 Oct 2011 15:44:37 +0000 (17:44 +0200)]
hla: Provide createJoin and resignDestroy methods.

12 years agohla: disable copying for HLA*Class.
Mathias Froehlich [Sat, 1 Oct 2011 08:11:33 +0000 (10:11 +0200)]
hla: disable copying for HLA*Class.

12 years agorti: Implement query{GALT,LITS} in the interface and RTI13.
Mathias Froehlich [Sat, 1 Oct 2011 08:03:32 +0000 (10:03 +0200)]
rti: Implement query{GALT,LITS} in the interface and RTI13.

12 years agoclouds: remove unused bump mapping flags.
Mathias Froehlich [Sun, 18 Sep 2011 06:10:36 +0000 (08:10 +0200)]
clouds: remove unused bump mapping flags.

12 years agohla: Move callbacks into the rti federate implementation.
Mathias Froehlich [Sat, 1 Oct 2011 07:10:57 +0000 (09:10 +0200)]
hla: Move callbacks into the rti federate implementation.

12 years agoHLAPropertyDataElement: add virtual qualifier to destructor.
Mathias Froehlich [Sat, 1 Oct 2011 06:34:13 +0000 (08:34 +0200)]
HLAPropertyDataElement: add virtual qualifier to destructor.

12 years agoMerge branch 'next' of git.gitorious.org:fg/simgear into next
Martin Spott [Mon, 26 Sep 2011 14:23:58 +0000 (16:23 +0200)]
Merge branch 'next' of git.gitorious.org:fg/simgear into next

12 years agoMake the common case the default: no library suffix for RelWithDbg or MinSizeRel...
James Turner [Mon, 26 Sep 2011 12:32:34 +0000 (13:32 +0100)]
Make the common case the default: no library suffix for RelWithDbg or MinSizeRel builds. Of course you can still specify a suffix if desired.

12 years agoMerge branch 'next' of git.gitorious.org:fg/simgear into next
Martin Spott [Mon, 26 Sep 2011 09:18:56 +0000 (11:18 +0200)]
Merge branch 'next' of git.gitorious.org:fg/simgear into next

12 years agoautomake: add thread libs to the io tests.
Mathias Froehlich [Sat, 24 Sep 2011 07:55:01 +0000 (09:55 +0200)]
automake: add thread libs to the io tests.

12 years agoMerge branch 'next' of git.gitorious.org:fg/simgear into next
Martin Spott [Fri, 16 Sep 2011 20:55:44 +0000 (22:55 +0200)]
Merge branch 'next' of git.gitorious.org:fg/simgear into next

12 years agoAlternate, WinSock friendly reporting for host lookup failures.
James Turner [Fri, 16 Sep 2011 15:43:09 +0000 (16:43 +0100)]
Alternate, WinSock friendly reporting for host lookup failures.

12 years agoFix a crash where hostlookup fails entirely, thanks to Andreas Gaeb for the catch.
James Turner [Fri, 16 Sep 2011 10:37:02 +0000 (11:37 +0100)]
Fix a crash where hostlookup fails entirely, thanks to Andreas Gaeb for the catch.

12 years agoMake tree textures consistent across runs by replacing rand() call with
Stuart Buchanan [Thu, 15 Sep 2011 20:11:00 +0000 (21:11 +0100)]
Make tree textures consistent across runs by replacing rand() call with
something deterministic.

12 years agoMerge branch 'next' of git.gitorious.org:fg/simgear into next
Martin Spott [Wed, 14 Sep 2011 17:55:27 +0000 (19:55 +0200)]
Merge branch 'next' of git.gitorious.org:fg/simgear into next

12 years agocmake: clear the svn libraries variable if not found.
Mathias Froehlich [Wed, 14 Sep 2011 15:24:49 +0000 (17:24 +0200)]
cmake: clear the svn libraries variable if not found.

12 years agoMerge branch 'next' of git.gitorious.org:fg/simgear into next
Martin Spott [Wed, 14 Sep 2011 13:50:19 +0000 (15:50 +0200)]
Merge branch 'next' of git.gitorious.org:fg/simgear into next

12 years agocmake: Add headers to library components
Andreas Gaeb [Sun, 11 Sep 2011 10:18:03 +0000 (12:18 +0200)]
cmake: Add headers to library components

Add headers to library components so that they get
included into the IDE project files.

12 years agoMerge branch 'next' of git.gitorious.org:fg/simgear into next
Martin Spott [Tue, 13 Sep 2011 11:37:12 +0000 (13:37 +0200)]
Merge branch 'next' of git.gitorious.org:fg/simgear into next

12 years agoMerge commit 'refs/merge-requests/11' of git://gitorious.org/fg/simgear into merge...
Torsten Dreyer [Mon, 12 Sep 2011 15:26:01 +0000 (17:26 +0200)]
Merge commit 'refs/merge-requests/11' of git://gitorious.org/fg/simgear into merge-requests/11

12 years agoMerge branch 'next' of git.gitorious.org:fg/simgear into next
Martin Spott [Mon, 12 Sep 2011 14:02:00 +0000 (16:02 +0200)]
Merge branch 'next' of git.gitorious.org:fg/simgear into next

12 years agoTypo
Frederic Bouvier [Mon, 12 Sep 2011 10:20:03 +0000 (12:20 +0200)]
Typo

12 years agoAttempt to make FindSvnClient.cmake portable
Frederic Bouvier [Mon, 12 Sep 2011 10:17:06 +0000 (12:17 +0200)]
Attempt to make FindSvnClient.cmake portable

12 years agoFix SVN detection for Windows
Frederic Bouvier [Mon, 12 Sep 2011 08:54:03 +0000 (10:54 +0200)]
Fix SVN detection for Windows

12 years agoAuto detect 3rd Party root for Windows
Frederic Bouvier [Mon, 12 Sep 2011 08:53:18 +0000 (10:53 +0200)]
Auto detect 3rd Party root for Windows

12 years agoMerge branch 'next' of git.gitorious.org:fg/simgear into next
Martin Spott [Mon, 12 Sep 2011 07:30:27 +0000 (09:30 +0200)]
Merge branch 'next' of git.gitorious.org:fg/simgear into next

12 years agocmake: Use a default build type that builds fast executables.
Mathias Froehlich [Mon, 12 Sep 2011 06:08:26 +0000 (08:08 +0200)]
cmake: Use a default build type that builds fast executables.

12 years agoMerge branch 'next' of git.gitorious.org:fg/simgear into next
Martin Spott [Sun, 11 Sep 2011 22:57:50 +0000 (00:57 +0200)]
Merge branch 'next' of git.gitorious.org:fg/simgear into next

12 years agocmake: add quotes to string split.
Mathias Froehlich [Sun, 11 Sep 2011 21:27:03 +0000 (23:27 +0200)]
cmake: add quotes to string split.

12 years agoPlace clouds on a curved field, rather than completely flat, so
Stuart Buchanan [Sun, 11 Sep 2011 21:11:27 +0000 (22:11 +0100)]
Place clouds on a curved field, rather than completely flat, so
they curve with the earth surface. Note that this does not fix
"wrapped" clouds.

12 years agoMerge branch 'next' of gitorious.org:fg/simgear into next
Stuart Buchanan [Sun, 11 Sep 2011 20:38:54 +0000 (21:38 +0100)]
Merge branch 'next' of gitorious.org:fg/simgear into next

12 years agoLower the requirements on Cmake version (at least until Jenkins is updated)
Frederic Bouvier [Sun, 11 Sep 2011 19:43:54 +0000 (21:43 +0200)]
Lower the requirements on Cmake version (at least until Jenkins is updated)

12 years agoEnforce the use of Cmake 2.8
Frederic Bouvier [Sun, 11 Sep 2011 18:48:50 +0000 (20:48 +0200)]
Enforce the use of Cmake 2.8