madscientist
03c3be3be0
no need to strip accumulator twice
vor 4 Jahren
madscientist
06348b8104
no need to strip accumulator twice
vor 4 Jahren
adeniz
ee37106bc3
Added namespace qualifiers, built on Windows7-Prox64 with MinGW (32- and 64-bit).
vor 4 Jahren
Pete McNeil
91cd4901f6
a few more missed std::
vor 4 Jahren
Pete McNeil
79e5a8aaae
missed a std:: in histogram
vor 4 Jahren
Pete McNeil
2c3aafcc16
Cleaned up copyright notice and license -- MIT now
vor 4 Jahren
Pete McNeil
b1feb64ab9
MANGLER to Mangler - conformity
vor 4 Jahren
Pete McNeil
867e036af4
cleaned up namespace in mangler
vor 4 Jahren
Pete McNeil
89cb9a0db3
cleaned up networking namespace and linline
vor 4 Jahren
Pete McNeil
687f552466
cleaned up namespace in threading
vor 4 Jahren
Pete McNeil
e2e61c7fef
cleaned up namespace in histogram
vor 4 Jahren
Pete McNeil
b38c32f496
cleaned up namespace in onetimepad
vor 4 Jahren
Pete McNeil
bb411702d8
cleaned up namespace in timing
vor 4 Jahren
Pete McNeil
75ee8503c0
cleaned up namespace in threading
vor 4 Jahren
Pete McNeil
ac969f3fb9
cleaned up namespace in faults
vor 4 Jahren
Pete McNeil
a2632c78e3
cleaned up namespace & inline in configuration
vor 4 Jahren
Pete McNeil
38b9363df2
codedweller namespace to base64codec
vor 4 Jahren
madscientist
57459a5d9a
hash becomes mishmash and move to codedweller namespace
vor 5 Jahren
madscientist
ae144343a5
put mishmash in codedweller namespace
vor 5 Jahren
madscientist
c37e1aca74
added mishmash sources
vor 5 Jahren
Pete McNeil
1545771d25
Added MIT license text, with feeling!
vor 5 Jahren
Wombat
04f99e5690
Changed bind function to global namespace
This is to avoid conflict with std::bind introduced in C++11
vor 6 Jahren
madscientist
309315dfe8
fixed typos & missing vector header
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@112 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 8 Jahren
madscientist
36b03c855e
Fixed attribute buffer allocation for overruns and unnaturally large attributes
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@111 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 8 Jahren
madscientist
688836730d
Implemented safe CString buffer creation with a guard byte at the end.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@75 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 9 Jahren
adeniz
bc1247ab13
Remove non-source files from source directories.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@26 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 11 Jahren
madscientist
73efe78c94
Modified windows detection flags to include _WIN32 and _WIN64
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@25 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 11 Jahren
adeniz
6402f0a4f7
Moved from SNSyncd.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@24 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 11 Jahren
madscientist
27a67ba88f
Added destructor code to avoid throwing exceptions while cleaning up any sockets. Destructors should not throw exceptions and socket handles should always be closed even if no connections were made.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@23 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 12 Jahren
adeniz
e14d377f92
File is generated by the build process.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@22 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 13 Jahren
adeniz
cc85867976
Added so that software from the repository can be built without
running autoreconf.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@21 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 13 Jahren
madscientist
ecede0dcf9
Updated TCPClient.transmit() to improve error handling and detection. This should prevent cases where an exception was thrown for a non-error (Success) condition. The bug was found in a log on an SNFMilter system where we were researching incomplete SYNC sessions. It is hoped this condition explains those incomplete SYNC sessions and that this new code will fix it.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@20 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 14 Jahren
madscientist
0d4e43d778
Fixed deprecated conversion warning and added some comments.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@19 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
adeniz
424734b5f8
Modified to build with 64-bit minGW.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@18 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
madscientist
dc9be6db84
Added code to implement SO_NOSIGPIPE socket option when MSG_NOSIGLAL is not available.
Updated some exception descriptions networking.* to improve clarity and fix some copy-typos.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@17 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
madscientist
a19714cb18
Fixed NO_SIGNALS should have been MSG_NOSIGNAL
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@16 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
madscientist
052a10b812
Fixed SIGPIPE bug - transmit and receive functions in networking were using NOFLAGS instead of NO_SIGNALS. As a result broken pipes would raise SIGPIPE on *nix systems -- the coded did not expect that. NO_SIGNALS is not defined for win* systems so an ifdef was added to create NO_SIGNALS like NOFLAGS where it is not defined on win* systems. Win* has no concept of signals so this is a non-event for win* systems.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@15 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
madscientist
f36bff0262
Improved MANGLER::MANGLER so that Position is set in the initialization list.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@14 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
madscientist
dad799f603
Fixed initialization of NominalPollTime and MaximumPollTime so that they are both valid by the time the c'tor calls set...() on them.
Fixed comment in setNominalPollTime so it shows the correct intent (that MaximumPollTime >= NominalPollTime).
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@13 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
madscientist
b58fa06a49
Fixed: base64encode should be const static
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@12 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
adeniz
1b8e43a071
Include Makefile.am and ChangeLog in the user tarball.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@11 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
madscientist
a9b1bc7083
Corrected ProductionQueue.size() - Now unsigned int, not int.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@10 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
adeniz
6987ce0dd0
Updated Makefile.am: Added mangler.cpp and mangler.hpp, removed
tcp_watchdog.cpp and tcp_watchdog.hpp, added faults.hpp. Added
ChangeLog for logging changes.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@9 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
madscientist
8085743567
Minor tweaks to remove warnings
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@8 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
madscientist
ce0ca5ea86
Created faults.hpp for program fault handling (replace assert())
Replaced all assert() in threading.* with appropriate checks.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@7 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
madscientist
12f830b8a7
Minor tweaks to eliminate compiler warnings.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@6 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
madscientist
7e1e36530e
Minor tweaks in timing.* to eliminate compiler warnings.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@5 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
madscientist
e1b87aee53
Added ProductionQueue to threading.hpp - ProductionQueue.hpp is now redundant and should not be used.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@4 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
madscientist
ae953b741e
Minor tweaks to resolve compiler warnings.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@3 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren
madscientist
fcc17afd08
Moved manger into CodeDweller (where it belongs)
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@2 d34b734f-a00e-4b39-a726-e4eeb87269ab
vor 15 Jahren