The Library
Help/Info
Current Release









Last Modified:
Nov 10, 2008

Change Log

Revision: 2650
Date: Nov 10, 2008 (22:25:36 UTC)
   - Changed cmake file so that it won't print messages about looking for libpng
   - Added some missing #includes to the thread_pool header
Modified
/trunk/dlib
/trunk/dlib/CMakeLists.txt
/trunk/dlib/threads/thread_pool_extension.h

Revision: 2649
Date: Nov 10, 2008 (22:10:59 UTC)
Fixed some typos in the svd specs
Modified
/trunk/dlib/matrix/matrix_utilities_abstract.h

Revision: 2648
Date: Nov 09, 2008 (21:55:57 UTC)
Added overloads for listener::accept() that can take scoped_ptr 
objects as well as normal connection pointers.  Also reconciled
the type used for timeouts between the win32 and posix version
of the code.
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: 2646
Date: Nov 09, 2008 (02:21:13 UTC)
Added a missing text_field::set_style() to the spec file.
Modified
/trunk/dlib/gui_widgets/widgets_abstract.h

Revision: 2645
Date: Nov 08, 2008 (19:15:41 UTC)
Changed a few things to avoid warnings in visual studio
Modified
/trunk/dlib/algs.h
/trunk/dlib/directed_graph/directed_graph_kernel_1.h
/trunk/dlib/graph/graph_kernel_1.h

Revision: 2644
Date: Nov 08, 2008 (00:05:28 UTC)
Fixed a typo in the spec for the std_vector_c object.
Modified
/trunk/dlib/stl_checked/std_vector_c_abstract.h

Revision: 2643
Date: Nov 07, 2008 (23:57:28 UTC)
fixed compiler warning in visual studio
Modified
/trunk/dlib/threads/thread_pool_extension.cpp

Revision: 2641
Date: Nov 07, 2008 (02:21:23 UTC)
Cleaned up the code for converting between hostnames and IP addresses 
a little bit.  
Modified
/trunk/dlib/sockets/sockets_kernel_1.cpp
/trunk/dlib/sockets/sockets_kernel_2.cpp

Revision: 2640
Date: Nov 07, 2008 (02:19:24 UTC)
Finished integrating the new svd from Jack Riddle.
Modified
/trunk/dlib/matrix/matrix_utilities.h

Revision: 2639
Date: Nov 07, 2008 (01:47:21 UTC)
Added missing requires clause.
Modified
/trunk/dlib/threads/thread_pool_extension_abstract.h

Revision: 2638
Date: Nov 07, 2008 (01:40:37 UTC)
Changed code slightly to avoid a bunch of compiler warnings from gcc 4.3
Modified
/trunk/dlib/array2d/array2d_kernel_c.h
/trunk/dlib/base64/base64_kernel_1.cpp
/trunk/dlib/geometry/rectangle.h
/trunk/dlib/gui_core/gui_core_kernel_2.cpp
/trunk/dlib/gui_widgets/base_widgets.cpp
/trunk/dlib/gui_widgets/canvas_drawing.h
/trunk/dlib/gui_widgets/widgets.cpp
/trunk/dlib/test/graph.cpp
/trunk/dlib/test/image.cpp
/trunk/dlib/test/set.cpp
/trunk/dlib/unicode/unicode.cpp

Revision: 2637
Date: Nov 07, 2008 (00:04:51 UTC)
Added missing assert to the thread_pool object
Modified
/trunk/dlib/threads/thread_pool_extension.cpp

Revision: 2635
Date: Nov 06, 2008 (04:26:36 UTC)
Made the spec more clear
Modified
/trunk/dlib/threads/thread_pool_extension_abstract.h

Revision: 2633
Date: Nov 06, 2008 (03:16:03 UTC)
Added the thread_pool object
Modified
/trunk/dlib/all/source.cpp
/trunk/dlib/threads.h
Added
/trunk/dlib/threads/thread_pool_extension.cpp
/trunk/dlib/threads/thread_pool_extension.h
/trunk/dlib/threads/thread_pool_extension_abstract.h

Revision: 2631
Date: Nov 03, 2008 (23:59:16 UTC)
Changed code so that it compiles in visual studio
Modified
/trunk/dlib/member_function_pointer/member_function_pointer_kernel_1.h

Revision: 2630
Date: Nov 03, 2008 (23:45:59 UTC)
Made the member_function_pointer more robust to the amount of memory in its stack
based block of memory not being big enough.  We should now be guaranteed that it
will either fit or it won't compile.
Modified
/trunk/dlib/member_function_pointer.h
/trunk/dlib/member_function_pointer/member_function_pointer_kernel_1.h
/trunk/dlib/member_function_pointer/member_function_pointer_kernel_abstract.h
/trunk/dlib/member_function_pointer/member_function_pointer_kernel_c.h
/trunk/dlib/test/member_function_pointer.cpp

Revision: 2628
Date: Nov 03, 2008 (02:39:01 UTC)
Added more matrix tests
Modified
/trunk/dlib/test/matrix.cpp

Revision: 2627
Date: Nov 03, 2008 (02:31:53 UTC)
Added the diagm(), svd2() and svd3() functions.
Modified
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/matrix/matrix_utilities_abstract.h

Revision: 2626
Date: Nov 02, 2008 (14:00:47 UTC)
Added functions to the vector_normalizer object to allow you to 
inspect the mean, stddev, and pca matrices it contains.  Also 
changed it so that, if you ask it to train pca, then it always
uses the pca matrix even if it doesn't result in a smaller
output vector.
Modified
/trunk/dlib/statistics/statistics.h
/trunk/dlib/statistics/statistics_abstract.h

Revision: 2625
Date: Nov 02, 2008 (13:35:08 UTC)
Removed all the makedepend stuff from the makefile since it just
ends up confusing people and you have to regenerate it for different
machines most of the time anyway.
Modified
/trunk/dlib/test/makefile

Revision: 2624
Date: Oct 31, 2008 (20:19:47 UTC)
Made sure the destructor for mp_base_base gets called before anyone clones 
data into the mp_base_base's memory space.  
Modified
/trunk/dlib/member_function_pointer/member_function_pointer_kernel_1.h

Revision: 2623
Date: Oct 31, 2008 (18:46:19 UTC)
Updated the spec to reflect the fact that member function pointer 
objects no longer make memory allocations and thus will never
throw bad_alloc.
Modified
/trunk/dlib/member_function_pointer/member_function_pointer_kernel_abstract.h

Revision: 2621
Date: Oct 31, 2008 (17:34:45 UTC)
Added something to the base64 object to allow the user to 
control how it writes out end of lines.
Modified
/trunk/dlib/base64/base64_kernel_1.cpp
/trunk/dlib/base64/base64_kernel_1.h
/trunk/dlib/base64/base64_kernel_abstract.h

Revision: 2620
Date: Oct 31, 2008 (17:19:04 UTC)
Fixed a compile time bug in the pinv() function.  It didn't compile 
when used on statically sized matrices when they weren't square.
Modified
/trunk/dlib/matrix/matrix_utilities.h
/trunk/dlib/matrix/matrix_utilities_abstract.h
/trunk/dlib/test/matrix.cpp

Revision: 2619
Date: Oct 31, 2008 (12:46:56 UTC)
Removed dangerous implicit casts between unrelated member function pointer types.
Also made the spec more clear.
Modified
/trunk/dlib/member_function_pointer/member_function_pointer_kernel_1.h
/trunk/dlib/member_function_pointer/member_function_pointer_kernel_abstract.h

Revision: 2617
Date: Oct 31, 2008 (04:07:18 UTC)
Renamed is_const to is_const_type.
Modified
/trunk/dlib/algs.h
/trunk/dlib/member_function_pointer/member_function_pointer_kernel_1.h

Revision: 2615
Date: Oct 31, 2008 (03:53:53 UTC)
- added is_const template
- changed the member_function_pointer_kernel_1 slightly so that it
  compiles in visual studio.
Modified
/trunk/dlib/algs.h
/trunk/dlib/member_function_pointer/member_function_pointer_kernel_1.h

Revision: 2614
Date: Oct 31, 2008 (02:44:01 UTC)
Changed the member function pointer object so that:
   - It never calls new or delete
   - It can point to const member functions
   - It has an operator bool and operator! so that it can now
     be used in an if statement like a normal pointer
Modified
/trunk/dlib/member_function_pointer/member_function_pointer_kernel_1.h
/trunk/dlib/member_function_pointer/member_function_pointer_kernel_abstract.h
/trunk/dlib/member_function_pointer/member_function_pointer_kernel_c.h
/trunk/dlib/test/member_function_pointer.cpp

Revision: 2612
Date: Oct 29, 2008 (23:56:58 UTC)
Changed the base_window so that it doesn't have any requirement that it not
be closed before calling its member functions.  Now doing so is just a no op.
Modified
/trunk/dlib/gui_core/gui_core_kernel_1.cpp
/trunk/dlib/gui_core/gui_core_kernel_2.cpp
/trunk/dlib/gui_core/gui_core_kernel_abstract.h

Revision: 2611
Date: Oct 29, 2008 (23:23:49 UTC)
Fixed cmake files so they still work with the old version of cmake.
Modified
/trunk/dlib/CMakeLists.txt
/trunk/dlib/test/CMakeLists.txt

Revision: 2610
Date: Oct 29, 2008 (23:19:46 UTC)
Changed some of the events that are about the mouse leaving
a widget so that they still trigger even if the widget has been disabled
or hidden.  
Modified
/trunk/dlib/gui_widgets/base_widgets.cpp
/trunk/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2607
Date: Oct 28, 2008 (00:16:11 UTC)
Made the graph specs more clear
Modified
/trunk/dlib/directed_graph/directed_graph_kernel_abstract.h
/trunk/dlib/graph/graph_kernel_abstract.h

Revision: 2605
Date: Oct 27, 2008 (23:29:55 UTC)
Added a user settable style to the text_field widget.
Modified
/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

Revision: 2604
Date: Oct 27, 2008 (23:13:18 UTC)
Renamed stuff so that this still compiles
Modified
/trunk/dlib/test/gui/main.cpp

Revision: 2603
Date: Oct 27, 2008 (21:48:42 UTC)
Changed code to avoid compiler warnings.
Modified
/trunk/dlib/gui_widgets/canvas_drawing.h

Revision: 2602
Date: Oct 26, 2008 (15:59:13 UTC)
made svd spec more clear
Modified
/trunk/dlib/matrix/matrix_utilities_abstract.h

Revision: 2601
Date: Oct 25, 2008 (18:35:38 UTC)
Added some anti-aliasing to the draw_line function.
Modified
/trunk/dlib/gui_widgets/canvas_drawing.h

Revision: 2599
Date: Oct 25, 2008 (15:35:25 UTC)
Removed all the arrow button styles and replaced them with a single 
button style.
Modified
/trunk/dlib/gui_widgets/style.cpp
/trunk/dlib/gui_widgets/style.h
/trunk/dlib/gui_widgets/style_abstract.h

Revision: 2598
Date: Oct 25, 2008 (15:15:49 UTC)
Cleaned up the list_box's objects code by making it use the scrollable_region widget.
Also gave the list_box a user settable style.
Modified
/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

Revision: 2597
Date: Oct 24, 2008 (22:16:19 UTC)
changed svn:ignore settings
Modified
/trunk/dlib/test/gui

Revision: 2595
Date: Oct 24, 2008 (22:03:59 UTC)
Made the button_style_toolbar1 look nicer and also gave the button_style 
interface the ability to draw outside a button.
Modified
/trunk/dlib/gui_widgets/base_widgets.cpp
/trunk/dlib/gui_widgets/base_widgets.h
/trunk/dlib/gui_widgets/canvas_drawing.h
/trunk/dlib/gui_widgets/style.cpp
/trunk/dlib/gui_widgets/style.h
/trunk/dlib/gui_widgets/style_abstract.h

Revision: 2594
Date: Oct 24, 2008 (21:27:47 UTC)
Fixed a bug in the fill_gradient_rounded() function. It didn't always
draw the entire rectangle.
Modified
/trunk/dlib/gui_widgets/canvas_drawing.h

Revision: 2593
Date: Oct 24, 2008 (21:08:15 UTC)
Removed the confusing and unnecessary hidden bool argument to the style
drawing functions.
Modified
/trunk/dlib/gui_widgets/base_widgets.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.h

Revision: 2592
Date: Oct 24, 2008 (21:03:02 UTC)
Made the scrollable_region and zoomable_region widgets have user settable styles.
Modified
/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/style.h
/trunk/dlib/gui_widgets/style_abstract.h

Revision: 2591
Date: Oct 24, 2008 (20:09:21 UTC)
updated spec
Modified
/trunk/dlib/gui_widgets/base_widgets_abstract.h

Revision: 2588
Date: Oct 24, 2008 (03:30:47 UTC)
Renamed dragable to draggable.
Modified
/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/widgets.cpp
/trunk/dlib/gui_widgets/widgets.h
/trunk/dlib/gui_widgets/widgets_abstract.h

Revision: 2587
Date: Oct 24, 2008 (03:24:42 UTC)
- removed scroll_bar::set_orientation()
- added the dragable::on_drag_stop() event
- added the dragable::is_being_dragged() function
- Made the scroll_bar have a user settable style and made a default 
  style
- Added some missing mutex locks to the scroll_bar widget
Modified
/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/style.cpp
/trunk/dlib/gui_widgets/style.h
/trunk/dlib/gui_widgets/style_abstract.h

Revision: 2585
Date: Oct 23, 2008 (23:29:49 UTC)
Removed the arrow_button widget and moved its functionality into the 
button widget.  I also added 4 new button styles that correspond to 
the 4 types of arrow button.  Lastly, I had to move some things around 
so that is why there seem to be a lot of code changes in this commit.
Modified
/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/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

Revision: 2583
Date: Oct 22, 2008 (21:12:16 UTC)
Changed cmakelists.txt so that cmake 2.6 doesn't give a warning.
Modified
/trunk/dlib/CMakeLists.txt
/trunk/dlib/test/CMakeLists.txt


Old Change Logs