Vinnie Falco
3fbff6e620
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
2014-03-23 15:23:55 -07:00
Vinnie Falco
18486169b3
Change to the treatment of BeastConfig.h
...
* No longer requires its own compiler include path
* Includes use relative paths to locate the file
* Client applications include the file themselves
* Inclusion of BeastConfig.h can be controlled via preprocessor directive
2014-03-19 13:42:04 -07:00
Vinnie Falco
d4a5c0353d
beast, beast::asio improvements and fixes:
...
* New maybe_const_t alias for maybe_const
* New asio::enable_wait_for_async for safe cleanup
* New asio::memory_buffer, a managed boost::asio compatible buffer
* shared_handler improvements:
- Can be 'empty' (no stored handler).
- Default constructible as 'empty'.
- Safe evaluation in bool contexts, false==empty
* Fix is_call_possible metafunction:
- Works on empty argument lists
- Works with reference types
* Replace SafeBool idiom with C++11 explicit operator bool
* Move IPAddress function definitions to the header
* Move cyclic_iterator to container/
* Remove unused BufferType
* Remove obsolete classes:
- NamedPipe
- ReadWriteLock
- ScopedReadLock
- ScopedWriteLock
- LockGuard
2014-03-17 17:40:55 -07:00
Vinnie Falco
496b337b27
General refactoring, using C++11
...
* Remove broken RecycledObjectPool
* Fix beast::ServiceQueue using List instead of LockFreeStack
* Add class semaphore, fixes broken Semaphore
* Move crytpo module files to new beast directory
* Use c++11 replacements for boost and beast types:
- std::atomic instead of beast::Atomic
- std::function instead of boost::function, beast::function
- std::unique_ptr instead of beast::ScopedPointer
- std::shared_ptr instead of boost::shared_ptr
* Remove modules:
- beast_db
- beast_crypto
- beast_extras
* Remove unnecessary classes:
- AbstractFifo
- AddConst
- AtomicCounter
- AtomicFlag
- AtomicPointer
- AtomicState
- CopyConst
- Expression
- ForwardList
- IfCond
- Interval
- IntrusiveArray
- KeyvaDB
- PointerToOther
- PointerTraits
- RemoveConst
- RemoveConstVolatile
- RemoveReference
- RemoveVolatile
- SharedObjectArray
- SingleThreadedSharedObject
- SophiaDB factory
- SortedSet
- WeakReference
- beast::unique_ptr
2014-01-07 15:57:45 -08:00
Vinnie Falco
6c7f5d093c
Move many Thread related classes
2013-10-04 14:34:01 -07:00
Vinnie Falco
228b664ecf
Remove obsolete beast container classes
2013-10-03 18:36:53 -07:00
Vinnie Falco
55447b05ac
New SharedSingleton, resolves destruction of objects with static storage duration.
2013-09-12 05:38:39 -07:00
Vinnie Falco
81e5b59060
Update TODO Files
2013-09-02 18:03:44 -07:00
Vinnie Falco
5e3548fc00
Add fatal_require and improved FatalError reporting interfaces
2013-08-07 15:16:35 -07:00
Vinnie Falco
66b96b90d5
Generate a fatal error if a running Thread object is destroyed
2013-08-07 15:16:33 -07:00
Vinnie Falco
a937b97a61
Add FatalError
2013-07-30 21:05:11 -07:00
Vinnie Falco
2e402ba654
Add lexicalCast
2013-07-28 21:27:04 -07:00
Vinnie Falco
b9290acb85
Update TODO
2013-07-28 14:58:20 -07:00
Vinnie Falco
cb47146b3b
Add classes ProtectedCall and Main
2013-07-28 14:58:19 -07:00
Vinnie Falco
7266111b68
Generalize swapWithArray
...
Conflicts:
Subtrees/beast/TODO.txt
2013-07-27 11:00:21 -07:00
Vinnie Falco
810954014b
Add hardened HashFunction to UnsignedInteger
2013-07-27 10:47:32 -07:00
Vinnie Falco
67f22e602e
Update TODO
2013-07-24 11:51:39 -07:00
Vinnie Falco
c50fc88827
Update TODO
2013-07-24 11:47:42 -07:00
Vinnie Falco
66c5b4ed01
Add identity import tests to NodeStoreTests
2013-07-21 14:02:23 -07:00
Vinnie Falco
dc52a31814
Add RecycledObjectPool
2013-07-21 12:54:14 -07:00
Vinnie Falco
e2fd51c282
Assert on type size invariant
2013-07-21 12:54:05 -07:00
Vinnie Falco
932bc382dc
Update TODO
2013-07-10 09:51:29 -07:00
Vinnie Falco
bdfb19fe38
Add DeadlineTimer class
2013-07-10 09:51:28 -07:00
Vinnie Falco
8365ed7408
Remove ConcurrentObject and rename to SharedData
2013-07-01 09:32:08 -07:00
Vinnie Falco
75736f547a
Tidy up LeakChecked and configuration macro
2013-07-01 09:32:07 -07:00
Vinnie Falco
030c763549
Remove beast::Singleton
2013-07-01 09:32:05 -07:00
Vinnie Falco
3fea8a4202
Rename SharedSingleton and move files around
2013-07-01 09:32:05 -07:00