Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Allegro 4.2.0 beta

This thread is locked; no one can reply to it. rss feed Print
Allegro 4.2.0 beta
Evert
Member #794
November 2000
avatar

Allegro 4.2.0 beta is ready and has been released. This is a beta release for Allegro 4.2.0 that adds features and corrects problems with regard to the 4.0 codebase. It is
API (source) compatible with 4.0.0 on every platform, except for a few minor changes (see docs/html/api.html).
Get it from the files page on sourceforge.

Changes said:

========================================================================
============ Changes from 4.1.18 to 4.2.0 beta (March 2005) ============
========================================================================

Peter Wang fixed many problems on AMD64 in Linux - it should now work fine.

Peter Hull added CPU detection to the MacOS X port.

Peter Hull fixed some problems related to /usr/local/bin not existing in
recent versions of MacOS X.

Elias Pschernig and Peter Wang rewrote the Windows keyboard driver so it
no longer needs keyboard.dat.

Elias Pschernig added a show_os_cursor function as an alternative to
show_mouse() for system cursors.

Evert Glebbeek and Peter Wang added an example programme for system cursors.

Elias Pschernig fixed a deadlocks in X11 related to scare_mouse() and
keyboard repeats and fixed async replies.

Daniel Schlyder fixed the gcc -mcpu is deprecated warnings.

Peter Wang added an astdint.h, which provides C99 typedefs for pre-C99
compilers.

AJ added detection for DirectX 8 and 9 to the Windows port.

Evert Glebbeek added detection for AMD64 to the UNIX port and test
programme.

Elias Pschernig added a get_midi_length function and a midi_time variable.

Elias Pschernig fixed a problem where Allegro would ignore a user-specified
configuration file if set_config_file() was called before allegro_init().

Evert Glebbeek added a transpose_font function.

Evert Glebbeek added support for true colour fonts and a font example.

Elias Pschernig fixed a problem in shutdown_dialog() reported by Tobi
Vollebregt.

Marcio Fialho fixed some issues with displaying author names in the demo
game.

Andrei Ellman fixed a problem in the MSVC makefile when building Allegro
with Cygwin.

Daniel Schlyder fixed (again) problems with creating directories in
different setups in Windows.

Elias Pschernig added documentation for the custom packfile functions.

Jeff Mitchell fixed the location of grabber.txt in the spec file.

Harshavardhana Reddy added a Kannada greeting to exunicod.

Elias Pschernig cleaned up the example programmes.

Peter Wang made it possible to disable the hardware cursor in X by passing
an option to the configure script.

AJ and Michal Molhanec added an MSVC 7 configure option and added an msvc7
switch to fix.bat. Karthik Kumar did the same for the Intel compiler icl.

Mr_Bones fixed compilation of setup.c when --disable-ossdigi is used

AJ fixed a beep being generated in Windows when alt+character was pressed
in Windowed mode.

Peter Wang fixed many oversights and problems in the library and examples and
allowed the code to be build with stricter warnings.

Peter Wang fixed problems compiling the Windows port with WARNMODE=1

Tore Halse fixed compilation problems in Windows related to TITLEBARINFO.

Daniel Schlyder made the Windows port use TITLEBARINFO if it is available.

Grzegorz Adam Hankiewicz made many improvements to the documentation.

Please download and test this! Report any bugs, incompatibilities, documentation inaccuracies even if they have been reported before: it is very important that these are fixed before 4.2.0 stable is released. Please provide an example programme that demonstrates the problem and if possible help to locate and fix the problem. You can reposrt bugs on the forums, but browsing through a long thread for this is combersome so it would be better to post the problem on the mailing list or the tracker.

I would also like to remind you all of the Allegro demo competition which is still open and encourage everyone to contribute a better demo game!

Some closing remarks: depending on how many problems are reported, there may be more betas after this one. Following the betas there will be at least one release candidate to iron out final problems before full release.

EDIT: I guess we will have a second beta, too many loose ends on the makefile and installation front.

Steve++
Member #1,816
January 2002

Evert, the Nintendo DS and GameCube versions don't compile with the latest devkitARM (couldn't find <myds.h> and <gclib.h>). I had to go two versions back. The examples run just fine on both systems though - tested on real hardware, not just emulators. Is anyone having any problems building for the PS2, PSP or XBox?

X-G
Member #856
December 2000
avatar

I don't believe you (notice date). :P

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

miran
Member #2,407
June 2002

Quote:

I don't believe you (notice date).

What did I download and compile then?

Evert: make install doesn't work on MinGW (on WinXP)

Quote:

e:\allegro4.2.0b1>make install
mdhelper.sh e:/MingW/lib e:/MingW/include e:/MingW/include/allegro e:/MingW/incl
ude/allegro/platform e:/MingW/include/allegro/internal e:/MingW/include/allegro/
inline
process_begin: CreateProcess((null), mdhelper.sh e:/MingW/lib e:/MingW/include e
:/MingW/include/allegro e:/MingW/include/allegro/platform e:/MingW/include/alleg
ro/internal e:/MingW/include/allegro/inline, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [create-install-dirs] Error 2

--
sig used to be here

X-G
Member #856
December 2000
avatar

Quote:

make install doesn't work on MinGW (on WinXP)

My point exactly! ;D

On a somewhat more serious but yet completely off-topic note, try not releasing things on April 1 if you can avoid it. ;)

Anyway, good job. I'll check it out later.

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

Daniel Schlyder
Member #257
April 2000
avatar

Quote:

make install doesn't work on MinGW (on WinXP)

Search for "mdhelper" in makefile.all and prepend "misc\" or download the beta again.

Milan Mimica
Member #3,877
September 2003
avatar

allegrogl's example exalpfnt displays broken text when using 4.2.0b :'(

[edit:]
and again, alsa volume fix is not mentioned in changes :P

spellcaster
Member #1,493
September 2001
avatar

Whether or not this is an april fool joke I'd expect some credit for the true color font routines.

--
There are no stupid questions, but there are a lot of inquisitive idiots.

Gideon Weems
Member #3,925
October 2003

spellcaster said:

... true color font routines.

Don't be cruel now...

miran
Member #2,407
June 2002

Quote:

Don't be cruel now...

Spellcaster added true colour font support a looong time ago...

--
sig used to be here

spellcaster
Member #1,493
September 2001
avatar

Including a nice function that allows you to create gradient true color fonts from mono and bitmap fonts.

--
There are no stupid questions, but there are a lot of inquisitive idiots.

Evert
Member #794
November 2000
avatar

Quote:

try not releasing things on April 1 if you can avoid it.

You don't think that was a coincidence, do you? ;)

Quote:

make install doesn't work on MinGW (on WinXP)

My bad. I'll upload a fixed version in a few moments.

Quote:

allegrogl's example exalpfnt displays broken text when using 4.2.0b

AllegroGL CVS or WIP? Could be a problem with AllegroGL rather than Allegro, but we'll need to look into it.

Quote:

alsa volume fix is not mentioned in changes

You're right. It is mentioned in the authors file though.

Quote:

Including a nice function that allows you to create gradient true color fonts from mono and bitmap fonts.

Sorry, I didn't incorporate that into the library. :-[ It is rather specific and probably best in an addon, I think...

Steve++
Member #1,816
January 2002

If 23 was here the April fool's joke wouldn't have been debunked in the next post. This forum just isn't what it used to be :(.

HoHo
Member #4,534
April 2004
avatar

About the AGL problem, it should be caused by agl itself. From agl newsletter I found

Quote:

AllegroGL incorrectly detects allegro vesion at some places (triggered with allegro-4.2.0b). Patch attached.

__________
In theory, there is no difference between theory and practice. But, in practice, there is - Jan L.A. van de Snepscheut
MMORPG's...Many Men Online Role Playing Girls - Radagar
"Is Java REALLY slower? Does STL really bloat your exes? Find out with your friendly host, HoHo, and his benchmarking machine!" - Jakub Wasilewski

Evert
Member #794
November 2000
avatar

Quote:

AllegroGL incorrectly detects allegro vesion at some places (triggered with allegro-4.2.0b). Patch attached.

:o

That's fast. I'm impressed!

spellcaster
Member #1,493
September 2001
avatar

Quote:

Sorry, I didn't incorporate that into the library. :-[ It is rather specific and probably best in an addon, I think...

I just meant that mentioning me at all would have been a nice thing... I mean, it's based on my True Color routines, isn't it?

--
There are no stupid questions, but there are a lot of inquisitive idiots.

Evert
Member #794
November 2000
avatar

Quote:

I just meant that mentioning me at all would have been a nice thing...

Yeah, you're right. Should be added to the AUTHORS and thanks file. I'll do that. :)

Gideon Weems
Member #3,925
October 2003

Evert said:

That's fast. I'm impressed!

Real-time patching!

spellcaster said:

Including a nice function that allows you to create gradient true color fonts from mono and bitmap fonts.

Nice. So, is the gradient vertical? Does it support an alpha channel?

Bah, don't bother answering; I'm too excited right now. I just start asking questions... I'll find out for myself.

BAF
Member #2,981
December 2002
avatar

on here, make was fine, now make install ran mdhelper and started rebuilding everything

Daniel Schlyder
Member #257
April 2000
avatar

Quote:

on here, make was fine, now make install ran mdhelper and started rebuilding everything

Err, what?

Gideon Weems
Member #3,925
October 2003

That doesn't make sense...

Quote:

D:\MinGW\source\allegro>make install DEBUGMODE=1
misc/mdhelper.bat D:\MinGW\lib
'misc' is not recognized as an internal or external command,
operable program or batch file.
make: *** [create-install-dirs] Error 1

The directory separator shouldn't be an issue... I'm at a loss. MinGW, WinXP.

Daniel Schlyder
Member #257
April 2000
avatar

Did you test it? If you run misc/mdhelper.bat from standard Windows shell, it won't work. At least not on Windows XP. Backslash works fine, though.

Gideon Weems
Member #3,925
October 2003

I see. There are foreslashes everywhere else, though! Odd.

Is the edit you mentioned above (sorry for not noticing it first; I overlooked the slash distinction) the correct solution or a temporary work-around?

Daniel Schlyder
Member #257
April 2000
avatar

Well, I just sent the following patch to the dev list, as Evert suggested there might be a problem with using slashes under Cygwin. (My original patch had the mdhelper scripts in Allegro's root dir.) I've tested this under standard Windows shell and MSYS.

1Index: makefile.all
2===================================================================
3RCS file: /cvsroot/alleg/allegro/makefile.all,v
4retrieving revision 1.53
5diff -u -p -r1.53 makefile.all
6--- makefile.all 31 Mar 2005 20:10:30 -0000 1.53
7+++ makefile.all 1 Apr 2005 12:10:18 -0000
8@@ -292,11 +292,11 @@ endif
9
10 create-install-dirs:
11 ifdef UNIX_TOOLS
12- mdhelper.sh $(INSTALL_DIRS)
13+ cd misc ; mdhelper.sh $(INSTALL_DIRS)
14 else
15 define MKDIRS
16 $(foreach dir,$(INSTALL_DIRS),\
17- mdhelper.bat $(dir)
18+ cd misc & mdhelper.bat $(dir)
19 )
20 endef
21 $(MKDIRS)

EDIT: Of course, you'll have to manually apply this, as "cvs up" hasn't given me the "misc" prefixes yet.

EDIT2:

Quote:

There are foreslashes everywhere else, though!

Not to run programs, I bet.

EDIT3:

Sigh, forget about that patch. Windows 9x doesn't support "&". So, then either the mdhelper scripts must be moved to root or, hopefully, there's no problem with slashes and Cygwin.

Gideon Weems
Member #3,925
October 2003

I see. Thanks for the explanation!



Go to: