Davis King
4807ab060f
Added unit tests for the vectorstream.
2012-11-18 16:26:46 -05:00
Davis King
e6d7f93dc6
Added seekg() and made vectorstream more robust.
2012-11-18 16:20:38 -05:00
Davis King
45d2120551
Added the vectorstream object.
2012-11-18 15:53:55 -05:00
Davis King
259a4542a8
Simplified example
2012-11-18 13:20:49 -05:00
Davis King
3740c16b09
Removed cruft
2012-11-18 13:09:07 -05:00
Davis King
f49bbc9413
updated docs
2012-11-18 13:03:58 -05:00
Davis King
bfb25b68ec
Simplified code
2012-11-18 13:01:08 -05:00
Davis King
dbac28afcb
Added a comment explaining why timer_heavy exists.
2012-11-18 12:58:21 -05:00
Davis King
b94fc34257
Just renamed the timer source files.
...
--HG--
rename : dlib/timer/timer_kernel_2.cpp => dlib/timer/timer.cpp
rename : dlib/timer/timer_kernel_2.h => dlib/timer/timer.h
rename : dlib/timer/timer_kernel_abstract.h => dlib/timer/timer_abstract.h
rename : dlib/timer/timer_kernel_1.h => dlib/timer/timer_heavy.h
2012-11-18 12:54:23 -05:00
Davis King
f6ad04c884
Converted the timer component into two single implementation components.
...
These are the timer and timer_heavy objects now.
2012-11-18 12:48:19 -05:00
Davis King
52dae74cfd
updated docs
2012-11-18 12:22:47 -05:00
Davis King
ed9f16adc6
updated docs
2012-11-18 12:13:56 -05:00
Davis King
2ce5a85722
Converted the bound_function_pointer into a single implementation component.
2012-11-18 12:07:38 -05:00
Davis King
68658f88c0
Added another constructor to the linker that lets you link two connections
...
right away.
2012-11-18 11:46:53 -05:00
Davis King
c016de421b
Made the linker's destructor behavior a little more reasonable.
2012-11-18 11:33:56 -05:00
Davis King
9e7d0d0f4d
fixed spelling error in comment
2012-11-18 10:56:51 -05:00
Davis King
2e806a2358
updated docs
2012-11-18 10:48:53 -05:00
Davis King
4edd8795a0
Turned linker into a single implementation component.
2012-11-18 10:47:59 -05:00
Davis King
e7baa76655
added a comment
2012-11-18 00:34:21 -05:00
Davis King
5e308fde05
updated docs
2012-11-18 00:33:44 -05:00
Davis King
0b7e3020de
Added the parse_xml() routines
2012-11-18 00:29:51 -05:00
Davis King
a641960521
updated docs
2012-11-17 23:58:22 -05:00
Davis King
8dbbda1fcf
simplified code
2012-11-17 23:53:33 -05:00
Davis King
b3254eaf0c
simplified code
2012-11-17 23:53:22 -05:00
Davis King
2e67aa546e
Turned the xml_parser into a single implementation component.
2012-11-17 23:51:24 -05:00
Davis King
f9e63c9d33
Simplified member_function_pointer declarations.
2012-11-17 23:31:26 -05:00
Davis King
f0705c9384
updated docs
2012-11-17 23:17:26 -05:00
Davis King
0eb9fb52f5
simplified example
2012-11-17 23:17:17 -05:00
Davis King
43a028bb44
Turned the member_function_pointer into a single implementation component.
2012-11-17 23:16:55 -05:00
Davis King
fe93ddaff5
Added lambda function support to the timeout object.
2012-11-17 22:43:08 -05:00
Davis King
96e1a7c89a
Removed cruft
2012-11-17 17:51:41 -05:00
Davis King
d3b5425a44
updated docs
2012-11-17 17:47:45 -05:00
Davis King
29121937c3
Turned timeout into a single implementation style object. Therefore, now it
...
can be declared as a type timeout rather than timeout::kernel_1a.
--HG--
rename : dlib/timeout/timeout_kernel_1.h => dlib/timeout/timeout.h
rename : dlib/timeout/timeout_kernel_abstract.h => dlib/timeout/timeout_abstract.h
2012-11-17 17:47:35 -05:00
Davis King
83ff1e3e1e
Added a method to the server object that lets a user set the graceful close
...
timeout time to something other than the default of 500ms.
2012-11-17 16:39:31 -05:00
Davis King
da72b57608
Added more tests
2012-11-17 16:19:44 -05:00
Davis King
8b22c9138f
Removed more cruft
2012-11-17 16:08:30 -05:00
Davis King
992c254e8a
Added unit test for iosockstream.
2012-11-17 15:59:05 -05:00
Davis King
60d725a152
removed cruft
2012-11-17 15:58:51 -05:00
Davis King
cdc30151e2
updated docs
2012-11-17 15:58:36 -05:00
Davis King
cfb86ab1aa
Changed name of private logger to avoid name conflicts in derived classes.
2012-11-17 15:53:24 -05:00
Davis King
93a232d3e0
Fixed bugs in examples.
2012-11-17 14:55:49 -05:00
Davis King
f45eb9c404
updated docs
2012-11-17 14:52:53 -05:00
Davis King
37a8bfebc9
Added an example for the iosockstream and server_iostream objects. Also
...
reorganized the sockets example programs a little.
--HG--
rename : examples/sockstreambuf_ex.cpp => examples/server_iostream_ex.cpp
rename : examples/sockets_ex_2.cpp => examples/sockstreambuf_ex.cpp
2012-11-17 14:48:42 -05:00
Davis King
c53848a0f3
Added an iosockstream object.
2012-11-17 14:21:20 -05:00
Davis King
ee24b9f84d
Made close_gracefully() into a noop if called on a null pointer.
2012-11-17 12:52:43 -05:00
Davis King
e88aab796c
fixed broken link
2012-11-17 12:22:35 -05:00
Davis King
56c7673b6d
updated docs
2012-11-17 12:12:51 -05:00
Davis King
06501db2e8
simplified examples
2012-11-17 12:07:04 -05:00
Davis King
e56b4c533e
Just renamed some files and turned the sockstreambuf into a single
...
implementation component. So no real functional code changes in this commit.
--HG--
rename : dlib/sockstreambuf/sockstreambuf_kernel_2.cpp => dlib/sockstreambuf/sockstreambuf.cpp
rename : dlib/sockstreambuf/sockstreambuf_kernel_2.h => dlib/sockstreambuf/sockstreambuf.h
rename : dlib/sockstreambuf/sockstreambuf_kernel_abstract.h => dlib/sockstreambuf/sockstreambuf_abstract.h
rename : dlib/sockstreambuf/sockstreambuf_kernel_1.cpp => dlib/sockstreambuf/sockstreambuf_unbuffered.cpp
rename : dlib/sockstreambuf/sockstreambuf_kernel_1.h => dlib/sockstreambuf/sockstreambuf_unbuffered.h
2012-11-17 12:02:16 -05:00
Davis King
93c3e95a94
minor cleanup
2012-11-17 12:01:15 -05:00