<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm">
    <title>gmane.comp.lib.agar.scm</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1821"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1820"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1819"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1818"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1817"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1816"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1815"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1814"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1813"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1812"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1811"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1810"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1809"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1808"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1807"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1806"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1805"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1804"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1803"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1802"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1821">
    <title>Agar: r9598 - trunk/tests</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1821</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-05-18 01:12:48 -0500 (Sat, 18 May 2013)
New Revision: 9598

Modified:
   trunk/tests/configure
   trunk/tests/configure.in
Log:
honor --with-agar prefix


Modified: trunk/tests/configure
===================================================================
--- trunk/tests/configure2013-05-18 05:57:19 UTC (rev 9597)
+++ trunk/tests/configure2013-05-18 06:12:48 UTC (rev 9598)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -384,6 +384,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 echo "    --with-manpages           Generate Unix manual pages [yes]"
 echo ""
 echo "Agar test suite options:"
+echo "    --with-agar[=PREFIX]        Location of Agar library [check]"
 echo "    --enable-warnings           Suggested compiler warnings [no]"
 exit 1
 fi;
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1039,9 +1040,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 $ECHO_N "checking for Agar (http://libagar.org/)..." &amp;gt;&amp;gt; config.log
 MK_EXEC_FOUND="No"
 
-if [ "" != "" ]; then
-if [ -e "/bin/agar-config" ]; then
-AGAR_VERSION=`/bin/agar-config --version`
+if [ "${prefix_agar}" != "" ]; then
+if [ -e "${prefix_agar}/bin/agar-config" ]; then
+AGAR_VERSION=`${prefi&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-05-18T06:12:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1820">
    <title>Agar: r9597 - trunk</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1820</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-05-18 00:57:19 -0500 (Sat, 18 May 2013)
New Revision: 9597

Modified:
   trunk/configure
   trunk/configure.in
Log:
check for libpng &amp;gt;= 1.5.0


Modified: trunk/configure
===================================================================
--- trunk/configure2013-05-18 05:56:38 UTC (rev 9596)
+++ trunk/configure2013-05-18 05:57:19 UTC (rev 9597)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -4278,7 +4278,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #endif
 t0 = timeGetTime();
 Sleep(1);
-return (to != 0) ? 0 : 1;
+return (t0 != 0) ? 0 : 1;
 }
 
 EOT
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -6993,9 +6993,32 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 echo "yes ($PNG_VERSION)"
 echo "yes ($PNG_VERSION)" &amp;gt;&amp;gt; config.log
 fi;
-if [ "0" != "" ]; then
+if [ "1.5.0" != "" ]; then
+MK_VERSION_MAJOR=`echo "$PNG_VERSION" |sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\1/'`;
+MK_VERSION_MINOR=`echo "$PNG_VERSION" |sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\2/'`;
+MK_VERSION_MICRO=`echo "$PNG_VERSION" |sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\3/'`;
+MK_VERSION_OK="no"
+if [ $MK_VERSION_MAJOR -gt 1 ]; then
+MK_VERSION_OK="yes";
+elif [ $MK_VERSION_MAJO&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-05-18T05:57:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1819">
    <title>Agar: r9596 - trunk/core</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1819</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-05-18 00:56:38 -0500 (Sat, 18 May 2013)
New Revision: 9596

Modified:
   trunk/core/net.h
Log:
+ agNetOps_dummy


Modified: trunk/core/net.h
===================================================================
--- trunk/core/net.h2013-05-16 11:30:24 UTC (rev 9595)
+++ trunk/core/net.h2013-05-18 05:56:38 UTC (rev 9596)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -147,6 +147,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 extern const AG_NetOps  agNetOps_bsd;
 extern const AG_NetOps  agNetOps_winsock1;
 extern const AG_NetOps  agNetOps_winsock2;
+extern const AG_NetOps  agNetOps_dummy;
 
 extern const char *agNetAddrFamilyNames[];
 extern const char *agNetSocketTypeNames[];
&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-05-18T05:56:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1818">
    <title>Agar: r9595 - trunk/core</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1818</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-05-16 06:30:24 -0500 (Thu, 16 May 2013)
New Revision: 9595

Modified:
   trunk/core/object.c
Log:
fix buffer size check in AG_ObjectCopyName()



Modified: trunk/core/object.c
===================================================================
--- trunk/core/object.c2013-05-16 06:09:39 UTC (rev 9594)
+++ trunk/core/object.c2013-05-16 11:30:24 UTC (rev 9595)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -209,20 +209,20 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 
 AG_ObjectLock(ob);
 
-cur_len = strlen(path)+1;
-name_len = strlen(ob-&amp;gt;name)+1;
+cur_len = strlen(path);
+name_len = strlen(ob-&amp;gt;name);
 
-if (sizeof("/")+name_len+sizeof("/")+cur_len &amp;gt;= path_len) {
-AG_SetError(_("The path exceeds &amp;gt;= %lu bytes."),
-    (unsigned long)path_len);
+if (name_len+cur_len+1 &amp;gt; path_len) {
+AG_SetError("Path buffer is %lu bytes (required = %lu)",
+    path_len, name_len+cur_len+1);
 AG_ObjectUnlock(ob);
 return (-1);
 }
 
 /* Prepend / and the object name. */
-memmove(&amp;amp;path[name_len], path, cur_len);    /* Move the NUL as well */
+memmove(&amp;amp;path[name_len+&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-05-16T11:30:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1817">
    <title>Agar: r9594 - trunk/tests</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1817</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-05-16 01:09:39 -0500 (Thu, 16 May 2013)
New Revision: 9594

Modified:
   trunk/tests/configure
   trunk/tests/configure.in
Log:
- agar-rg



Modified: trunk/tests/configure
===================================================================
--- trunk/tests/configure2013-05-04 01:40:16 UTC (rev 9593)
+++ trunk/tests/configure2013-05-16 06:09:39 UTC (rev 9594)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -2060,262 +2060,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 echo "#undef AGAR_VG_LIBS" &amp;gt;$BLD/config/agar_vg_libs.h
 echo "hdefs[\"AGAR_VG_LIBS\"] = nil" &amp;gt;&amp;gt;configure.lua
 fi;
-$ECHO_N "checking for agar-rg (http://hypertriton.com/agar-rg/)..."
-$ECHO_N "checking for agar-rg (http://hypertriton.com/agar-rg/)..." &amp;gt;&amp;gt; config.log
-MK_EXEC_FOUND="No"
-
-if [ "" != "" ]; then
-if [ -e "/bin/agar-rg-config" ]; then
-AGAR_RG_VERSION=`/bin/agar-rg-config --version`
-MK_EXEC_FOUND="Yes"
-fi
-else
-MK_CACHED="No"
-if [ "${cache}" != "" ]; then
-if [ -e "${cache}/exec-AGAR_RG_VERSION" ]; then
-AGAR_RG_VERSION=`cat ${cache}/exec-AGAR_RG_VERSION`
-MK_EXEC_FOUND=&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-05-16T06:09:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1816">
    <title>Agar: r9593 - trunk/gui</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1816</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-05-03 20:40:16 -0500 (Fri, 03 May 2013)
New Revision: 9593

Modified:
   trunk/gui/window.h
Log:
don't check invisible windows in WindowDrawQueued()



Modified: trunk/gui/window.h
===================================================================
--- trunk/gui/window.h2013-04-22 01:12:00 UTC (rev 9592)
+++ trunk/gui/window.h2013-05-04 01:40:16 UTC (rev 9593)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -296,7 +296,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 break;
 case AG_WM_SINGLE:
 AG_FOREACH_WINDOW(win, drv) {
-if (win-&amp;gt;dirty)
+if (win-&amp;gt;visible &amp;amp;&amp;amp; win-&amp;gt;dirty)
 break;
 }
 if (win != NULL) {
&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-05-04T01:40:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1815">
    <title>Agar: r9592 - trunk/gui</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1815</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-04-21 20:12:00 -0500 (Sun, 21 Apr 2013)
New Revision: 9592

Modified:
   trunk/gui/text.c
Log:
AG_Timeout -&amp;gt; AG_Timer



Modified: trunk/gui/text.c
===================================================================
--- trunk/gui/text.c2013-04-22 01:07:54 UTC (rev 9591)
+++ trunk/gui/text.c2013-04-22 01:12:00 UTC (rev 9592)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1435,7 +1435,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 {
 AG_Window *win;
 AG_VBox *vb;
-AG_Timeout *to;
+AG_Timer *to;
 
 win = AG_WindowNew(AG_WINDOW_NORESIZE|AG_WINDOW_NOCLOSE|
                    AG_WINDOW_NOMINIMIZE|AG_WINDOW_NOMAXIMIZE);
&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-04-22T01:12:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1814">
    <title>Agar: r9591 - trunk/gui</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1814</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-04-21 20:07:54 -0500 (Sun, 21 Apr 2013)
New Revision: 9591

Modified:
   trunk/gui/gui.h
Log:
don't mark the old AG_VIDEO_* flags deprecated, AG_InitVideoSDL() 
still uses them.



Modified: trunk/gui/gui.h
===================================================================
--- trunk/gui/gui.h2013-04-22 01:04:27 UTC (rev 9590)
+++ trunk/gui/gui.h2013-04-22 01:07:54 UTC (rev 9591)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -9,23 +9,21 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #define AG_ZOOM_RANGE14/* Number of default zoom settings */
 #define AG_ZOOM_DEFAULT5/* Initial zoom setting (1.0) */
 
-#ifdef AG_LEGACY
 /* For old AG_InitVideo() interface */
-# define AG_VIDEO_HWSURFACE     0x0001
-# define AG_VIDEO_ASYNCBLIT     0x0002
-# define AG_VIDEO_ANYFORMAT     0x0004
-# define AG_VIDEO_HWPALETTE     0x0008
-# define AG_VIDEO_DOUBLEBUF     0x0010
-# define AG_VIDEO_FULLSCREEN    0x0020
-# define AG_VIDEO_RESIZABLE     0x0040
-# define AG_VIDEO_NOFRAME       0x0080
-# define AG_VIDEO_BGPOPUPMENU   0x0100
-# define AG_VIDEO_OPENGL0x0200
-# define AG_VID&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-04-22T01:07:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1813">
    <title>Agar: r9590 - trunk/core</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1813</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-04-21 20:04:27 -0500 (Sun, 21 Apr 2013)
New Revision: 9590

Modified:
   trunk/core/event.c
Log:
don't use the deprecated AG_Timeout type



Modified: trunk/core/event.c
===================================================================
--- trunk/core/event.c2013-04-21 03:56:39 UTC (rev 9589)
+++ trunk/core/event.c2013-04-22 01:04:27 UTC (rev 9590)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1085,10 +1085,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
  * Add/remove a kqueue(2) based timer.
  */
 static int
-GenerateTimerID(AG_Timeout *to)
+GenerateTimerID(AG_Timer *to)
 {
 AG_Object *obOther;
-AG_Timeout *toOther;
+AG_Timer *toOther;
 int id;
 
 gen_id:
&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-04-22T01:04:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1812">
    <title>Agar: r9589 - trunk/gui</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1812</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-04-20 22:56:39 -0500 (Sat, 20 Apr 2013)
New Revision: 9589

Modified:
   trunk/gui/text.c
Log:
Use FcPatternDestroy() to avoid crashing on fontconfig assertions; thanks pi31415!

PR:202


Modified: trunk/gui/text.c
===================================================================
--- trunk/gui/text.c2013-04-21 03:51:54 UTC (rev 9588)
+++ trunk/gui/text.c2013-04-21 03:56:39 UTC (rev 9589)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -381,6 +381,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 spec-&amp;gt;matrix.yx = mat-&amp;gt;yx;
 }
 spec-&amp;gt;type = AG_FONT_VECTOR;
+FcPatternDestroy(fpat);
+FcPatternDestroy(pattern);
 } else
 #endif /* HAVE_FONTCONFIG */
 {
&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-04-21T03:56:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1811">
    <title>Agar: r9588 - trunk/core</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1811</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-04-20 22:51:54 -0500 (Sat, 20 Apr 2013)
New Revision: 9588

Modified:
   trunk/core/class.c
   trunk/core/tbl.c
Log:
- fix memmove() in TblDeleteHash().
- make sure a class exists before unregistering it.



Modified: trunk/core/class.c
===================================================================
--- trunk/core/class.c2013-04-21 01:26:19 UTC (rev 9587)
+++ trunk/core/class.c2013-04-21 03:51:54 UTC (rev 9588)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -247,18 +247,20 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 {
 AG_ObjectClass *cl = p;
 AG_ObjectClass *clSuper = cl-&amp;gt;super;
+Uint h = AG_TblHash(agClassTbl, cl-&amp;gt;hier);
 
 AG_MutexLock(&amp;amp;agClassLock);
+if (AG_TblExistsHash(agClassTbl, h, cl-&amp;gt;hier)) {
 #ifdef AG_OBJDEBUG
-Debug(NULL, "Unregistering class: %s\n", cl-&amp;gt;name);
+Debug(NULL, "Unregistering class: %s\n", cl-&amp;gt;name);
 #endif
-/* Remove from the class tree. */
-TAILQ_REMOVE(&amp;amp;clSuper-&amp;gt;sub, cl, subclasses);
-cl-&amp;gt;super = NULL;
+/* Remove from the class tree. */
+TAILQ_REMOVE(&amp;amp;clSuper-&amp;gt;sub, cl, subclasses);
+cl-&amp;gt;super = NULL;
 
-/* Remove&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-04-21T03:51:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1810">
    <title>Agar: r9587 - trunk/gui</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1810</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-04-20 20:26:19 -0500 (Sat, 20 Apr 2013)
New Revision: 9587

Modified:
   trunk/gui/gui.c
   trunk/gui/text.h
Log:
free all driver instances in AG_DestroyGUI()



Modified: trunk/gui/gui.c
===================================================================
--- trunk/gui/gui.c2013-04-14 04:15:58 UTC (rev 9586)
+++ trunk/gui/gui.c2013-04-21 01:26:19 UTC (rev 9587)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -302,7 +302,22 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 AG_DestroyGUI(void)
 {
 void **ops;
+AG_Driver *drv;
 
+AG_LockVFS(&amp;amp;agDrivers);
+OBJECT_FOREACH_CHILD(drv, &amp;amp;agDrivers, ag_driver) {
+AG_ObjectFreeChildren(drv);
+}
+rescan:
+OBJECT_FOREACH_CHILD(drv, &amp;amp;agDrivers, ag_driver) {
+AG_DriverClose(drv);
+if (drv == (AG_Driver *)agDriverSw) { agDriverSw = NULL; }
+if (drv == (AG_Driver *)agDriverMw) { agDriverMw = NULL; }
+goto rescan;
+}
+agDriverOps = NULL;
+AG_UnlockVFS(&amp;amp;agDrivers);
+
 /* Destroy the GUI subsystems. */
 AG_DestroyWindowSystem();
 AG_DestroyTextSubsystem();

Modified: trunk/gui/text.h
===================================&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-04-21T01:26:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1809">
    <title>Agar: r9586 - in trunk: gui tests</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1809</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-04-13 23:15:58 -0500 (Sat, 13 Apr 2013)
New Revision: 9586

Modified:
   trunk/gui/AG_Text.3
   trunk/gui/text.c
   trunk/gui/text.h
   trunk/tests/modalwindowhandler.c
   trunk/tests/textdlg.c
Log:
- fix the modalwindowhandler test case.
- remove the nonsense AG_TextPromptString() and AG_TextPromptOptions() interfaces.



Modified: trunk/gui/AG_Text.3
===================================================================
--- trunk/gui/AG_Text.32013-04-14 03:48:48 UTC (rev 9585)
+++ trunk/gui/AG_Text.32013-04-14 04:15:58 UTC (rev 9586)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -282,12 +282,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 .Ft "void"
 .Fn AG_TextEditString "char *buf" "size_t len" "const char *format" "..."
 .Pp
-.Ft "void"
-.Fn "AG_TextPromptString" "const char *prompt" "void (*ok_fn)(AG_Event *)" "const char *fmt" "..."
-.Pp
-.Ft "AG_Window *"
-.Fn AG_TextPromptOptions "AG_Button **buttons" "Uint nButtons" "const char *format" "..."
-.Pp
 .nr nS 0
 The
 .Fn AG_TextMsg
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -366,26 +360,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 is a pointer to the string buffer, and
 .Fa len
 is the siz&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-04-14T04:15:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1808">
    <title>Agar: r9585 - trunk/gui</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1808</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-04-13 22:48:48 -0500 (Sat, 13 Apr 2013)
New Revision: 9585

Modified:
   trunk/gui/drv.h
Log:
fix AG_GetDisplaySize() if NULL is passed in SW mode; thanks pi31415!



Modified: trunk/gui/drv.h
===================================================================
--- trunk/gui/drv.h2013-04-07 00:46:47 UTC (rev 9584)
+++ trunk/gui/drv.h2013-04-14 03:48:48 UTC (rev 9585)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -272,11 +272,12 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 AG_GetDisplaySize(void *drv, Uint *w, Uint *h)
 {
 AG_DriverClass *dc = (drv != NULL) ? AGDRIVER_CLASS(drv) : agDriverOps;
+AG_DriverSw *dsw = (drv != NULL) ? drv : agDriverSw;
 
 switch (dc-&amp;gt;wm) {
 case AG_WM_SINGLE:
-*w = AGDRIVER_SW(drv)-&amp;gt;w;
-*h = AGDRIVER_SW(drv)-&amp;gt;h;
+*w = dsw-&amp;gt;w;
+*h = dsw-&amp;gt;h;
 return (0);
 case AG_WM_MULTIPLE:
 return dc-&amp;gt;getDisplaySize(w, h);
&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-04-14T03:48:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1807">
    <title>Agar: r9584 - trunk/gui</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1807</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-04-06 19:46:47 -0500 (Sat, 06 Apr 2013)
New Revision: 9584

Modified:
   trunk/gui/surface.c
Log:
honor the source x offset in AG_SurfaceBlit(); thanks pi31415!



Modified: trunk/gui/surface.c
===================================================================
--- trunk/gui/surface.c2013-04-05 08:18:29 UTC (rev 9583)
+++ trunk/gui/surface.c2013-04-07 00:46:47 UTC (rev 9584)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -541,7 +541,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 
 /* XXX TODO optimized cases */
 for (y = 0; y &amp;lt; dr.h; y++) {
-pSrc = (Uint8 *)ss-&amp;gt;pixels + (sr.y+y)*ss-&amp;gt;pitch;
+pSrc = (Uint8 *)ss-&amp;gt;pixels + (sr.y+y)*ss-&amp;gt;pitch +
+    sr.x*ss-&amp;gt;format-&amp;gt;BytesPerPixel;
 pDst = (Uint8 *)ds-&amp;gt;pixels + (dr.y+y)*ds-&amp;gt;pitch +
     dr.x*ds-&amp;gt;format-&amp;gt;BytesPerPixel;
 for (x = 0; x &amp;lt; dr.w; x++) {
&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-04-07T00:46:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1806">
    <title>Agar: r9583 - trunk/tests</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1806</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-04-05 03:18:29 -0500 (Fri, 05 Apr 2013)
New Revision: 9583

Modified:
   trunk/tests/string.c
   trunk/tests/threads.c
   trunk/tests/timeouts.c
Log:
unused variables


Modified: trunk/tests/string.c
===================================================================
--- trunk/tests/string.c2013-04-05 08:18:19 UTC (rev 9582)
+++ trunk/tests/string.c2013-04-05 08:18:29 UTC (rev 9583)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -30,7 +30,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 AG_TestInstance *ti = obj;
 int i = -123;
 Uint u = 123;
-float flt = 1.234;
+float flt = 1.234f;
 double dbl = 2.345;
 long l = -123456;
 Ulong ul = 123456;

Modified: trunk/tests/threads.c
===================================================================
--- trunk/tests/threads.c2013-04-05 08:18:19 UTC (rev 9582)
+++ trunk/tests/threads.c2013-04-05 08:18:29 UTC (rev 9583)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -126,7 +126,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 MyTestInstance *ti = AG_PTR(1);
 AG_Window *win;
 AG_ProgressBar *pb;
-AG_Thread th;
 
 if (ti-&amp;gt;sleeping.win != NULL ||
     (win = AG_WindowNew(AG_WINDOW_NOCLOSE)) == NULL) {&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-04-05T08:18:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1805">
    <title>Agar: r9582 - trunk/tests</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1805</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-04-05 03:18:19 -0500 (Fri, 05 Apr 2013)
New Revision: 9582

Modified:
   trunk/tests/Makefile
Log:
set PROG_LINKS to static


Modified: trunk/tests/Makefile
===================================================================
--- trunk/tests/Makefile2013-04-01 02:00:09 UTC (rev 9581)
+++ trunk/tests/Makefile2013-04-05 08:18:19 UTC (rev 9582)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -11,8 +11,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 PROG_TYPE="GUI"
 PROG_GUID="11D6C9FF-522E-43ed-B3EB-92A2C636CCA7"
 
-PROG_LINKS=${AGMATH_LINKS_STATIC} ${DEV_LINKS_STATIC} ${GUI_LINKS_STATIC} \
-${CORE_LINKS_STATIC}
+PROG_LINKS=${AGMATH_LINKS} ${DEV_LINKS} ${GUI_LINKS} ${CORE_LINKS}
 CFLAGS+=${AGAR_MATH_CFLAGS} ${AGAR_DEV_CFLAGS} ${AGAR_CFLAGS}
 LIBS+=${AGAR_MATH_LIBS} ${AGAR_DEV_LIBS} ${AGAR_LIBS}
&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-04-05T08:18:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1804">
    <title>Agar: r9581 - trunk/gui</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1804</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-03-31 21:00:09 -0500 (Sun, 31 Mar 2013)
New Revision: 9581

Modified:
   trunk/gui/AG_Text.3
   trunk/gui/text.c
Log:
in AG_TextPromptString(), pass a copy of the buffer to the event
handler.



Modified: trunk/gui/AG_Text.3
===================================================================
--- trunk/gui/AG_Text.32013-03-28 06:00:23 UTC (rev 9580)
+++ trunk/gui/AG_Text.32013-04-01 02:00:09 UTC (rev 9581)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -375,7 +375,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 callback is invoked (see
 .Xr AG_Event 3
 for details on the argument format).
-The entered string is the last argument on the stack.
+A copy of the entered string is passed as the last argument on the stack..
+The event handler must
+.Xr free 3
+that string after use.
 .Pp
 .Fn AG_TextPromptOptions
 creates a dialog displaying a text string and an array of buttons.

Modified: trunk/gui/text.c
===================================================================
--- trunk/gui/text.c2013-03-28 06:00:23 UTC (rev 9580)
+++ trunk/gui/text.c2013-04-01 02:00:09 UTC&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-04-01T02:00:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1803">
    <title>Agar: r9580 - trunk/gui</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1803</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-03-28 01:00:23 -0500 (Thu, 28 Mar 2013)
New Revision: 9580

Modified:
   trunk/gui/surface.c
Log:
BytesPerPixel -&amp;gt; BitsPerPixel



Modified: trunk/gui/surface.c
===================================================================
--- trunk/gui/surface.c2013-03-28 02:08:27 UTC (rev 9579)
+++ trunk/gui/surface.c2013-03-28 06:00:23 UTC (rev 9580)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -246,7 +246,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 s-&amp;gt;h = h;
 
 pitch = w*pf-&amp;gt;BytesPerPixel;/* 4-byte aligned */
-switch (pf-&amp;gt;BytesPerPixel) {
+switch (pf-&amp;gt;BitsPerPixel) {
 case 1:
 pitch = (pitch + 7)/8;
 break;
&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-03-28T06:00:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1802">
    <title>Agar: r9579 - trunk/gui</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1802</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-03-27 21:08:27 -0500 (Wed, 27 Mar 2013)
New Revision: 9579

Modified:
   trunk/gui/surface.c
Log:
force alignment of surface pitch on a 4-byte boundary



Modified: trunk/gui/surface.c
===================================================================
--- trunk/gui/surface.c2013-03-24 01:46:30 UTC (rev 9578)
+++ trunk/gui/surface.c2013-03-28 02:08:27 UTC (rev 9579)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -231,6 +231,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
     const AG_PixelFormat *pf, Uint flags)
 {
 AG_Surface *s;
+Uint pitch;
 
 if ((s = TryMalloc(sizeof(AG_Surface))) == NULL) {
 return (NULL);
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -243,7 +244,17 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 s-&amp;gt;flags = flags;
 s-&amp;gt;w = w;
 s-&amp;gt;h = h;
-s-&amp;gt;pitch = w*pf-&amp;gt;BytesPerPixel;
+
+pitch = w*pf-&amp;gt;BytesPerPixel;/* 4-byte aligned */
+switch (pf-&amp;gt;BytesPerPixel) {
+case 1:
+pitch = (pitch + 7)/8;
+break;
+case 4:
+pitch = (pitch + 1)/2;
+break;
+}
+s-&amp;gt;pitch = (pitch + 3) &amp;amp; ~3;
 s-&amp;gt;clipRect = AG_RECT(0,0,w,h);
 
 if (h*s-&amp;gt;pitch &amp;gt; 0) {
&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-03-28T02:08:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lib.agar.scm/1801">
    <title>Agar: r9578 - trunk/core</title>
    <link>http://permalink.gmane.org/gmane.comp.lib.agar.scm/1801</link>
    <description>&lt;pre&gt;Author: vedge
Date: 2013-03-23 20:46:30 -0500 (Sat, 23 Mar 2013)
New Revision: 9578

Modified:
   trunk/core/AG_User.3
   trunk/core/user.h
Log:
fix AG_GetRealUser() / AG_GetEffectiveUser() format



Modified: trunk/core/AG_User.3
===================================================================
--- trunk/core/AG_User.32013-03-24 01:41:04 UTC (rev 9577)
+++ trunk/core/AG_User.32013-03-24 01:46:30 UTC (rev 9578)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -45,10 +45,11 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 .Pp
 .Bl -tag -compact -width "agUserOps_gettimeofday "
 .It agUserOps_dummy
-No-ops, returns no useful information.
+No-op, returns no useful information.
 .It agUserOps_posix
-On Unix platforms, user
-.Xr getpwent 3 .
+On Unix platforms, use the system
+.Xr getpwent 3
+interface.
 .El
 .Sh INTERFACE
 .nr nS 1
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -56,16 +57,16 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 .Fn AG_UserNew "void"
 .Pp
 .Ft "AG_User *"
-.Fn AG_GetUserByName "AG_User *u" "const char *name"
+.Fn AG_GetUserByName "const char *name"
 .Pp
 .Ft "AG_User *"
-.Fn AG_GetUserByUID "AG_User *u" "Uint32 uid"
+.Fn AG_GetUserByUID "Uint32 uid"
 .Pp
-.&lt;/pre&gt;</description>
    <dc:creator>Agar-SVN</dc:creator>
    <dc:date>2013-03-24T01:46:30</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lib.agar.scm">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lib.agar.scm</link>
  </textinput>
</rdf:RDF>
