Robert Osfield
790a1ea66f
From Alan Harris, "Registry and Archive
...
~~~~~~~~~~~~~~~~~~~~~~~~~
This is a simple change to permit databases other than those named
"*.osga" to be used. It is hardcoded in read() at present.
It is non-critical and does not affect existing program functionality.
Registry and Registry.cpp
~~~~~~~~~~~~~~~~~~~~~~~~~
Added a new typedef: typedef std::vector< std::string>
ArchiveExtensionList;
a list of extensions: ArchiveExtensionList _archiveExtList;
and an "add" method: addArchiveExtension(const std::string ext)
This is initialised by adding "osga" in Registry() and used in
Registry::read() where the list is searched for the extension used.
Archive.cpp
~~~~~~~~~~~
This submission is a little more tentative. openArchive() is modified to
automatically add the filename extension to the Registry extension list.
"
2007-05-09 09:43:18 +00:00
Robert Osfield
f1c2694c17
Updated copyright years.
2006-07-18 15:21:48 +00:00
Robert Osfield
678b22ce83
Updated Copyright notices to 1998-2005.
2005-04-14 21:41:28 +00:00
Robert Osfield
c0c02d6c24
Fixed caching of archives
2004-11-25 15:09:56 +00:00
Robert Osfield
a6369da4f4
Moved Registry::CacheHintOptions into ReaderWriter::Options
2004-11-22 14:10:12 +00:00
Robert Osfield
6f96cf4ad2
Moved the .osga implementation into the src/osgPlugins/osga plugin and made
...
osgDB::Archive a pure virtual base class.
2004-11-11 13:22:55 +00:00
Robert Osfield
9fcda76143
Fixed uninitialized variable.
2004-11-10 22:11:28 +00:00
Robert Osfield
8ba55e2922
Added debugging info for swapped endian values
2004-11-10 21:47:08 +00:00
Robert Osfield
84e60f5884
Fixes to endian handling.
2004-11-10 21:38:54 +00:00
Robert Osfield
258fd88a1e
Removed duplicated swap bytes
2004-11-10 21:31:44 +00:00
Robert Osfield
d397b5b90b
Added sizeof tests of istream::pos_type and off_type to osgunittests.
...
Added debuggin messages to endian handling code in Archive::open().
2004-11-10 21:28:06 +00:00
Robert Osfield
3523577235
Added check for endianess of .osga archives
2004-11-10 21:18:31 +00:00
Robert Osfield
4e19c03de1
Added support for master file and clean up Archive API.
2004-11-10 13:03:52 +00:00
Robert Osfield
564869487a
Added support of archiving into osgTerrain::DataSet and osgdem.
2004-11-09 14:18:29 +00:00
Robert Osfield
d26c8460dc
Updates to osgDB::Archive support, and refactoring of implementation of
...
reading files in Registry to faciliate the new archiving support.
2004-11-08 16:11:07 +00:00
Robert Osfield
f84f8d87e0
Added support for openArchive into osgDB
2004-11-07 21:17:31 +00:00
Robert Osfield
f44ecb1f65
Fixed insertion of files into an existing archive
2004-11-07 12:13:56 +00:00
Robert Osfield
8d6aa8b405
Further work on osgDB::Archive
2004-11-06 21:18:19 +00:00
Robert Osfield
c691860b5c
Improved handling of uflow and underflow() in proxy_streambuf, and change
...
unsigned char* to char* to avoid stoooopid VS6.0 compile errors
2004-11-02 21:04:14 +00:00
Robert Osfield
ffca165611
Added prelimanary prox stream buffer to fake the ending of file.
2004-11-02 17:05:15 +00:00
Robert Osfield
013c963a6b
Added return type to addFileReference().
2004-10-28 13:04:35 +00:00
Robert Osfield
70e636bf15
Added return value to getFileReferences()
2004-10-28 13:02:33 +00:00
Robert Osfield
90e5586777
Updates to osgDB::Archive, and IVE plugin to support usage via the Archive.
2004-10-28 12:16:47 +00:00
Robert Osfield
61b0f5d301
Added IndexBlock inner class to osgDB::Archive
2004-10-27 14:09:24 +00:00
Robert Osfield
676f204cdb
Updates to osgDB::Archive
2004-10-26 18:29:27 +00:00
Robert Osfield
66836ef3d0
Added new osgDB::Archive class, and osgarchive example. These are both
...
very early beginnings so do not function yet.
2004-10-25 19:16:38 +00:00