Commit Graph

8222 Commits

Author SHA1 Message Date
Davis King c9b5d5dc5a Added the vector_normalizer object
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402555
2008-10-12 19:46:26 +00:00
Davis King 8b487fb703 Added the sort_columns() and rsort_columns() functions
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402554
2008-10-12 19:28:22 +00:00
Davis King f791d2cfeb added another svn:ignore item
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402553
2008-10-12 15:55:02 +00:00
Davis King febbfa96f0 made a release
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402551
2008-10-10 00:53:34 +00:00
Davis King 92a672d2e3 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402550
2008-10-09 02:35:55 +00:00
Davis King b451babd6e Removed the default argument to the is_dlib_thread() function and
instead added an overload that doesn't take any arguments.  I did this
because -O3 sometimes makes gcc ignore more complex default arguments.
I don't actually have any cases where this happened to this function
but I'm changing it just to be safe.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402549
2008-10-09 02:27:33 +00:00
Davis King 41c9c2a202 Added some comments about setting the matrix size at runtime.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402548
2008-10-08 23:42:24 +00:00
Davis King d8ddd8db3f Fixed more Intel compiler incompatibilities.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402547
2008-10-08 23:32:15 +00:00
Davis King 2376f339d3 Fixed a bunch of compiler warnings and errors in the
Intel compiler.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402546
2008-10-08 00:39:36 +00:00
Davis King 95ece26f5a Added some things to the initializer lists of some exception classes because
without them you get errors when compiling with the Intel compiler.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402545
2008-10-07 12:50:12 +00:00
Davis King 4115e78c5e Added dlib:: in front of the set.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402544
2008-10-07 12:49:09 +00:00
Davis King 530d1640a7 cleaned up the code
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402543
2008-10-07 02:24:40 +00:00
Davis King c4ab461065 Updated the rank features example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402542
2008-10-07 02:24:23 +00:00
Davis King 770368705b - Made the spec for the rank_features() function a little more clear. Also made
the implementation do recursive feature elimination when the user tries to
    rank all the features.
  - The report format that comes out of the rank_features() function is now
    also slightly different.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402541
2008-10-07 01:00:54 +00:00
Davis King a708705fb2 Fixed a bug in the covariance() function that prevented it from compiling
sometimes.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402540
2008-10-06 21:21:15 +00:00
Davis King 1db20426d1 Fixed typo in spec
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402539
2008-10-05 14:53:59 +00:00
Davis King 70b42fb6b5 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402538
2008-10-03 01:20:21 +00:00
Davis King 146af066e6 Added the popup_menu_region widget.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402537
2008-10-03 01:18:54 +00:00
Davis King 54a1ffd38b Changed the scripts so that only the last 1000 changes go
into the old change logs section.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402536
2008-10-02 00:45:17 +00:00
Davis King ebf49a9c9b Added more control over how the scrollable_region scrolls its region.
You can now adjust how much it scrolls when the mouse wheel is scrolled
as well as enabling scrolling via a mouse drag.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402535
2008-10-02 00:39:18 +00:00
Davis King 88d4e166a4 Fixed another destruction order problem, this time in the gui_core.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402534
2008-10-01 23:39:47 +00:00
Davis King 19a3000d0f Fixed a destruction order problem in the timer object and also added
some extra mutex locks to the global singleton in the gui core.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402533
2008-10-01 23:12:44 +00:00
Davis King 9e0980e94f updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402532
2008-09-27 22:02:03 +00:00
Davis King c11faa4e5b Changed all the font* pointers to shared_ptr_thread_safe objects.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402531
2008-09-27 21:15:01 +00:00
Davis King c9079be549 Added a thread safe shared pointer object
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402530
2008-09-27 21:10:06 +00:00
Davis King 6fbcf3ac99 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402529
2008-09-27 19:36:38 +00:00
Davis King a11ffaf4ad Removed the comments about doing stuff before main() has been entered
since this is now mostly untrue.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402528
2008-09-27 19:36:17 +00:00
Davis King 643cc53584 Made the X11 version of the gui_core work with global window objects.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402527
2008-09-27 19:35:34 +00:00
Davis King 5d29b7b3b8 Changed the gui core code around so that it should be safe to make window
objects at the global scope

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402526
2008-09-27 19:12:02 +00:00
Davis King 82be85065a updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402525
2008-09-27 15:42:12 +00:00
Davis King 3543392fa1 Removed the register_program_ending_handler() function from the threading API
and also made the dlib thread pool not block the termination of the program
if there are still threads executing.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402524
2008-09-27 15:39:01 +00:00
Davis King 8e0eea0b3c updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402523
2008-09-26 21:09:29 +00:00
Davis King db6a0ba58d Made the on_wheel_down() and on_wheel_up() gui events take a new
argument that lets you know the status of any buttons currently
depressed

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402522
2008-09-26 20:25:12 +00:00
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