Added setResolution, setScreenMode and setFullscreen methods to Stage.
SDL_JOYDEVICEADDED and JOYDEVICEREMOVED Lime link

SDL_JOYDEVICEADDED, SDL_JOYDEVICEREMOVED for desktop builds Lime link
(tested working on mac os x).

Implementation :
Lib.current.stage.addEventListener(JoystickEvent.DEVICE_ADDED,
onJoyConnected);
Lib.current.stage.addEventListener(JoystickEvent.DEVICE_REMOVED,
onJoyDisconnected);

private function onJoyConnected(e:JoystickEvent):Void {
		//we can grab e.device;
}
private function onJoyDisconnected(e:JoystickEvent):Void {
		//we can grab e.device;
}
Do not poll events when application is closing
Updates for pre-multiplied alpha
Removing unnecessary nested loop structure and unused variables from paletteMap.
Try a new Android timing scheme (thanks Hugh)
Do not overdo the adding of timers when render is pending (thanks Hugh)
Guard Android immersive setting for fullscreen=true only (thanks kasoki)
Add 'count' parameter to drawTiles
Remove Android frame rate restriction (new Android timing code appears to fix it)
Merge pull request #178 from bendmorris/palettemap

Simplifying and speeding up BitmapData.paletteMap
Audio threading fixes

Memory related, see 02f49e897f39b4e0ce44adc1e9f4ca3361ee04c8 comments
for discussion

Notes:
- Not using send/read message for the threads anymore, just a single
bool in a mutex
- Moved the on complete event to the runCheckComplete function because
its a common event fire and cleans up the code further
- audio state remove sets the flags needed for a sound to not be in the
thread entirely, this is used when a sound is completed also
Audio thread fixes

mutex should prevent thread sync complaint from openal

2bc2521d3e7c489a726c07bb28d2e3ff82778df8
Merge pull request #142 from RobDangerous/master

Added setResolution, setScreenMode and setFullscreen methods to Stage.
Mouse; updating code to match lime changes to sx/sy -> scaleX/scaleY

see
https://github.com/openfl/lime/commit/b1bba0cae7dae2a6cacc0da16d9080ed54
e29311
Move template files to Lime, where appropriate
Fix perlinNoise/OptimizedPerlin: octaves wasnt set

Octaves wasn't set properly in OptimizedPerlin class (division by 0 in native targets). Although it now works on native targets, we're still missing stitch, fractalNoise, channelOptions, grayScale arguments for it to fully reflect Flash's computed results.
Merge pull request #187 from Hasufel/patch-1

Fix perlinNoise/OptimizedPerlin: octaves wasnt set
Add FrameLabel support
Merge pull request #188 from raggy/master

Add FrameLabel support