[GL] Added support for AMD_interleaved_elements.
Correct the Y position of Display.setLocation(x, y) on OS X
Merge branch 'master' of https://github.com/LWJGL/lwjgl.git
Mac OS X: fix custom mouse cursor image

According to
https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/A
pplicationKit/Classes/nsbitmapimagerep_Class/Reference/Reference.html
the data referenced by the "planes" parameter will not be copied into
the NSBitmapImageRep class.

This means that when the referenced data changes (which is very likely
in our case since the data is retrieved from Java by
GetDirectBufferAddress()) we see exactly the effect described in the
LWJGL forum here: http://lwjgl.org/forum/index.php/topic,5007.0.html

The Apple class reference documentation linked above also describes
that when the "planes" parameter is NULL then the NSBitmapImageRep
class will allocate enough memory to store the image data and will
automatically free the allocated memory when the NSBitmapImageRep
instance is freed. In this case the data can be accessed with the
"bitmapData" method.

Which is exactly what we'll do now: pass NULL into the method to let it
allocate memory and then simply memcpy our image data into that area.

This seems to fix the mouse cursor image.
Merge pull request #33 from void256/master

Mac OS X: fix custom mouse cursor image
Modified browser launchers in Linux Sys.openURL method.

Added `sensible-browser' as the first browser launcher option, even before `xdg-open'.
`sensible-browser' tries to open an URL using the preferred web browser, while `xdg-open' just to open a resource (not just an URL) with the preferred application.
Since the method is called openURL and a URL (Uniform Resource Locator) is a web address, `sensible-browser' fits the functionality better.
A notable difference would be calling Sys.openURL('localhost').
Since `localhost' has no leading `http://', `xdg-open' would try to open a `localhost' file and fail, while `sensible-browser' would launch the appropriate browser.

While `sensible-browser' is particular of Debian-based systems and is not as common as xdg-open, this does not negatively affect systems that do not have `sensible-browser':
Were it not present in the system, the rest of the browser launchers would be tried, starting by `xdg-open'.

Added `iceweasel' after `firefox'. `iceweasel' is the Debian fork of Firefox.

Added `google-chrome' and `chromium'. `chromium' is provided in Debian instead of `google-chrome'.
Since the stats in http://www.w3schools.com/browsers/browsers_stats.asp show that Google Chrome is used by more users than Firefox, I put both Google Chrome and Chromium before Firefox in the list.
This change will not affect most of the users, as they will have a preferred browser set up with either `sensible-browser' or `xdg-open'.
Merge pull request #34 from lquesada/master

Modified browser launchers in Linux Sys.openURL method
Added alternative GetVertexAttribPointerv method.
Added alternative GetVertexAttribPointerv method.
Workaround for weird Intel driver behavior.
Fixed typo in KHRDebug callback pointer.
Add code to support OS X 10.5, hopefully should allow LWJGL to also now
run on OS X 10.5
another fix for OS X 10.5
Fixed small typo in code for OS X 10.5, totally the fault of GCC for not
flagging up the error :)
Further fixes/amendments for OS X 10.5 compatibility
And some more 10.5.8 compat fixes.
fix OS X issue where mouse was moving on mouse scroll wheel events.
Add equals method to Vector2f, Vector3f and Vector4f.
Added a DrawElements version with explicit count & type parameters.
Fixed pointer array init for NIO buffers.