<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Allegro 5.1.8 released!</title>
		<link>http://www.allegro.cc/forums/view/613773</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Thu, 23 Jan 2014 10:06:15 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><a href="http://sourceforge.net/projects/alleg/files/allegro-unstable/5.1.8/">http://sourceforge.net/projects/alleg/files/allegro-unstable/5.1.8/</a></p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Changes from 5.1.7 to 5.1.8 (January 2014)<br />==========================================</p><p>The main developers this time were: Beoran, SiegeLord, Trent Gamblin,<br />Markus Henschel, Peter Wang.</p><p>Core:</p><p>  - Allow MSVC to use DLL TLS but disable DLL TLS by default.</p><p>  - Do not include windows.h via allegro.h.</p><p>  - Fix some memory leaks on X11.</p><p>Graphics:</p><p>  - Spell ALLEGRO_DST_COLOR, ALLEGRO_INVERSE_DST_COLOR with &quot;DEST&quot;<br />    (with compatibility defines).</p><p>  - Fix bug which meant ALLEGRO_INVERSE_SRC_COLOR and<br />    ALLEGRO_INVERSE_DEST_COLOR never actually worked on D3D.</p><p>  - Fix horizontal and vertical shears which were not composing with<br />    translations correctly.</p><p>  - Optimise al_restore_state if saved target display/bitmap are unchanged.</p><p>  - Fix _al_display_settings_sorter ordering of indexes when scores are equal.</p><p>  - Use a minimum 16x16 texture workaround even on desktop OpenGL.</p><p>  - Propagate errors up OpenGL lock bitmap implementations.</p><p>  - Use proxy bitmap when locking writable backbuffer regions on GLES.</p><p>  - Clean up FBO creation during bitmap locking.</p><p>  - Move the half-pixel shift in D3D into the projection matrix.<br />    Use the texture dimensions to compute the half-pixel shift.</p><p>  - Fix al_get_d3d_texture_size returning zeros.</p><p>  - Remove ALLEGRO_FORCE_LOCKING flag.</p><p>  - Setup GL viewport and projection in al_acknowledge_resize on Android.</p><p>  - Improve implementation of display options on Android: use the same display<br />    setting scoring code as other ports; handle SUGGEST display options<br />    properly; map ALLEGRO_COLOR_SIZE to EGL_BUFFER_SIZE attributes.</p><p>Filesystem:</p><p>  - Add al_ferror and al_ferror.  Initial patch by Tobias Scheuer.</p><p>  - Make al_fclose have a return value.</p><p>  - Check al_fclose return value in saving routines.</p><p>  - Make al_fopen_fd not leak a FILE handle in a failure path.</p><p>  - Make al_make_temp_file allocate temporary buffer to match the template.</p><p>  - android: Interpret the path to APK asset as AssetManager doesn&#39;t.</p><p>  - android: Correctly return -1 for APK asset file size if it can&#39;t be<br />    determined.  A side-effect is that FreeType (via the TTF addon) can now<br />    load TTFs stored compressed in APK assets.</p><p>  - android: Support ungetc on APK file streams.</p><p>  - android: Fix EOF handling in AllegroInputStream.</p><p>Input:</p><p>  - Initial haptics API, only implemented on Linux to begin with.</p><p>  - Use Linux input API for joystick driver instead of deprecated joystick API.</p><p>  - Use Linux joystick driver on Android if OUYA model detected<br />    (Jonathan Lilliemarck).</p><p>  - Use thread for hotplugging joysticks on Linux instead of timerfd<br />    (due to Android).</p><p>  - Report unichar in KEY_CHAR events on Android. (Todd Cope)</p><p>  - Added some Android gaming key codes.</p><p>  - iOS touch coordinates need to be multiplied by contentScaleFactor.</p><p>  - Android touch input id 0 was incorrectly treated as invalid.<br />    (Max Savenkov)</p><p>Shaders:</p><p>  - Automatically call OnLostDevice and OnResetDevice on HLSL shaders.</p><p>  - Remove #version specifier from all shaders.</p><p>Audio addon:</p><p>  - Remove generic audio event source and AudioQueue events.</p><p>  - Don&#39;t queue silent fragments at start of new audio streams.</p><p>  - Make stream_read return correct number of filled samples when no data is<br />    available (zero).</p><p>  - A DirectSound voice could not be restarted once it has been stopped.</p><p>  - Fix crash when attaching empty stream to dsound voice.</p><p>  - Reset buffer position in stop instead of play in dsound voice.</p><p>  - Fix calculation of current sample position in dsound voice.</p><p> -  Reset audio stream when al_set_audio_stream_playing to false for voice and<br />    mixer cases, and make all fragments available for refill.</p><p>  - Emit stream fragment events when a stream is started.</p><p>  - Remove unnecessary reallocation of the channel matrix.</p><p>  - Add al_fill_silence.</p><p>  - Add al_get_audio_stream_played_samples.</p><p>  - Fix deadlock in Pulseaudio driver.  Reported by Bluebird.</p><p>  - Let al_set_sample_instance_playing work for unattached instances<br />    and sample instances with no data set.  Reported by Bluebird.</p><p>  - Enable the use of the unpatched DirectX SDK to build.</p><p>Audio codec addon:</p><p>  - Fix looping in Ogg Vorbis stream. (Todd Cope)</p><p>  - Seeking in wavs would always have returned success.</p><p>Image addon:</p><p>  - Fix many problems in Android native image loader, including:<br />    supporting ALLEGRO_NO_PREMULTIPLIED_ALPHA, respecting the new bitmap<br />    format, working for non-APK assets, not crashing on failure.</p><p>Native dialogs addon:</p><p>  - Change native menu ids from int to uint16_t due to limitation with<br />    Windows. (Matthew Leverton)</p><p>Primitives addon:</p><p>  - Rename the primitives buffer flags.</p><p>  - Simplify the prim buffer hints.</p><p>  - Simplify the al_create_vertex_buffer API.</p><p>  - Actually implement uninitialized vertex buffers.</p><p>  - Add indexed buffer API.</p><p>  - Polylines with ALLEGRO_LINE_CAP_CLOSED cap style did not draw correctly<br />    with thickness == 0.</p><p>  - Take into account the projection matrix when computing the scale of the<br />    high level primitives.</p><p>  - Replace enum arguments for al_draw_polyline and al_draw_polygon with<br />    integers to reduce chance of ABI issues.</p><p>TTF addon:</p><p>  - Fix a bug where some glyphs would be blank.</p><p>  - Allow glyph allocation to fail without crashing.</p><p>Android port:</p><p>  - Separate Allegro library Java code from the original example project for<br />    Android (Jonathan Lilliemarck).</p><p>  - Build Allegro library as a JAR.</p><p>  - Rename Java package to org.liballeg.android.</p><p>  - Change how the application shared library is specified.  Override the<br />    AllegroActivity constructor instead of specifying in AndroidManifest.xml.</p><p>  - Add a method to tell if the user exited main in the Android Java code.</p><p>  - Add a fix for the case of launching another activity from your game on<br />    Android and then returning to the game after it finishes.</p><p>  - Refactoring and clean up.</p><p>iOS port:</p><p>  - Remove al_iphone_get/set_screen_scale as not really needed and confusing.</p><p>Build system:</p><p>  - Integrate Android port into build system, including building and launching<br />    examples for debugging.</p><p>  - Detect OpenGLES/2 libraries on Android.</p><p>  - Let clang use same options as gcc in build system.</p><p>Python:</p><p>  - Made the C-parser used in the Python API generator understand more type<br />    constructs. (Elias Pschernig)</p><p>Examples:</p><p>  - Make demos and most examples run (somewhat) on Android.</p><p>  - Add touch input support to various examples.</p><p>  - New examples: ex_file, ex_haptic, ex_haptic2, ex_touch_input.</p><p>  - ex_prim: Demonstrate indexed buffers.</p><p>Other:</p><p>  - More more minor bug fixes and changes.</p><p>  - Documentation updates.</p><p>  - Syntax highlight the C source examples and prototypes in the documentation.
</p></div></div><p>

</p><div class="source-code snippet"><div class="inner"><pre>MD5SUMS:
b206601c8099d0a3c2fddc52a595e1a7  allegro-5.1.8.7z
<span class="n">9a2c43e080cbcb8a88e6e4c955cf9613</span>  allegro-5.1.8.tar.gz
<span class="n">87bb62f8510826130cbd0b4406be580f</span>  allegro-5.1.8.zip
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Wang)</author>
		<pubDate>Sun, 12 Jan 2014 09:56:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>As always, thanks for all your hard work in getting this release done.<br />I look forward to some kind and wonderful soul one day compiling some android binaries for this release. <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Yodhe23)</author>
		<pubDate>Sun, 12 Jan 2014 12:43:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Don&#39;t forget the most important improvement of all... we got the welcome.wav from A4 back!! Now Allegro users can feel properly welcomed.</p><p>Try this if you&#39;ve got it at home <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />:</p><pre class="terminal">./ex_mixer_pp data/welcome.wav</pre><p>

And after that, just:
</p><pre class="terminal">./ex_mixer_pp</pre><p>

to round up the night.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (SiegeLord)</author>
		<pubDate>Sun, 12 Jan 2014 19:01:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yay allegro! <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" /></p><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/613773/995166#target">SiegeLord</a> said:</div><div class="quote"><p>we got the welcome.wav from A4 back!! Now Allegro users can feel properly welcomed.</p></div></div><p>

I miss the old scare_mouse() <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Mark Oates)</author>
		<pubDate>Mon, 13 Jan 2014 07:00:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Changelog looks great! I will try new versions for iOS, Android and Windows when I have time.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Max Savenkov)</author>
		<pubDate>Mon, 13 Jan 2014 11:55:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Is there a roadmap for 5.2 anywhere?</p><p>I&#39;m planning on just developing with the 5.1/5.2 branch, since I don&#39;t require much stability at the moment.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (furinkan)</author>
		<pubDate>Mon, 13 Jan 2014 14:48:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;m doing my development on 5.1 and it&#39;s very nice, almost stable almost all of the time. And if something is strange then it&#39;s quickly fixed.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (tobing)</author>
		<pubDate>Mon, 13 Jan 2014 22:12:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>5.1 development it is, then!</p><p>I have a utility that I&#39;m rewriting; it can be my guinea pig. Originally, it was written with the latest 5.0 at the time, so there shouldn&#39;t be any huge surprises. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (furinkan)</author>
		<pubDate>Wed, 15 Jan 2014 03:37:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yippee!  Time to git.</p><p>Thank you, everyone involved in making the new release.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gideon Weems)</author>
		<pubDate>Wed, 15 Jan 2014 19:28:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Awesome! Thanks guys. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Stargx)</author>
		<pubDate>Fri, 17 Jan 2014 16:54:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Viva Allegro!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (William Labbett)</author>
		<pubDate>Tue, 21 Jan 2014 07:24:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Anyone have a MinGW 4.7.0 build of this one yet? <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Wed, 22 Jan 2014 06:14:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I have it for MinGW 4.8.1. Video working fine.</p><p><a href="https://www.allegro.cc/files/attachment/608261">Allegro 5.1.8 - MinGW 4.8.1 - Static</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (AMCerasoli)</author>
		<pubDate>Thu, 23 Jan 2014 04:42:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thank you, maybe it&#39;s time for me to upgrade my MinGW. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Neil Roy)</author>
		<pubDate>Thu, 23 Jan 2014 10:06:15 +0000</pubDate>
	</item>
</rss>
