aboutsummaryrefslogtreecommitdiffstats
path: root/evaluator.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2007-01-21new function 'decode()'michael1-1/+1
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@754 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2007-01-20minor fixes to evaluatormichael1-0/+8
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@750 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2007-01-14removed all tagsmichael1-129/+0
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@727 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2007-01-14svn properties fixedmichael1-1/+2
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@726 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-09-29[lcd4linux @ 2006-09-29 04:48:21 by reinelt]reinelt1-4/+7
image widget uses properties now; new property 'reload' git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@722 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-09-14[lcd4linux @ 2006-09-14 04:08:54 by reinelt]reinelt1-32/+22
variables use a static list, no realloc, linear search git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@714 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-02-25[lcd4linux @ 2006-02-25 13:36:33 by geronet]geronet1-2/+5
updated indent.sh, applied coding style git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@647 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-01-30[lcd4linux @ 2006-01-30 12:53:07 by reinelt]reinelt1-5/+8
replaced strncpy with strcpy where possible git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@631 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-01-30[lcd4linux @ 2006-01-30 06:11:36 by reinelt]reinelt1-22/+23
changed Result->length to Result->size git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@627 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-01-30[lcd4linux @ 2006-01-30 05:47:34 by reinelt]reinelt1-9/+12
graphic subsystem changed to full-color RGBA git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@626 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-01-28[lcd4linux @ 2006-01-28 15:36:17 by harbaum]harbaum1-3/+7
Fix: string termination bug in eval() git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@625 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2006-01-21[lcd4linux @ 2006-01-21 09:40:20 by reinelt]reinelt1-36/+44
Big Memory Leak in Evaluator fixed (thanks to Oliver Gehrke) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@617 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2005-05-08[lcd4linux @ 2005-05-08 04:32:43 by reinelt]reinelt1-872/+891
CodingStyle added and applied git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@547 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2005-03-30[lcd4linux @ 2005-03-30 04:57:50 by reinelt]reinelt1-18/+52
Evaluator speedup: use bsearch for finding functions and variables git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@521 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
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-119/+127
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-10/+14
'const'ified the whole source git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@476 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-04-12[lcd4linux @ 2004-04-12 11:12:24 by reinelt]reinelt1-10/+18
added plugin_isdn, removed old ISDN client fixed some real bad bugs in the evaluator git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@418 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-03-11[lcd4linux @ 2004-03-11 06:39:58 by reinelt]reinelt1-51/+81
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 18:45:52 by hejl]hejl1-4/+7
fixed segfault when using string concatenation git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@390 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-03-08[lcd4linux @ 2004-03-08 04:33:08 by reinelt]reinelt1-21/+41
string concatenation fixed git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@388 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-03-06[lcd4linux @ 2004-03-06 20:31:16 by reinelt]reinelt1-536/+771
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-8/+44
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-02-26[lcd4linux @ 2004-02-26 21:42:45 by reinelt]reinelt1-3/+12
memory leak fixes from Martin git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@377 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-02-05[lcd4linux @ 2004-02-05 07:10:23 by reinelt]reinelt1-3/+7
evaluator function names are no longer case-sensitive Crystalfontz Fan PWM control, Fan RPM monitoring, temperature monitoring git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@356 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-30[lcd4linux @ 2004-01-30 20:57:55 by reinelt]reinelt1-1/+16
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-15[lcd4linux @ 2004-01-15 07:47:02 by reinelt]reinelt1-38/+74
debian/ postinst and watch added (did CVS forget about them?) evaluator: conditional expressions (a?b:c) added text widget nearly finished git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@313 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-12[lcd4linux @ 2004-01-12 03:51:01 by reinelt]reinelt1-5/+15
evaluating the 'Variables' section in the config file git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@307 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-07[lcd4linux @ 2004-01-07 10:15:41 by reinelt]reinelt1-2/+7
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
2004-01-06[lcd4linux @ 2004-01-06 23:01:37 by reinelt]reinelt1-3/+4
more copyright issues git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@294 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-06[lcd4linux @ 2004-01-06 17:33:45 by reinelt]reinelt1-16/+35
Evaluator: functions with variable argument lists Evaluator: plugin_sample.c and README.Plugins added git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@288 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2004-01-06[lcd4linux @ 2004-01-06 15:19:12 by reinelt]reinelt1-100/+131
Evaluator rearrangements... git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@287 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2003-10-11[lcd4linux @ 2003-10-11 06:01:52 by reinelt]reinelt1-43/+62
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-06[lcd4linux @ 2003-10-06 05:47:27 by reinelt]reinelt1-15/+33
operators: ==, \!=, <=, >= git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@257 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2003-10-06[lcd4linux @ 2003-10-06 04:34:06 by reinelt]reinelt1-0/+752
expression evaluator added git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@256 3ae390bd-cb1e-0410-b409-cd5a39f66f1f