Commit Graph
98 Commits
Author SHA1 Message Date
mmdolze d3d80c1b71 Update dates in preparation of release 0.5.6. 2012-08-19 12:52:33 +00:00
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 f021cc8327 Add an option to start LCDd with screen rotation disabled. 2011-01-19 19:08:37 +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 8fd068b5ff Welcome 2010. 2010-01-04 07:38:19 +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 0f9206d36c Test the availability of SA_RESTART and use it conditionally. 2009-11-01 08:38:58 +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
mmdolze b1ce0c1729 Update copyright dates 2009-05-19 06:51:32 +00:00
mmdolze 71c2f5cf18 Prevent server from stalling if time goes backwards (M. Vallevand) 2009-02-24 21:09:52 +00:00
marschap 1a5b38f028 Doxygen-ize file headers 2008-11-30 22:31:20 +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 3abb526cba use symbolic constants for server screen rotation, little optimizations 2007-05-12 18:18:34 +00:00
marschap b801ff6f5a cleanup in main.c:
- use config_get_tristate()
- a few more error checks
- use symbolic constants EXIT_SUCCESS, EXIT_FAILURE
2007-05-12 16:14:30 +00:00
marschap 117c5d0ed6 new config options TitleSpeed= and Heartbeat= 2007-04-30 13:06:06 +00:00
marschap 0d6697503f clean up render.c a little 2007-04-28 21:16:39 +00:00
marschap 6e5182da61 remove unused code 2007-04-26 12:23:07 +00:00
marschap 6a1511bb72 * coding style harmonization in servers/
- explicitely declare void arguments
  - make a few string args const
* better support for shorter displays in server screen
* make target to create top level tag file
2007-04-02 21:29:53 +00:00
marschap 04ab5a6493 Ignore SIGPIPE on the server (Peter McCurdy) 2007-03-03 20:31:40 +00:00
marschap 3a57ecfda0 harmonize help messages 2006-09-30 20:32:14 +00:00
marschap 8daa46024f less fprintf() calls; punctuation 2006-09-30 18:40:03 +00:00
marschap f10895d04d FSF address change 2006-09-30 18:18:22 +00:00
marschap f5b90b0d3a protect against t_diff overflows e.g. after suspends (Steve Hill) 2006-09-20 08:59:34 +00:00
marschap 29b70ee8d6 rely on #include "getopt" to provide getopt's global variables 2006-09-20 08:14:57 +00:00
marschap 33d5132fd8 fix -f in help screen 2006-09-19 08:51:35 +00:00
marschap e6b745d9d4 show correct default for sreen duration; replace a magic number by the corresponding constant 2006-09-19 08:50:17 +00:00
marschap 77dd01d3ed make option -f not take arguments in the server 2006-09-19 08:26:22 +00:00
marschap 2b946e9082 keep checks in intepret_boolean() consistent with those in config_get_boolean() 2006-09-18 14:42:44 +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 d4a3e7444d cleanup: remove unnecessary (=invisible) leading spaces 2006-04-27 15:10:59 +00:00
marschap ff0cb79b17 let lcdproc & lcdexec have their own private config file;
install server & client config files to $(sysconfdir) (using automake features)
2006-04-15 19:48:11 +00:00
marschap 4261f03cfc fix previous commit 2006-04-14 12:05:27 +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 12c3163092 update copyright, cleanup usage message 2006-04-05 17:37:07 +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 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
marschap b9d7338a40 remove wrong declarations of report_level and report_to_syslog 2005-04-01 14:35:26 +00:00
reenoo fa46a3e1ff exit when unable to read config file 2003-12-25 14:03:40 +00:00
gfk c828ddc45b NetBSD port by Thomas Runge. 2003-08-12 02:35:01 +00:00
blt b03a3522d9 Add support for Win32 and Winsock to main.c and sock.c code 2003-08-10 02:29:32 +00:00
robijn 75cd8a1112 - Modified forking. Child will now signal parent when it has started up OK. Only after that (or error) parent dies.
- Modified startup order of LCDd parts.
- Moved code for starting up the socket from main.c to sock.c
- Variable daemon_mode renamed to foreground_mode, consistent with command line.
- Variable lcd_port renamed to bind_port.
- Modified the constant stay_in_foreground for drivers hd44780 and sed1330. They don't need to stay in foreground anymore.
2003-07-30 19:57:13 +00:00
reenoo fa1adf7317 Fixed rotate_server_screen.
The ServerScreen option in LCDd.conf and the -i command line parameter were parsed in server/main.c, but the value of rotate_server_screen was not respected in server/serverscreens.[c,h].
2003-06-01 09:51:38 +00:00
robijn 71922063b8 Change to priority classes. Will probably require some fixings.
- Now using priority classes internally and in protocol
- Converting (depreciated) priorty numbers to the classes BACKGROUND,
  INFO and FOREGROUND
- Added menu_goto command (only works when menu not active)
2003-02-27 21:20:20 +00:00
robijn 4a7ef8d847 - Fixed option processing of bool options in config file.
- Tried to make option order more consistent
2003-02-27 20:31:51 +00:00
robijn fe4ad1b40e More cleaning up main.c
Fixed bug with last modification.
2003-02-19 15:24:37 +00:00
robijn 7a48a29357 Modifications to main.c:
- Now using CHAIN in stead of ESSENTIAL #define
- Changed naming of report* local variables
- Modified -s -f and -i options to accept boolean to be able to disable them too.
2003-02-16 15:29:38 +00:00
gfk 99d7717e1c Changed getopt's signed char to an int 2002-11-14 03:23:53 +00:00
robijn dc619e596f - Moved some code from main.c to screenlist.c
- Implemented reloading by sending SIGHUP.
- Now doing 'real 8Hz' rendering and 32Hz input processing.
- Removed noscreen feature (that we rejected).
2002-08-04 20:58:51 +00:00