add if_match object comparing strings, floats and ints
authorPhil Sutter <phil@nwl.cc>
Sat, 20 Dec 2008 01:31:00 +0000 (02:31 +0100)
committerPhil Sutter <phil@nwl.cc>
Sat, 20 Dec 2008 15:14:57 +0000 (16:14 +0100)
commitb31af01d91eb32993ffbea682e5c7d3cfdc72a8b
tree1510b65ddf3f1ba368d1820d2ecc38de6b1a0023
parent1a35a68bcaac6c278ffdd17b2a9b4fd2c42d3a28
add if_match object comparing strings, floats and ints

In general, argument types should match, but for combined long and
double usage the long is being converted to double before evaluation.

A few examples:
${if_match ${cpu} < 30}
${if_match "asdf" != "qwer"}
${if_match 0.5 < 0.50001}
${if_match 49.999 < 50}
ChangeLog
README
doc/conky.1
doc/variables.xml
src/Makefile.am
src/algebra.c [new file with mode: 0644]
src/algebra.h [new file with mode: 0644]
src/conky.c
src/text_object.h