Commit Graph

289 Commits

Author SHA1 Message Date
Davis King
e2c891f634 Added try/catch blocks to the constructors of GUI window objects.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402521
2008-09-25 20:39:17 +00:00
Davis King
e8f39c05f1 Made one of the arguments to font::draw_string() not be a reference because
some versions of gcc don't end up doing the right thing when -O3 is supplied.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402520
2008-09-25 02:28:40 +00:00
Davis King
08dcf038ed - Fixed a bug in the scrollable_region widget that caused it to scroll in an
unpleasant way when the horizontal and vertical scroll increments weren't set
    to the same value.
  - Generally made the specs more clear and added some missing requires clauses.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402519
2008-09-25 00:14:56 +00:00
Davis King
7361edd038 Changed the name of the mutex in the threaded_object and multithreaded_object
so that it won't cause any ambiguities when you derive a class from a
gui widget and a thread base class.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402518
2008-09-23 23:31:43 +00:00
Davis King
801f07efac Fixed a bug in the linearly_independent_subset_finder object. Also
added a way to set a minimum tolerance.  This also breaks backwards
compatibility with the previous serialization format for the object.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402517
2008-09-20 22:28:11 +00:00
Davis King
8c98c05029 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402516
2008-09-17 23:44:41 +00:00
Davis King
4d396beecb Added more meat to a comment
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402515
2008-09-14 16:58:51 +00:00
Davis King
00f7474973 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402514
2008-09-14 15:51:23 +00:00
Davis King
6be5d5a174 added an rvm regression example
--HG--
rename : examples/krls_ex.cpp => examples/rvm_regression_ex.cpp
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402513
2008-09-14 15:38:45 +00:00
Davis King
753bc33406 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402512
2008-09-14 13:56:49 +00:00
Davis King
661f8f1637 Added an RVM example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402511
2008-09-14 13:47:26 +00:00
Davis King
5d1aad0304 Cleaned up the kkmeans class and made it actually use
the min_change parameter.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402510
2008-09-09 00:43:16 +00:00
Davis King
290494bb44 Fixed some of the errors in the X11 gui stuff that
come out of valgrind.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402509
2008-09-07 18:49:29 +00:00
Davis King
363d68845a made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402507
2008-09-07 03:38:11 +00:00
Davis King
4681209e19 updated docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402506
2008-09-07 03:17:44 +00:00
Davis King
bfad8f3ef6 Made this example simpler
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402505
2008-09-07 02:54:28 +00:00
Davis King
6fa91605f8 Changed code a little to avoid compiler warnings about
uninitialized variables.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402504
2008-09-06 23:29:28 +00:00
Davis King
e55ead8671 Fixed a bug in the directory navigation gui. If you tried to go
into a drive on windows that wasn't mounted you got an error.
This is now fixed.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402503
2008-09-06 21:57:30 +00:00
Davis King
4a0b2c6635 - made sockets test compile in vc7
- made the dir_nav stuff compile in vc, cygwin, and mingw

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402502
2008-09-06 18:03:55 +00:00
Davis King
b434f43054 Made the dir_nav stuff work with std::vector and dlib::std_vector_c
as well as dlib::queue objects.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402501
2008-09-06 16:01:06 +00:00
Davis King
39fe986296 Added an is_std_vector to the is_kind.h file.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402500
2008-09-06 15:53:33 +00:00
Davis King
0aae909742 Added some comments to this example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402499
2008-09-06 15:15:13 +00:00
Davis King
e295d55527 added more comments to the kcentroid example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402498
2008-09-06 14:50:36 +00:00
Davis King
b5578687c8 cleaned up the sockets test
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402497
2008-09-06 14:26:42 +00:00
Davis King
aa34d39f27 Added some overloads of the create_connection() and create_listener()
functions that use scoped_ptr objects instead of just plain pointers.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402496
2008-09-06 14:26:17 +00:00
Davis King
ea261db86c cleaned up the code
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402495
2008-08-22 18:51:39 +00:00
Davis King
c3a9af0aee changed slightly to avoid a warning in visual studio
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402494
2008-08-22 17:56:30 +00:00
Davis King
f841ccb543 Fixed another bug in the thread_specific_data object. It should now
work right regardless of the destruction order of the relevant global
bits of state hanging around.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402493
2008-08-22 16:01:47 +00:00
Davis King
d9462674a9 changed the tests a little
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402492
2008-08-22 14:09:57 +00:00
Davis King
961283af39 updated makefile
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402491
2008-08-22 13:20:33 +00:00
Davis King
f022055ceb Added some regression tests for the svm/kernel methods stuff
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402490
2008-08-22 13:20:07 +00:00
Davis King
2c8422ebbf Cleaned up the rvm code and made the regression version more
numerically robust.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402489
2008-08-21 23:59:18 +00:00
Davis King
82b2a4cf6f Made the rvm classifier more numerically robust
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402488
2008-08-21 23:36:20 +00:00
Davis King
e63984c846 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402487
2008-08-21 01:51:37 +00:00
Davis King
96b3209a4d Organized the Unicode overloads into a more readable format. Also added some missing
overloads to the spec file.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402486
2008-08-21 01:39:07 +00:00
Davis King
3292376ce6 Added some overloads for move_rect() and translate_rect() that take a
point object.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402485
2008-08-21 01:07:26 +00:00
Davis King
66a56209ce updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402484
2008-08-21 00:47:55 +00:00
Davis King
54bfa36a36 Added the unregister_thread_end_handler() function and also used it to
fix a bug that can trigger when the thread_specific_data object is destructed.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402483
2008-08-21 00:47:22 +00:00
Davis King
66a3e29207 Added an additional stopping condition to the kkmeans object. It is now
possible to tell it to top when a certain fraction of centers don't change.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402482
2008-08-20 23:45:43 +00:00
Davis King
de24dbb0ff Fixed the serialization code for the kkmeans object so that it actually works.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402481
2008-08-20 23:29:37 +00:00
Davis King
f311e46d91 Fixed some potential bugs in the rvm
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402480
2008-08-20 22:31:35 +00:00
Davis King
c0754e3b61 Fixed the cmake option to toggle the ENABLE_ASSERTS macro
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402479
2008-08-20 21:17:29 +00:00
Davis King
4d84a13c61 Added a missing mutex lock to the tooltip widget.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402478
2008-08-20 21:15:21 +00:00
Davis King
dfd774fe84 made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402476
2008-08-14 23:30:36 +00:00
Davis King
320fc0cbfb updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402475
2008-08-14 23:16:51 +00:00
Davis King
e54bfbb9dd Optimized matrix multiplication a little
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402474
2008-08-14 02:56:03 +00:00
Davis King
cbafa9c537 Added some tests to catch problems with optimized versions of
matrix multiplication

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402473
2008-08-14 02:52:14 +00:00
Davis King
0514e8a1e5 Changed code slightly to avoid another warning from valgrind.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402472
2008-08-13 23:38:26 +00:00
Davis King
712c8d48da Changed the code slightly to avoid a warning from valgrind.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402471
2008-08-13 23:10:30 +00:00
Davis King
de3f14431c Changed the test slightly to avoid warning from valgrind.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402470
2008-08-13 22:43:47 +00:00