Skip to content

Commit 06d6402

Browse files
committed
Commit #144
1 parent 6f6115d commit 06d6402

File tree

138 files changed

+1733
-1166
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+1733
-1166
lines changed

ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ Change Log {#changelog}
22
=======================
33

44

5+
## 1.14.2 -- 2020-09-24
6+
7+
Changes:
8+
9+
* Improved re-implementation of `stdbool.h` in case of `--with-io-api=nolibc`
10+
* Documentation
11+
* Examples
12+
* General package maintenance
13+
14+
515
## 1.14.1 -- 2020-05-11
616

717
Changes:

Makefile.am

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dist_doc_DATA = \
3131
AUTHORS \
3232
COPYING
3333

34-
OPTINSTALL =
34+
_am_installalso_ =
3535

3636
_examples_insthook_ =
3737

@@ -66,6 +66,7 @@ dist_examplesinifiles_DATA = \
6666
examples/ini_files/bad_ini.conf \
6767
examples/ini_files/delivery.conf \
6868
examples/ini_files/extreme_ini.conf \
69+
examples/ini_files/log.ini \
6970
examples/ini_files/hash_table.conf \
7071
examples/ini_files/pacman.conf \
7172
examples/ini_files/self_explaining.conf \
@@ -76,6 +77,7 @@ dist_examplesinifiles_DATA = \
7677
examplesmiscdir = $(examplesdir)/miscellanea
7778
dist_examplesmisc_DATA = \
7879
examples/miscellanea/colon_as_delimiter.c \
80+
examples/miscellanea/cplusplus.cpp \
7981
examples/miscellanea/disambiguate.c \
8082
examples/miscellanea/dispatch_everything.c \
8183
examples/miscellanea/glib_hash_table.c \
@@ -125,7 +127,7 @@ endif WANT_EXAMPLES
125127

126128
if WANT_HTML
127129

128-
OPTINSTALL += \
130+
_am_installalso_ += \
129131
install-html;
130132

131133
endif WANT_HTML
@@ -224,6 +226,10 @@ RUNJOB = $(INSTALLFLAVOR)
224226
# Sandbox default path (one word only allowed)
225227
SANDBOX = volatile
226228

229+
GITFLAGS = \
230+
--quiet \
231+
--progress
232+
227233

228234
###############################################################################
229235
## R E C I P E S P A R T I : D E V E L O P M E N T A N D U S A G E
@@ -237,7 +243,7 @@ install-html-local: $(srcdir)/docs/html $(srcdir)/docs/index.html
237243
$(INSTALL_DATA) {} '$(DESTDIR)$(htmldir)/{}' \;) && mv \
238244
'$(DESTDIR)$(htmldir)/html' '$(DESTDIR)$(htmldir)/htmldoc';
239245

240-
install-data-local: $(OPTINSTALL)
246+
install-data-local: $(_am_installalso_)
241247

242248
install-data-hook:
243249
$(_examples_insthook_)
@@ -413,7 +419,8 @@ CLEANFILES += \
413419
echo; } 1>&2; exit 2; fi; case ' $(APPROVE) ' in *' revision '*) \
414420
$(MKDIR_P) 'no-dist/.archived'; mv '$(rvdir)/$(nonportfile)' \
415421
'$@'; rmdir '$(rvdir)' 2> /dev/null || :; echo \
416-
'User'\''s revision has been accepted.'; ;; *) { echo; echo \
422+
'User'\''s revision has been accepted. To undo this, launch `$(MAKE) reject-revision`.'; \
423+
;; *) { echo; echo \
417424
'There are pending revisions. Please revise the content of the `$(rvdir)`'; \
418425
echo \
419426
'subdirectory, then launch `$(MAKE) approve-revision` after you are done.'; \
@@ -535,9 +542,10 @@ sandbox-dist sandbox-distdir: sandbox-erase
535542

536543
.PHONY: sandbox-source-release
537544
sandbox-source-release: sandbox-dist
538-
@for _FILE in $$(cd '$(SANDBOX)' && $(FIND) -L . ! -name '.'); do ! \
539-
test -L '$(srcdir)/'"$${_FILE}" || (rm -rf '$(SANDBOX)/'"$${_FILE}" \
540-
&& cp -d '$(srcdir)/'"$${_FILE}" '$(SANDBOX)/'"$${_FILE}"); done;
545+
@case ' $(DISTFLAGS) ' in *' no-symlinks '*) : ;; *) for _FILE in \
546+
$$(cd '$(SANDBOX)' && $(FIND) -L . ! -name '.'); do ! test -L \
547+
'$(srcdir)/'"$${_FILE}" || (rm -rf '$(SANDBOX)/'"$${_FILE}" && cp -d \
548+
'$(srcdir)/'"$${_FILE}" '$(SANDBOX)/'"$${_FILE}"); done ;; esac;
541549

542550
.PHONY: sandbox-authors-copy
543551
sandbox-authors-copy: sandbox-source-release
@@ -556,7 +564,7 @@ sandbox-snapshot:
556564

557565
.PHONY: sandbox-git-clone
558566
sandbox-git-clone: sandbox-erase
559-
@git clone --quiet --progress \
567+
@git clone $(GITFLAGS) \
560568
'@GIT_HTTP_SERVER@/@PUBLISHER_ID@/@[email protected]' '$(SANDBOX)';
561569

562570
# Non-phony targets with names editable on the fly (mostly `Makefile` glue, but
@@ -730,7 +738,7 @@ snapshot:
730738
@if test 'x$(DEST)' != x; then rm -rf '$(DEST)' && $(MAKE) "$$(expr \
731739
'BAKPATH=$(DEST)' : '\(.*\)\($(_re_archive_allow_)\)' || \
732740
echo BAKPATH='$(DEST)')" '$(DEST)'; else \
733-
_STAMP="$$(date '+%Y-%m-%d-%H.%M.%S')" && rm -rf \
741+
_STAMP="$$(date '+%Y-%m-%d-%H-%M-%S')" && rm -rf \
734742
'$(BAKPATH)-'"$${_STAMP}"'.$(ZIPTYPE)' && $(MAKE) \
735743
BAKPATH='$(BAKPATH)-'"$${_STAMP}" \
736744
'$(BAKPATH)-'"$${_STAMP}"'.$(ZIPTYPE)'; fi;

README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ simple to use.
1919

2020
With **libconfini** you will find in INI files the same serialization power you
2121
would normally find in other heavily structured formats (such as JSON, YAML,
22-
TOML), but with the advantage of using the most human-readable configuration
22+
TOML), but with the advantage of using the most human-friendly configuration
2323
format ever invented (thanks to their informal status, INI files are indeed
24-
more fluid, expressive and human-readable than formats explicitly designed with
24+
more fluid, expressive and human-friendly than formats explicitly designed with
2525
the same purpose, such as YAML and TOML). The library's main goal is to be
2626
uncommonly powerful in the most tedious and error-prone task when parsing a
2727
text file in C: string handling. Thanks to this the the programmer is left free

autostuff/chunks/revision-warning.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
ever revised this content, although someone should have. If you are instead
66
that human appointed to review this code before it is pasted to the public
77
header, please remove this text.
8+
89
If a "standard" header providing these objects is available for your
910
platform, please replace the entire section below with the following
1011
content:

autostuff/doxygen/doxyfile.conf

Lines changed: 46 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Doxyfile 1.8.17
1+
# Doxyfile 1.8.20
22

33
# This file describes the settings to be used by the documentation system
44
# doxygen (www.doxygen.org) for a project.
@@ -227,6 +227,14 @@ QT_AUTOBRIEF = NO
227227

228228
MULTILINE_CPP_IS_BRIEF = NO
229229

230+
# By default Python docstrings are displayed as preformatted text and doxygen's
231+
# special commands cannot be used. By setting PYTHON_DOCSTRING to NO the
232+
# doxygen's special commands can be used and the contents of the docstring
233+
# documentation blocks is shown as doxygen documentation.
234+
# The default value is: YES.
235+
236+
PYTHON_DOCSTRING = YES
237+
230238
# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
231239
# documentation from any documented member that it re-implements.
232240
# The default value is: YES.
@@ -266,12 +274,6 @@ ALIASES = "startfnlist=\page fnoverview ^^<dl>" \
266274
"utility{1}=\page fnoverview ^^<dt>`\1()`</dt><dd>\copybrief \1 </dd>" \
267275
"alias{1}=\utility{\1}^^^^\var \1^^\brief "
268276

269-
# This tag can be used to specify a number of word-keyword mappings (TCL only).
270-
# A mapping has the form "name=value". For example adding "class=itcl::class"
271-
# will allow you to use the command class in the itcl::class meaning.
272-
273-
TCL_SUBST =
274-
275277
# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
276278
# only. Doxygen will then generate output that is more tailored for C. For
277279
# instance, some of the names that are used will be different. The list of all
@@ -313,13 +315,13 @@ OPTIMIZE_OUTPUT_SLICE = NO
313315
# extension. Doxygen has a built-in mapping, but you can override or extend it
314316
# using this tag. The format is ext=language, where ext is a file extension, and
315317
# language is one of the parsers supported by doxygen: IDL, Java, JavaScript,
316-
# Csharp (C#), C, C++, D, PHP, md (Markdown), Objective-C, Python, Slice,
318+
# Csharp (C#), C, C++, D, PHP, md (Markdown), Objective-C, Python, Slice, VHDL,
317319
# Fortran (fixed format Fortran: FortranFixed, free formatted Fortran:
318320
# FortranFree, unknown formatted Fortran: Fortran. In the later case the parser
319321
# tries to guess whether the code is fixed or free formatted code, this is the
320-
# default for Fortran type files), VHDL, tcl. For instance to make doxygen treat
321-
# .inc files as Fortran files (default is PHP), and .f files as C (default is
322-
# Fortran), use: inc=Fortran f=C.
322+
# default for Fortran type files). For instance to make doxygen treat .inc files
323+
# as Fortran files (default is PHP), and .f files as C (default is Fortran),
324+
# use: inc=Fortran f=C.
323325
#
324326
# Note: For files without extension you can use no_extension as a placeholder.
325327
#
@@ -458,6 +460,19 @@ TYPEDEF_HIDES_STRUCT = NO
458460

459461
LOOKUP_CACHE_SIZE = 0
460462

463+
# The NUM_PROC_THREADS specifies the number threads doxygen is allowed to use
464+
# during processing. When set to 0 doxygen will based this on the number of
465+
# cores available in the system. You can set it explicitly to a value larger
466+
# than 0 to get more control over the balance between CPU load and processing
467+
# speed. At this moment only the input processing can be done using multiple
468+
# threads. Since this is still an experimental feature the default is set to 1,
469+
# which efficively disables parallel processing. Please report any issues you
470+
# encounter. Generating dot graphs in parallel is controlled by the
471+
# DOT_NUM_THREADS setting.
472+
# Minimum value: 0, maximum value: 32, default value: 1.
473+
474+
NUM_PROC_THREADS = 1
475+
461476
#---------------------------------------------------------------------------
462477
# Build related configuration options
463478
#---------------------------------------------------------------------------
@@ -562,7 +577,7 @@ INTERNAL_DOCS = NO
562577
# names in lower-case letters. If set to YES, upper-case letters are also
563578
# allowed. This is useful if you have classes or files whose names only differ
564579
# in case and if your file system supports case sensitive file names. Windows
565-
# (including Cygwin) ands Mac users are advised to set this option to NO.
580+
# (including Cygwin) and Mac users are advised to set this option to NO.
566581
# The default value is: system dependent.
567582

568583
CASE_SENSE_NAMES = YES
@@ -865,7 +880,7 @@ INPUT_ENCODING = UTF-8
865880
# *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc,
866881
# *.m, *.markdown, *.md, *.mm, *.dox (to be provided as doxygen C comment),
867882
# *.doc (to be provided as doxygen C comment), *.txt (to be provided as doxygen
868-
# C comment), *.py, *.pyw, *.f90, *.f95, *.f03, *.f08, *.f, *.for, *.tcl, *.vhd,
883+
# C comment), *.py, *.pyw, *.f90, *.f95, *.f03, *.f08, *.f18, *.f, *.for, *.vhd,
869884
# *.vhdl, *.ucf, *.qsf and *.ice.
870885

871886
FILE_PATTERNS = *.c \
@@ -1389,7 +1404,7 @@ CHM_FILE =
13891404
HHC_LOCATION =
13901405

13911406
# The GENERATE_CHI flag controls if a separate .chi index file is generated
1392-
# (YES) or that it should be included in the master .chm file (NO).
1407+
# (YES) or that it should be included in the main .chm file (NO).
13931408
# The default value is: NO.
13941409
# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
13951410

@@ -1551,6 +1566,17 @@ TREEVIEW_WIDTH = 250
15511566

15521567
EXT_LINKS_IN_WINDOW = NO
15531568

1569+
# If the HTML_FORMULA_FORMAT option is set to svg, doxygen will use the pdf2svg
1570+
# tool (see https://github.com/dawbarton/pdf2svg) or inkscape (see
1571+
# https://inkscape.org) to generate formulas as SVG images instead of PNGs for
1572+
# the HTML output. These images will generally look nicer at scaled resolutions.
1573+
# Possible values are: png (the default) and svg (looks nicer but requires the
1574+
# pdf2svg or inkscape tool).
1575+
# The default value is: png.
1576+
# This tag requires that the tag GENERATE_HTML is set to YES.
1577+
1578+
HTML_FORMULA_FORMAT = png
1579+
15541580
# Use this tag to change the font size of LaTeX formulas included as images in
15551581
# the HTML documentation. When you change the font size after a successful
15561582
# doxygen run you need to manually remove any form_*.png images from the HTML
@@ -1606,7 +1632,7 @@ MATHJAX_FORMAT = HTML-CSS
16061632
# Content Delivery Network so you can quickly see the result without installing
16071633
# MathJax. However, it is strongly recommended to install a local copy of
16081634
# MathJax from https://www.mathjax.org before deployment.
1609-
# The default value is: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/.
1635+
# The default value is: https://cdn.jsdelivr.net/npm/mathjax@2.
16101636
# This tag requires that the tag USE_MATHJAX is set to YES.
16111637

16121638
MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
@@ -1845,9 +1871,11 @@ LATEX_EXTRA_FILES =
18451871

18461872
PDF_HYPERLINKS = YES
18471873

1848-
# If the USE_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate
1849-
# the PDF file directly from the LaTeX files. Set this option to YES, to get a
1850-
# higher quality PDF documentation.
1874+
# If the USE_PDFLATEX tag is set to YES, doxygen will use the engine as
1875+
# specified with LATEX_CMD_NAME to generate the PDF file directly from the LaTeX
1876+
# files. Set this option to YES, to get a higher quality PDF documentation.
1877+
#
1878+
# See also section LATEX_CMD_NAME for selecting the engine.
18511879
# The default value is: YES.
18521880
# This tag requires that the tag GENERATE_LATEX is set to YES.
18531881

autostuff/doxygen/dpi.dox

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ Here follows the list of public functions available with **libconfini**. Almost
3535
each of them is independent, therefore if you are compiling the library you may
3636
decide to remove the functions listed below from the code according to your
3737
needs, with the only exceptions of `ini_string_match_ii()`, required by
38-
`ini_array_match()`, and `strip_ini_cache()`, required by both
39-
`load_ini_file()` and `load_ini_path()`.
38+
`ini_array_match()` (you could still remove both though), and
39+
`strip_ini_cache()`, required by both `load_ini_file()` and `load_ini_path()`
40+
(you could remove these three functions altogether as well, but you would make
41+
the library virtually useless).
4042

4143

4244

autostuff/m4/not-autotools.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ AC_DEFUN_ONCE([NC_CONFIG_SHADOW_DIR], [
315315
changes only and not on the state of this machine; possible values
316316
for MODE are: omitted or "yes" or "merge" for updating these files
317317
immediately, "sandbox" for safely putting their updated version
318-
into the ]m4_quote(NC_CONFNEW_SUBDIR)[ directory without modifying
318+
into the `]m4_quote(NC_CONFNEW_SUBDIR)[` directory without modifying
319319
the package tree, or "no" for doing nothing @<:@default=no@:>@])],
320320
[AS_IF([test "x${enableval}" = x -o "x${enableval}" = xyes],
321321
[AS_VAR_SET([enable_extended_config], ['merge'])],

0 commit comments

Comments
 (0)