<div class="blog"><h1>Articles</h1>
-<div><a href="blog-0001.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> 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 . <br /> 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. <br /> 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 <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> 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 <br /> --yapgh <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> Sol's Tutorials <br /> 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!<br /> <br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0004.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a><br />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 <br /> 1 #!/usr/bin/perl -w<br /> 2 use strict;<br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a><br />You need the new code from the redesign branch to use this . <br /> #!/usr/bin/env perl<br />use SDL;<br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a><br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /> SDL::Video at 97% SDL::Events at 25% ~1000 tests cases passing on Windows and Linux <br /> <br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a><br />In the past week the SDL Perl team has been busy! This is what we have accomplished<br /> 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.<br /> 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. <br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.html">The Future and Beyond!</a><br /><span style="font-size: 10px">Saturday, 24 October 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a><br /> 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.<br /> Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation. <br /> 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. <br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.html">The beginnings of modular design for SDL Perl</a><br /><span style="font-size: 10px">Sunday, 11 October 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a><br /> The design before <br />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. <br /> The design we are aiming for Simple one XS per Module. This would also simplify the Build code.<br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.html">Why and How Frozen Bubble is going to CPAN</a><br /><span style="font-size: 10px">Friday, 02 October 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> <br /> <br /><a href="blog-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.html">HackFest: Results</a><br /><span style="font-size: 10px">Monday, 28 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-HackFest.html" style="font-size: 10px">[HackFest]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> 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. <br /> 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.<br /> Developers All developers please tell me what to put you guys want to be put down as on the <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.html">Updates, Falling Block Game, and Hack Fest</a><br /><span style="font-size: 10px">Wednesday, 23 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />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.<br /> 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.<br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.html">Thanks nothingmuch, and updates</a><br /><span style="font-size: 10px">Friday, 18 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a><br /> 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.<br /> SDL Perl Tutorials <br />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.<br /><a href="blog-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">Design of SDL::Rect</a><br /><span style="font-size: 10px">Saturday, 12 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />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. <br /> <br />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.<br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.html">Updates and Design Decisions</a><br /><span style="font-size: 10px">Wednesday, 09 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a><br /> <br /> <br /> --yapgh <br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.html">Why I will be sticking to CPAN</a><br /><span style="font-size: 10px">Sunday, 06 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />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. <br />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. <br />If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.<br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">Frozen Bubble coming to CPAN</a><br /><span style="font-size: 10px">Friday, 04 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> 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. <br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">Newbie Friendly Perl Projects</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-personal.html" style="font-size: 10px">[personal]</a><br />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.<br />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:<br /> 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 ]<br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Can someone please point me to good XS documentation!</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a><br /> A poor man begs,<br />A troubled man prays,<br />who shall answer? <br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.html">More Games + Update</a><br /><span style="font-size: 10px">Tuesday, 01 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a><br />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). <br /> --yapgh <br />These where reported by Garry Taylor. Here is the rest of the email:<br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">Updates on Plan for v2.4</a><br /><span style="font-size: 10px">Monday, 31 August 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a><br /> 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. <br /> 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. <br /> Obviously this will take some time and effort, but it will pay off in the long run. Any help will be greatly appreciated. <br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.html">Code is not the only thing</a><br /><span style="font-size: 10px">Sunday, 30 August 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Questions.html" style="font-size: 10px">[Questions]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> 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 . <br /> 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.<br /> <br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.html">SDL Perl v2.2.2 out and Plans for v2.4</a><br /><span style="font-size: 10px">Saturday, 29 August 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> I have release v2.2.2 which includes several bug fixes:<br /> Made App loop() faster RT Patched support for add support for gluquadric* sub RT Made App init slimer RT Added faster SDL::Color alternative RT Added better error reporting for TTFont errors Added experimental win32 support RT [Update: v2.2.2.5 is better for windows support] <br /> You can grab this release off CPAN . <br /><a href="blog-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.html">Catching memory leaks in XS</a><br /><span style="font-size: 10px">Friday, 28 August 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />So I am trying to find and plug memory leaks in SDL perl. Most of the memory leaks occur because in XS a reference is still held. One very expensive mem leak was caught by TELS really early on here . The problem occurs where in XS there is<br /> RETVAL = (cast *) safemalloc( ... ); and safefree(...) is never called.<br />Here is a in code example lines 1082 on. <br /><a href="blog-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.html">Alien::SDL 0.01 released!!!</a><br /><span style="font-size: 10px">Thursday, 27 August 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Alien.html" style="font-size: 10px">[Alien]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />With yesterday's frantic coding to get windows compatibility setup we were left with a very crude way of installing. After some late night hacking I finally came up with Alias's suggestion to have Alien::SDL. All thanks to Alias's generous access to his windows farm , I was able to make a easier module to install SDL deps on windows. Future plans are in place to get sources and compile them for other platform.Hopefully a SDL perl release will be out soon to use Alien::SDL now.<br />The above script is in test/testsprite.pl. <br />Until then you can do:<br /><a href="blog-0025.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /></div>
+<div><a href="blog-0001.html">SDL Alpha 2: A sneak preview</a><br /><span style="font-size: 10px">Sunday, 06 December 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />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.<br /> <br /> <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> 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 . <br /> 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. <br /> 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 <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> 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 <br /> --yapgh <br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0004.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> Sol's Tutorials <br /> 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!<br /> <br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a><br />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 <br /> 1 #!/usr/bin/perl -w<br /> 2 use strict;<br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a><br />You need the new code from the redesign branch to use this . <br /> #!/usr/bin/env perl<br />use SDL;<br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a><br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /> SDL::Video at 97% SDL::Events at 25% ~1000 tests cases passing on Windows and Linux <br /> <br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a><br />In the past week the SDL Perl team has been busy! This is what we have accomplished<br /> 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.<br /> 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. <br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.html">The Future and Beyond!</a><br /><span style="font-size: 10px">Saturday, 24 October 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a><br /> 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.<br /> Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation. <br /> 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. <br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.html">The beginnings of modular design for SDL Perl</a><br /><span style="font-size: 10px">Sunday, 11 October 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a><br /> The design before <br />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. <br /> The design we are aiming for Simple one XS per Module. This would also simplify the Build code.<br /><a href="blog-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.html">Why and How Frozen Bubble is going to CPAN</a><br /><span style="font-size: 10px">Friday, 02 October 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> <br /> <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.html">HackFest: Results</a><br /><span style="font-size: 10px">Monday, 28 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-HackFest.html" style="font-size: 10px">[HackFest]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> 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. <br /> 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.<br /> Developers All developers please tell me what to put you guys want to be put down as on the <br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.html">Updates, Falling Block Game, and Hack Fest</a><br /><span style="font-size: 10px">Wednesday, 23 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />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.<br /> 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.<br /><a href="blog-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">Thanks nothingmuch, and updates</a><br /><span style="font-size: 10px">Friday, 18 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a><br /> 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.<br /> SDL Perl Tutorials <br />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.<br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.html">Design of SDL::Rect</a><br /><span style="font-size: 10px">Saturday, 12 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />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. <br /> <br />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.<br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.html">Updates and Design Decisions</a><br /><span style="font-size: 10px">Wednesday, 09 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a><br /> <br /> <br /> --yapgh <br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">Why I will be sticking to CPAN</a><br /><span style="font-size: 10px">Sunday, 06 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />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. <br />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. <br />If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.<br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">Frozen Bubble coming to CPAN</a><br /><span style="font-size: 10px">Friday, 04 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> 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. <br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Newbie Friendly Perl Projects</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-personal.html" style="font-size: 10px">[personal]</a><br />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.<br />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:<br /> 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 ]<br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.html">Can someone please point me to good XS documentation!</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a><br /> A poor man begs,<br />A troubled man prays,<br />who shall answer? <br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">More Games + Update</a><br /><span style="font-size: 10px">Tuesday, 01 September 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a><br />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). <br /> --yapgh <br />These where reported by Garry Taylor. Here is the rest of the email:<br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.html">Updates on Plan for v2.4</a><br /><span style="font-size: 10px">Monday, 31 August 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a><br /> 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. <br /> 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. <br /> Obviously this will take some time and effort, but it will pay off in the long run. Any help will be greatly appreciated. <br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.html">Code is not the only thing</a><br /><span style="font-size: 10px">Sunday, 30 August 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Questions.html" style="font-size: 10px">[Questions]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> 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 . <br /> 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.<br /> <br /><a href="blog-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.html">SDL Perl v2.2.2 out and Plans for v2.4</a><br /><span style="font-size: 10px">Saturday, 29 August 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br /> I have release v2.2.2 which includes several bug fixes:<br /> Made App loop() faster RT Patched support for add support for gluquadric* sub RT Made App init slimer RT Added faster SDL::Color alternative RT Added better error reporting for TTFont errors Added experimental win32 support RT [Update: v2.2.2.5 is better for windows support] <br /> You can grab this release off CPAN . <br /><a href="blog-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.html">Catching memory leaks in XS</a><br /><span style="font-size: 10px">Friday, 28 August 2009</span><br /><span style="font-size: 10px">Tags:</span> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a><br />So I am trying to find and plug memory leaks in SDL perl. Most of the memory leaks occur because in XS a reference is still held. One very expensive mem leak was caught by TELS really early on here . The problem occurs where in XS there is<br /> RETVAL = (cast *) safemalloc( ... ); and safefree(...) is never called.<br />Here is a in code example lines 1082 on. <br /><a href="blog-0025.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /></div>
<div class="blog">
<h1 id="NAME">
-Developer Release of SDL 2.3_1
+SDL Alpha 2: A sneak preview
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i><br />The city of Rome was built,<br />with the first brick.<br /></i><br /></div><br /><h1>Alpha Release of new API</h1>After a considerable amount of hacking and rewriting we have release the first development release of SDL perl on <a href="http://search.cpan.org/%7Ekthakore/SDL-2.3_1/">CPAN</a>. <br /><br /><h2>Overview of 2.3_1</h2>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 <a href="http://cpansearch.perl.org/src/KTHAKORE/SDL-2.3_1/CHANGELOG">CHANGELOG</a> for a more detailed look. <br /><br /><br /><h2>Next steps</h2><ul><li>Complete bindings for Image, Mixer, ... so on</li><li>Come up with a method to provide threading in callbacks</li><li>Maintain and improve SDL Core as results for CPANTS come in </li></ul><br />--yapgh<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1644800761128707914?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i>Pretty or Ugly,</i><br /></div><div style="text-align: right;"><i>Code is Code</i><br /></div><div style="text-align: right;"><i>New or Old,</i><br /></div><div style="text-align: right;"><i>Code is Code</i><br /></div><div style="text-align: right;"><i>Fast or Slow</i><br /></div><div style="text-align: right;"><i>Code is Code </i> <br /></div><br />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.<br /><br /><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_NnqjAQEn1Xo/Sxu4V-sXPrI/AAAAAAAAACI/dmbHSG7C6I0/s1600-h/gfx.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_NnqjAQEn1Xo/Sxu4V-sXPrI/AAAAAAAAACI/dmbHSG7C6I0/s320/gfx.png" /></a><br /></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-3790085004408370126?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-SDL Perl Documentation: Reviewers need
+Developer Release of SDL 2.3_1
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i><br />The written word, <br />survives; <br />the tests of Time,<br />the fires of Hades,<br />and wrath of Pluto.<br /></i><br /></div><br /><h1>Documentation </h1><p>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 <a href="http://sdl.perl.org/documentation.html">sdl.perl.org</a> and give us some feed back. Send us the feeback at sdl-devel@mail.org or join us at #sdl irc.perl.org</p><br /><i>--yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1574568821593098925?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i><br />The city of Rome was built,<br />with the first brick.<br /></i><br /></div><br /><h1>Alpha Release of new API</h1>After a considerable amount of hacking and rewriting we have release the first development release of SDL perl on <a href="http://search.cpan.org/%7Ekthakore/SDL-2.3_1/">CPAN</a>. <br /><br /><h2>Overview of 2.3_1</h2>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 <a href="http://cpansearch.perl.org/src/KTHAKORE/SDL-2.3_1/CHANGELOG">CHANGELOG</a> for a more detailed look. <br /><br /><br /><h2>Next steps</h2><ul><li>Complete bindings for Image, Mixer, ... so on</li><li>Come up with a method to provide threading in callbacks</li><li>Maintain and improve SDL Core as results for CPANTS come in </li></ul><br />--yapgh<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1644800761128707914?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Migrating Sol's Tutorial of SDL to SDL_Perl
+SDL Perl Documentation: Reviewers need
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i>If I have seen further it is only by standing on the shoulders of giants. --Newton</i><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_NnqjAQEn1Xo/SwBpohYidDI/AAAAAAAAAB4/51y9QJh5osI/s1600-h/solsch2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_NnqjAQEn1Xo/SwBpohYidDI/AAAAAAAAAB4/51y9QJh5osI/s320/solsch2.png" /></a><br /></div><br /><h1><a href="http://sol.gfxile.net/gp/index.html">Sol's Tutorials</a> </h1><br /><p>When I was struggling with SDL C a while ago, someone recommended <a href="http://sol.gfxile.net/gp/index.html">Sol's Tutorial</a> 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 <a href="http://github.com/kthakore/SDL_perl/blob/redesign/examples/sols/ch02.pl">Ch 02</a> 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!<br /></p><br /><p>To use this code you need the new Redesigned SDL_Perl Library </p><br /><h1>Getting SDL Dependencies </h1><br />Only If you are on Linux (debian/ubuntu) you need the following dependencies:<br /><br /><pre>$ 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 </pre><br />On Windows we recommend using <a href="http://strawberryperl.com/">Strawberry Perl</a>. It comes with SDL-1.2.13 header files and libs included.<br /><br />Both Windows and Linux needs to install Alien::SDL<br /><br /><pre>$ cpan Alien::SDL</pre>** Add sudo to this for Linux<br /><br /><h1>Getting Bleeding SDL </h1><br />The bleeding SDL is on github. Click download on this <a href="http://github.com/kthakore/SDL_perl/tree/redesign"> site </a>.<br /><br />Extract it and cd into the folder run <br /><pre>$ cpan . </pre>** The dot is needed <br />** in Linux you may need to do sudo<br /><br />Then you can run this script by doing<br /><br /><pre>$ perl examples/sols/ch02.pl </pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-3277380868908060119?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i><br />The written word, <br />survives; <br />the tests of Time,<br />the fires of Hades,<br />and wrath of Pluto.<br /></i><br /></div><br /><h1>Documentation </h1><p>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 <a href="http://sdl.perl.org/documentation.html">sdl.perl.org</a> and give us some feed back. Send us the feeback at sdl-devel@mail.org or join us at #sdl irc.perl.org</p><br /><i>--yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1574568821593098925?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Once in a while .... (set_event_filter)
+Migrating Sol's Tutorial of SDL to SDL_Perl
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i> <br />Once in a while <br />Things just work! <br /></i><br /></div><br /><br />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 <a href="http://github.com/kthakore/SDL_perl/blob/1712fe42d62c2a3e382e6bf91366eb2ce9d2f5f4/src/Core/Events.xs">here</a> <br /><br /><pre><a href="" name="line1"> 1</a> <span style="color: #444444;">#!/usr/bin/perl -w<br /><a href="" name="line2"> 2</a> </span><b>use</b> strict;<br /><a href="" name="line3"> 3</a> <b>use</b> warnings;<br /><a href="" name="line4"> 4</a> <b>use</b> SDL v2.3; <span style="color: #444444;">#Require the redesign branch<br /><a href="" name="line5"> 5</a> </span><b>use</b> SDL::Video;<br /><a href="" name="line6"> 6</a> <b>use</b> SDL::Event;<br /><a href="" name="line7"> 7</a> <b>use</b> SDL::Events;<br /><a href="" name="line8"> 8</a> <br /><a href="" name="line9"> 9</a> SDL::init<span style="color: #4444ff;"><b>(</b></span>SDL_INIT_VIDEO<span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line10">10</a> <b>my</b> <span style="color: #2040a0;">$display</span> = SDL::Video::set_video_mode<span style="color: #4444ff;"><b>(</b></span>640,480,32, SDL_SWSURFACE <span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line11">11</a> <b>my</b> <span style="color: #2040a0;">$event</span> = SDL::Event-><b>new</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line12">12</a> <br /><a href="" name="line13">13</a> <span style="color: #444444;">#This filters out all ActiveEvents<br /><a href="" name="line14">14</a> </span><b>my</b> <span style="color: #2040a0;">$filter</span> = sub <span style="color: #4444ff;"><b>{</b></span> <br /><a href="" name="line15">15</a> <b>my</b> <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$e</span>, <span style="color: #2040a0;">$type</span><span style="color: #4444ff;"><b>)</b></span> = <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$_</span><span style="color: #4444ff;"><b>[</b></span>0<span style="color: #4444ff;"><b>]</b></span>, <span style="color: #2040a0;">$_</span><span style="color: #4444ff;"><b>[</b></span>0<span style="color: #4444ff;"><b>]</b></span>->type<span style="color: #4444ff;"><b>)</b></span>; <br /><a href="" name="line16">16</a> <b>if</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$type</span> == SDL_ACTIVEEVENT<span style="color: #4444ff;"><b>)</b></span><span style="color: #4444ff;"><b>{</b></span> <b>return</b> 0 <span style="color: #4444ff;"><b>}</b></span> <br /><a href="" name="line17">17</a> <b>elsif</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$type</span> == SDL_MOUSEBUTTONDOWN && <span style="color: #2040a0;">$e</span>->button_button == 1<span style="color: #4444ff;"><b>)</b></span><span style="color: #4444ff;"><b>{</b></span> <b>return</b> 0 <span style="color: #4444ff;"><b>}</b></span><br /><a href="" name="line18">18</a> <b>else</b> <span style="color: #4444ff;"><b>{</b></span> <b>return</b> 1; <span style="color: #4444ff;"><b>}</b></span><br /><a href="" name="line19">19</a> <span style="color: #4444ff;"><b>}</b></span>;<br /><a href="" name="line20">20</a> <br /><a href="" name="line21">21</a> SDL::Events::set_event_filter<span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$filter</span><span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line22">22</a> <br /><a href="" name="line23">23</a> <b>while</b><span style="color: #4444ff;"><b>(</b></span>1<span style="color: #4444ff;"><b>)</b></span><br /><a href="" name="line24">24</a> <span style="color: #4444ff;"><b>{</b></span><br /><a href="" name="line25">25</a> <br /><a href="" name="line26">26</a> SDL::Events::pump_events<span style="color: #4444ff;"><b>(</b></span><span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line27">27</a> <b>if</b><span style="color: #4444ff;"><b>(</b></span>SDL::Events::poll_event<span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span><span style="color: #4444ff;"><b>)</b></span><span style="color: #4444ff;"><b>)</b></span><br /><a href="" name="line28">28</a> <span style="color: #4444ff;"><b>{</b></span><br /><a href="" name="line29">29</a> <br /><a href="" name="line30">30</a> <b>if</b><span style="color: #4444ff;"><b>(</b></span> <span style="color: #2040a0;">$event</span>->type == SDL_ACTIVEEVENT<span style="color: #4444ff;"><b>)</b></span><br /><a href="" name="line31">31</a> <span style="color: #4444ff;"><b>{</b></span><br /><a href="" name="line32">32</a> <span style="color: brown;"><b>print</b></span> <span style="color: green;">"Hello Mouse!!!<span style="color: #77dd77;">\n</span>"</span> <b>if</b> <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>->active_gain && <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>->active_state == SDL_APPMOUSEFOCUS<span style="color: #4444ff;"><b>)</b></span> <span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line33">33</a> <span style="color: brown;"><b>print</b></span> <span style="color: green;">"Bye Mouse!!!<span style="color: #77dd77;">\n</span>"</span> <b>if</b> <span style="color: #4444ff;"><b>(</b></span>!<span style="color: #2040a0;">$event</span>->active_gain && <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>->active_state == SDL_APPMOUSEFOCUS<span style="color: #4444ff;"><b>)</b></span> <span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line34">34</a> <span style="color: #4444ff;"><b>}</b></span><br /><a href="" name="line35">35</a> <b>if</b><span style="color: #4444ff;"><b>(</b></span> <span style="color: #2040a0;">$event</span>->type == SDL_MOUSEBUTTONDOWN<span style="color: #4444ff;"><b>)</b></span><br /><a href="" name="line36">36</a> <span style="color: #4444ff;"><b>{</b></span><br /><a href="" name="line37">37</a> <b>my</b> <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$x</span>, <span style="color: #2040a0;">$y</span>, <span style="color: #2040a0;">$but</span> <span style="color: #4444ff;"><b>)</b></span> = <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>->button_x, <span style="color: #2040a0;">$event</span>->button_y, <span style="color: #2040a0;">$event</span>->button_button<span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line38">38</a> <span style="color: brown;"><b>warn</b></span> <span style="color: green;">"<span style="color: #2040a0;">$but</span> CLICK!!! at <span style="color: #2040a0;">$x</span> and <span style="color: #2040a0;">$y</span> <span style="color: #77dd77;">\n</span>"</span>;<br /><a href="" name="line39">39</a> <span style="color: #4444ff;"><b>}</b></span><br /><a href="" name="line40">40</a> <br /><a href="" name="line41">41</a> <b>last</b> <b>if</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>->type == SDL_QUIT<span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line42">42</a> <span style="color: #4444ff;"><b>}</b></span><br /><a href="" name="line43">43</a> <span style="color: #4444ff;"><b>}</b></span><br /><a href="" name="line44">44</a> SDL::quit<span style="color: #4444ff;"><b>(</b></span><span style="color: #4444ff;"><b>)</b></span>; </pre><pre> </pre><pre> </pre><pre>Tinker with $filter and look at perldoc lib/SDL/pods/Event.pod. </pre><pre> </pre><pre>Have fun,</pre><pre>--yapgh</pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-2301663122914111362?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i>If I have seen further it is only by standing on the shoulders of giants. --Newton</i><br /></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_NnqjAQEn1Xo/SwBpohYidDI/AAAAAAAAAB4/51y9QJh5osI/s1600-h/solsch2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_NnqjAQEn1Xo/SwBpohYidDI/AAAAAAAAAB4/51y9QJh5osI/s320/solsch2.png" /></a><br /></div><br /><h1><a href="http://sol.gfxile.net/gp/index.html">Sol's Tutorials</a> </h1><br /><p>When I was struggling with SDL C a while ago, someone recommended <a href="http://sol.gfxile.net/gp/index.html">Sol's Tutorial</a> 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 <a href="http://github.com/kthakore/SDL_perl/blob/redesign/examples/sols/ch02.pl">Ch 02</a> 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!<br /></p><br /><p>To use this code you need the new Redesigned SDL_Perl Library </p><br /><h1>Getting SDL Dependencies </h1><br />Only If you are on Linux (debian/ubuntu) you need the following dependencies:<br /><br /><pre>$ 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 </pre><br />On Windows we recommend using <a href="http://strawberryperl.com/">Strawberry Perl</a>. It comes with SDL-1.2.13 header files and libs included.<br /><br />Both Windows and Linux needs to install Alien::SDL<br /><br /><pre>$ cpan Alien::SDL</pre>** Add sudo to this for Linux<br /><br /><h1>Getting Bleeding SDL </h1><br />The bleeding SDL is on github. Click download on this <a href="http://github.com/kthakore/SDL_perl/tree/redesign"> site </a>.<br /><br />Extract it and cd into the folder run <br /><pre>$ cpan . </pre>** The dot is needed <br />** in Linux you may need to do sudo<br /><br />Then you can run this script by doing<br /><br /><pre>$ perl examples/sols/ch02.pl </pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-3277380868908060119?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Hello Mouse? An Example of the New Event Code
+Once in a while .... (set_event_filter)
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i>Any code that is not marketed is dead code <br />--mst</i><br /></div><br />You need the new code from the <b> <a href="http://http://github.com/kthakore/SDL_Perl/tree/redesign">redesign branch</a></b> to use this . <br /><br /><pre class="fake-gist" id="fake-gist-231987">#!/usr/bin/env perl<br /><br />use SDL;<br />use SDL::Events;<br />use SDL::Event;<br />use SDL::Video; <br /><br />SDL::init(SDL_INIT_VIDEO);<br /><br />my $display = SDL::Video::set_video_mode(640,480,32, SDL_SWSURFACE );<br />my $event = SDL::Event->new(); <br /><br />while(1)<br />{ <br /> SDL::Events::pump_events(); <br /><br /> if(SDL::Events::poll_event($event) && $event->type == SDL_ACTIVEEVENT)<br /> {<br /> print "Hello Mouse!!!\n" if ($event->active_gain && ($event->active_state == SDL_APPMOUSEFOCUS) );<br /> print "Bye Mouse!!!\n" if (!$event->active_gain && ($event->active_state == SDL_APPMOUSEFOCUS) );<br /> } <br /> <br /> exit if($event->type == SDL_QUIT);<br />}</pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4268622242266513664?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i> <br />Once in a while <br />Things just work! <br /></i><br /></div><br /><br />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 <a href="http://github.com/kthakore/SDL_perl/blob/1712fe42d62c2a3e382e6bf91366eb2ce9d2f5f4/src/Core/Events.xs">here</a> <br /><br /><pre><a href="" name="line1"> 1</a> <span style="color: #444444;">#!/usr/bin/perl -w<br /><a href="" name="line2"> 2</a> </span><b>use</b> strict;<br /><a href="" name="line3"> 3</a> <b>use</b> warnings;<br /><a href="" name="line4"> 4</a> <b>use</b> SDL v2.3; <span style="color: #444444;">#Require the redesign branch<br /><a href="" name="line5"> 5</a> </span><b>use</b> SDL::Video;<br /><a href="" name="line6"> 6</a> <b>use</b> SDL::Event;<br /><a href="" name="line7"> 7</a> <b>use</b> SDL::Events;<br /><a href="" name="line8"> 8</a> <br /><a href="" name="line9"> 9</a> SDL::init<span style="color: #4444ff;"><b>(</b></span>SDL_INIT_VIDEO<span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line10">10</a> <b>my</b> <span style="color: #2040a0;">$display</span> = SDL::Video::set_video_mode<span style="color: #4444ff;"><b>(</b></span>640,480,32, SDL_SWSURFACE <span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line11">11</a> <b>my</b> <span style="color: #2040a0;">$event</span> = SDL::Event-><b>new</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line12">12</a> <br /><a href="" name="line13">13</a> <span style="color: #444444;">#This filters out all ActiveEvents<br /><a href="" name="line14">14</a> </span><b>my</b> <span style="color: #2040a0;">$filter</span> = sub <span style="color: #4444ff;"><b>{</b></span> <br /><a href="" name="line15">15</a> <b>my</b> <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$e</span>, <span style="color: #2040a0;">$type</span><span style="color: #4444ff;"><b>)</b></span> = <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$_</span><span style="color: #4444ff;"><b>[</b></span>0<span style="color: #4444ff;"><b>]</b></span>, <span style="color: #2040a0;">$_</span><span style="color: #4444ff;"><b>[</b></span>0<span style="color: #4444ff;"><b>]</b></span>->type<span style="color: #4444ff;"><b>)</b></span>; <br /><a href="" name="line16">16</a> <b>if</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$type</span> == SDL_ACTIVEEVENT<span style="color: #4444ff;"><b>)</b></span><span style="color: #4444ff;"><b>{</b></span> <b>return</b> 0 <span style="color: #4444ff;"><b>}</b></span> <br /><a href="" name="line17">17</a> <b>elsif</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$type</span> == SDL_MOUSEBUTTONDOWN && <span style="color: #2040a0;">$e</span>->button_button == 1<span style="color: #4444ff;"><b>)</b></span><span style="color: #4444ff;"><b>{</b></span> <b>return</b> 0 <span style="color: #4444ff;"><b>}</b></span><br /><a href="" name="line18">18</a> <b>else</b> <span style="color: #4444ff;"><b>{</b></span> <b>return</b> 1; <span style="color: #4444ff;"><b>}</b></span><br /><a href="" name="line19">19</a> <span style="color: #4444ff;"><b>}</b></span>;<br /><a href="" name="line20">20</a> <br /><a href="" name="line21">21</a> SDL::Events::set_event_filter<span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$filter</span><span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line22">22</a> <br /><a href="" name="line23">23</a> <b>while</b><span style="color: #4444ff;"><b>(</b></span>1<span style="color: #4444ff;"><b>)</b></span><br /><a href="" name="line24">24</a> <span style="color: #4444ff;"><b>{</b></span><br /><a href="" name="line25">25</a> <br /><a href="" name="line26">26</a> SDL::Events::pump_events<span style="color: #4444ff;"><b>(</b></span><span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line27">27</a> <b>if</b><span style="color: #4444ff;"><b>(</b></span>SDL::Events::poll_event<span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span><span style="color: #4444ff;"><b>)</b></span><span style="color: #4444ff;"><b>)</b></span><br /><a href="" name="line28">28</a> <span style="color: #4444ff;"><b>{</b></span><br /><a href="" name="line29">29</a> <br /><a href="" name="line30">30</a> <b>if</b><span style="color: #4444ff;"><b>(</b></span> <span style="color: #2040a0;">$event</span>->type == SDL_ACTIVEEVENT<span style="color: #4444ff;"><b>)</b></span><br /><a href="" name="line31">31</a> <span style="color: #4444ff;"><b>{</b></span><br /><a href="" name="line32">32</a> <span style="color: brown;"><b>print</b></span> <span style="color: green;">"Hello Mouse!!!<span style="color: #77dd77;">\n</span>"</span> <b>if</b> <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>->active_gain && <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>->active_state == SDL_APPMOUSEFOCUS<span style="color: #4444ff;"><b>)</b></span> <span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line33">33</a> <span style="color: brown;"><b>print</b></span> <span style="color: green;">"Bye Mouse!!!<span style="color: #77dd77;">\n</span>"</span> <b>if</b> <span style="color: #4444ff;"><b>(</b></span>!<span style="color: #2040a0;">$event</span>->active_gain && <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>->active_state == SDL_APPMOUSEFOCUS<span style="color: #4444ff;"><b>)</b></span> <span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line34">34</a> <span style="color: #4444ff;"><b>}</b></span><br /><a href="" name="line35">35</a> <b>if</b><span style="color: #4444ff;"><b>(</b></span> <span style="color: #2040a0;">$event</span>->type == SDL_MOUSEBUTTONDOWN<span style="color: #4444ff;"><b>)</b></span><br /><a href="" name="line36">36</a> <span style="color: #4444ff;"><b>{</b></span><br /><a href="" name="line37">37</a> <b>my</b> <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$x</span>, <span style="color: #2040a0;">$y</span>, <span style="color: #2040a0;">$but</span> <span style="color: #4444ff;"><b>)</b></span> = <span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>->button_x, <span style="color: #2040a0;">$event</span>->button_y, <span style="color: #2040a0;">$event</span>->button_button<span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line38">38</a> <span style="color: brown;"><b>warn</b></span> <span style="color: green;">"<span style="color: #2040a0;">$but</span> CLICK!!! at <span style="color: #2040a0;">$x</span> and <span style="color: #2040a0;">$y</span> <span style="color: #77dd77;">\n</span>"</span>;<br /><a href="" name="line39">39</a> <span style="color: #4444ff;"><b>}</b></span><br /><a href="" name="line40">40</a> <br /><a href="" name="line41">41</a> <b>last</b> <b>if</b><span style="color: #4444ff;"><b>(</b></span><span style="color: #2040a0;">$event</span>->type == SDL_QUIT<span style="color: #4444ff;"><b>)</b></span>;<br /><a href="" name="line42">42</a> <span style="color: #4444ff;"><b>}</b></span><br /><a href="" name="line43">43</a> <span style="color: #4444ff;"><b>}</b></span><br /><a href="" name="line44">44</a> SDL::quit<span style="color: #4444ff;"><b>(</b></span><span style="color: #4444ff;"><b>)</b></span>; </pre><pre> </pre><pre> </pre><pre>Tinker with $filter and look at perldoc lib/SDL/pods/Event.pod. </pre><pre> </pre><pre>Have fun,</pre><pre>--yapgh</pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-2301663122914111362?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Development Update
+Hello Mouse? An Example of the New Event Code
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i>Short and Sweet</i><br /></div><br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /><ul><li> SDL::Video at 97% </li><li> SDL::Events at 25% </li><li> ~1000 tests cases passing on Windows and Linux </li></ul><br /><a href="http://sdlperl.ath.cx:8080/app/public_graphs/start/1"><img alt="SDL Smoke tests" src="http://sdlperl.ath.cx:8080/app/public_graphs/image/1" /> </a><br /><br />The major release maybe coming quicker than we thought. FROGGS++ for helping a lot out on this. However we need <b>more testers!!</b> Please contact us on <a href="http://widget.mibbit.com/?settings=89f140215d60860684cee2f6a917607f&server=irc.perl.org&channel=%23sdl">#sdl</a> and we will set you up with an account on <a href="http://sdlperl.ath.cx:8080/">Smolder</a>.<br /><br />[Edit] Please read http://sdlperl.ath.cx/projects/SDLPerl/wiki/Testing on how to get started in test!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4856093544888768121?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i>Any code that is not marketed is dead code <br />--mst</i><br /></div><br />You need the new code from the <b> <a href="http://http://github.com/kthakore/SDL_Perl/tree/redesign">redesign branch</a></b> to use this . <br /><br /><pre class="fake-gist" id="fake-gist-231987">#!/usr/bin/env perl<br /><br />use SDL;<br />use SDL::Events;<br />use SDL::Event;<br />use SDL::Video; <br /><br />SDL::init(SDL_INIT_VIDEO);<br /><br />my $display = SDL::Video::set_video_mode(640,480,32, SDL_SWSURFACE );<br />my $event = SDL::Event->new(); <br /><br />while(1)<br />{ <br /> SDL::Events::pump_events(); <br /><br /> if(SDL::Events::poll_event($event) && $event->type == SDL_ACTIVEEVENT)<br /> {<br /> print "Hello Mouse!!!\n" if ($event->active_gain && ($event->active_state == SDL_APPMOUSEFOCUS) );<br /> print "Bye Mouse!!!\n" if (!$event->active_gain && ($event->active_state == SDL_APPMOUSEFOCUS) );<br /> } <br /> <br /> exit if($event->type == SDL_QUIT);<br />}</pre><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4268622242266513664?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
Development Update
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i><br />A stoic stone will sit idle, <br />but will some effort,<br />A rolling rock will run!<br /></i><br /></div><br />In the past week the SDL Perl team has been busy! This is what we have accomplished<br /><br /><br /><h3>Commitment to Testing!</h3>In an effort to focus on continuing our focus on testing we have setup a <a href="http://sdlperl.ath.cx:8080/app/public_projects/smoke_reports/1">Smolder</a> 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.<br /><br /><h3>SDL::Video</h3>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 <a href="http://bit.ly/2ar7bK">50% done</a>. 19 functions out of 38 functions have been implemented and tested. <br /><br /><br /><h3>Site Redesign + Migration</h3>On the end of the spectrum, Froggs has been hard at work on the <a href="http://froggs.de/sdlperl/">graphical design </a>of the site. More over with mst's help we will soon be migrating to http://sdl.perl.org. <br /><br /><br /><br /><h3>Documentation</h3>Moreover this week we have seen an increase effort from magnet on the <a href="http://github.com/kthakore/SDL_perl/commits/redesign">SDL docs</a>. Kudos!<br /><br /><br /><h3>SWIG Experimentation</h3>Finally <a href="http://github.com/kthakore/SDL_perl/commits/swig">Katrina</a> has begun looking into SWIG as alternative for SDL in the future.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-5353247044730007101?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i>Short and Sweet</i><br /></div><br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /><ul><li> SDL::Video at 97% </li><li> SDL::Events at 25% </li><li> ~1000 tests cases passing on Windows and Linux </li></ul><br /><a href="http://sdlperl.ath.cx:8080/app/public_graphs/start/1"><img alt="SDL Smoke tests" src="http://sdlperl.ath.cx:8080/app/public_graphs/image/1" /> </a><br /><br />The major release maybe coming quicker than we thought. FROGGS++ for helping a lot out on this. However we need <b>more testers!!</b> Please contact us on <a href="http://widget.mibbit.com/?settings=89f140215d60860684cee2f6a917607f&server=irc.perl.org&channel=%23sdl">#sdl</a> and we will set you up with an account on <a href="http://sdlperl.ath.cx:8080/">Smolder</a>.<br /><br />[Edit] Please read http://sdlperl.ath.cx/projects/SDLPerl/wiki/Testing on how to get started in test!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4856093544888768121?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-The Future and Beyond!
+Development Update
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i>I do not think about awesomeness...<br />I just am awesomeness<br />n.n<br />--<a href="http://irclog.perlgeek.de/sdl/2009-10-20#i_1620287">KatrinaTheLamia</a></i><br /></div><br /><h3>Updates</h3>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.<br /><h3>Core Development</h3><b>Acme (<a href="http://use.perl.org/%7Eacme/journal/">Leon Brocard</a>):</b> Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation. <br /><br /><h3>Website and Windows Testing</h3><b>FROGGS (Tobias Leich):</b> 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. <br /><br /><br /><h3>Last Legacy Release</h3><br />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.<br /><h3>Pong + SDL::Game::Rect</h3><a href="http://onionstand.blogspot.com/">garu</a> 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.<br /><h3>Design</h3>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).<br /><br />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. <br /><br />This design has already begin to pay of. One major benefit been in the XS <a href="http://github.com/kthakore/SDL_perl/commit/20f544ea4f3e7b34c68445aba89ed9c69d411ddf">readability</a>. Moreover since structs are treated as objects, Perl manages their destruction, and deliver less memory leaks.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4327446497206876141?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i><br />A stoic stone will sit idle, <br />but will some effort,<br />A rolling rock will run!<br /></i><br /></div><br />In the past week the SDL Perl team has been busy! This is what we have accomplished<br /><br /><br /><h3>Commitment to Testing!</h3>In an effort to focus on continuing our focus on testing we have setup a <a href="http://sdlperl.ath.cx:8080/app/public_projects/smoke_reports/1">Smolder</a> 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.<br /><br /><h3>SDL::Video</h3>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 <a href="http://bit.ly/2ar7bK">50% done</a>. 19 functions out of 38 functions have been implemented and tested. <br /><br /><br /><h3>Site Redesign + Migration</h3>On the end of the spectrum, Froggs has been hard at work on the <a href="http://froggs.de/sdlperl/">graphical design </a>of the site. More over with mst's help we will soon be migrating to http://sdl.perl.org. <br /><br /><br /><br /><h3>Documentation</h3>Moreover this week we have seen an increase effort from magnet on the <a href="http://github.com/kthakore/SDL_perl/commits/redesign">SDL docs</a>. Kudos!<br /><br /><br /><h3>SWIG Experimentation</h3>Finally <a href="http://github.com/kthakore/SDL_perl/commits/swig">Katrina</a> has begun looking into SWIG as alternative for SDL in the future.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-5353247044730007101?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-The beginnings of modular design for SDL Perl
+The Future and Beyond!
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i>“Do or do not... there is no try.”</i><br /></div><div style="text-align: right;"><i>--yoda </i><br /><br /></div><h1>The design before</h1><br />The bindings before were all in <a href="http://github.com/kthakore/SDL_perl/blob/master/src/SDL.xs">one huge XS file</a>. 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. <br /><br /><h1>The design we are aiming for</h1>Simple <a href="http://github.com/kthakore/SDL_perl/blob/master/src/Rect.xs">one XS</a> per Module. This would also simplify the Build code.<br /><br /><h2>First Step </h2><br />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 <a href="http://github.com/kthakore/SDL_perl/blob/master/src/Rect.xs#L16">is in XS</a> we have only unnamed parameters. <br /><br /><br /><h3>Before</h3><br />SDL::Rect->new( -x => 0, -y => 0, -width => 0, -height => 0);<br /><br /><h3>After</h3><br />SDL::Rect->new(0, 0, 0, 0);<br /><br />Ideally we would like both ways of constructing Rect.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-6151839795039915111?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i>I do not think about awesomeness...<br />I just am awesomeness<br />n.n<br />--<a href="http://irclog.perlgeek.de/sdl/2009-10-20#i_1620287">KatrinaTheLamia</a></i><br /></div><br /><h3>Updates</h3>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.<br /><h3>Core Development</h3><b>Acme (<a href="http://use.perl.org/%7Eacme/journal/">Leon Brocard</a>):</b> Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation. <br /><br /><h3>Website and Windows Testing</h3><b>FROGGS (Tobias Leich):</b> 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. <br /><br /><br /><h3>Last Legacy Release</h3><br />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.<br /><h3>Pong + SDL::Game::Rect</h3><a href="http://onionstand.blogspot.com/">garu</a> 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.<br /><h3>Design</h3>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).<br /><br />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. <br /><br />This design has already begin to pay of. One major benefit been in the XS <a href="http://github.com/kthakore/SDL_perl/commit/20f544ea4f3e7b34c68445aba89ed9c69d411ddf">readability</a>. Moreover since structs are treated as objects, Perl manages their destruction, and deliver less memory leaks.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4327446497206876141?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Why and How Frozen Bubble is going to CPAN
+The beginnings of modular design for SDL Perl
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i>A single drop,</i><br /></div><div style="text-align: right;"><i>causes the ocean to swell</i><br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">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.<br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">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! <br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">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.<br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">In Alias's <a href="http://use.perl.org/%7EAlias/journal/39701">earlier post</a> 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. <br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">First we will be tracking Frozen Bubble on the new <a href="http://sdlperl.ath.cx/projects/SDLPerl/wiki">SDL Perl Trac website</a>. 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 <i>perceived </i>difficulty. This will help to breakdown harder task too.<br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">For example for Frozen Bubble the two major bumps we have run into so far are:<br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">Migrating the SDL Perl workarounds: <a href="http://sdlperl.ath.cx/projects/SDLPerl/ticket/3">Ticket #3</a><br /></div><div style="text-align: left;">Making the Build System Portable: <a href="http://sdlperl.ath.cx/projects/SDLPerl/ticket/7">Ticket #7</a><br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">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.<br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">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.<br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">--yapgh<br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;"><br /></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1296050942449452224?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i>“Do or do not... there is no try.”</i><br /></div><div style="text-align: right;"><i>--yoda </i><br /><br /></div><h1>The design before</h1><br />The bindings before were all in <a href="http://github.com/kthakore/SDL_perl/blob/master/src/SDL.xs">one huge XS file</a>. 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. <br /><br /><h1>The design we are aiming for</h1>Simple <a href="http://github.com/kthakore/SDL_perl/blob/master/src/Rect.xs">one XS</a> per Module. This would also simplify the Build code.<br /><br /><h2>First Step </h2><br />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 <a href="http://github.com/kthakore/SDL_perl/blob/master/src/Rect.xs#L16">is in XS</a> we have only unnamed parameters. <br /><br /><br /><h3>Before</h3><br />SDL::Rect->new( -x => 0, -y => 0, -width => 0, -height => 0);<br /><br /><h3>After</h3><br />SDL::Rect->new(0, 0, 0, 0);<br /><br />Ideally we would like both ways of constructing Rect.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-6151839795039915111?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-HackFest: Results
+Why and How Frozen Bubble is going to CPAN
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i>The beautiful sunset,</i><br /></div><div style="text-align: right;"><i>is no match for,</i><br /></div><div style="text-align: right;"><i>the ugly sunrise<br /></i><br /></div><h1>Results</h1>On Sunday we had a hackfest on #sdl irc.perl.org. This is what we got done.<br /><br /><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_NnqjAQEn1Xo/SsEsVovCs8I/AAAAAAAAABw/5wMJtyamCpo/s1600-h/sdl-tetris-osx.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_NnqjAQEn1Xo/SsEsVovCs8I/AAAAAAAAABw/5wMJtyamCpo/s320/sdl-tetris-osx.png" /></a><br /></div><br /><br /><ol><li>MacOSX build is working again. It's still rough but Tetris works on it now. dngor++</li><li><a href="http://search.cpan.org/%7Ekthakore/SDL-Tutorial-Tetris-0.015/">SDL::Tutorial::Tetris</a> is on CPAN as v0.15. nferraz++</li><li><a href="http://github.com/m4gnet/SDL_perl/commit/9957e76f888ac71a911e3a71c2783141748d2387">SDL Perl docs</a> are a little better now. magnet++</li><li>Finally experimental <a href="http://github.com/kthakore/SDL_perl/tree/experimental">Rect and Game::Rect</a> are behaving. There is still more work needed in Game::Rect. Moreover there are more tests on the experimental release. garu++</li><li>Also POGL is <a href="http://sdlperl.pastebin.com/f78b8c1b9">working</a> experimentally with SDL. <br /></li></ol>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.<br /><br /><h1>Developers</h1>All developers please tell me what to put you guys want to be put down as on the <br />in the Docs for the SDL Perl Team section.<br /><br />--yapgh<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-8724981068699019715?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i>A single drop,</i><br /></div><div style="text-align: right;"><i>causes the ocean to swell</i><br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">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.<br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">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! <br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">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.<br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">In Alias's <a href="http://use.perl.org/%7EAlias/journal/39701">earlier post</a> 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. <br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">First we will be tracking Frozen Bubble on the new <a href="http://sdlperl.ath.cx/projects/SDLPerl/wiki">SDL Perl Trac website</a>. 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 <i>perceived </i>difficulty. This will help to breakdown harder task too.<br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">For example for Frozen Bubble the two major bumps we have run into so far are:<br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">Migrating the SDL Perl workarounds: <a href="http://sdlperl.ath.cx/projects/SDLPerl/ticket/3">Ticket #3</a><br /></div><div style="text-align: left;">Making the Build System Portable: <a href="http://sdlperl.ath.cx/projects/SDLPerl/ticket/7">Ticket #7</a><br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">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.<br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">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.<br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;">--yapgh<br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;"><br /></div><div style="text-align: left;"><br /></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1296050942449452224?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Updates, Falling Block Game, and Hack Fest
+HackFest: Results
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i>Silent but active,<br />Small but deadly. <br /></i><br /></div><br /><br /><h3>Updates</h3>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.<br /><br /><br /><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/_NnqjAQEn1Xo/SrmNTm9UkKI/AAAAAAAAAA0/S0XNvXsp9u4/s1600-h/tetris.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_NnqjAQEn1Xo/SrmNTm9UkKI/AAAAAAAAAA0/S0XNvXsp9u4/s320/tetris.jpg" /></a><br /></div><br /><br /><br /><br />You can grab the <a href="http://github.com/kthakore/TetrisPL">code</a>. 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.<br /><br /><h3>Hackfest</h3>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 <a href="http://widget.mibbit.com/?settings=89f140215d60860684cee2f6a917607f&server=irc.perl.org&channel=%23sdl">#sdl irc.perl.org</a>. 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.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-7382145297295717151?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i>The beautiful sunset,</i><br /></div><div style="text-align: right;"><i>is no match for,</i><br /></div><div style="text-align: right;"><i>the ugly sunrise<br /></i><br /></div><h1>Results</h1>On Sunday we had a hackfest on #sdl irc.perl.org. This is what we got done.<br /><br /><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_NnqjAQEn1Xo/SsEsVovCs8I/AAAAAAAAABw/5wMJtyamCpo/s1600-h/sdl-tetris-osx.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/_NnqjAQEn1Xo/SsEsVovCs8I/AAAAAAAAABw/5wMJtyamCpo/s320/sdl-tetris-osx.png" /></a><br /></div><br /><br /><ol><li>MacOSX build is working again. It's still rough but Tetris works on it now. dngor++</li><li><a href="http://search.cpan.org/%7Ekthakore/SDL-Tutorial-Tetris-0.015/">SDL::Tutorial::Tetris</a> is on CPAN as v0.15. nferraz++</li><li><a href="http://github.com/m4gnet/SDL_perl/commit/9957e76f888ac71a911e3a71c2783141748d2387">SDL Perl docs</a> are a little better now. magnet++</li><li>Finally experimental <a href="http://github.com/kthakore/SDL_perl/tree/experimental">Rect and Game::Rect</a> are behaving. There is still more work needed in Game::Rect. Moreover there are more tests on the experimental release. garu++</li><li>Also POGL is <a href="http://sdlperl.pastebin.com/f78b8c1b9">working</a> experimentally with SDL. <br /></li></ol>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.<br /><br /><h1>Developers</h1>All developers please tell me what to put you guys want to be put down as on the <br />in the Docs for the SDL Perl Team section.<br /><br />--yapgh<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-8724981068699019715?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Thanks nothingmuch, and updates
+Updates, Falling Block Game, and Hack Fest
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i>struggle,</i><br /></div><div style="text-align: right;"><i>live,</i><br /></div><div style="text-align: right;"><i><span id="goog_1253289394523"></span><span id="goog_1253289394524"></span><a href="http://www.blogger.com/"></a>cease,</i><br /></div><div style="text-align: right;"><i>die</i><br /></div><div style="text-align: right;"><br /></div><div style="text-align: left;">After a struggling with XS and opaque C structs in the experimental SDL::Rect for a long time. <a href="http://blog.woobling.org/2009/09/hackathon-summary.html">Nothingmuch </a>comes along and solves my problem with this beautiful module<a href="http://search.cpan.org/%7Enuffin/XS-Object-Magic-0.02/"> XS::Object::Magic</a>. So I will start moving my ugly XS to Magic Land.<br /><br /><b>SDL Perl Tutorials</b><br /><br />This past week I have been working on the sorry state of SDL Perl tutorials. Currently I am working on a <a href="http://github.com/kthakore/TetrisPL">Tetris Clone</a>. I am hoping to have it done by next Thrusday for TPM meeting. This tutorial is a mix of several tutorials I <a href="http://ezide.com/games/writing-games.html">found online</a>. Another <a href="http://www.nntp.perl.org/group/perl.sdl.devel/2009/09/msg1446.html">Lunar Lander tutorial</a> has been submitted by Nelson Ferraz.<br /><br />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.<br /><br /><b>New SDL Perl site</b><br /><br />Also we have begin work on a new site. It is still needs work. <a href="http://sdlperl.ath.cx/">New Site</a>.<br /><br /><i>--yapgh</i> <br /><br /><br /></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1314526975514787247?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i>Silent but active,<br />Small but deadly. <br /></i><br /></div><br /><br /><h3>Updates</h3>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.<br /><br /><br /><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/_NnqjAQEn1Xo/SrmNTm9UkKI/AAAAAAAAAA0/S0XNvXsp9u4/s1600-h/tetris.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/_NnqjAQEn1Xo/SrmNTm9UkKI/AAAAAAAAAA0/S0XNvXsp9u4/s320/tetris.jpg" /></a><br /></div><br /><br /><br /><br />You can grab the <a href="http://github.com/kthakore/TetrisPL">code</a>. 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.<br /><br /><h3>Hackfest</h3>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 <a href="http://widget.mibbit.com/?settings=89f140215d60860684cee2f6a917607f&server=irc.perl.org&channel=%23sdl">#sdl irc.perl.org</a>. 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.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-7382145297295717151?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Design of SDL::Rect
+Thanks nothingmuch, and updates
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i><br />you say things,<br />I hear,<br />but don't listen,<br /><br />you show things,<br />I see,<br />but don't understand,<br /><br />you write things,<br />I read,<br />but don't know.<br /></i></div><br />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. <br /><br /><script src="http://gist.github.com/185940.js"></script><br /><br />Using the awesome <a href="http://cpansearch.perl.org/src/DMR/CookBookB-19960430/perlobject.map">perlobject.map</a> as a reference I was able to create a <a href="http://github.com/kthakore/SDL_perl/blob/a1b835c168ec184abc01edbc01862ffa15624c26/lib/SDL/Rect.pm">blessed perl</a> object in <a href="http://github.com/kthakore/SDL_perl/blob/a1b835c168ec184abc01edbc01862ffa15624c26/src/Rect.xs">XS</a>. 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.<br /><br /><br /><script src="http://gist.github.com/185938.js"></script><br /><br /><br />Have at it I am a big boy. You can grab the code like this.<br />Only If you don't already have a local git repo:<br /><br /><blockquote>mkdir SDL<br />cd SDL<br />git init .</blockquote><br />Then do this or skip to this if you already have a local git repo<br /><blockquote>git pull git://github.com/kthakore/SDL_perl.git experimental</blockquote><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-3340771783563950133?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i>struggle,</i><br /></div><div style="text-align: right;"><i>live,</i><br /></div><div style="text-align: right;"><i><span id="goog_1253289394523"></span><span id="goog_1253289394524"></span><a href="http://www.blogger.com/"></a>cease,</i><br /></div><div style="text-align: right;"><i>die</i><br /></div><div style="text-align: right;"><br /></div><div style="text-align: left;">After a struggling with XS and opaque C structs in the experimental SDL::Rect for a long time. <a href="http://blog.woobling.org/2009/09/hackathon-summary.html">Nothingmuch </a>comes along and solves my problem with this beautiful module<a href="http://search.cpan.org/%7Enuffin/XS-Object-Magic-0.02/"> XS::Object::Magic</a>. So I will start moving my ugly XS to Magic Land.<br /><br /><b>SDL Perl Tutorials</b><br /><br />This past week I have been working on the sorry state of SDL Perl tutorials. Currently I am working on a <a href="http://github.com/kthakore/TetrisPL">Tetris Clone</a>. I am hoping to have it done by next Thrusday for TPM meeting. This tutorial is a mix of several tutorials I <a href="http://ezide.com/games/writing-games.html">found online</a>. Another <a href="http://www.nntp.perl.org/group/perl.sdl.devel/2009/09/msg1446.html">Lunar Lander tutorial</a> has been submitted by Nelson Ferraz.<br /><br />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.<br /><br /><b>New SDL Perl site</b><br /><br />Also we have begin work on a new site. It is still needs work. <a href="http://sdlperl.ath.cx/">New Site</a>.<br /><br /><i>--yapgh</i> <br /><br /><br /></div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1314526975514787247?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Updates and Design Decisions
+Design of SDL::Rect
</h1>
<div class="CONTENT">
-<div align="right"><i><br />Storm clouds loom,<br />Thunder cracks,<br />Lightning blinds,<br />Farmers rejoice.<br /></i></div><br /><b>Some quick updates:</b><br />After someone bugged me to update the Ohloh site for <a href="https://www.ohloh.net/p/sdlpl/">SDL perl</a>, I finally got around to doing it. <br /><br /><br /><b>Some good news:</b><br />v2.2.2.11 seems to be doing a good job considering it has been started to be picked up <a href="http://ftp.debian.org/pool/main/s/sdlperl/">Debian</a>, Mandriva and other packager maintainers. The <a href="http://search.cpan.org/dist/SDL_Perl/">stats</a> are currently at <span style="font-size: x-small;">[PASS(11) FAIL(6) NA(1) UNKNOWN(35)]</span>.<br /><br /><b>Some OK news:</b><br />As you can see we have some fails occurring in the smoke tests. This is occurring due to the <a href="http://cpansearch.perl.org/src/KTHAKORE/SDL_Perl-v2.2.2.11/t/mixerpm.t">test</a> on Mixer.pm. Mixer.pm depends on a <a href="http://www.nntp.perl.org/group/perl.cpan.testers/2009/09/msg5250346.html">sound card being available</a> 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.<br />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.<br /><br /><b>Some not-so-great news:</b><br />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 <a href="mailto:sdl-devel@perl.org">mailing list</a>. <br /><br /><br />Until next time here is a hint of something coming soon (credits go to garu):<br /><div class="separator" style="clear: both; text-align: center;"><a href="http://imgur.com/B0a1y.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="150" src="http://imgur.com/B0a1y.png" width="200" /></a></div><i><br /></i><br /><i>--yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1014994097230880621?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i><br />you say things,<br />I hear,<br />but don't listen,<br /><br />you show things,<br />I see,<br />but don't understand,<br /><br />you write things,<br />I read,<br />but don't know.<br /></i></div><br />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. <br /><br /><script src="http://gist.github.com/185940.js"></script><br /><br />Using the awesome <a href="http://cpansearch.perl.org/src/DMR/CookBookB-19960430/perlobject.map">perlobject.map</a> as a reference I was able to create a <a href="http://github.com/kthakore/SDL_perl/blob/a1b835c168ec184abc01edbc01862ffa15624c26/lib/SDL/Rect.pm">blessed perl</a> object in <a href="http://github.com/kthakore/SDL_perl/blob/a1b835c168ec184abc01edbc01862ffa15624c26/src/Rect.xs">XS</a>. 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.<br /><br /><br /><script src="http://gist.github.com/185938.js"></script><br /><br /><br />Have at it I am a big boy. You can grab the code like this.<br />Only If you don't already have a local git repo:<br /><br /><blockquote>mkdir SDL<br />cd SDL<br />git init .</blockquote><br />Then do this or skip to this if you already have a local git repo<br /><blockquote>git pull git://github.com/kthakore/SDL_perl.git experimental</blockquote><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-3340771783563950133?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Why I will be sticking to CPAN
+Updates and Design Decisions
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i>sculpted in clay,</i></div><div style="text-align: right;"><i>then fired to glass.<br /></i><i><br /></i></div><br />Recently there was really long <a href="http://www.nntp.perl.org/group/perl.sdl.devel/2009/09/msg1424.html">discussion </a>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. <br /><br />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 (<a href="http://rt.cpan.org/Ticket/Display.html?id=49003">kmx</a>, <a href="http://www.nntp.perl.org/group/perl.sdl.devel/2009/09/msg1433.html">jean</a> and Jerome Quelin). The truth is there are other very <a href="http://rt.cpan.org/Ticket/Display.html?id=49084">critical areas</a> we can focus on. <br /><br />If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-6565605958523853965?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div align="right"><i><br />Storm clouds loom,<br />Thunder cracks,<br />Lightning blinds,<br />Farmers rejoice.<br /></i></div><br /><b>Some quick updates:</b><br />After someone bugged me to update the Ohloh site for <a href="https://www.ohloh.net/p/sdlpl/">SDL perl</a>, I finally got around to doing it. <br /><br /><br /><b>Some good news:</b><br />v2.2.2.11 seems to be doing a good job considering it has been started to be picked up <a href="http://ftp.debian.org/pool/main/s/sdlperl/">Debian</a>, Mandriva and other packager maintainers. The <a href="http://search.cpan.org/dist/SDL_Perl/">stats</a> are currently at <span style="font-size: x-small;">[PASS(11) FAIL(6) NA(1) UNKNOWN(35)]</span>.<br /><br /><b>Some OK news:</b><br />As you can see we have some fails occurring in the smoke tests. This is occurring due to the <a href="http://cpansearch.perl.org/src/KTHAKORE/SDL_Perl-v2.2.2.11/t/mixerpm.t">test</a> on Mixer.pm. Mixer.pm depends on a <a href="http://www.nntp.perl.org/group/perl.cpan.testers/2009/09/msg5250346.html">sound card being available</a> 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.<br />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.<br /><br /><b>Some not-so-great news:</b><br />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 <a href="mailto:sdl-devel@perl.org">mailing list</a>. <br /><br /><br />Until next time here is a hint of something coming soon (credits go to garu):<br /><div class="separator" style="clear: both; text-align: center;"><a href="http://imgur.com/B0a1y.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="150" src="http://imgur.com/B0a1y.png" width="200" /></a></div><i><br /></i><br /><i>--yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-1014994097230880621?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Frozen Bubble coming to CPAN
+Why I will be sticking to CPAN
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i>The frozen wind,</i></div><div style="text-align: right;"><i> made me shiver,</i></div><div style="text-align: right;"><i> with excitement</i>.</div><div style="text-align: right;"></div><br /><div style="text-align: left;">There has been some interest in making Frozen Bubble cross platform so I have forked Frozen Bubble v2.0 to my github<a href="http://github.com/kthakore/frozen-bubble/tree/master"> repo</a>. 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 </div><div style="text-align: left;"></div><blockquote><div style="text-align: left;">cpan install FrozenBubble</div></blockquote><div style="text-align: left;"></div><div style="text-align: left;">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.</div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4948555691607200165?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i>sculpted in clay,</i></div><div style="text-align: right;"><i>then fired to glass.<br /></i><i><br /></i></div><br />Recently there was really long <a href="http://www.nntp.perl.org/group/perl.sdl.devel/2009/09/msg1424.html">discussion </a>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. <br /><br />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 (<a href="http://rt.cpan.org/Ticket/Display.html?id=49003">kmx</a>, <a href="http://www.nntp.perl.org/group/perl.sdl.devel/2009/09/msg1433.html">jean</a> and Jerome Quelin). The truth is there are other very <a href="http://rt.cpan.org/Ticket/Display.html?id=49084">critical areas</a> we can focus on. <br /><br />If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-6565605958523853965?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Newbie Friendly Perl Projects
+Frozen Bubble coming to CPAN
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i>A seed needs soft soil and water to grow</i></div><div style="text-align: right;"></div>This is a reply to <a href="http://szabgab.com/blog/2009/09/1251862435.html">szabgab's</a> post on how to get newbies interested in Perl modules. Being a newbie in Perl myself I thought I should take a shot.<br /><br />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:<br /><ol><li>Look at SDL docs [<a href="http://www.libsdl.org/cgi/docwiki.cgi/SDL_API_by_name">link</a>]</li><li>See where SDL_perl is using the same functions [<a href="http://cpansearch.perl.org/src/KTHAKORE/SDL_Perl-v2.2.2.11/src/SDL.xs">link</a>] and the docs to this file [<a href="http://cpansearch.perl.org/src/KTHAKORE/SDL_Perl-v2.2.2.11/lib/SDL.pm">link</a>]</li><li>Use the pod format to add it to the source [<a href="http://perldoc.perl.org/perlpod.html">link to using pod</a>]</li><li>{BONUS} Come up with tutorial or cookbook [<a href="http://search.cpan.org/%7Edrolsky/Moose-0.89/lib/Moose/Cookbook.pod">link to example</a>]</li><li>Submit code to github [<a href="http://github.com/guides/home">link</a>] or email them to me [<a href="mailto:kthakore@cpan.org">link</a>]<br /></li></ol><br />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 .<br /><br /><i>--yapgh </i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-581981098917545448?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i>The frozen wind,</i></div><div style="text-align: right;"><i> made me shiver,</i></div><div style="text-align: right;"><i> with excitement</i>.</div><div style="text-align: right;"></div><br /><div style="text-align: left;">There has been some interest in making Frozen Bubble cross platform so I have forked Frozen Bubble v2.0 to my github<a href="http://github.com/kthakore/frozen-bubble/tree/master"> repo</a>. 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 </div><div style="text-align: left;"></div><blockquote><div style="text-align: left;">cpan install FrozenBubble</div></blockquote><div style="text-align: left;"></div><div style="text-align: left;">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.</div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-4948555691607200165?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Can someone please point me to good XS documentation!
+Newbie Friendly Perl Projects
</h1>
<div class="CONTENT">
-<i style="float:right;">A poor man begs,<br />A troubled man prays,<br />who shall answer? </i><br /><br /><br /><br /><p>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. </p><p>If anyone can point me to the simplest working exaple of XS with a c struct, it would be greatly appreciated.</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-9063382931575650771?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i>A seed needs soft soil and water to grow</i></div><div style="text-align: right;"></div>This is a reply to <a href="http://szabgab.com/blog/2009/09/1251862435.html">szabgab's</a> post on how to get newbies interested in Perl modules. Being a newbie in Perl myself I thought I should take a shot.<br /><br />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:<br /><ol><li>Look at SDL docs [<a href="http://www.libsdl.org/cgi/docwiki.cgi/SDL_API_by_name">link</a>]</li><li>See where SDL_perl is using the same functions [<a href="http://cpansearch.perl.org/src/KTHAKORE/SDL_Perl-v2.2.2.11/src/SDL.xs">link</a>] and the docs to this file [<a href="http://cpansearch.perl.org/src/KTHAKORE/SDL_Perl-v2.2.2.11/lib/SDL.pm">link</a>]</li><li>Use the pod format to add it to the source [<a href="http://perldoc.perl.org/perlpod.html">link to using pod</a>]</li><li>{BONUS} Come up with tutorial or cookbook [<a href="http://search.cpan.org/%7Edrolsky/Moose-0.89/lib/Moose/Cookbook.pod">link to example</a>]</li><li>Submit code to github [<a href="http://github.com/guides/home">link</a>] or email them to me [<a href="mailto:kthakore@cpan.org">link</a>]<br /></li></ol><br />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 .<br /><br /><i>--yapgh </i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-581981098917545448?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-More Games + Update
+Can someone please point me to good XS documentation!
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i><br />idle digits,<br />play,<br />away,<br />idle digits.<br /></i></div><br />So while I am hacking away on v2.4 and <a href="http://github.com/kthakore/SDL_perl/tree/experimental">breaking</a> a lot of things. Here is a link to some more <a href="http://home.comcast.net/%7Eg.f.taylor/GarrysGames.html">games</a> for SDL Perl. These only work in windows now but I will look into bringing them to CPAN (with Garry's permission). <br /><br /><i>--yapgh</i><br /><br />These where reported by Garry Taylor. Here is the rest of the email:<br /><br /><blockquote><i>Hi all,</i><br /><i>I hadn't checked this newsgroup in a while and was happy to see </i><br /><i>that it still alive and well. I saw that some people had been sharing </i><br /><i>some SDL Perl games online, and I had a few to share as well. At </i><br /><i>"http://home.comcast.net/~g.f.taylor/GarrysGames.html" you can find four </i><br /><i>games I have written as well as a simple flip book program to let a </i><br /><i>child play at making animation on the computer. The games are "Toad" (a </i><br /><i>Frogger wanna be), "RabbitHat" (like Centipede), "BunnyHunt" (sort of </i><br /><i>like Pac-Man) and "Bonk The Buggies". All (with the exception of Toad </i><br /><i>which in its very first incarnation was a game I wrote in TRS-80 Basic </i><br /><i>back in 1981) were written originally to run on my Windows 3.11 PC for </i><br /><i>my little girl so that she could play games which were not quite so </i><br /><i>violent as games were starting to become at the time.</i><br /><i><br /></i><br /><i>A few years ago I got the idea of trying to get them to run again </i><br /><i>by rewriting them in Perl. The downloads are Windows XP/Vista installs </i><br /><i>which include a bare bones Perl environment for running the games (the </i><br /><i>installs put the code into its own separate place, and shouldn't </i><br /><i>interfere with your existing Perl setups). I did this so that I could </i><br /><i>share the games with friends and family who either don't have SDL </i><br /><i>installed, don't have Perl installed, or don't do any programming and </i><br /><i>just needed something that will run. The code as it currently stands </i><br /><i>was not written for general publication, so there are probably places </i><br /><i>where the Perl code itself is not always the best looking it could be, </i><br /><i>but the games themselves work pretty well. Also, it is worth noting </i><br /><i>that I wound up being lazy and made a few additions to the Perl SDL code </i><br /><i>that I was using to add an additional function or two for printing text </i><br /><i>onto the screen that was centered or right aligned.</i><br /><i><br /></i><br /><i>While I have not made any Unix installs for the code, I have </i><br /><i>actually run the games on a few Linux machines that I have access to, </i><br /><i>where I also had installed SDL. I have not updated my SDL installs in </i><br /><i>several years now, so there may be complications that arise if running </i><br /><i>it with a new version of SDL.</i><br /><i><br /></i><br /><i>I hope you enjoy the games (or at least aren't too mean about it </i><br /><i>if you don't).</i><br /><i>Garry Taylor</i></blockquote><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-500220938152318100?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<i style="float:right;">A poor man begs,<br />A troubled man prays,<br />who shall answer? </i><br /><br /><br /><br /><p>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. </p><p>If anyone can point me to the simplest working exaple of XS with a c struct, it would be greatly appreciated.</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-9063382931575650771?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Updates on Plan for v2.4
+More Games + Update
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i>A fierce storm came,<br />With a crash,<br />Old oaks went lame.</i></div><p>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 <a href="http://modernperlbooks.com/mt/index.html">chromatic</a> and <a href="http://onionstand.blogspot.com/">garu</a>. We came up with the following plan for v2.4.</p><br /><p>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 <a href="http://github.com/garu/SDL_perl/commit/68210590cb457b273ba0f1f891d378b876dc6cd7">added many tests</a> 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. </p><br /><p>Obviously this will take some time and effort, but it will pay off in the long run. Any help will be greatly appreciated. <br /></p><i>--yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-5293501082670630307?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i><br />idle digits,<br />play,<br />away,<br />idle digits.<br /></i></div><br />So while I am hacking away on v2.4 and <a href="http://github.com/kthakore/SDL_perl/tree/experimental">breaking</a> a lot of things. Here is a link to some more <a href="http://home.comcast.net/%7Eg.f.taylor/GarrysGames.html">games</a> for SDL Perl. These only work in windows now but I will look into bringing them to CPAN (with Garry's permission). <br /><br /><i>--yapgh</i><br /><br />These where reported by Garry Taylor. Here is the rest of the email:<br /><br /><blockquote><i>Hi all,</i><br /><i>I hadn't checked this newsgroup in a while and was happy to see </i><br /><i>that it still alive and well. I saw that some people had been sharing </i><br /><i>some SDL Perl games online, and I had a few to share as well. At </i><br /><i>"http://home.comcast.net/~g.f.taylor/GarrysGames.html" you can find four </i><br /><i>games I have written as well as a simple flip book program to let a </i><br /><i>child play at making animation on the computer. The games are "Toad" (a </i><br /><i>Frogger wanna be), "RabbitHat" (like Centipede), "BunnyHunt" (sort of </i><br /><i>like Pac-Man) and "Bonk The Buggies". All (with the exception of Toad </i><br /><i>which in its very first incarnation was a game I wrote in TRS-80 Basic </i><br /><i>back in 1981) were written originally to run on my Windows 3.11 PC for </i><br /><i>my little girl so that she could play games which were not quite so </i><br /><i>violent as games were starting to become at the time.</i><br /><i><br /></i><br /><i>A few years ago I got the idea of trying to get them to run again </i><br /><i>by rewriting them in Perl. The downloads are Windows XP/Vista installs </i><br /><i>which include a bare bones Perl environment for running the games (the </i><br /><i>installs put the code into its own separate place, and shouldn't </i><br /><i>interfere with your existing Perl setups). I did this so that I could </i><br /><i>share the games with friends and family who either don't have SDL </i><br /><i>installed, don't have Perl installed, or don't do any programming and </i><br /><i>just needed something that will run. The code as it currently stands </i><br /><i>was not written for general publication, so there are probably places </i><br /><i>where the Perl code itself is not always the best looking it could be, </i><br /><i>but the games themselves work pretty well. Also, it is worth noting </i><br /><i>that I wound up being lazy and made a few additions to the Perl SDL code </i><br /><i>that I was using to add an additional function or two for printing text </i><br /><i>onto the screen that was centered or right aligned.</i><br /><i><br /></i><br /><i>While I have not made any Unix installs for the code, I have </i><br /><i>actually run the games on a few Linux machines that I have access to, </i><br /><i>where I also had installed SDL. I have not updated my SDL installs in </i><br /><i>several years now, so there may be complications that arise if running </i><br /><i>it with a new version of SDL.</i><br /><i><br /></i><br /><i>I hope you enjoy the games (or at least aren't too mean about it </i><br /><i>if you don't).</i><br /><i>Garry Taylor</i></blockquote><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-500220938152318100?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Code is not the only thing
+Updates on Plan for v2.4
</h1>
<div class="CONTENT">
-<div style="float: right;"><i><br />I did,<br />no one cared,<br />I spoke,<br />no one heard,<br />I wrote,<br />someone read.<br /></i><br /></div><br /><p style="clear: both;">After only several weeks of maintaining SDL perl, Today I have come to <a href="http://www.nntp.perl.org/group/perl.sdl.devel/2009/08/msg1405.html">noticed </a>how important it is to update README's, docs and so on. I will redouble my effort to do <a href="http://github.com/kthakore/SDL_perl/commit/e504c139e12e5592b5694292bb1882ee78b65b28">this</a>. </p><br /><p>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.<br /></p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-2082858297367668517?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i>A fierce storm came,<br />With a crash,<br />Old oaks went lame.</i></div><p>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 <a href="http://modernperlbooks.com/mt/index.html">chromatic</a> and <a href="http://onionstand.blogspot.com/">garu</a>. We came up with the following plan for v2.4.</p><br /><p>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 <a href="http://github.com/garu/SDL_perl/commit/68210590cb457b273ba0f1f891d378b876dc6cd7">added many tests</a> 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. </p><br /><p>Obviously this will take some time and effort, but it will pay off in the long run. Any help will be greatly appreciated. <br /></p><i>--yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-5293501082670630307?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-SDL Perl v2.2.2 out and Plans for v2.4
+Code is not the only thing
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i>The early bird may get the worm,</i></div><div style="text-align: right;"><i>and the second mouse may get the cheese,</i></div><div style="text-align: right;"><i>but I want neither the worm nor the cheese,</i><br /><i>'cause I am not a mouse or a bird.</i><br /><i><br /></i></div><div style="text-align: right;"></div><br /><br /> I have release v2.2.2 which includes several bug fixes:<br /><br /><ul><li>Made App loop() faster <a href="https://rt.cpan.org/Public/Bug/Display.html?id=16988">RT</a> </li><li>Patched support for add support for gluquadric* sub <a href="https://rt.cpan.org/Public/Bug/Display.html?id=25598">RT</a> </li><li>Made App init slimer <a href="https://rt.cpan.org/Public/Bug/Display.html?id=16987">RT</a> </li><li>Added faster SDL::Color alternative <a href="https://rt.cpan.org/Public/Bug/Display.html?id=17975">RT</a> </li><li>Added better error reporting for TTFont errors</li><li>Added experimental win32 support RT <b>[Update: v2.2.2.5 is better for windows support]</b><br /></li></ul>You can grab this release off <a href="http://search.cpan.org/%7Ekthakore/">CPAN</a>. <br /><br />This is still a stopover to the major release v2.4. Which will hope fully solve the memory leaks problems.<br /><i><br /></i><br /><i>--yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-3262180750381344183?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="float: right;"><i><br />I did,<br />no one cared,<br />I spoke,<br />no one heard,<br />I wrote,<br />someone read.<br /></i><br /></div><br /><p style="clear: both;">After only several weeks of maintaining SDL perl, Today I have come to <a href="http://www.nntp.perl.org/group/perl.sdl.devel/2009/08/msg1405.html">noticed </a>how important it is to update README's, docs and so on. I will redouble my effort to do <a href="http://github.com/kthakore/SDL_perl/commit/e504c139e12e5592b5694292bb1882ee78b65b28">this</a>. </p><br /><p>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.<br /></p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-2082858297367668517?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Catching memory leaks in XS
+SDL Perl v2.2.2 out and Plans for v2.4
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><i> I slay dragons, yonder</i></div><br />So I am trying to find and plug memory leaks in SDL perl. Most of the <a href="https://rt.cpan.org/Ticket/Display.html?id=49084">memory leaks</a> occur because in XS a reference is still held. One very expensive mem leak was caught by TELS really early on <a href="https://rt.cpan.org/Ticket/Display.html?id=17976">here</a>. The problem occurs where in XS there is<br /><br /><blockquote><i>RETVAL</i><i> = (cast *) safemalloc( ... );</i></blockquote> and safefree(...) is never called.<br />Here is a in <a href="http://github.com/kthakore/SDL_perl/blob/63ebaa682697728f5946f700a2b2c12534b1b821/src/SDL.xs">code example</a> lines 1082 on. <br /><br />My question is how I can mitigate these memory leaks? One idea I had was to store all malloc'd pointers to an array that is safefree'd on DESTROY or hooked into perl GC somehow .<br /><br /><br />Any guidance is helpful.<br /><br /><i>--yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-7742659740534179607?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i>The early bird may get the worm,</i></div><div style="text-align: right;"><i>and the second mouse may get the cheese,</i></div><div style="text-align: right;"><i>but I want neither the worm nor the cheese,</i><br /><i>'cause I am not a mouse or a bird.</i><br /><i><br /></i></div><div style="text-align: right;"></div><br /><br /> I have release v2.2.2 which includes several bug fixes:<br /><br /><ul><li>Made App loop() faster <a href="https://rt.cpan.org/Public/Bug/Display.html?id=16988">RT</a> </li><li>Patched support for add support for gluquadric* sub <a href="https://rt.cpan.org/Public/Bug/Display.html?id=25598">RT</a> </li><li>Made App init slimer <a href="https://rt.cpan.org/Public/Bug/Display.html?id=16987">RT</a> </li><li>Added faster SDL::Color alternative <a href="https://rt.cpan.org/Public/Bug/Display.html?id=17975">RT</a> </li><li>Added better error reporting for TTFont errors</li><li>Added experimental win32 support RT <b>[Update: v2.2.2.5 is better for windows support]</b><br /></li></ul>You can grab this release off <a href="http://search.cpan.org/%7Ekthakore/">CPAN</a>. <br /><br />This is still a stopover to the major release v2.4. Which will hope fully solve the memory leaks problems.<br /><i><br /></i><br /><i>--yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-3262180750381344183?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
<div class="blog">
<h1 id="NAME">
-Alien::SDL 0.01 released!!!
+Catching memory leaks in XS
</h1>
<div class="CONTENT">
-<div style="text-align: right;"><div class="separator" style="clear: both; text-align: center;"></div><div style="text-align: left;"></div><i>I just code</i><br /><i>don't know where it leads</i><br />or<br /><i>how I will get there</i><br /><i>I just code </i><br /><a href="http://3.bp.blogspot.com/_NnqjAQEn1Xo/SpawTrdopaI/AAAAAAAAAAs/YZZzXDPh1a8/s1600-h/screen.bmp" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_NnqjAQEn1Xo/SpawTrdopaI/AAAAAAAAAAs/YZZzXDPh1a8/s320/screen.bmp" /></a></div><br /><br />With yesterday's frantic coding to get windows compatibility setup we were left with a very crude way of installing. After some late night hacking I finally came up with Alias's <a href="http://use.perl.org/%7EAlias/journal/39476">suggestion</a> to have Alien::SDL. All thanks to Alias's generous access to his <a href="http://use.perl.org/%7EAlias/journal/39318">windows farm</a>, I was able to make a easier module to install SDL deps on windows. Future plans are in place to get sources and compile them for other platform.Hopefully a SDL perl release will be out soon to use Alien::SDL now.<br /><br /><br />The above script is in test/testsprite.pl. <br /><br />Until then you can do:<br /><blockquote><br />in cpan<br />cpan><b> install File::Fetch</b><br />cpan> <b>install Archive::Extract</b><br />cpan> <b>install Alien::SDL</b><br /><br />and in cmd <br /><b>pip http://cloud.github.com/downloads/kthakore/SDL_perl/SDL_Perl-v2.2.2.tar.gz</b></blockquote><br /><br />Please post any feedback here.<br /><br />Enjoy,<br /><i>yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-8996898299982319327?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
+<div style="text-align: right;"><i> I slay dragons, yonder</i></div><br />So I am trying to find and plug memory leaks in SDL perl. Most of the <a href="https://rt.cpan.org/Ticket/Display.html?id=49084">memory leaks</a> occur because in XS a reference is still held. One very expensive mem leak was caught by TELS really early on <a href="https://rt.cpan.org/Ticket/Display.html?id=17976">here</a>. The problem occurs where in XS there is<br /><br /><blockquote><i>RETVAL</i><i> = (cast *) safemalloc( ... );</i></blockquote> and safefree(...) is never called.<br />Here is a in <a href="http://github.com/kthakore/SDL_perl/blob/63ebaa682697728f5946f700a2b2c12534b1b821/src/SDL.xs">code example</a> lines 1082 on. <br /><br />My question is how I can mitigate these memory leaks? One idea I had was to store all malloc'd pointers to an array that is safefree'd on DESTROY or hooked into perl GC somehow .<br /><br /><br />Any guidance is helpful.<br /><br /><i>--yapgh</i><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3102167581424744259-7742659740534179607?l=yapgh.blogspot.com' alt='' /></div></div></div>
\ No newline at end of file
-<div class="blog"><h1>Results for tag: CPAN</h1><div><a href="blog-0016.html">Why I will be sticking to CPAN</a><br /><span style="font-size: 10px">Sunday, 06 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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. <br />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. <br />If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.<br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">Frozen Bubble coming to CPAN</a><br /><span style="font-size: 10px">Friday, 04 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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. <br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">Newbie Friendly Perl Projects</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-personal.html" style="font-size: 10px">[personal]</a></span><br />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.<br />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:<br /> 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 ]<br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: CPAN</h1><div><a href="blog-0017.html">Why I will be sticking to CPAN</a><br /><span style="font-size: 10px">Sunday, 06 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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. <br />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. <br />If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.<br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">Frozen Bubble coming to CPAN</a><br /><span style="font-size: 10px">Friday, 04 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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. <br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Newbie Friendly Perl Projects</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-personal.html" style="font-size: 10px">[personal]</a></span><br />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.<br />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:<br /> 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 ]<br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
-<div class="blog"><h1>Results for tag: Design</h1><div><a href="blog-0008.html">The Future and Beyond!</a><br /><span style="font-size: 10px">Saturday, 24 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br /> 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.<br /> Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation. <br /> 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. <br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.html">The beginnings of modular design for SDL Perl</a><br /><span style="font-size: 10px">Sunday, 11 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> The design before <br />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. <br /> The design we are aiming for Simple one XS per Module. This would also simplify the Build code.<br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.html">Thanks nothingmuch, and updates</a><br /><span style="font-size: 10px">Friday, 18 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a></span><br /> 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.<br /> SDL Perl Tutorials <br />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.<br /><a href="blog-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">Design of SDL::Rect</a><br /><span style="font-size: 10px">Saturday, 12 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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. <br /> <br />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.<br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.html">Updates and Design Decisions</a><br /><span style="font-size: 10px">Wednesday, 09 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> <br /> <br /> --yapgh <br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Design</h1><div><a href="blog-0009.html">The Future and Beyond!</a><br /><span style="font-size: 10px">Saturday, 24 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br /> 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.<br /> Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation. <br /> 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. <br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.html">The beginnings of modular design for SDL Perl</a><br /><span style="font-size: 10px">Sunday, 11 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> The design before <br />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. <br /> The design we are aiming for Simple one XS per Module. This would also simplify the Build code.<br /><a href="blog-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">Thanks nothingmuch, and updates</a><br /><span style="font-size: 10px">Friday, 18 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a></span><br /> 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.<br /> SDL Perl Tutorials <br />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.<br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.html">Design of SDL::Rect</a><br /><span style="font-size: 10px">Saturday, 12 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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. <br /> <br />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.<br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.html">Updates and Design Decisions</a><br /><span style="font-size: 10px">Wednesday, 09 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> <br /> <br /> --yapgh <br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
-<div class="blog"><h1>Results for tag: Docs</h1><div><a href="blog-0002.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 <br /> --yapgh <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.html">Updates, Falling Block Game, and Hack Fest</a><br /><span style="font-size: 10px">Wednesday, 23 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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.<br /> 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.<br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Docs</h1><div><a href="blog-0003.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 <br /> --yapgh <br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.html">Updates, Falling Block Game, and Hack Fest</a><br /><span style="font-size: 10px">Wednesday, 23 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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.<br /> 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.<br /><a href="blog-0013.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
-<div class="blog"><h1>Results for tag: Example</h1><div><a href="blog-0003.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> Sol's Tutorials <br /> 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!<br /> <br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Example</h1><div><a href="blog-0004.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> Sol's Tutorials <br /> 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!<br /> <br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
-<div class="blog"><h1>Results for tag: Frozen Bubble</h1><div><a href="blog-0010.html">Why and How Frozen Bubble is going to CPAN</a><br /><span style="font-size: 10px">Friday, 02 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> <br /> <br /><a href="blog-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">Frozen Bubble coming to CPAN</a><br /><span style="font-size: 10px">Friday, 04 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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. <br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Frozen Bubble</h1><div><a href="blog-0011.html">Why and How Frozen Bubble is going to CPAN</a><br /><span style="font-size: 10px">Friday, 02 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> <br /> <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">Frozen Bubble coming to CPAN</a><br /><span style="font-size: 10px">Friday, 04 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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. <br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
-<div class="blog"><h1>Results for tag: HackFest</h1><div><a href="blog-0011.html">HackFest: Results</a><br /><span style="font-size: 10px">Monday, 28 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-HackFest.html" style="font-size: 10px">[HackFest]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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. <br /> 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.<br /> Developers All developers please tell me what to put you guys want to be put down as on the <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: HackFest</h1><div><a href="blog-0012.html">HackFest: Results</a><br /><span style="font-size: 10px">Monday, 28 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-HackFest.html" style="font-size: 10px">[HackFest]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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. <br /> 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.<br /> Developers All developers please tell me what to put you guys want to be put down as on the <br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
-<div class="blog"><h1>Results for tag: Perl</h1><div><a href="blog-0001.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 . <br /> 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. <br /> 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 <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 <br /> --yapgh <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> Sol's Tutorials <br /> 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!<br /> <br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0004.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />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 <br /> 1 #!/usr/bin/perl -w<br /> 2 use strict;<br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a></span><br />You need the new code from the redesign branch to use this . <br /> #!/usr/bin/env perl<br />use SDL;<br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /> SDL::Video at 97% SDL::Events at 25% ~1000 tests cases passing on Windows and Linux <br /> <br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />In the past week the SDL Perl team has been busy! This is what we have accomplished<br /> 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.<br /> 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. <br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.html">Why and How Frozen Bubble is going to CPAN</a><br /><span style="font-size: 10px">Friday, 02 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> <br /> <br /><a href="blog-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.html">HackFest: Results</a><br /><span style="font-size: 10px">Monday, 28 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-HackFest.html" style="font-size: 10px">[HackFest]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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. <br /> 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.<br /> Developers All developers please tell me what to put you guys want to be put down as on the <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.html">Updates, Falling Block Game, and Hack Fest</a><br /><span style="font-size: 10px">Wednesday, 23 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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.<br /> 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.<br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.html">Thanks nothingmuch, and updates</a><br /><span style="font-size: 10px">Friday, 18 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a></span><br /> 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.<br /> SDL Perl Tutorials <br />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.<br /><a href="blog-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">Design of SDL::Rect</a><br /><span style="font-size: 10px">Saturday, 12 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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. <br /> <br />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.<br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.html">Updates and Design Decisions</a><br /><span style="font-size: 10px">Wednesday, 09 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> <br /> <br /> --yapgh <br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.html">Why I will be sticking to CPAN</a><br /><span style="font-size: 10px">Sunday, 06 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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. <br />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. <br />If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.<br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">Frozen Bubble coming to CPAN</a><br /><span style="font-size: 10px">Friday, 04 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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. <br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">Newbie Friendly Perl Projects</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-personal.html" style="font-size: 10px">[personal]</a></span><br />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.<br />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:<br /> 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 ]<br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Can someone please point me to good XS documentation!</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> A poor man begs,<br />A troubled man prays,<br />who shall answer? <br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.html">More Games + Update</a><br /><span style="font-size: 10px">Tuesday, 01 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br />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). <br /> --yapgh <br />These where reported by Garry Taylor. Here is the rest of the email:<br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">Updates on Plan for v2.4</a><br /><span style="font-size: 10px">Monday, 31 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> 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. <br /> 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. <br /> Obviously this will take some time and effort, but it will pay off in the long run. Any help will be greatly appreciated. <br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.html">Code is not the only thing</a><br /><span style="font-size: 10px">Sunday, 30 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Questions.html" style="font-size: 10px">[Questions]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 . <br /> 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.<br /> <br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.html">SDL Perl v2.2.2 out and Plans for v2.4</a><br /><span style="font-size: 10px">Saturday, 29 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> I have release v2.2.2 which includes several bug fixes:<br /> Made App loop() faster RT Patched support for add support for gluquadric* sub RT Made App init slimer RT Added faster SDL::Color alternative RT Added better error reporting for TTFont errors Added experimental win32 support RT [Update: v2.2.2.5 is better for windows support] <br /> You can grab this release off CPAN . <br /><a href="blog-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.html">Catching memory leaks in XS</a><br /><span style="font-size: 10px">Friday, 28 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />So I am trying to find and plug memory leaks in SDL perl. Most of the memory leaks occur because in XS a reference is still held. One very expensive mem leak was caught by TELS really early on here . The problem occurs where in XS there is<br /> RETVAL = (cast *) safemalloc( ... ); and safefree(...) is never called.<br />Here is a in code example lines 1082 on. <br /><a href="blog-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.html">Alien::SDL 0.01 released!!!</a><br /><span style="font-size: 10px">Thursday, 27 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Alien.html" style="font-size: 10px">[Alien]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />With yesterday's frantic coding to get windows compatibility setup we were left with a very crude way of installing. After some late night hacking I finally came up with Alias's suggestion to have Alien::SDL. All thanks to Alias's generous access to his windows farm , I was able to make a easier module to install SDL deps on windows. Future plans are in place to get sources and compile them for other platform.Hopefully a SDL perl release will be out soon to use Alien::SDL now.<br />The above script is in test/testsprite.pl. <br />Until then you can do:<br /><a href="blog-0025.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Perl</h1><div><a href="blog-0001.html">SDL Alpha 2: A sneak preview</a><br /><span style="font-size: 10px">Sunday, 06 December 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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.<br /> <br /> <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 . <br /> 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. <br /> 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 <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 <br /> --yapgh <br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0004.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> Sol's Tutorials <br /> 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!<br /> <br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />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 <br /> 1 #!/usr/bin/perl -w<br /> 2 use strict;<br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a></span><br />You need the new code from the redesign branch to use this . <br /> #!/usr/bin/env perl<br />use SDL;<br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /> SDL::Video at 97% SDL::Events at 25% ~1000 tests cases passing on Windows and Linux <br /> <br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />In the past week the SDL Perl team has been busy! This is what we have accomplished<br /> 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.<br /> 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. <br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.html">Why and How Frozen Bubble is going to CPAN</a><br /><span style="font-size: 10px">Friday, 02 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> <br /> <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.html">HackFest: Results</a><br /><span style="font-size: 10px">Monday, 28 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-HackFest.html" style="font-size: 10px">[HackFest]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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. <br /> 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.<br /> Developers All developers please tell me what to put you guys want to be put down as on the <br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.html">Updates, Falling Block Game, and Hack Fest</a><br /><span style="font-size: 10px">Wednesday, 23 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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.<br /> 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.<br /><a href="blog-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">Thanks nothingmuch, and updates</a><br /><span style="font-size: 10px">Friday, 18 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a></span><br /> 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.<br /> SDL Perl Tutorials <br />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.<br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.html">Design of SDL::Rect</a><br /><span style="font-size: 10px">Saturday, 12 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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. <br /> <br />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.<br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.html">Updates and Design Decisions</a><br /><span style="font-size: 10px">Wednesday, 09 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> <br /> <br /> --yapgh <br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">Why I will be sticking to CPAN</a><br /><span style="font-size: 10px">Sunday, 06 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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. <br />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. <br />If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.<br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">Frozen Bubble coming to CPAN</a><br /><span style="font-size: 10px">Friday, 04 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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. <br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Newbie Friendly Perl Projects</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-personal.html" style="font-size: 10px">[personal]</a></span><br />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.<br />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:<br /> 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 ]<br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.html">Can someone please point me to good XS documentation!</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> A poor man begs,<br />A troubled man prays,<br />who shall answer? <br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">More Games + Update</a><br /><span style="font-size: 10px">Tuesday, 01 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br />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). <br /> --yapgh <br />These where reported by Garry Taylor. Here is the rest of the email:<br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.html">Updates on Plan for v2.4</a><br /><span style="font-size: 10px">Monday, 31 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> 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. <br /> 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. <br /> Obviously this will take some time and effort, but it will pay off in the long run. Any help will be greatly appreciated. <br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.html">Code is not the only thing</a><br /><span style="font-size: 10px">Sunday, 30 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Questions.html" style="font-size: 10px">[Questions]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 . <br /> 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.<br /> <br /><a href="blog-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.html">SDL Perl v2.2.2 out and Plans for v2.4</a><br /><span style="font-size: 10px">Saturday, 29 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> I have release v2.2.2 which includes several bug fixes:<br /> Made App loop() faster RT Patched support for add support for gluquadric* sub RT Made App init slimer RT Added faster SDL::Color alternative RT Added better error reporting for TTFont errors Added experimental win32 support RT [Update: v2.2.2.5 is better for windows support] <br /> You can grab this release off CPAN . <br /><a href="blog-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.html">Catching memory leaks in XS</a><br /><span style="font-size: 10px">Friday, 28 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />So I am trying to find and plug memory leaks in SDL perl. Most of the memory leaks occur because in XS a reference is still held. One very expensive mem leak was caught by TELS really early on here . The problem occurs where in XS there is<br /> RETVAL = (cast *) safemalloc( ... ); and safefree(...) is never called.<br />Here is a in code example lines 1082 on. <br /><a href="blog-0025.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
-<div class="blog"><h1>Results for tag: Questions</h1><div><a href="blog-0022.html">Code is not the only thing</a><br /><span style="font-size: 10px">Sunday, 30 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Questions.html" style="font-size: 10px">[Questions]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 . <br /> 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.<br /> <br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Questions</h1><div><a href="blog-0023.html">Code is not the only thing</a><br /><span style="font-size: 10px">Sunday, 30 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Questions.html" style="font-size: 10px">[Questions]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 . <br /> 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.<br /> <br /><a href="blog-0023.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
-<div class="blog"><h1>Results for tag: Releases</h1><div><a href="blog-0001.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 . <br /> 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. <br /> 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 <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.html">Alien::SDL 0.01 released!!!</a><br /><span style="font-size: 10px">Thursday, 27 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Alien.html" style="font-size: 10px">[Alien]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />With yesterday's frantic coding to get windows compatibility setup we were left with a very crude way of installing. After some late night hacking I finally came up with Alias's suggestion to have Alien::SDL. All thanks to Alias's generous access to his windows farm , I was able to make a easier module to install SDL deps on windows. Future plans are in place to get sources and compile them for other platform.Hopefully a SDL perl release will be out soon to use Alien::SDL now.<br />The above script is in test/testsprite.pl. <br />Until then you can do:<br /><a href="blog-0025.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Releases</h1><div><a href="blog-0001.html">SDL Alpha 2: A sneak preview</a><br /><span style="font-size: 10px">Sunday, 06 December 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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.<br /> <br /> <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 . <br /> 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. <br /> 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 <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
-<div class="blog"><h1>Results for tag: SDL</h1><div><a href="blog-0001.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 . <br /> 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. <br /> 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 <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 <br /> --yapgh <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> Sol's Tutorials <br /> 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!<br /> <br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0004.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />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 <br /> 1 #!/usr/bin/perl -w<br /> 2 use strict;<br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a></span><br />You need the new code from the redesign branch to use this . <br /> #!/usr/bin/env perl<br />use SDL;<br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /> SDL::Video at 97% SDL::Events at 25% ~1000 tests cases passing on Windows and Linux <br /> <br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />In the past week the SDL Perl team has been busy! This is what we have accomplished<br /> 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.<br /> 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. <br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.html">The Future and Beyond!</a><br /><span style="font-size: 10px">Saturday, 24 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br /> 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.<br /> Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation. <br /> 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. <br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.html">The beginnings of modular design for SDL Perl</a><br /><span style="font-size: 10px">Sunday, 11 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> The design before <br />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. <br /> The design we are aiming for Simple one XS per Module. This would also simplify the Build code.<br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.html">Why and How Frozen Bubble is going to CPAN</a><br /><span style="font-size: 10px">Friday, 02 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> <br /> <br /><a href="blog-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.html">HackFest: Results</a><br /><span style="font-size: 10px">Monday, 28 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-HackFest.html" style="font-size: 10px">[HackFest]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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. <br /> 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.<br /> Developers All developers please tell me what to put you guys want to be put down as on the <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.html">Updates, Falling Block Game, and Hack Fest</a><br /><span style="font-size: 10px">Wednesday, 23 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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.<br /> 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.<br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.html">Thanks nothingmuch, and updates</a><br /><span style="font-size: 10px">Friday, 18 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a></span><br /> 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.<br /> SDL Perl Tutorials <br />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.<br /><a href="blog-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">Design of SDL::Rect</a><br /><span style="font-size: 10px">Saturday, 12 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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. <br /> <br />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.<br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.html">Updates and Design Decisions</a><br /><span style="font-size: 10px">Wednesday, 09 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> <br /> <br /> --yapgh <br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.html">Why I will be sticking to CPAN</a><br /><span style="font-size: 10px">Sunday, 06 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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. <br />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. <br />If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.<br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">Frozen Bubble coming to CPAN</a><br /><span style="font-size: 10px">Friday, 04 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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. <br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">Newbie Friendly Perl Projects</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-personal.html" style="font-size: 10px">[personal]</a></span><br />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.<br />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:<br /> 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 ]<br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.html">More Games + Update</a><br /><span style="font-size: 10px">Tuesday, 01 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br />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). <br /> --yapgh <br />These where reported by Garry Taylor. Here is the rest of the email:<br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">Updates on Plan for v2.4</a><br /><span style="font-size: 10px">Monday, 31 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> 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. <br /> 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. <br /> Obviously this will take some time and effort, but it will pay off in the long run. Any help will be greatly appreciated. <br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.html">Code is not the only thing</a><br /><span style="font-size: 10px">Sunday, 30 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Questions.html" style="font-size: 10px">[Questions]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 . <br /> 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.<br /> <br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.html">SDL Perl v2.2.2 out and Plans for v2.4</a><br /><span style="font-size: 10px">Saturday, 29 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> I have release v2.2.2 which includes several bug fixes:<br /> Made App loop() faster RT Patched support for add support for gluquadric* sub RT Made App init slimer RT Added faster SDL::Color alternative RT Added better error reporting for TTFont errors Added experimental win32 support RT [Update: v2.2.2.5 is better for windows support] <br /> You can grab this release off CPAN . <br /><a href="blog-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.html">Catching memory leaks in XS</a><br /><span style="font-size: 10px">Friday, 28 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />So I am trying to find and plug memory leaks in SDL perl. Most of the memory leaks occur because in XS a reference is still held. One very expensive mem leak was caught by TELS really early on here . The problem occurs where in XS there is<br /> RETVAL = (cast *) safemalloc( ... ); and safefree(...) is never called.<br />Here is a in code example lines 1082 on. <br /><a href="blog-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.html">Alien::SDL 0.01 released!!!</a><br /><span style="font-size: 10px">Thursday, 27 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Alien.html" style="font-size: 10px">[Alien]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />With yesterday's frantic coding to get windows compatibility setup we were left with a very crude way of installing. After some late night hacking I finally came up with Alias's suggestion to have Alien::SDL. All thanks to Alias's generous access to his windows farm , I was able to make a easier module to install SDL deps on windows. Future plans are in place to get sources and compile them for other platform.Hopefully a SDL perl release will be out soon to use Alien::SDL now.<br />The above script is in test/testsprite.pl. <br />Until then you can do:<br /><a href="blog-0025.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: SDL</h1><div><a href="blog-0001.html">SDL Alpha 2: A sneak preview</a><br /><span style="font-size: 10px">Sunday, 06 December 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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.<br /> <br /> <br /><a href="blog-0001.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0002.html">Developer Release of SDL 2.3_1</a><br /><span style="font-size: 10px">Monday, 30 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Releases.html" style="font-size: 10px">[Releases]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 . <br /> 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. <br /> 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 <br /><a href="blog-0002.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0003.html">SDL Perl Documentation: Reviewers need</a><br /><span style="font-size: 10px">Thursday, 26 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 <br /> --yapgh <br /><a href="blog-0003.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0004.html">Migrating Sol's Tutorial of SDL to SDL_Perl</a><br /><span style="font-size: 10px">Sunday, 15 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Example.html" style="font-size: 10px">[Example]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> Sol's Tutorials <br /> 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!<br /> <br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0005.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />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 <br /> 1 #!/usr/bin/perl -w<br /> 2 use strict;<br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0006.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a></span><br />You need the new code from the redesign branch to use this . <br /> #!/usr/bin/env perl<br />use SDL;<br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /> SDL::Video at 97% SDL::Events at 25% ~1000 tests cases passing on Windows and Linux <br /> <br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />In the past week the SDL Perl team has been busy! This is what we have accomplished<br /> 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.<br /> 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. <br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.html">The Future and Beyond!</a><br /><span style="font-size: 10px">Saturday, 24 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br /> 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.<br /> Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation. <br /> 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. <br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.html">The beginnings of modular design for SDL Perl</a><br /><span style="font-size: 10px">Sunday, 11 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> The design before <br />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. <br /> The design we are aiming for Simple one XS per Module. This would also simplify the Build code.<br /><a href="blog-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0011.html">Why and How Frozen Bubble is going to CPAN</a><br /><span style="font-size: 10px">Friday, 02 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> <br /> <br /><a href="blog-0011.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0012.html">HackFest: Results</a><br /><span style="font-size: 10px">Monday, 28 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-HackFest.html" style="font-size: 10px">[HackFest]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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. <br /> 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.<br /> Developers All developers please tell me what to put you guys want to be put down as on the <br /><a href="blog-0012.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0013.html">Updates, Falling Block Game, and Hack Fest</a><br /><span style="font-size: 10px">Wednesday, 23 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Docs.html" style="font-size: 10px">[Docs]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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.<br /> 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.<br /><a href="blog-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0014.html">Thanks nothingmuch, and updates</a><br /><span style="font-size: 10px">Friday, 18 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a></span><br /> 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.<br /> SDL Perl Tutorials <br />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.<br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.html">Design of SDL::Rect</a><br /><span style="font-size: 10px">Saturday, 12 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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. <br /> <br />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.<br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.html">Updates and Design Decisions</a><br /><span style="font-size: 10px">Wednesday, 09 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> <br /> <br /> --yapgh <br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0017.html">Why I will be sticking to CPAN</a><br /><span style="font-size: 10px">Sunday, 06 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />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. <br />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. <br />If there are people looking to package SDL Perl for their platform please contact us at sdl-devel@perl.org.<br /><a href="blog-0017.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0018.html">Frozen Bubble coming to CPAN</a><br /><span style="font-size: 10px">Friday, 04 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Frozen-Bubble.html" style="font-size: 10px">[Frozen Bubble]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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. <br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Newbie Friendly Perl Projects</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-personal.html" style="font-size: 10px">[personal]</a></span><br />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.<br />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:<br /> 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 ]<br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">More Games + Update</a><br /><span style="font-size: 10px">Tuesday, 01 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br />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). <br /> --yapgh <br />These where reported by Garry Taylor. Here is the rest of the email:<br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.html">Updates on Plan for v2.4</a><br /><span style="font-size: 10px">Monday, 31 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> 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. <br /> 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. <br /> Obviously this will take some time and effort, but it will pay off in the long run. Any help will be greatly appreciated. <br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0023.html">Code is not the only thing</a><br /><span style="font-size: 10px">Sunday, 30 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Questions.html" style="font-size: 10px">[Questions]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> 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 . <br /> 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.<br /> <br /><a href="blog-0023.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0024.html">SDL Perl v2.2.2 out and Plans for v2.4</a><br /><span style="font-size: 10px">Saturday, 29 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br /> I have release v2.2.2 which includes several bug fixes:<br /> Made App loop() faster RT Patched support for add support for gluquadric* sub RT Made App init slimer RT Added faster SDL::Color alternative RT Added better error reporting for TTFont errors Added experimental win32 support RT [Update: v2.2.2.5 is better for windows support] <br /> You can grab this release off CPAN . <br /><a href="blog-0024.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0025.html">Catching memory leaks in XS</a><br /><span style="font-size: 10px">Friday, 28 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a></span><br />So I am trying to find and plug memory leaks in SDL perl. Most of the memory leaks occur because in XS a reference is still held. One very expensive mem leak was caught by TELS really early on here . The problem occurs where in XS there is<br /> RETVAL = (cast *) safemalloc( ... ); and safefree(...) is never called.<br />Here is a in code example lines 1082 on. <br /><a href="blog-0025.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
-<div class="blog"><h1>Results for tag: Sneak Preview</h1><div><a href="blog-0005.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a></span><br />You need the new code from the redesign branch to use this . <br /> #!/usr/bin/env perl<br />use SDL;<br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Sneak Preview</h1><div><a href="blog-0006.html">Hello Mouse? An Example of the New Event Code</a><br /><span style="font-size: 10px">Wednesday, 11 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Sneak-Preview.html" style="font-size: 10px">[Sneak Preview]</a></span><br />You need the new code from the redesign branch to use this . <br /> #!/usr/bin/env perl<br />use SDL;<br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
-<div class="blog"><h1>Results for tag: Tutorial</h1><div><a href="blog-0013.html">Thanks nothingmuch, and updates</a><br /><span style="font-size: 10px">Friday, 18 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a></span><br /> 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.<br /> SDL Perl Tutorials <br />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.<br /><a href="blog-0013.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Can someone please point me to good XS documentation!</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> A poor man begs,<br />A troubled man prays,<br />who shall answer? <br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Tutorial</h1><div><a href="blog-0014.html">Thanks nothingmuch, and updates</a><br /><span style="font-size: 10px">Friday, 18 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a></span><br /> 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.<br /> SDL Perl Tutorials <br />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.<br /><a href="blog-0014.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.html">Can someone please point me to good XS documentation!</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> A poor man begs,<br />A troubled man prays,<br />who shall answer? <br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
-<div class="blog"><h1>Results for tag: Updates</h1><div><a href="blog-0006.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /> SDL::Video at 97% SDL::Events at 25% ~1000 tests cases passing on Windows and Linux <br /> <br /><a href="blog-0006.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0007.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />In the past week the SDL Perl team has been busy! This is what we have accomplished<br /> 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.<br /> 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. <br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.html">The Future and Beyond!</a><br /><span style="font-size: 10px">Saturday, 24 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br /> 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.<br /> Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation. <br /> 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. <br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.html">The beginnings of modular design for SDL Perl</a><br /><span style="font-size: 10px">Sunday, 11 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> The design before <br />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. <br /> The design we are aiming for Simple one XS per Module. This would also simplify the Build code.<br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0015.html">Updates and Design Decisions</a><br /><span style="font-size: 10px">Wednesday, 09 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> <br /> <br /> --yapgh <br /><a href="blog-0015.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">Updates on Plan for v2.4</a><br /><span style="font-size: 10px">Monday, 31 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> 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. <br /> 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. <br /> Obviously this will take some time and effort, but it will pay off in the long run. Any help will be greatly appreciated. <br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: Updates</h1><div><a href="blog-0007.html">Development Update</a><br /><span style="font-size: 10px">Monday, 09 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />Had an exam on the weekend so I am a bit late. Here is the progress so far. <br /> SDL::Video at 97% SDL::Events at 25% ~1000 tests cases passing on Windows and Linux <br /> <br /><a href="blog-0007.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0008.html">Development Update</a><br /><span style="font-size: 10px">Monday, 02 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br />In the past week the SDL Perl team has been busy! This is what we have accomplished<br /> 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.<br /> 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. <br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0009.html">The Future and Beyond!</a><br /><span style="font-size: 10px">Saturday, 24 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br /> 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.<br /> Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation. <br /> 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. <br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0010.html">The beginnings of modular design for SDL Perl</a><br /><span style="font-size: 10px">Sunday, 11 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> The design before <br />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. <br /> The design we are aiming for Simple one XS per Module. This would also simplify the Build code.<br /><a href="blog-0010.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0016.html">Updates and Design Decisions</a><br /><span style="font-size: 10px">Wednesday, 09 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> <br /> <br /> --yapgh <br /><a href="blog-0016.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0022.html">Updates on Plan for v2.4</a><br /><span style="font-size: 10px">Monday, 31 August 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a></span><br /> 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. <br /> 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. <br /> Obviously this will take some time and effort, but it will pay off in the long run. Any help will be greatly appreciated. <br /><a href="blog-0022.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
-<div class="blog"><h1>Results for tag: XS</h1><div><a href="blog-0004.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />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 <br /> 1 #!/usr/bin/perl -w<br /> 2 use strict;<br /><a href="blog-0004.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0019.html">Can someone please point me to good XS documentation!</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> A poor man begs,<br />A troubled man prays,<br />who shall answer? <br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: XS</h1><div><a href="blog-0005.html">Once in a while .... (set_event_filter)</a><br /><span style="font-size: 10px">Friday, 13 November 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br />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 <br /> 1 #!/usr/bin/perl -w<br /> 2 use strict;<br /><a href="blog-0005.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.html">Can someone please point me to good XS documentation!</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-Tutorial.html" style="font-size: 10px">[Tutorial]</a> <a href="tags-XS.html" style="font-size: 10px">[XS]</a></span><br /> A poor man begs,<br />A troubled man prays,<br />who shall answer? <br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
-<div class="blog"><h1>Results for tag: games</h1><div><a href="blog-0008.html">The Future and Beyond!</a><br /><span style="font-size: 10px">Saturday, 24 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br /> 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.<br /> Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation. <br /> 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. <br /><a href="blog-0008.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0020.html">More Games + Update</a><br /><span style="font-size: 10px">Tuesday, 01 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br />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). <br /> --yapgh <br />These where reported by Garry Taylor. Here is the rest of the email:<br /><a href="blog-0020.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: games</h1><div><a href="blog-0009.html">The Future and Beyond!</a><br /><span style="font-size: 10px">Saturday, 24 October 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Design.html" style="font-size: 10px">[Design]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-Updates.html" style="font-size: 10px">[Updates]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br /> 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.<br /> Core Development Acme ( Leon Brocard ): Has started to work on the Redesign Effort with me. The help is much appreciated! Enjoy your vacation. <br /> 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. <br /><a href="blog-0009.html" style="font-size: 12px">[more]</a><br /><br /></div><hr /><div><a href="blog-0021.html">More Games + Update</a><br /><span style="font-size: 10px">Tuesday, 01 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-games.html" style="font-size: 10px">[games]</a></span><br />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). <br /> --yapgh <br />These where reported by Garry Taylor. Here is the rest of the email:<br /><a href="blog-0021.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
-Alien: blog-0025.html-inc
-CPAN: blog-0016.html-inc,blog-0017.html-inc,blog-0018.html-inc
-Design: blog-0008.html-inc,blog-0009.html-inc,blog-0013.html-inc,blog-0014.html-inc,blog-0015.html-inc
-Docs: blog-0002.html-inc,blog-0012.html-inc
-Example: blog-0003.html-inc
-Frozen Bubble: blog-0010.html-inc,blog-0017.html-inc
-HackFest: blog-0011.html-inc
-Perl: 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-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-0024.html-inc,blog-0025.html-inc
-Questions: blog-0022.html-inc
-Releases: blog-0001.html-inc,blog-0025.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-0020.html-inc,blog-0021.html-inc,blog-0022.html-inc,blog-0023.html-inc,blog-0024.html-inc,blog-0025.html-inc
-Sneak Preview: blog-0005.html-inc
-Tutorial: blog-0013.html-inc,blog-0019.html-inc
-Updates: blog-0006.html-inc,blog-0007.html-inc,blog-0008.html-inc,blog-0009.html-inc,blog-0015.html-inc,blog-0021.html-inc
-XS: blog-0004.html-inc,blog-0019.html-inc
-games: blog-0008.html-inc,blog-0020.html-inc
-personal: blog-0018.html-inc
+CPAN: blog-0017.html-inc,blog-0018.html-inc,blog-0019.html-inc
+Design: blog-0009.html-inc,blog-0010.html-inc,blog-0014.html-inc,blog-0015.html-inc,blog-0016.html-inc
+Docs: blog-0003.html-inc,blog-0013.html-inc
+Example: blog-0004.html-inc
+Frozen Bubble: blog-0011.html-inc,blog-0018.html-inc
+HackFest: blog-0012.html-inc
+Perl: 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-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-0024.html-inc,blog-0025.html-inc
+Questions: blog-0023.html-inc
+Releases: blog-0001.html-inc,blog-0002.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-0021.html-inc,blog-0022.html-inc,blog-0023.html-inc,blog-0024.html-inc,blog-0025.html-inc
+Sneak Preview: blog-0006.html-inc
+Tutorial: blog-0014.html-inc,blog-0020.html-inc
+Updates: blog-0007.html-inc,blog-0008.html-inc,blog-0009.html-inc,blog-0010.html-inc,blog-0016.html-inc,blog-0022.html-inc
+XS: blog-0005.html-inc,blog-0020.html-inc
+games: blog-0009.html-inc,blog-0021.html-inc
+personal: blog-0019.html-inc
-<div class="blog"><h1>Results for tag: personal</h1><div><a href="blog-0018.html">Newbie Friendly Perl Projects</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-personal.html" style="font-size: 10px">[personal]</a></span><br />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.<br />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:<br /> 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 ]<br /><a href="blog-0018.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file
+<div class="blog"><h1>Results for tag: personal</h1><div><a href="blog-0019.html">Newbie Friendly Perl Projects</a><br /><span style="font-size: 10px">Thursday, 03 September 2009</span><br /><span style="font-size: 10px">Tags: <a href="tags-CPAN.html" style="font-size: 10px">[CPAN]</a> <a href="tags-Perl.html" style="font-size: 10px">[Perl]</a> <a href="tags-SDL.html" style="font-size: 10px">[SDL]</a> <a href="tags-personal.html" style="font-size: 10px">[personal]</a></span><br />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.<br />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:<br /> 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 ]<br /><a href="blog-0019.html" style="font-size: 12px">[more]</a><br /><br /></div></div>
\ No newline at end of file