Vinnie Falco
ce8f56727e
Make all include paths relative to a root directory:
...
* Better include path support in the VSProject scons tool.
* Various manual fixes to include paths.
2014-06-02 09:16:28 -07:00
Vinnie Falco
4ccc380a7b
Tidy up some source filenames:
...
* Add .unity suffix to mark unity sources
* Fix some relative include paths
2014-05-27 15:23:48 -07:00
Howard Hinnant
fdfcebd1cb
Refactoring of container usage:
...
* New ripple container aliases use hardened_hash
* Use std::tuple instead of boost::tuple
* Use std unordered containers instead of boost
* Fix Destroyer for new containers
* Fix warning for fnv1a on 32-bit arch
* Validator fixes for new containers
2014-04-16 19:00:13 -07:00
Vinnie Falco
d64f5a387c
Add beast SConstruct and .travis.yml
2014-03-25 15:22:34 -07:00
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
f63cf33118
New unit_test framework:
...
* Header-only!
* No external dependencies or other beast modules
* Compilation options allow for:
- Stand-alone application to run a single test suite
- Stand-alone application to run a set of test suites
- Global suite of tests inline with the host application
- Disable test suite generation completely
* Existing tests reworked to use the new classes
2014-03-21 18:00:37 -07:00
Vinnie Falco
2d490f6e6a
beast cleaning and tidying:
...
* Consolidate small modules into one
* Remove Android-specific platform support
* Remove Chrono.h from beast_core.h
* Removed files:
- TypeTraits.h
- Utility.h
- Net.h
- Asio.h
* Remove zlib support:
- Remove inline zlib library sources
- Remove GZIPCompressorOutputStream
- Remove GZIPDecompressorInputStream
* Remove obsolete or unused classes:
- AbstractObject
- BigInteger
- BufferedInputStream
- CacheLine
- CPUMeter
- DatagramSocket
- DynamicObject
- FileLogger
- FPUFlags
- Identifier
- JSON
- LocalisedStrings
- MACAddress
- MemoryAlignment
- MemoryInputStream
- MemoryMappedFile
- NamedValueSet
- OptionalScopedPointer
- PerformanceCounter
- PropertySet
- ScopedTimeInterval
- SparseSet
- SpinDelay
- StreamingSocket
- StringPool
- SubregionStream
- Uuid
- Variant
2014-03-21 07:30:50 -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
c48b9244f2
Remove deprecated IPAddress
2014-02-22 21:33:00 -08:00
NATTSiM
c2bc7e2c30
Fix clang compile
2014-02-07 08:09:15 -08:00
Vinnie Falco
864b20565b
Refactor IP::Endpoint
2014-02-05 15:53:16 -08:00
NATTSiM
bd0f4b95ae
Fix Clang compile and link errors
2014-01-16 17:18:05 -05: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
1dfd9e3c10
IPAddress fixes and algorithm comparison functors
2013-11-30 09:21:46 -08:00
Vinnie Falco
2f656e09c6
Refactor and fix some object arithmetic comparisons
2013-11-30 06:28:29 -08:00
Vinnie Falco
bf87614fa6
Fix warning
2013-11-05 03:23:15 -08:00
Vinnie Falco
55045b5fe9
Improve hasher for IPAddress
2013-11-05 03:15:09 -08:00
Nicholas Dudfield
30648a1819
Fix IPAddress::V4::Proxy
2013-11-05 03:02:20 -08:00
Vinnie Falco
f4120635e9
Rename to IPAddress and remove unused files
2013-10-22 10:43:16 -07:00
Patrick Dehne
ac0142a49e
Use template cast
2013-10-19 15:54:02 -07:00
Vinnie Falco
67d807d8fc
Add IPEndpoint::key_equal
2013-10-05 02:41:29 -07:00
Vinnie Falco
44445ff1b8
Refactor net buffers classes
2013-10-04 14:33:55 -07:00
Vinnie Falco
b0b8660132
IPEndpoint better parsing
2013-10-01 12:25:00 -07:00
Vinnie Falco
ae551cde63
Add alternate form string parsing to IPEndpoint
2013-09-30 09:29:37 -07:00
Vinnie Falco
0e46762962
Add hasher functors for IPEndpoint
2013-09-30 09:29:36 -07:00
Vinnie Falco
7b89bf6cc7
Add FixedArray, IntrusiveArray, Crypto
2013-09-23 10:13:25 -07:00
Vinnie Falco
5c5de57290
Reorganize beast modules and files
2013-09-23 10:13:24 -07:00
Vinnie Falco
56496d8287
IPEndpoint comparisons
2013-09-22 11:51:44 -07:00
Vinnie Falco
9d9c822efb
Migrate some headers and general tidying
2013-09-22 11:51:44 -07:00
Vinnie Falco
7efb6a3ab8
Reorganize some MPL and Utility classes and files
2013-09-19 21:37:47 -07:00
Vinnie Falco
69c26a180e
Fix missing BeastConfig.h include in Net.cpp
2013-09-19 18:25:01 -07:00
Vinnie Falco
6501dea7a3
IPEndpoint parsing and tidying
2013-09-19 14:42:55 -07:00
Vinnie Falco
72fc42b60c
Move and add some template metaprogramming classes
2013-09-19 14:42:54 -07:00
Vinnie Falco
2a164f0165
Change filname capitalization (end)
2013-09-19 14:42:54 -07:00
Vinnie Falco
6a14f251ba
Change filename capitalization
2013-09-19 14:42:53 -07:00
Vinnie Falco
874b5240d2
Add IPEndpoint
...
Conflicts:
src/beast/Builds/VisualStudio2012/beast.vcxproj.filters
2013-09-19 14:42:52 -07:00