<feed xmlns='http://www.w3.org/2005/Atom'>
<title>teythoon/hurd.git/console-client, branch master</title>
<subtitle>Personal Hurd development repository</subtitle>
<id>https://darnassus.sceen.net/cgit/teythoon/hurd.git/atom?h=master</id>
<link rel='self' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/'/>
<updated>2016-10-09T20:05:17Z</updated>
<entry>
<title>console-client: Remove unused variable.</title>
<updated>2016-10-09T20:05:17Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-10-05T11:59:01Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=2c0f4a09a5166bf777ce4648dda2d671cc464b14'/>
<id>urn:sha1:2c0f4a09a5166bf777ce4648dda2d671cc464b14</id>
<content type='text'>
* console-client/trans.c (console_setup_node): Remove 'bootstrap'.
</content>
</entry>
<entry>
<title>Do not make io_select return errors on unsupported READ/WRITE mode</title>
<updated>2016-06-04T21:14:46Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-06-04T21:14:46Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=4cb90fceb779dbf33cfd9bcf28c66ffc737537f2'/>
<id>urn:sha1:4cb90fceb779dbf33cfd9bcf28c66ffc737537f2</id>
<content type='text'>
The descriptor is valid, it is just the mode which is not available.

* console-client/kbd-repeat.c (repeater_select): Drop SELECT_URG flag from
`type'.  Return 0 instead of EINVAL if `type' contains SELECT_WRITE.
* console-client/pc-mouse (repeater_select): Likewise.
* trans/mtab.c (trivfs_S_io_select): Return 0 instead of EBADF when the
openmodes do not match the requested modes in `type'.
* trans/new-fifo.c (io_select_common): Likewise.
* trans/fifo.c (io_select_common): Likewise.
* trans/null.c (trivfs_S_io_select): Likewise.
* trans/streamio.c (io_select_common): Likewise.
</content>
</entry>
<entry>
<title>Complete changes to use -L instead of -Wl,-rpath-link</title>
<updated>2016-05-16T14:59:09Z</updated>
<author>
<name>Thomas Schwinge</name>
<email>thomas@codesourcery.com</email>
</author>
<published>2016-05-16T14:49:30Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=34071b357d821cc6285ef85d600dfa842252949c'/>
<id>urn:sha1:34071b357d821cc6285ef85d600dfa842252949c</id>
<content type='text'>
Changes missing from commit c9c29eb890527fe68900e4a0af7c2df9a9fa5b40.

* console-client/Makefile (%.so.$(hurd-version)): Use $(lpath) instead of
$(rpath)
* libstore/Makefile (libstore_%.so.$(hurd-version)): Likewise.
</content>
</entry>
<entry>
<title>Fix parallel build</title>
<updated>2016-02-29T02:39:13Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-02-29T02:39:13Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=2f0b4c592b4f9fd3c6d5744a3bc077237ce9278d'/>
<id>urn:sha1:2f0b4c592b4f9fd3c6d5744a3bc077237ce9278d</id>
<content type='text'>
* console-client/Makefile (parser.tab.h): Redefine the standard yacc rule to
make it build the header too, to avoid concurrency between the standard yacc
rule and the rule that builds the header.
* sutils/Makefile (OBJS): Append .o suffix to $(progs) instead of .c.
</content>
</entry>
<entry>
<title>Add missing libraries to fix link errors</title>
<updated>2015-12-30T00:46:04Z</updated>
<author>
<name>Flavio Cruz</name>
<email>flaviocruz@gmail.com</email>
</author>
<published>2015-12-30T00:40:22Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=2c414dc400729160ec4d2004c60470ce59ad9008'/>
<id>urn:sha1:2c414dc400729160ec4d2004c60470ce59ad9008</id>
<content type='text'>
This fixes several linking problems I had in my recent cross-compilation
of the Hurd. I added missing static libraries and also organized some of
the targets for more concise rules.

* console-client/Makefile: Add libiohelp.a and libihash.a.
* daemons/Makefile: Add libihash.a and libshouldbeinlibc.a.
* devnode/Makefile: Add iohelp and ihash to HURDLIBS.
* random/Makefile: Likewise.
* trans/Makefile: Reorder targets alphabetically and add libiohelp.a and
libihash.a.
* utils/Makefile: Add libihash.a.
</content>
</entry>
<entry>
<title>fix compiler warnings in hurd/console-client</title>
<updated>2015-12-29T20:57:04Z</updated>
<author>
<name>Flavio Cruz</name>
<email>flaviocruz@gmail.com</email>
</author>
<published>2015-12-29T20:17:25Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=2280227bedf69b733a589f12ac6b6d5a4fc36af4'/>
<id>urn:sha1:2280227bedf69b733a589f12ac6b6d5a4fc36af4</id>
<content type='text'>
On Tue, Dec 29, 2015 at 08:43:24PM +0100, Samuel Thibault wrote:
&gt; Flavio Cruz, on Tue 29 Dec 2015 17:35:00 +0100, wrote:
&gt; &gt; @@ -663,10 +663,11 @@ update_leds (void)
&gt; &gt;  	| (led_state.num_lock ? 2 : 0)
&gt; &gt;  	| (led_state.caps_lock ? 4 : 0);
&gt; &gt;
&gt; &gt; -      err = device_write_inband (kbd_dev, 0, -1, (void *) leds, 2, &amp;data_cnt);
&gt; &gt; +      err = device_write_inband (kbd_dev, 0, -1, (void *) leds, 2,
&gt; &gt; +                                 (int *) &amp;data_cnt);
&gt; &gt;        if (!err &amp;&amp; data_cnt == 1)
&gt; &gt;  	err = device_write_inband (kbd_dev, 0, -1, (void *) &amp;leds[1], 1,
&gt; &gt; -				   &amp;data_cnt);
&gt; &gt; +				   (int *) &amp;data_cnt);
&gt; &gt;      }
&gt; &gt;  }
&gt; &gt;
&gt;
&gt; I'm surprised: if the device_write_inband RPC really wants an int*, why
&gt; not making data_cnt an int?

That works better. Thanks.

console-client: Fix compiler warning.

* console-client/pc-kbd.c (update_leds): Replace mach_msg_type_number_t with
int.
</content>
</entry>
<entry>
<title>fix compiler warnings in hurd/console-client</title>
<updated>2015-12-29T19:47:40Z</updated>
<author>
<name>Flavio Cruz</name>
<email>flaviocruz@gmail.com</email>
</author>
<published>2015-12-29T16:35:00Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=cc3e97aa0141410eb8b05cab34aecf65f44a164c'/>
<id>urn:sha1:cc3e97aa0141410eb8b05cab34aecf65f44a164c</id>
<content type='text'>
console-client: Fix several compiler warnings.

* console-client/bdf.c: Use size_t instead of int.
* console-client/driver.c: Remove unused variable errstring.
* console-client/pc-kbd.c: Cast sc to scancode_x1 before comparing with enum
values.
* console-client/vga-dynacolor.h: Use an explicit if in reference counting.
* console-client/vga-dynafont.c: Use usigned char for bitmaps.
* console-client/vga-support.c: Use unsigned char instead of char.
* console-client/vga-support.h: Likewise.
* console-client/vga.c: Use conchar_attr_equal instead of casting structures to
integers.
* hurd/console.h: Add conchar_attr_equal to compare conchar_attr_t structures.
</content>
</entry>
<entry>
<title>console-client: Fix lower range of binary search</title>
<updated>2015-06-05T16:34:02Z</updated>
<author>
<name>Diego Nieto Cid</name>
<email>dnietoc@gmail.com</email>
</author>
<published>2015-06-05T01:58:10Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=db48e1651302797806f5656c856cf22e73761ea5'/>
<id>urn:sha1:db48e1651302797806f5656c856cf22e73761ea5</id>
<content type='text'>
To prevent infinite recursion range checking was introduced
as an exit condition adding two extra comparisons on each
recursive call.

By fixing the range used by the recursive call over the lower
half of the array one can avoid penalizing successful lookups
while still preventing infinite recursion due to `first`
parameter being greater than `last` parameter.

* console-client/xkb/kstoucs.c (find_ucs): don't remove middle from the
lower range. Remove extra comparisons.
</content>
</entry>
<entry>
<title>console-client: assert precondition</title>
<updated>2015-06-05T16:33:50Z</updated>
<author>
<name>Diego Nieto Cid</name>
<email>dnietoc@gmail.com</email>
</author>
<published>2015-06-05T01:58:09Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=ffea85471c65fd7758e159207ae7f7a089106644'/>
<id>urn:sha1:ffea85471c65fd7758e159207ae7f7a089106644</id>
<content type='text'>
* console-client/xkb/kstoucs.c (find_ucs): assert precondition.
</content>
</entry>
<entry>
<title>console-client: fix binary search</title>
<updated>2015-05-23T08:51:05Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2015-05-23T08:51:05Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=7410d78ed496c66a6c1d806360d1f83aa3321c01'/>
<id>urn:sha1:7410d78ed496c66a6c1d806360d1f83aa3321c01</id>
<content type='text'>
Previously, the binary search through the keysym map was incorrectly
implemented.  This resulted in infinite loops (thanks to the compilers
tail call optimization) or crashes (if the stack space was exhausted).

* console-client/xkb/kstoucs.c (find_ucs): Fix binary search.
</content>
</entry>
</feed>
