timoore [Fri, 12 Oct 2007 22:46:35 +0000 (22:46 +0000)]
Add ability to override existing model files with .osg files.
This enables off-line optimization of models and other special effects.
timoore [Fri, 12 Oct 2007 22:46:13 +0000 (22:46 +0000)]
Manage OSG object cache explicitly
Don't have Registry::ReadNodeImplementation store its results in the
object cache; instead store the optimized model in the cache.
mfranz [Wed, 10 Oct 2007 12:45:53 +0000 (12:45 +0000)]
better standard compliance: allow empty top level tags (<PropertyList>)
timoore [Thu, 4 Oct 2007 20:53:22 +0000 (20:53 +0000)]
Don't reset the random texture base when rebuilding a cloud layer
This fix removes obnoxious visuals (texture jumping) when a cloud
layer is moved due to a metar update or, more significantly, when
switching from metar to a scenario. Also, I switched to using a TexMat
to displace the cloud texture in order to avoid writing the texture
array every frame.
timoore [Tue, 2 Oct 2007 21:43:52 +0000 (21:43 +0000)]
Order the cloud layers properly using OSG RenderBin
timoore [Sun, 30 Sep 2007 19:51:49 +0000 (19:51 +0000)]
ocean state set in osg::Geometry
Put the ocean tile state set in osg::Geometry, not the osg::Geode, so that
is readily available during intersection testing and can be used to find the
corresponding SGMaterial.
Problem reported by grtux (gh.robin@laposte.net)
timoore [Wed, 5 Sep 2007 22:12:00 +0000 (22:12 +0000)]
Fix material animations with only a <texture-prop>
On 8/31/07, K. Hoercher <wbhoer@gmail.com> wrote:
> > Some notes:
> > - I found that in order to make the example from model-howto.html work
> > ( starting at "To make a texture replaceable at runtime") one has to
> > specify a valid (i.e. loadable) <texture> in the material animation.
The cause seems to be the condition in SGMaterialAnimation.cxx l.277
ignoring any texture update by the UpdateCallback (only there
<texture-prop> is looked at) without an already existing stateSet.
That in turn will not be created with a <texture-prop> alone l. 379ff.
Unless I overlooked some compelling reason contradicting, I'd like to
suggest allowing for a stateSet to be created for those situations
too. I think that would match the behaviour of animation.cxx
(PRE_OSG_PLIB_20061029) and is imho the more expected and also
documented one.
durk [Sat, 1 Sep 2007 12:57:53 +0000 (12:57 +0000)]
Change "FlightGear" to "SimGear" of course.
durk [Sat, 1 Sep 2007 12:55:46 +0000 (12:55 +0000)]
Added a check for OpenSceneGraph and created some basic documentation.
durk [Sat, 1 Sep 2007 10:04:36 +0000 (10:04 +0000)]
Add separate check for openal and ALUT, as these are now separate.
durk [Sat, 1 Sep 2007 09:45:21 +0000 (09:45 +0000)]
Documentation fixes: Updated the contents of README.plib and README.OpenAL
Also make sure that these files are included in the release. This is
required, since ./configure refers to these files.
timoore [Sun, 12 Aug 2007 21:03:43 +0000 (21:03 +0000)]
Add curvature to ocean tiles.
An apron around the tile hides cracks with coastal tiles.
The VectorArrayAdapter, which lives in the simgear namespace, is a useful
utility class for treating vectors as 2D arrays.
timoore [Sun, 12 Aug 2007 21:02:54 +0000 (21:02 +0000)]
Ocean tile detail work in progress
fredb [Sun, 12 Aug 2007 13:40:16 +0000 (13:40 +0000)]
Update MSVC 7.1 projects
fredb [Sun, 12 Aug 2007 13:32:42 +0000 (13:32 +0000)]
Fix a typo
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.
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.
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
andy [Wed, 1 Aug 2007 22:33:01 +0000 (22:33 +0000)]
Fix crash in code generator for some bad lvalue expressions
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
timoore [Tue, 31 Jul 2007 06:39:26 +0000 (06:39 +0000)]
Fix ocean texture scaling problem.
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.
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.
frohlich [Fri, 27 Jul 2007 19:27:24 +0000 (19:27 +0000)]
Modified Files:
simgear/math/SGGeoc.hxx: Fix unit conversion problem
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>
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>
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)
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.
mfranz [Sun, 22 Jul 2007 13:58:26 +0000 (13:58 +0000)]
coding style fixes
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
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.
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
frohlich [Sun, 8 Jul 2007 08:43:40 +0000 (08:43 +0000)]
Modified Files:
simgear/route/route.hxx: Remove unused include.
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.
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)
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 :-)
mfranz [Fri, 29 Jun 2007 22:45:37 +0000 (22:45 +0000)]
back out last changes (radar patch)
mfranz [Fri, 29 Jun 2007 10:46:52 +0000 (10:46 +0000)]
easyxml.cxx: add missing endXML visitor call
testEasyXML.cxx: beef it up
mfranz [Sun, 24 Jun 2007 08:09:07 +0000 (08:09 +0000)]
Vivian MEAZZA: add support for aircraft radar signatures
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
mfranz [Thu, 21 Jun 2007 21:46:21 +0000 (21:46 +0000)]
Maik JUSTUS: fix/implement directional sound
mfranz [Tue, 19 Jun 2007 18:22:32 +0000 (18:22 +0000)]
d'oh ... beautify the TRACE message that we actually see! :-}
mfranz [Tue, 19 Jun 2007 18:11:06 +0000 (18:11 +0000)]
beautify TRACE message
mfranz [Sun, 17 Jun 2007 21:01:40 +0000 (21:01 +0000)]
sooner than planned: fix "scale" animation offsets (1 -> 0)
fredb [Sat, 16 Jun 2007 16:14:23 +0000 (16:14 +0000)]
Update MSVC 7.1 projects
fredb [Sat, 16 Jun 2007 16:13:29 +0000 (16:13 +0000)]
MSVC 7 compilation
mfranz [Thu, 14 Jun 2007 20:20:18 +0000 (20:20 +0000)]
Nick WARNE: add file name to screenshot info line
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.
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
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.
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.
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.
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.
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.
frohlich [Wed, 30 May 2007 13:16:53 +0000 (13:16 +0000)]
Modified Files:
projects/VC8/SimGear.vcproj: Olaf FLebbe win32 build system.
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 ... :)
curt [Wed, 30 May 2007 12:34:24 +0000 (12:34 +0000)]
I guess we aren't using explicit destructors here.
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.
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.
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.
frohlich [Mon, 28 May 2007 05:06:14 +0000 (05:06 +0000)]
Modified Files:
SGAtomic.hxx: Also use atomic compiler intrinsics on SGI
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.
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
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 ...
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.
curt [Wed, 16 May 2007 16:08:17 +0000 (16:08 +0000)]
Fix a compiler warning.
curt [Wed, 16 May 2007 16:07:03 +0000 (16:07 +0000)]
Fix various compiler warnings.
mfranz [Tue, 15 May 2007 22:28:08 +0000 (22:28 +0000)]
Tim Moore
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.
mfranz [Sun, 13 May 2007 11:53:06 +0000 (11:53 +0000)]
s/resistence/resistance/
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.
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).
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)
mfranz [Sat, 5 May 2007 11:16:35 +0000 (11:16 +0000)]
better warning text for <global> in material animations
frohlich [Sat, 5 May 2007 09:15:18 +0000 (09:15 +0000)]
Modified Files:
SGMaterialAnimation.cxx SGMaterialAnimation.hxx:
Tim Moore: overhaul the material animation.
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.
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...
andy [Wed, 2 May 2007 22:24:45 +0000 (22:24 +0000)]
Fix crash when sorting newly-allocated empty vectors
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)
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
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.
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.
andy [Fri, 6 Apr 2007 20:35:38 +0000 (20:35 +0000)]
Melchior found a bug with negative values in default function arguments
andy [Fri, 6 Apr 2007 14:52:06 +0000 (14:52 +0000)]
sync with Nasal CVS (added a sort() builtin)
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
fredb [Tue, 3 Apr 2007 11:35:19 +0000 (11:35 +0000)]
Update MSVC 7.1 projects
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
andy [Mon, 2 Apr 2007 21:32:41 +0000 (21:32 +0000)]
Fix typo in _M_IX86
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
andy [Mon, 2 Apr 2007 17:34:47 +0000 (17:34 +0000)]
Add missing free functions for win32
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...
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.
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...
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
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.)
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
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.
"""
andy [Wed, 7 Feb 2007 19:21:24 +0000 (19:21 +0000)]
"bias" argument to texture animations by Ron Jensen
mfranz [Mon, 5 Feb 2007 21:41:40 +0000 (21:41 +0000)]
fix error message
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 ]