Commit Graph

3496 Commits

Author SHA1 Message Date
Davis King dbc9a815e2 Fixed an endianness bug in the PNG I/O functions which occurred when 16bit
grayscale PNGs were used.  libpng doesn't automatically convert from host
endianness to big endian as the PNG standard demands.  You have to explicitly
tell it to do this or it will write out the 16bit pixel data in host order
which result in the wrong thing happening on little endian chips.  Similarly
for reading PNGs.
2013-01-07 19:49:47 -05:00
Davis King 452972086e updated docs 2013-01-06 20:13:26 -05:00
Davis King 07cce7a22a updated release notes 2013-01-06 18:22:37 -05:00
Davis King ee72092e62 merged 2013-01-06 15:28:44 -05:00
Davis King 33a192fc28 Fixed a bug pointed out by Joel Nelson in the version of md5() that took an
istream.  The bug caused the function to crash on strings longer than 56
characters.
2013-01-06 15:28:09 -05:00
Davis King 63a360e177 updated release notes 2013-01-05 19:39:56 -05:00
Davis King 6d601583d5 Made test more robust and also added more print_spinner()
calls.
2013-01-05 09:59:35 -05:00
Davis King a4f048701a clarified spec 2013-01-04 23:55:43 -05:00
Davis King 89b6a6ced7 updated docs 2013-01-04 23:18:47 -05:00
Davis King 479168b2cd updated icon files 2013-01-04 21:23:19 -05:00
Davis King 90d4b034f4 saving another icon 2013-01-04 21:03:46 -05:00
Davis King bbb71033c6 Removed download button and replaced it with the old text link. Also
regenerated the icons and logo from the svg file.
2013-01-04 20:49:14 -05:00
Davis King 19a2f8e4ff Added the gradient and a little border to the dlib gear 2013-01-04 20:37:45 -05:00
Davis King 9f44528d24 filled out release notes 2013-01-03 23:29:23 -05:00
Davis King 3b0f4ff135 Added more unit tests for the forces_last_weight_to_1 stuff. 2013-01-03 22:17:10 -05:00
Davis King 9ab59297b2 Added the forces_last_weight_to_1() option to the svm_c_linear_trainer. 2013-01-03 22:15:27 -05:00
Davis King 96264d3339 Changed svm_c_linear_dcd_trainer so that when the user forces the last weight
to 1 it automatically disables use of the bias since that is almost certainly
what the user will want to do.
2013-01-03 22:02:16 -05:00
Davis King b445ddbd8d Switched this code to use the oca object's ability to force a weight to 1
instead of rolling its own implementation.
2013-01-03 22:00:02 -05:00
Davis King 277b47ae58 Added the option to force the last weight to 1. 2013-01-03 21:55:53 -05:00
Davis King 59cd70c643 tweaked icons and logo a little 2013-01-02 21:53:03 -05:00
Davis King cb1c3df1a2 Minor change to svg paths 2013-01-01 23:11:57 -05:00
Davis King bc3cee678a tweaked the download button a little 2013-01-01 23:09:58 -05:00
Davis King 04c7c36ec4 changed svg document size to contain all the contents 2013-01-01 20:58:52 -05:00
Davis King 6d12bbd065 Fixed image alignment 2013-01-01 20:58:32 -05:00
Davis King 88cd0f518c changed download icon slightly 2013-01-01 20:12:19 -05:00
Davis King 795f6fe3d3 Changed logos slightly and added a nicer download button. Also added some
icon files.
2013-01-01 19:57:33 -05:00
Davis King 633f749741 made the logo always link to dlib.net 2013-01-01 18:22:19 -05:00
Davis King ee89affba5 made makedocs copy the .ico file over. 2013-01-01 18:20:10 -05:00
Davis King 83f5967667 Added initial version of dlib logo 2013-01-01 18:17:17 -05:00
Davis King 482474c8f3 relaxed test slightly 2012-01-22 19:51:46 -05:00
Davis King 1e8bc43527 Relaxed test slightly to avoid false alarms. 2011-08-10 01:14:16 -04:00
Davis King 3f477c1fef A minor change to avoid a warning from gcc 4.4 2012-12-29 00:08:03 -05:00
Davis King e93639f144 These changes don't actually change what the code does, but they
avoid some silly warnings from gcc 4.4 and 4.5.
2012-12-28 23:39:49 -05:00
Davis King a8337a667d Fixed a double unlock bug. 2012-12-28 19:33:43 -05:00
Davis King 2461a5e16a Fixed spelling error in comment. 2012-12-28 19:19:00 -05:00
Davis King 1a6554bce5 merged 2012-12-28 19:14:58 -05:00
Davis King 68e88433fc Changed the spec for mutex::unlock() to say that it is illegal for a thread to
unlock a dlib::mutex it doesn't own.  This is technically a non-backwards
compatible change to the API but it has always been implemented in a way that
didn't allow this kind of double unlock() on non-Windows platforms.
Additionally, the recent change to the dlib::mutex implementation on windows
also no longer allows this kind of double unlock.
2012-12-28 19:14:31 -05:00
Davis King d5ca4a8b5b Changed the thread_pool so it uses auto_mutex::unlock() in the appropriate places
instead of mutex::unlock().
2012-12-28 19:02:38 -05:00
Davis King d6c200693e Added auto_mutex::unlock() 2012-12-28 19:01:10 -05:00
Davis King 213b0ff14b Added speed information about the pipe and bridge 2012-12-28 17:11:44 -05:00
Davis King 2c1a2f4ee6 Added some polynomial drawing to the testing gui 2012-12-28 15:22:02 -05:00
Davis King af7fcb0e09 Improved unit test repeatability. 2012-12-28 14:50:30 -05:00
Davis King 7087d75369 Switched the windows implementation of dlib::mutex to use a CRITICAL_SECTION instead
of a "mutex" (i.e. the thing made by CreateMutex()) since a critical section does the
same thing but faster.
2012-12-28 14:38:15 -05:00
Davis King 05f3537858 merged 2012-12-28 11:50:05 -05:00
Davis King 1653a8f502 changed the array2d overloads to read/write all the data in one block. 2012-12-28 11:49:41 -05:00
Davis King b1902bd0ad spelling 2012-12-28 10:54:15 -05:00
Davis King 12a1104e65 grammar 2012-12-28 10:53:25 -05:00
Davis King b5c0dede2b Clarified threading discussion in intro. 2012-12-28 10:51:02 -05:00
Davis King dc9db58090 merged 2012-12-28 10:23:56 -05:00
Davis King 658927b37c clarified spec 2012-12-28 10:23:39 -05:00