<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Allegro 5.2.1.1 released!</title>
		<link>http://www.allegro.cc/forums/view/616435</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 15 Sep 2016 21:21:53 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Allegro development continues at a frenzied pace, adding 2x more features, fixing 3x more bugs and introducing 4x more new bugs than before!</p><p>Not really... there were some serious issues with the 5.2.1(.0) release, so this patch release fixes those.</p><p>Check out the source archives <a href="http://download.gna.org/allegro/allegro/5.2.1.1">here</a>.</p><p>MSYS2 binaries are available <a href="http://download.gna.org/allegro/allegro-bin">here</a> with the dependency packages available <a href="http://download.gna.org/allegro/allegro-deps">here</a>.</p><p>You can grab the MSVC Nuget package <a href="https://www.nuget.org/packages/Allegro/">here</a>.</p><p>Ubuntu and homebrew will be updated in the coming days.</p><h1>Changes from 5.2.1 to 5.2.1.1 (August 2016)</h1><p>

The main developers this time were: Trent Gamblin, SiegeLord.</p><h2>Core</h2><p>

</p><ul><li><p>Enforce backwards compatibility in the version check, rather than erroneously allowing forwards compatibility.</p><br /></li><li><p>Temporarily remove new extensions in ALLEGRO_OGL_EXT_LIST as that broke ABI compatibility.</p></li></ul><h2>OSX port</h2><p>

</p><ul><li><p>Temporarily revert changes in joystick detection, as it did not interact well with some joysticks.</p></li></ul><h2>Windows port</h2><p>

</p><ul><li><p>Fix the clear display to black right away to avoid an ugly white flash change.</p></li></ul><pre>
SHA256SUMS

3fab4b595c83d9d9f5976b16063e9176372b81ecedeaf8e9cc981c3439e1b0c2  allegro-5.2.1.1.7z
973d77a99b6b7653dc2b200d280815cd589981a5df4896782ef4f3fce0a288ab  Allegro.5.2.1.1.nupkg
b5d9df303bc6d72d54260c24505889acd995049b75463b46344e797a58a44a71  allegro-5.2.1.1.tar.gz
9e7a18e4d91c16a5cbfb3ebd04300432b4ab17b51b803abd134373ab8efc2f95  allegro-5.2.1.1.zip
7841e14283189058ec7f8746dd79b2cb0463fc21c6199694fae4d6e57b6bff3f  allegro-mingw-gcc5.3.0-x64-dynamic-5.2.1.1.zip
174b6df88cfe11560a9d3b885257dd58bd8bd2f9fb101868ab312843911e4851  allegro-mingw-gcc5.3.0-x64-static-5.2.1.1.zip
a78f2b12313d924a4ce04679ece90f9fad0af127fdd41326895cf90dd37297a1  allegro-mingw-gcc5.3.0-x86-dynamic-5.2.1.1.zip
687f4ac79dced15d5f2e1d8111dd78e4e9452ac4c76caea62aa77861aeeae2e9  allegro-mingw-gcc5.3.0-x86-static-5.2.1.1.zip
</pre><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Sun, 14 Aug 2016 08:49:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Just a note - the library fails to build if you use a recent version of freetype and you have compiled freetype with libpng support because it doesn&#39;t link to libpng and zlib.</p><p>Binaries for MinGW 4.8.1 and 5.3.0 are on the way. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sun, 14 Aug 2016 21:36:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oh yeah, that&#39;s right. I&#39;ll make an issue about it on github an get it fixed for the next release. I should work on adding more and updating the existing dependencies to these binaries... in particular, I&#39;m missing OPUS, as it&#39;s a bit of a pain to compile just like vorbis was.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Sun, 14 Aug 2016 21:39:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m assuming you mean the OPUS codec for audio, correct? When was that added? What I&#39;d really like to see added is support for saving in .ogg format. I have yet to find a decent audio editor that I really like that isn&#39;t bloated with adware.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sun, 14 Aug 2016 22:52:49 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>OPUS support was added in 5.2.1.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Sun, 14 Aug 2016 23:00:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Was the ugly-white-flash-fix removed? <img src="http://www.allegro.cc/forums/smileys/embarassed.gif" alt=":-[" /></p><p>Or just fixed? <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Sun, 14 Aug 2016 23:31:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It was fixed.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Mon, 15 Aug 2016 00:19:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>And here I was, finally building Allegro 5.2.1 about 2 days ago hahaha! I&#39;m very tempted to make the change, but I&#39;m satisfied with the previous version right now. How bad are those things fixed in this new version? Like, the white clear and all that. Right now I would update mostly to help with testing.</p><p>Nevertheless congrats for the new release and thanks for all the hard work!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Orochii Zouveleki)</author>
		<pubDate>Mon, 15 Aug 2016 05:54:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The joystick thing is probably the most likely issue you&#39;ll hit, but it&#39;s only on OSX.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Mon, 15 Aug 2016 07:10:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I was in stand by for a lot of time so my <a href="https://www.allegro.cc/forums/thread/616413">thread was closed</a>.  Anyway, it&#39;s a related theme so...</p><div class="quote_container"><div class="title"><a href="https://www.allegro.cc/forums/thread/616413/1024231#target">SiegeLord</a> said:</div><div class="quote"><p>I don&#39;t exactly know what is involved in this system none though, so somebody else needs to implement it. In particular, Allegro uses TLS pretty heavily inside pretty much everywhere, and that pthread crash might be TLS related. It might end up being a lot of work.</p></div></div><p> Sad to know about this. Unfortunately I have almost no experience with pthread and no-one with TLS (not sure what&#39;s TLS anyway, I didn&#39;t a lot C/C++ programming in the last decade), so I can&#39;t help.  Anyway I can provide a minimal program that reproduces the error so you may trace it if you think it&#39;s worth of.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Niunio)</author>
		<pubDate>Tue, 16 Aug 2016 21:31:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi everybody.</p><p>I&#39;ve put together some unofficial distributions of MinGW 4.8.1 and MinGW 5.3.0, as well as binaries of Allegro 4.4.3 from GIT as of 8/12/2016 and Allegro 5.2.1.1 for each version of MinGW. Each includes all the example and test programs as well as the addons and dependencies. Only monolith versions of Allegro 5 are provided.</p><p>See the associated thread for downloads and info :</p><p><a href="https://www.allegro.cc/forums/thread/616446">https://www.allegro.cc/forums/thread/616446</a></p><p>Hope this helps get more people developing with Allegro!!! Happy coding! <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><p>EDIT<br />Neil Roy downloaded my distro for MinGW 5.3.0 and Allegro 5.2.1.1. He had some issues with the timer behavior in his program. See the associated bug reports below :<br /><a href="https://www.allegro.cc/forums/thread/616446/1024510#target">https://www.allegro.cc/forums/thread/616446/1024510#target</a><br /><a href="https://www.allegro.cc/forums/thread/616446/1024512#target">https://www.allegro.cc/forums/thread/616446/1024512#target</a></p><p>ex_timer_pause when run from the command line does nothing and returns immediately. When run from gdb it pauses normally. printf output does not work with either case. It simply does not appear.</p><p>In the changelog for 5.2.0 some timer behavior was changed. Perhaps that is the cause of these strange effects.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sun, 21 Aug 2016 03:05:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Whoo hoo!  I git pulled the upgrade without even noticing... That&#39;s what I get for not frequenting the forums enough.</p><p>Thank you.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gideon Weems)</author>
		<pubDate>Mon, 22 Aug 2016 05:26:44 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Bump for time for Neil to reply, and to keep the thread alive. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Tue, 30 Aug 2016 03:33:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s too bad I&#39;m on mac now.  But when I&#39;m on PC I&#39;ll be sure to use them. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Tue, 30 Aug 2016 06:19:04 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Sorry, haven&#39;t been programming a lot lately.  I can&#39;t test out DLLs, I statically link.  I should probably use DLLs perhaps, but when I went to use them, I got errors and my enthusiasm is already fairly low so... <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Thu, 01 Sep 2016 07:25:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>DLLs should technically be easier to use, as you only need to link to the allegro monolith and then include the dlls with your exe.</p><p>If you&#39;re getting errors, you should post them. Maybe I can help. And maybe they&#39;re my fault for building it wrong somehow. If you don&#39;t post, I don&#39;t know.</p><p><b>EDIT</b><br />I uploaded a static debug lib for you to try :<br /><a href="https://www.allegro.cc/forums/thread/616446/1024739#target">https://www.allegro.cc/forums/thread/616446/1024739#target</a></p><p><b>EDIT2</b><br />Neil reports the issue is fixed now. I&#39;ve uploaded new binaries with the patch applied. As well, they now include the static version of libFLAC, which was missing from the first versions.</p><p>Get them here :</p><p><a href="https://sourceforge.net/projects/unofficialallegro5distribution/files/Allegro5211_MinGW4814_Rel2.tar.7z/download">Allegro5211_MinGW4814_Rel2.tar.7z</a></p><p><a href="https://sourceforge.net/projects/unofficialallegro5distribution/files/Allegro5211_MinGW5302_Rel2.tar.7z/download">Allegro5211_MinGW5302_Rel2.tar.7z</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Sun, 04 Sep 2016 02:07:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616435/1024737#target">Neil Roy</a> said:</div><div class="quote"><p> I can&#39;t test out DLLs, I statically link. I should probably use DLLs perhaps, but when I went to use them, I got errors and my enthusiasm is already fairly low so... <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p></div></div><p>Weird.  I&#39;m used to this being the other way around.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gideon Weems)</author>
		<pubDate>Sun, 11 Sep 2016 00:42:26 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616435/1024939#target">Gideon Weems</a> said:</div><div class="quote"><p>Weird. I&#39;m used to this being the other way around. </p></div></div><p>

I never had a problem statically linking and I hate having to remember which DLLs to include etc.  I find this way just easier.  When it&#39;s compiled, everything that is needed is in the executable.  No fuss, no muss. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Wed, 14 Sep 2016 09:50:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616435/1024505#target">Edgar Reynaldo</a> said:</div><div class="quote"><p>
Neil Roy downloaded my distro for MinGW 5.3.0 and Allegro 5.2.1.1. He had some issues with the timer behavior in his program. See the associated bug reports below :<br /><a href="https://www.allegro.cc/forums/thread/616446/1024510#target">https://www.allegro.cc/forums/thread/616446/1024510#target</a><br /><a href="https://www.allegro.cc/forums/thread/616446/1024512#target">https://www.allegro.cc/forums/thread/616446/1024512#target</a></p><p>ex_timer_pause when run from the command line does nothing and returns immediately. When run from gdb it pauses normally. printf output does not work with either case. It simply does not appear.</p><p>In the changelog for 5.2.0 some timer behavior was changed. Perhaps that is the cause of these strange effects. </p><p>...</p><p>Neil reports the issue is fixed now.
</p></div></div><p>
For reference, and for anyone else who may be experiencing an issue with the timers in Allegro 5.2.1.1 with their applications, the fix is to add a line in timernu.c. Insert this line after line 106 of allegro/src/timernu.c and recompile allegro to fix this issue :</p><div class="source-code"><div class="toolbar"><span class="name">allegro/src/timernu.c</span><span class="button numbers"><b>#</b></span><span class="button select">Select</span><span class="button expand">Expand</span></div><div class="inner"><span class="number"> 104</span>      <a href="http://www.allegro.cc/manual/al_lock_mutex"><span class="a">al_lock_mutex</span></a><span class="k2">(</span>timers_mutex<span class="k2">)</span><span class="k2">;</span>
<span class="number"> 105</span>      <span class="k1">while</span> <span class="k2">(</span>_al_vector_size<span class="k2">(</span><span class="k3">&amp;</span>active_timers<span class="k2">)</span> <span class="k3">=</span><span class="k3">=</span> <span class="n">0</span> <span class="k3">&amp;</span><span class="k3">&amp;</span> <span class="k3">!</span>destroy_thread<span class="k2">)</span> <span class="k2">{</span>
<span class="number"> 106</span>         <a href="http://www.allegro.cc/manual/al_wait_cond"><span class="a">al_wait_cond</span></a><span class="k2">(</span>timer_cond, timers_mutex<span class="k2">)</span><span class="k2">;</span>
<div class="highlight"><span class="number"> 107</span><span class="k3">+</span>        old_time <span class="k3">=</span> <a href="http://www.allegro.cc/manual/al_get_time"><span class="a">al_get_time</span></a><span class="k2">(</span><span class="k2">)</span> <span class="k3">-</span> interval<span class="k2">;</span></div><span class="number"> 108</span>      <span class="k2">}</span>
<span class="number"> 109</span>      <a href="http://www.allegro.cc/manual/al_unlock_mutex"><span class="a">al_unlock_mutex</span></a><span class="k2">(</span>timers_mutex<span class="k2">)</span><span class="k2">;</span>
</div></div><p>

Also, Trent told me the reason ex_timer_pause returns immediately from the command line is because it is compiled as a graphic application instead of a console program. This change in the way the examples are compiled was introduced recently. I don&#39;t know if it affects any of the other example programs.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Edgar Reynaldo)</author>
		<pubDate>Thu, 15 Sep 2016 21:21:53 +0000</pubDate>
	</item>
</rss>
