Use traditional firebird configuration files format in all places (intl, trace, etc.).
Add per-database configuration facility to aliases.conf (currently 15 parameters from firebird.conf).
a) uncomment remapping code in acquire_shmem(), it used by Classic
b) removed silly code for synchronisation with watcher_thread during remapping. Its not needed and not worked.
c) don't set to zero m_processOffset in ~EventManager() as it could by used by busy watcher_thread delivering events
But added an assert to track an unexpected status vector contents early in debug builds.
Slightly refactored the error handling for events, partially synchronized the globals there.
Plus some basic const'ness, better tdbb scope, etc.
placed some variables in context
fixed some function signatures
closed a few possible buffer overruns
sorry to the platform maintainers, I can't verify what I did for non-Win32 builds