Home | History | Annotate | Download | only in sdpquery
History log of /src/usr.bin/sdpquery/print.c
RevisionDateAuthorComments
 1.24  27-Aug-2021  rillig sdpquery: fix undefined behavior when calling ctype functions

lint says: warning: argument to 'function from <ctype.h>' must be cast
to 'unsigned char', not to 'int' [342]
 1.23  24-Oct-2019  kamil Switch the iconv(3) prototype to the POSIX conformant variation

Remove const from the 2nd argument.

const char ** and char ** are incompatible types and it was a cost to keep
the technically incompatible form for a more purist variation. NetBSD was
almost the last alive OS to still keep the const argument (known leftovers:
Minix and Illumos).

Keep the const form for the internal purposes inside citrus and rump.

Address the build breakage fallout in the same change.

There are no ABI changes.

Change accepted by core@.
 1.22  11-Dec-2015  plunky branches: 1.22.16;
update several profiles, bringing up to date decoding of all the
Bluetooth 1.1->4.2 Service Discovery specifications I could find,
namely:

Wireless Access Protocol
Multi-Profile Specification
Calendar, Tasks & Notes
Message Access Profile
Message Notification Service
Global Navigation Satellite System
Health Device Profile
File Transfer Protocol
3D Display
General Access Profile
Generic Attribute Server

all documentation is on bluetooth.org, under

https://www.bluetooth.org/en-us/specification
 1.21  16-Mar-2015  plunky parse and print the HIDLANGIDBaseList attribute
 1.20  18-Oct-2013  christos fix unused variable warnings
 1.19  15-Sep-2011  plunky branches: 1.19.2; 1.19.8;
when printing URL strings, don't use VIS_HTTPSTYLE, it does
not quite work as I expected.. just use VIS_CSTYLE
 1.18  20-Aug-2011  plunky add print_utf8_string for some profiles that specify UTF-8 specifically,
and supply a print_codeset_string() so we don't need void * casts to avoid
the char ** -> const char ** complaint
 1.17  14-Aug-2011  christos kill gcc-4.5 warnings
 1.16  07-Jul-2011  plunky ensure string buffer is null terminated, for zero length strings..
 1.15  07-Jul-2011  plunky parse IEEE 1284 Device ID, since it is not strictly a
string, and may run longer than a line
 1.14  25-Jun-2011  plunky use size_t to satisfy lint
 1.13  24-Jun-2011  plunky some attributes contain comma separated lists which are too long to
show on a single line, split them up
 1.12  24-Jun-2011  plunky in the "Basic Printing Profile" it is not really very clear
which ServiceClass the attributes relate to, so link them
to "Direct Printing" and "Printer Status" as well as
"Reference Printing", since I have a printer (HP460) which
does not claim the latter.
 1.11  24-Jun-2011  plunky if print_attribute() did not print, we should try the next
service_class before failing
 1.10  24-Jun-2011  plunky interpret "Hardcopy Cable Replacement Profile" attributes
 1.9  24-Jun-2011  plunky interpret "Basic Imaging Profile" attributes
 1.8  24-May-2011  joerg Properly use format strings
 1.7  14-Dec-2010  plunky on reflection we can use uintmax_t here instead of trying to decode
the value manually, as only 17 bits are defined and the value is
unlikely to exceed UINTMAX_MAX (would only prevent decoding)
 1.6  13-Dec-2010  plunky add attributes from the Basic Printing Profile v1.2r00
 1.5  22-Nov-2009  plunky add translation for "802.1Q" ethertype
 1.4  20-Aug-2009  plunky add SupportedRepositories attribute for Phonebook Access profile
providing PhonebookAccessServer service
 1.3  25-Jul-2009  plunky add new Service Class ID and Protocol UUIDs from the Service Discovery
assigned numbers document at www.bluetooth.com

add detail printing for Message Access Profile v1.0
 1.2  04-Jul-2009  plunky add interpretation of "PNP Information" service class (Device ID profile)
 1.1  12-May-2009  plunky branches: 1.1.2;
update sdpquery with a newer version that fetches the whole service
record and displays it in a human readable fashion.
 1.1.2.2  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.1.2.1  12-May-2009  jym file print.c was added on branch jym-xensuspend on 2009-05-13 19:20:04 +0000
 1.19.8.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.19.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.22.16.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed