mmdolze
a151ee0fc4
Mega change to the LCDd's header files:
...
1. Use <stdbool.h> if it is available but keep a compatibility shim in
shared/defines.h in case it is not.
2. Unbreak the circular header dependencies (mostly):
2a. client.c and client.h may NOT depend on 'struct Menu'. Use a void pointer
and casts instead.
2b. Separate the data type definitions in client.h and screen.h from
function prototypes which may require other data structures. This makes
header dependencies much more easy to maintain. Usually the data types
should have been moved to their own files but I (mmdolze) chose to
separate them using different header guards.
2c. Remove many now unused header includes.
Apply (old BSD-) style on menuscreens.c.
2012-02-22 22:25:32 +00:00
mmdolze
66cfe148f7
Remove long time obsoleted debug.h.
2011-11-16 21:07:25 +00:00
mmdolze
c9c3272eba
Header fixes:
...
* Do not include system headers in shared files (stdlib.h).
* Don't include lcd.h only once in each driver.
* Remove some unnecessary headers from driver (e.g. syslog.h)
* Include <poll.h> instead of <sys/poll.h>
* Spelling fixes.
2011-03-28 18:17:58 +00:00
mmdolze
be5c6d014b
Correct spelling for messages and comments. Replace occurances of <space(s)>
...
followed by <tab> with a single <tab>.
2011-03-24 04:20:36 +00:00
mmdolze
7a7d6e9f73
Pass through indent and add more doxygen comments.
2011-02-27 11:31:42 +00:00
toykeeper
cac9a56299
updated ToyKeeper's contact info
2011-01-05 23:34:37 +00:00
mmdolze
fd9b2ce713
Big cleanup: Remove trailing whitespace from files (except those imported
...
from external sources).
2010-10-30 18:04:21 +00:00
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