Commit Graph
65 Commits
Author SHA1 Message Date
marschap d38e449413 apply patch by Markus Dolze which unbreaks building of the lcdproc client
on recent NetBSD 3.0 and also corrects calculation of the available swap
space
2006-01-07 12:03:12 +00:00
boercher bba4631370 eliminated compiler warnings 2005-10-25 22:34:07 +00:00
marschap 7d2612bde8 fix potential division by zero issues 2005-07-03 16:14:45 +00:00
marschap bc60961c5c generate colons between hours, minutes and seconds in big clock display 2005-06-05 14:51:07 +00:00
marschap 28e1b7f42e correct number of arguments in battery_screen 2005-05-26 20:02:32 +00:00
marschap 0fb7404fbb use variable gauge_hgt for gauge heights, no purely numeric widget names 2005-05-22 17:50:17 +00:00
marschap 9e5fa7ae04 extracted utility functions into util.c, use utility functions where possible,
add sample output to each screen function
2005-05-22 15:28:04 +00:00
marschap 82f8f7b19d overhauled CPU displays to use whole LCD 2005-05-22 09:04:00 +00:00
marschap 3771a8273e added .cvsignore files, thanks to Volker Boerchers for his contribution 2005-05-22 07:16:48 +00:00
marschap 00c0ca9b9b generate output fitting exactly on the LCD 2005-05-21 18:39:00 +00:00
marschap cff06d9b92 smaller changes 2005-05-21 18:38:10 +00:00
marschap bee8839ac4 correct gauge sizes in case of height >= 4 2005-05-19 19:09:04 +00:00
marschap 7222b6d7f3 prettified lcdproc screens in mem.c: made them use the LCD screen estate
available and corrected a bug which gave wrong results for widths != 20
2005-05-17 18:50:41 +00:00
marschap c6b010848f better use LCD screen estate if (width != 20) 2005-05-16 18:41:57 +00:00
marschap 8a5458fda6 make chrono.c more dependent on real LCD sizes instead of beleiving in 20x4 & 16x2 2005-05-16 10:01:57 +00:00
marschap 2a65ccaa6c fixed previous commit 2005-04-07 07:11:48 +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 bd8310d8b2 bugfix: make essential_clock_screen() available in
clients/lcdproc/mode.c (VB)
2005-04-05 07:25:52 +00:00
marschap 20299a4077 for Linux add tmpfs to the list of filesystems not to be examined 2005-02-26 10:08:50 +00:00
marschap a0e8aaf7f0 applied Markus Dolze's patches two "invalid widget id" errors in the lcdproc clien 2005-02-25 15:03:00 +00:00
marschap d6b325180d add [E]ssential_clock to lcdproc client 2005-01-15 14:39:49 +00:00
marschap df637e1349 more checks when centering a line 2004-12-30 17:19:17 +00:00
marschap 6e8850087c correct idle percentage for Linux 2004-12-30 17:16:21 +00:00
marschap 7355c40b60 sync texts between 2 and 4 line displays 2004-12-30 17:14:37 +00:00
marschap d6c0420031 added patch by M.Dolze to make sure client knows screen sizes before generating screens 2004-12-19 16:23:53 +00:00
marschap 28101f649a added patches by M.Dolze:
- patch_server_widget_command
- patch_client_load
- patch_client_mem (using speed 12 instead of 8)
- patch_client_mode
2004-12-19 15:19:07 +00:00
reenoo a2c8f7ce2a added machine.h to lcdproc_SOURCES 2004-01-28 23:50:25 +00:00
reenoo e4e948523f LDAP support added
- This patch enables LCDd to retrieve its configuration
  options from an LDAP directory.
- The code was tested with OpenLDAP 2.1.x (21<=x<=22) only.
- LDAP support is disabled by default and has to be enabled
  with ./configure --enable-ldap.
  (See ./configure --help for other options. Not all options
  have any effect yet.)
- Currently only anonymous LDAP binds are supported.
- The DN of the main configuration object has to be passed to LCDd
  instead of the configuration file location:
  LCDd -c "ldap://yourhost.yourcompany.com/cn=config1,cn=lcdproc,dc=yourcompany dc=COM"
  The basic idea behind the LCDproc object classes is that they
  are more or less verbatim copies of the corresponding sections in a
  generic LCDd.conf
- Unfortunately schema files cannot be provided yet, because LCDproc does
  not have a registered OID namespace and OID hijacking is prohibited.
2003-12-25 15:02:34 +00:00
gfk 8c5e8edfcf Slap on the forehead. I had commited some object files. 2003-12-24 19:57:54 +00:00
gfk 1372677298 New lcdproc client by Thomas Runge. Works on Solaris, Linux, NetBSD, OpenBSD and FreeBSD. 2003-12-24 19:47:55 +00:00
gfk c828ddc45b NetBSD port by Thomas Runge. 2003-08-12 02:35:01 +00:00
gfk 94efcc17a0 Patch by Marc-Oliver Straub for the big clock screen. 2002-10-19 03:04:26 +00:00
reenoo f218fdbe1f 0.4.3 -> 0.5 merging 2002-05-28 17:19:27 +00:00
gfk c28d25b795 Partial implementation of Thomas Runge's BSD port. 2001-12-28 21:52:39 +00:00
gfk 13d82693ac Partially implemented Thomas Runge's BSD port. 2001-12-23 21:52:45 +00:00
dglaude 4e434eab7d Make bigcKlock use digit only 2001-11-23 16:13:17 +00:00
robijn a2ffbde152 Adapted load.c to work with longer (>4 line) displays. 2001-11-15 00:00:36 +00:00
gfk 216d45f477 Fix for 'the dumbest fix of the month'. In fact, just a simplification of an earlier fix. 2001-11-02 18:56:51 +00:00
gfk 7a4f465560 Better portability patch for systems that don't define SYS_NMLN. 2001-10-26 22:52:10 +00:00
gfk 134b33ace6 Crash landing of the fix for bug #472883: BSD curses.h allready declares LL. 2001-10-26 16:29:12 +00:00
gfk 48ca48182f Oops, the last fix (SYS_NMLN) make a segfault! Backing up. Will find another solution for the SYS_NMLN problem. 2001-10-24 20:39:37 +00:00
gfk 7c69f63be9 Small portability fix for systems that don't define SYS_NMLN 2001-10-22 19:39:36 +00:00
gfk 2ac2b16c49 Error reporting patch by Jarda Benkovsky 2001-10-19 21:31:37 +00:00
ddouthitt 7c160d5f57 Updated lcdproc:
* Fixed visual bug that appeared in systems without swap: percentage
  was reported as "nan" (Not-A-Number): now reports "n/a"...
2001-09-28 13:38:21 +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
cjdebenh cc73d8e28a Swaped order of HAVE_PROCFS_H and HAVE_SYS_PROCFS_H top allow the structured version to override the sys version 2001-05-30 00:33:19 +00:00
ppokorny 00cc9fca23 + Changed protocol to 0.3 because we now accept both -foo and foo
as argument introducers.  in 0.4-pre10, these were changed
   from foo to -foo and this broke many clients.  This change
   should fix that and be backward/forward compatible.
 + Added a noop function to the protocol.  This is useful for writing
   shell script clients of LCDproc.
 + Changed the shared sock_send_string function to NOT send the
   ending NUL ('\0') byte with the string.  This was confusing
   in Perl clients which saw NUL's as the first character of
   each reply.  WARNING: The LCDPROC client depended on this
   behavior, your client may too.  Use the newline instead.
   See the code in clients/lcdproc/main.c (look for "switch(buf[i])")
   to see one way to handle this.  This should allow new clients
   to connect to old servers and vice-versa.
 + Messed with include structure in .c files.  It should no longer
   be necessary to specify ../.. to get to shared code headers.
   Also, since we are using automake, the global config.h can be
   found with just #include "config.h" as it's location is included
   in a -I to the compilers.  As a result "make distcheck" now works.
2001-05-25 03:14:27 +00:00
cjdebenh 376803348a Moved the #if defined section for IRIX/SOLARIS to after config.h is included 2001-05-15 03:48:39 +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
ppokorny 877d8ac8e8 Added GLK12232-25SM support with glk driver.
Fixed lots of small problems in various places.
Added new protocol commands screen_add/del_key so screens
   can request keystrokes when they are being displayed.
Lots of work on CPU GRAPH and BIG NUMBER CLOCK screens.
Fixed 'output' function in MtxOrb.c
2001-04-27 02:20:38 +00:00