1. Release of Yagl wrapper

Well, I finally got around to uploading it.  Hopefully there aren't that many
bugs.

new topic     » topic index » view message » categorize

2. Re: Release of Yagl wrapper

Jeremy Peterson wrote:

> 
> Well, I finally got around to uploading it.  Hopefully there aren't that many
> bugs.

Hi Jeremy,

I like these graphics libs very much, and EU+Yagl seems to be
a good addition to EU+Allegro, EU+SDL and to ex.exe.

For now, one thing...  Doesn't Yagl have something like to
SDL's  SDL_Quit()?

Yagl's demos hang up on quiting on XP SP2 and it seems that exw.exe
just has no control on keyboard after a demo is over.

I need a Ctrl+Alt+Del salute to stop exw.exe, both on exw_r.exe 2.5
and on exw.exe 3.0.1

Good Luck with Yagl!

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view message » categorize

3. Re: Release of Yagl wrapper

Igor Kachan wrote:
> 
> Jeremy Peterson wrote:
> 
> > 
> > Well, I finally got around to uploading it.  Hopefully there aren't that
> > many
> > bugs.
> 
> Hi Jeremy,
> 
> I like these graphics libs very much, and EU+Yagl seems to be
> a good addition to EU+Allegro, EU+SDL and to ex.exe.
> 
> For now, one thing...  Doesn't Yagl have something like to
> SDL's  SDL_Quit()?
> 
> Yagl's demos hang up on quiting on XP SP2 and it seems that exw.exe
> just has no control on keyboard after a demo is over.
> 
> I need a Ctrl+Alt+Del salute to stop exw.exe, both on exw_r.exe 2.5
> and on exw.exe 3.0.1
> 
> Good Luck with Yagl!
> 
> Regards,
> Igor Kachan
> kinz at peterlink.ru

Hi Igor,

Are you exiting the demos using the X close button?  That works for me on XP
home.

Jeremy

new topic     » goto parent     » topic index » view message » categorize

4. Re: Release of Yagl wrapper

Hi

I'm getting the same problem as Igor. Doesn't matter how you close it ('X' or
escape etc), but I have to use ctrl-alt-del to stop it.

Probably because the dll(s) aren't releasing their resources properly when the
program terminates.

Chris

http://euallegro.wikispaces.com
http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

new topic     » goto parent     » topic index » view message » categorize

5. Re: Release of Yagl wrapper

Chris Burch wrote:
> 
> Hi
> 
> I'm getting the same problem as Igor. Doesn't matter how you close it ('X' or
> escape etc), but I have to use ctrl-alt-del to stop it.
> 
> Probably because the dll(s) aren't releasing their resources properly when the
> program terminates.
> 
> Chris

Hmm.

When you clikc the close button, a console window comes up, right?  If it does,
does clicking the 'X' on that window close it?

Jeremy

new topic     » goto parent     » topic index » view message » categorize

6. Re: Release of Yagl wrapper

Hi

No, the console window is unresponsive.

Chris

http://euallegro.wikispaces.com
http://members.aol.com/chriscrylex/euphoria.htm
http://uboard.proboards32.com/
http://members.aol.com/chriscrylex/EUSQLite/eusql.html

new topic     » goto parent     » topic index » view message » categorize

7. Re: Release of Yagl wrapper

Chris Burch wrote:
> 
> Hi
> 
> No, the console window is unresponsive.
> 
> Chris
> 

K, the latest version should fix this.  The link to the zip with the updated
demos is here until Rob can do it:

http://www.rapideuphoria.com/uploads/yagl4eu.zip

Thanks for testing, guys.

Jeremy

new topic     » goto parent     » topic index » view message » categorize

8. Re: Release of Yagl wrapper

Jeremy Peterson wrote:
> 
> Chris Burch wrote:
> > 
> > Hi
> > 
> > No, the console window is unresponsive.
> > 
> > Chris
> > 
> 
> K, the latest version should fix this.  The link to the zip with the updated
> demos is here until Rob can do it:
> 
> <a
> href="http://www.rapideuphoria.com/uploads/yagl4eu.zip">http://www.rapideuphoria.com/uploads/yagl4eu.zip</a>

I only get a hang on demo4, where there is a warning about unused variables x
and y, and only sometimes.

I do notice though that after running the demos, and closing them with the X,
EXW.EXE hangs around in the task manager.

I'm using the latest update of Euphoria (3.0.1?)

Gary

new topic     » goto parent     » topic index » view message » categorize

9. Re: Release of Yagl wrapper

ags wrote:
> 
> Jeremy Peterson wrote:
> > 
> > Chris Burch wrote:
> > > 
> > > Hi
> > > 
> > > No, the console window is unresponsive.
> > > 
> > > Chris
> > > 
> > 
> > K, the latest version should fix this.  The link to the zip with the updated
> > demos is here until Rob can do it:
> > 
> > <a
> > href="http://www.rapideuphoria.com/uploads/yagl4eu.zip">http://www.rapideuphoria.com/uploads/yagl4eu.zip</a>
> 
> I only get a hang on demo4, where there is a warning about unused variables
> x and y, and only sometimes.
> 
> I do notice though that after running the demos, and closing them with the X,
> EXW.EXE hangs around in the task manager.
> 
> I'm using the latest update of Euphoria (3.0.1?)
> 
> Gary

Ah yes, I'd forgotten about that.  

The previous version of the demos had this line at the end:

while get_key() = -1 do end while

which prevented exw.exe from hanging around in the task manager, but seems to
crash the program on Chris and Igor's computers.

I wonder -

new topic     » goto parent     » topic index » view message » categorize

10. Re: Release of Yagl wrapper

Jeremy Peterson wrote:
> 
> ags wrote:
> > 
> > Jeremy Peterson wrote:
> > > 
> > > Chris Burch wrote:
> > > > 
> > > > Hi
> > > > 
> > > > No, the console window is unresponsive.
> > > > 
> > > > Chris
> > > > 
> > > 
> > > K, the latest version should fix this.  The link to the zip with the
> > > updated
> > > demos is here until Rob can do it:
> > > 
> > > <a
> > > href="http://www.rapideuphoria.com/uploads/yagl4eu.zip">http://www.rapideuphoria.com/uploads/yagl4eu.zip</a>
> > 
> > I only get a hang on demo4, where there is a warning about unused variables
> > x and y, and only sometimes.
> > 
> > I do notice though that after running the demos, and closing them with the
> > X,
> > EXW.EXE hangs around in the task manager.
> > 
> > I'm using the latest update of Euphoria (3.0.1?)
> > 
> > Gary
> 
> Ah yes, I'd forgotten about that.  
> 
> The previous version of the demos had this line at the end:
> 
> while get_key() = -1 do end while
> 
> which prevented exw.exe from hanging around in the task manager, but seems to
> crash the program on Chris and Igor's computers.
> 
> I wonder -

New version of demo1..3 works ok from pure console command line and
on double clicking (without ed.ex), but demo4 hangs after finish,
when exw.exe issues the warning messages - exw.exe has no control
from the keyboard. Same story with ed.ex - it hangs.

It seems to be a bug in Yagl itself, or in its native compiler -
there is no a keyboard cleaning procedure after Yagl for exw.exe.

I think, it may be good thing to compile Yagl with Open Watcom.

Yagl is very simple and handy system though.

Regards,
Igor Kachan
kinz at peterlink.ru

new topic     » goto parent     » topic index » view message » categorize

11. Re: Release of Yagl wrapper

Hi

Demo4 closes nicely if you add without warning to the top of the file.

Chris

new topic     » goto parent     » topic index » view message » categorize

12. Re: Release of Yagl wrapper

ChrisBurch2 wrote:
> 
> Hi
> 
> Demo4 closes nicely if you add without warning to the top of the file.
> 
> Chris

That leaves EXW.EXW running invisible on my computer.

new topic     » goto parent     » topic index » view message » categorize

13. Re: Release of Yagl wrapper

All demos leave a copy of EXW.EXE running on my Windows XP Professional PC.

What can I do to fix that?

new topic     » goto parent     » topic index » view message » categorize

14. Re: Release of Yagl wrapper

c.k.lester wrote:
> 
> All demos leave a copy of EXW.EXE running on my Windows XP Professional PC.
> 
> What can I do to fix that?

CK:
  When programming in windows that is caused by a program not 
  properly sending a PostQuitMessage on the WM_CLOSE message
  when the user closes  the application.
     

Bernie

My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API 

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

new topic     » goto parent     » topic index » view message » categorize

15. Re: Release of Yagl wrapper

Bernie Ryan wrote:
> c.k.lester wrote:
> > All demos leave a copy of EXW.EXE running on my Windows XP Professional PC.
> > What can I do to fix that?
> CK:
>   When programming in windows that is caused by a program not 
>   properly sending a PostQuitMessage on the WM_CLOSE message
>   when the user closes  the application.

Jeremy, you hear that? :)

new topic     » goto parent     » topic index » view message » categorize

16. Re: Release of Yagl wrapper

c.k.lester wrote:
> 
> Bernie Ryan wrote:
> > c.k.lester wrote:
> > > All demos leave a copy of EXW.EXE running on my Windows XP Professional
> > > PC.
> > > What can I do to fix that?
> > CK:
> >   When programming in windows that is caused by a program not 
> >   properly sending a PostQuitMessage on the WM_CLOSE message
> >   when the user closes  the application.
> 
> Jeremy, you hear that? :)

Yep. :)  I'm working on it.

Possibly have to create a proc you can call at the end of the program that
automatically does this since Yagl doesn't want to do that when being used from
Eu(this problem doesn't occur with other language wrappers).

new topic     » goto parent     » topic index » view message » categorize

17. Re: Release of Yagl wrapper

Jeremy Peterson wrote:
> 
> c.k.lester wrote:
> > 
> > Bernie Ryan wrote:
> > > c.k.lester wrote:
> > > > All demos leave a copy of EXW.EXE running on my Windows XP Professional
> > > > PC.
> > > > What can I do to fix that?
> > > CK:
> > >   When programming in windows that is caused by a program not 
> > >   properly sending a PostQuitMessage on the WM_CLOSE message
> > >   when the user closes  the application.
> > 
> > Jeremy, you hear that? :)
> 
> Yep. :)  I'm working on it.
> 
> Possibly have to create a proc you can call at the end of the program that
> automatically
> does this since Yagl doesn't want to do that when being used from Eu(this
> problem
> doesn't occur with other language wrappers).

Ok, I tried that and it did not work - calling PostQuitMessage(0) when the
application is exiting.

new topic     » goto parent     » topic index » view message » categorize

18. Re: Release of Yagl wrapper

Jeremy Peterson wrote:
> does this since Yagl doesn't want to do that when being used from Eu(this
> problem
> doesn't occur with other language wrappers).

Did some reading up and Yagl looks to be abandonedware. Is that the case? What
other game libraries exist that meet or exceed Yagl's performance and cross-
platform featureset?

new topic     » goto parent     » topic index » view message » categorize

19. Re: Release of Yagl wrapper

c.k.lester wrote:
> 
> Jeremy Peterson wrote:
> > does this since Yagl doesn't want to do that when being used from Eu(this
> > problem
> > doesn't occur with other language wrappers).
> 
> Did some reading up and Yagl looks to be abandonedware. Is that the case? What
> other game libraries exist that meet or exceed Yagl's performance and cross-
> platform featureset?

Yeah, it isn't being developed right now.  The guy who created it said something
about opensourcing it, but he hasn't yet(afaik).

>What other game libraries exist that meet or exceed Yagl's performance and
>>cross- platform featureset?

I haven't found any - that were easily converted for use with Euphoria either.

new topic     » goto parent     » topic index » view message » categorize

20. Re: Release of Yagl wrapper

Jeremy Peterson wrote:
> c.k.lester wrote:
> > Did some reading up and Yagl looks to be abandonedware. Is that the case?
> > What
> > other game libraries exist that meet or exceed Yagl's performance and cross-
> > platform featureset?
> >What other game libraries exist that meet or exceed Yagl's performance and
> >>cross-
> > platform featureset?</font></i>
> 
> I haven't found any - that were easily converted for use with Euphoria either.

Mark Akita's SDL library is the top dog, methinks.
   SDL: http://www.libsdl.org/index.php.
For Euphoria:
   http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=sdl

Allegro looks great, too.
   Allegro: http://alleg.sourceforge.net/
For Euphoria:
   http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=allegro

Those look most worthy. Did I miss any? :)

new topic     » goto parent     » topic index » view message » categorize

21. Re: Release of Yagl wrapper

c.k.lester wrote:
> 
> Jeremy Peterson wrote:
> > c.k.lester wrote:
> > > Did some reading up and Yagl looks to be abandonedware. Is that the case?
> > > What
> > > other game libraries exist that meet or exceed Yagl's performance and
> > > cross-
> > > platform featureset?
> > >What other game libraries exist that meet or exceed Yagl's performance and
> > >>cross-
> > > platform featureset?</font></i>
> > 
> > I haven't found any - that were easily converted for use with Euphoria
> > either.
> 
> Mark Akita's SDL library is the top dog, methinks.
>    SDL: <a
>    href="http://www.libsdl.org/index.php">http://www.libsdl.org/index.php</a>.
>    For Euphoria: <a
>    href="http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=sdl">http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=sdl</a>
> 
> Allegro looks great, too.
>    Allegro: <a
>    href="http://alleg.sourceforge.net/">http://alleg.sourceforge.net/</a>
>    For Euphoria: <a
>    href="http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=allegro">http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=allegro</a>
> 
> Those look most worthy. Did I miss any? :)

Lol :), well, yagl is licensed under the zlib license, so I did manage to find
the source.

What's wrong with making another game library available to Euphoria? :)

Jeremy

new topic     » goto parent     » topic index » view message » categorize

22. Re: Release of Yagl wrapper

Jeremy Peterson wrote:
> c.k.lester wrote:
> > Mark Akita's SDL library is the top dog, methinks.
> >    SDL: <a
> >    href="http://www.libsdl.org/index.php">http://www.libsdl.org/index.php</a>.
> >    For Euphoria: <a
> >    href="http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=sdl">http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=sdl</a>
> > 
> > Allegro looks great, too.
> >    Allegro: <a
> >    href="http://alleg.sourceforge.net/">http://alleg.sourceforge.net/</a>
> >    For Euphoria: <a
> >    href="http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=allegro">http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=allegro</a>
> > 
> > Those look most worthy. Did I miss any? :)
> 
> Lol :), well, yagl is licensed under the zlib license, so I did manage to find
> the source.  
> 
> What's wrong with making another game library available to Euphoria? :)

Nothin's wrong with that, bro. I've been known to forsake available code
to roll my own. It's fun. :) I appreciate all your work. Keep it up!

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu