Commit Graph

1369 Commits

Author SHA1 Message Date
curt
f1a79e6b9f - 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
2001-07-12 21:09:12 +00:00
curt
007a1e4659 - changed the default value of the archive flag to false; it must now
be set explicitly for a value to be saved
2001-07-12 21:08:58 +00:00
curt
fcb873b6dd - added virtual destructor to XMLVisitor to make sure derived classes
get a virtual destructor automatically.
2001-07-11 16:02:26 +00:00
curt
a66d1ad855 Check for valid hostname lookup in sg_socket.cxx. 2001-07-10 14:13:51 +00:00
curt
76a5950f19 Add a separate function to just return modified julian date. 2001-07-03 14:39:05 +00:00
curt
b7a91bdb03 Various tweaks for Irix. 2001-07-02 20:51:32 +00:00
curt
e4bbc5c50b Fix a potential array under/over run bug. 2001-06-30 02:01:22 +00:00
curt
b481ccd749 Tweaks to track changes in property manager. 2001-06-28 21:54:02 +00:00
curt
e7b9e55599 - 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)
2001-06-28 21:53:46 +00:00
curt
05eaa7135f - 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
2001-06-28 21:53:34 +00:00
curt
d063b319e8 - 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
2001-06-28 21:53:24 +00:00
curt
be4fd56660 - 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
2001-06-28 21:53:10 +00:00
curt
a406a3c00b - added implementation of SGCommandState
- removed commented-out convenience execute methods
2001-06-28 21:53:01 +00:00
curt
c7295da5eb Fixed a type conversion bug that could trip up some of the pickier compilers
out there.
2001-06-27 02:48:01 +00:00
curt
505f561e1c Added tr.cxx / tr.h, Brian Paul's LGPL'd tiled rendering support libs for
rendering ultra high res "tiled" screen shots.
2001-06-26 15:19:39 +00:00
curt
7bd8477fa1 Tweaks. 2001-06-20 18:35:42 +00:00
curt
36ef15940e Changes for 0.7.8 2001-06-20 18:12:18 +00:00
curt
f2ba7aefa6 Need to include <simgear_config.h> to pick up the WIN32 definition. 2001-06-19 14:24:16 +00:00
curt
73b58b0e87 Updated for the 0.0.15 release. 2001-06-19 00:50:33 +00:00
curt
6ce4f096b2 #endif // __COMMANDS_HXX 2001-06-13 18:59:07 +00:00
curt
3e7ece7f5f #include <simgear/compiler.h> and adjust to fit the standard coding conventions
of this project.
2001-06-13 18:10:16 +00:00
curt
48a219473e Norman Vine optimizations. 2001-06-12 21:44:03 +00:00
curt
887ffd102f David patches. 2001-06-12 02:52:07 +00:00
curt
b1a719dd4c - 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)
2001-06-12 02:49:32 +00:00
curt
b4efe8f374 - added missing return statement for getAliasTarget
- changed SGValue::Type to SGPropertyNode::Type for all of
  SGPropertyNode
2001-06-12 02:48:24 +00:00
curt
03f844d4be - added missing return statements for execute methods 2001-06-12 02:44:40 +00:00
curt
a212589865 Fixed a problem that could cause a divide by zero error during initialization.
Contributed by Durk Talsma.
2001-06-10 15:12:09 +00:00
curt
29dfc5bd3c Resolve a #define clash with the template argument LOCK. 2001-06-06 23:12:03 +00:00
curt
a6ac06c47a Display a warning message for Irix users. 2001-06-06 21:27:38 +00:00
curt
4d914db1db - fixed XML syntax error with missing '"' for some attribute values
that was preventing fgfs save/restore from working
- ensured that aliases always appear standalone
2001-06-06 14:57:58 +00:00
curt
68572f106d Added support for #include STL_ITERATOR 2001-06-05 17:47:02 +00:00
curt
c5ca4db94e Fixed a bug in star repainting optimization. 2001-06-02 04:21:04 +00:00
curt
3980f08cc5 Initial revsion of new command manager (contributed by David Megginson)
Fix to configure.in.
2001-06-01 15:28:49 +00:00
curt
f93fa4b613 Detect Irix/CC compiler and substitute AR="CC -ar". 2001-06-01 15:13:04 +00:00
curt
06f2dba92c Norman Vine contributed an optimization to eliminate unnecessary color
recalculations.
2001-05-29 13:45:06 +00:00
curt
30a14741c9 gcc-3.0.x fixes. 2001-05-23 19:25:27 +00:00
curt
2f39b688f4 Added #include <config.h> 2001-05-18 19:06:26 +00:00
curt
724a2ef83b MSVC changes contributed by Geoff McLane. 2001-05-17 19:54:18 +00:00
curt
f7e0e46143 Tweak link libs for decode_binobj. 2001-05-17 16:19:29 +00:00
curt
83acb47295 renamed config.h to simgear_config.h 2001-05-16 00:19:24 +00:00
curt
e5282caea5 MSVC++ tweaks. 2001-05-15 22:17:58 +00:00
curt
6a481eed36 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.
2001-05-15 21:31:35 +00:00
curt
e145f903de STL-ified the interpolation table so it is not size limited. 2001-05-15 21:07:41 +00:00
curt
2afd1c8663 Updates ... 2001-05-15 20:34:20 +00:00
curt
948d02055d Tweaks. 2001-05-15 20:26:47 +00:00
curt
e2b4c0787a 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.
2001-05-15 19:26:22 +00:00
curt
2d21e59b54 MSVC++ doesn't have long long, but does have __int64. 2001-05-15 15:52:10 +00:00
curt
00ccafb90d Update build order to work around dependencies. 2001-05-04 02:10:46 +00:00
curt
b82e02b5ed Tweaks. 2001-05-03 01:58:50 +00:00
curt
096550f163 Initial revision. 2001-05-03 01:58:12 +00:00