<?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://blog.gmane.org/gmane.games.roguelike.angband.vanilla.cvs">
    <title>gmane.games.roguelike.angband.vanilla.cvs</title>
    <link>http://blog.gmane.org/gmane.games.roguelike.angband.vanilla.cvs</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://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/888"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/887"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/886"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/885"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/884"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/883"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/882"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/881"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/880"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/879"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/878"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/877"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/876"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/875"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/874"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/873"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/872"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/871"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/870"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/869"/>
      </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://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/888">
    <title>r2050 - in /trunk/src: Makefile.inc Makefile.srcui-event.c ui-event.h</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/888</link>
    <description>&lt;pre&gt;Author: takkaria
Date: Sat Sep 25 21:57:08 2010
New Revision: 2050

URL: http://trac.rephial.org/changeset/2050
Log:
Remove ui-event.c

Removed:
    trunk/src/ui-event.c
Modified:
    trunk/src/Makefile.inc
    trunk/src/Makefile.src
    trunk/src/ui-event.h

Modified: trunk/src/Makefile.inc
URL: http://trac.rephial.org/file/trunk/src/Makefile.inc?rev=2050
==============================================================================
--- trunk/src/Makefile.inc (original)
+++ trunk/src/Makefile.inc Sat Sep 25 21:57:08 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -17,482 +17,475 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 done;
 
 # Dependencies
-./attack.o: attack.c angband.h h-basic.h z-bitflag.h z-virt.h z-file.h \
-  z-form.h z-util.h z-rand.h defines.h list-blow-methods.h \
+./attack.o: attack.c angband.h h-basic.h z-bitflag.h z-form.h z-virt.h \
+  z-file.h z-util.h z-rand.h defines.h list-blow-methods.h \
   list-blow-effects.h list-object-flags.h list-player-flags.h \
   list-mon-flags.h list-mon-spells.h z-term.h ui-event.h z-quark.h \
   z-msg.h config.h option.h types.h obj&lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-09-25T21:57:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/887">
    <title>r2052 - /trunk/src/cmd4.c</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/887</link>
    <description>&lt;pre&gt;Author: takkaria
Date: Sat Sep 25 21:57:13 2010
New Revision: 2052

URL: http://trac.rephial.org/changeset/2052
Log:
refactor some options menus code

Modified:
    trunk/src/cmd4.c

Modified: trunk/src/cmd4.c
URL: http://trac.rephial.org/file/trunk/src/cmd4.c?rev=2052
==============================================================================
--- trunk/src/cmd4.c (original)
+++ trunk/src/cmd4.c Sat Sep 25 21:57:13 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -590,18 +590,16 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 
 menu_layout(menu, &amp;amp;SCREEN_REGION);
 
-while (TRUE)
-{
-ui_event_data cx;
-
+ui_event_data cx = EVENT_EMPTY;
+while (cx.type != EVT_ESCAPE)
+{
 cx = menu_select(menu, 0);
 
-if (cx.type == EVT_ESCAPE)
-break;
-else if (cx.type == EVT_SELECT &amp;amp;&amp;amp; strchr("YN", toupper((unsigned char) cx.key)))
+if (cx.type == EVT_SELECT &amp;amp;&amp;amp; strchr("YN", toupper((unsigned char) cx.key)))
+{
 menu-&amp;gt;cursor++;
-
-menu-&amp;gt;cursor = (menu-&amp;gt;cursor + n) % n;
+menu-&amp;gt;cursor = (menu-&amp;gt;cursor + n) % n;
+}
 }
 
 /* Hack -- Notice use of any "cheat" options */

&lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-09-25T21:57:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/886">
    <title>r2051 - in /trunk/src: cmd-know.c cmd0.c cmd4.c death.c squelch.c store.c ui-birth.c ui-menu.c ui-menu.h</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/886</link>
    <description>&lt;pre&gt;Author: takkaria
Date: Sat Sep 25 21:57:11 2010
New Revision: 2051

URL: http://trac.rephial.org/changeset/2051
Log:
 - refactor menu_handle_event to pass out an event to its caller instead of using Term_event_push(), and clean it up a lot
 - make menu_select() a lot simpler and stop it taking a cursor paramater (just use menu-&amp;gt;cursor now)
 - move menus across to checking for evt.type == EVT_ESCAPE instead of evt.key == ESCAPE

known issues
 - options menus don't work
 - knowledge menus will crash

Modified:
    trunk/src/cmd-know.c
    trunk/src/cmd0.c
    trunk/src/cmd4.c
    trunk/src/death.c
    trunk/src/squelch.c
    trunk/src/store.c
    trunk/src/ui-birth.c
    trunk/src/ui-menu.c
    trunk/src/ui-menu.h

Modified: trunk/src/cmd-know.c
URL: http://trac.rephial.org/file/trunk/src/cmd-know.c?rev=2051
==============================================================================
--- trunk/src/cmd-know.c (original)
+++ trunk/src/cmd-know.c Sat Sep 25 21:57:11 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -564,10 +564,11 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 bool handled = &lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-09-25T21:57:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/885">
    <title>r2053 - /trunk/src/cmd-know.c</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/885</link>
    <description>&lt;pre&gt;Author: takkaria
Date: Sat Sep 25 21:57:14 2010
New Revision: 2053

URL: http://trac.rephial.org/changeset/2053
Log:
simplify &amp;amp; fix the central knowledge screen code

Modified:
    trunk/src/cmd-know.c

Modified: trunk/src/cmd-know.c
URL: http://trac.rephial.org/file/trunk/src/cmd-know.c?rev=2053
==============================================================================
--- trunk/src/cmd-know.c (original)
+++ trunk/src/cmd-know.c Sat Sep 25 21:57:14 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -453,8 +453,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 /* with "pop-up menu" for lore */
 while ((!flag) &amp;amp;&amp;amp; (grp_cnt))
 {
-ui_event_data ke;
-
 if (redraw)
 {
 /* Print the title bits */
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -561,19 +559,17 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 delay = 0;
 }
 
-bool handled = TRUE;
-while (handled)
-{
-ui_event_data ke0 = EVENT_EMPTY;
-ke = inkey_ex();
-
-if (!visual_list &amp;amp;&amp;amp; (ke.type &amp;amp; (EVT_KBRD | EVT_MOUSE | EVT_REFRESH)))
-handled = menu_handle_event(active_menu, &amp;amp;ke, &amp;amp;ke0);
-else
-handled = FALSE;
-}
-
-/* Do visual mode command if needed */
+
+ui_event_data ke;
+ui_ev&lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-09-25T21:57:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/884">
    <title>r2044 - in /trunk/src: ui-event.c ui-event.hui-menu.c</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/884</link>
    <description>&lt;pre&gt;Author: takkaria
Date: Sat Sep 25 21:57:02 2010
New Revision: 2044

URL: http://trac.rephial.org/changeset/2044
Log:
Remove EVT_STOP (unused)

Modified:
    trunk/src/ui-event.c
    trunk/src/ui-event.h
    trunk/src/ui-menu.c

Modified: trunk/src/ui-event.c
URL: http://trac.rephial.org/file/trunk/src/ui-event.c?rev=2044
==============================================================================
--- trunk/src/ui-event.c (original)
+++ trunk/src/ui-event.c Sat Sep 25 21:57:02 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -51,7 +51,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
  * start: optional initial event that allows you to prime the loop without pushing the event queue
  *
  *  Returns:
- *    EVT_STOP - the loop was halted.
  *    EVT_AGAIN - start was not handled
  *    The first unhandled event.
  */
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -67,9 +66,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 if (start) ke = *start;
 else ke = inkey_ex();
 
-if (ke.type == EVT_STOP)
-break;
-
 if (ke.type &amp;amp; event_flags)
 handled = handler(data, &amp;amp;ke);
 

Modified: trunk/src/ui-event.h
URL: http://trac.rephial.org/file/trunk/src/ui-event.h?rev=2044
=====&lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-09-25T21:57:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/883">
    <title>r2047 - in /trunk/src: ui-event.c ui-event.hui-menu.c</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/883</link>
    <description>&lt;pre&gt;Author: takkaria
Date: Sat Sep 25 21:57:05 2010
New Revision: 2047

URL: http://trac.rephial.org/changeset/2047
Log:
Simplify run_event_listener again

Modified:
    trunk/src/ui-event.c
    trunk/src/ui-event.h
    trunk/src/ui-menu.c

Modified: trunk/src/ui-event.c
URL: http://trac.rephial.org/file/trunk/src/ui-event.c?rev=2047
==============================================================================
--- trunk/src/ui-event.c (original)
+++ trunk/src/ui-event.c Sat Sep 25 21:57:05 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -48,31 +48,17 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
  * handler: function to call for each event
  * data: data to give to that function
  * event_flags: events that the function is interested in
- * start: optional initial event that allows you to prime the loop without pushing the event queue
  *
- *  Returns the first unhandled event.
+ * Returns the first unhandled event.
  */
-ui_event_data run_event_loop(bool (*handler)(void *object, const ui_event_data *in), void *data, int event_flags, const ui_event_data *start)
+ui_event_data run_event_loop(b&lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-09-25T21:57:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/882">
    <title>r2049 - /trunk/src/ui-menu.c</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/882</link>
    <description>&lt;pre&gt;Author: takkaria
Date: Sat Sep 25 21:57:07 2010
New Revision: 2049

URL: http://trac.rephial.org/changeset/2049
Log:
stop using run_event_loop

Modified:
    trunk/src/ui-menu.c

Modified: trunk/src/ui-menu.c
URL: http://trac.rephial.org/file/trunk/src/ui-menu.c?rev=2049
==============================================================================
--- trunk/src/ui-menu.c (original)
+++ trunk/src/ui-menu.c Sat Sep 25 21:57:07 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -733,7 +733,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 /* Stop on first unhandled event */
 while (!(ke.type &amp;amp; no_handle))
 {
-ke = run_event_loop(menu_handle_event, menu, (EVT_KBRD | EVT_MOUSE | EVT_REFRESH));
+ke = inkey_ex();
+
+if (menu_handle_event(menu, &amp;amp;ke))
+continue;
 
 switch (ke.type)
 {

&lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-09-25T21:57:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/881">
    <title>r2048 - /trunk/src/cmd-know.c</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/881</link>
    <description>&lt;pre&gt;Author: takkaria
Date: Sat Sep 25 21:57:06 2010
New Revision: 2048

URL: http://trac.rephial.org/changeset/2048
Log:
re-enable the mouse for selecting visuals

Modified:
    trunk/src/cmd-know.c

Modified: trunk/src/cmd-know.c
URL: http://trac.rephial.org/file/trunk/src/cmd-know.c?rev=2048
==============================================================================
--- trunk/src/cmd-know.c (original)
+++ trunk/src/cmd-know.c Sat Sep 25 21:57:06 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -572,20 +572,20 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 handled = FALSE;
 }
 
+/* Do visual mode command if needed */
+if (o_funcs.xattr &amp;amp;&amp;amp; o_funcs.xchar)
+{
+if (visual_mode_command(ke, &amp;amp;visual_list, browser_rows - 1,
+wid - (g_name_len + 3), &amp;amp;attr_top, &amp;amp;char_left,
+o_funcs.xattr(oid), (byte *)o_funcs.xchar(oid),
+g_name_len + 3, 7, &amp;amp;delay))
+continue;
+}
+
 switch (ke.type)
 {
 case EVT_KBRD:
 {
-/* Do visual mode command if needed */
-if (o_funcs.xattr &amp;amp;&amp;amp; o_funcs.xchar)
-{
-if (visual_mode_command(ke, &amp;amp;visual_list, browser_rows &lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-09-25T21:57:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/880">
    <title>r2046 - /trunk/src/cmd-know.c</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/880</link>
    <description>&lt;pre&gt;Author: takkaria
Date: Sat Sep 25 21:57:04 2010
New Revision: 2046

URL: http://trac.rephial.org/changeset/2046
Log:
Stop using run_event_loop() in the knowledge menus

Modified:
    trunk/src/cmd-know.c

Modified: trunk/src/cmd-know.c
URL: http://trac.rephial.org/file/trunk/src/cmd-know.c?rev=2046
==============================================================================
--- trunk/src/cmd-know.c (original)
+++ trunk/src/cmd-know.c Sat Sep 25 21:57:04 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -561,34 +561,45 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 delay = 0;
 }
 
-ke = inkey_ex();
-
-/* Do visual mode command if needed */
-if (o_funcs.xattr &amp;amp;&amp;amp; o_funcs.xchar &amp;amp;&amp;amp;
-visual_mode_command(ke, &amp;amp;visual_list, browser_rows-1, wid - (g_name_len + 3),
-&amp;amp;attr_top, &amp;amp;char_left, o_funcs.xattr(oid), (byte *)o_funcs.xchar(oid),
-g_name_len + 3, 7, &amp;amp;delay))
-{
-continue;
-}
-
-if (ke.type == EVT_MOUSE)
-{
-/* Change active panels */
-if (region_inside(&amp;amp;inactive_menu-&amp;gt;boundary, &amp;amp;ke))
-{
-swap(active_menu, inactive_menu);
-swap(active_cursor, in&lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-09-25T21:57:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/879">
    <title>r2045 - in /trunk/src: cmd-know.c ui-event.cui-event.h</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/879</link>
    <description>&lt;pre&gt;Author: takkaria
Date: Sat Sep 25 21:57:03 2010
New Revision: 2045

URL: http://trac.rephial.org/changeset/2045
Log:
Remove EVT_AGAIN and simplify run_event_listener again

Modified:
    trunk/src/cmd-know.c
    trunk/src/ui-event.c
    trunk/src/ui-event.h

Modified: trunk/src/cmd-know.c
URL: http://trac.rephial.org/file/trunk/src/cmd-know.c?rev=2045
==============================================================================
--- trunk/src/cmd-know.c (original)
+++ trunk/src/cmd-know.c Sat Sep 25 21:57:03 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -453,7 +453,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 /* with "pop-up menu" for lore */
 while ((!flag) &amp;amp;&amp;amp; (grp_cnt))
 {
-ui_event_data ke, ke0;
+ui_event_data ke;
 
 if (redraw)
 {
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -565,12 +565,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 
 /* Do visual mode command if needed */
 if (o_funcs.xattr &amp;amp;&amp;amp; o_funcs.xchar &amp;amp;&amp;amp;
-visual_mode_command(ke, &amp;amp;visual_list,
-browser_rows-1, wid - (g_name_len + 3),
-&amp;amp;attr_top, &amp;amp;char_left,
-o_funcs.xattr(oid), (byte*)
-o_funcs.xchar(oid),
-g_name_len + 3, 7, &amp;amp;delay))
+visual_mode_command(&lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-09-25T21:57:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/878">
    <title>r2042 - in /trunk/src: cmd-know.c ui-event.cui-event.h ui-menu.c ui-menu.h</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/878</link>
    <description>&lt;pre&gt;Author: takkaria
Date: Sat Sep 25 21:56:57 2010
New Revision: 2042

URL: http://trac.rephial.org/changeset/2042
Log:
Simplify run_event_listener() and remove some unnecessary types

Modified:
    trunk/src/cmd-know.c
    trunk/src/ui-event.c
    trunk/src/ui-event.h
    trunk/src/ui-menu.c
    trunk/src/ui-menu.h

Modified: trunk/src/cmd-know.c
URL: http://trac.rephial.org/file/trunk/src/cmd-know.c?rev=2042
==============================================================================
--- trunk/src/cmd-know.c (original)
+++ trunk/src/cmd-know.c Sat Sep 25 21:56:57 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -586,7 +586,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 }
 }
 
-ke0 = run_event_loop(&amp;amp;active_menu-&amp;gt;target, &amp;amp;ke);
+ke0 = run_event_loop(menu_handle_event, active_menu, (EVT_KBRD | EVT_MOUSE | EVT_REFRESH), &amp;amp;ke);
 if (ke0.type != EVT_AGAIN) ke = ke0;
 
 switch (ke.type)

Modified: trunk/src/ui-event.c
URL: http://trac.rephial.org/file/trunk/src/ui-event.c?rev=2042
==============================================================================
--- trunk/src/ui-event.c &lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-09-25T21:56:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/877">
    <title>r2043 - /trunk/src/ui-menu.c</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/877</link>
    <description>&lt;pre&gt;Author: takkaria
Date: Sat Sep 25 21:57:01 2010
New Revision: 2043

URL: http://trac.rephial.org/changeset/2043
Log:
Remove a call to run_event_listener whose practical use was to call menu_refresh(), and replace it will a call to that function

Modified:
    trunk/src/ui-menu.c

Modified: trunk/src/ui-menu.c
URL: http://trac.rephial.org/file/trunk/src/ui-menu.c?rev=2043
==============================================================================
--- trunk/src/ui-menu.c (original)
+++ trunk/src/ui-menu.c Sat Sep 25 21:57:01 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -710,7 +710,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
  */
 ui_event_data menu_select(menu_type *menu, int *cursor, int no_handle)
 {
-ui_event_data ke;
+ui_event_data ke = EVENT_EMPTY;
 
 menu-&amp;gt;cursor = *cursor;
 
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -721,9 +721,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 if (!menu-&amp;gt;filter_list)
 menu-&amp;gt;filter_count = menu-&amp;gt;count;
 
-ke.type = EVT_REFRESH;
-
-(void)run_event_loop(menu_handle_event, menu, (EVT_KBRD | EVT_MOUSE | EVT_REFRESH), &amp;amp;ke);
+menu_refresh(menu);
 
 /* Check for command flag */
 if (p_ptr-&amp;gt;command_new)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -732,7 +730,7 &lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-09-25T21:57:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/876">
    <title>r2041 - in /trunk/src: attack.c cmd-obj.c cmd1.c player/types.h target.c util.c</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/876</link>
    <description>&lt;pre&gt;Author: ajps
Date: Wed Aug 18 15:03:43 2010
New Revision: 2041

URL: http://trac.rephial.org/changeset/2041
Log:
Misc coding guideline changes, update player type with better comments and remove unused p_ptr-&amp;gt;command_inv

Modified:
    trunk/src/attack.c
    trunk/src/cmd-obj.c
    trunk/src/cmd1.c
    trunk/src/player/types.h
    trunk/src/target.c
    trunk/src/util.c

Modified: trunk/src/attack.c
URL: http://trac.rephial.org/file/trunk/src/attack.c?rev=2041
==============================================================================
--- trunk/src/attack.c (original)
+++ trunk/src/attack.c Wed Aug 18 15:03:43 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -816,7 +816,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 }
 
 /* Find first eligible ammo in the quiver */
-for (i=QUIVER_START; i &amp;lt; QUIVER_END; i++)
+for (i = QUIVER_START; i &amp;lt; QUIVER_END; i++)
 {
 if (inventory[i].tval != p_ptr-&amp;gt;state.ammo_tval) continue;
 item = i;

Modified: trunk/src/cmd-obj.c
URL: http://trac.rephial.org/file/trunk/src/cmd-obj.c?rev=2041
=============================================================&lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-08-18T15:03:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/875">
    <title>r2040 - in /trunk: lib/edit/object.txtsrc/list-effects.h</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/875</link>
    <description>&lt;pre&gt;Author: d_m
Date: Mon Aug 16 17:17:34 2010
New Revision: 2040

URL: http://trac.rephial.org/changeset/2040
Log:
eddie's patch for clairvoyance descr, boot rarity and priest books

Modified:
    trunk/lib/edit/object.txt
    trunk/src/list-effects.h

Modified: trunk/lib/edit/object.txt
URL: http://trac.rephial.org/file/trunk/lib/edit/object.txt?rev=2040
==============================================================================
--- trunk/lib/edit/object.txt (original)
+++ trunk/lib/edit/object.txt Mon Aug 16 17:17:34 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -755,7 +755,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 G:]:U
 I:30:1:0
 W:0:0:15:4
-A:20:1 to 20
+A:20:1 to 100
 P:1:1d1:0:0:0
 D:A set of open-topped footgear with soft calfskin lacings and a sturdy 
 D:cured leather base.
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -3286,7 +3286,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 N:466:[Chants and Blessings]
 G:?:G
 I:91:2:0
-W:20:0:30:300
+W:20:0:30:400
 A:50:20 to 100
 P:0:1d1:0:0:0
 F:EASY_KNOW
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -3294,7 +3294,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 N:467:[Exorcism and Dispelling]
 G:?:G
 I:91:3:0
-W:30:0:30:900
+W:30:0:30:800
 A:50:30 to 100
 P:0:1d1:0:0:0
 F:EASY_KNOW
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -3351,7 +33&lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-08-16T17:17:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/874">
    <title>r2039 - /trunk/src/spells2.c</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/874</link>
    <description>&lt;pre&gt;Author: ajps
Date: Sat Aug 14 12:55:30 2010
New Revision: 2039

URL: http://trac.rephial.org/changeset/2039
Log:
Fix out-of-bounds memory read in map_area (as reported by jbu on oook)

Modified:
    trunk/src/spells2.c

Modified: trunk/src/spells2.c
URL: http://trac.rephial.org/file/trunk/src/spells2.c?rev=2039
==============================================================================
--- trunk/src/spells2.c (original)
+++ trunk/src/spells2.c Sat Aug 14 12:55:30 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -467,8 +467,11 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 x1 = p_ptr-&amp;gt;px - DETECT_DIST_X;
 x2 = p_ptr-&amp;gt;px + DETECT_DIST_X;
 
+/* Drag the co-ordinates into the dungeon */
 if (y1 &amp;lt; 0) y1 = 0;
 if (x1 &amp;lt; 0) x1 = 0;
+if (y2 &amp;gt; DUNGEON_HGT - 1) y2 = DUNGEON_HGT - 1;
+if (x2 &amp;gt; DUNGEON_WID - 1) x2 = DUNGEON_WID - 1;
 
 /* Scan the dungeon */
 for (y = y1; y &amp;lt; y2; y++)

&lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-08-14T12:55:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/873">
    <title>r2038 - /trunk/lib/edit/object.txt</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/873</link>
    <description>&lt;pre&gt;Author: d_m
Date: Mon Aug  9 04:15:49 2010
New Revision: 2038

URL: http://trac.rephial.org/changeset/2038
Log:
ewert's ammo/etc patch, should fix overly common ammo problem

Modified:
    trunk/lib/edit/object.txt

Modified: trunk/lib/edit/object.txt
URL: http://trac.rephial.org/file/trunk/lib/edit/object.txt?rev=2038
==============================================================================
--- trunk/lib/edit/object.txt (original)
+++ trunk/lib/edit/object.txt Mon Aug  9 04:15:49 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -640,7 +640,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 I:17:1:0
 W:3:0:2:1
 M:100:6d7
-A:50:3 to 100
+A:20:3 to 100
 P:0:1d4:0:0:0
 D:It can be shot with a bow.
 
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -648,7 +648,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 G:{:G
 I:17:2:0
 W:55:0:2:20
-A:75:55 to 100
+A:25:55 to 100
 M:100:6d7
 P:0:4d4:0:0:0
 D:It can be shot with a bow.
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -658,7 +658,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 I:17:3:0
 W:55:0:2:25
 M:100:6d7
-A:50:50 to 100
+A:20:50 to 100
 P:0:3d4:0:0:0
 F:IGNORE_ACID | IGNORE_FIRE
 D:It can be shot with a bow.
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -669,7 +669,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 I:18:1:0
 W:3:0:3:2
 M:100:6d7
-A:50:3 to 100
+A:20:3 to 100
 P:0:1d5:0:0:0
 D:&lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-08-09T04:15:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/872">
    <title>r2037 - /trunk/src/game-cmd.c</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/872</link>
    <description>&lt;pre&gt;Author: ajps
Date: Sun Aug  8 09:28:16 2010
New Revision: 2037

URL: http://trac.rephial.org/changeset/2037
Log:
Fix other occurances of the out-of-bounds repeated command bug from r2032.

Modified:
    trunk/src/game-cmd.c

Modified: trunk/src/game-cmd.c
URL: http://trac.rephial.org/file/trunk/src/game-cmd.c?rev=2037
==============================================================================
--- trunk/src/game-cmd.c (original)
+++ trunk/src/game-cmd.c Sun Aug  8 09:28:16 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -23,6 +23,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 errr (*cmd_get_hook)(cmd_context c, bool wait);
 
 #define CMD_QUEUE_SIZE 20
+#define prev_cmd_idx(idx) ((idx + CMD_QUEUE_SIZE - 1) % CMD_QUEUE_SIZE)
 
 static int cmd_head = 0;
 static int cmd_tail = 0;
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -163,7 +164,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 /* If we're repeating, just pull the last command again. */
 if (repeating)
 {
-*cmd = cmd_queue[(cmd_tail + CMD_QUEUE_SIZE - 1) % CMD_QUEUE_SIZE];
+*cmd = cmd_queue[prev_cmd_idx(cmd_tail)];
 return 0;
 }
 
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -437,7 +438,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
  */
 void cmd_cancel_repeat(void)
 {
-game_command *cmd&lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-08-08T09:28:17</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/871">
    <title>r2036 - in /trunk/src: option.c option.h</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/871</link>
    <description>&lt;pre&gt;Author: takkaria
Date: Sat Aug  7 18:53:46 2010
New Revision: 2036

URL: http://trac.rephial.org/changeset/2036
Log:
Fix option bug introduced in r2030

Modified:
    trunk/src/option.c
    trunk/src/option.h

Modified: trunk/src/option.c
URL: http://trac.rephial.org/file/trunk/src/option.c?rev=2036
==============================================================================
--- trunk/src/option.c (original)
+++ trunk/src/option.c Sat Aug  7 18:53:46 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -87,7 +87,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 {
 OPT_birth_maximize,
 OPT_birth_randarts,
-/*OPT_birth_money, */
 OPT_birth_ai_sound,
 OPT_birth_ai_smell,
 OPT_birth_ai_packs,
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -100,7 +99,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 OPT_birth_no_stacking,
 OPT_birth_no_preserve,
 OPT_birth_no_stairs,
-OPT_birth_feelings
+OPT_birth_feelings,
+OPT_NONE
 },
 
 /* Cheat */
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -264,7 +264,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 { NULL,                  NULL,                                          FALSE }, /* 127 */
 { "birth_maximize",      "Maximise effect of race/class bonuses",       TRUE },  /* 128 */
 { "birth_randarts",  &lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-08-07T18:53:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/870">
    <title>r2035 - /trunk/src/game-cmd.c</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/870</link>
    <description>&lt;pre&gt;Author: ajps
Date: Fri Aug  6 08:55:01 2010
New Revision: 2035

URL: http://trac.rephial.org/changeset/2035
Log:
Fix for hang when using an autorepeated command.  Fix typo in comment.

Modified:
    trunk/src/game-cmd.c

Modified: trunk/src/game-cmd.c
URL: http://trac.rephial.org/file/trunk/src/game-cmd.c?rev=2035
==============================================================================
--- trunk/src/game-cmd.c (original)
+++ trunk/src/game-cmd.c Fri Aug  6 08:55:01 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -163,7 +163,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 /* If we're repeating, just pull the last command again. */
 if (repeating)
 {
-*cmd = cmd_queue[(cmd_tail - 1) % CMD_QUEUE_SIZE];
+*cmd = cmd_queue[(cmd_tail + CMD_QUEUE_SIZE - 1) % CMD_QUEUE_SIZE];
 return 0;
 }
 
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -405,7 +405,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 /* Command repetition */
 if (game_cmds[idx].repeat_allowed)
 {
-/* Auto-repeat only if their isn't already a repeat length. */
+/* Auto-repeat only if there isn't already a repeat length. */
 if (game_cmds[idx].auto_repeat_n &amp;gt; 0 &amp;amp;&amp;amp; cmd.nrepeats == 0)
 {
 &lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-08-06T08:55:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/869">
    <title>r2034 - in /trunk/src: dungeon.c pathfind.cplayer/types.h util.c xtra2.c</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/869</link>
    <description>&lt;pre&gt;Author: ajps
Date: Thu Aug  5 19:44:17 2010
New Revision: 2034

URL: http://trac.rephial.org/changeset/2034
Log:
Remove unused p_ptr-&amp;gt;command_dir variable.

Modified:
    trunk/src/dungeon.c
    trunk/src/pathfind.c
    trunk/src/player/types.h
    trunk/src/util.c
    trunk/src/xtra2.c

Modified: trunk/src/dungeon.c
URL: http://trac.rephial.org/file/trunk/src/dungeon.c?rev=2034
==============================================================================
--- trunk/src/dungeon.c (original)
+++ trunk/src/dungeon.c Thu Aug  5 19:44:17 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1344,7 +1344,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 p_ptr-&amp;gt;command_cmd = 0;
 p_ptr-&amp;gt;command_new = 0;
 p_ptr-&amp;gt;command_arg = 0;
-p_ptr-&amp;gt;command_dir = 0;
 
 
 /* Cancel the target */

Modified: trunk/src/pathfind.c
URL: http://trac.rephial.org/file/trunk/src/pathfind.c?rev=2034
==============================================================================
--- trunk/src/pathfind.c (original)
+++ trunk/src/pathfind.c Thu Aug  5 19:44:17 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1105,9 +1105,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 }
 
 p_ptr-&amp;gt;run_cur_dir = pf_res&lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-08-05T19:44:17</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/868">
    <title>r2033 - /trunk/src/game-cmd.c</title>
    <link>http://comments.gmane.org/gmane.games.roguelike.angband.vanilla.cvs/868</link>
    <description>&lt;pre&gt;Author: ajps
Date: Thu Aug  5 19:37:17 2010
New Revision: 2033

URL: http://trac.rephial.org/changeset/2033
Log:
Make autorepeated commands work properly again (fixes bug introduced in r2032)

Modified:
    trunk/src/game-cmd.c

Modified: trunk/src/game-cmd.c
URL: http://trac.rephial.org/file/trunk/src/game-cmd.c?rev=2033
==============================================================================
--- trunk/src/game-cmd.c (original)
+++ trunk/src/game-cmd.c Thu Aug  5 19:37:17 2010
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -407,7 +407,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 {
 /* Auto-repeat only if their isn't already a repeat length. */
 if (game_cmds[idx].auto_repeat_n &amp;gt; 0 &amp;amp;&amp;amp; cmd.nrepeats == 0)
+{
 cmd.nrepeats = game_cmds[idx].auto_repeat_n;
+cmd_set_repeat(cmd.nrepeats);
+}
 }
 else
 {

&lt;/pre&gt;</description>
    <dc:creator>commits-noreply&lt; at &gt;rephial.org</dc:creator>
    <dc:date>2010-08-05T19:37:19</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.games.roguelike.angband.vanilla.cvs">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.games.roguelike.angband.vanilla.cvs</link>
  </textinput>
</rdf:RDF>
