]> git.mxchange.org Git - simgear.git/log
simgear.git
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.

22 years agoRemoved this autogenerated file from CVS.
curt [Thu, 6 Dec 2001 22:53:29 +0000 (22:53 +0000)]
Removed this autogenerated file from CVS.

22 years agoIn certain degenerate situations on the FlightGear side when the flight
curt [Wed, 5 Dec 2001 22:31:03 +0000 (22:31 +0000)]
In certain degenerate situations on the FlightGear side when the flight
model math blows up, the lat/lon could be nan.  Thus updateLocal() could
potentially called with nan arguments if FlightGear is reiniting from a
blown up state.  This is a bug in FlightGear, but I've added a simple
check to catch this so updateLocal() is robust if called under these
circumstances.

22 years agoChristian M. says it's bad to chain one constructor call from another.
curt [Tue, 27 Nov 2001 03:17:43 +0000 (03:17 +0000)]
Christian M. says it's bad to chain one constructor call from another.
I can't find anything that addresses this in Stroustrup, but I also don't
see them doing this in any of their examples.  So I have rewritten this
instance to use default arguments to accomplish the same thing.  I imagine
there are other instances of this same sort of thing in other classes to
be fixed at a later date.

22 years agoBernie Bright: support for Intel C++ under Linux.
curt [Wed, 21 Nov 2001 21:31:40 +0000 (21:31 +0000)]
Bernie Bright: support for Intel C++ under Linux.

22 years ago- changed getAttribute to avoid MSVC compiler warning
curt [Tue, 20 Nov 2001 20:57:07 +0000 (20:57 +0000)]
- changed getAttribute to avoid MSVC compiler warning

22 years ago- implemented set/get_log_classes and set/get_log_priority
curt [Tue, 20 Nov 2001 20:56:53 +0000 (20:56 +0000)]
- implemented set/get_log_classes and set/get_log_priority

22 years agoOops, typo ...
curt [Mon, 12 Nov 2001 18:20:32 +0000 (18:20 +0000)]
Oops, typo ...

22 years agoUpdated RPM make rule as per Ross Golder.
curt [Mon, 12 Nov 2001 17:37:24 +0000 (17:37 +0000)]
Updated RPM make rule as per Ross Golder.

22 years agoMixed a makefile typo.
curt [Mon, 12 Nov 2001 15:27:32 +0000 (15:27 +0000)]
Mixed a makefile typo.

22 years agoplib/net based udp client/server sockets.
curt [Mon, 12 Nov 2001 04:47:58 +0000 (04:47 +0000)]
plib/net based udp client/server sockets.

22 years agoOne more tiny Irix tweak.
curt [Wed, 24 Oct 2001 20:01:15 +0000 (20:01 +0000)]
One more tiny Irix tweak.

22 years agoMisc Irix tweaks.
curt [Wed, 24 Oct 2001 19:59:05 +0000 (19:59 +0000)]
Misc Irix tweaks.

22 years agoMisc MSVC tweaks.
curt [Wed, 24 Oct 2001 19:05:16 +0000 (19:05 +0000)]
Misc MSVC tweaks.

22 years agoMacintosh OSX changes.
curt [Tue, 23 Oct 2001 20:22:12 +0000 (20:22 +0000)]
Macintosh OSX changes.

22 years agoMSVC tweaks.
curt [Mon, 13 Aug 2001 17:14:21 +0000 (17:14 +0000)]
MSVC tweaks.

22 years agoVarious changes for MingWin32 support.
curt [Thu, 2 Aug 2001 22:56:33 +0000 (22:56 +0000)]
Various changes for MingWin32 support.

22 years agoVarious MSVC fixes.
curt [Mon, 30 Jul 2001 20:34:20 +0000 (20:34 +0000)]
Various MSVC fixes.

22 years agoUpdates for irix to disable various warnings and define
curt [Mon, 30 Jul 2001 20:05:27 +0000 (20:05 +0000)]
Updates for irix to disable various warnings and define
__STL_FUNCTION_TMPL_PARTIAL_ORDER

22 years agoOops, missing a trainling backslash after exception.hxx
curt [Sat, 28 Jul 2001 04:00:10 +0000 (04:00 +0000)]
Oops, missing a trainling backslash after exception.hxx

22 years ago- removed declaration of sg_xml_exception (use sg_io_exception)
curt [Tue, 24 Jul 2001 21:41:33 +0000 (21:41 +0000)]
- removed declaration of sg_xml_exception (use sg_io_exception)

22 years ago- make sure file is closed when an exception passes through
curt [Tue, 24 Jul 2001 21:41:19 +0000 (21:41 +0000)]
- make sure file is closed when an exception passes through

22 years ago- remove dependencies on sg_throwable::clone
curt [Tue, 24 Jul 2001 21:41:06 +0000 (21:41 +0000)]
- remove dependencies on sg_throwable::clone

22 years ago- remove clone methods for exceptions (SGI/Irix compiler bugs)
curt [Tue, 24 Jul 2001 21:40:57 +0000 (21:40 +0000)]
- remove clone methods for exceptions (SGI/Irix compiler bugs)
- added declaration for sg_throwable::getFormattedMessage
- added declaration for sg_io_exception::getFormattedMessage
- added #ifdef wrapper

22 years ago- remove clone method declarations (SGI/Irix compiler bugs)
curt [Tue, 24 Jul 2001 21:40:46 +0000 (21:40 +0000)]
- remove clone method declarations (SGI/Irix compiler bugs)
- added default implementation for sg_throwable::getFormattedMessage
  (returns sg_throwable::getMessage by default)
- removed unneeded newline in sg_location::asString

22 years agoAdded exceptions.[ch]xx
curt [Thu, 19 Jul 2001 02:34:43 +0000 (02:34 +0000)]
Added exceptions.[ch]xx

22 years ago- added sg_xml_exception class
curt [Thu, 19 Jul 2001 02:34:18 +0000 (02:34 +0000)]
- added sg_xml_exception class
- changed return type of readXML from bool to void (uses an exception
  to report problems now)
- removed XMLVisitor::error callback
- declared new readXML function that uses a path rather than a stream
- modified existing readXML function to take an optional path parameter

22 years ago- implemented sg_xml_exception class
curt [Thu, 19 Jul 2001 02:33:58 +0000 (02:33 +0000)]
- implemented sg_xml_exception class
- implemented new readXML function with path instead of stream
- modified existing readXML function to use optional path parameter
- modified readXML to throw exceptions rather than returning a bool
  value on error

22 years ago- modified both readProperties functions to return void, and modified
curt [Thu, 19 Jul 2001 02:33:38 +0000 (02:33 +0000)]
- modified both readProperties functions to return void, and modified
  file-name variant to invoke new readXML function
- readProperties and writeProperties will now throw exceptions if there
  are file I/O problems
- replace error messages with exceptions
- tunnel sg_io_exception through from nested property read, since
  the C-based Expat code cannot handle exceptions

22 years ago- changed return type of both readProperties functions to void
curt [Thu, 19 Jul 2001 02:33:18 +0000 (02:33 +0000)]
- changed return type of both readProperties functions to void
- changed return type of both writeProperties functions to void

22 years ago- new file: implementation of SimGear general exception classes
curt [Thu, 19 Jul 2001 02:33:00 +0000 (02:33 +0000)]
- new file: implementation of SimGear general exception classes

22 years agoPrepairing for 0.0.17
curt [Fri, 13 Jul 2001 14:58:14 +0000 (14:58 +0000)]
Prepairing for 0.0.17

22 years agoAdded a missing include for memcpy()
curt [Fri, 13 Jul 2001 03:36:50 +0000 (03:36 +0000)]
Added a missing include for memcpy()

22 years agoUpdated for 0.0.16
curt [Fri, 13 Jul 2001 03:36:29 +0000 (03:36 +0000)]
Updated for 0.0.16

22 years ago- changed default value of "archive" attribute from "y" to "n"
curt [Thu, 12 Jul 2001 21:09:12 +0000 (21:09 +0000)]
- changed default value of "archive" attribute from "y" to "n"
- modified to write out non-archivable parents if they have an
  archivable descendant (i.e. archive="n" no longer kills a whole
  subbranch); this makes sense now that archive defaults to "n".
- don't save the flags -- let the program handle them itself
- produce slightly less verbose output; omit n="0" in elements

22 years ago- changed the default value of the archive flag to false; it must now
curt [Thu, 12 Jul 2001 21:08:58 +0000 (21:08 +0000)]
- changed the default value of the archive flag to false; it must now
  be set explicitly for a value to be saved

22 years ago- added virtual destructor to XMLVisitor to make sure derived classes
curt [Wed, 11 Jul 2001 16:02:26 +0000 (16:02 +0000)]
- added virtual destructor to XMLVisitor to make sure derived classes
  get a virtual destructor automatically.

22 years agoCheck for valid hostname lookup in sg_socket.cxx.
curt [Tue, 10 Jul 2001 14:13:51 +0000 (14:13 +0000)]
Check for valid hostname lookup in sg_socket.cxx.

23 years agoAdd a separate function to just return modified julian date.
curt [Tue, 3 Jul 2001 14:39:05 +0000 (14:39 +0000)]
Add a separate function to just return modified julian date.

23 years agoVarious tweaks for Irix.
curt [Mon, 2 Jul 2001 20:51:32 +0000 (20:51 +0000)]
Various tweaks for Irix.

23 years agoFix a potential array under/over run bug.
curt [Sat, 30 Jun 2001 02:01:22 +0000 (02:01 +0000)]
Fix a potential array under/over run bug.

23 years agoTweaks to track changes in property manager.
curt [Thu, 28 Jun 2001 21:54:02 +0000 (21:54 +0000)]
Tweaks to track changes in property manager.

23 years ago- removed all reference to SGValue
curt [Thu, 28 Jun 2001 21:53:46 +0000 (21:53 +0000)]
- removed all reference to SGValue
- renamed UNKNOWN to UNSPECIED and setUnknownValue to
  setUnspecifiedValue
- modified routines to use 'read', 'write', and 'archive' attribute
  for access-mode attributes (only if non-default; they all default to
  'y')
- modified write routine to honour ARCHIVE attribute (won't write
  subtree if ARCHIVE is not set)

23 years ago- made getValue methods protected, so that they won't be invoked outside
curt [Thu, 28 Jun 2001 21:53:34 +0000 (21:53 +0000)]
- made getValue methods protected, so that they won't be invoked outside
  the class
- renamed UNKNOWN to UNSPECIED and setUnknownValue to
  setUnspecifiedValue
- added access-mode attributes
- added methods for setting and querying access-mode attributes

23 years ago- attempting to tie an aliased node now fails; the node must be
curt [Thu, 28 Jun 2001 21:53:24 +0000 (21:53 +0000)]
- attempting to tie an aliased node now fails; the node must be
  unaliased first
- renamed UNKNOWN to UNSPECIED and setUnknownValue to
  setUnspecifiedValue
- modified get*Value and set*Value methods to respect READ and WRITE
  attributes

23 years ago- added SGCommandState class so that commands can compile and save
curt [Thu, 28 Jun 2001 21:53:10 +0000 (21:53 +0000)]
- added SGCommandState class so that commands can compile and save
  copies of their arguments
- modified prototype for command functions -- they now take a pointer
  to a pointer of an SGCommandState object (which they will normally
  subclass) so that they can cache state between invocations
- commented out convenience execute methods until they're actually
  needed

23 years ago- added implementation of SGCommandState
curt [Thu, 28 Jun 2001 21:53:01 +0000 (21:53 +0000)]
- added implementation of SGCommandState
- removed commented-out convenience execute methods

23 years agoFixed a type conversion bug that could trip up some of the pickier compilers
curt [Wed, 27 Jun 2001 02:48:01 +0000 (02:48 +0000)]
Fixed a type conversion bug that could trip up some of the pickier compilers
out there.

23 years agoAdded tr.cxx / tr.h, Brian Paul's LGPL'd tiled rendering support libs for
curt [Tue, 26 Jun 2001 15:19:39 +0000 (15:19 +0000)]
Added tr.cxx / tr.h, Brian Paul's LGPL'd tiled rendering support libs for
rendering ultra high res "tiled" screen shots.

23 years agoTweaks.
curt [Wed, 20 Jun 2001 18:35:42 +0000 (18:35 +0000)]
Tweaks.

23 years agoChanges for 0.7.8
curt [Wed, 20 Jun 2001 18:12:18 +0000 (18:12 +0000)]
Changes for 0.7.8

23 years agoNeed to include <simgear_config.h> to pick up the WIN32 definition.
curt [Tue, 19 Jun 2001 14:24:16 +0000 (14:24 +0000)]
Need to include <simgear_config.h> to pick up the WIN32 definition.

23 years agoUpdated for the 0.0.15 release.
curt [Tue, 19 Jun 2001 00:50:33 +0000 (00:50 +0000)]
Updated for the 0.0.15 release.

23 years ago#endif // __COMMANDS_HXX
curt [Wed, 13 Jun 2001 18:59:07 +0000 (18:59 +0000)]
#endif // __COMMANDS_HXX

23 years ago#include <simgear/compiler.h> and adjust to fit the standard coding conventions
curt [Wed, 13 Jun 2001 18:10:16 +0000 (18:10 +0000)]
#include <simgear/compiler.h> and adjust to fit the standard coding conventions
of this project.

23 years agoNorman Vine optimizations.
curt [Tue, 12 Jun 2001 21:44:03 +0000 (21:44 +0000)]
Norman Vine optimizations.

23 years agoDavid patches.
curt [Tue, 12 Jun 2001 02:52:07 +0000 (02:52 +0000)]
David patches.

23 years ago- added SGPropertyNode::Type
curt [Tue, 12 Jun 2001 02:49:32 +0000 (02:49 +0000)]
- added SGPropertyNode::Type
- changed return type of SGPropertyNode::getType methods from
  SGValue::Type to SGPropertyNode::Type
- made SGPropertyNode::getValue and SGPropertyNode::hasValue private
  so that applications cannot get at SGValue instances (SGValue is
  slated for removal)

23 years ago- added missing return statement for getAliasTarget
curt [Tue, 12 Jun 2001 02:48:24 +0000 (02:48 +0000)]
- added missing return statement for getAliasTarget
- changed SGValue::Type to SGPropertyNode::Type for all of
  SGPropertyNode

23 years ago- added missing return statements for execute methods
curt [Tue, 12 Jun 2001 02:44:40 +0000 (02:44 +0000)]
- added missing return statements for execute methods

23 years agoFixed a problem that could cause a divide by zero error during initialization.
curt [Sun, 10 Jun 2001 15:12:09 +0000 (15:12 +0000)]
Fixed a problem that could cause a divide by zero error during initialization.
Contributed by Durk Talsma.

23 years agoResolve a #define clash with the template argument LOCK.
curt [Wed, 6 Jun 2001 23:12:03 +0000 (23:12 +0000)]
Resolve a #define clash with the template argument LOCK.

23 years agoDisplay a warning message for Irix users.
curt [Wed, 6 Jun 2001 21:27:38 +0000 (21:27 +0000)]
Display a warning message for Irix users.

23 years ago- fixed XML syntax error with missing '"' for some attribute values
curt [Wed, 6 Jun 2001 14:57:58 +0000 (14:57 +0000)]
- fixed XML syntax error with missing '"' for some attribute values
that was preventing fgfs save/restore from working
- ensured that aliases always appear standalone

23 years agoAdded support for #include STL_ITERATOR
curt [Tue, 5 Jun 2001 17:47:02 +0000 (17:47 +0000)]
Added support for #include STL_ITERATOR

23 years agoFixed a bug in star repainting optimization.
curt [Sat, 2 Jun 2001 04:21:04 +0000 (04:21 +0000)]
Fixed a bug in star repainting optimization.

23 years agoInitial revsion of new command manager (contributed by David Megginson)
curt [Fri, 1 Jun 2001 15:28:49 +0000 (15:28 +0000)]
Initial revsion of new command manager (contributed by David Megginson)
Fix to configure.in.

23 years agoDetect Irix/CC compiler and substitute AR="CC -ar".
curt [Fri, 1 Jun 2001 15:13:04 +0000 (15:13 +0000)]
Detect Irix/CC compiler and substitute AR="CC -ar".

23 years agoNorman Vine contributed an optimization to eliminate unnecessary color
curt [Tue, 29 May 2001 13:45:06 +0000 (13:45 +0000)]
Norman Vine contributed an optimization to eliminate unnecessary color
recalculations.

23 years agogcc-3.0.x fixes.
curt [Wed, 23 May 2001 19:25:27 +0000 (19:25 +0000)]
gcc-3.0.x fixes.