The Library
Help/Info
Current Release
Sourceforge











Last Modified:
May 12, 2008

Old Change Logs

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 b