Commit Graph

52 Commits

Author SHA1 Message Date
Peter Keresztes Schmidt 8869bfd903 Gut out zm.h since it is used only to store the self variable 2021-02-04 18:02:08 +01:00
Peter Keresztes Schmidt 0dbc39ee25 Cleanup and reorganize includes
With this commit a unified structure for includes is introduced.
The general rules:
 * Only include what you need
 * Include wherever possible in the cpp and forward-declare in the header

 The includes are sorted in a local to global fashion. This means for the include order:
  0. If cpp file: The corresponding h file and an empty line
  1. Includes from the project sorted alphabetically
  2. System/library includes sorted alphabetically
  3. Conditional includes
2021-02-04 18:02:01 +01:00
Peter Keresztes Schmidt 0f5df0c739 zm: Typedef C++11 int types to make them easier to use
In order to clearly state the intended length of an integer variable
all usages of other integer types (short int, int, long int, ...)
should be converted.
2021-02-02 21:37:26 +01:00
Isaac Connor bab15217f5 Make zm_terminate available to anyone who includes zm.h 2020-05-07 13:38:56 -04:00
Isaac Connor 9241c26f2f Move PATH_MAX to zm_config where all the other defines are 2018-11-23 12:43:51 -05:00
Andy Bauer 254fcbcef7 update gpl 2 mailing address in source files 2016-12-26 09:23:16 -06:00
Isaac Connor 03b1ced568 tabs to spaces and use 2space indenting 2016-04-04 10:11:48 -04:00
Emmanuel Papin 7811354d92 Move iostream inclusion in zm.h and declare explicitely the namespace for cout 2015-05-29 23:22:20 +02:00
Rick Sayre 12516da3dc Patched in changes to 1.28.1 to allow OmniOS/Illumos to build and work
haven't attempted to build yet, there are some changes
2015-05-17 17:18:54 -07:00
Dmitry Smirnov 0a2f1cd2b6 build: add PATH_MAX definitions (needed on GNU Hurd)
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
2015-04-16 11:25:04 +10:00
Kfir Itzhak bed30d32b6 Remove round() mess 2013-11-15 11:41:26 +02:00
Kfir Itzhak 0bb2ee7efc More signal improvements:
1) Cleaner code
2) Fixed the path displayed in the addr2line line
3) Improved dependency checking for backtrace
4) Few more improvements
2013-10-07 02:37:50 +03:00
stan 6ff385e407 git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3459 e3e1d417-86f3-4887-817a-d78f3d33393f 2011-06-21 09:19:10 +00:00
stan beffdab035 Improved fast image blending somewhat and changed image class to use generic typedefs rather than libjpeg ones.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3301 e3e1d417-86f3-4887-817a-d78f3d33393f
2011-02-15 11:18:41 +00:00
stan b079f1e1c6 Updated to use standard types.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3087 e3e1d417-86f3-4887-817a-d78f3d33393f
2010-07-04 18:00:35 +00:00
stan 0e88a85980 Updated propeties
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2610 e3e1d417-86f3-4887-817a-d78f3d33393f
2008-07-25 09:23:20 +00:00
stan d0e787f957 Test revision for properties
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2609 e3e1d417-86f3-4887-817a-d78f3d33393f
2008-07-25 09:14:36 +00:00
stan aa26ab7b18 git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2532 e3e1d417-86f3-4887-817a-d78f3d33393f 2008-07-16 08:35:59 +00:00
stan 235dde1a80 Updated copyright statement.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1829 e3e1d417-86f3-4887-817a-d78f3d33393f
2006-01-17 10:56:30 +00:00
stan 825e6420ad Moved declaration of double.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1393 e3e1d417-86f3-4887-817a-d78f3d33393f
2005-05-02 14:02:04 +00:00
stan 264c23d687 Updated copyright statement
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1360 e3e1d417-86f3-4887-817a-d78f3d33393f
2005-02-24 14:40:14 +00:00
stan 5803cad6dd Added extra precisions.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@652 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-10-16 08:59:34 +00:00
stan 9c3bf369c0 Changes to support dynamic config.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@589 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-07-03 22:07:31 +00:00
stan 303864f0cb Made DELTA_TIMEVAL variable precision to handle different scenarios.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@532 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-05-16 10:17:05 +00:00
stan 172c2fb659 Added extra braces to DELTA_TIMEVAL macro.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@501 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-04-17 15:36:30 +00:00
stan af94aba0ca Updated to support remote cameras, most contents now moved to class specific
files.


git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@410 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-26 11:58:03 +00:00
stan c722d9046d Added ttl to streaming.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@401 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-21 10:53:55 +00:00
stan 4697715781 Slightly reformatted and commented.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@398 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-20 22:50:30 +00:00
stan da1d121615 Make 'round' declaration conditional.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@396 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-20 22:36:32 +00:00
stan 3443c3db7c Added LocalCamera class.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@394 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-20 22:34:25 +00:00
stan 027329496e First phase class reorganisation.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@393 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-19 23:07:05 +00:00
stan 5dbf628786 Made Frame timestamps and event lengths incldue fractional seconds, to enable
real time video playback, eventually.


git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@388 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-11 15:17:30 +00:00
stan 645985f2e0 Added query option to zmu.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@380 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-03-05 17:14:17 +00:00
stan 376cc3bc85 Moved monitor defines into public area.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@347 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-01-16 14:53:26 +00:00
stan a734c26f5d Changed copyright date to 2003.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@286 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-01-11 18:22:27 +00:00
stan ae7127473f Fixed Ready to work with X10 function.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@229 e3e1d417-86f3-4887-817a-d78f3d33393f
2003-01-02 19:30:05 +00:00
stan 2dc1636e93 Added X10 monitor function and deleted CheckFunction function(!).
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@213 e3e1d417-86f3-4887-817a-d78f3d33393f
2002-12-24 11:58:14 +00:00
stan 58349ac9ae Changed record_zone_stats to record_event_stats and added define.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@180 e3e1d417-86f3-4887-817a-d78f3d33393f
2002-12-11 22:41:40 +00:00
stan 55950fdec1 Added forced arming for X10.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@174 e3e1d417-86f3-4887-817a-d78f3d33393f
2002-12-10 23:29:22 +00:00
stan 38bea0c7b5 Changed Zone Monitor to ZoneMinder.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@160 e3e1d417-86f3-4887-817a-d78f3d33393f
2002-12-10 13:21:41 +00:00
stan e4072d56af Added last event id to shared memory for auto-filtering etc.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@125 e3e1d417-86f3-4887-817a-d78f3d33393f
2002-11-27 16:23:04 +00:00
stan db6e5103b9 Initial implementation of learning, fixed scoring bug and Mark functions.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@121 e3e1d417-86f3-4887-817a-d78f3d33393f
2002-11-07 12:25:48 +00:00
stan e28e77fd2c Changes to shared memory and fixes to variables from the database.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@116 e3e1d417-86f3-4887-817a-d78f3d33393f
2002-10-30 17:02:06 +00:00
stan d62bafcad8 Moved a whole bunch of static defines into the database for Monitors. Also
enable dynamic labelling support.


git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@113 e3e1d417-86f3-4887-817a-d78f3d33393f
2002-10-30 14:00:42 +00:00
stan c840d15cff Removed extraneous 'error' from message.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@104 e3e1d417-86f3-4887-817a-d78f3d33393f
2002-10-28 14:33:44 +00:00
stan cf0b57705c Moved some enums to #defines in zmcfg.h
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@58 e3e1d417-86f3-4887-817a-d78f3d33393f
2002-09-24 11:45:57 +00:00
stan d35e09f4d8 Added GPL header.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@53 e3e1d417-86f3-4887-817a-d78f3d33393f
2002-09-23 22:08:50 +00:00
stan 2dfbd35809 Optimised analysis and sleeps.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@27 e3e1d417-86f3-4887-817a-d78f3d33393f
2002-09-23 10:13:51 +00:00
stan 3751935c6c Updated to use PATH_MAX.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@22 e3e1d417-86f3-4887-817a-d78f3d33393f
2002-09-21 11:13:35 +00:00
stan 6b455d160b Sorted out path creation and defines.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@20 e3e1d417-86f3-4887-817a-d78f3d33393f
2002-09-20 19:48:48 +00:00