From: Kartik Thakore Date: Sat, 20 Feb 2010 17:15:35 +0000 (-0500) Subject: Added todo to index X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f060e594ff77e262c6f1e29a23acb092a1bb7ae2;p=sdlgit%2FSDL-Site.git Added todo to index --- diff --git a/pages/blog-0000.html-inc b/pages/blog-0000.html-inc index 13d3850..2d1e532 100644 --- a/pages/blog-0000.html-inc +++ b/pages/blog-0000.html-inc @@ -1,2 +1,2 @@

Articles

-
SDL_perl 2.3_5 is out!
Monday, 01 February 2010
Tags: [Releases] [SDL]
So a new alpha is out on CPAN , after a bit of a break. We are trying to pick up our speed again. Hopefully we can get back to the weekly updates. This week I am going to try to get Mixer and TTF bindings test, redesigned and doc'd. Hopefully soon we can start working on Frozen Bubble, as things are starting to come together. This alpha release has finally given us a good implementation of SDL Timers. Also Daniel Ruoso has also started a series blog posts of making games with SDL Perl. Hopefully this can get more people in SDL, cause we can sure use the help!
More to come --yapgh
[more]


Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]
So I was planning staying silent until an exam I had was done. But new developers on IRC (j_king, felix and ruoso) pull me back in. Which is a good thing ... I suppose ... because we finally have threaded callbacks for timer and audiospec to work. ruoso++ for this major contribution. If you remember this was the problem we were having.
The new callbacks capability in audiospec allow you to procedurally generate sound now. If you would like a simple example take a look at t/core_audiospec.t . However a more fun example may be ruoso++'s tecla (a game for toddlers). Myself and Garu think it is a work of art but that is only because we are toddlers.
On a side note some tickets on RT have also received some love ( after 3 or 4 years ... but nonetheless). TonyC++ sorry for the long time in response.
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
So over the past week we have been working hard to release the next Alpha for SDL-2.3. In this release we have ported SDL_Image completely, fixed false negatives in our testing suite, improved conditional building. Also we have also started to migrate the very pretty SDL_GFX library. Here is the test for it, enjoy.


[more]


Developer Release of SDL 2.3_1
Monday, 30 November 2009
Tags: [Perl] [Releases] [SDL]
Alpha Release of new API After a considerable amount of hacking and rewriting we have release the first development release of SDL perl on CPAN .
Overview of 2.3_1 In this version our goal was to tackle the proper allocations and destruction of SDL resources. We have accomplished this for all SDL Core structures. Moreover we have also improved the test suite and documentation considerably. Please read the CHANGELOG for a more detailed look.
Next steps Complete bindings for Image, Mixer, ... so on Come up with a method to provide threading in callbacks Maintain and improve SDL Core as results for CPANTS come in
[more]


SDL Perl Documentation: Reviewers need
Thursday, 26 November 2009
Tags: [Docs] [Perl] [SDL]
Documentation In an effort to learn from past versions of SDL Perl and improve. We have been writing lots of documentation for our users. Of course since this is the first time we have been providing documentation we need your help. Please review our docs, at sdl.perl.org and give us some feed back. Send us the feeback at sdl-devel@mail.org or join us at #sdl irc.perl.org
--yapgh
[more]


Migrating Sol's Tutorial of SDL to SDL_Perl
Sunday, 15 November 2009
Tags: [Example] [Perl] [SDL]
Sol's Tutorials
When I was struggling with SDL C a while ago, someone recommended Sol's Tutorial to me. It had not only help me understand video in SDL, but I believe my code has improved using Sol's code style. I would like to pass these along to fellow SDL_Perl users too. So here is the Ch 02 code of Sol's Tutorial in SDL_Perl. It will be getting more and more Perly as our team hacks on it. There is more to come!

[more]


Once in a while .... (set_event_filter)
Friday, 13 November 2009
Tags: [Perl] [SDL] [XS]
So I have been hacking for a while on SDL::Events::set_event_filter. The code below is an example usage. The magic behind this is here
1 #!/usr/bin/perl -w
2 use strict;
[more]


Hello Mouse? An Example of the New Event Code
Wednesday, 11 November 2009
Tags: [Perl] [SDL] [Sneak Preview]
You need the new code from the redesign branch to use this .
#!/usr/bin/env perl
use SDL;
[more]


Development Update
Monday, 09 November 2009
Tags: [Perl] [SDL] [Updates]
Had an exam on the weekend so I am a bit late. Here is the progress so far.
SDL::Video at 97% SDL::Events at 25% ~1000 tests cases passing on Windows and Linux

[more]


Development Update
Monday, 02 November 2009
Tags: [Perl] [SDL] [Updates]
In the past week the SDL Perl team has been busy! This is what we have accomplished
Commitment to Testing! In an effort to focus on continuing our focus on testing we have setup a Smolder site for the SDL redesign process. Currently we have two platforms (linux, windows32) regularly tested on here. If there are more people following the redesign process and would like to share their test results; contact us at sdl-devel@perl.org and we will provide access to you.
SDL::Video For the core development most of the focus has been on redesigning around the Video category of the SDL perl API. As of now we are 50% done . 19 functions out of 38 functions have been implemented and tested.
[more]


The Future and Beyond!
Saturday, 24 October 2009
Tags: [Design] [SDL] [Updates] [games]
Updates Since the last post SDL Perl has seen an increase of interest to both use and contribute to SDL Perl. Before I dig into the updates, I would like to acknowledge them.
Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation.
Website and Windows Testing FROGGS (Tobias Leich): Came in as a new user to SDL Perl. And after breaking the redesigned SDL Perl in as many ways possible he has decided to help out on the new site.
[more]


The beginnings of modular design for SDL Perl
Sunday, 11 October 2009
Tags: [Design] [SDL] [Updates]
The design before
The bindings before were all in one huge XS file . This was then exported into the SDL module. This means that the XS file has to handle with macros if any component (e.x SDL_Mixer) is not compiled. Moreover having ever binding in one XS file prevents use to treat C structs as object with only one point of free and malloc. This would be BEGIN and DESTROY in Perl. Also the monolithic design introduces a lot of bugs because we have to use free and malloc all over the place. Lastly SDL monolithic design has the constructor for all structs in both Perl and in XS.
The design we are aiming for Simple one XS per Module. This would also simplify the Build code.
[more]


Why and How Frozen Bubble is going to CPAN
Friday, 02 October 2009
Tags: [Frozen Bubble] [Perl] [SDL]


[more]


HackFest: Results
Monday, 28 September 2009
Tags: [HackFest] [Perl] [SDL]
MacOSX build is working again. It's still rough but Tetris works on it now. dngor++ SDL::Tutorial::Tetris is on CPAN as v0.15. nferraz++ SDL Perl docs are a little better now. magnet++ Finally experimental Rect and Game::Rect are behaving. There is still more work needed in Game::Rect. Moreover there are more tests on the experimental release. garu++ Also POGL is working experimentally with SDL.
Hopefully I can get the first three results into the next release soon. The next release 2.2.3 will go up as a developmental release first. Also the experimental branch is going up as version 2_4.
Developers All developers please tell me what to put you guys want to be put down as on the
[more]


Updates, Falling Block Game, and Hack Fest
Wednesday, 23 September 2009
Tags: [Docs] [Perl] [SDL]
You can grab the code . Note you will have to install deps yourself. Read the README file. It is not a tutorial yet, because it was hacked together in ~50 hours. But it playable now. During building this I found out that MacOSX (and Snow Leopard) has died again.
Hackfest So with dngor's help this sunday (27/09/09) we will have a hackfest to fix MacOSX support. Anyone with a MacOSX and wants to help is welcome on #sdl irc.perl.org . We will also try to fix up a lot of docs and the tutorial for a early next week release. Also if we can we will migrate to the new site.
[more]


Thanks nothingmuch, and updates
Friday, 18 September 2009
Tags: [Design] [Perl] [SDL] [Tutorial]
After a struggling with XS and opaque C structs in the experimental SDL::Rect for a long time. Nothingmuch comes along and solves my problem with this beautiful module XS::Object::Magic . So I will start moving my ugly XS to Magic Land.
SDL Perl Tutorials
This past week I have been working on the sorry state of SDL Perl tutorials. Currently I am working on a Tetris Clone . I am hoping to have it done by next Thrusday for TPM meeting. This tutorial is a mix of several tutorials I found online . Another Lunar Lander tutorial has been submitted by Nelson Ferraz.
[more]


Design of SDL::Rect
Saturday, 12 September 2009
Tags: [Design] [Perl] [SDL]
Lately we have been working on cleaning up the XS name spaces of SDL perl. After some bumps and falls we came up with a separated Rect module. Rect is one of the most simple C struct as shown below.

Using the awesome perlobject.map as a reference I was able to create a blessed perl object in XS . So now SDL::Rect->new(...) gave us a blessed reference ready to go. And as an icing it would destroy itself properly no matter where it was used. But once I brought it into our existing code base, garu pointed out the extending it was a little bit of a mess. So far to extend Rect we have to something like below. Any comment or advice would be much appreciated.
[more]


Updates and Design Decisions
Wednesday, 09 September 2009
Tags: [Design] [Perl] [SDL] [Updates]


--yapgh
[more]


Why I will be sticking to CPAN
Sunday, 06 September 2009
Tags: [CPAN] [Perl] [SDL]
Recently there was really long discussion on sdl-devel@perl.org about providing packages for SDL perl rather than focusing on CPAN releases. The gists of the argument was that SDL perl should be making platform specific packages for end users. I agree with this idea but I do have to face the truth.
The truth is there are very few developers currently working on SDL Perl. The truth is CPAN provides several tools that which currently drives development for SDL Perl. There are people interested in packaging SDL Perl ( kmx , jean and Jerome Quelin). The truth is there are other very critical areas we can focus on.
If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.
[more]


Frozen Bubble coming to CPAN
Friday, 04 September 2009
Tags: [CPAN] [Frozen Bubble] [Perl] [SDL]
To do this the Makefile.PL will need to be rewritten a little bit. Moreover we will need to make test using code from Frozen Bubble so that it can be smoke tested on CPAN.  If contributors need more information please contact me.
[more]


Newbie Friendly Perl Projects
Thursday, 03 September 2009
Tags: [CPAN] [Perl] [SDL] [personal]
This is a reply to szabgab's post on how to get newbies interested in Perl modules. Being a newbie in Perl myself I thought I should take a shot.
I was thinking you can make projects more accessible to newbies by having a step by step plan included with where they need to look. For example for docs of SDL_perl:
Look at SDL docs [ link ] See where SDL_perl is using the same functions [ link ] and the docs to this file [ link ] Use the pod format to add it to the source [ link to using pod ] {BONUS} Come up with tutorial or cookbook [ link to example ] Submit code to github [ link ] or email them to me [ link ]
[more]


Can someone please point me to good XS documentation!
Thursday, 03 September 2009
Tags: [Perl] [Tutorial] [XS]
A poor man begs,
A troubled man prays,
who shall answer?
[more]


More Games + Update
Tuesday, 01 September 2009
Tags: [Perl] [SDL] [games]
So while I am hacking away on v2.4 and breaking a lot of things. Here is a link to some more games for SDL Perl. These only work in windows now but I will look into bringing them to CPAN (with Garry's permission).
--yapgh
These where reported by Garry Taylor. Here is the rest of the email:
[more]


Updates on Plan for v2.4
Monday, 31 August 2009
Tags: [Perl] [SDL] [Updates]
After some hunting for memory leaks, it became obvious that some rewrite of XS will be necessary. Since this will be a big undertaking I asked for some help from chromatic and garu . We came up with the following plan for v2.4.
Currently all XS is mapped to the SDL_perl module. This does not reflect the modular nature of the sdl libs. So the plan is to gradually move SDL structs and their respective functions to their correct namespaces. We will start with SDL::Rect as garu has added many tests for it. This way the build system will be a lot easier to hack since Module::Build was made for one XS per module. Moreover we will move the Build utilities to Alien::SDL, making it even simpler. The main idea is to adhere to single responsibility principle and encapsulation.
Obviously this will take some time and effort, but it will pay off in the long run. Any help will be greatly appreciated.
[more]


Code is not the only thing
Sunday, 30 August 2009
Tags: [Perl] [Questions] [SDL]
After only several weeks of maintaining SDL perl, Today I have come to noticed how important it is to update README's, docs and so on. I will redouble my effort to do this .
However I am not sure where to start updating docs. Has anyone re-documented old modules before? Any advice? If anyone is interested in helping me to sort out documentation please contact me on sdl-devel@perl.org. For people wanting to learn the SDL base there is no better way.

[more]


+
New build system! Needs testing!
Thursday, 18 February 2010
Tags: [Building] [Releases] [SDL]



[more]


Quick Game for Toronto Perl Mongers
Thursday, 11 February 2010
Tags: [Game] [SDL] [TPM]

Beep ... Boop

[more]


SDL_perl 2.3_5 is out!
Monday, 01 February 2010
Tags: [Releases] [SDL]
We keep on rolling,
rolling,
waiting on the world to turn.
[more]


Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]

Dragged down from the lofty isles,
into the guts and gore of the monster,
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
Pretty or Ugly,
Code is Code
New or Old,
[more]


Developer Release of SDL 2.3_1
Monday, 30 November 2009
Tags: [Perl] [Releases] [SDL]

The city of Rome was built,
with the first brick.
[more]


SDL Perl Documentation: Reviewers need
Thursday, 26 November 2009
Tags: [Docs] [Perl] [SDL]

The written word,
survives;
[more]


Migrating Sol's Tutorial of SDL to SDL_Perl
Sunday, 15 November 2009
Tags: [Example] [Perl] [SDL]
If I have seen further it is only by standing on the shoulders of giants. --Newton


[more]


Once in a while .... (set_event_filter)
Friday, 13 November 2009
Tags: [Perl] [SDL] [XS]

Once in a while
Things just work!
[more]


Hello Mouse? An Example of the New Event Code
Wednesday, 11 November 2009
Tags: [Perl] [SDL] [Sneak Preview]
Any code that is not marketed is dead code
--mst

[more]


Development Update
Monday, 09 November 2009
Tags: [Perl] [SDL] [Updates]
Short and Sweet

Had an exam on the weekend so I am a bit late. Here is the progress so far.
[more]


Development Update
Monday, 02 November 2009
Tags: [Perl] [SDL] [Updates]

A stoic stone will sit idle,
but will some effort,
[more]


The Future and Beyond!
Saturday, 24 October 2009
Tags: [Design] [SDL] [Updates] [games]
I do not think about awesomeness...
I just am awesomeness
n.n
[more]


The beginnings of modular design for SDL Perl
Sunday, 11 October 2009
Tags: [Design] [SDL] [Updates]
“Do or do not... there is no try.”
--yoda
The design before
[more]


Why and How Frozen Bubble is going to CPAN
Friday, 02 October 2009
Tags: [Frozen Bubble] [Perl] [SDL]
A single drop,
causes the ocean to swell

[more]


HackFest: Results
Monday, 28 September 2009
Tags: [HackFest] [Perl] [SDL]
The beautiful sunset,
is no match for,
the ugly sunrise
[more]


Updates, Falling Block Game, and Hack Fest
Wednesday, 23 September 2009
Tags: [Docs] [Perl] [SDL]
Silent but active,
Small but deadly.

[more]


Thanks nothingmuch, and updates
Friday, 18 September 2009
Tags: [Design] [Perl] [SDL] [Tutorial]
struggle,
live,
cease,
[more]


Design of SDL::Rect
Saturday, 12 September 2009
Tags: [Design] [Perl] [SDL]

you say things,
I hear,
[more]


Updates and Design Decisions
Wednesday, 09 September 2009
Tags: [Design] [Perl] [SDL] [Updates]

Storm clouds loom,
Thunder cracks,
[more]


Why I will be sticking to CPAN
Sunday, 06 September 2009
Tags: [CPAN] [Perl] [SDL]
sculpted in clay, then fired to glass.


[more]


Frozen Bubble coming to CPAN
Friday, 04 September 2009
Tags: [CPAN] [Frozen Bubble] [Perl] [SDL]
The frozen wind, made me shiver, with excitement .
There has been some interest in making Frozen Bubble cross platform so I have forked Frozen Bubble v2.0 to my github repo . Any contributors are welcome! I will eventually be removing hacks that were needed to make Frozen Bubble work with the old SDL perl. The plan is to make Frozen Bubble cross platform by removing platform specific hacks and dependencies. One of the major switch will be from BSD sockets to SDL_net through SDL perl or XS. The main goal would be to be able to do  cpan install FrozenBubble To do this the Makefile.PL will need to be rewritten a little bit. Moreover we will need to make test using code from Frozen Bubble so that it can be smoke tested on CPAN.  If contributors need more information please contact me.


[more]


Newbie Friendly Perl Projects
Thursday, 03 September 2009
Tags: [CPAN] [Perl] [SDL] [personal]
A seed needs soft soil and water to grow This is a reply to szabgab's post on how to get newbies interested in Perl modules. Being a newbie in Perl myself I thought I should take a shot.
I was thinking you can make projects more accessible to newbies by having a step by step plan included with where they need to look. For example for docs of SDL_perl:
Look at SDL docs [ link ]
[more]


Can someone please point me to good XS documentation!
Thursday, 03 September 2009
Tags: [Perl] [Tutorial] [XS]
A poor man begs,
A troubled man prays,
who shall answer?
[more]


More Games + Update
Tuesday, 01 September 2009
Tags: [Perl] [SDL] [games]

idle digits,
play,
[more]


diff --git a/pages/blog-0001.html-inc b/pages/blog-0001.html-inc index 6b36b82..f16d3f1 100644 --- a/pages/blog-0001.html-inc +++ b/pages/blog-0001.html-inc @@ -1,6 +1,28 @@

-SDL_perl 2.3_5 is out! +New build system! Needs testing!

-
We keep on rolling,
rolling,
waiting on the world to turn.


So a new alpha is out on CPAN, after a bit of a break. We are trying to pick up our speed again. Hopefully we can get back to the weekly updates. This week I am going to try to get Mixer and TTF bindings test, redesigned and doc'd. Hopefully soon we can start working on Frozen Bubble, as things are starting to come together. This alpha release has finally given us a good implementation of SDL Timers. Also Daniel Ruoso has also started a series blog posts of making games with SDL Perl. Hopefully this can get more people in SDL, cause we can sure use the help!

More to come --yapgh
\ No newline at end of file +
+
+
+
Rome was not built,
+in one day,
 feature creep,
+existed back then too.
+
+

+
kmx++ recently worked on a brand new Build system for Alien::SDL and SDL_perl. We have managed to test it in Windows and Linux environments. We would still appreciate testing on all environments. However none of us have a shiny Mac to try this on. So if you have a Mac please consider testing the following:

+
  • Download Alien::SDL 
  • + +
    • install it
    • +
    • select build by source
    • +
    +
  • Download SDL::perl
  • + +
    • Extract it
    • +
    • perl Build.PL
    • +
    • perl Build
    • +
    • See if Bundling works ( Maybe Brian's article may help )
    • +
Thank you very much!
+


+

\ No newline at end of file diff --git a/pages/blog-0002.html-inc b/pages/blog-0002.html-inc index 1e24f25..bdf8c94 100644 --- a/pages/blog-0002.html-inc +++ b/pages/blog-0002.html-inc @@ -1,6 +1,31 @@

-Threaded XS callback finally gets solved. +Quick Game for Toronto Perl Mongers

-

Dragged down from the lofty isles,
into the guts and gore of the monster,
a welcoming cringe in the gut approaches.



So I was planning staying silent until an exam I had was done. But new developers on IRC (j_king, felix and ruoso) pull me back in. Which is a good thing ... I suppose ... because we finally have threaded callbacks for timer and audiospec to work. ruoso++ for this major contribution. If you remember this was the problem we were having.

The new callbacks capability in audiospec allow you to procedurally generate sound now. If you would like a simple example take a look at t/core_audiospec.t. However a more fun example may be ruoso++'s tecla (a game for toddlers). Myself and Garu think it is a work of art but that is only because we are toddlers.

On a side note some tickets on RT have also received some love ( after 3 or 4 years ... but nonetheless). TonyC++ sorry for the long time in response.

More information on the CHANGELOG.

Also a shout out to FROGGS for his new SON!!!. Congrats buddy!
\ No newline at end of file +
+
Beep ... Boop
+

+
+So I am preparing a presentation of the new SDL perl for February's Toronto Perl Mongers meeting. What better way to so off SDL perl then with a game?
+
+I started hacking a small point an click game a few days back. I really didn't have a idea in mind, but I did have a goal. I wanted to make a game that shows the basics of a game in SDL. Drawing to screen, game loops, physics and so on. I think I have accomplished it so far.
+
+Take a look at it here. Download that and call it[Shooter.pl]. To win click the balls.
+
+To play this game you need the following:
+
+
+I will put up binaries soon-ish.
+
+It is a playable (albeit hard) game right now. All 7 seven levels of it. The purpose of the game is simple click the balls to win. Sounds easy but it isn't. You also get a time in milliseconds after each level. Share your scores on here! I will leave it up to you guys to be honest.
+
+I do have to tidy it up and right documentation for it. This way I will be able to present it clearly to my fellow mongers. I am also still looking for ideas to make this a more polished game. FROGGS recommend I make it a classic NES duck hunt game. I thought since I am using gravity I could do a UFO game out of it where you shoot the UFOs. I am open to your ideas.
+


+

\ No newline at end of file diff --git a/pages/blog-0003.html-inc b/pages/blog-0003.html-inc index 0f278e3..1cfd8ae 100644 --- a/pages/blog-0003.html-inc +++ b/pages/blog-0003.html-inc @@ -1,6 +1,14 @@

-SDL Alpha 2: A sneak preview +SDL_perl 2.3_5 is out!

-
Pretty or Ugly,
Code is Code
New or Old,
Code is Code
Fast or Slow
Code is Code 

So over the past week we have been working hard to release the next Alpha for SDL-2.3. In this release we have ported SDL_Image completely, fixed false negatives in our testing suite, improved conditional building. Also we have also started to migrate the very pretty SDL_GFX library. Here is the test for it, enjoy.


\ No newline at end of file +
We keep on rolling,
+rolling,
+waiting on the world to turn.

+

+So a new alpha is out on CPAN, after a bit of a break. We are trying to pick up our speed again. Hopefully we can get back to the weekly updates. This week I am going to try to get Mixer and TTF bindings test, redesigned and doc'd. Hopefully soon we can start working on Frozen Bubble, as things are starting to come together. This alpha release has finally given us a good implementation of SDL Timers. Also Daniel Ruoso has also started a series blog posts of making games with SDL Perl. Hopefully this can get more people in SDL, cause we can sure use the help!
+
+More to come --yapgh
+


+

\ No newline at end of file diff --git a/pages/blog-0004.html-inc b/pages/blog-0004.html-inc index 236d5fa..64faf76 100644 --- a/pages/blog-0004.html-inc +++ b/pages/blog-0004.html-inc @@ -1,6 +1,23 @@

-Developer Release of SDL 2.3_1 +Threaded XS callback finally gets solved.

-

The city of Rome was built,
with the first brick.


Alpha Release of new API

After a considerable amount of hacking and rewriting we have release the first development release of SDL perl on CPAN.

Overview of 2.3_1

In this version our goal was to tackle the proper allocations and destruction of SDL resources. We have accomplished this for all SDL Core structures. Moreover we have also improved the test suite and documentation considerably. Please read the CHANGELOG for a more detailed look.


Next steps

  • Complete bindings for Image, Mixer, ... so on
  • Come up with a method to provide threading in callbacks
  • Maintain and improve SDL Core as results for CPANTS come in

--yapgh
\ No newline at end of file +

+Dragged down from the lofty isles,
+into the guts and gore of the monster,
+a welcoming cringe in the gut approaches.
+

+

+
+So I was planning staying silent until an exam I had was done. But new developers on IRC (j_king, felix and ruoso) pull me back in. Which is a good thing ... I suppose ... because we finally have threaded callbacks for timer and audiospec to work. ruoso++ for this major contribution. If you remember this was the problem we were having.
+
+The new callbacks capability in audiospec allow you to procedurally generate sound now. If you would like a simple example take a look at t/core_audiospec.t. However a more fun example may be ruoso++'s tecla (a game for toddlers). Myself and Garu think it is a work of art but that is only because we are toddlers.
+
+On a side note some tickets on RT have also received some love ( after 3 or 4 years ... but nonetheless). TonyC++ sorry for the long time in response.
+
+More information on the CHANGELOG.
+
+Also a shout out to FROGGS for his new SON!!!. Congrats buddy!
+


+

\ No newline at end of file diff --git a/pages/blog-0005.html-inc b/pages/blog-0005.html-inc index 62c9b48..21daaf4 100644 --- a/pages/blog-0005.html-inc +++ b/pages/blog-0005.html-inc @@ -1,6 +1,18 @@

-SDL Perl Documentation: Reviewers need +SDL Alpha 2: A sneak preview

-

The written word,
survives;
the tests of Time,
the fires of Hades,
and wrath of Pluto.


Documentation

In an effort to learn from past versions of SDL Perl and improve. We have been writing lots of documentation for our users. Of course since this is the first time we have been providing documentation we need your help. Please review our docs, at sdl.perl.org and give us some feed back. Send us the feeback at sdl-devel@mail.org or join us at #sdl irc.perl.org


--yapgh
\ No newline at end of file +
Pretty or Ugly,
+
Code is Code
+
New or Old,
+
Code is Code
+
Fast or Slow
+
Code is Code 
+

+So over the past week we have been working hard to release the next Alpha for SDL-2.3. In this release we have ported SDL_Image completely, fixed false negatives in our testing suite, improved conditional building. Also we have also started to migrate the very pretty SDL_GFX library. Here is the test for it, enjoy.
+
+

+
+


+

\ No newline at end of file diff --git a/pages/blog-0006.html-inc b/pages/blog-0006.html-inc index bc1ede2..c3b4a76 100644 --- a/pages/blog-0006.html-inc +++ b/pages/blog-0006.html-inc @@ -1,6 +1,22 @@

-Migrating Sol's Tutorial of SDL to SDL_Perl +Developer Release of SDL 2.3_1

-
If I have seen further it is only by standing on the shoulders of giants. --Newton



Sol's Tutorials


When I was struggling with SDL C a while ago, someone recommended Sol's Tutorial to me. It had not only help me understand video in SDL, but I believe my code has improved using Sol's code style. I would like to pass these along to fellow SDL_Perl users too. So here is the Ch 02 code of Sol's Tutorial in SDL_Perl. It will be getting more and more Perly as our team hacks on it. There is more to come!


To use this code you need the new Redesigned SDL_Perl Library


Getting SDL Dependencies


Only If you are on Linux (debian/ubuntu) you need the following dependencies:

$ sudo apt-get install libsdl-net1.2-dev libsdl-mixer1.2-dev libsmpeg-dev libsdl1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev 

On Windows we recommend using Strawberry Perl. It comes with SDL-1.2.13 header files and libs included.

Both Windows and Linux needs to install Alien::SDL

$ cpan Alien::SDL
** Add sudo to this for Linux

Getting Bleeding SDL


The bleeding SDL is on github. Click download on this site .

Extract it and cd into the folder run
$ cpan . 
** The dot is needed
** in Linux you may need to do sudo

Then you can run this script by doing

$ perl examples/sols/ch02.pl 
\ No newline at end of file +

+The city of Rome was built,
+with the first brick.
+

+

+

Alpha Release of new API

After a considerable amount of hacking and rewriting we have release the first development release of SDL perl on CPAN.
+
+

Overview of 2.3_1

In this version our goal was to tackle the proper allocations and destruction of SDL resources. We have accomplished this for all SDL Core structures. Moreover we have also improved the test suite and documentation considerably. Please read the CHANGELOG for a more detailed look.
+
+
+

Next steps


+--yapgh
+


+

\ No newline at end of file diff --git a/pages/blog-0007.html-inc b/pages/blog-0007.html-inc index 51a18a5..ab2aa11 100644 --- a/pages/blog-0007.html-inc +++ b/pages/blog-0007.html-inc @@ -1,6 +1,17 @@

-Once in a while .... (set_event_filter) +SDL Perl Documentation: Reviewers need

-

Once in a while
Things just work!



So I have been hacking for a while on SDL::Events::set_event_filter. The code below is an example usage. The magic behind this is here

 1 #!/usr/bin/perl -w
2
use strict;
3 use warnings;
4 use SDL v2.3; #Require the redesign branch
5
use SDL::Video;
6 use SDL::Event;
7 use SDL::Events;
8
9 SDL::init(SDL_INIT_VIDEO);
10 my $display = SDL::Video::set_video_mode(640,480,32, SDL_SWSURFACE );
11 my $event = SDL::Event->new();
12
13 #This filters out all ActiveEvents
14
my $filter = sub {
15 my ($e, $type) = ($_[0], $_[0]->type);
16 if($type == SDL_ACTIVEEVENT){ return 0 }
17 elsif($type == SDL_MOUSEBUTTONDOWN && $e->button_button == 1){ return 0 }
18 else { return 1; }
19 };
20
21 SDL::Events::set_event_filter($filter);
22
23 while(1)
24 {
25
26 SDL::Events::pump_events();
27 if(SDL::Events::poll_event($event))
28 {
29
30 if( $event->type == SDL_ACTIVEEVENT)
31 {
32 print "Hello Mouse!!!\n" if ($event->active_gain && ($event->active_state == SDL_APPMOUSEFOCUS) );
33 print "Bye Mouse!!!\n" if (!$event->active_gain && ($event->active_state == SDL_APPMOUSEFOCUS) );
34 }
35 if( $event->type == SDL_MOUSEBUTTONDOWN)
36 {
37 my ($x, $y, $but ) = ($event->button_x, $event->button_y, $event->button_button);
38 warn "$but CLICK!!! at $x and $y \n";
39 }
40
41 last if($event->type == SDL_QUIT);
42 }
43 }
44 SDL::quit()
 
 
Tinker with $filter and look at perldoc lib/SDL/pods/Event.pod. 
 
Have fun,
--yapgh
\ No newline at end of file +

+The written word,
+survives;
+the tests of Time,
+the fires of Hades,
+and wrath of Pluto.
+

+

+

Documentation

In an effort to learn from past versions of SDL Perl and improve. We have been writing lots of documentation for our users. Of course since this is the first time we have been providing documentation we need your help. Please review our docs, at sdl.perl.org and give us some feed back. Send us the feeback at sdl-devel@mail.org or join us at #sdl irc.perl.org


+--yapgh
+


+

\ No newline at end of file diff --git a/pages/blog-0008.html-inc b/pages/blog-0008.html-inc index 83a05ba..84a740f 100644 --- a/pages/blog-0008.html-inc +++ b/pages/blog-0008.html-inc @@ -1,6 +1,35 @@

-Hello Mouse? An Example of the New Event Code +Migrating Sol's Tutorial of SDL to SDL_Perl

-
Any code that is not marketed is dead code
--mst


You need the new code from the redesign branch to use this .

#!/usr/bin/env perl

use SDL;
use SDL::Events;
use SDL::Event;
use SDL::Video;

SDL::init(SDL_INIT_VIDEO);

my $display = SDL::Video::set_video_mode(640,480,32, SDL_SWSURFACE );
my $event = SDL::Event->new();

while(1)
{
SDL::Events::pump_events();

if(SDL::Events::poll_event($event) && $event->type == SDL_ACTIVEEVENT)
{
print "Hello Mouse!!!\n" if ($event->active_gain && ($event->active_state == SDL_APPMOUSEFOCUS) );
print "Bye Mouse!!!\n" if (!$event->active_gain && ($event->active_state == SDL_APPMOUSEFOCUS) );
}

exit if($event->type == SDL_QUIT);
}
\ No newline at end of file +
If I have seen further it is only by standing on the shoulders of giants. --Newton
+

+

+

+

Sol's Tutorials


+

When I was struggling with SDL C a while ago, someone recommended Sol's Tutorial to me. It had not only help me understand video in SDL, but I believe my code has improved using Sol's code style. I would like to pass these along to fellow SDL_Perl users too. So here is the Ch 02 code of Sol's Tutorial in SDL_Perl. It will be getting more and more Perly as our team hacks on it. There is more to come!
+


+

To use this code you need the new Redesigned SDL_Perl Library


+

Getting SDL Dependencies


+Only If you are on Linux (debian/ubuntu) you need the following dependencies:
+
+
$ sudo apt-get install libsdl-net1.2-dev libsdl-mixer1.2-dev libsmpeg-dev libsdl1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev 

+On Windows we recommend using Strawberry Perl. It comes with SDL-1.2.13 header files and libs included.
+
+Both Windows and Linux needs to install Alien::SDL
+
+
$ cpan Alien::SDL
** Add sudo to this for Linux
+
+

Getting Bleeding SDL


+The bleeding SDL is on github. Click download on this site .
+
+Extract it and cd into the folder run
+
$ cpan . 
** The dot is needed
+** in Linux you may need to do sudo
+
+Then you can run this script by doing
+
+
$ perl examples/sols/ch02.pl 
+


+

\ No newline at end of file diff --git a/pages/blog-0009.html-inc b/pages/blog-0009.html-inc index 2b974bc..0de3c83 100644 --- a/pages/blog-0009.html-inc +++ b/pages/blog-0009.html-inc @@ -1,6 +1,59 @@

-Development Update +Once in a while .... (set_event_filter)

-
Short and Sweet

Had an exam on the weekend so I am a bit late. Here is the progress so far.
  • SDL::Video at 97%
  • SDL::Events at 25%
  • ~1000 tests cases passing on Windows and Linux

SDL Smoke tests

The major release maybe coming quicker than we thought. FROGGS++ for helping a lot out on this. However we need more testers!! Please contact us on #sdl and we will set you up with an account on Smolder.

[Edit] Please read http://sdlperl.ath.cx/projects/SDLPerl/wiki/Testing on how to get started in test!
\ No newline at end of file +

+Once in a while
+Things just work!
+

+

+
+So I have been hacking for a while on SDL::Events::set_event_filter. The code below is an example usage. The magic behind this is here
+
+
 1 #!/usr/bin/perl -w
+ 2 use strict;
+ 3 use warnings;
+ 4 use SDL v2.3; #Require the redesign branch
+ 5 use SDL::Video;
+ 6 use SDL::Event;
+ 7 use SDL::Events;
+ 8 
+ 9 SDL::init(SDL_INIT_VIDEO);
+10 my $display = SDL::Video::set_video_mode(640,480,32, SDL_SWSURFACE );
+11 my  $event = SDL::Event->new();
+12 
+13 #This filters out all ActiveEvents
+14 my $filter = sub { 
+15      my ($e, $type) = ($_[0], $_[0]->type); 
+16      if($type == SDL_ACTIVEEVENT){ return 0 } 
+17      elsif($type == SDL_MOUSEBUTTONDOWN && $e->button_button == 1){ return 0 }
+18      else { return 1; }
+19       };
+20 
+21 SDL::Events::set_event_filter($filter);
+22 
+23 while(1)
+24 {
+25 
+26   SDL::Events::pump_events();
+27   if(SDL::Events::poll_event($event))
+28   {
+29 
+30   if(  $event->type == SDL_ACTIVEEVENT)
+31  {
+32  print "Hello Mouse!!!\n" if ($event->active_gain && ($event->active_state == SDL_APPMOUSEFOCUS) );
+33  print "Bye Mouse!!!\n" if (!$event->active_gain && ($event->active_state == SDL_APPMOUSEFOCUS) );
+34         }
+35   if( $event->type == SDL_MOUSEBUTTONDOWN)
+36    {
+37  my ($x, $y, $but ) = ($event->button_x, $event->button_y, $event->button_button);
+38  warn "$but CLICK!!! at $x and $y \n";
+39  }
+40 
+41       last if($event->type == SDL_QUIT);
+42   }
+43 }
+44 SDL::quit()
 
 
Tinker with $filter and look at perldoc lib/SDL/pods/Event.pod. 
 
Have fun,
--yapgh
+


+

\ No newline at end of file diff --git a/pages/blog-0010.html-inc b/pages/blog-0010.html-inc index 63b22df..e65be37 100644 --- a/pages/blog-0010.html-inc +++ b/pages/blog-0010.html-inc @@ -1,6 +1,36 @@

-Development Update +Hello Mouse? An Example of the New Event Code

-

A stoic stone will sit idle,
but will some effort,
A rolling rock will run!


In the past week the SDL Perl team has been busy! This is what we have accomplished


Commitment to Testing!

In an effort to focus on continuing our focus on testing we have setup a Smolder site for the SDL redesign process. Currently we have two platforms (linux, windows32) regularly tested on here. If there are more people following the redesign process and would like to share their test results; contact us at sdl-devel@perl.org and we will provide access to you.

SDL::Video

For the core development most of the focus has been on redesigning around the Video category of the SDL perl API. As of now we are 50% done. 19 functions out of 38 functions have been implemented and tested.


Site Redesign + Migration

On the end of the spectrum, Froggs has been hard at work on the graphical design of the site. More over with mst's help we will soon be migrating to http://sdl.perl.org.



Documentation

Moreover this week we have seen an increase effort from magnet on the SDL docs. Kudos!


SWIG Experimentation

Finally Katrina has begun looking into SWIG as alternative for SDL in the future.
\ No newline at end of file +
Any code that is not marketed is dead code
+--mst

+

+You need the new code from the redesign branch to use this .
+
+
#!/usr/bin/env perl
+
+use SDL;
+use SDL::Events;
+use SDL::Event;
+use SDL::Video; 
+
+SDL::init(SDL_INIT_VIDEO);
+
+my $display = SDL::Video::set_video_mode(640,480,32, SDL_SWSURFACE );
+my $event   = SDL::Event->new(); 
+
+while(1)
+{   
+ SDL::Events::pump_events();  
+
+ if(SDL::Events::poll_event($event) && $event->type == SDL_ACTIVEEVENT)
+ {
+  print "Hello Mouse!!!\n" if ($event->active_gain  && ($event->active_state == SDL_APPMOUSEFOCUS) );
+  print "Bye Mouse!!!\n"   if (!$event->active_gain && ($event->active_state == SDL_APPMOUSEFOCUS) );
+ }   
+ 
+ exit if($event->type == SDL_QUIT);
+}
+


+

\ No newline at end of file diff --git a/pages/blog-0011.html-inc b/pages/blog-0011.html-inc index 76d8474..5c755ef 100644 --- a/pages/blog-0011.html-inc +++ b/pages/blog-0011.html-inc @@ -1,6 +1,19 @@

-The Future and Beyond! +Development Update

-
I do not think about awesomeness...
I just am awesomeness
n.n
--KatrinaTheLamia


Updates

Since the last post SDL Perl has seen an increase of interest to both use and contribute to SDL Perl. Before I dig into the updates, I would like to acknowledge them.

Core Development

Acme (Leon Brocard): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation.

Website and Windows Testing

FROGGS (Tobias Leich): Came in as a new user to SDL Perl. And after breaking the redesigned SDL Perl in as many ways possible he has decided to help out on the new site.


Last Legacy Release


Ok! Now this weekend hopefully we will release our last legacy release, after this we move on! This release will focus on showing of SDL + Perl possibilities.

Pong + SDL::Game::Rect

garu has been working on making SDL object extensions that provide a more perly way to use and play with the SDL bindings. To demonstrate the benefits of this SDL::Tutorial::Pong is done and being polished up. SDL::Game::Rect is a peek in to the design and vision we have for SDL down the road.

Design

The design we have settled on for future release for SDL Perl can be broken in to two layers, SDL::* and SDL::Game::*. Previously the SDL Perl library tried to provide C bindings and provide Perl Idiomatic access. This was messy in regards to the single responsibility principle (do one thing and do it well).

We have decided to separate these two focuses into the two name spaces SDL::* and SDL::Game::*. SDL::* will provide straight access to SDL's C API, nothing less and nothing more. SDL::Game::* will extend and make pretty unicorns for Perl.

This design has already begin to pay of. One major benefit been in the XS readability. Moreover since structs are treated as objects, Perl manages their destruction, and deliver less memory leaks.
\ No newline at end of file +
Short and Sweet
+

+Had an exam on the weekend so I am a bit late. Here is the progress so far.
+
+SDL Smoke tests
+
+The major release maybe coming quicker than we thought. FROGGS++ for helping a lot out on this. However we need more testers!! Please contact us on #sdl and we will set you up with an account on Smolder.
+
+[Edit] Please read http://sdlperl.ath.cx/projects/SDLPerl/wiki/Testing on how to get started in test!
+


+

\ No newline at end of file diff --git a/pages/blog-0012.html-inc b/pages/blog-0012.html-inc index fe4b8d4..e9ae7e4 100644 --- a/pages/blog-0012.html-inc +++ b/pages/blog-0012.html-inc @@ -1,6 +1,29 @@

-The beginnings of modular design for SDL Perl +Development Update

-
“Do or do not... there is no try.”
--yoda

The design before


The bindings before were all in one huge XS file. This was then exported into the SDL module. This means that the XS file has to handle with macros if any component (e.x SDL_Mixer) is not compiled. Moreover having ever binding in one XS file prevents use to treat C structs as object with only one point of free and malloc. This would be BEGIN and DESTROY in Perl. Also the monolithic design introduces a lot of bugs because we have to use free and malloc all over the place. Lastly SDL monolithic design has the constructor for all structs in both Perl and in XS.

The design we are aiming for

Simple one XS per Module. This would also simplify the Build code.

First Step


We have began with SDL Rect. It is in github master branch now. We are in the progress of making it back compatible. Originally SDL::Rect took named variables as parameters for new(). Now since the constructor is in XS we have only unnamed parameters.


Before


SDL::Rect->new( -x => 0, -y => 0, -width => 0, -height => 0);

After


SDL::Rect->new(0, 0, 0, 0);

Ideally we would like both ways of constructing Rect.
\ No newline at end of file +

+A stoic stone will sit idle,
+but will some effort,
+A rolling rock will run!
+

+

+In the past week the SDL Perl team has been busy! This is what we have accomplished
+
+
+

Commitment to Testing!

In an effort to focus on continuing our focus on testing we have setup a Smolder site for the SDL redesign process. Currently we have two platforms (linux, windows32) regularly tested on here. If there are more people following the redesign process and would like to share their test results; contact us at sdl-devel@perl.org and we will provide access to you.
+
+

SDL::Video

For the core development most of the focus has been on redesigning around the Video category of the SDL perl API. As of now we are 50% done. 19 functions out of 38 functions have been implemented and tested.
+
+
+

Site Redesign + Migration

On the end of the spectrum, Froggs has been hard at work on the graphical design of the site. More over with mst's help we will soon be migrating to http://sdl.perl.org.
+
+
+
+

Documentation

Moreover this week we have seen an increase effort from magnet on the SDL docs. Kudos!
+
+
+

SWIG Experimentation

Finally Katrina has begun looking into SWIG as alternative for SDL in the future.
+


+

\ No newline at end of file diff --git a/pages/blog-0013.html-inc b/pages/blog-0013.html-inc index 627ed29..be4934e 100644 --- a/pages/blog-0013.html-inc +++ b/pages/blog-0013.html-inc @@ -1,6 +1,26 @@

-Why and How Frozen Bubble is going to CPAN +The Future and Beyond!

-
A single drop,
causes the ocean to swell

So 5 weeks ago, SDL Perl was broken. It had been for several years. After the last release SDL Perl works ... somewhat. The quick releases that you have seen have been work-arounds, fixes and refactoring. This is not bad for a few weeks of work but, there is a point where code smell and technical debt is too huge to fix with out redesigning. This is that point.

Since the redesigning will take time and effort it will be good to have a leg up. This leg up is Frozen Bubble 2.20. Frozen Bubble employs a lot of C and Perl hacks to cover up for SDL Perl's lacking. This will help in a sense fast forward the code status to 2008. Since Frozen Bubble is helping us out, we can go one step forward and help it out!

So Alias (Adam Kennedy) and I have started work on making Frozen Bubble CPAN accessible. Frozen Bubble is a well know game and making it cross-platform will bring lots of attention and hopefully contributions to SDL Perl.

In Alias's earlier post about this he mentioned about making a splash and some other stuff. I will talk about how and where we will be accomplishing this task.

First we will be tracking Frozen Bubble on the new SDL Perl Trac website. This site will be similar to Padre's Trac site. As a bonus for people looking to help out in SDL Perl I have separated tasks by perceived difficulty. This will help to breakdown harder task too.

For example for Frozen Bubble the two major bumps we have run into so far are:

Migrating the SDL Perl workarounds: Ticket #3
Making the Build System Portable: Ticket #7

The first one will be difficult as it involves XS. So I will break it down into easier tasks with specific instruction which can then hopefully be picked up by interested contributers. The second one there is sort of a forte of Adam so I will leave it up to him. This is the process I am proposing make hard tickets, break them down.

This will generate a lot of easy tickets that will hopefully be synchronized.  If you are interested in this please give me a shout on #sdl irc.perl.org or the mailing list at sdl-devel@perl.org and I will get you registered.

--yapgh



\ No newline at end of file +
I do not think about awesomeness...
+I just am awesomeness
+n.n
+--KatrinaTheLamia

+

+

Updates

Since the last post SDL Perl has seen an increase of interest to both use and contribute to SDL Perl. Before I dig into the updates, I would like to acknowledge them.
+

Core Development

Acme (Leon Brocard): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation.
+
+

Website and Windows Testing

FROGGS (Tobias Leich): Came in as a new user to SDL Perl. And after breaking the redesigned SDL Perl in as many ways possible he has decided to help out on the new site.
+
+
+

Last Legacy Release


+Ok! Now this weekend hopefully we will release our last legacy release, after this we move on! This release will focus on showing of SDL + Perl possibilities.
+

Pong + SDL::Game::Rect

garu has been working on making SDL object extensions that provide a more perly way to use and play with the SDL bindings. To demonstrate the benefits of this SDL::Tutorial::Pong is done and being polished up. SDL::Game::Rect is a peek in to the design and vision we have for SDL down the road.
+

Design

The design we have settled on for future release for SDL Perl can be broken in to two layers, SDL::* and SDL::Game::*. Previously the SDL Perl library tried to provide C bindings and provide Perl Idiomatic access. This was messy in regards to the single responsibility principle (do one thing and do it well).
+
+We have decided to separate these two focuses into the two name spaces SDL::* and SDL::Game::*. SDL::* will provide straight access to SDL's C API, nothing less and nothing more. SDL::Game::* will extend and make pretty unicorns for Perl.
+
+This design has already begin to pay of. One major benefit been in the XS readability. Moreover since structs are treated as objects, Perl manages their destruction, and deliver less memory leaks.
+


+

\ No newline at end of file diff --git a/pages/blog-0014.html-inc b/pages/blog-0014.html-inc index 4f7d7ba..f5d4032 100644 --- a/pages/blog-0014.html-inc +++ b/pages/blog-0014.html-inc @@ -1,6 +1,26 @@

-HackFest: Results +The beginnings of modular design for SDL Perl

-
The beautiful sunset,
is no match for,
the ugly sunrise

Results

On Sunday we had a hackfest on #sdl irc.perl.org. This is what we got done.




  1. MacOSX build is working again. It's still rough but Tetris works on it now. dngor++
  2. SDL::Tutorial::Tetris is on CPAN as v0.15. nferraz++
  3. SDL Perl docs are a little better now. magnet++
  4. Finally experimental Rect and Game::Rect are behaving. There is still more work needed in Game::Rect. Moreover there are more tests on the experimental release. garu++
  5. Also POGL is working experimentally with SDL.
Hopefully I can get the first three results into the next release soon. The next release 2.2.3 will go up as a developmental release first. Also the experimental branch is going up as version 2_4.

Developers

All developers please tell me what to put you guys want to be put down as on the
in the Docs for the SDL Perl Team section.

--yapgh
\ No newline at end of file +
“Do or do not... there is no try.”
+
--yoda
+
+

The design before


+The bindings before were all in one huge XS file. This was then exported into the SDL module. This means that the XS file has to handle with macros if any component (e.x SDL_Mixer) is not compiled. Moreover having ever binding in one XS file prevents use to treat C structs as object with only one point of free and malloc. This would be BEGIN and DESTROY in Perl. Also the monolithic design introduces a lot of bugs because we have to use free and malloc all over the place. Lastly SDL monolithic design has the constructor for all structs in both Perl and in XS.
+
+

The design we are aiming for

Simple one XS per Module. This would also simplify the Build code.
+
+

First Step


+We have began with SDL Rect. It is in github master branch now. We are in the progress of making it back compatible. Originally SDL::Rect took named variables as parameters for new(). Now since the constructor is in XS we have only unnamed parameters.
+
+
+

Before


+SDL::Rect->new( -x => 0, -y => 0, -width => 0, -height => 0);
+
+

After


+SDL::Rect->new(0, 0, 0, 0);
+
+Ideally we would like both ways of constructing Rect.
+


+

\ No newline at end of file diff --git a/pages/blog-0015.html-inc b/pages/blog-0015.html-inc index 40f22bb..bafe6a1 100644 --- a/pages/blog-0015.html-inc +++ b/pages/blog-0015.html-inc @@ -1,6 +1,34 @@

-Updates, Falling Block Game, and Hack Fest +Why and How Frozen Bubble is going to CPAN

-
Silent but active,
Small but deadly.



Updates

Ok so my blog posts have gone down a bit due to me using my fingers for coding. We have started to get some updates to SDL docs so that good. Also some of the tutorials are shaping up. This is what I have been hacking this past week.









You can grab the code. Note you will have to install deps yourself. Read the README file. It is not a tutorial yet, because it was hacked together in ~50 hours. But it playable now. During building this I found out that MacOSX (and Snow Leopard) has died again.

Hackfest

So with dngor's help this sunday (27/09/09) we will have a hackfest to fix MacOSX support. Anyone with a MacOSX and wants to help is welcome on #sdl irc.perl.org. We will also try to fix up a lot of docs and the tutorial for a early next week release. Also if we can we will migrate to the new site.
\ No newline at end of file +
A single drop,
+
causes the ocean to swell
+

+
So 5 weeks ago, SDL Perl was broken. It had been for several years. After the last release SDL Perl works ... somewhat. The quick releases that you have seen have been work-arounds, fixes and refactoring. This is not bad for a few weeks of work but, there is a point where code smell and technical debt is too huge to fix with out redesigning. This is that point.
+

+
Since the redesigning will take time and effort it will be good to have a leg up. This leg up is Frozen Bubble 2.20. Frozen Bubble employs a lot of C and Perl hacks to cover up for SDL Perl's lacking. This will help in a sense fast forward the code status to 2008. Since Frozen Bubble is helping us out, we can go one step forward and help it out!
+

+
So Alias (Adam Kennedy) and I have started work on making Frozen Bubble CPAN accessible. Frozen Bubble is a well know game and making it cross-platform will bring lots of attention and hopefully contributions to SDL Perl.
+

+
In Alias's earlier post about this he mentioned about making a splash and some other stuff. I will talk about how and where we will be accomplishing this task.
+

+
First we will be tracking Frozen Bubble on the new SDL Perl Trac website. This site will be similar to Padre's Trac site. As a bonus for people looking to help out in SDL Perl I have separated tasks by perceived difficulty. This will help to breakdown harder task too.
+

+
For example for Frozen Bubble the two major bumps we have run into so far are:
+

+
Migrating the SDL Perl workarounds: Ticket #3
+
Making the Build System Portable: Ticket #7
+

+
The first one will be difficult as it involves XS. So I will break it down into easier tasks with specific instruction which can then hopefully be picked up by interested contributers. The second one there is sort of a forte of Adam so I will leave it up to him. This is the process I am proposing make hard tickets, break them down.
+

+
This will generate a lot of easy tickets that will hopefully be synchronized.  If you are interested in this please give me a shout on #sdl irc.perl.org or the mailing list at sdl-devel@perl.org and I will get you registered.
+

+
--yapgh
+

+

+

+
+


+

\ No newline at end of file diff --git a/pages/blog-0016.html-inc b/pages/blog-0016.html-inc index 8d5d729..f91dff1 100644 --- a/pages/blog-0016.html-inc +++ b/pages/blog-0016.html-inc @@ -1,6 +1,28 @@

-Thanks nothingmuch, and updates +HackFest: Results

-
struggle,
live,
cease,
die

After a struggling with XS and opaque C structs in the experimental SDL::Rect for a long time. Nothingmuch comes along and solves my problem with this beautiful module XS::Object::Magic. So I will start moving my ugly XS to Magic Land.

SDL Perl Tutorials

This past week I have been working on the sorry state of SDL Perl tutorials. Currently I am working on a Tetris Clone. I am hoping to have it done by next Thrusday for TPM meeting. This tutorial is a mix of several tutorials I found online. Another Lunar Lander tutorial has been submitted by Nelson Ferraz.

If anyone has any really good tutorials for game development (regardless of language) or even request of tutorials. Send it my way I will look into them.

New SDL Perl site

Also we have begin work on a new site. It is still needs work. New Site.

--yapgh


\ No newline at end of file +
The beautiful sunset,
+
is no match for,
+
the ugly sunrise
+

+

Results

On Sunday we had a hackfest on #sdl irc.perl.org. This is what we got done.
+
+

+

+
+
  1. MacOSX build is working again. It's still rough but Tetris works on it now. dngor++
  2. +
  3. SDL::Tutorial::Tetris is on CPAN as v0.15. nferraz++
  4. +
  5. SDL Perl docs are a little better now. magnet++
  6. +
  7. Finally experimental Rect and Game::Rect are behaving. There is still more work needed in Game::Rect. Moreover there are more tests on the experimental release. garu++
  8. +
  9. Also POGL is working experimentally with SDL.
    +
  10. +
Hopefully I can get the first three results into the next release soon. The next release 2.2.3 will go up as a developmental release first. Also the experimental branch is going up as version 2_4.
+
+

Developers

All developers please tell me what to put you guys want to be put down as on the
+in the Docs for the SDL Perl Team section.
+
+--yapgh
+


+

\ No newline at end of file diff --git a/pages/blog-0017.html-inc b/pages/blog-0017.html-inc index c9a5692..2c25bd4 100644 --- a/pages/blog-0017.html-inc +++ b/pages/blog-0017.html-inc @@ -1,6 +1,25 @@

-Design of SDL::Rect +Updates, Falling Block Game, and Hack Fest

-

you say things,
I hear,
but don't listen,

you show things,
I see,
but don't understand,

you write things,
I read,
but don't know.

Lately we have been working on cleaning up the XS name spaces of SDL perl. After some bumps and falls we came up with a separated Rect module. Rect is one of the most simple C struct as shown below.



Using the awesome perlobject.map as a reference I was able to create a blessed perl object in XS. So now SDL::Rect->new(...) gave us a blessed reference ready to go. And as an icing it would destroy itself properly no matter where it was used. But once I brought it into our existing code base, garu pointed out the extending it was a little bit of a mess. So far to extend Rect we have to something like below. Any comment or advice would be much appreciated.





Have at it I am a big boy. You can grab the code like this.
Only If you don't already have a local git repo:

mkdir SDL
cd SDL
git init .

Then do this or skip to this if you already have a local git repo
git pull git://github.com/kthakore/SDL_perl.git experimental
\ No newline at end of file +
Silent but active,
+Small but deadly.
+

+

+
+

Updates

Ok so my blog posts have gone down a bit due to me using my fingers for coding. We have started to get some updates to SDL docs so that good. Also some of the tutorials are shaping up. This is what I have been hacking this past week.
+
+
+
+

+

+

+
+
+
+You can grab the code. Note you will have to install deps yourself. Read the README file. It is not a tutorial yet, because it was hacked together in ~50 hours. But it playable now. During building this I found out that MacOSX (and Snow Leopard) has died again.
+
+

Hackfest

So with dngor's help this sunday (27/09/09) we will have a hackfest to fix MacOSX support. Anyone with a MacOSX and wants to help is welcome on #sdl irc.perl.org. We will also try to fix up a lot of docs and the tutorial for a early next week release. Also if we can we will migrate to the new site.
+


+

\ No newline at end of file diff --git a/pages/blog-0018.html-inc b/pages/blog-0018.html-inc index f2da0d7..98b8226 100644 --- a/pages/blog-0018.html-inc +++ b/pages/blog-0018.html-inc @@ -1,6 +1,28 @@

-Updates and Design Decisions +Thanks nothingmuch, and updates

-

Storm clouds loom,
Thunder cracks,
Lightning blinds,
Farmers rejoice.

Some quick updates:
After someone bugged me to update the Ohloh site for SDL perl, I finally got around to doing it.


Some good news:
v2.2.2.11 seems to be doing a good job considering it has been started to be picked up Debian, Mandriva and other packager maintainers. The stats are currently at [PASS(11) FAIL(6) NA(1) UNKNOWN(35)].

Some OK news:
As you can see we have some fails occurring in the smoke tests. This is occurring due to the test on Mixer.pm. Mixer.pm depends on a sound card being available to the user running the test. This can be fixed by adjusting the test to check for sound cards before it runs but I am at a lost on how to do that.
In regards to the unknowns occurring it is due to the *nixes and macs not having SDL libs installed. The will be fixed when Alien::SDL downloads and compiles sources.

Some not-so-great news:
Currently the XS code simplification work requires redesign and there are several different ways of redesigning. This may break backwards compatibility, hopefully we can work around this. Soon we will present the two arguments for the designs in the mailing list.


Until next time here is  a hint of something coming soon (credits go to garu):


--yapgh
\ No newline at end of file +
struggle,
+
live,
+
cease,
+
die
+

+
After a struggling with XS and opaque C structs in the experimental SDL::Rect for a long time. Nothingmuch comes along and solves my problem with this beautiful module XS::Object::Magic. So I will start moving my ugly XS to Magic Land.
+
+SDL Perl Tutorials
+
+This past week I have been working on the sorry state of SDL Perl tutorials. Currently I am working on a Tetris Clone. I am hoping to have it done by next Thrusday for TPM meeting. This tutorial is a mix of several tutorials I found online. Another Lunar Lander tutorial has been submitted by Nelson Ferraz.
+
+If anyone has any really good tutorials for game development (regardless of language) or even request of tutorials. Send it my way I will look into them.
+
+New SDL Perl site
+
+Also we have begin work on a new site. It is still needs work. New Site.
+
+--yapgh
+
+
+
+


+

\ No newline at end of file diff --git a/pages/blog-0019.html-inc b/pages/blog-0019.html-inc index 4f9d34c..06aca75 100644 --- a/pages/blog-0019.html-inc +++ b/pages/blog-0019.html-inc @@ -1,6 +1,40 @@

-Why I will be sticking to CPAN +Design of SDL::Rect

-
sculpted in clay,
then fired to glass.


Recently there was really long discussion on sdl-devel@perl.org about providing packages for SDL perl rather than focusing on CPAN releases. The gists of the argument was that SDL perl should be making platform specific packages for end users. I agree with this idea but I do have to face the truth.

The truth is there are very few developers currently working on SDL Perl. The truth is CPAN provides several tools that which currently drives development for SDL Perl. There are people interested in packaging SDL Perl (kmx, jean and Jerome Quelin). The truth is there are other very critical areas we can focus on.

If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.
\ No newline at end of file +

+you say things,
+I hear,
+but don't listen,
+
+you show things,
+I see,
+but don't understand,
+
+you write things,
+I read,
+but don't know.
+

+Lately we have been working on cleaning up the XS name spaces of SDL perl. After some bumps and falls we came up with a separated Rect module. Rect is one of the most simple C struct as shown below.
+
+
+
+Using the awesome perlobject.map as a reference I was able to create a blessed perl object in XS. So now SDL::Rect->new(...) gave us a blessed reference ready to go. And as an icing it would destroy itself properly no matter where it was used. But once I brought it into our existing code base, garu pointed out the extending it was a little bit of a mess. So far to extend Rect we have to something like below. Any comment or advice would be much appreciated.
+
+
+
+
+
+Have at it I am a big boy. You can grab the code like this.
+Only If you don't already have a local git repo:
+
+
mkdir SDL
+cd SDL
+git init .

+Then do this or skip to this if you already have a local git repo
+
git pull git://github.com/kthakore/SDL_perl.git experimental
+


+

\ No newline at end of file diff --git a/pages/blog-0020.html-inc b/pages/blog-0020.html-inc index 61e4d70..24e9bd3 100644 --- a/pages/blog-0020.html-inc +++ b/pages/blog-0020.html-inc @@ -1,6 +1,32 @@

-Frozen Bubble coming to CPAN +Updates and Design Decisions

-
The frozen wind,
made me shiver,
with excitement.

There has been some interest in making Frozen Bubble cross platform so I have forked Frozen Bubble v2.0 to my github repo. Any contributors are welcome! I will eventually be removing hacks that were needed to make Frozen Bubble work with the old SDL perl. The plan is to make Frozen Bubble cross platform by removing platform specific hacks and dependencies. One of the major switch will be from BSD sockets to SDL_net through SDL perl or XS. The main goal would be to be able to do 
cpan install FrozenBubble
To do this the Makefile.PL will need to be rewritten a little bit. Moreover we will need to make test using code from Frozen Bubble so that it can be smoke tested on CPAN.  If contributors need more information please contact me.
\ No newline at end of file +

+Storm clouds loom,
+Thunder cracks,
+Lightning blinds,
+Farmers rejoice.
+

+Some quick updates:
+After someone bugged me to update the Ohloh site for SDL perl, I finally got around to doing it.
+
+
+Some good news:
+v2.2.2.11 seems to be doing a good job considering it has been started to be picked up Debian, Mandriva and other packager maintainers. The stats are currently at [PASS(11) FAIL(6) NA(1) UNKNOWN(35)].
+
+Some OK news:
+As you can see we have some fails occurring in the smoke tests. This is occurring due to the test on Mixer.pm. Mixer.pm depends on a sound card being available to the user running the test. This can be fixed by adjusting the test to check for sound cards before it runs but I am at a lost on how to do that.
+In regards to the unknowns occurring it is due to the *nixes and macs not having SDL libs installed. The will be fixed when Alien::SDL downloads and compiles sources.
+
+Some not-so-great news:
+Currently the XS code simplification work requires redesign and there are several different ways of redesigning. This may break backwards compatibility, hopefully we can work around this. Soon we will present the two arguments for the designs in the mailing list.
+
+
+Until next time here is  a hint of something coming soon (credits go to garu):
+

+

+--yapgh
+


+

\ No newline at end of file diff --git a/pages/blog-0021.html-inc b/pages/blog-0021.html-inc index a8a1632..dfe8872 100644 --- a/pages/blog-0021.html-inc +++ b/pages/blog-0021.html-inc @@ -1,6 +1,15 @@

-Newbie Friendly Perl Projects +Why I will be sticking to CPAN

-
A seed needs soft soil and water to grow
This is a reply to szabgab's post on how to get newbies interested in Perl modules. Being a newbie in Perl myself I thought I should take a shot.

I was thinking you can make projects more accessible to newbies by having a step by step plan included with where they need to look. For example for docs of SDL_perl:
  1. Look at SDL docs [link]
  2. See where SDL_perl is using the same functions [link] and the docs to this file [link]
  3. Use the pod format to add it to the source [link to using pod]
  4. {BONUS} Come up with tutorial or cookbook [link to example]
  5. Submit code to github [link] or email them to me [link]

Basically assume nothing is known. I know this may seem demeaning but I am a newbie to Perl and sometimes I hate looking for crust (docs). I call it crust because a crust is useful for me to eat a pizza slice, but it has no flavor .

--yapgh
\ No newline at end of file +
sculpted in clay,
then fired to glass.
+

+

+Recently there was really long discussion on sdl-devel@perl.org about providing packages for SDL perl rather than focusing on CPAN releases. The gists of the argument was that SDL perl should be making platform specific packages for end users. I agree with this idea but I do have to face the truth.
+
+The truth is there are very few developers currently working on SDL Perl. The truth is CPAN provides several tools that which currently drives development for SDL Perl. There are people interested in packaging SDL Perl (kmx, jean and Jerome Quelin). The truth is there are other very critical areas we can focus on.
+
+If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.
+


+

\ No newline at end of file diff --git a/pages/blog-0022.html-inc b/pages/blog-0022.html-inc index 464b658..5eca744 100644 --- a/pages/blog-0022.html-inc +++ b/pages/blog-0022.html-inc @@ -1,6 +1,9 @@

-Can someone please point me to good XS documentation! +Frozen Bubble coming to CPAN

-A poor man begs,
A troubled man prays,
who shall answer?




This is the first time perldoc has disappointed me. The example on perlxs is wrong and fails. I do not wish to flame writers of perlxs but please check that your examples work! Ironically I know that broken tutorials is a problem with SDL perl too.

If anyone can point me to the simplest working exaple of XS with a c struct, it would be greatly appreciated.

\ No newline at end of file +
The frozen wind,
made me shiver,
with excitement.

+
There has been some interest in making Frozen Bubble cross platform so I have forked Frozen Bubble v2.0 to my github repo. Any contributors are welcome! I will eventually be removing hacks that were needed to make Frozen Bubble work with the old SDL perl. The plan is to make Frozen Bubble cross platform by removing platform specific hacks and dependencies. One of the major switch will be from BSD sockets to SDL_net through SDL perl or XS. The main goal would be to be able to do 
cpan install FrozenBubble
To do this the Makefile.PL will need to be rewritten a little bit. Moreover we will need to make test using code from Frozen Bubble so that it can be smoke tested on CPAN.  If contributors need more information please contact me.
+


+

\ No newline at end of file diff --git a/pages/blog-0023.html-inc b/pages/blog-0023.html-inc index 4ca8719..8451d0c 100644 --- a/pages/blog-0023.html-inc +++ b/pages/blog-0023.html-inc @@ -1,6 +1,20 @@

-More Games + Update +Newbie Friendly Perl Projects

-

idle digits,
play,
away,
idle digits.

So while I am hacking away on v2.4 and breaking a lot of things. Here is a link to some more games for SDL Perl. These only work in windows now but I will look into bringing them to CPAN (with Garry's permission).

--yapgh

These where reported by Garry Taylor. Here is the rest of the email:

Hi all,
I hadn't checked this newsgroup in a while and was happy to see
that it still alive and well. I saw that some people had been sharing
some SDL Perl games online, and I had a few to share as well. At
"http://home.comcast.net/~g.f.taylor/GarrysGames.html" you can find four
games I have written as well as a simple flip book program to let a
child play at making animation on the computer. The games are "Toad" (a
Frogger wanna be), "RabbitHat" (like Centipede), "BunnyHunt" (sort of
like Pac-Man) and "Bonk The Buggies". All (with the exception of Toad
which in its very first incarnation was a game I wrote in TRS-80 Basic
back in 1981) were written originally to run on my Windows 3.11 PC for
my little girl so that she could play games which were not quite so
violent as games were starting to become at the time.


A few years ago I got the idea of trying to get them to run again
by rewriting them in Perl. The downloads are Windows XP/Vista installs
which include a bare bones Perl environment for running the games (the
installs put the code into its own separate place, and shouldn't
interfere with your existing Perl setups). I did this so that I could
share the games with friends and family who either don't have SDL
installed, don't have Perl installed, or don't do any programming and
just needed something that will run. The code as it currently stands
was not written for general publication, so there are probably places
where the Perl code itself is not always the best looking it could be,
but the games themselves work pretty well. Also, it is worth noting
that I wound up being lazy and made a few additions to the Perl SDL code
that I was using to add an additional function or two for printing text
onto the screen that was centered or right aligned.


While I have not made any Unix installs for the code, I have
actually run the games on a few Linux machines that I have access to,
where I also had installed SDL. I have not updated my SDL installs in
several years now, so there may be complications that arise if running
it with a new version of SDL.


I hope you enjoy the games (or at least aren't too mean about it
if you don't).
Garry Taylor
\ No newline at end of file +
A seed needs soft soil and water to grow
This is a reply to szabgab's post on how to get newbies interested in Perl modules. Being a newbie in Perl myself I thought I should take a shot.
+
+I was thinking you can make projects more accessible to newbies by having a step by step plan included with where they need to look. For example for docs of SDL_perl:
+
  1. Look at SDL docs [link]
  2. +
  3. See where SDL_perl is using the same functions [link] and the docs to this file [link]
  4. +
  5. Use the pod format to add it to the source [link to using pod]
  6. +
  7. {BONUS} Come up with tutorial or cookbook [link to example]
  8. +
  9. Submit code to github [link] or email them to me [link]
    +
  10. +

+Basically assume nothing is known. I know this may seem demeaning but I am a newbie to Perl and sometimes I hate looking for crust (docs). I call it crust because a crust is useful for me to eat a pizza slice, but it has no flavor .
+
+--yapgh
+


+

\ No newline at end of file diff --git a/pages/blog-0024.html-inc b/pages/blog-0024.html-inc index 65ae515..3aec498 100644 --- a/pages/blog-0024.html-inc +++ b/pages/blog-0024.html-inc @@ -1,6 +1,14 @@

-Updates on Plan for v2.4 +Can someone please point me to good XS documentation!

-
A fierce storm came,
With a crash,
Old oaks went lame.

After some hunting for memory leaks, it became obvious that some rewrite of XS will be necessary. Since this will be a big undertaking I asked for some help from chromatic and garu. We came up with the following plan for v2.4.


Currently all XS is mapped to the SDL_perl module. This does not reflect the modular nature of the sdl libs. So the plan is to gradually move SDL structs and their respective functions to their correct namespaces. We will start with SDL::Rect as garu has added many tests for it. This way the build system will be a lot easier to hack since Module::Build was made for one XS per module. Moreover we will move the Build utilities to Alien::SDL, making it even simpler. The main idea is to adhere to single responsibility principle and encapsulation.


Obviously this will take some time and effort, but it will pay off in the long run. Any help will be greatly appreciated.

--yapgh
\ No newline at end of file +A poor man begs,
+A troubled man prays,
+who shall answer?

+
+
+
+

This is the first time perldoc has disappointed me. The example on perlxs is wrong and fails. I do not wish to flame writers of perlxs but please check that your examples work! Ironically I know that broken tutorials is a problem with SDL perl too.

If anyone can point me to the simplest working exaple of XS with a c struct, it would be greatly appreciated.

+


+

\ No newline at end of file diff --git a/pages/blog-0025.html-inc b/pages/blog-0025.html-inc index 93751a1..a612737 100644 --- a/pages/blog-0025.html-inc +++ b/pages/blog-0025.html-inc @@ -1,6 +1,60 @@

-Code is not the only thing +More Games + Update

-

I did,
no one cared,
I spoke,
no one heard,
I wrote,
someone read.


After only several weeks of maintaining SDL perl, Today I have come to noticed how important it is to update README's, docs and so on. I will redouble my effort to do this.


However I am not sure where to start updating docs. Has anyone re-documented old modules before? Any advice? If anyone is interested in helping me to sort out documentation please contact me on sdl-devel@perl.org. For people wanting to learn the SDL base there is no better way.

\ No newline at end of file +

+idle digits,
+play,
+away,
+idle digits.
+

+So while I am hacking away on v2.4 and breaking a lot of things. Here is a link to some more games for SDL Perl. These only work in windows now but I will look into bringing them to CPAN (with Garry's permission).
+
+--yapgh
+
+These where reported by Garry Taylor. Here is the rest of the email:
+
+
Hi all,
+I hadn't checked this newsgroup in a while and was happy to see
+that it still alive and well. I saw that some people had been sharing
+some SDL Perl games online, and I had a few to share as well. At
+"http://home.comcast.net/~g.f.taylor/GarrysGames.html" you can find four
+games I have written as well as a simple flip book program to let a
+child play at making animation on the computer. The games are "Toad" (a
+Frogger wanna be), "RabbitHat" (like Centipede), "BunnyHunt" (sort of
+like Pac-Man) and "Bonk The Buggies". All (with the exception of Toad
+which in its very first incarnation was a game I wrote in TRS-80 Basic
+back in 1981) were written originally to run on my Windows 3.11 PC for
+my little girl so that she could play games which were not quite so
+violent as games were starting to become at the time.
+
+

+A few years ago I got the idea of trying to get them to run again
+by rewriting them in Perl. The downloads are Windows XP/Vista installs
+which include a bare bones Perl environment for running the games (the
+installs put the code into its own separate place, and shouldn't
+interfere with your existing Perl setups). I did this so that I could
+share the games with friends and family who either don't have SDL
+installed, don't have Perl installed, or don't do any programming and
+just needed something that will run. The code as it currently stands
+was not written for general publication, so there are probably places
+where the Perl code itself is not always the best looking it could be,
+but the games themselves work pretty well. Also, it is worth noting
+that I wound up being lazy and made a few additions to the Perl SDL code
+that I was using to add an additional function or two for printing text
+onto the screen that was centered or right aligned.
+
+

+While I have not made any Unix installs for the code, I have
+actually run the games on a few Linux machines that I have access to,
+where I also had installed SDL. I have not updated my SDL installs in
+several years now, so there may be complications that arise if running
+it with a new version of SDL.
+
+

+I hope you enjoy the games (or at least aren't too mean about it
+if you don't).
+Garry Taylor
+


+

\ No newline at end of file diff --git a/pages/index.pod b/pages/index.pod index 397eb63..3880976 100644 --- a/pages/index.pod +++ b/pages/index.pod @@ -50,23 +50,28 @@ SDL Perl is v2.2.6 on CPAN. The last of it's kind. This is the last release whic SDL Perl is being actively developed to v3.0. The process is as below: +=head3 TODO + =over -=item v2.4 SDL_Image, SDL_Net, SDL_Pango, SDL_TTF, SDL_GFX & SDL_Mixer Support +=item Release 2.3_7 + + Mixer Docs, tests, and XS -SDL_Image is done now at 2.3_2 (Dec 07th, 2009) +=item Release 2.3_8 -SDL_GFX is in the works + TTF Docs, tests and XS -SDL_Net is up next +=item Release 2.3_9 -Provide dependecies for FrozenBubble migration to CPAN. + Pango Docs, tests and XS -=item v2.5 ??? MultiThreading and Other Third Party Libraries +=item Release 2.4.5 + + Sugar for Core SDL objects + Make SDL work with Frozen Bubble -This release is undecided as of now. Please talk to us on the Channel or Make Tickets -2.3_5 adds more Threaded Timer support =back diff --git a/pages/tags-CPAN.html-inc b/pages/tags-CPAN.html-inc index b8377f4..66ffaa7 100644 --- a/pages/tags-CPAN.html-inc +++ b/pages/tags-CPAN.html-inc @@ -1 +1 @@ -

Results for tag: CPAN

Why I will be sticking to CPAN
Sunday, 06 September 2009
Tags: [CPAN] [Perl] [SDL]
Recently there was really long discussion on sdl-devel@perl.org about providing packages for SDL perl rather than focusing on CPAN releases. The gists of the argument was that SDL perl should be making platform specific packages for end users. I agree with this idea but I do have to face the truth.
The truth is there are very few developers currently working on SDL Perl. The truth is CPAN provides several tools that which currently drives development for SDL Perl. There are people interested in packaging SDL Perl ( kmx , jean and Jerome Quelin). The truth is there are other very critical areas we can focus on.
If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.
[more]


Frozen Bubble coming to CPAN
Friday, 04 September 2009
Tags: [CPAN] [Frozen Bubble] [Perl] [SDL]
To do this the Makefile.PL will need to be rewritten a little bit. Moreover we will need to make test using code from Frozen Bubble so that it can be smoke tested on CPAN.  If contributors need more information please contact me.
[more]


Newbie Friendly Perl Projects
Thursday, 03 September 2009
Tags: [CPAN] [Perl] [SDL] [personal]
This is a reply to szabgab's post on how to get newbies interested in Perl modules. Being a newbie in Perl myself I thought I should take a shot.
I was thinking you can make projects more accessible to newbies by having a step by step plan included with where they need to look. For example for docs of SDL_perl:
Look at SDL docs [ link ] See where SDL_perl is using the same functions [ link ] and the docs to this file [ link ] Use the pod format to add it to the source [ link to using pod ] {BONUS} Come up with tutorial or cookbook [ link to example ] Submit code to github [ link ] or email them to me [ link ]
[more]

\ No newline at end of file +

Results for tag: CPAN

Why I will be sticking to CPAN
Sunday, 06 September 2009
Tags: [CPAN] [Perl] [SDL]
sculpted in clay, then fired to glass.


[more]


Frozen Bubble coming to CPAN
Friday, 04 September 2009
Tags: [CPAN] [Frozen Bubble] [Perl] [SDL]
The frozen wind, made me shiver, with excitement .
There has been some interest in making Frozen Bubble cross platform so I have forked Frozen Bubble v2.0 to my github repo . Any contributors are welcome! I will eventually be removing hacks that were needed to make Frozen Bubble work with the old SDL perl. The plan is to make Frozen Bubble cross platform by removing platform specific hacks and dependencies. One of the major switch will be from BSD sockets to SDL_net through SDL perl or XS. The main goal would be to be able to do  cpan install FrozenBubble To do this the Makefile.PL will need to be rewritten a little bit. Moreover we will need to make test using code from Frozen Bubble so that it can be smoke tested on CPAN.  If contributors need more information please contact me.


[more]


Newbie Friendly Perl Projects
Thursday, 03 September 2009
Tags: [CPAN] [Perl] [SDL] [personal]
A seed needs soft soil and water to grow This is a reply to szabgab's post on how to get newbies interested in Perl modules. Being a newbie in Perl myself I thought I should take a shot.
I was thinking you can make projects more accessible to newbies by having a step by step plan included with where they need to look. For example for docs of SDL_perl:
Look at SDL docs [ link ]
[more]

\ No newline at end of file diff --git a/pages/tags-Design.html-inc b/pages/tags-Design.html-inc index 4bb1861..f93e59c 100644 --- a/pages/tags-Design.html-inc +++ b/pages/tags-Design.html-inc @@ -1 +1 @@ -

Results for tag: Design

The Future and Beyond!
Saturday, 24 October 2009
Tags: [Design] [SDL] [Updates] [games]
Updates Since the last post SDL Perl has seen an increase of interest to both use and contribute to SDL Perl. Before I dig into the updates, I would like to acknowledge them.
Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation.
Website and Windows Testing FROGGS (Tobias Leich): Came in as a new user to SDL Perl. And after breaking the redesigned SDL Perl in as many ways possible he has decided to help out on the new site.
[more]


The beginnings of modular design for SDL Perl
Sunday, 11 October 2009
Tags: [Design] [SDL] [Updates]
The design before
The bindings before were all in one huge XS file . This was then exported into the SDL module. This means that the XS file has to handle with macros if any component (e.x SDL_Mixer) is not compiled. Moreover having ever binding in one XS file prevents use to treat C structs as object with only one point of free and malloc. This would be BEGIN and DESTROY in Perl. Also the monolithic design introduces a lot of bugs because we have to use free and malloc all over the place. Lastly SDL monolithic design has the constructor for all structs in both Perl and in XS.
The design we are aiming for Simple one XS per Module. This would also simplify the Build code.
[more]


Thanks nothingmuch, and updates
Friday, 18 September 2009
Tags: [Design] [Perl] [SDL] [Tutorial]
After a struggling with XS and opaque C structs in the experimental SDL::Rect for a long time. Nothingmuch comes along and solves my problem with this beautiful module XS::Object::Magic . So I will start moving my ugly XS to Magic Land.
SDL Perl Tutorials
This past week I have been working on the sorry state of SDL Perl tutorials. Currently I am working on a Tetris Clone . I am hoping to have it done by next Thrusday for TPM meeting. This tutorial is a mix of several tutorials I found online . Another Lunar Lander tutorial has been submitted by Nelson Ferraz.
[more]


Design of SDL::Rect
Saturday, 12 September 2009
Tags: [Design] [Perl] [SDL]
Lately we have been working on cleaning up the XS name spaces of SDL perl. After some bumps and falls we came up with a separated Rect module. Rect is one of the most simple C struct as shown below.

Using the awesome perlobject.map as a reference I was able to create a blessed perl object in XS . So now SDL::Rect->new(...) gave us a blessed reference ready to go. And as an icing it would destroy itself properly no matter where it was used. But once I brought it into our existing code base, garu pointed out the extending it was a little bit of a mess. So far to extend Rect we have to something like below. Any comment or advice would be much appreciated.
[more]


Updates and Design Decisions
Wednesday, 09 September 2009
Tags: [Design] [Perl] [SDL] [Updates]


--yapgh
[more]

\ No newline at end of file +

Results for tag: Design

The Future and Beyond!
Saturday, 24 October 2009
Tags: [Design] [SDL] [Updates] [games]
I do not think about awesomeness...
I just am awesomeness
n.n
[more]


The beginnings of modular design for SDL Perl
Sunday, 11 October 2009
Tags: [Design] [SDL] [Updates]
“Do or do not... there is no try.”
--yoda
The design before
[more]


Thanks nothingmuch, and updates
Friday, 18 September 2009
Tags: [Design] [Perl] [SDL] [Tutorial]
struggle,
live,
cease,
[more]


Design of SDL::Rect
Saturday, 12 September 2009
Tags: [Design] [Perl] [SDL]

you say things,
I hear,
[more]


Updates and Design Decisions
Wednesday, 09 September 2009
Tags: [Design] [Perl] [SDL] [Updates]

Storm clouds loom,
Thunder cracks,
[more]

\ No newline at end of file diff --git a/pages/tags-Docs.html-inc b/pages/tags-Docs.html-inc index e7c7217..2466c1a 100644 --- a/pages/tags-Docs.html-inc +++ b/pages/tags-Docs.html-inc @@ -1 +1 @@ -

Results for tag: Docs

SDL Perl Documentation: Reviewers need
Thursday, 26 November 2009
Tags: [Docs] [Perl] [SDL]
Documentation In an effort to learn from past versions of SDL Perl and improve. We have been writing lots of documentation for our users. Of course since this is the first time we have been providing documentation we need your help. Please review our docs, at sdl.perl.org and give us some feed back. Send us the feeback at sdl-devel@mail.org or join us at #sdl irc.perl.org
--yapgh
[more]


Updates, Falling Block Game, and Hack Fest
Wednesday, 23 September 2009
Tags: [Docs] [Perl] [SDL]
You can grab the code . Note you will have to install deps yourself. Read the README file. It is not a tutorial yet, because it was hacked together in ~50 hours. But it playable now. During building this I found out that MacOSX (and Snow Leopard) has died again.
Hackfest So with dngor's help this sunday (27/09/09) we will have a hackfest to fix MacOSX support. Anyone with a MacOSX and wants to help is welcome on #sdl irc.perl.org . We will also try to fix up a lot of docs and the tutorial for a early next week release. Also if we can we will migrate to the new site.
[more]

\ No newline at end of file +

Results for tag: Docs

SDL Perl Documentation: Reviewers need
Thursday, 26 November 2009
Tags: [Docs] [Perl] [SDL]

The written word,
survives;
[more]


Updates, Falling Block Game, and Hack Fest
Wednesday, 23 September 2009
Tags: [Docs] [Perl] [SDL]
Silent but active,
Small but deadly.

[more]

\ No newline at end of file diff --git a/pages/tags-Example.html-inc b/pages/tags-Example.html-inc index 2e38093..382c3d8 100644 --- a/pages/tags-Example.html-inc +++ b/pages/tags-Example.html-inc @@ -1 +1 @@ -

Results for tag: Example

Migrating Sol's Tutorial of SDL to SDL_Perl
Sunday, 15 November 2009
Tags: [Example] [Perl] [SDL]
Sol's Tutorials
When I was struggling with SDL C a while ago, someone recommended Sol's Tutorial to me. It had not only help me understand video in SDL, but I believe my code has improved using Sol's code style. I would like to pass these along to fellow SDL_Perl users too. So here is the Ch 02 code of Sol's Tutorial in SDL_Perl. It will be getting more and more Perly as our team hacks on it. There is more to come!

[more]

\ No newline at end of file +

Results for tag: Example

Migrating Sol's Tutorial of SDL to SDL_Perl
Sunday, 15 November 2009
Tags: [Example] [Perl] [SDL]
If I have seen further it is only by standing on the shoulders of giants. --Newton


[more]

\ No newline at end of file diff --git a/pages/tags-Frozen-Bubble.html-inc b/pages/tags-Frozen-Bubble.html-inc index bc78609..7de7e8e 100644 --- a/pages/tags-Frozen-Bubble.html-inc +++ b/pages/tags-Frozen-Bubble.html-inc @@ -1 +1 @@ -

Results for tag: Frozen Bubble

Why and How Frozen Bubble is going to CPAN
Friday, 02 October 2009
Tags: [Frozen Bubble] [Perl] [SDL]


[more]


Frozen Bubble coming to CPAN
Friday, 04 September 2009
Tags: [CPAN] [Frozen Bubble] [Perl] [SDL]
To do this the Makefile.PL will need to be rewritten a little bit. Moreover we will need to make test using code from Frozen Bubble so that it can be smoke tested on CPAN.  If contributors need more information please contact me.
[more]

\ No newline at end of file +

Results for tag: Frozen Bubble

Why and How Frozen Bubble is going to CPAN
Friday, 02 October 2009
Tags: [Frozen Bubble] [Perl] [SDL]
A single drop,
causes the ocean to swell

[more]


Frozen Bubble coming to CPAN
Friday, 04 September 2009
Tags: [CPAN] [Frozen Bubble] [Perl] [SDL]
The frozen wind, made me shiver, with excitement .
There has been some interest in making Frozen Bubble cross platform so I have forked Frozen Bubble v2.0 to my github repo . Any contributors are welcome! I will eventually be removing hacks that were needed to make Frozen Bubble work with the old SDL perl. The plan is to make Frozen Bubble cross platform by removing platform specific hacks and dependencies. One of the major switch will be from BSD sockets to SDL_net through SDL perl or XS. The main goal would be to be able to do  cpan install FrozenBubble To do this the Makefile.PL will need to be rewritten a little bit. Moreover we will need to make test using code from Frozen Bubble so that it can be smoke tested on CPAN.  If contributors need more information please contact me.


[more]

\ No newline at end of file diff --git a/pages/tags-HackFest.html-inc b/pages/tags-HackFest.html-inc index d2d353d..f87ece0 100644 --- a/pages/tags-HackFest.html-inc +++ b/pages/tags-HackFest.html-inc @@ -1 +1 @@ -

Results for tag: HackFest

HackFest: Results
Monday, 28 September 2009
Tags: [HackFest] [Perl] [SDL]
MacOSX build is working again. It's still rough but Tetris works on it now. dngor++ SDL::Tutorial::Tetris is on CPAN as v0.15. nferraz++ SDL Perl docs are a little better now. magnet++ Finally experimental Rect and Game::Rect are behaving. There is still more work needed in Game::Rect. Moreover there are more tests on the experimental release. garu++ Also POGL is working experimentally with SDL.
Hopefully I can get the first three results into the next release soon. The next release 2.2.3 will go up as a developmental release first. Also the experimental branch is going up as version 2_4.
Developers All developers please tell me what to put you guys want to be put down as on the
[more]

\ No newline at end of file +

Results for tag: HackFest

HackFest: Results
Monday, 28 September 2009
Tags: [HackFest] [Perl] [SDL]
The beautiful sunset,
is no match for,
the ugly sunrise
[more]

\ No newline at end of file diff --git a/pages/tags-Perl.html-inc b/pages/tags-Perl.html-inc index 634b063..8f50168 100644 --- a/pages/tags-Perl.html-inc +++ b/pages/tags-Perl.html-inc @@ -1 +1 @@ -

Results for tag: Perl

Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]
So I was planning staying silent until an exam I had was done. But new developers on IRC (j_king, felix and ruoso) pull me back in. Which is a good thing ... I suppose ... because we finally have threaded callbacks for timer and audiospec to work. ruoso++ for this major contribution. If you remember this was the problem we were having.
The new callbacks capability in audiospec allow you to procedurally generate sound now. If you would like a simple example take a look at t/core_audiospec.t . However a more fun example may be ruoso++'s tecla (a game for toddlers). Myself and Garu think it is a work of art but that is only because we are toddlers.
On a side note some tickets on RT have also received some love ( after 3 or 4 years ... but nonetheless). TonyC++ sorry for the long time in response.
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
So over the past week we have been working hard to release the next Alpha for SDL-2.3. In this release we have ported SDL_Image completely, fixed false negatives in our testing suite, improved conditional building. Also we have also started to migrate the very pretty SDL_GFX library. Here is the test for it, enjoy.


[more]


Developer Release of SDL 2.3_1
Monday, 30 November 2009
Tags: [Perl] [Releases] [SDL]
Alpha Release of new API After a considerable amount of hacking and rewriting we have release the first development release of SDL perl on CPAN .
Overview of 2.3_1 In this version our goal was to tackle the proper allocations and destruction of SDL resources. We have accomplished this for all SDL Core structures. Moreover we have also improved the test suite and documentation considerably. Please read the CHANGELOG for a more detailed look.
Next steps Complete bindings for Image, Mixer, ... so on Come up with a method to provide threading in callbacks Maintain and improve SDL Core as results for CPANTS come in
[more]


SDL Perl Documentation: Reviewers need
Thursday, 26 November 2009
Tags: [Docs] [Perl] [SDL]
Documentation In an effort to learn from past versions of SDL Perl and improve. We have been writing lots of documentation for our users. Of course since this is the first time we have been providing documentation we need your help. Please review our docs, at sdl.perl.org and give us some feed back. Send us the feeback at sdl-devel@mail.org or join us at #sdl irc.perl.org
--yapgh
[more]


Migrating Sol's Tutorial of SDL to SDL_Perl
Sunday, 15 November 2009
Tags: [Example] [Perl] [SDL]
Sol's Tutorials
When I was struggling with SDL C a while ago, someone recommended Sol's Tutorial to me. It had not only help me understand video in SDL, but I believe my code has improved using Sol's code style. I would like to pass these along to fellow SDL_Perl users too. So here is the Ch 02 code of Sol's Tutorial in SDL_Perl. It will be getting more and more Perly as our team hacks on it. There is more to come!

[more]


Once in a while .... (set_event_filter)
Friday, 13 November 2009
Tags: [Perl] [SDL] [XS]
So I have been hacking for a while on SDL::Events::set_event_filter. The code below is an example usage. The magic behind this is here
1 #!/usr/bin/perl -w
2 use strict;
[more]


Hello Mouse? An Example of the New Event Code
Wednesday, 11 November 2009
Tags: [Perl] [SDL] [Sneak Preview]
You need the new code from the redesign branch to use this .
#!/usr/bin/env perl
use SDL;
[more]


Development Update
Monday, 09 November 2009
Tags: [Perl] [SDL] [Updates]
Had an exam on the weekend so I am a bit late. Here is the progress so far.
SDL::Video at 97% SDL::Events at 25% ~1000 tests cases passing on Windows and Linux

[more]


Development Update
Monday, 02 November 2009
Tags: [Perl] [SDL] [Updates]
In the past week the SDL Perl team has been busy! This is what we have accomplished
Commitment to Testing! In an effort to focus on continuing our focus on testing we have setup a Smolder site for the SDL redesign process. Currently we have two platforms (linux, windows32) regularly tested on here. If there are more people following the redesign process and would like to share their test results; contact us at sdl-devel@perl.org and we will provide access to you.
SDL::Video For the core development most of the focus has been on redesigning around the Video category of the SDL perl API. As of now we are 50% done . 19 functions out of 38 functions have been implemented and tested.
[more]


Why and How Frozen Bubble is going to CPAN
Friday, 02 October 2009
Tags: [Frozen Bubble] [Perl] [SDL]


[more]


HackFest: Results
Monday, 28 September 2009
Tags: [HackFest] [Perl] [SDL]
MacOSX build is working again. It's still rough but Tetris works on it now. dngor++ SDL::Tutorial::Tetris is on CPAN as v0.15. nferraz++ SDL Perl docs are a little better now. magnet++ Finally experimental Rect and Game::Rect are behaving. There is still more work needed in Game::Rect. Moreover there are more tests on the experimental release. garu++ Also POGL is working experimentally with SDL.
Hopefully I can get the first three results into the next release soon. The next release 2.2.3 will go up as a developmental release first. Also the experimental branch is going up as version 2_4.
Developers All developers please tell me what to put you guys want to be put down as on the
[more]


Updates, Falling Block Game, and Hack Fest
Wednesday, 23 September 2009
Tags: [Docs] [Perl] [SDL]
You can grab the code . Note you will have to install deps yourself. Read the README file. It is not a tutorial yet, because it was hacked together in ~50 hours. But it playable now. During building this I found out that MacOSX (and Snow Leopard) has died again.
Hackfest So with dngor's help this sunday (27/09/09) we will have a hackfest to fix MacOSX support. Anyone with a MacOSX and wants to help is welcome on #sdl irc.perl.org . We will also try to fix up a lot of docs and the tutorial for a early next week release. Also if we can we will migrate to the new site.
[more]


Thanks nothingmuch, and updates
Friday, 18 September 2009
Tags: [Design] [Perl] [SDL] [Tutorial]
After a struggling with XS and opaque C structs in the experimental SDL::Rect for a long time. Nothingmuch comes along and solves my problem with this beautiful module XS::Object::Magic . So I will start moving my ugly XS to Magic Land.
SDL Perl Tutorials
This past week I have been working on the sorry state of SDL Perl tutorials. Currently I am working on a Tetris Clone . I am hoping to have it done by next Thrusday for TPM meeting. This tutorial is a mix of several tutorials I found online . Another Lunar Lander tutorial has been submitted by Nelson Ferraz.
[more]


Design of SDL::Rect
Saturday, 12 September 2009
Tags: [Design] [Perl] [SDL]
Lately we have been working on cleaning up the XS name spaces of SDL perl. After some bumps and falls we came up with a separated Rect module. Rect is one of the most simple C struct as shown below.

Using the awesome perlobject.map as a reference I was able to create a blessed perl object in XS . So now SDL::Rect->new(...) gave us a blessed reference ready to go. And as an icing it would destroy itself properly no matter where it was used. But once I brought it into our existing code base, garu pointed out the extending it was a little bit of a mess. So far to extend Rect we have to something like below. Any comment or advice would be much appreciated.
[more]


Updates and Design Decisions
Wednesday, 09 September 2009
Tags: [Design] [Perl] [SDL] [Updates]


--yapgh
[more]


Why I will be sticking to CPAN
Sunday, 06 September 2009
Tags: [CPAN] [Perl] [SDL]
Recently there was really long discussion on sdl-devel@perl.org about providing packages for SDL perl rather than focusing on CPAN releases. The gists of the argument was that SDL perl should be making platform specific packages for end users. I agree with this idea but I do have to face the truth.
The truth is there are very few developers currently working on SDL Perl. The truth is CPAN provides several tools that which currently drives development for SDL Perl. There are people interested in packaging SDL Perl ( kmx , jean and Jerome Quelin). The truth is there are other very critical areas we can focus on.
If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.
[more]


Frozen Bubble coming to CPAN
Friday, 04 September 2009
Tags: [CPAN] [Frozen Bubble] [Perl] [SDL]
To do this the Makefile.PL will need to be rewritten a little bit. Moreover we will need to make test using code from Frozen Bubble so that it can be smoke tested on CPAN.  If contributors need more information please contact me.
[more]


Newbie Friendly Perl Projects
Thursday, 03 September 2009
Tags: [CPAN] [Perl] [SDL] [personal]
This is a reply to szabgab's post on how to get newbies interested in Perl modules. Being a newbie in Perl myself I thought I should take a shot.
I was thinking you can make projects more accessible to newbies by having a step by step plan included with where they need to look. For example for docs of SDL_perl:
Look at SDL docs [ link ] See where SDL_perl is using the same functions [ link ] and the docs to this file [ link ] Use the pod format to add it to the source [ link to using pod ] {BONUS} Come up with tutorial or cookbook [ link to example ] Submit code to github [ link ] or email them to me [ link ]
[more]


Can someone please point me to good XS documentation!
Thursday, 03 September 2009
Tags: [Perl] [Tutorial] [XS]
A poor man begs,
A troubled man prays,
who shall answer?
[more]


More Games + Update
Tuesday, 01 September 2009
Tags: [Perl] [SDL] [games]
So while I am hacking away on v2.4 and breaking a lot of things. Here is a link to some more games for SDL Perl. These only work in windows now but I will look into bringing them to CPAN (with Garry's permission).
--yapgh
These where reported by Garry Taylor. Here is the rest of the email:
[more]


Updates on Plan for v2.4
Monday, 31 August 2009
Tags: [Perl] [SDL] [Updates]
After some hunting for memory leaks, it became obvious that some rewrite of XS will be necessary. Since this will be a big undertaking I asked for some help from chromatic and garu . We came up with the following plan for v2.4.
Currently all XS is mapped to the SDL_perl module. This does not reflect the modular nature of the sdl libs. So the plan is to gradually move SDL structs and their respective functions to their correct namespaces. We will start with SDL::Rect as garu has added many tests for it. This way the build system will be a lot easier to hack since Module::Build was made for one XS per module. Moreover we will move the Build utilities to Alien::SDL, making it even simpler. The main idea is to adhere to single responsibility principle and encapsulation.
Obviously this will take some time and effort, but it will pay off in the long run. Any help will be greatly appreciated.
[more]


Code is not the only thing
Sunday, 30 August 2009
Tags: [Perl] [Questions] [SDL]
After only several weeks of maintaining SDL perl, Today I have come to noticed how important it is to update README's, docs and so on. I will redouble my effort to do this .
However I am not sure where to start updating docs. Has anyone re-documented old modules before? Any advice? If anyone is interested in helping me to sort out documentation please contact me on sdl-devel@perl.org. For people wanting to learn the SDL base there is no better way.

[more]

\ No newline at end of file +

Results for tag: Perl

Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]

Dragged down from the lofty isles,
into the guts and gore of the monster,
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
Pretty or Ugly,
Code is Code
New or Old,
[more]


Developer Release of SDL 2.3_1
Monday, 30 November 2009
Tags: [Perl] [Releases] [SDL]

The city of Rome was built,
with the first brick.
[more]


SDL Perl Documentation: Reviewers need
Thursday, 26 November 2009
Tags: [Docs] [Perl] [SDL]

The written word,
survives;
[more]


Migrating Sol's Tutorial of SDL to SDL_Perl
Sunday, 15 November 2009
Tags: [Example] [Perl] [SDL]
If I have seen further it is only by standing on the shoulders of giants. --Newton


[more]


Once in a while .... (set_event_filter)
Friday, 13 November 2009
Tags: [Perl] [SDL] [XS]

Once in a while
Things just work!
[more]


Hello Mouse? An Example of the New Event Code
Wednesday, 11 November 2009
Tags: [Perl] [SDL] [Sneak Preview]
Any code that is not marketed is dead code
--mst

[more]


Development Update
Monday, 09 November 2009
Tags: [Perl] [SDL] [Updates]
Short and Sweet

Had an exam on the weekend so I am a bit late. Here is the progress so far.
[more]


Development Update
Monday, 02 November 2009
Tags: [Perl] [SDL] [Updates]

A stoic stone will sit idle,
but will some effort,
[more]


Why and How Frozen Bubble is going to CPAN
Friday, 02 October 2009
Tags: [Frozen Bubble] [Perl] [SDL]
A single drop,
causes the ocean to swell

[more]


HackFest: Results
Monday, 28 September 2009
Tags: [HackFest] [Perl] [SDL]
The beautiful sunset,
is no match for,
the ugly sunrise
[more]


Updates, Falling Block Game, and Hack Fest
Wednesday, 23 September 2009
Tags: [Docs] [Perl] [SDL]
Silent but active,
Small but deadly.

[more]


Thanks nothingmuch, and updates
Friday, 18 September 2009
Tags: [Design] [Perl] [SDL] [Tutorial]
struggle,
live,
cease,
[more]


Design of SDL::Rect
Saturday, 12 September 2009
Tags: [Design] [Perl] [SDL]

you say things,
I hear,
[more]


Updates and Design Decisions
Wednesday, 09 September 2009
Tags: [Design] [Perl] [SDL] [Updates]

Storm clouds loom,
Thunder cracks,
[more]


Why I will be sticking to CPAN
Sunday, 06 September 2009
Tags: [CPAN] [Perl] [SDL]
sculpted in clay, then fired to glass.


[more]


Frozen Bubble coming to CPAN
Friday, 04 September 2009
Tags: [CPAN] [Frozen Bubble] [Perl] [SDL]
The frozen wind, made me shiver, with excitement .
There has been some interest in making Frozen Bubble cross platform so I have forked Frozen Bubble v2.0 to my github repo . Any contributors are welcome! I will eventually be removing hacks that were needed to make Frozen Bubble work with the old SDL perl. The plan is to make Frozen Bubble cross platform by removing platform specific hacks and dependencies. One of the major switch will be from BSD sockets to SDL_net through SDL perl or XS. The main goal would be to be able to do  cpan install FrozenBubble To do this the Makefile.PL will need to be rewritten a little bit. Moreover we will need to make test using code from Frozen Bubble so that it can be smoke tested on CPAN.  If contributors need more information please contact me.


[more]


Newbie Friendly Perl Projects
Thursday, 03 September 2009
Tags: [CPAN] [Perl] [SDL] [personal]
A seed needs soft soil and water to grow This is a reply to szabgab's post on how to get newbies interested in Perl modules. Being a newbie in Perl myself I thought I should take a shot.
I was thinking you can make projects more accessible to newbies by having a step by step plan included with where they need to look. For example for docs of SDL_perl:
Look at SDL docs [ link ]
[more]


Can someone please point me to good XS documentation!
Thursday, 03 September 2009
Tags: [Perl] [Tutorial] [XS]
A poor man begs,
A troubled man prays,
who shall answer?
[more]


More Games + Update
Tuesday, 01 September 2009
Tags: [Perl] [SDL] [games]

idle digits,
play,
[more]

\ No newline at end of file diff --git a/pages/tags-Releases.html-inc b/pages/tags-Releases.html-inc index 73f2042..f792f91 100644 --- a/pages/tags-Releases.html-inc +++ b/pages/tags-Releases.html-inc @@ -1 +1 @@ -

Results for tag: Releases

SDL_perl 2.3_5 is out!
Monday, 01 February 2010
Tags: [Releases] [SDL]
So a new alpha is out on CPAN , after a bit of a break. We are trying to pick up our speed again. Hopefully we can get back to the weekly updates. This week I am going to try to get Mixer and TTF bindings test, redesigned and doc'd. Hopefully soon we can start working on Frozen Bubble, as things are starting to come together. This alpha release has finally given us a good implementation of SDL Timers. Also Daniel Ruoso has also started a series blog posts of making games with SDL Perl. Hopefully this can get more people in SDL, cause we can sure use the help!
More to come --yapgh
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
So over the past week we have been working hard to release the next Alpha for SDL-2.3. In this release we have ported SDL_Image completely, fixed false negatives in our testing suite, improved conditional building. Also we have also started to migrate the very pretty SDL_GFX library. Here is the test for it, enjoy.


[more]


Developer Release of SDL 2.3_1
Monday, 30 November 2009
Tags: [Perl] [Releases] [SDL]
Alpha Release of new API After a considerable amount of hacking and rewriting we have release the first development release of SDL perl on CPAN .
Overview of 2.3_1 In this version our goal was to tackle the proper allocations and destruction of SDL resources. We have accomplished this for all SDL Core structures. Moreover we have also improved the test suite and documentation considerably. Please read the CHANGELOG for a more detailed look.
Next steps Complete bindings for Image, Mixer, ... so on Come up with a method to provide threading in callbacks Maintain and improve SDL Core as results for CPANTS come in
[more]

\ No newline at end of file +

Results for tag: Releases

New build system! Needs testing!
Thursday, 18 February 2010
Tags: [Building] [Releases] [SDL]



[more]


SDL_perl 2.3_5 is out!
Monday, 01 February 2010
Tags: [Releases] [SDL]
We keep on rolling,
rolling,
waiting on the world to turn.
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
Pretty or Ugly,
Code is Code
New or Old,
[more]


Developer Release of SDL 2.3_1
Monday, 30 November 2009
Tags: [Perl] [Releases] [SDL]

The city of Rome was built,
with the first brick.
[more]

\ No newline at end of file diff --git a/pages/tags-SDL.html-inc b/pages/tags-SDL.html-inc index 8cc88b9..5eebe2a 100644 --- a/pages/tags-SDL.html-inc +++ b/pages/tags-SDL.html-inc @@ -1 +1 @@ -

Results for tag: SDL

SDL_perl 2.3_5 is out!
Monday, 01 February 2010
Tags: [Releases] [SDL]
So a new alpha is out on CPAN , after a bit of a break. We are trying to pick up our speed again. Hopefully we can get back to the weekly updates. This week I am going to try to get Mixer and TTF bindings test, redesigned and doc'd. Hopefully soon we can start working on Frozen Bubble, as things are starting to come together. This alpha release has finally given us a good implementation of SDL Timers. Also Daniel Ruoso has also started a series blog posts of making games with SDL Perl. Hopefully this can get more people in SDL, cause we can sure use the help!
More to come --yapgh
[more]


Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]
So I was planning staying silent until an exam I had was done. But new developers on IRC (j_king, felix and ruoso) pull me back in. Which is a good thing ... I suppose ... because we finally have threaded callbacks for timer and audiospec to work. ruoso++ for this major contribution. If you remember this was the problem we were having.
The new callbacks capability in audiospec allow you to procedurally generate sound now. If you would like a simple example take a look at t/core_audiospec.t . However a more fun example may be ruoso++'s tecla (a game for toddlers). Myself and Garu think it is a work of art but that is only because we are toddlers.
On a side note some tickets on RT have also received some love ( after 3 or 4 years ... but nonetheless). TonyC++ sorry for the long time in response.
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
So over the past week we have been working hard to release the next Alpha for SDL-2.3. In this release we have ported SDL_Image completely, fixed false negatives in our testing suite, improved conditional building. Also we have also started to migrate the very pretty SDL_GFX library. Here is the test for it, enjoy.


[more]


Developer Release of SDL 2.3_1
Monday, 30 November 2009
Tags: [Perl] [Releases] [SDL]
Alpha Release of new API After a considerable amount of hacking and rewriting we have release the first development release of SDL perl on CPAN .
Overview of 2.3_1 In this version our goal was to tackle the proper allocations and destruction of SDL resources. We have accomplished this for all SDL Core structures. Moreover we have also improved the test suite and documentation considerably. Please read the CHANGELOG for a more detailed look.
Next steps Complete bindings for Image, Mixer, ... so on Come up with a method to provide threading in callbacks Maintain and improve SDL Core as results for CPANTS come in
[more]


SDL Perl Documentation: Reviewers need
Thursday, 26 November 2009
Tags: [Docs] [Perl] [SDL]
Documentation In an effort to learn from past versions of SDL Perl and improve. We have been writing lots of documentation for our users. Of course since this is the first time we have been providing documentation we need your help. Please review our docs, at sdl.perl.org and give us some feed back. Send us the feeback at sdl-devel@mail.org or join us at #sdl irc.perl.org
--yapgh
[more]


Migrating Sol's Tutorial of SDL to SDL_Perl
Sunday, 15 November 2009
Tags: [Example] [Perl] [SDL]
Sol's Tutorials
When I was struggling with SDL C a while ago, someone recommended Sol's Tutorial to me. It had not only help me understand video in SDL, but I believe my code has improved using Sol's code style. I would like to pass these along to fellow SDL_Perl users too. So here is the Ch 02 code of Sol's Tutorial in SDL_Perl. It will be getting more and more Perly as our team hacks on it. There is more to come!

[more]


Once in a while .... (set_event_filter)
Friday, 13 November 2009
Tags: [Perl] [SDL] [XS]
So I have been hacking for a while on SDL::Events::set_event_filter. The code below is an example usage. The magic behind this is here
1 #!/usr/bin/perl -w
2 use strict;
[more]


Hello Mouse? An Example of the New Event Code
Wednesday, 11 November 2009
Tags: [Perl] [SDL] [Sneak Preview]
You need the new code from the redesign branch to use this .
#!/usr/bin/env perl
use SDL;
[more]


Development Update
Monday, 09 November 2009
Tags: [Perl] [SDL] [Updates]
Had an exam on the weekend so I am a bit late. Here is the progress so far.
SDL::Video at 97% SDL::Events at 25% ~1000 tests cases passing on Windows and Linux

[more]


Development Update
Monday, 02 November 2009
Tags: [Perl] [SDL] [Updates]
In the past week the SDL Perl team has been busy! This is what we have accomplished
Commitment to Testing! In an effort to focus on continuing our focus on testing we have setup a Smolder site for the SDL redesign process. Currently we have two platforms (linux, windows32) regularly tested on here. If there are more people following the redesign process and would like to share their test results; contact us at sdl-devel@perl.org and we will provide access to you.
SDL::Video For the core development most of the focus has been on redesigning around the Video category of the SDL perl API. As of now we are 50% done . 19 functions out of 38 functions have been implemented and tested.
[more]


The Future and Beyond!
Saturday, 24 October 2009
Tags: [Design] [SDL] [Updates] [games]
Updates Since the last post SDL Perl has seen an increase of interest to both use and contribute to SDL Perl. Before I dig into the updates, I would like to acknowledge them.
Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation.
Website and Windows Testing FROGGS (Tobias Leich): Came in as a new user to SDL Perl. And after breaking the redesigned SDL Perl in as many ways possible he has decided to help out on the new site.
[more]


The beginnings of modular design for SDL Perl
Sunday, 11 October 2009
Tags: [Design] [SDL] [Updates]
The design before
The bindings before were all in one huge XS file . This was then exported into the SDL module. This means that the XS file has to handle with macros if any component (e.x SDL_Mixer) is not compiled. Moreover having ever binding in one XS file prevents use to treat C structs as object with only one point of free and malloc. This would be BEGIN and DESTROY in Perl. Also the monolithic design introduces a lot of bugs because we have to use free and malloc all over the place. Lastly SDL monolithic design has the constructor for all structs in both Perl and in XS.
The design we are aiming for Simple one XS per Module. This would also simplify the Build code.
[more]


Why and How Frozen Bubble is going to CPAN
Friday, 02 October 2009
Tags: [Frozen Bubble] [Perl] [SDL]


[more]


HackFest: Results
Monday, 28 September 2009
Tags: [HackFest] [Perl] [SDL]
MacOSX build is working again. It's still rough but Tetris works on it now. dngor++ SDL::Tutorial::Tetris is on CPAN as v0.15. nferraz++ SDL Perl docs are a little better now. magnet++ Finally experimental Rect and Game::Rect are behaving. There is still more work needed in Game::Rect. Moreover there are more tests on the experimental release. garu++ Also POGL is working experimentally with SDL.
Hopefully I can get the first three results into the next release soon. The next release 2.2.3 will go up as a developmental release first. Also the experimental branch is going up as version 2_4.
Developers All developers please tell me what to put you guys want to be put down as on the
[more]


Updates, Falling Block Game, and Hack Fest
Wednesday, 23 September 2009
Tags: [Docs] [Perl] [SDL]
You can grab the code . Note you will have to install deps yourself. Read the README file. It is not a tutorial yet, because it was hacked together in ~50 hours. But it playable now. During building this I found out that MacOSX (and Snow Leopard) has died again.
Hackfest So with dngor's help this sunday (27/09/09) we will have a hackfest to fix MacOSX support. Anyone with a MacOSX and wants to help is welcome on #sdl irc.perl.org . We will also try to fix up a lot of docs and the tutorial for a early next week release. Also if we can we will migrate to the new site.
[more]


Thanks nothingmuch, and updates
Friday, 18 September 2009
Tags: [Design] [Perl] [SDL] [Tutorial]
After a struggling with XS and opaque C structs in the experimental SDL::Rect for a long time. Nothingmuch comes along and solves my problem with this beautiful module XS::Object::Magic . So I will start moving my ugly XS to Magic Land.
SDL Perl Tutorials
This past week I have been working on the sorry state of SDL Perl tutorials. Currently I am working on a Tetris Clone . I am hoping to have it done by next Thrusday for TPM meeting. This tutorial is a mix of several tutorials I found online . Another Lunar Lander tutorial has been submitted by Nelson Ferraz.
[more]


Design of SDL::Rect
Saturday, 12 September 2009
Tags: [Design] [Perl] [SDL]
Lately we have been working on cleaning up the XS name spaces of SDL perl. After some bumps and falls we came up with a separated Rect module. Rect is one of the most simple C struct as shown below.

Using the awesome perlobject.map as a reference I was able to create a blessed perl object in XS . So now SDL::Rect->new(...) gave us a blessed reference ready to go. And as an icing it would destroy itself properly no matter where it was used. But once I brought it into our existing code base, garu pointed out the extending it was a little bit of a mess. So far to extend Rect we have to something like below. Any comment or advice would be much appreciated.
[more]


Updates and Design Decisions
Wednesday, 09 September 2009
Tags: [Design] [Perl] [SDL] [Updates]


--yapgh
[more]


Why I will be sticking to CPAN
Sunday, 06 September 2009
Tags: [CPAN] [Perl] [SDL]
Recently there was really long discussion on sdl-devel@perl.org about providing packages for SDL perl rather than focusing on CPAN releases. The gists of the argument was that SDL perl should be making platform specific packages for end users. I agree with this idea but I do have to face the truth.
The truth is there are very few developers currently working on SDL Perl. The truth is CPAN provides several tools that which currently drives development for SDL Perl. There are people interested in packaging SDL Perl ( kmx , jean and Jerome Quelin). The truth is there are other very critical areas we can focus on.
If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.
[more]


Frozen Bubble coming to CPAN
Friday, 04 September 2009
Tags: [CPAN] [Frozen Bubble] [Perl] [SDL]
To do this the Makefile.PL will need to be rewritten a little bit. Moreover we will need to make test using code from Frozen Bubble so that it can be smoke tested on CPAN.  If contributors need more information please contact me.
[more]


Newbie Friendly Perl Projects
Thursday, 03 September 2009
Tags: [CPAN] [Perl] [SDL] [personal]
This is a reply to szabgab's post on how to get newbies interested in Perl modules. Being a newbie in Perl myself I thought I should take a shot.
I was thinking you can make projects more accessible to newbies by having a step by step plan included with where they need to look. For example for docs of SDL_perl:
Look at SDL docs [ link ] See where SDL_perl is using the same functions [ link ] and the docs to this file [ link ] Use the pod format to add it to the source [ link to using pod ] {BONUS} Come up with tutorial or cookbook [ link to example ] Submit code to github [ link ] or email them to me [ link ]
[more]


More Games + Update
Tuesday, 01 September 2009
Tags: [Perl] [SDL] [games]
So while I am hacking away on v2.4 and breaking a lot of things. Here is a link to some more games for SDL Perl. These only work in windows now but I will look into bringing them to CPAN (with Garry's permission).
--yapgh
These where reported by Garry Taylor. Here is the rest of the email:
[more]


Updates on Plan for v2.4
Monday, 31 August 2009
Tags: [Perl] [SDL] [Updates]
After some hunting for memory leaks, it became obvious that some rewrite of XS will be necessary. Since this will be a big undertaking I asked for some help from chromatic and garu . We came up with the following plan for v2.4.
Currently all XS is mapped to the SDL_perl module. This does not reflect the modular nature of the sdl libs. So the plan is to gradually move SDL structs and their respective functions to their correct namespaces. We will start with SDL::Rect as garu has added many tests for it. This way the build system will be a lot easier to hack since Module::Build was made for one XS per module. Moreover we will move the Build utilities to Alien::SDL, making it even simpler. The main idea is to adhere to single responsibility principle and encapsulation.
Obviously this will take some time and effort, but it will pay off in the long run. Any help will be greatly appreciated.
[more]


Code is not the only thing
Sunday, 30 August 2009
Tags: [Perl] [Questions] [SDL]
After only several weeks of maintaining SDL perl, Today I have come to noticed how important it is to update README's, docs and so on. I will redouble my effort to do this .
However I am not sure where to start updating docs. Has anyone re-documented old modules before? Any advice? If anyone is interested in helping me to sort out documentation please contact me on sdl-devel@perl.org. For people wanting to learn the SDL base there is no better way.

[more]

\ No newline at end of file +

Results for tag: SDL

New build system! Needs testing!
Thursday, 18 February 2010
Tags: [Building] [Releases] [SDL]



[more]


Quick Game for Toronto Perl Mongers
Thursday, 11 February 2010
Tags: [Game] [SDL] [TPM]

Beep ... Boop

[more]


SDL_perl 2.3_5 is out!
Monday, 01 February 2010
Tags: [Releases] [SDL]
We keep on rolling,
rolling,
waiting on the world to turn.
[more]


Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]

Dragged down from the lofty isles,
into the guts and gore of the monster,
[more]


SDL Alpha 2: A sneak preview
Sunday, 06 December 2009
Tags: [Perl] [Releases] [SDL]
Pretty or Ugly,
Code is Code
New or Old,
[more]


Developer Release of SDL 2.3_1
Monday, 30 November 2009
Tags: [Perl] [Releases] [SDL]

The city of Rome was built,
with the first brick.
[more]


SDL Perl Documentation: Reviewers need
Thursday, 26 November 2009
Tags: [Docs] [Perl] [SDL]

The written word,
survives;
[more]


Migrating Sol's Tutorial of SDL to SDL_Perl
Sunday, 15 November 2009
Tags: [Example] [Perl] [SDL]
If I have seen further it is only by standing on the shoulders of giants. --Newton


[more]


Once in a while .... (set_event_filter)
Friday, 13 November 2009
Tags: [Perl] [SDL] [XS]

Once in a while
Things just work!
[more]


Hello Mouse? An Example of the New Event Code
Wednesday, 11 November 2009
Tags: [Perl] [SDL] [Sneak Preview]
Any code that is not marketed is dead code
--mst

[more]


Development Update
Monday, 09 November 2009
Tags: [Perl] [SDL] [Updates]
Short and Sweet

Had an exam on the weekend so I am a bit late. Here is the progress so far.
[more]


Development Update
Monday, 02 November 2009
Tags: [Perl] [SDL] [Updates]

A stoic stone will sit idle,
but will some effort,
[more]


The Future and Beyond!
Saturday, 24 October 2009
Tags: [Design] [SDL] [Updates] [games]
I do not think about awesomeness...
I just am awesomeness
n.n
[more]


The beginnings of modular design for SDL Perl
Sunday, 11 October 2009
Tags: [Design] [SDL] [Updates]
“Do or do not... there is no try.”
--yoda
The design before
[more]


Why and How Frozen Bubble is going to CPAN
Friday, 02 October 2009
Tags: [Frozen Bubble] [Perl] [SDL]
A single drop,
causes the ocean to swell

[more]


HackFest: Results
Monday, 28 September 2009
Tags: [HackFest] [Perl] [SDL]
The beautiful sunset,
is no match for,
the ugly sunrise
[more]


Updates, Falling Block Game, and Hack Fest
Wednesday, 23 September 2009
Tags: [Docs] [Perl] [SDL]
Silent but active,
Small but deadly.

[more]


Thanks nothingmuch, and updates
Friday, 18 September 2009
Tags: [Design] [Perl] [SDL] [Tutorial]
struggle,
live,
cease,
[more]


Design of SDL::Rect
Saturday, 12 September 2009
Tags: [Design] [Perl] [SDL]

you say things,
I hear,
[more]


Updates and Design Decisions
Wednesday, 09 September 2009
Tags: [Design] [Perl] [SDL] [Updates]

Storm clouds loom,
Thunder cracks,
[more]


Why I will be sticking to CPAN
Sunday, 06 September 2009
Tags: [CPAN] [Perl] [SDL]
sculpted in clay, then fired to glass.


[more]


Frozen Bubble coming to CPAN
Friday, 04 September 2009
Tags: [CPAN] [Frozen Bubble] [Perl] [SDL]
The frozen wind, made me shiver, with excitement .
There has been some interest in making Frozen Bubble cross platform so I have forked Frozen Bubble v2.0 to my github repo . Any contributors are welcome! I will eventually be removing hacks that were needed to make Frozen Bubble work with the old SDL perl. The plan is to make Frozen Bubble cross platform by removing platform specific hacks and dependencies. One of the major switch will be from BSD sockets to SDL_net through SDL perl or XS. The main goal would be to be able to do  cpan install FrozenBubble To do this the Makefile.PL will need to be rewritten a little bit. Moreover we will need to make test using code from Frozen Bubble so that it can be smoke tested on CPAN.  If contributors need more information please contact me.


[more]


Newbie Friendly Perl Projects
Thursday, 03 September 2009
Tags: [CPAN] [Perl] [SDL] [personal]
A seed needs soft soil and water to grow This is a reply to szabgab's post on how to get newbies interested in Perl modules. Being a newbie in Perl myself I thought I should take a shot.
I was thinking you can make projects more accessible to newbies by having a step by step plan included with where they need to look. For example for docs of SDL_perl:
Look at SDL docs [ link ]
[more]


More Games + Update
Tuesday, 01 September 2009
Tags: [Perl] [SDL] [games]

idle digits,
play,
[more]

\ No newline at end of file diff --git a/pages/tags-Sneak-Preview.html-inc b/pages/tags-Sneak-Preview.html-inc index 55feafb..78409ad 100644 --- a/pages/tags-Sneak-Preview.html-inc +++ b/pages/tags-Sneak-Preview.html-inc @@ -1 +1 @@ -

Results for tag: Sneak Preview

Hello Mouse? An Example of the New Event Code
Wednesday, 11 November 2009
Tags: [Perl] [SDL] [Sneak Preview]
You need the new code from the redesign branch to use this .
#!/usr/bin/env perl
use SDL;
[more]

\ No newline at end of file +

Results for tag: Sneak Preview

Hello Mouse? An Example of the New Event Code
Wednesday, 11 November 2009
Tags: [Perl] [SDL] [Sneak Preview]
Any code that is not marketed is dead code
--mst

[more]

\ No newline at end of file diff --git a/pages/tags-Tutorial.html-inc b/pages/tags-Tutorial.html-inc index 9804155..77a2bef 100644 --- a/pages/tags-Tutorial.html-inc +++ b/pages/tags-Tutorial.html-inc @@ -1 +1 @@ -

Results for tag: Tutorial

Thanks nothingmuch, and updates
Friday, 18 September 2009
Tags: [Design] [Perl] [SDL] [Tutorial]
After a struggling with XS and opaque C structs in the experimental SDL::Rect for a long time. Nothingmuch comes along and solves my problem with this beautiful module XS::Object::Magic . So I will start moving my ugly XS to Magic Land.
SDL Perl Tutorials
This past week I have been working on the sorry state of SDL Perl tutorials. Currently I am working on a Tetris Clone . I am hoping to have it done by next Thrusday for TPM meeting. This tutorial is a mix of several tutorials I found online . Another Lunar Lander tutorial has been submitted by Nelson Ferraz.
[more]


Can someone please point me to good XS documentation!
Thursday, 03 September 2009
Tags: [Perl] [Tutorial] [XS]
A poor man begs,
A troubled man prays,
who shall answer?
[more]

\ No newline at end of file +

Results for tag: Tutorial

Thanks nothingmuch, and updates
Friday, 18 September 2009
Tags: [Design] [Perl] [SDL] [Tutorial]
struggle,
live,
cease,
[more]


Can someone please point me to good XS documentation!
Thursday, 03 September 2009
Tags: [Perl] [Tutorial] [XS]
A poor man begs,
A troubled man prays,
who shall answer?
[more]

\ No newline at end of file diff --git a/pages/tags-Updates.html-inc b/pages/tags-Updates.html-inc index c3d6afe..543d2bb 100644 --- a/pages/tags-Updates.html-inc +++ b/pages/tags-Updates.html-inc @@ -1 +1 @@ -

Results for tag: Updates

Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]
So I was planning staying silent until an exam I had was done. But new developers on IRC (j_king, felix and ruoso) pull me back in. Which is a good thing ... I suppose ... because we finally have threaded callbacks for timer and audiospec to work. ruoso++ for this major contribution. If you remember this was the problem we were having.
The new callbacks capability in audiospec allow you to procedurally generate sound now. If you would like a simple example take a look at t/core_audiospec.t . However a more fun example may be ruoso++'s tecla (a game for toddlers). Myself and Garu think it is a work of art but that is only because we are toddlers.
On a side note some tickets on RT have also received some love ( after 3 or 4 years ... but nonetheless). TonyC++ sorry for the long time in response.
[more]


Development Update
Monday, 09 November 2009
Tags: [Perl] [SDL] [Updates]
Had an exam on the weekend so I am a bit late. Here is the progress so far.
SDL::Video at 97% SDL::Events at 25% ~1000 tests cases passing on Windows and Linux

[more]


Development Update
Monday, 02 November 2009
Tags: [Perl] [SDL] [Updates]
In the past week the SDL Perl team has been busy! This is what we have accomplished
Commitment to Testing! In an effort to focus on continuing our focus on testing we have setup a Smolder site for the SDL redesign process. Currently we have two platforms (linux, windows32) regularly tested on here. If there are more people following the redesign process and would like to share their test results; contact us at sdl-devel@perl.org and we will provide access to you.
SDL::Video For the core development most of the focus has been on redesigning around the Video category of the SDL perl API. As of now we are 50% done . 19 functions out of 38 functions have been implemented and tested.
[more]


The Future and Beyond!
Saturday, 24 October 2009
Tags: [Design] [SDL] [Updates] [games]
Updates Since the last post SDL Perl has seen an increase of interest to both use and contribute to SDL Perl. Before I dig into the updates, I would like to acknowledge them.
Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation.
Website and Windows Testing FROGGS (Tobias Leich): Came in as a new user to SDL Perl. And after breaking the redesigned SDL Perl in as many ways possible he has decided to help out on the new site.
[more]


The beginnings of modular design for SDL Perl
Sunday, 11 October 2009
Tags: [Design] [SDL] [Updates]
The design before
The bindings before were all in one huge XS file . This was then exported into the SDL module. This means that the XS file has to handle with macros if any component (e.x SDL_Mixer) is not compiled. Moreover having ever binding in one XS file prevents use to treat C structs as object with only one point of free and malloc. This would be BEGIN and DESTROY in Perl. Also the monolithic design introduces a lot of bugs because we have to use free and malloc all over the place. Lastly SDL monolithic design has the constructor for all structs in both Perl and in XS.
The design we are aiming for Simple one XS per Module. This would also simplify the Build code.
[more]


Updates and Design Decisions
Wednesday, 09 September 2009
Tags: [Design] [Perl] [SDL] [Updates]


--yapgh
[more]


Updates on Plan for v2.4
Monday, 31 August 2009
Tags: [Perl] [SDL] [Updates]
After some hunting for memory leaks, it became obvious that some rewrite of XS will be necessary. Since this will be a big undertaking I asked for some help from chromatic and garu . We came up with the following plan for v2.4.
Currently all XS is mapped to the SDL_perl module. This does not reflect the modular nature of the sdl libs. So the plan is to gradually move SDL structs and their respective functions to their correct namespaces. We will start with SDL::Rect as garu has added many tests for it. This way the build system will be a lot easier to hack since Module::Build was made for one XS per module. Moreover we will move the Build utilities to Alien::SDL, making it even simpler. The main idea is to adhere to single responsibility principle and encapsulation.
Obviously this will take some time and effort, but it will pay off in the long run. Any help will be greatly appreciated.
[more]

\ No newline at end of file +

Results for tag: Updates

Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]

Dragged down from the lofty isles,
into the guts and gore of the monster,
[more]


Development Update
Monday, 09 November 2009
Tags: [Perl] [SDL] [Updates]
Short and Sweet

Had an exam on the weekend so I am a bit late. Here is the progress so far.
[more]


Development Update
Monday, 02 November 2009
Tags: [Perl] [SDL] [Updates]

A stoic stone will sit idle,
but will some effort,
[more]


The Future and Beyond!
Saturday, 24 October 2009
Tags: [Design] [SDL] [Updates] [games]
I do not think about awesomeness...
I just am awesomeness
n.n
[more]


The beginnings of modular design for SDL Perl
Sunday, 11 October 2009
Tags: [Design] [SDL] [Updates]
“Do or do not... there is no try.”
--yoda
The design before
[more]


Updates and Design Decisions
Wednesday, 09 September 2009
Tags: [Design] [Perl] [SDL] [Updates]

Storm clouds loom,
Thunder cracks,
[more]

\ No newline at end of file diff --git a/pages/tags-XS.html-inc b/pages/tags-XS.html-inc index 372d744..7cc4776 100644 --- a/pages/tags-XS.html-inc +++ b/pages/tags-XS.html-inc @@ -1 +1 @@ -

Results for tag: XS

Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]
So I was planning staying silent until an exam I had was done. But new developers on IRC (j_king, felix and ruoso) pull me back in. Which is a good thing ... I suppose ... because we finally have threaded callbacks for timer and audiospec to work. ruoso++ for this major contribution. If you remember this was the problem we were having.
The new callbacks capability in audiospec allow you to procedurally generate sound now. If you would like a simple example take a look at t/core_audiospec.t . However a more fun example may be ruoso++'s tecla (a game for toddlers). Myself and Garu think it is a work of art but that is only because we are toddlers.
On a side note some tickets on RT have also received some love ( after 3 or 4 years ... but nonetheless). TonyC++ sorry for the long time in response.
[more]


Once in a while .... (set_event_filter)
Friday, 13 November 2009
Tags: [Perl] [SDL] [XS]
So I have been hacking for a while on SDL::Events::set_event_filter. The code below is an example usage. The magic behind this is here
1 #!/usr/bin/perl -w
2 use strict;
[more]


Can someone please point me to good XS documentation!
Thursday, 03 September 2009
Tags: [Perl] [Tutorial] [XS]
A poor man begs,
A troubled man prays,
who shall answer?
[more]

\ No newline at end of file +

Results for tag: XS

Threaded XS callback finally gets solved.
Wednesday, 06 January 2010
Tags: [Perl] [SDL] [Updates] [XS]

Dragged down from the lofty isles,
into the guts and gore of the monster,
[more]


Once in a while .... (set_event_filter)
Friday, 13 November 2009
Tags: [Perl] [SDL] [XS]

Once in a while
Things just work!
[more]


Can someone please point me to good XS documentation!
Thursday, 03 September 2009
Tags: [Perl] [Tutorial] [XS]
A poor man begs,
A troubled man prays,
who shall answer?
[more]

\ No newline at end of file diff --git a/pages/tags-games.html-inc b/pages/tags-games.html-inc index 5d35e2f..bdd3767 100644 --- a/pages/tags-games.html-inc +++ b/pages/tags-games.html-inc @@ -1 +1 @@ -

Results for tag: games

The Future and Beyond!
Saturday, 24 October 2009
Tags: [Design] [SDL] [Updates] [games]
Updates Since the last post SDL Perl has seen an increase of interest to both use and contribute to SDL Perl. Before I dig into the updates, I would like to acknowledge them.
Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation.
Website and Windows Testing FROGGS (Tobias Leich): Came in as a new user to SDL Perl. And after breaking the redesigned SDL Perl in as many ways possible he has decided to help out on the new site.
[more]


More Games + Update
Tuesday, 01 September 2009
Tags: [Perl] [SDL] [games]
So while I am hacking away on v2.4 and breaking a lot of things. Here is a link to some more games for SDL Perl. These only work in windows now but I will look into bringing them to CPAN (with Garry's permission).
--yapgh
These where reported by Garry Taylor. Here is the rest of the email:
[more]

\ No newline at end of file +

Results for tag: games

The Future and Beyond!
Saturday, 24 October 2009
Tags: [Design] [SDL] [Updates] [games]
I do not think about awesomeness...
I just am awesomeness
n.n
[more]


More Games + Update
Tuesday, 01 September 2009
Tags: [Perl] [SDL] [games]

idle digits,
play,
[more]

\ No newline at end of file diff --git a/pages/tags-index b/pages/tags-index index abd1c66..8408d1f 100644 --- a/pages/tags-index +++ b/pages/tags-index @@ -1,16 +1,18 @@ -CPAN: blog-0019.html-inc,blog-0020.html-inc,blog-0021.html-inc -Design: blog-0011.html-inc,blog-0012.html-inc,blog-0016.html-inc,blog-0017.html-inc,blog-0018.html-inc -Docs: blog-0005.html-inc,blog-0015.html-inc -Example: blog-0006.html-inc -Frozen Bubble: blog-0013.html-inc,blog-0020.html-inc -HackFest: blog-0014.html-inc -Perl: blog-0002.html-inc,blog-0003.html-inc,blog-0004.html-inc,blog-0005.html-inc,blog-0006.html-inc,blog-0007.html-inc,blog-0008.html-inc,blog-0009.html-inc,blog-0010.html-inc,blog-0013.html-inc,blog-0014.html-inc,blog-0015.html-inc,blog-0016.html-inc,blog-0017.html-inc,blog-0018.html-inc,blog-0019.html-inc,blog-0020.html-inc,blog-0021.html-inc,blog-0022.html-inc,blog-0023.html-inc,blog-0024.html-inc,blog-0025.html-inc -Questions: blog-0025.html-inc -Releases: blog-0001.html-inc,blog-0003.html-inc,blog-0004.html-inc -SDL: blog-0001.html-inc,blog-0002.html-inc,blog-0003.html-inc,blog-0004.html-inc,blog-0005.html-inc,blog-0006.html-inc,blog-0007.html-inc,blog-0008.html-inc,blog-0009.html-inc,blog-0010.html-inc,blog-0011.html-inc,blog-0012.html-inc,blog-0013.html-inc,blog-0014.html-inc,blog-0015.html-inc,blog-0016.html-inc,blog-0017.html-inc,blog-0018.html-inc,blog-0019.html-inc,blog-0020.html-inc,blog-0021.html-inc,blog-0023.html-inc,blog-0024.html-inc,blog-0025.html-inc -Sneak Preview: blog-0008.html-inc -Tutorial: blog-0016.html-inc,blog-0022.html-inc -Updates: blog-0002.html-inc,blog-0009.html-inc,blog-0010.html-inc,blog-0011.html-inc,blog-0012.html-inc,blog-0018.html-inc,blog-0024.html-inc -XS: blog-0002.html-inc,blog-0007.html-inc,blog-0022.html-inc -games: blog-0011.html-inc,blog-0023.html-inc -personal: blog-0021.html-inc +Building: blog-0001.html-inc +CPAN: blog-0021.html-inc,blog-0022.html-inc,blog-0023.html-inc +Design: blog-0013.html-inc,blog-0014.html-inc,blog-0018.html-inc,blog-0019.html-inc,blog-0020.html-inc +Docs: blog-0007.html-inc,blog-0017.html-inc +Example: blog-0008.html-inc +Frozen Bubble: blog-0015.html-inc,blog-0022.html-inc +Game: blog-0002.html-inc +HackFest: blog-0016.html-inc +Perl: blog-0004.html-inc,blog-0005.html-inc,blog-0006.html-inc,blog-0007.html-inc,blog-0008.html-inc,blog-0009.html-inc,blog-0010.html-inc,blog-0011.html-inc,blog-0012.html-inc,blog-0015.html-inc,blog-0016.html-inc,blog-0017.html-inc,blog-0018.html-inc,blog-0019.html-inc,blog-0020.html-inc,blog-0021.html-inc,blog-0022.html-inc,blog-0023.html-inc,blog-0024.html-inc,blog-0025.html-inc +Releases: blog-0001.html-inc,blog-0003.html-inc,blog-0005.html-inc,blog-0006.html-inc +SDL: blog-0001.html-inc,blog-0002.html-inc,blog-0003.html-inc,blog-0004.html-inc,blog-0005.html-inc,blog-0006.html-inc,blog-0007.html-inc,blog-0008.html-inc,blog-0009.html-inc,blog-0010.html-inc,blog-0011.html-inc,blog-0012.html-inc,blog-0013.html-inc,blog-0014.html-inc,blog-0015.html-inc,blog-0016.html-inc,blog-0017.html-inc,blog-0018.html-inc,blog-0019.html-inc,blog-0020.html-inc,blog-0021.html-inc,blog-0022.html-inc,blog-0023.html-inc,blog-0025.html-inc +Sneak Preview: blog-0010.html-inc +TPM: blog-0002.html-inc +Tutorial: blog-0018.html-inc,blog-0024.html-inc +Updates: blog-0004.html-inc,blog-0011.html-inc,blog-0012.html-inc,blog-0013.html-inc,blog-0014.html-inc,blog-0020.html-inc +XS: blog-0004.html-inc,blog-0009.html-inc,blog-0024.html-inc +games: blog-0013.html-inc,blog-0025.html-inc +personal: blog-0023.html-inc diff --git a/pages/tags-personal.html-inc b/pages/tags-personal.html-inc index fd7dc89..22fb716 100644 --- a/pages/tags-personal.html-inc +++ b/pages/tags-personal.html-inc @@ -1 +1 @@ -

Results for tag: personal

Newbie Friendly Perl Projects
Thursday, 03 September 2009
Tags: [CPAN] [Perl] [SDL] [personal]
This is a reply to szabgab's post on how to get newbies interested in Perl modules. Being a newbie in Perl myself I thought I should take a shot.
I was thinking you can make projects more accessible to newbies by having a step by step plan included with where they need to look. For example for docs of SDL_perl:
Look at SDL docs [ link ] See where SDL_perl is using the same functions [ link ] and the docs to this file [ link ] Use the pod format to add it to the source [ link to using pod ] {BONUS} Come up with tutorial or cookbook [ link to example ] Submit code to github [ link ] or email them to me [ link ]
[more]

\ No newline at end of file +

Results for tag: personal

Newbie Friendly Perl Projects
Thursday, 03 September 2009
Tags: [CPAN] [Perl] [SDL] [personal]
A seed needs soft soil and water to grow This is a reply to szabgab's post on how to get newbies interested in Perl modules. Being a newbie in Perl myself I thought I should take a shot.
I was thinking you can make projects more accessible to newbies by having a step by step plan included with where they need to look. For example for docs of SDL_perl:
Look at SDL docs [ link ]
[more]

\ No newline at end of file