Commit Graph
38 Commits
Author SHA1 Message Date
mmdolze cf96068bef Add a missing reference to the main menu. This fixes building with
--enable-permissive-menu-goto (#3599609).
2013-01-17 21:27:27 +00:00
mmdolze bfd35b4dfc Extend enumerations with the values used for error handling to silence more
clang warnings.
2012-04-25 19:53:15 +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
toykeeper cac9a56299 updated ToyKeeper's contact info 2011-01-05 23:34:37 +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 8644e5a347 Add checks for null pointer / failed malloc to menu code 2009-06-06 14:48:48 +00:00
mmdolze 81ec22b04f Fix missing NULL malloc check (found by Andre de Bruet) 2009-05-24 22:29:33 +00:00
mmdolze 640fcc1f1f Silence some lint(1) warnings 2009-05-14 05:59:36 +00:00
marschap 1a5b38f028 Doxygen-ize file headers 2008-11-30 22:31:20 +00:00
marschap 5cf6eeee00 fix criteria, which keys are not defined, for selection of special behaviour 2007-10-28 09:59:55 +00:00
marschap 16f1ef6e84 replace "extended" by "keymask" for finer grained checks 2007-10-05 08:21:10 +00:00
marschap 254bd128ef preprations for more flexible key handling in menus 2007-10-04 21:00:20 +00:00
marschap 949d74d8e0 fix previous commit 2007-10-04 17:24:29 +00:00
marschap e55dc82402 allow wrapping slider menu items with <= 4 keys (M. Dolze) 2007-10-04 17:15:41 +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 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
marschap 2b07585f0f normalize IP before each call to verify() 2005-12-15 12:47:39 +00:00
marschap e88d8fd019 correct IP address verification; continue correctly even if it fails 2005-12-15 12:04:53 +00:00
boercher 4611730dcf print warning if the verification of an ip address fails 2005-10-14 20:36:10 +00:00
boercher 164f4fbed0 - new option -prev, corrections for option -next
- adherence of LCDPROC_PERMISSIVE_MENU_GOTO corrected
2005-07-17 16:13:46 +00:00
marschap 46183285b3 support long input in numerical, alpha and ip editing functions;
correct IPv4&IPv6 verify functions
2005-06-27 09:11:10 +00:00
marschap 570507632e support 3-key configurations with IP input too: wrap around limits 2005-06-07 18:18:30 +00:00
marschap deea25e6ea fix max. width of sliders in 4-line mode 2005-06-04 14:54:31 +00:00
marschap 3846b411d9 better support for IPv6 inpu: not perfect, but on its way;
support IP input in 4 key mode
2005-06-04 14:31:54 +00:00
boercher 902088872f new MenuItem attribute char* successor_id 2005-06-01 22:45:24 +00:00
marschap 2ae8430f6e MenuItem has a new property 'client': every menue knows
which client it belongs to (V.Boerchers)
2005-05-20 09:44:22 +00:00
marschap 941fb5598a added M.Dolze's patch_client_machine_FreeBSD patch (with slight variations) 2005-04-06 11:04:43 +00:00
marschap 28f812bef8 - implemented menuevents enter+leave
- new method menuitem_get_client()
- more maintainable way to specify count of enums
- corrected some typos (VB)
2005-04-05 07:28:35 +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 846b6fb740 more error checks in menuitem.c
option value in ALPHA mode is treated special in menu_commands.c
2005-03-13 13:17:32 +00:00
marschap e29154a03b use the correct union elements 2005-03-12 22:31:20 +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 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