The Library
Help/Info
Current Release









Last Modified:
Nov 10, 2008

Old Change Logs

Revision: 2580
Date: Oct 20, 2008 (21:15:02 UTC)
Moved the dlib_assert_breakpoint() call in the assert macro to the front.  This avoids
the case where your program has had its heap corrupted and is very nearly about to crash,
and so when an assert triggers it crashes on the code that constructs the error 
message because the heap is hosed.  Thus preventing you from hitting a break point
on dlib_assert_breakpoint().  So this change mitigates that.
Modified
/trunk/dlib/assert.h

Revision: 2579
Date: Oct 18, 2008 (18:06:12 UTC)
changed svm test a little
Modified
/trunk/dlib/test/svm.cpp

Revision: 2578
Date: Oct 18, 2008 (18:05:55 UTC)
Changed the code to avoid a compiler warning.
Modified
/trunk/dlib/queue/queue_sort_1.h

Revision: 2577
Date: Oct 18, 2008 (16:40:22 UTC)
Changed code to suppress compiler warnings
Modified
/trunk/dlib/test/queue.cpp
/trunk/dlib/test/sequence.cpp

Revision: 2576
Date: Oct 18, 2008 (15:59:53 UTC)
Moved a bunch of code from the base_widgets.h file to the base_widgets.cpp file.
Modified
/trunk/dlib/gui_widgets/base_widgets.cpp
/trunk/dlib/gui_widgets/base_widgets.h

Revision: 2575
Date: Oct 18, 2008 (14:45:27 UTC)
Moved a bunch of stuff from the widgets header file to the widgets cpp file.
Modified
/trunk/dlib/gui_widgets/widgets.cpp
/trunk/dlib/gui_widgets/widgets.h

Revision: 2574
Date: Oct 18, 2008 (14:17:52 UTC)
Cleaned up some more gui code.  I fixed a memory leak in the native_font object, 
made the get_native_font() function return a shared_ptr_thread_safe object instead
of a raw pointer, and also made the letter object noncopyable (as it should have been).
I also moved some code from the widgets header file to the cpp file.
Modified
/trunk/dlib/gui_widgets/fonts.cpp
/trunk/dlib/gui_widgets/fonts.h
/trunk/dlib/gui_widgets/fonts_abstract.h
/trunk/dlib/gui_widgets/nativefont.h
/trunk/dlib/gui_widgets/widgets.cpp
/trunk/dlib/gui_widgets/widgets.h

Revision: 2573
Date: Oct 18, 2008 (13:30:12 UTC)
Removed an unnecessary COMPILE_TIME_ASSERT statement from the
svd function.
Modified
/trunk/dlib/matrix/matrix_utilities.h

Revision: 2570
Date: Oct 17, 2008 (14:19:11 UTC)
Added a tensor_product() function for the matrix object.
Modified
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/matrix/matrix_utilities_abstract.h

Revision: 2569
Date: Oct 17, 2008 (13:05:23 UTC)
Fixed an #include statement so that it works even if you don't
specify an include path argument to your compiler.
Modified
/trunk/dlib/matrix/matrix_utilities.h

Revision: 2568
Date: Oct 16, 2008 (01:25:06 UTC)
Removed the forced setting of DLIB_NO_GUI_SUPPORT in the cmake file
since it is sort of irritating.
Modified
/trunk/dlib/CMakeLists.txt

Revision: 2566
Date: Oct 15, 2008 (02:38:13 UTC)
Fixed a compile time error and also added back in the call to start the
event_handler_thread in the gui core that I accidentally deleted a few minutes ago.
Modified
/trunk/dlib/gui_core/gui_core_kernel_1.cpp
/trunk/dlib/gui_core/gui_core_kernel_1.h

Revision: 2565
Date: Oct 15, 2008 (02:36:03 UTC)
changed the shared_ptr_thread_safe object so that it unlocks its
internal mutex before calling delete on the pointer that it contains.
Modified
/trunk/dlib/smart_pointers/shared_ptr_thread_safe.h

Revision: 2564
Date: Oct 15, 2008 (02:13:51 UTC)
Cleaned up more of the gui core code
Modified
/trunk/dlib/gui_core/gui_core_kernel_1.cpp
/trunk/dlib/gui_core/gui_core_kernel_2.cpp

Revision: 2563
Date: Oct 15, 2008 (01:12:13 UTC)
Cleaned up the gui_core code.  Also made it so that the gui event handler thread
isn't created at all unless some part of an application calls some of the
gui_core code.
Modified
/trunk/dlib/gui_core/gui_core_kernel_1.cpp
/trunk/dlib/gui_core/gui_core_kernel_1.h
/trunk/dlib/gui_core/gui_core_kernel_2.cpp

Revision: 2561
Date: Oct 13, 2008 (02:30:23 UTC)
made the spec more clear
Modified
/trunk/dlib/svm/function_abstract.h

Revision: 2557
Date: Oct 12, 2008 (22:24:59 UTC)
Added some missing asserts
Modified
/trunk/dlib/statistics/statistics.h

Revision: 2556
Date: Oct 12, 2008 (22:14:53 UTC)
Added the normalized_function object.
Modified
/trunk/dlib/svm/function.h
/trunk/dlib/svm/function_abstract.h

Revision: 2555
Date: Oct 12, 2008 (19:46:26 UTC)
Added the vector_normalizer object
Modified
/trunk/dlib/statistics/statistics.h
/trunk/dlib/statistics/statistics_abstract.h

Revision: 2554
Date: Oct 12, 2008 (19:28:22 UTC)
Added the sort_columns() and rsort_columns() functions
Modified
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/matrix/matrix_utilities_abstract.h

Revision: 2553
Date: Oct 12, 2008 (15:55:02 UTC)
added another svn:ignore item
Modified
/trunk/dlib/test

Revision: 2549
Date: Oct 09, 2008 (02:27:33 UTC)
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.
Modified
/trunk/dlib/threads/threads_kernel_shared.cpp
/trunk/dlib/threads/threads_kernel_shared.h

Revision: 2547
Date: Oct 08, 2008 (23:32:15 UTC)
Fixed more Intel compiler incompatibilities.
Modified
/trunk/dlib/test/array.cpp
/trunk/dlib/test/sockstreambuf.cpp
/trunk/dlib/test/tester.h

Revision: 2546
Date: Oct 08, 2008 (00:39:36 UTC)
Fixed a bunch of compiler warnings and errors in the
Intel compiler.
Modified
/trunk/dlib/algs.h
/trunk/dlib/bayes_utils/bayes_utils.h
/trunk/dlib/compress_stream/compress_stream_kernel_2.h
/trunk/dlib/compress_stream/compress_stream_kernel_3.h
/trunk/dlib/graph_utils/graph_utils.h
/trunk/dlib/gui_core/gui_core_kernel_2.cpp
/trunk/dlib/gui_widgets/fonts.h
/trunk/dlib/gui_widgets/nativefont.h
/trunk/dlib/server/server_http_1.h
/trunk/dlib/string/string.h
/trunk/dlib/svm/rbf_network.h
/trunk/dlib/svm/svm.h

Revision: 2545
Date: Oct 07, 2008 (12:50:12 UTC)
Added some things to the initializer lists of some exception classes because
without them you get errors when compiling with the Intel compiler.
Modified
/trunk/dlib/cmd_line_parser/cmd_line_parser_check_1.h
/trunk/dlib/cmd_line_parser/cmd_line_parser_kernel_1.h
/trunk/dlib/compress_stream/compress_stream_kernel_1.h

Revision: 2543
Date: Oct 07, 2008 (02:24:40 UTC)
cleaned up the code
Modified
/trunk/dlib/svm/feature_ranking.h

Revision: 2541
Date: Oct 07, 2008 (01:00:54 UTC)
  - 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.
Modified
/trunk/dlib/svm/feature_ranking.h
/trunk/dlib/svm/feature_ranking_abstract.h

Revision: 2540
Date: Oct 06, 2008 (21:21:15 UTC)
Fixed a bug in the covariance() function that prevented it from compiling
sometimes.
Modified
/trunk/dlib/matrix/matrix_utilities.h

Revision: 2539
Date: Oct 05, 2008 (14:53:59 UTC)
Fixed typo in spec
Modified
/trunk/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2537
Date: Oct 03, 2008 (01:18:54 UTC)
Added the popup_menu_region widget.
Modified
/trunk/dlib/gui_widgets/base_widgets.h
/trunk/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2535
Date: Oct 02, 2008 (00:39:18 UTC)
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.
Modified
/trunk/dlib/gui_widgets/base_widgets.h
/trunk/dlib/gui_widgets/base_widgets_abstract.h
/trunk/dlib/gui_widgets/widgets.h

Revision: 2534
Date: Oct 01, 2008 (23:39:47 UTC)
Fixed another destruction order problem, this time in the gui_core.
Modified
/trunk/dlib/gui_core/gui_core_kernel_1.cpp
/trunk/dlib/gui_core/gui_core_kernel_2.cpp

Revision: 2533
Date: Oct 01, 2008 (23:12:44 UTC)
Fixed a destruction order problem in the timer object and also added
some extra mutex locks to the global singleton in the gui core.
Modified
/trunk/dlib/gui_core/gui_core_kernel_1.cpp
/trunk/dlib/gui_core/gui_core_kernel_2.cpp
/trunk/dlib/timer/timer_kernel_2.cpp
/trunk/dlib/timer/timer_kernel_2.h

Revision: 2531
Date: Sep 27, 2008 (21:15:01 UTC)
Changed all the font* pointers to shared_ptr_thread_safe objects.
Modified
/trunk/dlib/gui_widgets/base_widgets.h
/trunk/dlib/gui_widgets/drawable.h
/trunk/dlib/gui_widgets/drawable_abstract.h
/trunk/dlib/gui_widgets/fonts.h
/trunk/dlib/gui_widgets/fonts_abstract.h
/trunk/dlib/gui_widgets/widgets.cpp
/trunk/dlib/gui_widgets/widgets.h
/trunk/dlib/test/gui/main.cpp

Revision: 2530
Date: Sep 27, 2008 (21:10:06 UTC)
Added a thread safe shared pointer object
Modified
/trunk/dlib/smart_pointers/shared_ptr_abstract.h
Added
/trunk/dlib/smart_pointers/shared_ptr_thread_safe.h
/trunk/dlib/smart_pointers/shared_ptr_thread_safe_abstract.h
/trunk/dlib/smart_pointers_thread_safe.h

Revision: 2528
Date: Sep 27, 2008 (19:36:17 UTC)
Removed the comments about doing stuff before main() has been entered
since this is now mostly untrue.
Modified
/trunk/dlib/misc_api/misc_api_kernel_abstract.h
/trunk/dlib/threads/threads_kernel_abstract.h

Revision: 2527
Date: Sep 27, 2008 (19:35:34 UTC)
Made the X11 version of the gui_core work with global window objects.
Modified
/trunk/dlib/gui_core/gui_core_kernel_2.cpp
/trunk/dlib/gui_core/gui_core_kernel_2.h
/trunk/dlib/gui_core/gui_core_kernel_abstract.h
/trunk/dlib/test/gui/main.cpp

Revision: 2526
Date: Sep 27, 2008 (19:12:02 UTC)
Changed the gui core code around so that it should be safe to make window 
objects at the global scope
Modified
/trunk/dlib/gui_core/gui_core_kernel_1.cpp
/trunk/dlib/gui_widgets/fonts.cpp
/trunk/dlib/gui_widgets/fonts.h
/trunk/dlib/test/gui/main.cpp
/trunk/dlib/unicode/unicode.cpp

Revision: 2524
Date: Sep 27, 2008 (15:39:01 UTC)
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.
Modified
/trunk/dlib/gui_core/gui_core_kernel_1.cpp
/trunk/dlib/gui_core/gui_core_kernel_2.cpp
/trunk/dlib/threads/threads_kernel_abstract.h
/trunk/dlib/threads/threads_kernel_shared.cpp
/trunk/dlib/threads/threads_kernel_shared.h
/trunk/dlib/timer/timer_kernel_2.cpp

Revision: 2522
Date: Sep 26, 2008 (20:25:12 UTC)
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
Modified
/trunk/dlib/gui_core/gui_core_kernel_1.cpp
/trunk/dlib/gui_core/gui_core_kernel_1.h
/trunk/dlib/gui_core/gui_core_kernel_2.cpp
/trunk/dlib/gui_core/gui_core_kernel_2.h
/trunk/dlib/gui_core/gui_core_kernel_abstract.h
/trunk/dlib/gui_widgets/base_widgets.h
/trunk/dlib/gui_widgets/base_widgets_abstract.h
/trunk/dlib/gui_widgets/drawable.cpp
/trunk/dlib/gui_widgets/drawable.h
/trunk/dlib/gui_widgets/drawable_abstract.h
/trunk/dlib/gui_widgets/widgets.cpp
/trunk/dlib/gui_widgets/widgets.h
/trunk/dlib/test/gui/main.cpp

Revision: 2520
Date: Sep 25, 2008 (02:28:40 UTC)
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.
Modified
/trunk/dlib/gui_widgets/fonts.h
/trunk/dlib/gui_widgets/fonts_abstract.h

Revision: 2519
Date: Sep 25, 2008 (00:14:56 UTC)
  - 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.
Modified
/trunk/dlib/geometry/rectangle_abstract.h
/trunk/dlib/gui_widgets/base_widgets.h
/trunk/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2518
Date: Sep 23, 2008 (23:31:43 UTC)
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.
Modified
/trunk/dlib/threads/multithreaded_object_extension.cpp
/trunk/dlib/threads/multithreaded_object_extension.h
/trunk/dlib/threads/threaded_object_extension.cpp
/trunk/dlib/threads/threaded_object_extension.h

Revision: 2517
Date: Sep 20, 2008 (22:28:11 UTC)
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.
Modified
/trunk/dlib/svm/linearly_independent_subset_finder.h
/trunk/dlib/svm/linearly_independent_subset_finder_abstract.h
/trunk/dlib/svm/rbf_network_abstract.h

Revision: 2510
Date: Sep 09, 2008 (00:43:16 UTC)
Cleaned up the kkmeans class and made it actually use
the min_change parameter.
Modified
/trunk/dlib/svm/kkmeans.h
/trunk/dlib/svm/kkmeans_abstract.h

Revision: 2509
Date: Sep 07, 2008 (18:49:29 UTC)
Fixed some of the errors in the X11 gui stuff that
come out of valgrind.
Modified
/trunk/dlib/gui_core/gui_core_kernel_2.cpp

Revision: 2504
Date: Sep 06, 2008 (23:29:28 UTC)
Changed code a little to avoid compiler warnings about 
uninitialized variables.
Modified
/trunk/dlib/stack_trace.cpp
/trunk/dlib/threads/thread_specific_data_extension.h

Revision: 2503
Date: Sep 06, 2008 (21:57:30 UTC)
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.
Modified
/trunk/dlib/gui_widgets/widgets.h

Revision: 2502
Date: Sep 06, 2008 (18:03:55 UTC)
 - made sockets test compile in vc7
 - made the dir_nav stuff compile in vc, cygwin, and mingw
Modified
/trunk/dlib/dir_nav/dir_nav_kernel_1.h
/trunk/dlib/dir_nav/dir_nav_kernel_2.h
/trunk/dlib/sockets/sockets_kernel_1.h
/trunk/dlib/test/sockets.cpp

Revision: 2501
Date: Sep 06, 2008 (16:01:06 UTC)
Made the dir_nav stuff work with std::vector and dlib::std_vector_c 
as well as dlib::queue objects.
Modified
/trunk/dlib/dir_nav/dir_nav_kernel_1.h
/trunk/dlib/dir_nav/dir_nav_kernel_2.h
/trunk/dlib/dir_nav/dir_nav_kernel_abstract.h

Revision: 2500
Date: Sep 06, 2008 (15:53:33 UTC)
Added an is_std_vector to the is_kind.h file.
Modified
/trunk/dlib/is_kind.h
/trunk/dlib/stl_checked/std_vector_c.h

Revision: 2497
Date: Sep 06, 2008 (14:26:42 UTC)
cleaned up the sockets test
Modified
/trunk/dlib/test/sockets.cpp

Revision: 2496
Date: Sep 06, 2008 (14:26:17 UTC)
Added some overloads of the create_connection() and create_listener()
functions that use scoped_ptr objects instead of just plain pointers.
Modified
/trunk/dlib/sockets/sockets_kernel_1.cpp
/trunk/dlib/sockets/sockets_kernel_1.h
/trunk/dlib/sockets/sockets_kernel_2.cpp
/trunk/dlib/sockets/sockets_kernel_2.h
/trunk/dlib/sockets/sockets_kernel_abstract.h

Revision: 2495
Date: Aug 22, 2008 (18:51:39 UTC)
cleaned up the code
Modified
/trunk/dlib/test/checkerboard.h

Revision: 2494
Date: Aug 22, 2008 (17:56:30 UTC)
changed slightly to avoid a warning in visual studio
Modified
/trunk/dlib/test/matrix.cpp

Revision: 2493
Date: Aug 22, 2008 (16:01:47 UTC)
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.
Modified
/trunk/dlib/threads/thread_specific_data_extension.h

Revision: 2492
Date: Aug 22, 2008 (14:09:57 UTC)
changed the tests a little
Modified
/trunk/dlib/test/svm.cpp

Revision: 2491
Date: Aug 22, 2008 (13:20:33 UTC)
updated makefile
Modified
/trunk/dlib/test/makefile

Revision: 2490
Date: Aug 22, 2008 (13:20:07 UTC)
Added some regression tests for the svm/kernel methods stuff
Modified
/trunk/dlib/test/CMakeLists.txt
Added
/trunk/dlib/test/checkerboard.h
/trunk/dlib/test/svm.cpp

Revision: 2489
Date: Aug 21, 2008 (23:59:18 UTC)
Cleaned up the rvm code and made the regression version more 
numerically robust.
Modified
/trunk/dlib/svm/rvm.h

Revision: 2488
Date: Aug 21, 2008 (23:36:20 UTC)
Made the rvm classifier more numerically robust
Modified
/trunk/dlib/svm/rvm.h

Revision: 2486
Date: Aug 21, 2008 (01:39:07 UTC)
Organized the Unicode overloads into a more readable format.  Also added some missing
overloads to the spec file.
Modified
/trunk/dlib/gui_widgets/base_widgets_abstract.h
/trunk/dlib/gui_widgets/widgets_abstract.h

Revision: 2485
Date: Aug 21, 2008 (01:07:26 UTC)
Added some overloads for move_rect() and translate_rect() that take a
point object.
Modified
/trunk/dlib/geometry/rectangle.h
/trunk/dlib/geometry/rectangle_abstract.h

Revision: 2483
Date: Aug 21, 2008 (00:47:22 UTC)
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.
Modified
/trunk/dlib/threads/thread_specific_data_extension.h
/trunk/dlib/threads/threads_kernel_abstract.h
/trunk/dlib/threads/threads_kernel_shared.h

Revision: 2482
Date: Aug 20, 2008 (23:45:43 UTC)
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.
Modified
/trunk/dlib/svm/kkmeans.h
/trunk/dlib/svm/kkmeans_abstract.h

Revision: 2481
Date: Aug 20, 2008 (23:29:37 UTC)
Fixed the serialization code for the kkmeans object so that it actually works.
Modified
/trunk/dlib/svm/kkmeans.h

Revision: 2480
Date: Aug 20, 2008 (22:31:35 UTC)
Fixed some potential bugs in the rvm
Modified
/trunk/dlib/svm/rvm.h
/trunk/dlib/svm/rvm_abstract.h

Revision: 2479
Date: Aug 20, 2008 (21:17:29 UTC)
Fixed the cmake option to toggle the ENABLE_ASSERTS macro
Modified
/trunk/dlib/CMakeLists.txt

Revision: 2478
Date: Aug 20, 2008 (21:15:21 UTC)
Added a missing mutex lock to the tooltip widget.  
Modified
/trunk/dlib/gui_widgets/base_widgets.h

Revision: 2474
Date: Aug 14, 2008 (02:56:03 UTC)
Optimized matrix multiplication a little
Modified
/trunk/dlib/matrix.h
/trunk/dlib/matrix/matrix.h
Added
/trunk/dlib/matrix/matrix_assign.h

Revision: 2473
Date: Aug 14, 2008 (02:52:14 UTC)
Added some tests to catch problems with optimized versions of
matrix multiplication 
Modified
/trunk/dlib/test/matrix.cpp

Revision: 2472
Date: Aug 13, 2008 (23:38:26 UTC)
Changed code slightly to avoid another warning from valgrind.
Modified
/trunk/dlib/gui_widgets/widgets.h

Revision: 2471
Date: Aug 13, 2008 (23:10:30 UTC)
Changed the code slightly to avoid a warning from valgrind.
Modified
/trunk/dlib/compress_stream/compress_stream_kernel_2.h

Revision: 2470
Date: Aug 13, 2008 (22:43:47 UTC)
Changed the test slightly to avoid warning from valgrind.
Modified
/trunk/dlib/test/optimization.cpp

Revision: 2468
Date: Aug 13, 2008 (01:34:57 UTC)
Added the spec for the new overload of close_gracefully()
Modified
/trunk/dlib/sockets/sockets_extensions_abstract.h

Revision: 2467
Date: Aug 13, 2008 (01:32:23 UTC)
Added some stuff to encourage the use of scoped_ptr with the connection
objects.
Modified
/trunk/dlib/sockets/sockets_extensions.cpp
/trunk/dlib/sockets/sockets_extensions.h
/trunk/dlib/sockstreambuf/sockstreambuf_kernel_1.h
/trunk/dlib/sockstreambuf/sockstreambuf_kernel_2.h
/trunk/dlib/sockstreambuf/sockstreambuf_kernel_abstract.h

Revision: 2466
Date: Aug 12, 2008 (02:02:54 UTC)
Refactored the matrix code so that all matrix assignments from a matrix_exp
ultimately happen inside the matrix_assign() function.
Modified
/trunk/dlib/matrix/matrix.h
/trunk/dlib/matrix/matrix_utilities.h

Revision: 2465
Date: Aug 10, 2008 (13:35:20 UTC)
Made an example less confusing.
Modified
/trunk/dlib/timeout/timeout_kernel_abstract.h

Revision: 2463
Date: Aug 06, 2008 (21:39:23 UTC)
Fixed a potential bug in the hysteresis_threshold() function.
Modified
/trunk/dlib/image_transforms/thresholding.h

Revision: 2461
Date: Aug 06, 2008 (02:05:30 UTC)
Added some extra checks in the stopping conditions to avoid
getting stuck while training an rvm.
Modified
/trunk/dlib/svm/rvm.h

Revision: 2459
Date: Aug 05, 2008 (01:59:17 UTC)
added a spec for the rvm_regression_trainer 
Modified
/trunk/dlib/svm/rvm_abstract.h

Revision: 2458
Date: Aug 05, 2008 (01:58:43 UTC)
fixed a spelling error
Modified
/trunk/dlib/svm/rbf_network_abstract.h

Revision: 2457
Date: Aug 05, 2008 (01:44:55 UTC)
worked on the rvm regression
Modified
/trunk/dlib/svm/rvm.h

Revision: 2456
Date: Aug 05, 2008 (00:20:27 UTC)
Added an initial cut of the rvm stuff
Modified
/trunk/dlib/svm.h
/trunk/dlib/svm/svm_abstract.h
Added
/trunk/dlib/svm/rvm.h
/trunk/dlib/svm/rvm_abstract.h

Revision: 2455
Date: Aug 05, 2008 (00:19:39 UTC)
optimized the squared and cubed functions a little
Modified
/trunk/dlib/matrix/matrix_math_functions.h

Revision: 2454
Date: Aug 04, 2008 (21:42:46 UTC)
Added more error handling to the nativefont.  Also changed the
code so that the native font object isn't instantiated unless 
you try to use it for something.
Modified
/trunk/dlib/gui_core/gui_core_kernel_2.cpp
/trunk/dlib/gui_widgets/nativefont.h

Revision: 2453
Date: Aug 03, 2008 (20:19:49 UTC)
Added the length and length_squared functions.  Also cleaned up
the sigmoid function's code and spec
Modified
/trunk/dlib/matrix/matrix_math_functions.h
/trunk/dlib/matrix/matrix_math_functions_abstract.h
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/matrix/matrix_utilities_abstract.h

Revision: 2451
Date: Jul 30, 2008 (03:03:22 UTC)
Fixed some typos in the matrix utilities spec file. 
Modified
/trunk/dlib/matrix/matrix_utilities_abstract.h

Revision: 2449
Date: Jul 29, 2008 (23:51:31 UTC)
turned the test_trainer function into the test_binary_decision_function
Modified
/trunk/dlib/svm/svm.h
/trunk/dlib/svm/svm_abstract.h
/trunk/dlib/svm/svm_threaded.h

Revision: 2448
Date: Jul 29, 2008 (23:30:49 UTC)
Made the reduced trainers copyable so that they can be used
with the threaded cross validation functions.
Modified
/trunk/dlib/svm/reduced.h
/trunk/dlib/svm/reduced_abstract.h

Revision: 2447
Date: Jul 29, 2008 (22:37:10 UTC)
changed gui code a little so that windows don't popup in funny 
places when used with the cygwin X windows system.
Modified
/trunk/dlib/gui_core/gui_core_kernel_2.cpp

Revision: 2445
Date: Jul 29, 2008 (02:41:19 UTC)
added the test_trainer and cross_validate_trainer_threaded functions
Modified
/trunk/dlib/svm/svm.h
/trunk/dlib/svm/svm_abstract.h
Added
/trunk/dlib/svm/svm_threaded.h
/trunk/dlib/svm/svm_threaded_abstract.h
/trunk/dlib/svm_threaded.h

Revision: 2444
Date: Jul 25, 2008 (20:19:29 UTC)
Fixed grammar and make spec more clear.
Modified
/trunk/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2440
Date: Jul 25, 2008 (12:06:48 UTC)
Changed a few things so that the code works regardless of how you set the 
character set option in visual studio.
Modified
/trunk/dlib/gui_core/gui_core_kernel_1.cpp

Revision: 2439
Date: Jul 25, 2008 (04:05:42 UTC)
Changed test to avoid false error
Modified
/trunk/dlib/test/optimization.cpp

Revision: 2436
Date: Jul 25, 2008 (03:29:29 UTC)
Changed the default stopping tolerance in the reduced2() function
from 1e-5 to 1e-3.
Modified
/trunk/dlib/svm/reduced.h
/trunk/dlib/svm/reduced_abstract.h

Revision: 2434
Date: Jul 25, 2008 (02:44:51 UTC)
Added a sigmoid_kernel object and also added a kernel_derivative
for the polynomial_kernel.
Modified
/trunk/dlib/svm/kernel.h
/trunk/dlib/svm/kernel_abstract.h

Revision: 2433
Date: Jul 25, 2008 (01:30:51 UTC)
Made the spec more clear and also added some tests
Modified
/trunk/dlib/optimization/optimization_abstract.h
/trunk/dlib/test/optimization.cpp

Revision: 2432
Date: Jul 25, 2008 (00:06:07 UTC)
Changed a few things so that the library works in cygwin.
Modified
/trunk/dlib/CMakeLists.txt
/trunk/dlib/algs.h
/trunk/dlib/sockets/sockets_kernel_2.cpp
/trunk/dlib/test/CMakeLists.txt

Revision: 2431
Date: Jul 25, 2008 (00:00:54 UTC)
Fixed the native font object so that it can find the X11 display 
on Mac OS X even when the application is run outside an xterm.
Modified
/trunk/dlib/gui_widgets/nativefont.h

Revision: 2430
Date: Jul 24, 2008 (02:54:04 UTC)
Made the dlib::vector object convertible to a dlib::matrix and
also gave it a constructor to convert a matrix to a vector as 
well.
Modified
/trunk/dlib/geometry/vector.h
/trunk/dlib/geometry/vector_abstract.h
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/test/geometry.cpp

Revision: 2429
Date: Jul 24, 2008 (02:52:59 UTC)
fixed cmake options
Modified
/trunk/dlib/CMakeLists.txt

Revision: 2427
Date: Jul 17, 2008 (02:39:44 UTC)
Added a cmake option for defining ENABLE_ASSERTS
Modified
/trunk/dlib/CMakeLists.txt

Revision: 2426
Date: Jul 16, 2008 (23:52:53 UTC)
Added an option to the cmake lists file to enable or disable
the stack trace stuff.
Modified
/trunk/dlib/CMakeLists.txt

Revision: 2424
Date: Jul 15, 2008 (02:39:23 UTC)
Added get_kernel() member functions to the reduced set trainers.  
Also added missing comments to the spec.
Modified
/trunk/dlib/svm/reduced.h
/trunk/dlib/svm/reduced_abstract.h

Revision: 2421
Date: Jul 14, 2008 (01:16:28 UTC)
Finished the reduced_decision_function_trainer2 object.  Also added
the kernel_derivative template.
Modified
/trunk/dlib/svm/kernel.h
/trunk/dlib/svm/kernel_abstract.h
/trunk/dlib/svm/reduced.h
/trunk/dlib/svm/reduced_abstract.h

Revision: 2419
Date: Jul 12, 2008 (21:46:22 UTC)
Moved the reduced set stuff to its own file.  Also added a prototype 
version of another reduced set algorithm.
Modified
/trunk/dlib/svm.h
/trunk/dlib/svm/svm.h
/trunk/dlib/svm/svm_abstract.h
Added
/trunk/dlib/svm/reduced.h
/trunk/dlib/svm/reduced_abstract.h

Revision: 2417
Date: Jul 12, 2008 (20:44:19 UTC)
updated cmake file to avoid a warning from cmake
Modified
/trunk/dlib/CMakeLists.txt

Revision: 2416
Date: Jul 12, 2008 (20:04:51 UTC)
Improved the reduced_decision_function_trainer object by making it use
the linearly_independent_subset_finder.
Modified
/trunk/dlib/svm/svm.h

Revision: 2414
Date: Jul 12, 2008 (19:10:06 UTC)
Updated this header to include the linearly_independent_subset_finder
Modified
/trunk/dlib/svm.h

Revision: 2413
Date: Jul 12, 2008 (19:09:44 UTC)
Changed the rbf_network_trainer to use the linearly_independent_subset_finder
to find centers. 
Modified
/trunk/dlib/svm/rbf_network.h
/trunk/dlib/svm/rbf_network_abstract.h

Revision: 2412
Date: Jul 12, 2008 (18:39:57 UTC)
Cleaned up the code a bit
Modified
/trunk/dlib/svm/linearly_independent_subset_finder.h

Revision: 2411
Date: Jul 12, 2008 (18:20:26 UTC)
Added the linearly_independent_subset_finder object
Added
/trunk/dlib/svm/linearly_independent_subset_finder.h
/trunk/dlib/svm/linearly_independent_subset_finder_abstract.h

Revision: 2410
Date: Jul 12, 2008 (17:58:11 UTC)
Made the spec more clear
Modified
/trunk/dlib/svm/kcentroid_abstract.h

Revision: 2409
Date: Jul 12, 2008 (17:16:06 UTC)
Fixed compiler error I just introduced in this file.
Modified
/trunk/dlib/svm/kcentroid.h

Revision: 2408
Date: Jul 12, 2008 (16:01:50 UTC)
cleaned up this spec a little
Modified
/trunk/dlib/svm/kcentroid_abstract.h

Revision: 2407
Date: Jul 12, 2008 (16:01:25 UTC)
Added some missing member variables to the .swap and serialization 
functions.
Modified
/trunk/dlib/svm/kcentroid.h

Revision: 2406
Date: Jul 11, 2008 (17:40:06 UTC)
Added a check for division by zero to the conjugate gradient
optimization functions.
Modified
/trunk/dlib/optimization/optimization.h

Revision: 2405
Date: Jul 11, 2008 (17:33:20 UTC)
Removed a bug in the sum() and variance() functions that
caused them to seg fault when they were used on certain 
matrix of matrix objects.
Modified
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/test/matrix.cpp

Revision: 2404
Date: Jul 11, 2008 (15:46:01 UTC)
Made the members of the function object non-const since
that was sort of obnoxious.
Modified
/trunk/dlib/svm/function.h
/trunk/dlib/svm/function_abstract.h

Revision: 2402
Date: Jul 11, 2008 (15:09:30 UTC)
Added the inv_upper_triangular() and inv_upper_triangular()
functions.
Modified
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/matrix/matrix_utilities_abstract.h
/trunk/dlib/test/matrix.cpp

Revision: 2401
Date: Jul 10, 2008 (23:11:26 UTC)
Made the rbf_network's template argument be a kernel type
instead of a sample type.
Modified
/trunk/dlib/svm/rbf_network.h
/trunk/dlib/svm/rbf_network_abstract.h

Revision: 2400
Date: Jul 10, 2008 (02:50:41 UTC)
made the specs more clear
Modified
/trunk/dlib/svm/rbf_network.h
/trunk/dlib/svm/rbf_network_abstract.h
/trunk/dlib/svm/svm_abstract.h

Revision: 2398
Date: Jul 10, 2008 (02:22:54 UTC)
Removed unnecessary restrictions on the rbf_network_trainer
object.
Modified
/trunk/dlib/svm/rbf_network.h
/trunk/dlib/svm/rbf_network_abstract.h

Revision: 2397
Date: Jul 10, 2008 (02:11:56 UTC)
Added an RBF network trainer
Modified
/trunk/dlib/svm.h
Added
/trunk/dlib/svm/rbf_network.h
/trunk/dlib/svm/rbf_network_abstract.h

Revision: 2396
Date: Jul 10, 2008 (01:04:45 UTC)
Optimized the pinv function a little
Modified
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/test/matrix.cpp

Revision: 2393
Date: Jul 08, 2008 (23:38:33 UTC)
Removed an unneeded and potentially numerical instability 
inducing std::abs call.
Modified
/trunk/dlib/svm/kcentroid.h
/trunk/dlib/svm/krls.h

Revision: 2391
Date: Jul 08, 2008 (03:08:30 UTC)
Added some missing requires clauses and asserts
Modified
/trunk/dlib/svm/kcentroid.h
/trunk/dlib/svm/kcentroid_abstract.h
/trunk/dlib/svm/krls.h
/trunk/dlib/svm/krls_abstract.h

Revision: 2390
Date: Jul 08, 2008 (03:07:45 UTC)
Added the reduced_decision_function_trainer object and 
reduced() function.
Modified
/trunk/dlib/svm/svm.h
/trunk/dlib/svm/svm_abstract.h

Revision: 2388
Date: Jul 08, 2008 (02:12:33 UTC)
made the spec more clear
Modified
/trunk/dlib/image_transforms/equalize_histogram_abstract.h

Revision: 2387
Date: Jul 07, 2008 (01:59:34 UTC)
Added the distance_function object
Modified
/trunk/dlib/svm/function.h
/trunk/dlib/svm/function_abstract.h
/trunk/dlib/svm/kcentroid.h
/trunk/dlib/svm/kcentroid_abstract.h

Revision: 2386
Date: Jul 07, 2008 (01:29:26 UTC)
Optimized the kcentroid code a little by making it wait
to compute the bias term until it actually needs it.
Modified
/trunk/dlib/svm/kcentroid.h

Revision: 2385
Date: Jul 07, 2008 (00:52:10 UTC)
turned some tabs into spaces
Modified
/trunk/dlib/unicode/unicode_abstract.h

Revision: 2383
Date: Jul 06, 2008 (17:55:34 UTC)
Added some missing asserts and cleaned up some things
Modified
/trunk/dlib/svm/svm.h
/trunk/dlib/svm/svm_abstract.h

Revision: 2380
Date: Jul 06, 2008 (17:25:29 UTC)
Refactored a bunch of the svm training code into a much cleaner form.
Modified
/trunk/dlib/svm/svm.h
/trunk/dlib/svm/svm_abstract.h

Revision: 2378
Date: Jul 05, 2008 (17:32:04 UTC)
Made the specs more clear
Modified
/trunk/dlib/svm/kkmeans_abstract.h

Revision: 2377
Date: Jul 05, 2008 (17:30:00 UTC)
made the rank_features() function work with any kind of 
vector like object
Modified
/trunk/dlib/svm/feature_ranking.h
/trunk/dlib/svm/feature_ranking_abstract.h

Revision: 2375
Date: Jul 05, 2008 (17:17:52 UTC)
Made it so the kkmeans train function can take any kind of
vector container.  Not just dlib::matrix.
Modified
/trunk/dlib/svm/kkmeans.h

Revision: 2374
Date: Jul 05, 2008 (17:15:09 UTC)
Made it so you can pass a dlib::matrix to the array_to_matrix
and vector_to_matrix functions.
Modified
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/matrix/matrix_utilities_abstract.h

Revision: 2371
Date: Jul 05, 2008 (15:17:37 UTC)
Added the rank_features() function
Modified
/trunk/dlib/svm.h
Added
/trunk/dlib/svm/feature_ranking.h
/trunk/dlib/svm/feature_ranking_abstract.h

Revision: 2369
Date: Jul 05, 2008 (13:42:44 UTC)
made spec more clear
Modified
/trunk/dlib/optimization/optimization_abstract.h

Revision: 2368
Date: Jul 04, 2008 (16:44:37 UTC)
Added some overloads of the randomize_samples() functions to take
std vector objects and to take just one vector of things without
labels as well.
Modified
/trunk/dlib/svm/svm.h
/trunk/dlib/svm/svm_abstract.h

Revision: 2367
Date: Jul 03, 2008 (23:08:59 UTC)
Added a missing requires clause to the kkmeans object.
Modified
/trunk/dlib/svm/kkmeans.h
/trunk/dlib/svm/kkmeans_abstract.h

Revision: 2366
Date: Jul 03, 2008 (23:04:39 UTC)
Fixed the running_stats object so that the variance can never be negative.
Modified
/trunk/dlib/statistics/statistics.h

Revision: 2365
Date: Jul 03, 2008 (22:56:25 UTC)
Added the ability to compare kcentroid objects to each other
Modified
/trunk/dlib/svm/kcentroid.h
/trunk/dlib/svm/kcentroid_abstract.h

Revision: 2364
Date: Jul 03, 2008 (22:54:40 UTC)
Made the kernel objects comparable via operator==
Modified
/trunk/dlib/svm/kernel.h
/trunk/dlib/svm/kernel_abstract.h

Revision: 2363
Date: Jun 26, 2008 (01:52:50 UTC)
Oops.  Put an important #include back
Modified
/trunk/dlib/gui_core/gui_core_kernel_2.cpp

Revision: 2362
Date: Jun 26, 2008 (01:48:51 UTC)
Applied another Unicode patch from Keita Mochizuki.
Modified
/trunk/dlib/gui_core/gui_core_kernel_1.cpp
/trunk/dlib/gui_core/gui_core_kernel_1.h
/trunk/dlib/gui_core/gui_core_kernel_2.cpp
/trunk/dlib/gui_core/gui_core_kernel_2.h
/trunk/dlib/gui_core/gui_core_kernel_abstract.h
/trunk/dlib/gui_widgets/nativefont.h
/trunk/dlib/gui_widgets/widgets.cpp

Revision: 2359
Date: Jun 24, 2008 (01:17:33 UTC)
fixed out of date spec
Modified
/trunk/dlib/gui_widgets/drawable_abstract.h

Revision: 2358
Date: Jun 24, 2008 (01:11:02 UTC)
Fixed a bug in the min and max calculation. 
Modified
/trunk/dlib/statistics
/trunk/dlib/statistics/statistics.h

Revision: 2352
Date: Jun 22, 2008 (22:54:49 UTC)
set the subversion eol-style to native for these files
Modified
/trunk/dlib/cassert
/trunk/dlib/cstring
/trunk/dlib/fstream
/trunk/dlib/iomanip
/trunk/dlib/iosfwd
/trunk/dlib/iostream
/trunk/dlib/istream
/trunk/dlib/locale
/trunk/dlib/ostream
/trunk/dlib/sstream
/trunk/dlib/test/gui/CMakeLists.txt
/trunk/dlib/test/gui/main.cpp

Revision: 2351
Date: Jun 22, 2008 (22:52:35 UTC)
fixed some compiler warnings
Modified
/trunk/dlib/gui_core/gui_core_kernel_1.cpp
/trunk/dlib/gui_core/gui_core_kernel_1.h
/trunk/dlib/svm/kkmeans.h

Revision: 2348
Date: Jun 22, 2008 (22:14:13 UTC)
Added a min() and max() to the running_stats object.
Modified
/trunk/dlib/statistics/statistics.h
/trunk/dlib/statistics/statistics_abstract.h

Revision: 2346
Date: Jun 21, 2008 (14:32:03 UTC)
Fixed some grammar and typos
Modified
/trunk/dlib/dlib_include_path_tutorial.txt
/trunk/dlib/svm/kkmeans_abstract.h

Revision: 2344
Date: Jun 19, 2008 (02:39:58 UTC)
minor code cleanup
Modified
/trunk/dlib/matrix/matrix.h

Revision: 2343
Date: Jun 19, 2008 (02:34:53 UTC)
changed to avoid compiler warning in visual studio
Modified
/trunk/dlib/matrix/matrix.h
/trunk/dlib/svm/kcentroid.h

Revision: 2340
Date: Jun 19, 2008 (02:21:32 UTC)
Added the running_stats object
Added
/trunk/dlib/statistics
/trunk/dlib/statistics.h
/trunk/dlib/statistics/statistics.h
/trunk/dlib/statistics/statistics_abstract.h

Revision: 2339
Date: Jun 19, 2008 (00:00:18 UTC)
Just code clean up stuff like making sure everything uses the right 
templated scalar types and checking for degenerate numerical conditions 
and so forth.
Modified
/trunk/dlib/svm/kcentroid.h
/trunk/dlib/svm/kcentroid_abstract.h
/trunk/dlib/svm/krls.h

Revision: 2338
Date: Jun 18, 2008 (23:50:01 UTC)
Added some missing requires clauses to the max and min functions.
Modified
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/matrix/matrix_utilities_abstract.h

Revision: 2336
Date: Jun 17, 2008 (00:01:31 UTC)
Changed code slightly to avoid compiler error in some versions of gcc.
Modified
/trunk/dlib/svm/krls.h

Revision: 2334
Date: Jun 16, 2008 (02:22:13 UTC)
Fixed typo in spec
Modified
/trunk/dlib/gui_widgets/fonts_abstract.h

Revision: 2333
Date: Jun 16, 2008 (02:09:49 UTC)
Merging in the unicode branch.  The change log for that branch is as follows:

	------------------------------------------------------------------------
	r2331 | davisking | 2008-06-15 15:03:05 -0400 (Sun, 15 Jun 2008) | 1 line
	Changed paths:
	   M /branches/unicode/dlib/CMakeLists.txt

	Added another link library to the windows part of the cmake file
	------------------------------------------------------------------------
	r2330 | davisking | 2008-06-15 14:11:47 -0400 (Sun, 15 Jun 2008) | 3 lines
	Changed paths:
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_1.cpp
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_1.h
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_2.cpp
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_2.h
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_abstract.h
	   M /branches/unicode/dlib/gui_widgets/base_widgets.cpp
	   M /branches/unicode/dlib/gui_widgets/base_widgets.h
	   M /branches/unicode/dlib/gui_widgets/base_widgets_abstract.h
	   M /branches/unicode/dlib/gui_widgets/drawable.cpp
	   M /branches/unicode/dlib/gui_widgets/drawable.h
	   M /branches/unicode/dlib/gui_widgets/fonts.cpp
	   M /branches/unicode/dlib/gui_widgets/fonts.h
	   M /branches/unicode/dlib/gui_widgets/widgets.cpp
	   M /branches/unicode/dlib/gui_widgets/widgets.h
	   M /branches/unicode/dlib/gui_widgets/widgets_abstract.h

	Added Keita Mochizuki's name to a bunch of files.  Also added a missing
	prototype for the get_native_font() function in fonts.h

	------------------------------------------------------------------------
	r2329 | davisking | 2008-06-15 14:05:17 -0400 (Sun, 15 Jun 2008) | 2 lines
	Changed paths:
	   M /branches/unicode/dlib/gui_widgets/fonts.cpp
	   M /branches/unicode/dlib/gui_widgets/fonts_abstract.h
	   A /branches/unicode/dlib/gui_widgets/nativefont.h

	Added the nativefont object from Keita Mochizuki

	------------------------------------------------------------------------
	r2328 | davisking | 2008-06-15 14:04:44 -0400 (Sun, 15 Jun 2008) | 2 lines
	Changed paths:
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_2.cpp

	Removed an unused variable

	------------------------------------------------------------------------
	r2327 | davisking | 2008-06-15 13:33:31 -0400 (Sun, 15 Jun 2008) | 2 lines
	Changed paths:
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_1.cpp
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_1.h
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_2.cpp
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_2.h
	   M /branches/unicode/dlib/gui_widgets/base_widgets.h
	   M /branches/unicode/dlib/gui_widgets/base_widgets_abstract.h
	   M /branches/unicode/dlib/gui_widgets/drawable.cpp
	   M /branches/unicode/dlib/gui_widgets/drawable.h
	   M /branches/unicode/dlib/gui_widgets/drawable_abstract.h
	   M /branches/unicode/dlib/gui_widgets/widgets.cpp
	   M /branches/unicode/dlib/gui_widgets/widgets.h

	Converted tabs to spaces

	------------------------------------------------------------------------
	r2326 | davisking | 2008-06-15 13:31:32 -0400 (Sun, 15 Jun 2008) | 2 lines
	Changed paths:
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_1.cpp
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_1.h
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_2.cpp
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_2.h
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_abstract.h
	   M /branches/unicode/dlib/gui_widgets/drawable.cpp
	   M /branches/unicode/dlib/gui_widgets/drawable.h
	   M /branches/unicode/dlib/gui_widgets/drawable_abstract.h
	   M /branches/unicode/dlib/gui_widgets/widgets.cpp
	   M /branches/unicode/dlib/gui_widgets/widgets.h

	Checking in the on_string_put() event patch from Keita Mochizuki.

	------------------------------------------------------------------------
	r2325 | davisking | 2008-06-15 13:13:49 -0400 (Sun, 15 Jun 2008) | 2 lines
	Changed paths:
	   M /branches/unicode/dlib/gui_widgets/base_widgets.h
	   M /branches/unicode/dlib/gui_widgets/base_widgets_abstract.h
	   M /branches/unicode/dlib/gui_widgets/style.cpp
	   M /branches/unicode/dlib/gui_widgets/style.h
	   M /branches/unicode/dlib/gui_widgets/style_abstract.h
	   M /branches/unicode/dlib/gui_widgets/widgets.cpp
	   M /branches/unicode/dlib/gui_widgets/widgets.h
	   M /branches/unicode/dlib/gui_widgets/widgets_abstract.h
	   M /branches/unicode/dlib/serialize.h

	Added the first part of the UNICODE patch from Keita Mochizuki 

	------------------------------------------------------------------------
	r2324 | davisking | 2008-06-15 13:05:17 -0400 (Sun, 15 Jun 2008) | 2 lines
	Changed paths:
	   M /branches/unicode/dlib/gui_widgets/fonts_abstract.h

	Fixed a typo in a comment

	------------------------------------------------------------------------
	r2244 | davisking | 2008-05-15 17:40:47 -0400 (Thu, 15 May 2008) | 3 lines
	Changed paths:
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_1.cpp
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_2.cpp
	   M /branches/unicode/dlib/unicode/unicode.cpp
	   M /branches/unicode/dlib/unicode/unicode.h
	   M /branches/unicode/dlib/unicode/unicode_abstract.h

	Put the convert_wstring_to_mbstring() function back in but in a way that 
	works with mingw.

	------------------------------------------------------------------------
	r2219 | davisking | 2008-05-04 11:13:23 -0400 (Sun, 04 May 2008) | 1 line
	Changed paths:
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_2.cpp

	changed to be the same as the windows version
	------------------------------------------------------------------------
	r2218 | davisking | 2008-05-04 10:42:28 -0400 (Sun, 04 May 2008) | 4 lines
	Changed paths:
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_1.cpp
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_2.cpp
	   M /branches/unicode/dlib/unicode/unicode.cpp
	   M /branches/unicode/dlib/unicode/unicode.h
	   M /branches/unicode/dlib/unicode/unicode_abstract.h

	Moved some more stuff around and cleaned up the code.  The wcstombs got 
	moved into the gui_core_kernel_2.cpp file since I removed it from the 
	unicode.cpp file.  This was because mingw doesn't seem to support it.

	------------------------------------------------------------------------
	r2216 | davisking | 2008-05-03 16:03:40 -0400 (Sat, 03 May 2008) | 1 line
	Changed paths:
	   M /branches/unicode/dlib/algs.h
	   M /branches/unicode/dlib/string/string.h
	   M /branches/unicode/dlib/unicode/unicode.h

	Changed code to avoid compiler trouble in mingw and inane warnings in 
	visual studio.
	------------------------------------------------------------------------
	r2215 | davisking | 2008-05-03 10:22:35 -0400 (Sat, 03 May 2008) | 3 lines
	Changed paths:
	   M /branches/unicode/dlib/unicode/unicode.h

	Added a char_traits for dlib::unichar since gcc 3.3 (and probably others) 
	won't compile without it.

	------------------------------------------------------------------------
	r2214 | davisking | 2008-05-03 10:21:32 -0400 (Sat, 03 May 2008) | 2 lines
	Changed paths:
	   M /branches/unicode/dlib/gui_widgets/style.h

	Added a missing #include

	------------------------------------------------------------------------
	r2213 | davisking | 2008-05-02 15:11:23 -0400 (Fri, 02 May 2008) | 3 lines
	Changed paths:
	   M /branches/unicode/dlib/string/string.h
	   M /branches/unicode/dlib/unicode/unicode.cpp

	mingw doesn't have a std::wcstombs so I replaced calls to it with calls to 
	dlib::narrow.  Also changed dlib::narrow so it works in mingw as well since 
	the previous version ended up calling something that mingw doesn't have as 
	well.   
	------------------------------------------------------------------------
	r2212 | davisking | 2008-05-02 11:23:41 -0400 (Fri, 02 May 2008) | 3 lines
	Changed paths:
	   M /branches/unicode/dlib/all/source.cpp

	Applying more of Keita Mochizuki's unicode patch.


	------------------------------------------------------------------------
	r2211 | davisking | 2008-05-02 11:22:58 -0400 (Fri, 02 May 2008) | 2 lines
	Changed paths:
	   M /branches/unicode/dlib/unicode/unicode.h
	   M /branches/unicode/dlib/unicode/unicode_abstract.h

	updated specs a little

	------------------------------------------------------------------------
	r2210 | davisking | 2008-05-02 11:16:33 -0400 (Fri, 02 May 2008) | 2 lines
	Changed paths:
	   A /branches/unicode/dlib/unicode/unicode.cpp
	   M /branches/unicode/dlib/unicode/unicode.h

	Applying more of the unicode patch from Keita Mochizuki 

	------------------------------------------------------------------------
	r2209 | davisking | 2008-05-02 11:10:19 -0400 (Fri, 02 May 2008) | 2 lines
	Changed paths:
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_1.cpp
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_1.h
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_2.cpp
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_2.h
	   M /branches/unicode/dlib/gui_core/gui_core_kernel_abstract.h

	Applying the first part of the unicode patch from Keita Mochizuki 

	------------------------------------------------------------------------
	r2208 | davisking | 2008-05-02 10:49:15 -0400 (Fri, 02 May 2008) | 3 lines
	Changed paths:
	   A /branches/unicode (from /trunk:2207)

	Adding a branch to deal with the unicode patch from Keita Mochizuki.


Modified
/trunk/dlib/CMakeLists.txt
/trunk/dlib/algs.h
/trunk/dlib/all/source.cpp
/trunk/dlib/gui_core/gui_core_kernel_1.cpp
/trunk/dlib/gui_core/gui_core_kernel_1.h
/trunk/dlib/gui_core/gui_core_kernel_2.cpp
/trunk/dlib/gui_core/gui_core_kernel_2.h
/trunk/dlib/gui_core/gui_core_kernel_abstract.h
/trunk/dlib/gui_widgets/base_widgets.cpp
/trunk/dlib/gui_widgets/base_widgets.h
/trunk/dlib/gui_widgets/base_widgets_abstract.h
/trunk/dlib/gui_widgets/drawable.cpp
/trunk/dlib/gui_widgets/drawable.h
/trunk/dlib/gui_widgets/drawable_abstract.h
/trunk/dlib/gui_widgets/fonts.cpp
/trunk/dlib/gui_widgets/fonts.h
/trunk/dlib/gui_widgets/fonts_abstract.h
/trunk/dlib/gui_widgets/style.cpp
/trunk/dlib/gui_widgets/style.h
/trunk/dlib/gui_widgets/style_abstract.h
/trunk/dlib/gui_widgets/widgets.cpp
/trunk/dlib/gui_widgets/widgets.h
/trunk/dlib/gui_widgets/widgets_abstract.h
/trunk/dlib/serialize.h
/trunk/dlib/string/string.h
/trunk/dlib/unicode/unicode.h
/trunk/dlib/unicode/unicode_abstract.h
Added
/trunk/dlib/gui_widgets/nativefont.h
/trunk/dlib/unicode/unicode.cpp

Revision: 2332
Date: Jun 16, 2008 (02:02:08 UTC)
Made the stack trace code a little cleaner
Modified
/trunk/dlib/stack_trace.cpp
/trunk/dlib/stack_trace.h

Revision: 2322
Date: Jun 15, 2008 (15:18:09 UTC)
Added a comment to cite the kmeans++ paper
Modified
/trunk/dlib/svm/kkmeans.h

Revision: 2320
Date: Jun 15, 2008 (15:13:41 UTC)
Added the pick_initial_centers() function
Modified
/trunk/dlib/svm/kkmeans.h
/trunk/dlib/svm/kkmeans_abstract.h

Revision: 2319
Date: Jun 15, 2008 (15:08:01 UTC)
Added a get_kernel() function to these objects.  Also fixed some incorrect
parts of the specs.
Modified
/trunk/dlib/svm/kcentroid.h
/trunk/dlib/svm/kcentroid_abstract.h
/trunk/dlib/svm/kkmeans.h
/trunk/dlib/svm/kkmeans_abstract.h
/trunk/dlib/svm/krls.h
/trunk/dlib/svm/krls_abstract.h

Revision: 2318
Date: Jun 14, 2008 (18:01:21 UTC)
Added a max iteration argument to the kkmeans train function.
Modified
/trunk/dlib/svm/kkmeans.h
/trunk/dlib/svm/kkmeans_abstract.h

Revision: 2317
Date: Jun 14, 2008 (17:56:18 UTC)
made the code a little more clear
Modified
/trunk/dlib/svm/kcentroid.h

Revision: 2314
Date: Jun 14, 2008 (03:38:14 UTC)
Renamed the get_tolerance() and get_max_dictionary_size() functions
so that they don't start with get_ to be a little more consistent.
Modified
/trunk/dlib/svm/kcentroid.h
/trunk/dlib/svm/kcentroid_abstract.h
/trunk/dlib/svm/krls.h
/trunk/dlib/svm/krls_abstract.h

Revision: 2313
Date: Jun 14, 2008 (03:32:09 UTC)
   - Added a max dictionary setting to the kcentroid object
   - Removed the "discount" thing and replaced it with a 
     much less confusing pair of scale arguments to the 
     training functions.
   - Changed the kcentroid's serialization format.
Modified
/trunk/dlib/svm/kcentroid.h
/trunk/dlib/svm/kcentroid_abstract.h

Revision: 2311
Date: Jun 14, 2008 (02:17:23 UTC)
   - Fixed a minor numerical error in the krls code so now it gets slightly better
     results.
   - Added the ability to cap the number of dictionary vectors used by the krls
     object at a user specified number.  This changes the serialization format
     of the object.  I also removed the function to set the threshold after
     the object has been constructed.
Modified
/trunk/dlib/svm/krls.h
/trunk/dlib/svm/krls_abstract.h

Revision: 2310
Date: Jun 13, 2008 (23:43:01 UTC)
Made the specs a little more clear and added some more tests
Modified
/trunk/dlib/matrix/matrix_abstract.h
/trunk/dlib/test/matrix.cpp

Revision: 2309
Date: Jun 13, 2008 (23:12:42 UTC)
Fixed a typo in the spec for round_zeros
Modified
/trunk/dlib/matrix/matrix_math_functions_abstract.h

Revision: 2307
Date: Jun 13, 2008 (12:58:37 UTC)
  - Fixed some issues with the requires clause of the removerc function.
  - Added the remove_row and remove_col functions.  Also made all
    three of the above functions capable of taking arguments at 
    run time as well as compile time.
Modified
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/matrix/matrix_utilities_abstract.h
/trunk/dlib/test/matrix.cpp

Revision: 2306
Date: Jun 11, 2008 (23:35:37 UTC)
Added some clarifying comments to the svd function.
Modified
/trunk/dlib/matrix/matrix_utilities_abstract.h

Revision: 2305
Date: Jun 11, 2008 (23:33:54 UTC)
Fixed an aliasing bug in the set_subm(), set_rowm(), and set_colm() 
functions.  It was possible that you could get incorrect results
if you used these functions to copy one part of a matrix to another
part of the same matrix if the two areas overlapped.
Modified
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/test/matrix.cpp

Revision: 2302
Date: Jun 10, 2008 (01:04:39 UTC)
Fixed compiler error I added to the matrix a moment ago.
Modified
/trunk/dlib/matrix/matrix_utilities.h

Revision: 2301
Date: Jun 10, 2008 (00:56:16 UTC)
Changed the matrix operations so that they result in shorter type names
when compiled.  This avoids problems in compilers like visual studio.
Modified
/trunk/dlib/matrix/matrix_math_functions.h
/trunk/dlib/matrix/matrix_utilities.h

Revision: 2300
Date: Jun 03, 2008 (02:09:11 UTC)
Added an initial cut of the http client code from Steven Van Ingelgem.
Added
/trunk/dlib/http_client
/trunk/dlib/http_client/http_client.cpp
/trunk/dlib/http_client/http_client.h
/trunk/dlib/http_client/http_client_abstract.h

Revision: 2296
Date: Jun 03, 2008 (00:37:25 UTC)
Added some missing assert statements.
Modified
/trunk/dlib/gui_widgets/widgets.h

Revision: 2294
Date: Jun 02, 2008 (23:43:41 UTC)
Modified the radio_button style so that it looks nicer.
Modified
/trunk/dlib/gui_widgets/style.cpp

Revision: 2293
Date: Jun 02, 2008 (23:30:05 UTC)
Fixed typo in spec
Modified
/trunk/dlib/image_transforms/equalize_histogram_abstract.h

Revision: 2292
Date: Jun 02, 2008 (02:27:49 UTC)
Cleaned up the kcentroid code a bit.
Modified
/trunk/dlib/svm/kcentroid.h

Revision: 2291
Date: Jun 02, 2008 (02:16:03 UTC)
Cleaned up the code for the krls object.
Modified
/trunk/dlib/svm/krls.h

Revision: 2290
Date: Jun 01, 2008 (22:58:40 UTC)
Added some more tests to the matrix regression test.
Modified
/trunk/dlib/test/matrix.cpp

Revision: 2289
Date: Jun 01, 2008 (22:58:08 UTC)
Fixed some bugs in the require clause of the subm and set_subm functions.
Also suppressed some compiler warnings.
Modified
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/matrix/matrix_utilities_abstract.h

Revision: 2287
Date: Jun 01, 2008 (22:24:14 UTC)
Added the set_subm, set_rowm, and set_colm functions.
Modified
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/matrix/matrix_utilities_abstract.h

Revision: 2286
Date: May 30, 2008 (23:43:35 UTC)
Added some asserts
Modified
/trunk/dlib/svm/kkmeans.h

Revision: 2282
Date: May 30, 2008 (22:26:48 UTC)
Added the kkmeans object.
Modified
/trunk/dlib/svm.h
Added
/trunk/dlib/svm/kkmeans.h
/trunk/dlib/svm/kkmeans_abstract.h

Revision: 2281
Date: May 30, 2008 (21:03:04 UTC)
Changed the checks in the matrix object so that you are allowed to 
assign a matrix of matrices to another matrix of matrices so long
as long as the assignment makes sense.  Previously you were only
allowed to perform this assignment if the inner most matrix types
were exactly the same.
Modified
/trunk/dlib/matrix/matrix.h
/trunk/dlib/matrix/matrix_utilities.h

Revision: 2279
Date: May 30, 2008 (13:59:38 UTC)
Added two new events to the text_field object.  One for detecting when the 
user hits enter and another for detecting when input focus is lost.
Modified
/trunk/dlib/gui_widgets/widgets.cpp
/trunk/dlib/gui_widgets/widgets.h
/trunk/dlib/gui_widgets/widgets_abstract.h
/trunk/dlib/test/gui/main.cpp

Revision: 2278
Date: May 26, 2008 (13:25:01 UTC)
Changed code to avoid a compiler warning.
Modified
/trunk/dlib/test/array.cpp

Revision: 2277
Date: May 26, 2008 (12:12:21 UTC)
Changed tests so that they compile in visual studio.
Modified
/trunk/dlib/test/optimization.cpp

Revision: 2275
Date: May 26, 2008 (03:56:08 UTC)
Fixed typo in spec
Modified
/trunk/dlib/optimization/optimization_abstract.h

Revision: 2274
Date: May 26, 2008 (03:44:32 UTC)
Made the code more portable
Modified
/trunk/dlib/optimization/optimization.h
/trunk/dlib/optimization/optimization_abstract.h
/trunk/dlib/test/optimization.cpp

Revision: 2273
Date: May 26, 2008 (03:43:34 UTC)
Added the wrap_function and is_function templates.
Modified
/trunk/dlib/algs.h

Revision: 2272
Date: May 25, 2008 (21:43:47 UTC)
Added versions of the find_min_* functions that don't take
a derivative function.
Modified
/trunk/dlib/optimization
/trunk/dlib/optimization/optimization.h
/trunk/dlib/optimization/optimization_abstract.h
/trunk/dlib/test/optimization.cpp

Revision: 2271
Date: May 25, 2008 (21:11:59 UTC)
Made the optimization functions not return the value of the objective
function.
Modified
/trunk/dlib/optimization/optimization.h
/trunk/dlib/optimization/optimization_abstract.h

Revision: 2270
Date: May 25, 2008 (21:11:23 UTC)
saving optimization test
Modified
/trunk/dlib/test/optimization.cpp

Revision: 2269
Date: May 25, 2008 (19:49:02 UTC)
Added an empty test file for the optimization stuff
Modified
/trunk/dlib/test/CMakeLists.txt
/trunk/dlib/test/makefile
Added
/trunk/dlib/test/optimization.cpp

Revision: 2268
Date: May 25, 2008 (19:45:56 UTC)
Removed unneeded stuff
Modified
/trunk/dlib/optimization/optimization.h

Revision: 2266
Date: May 25, 2008 (19:36:09 UTC)
Fixed a typo in a comment
Modified
/trunk/dlib/optimization/optimization_abstract.h

Revision: 2265
Date: May 25, 2008 (19:29:14 UTC)
Renamed some functions.
Modified
/trunk/dlib/optimization/optimization.h
/trunk/dlib/optimization/optimization_abstract.h

Revision: 2264
Date: May 25, 2008 (19:19:18 UTC)
Added a bunch of unconstrained optimization stuff to the library.
Modified
/trunk/dlib/algs.h
Added
/trunk/dlib/optimization
/trunk/dlib/optimization.h
/trunk/dlib/optimization/optimization.h
/trunk/dlib/optimization/optimization_abstract.h

Revision: 2263
Date: May 25, 2008 (02:59:19 UTC)
Fixed some spelling errors
Modified
/trunk/dlib/matrix/matrix.h

Revision: 2262
Date: May 24, 2008 (21:38:50 UTC)
Made the is_matrix template a little more robust.
Modified
/trunk/dlib/matrix/matrix_utilities.h

Revision: 2261
Date: May 24, 2008 (15:10:09 UTC)
Added an identity_matrix() that can take a runtime defined size.
Modified
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/matrix/matrix_utilities_abstract.h

Revision: 2259
Date: May 23, 2008 (02:54:47 UTC)
Made a comment more clear
Modified
/trunk/dlib/is_kind.h

Revision: 2252
Date: May 23, 2008 (00:05:41 UTC)
renamed the one_class object to kcentroid
Modified
/trunk/dlib/svm.h
Added
/trunk/dlib/svm/kcentroid.h
/trunk/dlib/svm/kcentroid_abstract.h
Deleted
/trunk/dlib/svm/one_class.h
/trunk/dlib/svm/one_class_abstract.h

Revision: 2251
Date: May 23, 2008 (00:01:44 UTC)
Added a function that lets you test and train at the same time
Modified
/trunk/dlib/svm/one_class.h
/trunk/dlib/svm/one_class_abstract.h

Revision: 2250
Date: May 21, 2008 (23:00:00 UTC)
Added the max discount parameter to the one class algorithm as well
as cleaned up the code a bit.
Modified
/trunk/dlib/svm/one_class.h
/trunk/dlib/svm/one_class_abstract.h

Revision: 2249
Date: May 21, 2008 (22:57:36 UTC)
Added a requires clause to the set_tolerance() member function and
renamed clear() to clear_dictionary().
Modified
/trunk/dlib/svm/krls.h
/trunk/dlib/svm/krls_abstract.h

Revision: 2247
Date: May 21, 2008 (01:51:41 UTC)
Added a simple kernel based one class classifier.
Modified
/trunk/dlib/svm.h
Added
/trunk/dlib/svm/one_class.h
/trunk/dlib/svm/one_class_abstract.h

Revision: 2246
Date: May 20, 2008 (21:22:20 UTC)
Fixed incorrect comments.
Modified
/trunk/dlib/svm/function_abstract.h

Revision: 2242
Date: May 15, 2008 (20:56:04 UTC)
Changed the stack trace stuff so that it doesn't perform memory 
allocations or copy strings.
Modified
/trunk/dlib/stack_trace.cpp

Revision: 2241
Date: May 15, 2008 (20:47:43 UTC)
Added a missing dlib:: qualifier
Modified
/trunk/dlib/stack_trace.h

Revision: 2237
Date: May 15, 2008 (00:58:02 UTC)
Added a missing scope resolution statement.
Modified
/trunk/dlib/stack_trace.h

Revision: 2236
Date: May 15, 2008 (00:55:42 UTC)
Made the stack trace stuff more robust
Modified
/trunk/dlib/all/source.cpp
/trunk/dlib/assert.h
/trunk/dlib/stack_trace.h
Added
/trunk/dlib/stack_trace.cpp

Revision: 2235
Date: May 14, 2008 (23:39:47 UTC)
fixed typo in comment
Modified
/trunk/dlib/stack_trace.h

Revision: 2234
Date: May 14, 2008 (23:38:32 UTC)
Added stack trace stuff
Added
/trunk/dlib/stack_trace.h

Revision: 2230
Date: May 13, 2008 (02:04:28 UTC)
Added missing comments and fixed some existing ones.
Modified
/trunk/dlib/svm/krls_abstract.h
/trunk/dlib/svm/svm_abstract.h

Revision: 2229
Date: May 13, 2008 (01:41:25 UTC)
Fixed incorrect #include
Modified
/trunk/dlib/svm/svm.h

Revision: 2228
Date: May 13, 2008 (01:13:18 UTC)
Added an implementation of the kernel recursive least squares algorithm
Modified
/trunk/dlib/svm.h
Added
/trunk/dlib/svm/krls.h
/trunk/dlib/svm/krls_abstract.h

Revision: 2226
Date: May 13, 2008 (00:21:07 UTC)
Broke the svm header file into 3 separate files.
Modified
/trunk/dlib/svm/svm.h
/trunk/dlib/svm/svm_abstract.h
Added
/trunk/dlib/svm/function.h
/trunk/dlib/svm/function_abstract.h
/trunk/dlib/svm/kernel.h
/trunk/dlib/svm/kernel_abstract.h

Revision: 2225
Date: May 12, 2008 (23:22:51 UTC)
Made vector_to_matrix work for std_vector_c objects that have
non-default allocators.
Modified
/trunk/dlib/matrix/matrix_utilities.h

Revision: 2224
Date: May 12, 2008 (23:21:19 UTC)
Made vector_to_matrix() work for std::vector objects that have non-default 
allocators.
Modified
/trunk/dlib/matrix/matrix_utilities.h

Revision: 2221
Date: May 10, 2008 (02:49:57 UTC)
Fixed two bugs in the directed_graph_drawer widget.  First, it sometimes threw a dlib::fatal_error
due to a race condition.  Second, the color of the nodes wasn't being serialized when save_graph()
was called.  Note that this second bug fix breaks backwards compatibility with the previous
serialization format.
Modified
/trunk/dlib/gui_widgets/widgets.h

Revision: 2199
Date: May 02, 2008 (14:19:38 UTC)
Properly organized the svn repository.  Finally.
Added
/branches
/tags
/trunk/dlib
/trunk/docs
/trunk/examples
Deleted
/dlib
/docs
/examples

Revision: 2196
Date: Apr 29, 2008 (21:35:23 UTC)
Added missing requires clause.
Modified
/dlib/gui_widgets/style_abstract.h

Revision: 2195
Date: Apr 29, 2008 (21:27:09 UTC)
Added some stuff to make people get a really obvious error message
when they set up the include path incorrectly.
Added
/dlib/cassert
/dlib/cstring
/dlib/dlib_include_path_tutorial.txt
/dlib/fstream
/dlib/iomanip
/dlib/iosfwd
/dlib/iostream
/dlib/istream
/dlib/locale
/dlib/ostream
/dlib/sstream

Revision: 2194
Date: Apr 29, 2008 (21:20:09 UTC)
Fixed typo in spec
Modified
/dlib/gui_widgets/style_abstract.h

Revision: 2191
Date: Apr 28, 2008 (22:37:08 UTC)
Made the file chooser windows use toggle_buttons instead
of normal buttons.
Modified
/dlib/gui_widgets/widgets.h

Revision: 2190
Date: Apr 28, 2008 (21:48:34 UTC)
Made the cmake makefile not print a message when libpng isn't installed.
Modified
/dlib/CMakeLists.txt

Revision: 2187
Date: Apr 28, 2008 (02:56:54 UTC)
   - Added a toggle_button object.  
   - Changed the check_box and radio_button objects to be specializations of the
     new toggle_button object.  This is a nearly backwards compatible change
     except that the events registered to check_box and radio_button clicks
     must now take the form void event(toggle_button&) or void event(void) 
     instead of the previous void event(check_box&) and void event(radio_button&) 
Modified
/dlib/gui_widgets/style.cpp
/dlib/gui_widgets/style.h
/dlib/gui_widgets/style_abstract.h
/dlib/gui_widgets/widgets.cpp
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h
/dlib/test/gui/main.cpp

Revision: 2186
Date: Apr 27, 2008 (23:50:21 UTC)
   - Made queue_sort take an optional compare functor
   - Made the file chooser window sort files and directories with a 
     case insensitive sort.
Modified
/dlib/gui_widgets/widgets.h
/dlib/queue/queue_sort_1.h
/dlib/queue/queue_sort_abstract.h

Revision: 2183
Date: Apr 27, 2008 (20:21:29 UTC)
Made the spec more clear.
Modified
/dlib/bayes_utils/bayes_utils_abstract.h

Revision: 2180
Date: Apr 27, 2008 (16:13:01 UTC)
Made the specs more clear
Modified
/dlib/gui_widgets/widgets_abstract.h

Revision: 2179
Date: Apr 27, 2008 (15:21:46 UTC)
Clarified some comments and also changed the Open button in the file selection window
to be called Ok instead.  
Modified
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h

Revision: 2177
Date: Apr 27, 2008 (14:47:46 UTC)
   - Added a single click event to list_box
   - Added a save_file_box() and open_existing_file_box() function.  Also
     generally improved the file selection box.
Modified
/dlib/gui_widgets/widgets.cpp
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h
/dlib/test/gui/main.cpp

Revision: 2175
Date: Apr 27, 2008 (04:54:10 UTC)
Added the vector_to_matrix() function.
Modified
/dlib/matrix/matrix_utilities.h
/dlib/matrix/matrix_utilities_abstract.h
/dlib/test/matrix.cpp

Revision: 2173
Date: Apr 27, 2008 (04:09:02 UTC)
   - Added a cholesky_decomposition() function.
   - made the equal() function take the epsilon to use as a
     third argument and also made the default epsilon a little 
     bigger.
Modified
/dlib/matrix/matrix_utilities.h
/dlib/matrix/matrix_utilities_abstract.h

Revision: 2171
Date: Apr 26, 2008 (21:23:51 UTC)
Moved the is_matrix template into the is_kind.h header.
Modified
/dlib/is_kind.h
/dlib/matrix/matrix_utilities.h

Revision: 2170
Date: Apr 25, 2008 (01:11:35 UTC)
Changed the preprocessor checks for the wchar_t overload of is_built_in_scalar_type 
so that it works better with visual studio.
Modified
/dlib/algs.h

Revision: 2169
Date: Apr 25, 2008 (00:41:08 UTC)
Added a #ifndef __MINGW32__ to exclude a function that uses wchar_t 
and iostreams in a way that mingw apparently doesn't support
Modified
/dlib/string/string.h

Revision: 2166
Date: Apr 21, 2008 (22:06:28 UTC)
Fix compile error in test GUI
Modified
/dlib/test/gui/main.cpp

Revision: 2165
Date: Apr 21, 2008 (22:05:18 UTC)
Added a test that catches that bug in the join tree stuff
I just fixed.
Modified
/dlib/test/bayes_nets.cpp

Revision: 2164
Date: Apr 21, 2008 (21:45:50 UTC)
Fixed a bug in the bayesian_network_join_tree object that caused it to
compute incorrect results for some networks.
Modified
/dlib/bayes_utils/bayes_utils.h

Revision: 2163
Date: Apr 21, 2008 (00:44:57 UTC)
Modified the directed_graph_drawer so that you can't add edges back
to the same node or add edges going the opposite way as existing
edges.
Modified
/dlib/gui_widgets/widgets.h

Revision: 2162
Date: Apr 20, 2008 (23:51:48 UTC)
Changed the text_grid so that it repaints itself correctly
when you change the background color of a grid element.
Modified
/dlib/gui_widgets/widgets.h

Revision: 2161
Date: Apr 20, 2008 (23:32:17 UTC)
Added a missing return statement.
Modified
/dlib/bayes_utils/bayes_utils.h

Revision: 2160
Date: Apr 20, 2008 (23:09:17 UTC)
Made node_cpt_filled_out() also check if the probabilities 
sum to 1.0
Modified
/dlib/bayes_utils/bayes_utils.h
/dlib/bayes_utils/bayes_utils_abstract.h

Revision: 2159
Date: Apr 20, 2008 (22:15:26 UTC)
Made the graph modified event always get dispatched before any
more specific events.
Modified
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h

Revision: 2157
Date: Apr 20, 2008 (21:03:06 UTC)
Added the requirement that the bayesian network not be empty to the
bayesian_network_join_tree object.
Modified
/dlib/bayes_utils/bayes_utils.h
/dlib/bayes_utils/bayes_utils_abstract.h

Revision: 2156
Date: Apr 20, 2008 (21:00:04 UTC)
Added a graph modified event to the directed_graph_drawer
widget.
Modified
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h

Revision: 2155
Date: Apr 20, 2008 (20:24:30 UTC)
Changed code to suppress compiler warning.
Modified
/dlib/gui_widgets/base_widgets.h

Revision: 2154
Date: Apr 20, 2008 (20:23:22 UTC)
   - Cleaned up the specs a little
   - Added the node_first_parent_assignment(), node_next_parent_assignment(), and 
     node_cpt_filled_out() functions.
Modified
/dlib/bayes_utils/bayes_utils.h
/dlib/bayes_utils/bayes_utils_abstract.h

Revision: 2153
Date: Apr 20, 2008 (17:32:14 UTC)
Changed the spec of the assignment object to say that it enumerates 
its contents in sorted order.
Modified
/dlib/bayes_utils/bayes_utils_abstract.h

Revision: 2152
Date: Apr 20, 2008 (17:05:57 UTC)
Added the empty_table() function to the conditional_probability_table object.
Modified
/dlib/bayes_utils/bayes_utils.h
/dlib/bayes_utils/bayes_utils_abstract.h

Revision: 2151
Date: Apr 19, 2008 (00:51:11 UTC)
   - Added a const version of the directed_graph_drawer::graph_node() function
   - Fixed a bug in the text_grid widget
Modified
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h

Revision: 2150
Date: Apr 18, 2008 (19:28:42 UTC)
   - Changed the functions that control text color in the label and text_field
     widgets to use rgb_pixel objects.  Also added a function to set the
     background color of a text_field.
   - Changed the color of the circle that shows that a node in a directed_graph_drawer
     is selected from red to blue.
Modified
/dlib/gui_widgets/widgets.cpp
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h

Revision: 2149
Date: Apr 18, 2008 (15:32:58 UTC)
Fixed some issues with how the text_field drew the cursor
Modified
/dlib/gui_widgets/widgets.cpp
/dlib/gui_widgets/widgets.h

Revision: 2148
Date: Apr 18, 2008 (15:08:46 UTC)
Changed the directed_graph_drawer so that it only does something with
keyboard input if it was the last thing the user clicked on.
Modified
/dlib/gui_widgets/widgets.h

Revision: 2147
Date: Apr 18, 2008 (15:00:04 UTC)
Changed the directed_graph_drawer so that when you click on a
node that is already selected it doesn't generate any node 
selected/deselected events.
Modified
/dlib/gui_widgets/widgets.h

Revision: 2146
Date: Apr 18, 2008 (14:47:00 UTC)
Made the tabbed_display's enable and disable methods also 
enable and disable all the things it contains.
Modified
/dlib/gui_widgets/widgets.cpp
/dlib/gui_widgets/widgets.h

Revision: 2145
Date: Apr 18, 2008 (14:13:01 UTC)
   - Fixed a bug in the scrollable_region where show() would
     show the scroll bars when it shouldn't have.
   - Fixed a bug in the tabbed_display where it didn't redraw itself
     correctly after it was moved by set_pos()
   - Added the fit_to_contents() function to the tabbed_display 
     widget.
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/widgets.cpp
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h

Revision: 2144
Date: Apr 18, 2008 (12:42:16 UTC)
Added an event to the text_field so you can tell when the
user modifies it.
Modified
/dlib/gui_widgets/widgets.cpp
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h

Revision: 2143
Date: Apr 18, 2008 (03:29:03 UTC)
Removed an unnecessary constructor argument from the widget_group.
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2142
Date: Apr 18, 2008 (02:37:04 UTC)
Fixed a bug in the menu_bar widget.  One of the members wasn't being 
initialized when it needed to be.
Modified
/dlib/gui_widgets/widgets.h

Revision: 2141
Date: Apr 17, 2008 (17:18:41 UTC)
  - Changed the DLIB_ASSERT and DLIB_CASSERT so that they
    return the name of the function they are in (if __FUNCTION__ is
    available) as well as the file and line number.
  - Changed the way wchar_t is handled in the serialize.h file.  Now
    everything should compile correctly in visual studio regardless of how
    you set the /Zc:wchar_t compiler option.
  - Suppressed some compiler warnings in the directed_graph regression test.
Modified
/dlib/assert.h
/dlib/serialize.h
/dlib/test/directed_graph.cpp

Revision: 2140
Date: Apr 17, 2008 (17:09:14 UTC)
Made ASSERT print the name of the function that contains it
if the __FUNCTION__ macro is available.
Modified
/dlib/assert.h

Revision: 2137
Date: Apr 17, 2008 (14:49:58 UTC)
   - Changed the xml parser so that it counts line numbers
     from the start of the input stream instead of from the
     root tag
   - Changed the code so that you will only get the fatal_error
     event once if it occurs. 
Modified
/dlib/xml_parser/xml_parser_kernel_1.h

Revision: 2136
Date: Apr 16, 2008 (22:20:51 UTC)
Changed the text_grid so that the cursor may enter non-editable grid
boxes but just can't modify them.
Modified
/dlib/gui_widgets/widgets.h

Revision: 2134
Date: Apr 15, 2008 (23:00:59 UTC)
renamed the text_grid_display to just text_grid
Modified
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h

Revision: 2132
Date: Apr 15, 2008 (22:53:53 UTC)
Added the text_grid_display widget
Modified
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h

Revision: 2131
Date: Apr 15, 2008 (20:44:41 UTC)
Made the scrollable_region not scroll with the mouse wheel when
it is disabled or hidden.
Modified
/dlib/gui_widgets/base_widgets.h

Revision: 2130
Date: Apr 15, 2008 (20:07:42 UTC)
   - Added some missing mutex locks to the zoomable_region and
     scrollable_region widgets
   - Changed the scroll_bar::set_length() function so that if
     you specify a length of 0 it will force the scroll_bar
     to be length 1.  This avoids some weirdness with other widgets
     trying to determine the width of a scroll bar when the
     scroll bar is actually an empty rectangle due to having
     0 length.
Modified
/dlib/gui_widgets/base_widgets.cpp
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2129
Date: Apr 15, 2008 (19:39:44 UTC)
   - Made the scroll_bar widget use longs instead of unsigned longs
     in reference to scroll bar positions.  Also removed the
     requires clause on the set_slider_pos() since that function now
     saturates the input at the min and max slider position.
   - Added the scroll_to_rect() function to the scrollable_region
Modified
/dlib/gui_widgets/base_widgets.cpp
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/base_widgets_abstract.h
/dlib/gui_widgets/widgets.cpp

Revision: 2128
Date: Apr 15, 2008 (18:56:23 UTC)
Reverted the recent change where I made drawable::lastx and 
drawable::lasty not match the current location of the mouse inside
the on_mouse_move() event.  I changed this back to how it was before,
so now lastx and lasty represent the most current record of where
the mouse is in *all* events.
Modified
/dlib/gui_widgets/drawable.cpp
/dlib/gui_widgets/drawable_abstract.h

Revision: 2127
Date: Apr 15, 2008 (16:38:26 UTC)
Fixed a bug in the compute_cursor_rect() function.  It would return an
incorrectly positioned rectangle for 0 length strings.
Modified
/dlib/gui_widgets/fonts.h

Revision: 2126
Date: Apr 15, 2008 (16:28:31 UTC)
Fixed a minor bug in the cursor drawing of the text_field
gui widget.
Modified
/dlib/gui_widgets/widgets.cpp

Revision: 2125
Date: Apr 15, 2008 (01:07:43 UTC)
Made the scrollable_region's mouse wheel event trigger
for the entire widget rect rather than just the display_area
Modified
/dlib/gui_widgets/base_widgets.h

Revision: 2123
Date: Apr 13, 2008 (23:07:12 UTC)
Changed the code to suppress a compiler warning.
Modified
/dlib/gui_widgets/widgets.h

Revision: 2122
Date: Apr 13, 2008 (23:04:01 UTC)
Added the scrollable_region gui widget.
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2121
Date: Apr 13, 2008 (20:37:46 UTC)
made the spec more clear
Modified
/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2118
Date: Apr 13, 2008 (11:18:06 UTC)
Fixed a bug in the tooltip widget that was triggered when calling
its member functions without calling set_tooltip_text().
Modified
/dlib/gui_widgets/base_widgets.h

Revision: 2117
Date: Apr 13, 2008 (03:33:45 UTC)
  - Removed the fill_rect() call from the zoomable_region widget.  
  - Added a fill_rect() call to the directed_graph_drawer now that there isn't
    one in the zoomable_region.
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/widgets.h

Revision: 2116
Date: Apr 12, 2008 (03:25:33 UTC)
Made the specs more clear
Modified
/dlib/gui_widgets/canvas_drawing_abstract.h

Revision: 2115
Date: Apr 12, 2008 (03:15:35 UTC)
Made the specs more clear
Modified
/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2114
Date: Apr 12, 2008 (02:20:29 UTC)
Added some missing asserts and what not to the zoomable_region and
directed_graph_drawer widgets.
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/widgets.h

Revision: 2113
Date: Apr 11, 2008 (21:23:40 UTC)
Fixed the directed_graph_drawer so that it won't ever draw txt outside
the display rectangle.
Modified
/dlib/gui_widgets/widgets.h

Revision: 2112
Date: Apr 11, 2008 (21:19:29 UTC)
   - Changed the first_pixel field of the draw_string() function 
     to be a rectangle like all the other draw functions now use.
   - Added an area field to the end of the draw_image(), 
     fill_rect_with_vertical_gradient(), and draw_rounded_rectangle()
     functions.
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/canvas_drawing.h
/dlib/gui_widgets/canvas_drawing_abstract.h
/dlib/gui_widgets/fonts.h
/dlib/gui_widgets/fonts_abstract.h
/dlib/gui_widgets/widgets.cpp
/dlib/test/gui/main.cpp

Revision: 2111
Date: Apr 11, 2008 (20:45:41 UTC)
Fixed some annoying things about the zoomable_region gui widget
Modified
/dlib/gui_widgets/base_widgets.h

Revision: 2110
Date: Apr 11, 2008 (20:17:13 UTC)
Fixed a problem in the draw_circle and draw_solid_circle functions.
They didn't draw themselves quite correctly in all cases.
Modified
/dlib/gui_widgets/canvas_drawing.h

Revision: 2108
Date: Apr 11, 2008 (01:14:14 UTC)
Fixed some issues with the directed_graph_drawer and also made the
zoomable_region use vector<double> for graph space points instead
of point objects.
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/base_widgets_abstract.h
/dlib/gui_widgets/widgets.h

Revision: 2106
Date: Apr 10, 2008 (02:33:03 UTC)
Added the directed_graph_drawer gui widget
Modified
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h

Revision: 2104
Date: Apr 10, 2008 (01:10:04 UTC)
Added the zoomable_region gui widget
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2100
Date: Apr 08, 2008 (00:34:34 UTC)
Added some missing asserts as well as more stuff to the gui
test.
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/widgets.h
/dlib/test/gui/main.cpp

Revision: 2099
Date: Apr 07, 2008 (23:25:32 UTC)
Added a missing edge_type typedef and a rebind template to the
directed_graph object.
Modified
/dlib/directed_graph/directed_graph_kernel_1.h
/dlib/directed_graph/directed_graph_kernel_abstract.h

Revision: 2098
Date: Apr 06, 2008 (23:51:45 UTC)
Made the X11 repainting more efficient.
Modified
/dlib/gui_core/gui_core_kernel_2.cpp

Revision: 2097
Date: Apr 06, 2008 (22:24:17 UTC)
Added the background_color() function to the drawable_window so that
you can query its background color.
Modified
/dlib/gui_widgets/drawable.cpp
/dlib/gui_widgets/drawable.h
/dlib/gui_widgets/drawable_abstract.h

Revision: 2096
Date: Apr 06, 2008 (18:12:36 UTC)
Fixed some bugs in the new version of the draw_circle() and draw_solid_circle() 
functions.
Modified
/dlib/gui_widgets/canvas_drawing.h

Revision: 2093
Date: Apr 06, 2008 (14:24:15 UTC)
Fixed #include
Modified
/dlib/gui_widgets/drawable.h

Revision: 2092
Date: Apr 06, 2008 (14:21:24 UTC)
Modified the draw_circle() and draw_solid_circle() functions so that they
only touch each canvas pixel once.  This avoids messing up alpha blending
if an rgb_alpha_pixel is used.  
Modified
/dlib/gui_widgets/canvas_drawing.h

Revision: 2091
Date: Apr 06, 2008 (13:53:16 UTC)
Added a normlize() function for matrix objects.
Modified
/dlib/matrix/matrix_math_functions.h
/dlib/matrix/matrix_math_functions_abstract.h
/dlib/test/matrix.cpp

Revision: 2090
Date: Apr 05, 2008 (21:49:03 UTC)
Added the nearest_point function.
Modified
/dlib/geometry/rectangle.h
/dlib/geometry/rectangle_abstract.h

Revision: 2089
Date: Apr 05, 2008 (20:00:43 UTC)
Added another overload for centered_rect()
Modified
/dlib/geometry/rectangle.h
/dlib/geometry/rectangle_abstract.h

Revision: 2088
Date: Apr 05, 2008 (14:22:55 UTC)
   - Changed the radius of the circle drawing functions to be a double 
     instead of unsigned long
   - Made a bunch of the drawing functions take a rectangle that defines 
     which part of their object they are to draw. 
Modified
/dlib/gui_widgets/canvas_drawing.h
/dlib/gui_widgets/canvas_drawing_abstract.h

Revision: 2087
Date: Apr 04, 2008 (19:13:44 UTC)
Added missing #include
Modified
/dlib/image_loader/png_loader.h
/dlib/image_loader/png_loader_abstract.h

Revision: 2086
Date: Apr 04, 2008 (18:44:54 UTC)
Added a missing #include
Modified
/dlib/gui_widgets/base_widgets.h

Revision: 2084
Date: Apr 04, 2008 (18:09:25 UTC)
Added an icon style for the button widget
Modified
/dlib/gui_widgets/style.cpp
/dlib/gui_widgets/style.h
/dlib/gui_widgets/style_abstract.h

Revision: 2083
Date: Apr 04, 2008 (18:06:10 UTC)
Added an overload of centered_rect() that takes a rectangle and returns
a new one with a different width and height but centered at the same point.
Modified
/dlib/geometry/rectangle.h
/dlib/geometry/rectangle_abstract.h

Revision: 2080
Date: Apr 04, 2008 (14:13:14 UTC)
Made the popup_menu's hotkey recognition case insensitive
Modified
/dlib/gui_widgets/base_widgets.h

Revision: 2079
Date: Apr 04, 2008 (14:10:38 UTC)
Made the specs more clear
Modified
/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2076
Date: Apr 04, 2008 (13:16:06 UTC)
   - Added the png_loader object from Nils Labugt.
   - Fixed a compiler warning in a drawing function.
Modified
/dlib/CMakeLists.txt
/dlib/all/source.cpp
/dlib/gui_widgets/canvas_drawing.h
/dlib/image_io.h
Added
/dlib/image_loader/png_loader.cpp
/dlib/image_loader/png_loader.h
/dlib/image_loader/png_loader_abstract.h

Revision: 2075
Date: Apr 04, 2008 (03:10:13 UTC)
Added another button style
Modified
/dlib/gui_widgets/style.cpp
/dlib/gui_widgets/style.h
/dlib/gui_widgets/style_abstract.h

Revision: 2074
Date: Apr 04, 2008 (02:37:32 UTC)
Shank the padding between menu items slightly
Modified
/dlib/gui_widgets/base_widgets.h

Revision: 2073
Date: Apr 03, 2008 (02:55:05 UTC)
Added the menu_item_submenu and also improved the popup_menu object.
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2072
Date: Apr 03, 2008 (01:31:09 UTC)
  - Added Nils's name to some headers
  - Changed the default font to a nicer Sans Serif font
    since I'm apparently alone in liking Serifs.
Modified
/dlib/gui_widgets/canvas_drawing.cpp
/dlib/gui_widgets/canvas_drawing.h
/dlib/gui_widgets/canvas_drawing_abstract.h
/dlib/gui_widgets/fonts.cpp
/dlib/gui_widgets/style.cpp
/dlib/gui_widgets/style.h
/dlib/gui_widgets/style_abstract.h

Revision: 2070
Date: Apr 02, 2008 (23:08:18 UTC)
Removed code to detect duplicate on_mouse_move events since the
gui_core now make sure it doesn't emit any such events.
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/widgets.h

Revision: 2069
Date: Apr 02, 2008 (23:06:57 UTC)
Added some code to ensure that you never get duplicate 
on_mouse_move() events.
Modified
/dlib/gui_core/gui_core_kernel_1.cpp
/dlib/gui_core/gui_core_kernel_1.h

Revision: 2068
Date: Apr 02, 2008 (22:44:54 UTC)
Added edge data to the directed_graph.  Note that this breaks 
backwards compatibility with the previous serialization format
for directed_graphs.
Modified
/dlib/directed_graph.h
/dlib/directed_graph/directed_graph_kernel_1.h
/dlib/directed_graph/directed_graph_kernel_abstract.h
/dlib/test/directed_graph.cpp

Revision: 2067
Date: Apr 02, 2008 (03:07:09 UTC)
Changed all the drawing functions so that the arguments 
go canvas, position, thing to draw.  So now they all have a 
uniform interface.
Modified
/dlib/gui_widgets/base_widgets.cpp
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/canvas_drawing.cpp
/dlib/gui_widgets/canvas_drawing.h
/dlib/gui_widgets/canvas_drawing_abstract.h
/dlib/gui_widgets/fonts.h
/dlib/gui_widgets/fonts_abstract.h
/dlib/gui_widgets/style.cpp
/dlib/gui_widgets/widgets.cpp
/dlib/gui_widgets/widgets.h
/dlib/test/gui/main.cpp

Revision: 2066
Date: Apr 02, 2008 (02:25:02 UTC)
improved the popup_menu
Modified
/dlib/gui_widgets/base_widgets.h

Revision: 2065
Date: Apr 02, 2008 (02:24:06 UTC)
Undid the last change.  Instead of sending non client area mouse clicks
to on_mouse_down() they now go to on_focus_gained() and on_focus_lost()
so that clicking on non client area things matches what happens in X11.
Modified
/dlib/gui_core/gui_core_kernel_1.cpp

Revision: 2064
Date: Apr 01, 2008 (22:57:02 UTC)
Changed the on_mouse_down() event so that it receives mouse down
events for the non client area of the window (e.g. the title bar)
Modified
/dlib/gui_core/gui_core_kernel_1.cpp

Revision: 2063
Date: Apr 01, 2008 (22:20:43 UTC)
Modified the drawable_window so that the drawable::lastx and drawable::lasty
fields are updated after calls to on_mouse_move.  This way the x and y that
go into the on_mouse_move actually tell you something.

Also fixed a bug in the menu_bar
Modified
/dlib/gui_widgets/drawable.cpp
/dlib/gui_widgets/widgets.h

Revision: 2062
Date: Apr 01, 2008 (22:06:11 UTC)
Removed unnecessary requires clause on some rectangle functions.
Modified
/dlib/geometry/rectangle.h
/dlib/geometry/rectangle_abstract.h

Revision: 2061
Date: Apr 01, 2008 (21:55:16 UTC)
Fixed a bug in the menus and made them look a little nicer.
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/widgets.h

Revision: 2059
Date: Apr 01, 2008 (03:17:27 UTC)
Worked on the popup menus some more
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/base_widgets_abstract.h
/dlib/gui_widgets/widgets.h

Revision: 2058
Date: Mar 31, 2008 (23:50:21 UTC)
Made the base_window::show() function put the window on the top
of the z-order
Modified
/dlib/gui_core/gui_core_kernel_2.cpp

Revision: 2057
Date: Mar 31, 2008 (23:37:08 UTC)
Made base_window::hide() virtual
Modified
/dlib/gui_core/gui_core_kernel_1.h
/dlib/gui_core/gui_core_kernel_2.h
/dlib/gui_core/gui_core_kernel_abstract.h

Revision: 2055
Date: Mar 31, 2008 (23:25:22 UTC)
Changed stuff so that the popup_menu works right on windows.
Modified
/dlib/gui_core/gui_core_kernel_1.cpp
/dlib/gui_widgets/base_widgets.h

Revision: 2053
Date: Mar 31, 2008 (22:23:50 UTC)
Added the popup_menu and menu_bar widgets.  They aren't quite finished 
yet though.
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/base_widgets_abstract.h
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h

Revision: 2052
Date: Mar 31, 2008 (22:23:12 UTC)
made the spec more clear
Modified
/dlib/gui_widgets/style_abstract.h

Revision: 2051
Date: Mar 31, 2008 (21:36:02 UTC)
Fixed spelling error in spec
Modified
/dlib/gui_core/gui_core_kernel_abstract.h

Revision: 2049
Date: Mar 30, 2008 (20:44:21 UTC)
Improved the fill_rect_with_vertical_gradient() function
Modified
/dlib/gui_widgets/canvas_drawing.h

Revision: 2048
Date: Mar 30, 2008 (20:43:36 UTC)
  - Added the resize_rect_height() and resize_rect_width() functions
  - Fixed a bug in the resize_rect() function
Modified
/dlib/geometry/rectangle.h
/dlib/geometry/rectangle_abstract.h

Revision: 2047
Date: Mar 30, 2008 (17:58:58 UTC)
Added comments to spec
Modified
/dlib/gui_widgets/style_abstract.h

Revision: 2046
Date: Mar 30, 2008 (17:21:29 UTC)
Made the tooltip window take a little longer to popup
Modified
/dlib/gui_widgets/base_widgets.h

Revision: 2045
Date: Mar 30, 2008 (13:48:05 UTC)
Removed the old win32 only gui code.
Deleted
/dlib/gui
/dlib/gui.h

Revision: 2043
Date: Mar 29, 2008 (23:29:17 UTC)
Added tooltips to button objects
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/widgets.cpp
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h
/dlib/test/gui/main.cpp

Revision: 2042
Date: Mar 29, 2008 (23:02:43 UTC)
   - Added a tooltip widget
   - Fixed a typo in the image_widget spec that said it was abstract
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2041
Date: Mar 29, 2008 (22:58:42 UTC)
Changed the default position for a rectangle to (0,0) instead of (1,1)
Modified
/dlib/geometry/rectangle.h
/dlib/geometry/rectangle_abstract.h

Revision: 2040
Date: Mar 29, 2008 (21:18:10 UTC)
Renamed the button_style draw function to draw_button
Modified
/dlib/gui_widgets/style.cpp
/dlib/gui_widgets/style.h
/dlib/gui_widgets/style_abstract.h
/dlib/gui_widgets/widgets.h

Revision: 2038
Date: Mar 29, 2008 (19:59:27 UTC)
update spec
Modified
/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2037
Date: Mar 29, 2008 (19:47:57 UTC)
Added an include
Modified
/dlib/gui_widgets/widgets_abstract.h

Revision: 2036
Date: Mar 29, 2008 (19:40:12 UTC)
Gave button styles the ability to redraw the button when the mouse
moves over it.
Modified
/dlib/gui_widgets/style.cpp
/dlib/gui_widgets/style.h
/dlib/gui_widgets/style_abstract.h
/dlib/gui_widgets/widgets.h

Revision: 2035
Date: Mar 29, 2008 (19:22:23 UTC)
   - Added the mouse_over_event object to the base_widgets and made the button_action
     inherit from it.
   - Added the next_free_user_event_number() so that we can actually have a safe
     way of using user events when objects inherit from other objects that
     already use user events.

Modified
/dlib/gui_widgets/base_widgets.cpp
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/base_widgets_abstract.h
/dlib/gui_widgets/drawable.h
/dlib/gui_widgets/drawable_abstract.h
/dlib/gui_widgets/widgets.h

Revision: 2034
Date: Mar 29, 2008 (17:37:38 UTC)
Changed the gui button so that it has a user selectable style.
Modified
/dlib/all/source.cpp
/dlib/gui_widgets/widgets.cpp
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h
Added
/dlib/gui_widgets/style.cpp
/dlib/gui_widgets/style.h
/dlib/gui_widgets/style_abstract.h

Revision: 2033
Date: Mar 29, 2008 (17:10:27 UTC)
Added the centered_rect(), translate_rect(), move_rect() and resize_rect()
functions.  Also added a new rectangle constructor.
Modified
/dlib/geometry/rectangle.h
/dlib/geometry/rectangle_abstract.h

Revision: 2031
Date: Mar 28, 2008 (23:34:11 UTC)
Fixed another bug in the GUI set_pos() and set_size() functions.
Modified
/dlib/gui_core/gui_core_kernel_1.cpp

Revision: 2029
Date: Mar 25, 2008 (20:00:59 UTC)
   - Made the functions for drawing on canvas objects take points and pixels instead of
     just a bunch of integers.  
   - Also moved them into the canvas_drawing.h file.
   - Added the draw_rounded_rectangle() and fill_gradient_rounded() functions
     from Nils Labugt.
Modified
/dlib/all/source.cpp
/dlib/gui_widgets/base_widgets.cpp
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/drawable.cpp
/dlib/gui_widgets/drawable.h
/dlib/gui_widgets/drawable_abstract.h
/dlib/gui_widgets/fonts.h
/dlib/gui_widgets/fonts_abstract.h
/dlib/gui_widgets/widgets.cpp
/dlib/matrix/matrix_utilities.h
/dlib/test/gui/main.cpp
Added
/dlib/gui_widgets/canvas_drawing.cpp
/dlib/gui_widgets/canvas_drawing.h
/dlib/gui_widgets/canvas_drawing_abstract.h

Revision: 2028
Date: Mar 21, 2008 (17:45:11 UTC)
Fixed grammar and spelling
Modified
/dlib/threads/threads_kernel_abstract.h

Revision: 2027
Date: Mar 20, 2008 (22:12:59 UTC)
Made the load_bmp() function more robust in the face of weirdly 
written BMP files.
Modified
/dlib/image_loader/image_loader.h

Revision: 2026
Date: Mar 16, 2008 (20:16:44 UTC)
Applied the patch from Nils Labugt that ads support for more keyboard modifier keys 
such as the alt key.  
Modified
/dlib/gui_core/gui_core_kernel_1.cpp
/dlib/gui_core/gui_core_kernel_1.h
/dlib/gui_core/gui_core_kernel_2.cpp
/dlib/gui_core/gui_core_kernel_2.h
/dlib/gui_core/gui_core_kernel_abstract.h
/dlib/gui_widgets/drawable.cpp
/dlib/gui_widgets/drawable.h
/dlib/gui_widgets/drawable_abstract.h
/dlib/gui_widgets/widgets.cpp
/dlib/gui_widgets/widgets.h
/dlib/test/gui/main.cpp

Revision: 2025
Date: Mar 16, 2008 (15:40:52 UTC)
Fixed a bug in the win32 version of the gui_core component.  It was possible that 
calling set_size(), set_pos(), or set_title() could cause the program to deadlock.
Modified
/dlib/gui_core/gui_core_kernel_1.cpp

Revision: 2024
Date: Mar 16, 2008 (01:36:36 UTC)
Added some missing error checking to the load_dng() function.
Modified
/dlib/image_loader/image_loader.h
/dlib/image_saver/dng_shared.h

Revision: 2021
Date: Mar 11, 2008 (22:40:53 UTC)
Fixing point serialization again.
Modified
/dlib/geometry/vector.h

Revision: 2020
Date: Mar 11, 2008 (22:15:15 UTC)
Changed the point serialization because it apparently doesn't
work right in some versions of visual studio.
Modified
/dlib/geometry/vector.h

Revision: 2019
Date: Mar 11, 2008 (21:54:24 UTC)
Fixed a bug in the floating point serialization code.  It 
didn't handle NaN or infinities correctly.
Modified
/dlib/serialize.h
/dlib/test/serialize.cpp

Revision: 2018
Date: Mar 11, 2008 (21:15:58 UTC)
Added missing std:: qualifier
Modified
/dlib/graph_utils/graph_utils.h

Revision: 2017
Date: Mar 11, 2008 (21:03:13 UTC)
Added some more matrix tests.
Modified
/dlib/test/matrix.cpp

Revision: 2015
Date: Mar 11, 2008 (01:10:55 UTC)
Added the area() function to the rectangle object.
Modified
/dlib/geometry/rectangle.h
/dlib/geometry/rectangle_abstract.h

Revision: 2014
Date: Mar 11, 2008 (00:56:26 UTC)
   - Added the point class as well as a bunch of convenience functions
     and automatic casts between points, rectangles, and vectors.
Modified
/dlib/geometry/rectangle.h
/dlib/geometry/rectangle_abstract.h
/dlib/geometry/vector.h
/dlib/geometry/vector_abstract.h
/dlib/test/CMakeLists.txt
/dlib/test/makefile
Added
/dlib/test/geometry.cpp

Revision: 2012
Date: Mar 10, 2008 (22:42:11 UTC)
  - Added a get_rect() for matrix objects. 
  - Added a subm() function that takes rectangles
  - Added a rectangle::contains(const rectangle&)
Modified
/dlib/geometry/rectangle.h
/dlib/geometry/rectangle_abstract.h
/dlib/geometry/vector.h
/dlib/matrix/matrix_utilities.h
/dlib/matrix/matrix_utilities_abstract.h
/dlib/test/matrix.cpp

Revision: 2011
Date: Mar 10, 2008 (22:15:21 UTC)
Removed this folder now that its source files are in the geometry 
folder.
Deleted
/dlib/vector

Revision: 2010
Date: Mar 10, 2008 (22:14:45 UTC)
Moved the vector object into the geometry folder.  Also removed the kernel_1a
stuff.  So there is now only one possible vector implementation.
Modified
/dlib/geometry.h
Added
/dlib/geometry/vector.h
/dlib/geometry/vector_abstract.h
Deleted
/dlib/vector.h
/dlib/vector/vector_kernel_1.h
/dlib/vector/vector_kernel_abstract.h

Revision: 2009
Date: Mar 10, 2008 (21:59:25 UTC)
Moved the rectangle object from the gui_core into a new geometry folder.
Modified
/dlib/gui_core/gui_core_kernel_1.h
/dlib/gui_core/gui_core_kernel_2.h
/dlib/gui_core/gui_core_kernel_abstract.h
Added
/dlib/geometry
/dlib/geometry.h
/dlib/geometry/rectangle.h
/dlib/geometry/rectangle_abstract.h
Deleted
/dlib/gui_core/rectangle.h

Revision: 2008
Date: Mar 10, 2008 (21:25:23 UTC)
Fixed a typo in a DLIB_ASSERT message.
Modified
/dlib/matrix/matrix_utilities.h

Revision: 2005
Date: Mar 07, 2008 (03:13:20 UTC)
Fixed a typo in specs
Modified
/dlib/matrix/matrix_math_functions_abstract.h

Revision: 2003
Date: Mar 07, 2008 (02:47:37 UTC)
Added squared() and cubed() matrix functions. 
Modified
/dlib/matrix/matrix_math_functions.h
/dlib/matrix/matrix_math_functions_abstract.h
/dlib/test/matrix.cpp

Revision: 2001
Date: Mar 07, 2008 (02:04:26 UTC)
Renamed atom() to array_to_matrix()
Modified
/dlib/matrix/matrix_utilities.h
/dlib/matrix/matrix_utilities_abstract.h
/dlib/test/matrix.cpp

Revision: 2000
Date: Mar 07, 2008 (02:00:20 UTC)
Added a size() function to matrix_exp and matrix_ref objects.
Modified
/dlib/matrix/matrix.h
/dlib/matrix/matrix_abstract.h
/dlib/test/matrix.cpp

Revision: 1997
Date: Mar 05, 2008 (03:59:28 UTC)
Made the svm stuff templated such that it can operate on scalar
types of float, double, or long double instead of just double.
Modified
/dlib/svm/svm.h
/dlib/svm/svm_abstract.h

Revision: 1996
Date: Mar 04, 2008 (00:44:58 UTC)
Fixed a spelling error
Modified
/dlib/memory_manager_stateless/memory_manager_stateless_kernel_abstract.h

Revision: 1992
Date: Mar 01, 2008 (14:52:02 UTC)
Added an optimization to the working set selection for the svm training code.
Now the algorithm will prefer to select indices that are in the kernel 
matrix cache when possible instead of ones that aren't.  In the data I tested
this resulted in as much as a 10% speed boost when only a small part of the
kernel matrix was cached.
Modified
/dlib/svm/svm.h

Revision: 1991
Date: Feb 29, 2008 (03:06:05 UTC)
Fixed a bug in the svm_nu_train_prob() function.
Modified
/dlib/svm/svm.h

Revision: 1990
Date: Feb 28, 2008 (23:33:13 UTC)
Changed the svm train functions so that the cache_size argument
now measures the max number of megabytes of memory to use rather
than number of kernel matrix rows to cache.  It's default
value is now 200MB.
Modified
/dlib/svm/svm.h
/dlib/svm/svm_abstract.h

Revision: 1987
Date: Feb 28, 2008 (04:19:21 UTC)
updated the svm spec
Modified
/dlib/svm/svm_abstract.h

Revision: 1986
Date: Feb 28, 2008 (04:07:54 UTC)
   - Added the probabilistic_decision_function object and svm_nu_train_prob() 
     function.
   - Fixed a bug in the decision_function's copy constructor.
Modified
/dlib/svm/svm.h

Revision: 1983
Date: Feb 27, 2008 (23:57:36 UTC)
Fixed a bug in the trim, rtrim, and ltrim functions.  They
didn't return empty strings when the input string contained all
trim characters.
Modified
/dlib/string/string.h
/dlib/test/string.cpp

Revision: 1982
Date: Feb 27, 2008 (23:46:15 UTC)
Fixed typo in spec
Modified
/dlib/svm/svm_abstract.h

Revision: 1981
Date: Feb 27, 2008 (23:45:17 UTC)
Made docs more clear
Modified
/dlib/svm/svm_abstract.h

Revision: 1980
Date: Feb 27, 2008 (23:43:53 UTC)
Tried to make the docs more clear.
Modified
/dlib/serialize.h

Revision: 1978
Date: Feb 24, 2008 (17:32:14 UTC)
Added another constructor to the thread_function object.  
Now it can take proper function objects as well as normal function
pointers.
Modified
/dlib/threads/thread_function_extension.h
/dlib/threads/thread_function_extension_abstract.h

Revision: 1970
Date: Feb 22, 2008 (14:45:21 UTC)
Added the polynomial_kernel and also made the decision_function 
return the margin instead of forcing the value to +1 or -1.
Modified
/dlib/svm/svm.h
/dlib/svm/svm_abstract.h

Revision: 1967
Date: Feb 22, 2008 (13:16:35 UTC)
Fixed a typo in the spec
Modified
/dlib/threads/thread_function_extension_abstract.h

Revision: 1965
Date: Feb 21, 2008 (01:46:48 UTC)
Changed some class keywords to typename
Modified
/dlib/stl_checked/std_vector_c.h
/dlib/stl_checked/std_vector_c_abstract.h

Revision: 1964
Date: Feb 21, 2008 (01:40:55 UTC)
Finished the std_vector_c object.  
Modified
/dlib/stl_checked/std_vector_c.h
Added
/dlib/stl_checked/std_vector_c_abstract.h

Revision: 1963
Date: Feb 20, 2008 (14:36:46 UTC)
Added a class that wraps std::vector and checks its function's 
preconditions.
Added
/dlib/stl_checked
/dlib/stl_checked.h
/dlib/stl_checked/std_vector_c.h

Revision: 1961
Date: Feb 20, 2008 (03:58:52 UTC)
Added some push/pop_back() functions to the array object that are similar
to the ones in the std::vector.
Modified
/dlib/array.h
/dlib/array/array_expand_1.h
/dlib/array/array_expand_abstract.h
/dlib/test/array.cpp
Added
/dlib/array/array_expand_c.h

Revision: 1960
Date: Feb 19, 2008 (23:11:00 UTC)
Changed code to avoid a compiler warning about an initialized variable.
Modified
/dlib/gui_core/gui_core_kernel_2.cpp
/dlib/gui_core/gui_core_kernel_2.h

Revision: 1958
Date: Feb 19, 2008 (23:06:25 UTC)
Changed the svm_nu_cross_validate() function to return a vector
of both the +1 and -1 cross validation accuracies.
Modified
/dlib/svm/svm.h
/dlib/svm/svm_abstract.h

Revision: 1956
Date: Feb 18, 2008 (00:13:52 UTC)
Added the atom(), rowm(), colm(), and subm() matrix functions.
Modified
/dlib/matrix/matrix_utilities.h
/dlib/matrix/matrix_utilities_abstract.h
/dlib/test/matrix.cpp

Revision: 1951
Date: Feb 16, 2008 (02:10:16 UTC)
Fixed canvas::fill() gui function so that it should work right
on 64 bit platforms.
Modified
/dlib/gui_core/gui_core_kernel_2.cpp

Revision: 1950
Date: Feb 15, 2008 (22:29:32 UTC)
Fixed a bug in the list_box that caused it to not hide itself properly
when told to do so.
Modified
/dlib/gui_widgets/widgets.cpp

Revision: 1949
Date: Feb 14, 2008 (04:28:12 UTC)
Made the specs for the assign_pixel() function more clear.
Modified
/dlib/pixel.h

Revision: 1947
Date: Feb 14, 2008 (04:14:11 UTC)
Added a version of the drawable::draw_line() function for 
array2d objects.
Modified
/dlib/image_transforms.h
Added
/dlib/image_transforms/draw.h
/dlib/image_transforms/draw_abstract.h

Revision: 1942
Date: Feb 12, 2008 (23:39:55 UTC)
Made the pinv() specs more clear.
Modified
/dlib/matrix/matrix_utilities_abstract.h
/dlib/test/matrix.cpp

Revision: 1940
Date: Feb 12, 2008 (03:23:22 UTC)
   - Added a regression test for the equalize_histogram() function
   - Made the equalize_histogram() function pass the memory manager
     type from the input image along to the matrix it uses 
     internally.
Modified
/dlib/image_transforms/equalize_histogram.h
/dlib/test/image.cpp

Revision: 1939
Date: Feb 12, 2008 (03:15:57 UTC)
Added typedefs to everything that uses the memory manager so that
any templates can figure out what type of memory manager is being
used.
Modified
/dlib/array/array_kernel_1.h
/dlib/array/array_kernel_2.h
/dlib/array/array_kernel_abstract.h
/dlib/array2d/array2d_kernel_1.h
/dlib/array2d/array2d_kernel_abstract.h
/dlib/array2d/array2d_kernel_c.h
/dlib/binary_search_tree/binary_search_tree_kernel_1.h
/dlib/binary_search_tree/binary_search_tree_kernel_2.h
/dlib/binary_search_tree/binary_search_tree_kernel_abstract.h
/dlib/directed_graph/directed_graph_kernel_1.h
/dlib/directed_graph/directed_graph_kernel_abstract.h
/dlib/graph/graph_kernel_1.h
/dlib/graph/graph_kernel_abstract.h
/dlib/hash_map/hash_map_kernel_1.h
/dlib/hash_map/hash_map_kernel_abstract.h
/dlib/hash_set/hash_set_kernel_1.h
/dlib/hash_set/hash_set_kernel_abstract.h
/dlib/hash_table/hash_table_kernel_1.h
/dlib/hash_table/hash_table_kernel_2.h
/dlib/hash_table/hash_table_kernel_abstract.h
/dlib/map/map_kernel_1.h
/dlib/map/map_kernel_abstract.h
/dlib/queue/queue_kernel_1.h
/dlib/queue/queue_kernel_2.h
/dlib/queue/queue_kernel_abstract.h
/dlib/sequence/sequence_kernel_1.h
/dlib/sequence/sequence_kernel_2.h
/dlib/sequence/sequence_kernel_abstract.h
/dlib/set/set_kernel_1.h
/dlib/set/set_kernel_abstract.h
/dlib/stack/stack_kernel_1.h
/dlib/stack/stack_kernel_abstract.h

Revision: 1937
Date: Feb 12, 2008 (01:50:38 UTC)
   - Suppressed a compiler warning in the queue about an initialized variable.
     To do this I had to create the assign_zero_if_built_in_scalar_type() 
     function as well as the is_built_in_scalar_type template.
Modified
/dlib/algs.h
/dlib/queue/queue_kernel_2.h

Revision: 1936
Date: Feb 12, 2008 (01:48:39 UTC)
Fixed the mlp with regards to the recent changes to the rand object.
Modified
/dlib/mlp/mlp_kernel_1.h

Revision: 1934
Date: Feb 11, 2008 (23:45:53 UTC)
Switched the arguments to array2d::set_size since I missed this one
call when I changed the array2d object recently.
Modified
/dlib/gui_widgets/fonts.cpp

Revision: 1933
Date: Feb 11, 2008 (23:44:58 UTC)
Made the startup of the X11 code more robust.  In particular, it 
now works in more instances on Mac OS X.
Modified
/dlib/gui_core/gui_core_kernel_2.cpp

Revision: 1931
Date: Feb 10, 2008 (23:04:47 UTC)
Changed all the image processing functions so that they don't use or make
reference to the enumerable interface part of the array2d object.
Modified
/dlib/image_transforms/assign_image.h
/dlib/image_transforms/assign_image_abstract.h
/dlib/image_transforms/edge_detector.h
/dlib/image_transforms/equalize_histogram.h
/dlib/image_transforms/equalize_histogram_abstract.h
/dlib/image_transforms/morphological_operations.h
/dlib/image_transforms/morphological_operations_abstract.h
/dlib/image_transforms/spatial_filtering.h
/dlib/image_transforms/spatial_filtering_abstract.h
/dlib/image_transforms/thresholding_abstract.h

Revision: 1930
Date: Feb 10, 2008 (22:57:13 UTC)
Changed cast to suppress compiler warning
Modified
/dlib/pixel.h

Revision: 1929
Date: Feb 10, 2008 (22:22:38 UTC)
Added casts to suppress compiler warnings from Visual Studio
Modified
/dlib/test/image.cpp

Revision: 1928
Date: Feb 10, 2008 (22:04:48 UTC)
   - Changed load_bmp() so that it works correctly using all istreams rather than
     just ifstream objects.  Specifically, I removed the use of pubseekpos() 
     since this function often only makes sense for input file streams.
   - Added a 16bit gray level DNG image type.  This means that now images that 
     contain 16bit gray level pixels will be saved exactly rather than 
     be converted to 8bit gray scale pixels.
   - Generally made the code more robust and added some regression tests
     for the image IO stuff.
Modified
/dlib/image_loader/image_loader.h
/dlib/image_saver/dng_shared.h
/dlib/image_saver/image_saver.h
/dlib/test/image.cpp

Revision: 1926
Date: Feb 10, 2008 (04:27:46 UTC)
   - Removed the width() and height() functions from the array2d.  Now only the
     equivalent nc() and nr() member functions remain.
   - Changed array2d::set_size(width,height) to set_size(num_rows, num_cols).  
     That is, I switched the order of the two arguments to this function.
     The reason for doing this is to make it have the same form as the
     set_size() member of the matrix object.  This way the usage of the
     set_size() member for these two very similar data structures is 
     the same.  Hopefully this will reduce confusion rather than 
     make things worse.
Modified
/dlib/array2d/array2d_kernel_1.h
/dlib/array2d/array2d_kernel_abstract.h
/dlib/array2d/array2d_kernel_c.h
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/base_widgets_abstract.h
/dlib/gui_widgets/drawable.h
/dlib/gui_widgets/drawable_abstract.h
/dlib/image_loader/image_loader.h
/dlib/image_loader/image_loader_abstract.h
/dlib/image_saver/image_saver.h
/dlib/image_saver/image_saver_abstract.h
/dlib/image_transforms/assign_image.h
/dlib/image_transforms/assign_image_abstract.h
/dlib/image_transforms/edge_detector.h
/dlib/image_transforms/equalize_histogram.h
/dlib/image_transforms/equalize_histogram_abstract.h
/dlib/image_transforms/morphological_operations.h
/dlib/image_transforms/morphological_operations_abstract.h
/dlib/image_transforms/spatial_filtering.h
/dlib/image_transforms/spatial_filtering_abstract.h
/dlib/image_transforms/thresholding.h
/dlib/image_transforms/thresholding_abstract.h
/dlib/test/array2d.cpp

Revision: 1924
Date: Feb 07, 2008 (01:46:47 UTC)
Fixed a bug in this test.  It would sometimes say an 
error occurred when one hadn't.
Modified
/dlib/test/compress_stream.cpp

Revision: 1923
Date: Feb 06, 2008 (23:25:54 UTC)
Updated due to the change in the compress_stream object.  
Modified
/dlib/test/serialize.cpp

Revision: 1922
Date: Feb 05, 2008 (23:11:29 UTC)
Added a checksum to compress_stream_kernel_1 and kernel_2.  Note that this 
breaks backwards compatibility with the previous versions that didn't have 
this checksum.
Modified
/dlib/compress_stream.h
/dlib/compress_stream/compress_stream_kernel_1.h
/dlib/compress_stream/compress_stream_kernel_2.h
/dlib/gui_widgets/fonts.cpp
/dlib/test/rand.cpp

Revision: 1921
Date: Feb 05, 2008 (03:29:41 UTC)
Added memory manager support to the matrix object.
Modified
/dlib/matrix/matrix.h
/dlib/matrix/matrix_abstract.h
/dlib/matrix/matrix_utilities.h
/dlib/matrix/matrix_utilities_abstract.h
/dlib/test/matrix.cpp

Revision: 1918
Date: Feb 03, 2008 (17:00:54 UTC)
Updated the testing stuff
Modified
/dlib/test/example.cpp
/dlib/test/example_args.cpp
/dlib/test/makefile

Revision: 1917
Date: Feb 03, 2008 (15:22:09 UTC)
Added some more tests
Modified
/dlib/test/queue.cpp

Revision: 1916
Date: Feb 03, 2008 (15:09:03 UTC)
  - Fixed a potential divide by zero in the new queue 
    sorting code.
  - Fixed an old bug in the queue_kernel_2 object 
    where it didn't work correctly with the 
    non-default memory managers.
Modified
/dlib/queue/queue_kernel_2.h
/dlib/queue/queue_sort_1.h

Revision: 1914
Date: Feb 02, 2008 (21:29:16 UTC)
Added some more tests to the queue regression test.
Modified
/dlib/test/queue.cpp

Revision: 1913
Date: Feb 02, 2008 (21:28:49 UTC)
Made the queue_sort_1 use a better sorting algorithm.  In particular, it 
will not sort slowly for nearly sorted data anymore.
Modified
/dlib/queue/queue_sort_1.h

Revision: 1912
Date: Feb 02, 2008 (21:27:05 UTC)
Fixed a bug in the cat() function that caused the state of the queue
to be broken if you called cat with an empty queue.
Modified
/dlib/queue/queue_kernel_1.h

Revision: 1911
Date: Feb 02, 2008 (21:25:36 UTC)
Made the specs more clear
Modified
/dlib/sort.h

Revision: 1910
Date: Jan 29, 2008 (23:31:04 UTC)
reran make dep
Modified
/dlib/test/makefile

Revision: 1909
Date: Jan 29, 2008 (23:30:46 UTC)
Fixed a bug in the image_widget.  It didn't repaint the screen
all the way if you gave it a smaller image to display.
Modified
/dlib/gui_widgets/base_widgets.h

Revision: 1907
Date: Jan 29, 2008 (05:37:47 UTC)
  - Cleaned up the test suite code a little and also changed
    the perform_test() function so that instead of returning a bool
    to indicate test failure it now returns void but throws an 
    exception in the event of a failed test.
  - Added some example tests
Modified
/dlib/test/CMakeLists.txt
/dlib/test/array.cpp
/dlib/test/array2d.cpp
/dlib/test/base64.cpp
/dlib/test/bayes_nets.cpp
/dlib/test/bigint.cpp
/dlib/test/binary_search_tree.h
/dlib/test/binary_search_tree_kernel_1a.cpp
/dlib/test/binary_search_tree_kernel_2a.cpp
/dlib/test/binary_search_tree_mm1.cpp
/dlib/test/binary_search_tree_mm2.cpp
/dlib/test/cmd_line_parser.cpp
/dlib/test/cmd_line_parser.h
/dlib/test/cmd_line_parser_wchar_t.cpp
/dlib/test/compress_stream.cpp
/dlib/test/conditioning_class.cpp
/dlib/test/conditioning_class.h
/dlib/test/conditioning_class_c.cpp
/dlib/test/config_reader.cpp
/dlib/test/directed_graph.cpp
/dlib/test/entropy_coder.cpp
/dlib/test/entropy_encoder_model.cpp
/dlib/test/graph.cpp
/dlib/test/hash_map.cpp
/dlib/test/hash_set.cpp
/dlib/test/hash_table.cpp
/dlib/test/image.cpp
/dlib/test/lz77_buffer.cpp
/dlib/test/main.cpp
/dlib/test/makefile
/dlib/test/map.cpp
/dlib/test/matrix.cpp
/dlib/test/md5.cpp
/dlib/test/member_function_pointer.cpp
/dlib/test/metaprogramming.cpp
/dlib/test/multithreaded_object.cpp
/dlib/test/pipe.cpp
/dlib/test/pixel.cpp
/dlib/test/queue.cpp
/dlib/test/rand.cpp
/dlib/test/reference_counter.cpp
/dlib/test/sequence.cpp
/dlib/test/serialize.cpp
/dlib/test/set.cpp
/dlib/test/sliding_buffer.cpp
/dlib/test/smart_pointers.cpp
/dlib/test/sockets.cpp
/dlib/test/sockstreambuf.cpp
/dlib/test/stack.cpp
/dlib/test/static_map.cpp
/dlib/test/static_set.cpp
/dlib/test/string.cpp
/dlib/test/tester.cpp
/dlib/test/tester.h
/dlib/test/threads.cpp
/dlib/test/timer.cpp
/dlib/test/tokenizer.cpp
/dlib/test/tuple.cpp
Added
/dlib/test/example.cpp
/dlib/test/example_args.cpp

Revision: 1904
Date: Jan 28, 2008 (23:57:39 UTC)
removed a bunch of compiler warnings
Modified
/dlib/test/gui/main.cpp

Revision: 1902
Date: Jan 28, 2008 (23:45:56 UTC)
Suppressed a compiler warning
Modified
/dlib/gui_core/gui_core_kernel_2.cpp

Revision: 1900
Date: Jan 28, 2008 (02:21:40 UTC)
Added some casts to avoid warnings in visual studio
Modified
/dlib/gui_core/gui_core_kernel_1.cpp
/dlib/pixel.h
/dlib/test/serialize.cpp

Revision: 1899
Date: Jan 27, 2008 (20:01:14 UTC)
Changed the gui painting code so that it holds on to the memory used 
in the canvas object forever rather than reallocating it each time
part of the screen needs to be repainted.
Modified
/dlib/gui_core/gui_core_kernel_1.cpp
/dlib/gui_core/gui_core_kernel_1.h
/dlib/gui_core/gui_core_kernel_2.cpp
/dlib/gui_core/gui_core_kernel_2.h

Revision: 1898
Date: Jan 27, 2008 (19:59:12 UTC)
Fixed a reference to the old rand objects.
Modified
/dlib/svm/svm.h

Revision: 1897
Date: Jan 27, 2008 (16:45:02 UTC)
Changed inclusion guards to a more sensible name
Modified
/dlib/all/source.cpp

Revision: 1894
Date: Jan 27, 2008 (16:29:18 UTC)
updated the rand tests
Modified
/dlib/test/rand.cpp

Revision: 1893
Date: Jan 27, 2008 (16:10:57 UTC)
Renamed rand::get_random_number() to get_random_8bit_number() and also added
a get_random_16bit_number() and get_random_32bit_number()
Modified
/dlib/rand/rand_float_1.h
/dlib/rand/rand_kernel_1.h
/dlib/rand/rand_kernel_abstract.h

Revision: 1892
Date: Jan 27, 2008 (15:41:39 UTC)
Renamed rand kernel 3 to kernel 1 in the source code
Modified
/dlib/all/source.cpp
/dlib/bayes_utils/bayes_utils.h
/dlib/rand.h
/dlib/rand/rand_kernel_1.h
/dlib/test/rand.cpp

Revision: 1891
Date: Jan 27, 2008 (15:35:48 UTC)
Renamed rand kernel 3 to kernel 1
Added
/dlib/rand/rand_kernel_1.h
Deleted
/dlib/rand/rand_kernel_3.h

Revision: 1890
Date: Jan 27, 2008 (15:35:10 UTC)
Removing rand kernel 1 and 2 because they are extremely inferior to 
rand kernel 3 and thus should never be used.
Deleted
/dlib/rand/rand_kernel_1.cpp
/dlib/rand/rand_kernel_1.h
/dlib/rand/rand_kernel_2.cpp
/dlib/rand/rand_kernel_2.h

Revision: 1889
Date: Jan 27, 2008 (07:16:39 UTC)
Made these tests run way faster.
Modified
/dlib/test/compress_stream.cpp
/dlib/test/conditioning_class.h
/dlib/test/entropy_coder.cpp

Revision: 1888
Date: Jan 27, 2008 (07:14:12 UTC)
Removed the code to decompress the default font on program startup.
It now gets decompressed on the first call to default_font::get_font().
Modified
/dlib/gui_widgets/fonts.cpp

Revision: 1887
Date: Jan 27, 2008 (04:36:30 UTC)
Made the assign_pixel() function saturate grayscale values bigger
than the target pixel type can handle.  Also updated the code
so that other functions no longer do this them selves but
rely on assign_pixel() for this functionality.
Modified
/dlib/image_transforms/edge_detector.h
/dlib/image_transforms/spatial_filtering.h
/dlib/pixel.h

Revision: 1883
Date: Jan 25, 2008 (18:53:15 UTC)
Added a regression test specifically for the serialization of
standard C++ types.
Modified
/dlib/test/CMakeLists.txt
/dlib/test/makefile
Added
/dlib/test/serialize.cpp

Revision: 1882
Date: Jan 25, 2008 (17:48:44 UTC)
ran make dep
Modified
/dlib/test/makefile

Revision: 1877
Date: Jan 25, 2008 (05:33:40 UTC)
Modified to avoid compiler errors and warnings in 
visual studio 2008
Modified
/dlib/gui_core/gui_core_kernel_1.cpp
/dlib/gui_widgets/widgets.h
/dlib/pixel.h

Revision: 1874
Date: Jan 25, 2008 (01:32:36 UTC)
Updated the pixel_traits template for the pixel in the gui core.
Modified
/dlib/gui_core/gui_core_kernel_1.h
/dlib/gui_core/gui_core_kernel_2.h

Revision: 1873
Date: Jan 25, 2008 (01:16:29 UTC)
Added the hysteresis_threshold() function
Modified
/dlib/image_transforms/thresholding.h
/dlib/image_transforms/thresholding_abstract.h

Revision: 1872
Date: Jan 24, 2008 (23:41:35 UTC)
fixed a spelling error in a spec
Modified
/dlib/image_transforms/thresholding_abstract.h

Revision: 1871
Date: Jan 24, 2008 (23:31:04 UTC)
   - Cleaned up the code more and added some missing specs
   - Added the assign_border_pixels() function
   - Added the zero_border_pixels() function
Modified
/dlib/image_transforms/assign_image.h
/dlib/image_transforms/assign_image_abstract.h
/dlib/image_transforms/edge_detector.h
/dlib/image_transforms/edge_detector_abstract.h
/dlib/image_transforms/spatial_filtering.h
/dlib/pixel.h

Revision: 1870
Date: Jan 23, 2008 (05:19:44 UTC)
Changed the edge detection stuff around
Modified
/dlib/image_transforms/edge_detector.h
/dlib/image_transforms/edge_detector_abstract.h

Revision: 1869
Date: Jan 23, 2008 (05:19:17 UTC)
Added a metaprogramming regression test stub 
Modified
/dlib/test/CMakeLists.txt
/dlib/test/makefile
Added
/dlib/test/metaprogramming.cpp

Revision: 1868
Date: Jan 23, 2008 (05:06:56 UTC)
Added the is_signed_type and is_unsigned_type templates
Modified
/dlib/algs.h

Revision: 1867
Date: Jan 23, 2008 (04:39:42 UTC)
Added another overload of assign_pixel that can take long integers.
Modified
/dlib/pixel.h

Revision: 1866
Date: Jan 22, 2008 (04:39:51 UTC)
Added a sobel edge detector.  Need to write specs and clean up code still.
Modified
/dlib/image_transforms.h
Added
/dlib/image_transforms/edge_detector.h
/dlib/image_transforms/edge_detector_abstract.h

Revision: 1865
Date: Jan 22, 2008 (02:00:58 UTC)
Fixed a typo in a function prototype
Modified
/dlib/pixel.h

Revision: 1862
Date: Jan 21, 2008 (04:07:36 UTC)
Added a stub regression test for the image processing stuff
Modified
/dlib/test/CMakeLists.txt
/dlib/test/makefile
Added
/dlib/test/image.cpp

Revision: 1861
Date: Jan 21, 2008 (04:04:54 UTC)
   - Added assign_all_pixels()
   - Cleaned up the code a little
Modified
/dlib/image_transforms/assign_image.h
/dlib/image_transforms/assign_image_abstract.h

Revision: 1859
Date: Jan 18, 2008 (04:43:18 UTC)
  - Added the auto_threshold_image() function
  - Added the get_histogram() function
  - Added the use_abs argument to the spatially_filter_image() function
Modified
/dlib/image_transforms/equalize_histogram.h
/dlib/image_transforms/equalize_histogram_abstract.h
/dlib/image_transforms/spatial_filtering.h
/dlib/image_transforms/spatial_filtering_abstract.h
/dlib/image_transforms/thresholding.h
/dlib/image_transforms/thresholding_abstract.h

Revision: 1858
Date: Jan 18, 2008 (01:40:23 UTC)
Changed the code slightly to suppress a compiler warning
Modified
/dlib/pixel.h

Revision: 1857
Date: Jan 18, 2008 (01:34:35 UTC)
   - Initialized an uninitialized variable
   - Added a mutex lock on the default_font::get_font() function
     to make sure it is always thread safe.
Modified
/dlib/gui_widgets/fonts.cpp
/dlib/gui_widgets/fonts.h
/dlib/gui_widgets/widgets.cpp

Revision: 1856
Date: Jan 17, 2008 (03:44:42 UTC)
Fixed a bug in the assign_pixel() function that was introduced
in the last commit.
Modified
/dlib/pixel.h
/dlib/test/pixel.cpp

Revision: 1853
Date: Jan 17, 2008 (02:29:07 UTC)
  - Changed the pixel_traits structure so that it can support 8, 16, and 32 bit 
    grayscale pixels.  
  - Added the assign_pixel_intensity() function
  - Added the get_pixel_intensity() function
  - Added the binary_union() function
  - Modified the existing image processing functions to better support
    the various grayscale pixels
Modified
/dlib/image_transforms/equalize_histogram.h
/dlib/image_transforms/morphological_operations.h
/dlib/image_transforms/morphological_operations_abstract.h
/dlib/image_transforms/spatial_filtering.h
/dlib/image_transforms/spatial_filtering_abstract.h
/dlib/image_transforms/thresholding.h
/dlib/image_transforms/thresholding_abstract.h
/dlib/pixel.h

Revision: 1852
Date: Jan 17, 2008 (01:59:08 UTC)
Changed the spec for array2d::set_size() to be more reasonable and also
to reflect better what actually happens.
Modified
/dlib/array2d/array2d_kernel_abstract.h

Revision: 1849
Date: Jan 16, 2008 (23:25:05 UTC)
Made the spec not say you can only use char or wchar_t types
Modified
/dlib/cmd_line_parser/cmd_line_parser_kernel_abstract.h

Revision: 1848
Date: Jan 16, 2008 (03:37:05 UTC)
Fixed the spec for the edge function
Modified
/dlib/graph_utils/graph_utils_abstract.h

Revision: 1845
Date: Jan 09, 2008 (21:44:21 UTC)
made the specs more clear
Modified
/dlib/gui_core/gui_core_kernel_abstract.h

Revision: 1844
Date: Jan 09, 2008 (21:43:36 UTC)
Fixed a typo in the spec
Modified
/dlib/gui_widgets/base_widgets_abstract.h

Revision: 1843
Date: Jan 08, 2008 (01:18:24 UTC)
Replaced some tabs with spaces
Modified
/dlib/matrix/matrix_utilities.h

Revision: 1839
Date: Dec 30, 2007 (21:43:10 UTC)
   - Added the set_main_font() and main_font() functions to the drawable object.
     So now the drawable widgets can use a user provided font.  
   - Made the named_rectangle object a little easier to use.  It now won't
     let you size it so small that it doesn't display its entire name.
Modified
/dlib/gui_widgets/drawable.h
/dlib/gui_widgets/drawable_abstract.h
/dlib/gui_widgets/widgets.cpp
/dlib/gui_widgets/widgets.h
/dlib/test/gui
/dlib/test/gui/main.cpp

Revision: 1838
Date: Dec 30, 2007 (20:44:45 UTC)
Fixed a bug in the compute_cursor_pos() function where it would 
return the incorrect value.  This bug was introduced in the 
previous release.
Modified
/dlib/gui_widgets/fonts.h

Revision: 1836
Date: Dec 23, 2007 (23:11:08 UTC)
Cleaned up the code and made the svd code more numerically stable.
Modified
/dlib/matrix/matrix_utilities.h

Revision: 1834
Date: Dec 22, 2007 (14:42:13 UTC)
Added a size() function to the matrix object.
Modified
/dlib/matrix/matrix.h
/dlib/matrix/matrix_abstract.h
/dlib/test/matrix.cpp

Revision: 1828
Date: Dec 21, 2007 (16:30:57 UTC)
fixed a typo in the spec
Modified
/dlib/svm/svm_abstract.h

Revision: 1827
Date: Dec 21, 2007 (16:18:54 UTC)
Added the randomize_samples() function and also cleaned up the svm code a little 
and made it more robust.  There was also a bug that was triggered with certain 
unusual inputs to the svm_nu_train() function that has been fixed.
Modified
/dlib/svm/svm.h
/dlib/svm/svm_abstract.h

Revision: 1826
Date: Dec 12, 2007 (02:10:40 UTC)
Fixed a compile bug on mac os X
Modified
/dlib/graph/graph_kernel_1.h

Revision: 1823
Date: Dec 10, 2007 (23:34:12 UTC)
Fixed some build errors in visual studio and 
suppressed some warnings as well.
Modified
/dlib/bayes_utils/bayes_utils.h
/dlib/bayes_utils/bayes_utils_abstract.h

Revision: 1818
Date: Dec 10, 2007 (02:03:26 UTC)
Added some missing includes
Modified
/dlib/bayes_utils/bayes_utils_abstract.h

Revision: 1816
Date: Dec 09, 2007 (23:01:51 UTC)
removed some cruft
Modified
/dlib/test/bayes_nets.cpp

Revision: 1815
Date: Dec 09, 2007 (16:57:18 UTC)
Cleaned up the code more.  Added some tests for the bayesian network stuff and
found and fixed some bugs.  Also made everything serializable. 
Modified
/dlib/bayes_utils/bayes_utils.h
/dlib/bayes_utils/bayes_utils_abstract.h
/dlib/test/CMakeLists.txt
/dlib/test/makefile
Added
/dlib/test/bayes_nets.cpp

Revision: 1814
Date: Dec 09, 2007 (02:52:27 UTC)
Cleaned up the code more.  It is finally in reasonable shape.
Modified
/dlib/bayes_utils/bayes_utils.h
/dlib/bayes_utils/bayes_utils_abstract.h

Revision: 1813
Date: Dec 08, 2007 (23:48:14 UTC)
Continued to clean up this code
Modified
/dlib/bayes_utils/bayes_utils.h
/dlib/bayes_utils/bayes_utils_abstract.h

Revision: 1812
Date: Dec 08, 2007 (21:26:58 UTC)
cleaned up the code
Modified
/dlib/bayes_utils/bayes_utils.h
/dlib/bayes_utils/bayes_utils_abstract.h

Revision: 1811
Date: Dec 08, 2007 (21:17:39 UTC)
cleaned up the code more
Modified
/dlib/bayes_utils/bayes_utils.h
/dlib/bayes_utils/bayes_utils_abstract.h

Revision: 1810
Date: Dec 08, 2007 (17:20:07 UTC)
Cleaned this up more.  Still more to do though
Modified
/dlib/bayes_utils/bayes_utils.h
/dlib/bayes_utils/bayes_utils_abstract.h

Revision: 1809
Date: Dec 08, 2007 (14:35:03 UTC)
Initial checkin of bayesian stuff.  Code needs a lot of cleanup.
Added
/dlib/bayes_utils
/dlib/bayes_utils.h
/dlib/bayes_utils/bayes_utils.h
/dlib/bayes_utils/bayes_utils_abstract.h

Revision: 1807
Date: Dec 08, 2007 (04:22:58 UTC)
Renamed the item member of the graph nodes to data for clarity.
Modified
/dlib/directed_graph/directed_graph_kernel_1.h
/dlib/directed_graph/directed_graph_kernel_abstract.h
/dlib/graph/graph_kernel_1.h
/dlib/graph/graph_kernel_abstract.h
/dlib/graph_utils/graph_utils.h
/dlib/test/directed_graph.cpp
/dlib/test/graph.cpp

Revision: 1806
Date: Dec 07, 2007 (00:52:14 UTC)
Added get_random_double() 
Modified
/dlib/rand/rand_float_1.h
/dlib/rand/rand_float_abstract.h

Revision: 1805
Date: Dec 05, 2007 (05:06:43 UTC)
Added a missing assert statement
Modified
/dlib/matrix/matrix.h

Revision: 1804
Date: Dec 05, 2007 (03:46:06 UTC)
added some tests
Modified
/dlib/test/graph.cpp

Revision: 1803
Date: Dec 05, 2007 (03:45:36 UTC)
made copy graph structure work right even if the two objects
passed to it are actually the same instance 
Modified
/dlib/graph_utils/graph_utils.h
/dlib/graph_utils/graph_utils_abstract.h

Revision: 1802
Date: Dec 05, 2007 (03:44:08 UTC)
made this code more robust
Modified
/dlib/set_utils/set_utils.h

Revision: 1801
Date: Dec 03, 2007 (02:15:35 UTC)
Made the create_moral_graph() function not move the
node items over to the moralized graph.
Modified
/dlib/graph_utils/graph_utils.h
/dlib/graph_utils/graph_utils_abstract.h
/dlib/test/directed_graph.cpp

Revision: 1800
Date: Dec 02, 2007 (16:55:14 UTC)
Made the requires part of is_join_tree a little more
appropriate and also added the missing assert statements.
Modified
/dlib/graph_utils/graph_utils.h
/dlib/graph_utils/graph_utils_abstract.h

Revision: 1797
Date: Dec 02, 2007 (16:14:39 UTC)
Added a bunch of set utilities and also added the edge() and is_join_tree() 
function.
Modified
/dlib/graph_utils/graph_utils.h
/dlib/graph_utils/graph_utils_abstract.h
/dlib/set_utils/set_utils.h
/dlib/set_utils/set_utils_abstract.h
/dlib/test/directed_graph.cpp
/dlib/test/graph.cpp

Revision: 1796
Date: Dec 02, 2007 (14:36:55 UTC)
added some tests related to edge() function calls.
Modified
/dlib/test/graph.cpp

Revision: 1795
Date: Dec 02, 2007 (14:36:30 UTC)
updated due to new template argument
Modified
/dlib/graph.h

Revision: 1794
Date: Dec 02, 2007 (06:15:42 UTC)
Added edge data to the graph object.
Modified
/dlib/graph/graph_kernel_1.h
/dlib/graph/graph_kernel_abstract.h

Revision: 1792
Date: Dec 02, 2007 (04:36:37 UTC)
   - Added the set_intersection_size() function
   - Added the create_join_tree() function
   - Added the copy_graph_structure() function
Modified
/dlib/graph_utils/graph_utils.h
/dlib/graph_utils/graph_utils_abstract.h
/dlib/test/directed_graph.cpp
/dlib/test/graph.cpp
Added
/dlib/set_utils
/dlib/set_utils.h
/dlib/set_utils/set_utils.h
/dlib/set_utils/set_utils_abstract.h

Revision: 1790
Date: Dec 01, 2007 (17:45:42 UTC)
fixed #include file error
Modified
/dlib/rand/mersenne_twister.h

Revision: 1789
Date: Dec 01, 2007 (17:42:31 UTC)
  - Implemented the triangulate_graph_and_find_cliques() function
  - Added the graph_contains_length_one_cycle() function
  - Added the find_connected_nodes() function
  - Added the graph_is_connected() function
  - Added the is_clique() function
  - Added the is_maximal_clique() function
Modified
/dlib/graph_utils
/dlib/graph_utils/graph_utils.h
/dlib/graph_utils/graph_utils_abstract.h
/dlib/test/directed_graph.cpp
/dlib/test/graph.cpp

Revision: 1788
Date: Dec 01, 2007 (15:36:06 UTC)
Added typedefs to the node_types that let you figure out
what kind of graph contains them.
Modified
/dlib/directed_graph/directed_graph_kernel_1.h
/dlib/directed_graph/directed_graph_kernel_abstract.h
/dlib/graph/graph_kernel_1.h
/dlib/graph/graph_kernel_abstract.h

Revision: 1786
Date: Nov 29, 2007 (22:52:28 UTC)
Cleaned up the cmake makefiles
Modified
/dlib/CMakeLists.txt
/dlib/test/CMakeLists.txt
/dlib/test/gui/CMakeLists.txt

Revision: 1785
Date: Nov 29, 2007 (22:52:04 UTC)
Added a workaround for a bug in visual studio 7.1
Modified
/dlib/dir_nav/dir_nav_kernel_1.h

Revision: 1784
Date: Nov 29, 2007 (22:22:06 UTC)
Added a test project for the gui stuff
Modified
/dlib/test/CMakeLists.txt
Added
/dlib/test/gui
/dlib/test/gui/CMakeLists.txt
/dlib/test/gui/main.cpp

Revision: 1783
Date: Nov 29, 2007 (05:07:22 UTC)
   - Added the create_moral_graph() function
   - wrote the spec for the triangulate_graph_and_find_cliques() function
Modified
/dlib/graph_utils/graph_utils.h
/dlib/graph_utils/graph_utils_abstract.h
/dlib/test/directed_graph.cpp

Revision: 1782
Date: Nov 29, 2007 (01:40:28 UTC)
Made the test more portable
Modified
/dlib/test/string.cpp

Revision: 1781
Date: Nov 29, 2007 (01:24:43 UTC)
The mingw version of gcc apparently doesn't have a 
std::wostringstream so I switched it to 
std::basic_ostringstream<wchar_t>
Modified
/dlib/string/string.h

Revision: 1779
Date: Nov 29, 2007 (00:35:01 UTC)
Fixed a compile time bug in visual studio 7.1
Modified
/dlib/serialize.h

Revision: 1777
Date: Nov 28, 2007 (23:40:40 UTC)
updated makefile
Modified
/dlib/test/makefile

Revision: 1775
Date: Nov 28, 2007 (23:23:04 UTC)
Improved the tests for the graph objects and fixed a 
deserialization bug.
Modified
/dlib/directed_graph/directed_graph_kernel_1.h
/dlib/graph/graph_kernel_1.h
/dlib/test/directed_graph.cpp
/dlib/test/graph.cpp
/dlib/test/makefile

Revision: 1774
Date: Nov 28, 2007 (23:22:02 UTC)
fixed some compiler warnings
Modified
/dlib/string/string.h

Revision: 1773
Date: Nov 28, 2007 (04:52:13 UTC)
   - Added the is_kind.h file 
   - Added the graph object
Modified
/dlib/directed_graph/directed_graph_kernel_1.h
/dlib/graph.h
/dlib/graph_utils/graph_utils.h
/dlib/graph_utils/graph_utils_abstract.h
/dlib/test/CMakeLists.txt
/dlib/test/directed_graph.cpp
Added
/dlib/graph/graph_kernel_1.h
/dlib/graph/graph_kernel_abstract.h
/dlib/is_kind.h
/dlib/test/graph.cpp
Deleted
/dlib/graph/directed_graph_kernel_1.h
/dlib/graph/directed_graph_kernel_abstract.h

Revision: 1772
Date: Nov 28, 2007 (03:11:07 UTC)
fixed a typo in the spec
Modified
/dlib/directed_graph/directed_graph_kernel_abstract.h

Revision: 1771
Date: Nov 28, 2007 (03:04:30 UTC)
Added the graph object
Added
/dlib/graph
/dlib/graph.h

Revision: 1770
Date: Nov 27, 2007 (23:35:14 UTC)
Added an extra call to close_window() for good measure
Modified
/dlib/gui_widgets/drawable.h

Revision: 1768
Date: Nov 27, 2007 (23:30:14 UTC)
Clarified specs
Modified
/dlib/gui_core/gui_core_kernel_abstract.h

Revision: 1767
Date: Nov 27, 2007 (23:29:25 UTC)
Removed the requirement that the window be closed when this 
object is destructed.
Modified
/dlib/gui_core/gui_core_kernel_1.cpp
/dlib/gui_core/gui_core_kernel_2.cpp
/dlib/gui_core/gui_core_kernel_abstract.h

Revision: 1766
Date: Nov 27, 2007 (22:57:09 UTC)
Fixed compile time warnings
Modified
/dlib/sequence/sequence_kernel_c.h

Revision: 1765
Date: Nov 27, 2007 (22:51:47 UTC)
fixed compile time error in mac os x
Modified
/dlib/gui_widgets/fonts.cpp

Revision: 1764
Date: Nov 27, 2007 (02:41:14 UTC)
Cleaned up the serialization code a bit and also made it more robust 
for platforms with unsigned wchar_t types.
Modified
/dlib/serialize.h

Revision: 1763
Date: Nov 26, 2007 (21:45:40 UTC)
Applied patch from Nils Labugt to fix bug in utf8 to utf32 code.
Modified
/dlib/unicode/unicode.h

Revision: 1761
Date: Nov 26, 2007 (02:01:52 UTC)
cleaned up code
Modified
/dlib/gui_widgets/fonts.cpp
/dlib/gui_widgets/fonts.h
/dlib/gui_widgets/fonts_abstract.h
/dlib/unicode/unicode.h
/dlib/unicode/unicode_abstract.h

Revision: 1759
Date: Nov 25, 2007 (22:52:59 UTC)
updated the readme
Modified
/dlib/README.txt

Revision: 1758
Date: Nov 25, 2007 (22:44:27 UTC)
Added missing #include 
Modified
/dlib/unicode/unicode_abstract.h

Revision: 1756
Date: Nov 25, 2007 (22:35:23 UTC)
Added the basic_utf8_ifstream object and cleaned up the code a little more.
Modified
/dlib/unicode/unicode.h
/dlib/unicode/unicode_abstract.h

Revision: 1755
Date: Nov 25, 2007 (18:32:20 UTC)
Removed an unused variable.
Modified
/dlib/serialize.h

Revision: 1753
Date: Nov 25, 2007 (18:19:10 UTC)
Made all the string functions properly support both char and wchar_t 
strings.
Modified
/dlib/string/string.h
/dlib/string/string_abstract.h
/dlib/test/string.cpp

Revision: 1752
Date: Nov 25, 2007 (17:36:06 UTC)
Added serialization support for wchar_t and std::wstring
Modified
/dlib/serialize.h

Revision: 1751
Date: Nov 25, 2007 (03:42:47 UTC)
Fixed minor bug
Modified
/dlib/gui_widgets/fonts.cpp

Revision: 1750
Date: Nov 25, 2007 (03:30:54 UTC)
Removed an unneeded EXCLUDE_FROM_ALL directive in the 
CMakeLists.txt file.
Modified
/dlib/CMakeLists.txt

Revision: 1748
Date: Nov 25, 2007 (02:35:56 UTC)
Added the font::has_character() function as well as the bdf_font object
written by Nils Labugt.
Modified
/dlib/gui_widgets/fonts.cpp
/dlib/gui_widgets/fonts.h
/dlib/gui_widgets/fonts_abstract.h

Revision: 1747
Date: Nov 25, 2007 (01:30:09 UTC)
Made the letter object swappable and improved the draw_string() function
a bit.
Modified
/dlib/gui_widgets/fonts.h
/dlib/gui_widgets/fonts_abstract.h

Revision: 1746
Date: Nov 24, 2007 (15:53:27 UTC)
Made the letter object use less memory.
Modified
/dlib/gui_widgets/fonts.cpp
/dlib/gui_widgets/fonts.h

Revision: 1745
Date: Nov 24, 2007 (15:17:58 UTC)
Added a comment
Modified
/dlib/uintn.h

Revision: 1743
Date: Nov 24, 2007 (15:13:48 UTC)
Cleaned up the unicode stuff.
Modified
/dlib/error.h
/dlib/unicode
/dlib/unicode/unicode.h
Added
/dlib/unicode/unicode_abstract.h

Revision: 1742
Date: Nov 24, 2007 (15:12:41 UTC)
   - Added the zero_extend_cast() function
   - Added the unsigned_type template
   - Added the uint8 typedef

Modified
/dlib/uintn.h

Revision: 1741
Date: Nov 24, 2007 (07:05:17 UTC)
Merged in the patch from Nils Labugt which upgrades the font object
so that it can handle Unicode text.    
Modified
/dlib/gui_widgets/fonts.cpp
/dlib/gui_widgets/fonts.h
Added
/dlib/unicode
/dlib/unicode.h
/dlib/unicode/unicode.h

Revision: 1739
Date: Nov 24, 2007 (03:29:51 UTC)
Added the left_substr() and right_substr() functions
Modified
/dlib/string/string.h
/dlib/string/string_abstract.h

Revision: 1737
Date: Nov 24, 2007 (01:48:54 UTC)
Added the get_display_size() function to the win32
version of the gui_core component.
Modified
/dlib/gui_core/gui_core_kernel_1.cpp
/dlib/gui_core/gui_core_kernel_1.h

Revision: 1736
Date: Nov 23, 2007 (23:58:37 UTC)
Added the base_window::get_display_size() function.
Modified
/dlib/gui_core/gui_core_kernel_2.cpp
/dlib/gui_core/gui_core_kernel_2.h
/dlib/gui_core/gui_core_kernel_abstract.h

Revision: 1735
Date: Nov 21, 2007 (19:56:53 UTC)
Added Added a needed link library
Modified
/dlib/CMakeLists.txt

Revision: 1733
Date: Nov 21, 2007 (16:11:19 UTC)
Changed the code so that the global objects such as the event_thread_handler
and window_table are destructed in the correct order.
Modified
/dlib/gui_core/gui_core_kernel_1.cpp
/dlib/gui_core/gui_core_kernel_2.cpp

Revision: 1732
Date: Nov 21, 2007 (16:07:05 UTC)
Added the message_box_blocking() function.
Modified
/dlib/gui_widgets/widgets.h
/dlib/gui_widgets/widgets_abstract.h

Revision: 1731
Date: Nov 21, 2007 (16:06:19 UTC)
Made note of the threading issues with reference counting in the 
shared_ptr
Modified
/dlib/smart_pointers/shared_ptr_abstract.h

Revision: 1730
Date: Nov 20, 2007 (23:46:06 UTC)
Fixed an error in the cmake file
Modified
/dlib/CMakeLists.txt

Revision: 1728
Date: Nov 20, 2007 (23:21:36 UTC)
Modified the code to remove a compiler warning.
Modified
/dlib/array/array_kernel_c.h

Revision: 1725
Date: Nov 20, 2007 (05:15:37 UTC)
Clarified the use of the register_program_ending_handler() function
and also removed any remaining references to the end_program() and
winmain() functions.
Modified
/dlib/dir_nav/dir_nav_kernel_abstract.h
/dlib/gui_core/gui_core_kernel_2.cpp
/dlib/gui_widgets/fonts.cpp
/dlib/gui_widgets/fonts_abstract.h
/dlib/misc_api/misc_api_kernel_abstract.h
/dlib/sockets/sockets_kernel_abstract.h
/dlib/threads/threads_kernel_abstract.h

Revision: 1724
Date: Nov 20, 2007 (04:14:00 UTC)
Changed the tuple template slightly to avoid a bug in
Visual Studio 7.1
Modified
/dlib/tuple/tuple.h

Revision: 1723
Date: Nov 20, 2007 (03:34:04 UTC)
Fixed a bug in this file.
Modified
/dlib/gui_core/gui_core_kernel_1.cpp

Revision: 1722
Date: Nov 20, 2007 (03:33:39 UTC)
Fixed a bug where this wouldn't compile in visual studio
when NO_MAKEFILE was #defined.
Modified
/dlib/dir_nav/dir_nav_kernel_1.cpp

Revision: 1721
Date: Nov 20, 2007 (03:32:22 UTC)
Added a global swap for the std_allocator because apparently 
gcc 4.2 needs it to have one.
Modified
/dlib/std_allocator.h

Revision: 1720
Date: Nov 20, 2007 (03:31:59 UTC)
updated makefiles
Modified
/dlib/test/CMakeLists.txt
/dlib/test/makefile

Revision: 1718
Date: Nov 20, 2007 (02:59:16 UTC)
Switched the cpp file you need to build to the dlib/all/source.cpp file.
Also updated the CMakefiles and changed the dlib's library in 
CMake to be called dlib instead of dlib_console or dlib_gui.
Modified
/dlib/CMakeLists.txt
/dlib/all_console.cpp
/dlib/all_gui.cpp
Added
/dlib/all
/dlib/all/source.cpp

Revision: 1717
Date: Nov 20, 2007 (02:39:34 UTC)
Added checks that cause an immediate and obvious error when 
DLIB_NO_GUI_SUPPORT is #defined.
Modified
/dlib/gui_core/gui_core_kernel_1.h
/dlib/gui_core/gui_core_kernel_2.h

Revision: 1716
Date: Nov 20, 2007 (02:32:44 UTC)
Removed an errant period.
Modified
/dlib/gui_widgets/widgets.h

Revision: 1715
Date: Nov 20, 2007 (02:30:54 UTC)
Removed the winmain junk from the X11 gui_core 
implementation.
Modified
/dlib/gui_core/gui_core_kernel_2.cpp
/dlib/gui_core/gui_core_kernel_2.h

Revision: 1714
Date: Nov 20, 2007 (02:29:31 UTC)
Fixed some bugs in this code
Modified
/dlib/gui_core/gui_core_kernel_1.cpp

Revision: 1713
Date: Nov 20, 2007 (02:28:10 UTC)
Removed a reference to the end_program() function that was in a 
comment.
Modified
/dlib/gui_widgets/widgets.h

Revision: 1711
Date: Nov 20, 2007 (01:03:45 UTC)
Removed the need to use the winmain function when
using the gui_core component on windows.  Need to
update the X11 code to operate likewise.
Modified
/dlib/CMakeLists.txt
/dlib/all_console.cpp
/dlib/all_gui.cpp
/dlib/gui_core/gui_core_kernel_1.cpp
/dlib/gui_core/gui_core_kernel_1.h
/dlib/gui_core/gui_core_kernel_abstract.h

Revision: 1710
Date: Nov 20, 2007 (00:42:19 UTC)
Fixed a compile time bug in visual studio 7.1
Modified
/dlib/std_allocator.h

Revision: 1709
Date: Nov 20, 2007 (00:08:27 UTC)
Moved the #define that disables the old WinSock 
API into the sockets cpp file.  This should avoid
conflicts with people who are using the old WinSock
API.
Modified
/dlib/sockets/sockets_kernel_1.cpp
/dlib/windows_magic.h

Revision: 1708
Date: Nov 20, 2007 (00:04:50 UTC)
Changed slightly to suppress a warning in visual studio
Modified
/dlib/sockets/sockets_extensions.cpp

Revision: 1704
Date: Nov 18, 2007 (19:49:45 UTC)
Added more directed_graph tests
Modified
/dlib/test/directed_graph.cpp

Revision: 1701
Date: Nov 18, 2007 (05:08:12 UTC)
Added the graph_contains_undirected_cycle() and graph_contains_directed_cycle()
functions.
Modified
/dlib/test/directed_graph.cpp
Added
/dlib/graph_utils
/dlib/graph_utils.h
/dlib/graph_utils/graph_utils.h
/dlib/graph_utils/graph_utils_abstract.h

Revision: 1700
Date: Nov 18, 2007 (02:13:36 UTC)
Fixed the #includes
Modified
/dlib/directed_graph/directed_graph_kernel_1.h

Revision: 1698
Date: Nov 18, 2007 (02:03:35 UTC)
Fixed a compile time bug in gcc 3.4 thru 4.0
Modified
/dlib/directed_graph/directed_graph_kernel_1.h

Revision: 1697
Date: Nov 18, 2007 (01:59:24 UTC)
Added some tests for the directed_graph and fixed some compile time bugs.
Modified
/dlib/directed_graph/directed_graph_kernel_1.h
Added
/dlib/test/directed_graph.cpp

Revision: 1696
Date: Nov 18, 2007 (01:11:06 UTC)
update make files
Modified
/dlib/test/CMakeLists.txt
/dlib/test/makefile

Revision: 1695
Date: Nov 18, 2007 (00:52:19 UTC)
Finished the directed graph object.  Need to test it next.
Modified
/dlib/directed_graph/directed_graph_kernel_abstract.h
Added
/dlib/directed_graph.h
/dlib/directed_graph/directed_graph_kernel_1.h

Revision: 1692
Date: Nov 17, 2007 (17:53:58 UTC)
Added a C++ allocator that can use the dlib memory manager objects.
Added
/dlib/std_allocator.h

Revision: 1691
Date: Nov 17, 2007 (17:53:34 UTC)
Retabbed this file
Modified
/dlib/directed_graph/directed_graph_kernel_abstract.h

Revision: 1690
Date: Nov 17, 2007 (17:51:58 UTC)
Added a static boolean flag to this object so that it can be identified when
doing template overloading and whatnot.
Modified
/dlib/memory_manager_stateless/memory_manager_stateless_kernel_1.h
/dlib/memory_manager_stateless/memory_manager_stateless_kernel_2.h
/dlib/memory_manager_stateless/memory_manager_stateless_kernel_abstract.h

Revision: 1689
Date: Nov 16, 2007 (04:53:02 UTC)
Added the spec for the directed_graph object
Added
/dlib/directed_graph
/dlib/directed_graph/directed_graph_kernel_abstract.h

Revision: 1688
Date: Nov 16, 2007 (04:06:17 UTC)
Fixed a spelling error
Modified
/dlib/hash_map/hash_map_kernel_abstract.h
/dlib/hash_set/hash_set_kernel_abstract.h

Revision: 1686
Date: Nov 16, 2007 (02:31:44 UTC)
   - Added the lpad(), rpad(), and pad() string functions.   
   - Added overloads of the trim(), ltrim(), and trim() functions
     that can take a const char* as the trim_chars.
Modified
/dlib/string/string.h
/dlib/string/string_abstract.h
/dlib/test/string.cpp

Revision: 1685
Date: Nov 15, 2007 (23:42:44 UTC)
Changed the string_cast() function so that it will recognize the words true and false
as boolean values.  Also improved the error message inside the string_cast_error
exception object.
Modified
/dlib/string/string.h

Revision: 1684
Date: Nov 13, 2007 (05:18:15 UTC)
fixed spec file
Modified
/dlib/tuple/tuple_abstract.h

Revision: 1683
Date: Nov 13, 2007 (05:14:42 UTC)
Added the tuple::for_index()  function
Modified
/dlib/test/tuple.cpp
/dlib/tuple/tuple.h
/dlib/tuple/tuple_abstract.h

Revision: 1682
Date: Nov 13, 2007 (04:30:21 UTC)
Added the for_each(), serialize(), deserialize() and swap() functions to the tuple object.
Modified
/dlib/tuple/tuple.h
/dlib/tuple/tuple_abstract.h

Revision: 1680
Date: Nov 12, 2007 (04:22:01 UTC)
Added rand_kernel_3
Modified
/dlib/rand.h
/dlib/rand/mersenne_twister.h
/dlib/test/rand.cpp
Added
/dlib/rand/rand_kernel_3.h

Revision: 1679
Date: Nov 12, 2007 (03:44:06 UTC)
Added a copy of the mersenne_twister from boost
Added
/dlib/rand/mersenne_twister.h

Revision: 1678
Date: Nov 11, 2007 (19:15:55 UTC)
Made it so you can say what kinds of characters to trim when 
using the string trim functions.
Modified
/dlib/string/string.h
/dlib/string/string_abstract.h

Revision: 1677
Date: Nov 10, 2007 (04:39:38 UTC)
Fixed the spec for register_thread_end_handler()
Modified
/dlib/threads/threads_kernel_abstract.h

Revision: 1674
Date: Nov 10, 2007 (04:29:03 UTC)
Added an overload of connect() that has a timeout
Modified
/dlib/sockets/sockets_extensions.cpp
/dlib/sockets/sockets_extensions.h
/dlib/sockets/sockets_extensions_abstract.h

Revision: 1672
Date: Nov 09, 2007 (18:14:44 UTC)
Changed the tuple object's implementation slightly so that it compiles in 
the gcc 3.x series.
Modified
/dlib/test/tuple.cpp
/dlib/tuple/tuple.h

Revision: 1671
Date: Nov 09, 2007 (18:08:52 UTC)
Added the tuple test to the cmake makefile
Modified
/dlib/test/CMakeLists.txt

Revision: 1670
Date: Nov 09, 2007 (18:07:37 UTC)
Added the tuple test
Modified
/dlib/test/makefile
Added
/dlib/test/tuple.cpp

Revision: 1669
Date: Nov 09, 2007 (17:47:35 UTC)
Put the global_data for the logger object back onto the heap since
having it not on the heap is potentially unsafe during program 
termination.
Modified
/dlib/logger/logger_kernel_1.cpp

Revision: 1668
Date: Nov 09, 2007 (17:38:43 UTC)
Since the new default logging level isn't LNONE I set the loggers
to that in the main.cpp file.
Modified
/dlib/test/main.cpp

Revision: 1667
Date: Nov 09, 2007 (17:31:54 UTC)
Changed the logger initialization so that it works correctly on 
older versions of gcc.  The problem was that the LERROR global
constant wasn't being initialized before it was used to initialize
the logger's global_data object.  

Also cleaned up the code a bit.
Modified
/dlib/logger/logger_kernel_1.cpp
/dlib/logger/logger_kernel_1.h

Revision: 1665
Date: Nov 09, 2007 (16:36:20 UTC)
updated makefile
Modified
/dlib/test/makefile

Revision: 1664
Date: Nov 09, 2007 (16:22:33 UTC)
Added a test for some of the stuff in the string.h file
Modified
/dlib/error.h
/dlib/string/string.h
/dlib/test/CMakeLists.txt
Added
/dlib/test/string.cpp

Revision: 1663
Date: Nov 09, 2007 (15:19:32 UTC)
set the svn:eol-style to native
Modified
/dlib/tuple.h
/dlib/tuple/tuple.h
/dlib/tuple/tuple_abstract.h

Revision: 1662
Date: Nov 09, 2007 (15:16:32 UTC)
Added the tuple object
Added
/dlib/tuple
/dlib/tuple.h
/dlib/tuple/tuple.h
/dlib/tuple/tuple_abstract.h

Revision: 1661
Date: Nov 09, 2007 (00:13:57 UTC)
Added the trim(), ltrim(), and rtrim() string functions.
Modified
/dlib/string/string.h
/dlib/string/string_abstract.h

Revision: 1659
Date: Nov 08, 2007 (21:44:32 UTC)
Renamed ASSERT to DLIB_ASSERT and CASSERT to DLIB_CASSERT
to avoid conflicts with a macro that is defined in MFC.
Modified
/dlib/array/array_kernel_c.h
/dlib/array2d/array2d_kernel_c.h
/dlib/assert.h
/dlib/bigint/bigint_kernel_c.h
/dlib/binary_search_tree/binary_search_tree_kernel_c.h
/dlib/bit_stream/bit_stream_kernel_c.h
/dlib/bit_stream/bit_stream_multi_c.h
/dlib/cmd_line_parser/cmd_line_parser_check_c.h
/dlib/cmd_line_parser/cmd_line_parser_kernel_1.h
/dlib/cmd_line_parser/cmd_line_parser_kernel_c.h
/dlib/conditioning_class/conditioning_class_kernel_c.h
/dlib/config_reader/config_reader_kernel_1.h
/dlib/config_reader/config_reader_thread_safe_1.h
/dlib/cpp_tokenizer/cpp_tokenizer_kernel_c.h
/dlib/entropy_decoder/entropy_decoder_kernel_c.h
/dlib/entropy_encoder/entropy_encoder_kernel_c.h
/dlib/entropy_encoder_model/entropy_encoder_model_kernel_c.h
/dlib/error.h
/dlib/gui_core/gui_core_kernel_1.cpp
/dlib/gui_core/gui_core_kernel_1.h
/dlib/gui_core/gui_core_kernel_2.cpp
/dlib/gui_core/gui_core_kernel_2.h
/dlib/gui_widgets/base_widgets.cpp
/dlib/gui_widgets/drawable.cpp
/dlib/gui_widgets/fonts.cpp
/dlib/gui_widgets/fonts.h
/dlib/gui_widgets/widgets.cpp
/dlib/hash_map/hash_map_kernel_c.h
/dlib/hash_set/hash_set_kernel_c.h
/dlib/hash_table/hash_table_kernel_c.h
/dlib/image_transforms/morphological_operations.h
/dlib/image_transforms/spatial_filtering.h
/dlib/image_transforms/thresholding.h
/dlib/linker/linker_kernel_c.h
/dlib/logger/logger_kernel_1.h
/dlib/lz77_buffer/lz77_buffer_kernel_c.h
/dlib/lzp_buffer/lzp_buffer_kernel_c.h
/dlib/map/map_kernel_c.h
/dlib/matrix/matrix.h
/dlib/matrix/matrix_math_functions.h
/dlib/matrix/matrix_utilities.h
/dlib/member_function_pointer/member_function_pointer_kernel_c.h
/dlib/mlp/mlp_kernel_c.h
/dlib/pixel.h
/dlib/queue/queue_kernel_c.h
/dlib/sequence/sequence_kernel_c.h
/dlib/server/server_kernel_c.h
/dlib/set/set_kernel_c.h
/dlib/sliding_buffer/sliding_buffer_kernel_c.h
/dlib/smart_pointers/scoped_ptr.h
/dlib/smart_pointers/shared_ptr.h
/dlib/sort.h
/dlib/stack/stack_kernel_c.h
/dlib/static_map/static_map_kernel_c.h
/dlib/static_set/static_set_kernel_c.h
/dlib/string/string.h
/dlib/svm/svm.h
/dlib/test/array.cpp
/dlib/test/array2d.cpp
/dlib/test/base64.cpp
/dlib/test/bigint.cpp
/dlib/test/binary_search_tree.h
/dlib/test/cmd_line_parser.h
/dlib/test/compress_stream.cpp
/dlib/test/conditioning_class.h
/dlib/test/config_reader.cpp
/dlib/test/entropy_coder.cpp
/dlib/test/entropy_encoder_model.cpp
/dlib/test/hash_map.cpp
/dlib/test/hash_set.cpp
/dlib/test/hash_table.cpp
/dlib/test/lz77_buffer.cpp
/dlib/test/map.cpp
/dlib/test/matrix.cpp
/dlib/test/md5.cpp
/dlib/test/member_function_pointer.cpp
/dlib/test/multithreaded_object.cpp
/dlib/test/pipe.cpp
/dlib/test/pixel.cpp
/dlib/test/queue.cpp
/dlib/test/rand.cpp
/dlib/test/reference_counter.cpp
/dlib/test/sequence.cpp
/dlib/test/set.cpp
/dlib/test/sliding_buffer.cpp
/dlib/test/smart_pointers.cpp
/dlib/test/sockstreambuf.cpp
/dlib/test/stack.cpp
/dlib/test/static_map.cpp
/dlib/test/static_set.cpp
/dlib/test/timer.cpp
/dlib/test/tokenizer.cpp
/dlib/threads/multithreaded_object_extension.cpp
/dlib/threads/threaded_object_extension.cpp
/dlib/threads/threads_kernel_shared.h
/dlib/tokenizer/tokenizer_kernel_c.h
/dlib/xml_parser/xml_parser_kernel_c.h

Revision: 1658
Date: Nov 07, 2007 (04:27:17 UTC)
Removed the get_main_thread_id() function and replaced it with the
is_dlib_thread() function.  They don't do the same thing really but
the new function provides the exact capability I need in the library
unlike get_main_thread_id().  The reason get_main_thread_id() was 
removed is because it isn't tremendously portable and its main 
function was to detect threads that weren't created by dlib.  So
this new mechanism will play better when dlib is used in environments
where other libraries are used to create threads.
Modified
/dlib/gui_core/gui_core_kernel_2.cpp
/dlib/logger/logger_kernel_1.cpp
/dlib/test/threads.cpp
/dlib/threads/thread_specific_data_extension.h
/dlib/threads/thread_specific_data_extension_abstract.h
/dlib/threads/threaded_object_extension.cpp
/dlib/threads/threaded_object_extension.h
/dlib/threads/threads_kernel_abstract.h
/dlib/threads/threads_kernel_shared.cpp
/dlib/threads/threads_kernel_shared.h

Revision: 1655
Date: Nov 06, 2007 (03:29:06 UTC)
   - Changed the logger so that settings are inherited when a new logger
     is instantiated rather than just having the new logger use the 
     default settings.
   - Removed the logger::clear() function since it no longer really
     makes sense given the above change.
Modified
/dlib/logger/logger_kernel_1.cpp
/dlib/logger/logger_kernel_1.h
/dlib/logger/logger_kernel_abstract.h

Revision: 1654
Date: Nov 03, 2007 (02:38:52 UTC)
Added an extra call to get_main_thread_id() to ensure that it is
called before any threads start up.
Modified
/dlib/threads/threads_kernel_shared.cpp

Revision: 1653
Date: Nov 02, 2007 (22:20:54 UTC)
Moved all the windows specific header files into the cpp file
so that they don't cause trouble for anyone who #includes the
sockets api.
Modified
/dlib/sockets/sockets_kernel_1.cpp
/dlib/sockets/sockets_kernel_1.h

Revision: 1652
Date: Nov 01, 2007 (23:09:35 UTC)
Moved some inline functions into the cpp file because it avoids a possible
runtime error when using dlib in visual studio when you have compiled it
as a static library and then linked into your project.
Modified
/dlib/sockets/sockets_kernel_1.cpp
/dlib/sockets/sockets_kernel_1.h

Revision: 1651
Date: Nov 01, 2007 (00:36:19 UTC)
Changed the default logging level from LNONE to LERROR.
Modified
/dlib/logger/logger_kernel_1.h
/dlib/logger/logger_kernel_abstract.h

Revision: 1650
Date: Nov 01, 2007 (00:22:01 UTC)
Added tolower() and toupper() functions for std::string objects.
Modified
/dlib/string/string.h
/dlib/string/string_abstract.h

Revision: 1649
Date: Oct 28, 2007 (21:01:45 UTC)
Added a destroy() method to the hash_set, hash_map, and set container 
objects.
Modified
/dlib/hash_map/hash_map_kernel_1.h
/dlib/hash_map/hash_map_kernel_abstract.h
/dlib/hash_map/hash_map_kernel_c.h
/dlib/hash_set/hash_set_kernel_1.h
/dlib/hash_set/hash_set_kernel_abstract.h
/dlib/hash_set/hash_set_kernel_c.h
/dlib/set/set_kernel_1.h
/dlib/set/set_kernel_abstract.h
/dlib/set/set_kernel_c.h
/dlib/test/hash_map.cpp
/dlib/test/hash_set.cpp
/dlib/test/map.cpp
/dlib/test/set.cpp

Revision: 1647
Date: Oct 28, 2007 (17:36:55 UTC)
Added the cast_to_string() function.
Modified
/dlib/error.h
/dlib/string/string.h
/dlib/string/string_abstract.h

Revision: 1646
Date: Oct 27, 2007 (21:13:48 UTC)
Added a destroy() function to the map object.
Modified
/dlib/map/map_kernel_1.h
/dlib/map/map_kernel_abstract.h
/dlib/map/map_kernel_c.h

Revision: 1643
Date: Oct 26, 2007 (01:03:15 UTC)
Modified a few things to avoid compiler warnings in gcc 4.2 with
the -Wall option.
Modified
/dlib/algs.h
/dlib/cmd_line_parser/cmd_line_parser_kernel_1.h
/dlib/cmd_line_parser/cmd_line_parser_kernel_abstract.h
/dlib/image_saver/dng_shared.h
/dlib/test/cmd_line_parser.h

Revision: 1642
Date: Oct 26, 2007 (00:08:46 UTC)
Modified the message_box() function so that it is safe to call end_program() 
from within its callback event.
Modified
/dlib/gui_widgets/widgets.h

Revision: 1641
Date: Oct 21, 2007 (14:40:55 UTC)
Made some functions non-inline and put some things on the stack 
instead of heap.  Doing this avoids some problems with certain 
kinds of builds in visual studio.
Modified
/dlib/logger/logger_kernel_1.cpp
/dlib/logger/logger_kernel_1.h
/dlib/threads/threads_kernel_shared.cpp
/dlib/threads/threads_kernel_shared.h

Revision: 1640
Date: Oct 13, 2007 (21:24:16 UTC)
Fixed a compile error in the dng image saving code.
Modified
/dlib/image_saver/image_saver.h

Revision: 1637
Date: Oct 12, 2007 (17:23:15 UTC)
  - Added an rgb pixel with an alpha channel to the supported pixel types.
  - Modified all the gui drawing functions to use this new pixel type instead
    of their own alpha blending code.
  - The gui changes that are non-backwards compatible:
       - The alpha parameter is now an unsigned char instead of unsigned int
         and its range is now 0 to 255 instead of 0 to 256.
       - The image_widget no longer has any member functions dealing with
         alpha values.  If you want to use alpha blending you just give it an
         image that has an alpha channel.  The same goes for draw_image().
 - More incompatible changes, there are now more fields in the pixel_traits 
   template.  So if you were defining your own pixels before you will need to
   update your pixel_traits specializations.
 - Added checks to the image_transforms stuff to ensure that it isn't used
   with images with an alpha channel.
-  Added constructors to the pixel objects so that you can more easily
   initialize them to a particular value.
-  Added a version of assign_pixel() that takes an int as the source pixel
   type.  This allows you to say assign_pixel(p, 0) for example.
Modified
/dlib/gui_core/gui_core_kernel_1.h
/dlib/gui_core/gui_core_kernel_2.h
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/base_widgets_abstract.h
/dlib/gui_widgets/drawable.cpp
/dlib/gui_widgets/drawable.h
/dlib/gui_widgets/drawable_abstract.h
/dlib/image_loader/image_loader.h
/dlib/image_loader/image_loader_abstract.h
/dlib/image_saver/dng_shared.h
/dlib/image_saver/image_saver.h
/dlib/image_saver/image_saver_abstract.h
/dlib/image_transforms/equalize_histogram.h
/dlib/image_transforms/equalize_histogram_abstract.h
/dlib/image_transforms/morphological_operations.h
/dlib/image_transforms/morphological_operations_abstract.h
/dlib/image_transforms/spatial_filtering.h
/dlib/image_transforms/spatial_filtering_abstract.h
/dlib/image_transforms/thresholding.h
/dlib/image_transforms/thresholding_abstract.h
/dlib/matrix/matrix_utilities.h
/dlib/matrix/matrix_utilities_abstract.h
/dlib/pixel.cpp
/dlib/pixel.h
/dlib/test/CMakeLists.txt
/dlib/test/makefile
Added
/dlib/test/pixel.cpp

Revision: 1636
Date: Oct 12, 2007 (15:29:37 UTC)
Gave the covariance() function more reasonable preconditions.
Modified
/dlib/matrix/matrix_utilities.h
/dlib/matrix/matrix_utilities_abstract.h

Revision: 1635
Date: Oct 12, 2007 (12:57:53 UTC)
Switched the alpha in the drawing functions to be an unsigned char 
instead of an unsigned int.
Modified
/dlib/gui_widgets/drawable.cpp
/dlib/gui_widgets/drawable.h
/dlib/gui_widgets/drawable_abstract.h

Revision: 1634
Date: Oct 12, 2007 (00:08:13 UTC)
Fixed a typo in the spec.
Modified
/dlib/gui_widgets/base_widgets_abstract.h

Revision: 1633
Date: Oct 10, 2007 (23:48:18 UTC)
Added the covariance() function.
Modified
/dlib/matrix/matrix_utilities.h
/dlib/matrix/matrix_utilities_abstract.h

Revision: 1630
Date: Oct 08, 2007 (01:49:52 UTC)
Gave the image_widget an alpha blending capability.
Modified
/dlib/gui_widgets/base_widgets.h
/dlib/gui_widgets/base_widgets_abstract.h

Revision: 1628
Date: Oct 07, 2007 (20:54:32 UTC)
Modified the drawing functions to take an alpha argument to allow
alpha blending.
Modified
/dlib/gui_widgets/drawable.cpp
/dlib/gui_widgets/drawable.h
/dlib/gui_widgets/drawable_abstract.h

Revision: 1627
Date: Oct 04, 2007 (22:29:04 UTC)
Added a missing std:: qualifier at two points in this code.
Modified
/dlib/vector/vector_kernel_1.h

Revision: 1626
Date: Oct 02, 2007 (22:11:53 UTC)
changed the range of the random float values
Modified
/dlib/rand/rand_float_1.h
/dlib/rand/rand_float_abstract.h

Revision: 1625
Date: Oct 02, 2007 (22:06:57 UTC)
Fixed a compile time error
Modified
/dlib/rand/rand_float_1.h

Revision: 1623
Date: Oct 02, 2007 (22:00:31 UTC)
Added the rand_float extension.
Modified
/dlib/rand.h
Added
/dlib/rand/rand_float_1.h
/dlib/rand/rand_float_abstract.h

Revision: 1622
Date: Oct 02, 2007 (21:48:30 UTC)
Fixed a spelling error in a comment.
Modified
/dlib/queue/queue_sort_abstract.h

Revision: 1620
Date: Oct 01, 2007 (22:27:23 UTC)
   - Added the scale_columns() function
   - Optimized the pinv() function
Modified
/dlib/matrix/matrix_utilities.h
/dlib/matrix/matrix_utilities_abstract.h
/dlib/test/matrix.cpp

Revision: 1618
Date: Oct 01, 2007 (01:03:58 UTC)
Added a missing precondition check.
Modified
/dlib/svm/svm.h
/dlib/svm/svm_abstract.h

Revision: 1617
Date: Oct 01, 2007 (00:29:50 UTC)
Added the svm_nu_cross_validate() function to perform k-fold
cross validation.
Modified
/dlib/svm/svm.h
/dlib/svm/svm_abstract.h

Revision: 1616
Date: Sep 30, 2007 (23:43:41 UTC)
Fixed an error in svm_nu_train() where it would incorrectly
complain of incorrect nu values for some datasets.
Modified
/dlib/svm/svm.h

Revision: 1615
Date: Sep 30, 2007 (20:03:35 UTC)
Added some stuff to test the serialization code.
Modified
/dlib/test/matrix.cpp

Revision: 1614
Date: Sep 30, 2007 (19:58:12 UTC)
Cleaned up the svm code.
Modified
/dlib/svm/svm.h
/dlib/svm/svm_abstract.h

Revision: 1613
Date: Sep 30, 2007 (19:57:22 UTC)
Fixed the matrix serialization code so that it works with the new half 
statically dimensioned matrices.
Modified
/dlib/matrix/matrix.h

Revision: 1611
Date: Sep 30, 2007 (16:43:26 UTC)
Added a set_size() and constructor that takes a single long for use in
sizing row and column vectors.
Modified
/dlib/matrix/matrix.h
/dlib/matrix/matrix_abstract.h
/dlib/test/matrix.cpp

Revision: 1610
Date: Sep 30, 2007 (15:56:59 UTC)
Changed the matrix so that operator(long) works for both
column vectors and now also for row vectors.
Modified
/dlib/matrix/matrix.h
/dlib/matrix/matrix_abstract.h
/dlib/test/matrix.cpp

Revision: 1609
Date: Sep 30, 2007 (15:11:00 UTC)
Added some missing precondition checks.
Modified
/dlib/matrix/matrix.h

Revision: 1607
Date: Sep 30, 2007 (00:28:33 UTC)
removed another non-ascii character
Modified
/dlib/enable_if.h

Revision: 1606
Date: Sep 30, 2007 (00:22:18 UTC)
Simplified the code a little by using enable_if
Modified
/dlib/matrix/matrix_utilities.h

Revision: 1605
Date: Sep 30, 2007 (00:06:01 UTC)
Added some more templates to better facilitate loop unrolling.
Modified
/dlib/matrix/matrix.h

Revision: 1604
Date: Sep 30, 2007 (00:01:29 UTC)
Replaced a non-ascii character with the ascii equivalent.
Modified
/dlib/enable_if.h

Revision: 1602
Date: Sep 29, 2007 (23:57:45 UTC)
Added the boost enable_if templates and also made the noncopyable.h file play nice
if the boost version of it has already been #included.
Modified
/dlib/noncopyable.h
Added
/dlib/enable_if.h

Revision: 1601
Date: Sep 29, 2007 (22:17:35 UTC)
Added some templates to facilitate additional loop unrolling inside of
matrix multiplications.
Modified
/dlib/matrix/matrix.h

Revision: 1600
Date: Sep 29, 2007 (15:31:18 UTC)
Removed some unused variables.
Modified
/dlib/test/matrix.cpp

Revision: 1599
Date: Sep 29, 2007 (15:27:58 UTC)
Suppressed a compiler warning and made the tests cover 
a little more code.
Modified
/dlib/test/matrix.cpp

Revision: 1598
Date: Sep 28, 2007 (17:51:58 UTC)
Cleaned up the code a little more and clarified the specs
Modified
/dlib/matrix/matrix.h
/dlib/matrix/matrix_abstract.h

Revision: 1596
Date: Sep 28, 2007 (17:32:11 UTC)
   - Modified the matrix object so that you can declare them with 
     a static dimension and a dynamic dimension.  E.g. matrix<float,0,10>
     is now legal.
   - Fixed a typo in the reciprocal function's specification
   - Simplified the code where appropriate now that we can have
     matrices with a single static dimension.
   - Added the equal() function
Modified
/dlib/matrix/matrix.h
/dlib/matrix/matrix_abstract.h
/dlib/matrix/matrix_math_functions_abstract.h
/dlib/matrix/matrix_utilities.h
/dlib/matrix/matrix_utilities_abstract.h
/dlib/test/matrix.cpp

Revision: 1595
Date: Sep 28, 2007 (14:05:46 UTC)
   - Added the pinv() function
   - Added the matrix_type typedef to the matrix_exp object
   - Changed round_zeros() to use the machine epsilon instead of 1e-6 as 
     its default epsilon.
Modified
/dlib/matrix/matrix.h
/dlib/matrix/matrix_abstract.h
/dlib/matrix/matrix_math_functions.h
/dlib/matrix/matrix_math_functions_abstract.h
/dlib/matrix/matrix_utilities.h
/dlib/matrix/matrix_utilities_abstract.h

Revision: 1592
Date: Sep 27, 2007 (00:45:25 UTC)
Added some new lines
Modified
/dlib/svm/svm.h
/dlib/svm/svm_abstract.h

Revision: 1589
Date: Sep 26, 2007 (23:03:55 UTC)
Added an anchor to a comment
Modified
/dlib/gui_widgets/drawable_abstract.h

Revision: 1584
Date: Sep 26, 2007 (02:19:26 UTC)
Made the mlp use dlib::rand rather than the standard non-threadsafe one.
Modified
/dlib/mlp/mlp_kernel_1.h

Revision: 1583
Date: Sep 26, 2007 (02:19:00 UTC)
Made this object use the uintn.h header rather than its own
fixed size types
Modified
/dlib/rand/rand_kernel_2.cpp
/dlib/rand/rand_kernel_2.h

Revision: 1582
Date: Sep 26, 2007 (02:18:34 UTC)
Fixed a bug regarding the maximum nu check
Modified
/dlib/svm/svm.h
/dlib/svm/svm_abstract.h

Revision: 1581
Date: Sep 25, 2007 (22:47:08 UTC)
Added checks on the mlp training data.
Modified
/dlib/mlp/mlp_kernel_abstract.h
/dlib/mlp/mlp_kernel_c.h