Commit Graph

10361 Commits

Author SHA1 Message Date
Isaac Connor 34668db43b use return value of WriteJpeg 2017-12-12 13:39:36 -05:00
Isaac Connor 97e3ac046e close file handle on error 2017-12-12 13:38:31 -05:00
Isaac Connor 599848346e close infile on error condition. Make failure to read not be fatal. 2017-12-12 13:35:19 -05:00
Isaac Connor 7278448b01 remove test for less than zero of uints 2017-12-12 13:30:58 -05:00
Isaac Connor 6bffc54b77 fix referencing event_data before we test it for null 2017-12-12 13:30:43 -05:00
Isaac Connor c40f79097d fix zeroing of vid_cap, when we want to zero vid_pic! 2017-12-12 13:28:39 -05:00
Isaac Connor 5f0db60c38 quiet coverity 2017-12-12 13:25:41 -05:00
Isaac Connor b246ae4d19 remove less than zero tests for unsigned parameters 2017-12-12 13:25:02 -05:00
Isaac Connor 2769c1fc54 add missing unlock 2017-12-12 13:20:53 -05:00
Isaac Connor 5fa7fd4db8 initialize mValue 2017-12-12 13:19:35 -05:00
Isaac Connor 3c44c1f9be quiet coverity by returning after Panic 2017-12-12 13:19:23 -05:00
Isaac Connor 52953d7112 initialize ttl 2017-12-12 13:19:09 -05:00
Isaac Connor 46094fe6cf close outfile on error 2017-12-12 13:18:57 -05:00
Isaac Connor 47f3971f9a remove unused mDbConnection 2017-12-12 13:18:50 -05:00
Isaac Connor 568b15a916 initilize things to quiet coverity 2017-12-12 13:09:55 -05:00
Isaac Connor 23a2f1e609 quiet coverity by initialising last_frame_timestamp 2017-12-12 13:01:57 -05:00
Isaac Connor fe8e1ba445 change the order of open/stat. Only stat and check for char device if we can actualy open it 2017-12-12 13:01:38 -05:00
Isaac Connor fe74c41723 fix integer division instead of double 2017-12-12 12:56:19 -05:00
Isaac Connor 716a29545f fix strncpy not leaving null terminator space 2017-12-12 12:53:05 -05:00
Isaac Connor db915b2c56 Don't do an unneccesary assignemnt 2017-12-12 12:52:30 -05:00
Isaac Connor 43e4421368 fix strncpy not leaving null terminator space 2017-12-12 12:52:20 -05:00
Isaac Connor 2df96bf6ee use the return value of stat 2017-12-12 12:51:54 -05:00
Isaac Connor 007ebd3689 remove unused var 2017-12-12 12:41:17 -05:00
Isaac Connor 40e4d909c3 turn Fatal into Error 2017-12-12 12:41:11 -05:00
Isaac Connor ec99c96587 remove unneccesary assignment 2017-12-12 12:38:40 -05:00
Isaac Connor 31189bdb11 make an error not fatal and check return to quiet coverity 2017-12-12 12:38:30 -05:00
Isaac Connor 9085a4b062 remove unused class members 2017-12-12 12:38:05 -05:00
Isaac Connor f8738f2387 quiet coverity 2017-12-12 12:37:49 -05:00
Isaac Connor 8c1159ad56 quiet coverity by initializing everything in constructor 2017-12-12 12:37:36 -05:00
Isaac Connor 56e879da7b should only cpoy sizeof(path)-1 to leave space for null terminator 2017-12-12 12:37:04 -05:00
Isaac Connor a9bbe3e85c remove debug lines 2017-12-12 12:36:35 -05:00
Isaac Connor 16ac341642 locallist return code vars, they don't need to be class members 2017-12-12 12:35:54 -05:00
Isaac Connor a0f79b7bf7 add CFG_UNKNOWN and use it in the .cpp to quiet coverity 2017-12-12 12:35:28 -05:00
Isaac Connor 49be06d641 move freeaddrinfo up before a return to prevent memleak 2017-12-12 12:35:05 -05:00
Isaac Connor 475d39f1c6 move closedir down so that it always happens. Make coverity quiet 2017-12-12 12:34:43 -05:00
Isaac Connor 819c2e5190 fix possible not null-terminated strncpy. Wouldn't actually happen because we are copying from the db field which is 1 smaller than the variable but Coverity doesn't know that. 2017-12-12 11:48:12 -05:00
Isaac Connor 56ace524ff Merge branch 'storageareas' of github.com:ConnorTechnology/ZoneMinder into storageareas 2017-12-12 11:16:26 -05:00
Isaac Connor eebc7ce856 code doc 2017-12-12 11:16:17 -05:00
Isaac Connor 2643ac9f97 fix a quoting problem that prevented saving config 2017-12-12 11:16:08 -05:00
Isaac Connor 9bd12d5b9a set a type on the buttons 2017-12-12 11:15:53 -05:00
Isaac Connor f64d65e6d7 Make db errors not fatal when deleting an event 2017-12-12 10:55:09 -05:00
Isaac Connor 9fe7ba25e2 improve the download ui 2017-12-11 14:33:17 -08:00
Isaac Connor 5bd5f03611 redo buttons as button tags 2017-12-11 12:51:38 -05:00
Isaac Connor 7108e306cb add popup sizes for server and storage. Increase height of user edit popup 2017-12-11 12:50:30 -05:00
Isaac Connor dd69bc3d7b Merge branch 'master' into storageareas 2017-12-11 11:39:42 -05:00
Isaac Connor de10eaf4fe
Merge pull request #64 from digital-gnome/storageareas-controlcss
Storageareas controlcss
2017-12-10 14:18:32 -05:00
Andrew Bauer 0d9f330356 call zmcamtool during postinst (#2021) 2017-12-10 14:14:39 -05:00
digital-gnome 1e412af902 Fix float overlap
Avoid explicitly setting some heights, add clear float
2017-12-10 09:37:16 -05:00
digital-gnome 6974c847e5 Fix controlcss
Missing viewCssFileExtra
2017-12-10 09:37:16 -05:00
Andy Bauer a2d266f8f9 fix floreen ptz control sql 2017-12-09 16:05:42 -06:00