Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Allegro 5.2.2 released!

This thread is locked; no one can reply to it. rss feed Print
Allegro 5.2.2 released!
SiegeLord
Member #7,827
October 2006
avatar

Wow! Yet another release of Allegro!

As a special treat, Windows packages now come with OPUS support so if you're into hipster file formats, you can go wild.

Check out the source archives here.

MSYS2 binaries are available here with the dependency packages available here.

You can grab the MSVC Nuget package here.

Ubuntu and homebrew will be updated in the coming days as usual.

Changes from 5.2.1.1 to 5.2.2 (December 2016)

The main developers this time were: Trent Gamblin, SiegeLord, Elias Pschernig.

Core

  • Don't accumulate time in the timer while it is stopped.


  • Use dynamic OpenGL ES checks, so binaries produced on newer platforms don't crash on older ones.


  • Destabilize the OpenGL extensions API (BREAKING CHANGE!).

Raspberry Pi port

Android port

  • Fix buffer overrun and memory leak in the clipboard support.


  • Add WANT_GLES3 to disable some of the newer features on platforms where they aren't supported.


  • Fix build in Android versions below 3.1.


  • Fix a crash when activity is destroyed/paused.


  • Allow building for android mips, arm64 and mips64.


  • Add al_android_get_jni_env and al_android_get_activity utility functions.


  • Update manifest files for newer Android versions.

Windows port

  • Handle keyboard input properly when Ctrl is pressed (Tobias Scheuer).

Hurd port

  • Define a fallback PATH_MAX (Andreas Rönnquist).

OSX port

  • Clear window to black when going in/out of fullscreen.


  • Fix window centering when going out of FULLSCREEN_WINDOW mode.


  • Fix OSX 10.12 build.


  • Allow 32 bit builds on OSX (Marcus Calhoun-Lopez).

Build system

  • Fix issues with building on GCC6 on Windows.


  • Fix source directory littering while configuring the Android build.

Python binding

  • Add support Python 3 (Gabriel Queiroz).

Documentation

Examples

  • Add kerning to the al_get_glyph example in ex_ttf.


  • Various fixes in ex_camera (Erich Erstu).

SHA256SUMS

0fd76b6b556fec5dd8f587ce694ae7ee7fa2eeb464fa20646615db19b7a836ec  Allegro.5.2.2.0.nupkg
258f264aa4671592adaaaf70ca4bda3660d994f5dc0d3cbd1dfe168f015331c2  allegro-5.2.2.7z
e285b9e12a7b33488c0e7e139326903b9df10e8fa9adbfcfe2e1105b69ce94fc  allegro-5.2.2.tar.gz
b5bbaaf7c21fcd083cb2b458f6587b32a2f7e522b7d1313056db791c003d3645  allegro-5.2.2.zip
ed4d6000fb8a944c818a8f69626bd233c6412ab7d103e7e9d300e01347264db5  AllegroDeps.1.5.0.0.nupkg
5117935298bae6fedec57b92e4e780f52fe9517245cca21cabe7e197519b930c  allegro_deps-mingw-gcc6.2.0-x64-1.5.0.zip
ef485714b316343970c5e110e8d263b5e3e8334d72ad3c45faa303f7133a12b6  allegro_deps-mingw-gcc6.2.0-x86-1.5.0.zip
fdbb4831d59cb9ec874d09da59b7c8cd8e50dc78215b2d6aae510d057be65d48  allegro-mingw-gcc6.2.0-x64-dynamic-5.2.2.zip
0491d5a8de8e620b1e1c22ac31e6e62991f6948d7f95967f91c3b0de4147c906  allegro-mingw-gcc6.2.0-x64-static-5.2.2.zip
6535bb0de6d1caf1bd7d3ba24329cc0a666239d98679116c970e4678a667d645  allegro-mingw-gcc6.2.0-x86-dynamic-5.2.2.zip
bca75a604c5d097e90832d06ab0f3de6a4b50ba290d6b533bd5b38ab4b8104e9  allegro-mingw-gcc6.2.0-x86-static-5.2.2.zip

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

I may not be making binaries for MinGW this time. There have been some unresolved issues with DirectX lately. If I can steal the headers and libs from MSYS2 I might do it, but I don't know what is involved.

As an aside, is it even possible to build Allegro without DirectX support? I know DirectInput is required for Windows, and I don't know about DirectSound. Can OpenAL replace DirectSound? What are the hard and fast requirements for a Windows build?

SiegeLord
Member #7,827
October 2006
avatar

Just DirectInput, I think. OpenAL can replace DirectSound.

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Rodolfo Lam
Member #16,045
August 2015

Wohoo optimizations for Raspberry Pi are welcome! Thanks guys!

Polybios
Member #12,293
October 2010

Great work! :)

SiegeLord said:

Fix source directory littering while configuring the Android build.

Ah, this was quite annoying; good to see it fixed.
I've just tried it; there's still 3 files created inside of android/example, though. Is that intentional?

Elias
Member #358
May 2000

No, that's not intentional. What are the 3 files and do you know where in CMakeLists.txt they get written to the wrong directory?

--
"Either help out or stop whining" - Evert

Polybios
Member #12,293
October 2010

These are android/example/localgen.properties, ./project.properties, and ./jni/localgen.mk.
I think android/example/Example.cmake is the culprit with CMAKE_CURRENT_SOURCE_DIR being referenced via EXAMPLE_DIR in the configure_file commands.

Gideon Weems
Member #3,925
October 2003

SiegeLord said:

Use dynamic OpenGL ES checks, so binaries produced on newer platforms don't crash on older ones.

That sounds really cool but also involving to test. Allegro keeps getting better! I didn't even realize there was a Hurd port. :o

Quote:

Add support Python 3 (Gabriel Queiroz).

\o/

trictonicmp
Member #16,611
December 2016

Pretty nice to know that a new version have been released but, how do I install Allegro 5.2.2 in Code::Blocks?, I mean, V5.0.10 had bin and lib folders, but his one lacks of them :-[

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

SiegeLord
Member #7,827
October 2006
avatar

You can grab pre-built Allegro binaries here: http://download.gna.org/allegro/allegro-bin/5.2.2/, they'll have your lib and bin folders. You probably want one with 'dynamic' in its name, and probably x64 if you're using Windows7 and above.

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Don Freeman
Member #5,110
October 2004
avatar

Trying to run the curl example and the window opens along with the log window but does nothing...just blank screen. Running Ubuntu mate 16.04. Everything compiled without complaints. libcurl version reports as 7.47.0 :-/ Everything else seems to work...haven't tried video yet though.

--
"Everyone tells me I should forget about you, you don’t deserve me. They’re right, you don’t deserve me, but I deserve you."
"It’s so simple to be wise. Just think of something stupid to say and then don’t say it."

SiegeLord
Member #7,827
October 2006
avatar

There was a bug in how example interacted with libcurl, leading to a hang. Should be fixed now on master, thanks for reporting this.

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Elias
Member #358
May 2000

Polybios: Sorry, was busy with work and then Krampushack - but I believe this pull request should fix the source folder littering: https://github.com/liballeg/allegro5/pull/701

Ideally we should not show how to build for Android in an unsupported way any longer and update the example to use a gradle based build.

--
"Either help out or stop whining" - Evert

Go to: