beast cleanup and tidying:

* Replace custom types with C++11 <cstdint> types
* Fix sqlite integer intos and uses
* Fix String implicit integer constructors
* Escape the enclosing namespace in sqdb
* Replace contract checks with assert
* Make many header files compile independently
* Remove the dependence on beast_core.h in many places
* Remove unused or obsolete classes and functions
* Remove unused or obsolete macros
* Remove unused network functions and files
* Remove unused or obsolete classes:
  - ChildProcess
  - HighResolutionTimer
  - InterProcessLock
  - Throw
  - TrackedMutex
  - UntrackedMutex
  - XmlDocument
  - XmlElement
This commit is contained in:
Vinnie Falco
2014-03-22 09:43:11 -07:00
parent 5eb0aa2765
commit 3fbff6e620
203 changed files with 1427 additions and 7889 deletions

View File

@@ -157,18 +157,12 @@
#include "text/StringArray.cpp"
#include "text/StringPairArray.cpp"
#include "thread/impl/TrackedMutex.cpp"
#include "thread/DeadlineTimer.cpp"
#include "thread/Workers.cpp"
#include "threads/ChildProcess.cpp"
#include "time/AtExitHook.cpp"
#include "time/Time.cpp"
#include "xml/XmlDocument.cpp"
#include "xml/XmlElement.cpp"
#if BEAST_MAC || BEAST_IOS
#include "native/osx_ObjCHelpers.h"
#endif
@@ -183,7 +177,6 @@
#if BEAST_MAC || BEAST_IOS
#include "native/mac_Files.mm"
#include "native/mac_Network.mm"
#include "native/mac_Strings.mm"
#include "native/mac_SystemStats.mm"
#include "native/mac_Threads.mm"
@@ -191,34 +184,28 @@
#elif BEAST_WINDOWS
#include "native/win32_ComSmartPtr.h"
#include "native/win32_Files.cpp"
#include "native/win32_Network.cpp"
#include "native/win32_Registry.cpp"
#include "native/win32_SystemStats.cpp"
#include "native/win32_Threads.cpp"
#elif BEAST_LINUX
#include "native/linux_Files.cpp"
#include "native/linux_Network.cpp"
#include "native/linux_SystemStats.cpp"
#include "native/linux_Threads.cpp"
#elif BEAST_BSD
#include "native/bsd_Files.cpp"
#include "native/bsd_Network.cpp"
#include "native/bsd_SystemStats.cpp"
#include "native/bsd_Threads.cpp"
#elif BEAST_ANDROID
#include "native/android_Files.cpp"
#include "native/android_Misc.cpp"
#include "native/android_Network.cpp"
#include "native/android_SystemStats.cpp"
#include "native/android_Threads.cpp"
#endif
#include "threads/HighResolutionTimer.cpp"
// Has to be outside the beast namespace
extern "C" {
void beast_reportFatalError (char const* message, char const* fileName, int lineNumber)