Commit Graph

1174 Commits

Author SHA1 Message Date
yan 207580ea88 Update README 2018-01-23 17:30:58 +08:00
yan fbb53565f6 demo
demo
2018-01-23 17:24:18 +08:00
yan 12688486a4 Update README 2017-12-22 17:33:05 +08:00
yan 2680dcbb43 Update README 2017-12-22 17:30:26 +08:00
yan b8349ba97d Update README 2017-12-22 17:28:58 +08:00
Hamster Tian 1cac8ce326 Allow running 'exec' one-shot
* Just set the delay to 0: exec(cmd, 0), then the cmd will
  be run only once.
2016-04-23 21:35:19 +08:00
Hamster Tian 8657a1e2ea Add charat() and rcharat() to plugin_string.c
* charat():
  Prototype: charat(string, pos)
  Function: Returns the character at `pos` in the `string`.
            Returns empty string if `pos` is longer than the string.
            The paramater `pos` begins from 0, so charat("abc", 1)
                will give "b".

* rcharat():
  Prototype rcharat(string, pos)
  Function: Nearly the same as above, except it returns the character
              at `strlen(string) - pos -1` (as if it counts from the end
              of the string).
            The parameter `pos` also begins from 0. rcharat("abc", 0)
              will give "c".
2016-04-23 18:15:58 +08:00
Hamster Tian 676d79376f Add operator \ and %%
* \ : Integral division (division keeping only integral part)
* %% : Integral modulo
2016-04-23 18:12:35 +08:00
jmccrohan 4e055ed9cb Replace non-portable datatypes with C99 versions
Found during OpenWrt's migration from uClibc to musl.

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1203 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2015-07-12 21:26:15 +00:00
michael d38b3dc0f5 drv_HD44780: add 8bit i2c mode for HD44780 by Michael Grzeschik <m.grzeschik@pengutronix.de>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1202 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2015-06-18 16:44:09 +00:00
michael 00c0fae78c updated to automake 1.14.1
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1201 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2014-09-06 02:44:21 +00:00
michael 2b70773fe8 autotools update (iconv?)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1200 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2013-05-23 03:10:35 +00:00
michael 745168103c indentation
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1199 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2013-05-23 03:07:28 +00:00
michael ab5d1fd17f DPF patch by superelchi
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1198 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2013-05-23 03:05:50 +00:00
jmccrohan 151f501456 raspi: Disabled unless explicitly enabled by user
Add a raspi enabled stanza to lcd4linux.conf file to enable:

Plugin raspi {
    enabled 1
}

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1197 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2013-05-15 22:58:56 +00:00
volker 09d2a732ea disable plugin sensors if not found
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1196 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2013-03-10 19:43:13 +00:00
volker 4dc83784b2 new plugin raspi
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1195 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2013-02-19 23:17:43 +00:00
volker 9b3ccb8eca added new examples to config file
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1194 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2013-02-13 15:15:34 +00:00
volker 1024b52f2c Ticket #284
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1193 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2013-02-13 14:00:30 +00:00
volker 5559e7f6cb stabilize text widget when no string is available; info message when serdisplib cannot open port
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1192 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2013-02-13 13:49:22 +00:00
mzuther 71df54522b widget_timer: oops, forgot to update includes...
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1191 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-06-23 21:52:34 +00:00
mzuther 9d72353c29 widget_timer: timer widgets should not abuse timer groups (fixes ticket #278)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1190 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-06-23 21:47:50 +00:00
jmccrohan 0070c29645 Mitigate format string exploits
error: format not a string literal and no format arguments
[-Werror=format-security]

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1189 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-05-19 12:46:24 +00:00
jmccrohan b0fd4a3383 Add drv_generic_serial.c functions to header file
New functions were added in rev1171, but were not added to
drv_generic_serial.h

Fixes Debian buildd [-Wimplicit-function-declaration] warnings.

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1188 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-05-12 13:24:40 +00:00
michael ff1279f56a typo fix from Robert Resch
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1187 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-04-09 04:46:59 +00:00
michael 2c23bdcb1d patch to support hex sequences from Marcus Menzel
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1186 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-04-09 04:45:07 +00:00
mjona 13c974ad61 Fixed realloc error handling in timer_group.c; changed the interval member in the TIMER_GROUP structure from int* to int.
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1185 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-03-26 13:24:37 +00:00
michael 3ede2a57df handle failing realloc() correctly (thanks to Mattia)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1184 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-03-26 04:39:46 +00:00
michael 7ae0d560e1 changed error() to info() to avoid syslog flooding
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1183 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-03-26 04:31:55 +00:00
mzuther 2a72a23887 timer activation: use defines instead of integers for easier reading
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1182 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-03-23 19:54:21 +00:00
michael 446db7af45 allow fine-grained backlight control for picoLCDGraphic
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1181 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-03-15 03:48:49 +00:00
michael 981ce7826f jpeglib dependency typo fixed
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1180 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-02-27 10:27:40 +00:00
michael 61e4d8a0d3 drv_SamsungSPF.h removed
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1179 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-02-23 06:37:15 +00:00
michael 88dde26adb some fixes from Sascha Plazar
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1178 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-02-23 06:36:53 +00:00
michael eafd9557e5 driver for Samsung SPF by Sascha Plazar
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1177 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-02-22 03:11:31 +00:00
michael c5fc726e3b driver for Futaba VFD by Marcus Menzel
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1176 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-02-21 03:53:17 +00:00
michael 69ca09755b teakLCM set GPIO='no' which produced linker errors (thanks to Marcus menzel for reporting)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1175 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-02-16 12:50:59 +00:00
michael 2e6d972471 default model chnaged from 'generic' to 'M50530'
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1174 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-02-15 13:07:53 +00:00
michael cab1c1a400 driver for TeakLCM by Andreas Thienemann
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1173 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-02-14 03:17:04 +00:00
michael aae7a3ee37 patch from Robert Tesch: support KIT120-5 and KIT129-6, GPO code repaired, use Scalefont
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1172 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-02-10 16:04:36 +00:00
michael 2a553a0ff2 Patch for Driver EA232Graphic by Robert Resch
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1171 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-01-16 02:53:14 +00:00
michael c98cf9ae78 scaletext patch from Stefan Kuhne
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1170 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-01-16 02:50:03 +00:00
michael 8c2ea5ba97 update to automake 1.11.2
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1169 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-01-16 02:45:24 +00:00
michael 33d1f71e7e DPF driver by Stefan Kuhne 8note that you need libdpf)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1168 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-01-08 08:25:54 +00:00
michael 0b52f08226 [PATCH 2/2] gcc warnings by Jonathan McCrohan
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1167 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-01-08 08:14:32 +00:00
michael d63168bd84 ATCH 1/2] gcc warnings by Jonathan McCrohan
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1166 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2012-01-08 08:14:04 +00:00
michael b225453a3f old ancient legacy port access disabled by default
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1165 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2011-12-26 06:28:05 +00:00
mjona 67c1402467 All compilation related issues in the headers have been fixed. Now each header compiles with no warnings as a standalone file.
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1164 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2011-12-22 10:48:01 +00:00
sonic74 2362171db0 Replaced parameter NoPowerCycle with PowerCycle
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1163 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2011-12-09 03:16:17 +00:00
sonic74 4b251367af Blit speedup, switch PICASO back to 9600 baud when exiting
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1162 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
2011-12-09 03:08:20 +00:00