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
Howard Hinnant
d580e7c694
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
a690690b53
Remove unused TextDiff
2014-03-04 07:23:53 -08:00
Vinnie Falco
5c5de57290
Reorganize beast modules and files
2013-09-23 10:13:24 -07:00
Vinnie Falco
34fffca202
Rename beast sources for consistency
2013-09-19 14:42:51 -07:00
Vinnie Falco
43e6d345e4
General beast update, fixes, optimizations, features:
...
* Clean ups, optimizations, and new File::commonDocumentsDirectory enum
* Replace sortArray with std::sort for performance
* More error tolerance in XML parser, speedups
* Refactor some byte-order mark detection code
* Add String::appendCharPointer overloads
* More XML parser optimisations and better error detection
* Misc performance tweaks
* Fixes for support of non utf8 strings
* Increased precision when storing strings in XmlElement
* Minor clean-ups
* Minor fix to XmlDocument
* Cleanups to CriticalSection and related synchronization primitives
* Fix DynamicArray unit test
2013-09-10 10:36:46 -07:00
Vinnie Falco
7a7514fa0c
Add StringPairArray::swapWith
2013-09-07 11:53:34 -07:00
Vinnie Falco
457c3262d7
Fix String from number conversions
2013-09-04 13:24:41 -07:00
Vinnie Falco
d9d291abcb
Tidy up includes and header material
2013-08-30 17:33:33 -07:00
Vinnie Falco
dd3fc7a084
Fix #ifdef for pragma
2013-08-22 18:43:55 -07:00
Vinnie Falco
c5130e3eb3
Add String::fromNumber<> template for disambiguation
2013-08-22 18:10:01 -07:00
Vinnie Falco
1f59e38dc7
Use std::ostream for double to String conversions
2013-08-10 03:12:53 -07:00
Vinnie Falco
57b2c3c2e4
Add overloaded translate() that takes CharPointer_UTF8
2013-08-01 11:36:13 -07:00
Vinnie Falco
1b55d39997
Fix integer to String conversions
2013-07-29 13:31:10 -07:00
Vinnie Falco
08ff5f02b1
Tidy up String conversions
2013-07-29 13:30:05 -07:00
Vinnie Falco
2e402ba654
Add lexicalCast
2013-07-28 21:27:04 -07:00
Vinnie Falco
f0afa04037
Fix numberToString for limit cases
2013-07-28 21:04:20 -07:00
Vinnie Falco
04fadc84a6
Rename to swapWith and use a template parameter
2013-07-28 14:58:19 -07:00
Vinnie Falco
abd3668b65
Upgrade UnitTest and provide JUnit XML output formatting
2013-07-28 02:44:26 -07:00
Vinnie Falco
d25fe19d87
Add group and run type to UnitTest
2013-07-21 12:55:47 -07:00
Vinnie Falco
312b7352b2
Run an individual unit test
2013-07-21 12:54:08 -07:00
Vinnie Falco
0008193a20
Fix gcc compile
2013-07-15 09:38:12 -07:00
Vinnie Falco
e1c176ceb7
Added StringArray::ensureStorageAllocated
2013-07-15 09:38:09 -07:00
Vinnie Falco
a1289eb502
Use template for UnitTest
2013-07-15 09:38:09 -07:00
Vinnie Falco
caa3a5d0bb
Replace calls to deprecated siginterrupt()
2013-07-10 09:51:26 -07:00
Vinnie Falco
03948cd685
Various beast cleanups
2013-07-03 10:07:46 -07:00
Vinnie Falco
ca1eda2df1
Use LeakChecked throughout Beast
2013-07-01 09:32:04 -07:00
Vinnie Falco
b658f82510
Fix for UTF32 strings
2013-06-27 11:52:09 -07:00
Vinnie Falco
b50894fa70
Fix UTF32 string creation
2013-06-27 07:23:45 -07:00
Vinnie Falco
d0a309e6da
Add beast_basics module
2013-06-17 07:09:33 -07:00
Vinnie Falco
f2d84f0a90
Add Beast fork from JUCE commit 265fb0e8ebc26e1469d6edcc68d2ca9acefeb508
2013-06-16 16:57:52 -07:00