Commit Graph

13723 Commits

Author SHA1 Message Date
Robert Osfield
917d065292 Added use of ref_ptr<> to fix memory leak 2016-06-10 16:44:50 +01:00
Robert Osfield
813c103232 Restructed to fix memory leak 2016-06-10 16:41:13 +01:00
Robert Osfield
5a6d4f69e1 Added use of ref_ptr<> to fix memory leak 2016-06-10 16:36:13 +01:00
Robert Osfield
4b3c7e47a5 Added ref_ptr<> usage to address memory leaks 2016-06-10 16:34:36 +01:00
Robert Osfield
79dd8111a5 Added missing intializers to address Coverity issue 2016-06-10 16:30:21 +01:00
Robert Osfield
615114c900 Added assert() to make it clear to Coverity that both prev and next won't be null 2016-06-10 16:16:29 +01:00
Robert Osfield
40725ad707 Fixed memory leak detected by Coverity 2016-06-10 15:53:58 +01:00
Robert Osfield
6d18b3d74e Fixed memory leak detected by Coverity 2016-06-10 15:49:24 +01:00
Robert Osfield
05a505fb1f Fixed "User after free" bugs reported by Coverity. 2016-06-10 15:24:19 +01:00
Robert Osfield
73f321c472 Fixed potential memory leak by introducing ref counting. 2016-06-10 14:58:42 +01:00
Robert Osfield
38d91ca3fe Introduced use of local std::string to work around issue of the read header.text not being null terminated and causing a problem with the strstr call. 2016-06-10 14:36:50 +01:00
Robert Osfield
6a65b935fa Fixed uninitialized member variable. 2016-06-10 14:16:49 +01:00
Robert Osfield
9206d2a962 Restructed variable ordering and added missing va_end(). 2016-06-10 14:09:43 +01:00
Robert Osfield
9e5817c387 Fixed line endings 2016-06-10 14:09:03 +01:00
Robert Osfield
bdf3600011 Restructed fgetc usage. 2016-06-10 14:02:55 +01:00
Robert Osfield
fc1b963107 Fixing some of the more glaring coding errors in DW plugin. 2016-06-10 13:42:13 +01:00
Robert Osfield
12635b6571 Reordered paramter usage to fix coverity warning about parameter names not matching 2016-06-10 13:31:51 +01:00
Robert Osfield
af11e35fcb Fixed invalidated iterator bug pick up by Coverity. 2016-06-10 12:44:26 +01:00
Robert Osfield
69046511de Fixed iterator invalidation bug picked by Covertiy scan. 2016-06-10 12:03:48 +01:00
Robert Osfield
721e079211 Rewrote Window::setNextFocusable() to address a bug in the management of the search iterator. Covertiy reported bug "Undefined behavior may result; the program may crash or subtly misbehave.
In osgWidget::​Window::​setNextFocusable(): An invalid or past-the-end iterator is being used."
2016-06-09 12:08:47 +01:00
Robert Osfield
9ec4da47f5 Fixed "Using invalid iterator" bug in getTile() methods, detected by Covertity. 2016-06-09 11:41:14 +01:00
OpenSceneGraph git repository
1f240051c5 Merge pull request #80 from jtorresfabra/changeReadmeToMD
Changed Readme file to markdown
2016-06-09 11:29:03 +01:00
Jordi Torres
575f6f0cf3 Changed Readme file to markdown 2016-06-09 12:18:44 +02:00
OpenSceneGraph git repository
cef3db6e64 Merge pull request #79 from jtorresfabra/addTravisStatus
Added travis CI status label to github
2016-06-09 10:59:44 +01:00
Jordi Torres
aea8c2761c Added travis CI status label to github 2016-06-09 11:50:12 +02:00
Julien Valentin
ac26ba7e5b Shader subroutine related funcs added 2016-06-09 10:48:05 +01:00
Sebastian Messerschmidt
7ccf16b83d OpenFlight-plugin with extended attributes.
Added the addtional properties (terrain, roofline and footprint) alongside with the SMC/FID attributes. Also I added the newly added IRMaterial to the per-geode properties.
Added the Texture-EffectId and the mapping index as a user-value to the texture object.
Naming scheme is the same as for the per-vertex/geode attributes.
2016-06-09 10:15:38 +01:00
OpenSceneGraph git repository
6db4ec5c08 Merge pull request #78 from LaurensVoerman/master
visual studio 2015 warning fixes:
2016-06-08 16:48:29 +01:00
Robert Osfield
01ae93619a Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph 2016-06-08 16:10:48 +01:00
OpenSceneGraph git repository
c18d344e09 Merge pull request #76 from jtorresfabra/travis-add
initial travis file, support for ubuntu trusty and osx builds
2016-06-08 16:10:39 +01:00
Laurens Voerman
09badeb19c Merge remote-tracking branch 'upstream/master' 2016-06-08 16:16:48 +02:00
Robert Osfield
121cbf09c5 Fixed unused parameter warning. 2016-06-08 13:50:20 +01:00
Robert Osfield
656649084d Fixed unused parameter warning. 2016-06-08 13:40:02 +01:00
Robert Osfield
9290aaad0f Fixed unused parameter warning. 2016-06-08 13:38:40 +01:00
Robert Osfield
018022fd9b Fixed unused parameter warning. 2016-06-08 13:37:17 +01:00
Robert Osfield
d55b64061b Fixed unused parameter warning. 2016-06-08 13:36:18 +01:00
Robert Osfield
4e04265212 Fixed unused parameter warning. 2016-06-08 13:35:46 +01:00
Robert Osfield
dbb88b5456 Fixed unused parameter warning. 2016-06-08 13:34:55 +01:00
Robert Osfield
69a0a7331c Fixed unused parameter warning. 2016-06-08 13:34:33 +01:00
Robert Osfield
ec0e30017c Fixed unused parameter warning. 2016-06-08 13:32:14 +01:00
Robert Osfield
d2129d4b9a Fixed unused parameter warning. 2016-06-08 13:30:09 +01:00
Robert Osfield
67361b8947 Fixed unused parameter warning. 2016-06-08 13:28:18 +01:00
Robert Osfield
4e39f98854 Fixed unused parameter warning. 2016-06-08 13:26:00 +01:00
Robert Osfield
1eaaaac340 Fixed unused parameter warning. 2016-06-08 13:25:02 +01:00
Robert Osfield
d022da5906 Disabled -Wextra as the warning it generates is bengin and fixing it would introduce warnings on other platforms 2016-06-08 13:22:54 +01:00
Laurens Voerman
075de21af1 visual studio 2015 warning fixes:
OpenSceneGraph\src\osgPlugins\dae\daeRAnimations.cpp(470): warning C4456: declaration of 'kfCntr' hides previous local declaration
  OpenSceneGraph\src\osgPlugins\dae\daeRAnimations.cpp(452): note: see declaration of 'kfCntr'
OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(202): warning C4456: declaration of 'i' hides previous local declaration
  OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(188): note: see declaration of 'i'
OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(226): warning C4456: declaration of 'i' hides previous local declaration
  OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(188): note: see declaration of 'i'
OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(243): warning C4456: declaration of 'i' hides previous local declaration
  OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(188): note: see declaration of 'i'
OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(253): warning C4456: declaration of 'i' hides previous local declaration
  OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(188): note: see declaration of 'i'
2016-06-08 14:22:14 +02:00
Robert Osfield
b72929d84b Fixed unused parameter warning. 2016-06-08 13:20:07 +01:00
Robert Osfield
0cb00424ee Fixed -Wextra warnings 2016-06-08 12:26:40 +01:00
Robert Osfield
59a1d79713 Fixed -Wextra warnings 2016-06-08 12:24:46 +01:00
Robert Osfield
94881d45a6 Fixed unused parameter warning. 2016-06-08 12:22:27 +01:00