aboutsummaryrefslogtreecommitdiff
path: root/remote_plot.c
AgeCommit message (Collapse)Author
2025-05-15Change license from GPL-2.0-or-later to GPL-3.0-or-laterXiao Pan
I just realized I can use GPL-3.0-or-later. I prefer GPL-3.0-or-later over GPL-2.0-or-later. And libssh's LGPL-2.1-or-later, plplot's LGPL-2.0-or-later, and gtk's LGPL-2.1-or-later licenses are compatible with GPL-3.0-or-later.
2025-05-15better comment explain plplot licenseXiao Pan
2025-05-15The software is licensed under GPL-2.0-or-laterXiao Pan
The software is licensed under GPL-2.0-or-later. But list.c and list.h contain source code I edited from book "C Primer Plus" Chapter17 practice problem 2 which contain codes from its example codes, and the author of "C Primer Plus" does not have a license for list.c and list.h, so the author of "C Primer Plus" has the copyright on list.c and list.h, so list.c and list.h can be considered non-free close souce proprietary code. I choose GPL-2.0-or-later. Because I prefer GPL over LGPL. And because libssh's LGPL-2.1-or-later, plplot's LGPL-2.0-or-later, and gtk's LGPL-2.1-or-later licenses are compatible with GPL-2.0-or-later. This commit also clarify licensing by copy the GPL-2.0-or-later license to LICENSE file, adding notes in README.md, and adding SPDX-License-Identifier and other licensing comment in source code files.
2025-05-13typoXiao Pan
2025-05-13updateXiao Pan
2025-05-13Delete old comments from plplot example 17Xiao Pan
2025-05-13Add and edit commentsXiao Pan
2025-05-07correct avg print size; no debug printXiao Pan
2025-05-07show min and maxXiao Pan
2025-05-07more profer macroXiao Pan
2025-05-07a little better logicXiao Pan
2025-05-07a little bit better logic and states, not perfectXiao Pan
2025-05-07when set to time, unset last 50 seconds toggleXiao Pan
2025-05-07only need to set just_start to false when it is trueXiao Pan
2025-05-07Fix first time start offset==0 cause read_data read data from remote and ↵Xiao Pan
write duplicate data to local
2025-05-07add unix time and last 50 seconds toggleXiao Pan
2025-05-07default set first temp plot activeXiao Pan
2025-05-07temp max 100 instead for better showcaseXiao Pan
2025-05-072 plots per line instead of 3 because pi have small screenXiao Pan
2025-05-06user flowboxes and less text in label to save spaceXiao Pan
2025-05-04no need sftp_expand_path, current dir is home dirXiao Pan
2025-05-04USe new SR16-CustomBMS repo .dbc. Consider changed ssh destination support ↵Xiao Pan
sftp_expand_path() https://github.com/spartanracingelectric/SR16-CustomBMS/blob/main/SR-16%20Custom%20BMS.dbc
2025-04-30max window instead of fullscreen, else no unfullscreen buttonXiao Pan
2025-04-30Temperature read not make sense, and it take too much space, so remove for nowXiao Pan
2025-04-30Set default fullscreen to show better on piXiao Pan
2025-04-30Changes to make it work on raspberry pi debian 12Xiao Pan
2025-04-30use correct .dbc file from spartanracingelectric/SR16-CustomBMS, rewrite ↵Xiao Pan
code based on correct dbc file
2025-04-30Revert "use more optimized g_timeout_add_seconds"Xiao Pan
This reverts commit de00233983f5df5158cbf7dfc14d493e985dda43. g_timeout_add_seconds somehow does not call function every given interval
2025-04-30less messy, consider C operator precedence, see `man operator`Xiao Pan
2025-04-30less messy, consider C operator precedence, see `man operator`Xiao Pan
2025-04-30cleaner code, return and continue instead of put inside a large ifXiao Pan
2025-04-30use more optimized g_timeout_add_secondsXiao Pan
2025-04-30run read_data() instantaneously, so plot can start right awayXiao Pan
2025-04-30update drawing area if toggle liveXiao Pan
2025-04-30add commentXiao Pan
2025-04-29feat: save to local, cli option to read only from localXiao Pan
2025-04-29better error handlingXiao Pan
2025-04-29set x axis label 10 digitsXiao Pan
2025-04-29feat: add live button, from and to time entriesXiao Pan
2025-04-28old url not working any moreXiao Pan
2025-04-28correct commentXiao Pan
2025-04-28Use pi mycan.c .csv formatXiao Pan
2025-04-28feat: read past data from remote piXiao Pan
Using linked list so I can keep adding data without worrying about arrary max length. I also moved old code that can only read live data to old/remote_plot_live.c as an archive.
2025-04-27use unix time for timestamp insteadXiao Pan
2025-04-26cli option to set ssh destinationXiao Pan
2025-04-26Move expanders on top of drawing area to give it more spaces in the futureXiao Pan
2025-04-26Maybe more correct MAX_XFER_BUF_SIZEXiao Pan
2025-04-26guess temp min maxXiao Pan
2025-04-26Dynamic plots size and arrangementsXiao Pan
2025-04-26add expandersXiao Pan