aboutsummaryrefslogtreecommitdiffstats
path: root/cfg.c (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2009-01-18'emty format string' compiler warning solvedmichael1-1/+1
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@974 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2009-01-16dump config file if verbose_level > 1michael1-0/+24
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@970 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2009-01-15new function cfg_rename()michael1-1/+56
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@967 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2008-12-31handle config files with <CR><LF> (DOS line ending) ported from volker_dev ↵michael1-2/+6
(r826) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@920 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2007-09-09email address changedmichael1-1/+1
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@840 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2007-01-20minor fixes to evaluatormichael1-2/+2
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@750 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2007-01-20dynamic properties for bars; new 'property_valid()' helpermichael1-0/+1
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@749 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2007-01-14removed all tagsmichael1-215/+0
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@727 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2007-01-14svn properties fixedmichael1-1/+3
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@726 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-02-07[lcd4linux @ 2006-02-07 05:36:13 by reinelt]reinelt1-10/+16
Layers added to Layout git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@634 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-01-30[lcd4linux @ 2006-01-30 12:53:07 by reinelt]reinelt1-5/+19
replaced strncpy with strcpy where possible git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@631 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2005-05-08[lcd4linux @ 2005-05-08 04:32:43 by reinelt]reinelt1-433/+459
CodingStyle added and applied git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@547 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2005-05-02[lcd4linux @ 2005-05-02 05:15:46 by reinelt]reinelt1-3/+6
make busy-flag checking configurable for LCD-Linux driver git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@535 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2005-01-18[lcd4linux @ 2005-01-18 06:30:21 by reinelt]reinelt1-3/+6
added (C) to all copyright statements git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@509 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2005-01-17[lcd4linux @ 2005-01-17 06:29:24 by reinelt]reinelt1-2/+4
added software-controlled backlight support to HD44780 git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@507 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-11-29[lcd4linux @ 2004-11-29 04:42:06 by reinelt]reinelt1-2/+5
removed the 99999 msec limit on widget update time (thanks to Petri Damsten) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@496 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-06-26[lcd4linux @ 2004-06-26 12:04:59 by reinelt]reinelt1-2/+6
uh-oh... the last CVS log message messed up things a lot... git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@481 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-06-26[lcd4linux @ 2004-06-26 09:27:20 by reinelt]reinelt1-44/+50
added '-W' to CFLAGS changed all C++ comments to C ones ('//' => '/* */') cleaned up a lot of signed/unsigned mistakes git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@480 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-06-20[lcd4linux @ 2004-06-20 10:09:52 by reinelt]reinelt1-27/+21
'const'ified the whole source git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@476 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-03-11[lcd4linux @ 2004-03-11 06:39:58 by reinelt]reinelt1-4/+17
big patch from Martin: - reuse filehandles - memory leaks fixed - earlier busy-flag checking with HD44780 - reuse memory for strings in RESULT and hash - netdev_fast to wavid time-consuming regex git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@393 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-03-08[lcd4linux @ 2004-03-08 16:26:26 by reinelt]reinelt1-7/+31
re-introduced \nnn (octal) characters in strings text widgets can have a 'update' speed of 0 which means 'never' (may be used for static content) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@389 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-03-06[lcd4linux @ 2004-03-06 20:31:16 by reinelt]reinelt1-5/+16
Complete rewrite of the evaluator to get rid of the code from mark Morley (because of license issues). The new Evaluator does a pre-compile of expressions, and stores them in trees. Therefore it should be reasonable faster... git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@387 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-03-03[lcd4linux @ 2004-03-03 03:47:04 by reinelt]reinelt1-5/+17
big patch from Martin Hejl: - use qprintf() where appropriate - save CPU cycles on gettimeofday() - add quit() functions to free allocated memory - fixed lots of memory leaks git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@384 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-03-01[lcd4linux @ 2004-03-01 04:29:51 by reinelt]reinelt1-2/+8
cfg_number() returns -1 on error, 0 if value not found (but default val used), and 1 if value was used from the configuration. HD44780 driver adopted to new cfg_number() Crystalfontz 631 driver nearly finished git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@382 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-02-18[lcd4linux @ 2004-02-18 06:39:20 by reinelt]reinelt1-2/+5
T6963 driver for graphic displays finished git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@371 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-02-01[lcd4linux @ 2004-02-01 18:08:50 by reinelt]reinelt1-2/+6
removed strtok() from layout processing (took me hours to find this bug) further strtok() removind should be done! git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@351 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-30[lcd4linux @ 2004-01-30 20:57:55 by reinelt]reinelt1-2/+34
HD44780 patch from Martin Hejl dmalloc integrated git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@348 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-29[lcd4linux @ 2004-01-29 04:40:02 by reinelt]reinelt1-1/+6
every .c file includes "config.h" now git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@344 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-22[lcd4linux @ 2004-01-22 07:57:45 by reinelt]reinelt1-2/+6
several bugs fixed where segfaulting on layout>display Crystalfontz driver optimized, 632 display already works git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@334 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-18[lcd4linux @ 2004-01-18 06:54:08 by reinelt]reinelt1-4/+18
bug in expr.c fixed (thanks to Xavier) some progress with /proc/stat parsing git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@318 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-16[lcd4linux @ 2004-01-16 05:04:53 by reinelt]reinelt1-3/+9
started plugin proc_stat which should parse /proc/stat which again is a paint in the a** thinking over implementation methods of delta functions (CPU load, ...) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@314 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-14[lcd4linux @ 2004-01-14 11:33:00 by reinelt]reinelt1-20/+55
new plugin 'uname' which does what it's called text widget nearly finished first results displayed on MatrixOrbital git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@310 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-11[lcd4linux @ 2004-01-11 18:26:02 by reinelt]reinelt1-46/+9
further widget and layout processing git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@306 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-11[lcd4linux @ 2004-01-11 09:26:15 by reinelt]reinelt1-4/+19
layout starts to exist... git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@305 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-10[lcd4linux @ 2004-01-10 20:22:33 by reinelt]reinelt1-2/+33
added new function 'cfg_list()' (not finished yet) added layout.c (will replace processor.c someday) added widget_text.c (will be the first and most important widget) modified lcd4linux.c so that old-style configs should work, too git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@304 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-09[lcd4linux @ 2004-01-09 04:16:06 by reinelt]reinelt1-56/+114
added 'section' argument to cfg_get(), but NULLed it on all calls by now. git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@298 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-08[lcd4linux @ 2004-01-08 06:00:28 by reinelt]reinelt1-8/+14
allowed '.' in key names allowed empty group keys (not only "group anything {", but "anything {") git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@297 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-08[lcd4linux @ 2004-01-08 05:28:12 by reinelt]reinelt1-39/+191
Luk Claes added to AUTHORS cfg: group handling ('{}') added git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@296 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-07[lcd4linux @ 2004-01-07 10:15:41 by reinelt]reinelt1-19/+48
small glitch in evaluator fixed made config table sorted and access with bsearch(), which should be much faster git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@295 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2003-12-19[lcd4linux @ 2003-12-19 05:35:13 by reinelt]reinelt1-5/+8
renamed 'client' to 'plugin' git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@279 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2003-10-11[lcd4linux @ 2003-10-11 06:01:52 by reinelt]reinelt1-2/+20
renamed expression.{c,h} to client.{c,h} added config file client new functions 'AddNumericVariable()' and 'AddStringVariable()' new parameter '-i' for interactive mode git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@264 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2003-10-05[lcd4linux @ 2003-10-05 17:58:50 by reinelt]reinelt1-4/+9
libtool junk; copyright messages cleaned up git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@253 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2003-09-09[lcd4linux @ 2003-09-09 06:54:43 by reinelt]reinelt1-6/+50
new function 'cfg_number()' git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@233 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2003-08-24[lcd4linux @ 2003-08-24 05:17:58 by reinelt]reinelt1-26/+26
liblcd4linux patch from Patrick Schemitz git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@228 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2003-08-14[lcd4linux @ 2003-08-14 03:47:40 by reinelt]reinelt1-3/+6
remove PID file if driver initialisation fails git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@213 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2003-02-22[lcd4linux @ 2003-02-22 07:53:09 by reinelt]reinelt1-5/+8
cfg_get(key,defval) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@183 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2001-03-09[lcd4linux @ 2001-03-09 12:14:24 by reinelt]reinelt1-14/+18
minor cleanups git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@104 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2001-03-08[lcd4linux @ 2001-03-08 15:25:38 by ltoetsch]ltoetsch1-3/+6
improved exec git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@103 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2001-03-07[lcd4linux @ 2001-03-07 18:10:21 by ltoetsch]ltoetsch1-1/+52
added e(x)ec commands git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@100 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2000-08-10[lcd4linux @ 2000-08-10 09:44:09 by reinelt]reinelt1-2/+8
new debugging scheme: error(), info(), debug() uses syslog if in daemon mode git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@64 3ae390bd-cb1e-0410-b409-cd5a39f66f1f