Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
History for libpkg/private/pkg_printf.h  ·  View all commits
45 commits
S
Merge remote-tracking branch 'upstream/main'
Shawn Webb
7 days ago 920c183
B
(r)query: if %{ is encountered fallback on using directly pkg_printf(3)
Baptiste Daroussin
19 days ago 5a0342c
B
options: remove %Od and %OD they where never used and populated
Baptiste Daroussin
22 days ago 903337f
S
Merge commit '2d18505bf79a2eb87e2e72bbc3e30b0cf7f6b15c'
Shawn Webb
4 months ago eacbab2
s
pkgdb: track mtime in pkgdb
strssndktn
7 months ago 08bf9b3
s
pkgdb: track uname, gname, permissions and fflags in pkgdb
strssndktn
7 months ago 699f92e
S
Merge commit '74fd3389a4ee2611603ee8658d2f3b4182ace73e'
Shawn Webb
5 years ago b759c48
B
more removal of utstring
Baptiste Daroussin
5 years ago 43d9ef4
B
pkg_printf: migrate to open_memstream
Baptiste Daroussin
5 years ago a61a302
S
Merge remote-tracking branch 'upstream/master'
Shawn Webb
5 years ago d871ad5
E
query: Add %X to get the internal checksum of the package
Emmanuel Vadot
5 years ago 366e2df
B
Add %Q to print altabi
Baptiste Daroussin
8 years ago ed56055
B
Merge pull request #1515 from ThomasAdam/ta/compilation-fixes
Baptiste Daroussin
9 years ago b31cda9
T
Remove unused functions
Thomas Adam
9 years ago d3fc095
B
Replace libsbuf with utstring.h to improve portability
Baptiste Daroussin
9 years ago f93c045
B
Include bsd_compat.h for __unused
Baptiste Daroussin
10 years ago 5c72729
B
Remove never used uidstr/gidstr
Baptiste Daroussin
10 years ago d7d8ada
B
Add %Y and %Y in pkg_printf to show provides/requires
Baptiste Daroussin
11 years ago 7dbe817
M
Add new %x code for pkgsize (size of package tarball)
Matthew Seaman
11 years ago f3ae28c
B
Garbage collect now no-op code
Baptiste Daroussin
11 years ago f0b1fae
M
Merge branch 'master' into indexfile
Matthew Seaman
12 years ago 669b695
V
Use short checksum for files in cache.
Vsevolod Stakhov
12 years ago e624257
V
Merge branch 'master' into gsoc
Vsevolod Stakhov
12 years ago 8d30157
M
Add new %Od and %OD pkg_printf() format codes for option default value and option description, respectively.
Matthew Seaman
12 years ago efbb19d
V
Another try to fix va_args problem.
Vsevolod Stakhov
12 years ago 7f554bc
V
Fix va_args usage in pkg_printf.
Vsevolod Stakhov
12 years ago 56df3be
M
Merge branch 'pkg_printf'
Matthew Seaman
12 years ago 96a2e4e
M
Actually, change %N to produce the repo identity -- the tag that is used in pkg.conf(5) -- rather than repo name: the basename of the sqlite file and the name the database is mounted as (which is properly of interest only to the inernals of pkg, and not what we want pkg query etc. to display).
Matthew Seaman
12 years ago 2306132
M
Add new %N pkg_printf() escape: Repository name, plus doccumentation and testing for the same.
Matthew Seaman
12 years ago bfba1d1
M
Add three new pkg_printf() formats:
Matthew Seaman
12 years ago 6abc372
M
Add a %q format -- package architecture
Matthew Seaman
12 years ago 10676e0
M
Add %S as a new format code to print arbitrary character strings.
Matthew Seaman
12 years ago 2761e8a
M
Nuke PKG_INFOS from orbit (it's the only way to be sure.)
Matthew Seaman
12 years ago 8938697
M
Reformat the fmt[] array
Matthew Seaman
12 years ago cdf6e4c
M
Add %e -- package description
Matthew Seaman
12 years ago 8c2ef59
M
Move alloc() / free() of struct percent_esc * up a level in the function call tree -- reduce the number of alloc()/free() cycles.
Matthew Seaman
12 years ago a48421c
M
Initialise struct pkg_foo *foo properly so that the pkg_foo iterator works correctly.
Matthew Seaman
12 years ago bd94d38
M
Add support for %A -- Annotations -- to pkg_printf
Matthew Seaman
12 years ago 7de5f47
M
Fix pkg_printf to work with shlibs required/provided
Matthew Seaman
12 years ago a4809d5
M
Reorder pp_fmt_t so that multi-character codes come before single characters. This allows multi-character codes to be used at the top level, and not just in format trailers.
Matthew Seaman
12 years ago d4749d3
M
Rework the %-esc parsing as a consequence of shortcomings exposed by work on testing
Matthew Seaman
12 years ago 55d2838
M
Create a liclog_val() output function (maintaining the same layering as for other output types) even though there's only one place it would get called from.
Matthew Seaman
12 years ago 2214bed
M
Implement tests of human_number()
Matthew Seaman
12 years ago d663b82
M
Add a new sub-dir under tests for pkg_printf. This pokes around in the private internals of pkg_printf, so it specially compiles pkg_printf.c using CPP trickery to make all the static functions in there extern. This means it has to be a separate binary from the tests in ../lib
Matthew Seaman
12 years ago 0fc9a5d
M
Split out the typedefs and function prototypes into a new private/pkg_printf.h header. This is to support linking against a test program so that testing can exercise the pkg_printf internals.
Matthew Seaman
12 years ago 1b34f58