]> git.mxchange.org Git - simgear.git/log
simgear.git
13 years agoBuffer size safety.
ThorstenB [Sat, 23 Oct 2010 12:47:24 +0000 (14:47 +0200)]
Buffer size safety.
Do not look for '\n' beyond valid data area.
Obey buffer length (in case a METAR contained a line > 512byte).

13 years agoProvide a little more descriptive error message if TextureBuilder fails
Torsten Dreyer [Tue, 12 Oct 2010 14:21:38 +0000 (16:21 +0200)]
Provide a little more descriptive error message if TextureBuilder fails

13 years agoAdd project.* to MSVC project files
Frederic Bouvier [Sat, 9 Oct 2010 06:45:52 +0000 (08:45 +0200)]
Add project.* to MSVC project files

13 years agoreplace glu functions with equivalents from OSG
Tim Moore [Fri, 8 Oct 2010 21:42:10 +0000 (23:42 +0200)]
replace glu functions with equivalents from OSG

13 years agoMerge branch 'next' of gitorious.org:fg/simgear into next
Torsten Dreyer [Thu, 7 Oct 2010 15:43:35 +0000 (17:43 +0200)]
Merge branch 'next' of gitorious.org:fg/simgear into next

13 years agoDon't crash in strutils::trim() with empty strings
Torsten Dreyer [Tue, 5 Oct 2010 20:39:41 +0000 (22:39 +0200)]
Don't crash in strutils::trim() with empty strings

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into next
Frederic Bouvier [Tue, 5 Oct 2010 06:32:00 +0000 (08:32 +0200)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next

13 years agoUse same transformation for generated ocean tiles than for regular tiles. Fix the...
Frederic Bouvier [Tue, 5 Oct 2010 06:30:52 +0000 (08:30 +0200)]
Use same transformation for generated ocean tiles than for regular tiles. Fix the normal orientation that broke the new water shader

13 years agoMake get_subsystem safe during destruction of the manager.
James Turner [Sun, 3 Oct 2010 15:08:34 +0000 (16:08 +0100)]
Make get_subsystem safe during destruction of the manager.

13 years agoThorsten Renk's fix for tile manager problems
Tim Moore [Sat, 2 Oct 2010 21:00:59 +0000 (23:00 +0200)]
Thorsten Renk's fix for tile manager problems

Locking tiles in cache keeps tiles from mysteriously disappearing.

13 years agoDon't crash when a submodel fails to load.
James Turner [Sat, 2 Oct 2010 20:01:29 +0000 (21:01 +0100)]
Don't crash when a submodel fails to load.

13 years agoAdd another overload for sg_io_exception ctor.
James Turner [Fri, 1 Oct 2010 11:27:08 +0000 (12:27 +0100)]
Add another overload for sg_io_exception ctor.

13 years agotolerate NDV (no directional validation) in METAR
Torsten Dreyer [Mon, 27 Sep 2010 17:38:15 +0000 (19:38 +0200)]
tolerate NDV (no directional validation) in METAR

13 years agoIvan Ngeow: Fix build on FreeBSD
Torsten Dreyer [Thu, 23 Sep 2010 08:27:06 +0000 (10:27 +0200)]
Ivan Ngeow: Fix build on FreeBSD

FreeBSD 8.0-RELEASE, only a very small patch needed
to be applied to simgear/simgear/compiler.h, to add

so that __FreeBSD_version is defined.

13 years agoFix wrong movement of 2d cloud layers on N/S courses
Torsten Dreyer [Sun, 19 Sep 2010 08:53:25 +0000 (10:53 +0200)]
Fix wrong movement of 2d cloud layers on N/S courses

13 years agoFix MSVC 100 project files updated by hand
Frederic Bouvier [Sun, 12 Sep 2010 10:06:57 +0000 (12:06 +0200)]
Fix MSVC 100 project files updated by hand

13 years agoSet the listener position to it's default value, just like the samples position
Erik Hofman [Fri, 10 Sep 2010 13:02:37 +0000 (15:02 +0200)]
Set the listener position to it's default value, just like the samples position

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into next
Frederic Bouvier [Thu, 9 Sep 2010 18:06:27 +0000 (20:06 +0200)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next

13 years agoMSVC 10 project update
Frederic Bouvier [Thu, 9 Sep 2010 18:06:15 +0000 (20:06 +0200)]
MSVC 10 project update

13 years agoSecond attempt to fixed OpenAL tests.
James Turner [Mon, 6 Sep 2010 13:27:58 +0000 (14:27 +0100)]
Second attempt to fixed OpenAL tests.

13 years agoFix up tests for revised SGSoundSample ctor.
James Turner [Mon, 6 Sep 2010 11:30:13 +0000 (12:30 +0100)]
Fix up tests for revised SGSoundSample ctor.

13 years agoPass current-dir down through XMLSound
James Turner [Mon, 6 Sep 2010 08:26:46 +0000 (09:26 +0100)]
Pass current-dir down through XMLSound
(should allow relative paths in sound XML files)

13 years agoAdd ResourceManager, and use to find sound and model paths.
James Turner [Sun, 5 Sep 2010 19:22:12 +0000 (20:22 +0100)]
Add ResourceManager, and use to find sound and model paths.

13 years agoValidate sound file paths in an XML file.
James Turner [Sun, 5 Sep 2010 13:15:18 +0000 (14:15 +0100)]
Validate sound file paths in an XML file.

13 years agoLet SGCloudLayer handle coverage strings
Torsten Dreyer [Fri, 27 Aug 2010 16:20:09 +0000 (18:20 +0200)]
Let SGCloudLayer handle coverage strings

This is currently handled in various places in FlightGear.

13 years agoAdd a convenience constructeur to SGPath
Frederic Bouvier [Sun, 22 Aug 2010 07:33:56 +0000 (09:33 +0200)]
Add a convenience constructeur to SGPath

13 years agostd::string::c_str() is const
Frederic Bouvier [Sat, 21 Aug 2010 07:02:12 +0000 (09:02 +0200)]
std::string::c_str() is const

13 years agoStandardise path-handling in XML mode files
James Turner [Tue, 17 Aug 2010 10:05:55 +0000 (11:05 +0100)]
Standardise path-handling in XML mode files
aircraft-dir/fg-data paths always work, and
paths relative to the location of the current XML
file always work.

13 years agoAdd isAbsolute/isRelative predicates to SGPath.
James Turner [Sat, 14 Aug 2010 21:51:01 +0000 (22:51 +0100)]
Add isAbsolute/isRelative predicates to SGPath.

13 years agoAllow loading of 2.5D panels to be controlled again.
James Turner [Sat, 14 Aug 2010 18:48:52 +0000 (19:48 +0100)]
Allow loading of 2.5D panels to be controlled again.

13 years agoRalf Gerlich: fix bucket numbering at extreme latitudes
James Turner [Sat, 14 Aug 2010 09:18:35 +0000 (10:18 +0100)]
Ralf Gerlich: fix bucket numbering at extreme latitudes
Also document existing algorithms

13 years agosupport for integer uniforms
Tim Moore [Fri, 13 Aug 2010 10:42:10 +0000 (12:42 +0200)]
support for integer uniforms

Also, share common Uniform objects

13 years agoforce static models to have effects too
Tim Moore [Fri, 2 Jul 2010 10:59:10 +0000 (12:59 +0200)]
force static models to have effects too

13 years agoadd padding function lpad and rpad to strutils
Torsten Dreyer [Thu, 12 Aug 2010 11:02:16 +0000 (13:02 +0200)]
add padding function lpad and rpad to strutils

13 years agoFix the fix that turned a warning into a bug :-(
Torsten Dreyer [Thu, 12 Aug 2010 10:16:48 +0000 (12:16 +0200)]
Fix the fix that turned a warning into a bug :-(

13 years agotwo warning fixes
Torsten Dreyer [Thu, 12 Aug 2010 09:42:04 +0000 (11:42 +0200)]
two warning fixes

13 years agouse correct parameter types for SGText::UpdateCallback
Torsten Dreyer [Thu, 12 Aug 2010 09:35:09 +0000 (11:35 +0200)]
use correct parameter types for SGText::UpdateCallback

13 years agoMerge branch 'topics/cmdcatch' into next
James Turner [Tue, 10 Aug 2010 23:20:02 +0000 (00:20 +0100)]
Merge branch 'topics/cmdcatch' into next

13 years agoFix Win32 build of SGPath.
James Turner [Mon, 9 Aug 2010 08:13:28 +0000 (09:13 +0100)]
Fix Win32 build of SGPath.

13 years agoCatch exceptions raised executing a command.
James Turner [Mon, 9 Aug 2010 08:12:26 +0000 (09:12 +0100)]
Catch exceptions raised executing a command.

13 years agoMake SGPath cache stat() information, cheers Fred
James Turner [Mon, 9 Aug 2010 07:19:14 +0000 (08:19 +0100)]
Make SGPath cache stat() information, cheers Fred
* cache exists/isDir/isFile in SGPath, to avoid
  repeated calls.

13 years agoMore ignore files, for 'make check' binaries
James Turner [Sun, 8 Aug 2010 08:55:31 +0000 (09:55 +0100)]
More ignore files, for 'make check' binaries

13 years agoDing, dong, the witch is dead. PLIB is no more, in SimGear.
James Turner [Sat, 7 Aug 2010 17:03:37 +0000 (18:03 +0100)]
Ding, dong, the witch is dead. PLIB is no more, in SimGear.

13 years agoChange how certain constants are (re-)defined, to avoid warning when PLIB sg.h is...
James Turner [Sat, 7 Aug 2010 15:28:39 +0000 (16:28 +0100)]
Change how certain constants are (re-)defined, to avoid warning when PLIB sg.h is included.

13 years agoRemoval of PLIB/SG from SimGear
James Turner [Mon, 26 Jul 2010 14:15:49 +0000 (15:15 +0100)]
Removal of PLIB/SG from SimGear

13 years agoCatch subsystem update() exceptions in the manager, and permit a maximum number of...
James Turner [Sat, 7 Aug 2010 09:25:20 +0000 (10:25 +0100)]
Catch subsystem update() exceptions in the manager, and permit a maximum number of exceptions before suspending the subsystem.

13 years agoEnsure 'make dist' works.
James Turner [Sat, 7 Aug 2010 08:09:58 +0000 (09:09 +0100)]
Ensure 'make dist' works.

13 years agoFixes for automake correctness.
James Turner [Fri, 6 Aug 2010 20:18:04 +0000 (21:18 +0100)]
Fixes for automake correctness.

13 years agoRalf Gerlich: add headless mode to SimGear (merging simgear-cs)
James Turner [Fri, 6 Aug 2010 18:16:29 +0000 (19:16 +0100)]
Ralf Gerlich: add headless mode to SimGear (merging simgear-cs)

13 years agoFix compilation if OSG ref_ptr implicit conversion is not enabled.
James Turner [Fri, 6 Aug 2010 17:42:56 +0000 (18:42 +0100)]
Fix compilation if OSG ref_ptr implicit conversion is not enabled.

13 years agoMerge commit 'refs/merge-requests/1' of git://gitorious.org/fg/simgear into vivian...
Frederic Bouvier [Tue, 3 Aug 2010 06:41:27 +0000 (08:41 +0200)]
Merge commit 'refs/merge-requests/1' of git://gitorious.org/fg/simgear into vivian/cube

13 years agoUpdate MSVC10 project files
Frederic Bouvier [Tue, 3 Aug 2010 06:40:10 +0000 (08:40 +0200)]
Update MSVC10 project files

13 years agoRemove debugging messages
Vivian Meazza [Mon, 2 Aug 2010 19:27:49 +0000 (20:27 +0100)]
Remove debugging messages

Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
13 years agoAdd support for Cube Crosses. Based on Zan's work, with some bugs removed.
Vivian Meazza [Mon, 2 Aug 2010 19:22:33 +0000 (20:22 +0100)]
Add support for Cube Crosses. Based on Zan's work, with some bugs removed.

Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
13 years agoActually enable looping for a sample queue
Erik Hofman [Mon, 2 Aug 2010 09:43:53 +0000 (11:43 +0200)]
Actually enable looping for a sample queue

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into next
Erik Hofman [Mon, 2 Aug 2010 08:11:41 +0000 (10:11 +0200)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next

13 years agoInitial commit for a sample queue extension.
Erik Hofman [Mon, 2 Aug 2010 08:10:58 +0000 (10:10 +0200)]
Initial commit for a sample queue extension.

13 years agoMSVC 10 build
Frederic Bouvier [Sun, 1 Aug 2010 15:55:40 +0000 (17:55 +0200)]
MSVC 10 build

13 years agoMSVC 10 build: Resolve an ambiguity between boost::bind and std::tr1::bind
Frederic Bouvier [Sun, 1 Aug 2010 15:54:52 +0000 (17:54 +0200)]
MSVC 10 build: Resolve an ambiguity between boost::bind and std::tr1::bind

13 years agoProject file to build and install SimGear alone
Frederic Bouvier [Mon, 10 May 2010 06:33:18 +0000 (08:33 +0200)]
Project file to build and install SimGear alone

13 years agoUpdate project to use VC100 OSG and Boost 1.42.0
Frederic Bouvier [Mon, 10 May 2010 06:31:48 +0000 (08:31 +0200)]
Update project to use VC100 OSG and Boost 1.42.0

13 years agoMSVC10 build fix
Frederic Bouvier [Mon, 10 May 2010 06:08:46 +0000 (08:08 +0200)]
MSVC10 build fix

13 years agoCompile with MSVC10
Frederic Bouvier [Sat, 8 May 2010 15:13:01 +0000 (17:13 +0200)]
Compile with MSVC10

13 years agoAdd VS2010 project files
Frederic Bouvier [Sat, 8 May 2010 15:12:15 +0000 (17:12 +0200)]
Add VS2010 project files

13 years agoMissed removing a build rule.
James Turner [Sat, 31 Jul 2010 14:33:25 +0000 (15:33 +0100)]
Missed removing a build rule.

13 years agoRemove legacy direct-OpenGL code in simgear/screen (predating switch to OSG).
James Turner [Fri, 30 Jul 2010 18:15:49 +0000 (19:15 +0100)]
Remove legacy direct-OpenGL code in simgear/screen (predating switch to OSG).

13 years agofix a typo
Erik Hofman [Fri, 30 Jul 2010 08:44:50 +0000 (10:44 +0200)]
fix a typo

13 years agouse std::string
Erik Hofman [Fri, 30 Jul 2010 08:42:44 +0000 (10:42 +0200)]
use std::string

13 years agoMerge branch 'topics/remove_point3d' of git@gitorious.org:~zakalawe/fg/james-simgear...
James Turner [Fri, 30 Jul 2010 08:00:35 +0000 (09:00 +0100)]
Merge branch 'topics/remove_point3d' of git@gitorious.org:~zakalawe/fg/james-simgear into topics/remove_point3d

13 years agoRemove deprecated vector classes - finally!
James Turner [Mon, 26 Jul 2010 10:24:16 +0000 (11:24 +0100)]
Remove deprecated vector classes - finally!

13 years agoWIP - removing remaining users of Point3D.
James Turner [Mon, 26 Jul 2010 10:24:16 +0000 (11:24 +0100)]
WIP - removing remaining users of Point3D.

13 years agoCollapse SGGeoCoord into SGTimeZone, and switch timezone search to cartesian math.
James Turner [Thu, 29 Jul 2010 09:12:00 +0000 (10:12 +0100)]
Collapse SGGeoCoord into SGTimeZone, and switch timezone search to cartesian math.

13 years agoUse a custom 'findDataFile' method in key places, and hook this into a callback set...
James Turner [Thu, 29 Jul 2010 00:04:10 +0000 (01:04 +0100)]
Use a custom 'findDataFile' method in key places, and hook this into a callback set on SGModelLib.

13 years agoC++ify some code
Erik Hofman [Tue, 27 Jul 2010 13:57:36 +0000 (15:57 +0200)]
C++ify some code

13 years agoSmall bugfix, the previous test always sets _property (these days)
Erik Hofman [Tue, 27 Jul 2010 12:51:44 +0000 (14:51 +0200)]
Small bugfix, the previous test always sets _property (these days)

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into next
Erik Hofman [Tue, 27 Jul 2010 08:15:28 +0000 (10:15 +0200)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next

13 years agoMore ignore rules for Git.
James Turner [Mon, 26 Jul 2010 23:21:44 +0000 (00:21 +0100)]
More ignore rules for Git.

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into next
Erik Hofman [Sun, 25 Jul 2010 08:29:25 +0000 (10:29 +0200)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next

13 years agoFix simgear::Dir::children on Linux where dirent->d_type might be 0; always use stat...
James Turner [Sat, 24 Jul 2010 09:27:50 +0000 (10:27 +0100)]
Fix simgear::Dir::children on Linux where dirent->d_type might be 0; always use stat() to determine file type. Thanks to Alex Romonsan for helping debugging this!

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into next
Erik Hofman [Fri, 23 Jul 2010 18:05:40 +0000 (20:05 +0200)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next

13 years agoAdd a method to set particle wind using from heading (deg) and speed (kt)
Cutis L. Olson [Fri, 23 Jul 2010 14:01:49 +0000 (09:01 -0500)]
Add a method to set particle wind using from heading (deg) and speed (kt)

13 years agoAdd closest-point calculation to SGRay, to replace a vector.h helper.
James Turner [Fri, 23 Jul 2010 12:04:09 +0000 (13:04 +0100)]
Add closest-point calculation to SGRay, to replace a vector.h helper.

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into next
Erik Hofman [Fri, 23 Jul 2010 11:57:53 +0000 (13:57 +0200)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next

13 years agoChange SGPath::exists to use stat(), fix '.' and '..' handling on Windows, add simgea...
James Turner [Fri, 23 Jul 2010 06:54:10 +0000 (07:54 +0100)]
Change SGPath::exists to use stat(), fix '.' and '..' handling on Windows, add simgear::Dir version of exists().

13 years agoMerge branch 'next' of git@gitorious.org:fg/simgear into next
James Turner [Fri, 23 Jul 2010 05:30:37 +0000 (06:30 +0100)]
Merge branch 'next' of git@gitorious.org:fg/simgear into next

13 years agoFix Win32 compilation of raw_socket.
James Turner [Fri, 23 Jul 2010 05:30:02 +0000 (06:30 +0100)]
Fix Win32 compilation of raw_socket.

13 years agoLinux build fixes, now netSocket.h is no longer included.
James Turner [Thu, 22 Jul 2010 21:04:20 +0000 (22:04 +0100)]
Linux build fixes, now netSocket.h is no longer included.

13 years agoI greatly dislike GNU automake.
James Turner [Thu, 22 Jul 2010 20:27:11 +0000 (21:27 +0100)]
I greatly dislike GNU automake.

13 years agoMove PLIB netSocket into SimGear, as simgear::Socket, and update the wrapper classes.
James Turner [Thu, 22 Jul 2010 12:34:05 +0000 (13:34 +0100)]
Move PLIB netSocket into SimGear, as simgear::Socket, and update the wrapper classes.

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into next
Erik Hofman [Thu, 22 Jul 2010 06:57:04 +0000 (08:57 +0200)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next

13 years agoOn Unix, check for symlinks from readdir(), and look through them (using stat())...
James Turner [Wed, 21 Jul 2010 21:08:06 +0000 (22:08 +0100)]
On Unix, check for symlinks from readdir(), and look through them (using stat()) to discern target type.

13 years agoAdd a new function alias for MSVC: strcasecmp -> stricmp
Frederic Bouvier [Mon, 19 Jul 2010 20:36:01 +0000 (22:36 +0200)]
Add a new function alias for MSVC: strcasecmp -> stricmp

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into fredb/winbuild
Frederic Bouvier [Mon, 19 Jul 2010 18:02:41 +0000 (20:02 +0200)]
Merge branch 'next' of git://gitorious.org/fg/simgear into fredb/winbuild

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into next
Erik Hofman [Fri, 16 Jul 2010 18:20:28 +0000 (20:20 +0200)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next

13 years agoMerge branch 'next' of gitorious.org:fg/simgear into next
Torsten Dreyer [Fri, 16 Jul 2010 16:35:55 +0000 (18:35 +0200)]
Merge branch 'next' of gitorious.org:fg/simgear into next

13 years agoWarning fix: compare signed/unsigned
Torsten Dreyer [Fri, 16 Jul 2010 16:34:39 +0000 (18:34 +0200)]
Warning fix: compare signed/unsigned

13 years agoWarning fix: unused variable in TextureBuilder.cxx
Torsten Dreyer [Fri, 16 Jul 2010 16:19:56 +0000 (18:19 +0200)]
Warning fix: unused variable in TextureBuilder.cxx

13 years agoFix simgear::Dir compilation on some Unix setups, thanks Anders.
James Turner [Fri, 16 Jul 2010 07:40:07 +0000 (08:40 +0100)]
Fix simgear::Dir compilation on some Unix setups, thanks Anders.

13 years agoInitial work on simgear::Dir, replacement for PLIB ulDir functions.
James Turner [Thu, 15 Jul 2010 08:40:46 +0000 (09:40 +0100)]
Initial work on simgear::Dir, replacement for PLIB ulDir functions.

13 years agoMerge branch 'next' of git://gitorious.org/fg/simgear into next
Erik Hofman [Wed, 14 Jul 2010 10:19:08 +0000 (12:19 +0200)]
Merge branch 'next' of git://gitorious.org/fg/simgear into next