]> git.mxchange.org Git - simgear.git/log
simgear.git
16 years agoUpdate MSVC 7.1 projects
fredb [Sun, 12 Aug 2007 13:40:16 +0000 (13:40 +0000)]
Update MSVC 7.1 projects

16 years agoFix a typo
fredb [Sun, 12 Aug 2007 13:32:42 +0000 (13:32 +0000)]
Fix a typo

16 years agoModified Files:
frohlich [Tue, 7 Aug 2007 05:26:21 +0000 (05:26 +0000)]
Modified Files:
projects/VC7.1/SimGear.vcproj projects/VC8/SimGear.vcproj
simgear/math/Makefile.am simgear/math/SGGeoc.hxx
simgear/math/SGGeodesy.cxx simgear/math/SGGeodesy.hxx
simgear/math/polar3d.hxx simgear/math/sg_geodesy.hxx
simgear/math/sg_types.hxx
Removed Files:
simgear/math/polar3d.cxx simgear/math/sg_geodesy.cxx
simgear/math/sg_memory.h:
Remove sg_memory.h It is unused anyway and should not be required
in a c++ world. Move distance course functions to the SG* type
system. Move the implementation into SGGeodesy.cxx. Remove some of
the old Point3D Based sg* functions that are already unused.

16 years agoModified Files:
frohlich [Tue, 7 Aug 2007 04:59:09 +0000 (04:59 +0000)]
Modified Files:
projects/VC8/SimGear.vcproj:
MSVC8 Build system updates from Olaf Flebbe.

16 years agoMelchior discovered that call(call) would crash due to a longstanding bug with argume...
andy [Wed, 1 Aug 2007 22:46:12 +0000 (22:46 +0000)]
Melchior discovered that call(call) would crash due to a longstanding bug with argument parsing

16 years agoFix crash in code generator for some bad lvalue expressions
andy [Wed, 1 Aug 2007 22:33:01 +0000 (22:33 +0000)]
Fix crash in code generator for some bad lvalue expressions

16 years agoAdd ppc64 to the list of supported platforms based on testing by Tom Callaway at...
andy [Tue, 31 Jul 2007 20:57:21 +0000 (20:57 +0000)]
Add ppc64 to the list of supported platforms based on testing by Tom Callaway at Red Hat

16 years agoFix ocean texture scaling problem.
timoore [Tue, 31 Jul 2007 06:39:26 +0000 (06:39 +0000)]
Fix ocean texture scaling problem.

16 years agoRemove an extern SGSky *thesky reference that isn't used in the code anyway.
curt [Tue, 31 Jul 2007 01:21:21 +0000 (01:21 +0000)]
Remove an extern SGSky *thesky reference that isn't used in the code anyway.
The original code forced a dependency in SimGear back to something that is
defined globaly in FlightGear, not a great strategy for a library with some
"general purpose" intentions.

16 years agoOSG Reader and Writer for BTG files
timoore [Sun, 29 Jul 2007 22:32:58 +0000 (22:32 +0000)]
OSG Reader and Writer for BTG files

This is part of a somewhat long road towards terrain database paging using
OSG's database pager thread.

16 years agoModified Files:
frohlich [Fri, 27 Jul 2007 19:27:24 +0000 (19:27 +0000)]
Modified Files:
simgear/math/SGGeoc.hxx: Fix unit conversion problem

16 years agoSimGear: Typo in Thanks file
timoore [Mon, 23 Jul 2007 22:00:31 +0000 (22:00 +0000)]
SimGear: Typo in Thanks file

Fix typo

Author: Hans Ulrich Niedermann <hun@n-dimensional.de>
Committer: Tim Moore <moore@redhat.com>

16 years agoSimGear: Properly print compilers in configure.ac
timoore [Mon, 23 Jul 2007 21:45:11 +0000 (21:45 +0000)]
SimGear: Properly print compilers in configure.ac

Print $CC and $CXX using the proper configure.ac mechanism

Author: Hans Ulrich Niedermann <hun@n-dimensional.de>
Signed-off-by: Tim Moore <timoore@redhat.com>
16 years agoAllow parallel make ("make -j2") by giving make the opportunity to
timoore [Sun, 22 Jul 2007 22:37:26 +0000 (22:37 +0000)]
Allow parallel make ("make -j2") by giving make the opportunity to
determine dependencies.

As in subdirectory foo/bar, $(top_builddir)/foo/bar is defined to be the
current directory, this does not cause any regressions.

From Hans Ulrich Niedermann (hun@n-dimensional.de)

16 years agoSupport for reading and writing nodes in .osg files, plus some new accessors.
timoore [Sun, 22 Jul 2007 20:06:20 +0000 (20:06 +0000)]
Support for reading and writing nodes in .osg files, plus some new accessors.

16 years agocoding style fixes
mfranz [Sun, 22 Jul 2007 13:58:26 +0000 (13:58 +0000)]
coding style fixes

16 years agoMaik JUSTUS: workaround for broken Doppler effect in OpenAL
mfranz [Sun, 22 Jul 2007 13:50:24 +0000 (13:50 +0000)]
Maik JUSTUS: workaround for broken Doppler effect in OpenAL

mf: this patch is meant to be removed as soon as OpenAL got fixed. (The
    OpenAL developers acknowleged the bug and announced that it'll get
    fixed.) For removal try
    $ cd simgear/sound
    $ cvs diff -rAFTER_OPENAL_DOPPLER_WORKAROUND -rBEFORE_OPENAL_DOPPLER_WORKAROUND|patch

16 years agoMaik JUSTUS: Doppler fixes (add option to turn off Doppler for sounds that
mfranz [Sun, 22 Jul 2007 13:33:23 +0000 (13:33 +0000)]
Maik JUSTUS: Doppler fixes (add option to turn off Doppler for sounds that
             shouldn't be affected -- marker beep, ATIS messages, etc.)

mf: this is the first part of the original patch. It is supposed to contain
    fixes that are not caused by OpenAL bugs, and thus aren't meant to be
    reverted later. The second part will contain a temprary workaround for
    OpenAL bugs. Unfortunately, I had to do the split myself as the contributor
    refused to do it.

16 years ago- close loophole through which one could sneak in illegal property names
mfranz [Tue, 17 Jul 2007 14:52:51 +0000 (14:52 +0000)]
- close loophole through which one could sneak in illegal property names
  containing slashes, colons and all sorts of evil characters. In Nasal
  this could be done via props.globals.getChild("1!@#$//[]{}", 0, 1).setValue(0);
  The cause is that getChild() hands the given name directly over to an
  alternative SGPropertyNode ("convenience") constructor which sets the
  name without any checks.
- unify exception messages: first character is lower case

16 years agoModified Files:
frohlich [Sun, 8 Jul 2007 08:43:40 +0000 (08:43 +0000)]
Modified Files:
simgear/route/route.hxx: Remove unused include.

16 years agoModified Files:
frohlich [Sun, 8 Jul 2007 08:43:15 +0000 (08:43 +0000)]
Modified Files:
simgear/route/waypoint.hxx simgear/route/waypoint.cxx: Use const
refs where possible.

17 years agoreplace exit() by throw sg_exception(). Of course, we have to be aware
mfranz [Mon, 2 Jul 2007 15:42:19 +0000 (15:42 +0000)]
replace exit() by throw sg_exception(). Of course, we have to be aware
that interdependencies between sg libs are generally unwelcome, but
sg_exception is a rather basic part, and it's already used by xml, props,
scene, sound and, of course, structure. Since props and xml are core
libs, we can assume that sg_exceptions are available.  (OK'ed by Curt)

17 years agoadd SG_ORIGIN macro that expands to a string __FILE__":"__LINE__
mfranz [Mon, 2 Jul 2007 12:55:10 +0000 (12:55 +0000)]
add SG_ORIGIN macro that expands to a string  __FILE__":"__LINE__
Note that __LINE__ is a number and can't be directly used in string
context, which makes the macro worthwhile. (IMHO :-)

17 years agoback out last changes (radar patch)
mfranz [Fri, 29 Jun 2007 22:45:37 +0000 (22:45 +0000)]
back out last changes (radar patch)

17 years agoeasyxml.cxx: add missing endXML visitor call
mfranz [Fri, 29 Jun 2007 10:46:52 +0000 (10:46 +0000)]
easyxml.cxx: add missing endXML visitor call
testEasyXML.cxx: beef it up

17 years agoVivian MEAZZA: add support for aircraft radar signatures
mfranz [Sun, 24 Jun 2007 08:09:07 +0000 (08:09 +0000)]
Vivian MEAZZA: add support for aircraft radar signatures

17 years agodon't only complain that the volume is larger than 1.0, but say how much
mfranz [Sat, 23 Jun 2007 16:48:01 +0000 (16:48 +0000)]
don't only complain that the volume is larger than 1.0, but say how much
it actually is

17 years agoMaik JUSTUS: fix/implement directional sound
mfranz [Thu, 21 Jun 2007 21:46:21 +0000 (21:46 +0000)]
Maik JUSTUS: fix/implement directional sound

17 years agod'oh ... beautify the TRACE message that we actually see! :-}
mfranz [Tue, 19 Jun 2007 18:22:32 +0000 (18:22 +0000)]
d'oh ... beautify the TRACE message that we actually see!  :-}

17 years agobeautify TRACE message
mfranz [Tue, 19 Jun 2007 18:11:06 +0000 (18:11 +0000)]
beautify TRACE message

17 years agosooner than planned: fix "scale" animation offsets (1 -> 0)
mfranz [Sun, 17 Jun 2007 21:01:40 +0000 (21:01 +0000)]
sooner than planned: fix "scale" animation offsets (1 -> 0)

17 years agoUpdate MSVC 7.1 projects
fredb [Sat, 16 Jun 2007 16:14:23 +0000 (16:14 +0000)]
Update MSVC 7.1 projects

17 years agoMSVC 7 compilation
fredb [Sat, 16 Jun 2007 16:13:29 +0000 (16:13 +0000)]
MSVC 7 compilation

17 years agoNick WARNE: add file name to screenshot info line
mfranz [Thu, 14 Jun 2007 20:20:18 +0000 (20:20 +0000)]
Nick WARNE: add file name to screenshot info line

17 years agoadvance tracing messages from SG_INFO to SG_ALERT. If a developer has
mfranz [Mon, 11 Jun 2007 16:09:50 +0000 (16:09 +0000)]
advance tracing messages from SG_INFO to SG_ALERT. If a developer has
demanded tracing, then he shouldn't get these important messages buried
in thousands of lines of meaningless bulk.

17 years ago- allow for (rather unusual) ////// cloud groups
mfranz [Sat, 9 Jun 2007 18:36:56 +0000 (18:36 +0000)]
- allow for (rather unusual) ////// cloud groups
- fix potential use of uninitialized memory: dew

17 years agoModified Files:
frohlich [Fri, 8 Jun 2007 06:50:16 +0000 (06:50 +0000)]
Modified Files:
simgear/scene/material/mat.cxx simgear/scene/material/mat.hxx
simgear/scene/util/SGSceneFeatures.cxx
simgear/scene/util/SGSceneFeatures.hxx:
Olaf Flebbe: Make use of SGSceneFeatues for anisotropic filtering,
clean up.

17 years agoRemoved Files:
frohlich [Fri, 8 Jun 2007 06:40:56 +0000 (06:40 +0000)]
Removed Files:
simgear/scene/tgdb/leaf.cxx: Now obsolete but not yet removed.

17 years agoModified Files:
frohlich [Sun, 3 Jun 2007 18:28:14 +0000 (18:28 +0000)]
Modified Files:
scene/tgdb/SGOceanTile.cxx: add missing transform for the ocean
tile.

17 years agoModified Files:
frohlich [Sun, 3 Jun 2007 18:21:04 +0000 (18:21 +0000)]
Modified Files:
simgear/scene/model/model.cxx
simgear/scene/util/SGSceneFeatures.cxx
simgear/scene/util/SGSceneFeatures.hxx:
Make sure textures are shared. Do not rely on a graphics
context to be available on model loading.

17 years agoSync with Nasal upstream. Mostly fixes to naContinue(), which
andy [Wed, 30 May 2007 22:49:41 +0000 (22:49 +0000)]
Sync with Nasal upstream.  Mostly fixes to naContinue(), which
FlightGear doesn't use.  Also includes a performance fix for the
call() builtin that should help Melchior, who was measuring lower
performance for the props.Node() interface than the getprop/setprop
API.

17 years agoModified Files:
frohlich [Wed, 30 May 2007 13:16:53 +0000 (13:16 +0000)]
Modified Files:
projects/VC8/SimGear.vcproj: Olaf FLebbe win32 build system.

17 years agoModified Files:
frohlich [Wed, 30 May 2007 13:07:05 +0000 (13:07 +0000)]
Modified Files:
simgear/scene/model/SGMaterialAnimation.cxx:
Olaf Flebbe: Use brakets around bitwise operations.
Greetings from LinuxTag, Berlin ... :)

17 years agoI guess we aren't using explicit destructors here.
curt [Wed, 30 May 2007 12:34:24 +0000 (12:34 +0000)]
I guess we aren't using explicit destructors here.

17 years agoMake an explicit destructor so the compiler doesn't get confused about
curt [Tue, 29 May 2007 19:38:17 +0000 (19:38 +0000)]
Make an explicit destructor so the compiler doesn't get confused about
non matching exception types with the implicitely defined destructor.

17 years agoModified Files:
frohlich [Mon, 28 May 2007 07:13:07 +0000 (07:13 +0000)]
Modified Files:
simgear/scene/model/Makefile.am
simgear/scene/model/animation.cxx
simgear/scene/model/animation.hxx
Added Files:
simgear/scene/model/SGRotateTransform.cxx
simgear/scene/model/SGRotateTransform.hxx
simgear/scene/model/SGScaleTransform.cxx
simgear/scene/model/SGScaleTransform.hxx
simgear/scene/model/SGTranslateTransform.cxx
simgear/scene/model/SGTranslateTransform.hxx:
Factor out some useful classes.

17 years agoModified Files:
frohlich [Mon, 28 May 2007 05:13:03 +0000 (05:13 +0000)]
Modified Files:
simgear/scene/material/mat.cxx simgear/scene/material/mat.hxx:
Olaf Flebbe: Improoved texture filtering.

17 years agoModified Files:
frohlich [Mon, 28 May 2007 05:06:14 +0000 (05:06 +0000)]
Modified Files:
SGAtomic.hxx: Also use atomic compiler intrinsics on SGI

17 years agoModified Files:
frohlich [Mon, 28 May 2007 05:00:28 +0000 (05:00 +0000)]
Modified Files:
simgear/bucket/newbucket.cxx simgear/bucket/newbucket.hxx
simgear/io/decode_binobj.cxx simgear/io/sg_binobj.cxx
simgear/io/sg_binobj.hxx simgear/math/SGVec2.hxx
simgear/math/SGVec3.hxx simgear/math/SGVec4.hxx
simgear/scene/material/mat.hxx
simgear/scene/material/matlib.cxx
simgear/scene/material/matlib.hxx
simgear/scene/model/Makefile.am simgear/scene/tgdb/Makefile.am
simgear/scene/tgdb/obj.cxx simgear/scene/tgdb/obj.hxx
simgear/scene/tgdb/pt_lights.cxx
simgear/scene/tgdb/pt_lights.hxx
simgear/scene/util/Makefile.am
simgear/scene/util/SGNodeMasks.hxx
simgear/scene/util/SGTextureStateAttributeVisitor.cxx
Added Files:
simgear/scene/model/SGOffsetTransform.cxx
simgear/scene/model/SGOffsetTransform.hxx
simgear/scene/tgdb/SGDirectionalLightBin.hxx
simgear/scene/tgdb/SGLightBin.hxx
simgear/scene/tgdb/SGOceanTile.cxx
simgear/scene/tgdb/SGOceanTile.hxx
simgear/scene/tgdb/SGTexturedTriangleBin.hxx
simgear/scene/tgdb/SGTriangleBin.hxx
simgear/scene/tgdb/SGVasiDrawable.cxx
simgear/scene/tgdb/SGVasiDrawable.hxx
simgear/scene/tgdb/SGVertexArrayBin.hxx
simgear/scene/util/SGEnlargeBoundingBox.cxx
simgear/scene/util/SGEnlargeBoundingBox.hxx
simgear/scene/util/SGSceneFeatures.cxx
simgear/scene/util/SGSceneFeatures.hxx
Removed Files:
simgear/scene/tgdb/leaf.hxx simgear/scene/tgdb/vasi.hxx:
Reorganize tile loaders.
Build bigger leafs for the tiles.
Move runway light colors into materials.xml.
Split out classes that might be useful at other places.
Avoid static storage on binobject loading.

17 years agoGCC on ppc linux uses a different architecture symbol than the same compiler on OS X
andy [Fri, 25 May 2007 15:49:10 +0000 (15:49 +0000)]
GCC on ppc linux uses a different architecture symbol than the same compiler on OS X

17 years agoModified Files:
frohlich [Fri, 18 May 2007 07:29:37 +0000 (07:29 +0000)]
Modified Files:
SGVec3.hxx: Fix a problem in perpendicular triangle computation.
Solves problem with invalid triangles in ground picking ...

17 years agoModified Files:
frohlich [Fri, 18 May 2007 04:46:11 +0000 (04:46 +0000)]
Modified Files:
SGVec2.hxx SGVec3.hxx SGVec4.hxx point3d.hxx: Provide ordering
relations for use with std::less in tree bases std:: containers.

17 years agoFix a compiler warning.
curt [Wed, 16 May 2007 16:08:17 +0000 (16:08 +0000)]
Fix a compiler warning.

17 years agoFix various compiler warnings.
curt [Wed, 16 May 2007 16:07:03 +0000 (16:07 +0000)]
Fix various compiler warnings.

17 years agoTim Moore
mfranz [Tue, 15 May 2007 22:28:08 +0000 (22:28 +0000)]
Tim Moore

17 years agoadd Mathias and Maik (to make it look less selfish that I add myself :-)
mfranz [Tue, 15 May 2007 22:02:06 +0000 (22:02 +0000)]
add Mathias and Maik (to make it look less selfish that I add myself :-)
I'm sure I forgot a lot of people, but it's a start.

17 years agos/resistence/resistance/
mfranz [Sun, 13 May 2007 11:53:06 +0000 (11:53 +0000)]
s/resistence/resistance/

17 years agoModified Files:
frohlich [Tue, 8 May 2007 06:11:15 +0000 (06:11 +0000)]
Modified Files:
simgear/bucket/newbucket.hxx simgear/scene/material/mat.cxx
simgear/scene/material/matlib.cxx
simgear/scene/material/matlib.hxx
simgear/scene/model/location.cxx
simgear/scene/tgdb/apt_signs.cxx simgear/scene/tgdb/leaf.cxx
simgear/scene/tgdb/leaf.hxx simgear/scene/tgdb/obj.cxx
simgear/scene/tgdb/obj.hxx
simgear/scene/util/SGUpdateVisitor.hxx: Reorganize scenegraph to
simplify top level structure.

17 years agoAdd method to return the number of attached listeners. Listeners have become
mfranz [Mon, 7 May 2007 14:03:44 +0000 (14:03 +0000)]
Add method to return the number of attached listeners. Listeners have become
a much more important feature than they were two years or something ago, and
it's helpful for debugging and exploration to get this important node property
shown in property tree dumps or in the property browser (verbose mode).

17 years ago- fix bug where a property tree saved with writeProperties() and read back
mfranz [Sun, 6 May 2007 17:33:15 +0000 (17:33 +0000)]
- fix bug where a property tree saved with writeProperties() and read back
  in with readProperties() would not look the same, because element indices
  of '0' were even dropped when a node has a "secret" value *and* children

- introduce "omit-node" modifier attribute for the "include" attribute.
  This inserts the given file in place of the including node, while the
  node is dropped. This is desirable for multiple includes (which can't
  be done by multiply using the "include" attribute, as this isn't valid
  XML spec syntax)

17 years agobetter warning text for <global> in material animations
mfranz [Sat, 5 May 2007 11:16:35 +0000 (11:16 +0000)]
better warning text for <global> in material animations

17 years agoModified Files:
frohlich [Sat, 5 May 2007 09:15:18 +0000 (09:15 +0000)]
Modified Files:
SGMaterialAnimation.cxx SGMaterialAnimation.hxx:
Tim Moore: overhaul the material animation.

17 years agoModified Files:
frohlich [Thu, 3 May 2007 19:46:13 +0000 (19:46 +0000)]
Modified Files:
simgear/scene/model/animation.hxx
simgear/scene/model/shadanim.cxx: Tim Moore: the crom shader.

17 years agoEmpty vectors work much better as the result of sorting an empty array
andy [Wed, 2 May 2007 22:29:35 +0000 (22:29 +0000)]
Empty vectors work much better as the result of sorting an empty array
than nil does...

17 years agoFix crash when sorting newly-allocated empty vectors
andy [Wed, 2 May 2007 22:24:45 +0000 (22:24 +0000)]
Fix crash when sorting newly-allocated empty vectors

17 years agodon't rely on a compressed scanline being properly closed
mfranz [Sat, 28 Apr 2007 23:13:13 +0000 (23:13 +0000)]
don't rely on a compressed scanline being properly closed
(GIMP apparently generates corrupted files)

17 years agoSGTexture::read_rgb(a)_texture:
mfranz [Sat, 28 Apr 2007 12:30:38 +0000 (12:30 +0000)]
SGTexture::read_rgb(a)_texture:
- support greyscale and greyscale/alpha format
- cleanup & make it faster

17 years agoModified Files:
frohlich [Sat, 21 Apr 2007 12:24:43 +0000 (12:24 +0000)]
Modified Files:
projects/VC8/SimGear.vcproj: Olaf Flebbe: Updates to the win32
build system.

17 years agoModified Files:
frohlich [Sat, 21 Apr 2007 12:13:16 +0000 (12:13 +0000)]
Modified Files:
  simgear/scene/material/mat.cxx simgear/scene/material/mat.hxx:
Olaf Flebbe: make anisotroüpic filtering configurable.

17 years agoMelchior found a bug with negative values in default function arguments
andy [Fri, 6 Apr 2007 20:35:38 +0000 (20:35 +0000)]
Melchior found a bug with negative values in default function arguments

17 years agosync with Nasal CVS (added a sort() builtin)
andy [Fri, 6 Apr 2007 14:52:06 +0000 (14:52 +0000)]
sync with Nasal CVS (added a sort() builtin)

17 years agoCsaba HALASZ:
mfranz [Fri, 6 Apr 2007 09:54:35 +0000 (09:54 +0000)]
Csaba HALASZ:
- fix bug that messed up leg distances after inserting and deleting waypoints
  not at the end of the route
- move add_waypoint() and delete_waypoint from hxx to cxx
- beef up routetest

17 years agoUpdate MSVC 7.1 projects
fredb [Tue, 3 Apr 2007 11:35:19 +0000 (11:35 +0000)]
Update MSVC 7.1 projects

17 years agoAvoid potential memory leak problems when exceptions are thrown by using reference...
fredb [Tue, 3 Apr 2007 11:25:07 +0000 (11:25 +0000)]
Avoid potential memory leak problems when exceptions are thrown by using reference objects

17 years agoFix typo in _M_IX86
andy [Mon, 2 Apr 2007 21:32:41 +0000 (21:32 +0000)]
Fix typo in _M_IX86

17 years agoRewrite substr() to properly clamp its argument ranges and handle negative start...
andy [Mon, 2 Apr 2007 18:28:38 +0000 (18:28 +0000)]
Rewrite substr() to properly clamp its argument ranges and handle negative start arguments as offset-from-end values

17 years agoAdd missing free functions for win32
andy [Mon, 2 Apr 2007 17:34:47 +0000 (17:34 +0000)]
Add missing free functions for win32

17 years agoUse __FUNCTION__, which works on gcc and MSVC 7/8, instead of
andy [Mon, 2 Apr 2007 16:14:54 +0000 (16:14 +0000)]
Use __FUNCTION__, which works on gcc and MSVC 7/8, instead of
__func__, which while standardized works only with gcc.  I'll wait for
bug reports from VC6 before bothering with fallback code...

17 years agoMelchior points out that NaN/Inf behavior is not platform-independent.
andy [Fri, 30 Mar 2007 16:42:22 +0000 (16:42 +0000)]
Melchior points out that NaN/Inf behavior is not platform-independent.
So toss a runtime error ("floating point error") when any of the math
library functions produce a non-finite value.  Note that these are not
the only locations that can do that (simply dividing by zero will
produce an Inf), but it's still proper behavior.

17 years agoSync with Nasal CVS (soon to become Nasal 1.1). Notable new features:
andy [Thu, 29 Mar 2007 18:50:12 +0000 (18:50 +0000)]
Sync with Nasal CVS (soon to become Nasal 1.1).  Notable new features:

Nasal now supports calls to "subcontexts" and errors can be thrown
across them, leading to complete stack traces when call() is used,
instead of the truncated ones we now see.

Vectors can now be concatenated using the ~ operator that used to work
only for strings.

Better runtime error messages in general due to a fancier
naRuntimeError() implementation

A big data size shrink on 64 bit systems; the size of a naRef dropped
by a factor of two.

"Braceless code blocks" have been added to the parser, so you can
write expressions like "if(a) b();" just like in C.  Note that there's
still a parser bug in there that fails when you nest a braced block
within a braceless one.

Character constants that appear in Nasal source code can now be
literal multibyte UTF8 characters (this was always supported for
string literals, but character constants were forced to be a single
byte).

New modules: "bits", "thread", "utf8" and (gulp...) "io".  The bits
library might be useful to FlightGear, the utf8 one probably not as
Plib does not support wide character text rendering.  The thread
library will work fine for spawning threads to do Nasal stuff, but
obviously contact with the rest of FlightGear must be
hand-synchronized as FlightGear isn't threadsafe.  The io library is
no doubt the most useful, as it exposes all the basic stdio.h
facilities; it's also frighteningly dangerous when combined with
networked code...

17 years agoCsaba HALASZ: when a path_cache ceases to exist, unregister from all nodes
mfranz [Sat, 17 Feb 2007 10:50:49 +0000 (10:50 +0000)]
Csaba HALASZ: when a path_cache ceases to exist, unregister from all nodes
              that had been told that this node is linking to them

mf: remove old erase-by-key methods; they are now unused and always were
    problematic, so they won't be used in the future either

17 years ago- don't leak node in both hash_table::bucket::erase()
mfranz [Fri, 16 Feb 2007 15:32:21 +0000 (15:32 +0000)]
- don't leak node in both hash_table::bucket::erase()
- remove bad code from hash_table::bucket::erase(const char *) that was
  introduced with the last patch. (This function isn't used anywhere and
  is scheduled for removal. Leaving it in for now as a reference.)
- remove leaves first in remove_from_path_caches()

- cosmetics: indentation, one trailing space, variable name change, comment
  (Sorrry for mixing that with actual code, but I think it's easy to see.)

17 years agoDon't crash when destroying a SGBinding object if the property node it
andy [Wed, 14 Feb 2007 23:14:00 +0000 (23:14 +0000)]
Don't crash when destroying a SGBinding object if the property node it
was loaded from lacks a parent.  Patch from ndim on IRC

17 years agoMaik JUSTUS:
mfranz [Sun, 11 Feb 2007 11:05:23 +0000 (11:05 +0000)]
Maik JUSTUS:

"""
- make every node maintain list of properties that link to it
- add functions to erase node by address from hash bucket/entry in their
  path caches, so that all references can be removed
- if a node is removed, it (and all children, grandchildren, ...) calls
  all linked properties to remove them from their path-cache

This fixes problems with the aerotow over multiplayer and maybe some
other problems, where nodes are queried by name.
"""

17 years ago"bias" argument to texture animations by Ron Jensen
andy [Wed, 7 Feb 2007 19:21:24 +0000 (19:21 +0000)]
"bias" argument to texture animations by Ron Jensen

17 years agofix error message
mfranz [Mon, 5 Feb 2007 21:41:40 +0000 (21:41 +0000)]
fix error message

17 years agoModified Files:
frohlich [Fri, 2 Feb 2007 18:16:42 +0000 (18:16 +0000)]
Modified Files:
ephemeris.cxx ephemeris.hxx stardata.cxx:
one must not do changes just before checkin,
one most not do changes just before checkin,
[ last message repeated 100 times ]

17 years agoModified Files:
frohlich [Fri, 2 Feb 2007 18:09:27 +0000 (18:09 +0000)]
Modified Files:
ephemeris.cxx ephemeris.hxx stardata.cxx stardata.hxx: Throw out sg.h

17 years agoModified Files:
frohlich [Fri, 2 Feb 2007 07:00:54 +0000 (07:00 +0000)]
Modified Files:
simgear/scene/util/SGNodeMasks.hxx
simgear/scene/model/animation.cxx:
More finegrained cull masks

17 years agoModified Files:
frohlich [Wed, 31 Jan 2007 21:40:59 +0000 (21:40 +0000)]
Modified Files:
projects/VC8/SimGear.vcproj: Olaf Flebbe: renenable static build

17 years agoModified Files:
frohlich [Tue, 30 Jan 2007 20:12:15 +0000 (20:12 +0000)]
Modified Files:
SGIntersect.hxx SGVec3.hxx SGVec4.hxx: Add convinience methods

17 years agorestore 'double checked locking'
fredb [Mon, 29 Jan 2007 08:19:13 +0000 (08:19 +0000)]
restore 'double checked locking'

17 years agoModified Files:
frohlich [Sun, 28 Jan 2007 20:04:56 +0000 (20:04 +0000)]
Modified Files:
  model.cxx: Better texture sharing, fix problem with rotation order

17 years agoModified Files:
frohlich [Sun, 28 Jan 2007 20:03:43 +0000 (20:03 +0000)]
Modified Files:
simgear/structure/SGAtomic.cxx: Plug memory leak originating from
wrong atomic fallback operations.

17 years agoEnsure a reference on the cube map texture is always held
fredb [Fri, 26 Jan 2007 20:30:02 +0000 (20:30 +0000)]
Ensure a reference on the cube map texture is always held

17 years ago*** empty log message ***
ehofman [Tue, 23 Jan 2007 10:07:36 +0000 (10:07 +0000)]
*** empty log message ***

17 years agoBetter fix for the constant scale factor problem
fredb [Sun, 21 Jan 2007 11:15:36 +0000 (11:15 +0000)]
Better fix for the constant scale factor problem

17 years agoSupport constant scaling factor
fredb [Sun, 21 Jan 2007 10:33:34 +0000 (10:33 +0000)]
Support constant scaling factor

17 years agoDon't segfault when dir is empty
fredb [Tue, 16 Jan 2007 21:34:18 +0000 (21:34 +0000)]
Don't segfault when dir is empty

17 years agoModified Files:
frohlich [Mon, 15 Jan 2007 19:01:20 +0000 (19:01 +0000)]
Modified Files:
animation.cxx: Add a visible configuration option to the pick
animation.