Age | Commit message (Collapse) | Author |
|
Pubsub events are not supposed to have their own subsystems; they're
supposed to be part of a parent subsystem.
|
|
This code was in our process module, but it doesn't belong there:
process is for launching and monitoring subprocesses, not for
hardening the current process.
This change lets us have our subsystem init order more closely match
our dependency order.
|
|
|
|
lib/log no longer uses lib/thread; lib/log only uses lib/lock, which
is at a lower level.
|
|
|
|
Fixes bug 32778; bugfix on 0.4.1.1-alpha.
|
|
This reverts commit 5c240db0bf7751d74ba438a1ca4ef0d051a53df7.
|
|
|
|
|
|
When we made these functions exist unconditionally (as macros on
non-windows platforms), we started to get a dead-code warning on
Coverity. We now use a macro to tell coverity not to worry about
this particular dead-code instance.
|
|
|
|
Closes ticket 32137.
|
|
|
|
This lets us simplify main.c a little, and avoid a practracker
exception.
Followup from #32883.
|
|
Followup for #32883.
|
|
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.
|