Age | Commit message (Collapse) | Author |
|
These changes were created using the "make autostyle" from
32522, and then split into commits.
|
|
These modules are only built when the selected modules are disabled.
The provide stub implementations of the subsystem blocks. Later,
other stub implementations could move here.
Having real subsystem blocks here will let us handle disabled
configuration options better.
|
|
All of these files contain "*.h", except for:
* src/app/config/.may_include
* src/test/.may_include
which also contain "*.inc".
This change prevents includes of "*.c" files, and other
unusually named files.
Part of 32609.
|
|
|
|
Using a standard ending here will let other tools that expect
markdown understand our output here.
This commit was automatically generated with:
for fn in $(find src -name '*.dox'); do \
git mv "$fn" "${fn%.dox}.md"; \
done
|
|
This is an automatically generated commit, made with:
find src -name '*.dox' | \
xargs perl -i -ne 'print unless (m#^\s*/?\*\*/?\s*$#);'
|
|
|
|
Closes ticket 32245.
|
|
|
|
|
|
This is a comparatively simple change.
|
|
|
|
These functions are in the subsystem, not in the config_format_t,
since they are about how the format is _used_, not about _what it
is_.
|
|
The formats, when provided, are now added to the global config_mgr_t
objects.
|
|
We used to have only one boolean per subsystem, but we're about to
have a little more information.
|
|
|
|
|
|
|
|
This commit was automatically generated with:
find src -name '*.dox' |xargs perl -i -pe 's{\@dir ([^/])}{\@dir /$1};'
|
|
This includes app, core, feature, lib, and tools, but excludes
ext, test, and trunnel.
This was generated by the following shell script:
cd src
for dname in $(find lib core feature app tools -type d |grep -v \\.deps$); do
keyword="$(echo "$dname" |sed -e "s/\//_/" )"
target="${dname}/${keyword}.dox"
echo "$target"
cat <<EOF >"$target"
/**
@dir ${dname}
@brief ${dname}
**/
EOF
git add "$target"
done
|
|
This commit:
* moves relay config actions into relay_config,
* moves get_dirportfrontpage() into relay_config,
* adds thin wrappers to make the moved code compile.
No functional changes: the moved code is still enabled,
even if the relay module is disabled. (Some of the checks
are re-ordered, so the order of some warnings may change.)
Part of 32213.
|
|
If a file doesn't use the file command (either \file or @file),
Doxygen won't try to process it.
|
|
I'm about to unify the code for handling this between main.c and
config.c.
|
|
We used to have this function so that we could mark our initial
log-to-stdout as specifically temporary so that we would delete it
once regular logs were configured. But it's no longer necessary to
mark these logs as temporary, since we now use a mark-and-sweep
process to ensure that _all_ not-configured logs are closed when we
change our configuration.
Instead, this function will be the basis of a refactoring in how we
handle default logs.
|
|
|
|
|
|
Previously this was done with a big list of options in main.c which
implied "hush" or "quiet". One of these options ("--digests") no
longer existed, but we still checked for it.
Now we use the table of command-line-only arguments to set this
value.
|
|
Previously these were implemented with a search in
options_init_from_torrc(), but that led to each option being
declared more than needed: once to say that it was a valid option,
and once to say what it meant.
|
|
Previously it was stored in two outvars, but this is more
elegant. I'm going to be expanding this struct in later commits.
|
|
|
|
Part of 31615.
|
|
Merged modified lines from bug31615_041, and unmodified lines
from master.
|
|
Part of 31615.
|
|
Merged modified lines from bug31615_040, and unmodified lines
from maint-0.4.1.
|
|
These levels get out of date really easily: we'll implement a level
dump command in tor in 31614.
They also cause conflicts and inconsistencies when merging forward
level changes.
Part of 31615.
|
|
Part of #15516
Signed-off-by: David Goulet <dgoulet@torproject.org>
|
|
|
|
|
|
Note that the event base object is _not_ created from the initialize
function, since it is configuration-dependent. This will wait until
configuration is integrated into subsystems.
Closes ticket 30806.
|
|
|
|
Part of ticket 29976.
|
|
Part of ticket 29976.
|
|
The string buffer "command" is not freed if the specified account
name doesn't exist. This patch fixes this bug.
|
|
|
|
|
|
This is necessary since shutting down libevent frees some pointer
that the subsystems want to free themselves. A longer term solution
will be to turn the evloop module into a subsystem itself, but for
now it is best to do the minimal fix.
Fixes bug 30629; bugfix on 0.4.1.1-alpha.
|
|
|
|
|
|
|
|
|