Commit Graph
42 Commits
Author SHA1 Message Date
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
toykeeper cac9a56299 updated ToyKeeper's contact info 2011-01-05 23:34:37 +00:00
mmdolze 8644e5a347 Add checks for null pointer / failed malloc to menu code 2009-06-06 14:48:48 +00:00
marschap 1a5b38f028 Doxygen-ize file headers 2008-11-30 22:31:20 +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 2dda4f1cac little fixes to make doxygen happier 2007-10-13 15:33:59 +00:00
marschap 58f2761986 server core: display values in menu for all input MenuEntry types 2007-10-11 18:21:05 +00:00
marschap ae08dd6446 and again a few more clean-ups 2007-10-11 17:06:05 +00:00
marschap b3c5f1803e a few more clean-ups 2007-10-11 15:34:31 +00:00
marschap d079440691 misc clean-ups 2007-10-11 15:22:17 +00:00
marschap 8dae1de0cb little indentation fixes 2007-10-11 08:58:42 +00:00
marschap 16f1ef6e84 replace "extended" by "keymask" for finer grained checks 2007-10-05 08:21:10 +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 0e6b1253a9 a few changes to better support gcc 2.95 (paul_c) 2007-05-28 17:55:59 +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 6343757209 fix for clients that set a custom_main_menu (A. Foss) 2006-05-05 16:45:22 +00:00
marschap d4a3e7444d cleanup: remove unnecessary (=invisible) leading spaces 2006-04-27 15:10:59 +00:00
marschap df38a63770 silence compiler warnings 2006-04-13 21:22:33 +00:00
boercher 6a212dd77c new option -prev, corrections for option -next 2005-07-17 16:13:24 +00:00
marschap 9f66b41c08 make menu pointer wrap on UP/DOWN movements to support 3-key configs 2005-06-12 08:08:21 +00:00
boercher 3a6244a9d0 bugfix: ignore hidden menus also when a menuitem is
selected from a menu via key Enter
2005-06-01 22:45:43 +00:00
marschap 84c810f0ec - Implementation of 'hidden' menus
- addition of the new MenuItem property 'client' obsoletes
  'association' for this task, so it's only used for driver
  (look for menu_set_association() in menuscreens.c) (V.Boerchers)
2005-05-20 09:44:12 +00:00
marschap 06f6590c9c eliminate compiler warnings (VB) 2005-04-05 07:28:18 +00:00
marschap 7f8d84f026 added IP address input method to menus by Jeff Costlow, f5
(IPv6 support is not in good shape yet)
a few more bug fixes, more error checks
extended input methods using more key (left, righ) if they are available
2005-03-13 21:23:56 +00:00
marschap 0de01ac0f7 make debug() the first action in each function
don't fail on NULL pointer arguments in debug()
2005-03-13 16:32:16 +00:00
marschap fcfd6b6b93 generously add tests for NULL in various menu related functions 2005-02-28 20:21:40 +00:00
blt 87cd14fe2d Fix warning under gcc 3.2 in mingw 2003-07-20 01:20:00 +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 c8fc08f6e3 Reporting cleaned up and levels made more consistent. 2002-07-14 20:30:33 +00:00
robijn 1156c51062 Menu stuff update. Fixed some of the probably many bugs and made things a
bit more consistent.
2002-07-09 22:56:05 +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
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
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
ddouthitt eb6e99e7e8 Server no longer uses a fixed lcd structure, but now a pointer to
a lcd_logical_driver structure (lcd_ptr).  Fixed bug in lcd.c
which caused lcd_drv_getkey_loop to act badly.
2001-09-27 16:12:55 +00:00
ddouthitt 6a0e23dc3e Massive changes (first commit), including but not limited to:
* Ability to specify port and address to bind to
* By default, binds only to 127.0.0.1 port 13666
* Client commands now return usage when no options given
* New driver command: getinfo
* Added comments all over the place
* Used #defines to further document code
* Used #defines to set up compile-time defaults, etc.
* Cleaned up client command argument analysis in client_functions.c
* Beginning support of syslog
* Some bug fixes
2001-09-21 21:08:10 +00:00
ppokorny 3fff6381b0 Fixed problems on systems using newer GLIB and GCC (2.96) which no
longer allow the -Wp,-lang-c-c++-comments directive.  Also cleaned
up getloadavg support that had problems on Solaris and RedHat 7.1.
Removed unused variables in a number of functions as a result of
warnings when compiled with --enable-debug config option.
2001-05-15 01:55:59 +00:00
William Ferrell 6a115b4446 More formatting changes, new tags file. 2000-04-03 22:13:57 +00:00
William Ferrell ddfd41f53e More formatting updates. Reduced whitespace, looks even better. 2000-03-30 20:43:33 +00:00
William Ferrell f5a5e9653b Removed lcddriver.c (doesn't do anything, isn't in any makefiles, etc.).
Passed *every* piece of source in this project through indent. I'm setting
things up with ctags soon and am actually going to *gasp* use a nice
programming environment to continue development in. :)
2000-03-30 20:20:41 +00:00
William Ferrell 2635c3085d Initial revision 1999-12-09 23:15:14 +00:00