From 5a8aee3edef03959b24b5712befbcbba2f1df525 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 29 Jan 2014 11:08:29 +0000 Subject: [PATCH] Updated ChangeLog --- ChangeLog | 466 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 466 insertions(+) diff --git a/ChangeLog b/ChangeLog index 98b5e6a43..2d9008a86 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,469 @@ +2014-01-28 16:48 robert + + * CMakeModules/OsgMacroUtils.cmake: Fixed MingW build's handling of + debug d postfix. + +2014-01-28 16:47 robert + + * src/osgPlugins/cfg/ConfigParser.cpp: Disabled the compiler + invocation at runtime. + +2014-01-24 17:31 robert + + * src/osg/Geometry.cpp: From Laurens Voerman, "I experienced a + crash in Geometry::fixDeprecatedData(), on certain files, and + brought the problem down to a very simple test file, attached as + test3.zip. + + There are two problems: + 1> for DrawElementsUShortPrimitiveType (and UInt) the + source_pindex still equals -1 and causes a crash + in DrawElementsUBytePrimitiveType source_pindex is incremented, + and in DrawElementsU(Short/Int)PrimitiveType primitiveNum is + incremented, but never used + + 2> The drawelements need to be rewritten as the vertices are + reordered. + + created a patch for osg stable branch(r14038): attached as + Geometry-osg-3.2.zip + and for svn brach(r14044): attached as Geometry_osg_svn.zip" + +2014-01-24 17:06 robert + + * src/osg/FrameBufferObject.cpp: From Aurelien Albert, "In the + "apply" method of osg::FrameBufferObject, the draw buffers are + always enabled, even if the target is only "READ_FRAMEBUFFER". + + This can lead to inconsistency if you bind a framebuffer with + multiple attachments in DRAW mode and then a framebuffer with + different attachment count in READ mode (for example to manually + "blit" from a FBo to another). + + On some ATI cards (at least RADEON HD) this also leads to an + "incomplete " FBO status + + I've added a test to enable drawbuffers only if target is "DRAW" + or "READ_DRAW", this solves my problems on ATI cards." + +2014-01-24 16:45 robert + + * src/osg/KdTree.cpp: From Michael Schanne, "small fix for a + duplicate OR operand in KdTree.cpp." + +2014-01-24 16:28 robert + + * CMakeModules/FindCOLLADA.cmake: From Torben Dannahuer, "modified + findcollada.cmake which can now detect Boost 1.55 libraries, + which are used by Collada in my 3rdParty package" + +2014-01-24 16:24 robert + + * src/osgPlugins/dxf/dxfEntity.cpp, src/osgPlugins/txf/TXFFont.cpp: + From Torben Dannhauer, VisualStudio 2013 build fixes + +2014-01-24 16:02 robert + + * src/osgPlugins/ply/plyfile.cpp: From Marc Helbling, "I am sending + a small fix in the PLY pseudo-loader; the extension was checked + in plyfile.cpp thus preventing the loading of any .PLY file + (extension in uppercase). The extension filtering is already + handled by ReaderWriter::acceptsExtension in a case unsensitive + way." + +2014-01-23 19:55 robert + + * src/osgPlugins/3ds/WriterCompareTriangle.cpp, + src/osgPlugins/3ds/WriterCompareTriangle.h, + src/osgPlugins/3ds/lib3ds/lib3ds_file.c, + src/osgPlugins/dxf/ReaderWriterDXF.cpp, + src/osgPlugins/lwo/lwo2parser.h, src/osgPlugins/zip/unzip.cpp: + Fixed warnings + +2014-01-23 10:09 robert + + * CMakeLists.txt, examples/osgviewerQt/osgviewerQt.cpp: Cleaned up + the Qt find package, and made changed the default threading model + to SingleThreaded when using Qt5 to avoid crash due to + regresssion since Qt4. + +2014-01-23 09:41 robert + + * src/osgUtil/GLObjectsVisitor.cpp: Added clean up of osg::Program + that are applied by the GLObjectsVisitor, which addresses a state + leak that creates GL error once the main scene graph is rendered. + +2014-01-23 07:59 robert + + * src/osg/StateSet.cpp: Added GL_TEXTURE_2D_MULTISAMPLE to texture + mode list. + +2014-01-17 18:22 robert + + * src/osgDB/CMakeLists.txt: From Stephan Huber, OSX build fix + +2014-01-17 14:02 robert + + * src/osgQt/CMakeLists.txt: From Kristofer Tingdahl, "the patch I + sent to src/osgQt/CMakeModules.txt did not do the work on + windows. I have fixed that, and also made it more generic so + there is no special handling of qt5.2, but all qt5 are the same. + + I have tested this on: + + mac/qt5.2 + linux/qt5.2 + windows/qt5.2, and + mac/qt5.1 + + All platforms perform as expected. + + The previous fix removed the -f flag to the moc-pre-processor, + but on windows, it turned out that -f "osgQt/QGraphicsViewer" was + needed. + + This becomes an include-statement in the file generated by moc + which is needed for compiling it. I ask you consider this patch + for the trunk and the 3.2 branch. + + + Secondly, I wonder if it would be possible to apply my patch for + FindRSVG.cmake from 22nd November in the 3.2 branch. + + In short, the version of librsvg must be equal or higher to 2.35: + + PKG_CHECK_MODULES(RSVG librsvg-2.0>=2.35) + " + +2014-01-17 13:53 robert + + * src/osgPlugins/curl/ReaderWriterCURL.cpp: From Jordi Torres, + "Fixed a typo in ReaderWriterCURL::ReaderWriterCURL() changed + Psuedo for Pseudo." + +2014-01-08 10:32 robert + + * src/osgPlugins/dae/daeRMaterials.cpp: From Farshid Lashkari, + "I've attached a fix for the Collada loader that prevents a crash + with some files containing textures. I also converted an + OSG_NOTICE to OSG_INFO to be consistent with other log messages + within the loader." + +2014-01-08 10:31 robert + + * src/osgPlugins/dae/daeRMaterials.cpp: Removed more odd characters + +2014-01-08 10:28 robert + + * src/osgPlugins/dae/daeRMaterials.cpp: Removed more odd characters + +2014-01-08 10:24 robert + + * src/osgPlugins/dae/daeRMaterials.cpp: Removed odd characters + +2014-01-07 16:43 robert + + * CMakeModules/FindAsio.cmake, CMakeModules/FindZeroConf.cmake: + Removed execute permissions using svn propdel svn:executable file + +2014-01-07 16:29 robert + + * src/osgPlugins/dae/daeWTransforms.cpp: From Farshid Lashkari, + "I've attached a small change to the DAE writer to support + writing out unknown transform types. It will essentially treat it + as a matrix transform, using the the local to world matrix + value." + +2014-01-07 16:16 robert + + * examples/osgcomputeshaders/osgcomputeshaders.cpp: From Sebastian + Messerschmidt, "Original shader was not running on various NVidia + cards due to old syntax in shader." + +2014-01-07 11:02 robert + + * include/OpenThreads/Version, src/OpenThreads/CMakeLists.txt: + Updated SO_VERSION of OpenThreads to avoid conflicts with Debian + increments to the SO version they have bumped for OpenThreads + +2014-01-07 11:01 robert + + * include/osg/State: Added State::getMaxTextureCoords() and + State::getMaxTextureUnits() inline methods. + +2014-01-06 10:23 robert + + * CMakeModules/FindOSG.cmake: Renamed the OSGSIM cmake variable to + OSGSIM_LIBRARY to be consistent with the rest of the variables. + +2013-12-19 17:13 robert + + * src/osgQt/CMakeLists.txt: From Kristofer Tingdahl, "the syntax of + the moc executable has changed between 5.1.1 and 5.2.0 versions + of qt (see below). The difference is that the argument has + become mandatory after the -f option. + + Hence, moc will complain when osg throws in a -f without anything + after it. Hence I propose removing the -f on Qt5 builds. I have + tested building without -f on both qt520 and qt511, and that + works well. + + The attached src/osgQt/CMakeLists.txt that can be patched into + 3.2 safely. For the trunk, I would consider dropping the check on + the version, and simply remove the option on qt5. I have tested + that on qt5.1.1, and that worked fine. Question is however if it + works on qt5.0. Probably it does, so the question is simplicity + of CMakeList.txt vs safety." + +2013-12-06 09:36 robert + + * src/osgPlugins/freetype/FreeTypeFont.cpp: From Mike Krus, compile + fix to enable compiling across a wider set of versions. + +2013-11-22 10:33 robert + + * src/osgWrappers/serializers/osgGA/CMakeLists.txt: From Stephan + Huber, workaround for Clang bug under Apple + +2013-11-22 10:27 robert + + * src/osg/glu/libutil/mipmap.cpp, src/osgShadow/DebugShadowMap.cpp, + src/osgViewer/ViewerEventHandlers.cpp: Warning fixes + +2013-11-22 10:10 robert + + * include/osgShadow/ShadowSettings, include/osgViewer/Keystone, + src/osg/glu/libutil/error.cpp, + src/osgViewer/config/WoWVxDisplay.cpp: Clean up of line endings + +2013-11-21 14:09 robert + + * CMakeModules/CheckAtomicOps.cmake, + examples/osgviewerIPhone/iphoneViewerAppDelegate.h, + src/osgViewer/GraphicsWindowIOS.mm: From Stephan Huber, "attached + you’ll find some minor ios-fixes/-enhancements + + * force _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC for IOS device + + simulator as the test does not pick the right implementation + * fixed a small compile-bug for iphone-example + * added a check to prevent multiple realization of a + GraphicsWindowIOS-object + " + +2013-11-21 13:58 robert + + * src/osgDB/InputStream.cpp, src/osgPlugins/ive/Image.cpp: From + Farshid Lashkari, "I recently encountered an issue attempting to + load an IVE file generated by an older version of OSG. The file + contained dxt1 compressed image data with mipmaps. The loaded + model would cause crashes when passing the mipmap data to + glCompressedTexImage2D. It seems that the size of the data array + within the IVE file did not match the computed size from + Image::getTotalSizeInBytesIncludingMipmaps(). This essentially + made the mipmap offsets invalid within the Image object. + + I'm not sure if the IVE was simply generated incorrectly, or if + the Image::getTotalSizeInBytesIncludingMipmaps() was modified + since the file was generated. Either way, I added a simple check + in the IVE loader so that it clears the mipmap offsets if the + actual data size does not match the computed data size. This + seems like a safe fallback since the mipmap data can be + automatically generated, and it fixes the problem in my case. + + Also, while looking into this issue, I noticed that the + osgDB::InputStream class applies the serialized image allocation + mode. However, since the serializer is allocating the image data + itself, it seems like it should force the allocation mode to + USE_NEW_DELETE. + " + +2013-11-21 11:00 robert + + * src/osgText/Glyph.cpp: Changed std::max to osg::minimum to addres + build error under VS2013. + +2013-10-25 15:48 robert + + * CMakeLists.txt, src/osgWrappers/serializers/osg/Geometry.cpp: + Removed -fpermissive flag from GCC build, and fixed warning + +2013-10-25 15:47 robert + + * src/osgViewer/Keystone.cpp: Added explict setting of the + PolygonMode to over the distion mesh being toggled to wireframe. + +2013-10-24 20:22 robert + + * examples/osghangglide/terrain.cpp: Fixed warning + +2013-10-24 19:56 robert + + * src/osgPlugins/pdf/ReaderWriterPDF.cpp: Removed deprecated glib + call + +2013-10-24 19:31 robert + + * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Fixed FileInfo self + initialization bug + +2013-10-22 16:28 robert + + * src/osgPlugins/svg/ReaderWriterSVG.cpp: Fixed warnings + +2013-10-22 11:33 robert + + * src/osgPlugins/osg/ReaderWriterOSG2.cpp, + src/osgPlugins/osga/OSGA_Archive.cpp: From Colin McDonald, two + submissions merged from svn/trunk: + + "The osgb file reader uses seek to position within the file. + But the nested stream implementation for osga archive files + doesn't + support seeking. So osgb files can't currently be used in an osga + archive e.g. if osgdem is used to output a osgb format database + it + can't be packaged in an archive file, in the same manner that ive + files could. + + I've added seek support to the osga nested stream + implementation." + + + "The osgt/osgb file formats output a scenegraph node with the + type + set to "SCENE" in the file header. But if the file is stored and + then extracted again from an osga archive this header info is + lost, + and the resulting file is just an "OBJECT". Possibly other plugin + operations would have the same effect. The osgt/osgb plugin won't + then return the scenegraph contents. + + I have updated the osgt/osgb plugin to return a node from an + "OBJECT" + file." + +2013-10-22 11:17 robert + + * src/osg/State.cpp: Fixed handling of in scene graph osg::Program + being overriden by shader composition. + +2013-10-21 17:44 robert + + * src/osg/GraphicsContext.cpp: From Robert Milharcic, workaround + for ShaderComposer clean up bug. + +2013-10-21 09:56 robert + + * src/osgPlugins/imageio/ReaderWriterImageIO.cpp, + src/osgPlugins/vtf/ReaderWriterVTF.cpp, + src/osgPlugins/x/directx.cpp: Build fixes for clang + +2013-10-18 09:57 robert + + * src/osgPlugins/dae/daeReader.cpp: From Farshid Lashkari, + "previously discussed change to the dae loader which applies the + node ID as a "dae_node_id" user value." + +2013-10-18 08:37 robert + + * include/osg/Node: From Vladimir Chebeav, fix for removal of + nested callbacks + +2013-10-18 07:54 robert + + * src/osgPlugins/fbx/fbxRLight.cpp: From Konstantin Matveyev, + "Multiple light fix in FBX-importer" + +2013-10-18 07:52 robert + + * src/osgWrappers/serializers/osg/LibraryWrapper.cpp: From Colin + McDonald, "Added some missing updates to the serializer static + build support." + +2013-10-17 18:34 robert + + * examples/osgviewerCocoa/CMakeLists.txt, + examples/osgviewerCocoa/main.m, examples/osgviewerCocoa/main.mm: + Build fix + +2013-10-17 18:29 robert + + * src/osg/Program.cpp: Fix for error in getting the uniform block + max name length, fix suggested by Christopher Fennell. + +2013-10-10 20:42 robert + + * src/osgAnimation/RigTransformHardware.cpp: From Pjotr Svetachov, + "With the new osg::Geometry the binding for arrays now default to + undefined. This breaks previously working code in + osgAnimation::RigTransformHardware where the arrays got an + undefined bounding and because of this the bone indices and + weights were not loaded by the shader. Here is a little patch to + fix this." + +2013-10-07 10:40 robert + + * CMakeLists.txt: Updated rc number + +2013-10-07 10:38 robert + + * CMakeLists.txt, CMakeModules/FindAVFoundation.cmake, + CMakeModules/OsgMacroUtils.cmake, + examples/osgviewerIPhone/CMakeLists.txt, + examples/osgviewerIPhone/iphoneViewerAppDelegate.h, + examples/osgviewerIPhone/iphoneViewerAppDelegate.mm, + examples/osgviewerIPhone/osgPlugins.h, + src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, + src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp, + src/osgPlugins/ZeroConfDevice/AutoDiscoveryBonjourImpl.mm, + src/osgPlugins/avfoundation/CMakeLists.txt, + src/osgPlugins/osc/OscSendingDevice.cpp, + src/osgViewer/GraphicsWindowCocoa.mm, + src/osgViewer/GraphicsWindowIOS.mm: From Stephan Huber, "attached + you’ll find a bunch of fixes + enhancements for iOS and OS X + based on current trunk. I incorporated + tested the submission + from Colin Cochran, so his submission is not needed anymore. + + * fixed a bug with multi-touch and touch-id-generation on iOS and + OS X. (will fix a bug reported by Colin Cochran, without ditching + the existing logic) + * removed unnecessary warning-flagss when generating + xcode-projects via cmake, will enable the usage of + OSG_AGGRESSIVE_WARNING_FLAGS + * added support for 10.9 (OS X) + * new cmake-variable: IPHONE_VERSION_MIN, this will set the + deployment-target (previously hard-coded) If you set the + IPHONE_VERSION_MIN to something like 7.0 osg gets compiled also + for 64bit (amd64) + * cmake defaults now to the clang compiler if IPHONE_VERSION_MIN + > 4.2 + * cmake now sets some xcode-settings so the compiler uses the + c++98-standard (clang defaults to c++11, w/o this I got a lot of + linking errors) + * removed include-dir for avfoundation-plugin as not needed on + OSX/IOS. + * enhanced the ios-example, will now show multitouch-information + on a hud (similar to the osgmultitouch-example), and more + importantly, will compile + link out of the box + * small enhancements for the osc-device-plugin (send only one msg + for MOVE/DRAG, even if multiple msgs/event is enabled) + * better memory-handling for the zeroconf-plugin + * fixed a possible bug in the rest-http-plugin when receiving + mouse-events. + * incorporated a fix from Colin Cochran "forwarded touch events + are not transformed into the GL UIView“ + " + +2013-10-03 16:13 robert + + * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated + Controbutors to fix errors + +2013-10-03 15:40 robert + + * AUTHORS.txt, ChangeLog: Updated AUTHORS and ChangeLog for + 3.2.1-rc1 + 2013-10-03 15:29 robert * CMakeLists.txt, include/osg/Version: Updated versions in prep for