OpenSceneGraph/include/osgDB
Robert Osfield 22868bce4f From Stephan Huber, "attached you'll find a zip containing some bug-fixes and some refactored + new code.
* ZeroConfDevice does now return FILE_NOT_HANDLED instead of FILE_NOT_FOUND
* present3D supports multiple devices per env-var P3D_DEVICE, separate multiple device with a space

I refactored parts the p3d-plugin, the curl-plugin and parts of Registry and ReaderWriter. Currently the p3d-plugin tries to open all remote files with the help of the curl-plugin.

I added a new method to Registry called getReaderWriterForProtocolAndExtension. which will return a ReaderWriter which is capable in handling the remote file for the given protocol and extension. If no readerwriter is found for the given extension, a list is built of all readerwriters supporting the given protocol and this list is checked for support of wildcards (extension = "*"). If anything matches it get returned.

I added this principle also to the Registry, so now it's possible to register a generic ReaderWriter which can handle all filetypes for a given protocol, similar what curl is doing. All you have to do is to load the plugin at startup. The curl-fallback is still in place.

With these changes it is now possible to reference a movie inside a presentation without a server-address, read the presentation (with curl) and stream the movie with the correct plugin (e.g. QTKit)

"
2012-12-07 19:05:47 +00:00
..
Archive Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
AuthenticationMap Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
Callbacks Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
ConvertUTF Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
DatabasePager Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
DatabaseRevisions Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
DataTypes From Wang Rui, "I'd like to submit the changes that will put ObjectProperty and ObjectMark variables into the InputStream/OutputStream class instead of static ones. This should avoid the threading problem and won't repeatedly reallocate memory for the properties. Some of the wrappers will be slightly modified to use the property variable stored in the InputStream/OutputStream as well." 2012-04-05 13:53:47 +00:00
DotOsgWrapper Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
DynamicLibrary Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
Export Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
ExternalFileWriter Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
FileCache Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
FileNameUtils Added osgDB::getSortedDirectoryContents and osgDB::FileNameComparator to help with sorting directory contents into alphabetic and numerical order. 2012-09-12 16:02:02 +00:00
FileUtils Added osgDB::getSortedDirectoryContents and osgDB::FileNameComparator to help with sorting directory contents into alphabetic and numerical order. 2012-09-12 16:02:02 +00:00
fstream Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
ImageOptions Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
ImagePager Added first step to adding pruning of expired image requests. 2012-11-13 11:45:20 +00:00
ImageProcessor Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
Input Refactored osgDB::Input::readObjectOfType to use a template, and updated associated wrappers to avoid using local static's 2012-11-21 13:38:11 +00:00
InputStream From Wang Rui, "I'd like to submit the changes that will put ObjectProperty and ObjectMark variables into the InputStream/OutputStream class instead of static ones. This should avoid the threading problem and won't repeatedly reallocate memory for the properties. Some of the wrappers will be slightly modified to use the property variable stored in the InputStream/OutputStream as well." 2012-04-05 13:53:47 +00:00
ObjectWrapper From Wang Rui, "I modified the Serializer header to add a UPDATE_TO_VERSION_SCOPED 2012-10-09 16:05:50 +00:00
Options Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
Output Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
OutputStream From Wang Rui, "I'd like to submit the changes that will put ObjectProperty and ObjectMark variables into the InputStream/OutputStream class instead of static ones. This should avoid the threading problem and won't repeatedly reallocate memory for the properties. Some of the wrappers will be slightly modified to use the property variable stored in the InputStream/OutputStream as well." 2012-04-05 13:53:47 +00:00
ParameterOutput Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
PluginQuery Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
ReaderWriter From Stephan Huber, "attached you'll find a zip containing some bug-fixes and some refactored + new code. 2012-12-07 19:05:47 +00:00
ReadFile Added osgGA::Device class for integration of both physical and virtual devices. 2012-10-23 16:15:03 +00:00
Registry From Stephan Huber, "attached you'll find a zip containing some bug-fixes and some refactored + new code. 2012-12-07 19:05:47 +00:00
Serializer From Wang Rui, "I modified the Serializer header to add a UPDATE_TO_VERSION_SCOPED 2012-10-09 16:05:50 +00:00
SharedStateManager Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
StreamOperator Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
Version Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
WriteFile Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00
XmlParser Ran script to remove trailing spaces and tabs 2012-03-21 17:36:20 +00:00