]> git.mxchange.org Git - simgear.git/log
simgear.git
18 years agoAdd support for point sprites.
ehofman [Thu, 26 Jan 2006 09:15:42 +0000 (09:15 +0000)]
Add support for point sprites.

18 years agoThe sample is now managed by a SGSharedPtr and shouldn't be deleted explicitely
fredb [Tue, 24 Jan 2006 21:49:56 +0000 (21:49 +0000)]
The sample is now managed by a SGSharedPtr and shouldn't be deleted explicitely

18 years agoMathias Fröhlich:
ehofman [Tue, 24 Jan 2006 14:44:35 +0000 (14:44 +0000)]
Mathias Fröhlich:

Incorporating the shared ptr code:
- All scenegraph references from SimGear
- SGMaterial which already had a reference counter uses now that common
  infrastructure.
- SGMatModel is now counted.
- SGSoundSample from SimGear
- And the corresponding change for the sound samples in flightgear which fixes
  a latent crash if FGBeacon would evern be deleted.

18 years agoMathias Fröhlich:
ehofman [Thu, 12 Jan 2006 13:47:04 +0000 (13:47 +0000)]
Mathias Fröhlich:

Use the new automatic reference counter instead of doing
that ourselfes.

18 years agoMSVC vsnprintf ( in fact _vsnprinft ) returns -1 when the buffer is too short
fredb [Tue, 10 Jan 2006 20:25:46 +0000 (20:25 +0000)]
MSVC vsnprintf ( in fact _vsnprinft ) returns -1 when the buffer is too short

18 years agoUse the new SGPath::create_dir function
fredb [Sat, 7 Jan 2006 13:21:36 +0000 (13:21 +0000)]
Use the new SGPath::create_dir function
Ensure no triangles array could have more than 32767 vertices, a PLIB limit.

18 years agoJohn Ellson:
curt [Wed, 4 Jan 2006 16:44:08 +0000 (16:44 +0000)]
John Ellson:

This patch fixes this SimGear compile error on x86_64 Fedora Development with gcc-4.1:

placement.hxx:49: error: extra qualification ‘SGModelPlacement::’ on member ‘init’

18 years agoMinGW fixes.
ehofman [Wed, 4 Jan 2006 09:08:35 +0000 (09:08 +0000)]
MinGW fixes.

18 years agoMake the sgi code the default to prevent future problems.
ehofman [Tue, 3 Jan 2006 17:40:49 +0000 (17:40 +0000)]
Make the sgi code the default to prevent future problems.

18 years agoSave some memory.
ehofman [Tue, 3 Jan 2006 17:34:00 +0000 (17:34 +0000)]
Save some memory.

18 years agoFix the persisent IRIX bug.
ehofman [Mon, 2 Jan 2006 13:32:16 +0000 (13:32 +0000)]
Fix the persisent IRIX bug.

18 years agoprevent confusion by not using a standard name.
ehofman [Mon, 2 Jan 2006 10:04:10 +0000 (10:04 +0000)]
prevent confusion by not using a standard name.

18 years agoMathias Fröhlich:
ehofman [Thu, 29 Dec 2005 12:00:29 +0000 (12:00 +0000)]
Mathias Fröhlich:

Add the basic infrastructure for a reference counter class.
Adding it now (without using it) enables Mathias and others to
prepare some memory reduction code.

18 years agoVassilii Khachaturov:
ehofman [Mon, 19 Dec 2005 12:52:02 +0000 (12:52 +0000)]
Vassilii Khachaturov:

clean up some build warnings caught with gcc-4.0.

18 years agoFrederic Bouvier:
ehofman [Mon, 19 Dec 2005 10:22:27 +0000 (10:22 +0000)]
Frederic Bouvier:

Fix a problem where the directory being created is made relative when in fact
it's absolute. It also tightens things a bit on the Windows side.

Erik:

Make the section that splits up the directory in a lists of parent directories
a standalone function.

18 years agoFrederic: this patch to sg_path.cxx will filter out false alarms when directory alrea...
ehofman [Sun, 18 Dec 2005 09:37:37 +0000 (09:37 +0000)]
Frederic: this patch to sg_path.cxx will filter out false alarms when directory already exists.

18 years agoFrederic Bouvier:
ehofman [Sat, 17 Dec 2005 22:12:53 +0000 (22:12 +0000)]
Frederic Bouvier:

The create_dir was totally broken. No function was used at the right place
except mkdir. This patch now create directories without segfaulting.

Erik:

This was my bad, I've been using a really slow computer for the last ten months
and recompiling SimGear with a change to the properties code takes ages, so
once in a while I apply something not entirely tested. This is one really bad
example which shouldn't have happened. Thanks to Frederic for fixing it.

18 years agoAdd the subdir to the path before trying to create it, instead of afterwards.
ehofman [Sat, 17 Dec 2005 15:41:48 +0000 (15:41 +0000)]
Add the subdir to the path before trying to create it, instead of afterwards.

18 years agoMSVC fixes.
ehofman [Sat, 17 Dec 2005 15:32:43 +0000 (15:32 +0000)]
MSVC fixes.

18 years agoTry to detect the proper type for mode_t
ehofman [Sat, 17 Dec 2005 15:15:09 +0000 (15:15 +0000)]
Try to detect the proper type for mode_t

18 years agoStefan Seifert: Add the posibility to specify a userarchive attribute which could...
ehofman [Sat, 17 Dec 2005 15:11:37 +0000 (15:11 +0000)]
Stefan Seifert: Add the posibility to specify a userarchive attribute which could be used to save user prefferences at program exit.

18 years agoAdd a function to create aa new directory
ehofman [Sat, 17 Dec 2005 15:06:56 +0000 (15:06 +0000)]
Add a function to create aa new directory

18 years agoMathias Fröhlich:
ehofman [Wed, 14 Dec 2005 10:28:16 +0000 (10:28 +0000)]
Mathias Fröhlich:

Detect whether we support pubuffers at runtime using the GLX extension string.

Erik:

Add support to compile TestRenderTexture if GLUT is installed.

18 years agoMacOs X fix.
ehofman [Sun, 11 Dec 2005 13:41:57 +0000 (13:41 +0000)]
MacOs X fix.

18 years agoVassilii Khachaturov:
ehofman [Sun, 11 Dec 2005 13:35:05 +0000 (13:35 +0000)]
Vassilii Khachaturov:

* in some cases more specific sg exception types were used in place
  of the more generic one, e.g., sg_io_exception instead of sg_exception
  when the context of the error was an IO error
* in some cases, the error message was made more specific
* minor style fix for exception rethrowing --- using throw; whenever
  a re-throw is made; sometimes optimizing away the exception symbol name
  in the catch handler at all
* more specific catch handlers added in some places -- e.g.,
  an sg_io_exception caught ahead of sg_exception

18 years agoadd swap_test to .cvsignore
ehofman [Sun, 11 Dec 2005 13:26:30 +0000 (13:26 +0000)]
add swap_test to .cvsignore

18 years agoAdd a proper return statement for MSVC.
ehofman [Sun, 11 Dec 2005 12:51:51 +0000 (12:51 +0000)]
Add a proper return statement for MSVC.

18 years agoVassilii: help those
ehofman [Tue, 6 Dec 2005 18:45:14 +0000 (18:45 +0000)]
Vassilii: help those
using the Doxygen docs.

18 years agoMathias: silence some valgrind warnings so that you can concentrate better on the...
ehofman [Tue, 6 Dec 2005 18:29:28 +0000 (18:29 +0000)]
Mathias: silence some valgrind warnings so that you can concentrate better on the real problems.

18 years agoHow did this end up there??
ehofman [Sun, 27 Nov 2005 09:48:51 +0000 (09:48 +0000)]
How did this end up there??

18 years agoInitialize glut before using it.
ehofman [Sun, 27 Nov 2005 09:46:58 +0000 (09:46 +0000)]
Initialize glut before using it.

18 years agoMore WIN32 fixes.
ehofman [Wed, 23 Nov 2005 09:28:02 +0000 (09:28 +0000)]
More WIN32 fixes.

18 years agoOops, WIN32 typo fix.
ehofman [Tue, 22 Nov 2005 18:42:16 +0000 (18:42 +0000)]
Oops, WIN32 typo fix.

18 years ago* Use SimGear's logging facility isntead of printf's.
ehofman [Tue, 22 Nov 2005 18:03:26 +0000 (18:03 +0000)]
* Use SimGear's logging facility isntead of printf's.
* Hopefuly fix a nasty (mostly ATI related) bug.

18 years agoChanges for v0.3.9 (final).
curt [Thu, 17 Nov 2005 20:54:06 +0000 (20:54 +0000)]
Changes for v0.3.9 (final).

18 years agoAdd a small accessor function to expose local timezone offset.
curt [Thu, 17 Nov 2005 15:30:07 +0000 (15:30 +0000)]
Add a small accessor function to expose local timezone offset.

18 years agoFix a small spelling mistake.
curt [Tue, 15 Nov 2005 21:43:34 +0000 (21:43 +0000)]
Fix a small spelling mistake.

18 years agoRevert to the original (0.9.8) version, it causes more problems than it solves (did...
ehofman [Mon, 14 Nov 2005 18:25:17 +0000 (18:25 +0000)]
Revert to the original (0.9.8) version, it causes more problems than it solves (did actually solve any?)

18 years agoPut in public domain, Curtis wants it (because net_fdm.hxx depends on it) and I creat...
ehofman [Sun, 13 Nov 2005 09:42:38 +0000 (09:42 +0000)]
Put in public domain, Curtis wants it (because net_fdm.hxx depends on it) and I created the other functions.

18 years agoLet the application free the buffer data.
ehofman [Sat, 12 Nov 2005 12:22:23 +0000 (12:22 +0000)]
Let the application free the buffer data.

18 years agoPrevent a possible memory leak.
ehofman [Sat, 12 Nov 2005 12:17:04 +0000 (12:17 +0000)]
Prevent a possible memory leak.

18 years agoadd a missing character.
ehofman [Sat, 12 Nov 2005 10:55:22 +0000 (10:55 +0000)]
add a missing character.

18 years agoMake a clear separation between loading a sound file into main memroy and sending...
ehofman [Sat, 12 Nov 2005 10:26:21 +0000 (10:26 +0000)]
Make a clear separation between loading a sound file into main memroy and sending it to the driver. This prevents data to be loaded into the main memory (or onto the soundcard's memory) when it's not needed.

18 years agoExpose some internals.
ehofman [Fri, 11 Nov 2005 13:19:58 +0000 (13:19 +0000)]
Expose some internals.

18 years agov0.3.9-pre3 updates.
curt [Fri, 11 Nov 2005 00:44:59 +0000 (00:44 +0000)]
v0.3.9-pre3 updates.

18 years agoMSVC fix.
ehofman [Thu, 10 Nov 2005 09:57:58 +0000 (09:57 +0000)]
MSVC fix.

18 years agogcc 4.0 fix.
ehofman [Thu, 10 Nov 2005 09:55:57 +0000 (09:55 +0000)]
gcc 4.0 fix.

18 years agoArchitectural fix allowing the "tip" popups (FOV, view name, etc...)
andy [Wed, 9 Nov 2005 20:34:14 +0000 (20:34 +0000)]
Architectural fix allowing the "tip" popups (FOV, view name, etc...)
to pop themselves down while the simulator is paused.

The problem was with the "real time" queue in the event manager,
causing the third argument of Nasal's settimer() (a flag for "sim
time") to be ignored.  Inverts the default sense of the argument, as
there are lots of uses of settimer() in the current code, almost none
of which want to use real time.

Note this fix introduces a header file incompatibility in SimGear --
be sure to update.

18 years agov0.9.9-pre2 changes.
curt [Wed, 9 Nov 2005 18:47:40 +0000 (18:47 +0000)]
v0.9.9-pre2 changes.

18 years agov0.9.9-pre2 changes (just the version number!)
curt [Wed, 9 Nov 2005 18:41:49 +0000 (18:41 +0000)]
v0.9.9-pre2 changes (just the version number!)

18 years agoSpelling fixes and other small corrections.
curt [Sat, 5 Nov 2005 20:32:45 +0000 (20:32 +0000)]
Spelling fixes and other small corrections.

18 years agoSome pre-release updates.
curt [Sat, 5 Nov 2005 19:30:52 +0000 (19:30 +0000)]
Some pre-release updates.

18 years agoAdd a code comment for future thought.
curt [Sat, 5 Nov 2005 18:47:29 +0000 (18:47 +0000)]
Add a code comment for future thought.

18 years agoMove Curt's ssgEntityArray experiment over to SimGear.
ehofman [Tue, 1 Nov 2005 09:45:10 +0000 (09:45 +0000)]
Move Curt's ssgEntityArray experiment over to SimGear.

18 years agoRemove some unused code.
ehofman [Sun, 30 Oct 2005 15:02:58 +0000 (15:02 +0000)]
Remove some unused code.

18 years agoMathias Fröhlich:
ehofman [Thu, 27 Oct 2005 08:21:58 +0000 (08:21 +0000)]
Mathias Fröhlich:

I guess the most important memory leaks are plugged now.
Just by inspection: An other memory leak in Simgear.

18 years agoMSVC fix.
ehofman [Thu, 27 Oct 2005 08:21:00 +0000 (08:21 +0000)]
MSVC fix.

18 years agoBack out the shared mutex code since it only works when the mutex is in shared
ehofman [Wed, 26 Oct 2005 11:19:58 +0000 (11:19 +0000)]
Back out the shared mutex code since it only works when the mutex is in shared
memory[1], something we don't support anyhow.
This also fixes a FreeBSD compile problem.

[1] http://hypermail.linklord.com/new-httpd.old/2002/Jan/0557.html

18 years agoOops, ALUT 1.0 requires a little more work than expected.
ehofman [Tue, 25 Oct 2005 18:05:23 +0000 (18:05 +0000)]
Oops, ALUT 1.0 requires a little more work than expected.

18 years agoAlex Romosan:
ehofman [Tue, 25 Oct 2005 13:48:58 +0000 (13:48 +0000)]
Alex Romosan:

* Use "const string&" rather than "string" in function calls when appropriate.
* Use "const Point3D&" instead of "Pint3D" in function calls when appropriate.
* Improved course calculation in calc_gc_course_dist()
* Safer thread handling code.

Vassilii Khachaturov:

Dont use "const Point3D&" for return types unless you're absolutely sure.

Erik Hofman:

* Use SGD_(2)PI(_[24]) as defined in simgear/constants.h rather than
  calculating it by hand every time.

18 years agoPrepare for ALUT version 1.0
ehofman [Tue, 25 Oct 2005 13:06:25 +0000 (13:06 +0000)]
Prepare for ALUT version 1.0

18 years agoCosmetic updates.
ehofman [Sun, 23 Oct 2005 14:04:42 +0000 (14:04 +0000)]
Cosmetic updates.

18 years agoSlightly update the seasonal texture support code.
ehofman [Sun, 23 Oct 2005 13:47:46 +0000 (13:47 +0000)]
Slightly update the seasonal texture support code.

18 years agoAdd support for seasons.
ehofman [Sun, 23 Oct 2005 13:31:13 +0000 (13:31 +0000)]
Add support for seasons.

18 years agoMelchior FRANZ:
ehofman [Sun, 23 Oct 2005 11:55:48 +0000 (11:55 +0000)]
Melchior FRANZ:

The attached patch makes remove_child() available as removeChild(pos, keep).
That's consistent with getChild. Only renamed remove_child to removeChild and
added a check for validity of the pos argument.

removeChildren() will be used in input.cxx, and a lot in the upcoming
dynamic new_gui dialogs, which are aiming at replacing the hard-coded
dialogs. I'll discuss them on the list once the infrastructure is
in place. (The <hide> gui property was one part of it.)

18 years agoHarald JOHSEN: the sky color now fades to black with altitude
ehofman [Sun, 23 Oct 2005 11:46:41 +0000 (11:46 +0000)]
Harald JOHSEN: the sky color now fades to black with altitude

18 years agoRemove some dead code.
ehofman [Sat, 22 Oct 2005 11:07:00 +0000 (11:07 +0000)]
Remove some dead code.

18 years agoHarald JOHNSEN:
ehofman [Sun, 16 Oct 2005 17:23:59 +0000 (17:23 +0000)]
Harald JOHNSEN:

I have corrected a few bugs with the owner draw gauge, weather radar code and heat-haze effect.

- shadanim.cxx :
  the heat/haze effect was showing artifacts when using a screen resolution >
  1024 pixels.

18 years agoIma Sudonim remembered me there is still one problem for gcc Vs. 3.4 or later under...
ehofman [Sat, 15 Oct 2005 14:59:02 +0000 (14:59 +0000)]
Ima Sudonim remembered me there is still one problem for gcc Vs. 3.4 or later under Cygwin. This fixes it.

18 years agoFix memory leak discovered by Mathias Froehlich
andy [Fri, 14 Oct 2005 16:42:32 +0000 (16:42 +0000)]
Fix memory leak discovered by Mathias Froehlich

18 years agoMathias Fröhlich:
ehofman [Fri, 14 Oct 2005 16:27:06 +0000 (16:27 +0000)]
Mathias Fröhlich:

This one, removes some virtual qualifiers at a private member class of
SGPropertyNode. These virtual qualifiers are really useless and stop the
compiler from inlineing these functions. I gain a single frame with my
favourite aircraft per second!

18 years agoMathias Fröhlich:
ehofman [Fri, 14 Oct 2005 16:21:57 +0000 (16:21 +0000)]
Mathias Fröhlich:

I have done a valgrind run in flightgear. Just start it up and close it at the
fist change I had about half an hour later.

property-leak.diff:
   A leak in the property system which I could even notice in top.

texture-leak.diff:
    minor one, but fixed is fixed ...

18 years agoUse an unsigned vs. signed short to double our element capacity for higher
curt [Wed, 12 Oct 2005 16:43:26 +0000 (16:43 +0000)]
Use an unsigned vs. signed short to double our element capacity for higher
resolution scenery.

18 years agoMartin Spott:
ehofman [Wed, 12 Oct 2005 08:59:39 +0000 (08:59 +0000)]
Martin Spott:

make GCC on Solaris8 happy.

18 years agoFix a small typo.
curt [Tue, 11 Oct 2005 18:56:45 +0000 (18:56 +0000)]
Fix a small typo.

18 years agoDavid Luff:
ehofman [Sun, 9 Oct 2005 09:37:35 +0000 (09:37 +0000)]
David Luff:

The following patch needs to be applied to fix the errors that Georg
Vollnhals was getting whilst attempting to compile SimGear with gcc-3.4.x

18 years agoHarald JOHNSEN:
ehofman [Sat, 8 Oct 2005 11:52:48 +0000 (11:52 +0000)]
Harald JOHNSEN:

- shadanim.cxx, animation.hxx :
  new chrome (sphere mapping) shading ;
  disabled the loading of the fresnel VP until it is fixed ;

18 years agoAnother Solaris fix.
ehofman [Thu, 6 Oct 2005 14:39:12 +0000 (14:39 +0000)]
Another Solaris fix.

18 years agoMartin Spott: Use standardized Sun directive.
ehofman [Thu, 6 Oct 2005 11:06:27 +0000 (11:06 +0000)]
Martin Spott: Use standardized Sun directive.

18 years agoMSYS fix.
ehofman [Thu, 6 Oct 2005 09:45:36 +0000 (09:45 +0000)]
MSYS fix.

18 years agoMSVC fixes. Frederic: MSVC has no ssize_t type
ehofman [Thu, 6 Oct 2005 08:25:14 +0000 (08:25 +0000)]
MSVC fixes. Frederic: MSVC has no ssize_t type

18 years agoRemove a leftover.
ehofman [Tue, 4 Oct 2005 11:49:24 +0000 (11:49 +0000)]
Remove a leftover.

18 years agoCygwin fixes(?), it's a good idea to do it this way anyhow.
ehofman [Sat, 1 Oct 2005 11:41:59 +0000 (11:41 +0000)]
Cygwin fixes(?), it's a good idea to do it this way anyhow.

18 years agoCygwin fixes.
ehofman [Thu, 29 Sep 2005 12:05:22 +0000 (12:05 +0000)]
Cygwin fixes.

18 years agoFix an oops.
ehofman [Wed, 28 Sep 2005 08:03:44 +0000 (08:03 +0000)]
Fix an oops.

18 years agoBack out a patch from Sept. 25th. Setting the *factor* to 0.0 by default isn't genera...
ehofman [Wed, 28 Sep 2005 08:00:33 +0000 (08:00 +0000)]
Back out a patch from Sept. 25th. Setting the *factor* to 0.0 by default isn't generally a good idea.

18 years agoMake some adjustment to low level serial port configuration flags for unix.
curt [Mon, 26 Sep 2005 21:01:17 +0000 (21:01 +0000)]
Make some adjustment to low level serial port configuration flags for unix.

18 years agoVivian Meazza:
ehofman [Sun, 25 Sep 2005 07:44:50 +0000 (07:44 +0000)]
Vivian Meazza:

Correct the bug in the translate animation where the offset was part of the
multiplication. It now behaves like all other animations:
out = (prop * factor) + offset

I feel strongly that the existing is wrong and must be corrected - it is non-op
if the offset is zero as I have found to my cost! It is just a typo I expect.

The diff also provides non-op default values for the scale animation.

I've also included Harald's latest eye-candy animation which allows us to
have a very smart heat-haze for exhausts. They have been tested by me and
others on Linux and Cygwin. You might like to upload these - I have a
revised Hunter ready to go as soon as they are uploaded.

18 years agoAdd eof() support to SGIOChannel/SGFile.
curt [Sat, 24 Sep 2005 12:28:14 +0000 (12:28 +0000)]
Add eof() support to SGIOChannel/SGFile.

18 years agoAdd an eof() method to SGFile.
curt [Fri, 23 Sep 2005 20:13:43 +0000 (20:13 +0000)]
Add an eof() method to SGFile.

18 years agoAMD64 and sgi fixes.
ehofman [Fri, 23 Sep 2005 12:30:25 +0000 (12:30 +0000)]
AMD64 and sgi fixes.

18 years agoPlatform compatibility fix.
ehofman [Thu, 22 Sep 2005 13:43:09 +0000 (13:43 +0000)]
Platform compatibility fix.

18 years agoAdd some linefeeds.
ehofman [Thu, 22 Sep 2005 09:15:10 +0000 (09:15 +0000)]
Add some linefeeds.

18 years agoCreate our own stdint.h(xx) implementation and use it where needed.
ehofman [Thu, 22 Sep 2005 09:11:27 +0000 (09:11 +0000)]
Create our own stdint.h(xx) implementation and use it where needed.

18 years agoPrepare for Openal 1.1 and a separate alut library
ehofman [Wed, 21 Sep 2005 09:22:51 +0000 (09:22 +0000)]
Prepare for Openal 1.1 and a separate alut library

18 years agoOops, Frederic caught an inline declaration that had snuck into the code.
andy [Tue, 20 Sep 2005 21:38:08 +0000 (21:38 +0000)]
Oops, Frederic caught an inline declaration that had snuck into the code.

18 years agoSneak a Nasal update in before the next release. This version
andy [Tue, 20 Sep 2005 21:09:34 +0000 (21:09 +0000)]
Sneak a Nasal update in before the next release.  This version
*appears* to work correctly on all systems to which I have access
(i386 linux/win32, x86_64 linux, powerpc OS X, Sparc Solaris 10), but
not all systems are capable of running fgfs.  Beyond that, multiple
threading bugs were fixed, and the naCall() API changed slightly to
support named function arguments.

NOTE: this introduces a change in the external API, and therefore this
change *must* be compiled against current FlightGear code.

18 years agoDon't refference simgear_config.h because this header gets installed :-(
ehofman [Sun, 18 Sep 2005 21:05:04 +0000 (21:05 +0000)]
Don't refference simgear_config.h because this header gets installed :-(

18 years agoint64_t is in stdint.h by default.
ehofman [Sun, 18 Sep 2005 09:21:54 +0000 (09:21 +0000)]
int64_t is in stdint.h by default.

18 years agoMSVC fix.
ehofman [Sun, 18 Sep 2005 09:19:07 +0000 (09:19 +0000)]
MSVC fix.