OpenBSD CVS

CVS log for src/lib/libusbhid/usage.c


[BACK] Up to [local] / src / lib / libusbhid

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.17 / (download) - annotate - [select for diffs], Mon Jul 9 08:57:04 2018 UTC (5 years, 11 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, HEAD
Changes since 1.16: +16 -4 lines
Diff to previous 1.16 (colored)

Fix hid_usage_in_page(hid_parse_usage_in_page()) for the Buttons page.

From David Bern.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Oct 8 04:49:36 2014 UTC (9 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)

use reallocarray(); ok doug

Revision 1.15 / (download) - annotate - [select for diffs], Fri Nov 29 19:00:51 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

fairly simple unsigned char casts for ctype
ok krw

Revision 1.14 / (download) - annotate - [select for diffs], Wed Apr 6 11:36:25 2011 UTC (13 years, 2 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'
for chars.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Sep 3 14:26:54 2007 UTC (16 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

malloc(n * m) -> calloc(n, m); ok espie

Revision 1.12 / (download) - annotate - [select for diffs], Tue Mar 20 03:42:52 2007 UTC (17 years, 2 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

remove some bogus *p from charles longeau
ok deraadt millert

Revision 1.11 / (download) - annotate - [select for diffs], Fri Oct 27 15:26:25 2006 UTC (17 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

actually the format strings do come from the usb_hid_usages file;
from janus@errornet.de

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 30 06:39:36 2006 UTC (18 years, 2 months ago) by pat
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

Fix a bzero() misuse; ok otto@ deraadt@

Revision 1.9 / (download) - annotate - [select for diffs], Tue Mar 21 21:38:55 2006 UTC (18 years, 2 months ago) by jaredy
Branch: MAIN
Changes since 1.8: +13 -9 lines
Diff to previous 1.8 (colored)

- plug memleak when handling reallocation failure in hid_start()
- avoid NULL dereference while reclaiming memory during error
  handling in hid_start()

ok ray dhill

Revision 1.8 / (download) - annotate - [select for diffs], Sat Mar 18 03:34:22 2006 UTC (18 years, 2 months ago) by dhill
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Plug a memleak

ok ray@ "Wow, no kidding." deraaadt@

Revision 1.7 / (download) - annotate - [select for diffs], Thu Feb 10 22:24:52 2005 UTC (19 years, 4 months ago) by matthieu
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Fix a realloc() failure bug introduced in previous version.
Found by Andey Matveev.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jun 4 00:47:32 2004 UTC (20 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.5: +91 -44 lines
Diff to previous 1.5 (colored)

knf + new interface: hid_start() is non-exit non-stderr spewing version of hid_init(); ok matthieu millert

Revision 1.5 / (download) - annotate - [select for diffs], Sat Dec 20 18:33:41 2003 UTC (20 years, 5 months ago) by matthieu
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

Fix unbounded scanf()'s. From Jared Yanovich. Ok tedu@.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 19 07:12:42 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

use more snprintf

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jun 11 05:20:19 2002 UTC (22 years ago) by jsyn
Branch: MAIN
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (colored)

strike newline from err(3) functions; ok nate@

Revision 1.2 / (download) - annotate - [select for diffs], Fri May 10 00:09:17 2002 UTC (22 years, 1 month ago) by nate
Branch: MAIN
Changes since 1.1: +7 -6 lines
Diff to previous 1.1 (colored)

Update usb userland stuff to reflect hid changes in the kernel.
This adds the new program usbhidaction which can be used to assign actions
to events that occur on a uhid device.  For example, you can now make the
volume buttons on some newer keyboards actually do something.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Dec 30 07:04:38 2001 UTC (22 years, 5 months ago) by pvalchev
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1

Rename libusb to libusbhid, a better name, per NetBSD

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.