Paul Wise
e1ac1fa655
Format strings: use macro instead of format constant when printing a uint64_t value
...
This is more portable as it will use the right constant for each platform.
Suggested-by: g++
2021-11-25 13:49:56 +08:00
Paul Wise
277f398fae
Format strings: get individual value of a std::pair
...
Suggested-by: g++
2021-11-25 13:49:56 +08:00
Paul Wise
30ee4cde52
Format strings: use %s when printing strings
...
Otherwise the string itself could be interpreted as a format string.
Suggested-by: g++
2021-11-25 13:49:56 +08:00
Paul Wise
320c159409
Install executable using GNUInstallDirs and CMAKE_INSTALL_SBINDIR
...
The executable should not be in /usr/sbin as that is for packages only.
Using GNUInstallDirs gives the right dir by default and
allows distros to install into /usr/sbin when they want.
Fixes: https://github.com/otakuto/crazydiskinfo/issues/29
2021-11-25 13:49:56 +08:00
Paul Wise
7575c58463
Don't link against tinfow
...
It does not appear to be used.
Fixes: https://github.com/otakuto/crazydiskinfo/issues/27
2021-11-25 13:49:49 +08:00
Paul Wise
6464455322
Preserve C++ build flags passed to cmake
...
This lets distros apply extra hardening flags,
while keeping the supplied C++ build flags.
2021-11-25 13:44:37 +08:00
Paul Wise
7ab17974d0
Switch URLs from http to https
...
This prevents network attackers from manipulating transferred data.
Suggested-by: check-all-the-things
2021-11-25 13:44:37 +08:00
Paul Wise
c128c4edf0
Add information about CrazyDiskInfo in distributions
...
Link to the Repology service to list the versions and
use the SVG badges provided by Repology for a local list.
2021-11-25 13:41:07 +08:00
Paul Wise
34ba626d14
Use cmake to create the build directory
...
This is one less command to copy and run.
2021-11-25 13:40:28 +08:00
Paul Wise
5a50b262a1
Use sudo when installing
...
The default install path is only writable by root.
2021-11-25 13:40:28 +08:00
Paul Wise
44e6b0d56b
Switch from libncursesw5-dev to libncurses-dev for Debian build dependency
...
libncursesw5-dev is from an obsolete version of ncurses.
2021-11-25 13:40:28 +08:00
Paul Wise
d9480c0254
Remove libncurses5-dev Debian build dependency
...
It isn't used, only libncursesw5-dev is used.
2021-11-25 13:40:28 +08:00
Paul Wise
33f2c70da2
Switch from apt-get to apt for installing Debian packages
...
The apt command is the newer interactive package manager for APT.
2021-11-25 13:40:28 +08:00
Paul Wise
93fe2ed4c3
Remove spaces at the end of lines
...
Suggested-by: editors and git
2021-11-25 13:40:03 +08:00
Tact Yoshida
803a58571b
Version bump to 1.1.0
2020-02-06 07:22:57 +09:00
otakuto
64c1338e90
Add support for toggle raw values between hexadecimal and decimal
2019-11-26 05:12:07 +09:00
otakuto
2444b6e829
Rename size to capacity
2019-11-26 03:06:36 +09:00
otakuto
1438886fd2
Fix segmentation fault on initscr
2019-11-26 02:59:52 +09:00
Tact Yoshida
f366d8d22c
Add color name
2019-01-02 21:49:23 +09:00
otakuto
8e9c9b298e
refactoring title
2017-12-06 06:37:32 +09:00
otakuto
1bb2a190d6
add hide serial
2017-12-06 06:22:36 +09:00
otakuto
24c3b98421
Merge pull request #19 from sasawat/master
...
Option to show Raw Values as Decimal
2017-05-12 00:48:00 +09:00
Konata Izumi
212bc613d8
Made using Decimal for Raw Value a CMake option
...
RAW_VALUES_DEC can be turned ON or OFF
2017-05-08 20:41:30 -04:00
Konata Izumi
9fbf4cd441
gitignore build folder
2017-05-08 20:34:50 -04:00
Konata Izumi
aad57dbb25
Changed Raw Values to decimal
2017-05-08 20:34:13 -04:00
otakuto
3e09b4314a
cosme
2017-03-26 14:04:32 +09:00
otakuto
bb7e80fa9c
Update README.md
2017-01-30 14:27:51 +09:00
otakuto
e402eccebb
Merge pull request #8 from tSU-RooT/patch-bin01
...
Add Debian binary package URL
2017-01-30 14:00:43 +09:00
Haruki TSURUMOTO
baea674bf5
Add Debian binary package URL
2017-01-30 12:33:10 +09:00
otakuto
3ecc590259
Merge pull request #7 from tSU-RooT/patch-readme01
...
Revise build instruction
2017-01-30 09:50:20 +09:00
otakuto
542cadd94b
bump
2017-01-26 11:44:28 +09:00
otakuto
3bf45700db
bump
2017-01-26 11:40:14 +09:00
otakuto
3a14ff1f37
cosme
2017-01-26 06:59:33 +09:00
otakuto
2fb109dd67
Merge pull request #4 from BlueSkyDetector/PR-clear_window_for_removing_remaining_color
...
Clear window for removing remaining color
2017-01-25 21:51:38 +00:00
otakuto
9e69b80b10
support c++11
2017-01-26 06:41:23 +09:00
Haruki TSURUMOTO
6e81fc0d91
Revise build instruction
2017-01-25 10:52:23 +09:00
Takanori Suzuki
d39417c165
For avoiding crash, exit with error message if no devices or non-root user
2017-01-24 23:41:45 +09:00
Takanori Suzuki
7fe0e135ac
Clear window for removing remaining color
...
When we switch disk, some parts of status are changed.
With the status change, color are also changed but sometime remaining
old color.
For fixing it, this commit is adding wclear() for each window.
2017-01-23 12:21:22 +09:00
otakuto
e8d09408a3
fix buggy n/a values
2017-01-22 09:53:38 +09:00
otakuto
4538295434
Update README.md
2017-01-22 09:05:09 +09:00
otakuto
ee853586e5
Merge pull request #1 from BlueSkyDetector/PR-fix_screen_refresh_in_switching_disk
...
Fix to refresh screen when switching disk by key
2017-01-21 14:03:34 +09:00
otakuto
202326422e
Merge pull request #3 from BlueSkyDetector/PR-fix_crash_by_skipping_smart_unavailable_disk
...
Fix crash by skipping S.M.A.R.T unavailable disk
2017-01-21 13:55:23 +09:00
Takanori Suzuki
1b98d35985
Fix crash by skipping S.M.A.R.T unavailable disk
2017-01-20 18:58:04 +09:00
otakuto
486b7390df
Update README.md
2017-01-20 18:40:26 +09:00
Takanori Suzuki
f4dd2deb0b
Fix to refresh screen when switching disk by key
2017-01-20 18:05:05 +09:00
otakuto
1acfbf1339
Update README.md
2017-01-20 14:57:33 +09:00
otakuto
06534caf75
Update README.md
2017-01-20 14:22:49 +09:00
otakuto
997337f680
Create README.md
2017-01-20 13:50:52 +09:00
otakuto
e360dfd800
add CMakeLists.txt
2017-01-20 13:34:15 +09:00
otakuto
ce3a3302e6
add main.cpp
2017-01-20 13:33:53 +09:00