[PATCH 00/50] Final Sync from NYSE Technologies


Michael Schonberg <mschonberg@...>
 

From: Mike Schonberg <mschonberg@nyx.com>

This very large patch set consists of minor new features and bug fixes
introduced by NYSE Technologies as part of routine maintenance of the
current
MAMA release. Merging these changes into OpenMAMA is the final major change
required prior to introducing C++, JAVA and MAMDA.

After C++, Java and MAMDA are checked in later this month, the rhythm of
development will settle into something much more typical of open source
projects.


Mike Schonberg (50):
Ownership of message buffers
c linkage for wlock_xxx() methods
Fix timer implementation for Windows
Added WCACHEExpDLL macro for building NYSE wirecache
Make includes paths consistent
Adding new files for C++ and Windows Support
[windows] Macros for MSVC Version
[bridge] Timout for Stopping Internal Queue
[bridge] Added mamaTransport_forceClientDisconnect()
[mama] Free CM Subscription in Destroy Callback
[mama] minor datetime fixes
[mama][dqpublisher] Improved Message Handling
[mama] mamaDQPublisher_sendReplyWithHandle
[mama] Add cache and closure to dqpublisher
[mama] dqpublisher manager bug fixes
[mama] dqpublisher destroy
[mama] Configurable Schemes for data quality
[mama] Subscription: don't put invalid actions on the throttle queue
[mama] Create an Internal Transport for Monitoring
[mama] transport write queue high and low watermarks
[mama] mamaTransport_forceClientDisconnect
[mama] Change static mutexes to be recursive
[mama] Cleaup Statistics Handling in mama_close
[mama] mama.c cleanup
[mama] Add closure to mamaQueue
[mama] Do not modify attached messages
[mama] Log Messages with MAMA_MSG_STATUS_UNKNOWN
[mama] Minor Header Adjustments
[avis] Use Platform Independent UUID from Common
[avis] Fixed Compiler Warnings
[avis] Windows Changes
[avis-payload] Fixed compiler warnings
[examples] Changes for Windows
[examples] Put C examples in .../examples/c
[examples] Remove Properietary Property Entries
[mama] Renamed Methods in ft.c for Consistency
[testtools] Calling Convention for Windows Callbacks
[common] Change uuid to char* from int for Windows
[avis-payload] Correct Calling Convention for Windows
[common] Added Missing LGPL Headers
[common] Windows int MIN and MAX Definititions
[common] C Linkage for Detroy Handle
[mama] GCC 4.6.2 Support
[testtools] Renamed shutdown() method in executables
[mama] Remove msgFieldPayload from mamaMsg
[unit tests] Fixed unit tests build
[common] Moved windows/port.h to windows/wombat/port.h
[common] Removed Unnecessary Symlink to wConfig.h
[common] More Win32 Support
[unittest] Adding C Unit Tests

common/c_cpp/configure.ac | 6 +-
common/c_cpp/src/c/Makefile.am | 7 +-
common/c_cpp/src/c/destroyHandle.h | 6 +
common/c_cpp/src/c/linux/network.c | 1 +
common/c_cpp/src/c/linux/port.h | 25 +-
common/c_cpp/src/c/linux/wConfig.h | 1 +
common/c_cpp/src/c/linux/wMath.h | 32 +
common/c_cpp/src/c/linux/wUuid.h | 34 +
common/c_cpp/src/c/timers.c | 12 +-
common/c_cpp/src/c/timers.h | 12 +-
common/c_cpp/src/c/wMessageStats.c | 1021 ++++++++++++++++++++
common/c_cpp/src/c/windows/machine_win.c | 2 +-
common/c_cpp/src/c/windows/network.c | 2 +-
common/c_cpp/src/c/windows/platform.c | 2 +-
common/c_cpp/src/c/windows/port.c | 28 +-
common/c_cpp/src/c/windows/port.h | 251 -----
common/c_cpp/src/c/windows/strpcasecmp.c | 88 ++
common/c_cpp/src/c/windows/strptime.c | 376 +++++++
common/c_cpp/src/c/windows/wSemaphore.c | 2 +-
common/c_cpp/src/c/windows/wUuid.c | 69 ++
common/c_cpp/src/c/windows/wombat/port.h | 293 ++++++
common/c_cpp/src/c/windows/wombat/targetsxs.h | 29 +
common/c_cpp/src/c/windows/wombat/wConfig.h | 5 +-
common/c_cpp/src/c/windows/wombat/wMath.h | 31 +
common/c_cpp/src/c/windows/wombat/wUuid.h | 34 +
common/c_cpp/src/c/wlock.h | 8 +
common/c_cpp/src/c/wombat/environment.h | 2 +-
common/c_cpp/src/c/wombat/strutils.h | 2 +
common/c_cpp/src/c/wombat/wConfig.h | 1 -
common/c_cpp/src/c/wombat/wMessageStats.h | 210 ++++
mama/c_cpp/src/c/bridge.c | 5 +-
mama/c_cpp/src/c/bridge.h | 11 +-
mama/c_cpp/src/c/bridge/avis/Makefile.am | 2 +-
mama/c_cpp/src/c/bridge/avis/avisbridgefunctions.h | 7 +-
mama/c_cpp/src/c/bridge/avis/bridge.c | 36 +-
mama/c_cpp/src/c/bridge/avis/msg.c | 14 +-
mama/c_cpp/src/c/bridge/avis/publisher.c | 30 +-
mama/c_cpp/src/c/bridge/avis/queue.c | 20 +-
mama/c_cpp/src/c/bridge/avis/sub.c | 10 +-
mama/c_cpp/src/c/bridge/avis/subinitial.c | 26 +-
mama/c_cpp/src/c/bridge/avis/timer.c | 10 +-
mama/c_cpp/src/c/bridge/avis/transportbridge.c | 59 +-
mama/c_cpp/src/c/clientmanageresponder.c | 33 +-
mama/c_cpp/src/c/datetime.c | 155 ++--
mama/c_cpp/src/c/dqpublisher.c | 228 ++++-
mama/c_cpp/src/c/dqpublishermanager.c | 90 ++-
mama/c_cpp/src/c/dqstrategy.c | 46 +-
mama/c_cpp/src/c/dqstrategy.h | 5 +-
mama/c_cpp/src/c/ft.c | 25 +-
mama/c_cpp/src/c/listenermsgcallback.c | 144 ++--
mama/c_cpp/src/c/mama.c | 151 ++--
mama/c_cpp/src/c/mama/dqpublisher.h | 20 +
mama/c_cpp/src/c/mama/mama.h | 53 +-
mama/c_cpp/src/c/mama/queue.h | 7 +
mama/c_cpp/src/c/mama/status.h | 6 +-
mama/c_cpp/src/c/mama/subscription.h | 19 +-
mama/c_cpp/src/c/mama/transport.h | 16 +-
mama/c_cpp/src/c/mama/types.h | 9 +-
mama/c_cpp/src/c/mamainternal.h | 1 +
mama/c_cpp/src/c/middleware.c | 1 +
mama/c_cpp/src/c/msg.c | 269 ++++--
mama/c_cpp/src/c/msgfield.c | 129 ++-
mama/c_cpp/src/c/msgfieldimpl.h | 2 +-
mama/c_cpp/src/c/msgimpl.h | 3 +
mama/c_cpp/src/c/payload/avismsg/avismsgimpl.h | 1 +
mama/c_cpp/src/c/payload/avismsg/avispayload.c | 113 ++-
mama/c_cpp/src/c/payload/avismsg/avispayload.h | 5 +
mama/c_cpp/src/c/payload/avismsg/msgfield.c | 2 +-
mama/c_cpp/src/c/payloadbridge.h | 12 +-
mama/c_cpp/src/c/queue.c | 27 +-
mama/c_cpp/src/c/queueimpl.h | 6 -
mama/c_cpp/src/c/statsgenerator.c | 24 +
mama/c_cpp/src/c/statsgeneratorinternal.h | 14 +-
mama/c_cpp/src/c/status.c | 2 +-
mama/c_cpp/src/c/subscription.c | 19 +-
mama/c_cpp/src/c/transport.c | 348 +++++--
mama/c_cpp/src/c/transportimpl.h | 52 +-
mama/c_cpp/src/examples/c/Makefile.am | 2 +-
mama/c_cpp/src/examples/c/Makefile.sample | 2 +-
mama/c_cpp/src/examples/c/mamaftmemberc.c | 4 +-
mama/c_cpp/src/examples/c/mamainboxc.c | 4 +
mama/c_cpp/src/examples/c/mamalistenc.c | 1 -
mama/c_cpp/src/examples/c/mamamultisubscriberc.c | 14 +-
mama/c_cpp/src/examples/c/mamaproxyc.c | 4 +
mama/c_cpp/src/examples/c/mamapublisherc.c | 2 +-
mama/c_cpp/src/examples/mama.properties | 107 +--
mama/c_cpp/src/gunittest/c/MainUnitTestC.cpp | 20 +
mama/c_cpp/src/gunittest/c/MainUnitTestC.h | 22 +-
mama/c_cpp/src/gunittest/c/Makefile.am | 17 +-
mama/c_cpp/src/gunittest/c/datetimetest.cpp | 133 +++
mama/c_cpp/src/gunittest/c/openclose.c | 51 -
mama/c_cpp/src/gunittest/c/openclosetest.cpp | 152 +++
mama/c_cpp/src/gunittest/c/pricetest.cpp | 295 ++++++
mama/c_cpp/src/gunittest/c/subscriptiontest.cpp | 181 ++++
mama/c_cpp/src/gunittest/c/timertest.cpp | 258 +++++
.../src/testtools/capturereplay/c/Makefile.am | 2 +-
mama/c_cpp/src/testtools/load/c/Makefile.am | 2 +-
mama/c_cpp/src/testtools/load/c/mamachurnc.c | 16 +-
mama/c_cpp/src/testtools/performance/c/Makefile.am | 2 +-
.../src/testtools/performance/c/mamaconsumerc.c | 19 +-
.../src/testtools/performance/c/mamaconsumerc_v2.c | 6 +-
.../src/testtools/performance/c/mamapingpongc.c | 6 +-
.../src/testtools/performance/c/mamaproducerc_v2.c | 6 +-
103 files changed, 4997 insertions(+), 1190 deletions(-)
create mode 100644 common/c_cpp/src/c/linux/wMath.h
create mode 100644 common/c_cpp/src/c/linux/wUuid.h
create mode 100644 common/c_cpp/src/c/wMessageStats.c
delete mode 100644 common/c_cpp/src/c/windows/port.h
create mode 100644 common/c_cpp/src/c/windows/strpcasecmp.c
create mode 100644 common/c_cpp/src/c/windows/strptime.c
create mode 100644 common/c_cpp/src/c/windows/wUuid.c
create mode 100644 common/c_cpp/src/c/windows/wombat/port.h
create mode 100644 common/c_cpp/src/c/windows/wombat/wMath.h
create mode 100644 common/c_cpp/src/c/windows/wombat/wUuid.h
delete mode 120000 common/c_cpp/src/c/wombat/wConfig.h
create mode 100644 common/c_cpp/src/c/wombat/wMessageStats.h
create mode 100644 mama/c_cpp/src/gunittest/c/datetimetest.cpp
delete mode 100644 mama/c_cpp/src/gunittest/c/openclose.c
create mode 100644 mama/c_cpp/src/gunittest/c/openclosetest.cpp
create mode 100644 mama/c_cpp/src/gunittest/c/pricetest.cpp
create mode 100644 mama/c_cpp/src/gunittest/c/subscriptiontest.cpp
create mode 100644 mama/c_cpp/src/gunittest/c/timertest.cpp

--
1.7.7.6

Join Openmama-dev@lists.openmama.org to automatically receive all group messages.