#
0f4e8037 |
|
01-Feb-2024 |
Baptiste Daroussin <bapt@FreeBSD.org> |
kbdmap: fix typo preventing kbdmap to work under vt
|
#
f14ea00c |
|
01-Feb-2024 |
Baptiste Daroussin <bapt@FreeBSD.org> |
kbdmap: remove debug
|
#
4d65a7c6 |
|
24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.sbin: Automated cleanup of cdefs and other formatting Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
|
#
1d386b48 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
4d846d26 |
|
10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
|
#
e17fede8 |
|
06-Feb-2022 |
Dimitry Andric <dim@FreeBSD.org> |
Fix too small sscanf output buffers in kbdmap This fixes the following warnings from clang 14: usr.sbin/kbdmap/kbdmap.c:241:16: error: 'sscanf' may overflow; destination buffer in argument 5 has size 20, but the corresponding specifier may require size 21 [-Werror,-Wfortify-source] &a, &b, buf); ^ usr.sbin/kbdmap/kbdmap.c:615:8: error: 'sscanf' may overflow; destination buffer in argument 3 has size 64, but the corresponding specifier may require size 65 [-Werror,-Wfortify-source] keym, lng, desc); ^ usr.sbin/kbdmap/kbdmap.c:615:14: error: 'sscanf' may overflow; destination buffer in argument 4 has size 64, but the corresponding specifier may require size 65 [-Werror,-Wfortify-source] keym, lng, desc); ^ usr.sbin/kbdmap/kbdmap.c:615:19: error: 'sscanf' may overflow; destination buffer in argument 5 has size 256, but the corresponding specifier may require size 257 [-Werror,-Wfortify-source] keym, lng, desc); ^ In each case, the buffer being sscanf'd into is one byte too small. MFC after: 3 days
|
#
263660c0 |
|
28-Jan-2022 |
Alfonso Siciliano <alfsiciliano@gmail.com> |
bsddialog: import version 0.1 Import bsddialog 0.1 Utility and Library, fully refatorized, API stable, manuals completed, easier to maintain and improve. Update deps for new API: add mixedgauge consts, delete __DECONST and add bsddialog_geterror() info to avoid silent errors * tzsetup * kbdmap * distextract Differential Revision: https://reviews.freebsd.org/D34066
|
#
1de4665d |
|
13-Dec-2021 |
Alfonso Siciliano <alfsiciliano@gmail.com> |
kbdmap: adapt to the new libbsddialog API Differential Revision: https://reviews.freebsd.org/D33398 |
#
998959cd |
|
06-Dec-2021 |
Baptiste Daroussin <bapt@FreeBSD.org> |
kbdmap: adapt to the new bsddialog api |
#
24b05d7a |
|
24-Nov-2021 |
Baptiste Daroussin <bapt@FreeBSD.org> |
kbdmap: use libbsddialog instead of calling dialog(1) via system(3) |
#
29f64e28 |
|
11-Dec-2019 |
Ed Maste <emaste@FreeBSD.org> |
kbdmap: allow INDEX.keymaps to provide the dialog title Previously kbdmap had a localized menu heading ("Choose your keyboard layout") but not the dialog title ("Keyboard Menu"). MFC after: 2 weeks Sponsored by: The FreeBSD Foundation |
#
5f81babd |
|
22-Jan-2019 |
Stefan Eßer <se@FreeBSD.org> |
Silence a CI warning regarding the use of strcpy(). While this is a false positive (a sufficiently large buffer has been allocated in the line above), the use of strdup() simplifies and clarifies the code. MFC after: 2 weeks |
#
1de7b4b8 |
|
27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
various: general adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. |
#
632ddb87 |
|
27-Nov-2015 |
Ed Maste <emaste@FreeBSD.org> |
kbdmap: include filename when reporting fopen() failure Previously only one of two cases reported the file name. Use the same error string in both cases. Sponsored by: The FreeBSD Foundation |
#
1b4e3694 |
|
26-Nov-2015 |
Ed Maste <emaste@FreeBSD.org> |
vidfont: with vt(4) omit size from vidcontrol -f When using syscons, vidfont extracts the font size from the filename passes it to vidcontrol -f. In vt(4) mode the size argument is not required, and some of the fonts in /usr/share/vt/fonts do not have the size in the filename, which caused vidfont to fail. Thus, just omit the size argument in vt(4) mode. MFC after: 1 week Sponsored by: The FreeBSD Foundation |
#
92ee8e8f |
|
14-May-2015 |
Ed Maste <emaste@FreeBSD.org> |
kbdmap(1): increase description size to 256 bytes After conversion to UTF-8 some INDEX.keymaps descriptions are longer than the previous limit of 64 bytes. PR: 193656 Sponsored by: The FreeBSD Foundation |
#
6fe6b12f |
|
14-Aug-2014 |
Stefan Eßer <se@FreeBSD.org> |
Add support for NEWCONS to kbdmap and vidfont. The path to keymaps and fonts is selected based on the existence and value of "sysctl kern.vty". MFC after: 1 week |
#
c84c09f4 |
|
19-Jun-2012 |
Eitan Adler <eadler@FreeBSD.org> |
Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva MFC After: 3 days |
#
3df5ecac |
|
30-Dec-2011 |
Ulrich Spörlein <uqs@FreeBSD.org> |
Spelling fixes for usr.sbin/ |
#
5d920ef7 |
|
16-Oct-2011 |
Nathan Whitehorn <nwhitehorn@FreeBSD.org> |
Place quotes around the output of kbdmap(1), designed to be pasted into /etc/rc.conf. PR: bin/161711 Submitted by: manolis MFC after: 1 week |
#
b2ce2d69 |
|
01-Jun-2011 |
Jaakko Heinonen <jh@FreeBSD.org> |
Don't try to close the stream if fopen(3) fails. PR: bin/155349 Submitted by: Urankar Mikael |
#
c5199e97 |
|
13-Jan-2011 |
Nathan Whitehorn <nwhitehorn@FreeBSD.org> |
Use auto-sizing syntax appropriate for the new dialog(1). This should probably be modified to use libdialog. |
#
b77a4a44 |
|
29-Nov-2010 |
Kevin Lo <kevlo@FreeBSD.org> |
Fix fd leak in get_font |
#
262185e9 |
|
27-Aug-2007 |
Murray Stokely <murray@FreeBSD.org> |
Output keymap choice to stderr so it is easier to parse for apps chained to this curses based app. Submitted by: ivoras Approved by: re@ (bmah@) |
#
d0691403 |
|
06-Mar-2007 |
Kevin Lo <kevlo@FreeBSD.org> |
Use sizeof() for calculating the buffer size instead of hard-coded values. |
#
61927b82 |
|
09-Jan-2006 |
Florent Thoumie <flz@FreeBSD.org> |
Fix -r causing SIGSEGV due to parse_args() being called before font_current is set. Approved by: krion MFC after: 3 days |
#
76c61349 |
|
29-Jun-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Fixed two bugs in Perl to C conversion that prevented locale name from being parsed correctly. OK'ed by: markm Approved by: re (scottl) MFC after: 3 days |
#
688dfe45 |
|
27-Oct-2002 |
Garrett Wollman <wollman@FreeBSD.org> |
Do not include <sys/syslimits.h> directly; it is not intended for general consumption. |
#
ece80b1d |
|
03-Jul-2002 |
Mark Murray <markm@FreeBSD.org> |
C rewrite of kbdmap/vidfont. Submitted by: Jonathan Belson <jon@witchspace.com> OK'ed by: wosch (Perl code maintainer) |
#
1de4665d |
|
13-Dec-2021 |
Alfonso Siciliano <alfsiciliano@gmail.com> |
kbdmap: adapt to the new libbsddialog API Differential Revision: https://reviews.freebsd.org/D33398
|
#
998959cd |
|
06-Dec-2021 |
Baptiste Daroussin <bapt@FreeBSD.org> |
kbdmap: adapt to the new bsddialog api
|
#
24b05d7a |
|
24-Nov-2021 |
Baptiste Daroussin <bapt@FreeBSD.org> |
kbdmap: use libbsddialog instead of calling dialog(1) via system(3)
|
#
29f64e28 |
|
11-Dec-2019 |
Ed Maste <emaste@FreeBSD.org> |
kbdmap: allow INDEX.keymaps to provide the dialog title Previously kbdmap had a localized menu heading ("Choose your keyboard layout") but not the dialog title ("Keyboard Menu"). MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
#
5f81babd |
|
22-Jan-2019 |
Stefan Eßer <se@FreeBSD.org> |
Silence a CI warning regarding the use of strcpy(). While this is a false positive (a sufficiently large buffer has been allocated in the line above), the use of strdup() simplifies and clarifies the code. MFC after: 2 weeks
|
#
1de7b4b8 |
|
27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
various: general adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended.
|
#
632ddb87 |
|
27-Nov-2015 |
Ed Maste <emaste@FreeBSD.org> |
kbdmap: include filename when reporting fopen() failure Previously only one of two cases reported the file name. Use the same error string in both cases. Sponsored by: The FreeBSD Foundation
|
#
1b4e3694 |
|
26-Nov-2015 |
Ed Maste <emaste@FreeBSD.org> |
vidfont: with vt(4) omit size from vidcontrol -f When using syscons, vidfont extracts the font size from the filename passes it to vidcontrol -f. In vt(4) mode the size argument is not required, and some of the fonts in /usr/share/vt/fonts do not have the size in the filename, which caused vidfont to fail. Thus, just omit the size argument in vt(4) mode. MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
#
92ee8e8f |
|
14-May-2015 |
Ed Maste <emaste@FreeBSD.org> |
kbdmap(1): increase description size to 256 bytes After conversion to UTF-8 some INDEX.keymaps descriptions are longer than the previous limit of 64 bytes. PR: 193656 Sponsored by: The FreeBSD Foundation
|
#
6fe6b12f |
|
14-Aug-2014 |
Stefan Eßer <se@FreeBSD.org> |
Add support for NEWCONS to kbdmap and vidfont. The path to keymaps and fonts is selected based on the existence and value of "sysctl kern.vty". MFC after: 1 week
|
#
c84c09f4 |
|
19-Jun-2012 |
Eitan Adler <eadler@FreeBSD.org> |
Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva MFC After: 3 days
|
#
3df5ecac |
|
30-Dec-2011 |
Ulrich Spörlein <uqs@FreeBSD.org> |
Spelling fixes for usr.sbin/
|
#
5d920ef7 |
|
16-Oct-2011 |
Nathan Whitehorn <nwhitehorn@FreeBSD.org> |
Place quotes around the output of kbdmap(1), designed to be pasted into /etc/rc.conf. PR: bin/161711 Submitted by: manolis MFC after: 1 week
|
#
b2ce2d69 |
|
01-Jun-2011 |
Jaakko Heinonen <jh@FreeBSD.org> |
Don't try to close the stream if fopen(3) fails. PR: bin/155349 Submitted by: Urankar Mikael
|
#
c5199e97 |
|
13-Jan-2011 |
Nathan Whitehorn <nwhitehorn@FreeBSD.org> |
Use auto-sizing syntax appropriate for the new dialog(1). This should probably be modified to use libdialog.
|
#
b77a4a44 |
|
29-Nov-2010 |
Kevin Lo <kevlo@FreeBSD.org> |
Fix fd leak in get_font
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
262185e9 |
|
27-Aug-2007 |
Murray Stokely <murray@FreeBSD.org> |
Output keymap choice to stderr so it is easier to parse for apps chained to this curses based app. Submitted by: ivoras Approved by: re@ (bmah@)
|
#
d0691403 |
|
06-Mar-2007 |
Kevin Lo <kevlo@FreeBSD.org> |
Use sizeof() for calculating the buffer size instead of hard-coded values.
|
#
61927b82 |
|
09-Jan-2006 |
Florent Thoumie <flz@FreeBSD.org> |
Fix -r causing SIGSEGV due to parse_args() being called before font_current is set. Approved by: krion MFC after: 3 days
|
#
76c61349 |
|
29-Jun-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Fixed two bugs in Perl to C conversion that prevented locale name from being parsed correctly. OK'ed by: markm Approved by: re (scottl) MFC after: 3 days
|
#
688dfe45 |
|
27-Oct-2002 |
Garrett Wollman <wollman@FreeBSD.org> |
Do not include <sys/syslimits.h> directly; it is not intended for general consumption.
|
#
ece80b1d |
|
03-Jul-2002 |
Mark Murray <markm@FreeBSD.org> |
C rewrite of kbdmap/vidfont. Submitted by: Jonathan Belson <jon@witchspace.com> OK'ed by: wosch (Perl code maintainer)
|