Peter Keresztes Schmidt
cd45c61555
Use mt19937 as PRNG
...
Reasons: It's faster than rand() and can be made thread-safe
2021-10-12 19:18:21 +02:00
Peter Keresztes Schmidt
c027b7a38d
Fix some clang-tidy warnings
2021-10-12 19:05:22 +02:00
Peter Keresztes Schmidt
97b38bd4ab
Align changes with our codestyle
...
See https://google.github.io/styleguide/cppguide.html for reference
2021-10-12 18:53:31 +02:00
Isaac Connor
c6cac57fb1
remove bogus wanring
2021-10-12 12:45:06 -04:00
Isaac Connor
0ba3d863a6
Merge branch 'master' of github.com:ZoneMinder/zoneminder
2021-10-12 12:25:01 -04:00
Mike Dussault
814124251e
Fixed a CodeQL complaint
2021-10-11 23:57:20 +00:00
Mike Dussault
2cf16eb495
Removed some unused code and added more function comments
2021-10-11 15:58:30 -07:00
Mike Dussault
146ff1ac7a
Print the benchmark results in a nicer table
2021-10-11 15:53:29 -07:00
Mike Dussault
e4542de6f2
Fixed random image generation, and now it shows a proper (giant) perf difference between images that take longer for Zone's FILTERED_PIXELS detection to deal with.
2021-10-11 14:21:08 -07:00
Mike Dussault
9370cfe25c
Added TimeSegmentAdder class and got benchmark output looking ok.
2021-10-11 21:12:46 +00:00
Mike Dussault
305af08112
Added Monitor scaffolding and a skeleton benchmark for DetectMotion.
2021-10-11 20:22:10 +00:00
Mike Dussault
3723e136b1
Initial benchmark exe
2021-10-11 19:44:58 +00:00
Isaac Connor
614750963b
spacing
2021-10-07 12:37:03 -04:00
Isaac Connor
7079516e09
Fix indexing of camera type enum so that printing out from CameraType_Strings works
2021-10-07 12:36:28 -04:00
Isaac Connor
2dfbc013cb
Fix curl cameras. PrimeCapture and PreCapture and PostCapture need to return 1. Also need to populate the packet and video stream.
2021-10-07 12:35:56 -04:00
Isaac Connor
505f3d1b32
Merge pull request #3366 from haade-administrator/patch-1
...
Update translation
2021-10-06 09:11:22 -04:00
Isaac Connor
a465403c72
Handle when SERVER['HTTP_HOST'] is not set
2021-10-05 19:49:42 -04:00
Isaac Connor
7f09cddcd7
split actionBrightness etc into two different functions for get/set. This allows negative values to be set
2021-10-05 19:49:42 -04:00
Isaac Connor
e394248baf
Add ajax controls to realtime change the v4l2 ctrls
2021-10-05 19:49:42 -04:00
Isaac Connor
94cd3a6e69
Use v4l2-ctrl to list the available controls and display all of them. Use range sliders where appropriate.
2021-10-05 19:49:42 -04:00
Isaac Connor
52129c94ec
spacing. Use a separate boolean to tell if we have specified a new value for controls. This allows negative settings. Fix zmy outputting brightness when contrast is specified.
2021-10-05 19:49:42 -04:00
Isaac Connor
ba26235763
further deprecate v4l2 tests and spacing
2021-10-05 19:49:42 -04:00
Isaac Connor
c72d34f176
fix validInt to take negative integers. Introduce validCardinal to handle positive integers
2021-10-05 19:49:42 -04:00
Isaac Connor
75a014321e
Spacing, remove tests for v4l2, move control setting/getting code to a single function.
2021-10-05 19:49:42 -04:00
Isaac Connor
1f04723f3a
dbError is supposed to take the sql that caused the error. So pass something to satisfy php
2021-10-05 19:49:42 -04:00
haade
a0142d3896
Update translation
2021-10-05 08:15:39 +02:00
Isaac Connor
7ed76b5677
Merge pull request #3364 from TheRealJiffy/patch-1
...
Update mobile.rst
2021-10-03 11:08:56 -04:00
TheRealJiffy
ca293eb288
Update mobile.rst
...
fix broken link
2021-10-02 23:42:08 -04:00
Alejandro Criado-Pérez
1e71300a3b
added Debian installation instructions
2021-09-30 01:15:45 +02:00
criadoperez
e462c23115
updated dlandon repository name
2021-09-29 16:46:04 +02:00
criadoperez
9f683c0c91
Removed default-file parameter that is deprecated
2021-09-29 14:14:25 +02:00
criadoperez
8554ccd649
Added Debian 11 (bullseye) installation
2021-09-29 12:26:15 +02:00
Isaac Connor
509a5549be
Merge branch 'master' of https://github.com/ZoneMinder/zoneminder
2021-09-28 10:31:04 -04:00
Isaac Connor
aca477e737
Add warning when MaxImageBufferCount is less than keyframe interval
2021-09-28 10:30:51 -04:00
Isaac Connor
95a7c6c32f
fix crash on 32bit pi due to use of %ld instead of %PRId64
2021-09-28 10:29:41 -04:00
Isaac Connor
ac375bc623
fix errant =
2021-09-27 11:03:29 -04:00
Isaac Connor
f54e779b21
Merge pull request #3360 from ZoneMinder/strftime_en_gb_format
...
Define Date formats in lang file for en_gb resolves #2408
2021-09-27 10:58:43 -04:00
Isaac Connor
202d95fc5a
handle AV_HWDEVICE_TYPE_MMAL not being defined
2021-09-27 10:58:16 -04:00
Steve Gilvarry
dcd2c16774
Define Date formats
...
Set Locale for time to en_GB.utf8, changed STRF_FMT_DATETIME_SHORTER to %x which is locale aware short date, but does include year. Makes event table wider, not sure if that is a problem for others
2021-09-27 00:58:34 +10:00
Isaac Connor
94c1b3445d
Add an input for an Id to assign to the new monitor. List 10 available Ids.
2021-09-25 20:54:35 -04:00
Isaac Connor
03892796eb
whitespace
2021-09-25 16:10:50 -04:00
Isaac Connor
888d79706a
Add zm_rtsp_server to ignores
2021-09-25 16:08:58 -04:00
Isaac Connor
a99f9091fc
remove useless commit.
2021-09-25 14:27:10 -04:00
Isaac Connor
c78e035057
Fix crash due to int64 cast to a %ld format.
2021-09-23 19:07:07 -04:00
Isaac Connor
aae967e895
Add mmal device/pix fmt type
2021-09-23 16:39:35 -04:00
Isaac Connor
7748307c5a
More new defaults. The navbar refreshes every 60 secs so make full page refresh be 240sec. Ajax timeout needs to be 10 seconds. Large event listings can take longer than 3
2021-09-23 16:39:35 -04:00
Isaac Connor
d3cfd3c224
Set new defaults for various settings
2021-09-23 16:39:35 -04:00
Isaac Connor
30fa641186
initialize video_first_pts and when setting it need to specify microseconds otherwise we get nanoseconds. White space.
2021-09-21 14:29:05 -04:00
Isaac Connor
1cb9f98e9b
Restore the download button's behaviour. It is a simple link to the mp4, not an export. Also add a handler for the video.js rate control to sync up our non video.js rate dropdown and stored cookie.
2021-09-21 13:01:05 -04:00
Isaac Connor
160f775f91
Always include the download button so that we can assume that it exists in the js. So avoid console errors when no mp4.
2021-09-21 13:01:05 -04:00