adeniz
f49d917e99
Allow reading after child has exited.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@99 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
4af1aca886
Correct Child so that stderr and stdout from the child are
sent to the same output.
Deprecate ChildStream instead of correcting ChildStream.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@98 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
5e81074c11
Added Child::closeStdIn().
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@97 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
65fe25929c
Corrected documentation.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@96 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
3fb37aa4bf
Moved #include outside of namespace declaration.
Use unsigned int in for-loops.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@95 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
fa3d055b9f
Add typedef.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@94 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
9f0434b8c2
Copied from configuration, renaming Configuration -> XMLReader, and
Configurator -> XMLerator.
Included typedefs so that existing applications can simply include
XMLReader.hpp in place of configuration.hpp.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@93 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
e76678a5e1
Added CodeDweller namespace, removed 'using namespace std'.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@92 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
b68b4410d5
Tested on Windows 7.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@91 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
97d91cbab4
Implemented FileOps::moveFile.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@90 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
d1cf0ac19c
Tested FilePath::isAbsolute() under Windows.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@89 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
d867e784c7
Implemented FilePath::isAbsolute().
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@88 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
2992ac8557
Addressed compiler warning, removed unused variables.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@87 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
fc9f4057e6
Implemented readDelimited.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@86 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
d23e25b988
Implementing Child::readDelimited().
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@85 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
c9f179a972
Implement I/O with vector<char>.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@84 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
b00945c73e
Tested on Windows.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@83 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
8fa4e41a55
Implemented Child read(), write(), and writeAndShrink() with strings.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@82 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
96c9d39914
Implementing Child with I/O threads, and blocking I/O.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@81 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
729b6fe305
Added CodeDweller namespace.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@80 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
dc9620460c
Tested with one streambuf for input and output, and inheriting from
iostream.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@79 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
20af91c0a2
Implemented new constructors and isRunning(). Renamed terminate() to close().
Call close() in ~ChildStream.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@78 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
669f79a111
ChildStream inherits from std::iostream.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@77 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
3d82bf14a7
Merged input and output streambuf.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@76 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
adeniz
9b4542bdad
Addressed issue: Incorrect value loaded when an attribute value is "".
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@74 d34b734f-a00e-4b39-a726-e4eeb87269ab
9 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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
10 anni fa
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
10 anni fa
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
10 anni fa
adeniz
57cfcac1e0
Added FileReference::FileName().
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@66 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 anni fa
adeniz
6ad20893cc
Added to CodeDweller namespace.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@65 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 anni fa
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
10 anni fa
adeniz
8a041cd3d0
Implemented and tested DirectoryReference.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@63 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 anni fa
adeniz
629deb2397
Tested on Windows 7.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@62 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 anni fa
adeniz
fcce81b431
Tested FileReference.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@61 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 anni fa
adeniz
757dae362a
Initial revision of FileReference.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@60 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 anni fa
adeniz
3f8db1d408
Tested on Windows.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@59 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 anni fa
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 anni fa
adeniz
054602c2d3
Add CodeDweller namespace.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@57 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
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 anni fa
adeniz
806a2b8278
Make MyName() const.
git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@49 d34b734f-a00e-4b39-a726-e4eeb87269ab
10 anni fa