Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Allegro 4.9.13

This thread is locked; no one can reply to it. rss feed Print
Allegro 4.9.13
Peter Wang
Member #23
April 2000

http://sourceforge.net/projects/alleg/files/allegro-unstable/4.9.13/

Quote:

Changes from 4.9.12 to 4.9.13 (August 2009)
*******************************************

The main developers this time were: Trent Gamblin, Elias Pschernig,
Paul Suntsov, Peter Wang. Other contributions from: Todd Cope, Evert
Glebbeek, Michael Harrington, Matthew Leverton.

Ports:

* Trent Gamblin started a port to the GP2X Wiz handheld console.

Graphics:

* Some OpenGL bitmap routines were not checking whether the target
bitmap was locked.

* Scaled bitmap drawer was not setting the blend mode.

* Fixed a bug where al_map_rgb followed by al_unmap_rgb would return
different values.

* Fixed problems with sub-sub-bitmaps.

* Fixed window placement on OS X, which did not properly translate
the coordinates specified by the user with
al_set_new_window_position().

* Made is_wgl_extension_supported() fail gracefuly.

* Added ALLEGRO_ALPHA_TEST bitmap flag.

* Minor optimizations in some memory blitting routines.

Input:

* Replaced (ALLEGRO_EVENT_SOURCE *) casting with type-safe
functions, namely al_get_keyboard_event_source,
al_get_mouse_event_source, al_get_joystick_event_source,
al_get_display_event_source, al_get_timer_event_source, etc.

* Made it so that users can derive their own structures from
ALLEGRO_EVENT_SOURCE. al_create_user_event_source() is replaced by
al_init_user_event_source().

* Fixed a problem on Windows where the joystick never regains focus
when tabbing away from a window.

* Fixed a problem with missing key repeat with broken X.Org drivers.

* Implemented ALLEGRO_EVENT_MOUSE_ENTER_DISPLAY,
ALLEGRO_EVENT_MOUSE_LEAVE_DISPLAY for X11.

Image I/O addon:

* Changed return type of al_save_bitmap() to bool.

* Separated al_add_image_handler into al_register_bitmap_loader,
al_register_bitmap_saver, etc.

* Made JPEG and PNG loaders handle al_create_bitmap() failing.

* Speed up JPEG loading and saving.

* Fixed a reinitialisation issue in iio.

Audio addons:

* Moved basic sample loading/saving routines to kcm_audio from
acodec and added file type registration functions.

* Moved WAV support into kcm_audio.

* Made WAV loader not choke on extra chunks in the wave.

* Separated acodec into a5_flac, a5_vorbis addons. You need to
initialise them explicitly. Removed sndfile support.

* Renamed al_*_oggvorbis to al_*_ogg_vorbis.

* Changed argument order in al_save_sample and al_stream_from_file.

* Reordered parameters in al_attach_* functions to follow the word
order.

* Renamed a few streaming functions to refer to fragments/buffers as
fragments consistently.

* Added missing getters for ALLEGRO_SAMPLE fields.

* Fixed mutex locking problems with kcm_audio objects.

* Avoid underfilling a stream when it is fed with a short looping
stream.

Other addons:

* Added glyph advance caching for the TTF addon.

* Renamed al_register_font_extension to al_register_font_loader.
Match the file name extension case insensitively.

Documentation:

* Lots of documentation updates.

* Added a short "Getting started guide" to the reference manual.

Examples:

* Added another example for kcm_audio streaming: ex_synth.

Build system:

* Fix pkg-config .pc files generated for static linking.

* DLL symbols are now exported by name, not ordinals.

Arthur Kalliokoski
Member #5,540
February 2005
avatar

That's all well and good, but I never realized Peter Wang was so HOT. And I never realized the implications of the double entendre of the name...

I really admire the U.S. Constitution. It's so much better than what we have now.

Dariusz Janczak
Member #11,236
August 2009
avatar

There is one problem i found with this and previous releases. When trying to play streamed ogg file with ALLEGRO_PLAYMODE_LOOP on windows, application crashes after first play of the file. Don't know if this is the right thread for such a problem ; )

Peter Wang
Member #23
April 2000

Does it happen with ex_stream_seek?

Martin Kalbfuß
Member #9,131
October 2007
avatar

the ALLEGRO prefix is a bit long. Wouldn't be a AL like the functions use it enough?

http://www.nongnu.org/gm2/ -- Modula-2 alias Pascal++

Peter Wang
Member #23
April 2000

We used to use AL but it conflicts with OpenAL so we decided to go with ALLEGRO as we couldn't agree on anything else. I think we're all used to it by now.

Dariusz Janczak
Member #11,236
August 2009
avatar

Yes it does happen with ex_stream_seek example also, unfortunately the demo has the same problem. Also, when I try to seek the file in ex_stream_seek application, it crashes too, so I think that there can be problem with seeking function. Definitely it's vorbis related problem, because wav files loop normally. I'll try to check the addon code, maybe I'll find something there.

Peter Wang
Member #23
April 2000

I have to guess it has to do with how you've compiled Ogg Vorbis or the precompiled binaries you're using (if you are), as surely someone else would have noticed this on Windows by now :P

Trent Gamblin
Member #261
April 2000
avatar

4.9.13 binaries for MinGW and MSVC are now available on www.allegro5.org.

If eating hotdogs is wrong, I don't wanna be right.

Dariusz Janczak
Member #11,236
August 2009
avatar

Unfortunately You were right, Peter :P It was all about my precompiled binaries. Thanks for the tip, now everything works as it should ;)

Go to: