]> git.mxchange.org Git - simgear.git/log
simgear.git
22 years agoModified to work with the new SGPropertyNode_ptr class.
david [Fri, 10 May 2002 22:58:03 +0000 (22:58 +0000)]
Modified to work with the new SGPropertyNode_ptr class.

22 years agoPatch from Frederic Bouvier:
david [Fri, 10 May 2002 22:57:36 +0000 (22:57 +0000)]
Patch from Frederic Bouvier:

I have modified the SGPropertyNode interface to support node removal
and address the issues you mention yesterday.

I added the SGPropertyNode_ptr class that is a smart pointer that
increment and decrement a counter in SGPropertyNode. The _children
vector is changed to a vector<SGPropertyNode_ptr> in order for the
node to hold a reference to its children. I also added a
_removedChildren vector of the same type. When removeChild is called
with the keep parameter set to true, the reference is removed from
_children and inserted in _removedChildren, and the attribute REMOVED
is set. When getChild is called with create set to true, the _children
vector is searched, then the _removedChildren and then a new node is
created. If a resurrected node is returned, the REMOVED bit is cleared.
The static const int LAST_USED_ATTRIBUTE is also added.

The footprint of this patch is light. SGPropertyNode is one int
longer in size, SGPropertyNode_ptr is one pointer large without
virtual functions. Some functions can be inlined if your current
policy change.

The FlightGear patch is to take account the change in the getChildren
function that now returns a vector<SGPropertyNode_ptr>. If the
removeChild functionnality is to be added in FlightGear, all those
SGPropertyNode * floating around should be changed to
SGPropertyNode_ptr.

22 years agoMac OS X fixes from Jonathan Polley.
david [Fri, 10 May 2002 21:33:12 +0000 (21:33 +0000)]
Mac OS X fixes from Jonathan Polley.

22 years agoIgnore binaries.
david [Fri, 10 May 2002 21:31:55 +0000 (21:31 +0000)]
Ignore binaries.

22 years agoEliminate an unsigned-int comparison warning.
david [Fri, 10 May 2002 21:31:15 +0000 (21:31 +0000)]
Eliminate an unsigned-int comparison warning.

22 years agoBernie Bright:
curt [Fri, 10 May 2002 13:53:22 +0000 (13:53 +0000)]
Bernie Bright:

Here's a first cut at SGSocket reimplemented using plib.net.  I've
maintained the same TCP server behaviour, that is only one client
connection at a time.  I don't think it is possible within the current
framework to handle simultaneous clients.

I've also added two simple test programs, tcp_client and tcp_server.

22 years agoBernie Bright:
curt [Fri, 10 May 2002 13:32:44 +0000 (13:32 +0000)]
Bernie Bright:

Here is a total rewrite of the strutils package.  I've reimplemented the
trimleft(), trimright() and trim() functions as lstrip(), rstrip() and
strip() respectively.  Additionally I've added a split() function that
behaves like its perl/python equivalent.  Just the thing for splitting
comma separated option strings or space separated telnet commands and
arguments.  I've also enclosed the whole thing in a namespace
simgear::strutils.  Since I seem to be the only one who uses these
functions, SimGear and FlightGear compile without change.

PS It is no coincidence that the new function names bear an uncanny
resemblance to the python functions of the same name.

22 years agoUpdated MSVC project files.
curt [Fri, 10 May 2002 13:31:44 +0000 (13:31 +0000)]
Updated MSVC project files.

22 years agoMake the skydome interface a little more flexible so we can scale the dome
curt [Sat, 27 Apr 2002 03:19:45 +0000 (03:19 +0000)]
Make the skydome interface a little more flexible so we can scale the dome
for other applications.

22 years agoPatches from Erik Hoffman:
david [Thu, 25 Apr 2002 15:09:10 +0000 (15:09 +0000)]
Patches from Erik Hoffman:

Tbis is a first patch in a series to clean up SimGear by removing
warning messages. Most of them are straight forwared, but in pops.hxx
the compile complaints about "type qualifier is meaningless on return
type". I think it's up to you to decide if you want that part applied.

22 years agoPatch from Melchior Franz:
david [Thu, 25 Apr 2002 14:56:03 +0000 (14:56 +0000)]
Patch from Melchior Franz:

From the cosmetics department ...

22 years agoPatch from Melchior Franz:
david [Thu, 25 Apr 2002 14:55:40 +0000 (14:55 +0000)]
Patch from Melchior Franz:

magvar and magdip are used before their initialization

22 years agoMake sure README.MSVC goes in the distribution.
curt [Tue, 23 Apr 2002 01:56:51 +0000 (01:56 +0000)]
Make sure README.MSVC goes in the distribution.

22 years agoMake sure zlib.dsp goes in the distribution.
curt [Tue, 23 Apr 2002 01:55:48 +0000 (01:55 +0000)]
Make sure zlib.dsp goes in the distribution.

22 years agoUpdated am2dsp.cfg file for creating MSVC project files.
curt [Mon, 22 Apr 2002 20:37:31 +0000 (20:37 +0000)]
Updated am2dsp.cfg file for creating MSVC project files.
New README.MSVC.
New src-libs/zlib.dsp for building zlib.

22 years agoBump up version number, remove boost from src-libs/Makefile.am
curt [Sat, 20 Apr 2002 22:03:35 +0000 (22:03 +0000)]
Bump up version number, remove boost from src-libs/Makefile.am

22 years agoUpdated for 0.0.18.
curt [Sat, 20 Apr 2002 21:06:05 +0000 (21:06 +0000)]
Updated for 0.0.18.

22 years agotweak.
curt [Sat, 20 Apr 2002 20:53:54 +0000 (20:53 +0000)]
tweak.

22 years agoRemoved boost dependency. Maybe we'll try again later.
curt [Fri, 12 Apr 2002 01:35:09 +0000 (01:35 +0000)]
Removed boost dependency.  Maybe we'll try again later.

22 years agoPatch from Frederic Bouvier:
david [Sun, 7 Apr 2002 21:28:43 +0000 (21:28 +0000)]
Patch from Frederic Bouvier:

A const char * is not supposed to change and cannot be deleted. So
here is a patch that remove unnecessary const from props.hxx and
props.cxx. There also is the addition of a friend directive because
nested classes do not receive special privileges and cannot access
private members of the outer class.

22 years agoImplemented a very simple hash-table cache for property lookup using
david [Sat, 6 Apr 2002 21:47:22 +0000 (21:47 +0000)]
Implemented a very simple hash-table cache for property lookup using
relative paths.

22 years agoInitial revision.
curt [Wed, 3 Apr 2002 21:22:52 +0000 (21:22 +0000)]
Initial revision.

22 years agoAdded src-libs subdirectory for keeping source code to extra libs. These
curt [Wed, 3 Apr 2002 21:21:29 +0000 (21:21 +0000)]
Added src-libs subdirectory for keeping source code to extra libs.  These
are things that are needed, but that many systems already have packages
available to install, and many users may have versions of these already
installed to support other projects.  So rather than build and install by
default with the main SimGear build/install, these are kept separate so that
those users that don't have them already installed can build and install
them separately.

22 years agoAdded a very crude/simple initial README.Install.
curt [Wed, 3 Apr 2002 21:18:13 +0000 (21:18 +0000)]
Added a very crude/simple initial README.Install.

22 years ago- Added src-libs/boost.tar.gz and README.boost. This is in anticipation
curt [Wed, 3 Apr 2002 21:05:51 +0000 (21:05 +0000)]
- Added src-libs/boost.tar.gz and README.boost.  This is in anticipation
  of actually using them in the flightgear event manager.
- Now that we have several add on libs we are bundling with simgear (but
  not automatically built as part of the simgear build) I have moved them
  to their own subdirectory (src-libs).

22 years agostring == "" -> string.empty() conversion.
curt [Wed, 3 Apr 2002 02:34:20 +0000 (02:34 +0000)]
string == "" -> string.empty() conversion.

22 years agoUpdated to the latest metakit release. This fixes a few bugs that could
curt [Thu, 28 Mar 2002 02:21:00 +0000 (02:21 +0000)]
Updated to the latest metakit release.  This fixes a few bugs that could
possibly affect some users.  For details, see the metakit changelog at
the metakit home page: ttp://www.equi4.com/metakit/

22 years agoPatch from Melchior Franz:
david [Wed, 27 Mar 2002 11:42:09 +0000 (11:42 +0000)]
Patch from Melchior Franz:

This module works mostly with char* and allocates memory with
strdup ... delete doesn't go well with malloc(). The transition
to string only would be nice, but some class interfaces return
char*, so it was more natural to just drop the deletes.

22 years agoPatch from Melchior Franz:
david [Mon, 25 Mar 2002 19:56:48 +0000 (19:56 +0000)]
Patch from Melchior Franz:

Here is a patch that fixes a little problem in dome.cxx: The fog_color
is created in a sgVec3 (227) but then handed over to ::repaint(), which
expects a sgVec4 (282). Then (343) center_color (although defined as
sgVec4) is only initialized with 3 values, but later (441) assigned to
'slot' via sgCopyVec4.

22 years agoPatch from Melchior Franz:
david [Mon, 25 Mar 2002 19:50:32 +0000 (19:50 +0000)]
Patch from Melchior Franz:

at several places material was copied to "buffer" using strncpy
without adding a closing '\0'. This again lead to access to non
initialized memory and potentially (and actually at least in one
case) to feeding garbage to atof(). In case the following garbage
happened to start with digits, we would get funny time
values.  :-)
   I just added the obligatory "buffer[n] = 0", which doesn't
really look professional now. Maybe we should use the string
class or define a helper function that strncopies =and= adds
a trailing zero?
   The last hunk fixes another buglet, that wasn't dangerous
at all, but caused an error message. The loop that should cut
the string at hash marks ('#') did neither stop at such, nor at
string ends. It always scanned the whole 256 character long
buffer and accessed uninitialized memory. valgrind doesn't
like that. I dropped the 256 counter, because fgets =does=
add the closing zero. It is safe to scan until we either
get the zero or the hash mark.

22 years agoRemoved an unnecessary string allocation during copying.
david [Fri, 22 Mar 2002 15:02:50 +0000 (15:02 +0000)]
Removed an unnecessary string allocation during copying.

22 years agoRemoved commented-out dead code.
david [Fri, 22 Mar 2002 13:18:49 +0000 (13:18 +0000)]
Removed commented-out dead code.

22 years agoMore rearrangement of headers. Replaced delete with delete[] where
david [Fri, 22 Mar 2002 12:45:11 +0000 (12:45 +0000)]
More rearrangement of headers.  Replaced delete with delete[] where
appropriate.

22 years agoMoved up #include <algorithm>
david [Fri, 22 Mar 2002 12:38:34 +0000 (12:38 +0000)]
Moved up #include <algorithm>

22 years agoFix segfault when deleting a node with a string value.
david [Thu, 21 Mar 2002 15:19:26 +0000 (15:19 +0000)]
Fix segfault when deleting a node with a string value.

22 years agoPatch from Frederic Bouvier:
david [Wed, 20 Mar 2002 21:44:38 +0000 (21:44 +0000)]
Patch from Frederic Bouvier:

deletion of a const char * is not allowed with MSVC 6. I had to cast to char
*
to avoid compile errors.

22 years agoPatch from Tony Peden to remove unused variable and eliminate compiler
david [Wed, 20 Mar 2002 21:31:53 +0000 (21:31 +0000)]
Patch from Tony Peden to remove unused variable and eliminate compiler
warning.

22 years agoMoved includes higher to make sure that std::sort is known.
david [Wed, 20 Mar 2002 13:43:23 +0000 (13:43 +0000)]
Moved includes higher to make sure that std::sort is known.

22 years agoInclude <algorithm> and <stdio.hxx> to fix compilation errors on some
david [Tue, 19 Mar 2002 18:17:36 +0000 (18:17 +0000)]
Include <algorithm> and <stdio.hxx> to fix compilation errors on some
platforms (I should have done this anyway).

22 years agoMajor property-manager rewrite, using const char * throughout
david [Tue, 19 Mar 2002 16:07:47 +0000 (16:07 +0000)]
Major property-manager rewrite, using const char * throughout
interface instead of string.  This will result in a lot more
efficiency later, once I add in a simple hash table for caching
lookups, since it will avoid creating a lot of temporary string
objects.  The major considerations for users will be that they cannot
use

  node->getName() == "foo";

any more, and will have to use c_str() when setting a string value
from a C++ string.

22 years agoRemoved SGRawValueInternal class (it's now handled directly by
david [Mon, 18 Mar 2002 14:55:59 +0000 (14:55 +0000)]
Removed SGRawValueInternal class (it's now handled directly by
SGPropertyNode) and updated some out-of-date documentation comments.

22 years agoSome code fixes to keep untying clean with new optimizations.
david [Mon, 18 Mar 2002 14:55:15 +0000 (14:55 +0000)]
Some code fixes to keep untying clean with new optimizations.

22 years agoCode cleanup and minor speed improvements. For the record, accessing
david [Mon, 18 Mar 2002 03:21:18 +0000 (03:21 +0000)]
Code cleanup and minor speed improvements.  For the record, accessing
an internally-managed property is nearly twice as fast as accessing
one tied to methods.

22 years agoPatches from Tony Peden to separate property XML I/O operations into a
david [Fri, 15 Mar 2002 23:16:46 +0000 (23:16 +0000)]
Patches from Tony Peden to separate property XML I/O operations into a
separate header file.  This change will help integrate properties into
JSBSim.

22 years agoFixed an 'elstupido' bug.
curt [Wed, 13 Mar 2002 05:01:51 +0000 (05:01 +0000)]
Fixed an 'elstupido' bug.
Cleaned out some old #ifdef'd out code.

22 years agoAdded some increased functionality in support of the binary file format
curt [Wed, 13 Mar 2002 05:00:55 +0000 (05:00 +0000)]
Added some increased functionality in support of the binary file format
additions.

22 years agozlib-1.1.3 had a potential security flaw which is fixed by zlib-1.1.4:
curt [Mon, 11 Mar 2002 23:03:19 +0000 (23:03 +0000)]
zlib-1.1.3 had a potential security flaw which is fixed by zlib-1.1.4:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zlib Advisory 2002-03-11
zlib Compression Library Corrupts malloc Data Structures via Double Free

   Original release date: March 11, 2002
   Last revised: March 11, 2002
   Source: This advisory is based on a CERT advisory written
           by Jeffrey P. Lanza  http://www.kb.cert.org/vuls/id/368819

Systems Affected

     * Any software that is linked against zlib 1.1.3 or earlier
     * Any data compression library derived from zlib 1.1.3 or earlier

Overview

   There is a vulnerability in the zlib shared library that may introduce
   vulnerabilities   into   any   program   that   includes   zlib.  This
   vulnerability has been assigned a CVE name of CAN-2002-0059
   http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0059

I. Description

   There  is  a  vulnerability in the decompression algorithm used by the
   popular  zlib  compression  library.  If an attacker is able to pass a
   specially-crafted  block of invalid compressed data to a program  that
   includes zlib,  the program's  attempt to decompress  the crafted data
   can cause the  zlib  routines to corrupt the internal data  structures
   maintained by malloc.

   The  vulnerability  results  from  a  programming  error  that  causes
   segments of dynamically allocated memory to be released more than once
   (aka.   "double-freed").  Specifically,  when  inftrees.c:huft_build()
   encounters  the  crafted data, it returns an unexpected Z_MEM_ERROR to
   inftrees.c:inflate_trees_dynamic().  When a subsequent call is made to
   infblock.c:inflate_blocks(), the inflate_blocks function tries to free
   an internal data structure a second time.

   Because  this  vulnerability interferes with the proper allocation and
   de-allocation of dynamic memory, it may be possible for an attacker to
   influence  the  operation  of  programs  that  include  zlib.  In most
   circumstances,  this influence will be limited to denial of service or
   information  leakage, but it is theoretically possible for an attacker
   to  insert  arbitrary  code into a running program. This code would be
   executed with the permissions of the vulnerable program.

II. Impact

   This vulnerability may introduce vulnerabilities into any program that
   includes  the  affected library. Depending upon how and where the zlib
   routines   are   called   from   the   given  program,  the  resulting
   vulnerability may have one or more of the following impacts: denial of
   service, information leakage, or execution of arbitrary code.

III. Solution

Upgrade your version of zlib

   The  maintainers  of  zlib have released version 1.1.4 to address this
   vulnerability.  Any software that is linked against or derived from an
   earlier  version  of  zlib  should be upgraded immediately. The latest
   version of zlib is available at http://www.zlib.org

   The md5 sums of the source archives are:
       abc405d0bdd3ee22782d7aa20e440f08  zlib-1.1.4.tar.gz
       ea16358be41384870acbdc372f9db152  zlib-1.1.4.tar.bz2

IV. Acknowledgments

Thanks to Owen Taylor and Mark Cox of Redhat, Inc. for the
reporting and research of this vulnerability.

This document is available from
http://www.gzip.org/zlib/advisory-2002-03-11.txt

The public PGP key of zlib author Jean-loup Gailly is available from
http://www.gzip.org/zlib/jloup.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8jSR02aJ9JQGWcacRAuDEAKCWdrRkWeJV9lYU5z8NN56s3m8eKACglR4m
42KDUGHuftBkwACTMCnZLEo=
=3yLS
-----END PGP SIGNATURE-----

22 years agoAdded a warning message if the file is not found.
curt [Mon, 11 Mar 2002 21:47:09 +0000 (21:47 +0000)]
Added a warning message if the file is not found.

22 years agoAdditions to the binary file format to make it *much* more flexible.
curt [Sun, 10 Mar 2002 22:49:01 +0000 (22:49 +0000)]
Additions to the binary file format to make it *much* more flexible.
For each major primative type: points, triangles, fans, and strips, you
can specify an index list of vertices, normals, colors, and texture
coordinates.  You can skip any of these you like to save on space.

Note that the work for this has only been done in the file format reader
and writer.  The FlightGear loader for instance still needs to have
support for this built in.

This is is one more small step towards runway lighting.

22 years agoPatch from Martin Dressler to ensure that values as well as children
david [Sat, 9 Mar 2002 11:14:29 +0000 (11:14 +0000)]
Patch from Martin Dressler to ensure that values as well as children
get written with write-all.

22 years agoModified to add an optional parameter to writeProperties to allow
david [Sun, 3 Mar 2002 21:22:24 +0000 (21:22 +0000)]
Modified to add an optional parameter to writeProperties to allow
*all* properties to be written, rather than just the ones flagged as
archivable.  Tony Peden requested this feature to make it easier for
people to document properties.

22 years agoCleanups from Petru Paler:
david [Sat, 2 Mar 2002 23:37:04 +0000 (23:37 +0000)]
Cleanups from Petru Paler:

It's basically a couple unused variables, an explicit cast, some unused
functions removed or commented out, and a whole bunch of pragmas
removed.

22 years agoMinor changes to path caching.
david [Thu, 28 Feb 2002 14:37:00 +0000 (14:37 +0000)]
Minor changes to path caching.

22 years agoAdded support for points objects.
curt [Wed, 27 Feb 2002 23:08:45 +0000 (23:08 +0000)]
Added support for points objects.

22 years agoMight as well bump up the version number.
curt [Tue, 26 Feb 2002 23:55:54 +0000 (23:55 +0000)]
Might as well bump up the version number.

22 years agoAdd initial support for per vertex or per object colors.
curt [Tue, 26 Feb 2002 20:05:20 +0000 (20:05 +0000)]
Add initial support for per vertex or per object colors.

22 years agoExtended .btg format to support a 'points' primitive.
curt [Tue, 26 Feb 2002 19:47:06 +0000 (19:47 +0000)]
Extended .btg format to support a 'points' primitive.

22 years agoIMPORTANT: backwards-incompatible change to properties.
david [Tue, 19 Feb 2002 15:20:02 +0000 (15:20 +0000)]
IMPORTANT: backwards-incompatible change to properties.

The useDefault argument for the SGPropertyNode::tie(...) methods will
invoke the setter only when there is already a property value defined;
previously, the setter was always invoked, with a default value if
necessary.

22 years agoUpdated version number.
curt [Fri, 15 Feb 2002 17:27:50 +0000 (17:27 +0000)]
Updated version number.

22 years agoRemoved duplicate message.
curt [Fri, 15 Feb 2002 17:22:53 +0000 (17:22 +0000)]
Removed duplicate message.

22 years agoUpdated ...
curt [Fri, 15 Feb 2002 17:13:12 +0000 (17:13 +0000)]
Updated ...

22 years agoAdded README's to distribution.
curt [Thu, 14 Feb 2002 21:35:32 +0000 (21:35 +0000)]
Added README's to distribution.

22 years agoExplicitely reset the glBlendFunc() after drawing the moon for the Voodoo2
curt [Thu, 14 Feb 2002 14:21:48 +0000 (14:21 +0000)]
Explicitely reset the glBlendFunc() after drawing the moon for the Voodoo2
linux driver since it seems to have a bug in glPopAttrib().

22 years ago0.7.9pre2 changes.
curt [Wed, 13 Feb 2002 15:10:06 +0000 (15:10 +0000)]
0.7.9pre2 changes.

22 years agoReplaced some cout's with SG_LOG (fixes namespace problem with
david [Wed, 13 Feb 2002 12:14:01 +0000 (12:14 +0000)]
Replaced some cout's with SG_LOG (fixes namespace problem with
ANSI-conformant compilers).

22 years agoFixed a problem that could lead to a 'near infinite' loop if bogus input
curt [Tue, 12 Feb 2002 15:21:14 +0000 (15:21 +0000)]
Fixed a problem that could lead to a 'near infinite' loop if bogus input
values are provided.

22 years agoDecouple sg_time code from the current time(NULL), i.e. you can run the
curt [Mon, 11 Feb 2002 22:27:27 +0000 (22:27 +0000)]
Decouple sg_time code from the current time(NULL), i.e. you can run the
time calculations for an alternate calendar time (i.e. if the application
is being driven from an external source of data.)

Fix a bug in sg_binobj.cxx which disrupted the 'broken down time' globally
for the entire application.

22 years agoUpdated with 0.0.17 changes.
curt [Sun, 10 Feb 2002 04:10:00 +0000 (04:10 +0000)]
Updated with 0.0.17 changes.

22 years agoFreeBSD fix: strnstr() is already defined.
curt [Sun, 10 Feb 2002 03:28:57 +0000 (03:28 +0000)]
FreeBSD fix: strnstr() is already defined.

22 years agoThis code had been written to assume current clock time. Added options
curt [Sun, 10 Feb 2002 03:16:03 +0000 (03:16 +0000)]
This code had been written to assume current clock time.  Added options
to allow specifying an alternate clock time.

22 years agoFixes a config problem that could lead to a bogus build for people with
curt [Thu, 7 Feb 2002 22:37:09 +0000 (22:37 +0000)]
Fixes a config problem that could lead to a bogus build for people with
voodoo cards.

22 years agoFix for FreeBSD.
curt [Wed, 6 Feb 2002 01:04:38 +0000 (01:04 +0000)]
Fix for FreeBSD.

22 years agoTweaks ...
curt [Tue, 5 Feb 2002 21:36:09 +0000 (21:36 +0000)]
Tweaks ...

22 years agooops, minor tweaks.
curt [Mon, 4 Feb 2002 22:48:30 +0000 (22:48 +0000)]
oops, minor tweaks.

22 years agoVarious mingwin patches contributed by Norman Vine.
curt [Mon, 4 Feb 2002 22:38:23 +0000 (22:38 +0000)]
Various mingwin patches contributed by Norman Vine.

22 years agoPass strings by const reference instead of by value,
curt [Mon, 4 Feb 2002 20:23:41 +0000 (20:23 +0000)]
Pass strings by const reference instead of by value,
Made fix_path() a private member function, SGPath::fix(),
Added bool SGPath::exists(),
Added an assignment operator that acts like SGPath::append().

22 years agoRemoved some depricated irix support that is now handled elsewhere.
curt [Fri, 1 Feb 2002 20:18:47 +0000 (20:18 +0000)]
Removed some depricated irix support that is now handled elsewhere.

22 years agoMinor fixes from Cameron Moore.
david [Wed, 30 Jan 2002 15:09:56 +0000 (15:09 +0000)]
Minor fixes from Cameron Moore.

22 years agoFixes to make telnet interface work more than 1x.
curt [Mon, 28 Jan 2002 21:48:00 +0000 (21:48 +0000)]
Fixes to make telnet interface work more than 1x.

22 years agoFurther autogen.sh fixes to handle more cases.
curt [Sat, 19 Jan 2002 13:45:06 +0000 (13:45 +0000)]
Further autogen.sh fixes to handle more cases.

22 years agoMinor clean ups.
curt [Sat, 19 Jan 2002 13:37:22 +0000 (13:37 +0000)]
Minor clean ups.

22 years agoAdded some new functionality to the property manager:
david [Sat, 19 Jan 2002 03:06:22 +0000 (03:06 +0000)]
Added some new functionality to the property manager:

1. Nodes cache previous relative paths so that they do not have to
parse the paths each time.

2. There are new getNode() methods that include indices, so that users
do not have to sprintf to a buffer to iterate through indexed nodes.

22 years agoFixed typos ...
curt [Thu, 17 Jan 2002 16:58:18 +0000 (16:58 +0000)]
Fixed typos ...

22 years agoUpdated to automatically handle newer versions of automake.
curt [Thu, 17 Jan 2002 15:21:49 +0000 (15:21 +0000)]
Updated to automatically handle newer versions of automake.
Does some IRIX specific fixups.

22 years agoAdded conditional support for Norman's jpegfactory code (requires libjpeg
curt [Wed, 16 Jan 2002 21:13:27 +0000 (21:13 +0000)]
Added conditional support for Norman's jpegfactory code (requires libjpeg
to be already installed.)

22 years agoInitial revision of jpegfactory code for generating jpeg format screen dumps.
curt [Wed, 16 Jan 2002 21:11:00 +0000 (21:11 +0000)]
Initial revision of jpegfactory code for generating jpeg format screen dumps.

22 years agoAdded aclocal.m4
david [Wed, 16 Jan 2002 00:04:16 +0000 (00:04 +0000)]
Added aclocal.m4

22 years agoA few changes from Norman Vine to support mingwin.
curt [Tue, 15 Jan 2002 22:28:21 +0000 (22:28 +0000)]
A few changes from Norman Vine to support mingwin.

22 years agoInitial revision.
curt [Sat, 29 Dec 2001 03:35:31 +0000 (03:35 +0000)]
Initial revision.

22 years agoRemoved metakit and zlib from the configure/build process. The
curt [Sat, 29 Dec 2001 00:38:04 +0000 (00:38 +0000)]
Removed metakit and zlib from the configure/build process.  The
developer will need to build and install these separately if they
don't have packages already installed by their system.  See
README.metakit and README.zlib for more details.

As a convenience, pristine tarballs of the metakit and zlib source
code trees are included with the simgear distribution (and cvs.)

22 years agoRemoved metakit and zlib from the configure/build process. The
curt [Sat, 29 Dec 2001 00:35:34 +0000 (00:35 +0000)]
Removed metakit and zlib from the configure/build process.  The
developer will need to build and install these separately if they don't
have packages already installed by their system.  See README.metakit and
README.zlib for more details.

As a convenience, pristine tarballs of the metakit and zlib source code
trees are included with the simgear distribution (and cvs.)

22 years agoSmall tweaks to class initialization.
curt [Fri, 28 Dec 2001 23:37:34 +0000 (23:37 +0000)]
Small tweaks to class initialization.

22 years agoUpdates to build system to better support automake-1.5
curt [Fri, 28 Dec 2001 21:27:19 +0000 (21:27 +0000)]
Updates to build system to better support automake-1.5
- automake-1.4 sets default values for INCLUDES which we can't
  overwrite.
- automake-1.5 renames this to DEFAULT_INCLUDES and leaves INCLUDES
  open for the developer to use.

Thus for automake-1.4 we are forced to 'append' to INCLUDES and in
automake-1.5 we can just set the value to whatever we like.
Unfortunately, the behaviors of the two versions are mutually
incompatible.

The solution I am committing now works for both versions but
automake-1.5 generates a lot of spurious warning messages that are
annoying, but not fatal.

22 years agoTest commit.
curt [Mon, 17 Dec 2001 16:52:20 +0000 (16:52 +0000)]
Test commit.

22 years agoFixed Makefile.am to install easyxml.hxx in the simgear/xml rather
david [Sun, 16 Dec 2001 20:59:16 +0000 (20:59 +0000)]
Fixed Makefile.am to install easyxml.hxx in the simgear/xml rather
than simgear/.

22 years ago-Added .cvsignore files to clean up CVS messages
david [Wed, 12 Dec 2001 02:44:37 +0000 (02:44 +0000)]
-Added .cvsignore files to clean up CVS messages

22 years agoAdded trace attributes to properties:
david [Wed, 12 Dec 2001 02:28:28 +0000 (02:28 +0000)]
Added trace attributes to properties:

TRACE_READ - log a message whenever the property is read.

TRACE_WRITE - log a message whenever the property is written.

The second one works only when the property value is changed through
the property manager; tied variables and accessors are not polled for
value changes because of the performance hit.

These methods end up invoking private methods
SGPropertyNode::trace_read and SGPropertyNode::trace_write.  By
setting breakpoints on these methods inside a debugger, it is possible
to debug property access and find what parts of a program are reading
or writing specific property values by doing a backtrace.

In the XML property files, users can use the attributes 'trace-read'
and 'trace-write' to control tracing; the value should be 'y' to
enable tracing or 'n' to disable it (the default).

22 years agoAdded Curt to empty Authors file as CVS test.
david [Tue, 11 Dec 2001 22:23:25 +0000 (22:23 +0000)]
Added Curt to empty Authors file as CVS test.

22 years agoDoh! fixed a typo ...
curt [Mon, 10 Dec 2001 00:24:51 +0000 (00:24 +0000)]
Doh! fixed a typo ...

22 years ago[Hopefully] fix a line ending problem that surfaces in MSVC.
curt [Sun, 9 Dec 2001 03:54:46 +0000 (03:54 +0000)]
[Hopefully] fix a line ending problem that surfaces in MSVC.