Port details |
- tllist C header file only implementation of a typed linked list
- 1.1.0 devel =3 1.1.0Version of this port present on the latest quarterly branch.
- Maintainer: jbeich@FreeBSD.org
- Port Added: 2020-05-21 21:47:02
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: qtkeychain-qt5, py39-treq, py311-Automat, linux-c7-atk, py39-beautifulsoup
- License: MIT
- WWW:
- https://codeberg.org/dnkl/tllist
- Description:
- Most C implementations of linked list are untyped. That is, their data carriers
are typically void *. This is error prone since your compiler will not be able
to help you correct your mistakes (oh, was it a pointer-to-a-pointer... I
thought it was just a pointer...).
tllist addresses this by using pre-processor macros to implement dynamic types,
where the data carrier is typed to whatever you want; both primitive data types
are supported as well as aggregated ones such as structs, enums and unions.
Being a double-linked list, most operations are constant in time (including
pushing and popping both to/from front and back).
The memory overhead is fairly small; each item carries, besides its data, a
prev and next pointer (i.e. a constant 16 byte overhead per item on 64-bit
architectures).
The list itself has two head and tail pointers, plus a length variable
(typically 8 bytes on 64-bit architectures) to make list length lookup constant
in time.
Thus, assuming 64-bit pointers (and a 64-bit size_t type), the total overhead
is 3*8 + n*2*8 bytes.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/devel/tllist/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/tllist
- pkg install tllist
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: tllist
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1659856913
SHA256 (tllist-1.1.0.tar.gz) = 0e7b7094a02550dd80b7243bcffc3671550b0f1d8ba625e4dff52517827d5d23
SIZE (tllist-1.1.0.tar.gz) = 7639
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- meson>=0.57.1_1 : devel/meson
- ninja : devel/ninja
- This port is required by:
- for Build
-
- x11/dwlb
- x11/fnott
- x11/foot
- x11/fuzzel
- x11/sandbar
- x11-fonts/fcft
Configuration Options:
- No options to configure
- Options name:
- devel_tllist
- USES:
- meson
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 10
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.1.0 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.1.0 07 Aug 2022 16:29:46 |
Jan Beich (jbeich) |
devel/tllist: update to 1.1.0
Changes: https://codeberg.org/dnkl/tllist/releases/tag/1.1.0
Reported by: upstream (via email) |
1.0.5 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
1.0.5 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.0.5 07 Feb 2021 22:37:20 |
jbeich |
devel/tllist: update to 1.0.5
Changes: https://codeberg.org/dnkl/tllist/releases/tag/1.0.5
Reported by: Repology |
1.0.4 20 Dec 2020 18:34:38 |
jbeich |
devel/tllist: update to 1.0.4
- Take maintainership
- Make distfile more unique
- Define LICENSE_FILE
- Allow GNU extensions to C99 for better compatibility
- Remove excessive newlines
- Simplify PLIST_FILES via PORTNAME
Changes: https://codeberg.org/dnkl/tllist/releases/tag/1.0.3
Changes: https://codeberg.org/dnkl/tllist/releases/tag/1.0.4
PR: 251998
Approved by: Alexander Sieg <ports@xanderio.de> (previous maintainer) |
1.0.2 07 Aug 2020 11:27:31 |
fernape |
devel/tllist: update to 1.0.2
From ChangeLog: https://codeberg.org/dnkl/tllist/releases/tag/1.0.2
* LICENSE and README.md are now installed to ${datadir}/doc/tllist
* PKBUILD now indicates support for aarch64
* Bad year in LICENSE fixed
PR: 248406
Submitted by: ports@xanderio.de (maintainer) |
1.0.0 22 May 2020 00:07:06 |
linimon |
Add USE_CSTD=c99 to fix build on GCC-based systems:
./test.c:44: error: 'for' loop initial declaration used outside C99 mode |
1.0.0 21 May 2020 21:46:56 |
salvadore |
Most C implementations of linked list are untyped. That is, their data carriers
are typically void *. This is error prone since your compiler will not be able
to help you correct your mistakes (oh, was it a pointer-to-a-pointer... I
thought it was just a pointer...).
tllist addresses this by using pre-processor macros to implement dynamic types,
where the data carrier is typed to whatever you want; both primitive data types
are supported as well as aggregated ones such as structs, enums and unions.
Being a double-linked list, most operations are constant in time (including
pushing and popping both to/from front and back).
The memory overhead is fairly small; each item carries, besides its data, a
prev and next pointer (i.e. a constant 16 byte overhead per item on 64-bit
architectures). (Only the first 15 lines of the commit message are shown above ) |
Number of commits found: 10
|