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

23 years agoAdded #include <config.h>
curt [Fri, 18 May 2001 19:06:26 +0000 (19:06 +0000)]
Added #include <config.h>

23 years agoMSVC changes contributed by Geoff McLane.
curt [Thu, 17 May 2001 19:54:18 +0000 (19:54 +0000)]
MSVC changes contributed by Geoff McLane.

23 years agoTweak link libs for decode_binobj.
curt [Thu, 17 May 2001 16:19:29 +0000 (16:19 +0000)]
Tweak link libs for decode_binobj.

23 years agorenamed config.h to simgear_config.h
curt [Wed, 16 May 2001 00:19:24 +0000 (00:19 +0000)]
renamed config.h to simgear_config.h

23 years agoMSVC++ tweaks.
curt [Tue, 15 May 2001 22:17:58 +0000 (22:17 +0000)]
MSVC++ tweaks.

23 years agoWe have to add a few more libs to a couple link lines in order to make
curt [Tue, 15 May 2001 21:31:35 +0000 (21:31 +0000)]
We have to add a few more libs to a couple link lines in order to make
irix happy because it tries to resolve dependencies even if they are
eventually never used.

23 years agoSTL-ified the interpolation table so it is not size limited.
curt [Tue, 15 May 2001 21:07:41 +0000 (21:07 +0000)]
STL-ified the interpolation table so it is not size limited.

23 years agoUpdates ...
curt [Tue, 15 May 2001 20:34:20 +0000 (20:34 +0000)]
Updates ...

23 years agoTweaks.
curt [Tue, 15 May 2001 20:26:47 +0000 (20:26 +0000)]
Tweaks.

23 years agoAttempt to resolve ambiguity between #include <config.h> for simgear vs.
curt [Tue, 15 May 2001 19:26:22 +0000 (19:26 +0000)]
Attempt to resolve ambiguity between #include <config.h> for simgear vs.
flightgear, especially when this occurs in a simgear .hxx file.  This is
now expressly forbidden, and will cause problems anyways because we now
changed the name to <simgear_config.h> which isn't installed, so you can't
include it in an installed header file.

23 years agoMSVC++ doesn't have long long, but does have __int64.
curt [Tue, 15 May 2001 15:52:10 +0000 (15:52 +0000)]
MSVC++ doesn't have long long, but does have __int64.

23 years agoUpdate build order to work around dependencies.
curt [Fri, 4 May 2001 02:10:46 +0000 (02:10 +0000)]
Update build order to work around dependencies.

23 years agoTweaks.
curt [Thu, 3 May 2001 01:58:50 +0000 (01:58 +0000)]
Tweaks.

23 years agoInitial revision.
curt [Thu, 3 May 2001 01:58:12 +0000 (01:58 +0000)]
Initial revision.

23 years agoTimezone fixes for cygwin.
curt [Thu, 26 Apr 2001 16:15:01 +0000 (16:15 +0000)]
Timezone fixes for cygwin.

23 years agoTweaked efence configure.
curt [Tue, 24 Apr 2001 21:34:07 +0000 (21:34 +0000)]
Tweaked efence configure.

23 years agoAdded some convenience functions to point3d.
curt [Tue, 24 Apr 2001 20:01:52 +0000 (20:01 +0000)]
Added some convenience functions to point3d.

23 years agoScreen shot tweaks from Cameron Moore.
curt [Sun, 22 Apr 2001 20:02:49 +0000 (20:02 +0000)]
Screen shot tweaks from Cameron Moore.

23 years agoFix various compiler warnings contributed by Norman Princeton.
curt [Sun, 22 Apr 2001 14:57:08 +0000 (14:57 +0000)]
Fix various compiler warnings contributed by Norman Princeton.

23 years agoUpdated for cygwin build note.
curt [Wed, 18 Apr 2001 11:59:47 +0000 (11:59 +0000)]
Updated for cygwin build note.

23 years agoiAdded new classes to simgear/threads. SGGuard is a wrapper around a
curt [Mon, 16 Apr 2001 17:26:13 +0000 (17:26 +0000)]
iAdded new classes to simgear/threads.  SGGuard is a wrapper around a
mutex that unlocks the mutex when the SGGuard object goes out of scope.
The SGxxxQueue<T> template family factor out the common behaviour we
need for passing data between threads.

23 years ago-a needed instead of -o
curt [Fri, 13 Apr 2001 13:45:15 +0000 (13:45 +0000)]
-a needed instead of -o

23 years agoIrix tweaks.
curt [Wed, 11 Apr 2001 21:14:24 +0000 (21:14 +0000)]
Irix tweaks.