History log of /pciutils/lib/names.c (Results 1 – 25 of 33)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v3.14.0, v3.13.0, v3.12.0, v3.11.1, v3.11.0
# 06f9ecf3 18-Feb-2024 Martin Mares <[email protected]>

Names: Fixed a rare bug in loading of pci.ids

If the pci.ids file was empty, it was never considered loaded,
so the loading function was called repeatedly and it always flushed
the name cache.


# 61829219 18-Jun-2023 Martin Mares <[email protected]>

Update license comments and added SPDX license identifiers

Previously, the only information about the specific version of GPL
was present in the README and individual source files mentioned only
GPL

Update license comments and added SPDX license identifiers

Previously, the only information about the specific version of GPL
was present in the README and individual source files mentioned only
GPL alone.

Let us update all copyright comments to explicitly say "GPL v2+"
and also include the machine readable SPDX license identifier.

show more ...


Revision tags: v3.10.0, v3.9.0, v3.8.0
# c03bbbae 06-Dec-2020 Martin Mares <[email protected]>

HWDB: Fixed memory leak


Revision tags: v3.7.0, v3.6.4, v3.6.3
# a42aea90 16-Oct-2018 Michal Hlavinka <[email protected]>

Add a couple of missing va_end's

Found by Coverity scan.


Revision tags: v3.6.2, v3.6.1, v3.6.0, v3.5.6, v3.5.5, v3.5.4, v3.5.3, v3.5.2, v3.5.1, v3.5.0, v3.4.1, v3.4.0, v3.3.1, v3.3.0
# ac357d3b 01-Nov-2014 Martin Mares <[email protected]>

Rewritten support for UDEV's HWDB

HWDB is now handled in a way very similar to the DNS resolver.

The interface lives in a separate source file (lib/names-hwdb.c),
results of lookups are cached. Use

Rewritten support for UDEV's HWDB

HWDB is now handled in a way very similar to the DNS resolver.

The interface lives in a separate source file (lib/names-hwdb.c),
results of lookups are cached. Use of HWDB can be disabled either
by passing PCI_LOOKUP_NO_HWDB or by setting the hwdb.disabled
configuration parameter.

Also, there should be no more leaks of libudev's structures.

show more ...


Revision tags: v3.2.1, v3.2.0, v3.1.10, v3.1.9, v3.1.8
# e616394f 02-Oct-2011 Martin Mares <[email protected]>

Truncate names which are too long

When any name turned out too long, we returned "<pci_lookup_name: buffer too small>",
which wasn't very useful. Instead of that, we truncate the name and
we add "..

Truncate names which are too long

When any name turned out too long, we returned "<pci_lookup_name: buffer too small>",
which wasn't very useful. Instead of that, we truncate the name and
we add "..." at the end.

Please note that for simplicity, the truncation happens only on systems with proper
C99 snprintf(). Ancient systems where snprintf() returns a negative number and
promises nothing about the state of the buffer still use the error message.

show more ...


Revision tags: v3.1.7, v3.1.6, v3.1.5, v3.1.4, v3.1.3, v3.1.2, v3.1.1, v3.1.0, v3.1-alpha3, v3.1-alpha2, v3.1-alpha1, v3.0.3, v3.0.2, v3.0.1, v3.0.0
# 5904157c 12-Feb-2008 Martin Mares <[email protected]>

Use `Device ABCD' instead of `Unknown device ABCD'.

Several Linux distributors mentioned users complaining about unsupported
devices when in fact the device was only unknown to the ID database.
This

Use `Device ABCD' instead of `Unknown device ABCD'.

Several Linux distributors mentioned users complaining about unsupported
devices when in fact the device was only unknown to the ID database.
This little `headological' trick tries to avoid encouraging the users
to such complaints :-)

show more ...


# 752d4d9a 11-Feb-2008 Martin Mares <[email protected]>

Split handling of the ID list to several files.


# 103f074c 11-Feb-2008 Martin Mares <[email protected]>

Implemented control options and the caching logic.

Everything is still in a very raw form.


# 6395458b 11-Feb-2008 Martin Mares <[email protected]>

BSD needs <netinet/in.h>.


# 0fc3bd18 11-Feb-2008 Martin Mares <[email protected]>

Fixed a bug in displaying of zlib errors.


# 6dbdb96c 11-Feb-2008 Martin Mares <[email protected]>

Avoid pointer signedness warnings.


# a2322147 27-Aug-2007 Martin Mares <[email protected]>

When calling gzopen(), use "rb" file mode instead of "r".


# a3d33b94 13-Feb-2007 Martin Mares <[email protected]>

The first try at using DNS for resolving ID's.


# 1ac3a99d 06-Feb-2007 Martin Mares <[email protected]>

Get rid of bzero().


# cc062b4a 09-Sep-2006 Martin Mares <[email protected]>

Added support for compressed pci.ids.


# afebde01 09-Sep-2006 Martin Mares <[email protected]>

Cleaned up usage of `char' and `byte'.


# c72eedde 03-Jun-2006 Martin Mares <[email protected]>

Better displaying of unknown subclasses.


# a42c0dad 03-Jun-2006 Martin Mares <[email protected]>

Fixed formatting of programming interfaces.


# bc2eed2d 03-Jun-2006 Martin Mares <[email protected]>

Introduced the -nn switch.


# c07f9966 10-Sep-2005 Martin Mares <[email protected]>

Hotfix

git-archimport-id: [email protected]/pciutils--main--2.2--patch-82


# aeaca5d3 10-Sep-2005 Martin Mares <[email protected]>

New names.c

git-archimport-id: [email protected]/pciutils--main--2.2--patch-79


# a85769a8 26-Dec-2003 Martin Mares <[email protected]>

Removed $Id$

Removed CVS $Id$ tags from all files.
git-archimport-id: [email protected]/pciutils--main--2.2--patch-3


# ab90adc2 05-May-2006 Martin Mares <[email protected]>

Gluing CVS and TLA history: A bug fix which wasn't tracked.


# a27a33dd 30-Mar-2002 Martin Mares <[email protected]>

Changed all my email addresses to [email protected].


12