Commit Graph

417 Commits

Author SHA1 Message Date
Davis King
d200a68404 Removed the constructor try/catch blocks from the gui examples
since they don't always compile in visual studio 7.1 and they
would probably confuse most people anyway.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402651
2008-11-10 23:57:03 +00:00
Davis King
3cd43a2c96 - Changed cmake file so that it won't print messages about looking for libpng
- Added some missing #includes to the thread_pool header

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402650
2008-11-10 22:25:36 +00:00
Davis King
0307cb1de6 Fixed some typos in the svd specs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402649
2008-11-10 22:10:59 +00:00
Davis King
1b08adbcad 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.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402648
2008-11-09 21:55:57 +00:00
Davis King
82b16922fd updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402647
2008-11-09 20:56:27 +00:00
Davis King
92a3b38d5f Added a missing text_field::set_style() to the spec file.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402646
2008-11-09 02:21:13 +00:00
Davis King
a4d4d4efda Changed a few things to avoid warnings in visual studio
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402645
2008-11-08 19:15:41 +00:00
Davis King
e236f0ea9e Fixed a typo in the spec for the std_vector_c object.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402644
2008-11-08 00:05:28 +00:00
Davis King
8ebd22a4c2 fixed compiler warning in visual studio
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402643
2008-11-07 23:57:28 +00:00
Davis King
3a082e2aa9 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402642
2008-11-07 02:21:50 +00:00
Davis King
c379e0cc48 Cleaned up the code for converting between hostnames and IP addresses
a little bit.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402641
2008-11-07 02:21:23 +00:00
Davis King
573d043e8d Finished integrating the new svd from Jack Riddle.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402640
2008-11-07 02:19:24 +00:00
Davis King
f6df5ad191 Added missing requires clause.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402639
2008-11-07 01:47:21 +00:00
Davis King
ed0261feb4 Changed code slightly to avoid a bunch of compiler warnings from gcc 4.3
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402638
2008-11-07 01:40:37 +00:00
Davis King
e1a0626b83 Added missing assert to the thread_pool object
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402637
2008-11-07 00:04:51 +00:00
Davis King
65c4e4a970 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402636
2008-11-06 04:29:42 +00:00
Davis King
67981f1002 Made the spec more clear
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402635
2008-11-06 04:26:36 +00:00
Davis King
a8a198d3ce Added a thread pool example
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402634
2008-11-06 04:13:03 +00:00
Davis King
10cccc0451 Added the thread_pool object
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402633
2008-11-06 03:16:03 +00:00
Davis King
f29f7e2995 Fixed a broken link.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402632
2008-11-05 04:17:32 +00:00
Davis King
5dea5dbc5c Changed code so that it compiles in visual studio
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402631
2008-11-03 23:59:16 +00:00
Davis King
d7ecc1fa97 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.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402630
2008-11-03 23:45:59 +00:00
Davis King
5faacf9753 updated the docs
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402629
2008-11-03 02:39:33 +00:00
Davis King
3e96899015 Added more matrix tests
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402628
2008-11-03 02:39:01 +00:00
Davis King
112eaab9b0 Added the diagm(), svd2() and svd3() functions.
--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402627
2008-11-03 02:31:53 +00:00
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