-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathchanges-unstable.html
More file actions
1846 lines (1846 loc) · 67.4 KB
/
changes-unstable.html
File metadata and controls
1846 lines (1846 loc) · 67.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>changes-5.1</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="web_style.css" />
<link rel="alternate" type="application/atom+xml"
href="feed_atom.xml" title="Allegro news"
/>
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<div id="main_header">
<div id="header_container">
<img id="logo" src="images/logo.png" alt="Allegro" height="58" width="186" />
<div id="title">
A game programming library
</div>
</div>
</div>
<div id="left">
<div id="sidebar">
<ul>
<li><strong>Allegro</strong>
<ul>
<li><a href="index.html">About</a></li>
<li><a href="https://github.com/liballeg/allegro5">Git
repository</a></li>
<li><a href="license.html">License</a></li>
<li><a href="examples_demos.html">Examples</a></li>
<li><a href="https://github.com/liballeg/allegro5/issues">Bug
tracker</a></li>
<li><a href="bindings.html">Language bindings</a></li>
<li><a href="https://github.com/liballeg">Other Git
repositories</a></li>
</ul></li>
<li><strong>Downloads</strong>
<ul>
<li><strong><a href="download.html">Latest version</a></strong></li>
<li><a href="old.html">Older versions</a></li>
<li><a href="addons.html">Extra addons</a></li>
</ul></li>
<li><strong>Documentation</strong>
<ul>
<li><strong><a href="https://liballeg.org/a5docs/trunk/">Latest
version</a></strong></li>
<li><a href="api.html">All versions</a></li>
<li><a href="docs.html">Tutorials</a></li>
<li><a href="books.html">Books</a></li>
<li><a
href="https://github.com/liballeg/allegro_wiki/wiki">Wiki</a></li>
</ul></li>
<li><strong>Community</strong>
<ul>
<li><a href="https://discord.gg/f3Cd4TZzpp">Discord</a></li>
<li><a href="irc.html">IRC</a></li>
<li><a
href="https://github.com/liballeg/allegro5/discussions">Forums</a></li>
<li><a href="game_jams.html">Game Jams</a></li>
</ul></li>
<li><strong>Misc</strong>
<ul>
<li><a href="readme.html">History</a></li>
<li><a href="oldnews.html">Older news</a></li>
<li><a href="logos.html">Logos</a></li>
<li><a href="digmid.html">DIGMID</a></li>
<li><a href="links.html">Links</a></li>
<li><a href="mirrors.html">Mirrors</a></li>
<li><a href="maillist.html">Mailing lists</a></li>
<li><a href="webmasters.html">Webmasters</a></li>
<li><a href="humor.html">Humor</a></li>
</ul></li>
</ul>
<!-- keep blank line for correct HTML -->
</div>
<!-- sidebar -->
<div id="hosting">
<p><a href="https://github.com/liballeg">GitHub project</a> <br/> <br/>
<a
href="https://projects.tuxfamily.org/?do=group;name=allegro">TuxFamily
project</a></p>
</div>
<!-- hosting -->
</div>
<!-- left -->
<div id="content">
<p>See <code>changes-5.0.txt</code> for changes in Allegro 5.0.x. These
lists serve as summaries; the full histories are in the git
repository.</p>
<h1 id="changes-from-5.1.13-to-5.1.13.1-february-2016">Changes from
5.1.13 to 5.1.13.1 (February 2016)</h1>
<p>The main developers this time were: SiegeLord.</p>
<p>Image addon:</p>
<ul>
<li>Fix regression in bitmap loading when compiled under MSVC.</li>
</ul>
<h1 id="changes-from-5.1.12-to-5.1.13-january-2016">Changes from 5.1.12
to 5.1.13 (January 2016)</h1>
<p>The main developers this time were: Julian Smythe, Elias Pschernig
and Peter Hull.</p>
<p>Graphics:</p>
<ul>
<li>Add <code>al_get_opengl_program_object</code> (SiegeLord).</li>
</ul>
<p>Input:</p>
<ul>
<li>Fix spurious triggering of the mouse grab key when it wasn’t
otherwise set (SiegeLord).</li>
</ul>
<p>Android port:</p>
<ul>
<li><p>Avoid multiple HALT/RESUME events on Android (Max
Savenkov).</p></li>
<li><p>Implement <code>al_get_monitor_info</code> for Android (Reuben
Bell).</p></li>
<li><p>Fix Android crash on file access.</p></li>
<li><p>Implement ALLEGRO_FULLSCREEN_WINDOW on Android.</p></li>
<li><p>Fix crash if display is destroyed while the app is switched
out.</p></li>
<li><p>Add support for x86_64 Android.</p></li>
<li><p>Add <code>al_android_set_apk_fs_interface</code>.</p></li>
</ul>
<p>Linux port:</p>
<ul>
<li><p>Allow using OpenGL ES in X11.</p></li>
<li><p>Fix the initial display size not being correct sometimes
(SiegeLord).</p></li>
<li><p>Fix a race condition in the XInput joystick driver (Trent
Gamblin).</p></li>
</ul>
<p>OSX port:</p>
<ul>
<li><p>Fix various memory leaks.</p></li>
<li><p>Fix <code>al_set_window_title</code>.</p></li>
<li><p>Fix a lot of decrepid and deprecated code.</p></li>
<li><p>Fix single buffer flip display (SiegeLord).</p></li>
</ul>
<p>Windows port:</p>
<ul>
<li><p>Fix Windows UNC path handling.</p></li>
<li><p>Fix clipboard nul-termination issues (Trent Gamblin).</p></li>
<li><p>Set the window title immediately upon window creation
(SiegeLord).</p></li>
</ul>
<p>Build system:</p>
<ul>
<li><p>Define CMAKE_FIND_ROOT_PATH for i686-w64-mingw32 cross compiler
(Martijn van Iersel).</p></li>
<li><p>Allow building with older CMakes again (SiegeLord).</p></li>
<li><p>Do not catche compile tests’ failure (Bruce Pascoe).</p></li>
<li><p>Add a way to statically link the runtime with MinGW
(SiegeLord).</p></li>
<li><p>Don’t link the MSVC C runtime at all when requesting a static
runtime and building a static library (SiegeLord).</p></li>
</ul>
<p>Documentation:</p>
<ul>
<li><p>Add links to the source code of the definitions of the most API
entries.</p></li>
<li><p>Fix sidebar generation with modern Pandoc (Boris
Carvajal).</p></li>
</ul>
<p>Python:</p>
<ul>
<li><p>Fix ordering issue for HAPTIC* structs.</p></li>
<li><p>Fix missing ALLEGRO_PRIM_ATTR_NUM.</p></li>
</ul>
<p>Other:</p>
<ul>
<li><p>Add a ‘none’ debug level to turn off logging entirely in debug
builds (SiegeLord).</p></li>
<li><p>Reconfigure logging after the configuration files are loaded
(SiegeLord).</p></li>
<li><p>Fix al_set_new_window_title() off-by-1 (Bruce Pascoe).</p></li>
<li><p>Don’t call al_get_time() before system is installed
(SiegeLord).</p></li>
</ul>
<p>Audio addon:</p>
<ul>
<li><p>Add <code>al_get_default_voice</code> and
<code>al_set_default_voice</code>.</p></li>
<li><p>Flush the pulse audio stream rather than draining it, fixing some
audio breaks (SiegeLord).</p></li>
<li><p>Fill audio stream fragments with silence in the audio addon
rather than in the acodec addon, fixing some garbage output
(SiegeLord).</p></li>
<li><p>Fix possible deadlock when destroying audio streams
(SiegeLord).</p></li>
</ul>
<p>Acodec addon:</p>
<ul>
<li><p>Don’t read past the audio chunk’s end when streaming wav files
(SiegeLord).</p></li>
<li><p>Turn off allegro_acodec dynamic loading by default, fixing a
common footgun (Bruce Pascoe).</p></li>
</ul>
<p>Image addon:</p>
<ul>
<li>An enormous amount of work supporting reading of esoteric (and not)
BMP format variants (palletted, GIMP-style, etc). New tests were added
using the manual bmp suites.</li>
</ul>
<p>Native dialog addon:</p>
<ul>
<li><p>Update code to work with modern OSX versions.</p></li>
<li><p>Clean up menu handling on OSX.</p></li>
</ul>
<h1 id="changes-from-5.1.11-to-5.1.12-september-2015">Changes from
5.1.11 to 5.1.12 (September 2015)</h1>
<p>The main developers this time were: Bruce Pascoe, Beoran, Elias
Pschernig, SiegeLord, Trent Gamblin.</p>
<p>Graphics:</p>
<ul>
<li><p>Add <code>al_set_blend_color</code> and
<code>al_set_blender</code>, for additional blending modes.</p></li>
<li><p>Add <code>ALLEGRO_MAXIMIZED</code> display flag.</p></li>
<li><p>Add <code>al_reparent_bitmap</code>,
<code>al_get_bitmap_x/y</code>. This allows changing the offset of a
sub-bitmap.</p></li>
<li><p>Make <code>ALLEGRO_PIXEL_FORMAT_ANY_NO_ALPHA</code> actually pick
a format without an alpha channel.</p></li>
<li><p>Add <code>al_premul_rgba</code> and <code>al_premul_rgba_f</code>
convenience functions for dealing with pre-multiplied alpha blending
mode.</p></li>
</ul>
<p>Input:</p>
<ul>
<li><p>Fix key auto-repeat on modern X11 versions.</p></li>
<li><p>Fix mis-detection of some joysticks on Android.</p></li>
</ul>
<p>Android port:</p>
<ul>
<li>Fix a crash when minimizing the app before Allegro has been
initialized.</li>
</ul>
<p>iOS port:</p>
<p>Linux port:</p>
<ul>
<li>Add <code>al_get_x_window_id</code> (Robert MacGregor)</li>
</ul>
<p>OSX port:</p>
<ul>
<li>Fix some deprecated API usage.</li>
</ul>
<p>Windows port:</p>
<ul>
<li>Fix a dangling pointer issue resulting in crashes when resizing on
Windows
<ol start="10" type="1">
<li></li>
</ol></li>
</ul>
<p>Build system:</p>
<ul>
<li><p>Build with multiple processors when using MSVC.</p></li>
<li><p>Make XInput2/touch input optional on Linux.</p></li>
</ul>
<p>Documentation:</p>
<ul>
<li><p>Various documentation improvements.</p></li>
<li><p>Fix some badly formatted flags (Rodolfo Lam).</p></li>
</ul>
<p>Other:</p>
<ul>
<li><p>Allow injecting Allegro events into event queses using
<code>al_emit_user_event</code> (Ryan Roden-Corrent)</p></li>
<li><p>Add <code>al_set_new_window_title</code> and
<code>al_get_new_window_title</code>.</p></li>
<li><p>Add <code>al_get_clipboard_text</code>,
<code>al_set_clipboard_text</code> and
<code>al_clipboard_has_text</code>.</p></li>
<li><p>Add <code>al_resume_timer</code> (Ryan Roden-Corrent).</p></li>
<li><p>Add <code>al_get_cpu_count</code> and
<code>al_get_ram_size</code>.</p></li>
</ul>
<p>Audio addon:</p>
<ul>
<li><p>Add multiple voice support for the AQueue driver.</p></li>
<li><p>Fix a bug when <code>al_restore_default_mixer</code> was called
multiple times.</p></li>
</ul>
<p>Color addon:</p>
<p>Font addon:</p>
<ul>
<li><p>Add <code>al_draw_glyph</code>, <code>al_get_glyph_width</code>,
<code>al_get_glyph_dimensions</code> and
<code>al_get_glyph_advance</code>. These functions are useful when
additional control is needed when drawing text.</p></li>
<li><p>Add <code>al_set_fallback_font</code>.</p></li>
</ul>
<p>Image addon:</p>
<ul>
<li><p>Add <code>al_register_bitmap_identifier</code>,
<code>al_identify_bitmap</code> and <code>al_identify_bitmap_f</code>.
This allows detecting the bitmap type by looking at the initial few
bytes in the file rather than relying solely on the extension.</p></li>
<li><p>Allow saving bitmaps with uppercase extensions (Daniel).</p></li>
</ul>
<p>Native dialog addon:</p>
<ul>
<li>Fix crashes when creating menus with sub-menus (Todd Cope).</li>
</ul>
<p>Video addon:</p>
<ul>
<li><p>Allow using both Ffmpeg and Theora backends
simultaneously.</p></li>
<li><p>Reduce latency of <code>al_get_video_frame</code> for the Theora
backend.</p></li>
<li><p>Make the Theora backend send the
<code>ALLEGRO_VIDEO_FRAME_SHOW</code> events.</p></li>
<li><p>Rename <code>al_get_video_width/height</code> to
<code>al_get_video_scaled_width/height</code> which now return the
aspect corrected size of the video frame.</p></li>
<li><p>Rename <code>al_pause_video/al_is_video_paused</code> to
<code>al_get/set_video_playing</code>.</p></li>
<li><p>Add <code>ALLEGRO_EVENT_VIDEO_FINISHED</code> event.</p></li>
<li><p>Remove <code>ALLEGRO_EVENT_VIDEO_FRAME_ALLOC</code>
event.</p></li>
<li><p>Remove <code>al_get_video_aspect_ratio</code>.</p></li>
</ul>
<p>Examples:</p>
<ul>
<li>New examples: ex_reparent, ex_inject_events, ex_clipboard, ex_cpu,
ex_timer_pause.</li>
</ul>
<h1 id="changes-from-5.1.10-to-5.1.11-june-2015">Changes from 5.1.10 to
5.1.11 (June 2015)</h1>
<p>The main developers this time were: SiegeLord, Trent Gamblin.</p>
<p>Input:</p>
<ul>
<li><p>Rename <code>al_get_haptic_active</code> to
<code>al_is_haptic_active</code> for consistency.</p></li>
<li><p>Rename <code>al_get_num_haptic_effects</code> to
<code>al_get_max_haptic_effects</code>.</p></li>
<li><p>Implement the missing <code>al_is_touch_input_haptic</code>
function.</p></li>
<li><p>Move the loops parameter of
<code>al_upload_and_play_haptic_effect</code> after the id to be
consistent with <code>al_play_haptic_effect</code>.</p></li>
</ul>
<p>OSX port:</p>
<ul>
<li><p>Fix mouse warping in OSX.</p></li>
<li><p>Add retina display support to OSX.</p></li>
</ul>
<p>Windows port:</p>
<ul>
<li><p>Fix querying display modes before creating a display.</p></li>
<li><p>Make the Windows joystick implementation more fault
tolerant.</p></li>
<li><p>Initialize display callbacks when creating faux fullscreen (Edgar
Reynaldo).</p></li>
</ul>
<p>Build system:</p>
<ul>
<li><p>Fix the conditional compilation of sal.h (Edgar
Reynaldo).</p></li>
<li><p>Don’t look at WinSDK when we’re not on MSVC, fixing MinGW builds
when MSVC is installed as well.</p></li>
<li><p>Fix the static FLAC compile tests on Android and
Windows.</p></li>
<li><p>Make the OSX frameworks install in the proper location
again.</p></li>
<li><p>Add <code>WANT_STATIC_RUNTIME</code> CMake build option
(currently MSVC-only).</p></li>
</ul>
<p>Documentation:</p>
<ul>
<li>Various documentation improvements.</li>
</ul>
<p>Other:</p>
<ul>
<li><p>Return a valid configuration from
<code>al_get_system_config</code> before Allegro is installed. This
allows you to override the various configuration options without using
an on-disk <code>allegro5.cfg</code>.</p></li>
<li><p>Compile in the logging support in release modes by default. Now
logging can be turned on in release builds without recompiling the
program by editing the system configuration.</p></li>
<li><p>Detect file-overruns when saving configuration files (Bruce
Pascoe).</p></li>
</ul>
<p>Color addon:</p>
<ul>
<li>When converting from YUV to RGB, clamp the returned values between 0
and 1.</li>
</ul>
<p>Video addon:</p>
<ul>
<li>Use an enum in place of magic numbers for
<code>al_get_video_position</code> constants.</li>
</ul>
<h1 id="changes-from-5.1.9-to-5.1.10-may-2015">Changes from 5.1.9 to
5.1.10 (May 2015)</h1>
<p>The main developers this time were: SiegeLord, Elias Pschernig, Trent
Gamblin, Polybios.</p>
<p>Input:</p>
<ul>
<li>Add <code>al_set_mouse_wheel_precision</code> and
<code>al_get_mouse_wheel_precision</code>.</li>
</ul>
<p>Graphics:</p>
<ul>
<li><p>Added <code>al_transform_coordinates_3d</code>.</p></li>
<li><p>Added <code>al_build_camera_transform</code>.</p></li>
<li><p>Make the projection transform a bitmap local state. This removes
<code>al_set_projection_transform</code> and
<code>al_get_projection_transform</code>, and replaces them with
<code>al_use_projection_transform</code> and
<code>al_get_current_projection_transform</code> with similar semantics
to the regular transforms.</p></li>
</ul>
<p>OSX port:</p>
<ul>
<li>Improved joystick axis layouts on Mac OS X, and added support for
some dpards (Max Savenkov).</li>
</ul>
<p>X11 port:</p>
<ul>
<li><p>Fix some memory leaks (ElectricSolstice).</p></li>
<li><p>Make the XInput2 check more accurate (we require a specific
version).</p></li>
</ul>
<p>Windows port:</p>
<ul>
<li><p>Remove taskbar hiding on Windows.</p></li>
<li><p>Fix high precision mice on Windows.</p></li>
<li><p>Fix some D3D conflicts with the OpenGL backend.</p></li>
<li><p>Remove the prohibition of building OpenGL-only DLLs.</p></li>
<li><p>Added LRESULT argument to WindowProc callback, fixing
<code>al_win_add_window_callback</code> for some event types (Aaron
Bolyard).</p></li>
</ul>
<p>Android port:</p>
<ul>
<li><p>Fix some memory leaks.</p></li>
<li><p>Make it possible to specify the Android target during
building.</p></li>
</ul>
<p>iOS port:</p>
<ul>
<li><p>Add an XCode project to help build Allegro when CMake support
fails.</p></li>
<li><p>Restore the CMake support.</p></li>
<li><p>Makes the examples run on the iOS simulator out of the
box.</p></li>
<li><p>Various small fixes (Trent Gamblin, jmasterx).</p></li>
<li><p>Remove <code>al_iphone_get_last_shake_time</code> and
a<code>l_iphone_get_battery_level</code>.</p></li>
<li><p>Hack around iOS not creating mipmaps (jmasterx).</p></li>
<li><p>If the supported orientation is
<code>ALLEGRO_DISPLAY_ORIENTATION_UNKNOWN</code>, default to supporting
all orientations.</p></li>
<li><p>Get Cosmic Protector to compile again.</p></li>
</ul>
<p>Build system:</p>
<ul>
<li><p>Revamp the detection of DirectX dependencies. Now it should work
out of the box for at least MSVC and mingw-w64.</p></li>
<li><p>Fix GDIPlus finding script (pkrcel).</p></li>
<li><p>Bump the minimum version of CMake to 2.8.5.</p></li>
</ul>
<p>Documentation:</p>
<ul>
<li><p>Many documentation improvements, as always (special thanks to
Polybios).</p></li>
<li><p>Make the PDF output prettier with better fonts and an up-to-date
version number.</p></li>
<li><p>Make the Javascript search for online documentation support
partial matches.</p></li>
<li><p>Make [section] links work in HTML.</p></li>
<li><p>Allow the docs to have more than 1024 entries (Allegro is getting
huge!).</p></li>
</ul>
<p>Other:</p>
<ul>
<li><p>Make the test driver a little more resistant to failure.</p></li>
<li><p>Various fixes to the experimental SDL backend.</p></li>
<li><p>Update the CONTRIBUTORS.txt.</p></li>
</ul>
<p>Audio addon:</p>
<ul>
<li><p>Fix deadlock when destroying an audio stream soon after its
creation.</p></li>
<li><p>Add VOC file support (pkrcel).</p></li>
<li><p>Disable processing of the XM zero-speed event.</p></li>
<li><p>Disable processing of module loop points if
<code>ALLEGRO_PLAYMODE_ONCE</code> is set.</p></li>
<li><p>Fix a buffer overflow bug.</p></li>
</ul>
<p>Image addon:</p>
<ul>
<li>Fix loading of indexed + transparent PNGs with the libpng
backend.</li>
</ul>
<p>Dialog addon:</p>
<ul>
<li><p>Fix some style issues with the Windows file dialog.</p></li>
<li><p>Fix a bug with multiple filenames with the Windows file
dialog.</p></li>
<li><p>Change the semantics of the patterns in
<code>al_create_native_file_dialog</code> to support future expansion of
the patterns to support both AND and OR style filtering.</p></li>
<li><p>Make the GTK file selection dialog look like it’s from 2004 (as
opposed to mid-1990s).</p></li>
</ul>
<p>TTF addon:</p>
<ul>
<li><p>Fix some warnings.</p></li>
<li><p>Make the page size dynamic, allowing for fonts with up to
8192x8192 glyphs by default.</p></li>
</ul>
<p>Examples:</p>
<ul>
<li>New examples: ex_camera, ex_projection2.</li>
</ul>
<h1 id="changes-from-5.1.8-to-5.1.9-january-2015">Changes from 5.1.8 to
5.1.9 (January 2015)</h1>
<p>The main developers this time were: Trent Gamblin, SiegeLord, Elias
Pschernig.</p>
<p>Core:</p>
<ul>
<li><p>Fix OSX backend on OSX 10.10 (lordnoriyuki).</p></li>
<li><p>Simplify how sub-bitmaps interact with their parent bitmaps. You
can now destroy a sub-bitmap at any time (not only before the parent is
destroyed). Additionally, when the parent is converted using
<code>al_convert_bitmap</code>, all the sub-bitmaps are also
automatically converted.</p></li>
<li><p>Switch to using unicode Win32 (e.g. this fixes using
<code>al_set_window_title</code> with unicode strings).</p></li>
<li><p>Add some Linux WM hints so make Allegro windows work more
smoothly (especially with Unity).</p></li>
</ul>
<p>Filesystem:</p>
<ul>
<li><p>Add <code>al_fprintf</code> (DanielH and Tobias
Scheuer).</p></li>
<li><p>Add <code>al_for_each_fs_entry</code>, a convenience function
that helps enumerating the contents of a directory more easily using a
callback function (Beoran).</p></li>
<li><p>Fix for <code>al_get_standard_path</code> with Unicode
(vkensou).</p></li>
</ul>
<p>Input:</p>
<ul>
<li><p>Add X11 touch driver (Ryan Gumbs).</p></li>
<li><p>Emulate mouse pressure for backends that don’t support
pressure.</p></li>
<li><p>Added Windows haptics driver, XInput joystick driver
(Beoran).</p></li>
<li><p>Fix OSX joystick deinitialization.</p></li>
</ul>
<p>Graphics:</p>
<ul>
<li><p>Add block compression pixel formats
(ALLEGRO_PIXEL_FORMAT_COMPRESSED_RGBA_DXT1/DXT3/DXT5) for compressed
video bitmaps. This includes an API to fetch compressed block size
(<code>al_get_pixel_block_width/height/size</code>) as well as API to
load and unload compressed bitmap data without paying a runtime
compression cost (<code>al_lock_bitmap_blocked</code>). Unfortunately,
due to patent concerns this last feature is disabled for OpenGL (if you
thinks those concerns don’t apply to you, you can enable it by passing
<code>-DWANT_OPENGL_S3TC_LOCKING=1</code> to cmake).</p></li>
<li><p>Make real fullscreen modes work on OS X again. May not be perfect
still. (thanks to SDL).</p></li>
</ul>
<p>Shaders:</p>
<ul>
<li>Don’t clobber the 0’th texture unit in OpenGL and Direct3D. This
simplifies working with shaders.</li>
</ul>
<p>Android port:</p>
<ul>
<li><p>Bump minimum Android API level from 10 to 12 (aka version
3.1).</p></li>
<li><p>Add controller support to the Android port. An accelerometer
‘joystick’ is still the first joystick. Supports two analog sticks and
10 buttons (A B X Y L1 R1 DPAD_L DPAD_R DPAD_U DPAD_D). Supports
hotplugging and theoretically multiple joysticks (needs
testing).</p></li>
<li><p>Set correct orientation at startup on Android (thanks to
Aikei_c).</p></li>
</ul>
<p>Build system:</p>
<ul>
<li>Various CMake fixes.</li>
</ul>
<p>Other:</p>
<ul>
<li><p>Add Travis and AppVeyor continuous integration support.</p></li>
<li><p>Fix a lot of memory leaks.</p></li>
<li><p>Many documentation improvements.</p></li>
</ul>
<p>Audio addon:</p>
<ul>
<li><p>Disallow attaching a mixer to itself.</p></li>
<li><p>Fix uni- and bi-directional looping of zero-length
samples.</p></li>
<li><p>Fix/avoid all sound examples freezing on OSX with the aqueue
driver.</p></li>
</ul>
<p>Image addon:</p>
<ul>
<li>Add functionality to load Direct Draw Surface files (.dds). Only
compressed pixel formats are supported (DXT1, DXT3 and DXT5).</li>
</ul>
<p>Dialog addon:</p>
<ul>
<li><p>Fix native file dialog default paths on Windows (Edgar
Reynaldo).</p></li>
<li><p>Fix unintended behaviour in <code>al_set_menu_item_flags</code>
(Malcolm Harrow).</p></li>
<li><p>Fix some bugs with native menus in OSX.</p></li>
</ul>
<p>Video addon:</p>
<ul>
<li>Fix for now undefined AVCODEC_MAX_AUDIO_FRAME_SIZE (Dennis
Busch).</li>
</ul>
<p>TTF addon:</p>
<ul>
<li><p>Fix a crashing bug in the TTF addon.</p></li>
<li><p>Make <code>al_load_ttf_font_stretch</code> return NULL if invalid
width/height are passed.</p></li>
</ul>
<p>Font addon:</p>
<ul>
<li>Add multi line text output for the font addon
(<code>al_draw_multiline_text</code>,
<code>al_draw_multiline_textf</code> and
<code>al_draw_multiline_ustr</code>).</li>
</ul>
<p>Primitives addon:</p>
<ul>
<li>Fix some sharp-angle polyline drawing bugs.</li>
</ul>
<p>Examples:</p>
<ul>
<li><p>New examples: ex_compressed, ex_font_multiline.</p></li>
<li><p>ex_dir: demonstrate <code>al_for_each_fs_entry</code>.</p></li>
<li><p>ex_haptic2: demonstrate hotplugging.</p></li>
</ul>
<h1 id="changes-from-5.1.7-to-5.1.8-january-2014">Changes from 5.1.7 to
5.1.8 (January 2014)</h1>
<p>The main developers this time were: Beoran, SiegeLord, Trent Gamblin,
Markus Henschel, Peter Wang.</p>
<p>Core:</p>
<ul>
<li><p>Allow MSVC to use DLL TLS but disable DLL TLS by
default.</p></li>
<li><p>Do not include windows.h via allegro.h.</p></li>
<li><p>Fix some memory leaks on X11.</p></li>
</ul>
<p>Graphics:</p>
<ul>
<li><p>Spell ALLEGRO_DST_COLOR, ALLEGRO_INVERSE_DST_COLOR with “DEST”
(with compatibility defines).</p></li>
<li><p>Fix bug which meant ALLEGRO_INVERSE_SRC_COLOR and
ALLEGRO_INVERSE_DEST_COLOR never actually worked on D3D.</p></li>
<li><p>Fix horizontal and vertical shears which were not composing with
translations correctly.</p></li>
<li><p>Optimise al_restore_state if saved target display/bitmap are
unchanged.</p></li>
<li><p>Fix _al_display_settings_sorter ordering of indexes when scores
are equal.</p></li>
<li><p>Use a minimum 16x16 texture workaround even on desktop
OpenGL.</p></li>
<li><p>Propagate errors up OpenGL lock bitmap implementations.</p></li>
<li><p>Use proxy bitmap when locking writable backbuffer regions on
GLES.</p></li>
<li><p>Clean up FBO creation during bitmap locking.</p></li>
<li><p>Move the half-pixel shift in D3D into the projection matrix. Use
the texture dimensions to compute the half-pixel shift.</p></li>
<li><p>Fix al_get_d3d_texture_size returning zeros.</p></li>
<li><p>Remove ALLEGRO_FORCE_LOCKING flag.</p></li>
<li><p>Setup GL viewport and projection in al_acknowledge_resize on
Android.</p></li>
<li><p>Improve implementation of display options on Android: use the
same display setting scoring code as other ports; handle SUGGEST display
options properly; map ALLEGRO_COLOR_SIZE to EGL_BUFFER_SIZE
attributes.</p></li>
</ul>
<p>Filesystem:</p>
<ul>
<li><p>Add al_ferror and al_ferror. Initial patch by Tobias
Scheuer.</p></li>
<li><p>Make al_fclose have a return value.</p></li>
<li><p>Check al_fclose return value in saving routines.</p></li>
<li><p>Make al_fopen_fd not leak a FILE handle in a failure
path.</p></li>
<li><p>Make al_make_temp_file allocate temporary buffer to match the
template.</p></li>
<li><p>android: Interpret the path to APK asset as AssetManager
doesn’t.</p></li>
<li><p>android: Correctly return -1 for APK asset file size if it can’t
be determined. A side-effect is that FreeType (via the TTF addon) can
now load TTFs stored compressed in APK assets.</p></li>
<li><p>android: Support ungetc on APK file streams.</p></li>
<li><p>android: Fix EOF handling in AllegroInputStream.</p></li>
</ul>
<p>Input:</p>
<ul>
<li><p>Initial haptics API, only implemented on Linux to begin
with.</p></li>
<li><p>Use Linux input API for joystick driver instead of deprecated
joystick API.</p></li>
<li><p>Use Linux joystick driver on Android if OUYA model detected
(Jonathan Lilliemarck).</p></li>
<li><p>Use thread for hotplugging joysticks on Linux instead of timerfd
(due to Android).</p></li>
<li><p>Report unichar in KEY_CHAR events on Android. (Todd
Cope)</p></li>
<li><p>Added some Android gaming key codes.</p></li>
<li><p>iOS touch coordinates need to be multiplied by
contentScaleFactor.</p></li>
<li><p>Android touch input id 0 was incorrectly treated as invalid. (Max
Savenkov)</p></li>
</ul>
<p>Shaders:</p>
<ul>
<li><p>Automatically call OnLostDevice and OnResetDevice on HLSL
shaders.</p></li>
<li><p>Remove #version specifier from all shaders.</p></li>
</ul>
<p>Audio addon:</p>
<ul>
<li><p>Remove generic audio event source and AudioQueue events.</p></li>
<li><p>Don’t queue silent fragments at start of new audio
streams.</p></li>
<li><p>Make stream_read return correct number of filled samples when no
data is available (zero).</p></li>
<li><p>A DirectSound voice could not be restarted once it has been
stopped.</p></li>
<li><p>Fix crash when attaching empty stream to dsound voice.</p></li>
<li><p>Reset buffer position in stop instead of play in dsound
voice.</p></li>
<li><p>Fix calculation of current sample position in dsound
voice.</p></li>
<li><p>Reset audio stream when al_set_audio_stream_playing to false for
voice and mixer cases, and make all fragments available for
refill.</p></li>
<li><p>Emit stream fragment events when a stream is started.</p></li>
<li><p>Remove unnecessary reallocation of the channel matrix.</p></li>
<li><p>Add al_fill_silence.</p></li>
<li><p>Add al_get_audio_stream_played_samples.</p></li>
<li><p>Fix deadlock in Pulseaudio driver. Reported by Bluebird.</p></li>
<li><p>Let al_set_sample_instance_playing work for unattached instances
and sample instances with no data set. Reported by Bluebird.</p></li>
<li><p>Enable the use of the unpatched DirectX SDK to build.</p></li>
</ul>
<p>Audio codec addon:</p>
<ul>
<li><p>Fix looping in Ogg Vorbis stream. (Todd Cope)</p></li>
<li><p>Seeking in wavs would always have returned success.</p></li>
</ul>
<p>Image addon:</p>
<ul>
<li>Fix many problems in Android native image loader, including:
supporting ALLEGRO_NO_PREMULTIPLIED_ALPHA, respecting the new bitmap
format, working for non-APK assets, not crashing on failure.</li>
</ul>
<p>Native dialogs addon:</p>
<ul>
<li>Change native menu ids from int to uint16_t due to limitation with
Windows. (Matthew Leverton)</li>
</ul>
<p>Primitives addon:</p>
<ul>
<li><p>Rename the primitives buffer flags.</p></li>
<li><p>Simplify the prim buffer hints.</p></li>
<li><p>Simplify the al_create_vertex_buffer API.</p></li>
<li><p>Actually implement uninitialized vertex buffers.</p></li>
<li><p>Add indexed buffer API.</p></li>
<li><p>Polylines with ALLEGRO_LINE_CAP_CLOSED cap style did not draw
correctly with thickness == 0.</p></li>
<li><p>Take into account the projection matrix when computing the scale
of the high level primitives.</p></li>
<li><p>Replace enum arguments for al_draw_polyline and al_draw_polygon
with integers to reduce chance of ABI issues.</p></li>
</ul>
<p>TTF addon:</p>
<ul>
<li><p>Fix a bug where some glyphs would be blank.</p></li>
<li><p>Allow glyph allocation to fail without crashing.</p></li>
</ul>
<p>Android port:</p>
<ul>
<li><p>Separate Allegro library Java code from the original example
project for Android (Jonathan Lilliemarck).</p></li>
<li><p>Build Allegro library as a JAR.</p></li>
<li><p>Rename Java package to org.liballeg.android.</p></li>
<li><p>Change how the application shared library is specified. Override
the AllegroActivity constructor instead of specifying in
AndroidManifest.xml.</p></li>
<li><p>Add a method to tell if the user exited main in the Android Java
code.</p></li>
<li><p>Add a fix for the case of launching another activity from your
game on Android and then returning to the game after it
finishes.</p></li>
<li><p>Refactoring and clean up.</p></li>
</ul>
<p>iOS port:</p>
<ul>
<li>Remove al_iphone_get/set_screen_scale as not really needed and
confusing.</li>
</ul>
<p>Build system:</p>
<ul>
<li><p>Integrate Android port into build system, including building and
launching examples for debugging.</p></li>
<li><p>Detect OpenGLES/2 libraries on Android.</p></li>
<li><p>Let clang use same options as gcc in build system.</p></li>
</ul>
<p>Python:</p>
<ul>
<li>Made the C-parser used in the Python API generator understand more
type constructs. (Elias Pschernig)</li>
</ul>
<p>Examples:</p>
<ul>
<li><p>Make demos and most examples run (somewhat) on Android.</p></li>
<li><p>Add touch input support to various examples.</p></li>
<li><p>New examples: ex_file, ex_haptic, ex_haptic2,
ex_touch_input.</p></li>
<li><p>ex_prim: Demonstrate indexed buffers.</p></li>
</ul>
<p>Other:</p>
<ul>
<li><p>More more minor bug fixes and changes.</p></li>
<li><p>Documentation updates.</p></li>
<li><p>Syntax highlight the C source examples and prototypes in the
documentation.</p></li>
</ul>
<h1 id="changes-from-5.1.6-to-5.1.7-may-2013">Changes from 5.1.6 to
5.1.7 (May 2013)</h1>
<p>The main developers this time were: Peter Wang, Trent Gamblin.</p>
<p>Graphics:</p>
<ul>
<li><p>Added al_horizontal_shear_transform, al_vertical_shear_transform
(Jeff Bernard).</p></li>
<li><p>Make al_destroy_bitmap maintain the current display when
untargeting the bitmap to be destroyed.</p></li>
<li><p>Delete al_create_custom_bitmap.</p></li>
<li><p>Delete al_ortho_transform compatibility macro.</p></li>
<li><p>Make al_get_d3d_texture_size fail instead of crash if passed a
non-D3D bitmap.</p></li>
<li><p>Make al_get_opengl_texture_size return success code to match
D3D.</p></li>
<li><p>Rename al_d3d_set_release/restore_callback to be consistent with
existing naming, and pass the display as an argument.</p></li>
<li><p>Check availability of fullscreen button on window frame at
run-time (OS X).</p></li>
</ul>
<p>Input:</p>
<ul>
<li><p>Fix mouse warping on OS X.</p></li>
<li><p>Fix mouse warping in Linux evdev mouse driver.</p></li>
</ul>
<p>Audio addon:</p>
<ul>
<li><p>pulseaudio: Use smaller buffer size by default, and make it
configurable.</p></li>
<li><p>pulseaudio: Clean up state transitions.</p></li>
</ul>
<p>Color addon:</p>
<ul>
<li><p>Fix al_color_rgb_to_html blue component (Jeff Bernard).</p></li>
<li><p>Implement al_color_html_to_rgb and al_color_html more
strictly.</p></li>
</ul>
<p>Primitives addon:</p>
<ul>
<li><p>Delete al_draw_polygon_with_holes.</p></li>
<li><p>Delete stride-less version of al_draw_polyline*.</p></li>
<li><p>Simplify interface of al_triangulate_polygon and
al_draw_filled_polygon_with_holes.</p></li>
</ul>
<p>Video addon:</p>
<ul>
<li><p>Make al_seek_video return a result.</p></li>
<li><p>Fix crash when unable to open a Ogg video.</p></li>
<li><p>Don’t scan to end of headers of unknown stream for Ogg
video.</p></li>
<li><p>Stop reading at end of Ogg video.</p></li>
<li><p>Try to account for audio buffers in positioning of Ogg
video.</p></li>
<li><p>Implement seek to beginning of file (only) in Ogg
backend.</p></li>
<li><p>Replace deprecated av_find_stream_info() call (Nick
Black).</p></li>
</ul>
<p>Android port:</p>
<ul>
<li>Fix some Android switch in/out and exit issues.</li>
</ul>
<p>Build system:</p>
<ul>
<li><p>Do not install most internal header files.</p></li>
<li><p>Do not search for and link with unneeded X libraries.</p></li>
</ul>
<p>Examples:</p>
<ul>
<li><p>ex_audio_timer: New example.</p></li>
<li><p>Revise and comment the ex_prim_shader example and shaders (Paul
Suntsov).</p></li>
</ul>
<p>Other:</p>
<ul>
<li><p>Various documentation updates.</p></li>
<li><p>Minor fixes and much code refactoring.</p></li>
</ul>
<h1 id="changes-from-5.1.5-to-5.1.6-march-2013">Changes from 5.1.5 to
5.1.6 (March 2013)</h1>
<p>The main developers this time were: Trent Gamblin, Paul Suntsov,
Peter Wang.</p>
<p>Core:</p>
<ul>
<li><p>Fix use of clobbered return value from setlocale() on
X11.</p></li>
<li><p>Register system interface even if no display driver available on
Windows.</p></li>
<li><p>Fix use of double math functions for float arguments (Nick
Trout).</p></li>
</ul>
<p>Shaders:</p>
<ul>
<li><p>Revamped shader API. The shader API is now part of the core
library, and the shader addon removed.</p></li>
<li><p>Shaders are now a per-bitmap property, set with al_use_shader. A
bitmap without a set shader uses a default shader internally, that
allows Allegro drawing functions to work as in non-programmable pipeline
mode.</p></li>
<li><p>Shader variable setters operate on the shader of the target
bitmap.</p></li>
<li><p>Rename ALLEGRO_USE_PROGRAMMABLE_PIPELINE to
ALLEGRO_PROGRAMMABLE_PIPELINE.</p></li>
<li><p>Rename al_link_shader to al_build_shader.</p></li>
<li><p>Remove al_set_shader.</p></li>
<li><p>Remove the al_set_shader_*_array functions. These functions
cannot be easily (or at all) implemented with the D3D backend.</p></li>
<li><p>Add al_get_shader_platform and
al_get_default_shader_source.</p></li>
<li><p>Remove al_get_opengl_program_object,
al_set_opengl_program_object, al_get_direct3d_effect,
al_set_direct3d_effect.</p></li>
<li><p>Remove Cg shader backend.</p></li>
<li><p>Add macros for shader variable names (Jon Rafkind).</p></li>
</ul>
<p>Displays:</p>
<ul>
<li><p>Made al_get_display_mode return the closest thing to a pixel
format possible with the WGL driver (tobing).</p></li>
<li><p>Move WGL context destruction out of the message pump thread and
into the user/main thread.</p></li>
<li><p>Allow command-tab to work in fullscreen window mode on OS
X.</p></li>
<li><p>Remove “user_reload” parameter from
al_acknowledge_drawing_resume.</p></li>
<li><p>Don’t crash in al_create_display if there is no display
driver.</p></li>
<li><p>Don’t crash at shutdown if there is no display driver
(Windows).</p></li>
<li><p>Don’t fail init if both D3D, GL drivers unavailable
(Windows).</p></li>
<li><p>Sync bitmaps before resizing display to prevent changes being
lost after the resize (D3D).</p></li>
<li><p>Load the D3D9X module during display creation and unload it when
the D3D system shuts down.</p></li>
<li><p>Run fullscreen toggle on main thread (OS X).</p></li>
<li><p>Destroy the backbuffer bitmap when destroying the display (OS
X).</p></li>
<li><p>Switch to new NSTrackingArea API (OS X).</p></li>
<li><p>Set ALLEGRO_NO_PRESERVE_TEXTURE on backbuffer (OpenGL).</p></li>
</ul>
<p>Graphics:</p>
<ul>
<li><p>Let al_destroy_bitmap implicitly untarget the bitmap on the
calling thread.</p></li>
<li><p>Fix a bug where bitmap locking may change the target bitmap but
not restore it back to NULL (OpenGL).</p></li>
<li><p>Use memory bitmap drawing when either bitmap is locked
(OpenGL).</p></li>