Commit Graph
84 Commits
Author SHA1 Message Date
mmdolze 90107086ea Remove native win32 support. We have no report that LCDproc can be natively
compiled and used with recent Windows systems (Windows Vista/7). Except for
serial drivers (and those using USB->serial adapters) drivers are not expected
to work with those systems.
2010-04-10 18:07:18 +00:00
mmdolze 66023939a1 Cleanup and documentation updates:
- Remove shared/str.h where not used.
- Remove shared/debug.h from all files as it has been completely replaced
  by shared/report.h (it will be removed later).
- Add more doxygen comments to shared/* and clients/lcdproc/*.
- Include static functions in doxygen output.
2010-02-02 23:20:29 +00:00
mmdolze 287b933e79 Introduce a ring buffer implementation for server's network input. As a
result, clients are not disconnected due to sending large messages.
2010-01-19 22:49:51 +00:00
mmdolze 73b7ec00ff Introduce shared/defines.h to collect commonly used macros. For now
it defines min() / max() macros.
2009-11-22 15:15:53 +00:00
mmdolze 00f4426751 Explicitly add getopt files as EXTRA_DIST because the autotools magic does
not pull in the getopt.h.
2009-07-07 21:38:51 +00:00
mmdolze 8e291370c3 Include strings.h which is needed for strcasemp. Some systems declare them
in string.h, but it should be possible to include both.
2009-05-30 11:20:16 +00:00
marschap ca9964e03a rename structures key & section to ConfigKey & ConfigSection to avoid
generation wrong links in Doxygen
2008-12-21 17:40:42 +00:00
marschap db5e45b534 add two new functions: LL_GoTo(), LL_ForALL() 2008-11-30 22:01:19 +00:00
marschap 34cdf356e5 remove unused functions 2008-11-30 21:35:53 +00:00
marschap dcc643ec18 extend deletion functions in LL.c, use them to make "bye" client command work 2008-11-30 15:30:28 +00:00
marschap f50630c566 better Doxygen comments, a bit of cleanup 2008-11-30 14:01:28 +00:00
marschap b3a7841e2e fix typo in Doxygen comment 2008-11-29 16:13:11 +00:00
marschap a3db7b4cb2 cleanup debug comments, add more Doxygen comments 2008-11-28 18:02:32 +00:00
marschap 925be143ac add Doxygen documentation (partially) 2008-11-28 10:48:39 +00:00
marschap 071faaedee add braces to silence a warning 2007-10-04 13:52:50 +00:00
marschap 77209a6f3f harmonize report & debug() messages: no '\n' or '.' at end 2007-06-17 10:39:49 +00:00
marschap 1899ff755c make including config.h always depend on HAVE_CONFIG_H; replace printf() by debug() 2007-06-17 10:20:55 +00:00
marschap 3e84564e6a new function: config_get_tristate() 2007-05-12 16:08:40 +00:00
marschap ced4dddf07 update private snprintf to a GPL'ed version 2007-04-27 16:50:45 +00:00
marschap 86c4149642 a little bit of Doxygen here and there 2007-04-14 08:23:48 +00:00
marschap a44091f6fe remove compile-time option to get configuration from LDAP 2007-04-14 07:54:27 +00:00
marschap 9cfa7c0a66 hide reading config from a string behind an #ifdef, avoid code for nested functions 2006-12-03 12:04:44 +00:00
marschap 9a5915a214 remove unused files 2006-09-30 20:35:13 +00:00
marschap f10895d04d FSF address change 2006-09-30 18:18:22 +00:00
marschap 40cde70e7f replace config file parser with a more tolerant one that allows spaces around tokens 2006-09-18 10:39:21 +00:00
marschap 086b56a60d doxygen-ize publich functions; make config_read_file() not ignore errors frm underlying parser 2006-09-18 10:37:51 +00:00
marschap 9344df67ef declare functions that are used only locally static 2006-09-18 09:48:39 +00:00
marschap 93404d5541 break long lines 2006-09-17 09:51:19 +00:00
marschap cc2c84a7b8 declare constant function parameters const (as well as constant function return values) 2006-09-12 16:23:24 +00:00
marschap aa7a671a25 allow on/off in boolean config fileds 2006-09-10 11:34:18 +00:00
marschap 4e3c2eef1d get rid of shared/fileio.*: it malloced/freed every byte read 2006-09-10 11:25:55 +00:00
marschap 5fc4dfc562 fix sock_connect() to return -1 on all errors (Frederick Nacino) 2006-05-07 10:08:31 +00:00
marschap d4a3e7444d cleanup: remove unnecessary (=invisible) leading spaces 2006-04-27 15:10:59 +00:00
marschap 1aff9c4226 more/better error checks, harmonized coding style 2006-04-26 18:02:25 +00:00
marschap 61c80a199b distinguish between NUL chars and 0 integers 2006-04-24 17:37:53 +00:00
marschap 08574b8baa silence 2 more warningsi; fix a potential NULL assignment on the way 2006-04-14 09:59:54 +00:00
marschap 09cb8d86b5 remove debugging cruft 2006-04-13 07:21:00 +00:00
marschap d2bafd9cdc make sure error messages to the client are always '\0'-terminated 2006-04-12 16:49:15 +00:00
marschap e0bc105759 add GNU getopti & check for it; prepare for use with getopt_long() 2006-01-16 19:53:28 +00:00
marschap aeffd250a1 require automake 1.7 in condifure.in; update all Makefile.am: add comments,
replace obsoleted INCLUDES by AM_CPPFLAGS
2006-01-16 19:36:58 +00:00
boercher 7674db0eb5 avoid Doxygen warnings 2005-10-25 22:38:19 +00:00
boercher bba4631370 eliminated compiler warnings 2005-10-25 22:34:07 +00:00
boercher 78a4e731db fixed memory-lead (sizeof(LCDd.conf)) 2005-08-19 23:14:57 +00:00
boercher 8c3f36f890 fixed valgrind-warnings:
- added missing initialization of buffile->buf
- corrected malloc-call
2005-08-19 23:13:05 +00:00
boercher 93f162ff48 - new socket function sock_send_error() and
sock_printf_error(): factored out the 'huh?-stuff, added error report
 log)
- use sock_printf() and sock_printf_error() if necessary (no need to
  use sprintf())
2005-07-17 16:14:07 +00:00
marschap 3771a8273e added .cvsignore files, thanks to Volker Boerchers for his contribution 2005-05-22 07:16:48 +00:00
marschap 9ead481dbb remove duplicate code: make sock_send_string() depend on sock_send();
use defined constants and character constants instead of simple ascii values;
new function sock_printf(): format data using vsnprintf and send it
2005-05-21 14:55:46 +00:00
marschap 06f6590c9c eliminate compiler warnings (VB) 2005-04-05 07:28:18 +00:00
marschap b0a9e45704 reorganized report_* variables in main.c and report.c so that they can be static
to their file; also static-alized other variables an functions in main.c
2005-04-01 17:17:05 +00:00
robijn 80aa4d3d1e Fixed tiny bug in sock_recv_string that caused some clients to hang. 2004-02-06 16:33:55 +00:00