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
robijn
c8fc08f6e3
Reporting cleaned up and levels made more consistent.
2002-07-14 20:30:33 +00:00
robijn
91ffd9d109
Moved configfile.c and .h to shared/
...
Made reporting more general by making syslog appname settable.
2002-06-29 16:37:18 +00:00
robijn
8ff8857eda
Added support for client supplied menus.
...
Also modified existing menustuff slightly (on some points I made some
things more consistent).
2002-06-28 23:35:55 +00:00
robijn
3168d4cafc
Menustuff added/modified!
2002-05-26 19:21:23 +00:00
reenoo
23dd4f2898
GPL...
2002-05-09 20:27:01 +00:00
robijn
726f2f995e
Big changes in code of clients, screens and widgets.
...
- Moved and altered code to create, destroy and manipulate clients, screens
and widgets in an OO-like manner.
- Moved command execution code to a commands directory, splitting commands to
what subject they are concerned.
- Menus are temporary disabled while working on new menu structure.
2002-04-26 00:00:31 +00:00
gfk
924b2e51dd
Implemented the no ServerScreen feature. Also corrected a bug which prevented to run without any screen.
2002-03-15 20:24:39 +00:00
robijn
dba163c4a4
Drivers are now being loaded as modules.
2002-02-21 22:50:12 +00:00
William Ferrell
4c7b10c28d
Cosmetic change to server identification string
2001-12-31 22:16:59 +00:00
robijn
71056ec551
v0.5 kick-off
2001-12-30 00:15:25 +00:00
robijn
b228b720d9
Added uniform copyright notice to all files of the server core.
2001-12-27 23:30:36 +00:00
reenoo
242bce0a88
fixed default configfile location
2001-12-27 10:58:29 +00:00
dglaude
4991788dc2
debug_level... yes but how do we become compatible ;=)
2001-11-30 17:14:11 +00:00