adeniz
aae5c9ea10
When searching for an opening tag, verify that the character
after the tag is whitespace, '/' or '>'. This allows the
ConfigurationElement to differentiate between <elem> and <elem1>.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@73 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 лет назад
adeniz
fa697c79c6
Tested on Windows 7 with drService.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@72 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 лет назад
adeniz
2ef5fa98e1
Increased size of myDataBuffer by one in a different location.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@71 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 лет назад
adeniz
2632f6dc4b
Increased size of myDataBuffer by one, and added null byte
at the end. Reason: To be able to pass myDataBuffer to the
constructor of std::string that expects a null-terminated
c-string.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@70 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 лет назад
adeniz
13c40894aa
Do not throw exception on I/O error. Reason: Not throwing an exception is the expection of c++ streams.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@69 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 лет назад
adeniz
5ea6e7ba26
Backed out test code, and implemented ConfigurationElement::RawData.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@68 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 лет назад
adeniz
039c51ea86
Proof-of-concept changes to provide entire element to the caller.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@67 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 лет назад
adeniz
57cfcac1e0
Added FileReference::FileName().
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@66 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 лет назад
adeniz
6ad20893cc
Added to CodeDweller namespace.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@65 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 лет назад
adeniz
fffe203d53
Implemented DirectoryReference and FilePath::join() on Windows.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@64 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 лет назад
adeniz
8a041cd3d0
Implemented and tested DirectoryReference.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@63 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 лет назад
adeniz
629deb2397
Tested on Windows 7.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@62 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 лет назад
adeniz
fcce81b431
Tested FileReference.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@61 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 лет назад
adeniz
757dae362a
Initial revision of FileReference.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@60 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 лет назад
adeniz
3f8db1d408
Tested on Windows.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@59 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 лет назад
adeniz
9c0bba99ad
Removed "using namespace std" from header files.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@58 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
054602c2d3
Add CodeDweller namespace.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@57 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
2b2910bf38
Implemented and tested non-blocking read on Windows.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@56 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
8892101288
Tested non-blocking read on Linux.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@55 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
93ae8221dc
Testing non-blocking read.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@54 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
f1001bc789
Implementing non-blocking read.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@53 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
bf633446e3
Placed objects in CodeDweller namespace.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@52 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
c31de176c5
Use _WIN32 instead of WIN32. Reason: MinGW-W64 defines _WIN32 but not WIN32.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@51 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
8fcee57460
Cosmetic change to error message.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@50 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
806a2b8278
Make MyName() const.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@49 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
1b283f9772
Correct return type for read() and write().
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@48 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
fbde34d541
Add CodeDweller namespace, and ran dos2unix on threading.hpp.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@47 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
4a4cd675d6
Tested Stop callback on Windows.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@46 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
f9629ec3bc
Implement watchdog for only Stop on both Windows and Linux.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@45 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
b5b6605547
Removed blocking of HUP; CodeDweller::Service doesn't use that signal.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@44 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
0609dcbc33
Removed initialization of callbacksActive, which isn't present in Windows version.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@43 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
1da69779a0
Implemented callback timeout for Windows and Linux, tested under Linux.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@42 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
4cd5ce48db
Change _tmain to main.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@41 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
5cb7f3b39a
Made set/clear methods static, made entry point methods private.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@40 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
6549201405
Implemented and tested on Windows (built with Visual Studio 2013 Express).
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@39 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
6d97722193
Removed unneeded Message enumeration.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@38 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
97756452ea
Made service thread-safe by serializing access.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@37 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
655afd029e
Completed preliminary unit test for Linux.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@36 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
587f0e1df9
Implementing and testing CodeDweller::Service for *nix.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@35 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
dfa9e76316
Cosmetic changes to comments.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@34 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
ade5789945
Completed unit tests under Ubuntu for CodeDweller::Child.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@33 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
6fc2c7c921
Completed unit tests on Windows.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@32 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
f5c9822cd4
Implemented streams for Windows. Tested isDone() and terminate(). Started testing streams.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@31 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
ce9852081a
Implemented CodeDweller::Child for Windows except for streams.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@30 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
1fac3ab4bc
Implemented child.hpp.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@29 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
adeniz
570f2501c6
Branched CodeDweller for Mail's Best Friend.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@28 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 лет назад
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
11 лет назад
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
11 лет назад
adeniz
6402f0a4f7
Moved from SNSyncd.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@24 d34b734f-a00e-4b39-a726-e4eeb87269ab
11 лет назад
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
12 лет назад