Vinnie Falco
4f1d1d2a8a
Reorganize source file hierarchy:
...
* Rename unity files
* Move some modules to new subdirectories
* Remove obsolete Visual Studio project files
* Remove obsolete coding style and TODO list
2014-06-03 21:43:59 -07:00
Vinnie Falco
560071bb68
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
5db677d74d
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
Tom Swirly
390ea65e15
Refactor RippleCalc.cpp:
...
* Add comments
* Restrict code to 80 colums
* Remove boost::format
* Remove BOOST_FOREACH
* Make members private
* Add ripple_unordered_set to UnorderedContainers.h
* Replace boost::unordered_set with ripple::unordered_set
2014-05-09 12:03:57 -07:00
Howard Hinnant
6596c94eb9
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
b2d97703c6
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
a865149c65
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
3cb3e5273f
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
Howard Hinnant
cad50c68a8
General tidy and refactoring:
...
* Use nullptr (C++11) instead of NULL.
* Put each file into its own namespace declaration.
* Remove "using namespace" directives and add scope qualifiers.
* Control when beast's implementation of std::equal (C++14) is used.
* Tidy up some const declarations.
Conflicts:
src/ripple_app/shamap/SHAMapSync.cpp
src/ripple_app/tx/TransactionEngine.cpp
2014-03-19 13:42:01 -07:00
Vinnie Falco
c2fd1215f5
Refactor beast::asio:
...
* New tools for completion handlers:
- wrap_handler provides composed io_service execution guarantees.
- bind_handler rebinds arguments to handlers.
- shared_handler type-erases any completion handler.
- buffer_sequence type-erases templated BufferSequences
- abstract_socket replaces Socket
- socket_wrapper replaces SocketWrapper
- beast::asio placeholders to work with std::bind
* Removed obsolete classes and functions
- AbstractHandler
- ComposedAsyncOperation
- SharedFunction
- SharedHandler
- SharedHandlerAllocator
- SharedHandlerPtr
- SharedHandlerType
- SocketBase
- SocketWrapperStrand
- wrapHandler
* Refactored classes to use new tools
- abstract_socket
- socket_wrapper
- HandshakeDetector
- HttpClientType
* Miscellanous tidying
- socket classes moved to beast::asio namespace
- beast asio files provide their own namespace declaration.
- Fix IsCallPossible conflicting template parameter name
- Use <boost/get_pointer.hpp> for C++11 compatibility.
- Remove extraneous include path from build environment.
2014-03-14 08:03:48 -07:00
Nik Bougalis
28c7827f14
Calculate program file directories:
...
* Determine location of database files in Config
* Inject database directory or file path in PeerFinder and Validators
* PeerFinder and Validators will share the same sqlite file
2014-03-01 11:53:57 -08:00
Vinnie Falco
9b657ba224
Refactor RPC module:
...
* Move JsonPropertyStream to ripple_json
* Remove unused RPC service manager
* Recreate RPC module in app code area
* Add RPC::Manager
* Add DoPrint handler
2014-02-06 18:21:08 -08:00
Vinnie Falco
580d179dd0
Tidy up Validators logging
2014-01-29 07:53:27 -08:00
Vinnie Falco
087301933a
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
19d4bf0ea5
Add README and tidy up comments
2013-11-15 11:29:45 -08:00
Vinnie Falco
9e519af887
Add missing README and TODO for all new modules
2013-11-15 11:27:26 -08:00
Vinnie Falco
d4d6acdf68
Add MSVC Output window Journal config setting
...
Conflicts:
src/ripple/peerfinder/impl/Manager.cpp
src/ripple/validators/impl/Manager.cpp
2013-11-10 15:06:05 -08:00
Vinnie Falco
f859bf160a
Improve URL string conversions and ostream support
2013-10-31 08:10:06 -07:00
Vinnie Falco
5dda088335
Peerfinder work
2013-10-22 10:43:16 -07:00
Vinnie Falco
3dc646e03e
Use serialized Context wrapper in Validators
2013-10-22 10:43:14 -07:00
Vinnie Falco
3b2ead3476
Turn off console output for msvc logic and managers
2013-10-18 16:29:13 -07:00
Vinnie Falco
fb6ecebbd1
Add PropertyStream for server state introspection
2013-10-07 14:00:03 -07:00
Vinnie Falco
ab0548c9af
Fix std::size_t integer ambiguity
2013-10-06 18:33:15 -07:00
Vinnie Falco
4868bc4df7
Validators PropertyStream support
2013-10-06 18:25:59 -07:00
Vinnie Falco
1ae3328642
Add PropertyStream
2013-10-06 17:30:44 -07:00
Vinnie Falco
7eacd3bf57
Add annotation for Validators
2013-10-05 12:03:51 -07:00
Vinnie Falco
bb29c8ba85
Add PeerFinder::Checker for testing endpoints
2013-10-04 23:18:27 -07:00
Vinnie Falco
90282707ab
Measure CPU utilization in ServiceQueue
2013-10-04 14:34:00 -07:00
Vinnie Falco
75f3c52d53
Validators work
2013-10-04 14:33:58 -07:00
Vinnie Falco
678c241962
Validators work
2013-10-04 14:33:57 -07:00
Vinnie Falco
a2aa938e10
Remove Journal from most Stoppable overrides
2013-10-04 14:33:57 -07:00
Vinnie Falco
48eb92e366
Validators work
2013-10-04 14:33:56 -07:00
Vinnie Falco
66a272debd
Alphabet class for base58 conversions, Validators work
2013-10-04 14:33:56 -07:00
Vinnie Falco
a1b958eaac
Validators update, add LeakChecked to Source subclasses
2013-10-03 19:03:38 -07:00
Vinnie Falco
4fe63f9f0d
PeerFinder work
2013-10-01 14:29:32 -07:00
Vinnie Falco
c82b1b1853
Validators improvements
2013-09-28 19:47:40 -07:00
Vinnie Falco
00a714d14d
Implement Stoppable for LoadManager
2013-09-28 17:40:46 -07:00
Vinnie Falco
58a8a97177
Journal console output improvements
2013-09-28 16:42:16 -07:00
Vinnie Falco
97f1b41b4d
Add more Validators journal reports
2013-09-28 15:30:02 -07:00
Vinnie Falco
8e58551475
Add Stoppable prepare and start interfaces
2013-09-28 15:30:01 -07:00
Vinnie Falco
e4fe965de0
Move RelativeTime to chrono, add ostream support
2013-09-28 15:09:12 -07:00
Vinnie Falco
6602aff53d
Update Validators for ServiceQueue
2013-09-28 15:09:10 -07:00
Vinnie Falco
7437308bab
Add AgedHistory.h
2013-09-28 15:09:07 -07:00
Vinnie Falco
d939c039f1
Added AbstractHandler, WrapHandler. HTTPClient Fixes.
2013-09-28 15:09:07 -07:00
Vinnie Falco
fcd689afbf
Update copyright notice and licenses
2013-09-25 17:27:06 -07:00
Vinnie Falco
9b22c810ef
Validators Work
...
Conflicts:
src/ripple_app/ledger/LedgerMaster.cpp
2013-09-25 11:44:05 -07:00
Vinnie Falco
426636f48d
Add SimpleIdentifier traits for non-crypto identifiers
2013-09-25 11:44:04 -07:00
Vinnie Falco
321898f71e
Add CryptoIdentifierType and RippleCryptoIdentifier Traits
2013-09-23 10:13:25 -07:00
Vinnie Falco
20b2e318eb
Reorganize beast modules and files
2013-09-23 10:13:24 -07:00
Vinnie Falco
19eff08e16
Reorganize source files and modules
2013-09-23 10:13:21 -07:00