Commit Graph

3379 Commits

Author SHA1 Message Date
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
Davis King b85dde8f70 updated docs 2012-11-15 19:08:48 -05:00
Davis King 19cd8c2f60 Added parse_trees_to_string() and parse_trees_to_string_tagged(). Also made
the output slightly nicer looking.
2012-11-15 19:05:37 -05:00
Davis King 0ae9ee473a Created release v17.49 2012-11-15 18:26:38 -05:00
Davis King 829e1a9412 Added tag v17.49 for changeset 4312a45be8b4 2012-11-15 18:26:37 -05:00
Davis King 0f300f703b fixed grammar 2012-11-15 18:24:21 -05:00
Davis King 02d4d2a23c fixed grammar 2012-11-12 23:09:29 -05:00
Davis King e23a612c24 updated release notes 2012-11-12 22:53:35 -05:00
Davis King 74d799fa69 updated release notes 2012-11-12 20:37:38 -05:00
Davis King 64539e6530 fixed grammar 2012-11-12 20:09:03 -05:00
Davis King 0ee2743851 clarified the BSP spec 2012-11-12 19:52:55 -05:00
Davis King c495350d53 added comments to this example program 2012-11-12 19:26:28 -05:00
Davis King 3be303177f A minor change to avoid a compiler warning in gcc 4.1 2011-08-08 18:28:46 -04:00
Davis King 236e90e3f0 Fixed compiler error with the cmd_line_parser and global swap() introduced
in the last change.
2012-11-12 16:52:37 -05:00
Davis King e9e0b65d6f simplified example program 2012-11-12 16:07:13 -05:00
Davis King e1ce4b6ea3 updated docs 2012-11-12 16:06:08 -05:00
Davis King 7f9fbba5ed Turned the cmd_line_parser into a single implementation component (from the
user perspective anyway).
2012-11-12 15:58:24 -05:00
Davis King f7165919bf Simplified example programs 2012-11-12 15:25:35 -05:00
Davis King 44be25e156 Added the command_line_parser and wcommand_line_parser typedefs. 2012-11-12 15:25:02 -05:00
Davis King 8e5e1e89a5 updated docs 2012-11-12 13:36:09 -05:00
Davis King c4dcd48e0a Added unit tests for find_max_parse_cky(). 2012-11-12 12:59:04 -05:00
Davis King 2337fae8ca updated docs 2012-11-12 12:39:03 -05:00
Davis King 39ca46caa1 Simplified find_max_parse_cky() by making it only output a single tree.
Also added find_trees_not_rooted_with_tag().
2012-11-12 12:33:08 -05:00
Davis King f1a08876da Added missing #include 2012-11-12 11:25:03 -05:00
Davis King 07b5b2e37b filled out spec 2012-11-12 11:23:39 -05:00
Davis King 1493769dee removed cruft 2012-11-12 09:46:20 -05:00
Davis King 90970e31e9 updated front page 2012-11-12 09:45:40 -05:00
Davis King 2e4e37dc80 made code a little clearer 2012-11-11 23:03:13 -05:00
Davis King 249b0dd116 Added serialization support to constituent and parse_tree_element. 2012-11-11 22:10:16 -05:00