Hisham Muhammad
|
f4f35da7e0
Fix indentation
|
6 years ago |
Hisham Muhammad
|
b544c22c72
Fix issue with small terminals.
|
7 years ago |
coypoop
|
b84ebfd4e8
Clarify we are looking for the null termination
|
7 years ago |
Hisham Muhammad
|
09e241fb12
Security review: check results of snprintf.
|
7 years ago |
Hisham Muhammad
|
821d50f0b4
Merge pull request #651 from Explorer09/graph-mode-draw
|
7 years ago |
Richard
|
d5faf64374
Mark some things as const
|
7 years ago |
Explorer09
|
143a7de6b2
Round values in graph drawing (instead of implicit truncate)
|
8 years ago |
Explorer09
|
6b9b6db655
Let BarMeterMode_characters[] be const array.
|
8 years ago |
Explorer09
|
313b3d3752
Remove redundant is-null checks on free(Meter.drawData)
|
8 years ago |
Explorer09
|
9dea20e068
Rename Meter.setValues() functions to updateValues()
|
8 years ago |
Explorer09
|
7b3c8bc77a
BarMeterMode_draw minor code improvement
|
8 years ago |
Explorer09
|
99fb3070a2
Explicit "maxItems" property of meters
|
8 years ago |
Hisham
|
d311e85b91
Avoid crash on huge screens.
|
9 years ago |
Hisham
|
b54d2dde40
Check for failure in allocations.
|
9 years ago |
Explorer09
|
040613db33
Change variable 'dot' to avoid division by reciprocal.
|
9 years ago |
Explorer09
|
d54ab24d97
New macro GRAPH_HEIGHT for Graph Meter height
|
9 years ago |
Explorer09
|
6dae8108f8
Introduce CLAMP macro. Unify all MIN(MAX(a,b),c) uses.
|
9 years ago |
Hisham Muhammad
|
c6ca311d18
Present IO-Wait as a dot in monochrome. Fixes #345.
|
9 years ago |
Hisham Muhammad
|
d34645f8f1
Array entries have been oddly flipped here for years.
|
9 years ago |
Christian Hesse
|
bf456972b7
kilobytes is the smallest unit and never has precision
|
9 years ago |
Hisham Muhammad
|
bdadd45a88
Fix indentation.
|
9 years ago |
Hisham Muhammad
|
f585fc9825
Merge pull request #208 from eworm-de/dynamic-unit
|
9 years ago |
Christian Hesse
|
6f58fbc5dd
make units more dynamic
|
9 years ago |
Christian Hesse
|
93b811a051
use ASCII blank even for graphical meter in UTF-8 mode
|
9 years ago |
Hisham Muhammad
|
4597014ea3
Standardize variable name.
|
9 years ago |
Christian Hesse
|
a2a34e89a1
simplify Meter loop
|
9 years ago |
Christian Hesse
|
d8e23bb084
remove UTF-8 code when compiling with --disable-unicode
|
9 years ago |
Christian Hesse
|
9e67b6585e
make arrays one dimensional
|
9 years ago |
David Hunt
|
5e602f18d5
Rename String to StringUtils.
|
9 years ago |
Hisham Muhammad
|
9ff5d2b243
Fix saving of header states, motion in Setup screen.
|
9 years ago |
Hisham Muhammad
|
14a177800b
Remove spurious UTF-8 char from ASCII mode.
|
9 years ago |
Hisham Muhammad
|
574c3decb5
Move graph according to configured CRT_delay.
|
10 years ago |
Hisham Muhammad
|
14bd77c5f4
Add longer descriptions to available meters.
|
10 years ago |
Hisham Muhammad
|
c2108e5a48
Another mega-patch for the refactoring process.
|
10 years ago |
Hisham Muhammad
|
3383d8e556
Sorry about the mega-patch.
|
10 years ago |
Hisham Muhammad
|
357e7a3243
Move UptimeMeter into platform-dependent area.
|
10 years ago |
Hisham Muhammad
|
2bf8754bc2
Remove useless assignment.
|
10 years ago |
Hisham Muhammad
|
6d90e58c01
alignment improvements
|
11 years ago |
Hisham Muhammad
|
76a715ee8c
Fix order of calloc arguments.
|
11 years ago |
Hisham Muhammad
|
c1e0f6e17c
BUGFIX: Fix crash when adding meters and toggling detailed CPU time.
|
11 years ago |
Hisham Muhammad
|
00b324bfc1
Changes in object model: separate class objects to store vtable. Also, nicer UTF-8 display of big numbers.
|
12 years ago |
Hisham Muhammad
|
45f7a4fc8d
Remove old memory debugging routines. We have Valgrind nowadays.
|
13 years ago |
Hisham Muhammad
|
84281bdc44
major header cleanup
|
13 years ago |
Hisham Muhammad
|
7ca1081712
Mega-commit with features and tweaks for 1.0:
|
13 years ago |
Hisham Muhammad
|
d1b1cbc757
cleanups and fixes, thanks to cppcheck and gcc -Wextra
|
13 years ago |
Hisham Muhammad
|
717758409e
Fix segfault in BarMeterMode_draw() for small terminal widths
|
13 years ago |
Hisham Muhammad
|
300caa076e
Tempus fugit.
|
13 years ago |
Hisham Muhammad
|
bd459776a4
retain meter state when it is reinit'ed in the Setup screen
|
13 years ago |
Hisham Muhammad
|
a9c0ea3753
* Option for counting CPUs from zero
|
14 years ago |
Hisham Muhammad
|
d8e1480a27
Remove arbitrary limit from rich strings
|
14 years ago |