1976481ba2- 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
curt
2001-07-19 02:34:18 +00:00
5f17edbc72- 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
curt
2001-07-19 02:33:58 +00:00
6f7fe4b481- 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
curt
2001-07-19 02:33:38 +00:00
66ebe6e690- changed return type of both readProperties functions to void - changed return type of both writeProperties functions to void
curt
2001-07-19 02:33:18 +00:00
a9cd67e0ce- new file: implementation of SimGear general exception classes
curt
2001-07-19 02:33:00 +00:00
994a470fbfPrepairing for 0.0.17
curt
2001-07-13 14:58:14 +00:00
377eb4782aUpdated for 0.0.16
curt
2001-07-13 03:36:29 +00:00
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
curt
2001-07-12 21:09:12 +00:00
007a1e4659- changed the default value of the archive flag to false; it must now be set explicitly for a value to be saved
curt
2001-07-12 21:08:58 +00:00
fcb873b6dd- added virtual destructor to XMLVisitor to make sure derived classes get a virtual destructor automatically.
curt
2001-07-11 16:02:26 +00:00
a66d1ad855Check for valid hostname lookup in sg_socket.cxx.
curt
2001-07-10 14:13:51 +00:00
76a5950f19Add a separate function to just return modified julian date.
curt
2001-07-03 14:39:05 +00:00
b7a91bdb03Various tweaks for Irix.
curt
2001-07-02 20:51:32 +00:00
e4bbc5c50bFix a potential array under/over run bug.
curt
2001-06-30 02:01:22 +00:00
b481ccd749Tweaks to track changes in property manager.
curt
2001-06-28 21:54:02 +00:00
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)
curt
2001-06-28 21:53:46 +00:00
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
curt
2001-06-28 21:53:34 +00:00
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
curt
2001-06-28 21:53:24 +00:00
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
curt
2001-06-28 21:53:10 +00:00
c7295da5ebFixed a type conversion bug that could trip up some of the pickier compilers out there.
curt
2001-06-27 02:48:01 +00:00
505f561e1cAdded tr.cxx / tr.h, Brian Paul's LGPL'd tiled rendering support libs for rendering ultra high res "tiled" screen shots.
curt
2001-06-26 15:19:39 +00:00
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)
curt
2001-06-12 02:49:32 +00:00
b4efe8f374- added missing return statement for getAliasTarget - changed SGValue::Type to SGPropertyNode::Type for all of SGPropertyNode
curt
2001-06-12 02:48:24 +00:00
a212589865Fixed a problem that could cause a divide by zero error during initialization. Contributed by Durk Talsma.
curt
2001-06-10 15:12:09 +00:00
29dfc5bd3cResolve a #define clash with the template argument LOCK.
curt
2001-06-06 23:12:03 +00:00
a6ac06c47aDisplay a warning message for Irix users.
curt
2001-06-06 21:27:38 +00:00
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
curt
2001-06-06 14:57:58 +00:00
68572f106dAdded support for #include STL_ITERATOR
curt
2001-06-05 17:47:02 +00:00
c5ca4db94eFixed a bug in star repainting optimization.
curt
2001-06-02 04:21:04 +00:00
3980f08cc5Initial revsion of new command manager (contributed by David Megginson) Fix to configure.in.
curt
2001-06-01 15:28:49 +00:00
6a481eed36We 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.
curt
2001-05-15 21:31:35 +00:00
e145f903deSTL-ified the interpolation table so it is not size limited.
curt
2001-05-15 21:07:41 +00:00
e2b4c0787aAttempt 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.
curt
2001-05-15 19:26:22 +00:00
2d21e59b54MSVC++ doesn't have long long, but does have __int64.
curt
2001-05-15 15:52:10 +00:00
00ccafb90dUpdate build order to work around dependencies.
curt
2001-05-04 02:10:46 +00:00
6cc32a56b9Added some convenience functions to point3d.
curt
2001-04-24 20:01:52 +00:00
ebdb86c460Screen shot tweaks from Cameron Moore.
curt
2001-04-22 20:02:49 +00:00
400c9d6a2dFix various compiler warnings contributed by Norman Princeton.
curt
2001-04-22 14:57:08 +00:00
e9a1b06746Updated for cygwin build note.
curt
2001-04-18 11:59:47 +00:00
4f3aaa1edeiAdded 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.
curt
2001-04-16 17:26:13 +00:00
187258cc3a-a needed instead of -o
curt
2001-04-13 13:45:15 +00:00
a824bec9e1Configure check for pthreads.
curt
2001-04-09 17:58:20 +00:00
10db0c3c66Swab after sgReadBytes() if necessary.
curt
2001-04-07 23:07:44 +00:00
12620b6152Tweaks to endianess support.
curt
2001-04-06 21:26:34 +00:00
2294283506Tweaks to lowlevel.[ch]xx from Norman.
curt
2001-04-06 18:08:07 +00:00
cebcf6a4fcExpanded doxygen comments and added the SGThread::set_cancel() function.
curt
2001-04-06 14:30:42 +00:00
a79a78b6e6Ooops, commit Makefile.am not .in.
curt
2001-04-05 23:01:04 +00:00
c6ad744ce2Added support for byte swapping based on endianess. Note the assumption is that files are stored in little endian order so if reads or writes are done from a big endian machine, the contents must be byte swapped.
curt
2001-04-05 21:51:32 +00:00
b430b3c8dfAdded simgear/threads contributed by Bernie Bright.
curt
2001-04-05 15:58:41 +00:00
b8e93e6099Fixes for native Irix compilers.
curt
2001-04-02 00:23:46 +00:00
a84a88bf09- started adding doc comments to simgear/misc/props.hxx - fixed some minor bugs in simgear/misc/props-io.cxx relating to the new LONG type
curt
2001-03-29 01:35:00 +00:00