Davis King
e786884acc
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.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402626
2008-11-02 14:00:47 +00:00
Davis King
a6f633fa3a
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.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402625
2008-11-02 13:35:08 +00:00
Davis King
805365a154
Made sure the destructor for mp_base_base gets called before anyone clones
...
data into the mp_base_base's memory space.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402624
2008-10-31 20:19:47 +00:00
Davis King
7cefb1e5db
Updated the spec to reflect the fact that member function pointer
...
objects no longer make memory allocations and thus will never
throw bad_alloc.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402623
2008-10-31 18:46:19 +00:00
Davis King
93542b8869
Added some stuff to a few of the examples regarding saving things to
...
disk with serialize().
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402622
2008-10-31 18:12:18 +00:00
Davis King
a03e9b2e1a
Added something to the base64 object to allow the user to
...
control how it writes out end of lines.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402621
2008-10-31 17:34:45 +00:00
Davis King
fafa738f61
Fixed a compile time bug in the pinv() function. It didn't compile
...
when used on statically sized matrices when they weren't square.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402620
2008-10-31 17:19:04 +00:00
Davis King
e26feaa806
Removed dangerous implicit casts between unrelated member function pointer types.
...
Also made the spec more clear.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402619
2008-10-31 12:46:56 +00:00
Davis King
ff441e5596
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402618
2008-10-31 04:08:46 +00:00
Davis King
6d1a18c0ea
Renamed is_const to is_const_type.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402617
2008-10-31 04:07:18 +00:00
Davis King
b07a618fd6
Fixed cmake file so that it is backwards compatible with cmake 2.4
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402616
2008-10-31 03:58:36 +00:00
Davis King
e3fd5442b3
- added is_const template
...
- changed the member_function_pointer_kernel_1 slightly so that it
compiles in visual studio.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402615
2008-10-31 03:53:53 +00:00
Davis King
72d9adbf50
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
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402614
2008-10-31 02:44:01 +00:00
Davis King
7016a876b2
Made the down arrow bigger.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402613
2008-10-30 01:35:14 +00:00
Davis King
f34f65eac5
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.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402612
2008-10-29 23:56:58 +00:00
Davis King
80c9598904
Fixed cmake files so they still work with the old version of cmake.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402611
2008-10-29 23:23:49 +00:00
Davis King
008b03659a
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.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402610
2008-10-29 23:19:46 +00:00
Davis King
1ef2ae75d9
Made the menus a little less confusing.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402609
2008-10-29 01:47:53 +00:00
Davis King
fec5c5a554
Made the down arrows in the menus a little more obvious.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402608
2008-10-29 00:37:40 +00:00
Davis King
c4491db750
Made the graph specs more clear
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402607
2008-10-28 00:16:11 +00:00
Davis King
f8b4ad7c2e
Updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402606
2008-10-27 23:49:23 +00:00
Davis King
e1838b1eaf
Added a user settable style to the text_field widget.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402605
2008-10-27 23:29:55 +00:00
Davis King
5d23ce5fbc
Renamed stuff so that this still compiles
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402604
2008-10-27 23:13:18 +00:00
Davis King
9585b55e8c
Changed code to avoid compiler warnings.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402603
2008-10-27 21:48:42 +00:00
Davis King
6c17f756fa
made svd spec more clear
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402602
2008-10-26 15:59:13 +00:00
Davis King
daa05670fe
Added some anti-aliasing to the draw_line function.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402601
2008-10-25 18:35:38 +00:00
Davis King
010d0b7dcb
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402600
2008-10-25 17:57:31 +00:00
Davis King
ab964fee67
Removed all the arrow button styles and replaced them with a single
...
button style.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402599
2008-10-25 15:35:25 +00:00
Davis King
9db0ca77fc
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.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402598
2008-10-25 15:15:49 +00:00
Davis King
1fc2b4e1f4
changed svn:ignore settings
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402597
2008-10-24 22:16:19 +00:00
Davis King
8235c52d1c
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402596
2008-10-24 22:05:26 +00:00
Davis King
115d250d03
Made the button_style_toolbar1 look nicer and also gave the button_style
...
interface the ability to draw outside a button.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402595
2008-10-24 22:03:59 +00:00
Davis King
c9553a5007
Fixed a bug in the fill_gradient_rounded() function. It didn't always
...
draw the entire rectangle.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402594
2008-10-24 21:27:47 +00:00
Davis King
7a51133652
Removed the confusing and unnecessary hidden bool argument to the style
...
drawing functions.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402593
2008-10-24 21:08:15 +00:00
Davis King
07b0dae0b4
Made the scrollable_region and zoomable_region widgets have user settable styles.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402592
2008-10-24 21:03:02 +00:00
Davis King
972ffa7513
updated spec
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402591
2008-10-24 20:09:21 +00:00
Davis King
8ff0dd8f92
updated docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402590
2008-10-24 03:40:08 +00:00
Davis King
0784adb677
Renamed dragable to draggable.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402589
2008-10-24 03:31:13 +00:00
Davis King
7335256438
Renamed dragable to draggable.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402588
2008-10-24 03:30:47 +00:00
Davis King
32ca94c956
- 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
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402587
2008-10-24 03:24:42 +00:00
Davis King
2ad5e749e9
updated the docs
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402586
2008-10-23 23:33:53 +00:00
Davis King
2055ec6e2a
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.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402585
2008-10-23 23:29:49 +00:00
Davis King
1e103791c9
Changed cmakelists.txt so that cmake 2.6 doesn't give a warning.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402584
2008-10-22 21:12:31 +00:00
Davis King
732dbae290
Changed cmakelists.txt so that cmake 2.6 doesn't give a warning.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402583
2008-10-22 21:12:16 +00:00
Davis King
159d32d71d
made a release
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402581
2008-10-20 23:37:46 +00:00
Davis King
b215c6e4d4
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.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402580
2008-10-20 21:15:02 +00:00
Davis King
51e2396b6b
changed svm test a little
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402579
2008-10-18 18:06:12 +00:00
Davis King
efe29d0bb8
Changed the code to avoid a compiler warning.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402578
2008-10-18 18:05:55 +00:00
Davis King
1a369c1cab
Changed code to suppress compiler warnings
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402577
2008-10-18 16:40:22 +00:00
Davis King
49063e24f3
Moved a bunch of code from the base_widgets.h file to the base_widgets.cpp file.
...
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402576
2008-10-18 15:59:53 +00:00