#53 fix initial click problem that occured in some cases
#223 apply absolute clip only when it is enabled + disableAbsoluteClip()

Until now absolute clipping was enabled by default and was being set to
the whole screen. However this lead to problems when panels with
childClip="true" have been moved outside of the screen. For example the
ControlsDemo has a ScrollPanel demo which animates out of the screen.
With absolute clipping enabled (default) the clipping rectangle of the
ScrollPanel was ignored due to the absolute clipping rectangle was
already enabled. This lead to rendering artifacts. In case of the
ControlDemo the big picture that was used as the area to be scrolled
around was displayed completely without being clipped at all.

This change will now apply the absolute clipping ONLY when it is
actually used, e.g. if someone calls nifty.setAbsoluteClip(). If this
method is not called then from now on no absolute clipping is being
applied anymore which fixes the rendering problems in the ControlsDemo.

I'm aware that there might be other problems when absolute clipping is
enabled but I can't fix them right now.

Please Note: Once you enable absolute clipping by a call to
nifty.setAbsoluteClip() it will stay enabled unless you disable it again
with a call to the new method disableAbsoluteClip().
#226 remove last remaining calls to System.currentTimeMillis()
#227 make jogl dependencies 'provided' instead of 'compile'

Please note that this means that you now have to provide the jogl
libraries on your own when you depend on nifty-renderer-jogl2. They will
not be included automatically anymore.
Merge pull request #230 from relu91/1.4

Solves issue #229
Resolved UnsupportedOperation Exception

Collections.unmodifiableMap(kerning)

getKerning returns a unmodifiableMap but your code modifies it.

(AngelFontCode:160) info.getKerning().put((char) second, amount);
UnsupportedOperation Exception
Merge pull request #233 from relu91/1.4

Add subImage-Resize for ImageMode , fixes #225
Merge pull request #232 from Alchemist0823/1.4

Resolved UnsupportedOperation Exception
Merge pull request #235 from relu91/1.4

New styles with sounds and costum effects, fixes #228
 #100 basic support added for changing locale at runtime (text only)

This commit adds support for changing text (TextRenderer) on the fly
when changing the locale using nifty.setLocale(). An example to see that
working has been added as Issue100Main.

The "trick" to make this working is to store the unmodified original
text value inside of the TextRenderer and use it when the locale has
been changed to reinit the TextRenderer with the original value applied.
The TextRenderer already stored the original text value and it already
translated it using the SpecialValuesReplace code! However, so far it
was always called with the already localized text.

To change that we now store in the attributes map additionally to the
translated value the original value. This way when the TextRenderer
is being initialized we can use the original untranslated value!

When the locale is changed using the method nifty.setLocale() a
NiftyLocaleChangedEvent is being published. The TextRenderer now
subscribes to that event and will simply reinitialize itself using
the original text value stored (which will automatically will be
localized using a call to SpecialValuesReplace which was already
in place).

A similar approach could be used for other properties but for the
time being this is only applied to the text attribute of a TextRenderer.
Removed easymockclassextension (was deprecated anyway) and update to 3.2

some test made problems because it was using classes from the easymock
classextension jar and the regular easymock jar. however classextension
has been deprecated some time ago and was therefore removed. tests have
been modified accordingly.
#116 niftyMethodInvokerDebugEnabled added to not supress exceptions

You can now control if Exceptions that occur when the NiftyMethodInvoker
catches an Exception while executing any of the standard interact
handlers are being only logged (the default behaviour) or will be
rethrown so that the whole application crashes (set
niftyMethodInvokerDebugEnabled to true for this mode).

Additionally the logging of the exceptions have been improved, using the
logger framework to log the exception.
Fix color conversion bug introduced in bd08f8ce
Merge pull request #238 from vilarion/1.4

Fix color conversion bug introduced in bd08f8ce
Merge pull request #2 from vilarion/1.4

Fix color conversion bug introduced in bd08f8ce
Merge pull request #239 from mkaring/1.4

Fix color conversion bug introduced in bd08f8ce
Fix broken build from JGLFontRenderer API change.

Problem:

- The JGLFontRenderer API changed the beforeRender method by adding a
customRenderState Object parameter.

- This broke the latest Nifty 1.4-SNAPSHOT build.

Solution:

- Add customRenderState Object parameter to beforeRender method in private
inner class BatchRenderDevice.FontRenderer.

- No functionality has been added to support this parameter, so for now it
is simply unused.

Details:

Error message:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project nifty: Compilation failure: Compilation failure:
[ERROR] nifty-gui/nifty-core/src/main/java/de/lessvoid/nifty/render/batch/BatchRenderDevice.java:[937,10] de.lessvoid.nifty.render.batch.BatchRenderDevice.FontRenderer is not abstract and does not override abstract method beforeRender(java.lang.Object) in org.jglfont.spi.JGLFontRenderer
[ERROR] nifty-gui/nifty-core/src/main/java/de/lessvoid/nifty/render/batch/BatchRenderDevice.java:[1004,4] method does not override or implement a method from a supertype

Broken at:

- File: https://github.com/void256/nifty-gui/blob/1.4/nifty-core/src/main/java/de/lessvoid/nifty/render/batch/BatchRenderDevice.java

Caused by:

- Commit: void256/jglfont@2f37d869ea80d533cc8d0ebfd0f1737fe4098baf "CustomRenderContext feature added"
- File: https://github.com/void256/jglfont/blob/2f37d869ea80d533cc8d0ebfd0f1737fe4098baf/jglfont-core/src/main/java/org/jglfont/spi/JGLFontRenderer.java
- Line: 66
- Author: @void256 ;-)
Merge pull request #240 from 3xp0n3nt/fix-broken-build

Fix broken build from JGLFontRenderer API change.
fix(jogl): removed getGL2() for some GL calls
fix(jogl): missing shader files added and unused shaders removed (core)