Commit Graph

55 Commits

Author SHA1 Message Date
Angel Carpintero
d8063fb1df - Change default log level to 6 / NTC
- Reviewed log levels to make motion less verbose and move most of them to NTC level.
2010-05-23 00:01:05 +02:00
AngelCarpintero
07f9e36891 fixes in new log system 2010-04-05 03:02:41 +00:00
AngelCarpintero
f7469950d0 Added a macro MOTION_LOG , no need to add __FUNCTION__ anymore. 2010-04-04 21:50:50 +00:00
AngelCarpintero
79cf297cd4 Implemented http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionLog 2010-04-03 19:34:23 +00:00
AngelCarpintero
6d35a01104 Make cosmetic changes in comments, description of functions and fix some code to be compliant with CODE STANDARD 2010-03-29 19:24:57 +00:00
AngelCarpintero
4bca8c16c0 Fix print of size_t using %Zu 2009-12-03 18:47:13 +00:00
AngelCarpintero
62c3e2db4a Added ipv6_enabled and little patch for BSD 2009-07-20 10:53:36 +00:00
AngelCarpintero
0f71dabed4 Added the option logfile to log message to text file. Removed level -1 to log to stderr, don't use always short 2009-03-09 04:36:17 +00:00
AngelCarpintero
a0d2151a3e http://www.lavrsen.dk/twiki/bin/view/Motion/UvcvideoMjpegPatch, Code Standard, extpipe (experimental) 2008-07-28 04:22:45 +00:00
AngelCarpintero
c2044fbe09 Apply new code standard ( chuck 2 ) 2008-07-16 20:34:23 +00:00
AngelCarpintero
406ade0aa8 - Fix round robin in BSD switching to METEOR_CAP_SINGLE
- Some improvements in capture code , added better logging
- Disable IPV6 in BSD  
- Free mutex in web control on error
2008-07-09 11:05:22 +00:00
AngelCarpintero
dc27136cbe Update log adding function name , remove setup_mode as a login level. Added servo_position() and check limits to avoid overflow maxN , minN 2008-07-07 13:53:42 +00:00
AngelCarpintero
716b5f171e Fix a typo , more debug stuff in track , fix not open port resetting fd to -1 2008-07-03 06:39:46 +00:00
AngelCarpintero
48aa7acbee Fix typos , log message , track_move no need to be called from motion when no active ( auto tracking ) , reverse center 2008-07-03 02:09:30 +00:00
AngelCarpintero
29fe6c47f3 Basic Servo API implementation , auto track might be broken yet 2008-07-02 03:58:03 +00:00
AngelCarpintero
2dafe96627 Added a new option name change and replace malloc/strdup by mymalloc and mystrdup 2008-06-15 23:27:49 +00:00
AngelCarpintero
e892397a1d http://www.lavrsen.dk/twiki/bin/view/Motion/SupportQuestion2008x06x11x183727 ( support encode videos 1280x1024) 2008-06-13 08:56:15 +00:00
AngelCarpintero
6190728875 Added write_nonblock and read_noblock functions that use a limit of 1 second writes/reads 2008-06-12 05:52:22 +00:00
AngelCarpintero
fa6e94cba9 Fix a security issue in web control interface and update CHANGELOG & CREDITS from 3.2.10.1 2008-06-10 23:19:31 +00:00
AngelCarpintero
1594641b6e Security fix 2008-06-06 08:07:04 +00:00
AngelCarpintero
be4a74c7a8 Makeking changes according to http://www.lavrsen.dk/twiki/bin/view/Motion/IntuitiveOptionNamesDiscussion ( locate_motion, sql_log_movie , webcontrol_*, despeckle_filter. Add a wrapped #ifdef / #endif for FFMPEG in motion.c 2008-05-21 12:53:43 +00:00
AngelCarpintero
568b7752bb Major clean up code , apply CODE_STANDARD rules, add partially IPV6 http://www.lavrsen.dk/twiki/bin/view/Motion/IPv6 ( webcam and http-control , not netcam yet ) 2008-05-12 02:39:58 +00:00
AngelCarpintero
638114a49f Added a missing space in detection status 2008-05-03 02:22:09 +00:00
AngelCarpintero
bafef960f6 Avoid Conditional jump or move depends on uninitialised value(2) in alg_update_reference_frame (alg.c:1092), make sure that http control exits fine 2008-02-23 14:14:01 +00:00
AngelCarpintero
30f6d51b61 Fix an issue to access to short types , but not a solution to type ranges values yet. 2008-02-18 11:12:07 +00:00
AngelCarpintero
71874f82b5 Better ident, fix missing K&R if/else style and fix some LOG_DEBUG in netcam. 2008-01-27 22:03:20 +00:00
AngelCarpintero
b6c1a012df Fix logging level in track.c , added some more unsigned short int and comment some duplicated includes 2008-01-13 08:43:05 +00:00
AngelCarpintero
3b6d957fc0 Fix Fix http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2007x11x25x102808 2007-12-02 17:38:34 +00:00
AngelCarpintero
3ededa4dbd Added on_camera_lost to motion-dist.conf.in , fix back link for threads in http control 2007-12-02 17:04:28 +00:00
AngelCarpintero
a8abaed550 Complete http://www.lavrsen.dk/twiki/bin/view/Motion/FeatureRequest2007x11x19x181541 with help text 2007-12-02 16:06:49 +00:00
DagErlandsson
b16ddd32ed Added watchdog, camera lost event, Retry connect camera, improved thread handling. See http://www.lavrsen.dk/twiki/bin/view/Motion/WatchdogAndThreadPatch for more details. 2007-12-02 15:25:49 +00:00
AngelCarpintero
6369eed77f Change http control according with http://www.lavrsen.dk/twiki/bin/view/Motion/FeatureRequest2007x11x19x181541, not implemented yet text help but link to Twiki. 2007-12-02 03:55:35 +00:00
AngelCarpintero
e0eaf88040 Increase buffer size in webhttpd to allow a longer host size. Added latest stable version of pwc-ioctl.h. Change int types values for track also changing motion man page. 2007-11-24 10:47:13 +00:00
AngelCarpintero
68258b5319 Update CHANGELOG and CREDITS , minor changes in variable types and webhttpd.c 2007-11-23 16:33:54 +00:00
AngelCarpintero
97c586d097 Replace types short unsigned int by unsigned short int, start changing types in conf.c / conf.h not hurting yet ;-), Fix warning in video2.c , changed buffer size and fix track response values and select box. 2007-11-23 13:30:02 +00:00
AngelCarpintero
c18de26970 Fix motion_log() message on write file, resize static buffers in webhttpd 2007-11-22 15:47:03 +00:00
AngelCarpintero
eb9751868b Fixed a problem with parameters that contains number like v4l2_palette 2007-11-22 10:40:49 +00:00
AngelCarpintero
215cf622e3 Implement missing funcionality in http://www.lavrsen.dk/twiki/bin/view/Motion/FeatureRequest2007x11x19x181541 2007-11-22 10:04:33 +00:00
AngelCarpintero
57e2725249 Fix a warning in FreeBSD refinition of HAVE_STDLIB_H 2007-11-20 11:54:24 +00:00
AngelCarpintero
2ca86d49eb Fix a minor issue in thread4.conf and initialize ret in check_authentication() 2007-11-12 06:18:11 +00:00
AngelCarpintero
c634fb3b1b Added a new flag main_thread to config_param to determine which parameter only belongs to main thread ( i.ex daemon, control_port, etc ... ). Improve http control variables replacing int by short unsinged int, show only available parameters in thread determined by main_thread flag, fix errors in boolean values shown in dropbox and move href back link to top left of pages. 2007-11-12 02:30:22 +00:00
AngelCarpintero
0c239a1edc Added help in http control and fix a warning in ffmpeg.c 2007-11-10 23:30:01 +00:00
AngelCarpintero
30a2fd52ad Avoid segfault in http control thread when motion restart 2007-10-15 00:26:58 +00:00
AngelCarpintero
4b656fdc45 Fix segmentation fault in http control. 2007-09-17 03:27:58 +00:00
AngelCarpintero
a479b061ba Remove (null) string from textbox and added 'selected' on select according current parameter value 2007-09-07 00:58:43 +00:00
AngelCarpintero
cd171a7029 Print value of config parameter in http control 2007-09-06 02:11:30 +00:00
AngelCarpintero
587d1a8e4d Add connection status for all threads and it is queried main thread. 2006-11-15 00:03:23 +00:00
KennethLavrsen
ca0d8b1678 Missing thread parameter in webhttpd code
Ran autoconf making a fresh configure for 3.2.8 version
2006-11-12 16:06:45 +00:00
AngelCarpintero
80a1057f5a Added FeatureRequest2006x11x09x050638 2006-11-11 06:29:38 +00:00
AngelCarpintero
ad14d7616a Fix BugReport2006x07x10x111239, thanks:) 2006-08-08 08:49:04 +00:00