<?xml version="1.0" encoding="utf-8"?>
<!-- If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/ -->
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:lj="http://www.livejournal.com">
  <id>urn:lj:livejournal.com:atom1:bdilly</id>
  <title>Tuxpaint GSoC tracker</title>
  <subtitle>Support for system file dialogs</subtitle>
  <author>
    <name>bdilly</name>
  </author>
  <link rel="alternate" type="text/html" href="http://bdilly.livejournal.com/"/>
  <link rel="self" type="text/xml" href="http://bdilly.livejournal.com/data/atom"/>
  <updated>2008-07-10T21:53:50Z</updated>
  <lj:journal userid="15313787" username="bdilly" type="personal"/>
  <link rel="service.feed" type="application/x.atom+xml" href="http://bdilly.livejournal.com/data/atom" title="Tuxpaint GSoC tracker"/>
  <link rel="hub" href="http://pubsubhubbub.appspot.com/"/>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bdilly:2311</id>
    <link rel="alternate" type="text/html" href="http://bdilly.livejournal.com/2311.html"/>
    <link rel="self" type="text/xml" href="http://bdilly.livejournal.com/data/atom/?itemid=2311"/>
    <title>The Midterm Evaluation</title>
    <published>2008-07-10T21:53:50Z</published>
    <updated>2008-07-10T21:53:50Z</updated>
    <content type="html">I've submitted my survey right now.&lt;br /&gt;It's a very quickly process&amp;nbsp; ;)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The deadline is July 14th</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bdilly:2169</id>
    <link rel="alternate" type="text/html" href="http://bdilly.livejournal.com/2169.html"/>
    <link rel="self" type="text/xml" href="http://bdilly.livejournal.com/data/atom/?itemid=2169"/>
    <title>Test version ready in alternative repo</title>
    <published>2008-07-10T20:24:26Z</published>
    <updated>2008-07-10T20:51:30Z</updated>
    <category term="sdl"/>
    <category term="tuxpaint"/>
    <category term="gtk+"/>
    <content type="html">A version to be tested is ready in alternative repo, so if you want to test it (you will need a svn client):&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;svn checkout &lt;b&gt;&lt;i&gt;http&lt;/i&gt;&lt;/b&gt;://tuxpaint-system-file-dialogs.googlecode.com/svn/trunk/ tuxpaint-system-file-dialogs-&lt;br /&gt;read-only&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;To compile it, use the target gtk&lt;br /&gt;$make gtk&lt;br /&gt;&lt;br /&gt;Surely, you will need gtk+&lt;br /&gt;I've tested it using Ubuntu Hardy and libgtk2.0&lt;br /&gt;&lt;br /&gt;Please, give me feedback. Any suggestion is welcome =)&lt;br /&gt;&lt;br /&gt;Screenshots:&lt;br /&gt;- http://littlechina.org/~dilly/Tuxpaint-Screenshot-Save.png&lt;br /&gt;- http://littlechina.org/~dilly/TuxPaint-Screenshot-Open.png</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bdilly:1990</id>
    <link rel="alternate" type="text/html" href="http://bdilly.livejournal.com/1990.html"/>
    <link rel="self" type="text/xml" href="http://bdilly.livejournal.com/data/atom/?itemid=1990"/>
    <title>Learning more about SDL</title>
    <published>2008-06-11T20:02:18Z</published>
    <updated>2008-06-11T20:02:18Z</updated>
    <content type="html">Last days I've ported two SDL-based games to Playstation 2:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.newbreedsoftware.com/circus-linux/"&gt;http://www.newbreedsoftware.com/circus-linux/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.newbreedsoftware.com/vectoroids/"&gt;http://www.newbreedsoftware.com/vectoroids/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now is time to focus on Tuxpaint.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bdilly:1601</id>
    <link rel="alternate" type="text/html" href="http://bdilly.livejournal.com/1601.html"/>
    <link rel="self" type="text/xml" href="http://bdilly.livejournal.com/data/atom/?itemid=1601"/>
    <title>Application accepted</title>
    <published>2008-04-22T18:55:14Z</published>
    <updated>2008-04-22T18:55:14Z</updated>
    <content type="html">I received a great new: my application was accepted!&lt;br /&gt;&lt;br /&gt;My mentor will be Luc Schrijvers,&lt;br /&gt;&lt;br /&gt;Great!!</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bdilly:1460</id>
    <link rel="alternate" type="text/html" href="http://bdilly.livejournal.com/1460.html"/>
    <link rel="self" type="text/xml" href="http://bdilly.livejournal.com/data/atom/?itemid=1460"/>
    <title>More thoughts about the best way to add support for system file dialogs</title>
    <published>2008-04-09T06:46:30Z</published>
    <updated>2008-04-09T06:49:23Z</updated>
    <category term="sdl"/>
    <category term="tuxpaint"/>
    <category term="gtk"/>
    <content type="html">I think the main arguments against creating a custom dialog box are:&lt;br /&gt; - A lot of work must be done, compared with using a toolkit. The SDL&lt;br /&gt; libraries that are being used don't offer widgets or something like&lt;br /&gt; that.&lt;br /&gt; - Since much code will be written, it will increase the code&lt;br /&gt; complexity, making it harder to maintain; much time will be spend to&lt;br /&gt; debug and document; probably more bugs will be added to the software&lt;br /&gt; than using a toolkit.&lt;br /&gt; - The time and efforts I will spend with this, I could be using to fix bugs and adding requested features&lt;br /&gt; &lt;br /&gt; But I don't believe it's like reinventing the wheel, since I didn't&lt;br /&gt; find any project that really matches the projects needs.&lt;br /&gt; &lt;br /&gt; I found some SDL C++ toolkits. But I believe there are two problems with these toolkits:&lt;br /&gt; &lt;br /&gt; 1) I will have to make some wrappers with bindings, since the toolkits I found are written in C++.&lt;br /&gt; &lt;br /&gt; 2) I'm not confident in anyone. I don't like the idea of adding a dependency of a library maintained by small, non-stable communities.&lt;br /&gt; &lt;br /&gt; These are my impressions, but I'm new in the SDL world. So it's very important to hear what the developers have to say about it.&lt;br /&gt; &lt;br /&gt; Between making it and doing a custom dialog box, I prefer the second option.&lt;br /&gt; &lt;br /&gt; About gtk+, I really like it. I have been working with this in&lt;br /&gt; Inkscape (as part of my last year GSoC work) and in a personal free software project written in python (svn://svn.sarava.org/imcpub). But I'm afraid about three main points:&lt;br /&gt; &amp;nbsp;- It will increase dependencies to Tux Paint. I don't know yet if&lt;br /&gt; it's considered a great problem for Tux Paint community, but some projects are very&lt;br /&gt; concerned about adding dependencies. Personally, I don't care about,&lt;br /&gt; since it's well maintained.&lt;br /&gt; &amp;nbsp;- The dialogs will be a bit different of the rest of the graphical interface.&lt;br /&gt; &amp;nbsp;- GTK+ is not supported for all the platforms that Tux Paint is. I&lt;br /&gt; don't think we have a huge problem here, since this feature is being&lt;br /&gt; requested by schools, where probably the OS used are one of the&lt;br /&gt; supported by GTK+ (UNIX-like, Windows, mac os x).&lt;br /&gt; &lt;br /&gt; Considering I'm very familiar with GTK+, if these points are not&lt;br /&gt; enough to discard the possibility of using it, it can be the best&lt;br /&gt; choice.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bdilly:1278</id>
    <link rel="alternate" type="text/html" href="http://bdilly.livejournal.com/1278.html"/>
    <link rel="self" type="text/xml" href="http://bdilly.livejournal.com/data/atom/?itemid=1278"/>
    <title>Ideas about the proposal</title>
    <published>2008-04-06T09:12:37Z</published>
    <updated>2008-04-06T09:12:37Z</updated>
    <content type="html">My intention is to write a proposal about 3 ideas that I read in the&lt;br /&gt;page and in the mailing list archives.&lt;br /&gt;&lt;br /&gt;The first idea is to combine and modularize the functions&lt;br /&gt;do_new_dialog(), do_open(), and do_slideshow(). These functions have a&lt;br /&gt;lot of common code, and integrating them is important to keep the code&lt;br /&gt;easy to maintain and debug. I think I understood clearly what should&lt;br /&gt;be done, so I've already started to code. This way I had a better idea&lt;br /&gt;about the work I have to do, so now I can write a more precise&lt;br /&gt;timeline. &lt;br /&gt;&lt;br /&gt;The second idea is to add support for system file dialogs. I've&lt;br /&gt;thinking how it could be done, and here are the results of my&lt;br /&gt;research:&lt;br /&gt;&lt;br /&gt;1) We could use some kind of toolkit, like gtk+ (www.gtk.org):&lt;br /&gt;&amp;nbsp;Advantages:&lt;br /&gt;&amp;nbsp; - Few lines of code will must to be written and maintained&lt;br /&gt;&amp;nbsp; - It has a vast community that maintain the library for a decade,&lt;br /&gt;so it is stable, and is portable for many platforms(UNIX-like,&lt;br /&gt;windows, mac os x)&lt;br /&gt;&amp;nbsp; - GTK+ has been involved in a number of embedded initiatives over&lt;br /&gt;the past few years including the development of:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Nokia 770 / N800 / N810&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * One Laptop Per Child Project&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * OpenMoko&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Disadvantages:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Increases dependencies of tuxpaint&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - The GUI is too diferent of tuxpaint's interface. So it will&lt;br /&gt;has an inconsistent look and feel&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Some of the platforms supported by tuxpaint will not support&lt;br /&gt;the new feature, since gtk is not supported for all of them.&lt;br /&gt;&lt;br /&gt;I took a screenshot of how tuxpaint should look if we use gtk, just to&lt;br /&gt;illustrate what I'm talking about. It's here:&lt;br /&gt;&lt;a href="http://www.littlechina.org/~dilly/tuxpaint_gtk.png"&gt;http://www.littlechina.org/~dilly/tuxpaint_gtk.png&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2) I have searched for toolkits written in SDL, but I just found some&lt;br /&gt;written in C++, and 2 problems will persist:&lt;br /&gt;&amp;nbsp;- The inconsistent look&lt;br /&gt;&amp;nbsp;- One more dependence&lt;br /&gt;&lt;br /&gt;3) We could do it ourself. I'm really interested in drawing the dialog&lt;br /&gt;myself. It will avoid extra dependencies and I can learn more about&lt;br /&gt;SDL.&lt;br /&gt;&lt;br /&gt;The code to work with the various platforms system file will be&lt;br /&gt;written specifically to each one anyway.&lt;br /&gt;My conclusion is that I shouldn't use extra libraries and do it&lt;br /&gt;myself. What do you think about it?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The third idea is to use the time Google gives to read the project&lt;br /&gt;documentation to rewrite and "put into a more sensible format".</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bdilly:967</id>
    <link rel="alternate" type="text/html" href="http://bdilly.livejournal.com/967.html"/>
    <link rel="self" type="text/xml" href="http://bdilly.livejournal.com/data/atom/?itemid=967"/>
    <title>First patch</title>
    <published>2008-04-06T04:41:40Z</published>
    <updated>2008-04-06T04:42:38Z</updated>
    <category term="patch"/>
    <category term="tuxpaint"/>
    <content type="html">Yesterday, I made my first patch for tuxpaint.&lt;br /&gt;&lt;br /&gt;It can be found here: &lt;a href="http://www.littlechina.org/~dilly/tuxpaint_modular1.diff"&gt;http://www.littlechina.org/~dilly/tuxpaint_modular1.diff&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bdilly:562</id>
    <link rel="alternate" type="text/html" href="http://bdilly.livejournal.com/562.html"/>
    <link rel="self" type="text/xml" href="http://bdilly.livejournal.com/data/atom/?itemid=562"/>
    <title>Welcome!</title>
    <published>2008-04-06T04:35:43Z</published>
    <updated>2008-04-06T04:35:43Z</updated>
    <category term="tuxpaint"/>
    <content type="html">This blog was created just to track the work I will do about my GSoC proposal:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Support for system file dialogs in Tuxpaint&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;So, if you are interested about it, you should come back in few days, and you will find some news.</content>
  </entry>
</feed>
