Use of observer_ptr to avoid a crash on viewer deletion
Added timeout support to the HTTPClient.
Merge branch 'master' of github.com:gwaldron/osgearth
Merge branch 'master' of github.com:gwaldron/osgearth
FIX #215 : EM: Window resize is not being properly handled. The problem is that osgViewer::View::getCameraContainingPosition() tries to use the camera's EventQueue's "current event state" to figure out the viewport size. But that event state is not up to date after the user resizes the window. The workaround is to check the camera's osg::Viewport first before looking at the event state.
Merge branch 'master' of github.com:gwaldron/osgearth
Merge pull request #223 from aurelien35/BugFix_Controls_2

Bugfix : Event handlers were not removed from the view when Controls are deleted.
Remove disableShaders() property from ModelLayerOptions; add new shaderPolicy() property to GeometryCompilerOptions. We might rethink this later but it works for now. Also, I moved the ShaderGeneration invocation from the individual filters up into GeometryCompiler.
Refactor: moved MapInfo, MapFrame, MapCallback, and MapModelChange into their own files.
ProgressCallback: add stage reporting
Refactor: broke ShaderComposition out into VirtualProgram and ShaderFactory files.
Remove old ShaderComposition.cpp
Merge branch 'master' of github.com:gwaldron/osgearth
Lighting fixes. Also updated the lighting shaders...needs testing under GLES2 though
ShaderFactory: some gles fixes hopefully
Using the osgEarth default font instead of hard coded fonts.
Merge branch 'master' of github.com:gwaldron/osgearth
Shaders: add a preprocessor to include the osg_* lighting uniforms automatically
Merge branch 'master' of github.com:gwaldron/osgearth
An osg::ref_ptr is hold the map during FMG thread operations to avoid map
destruction which can lead to an application crash if the thread try to
access to the map, the map SRS or other informations.