Detect duplicated 'NAME' key when reading a color scheme file to prevent memory leak
1 file changed
tree: 6d56d0c8025025618323d89a259af083a08ea8f6
  1. .gitignore
  2. AUTHORS
  3. Action.c
  4. Action.h
  5. Affinity.c
  6. Affinity.h
  7. AffinityPanel.c
  8. AffinityPanel.h
  9. ArgScreen.c
  10. AvailableColumnsPanel.c
  11. AvailableColumnsPanel.h
  12. AvailableMetersPanel.c
  13. AvailableMetersPanel.h
  14. BatteryMeter.c
  15. BatteryMeter.h
  16. CONTRIBUTING.md
  17. COPYING
  18. CPUMeter.c
  19. CPUMeter.h
  20. CRT.c
  21. CRT.h
  22. CategoriesPanel.c
  23. CategoriesPanel.h
  24. ChangeLog
  25. CheckItem.c
  26. CheckItem.h
  27. ClockMeter.c
  28. ClockMeter.h
  29. ColorsPanel.c
  30. ColorsPanel.h
  31. ColumnsPanel.c
  32. ColumnsPanel.h
  33. ControlOptionsPanel.c
  34. DisplayOptionsPanel.c
  35. DisplayOptionsPanel.h
  36. EnvScreen.c
  37. EnvScreen.h
  38. FunctionBar.c
  39. FunctionBar.h
  40. Hashtable.c
  41. Hashtable.h
  42. Header.c
  43. Header.h
  44. HostnameMeter.c
  45. HostnameMeter.h
  46. IOUtils.c
  47. IncSet.c
  48. IncSet.h
  49. InfoScreen.c
  50. InfoScreen.h
  51. KStat.c
  52. ListItem.c
  53. ListItem.h
  54. LoadAverageMeter.c
  55. LoadAverageMeter.h
  56. MainPanel.c
  57. MainPanel.h
  58. Makefile.am
  59. MemoryMeter.c
  60. MemoryMeter.h
  61. Meter.c
  62. Meter.h
  63. MetersPanel.c
  64. MetersPanel.h
  65. NEWS
  66. Object.c
  67. Object.h
  68. OpenFilesScreen.c
  69. OpenFilesScreen.h
  70. Panel.c
  71. Panel.h
  72. Process.c
  73. Process.h
  74. ProcessList.c
  75. ProcessList.h
  76. README
  77. RichString.c
  78. RichString.h
  79. ScreenManager.c
  80. ScreenManager.h
  81. Settings.c
  82. Settings.h
  83. SignalsPanel.c
  84. SignalsPanel.h
  85. StringUtils.c
  86. StringUtils.h
  87. SwapMeter.c
  88. SwapMeter.h
  89. TESTPLAN
  90. TasksMeter.c
  91. TasksMeter.h
  92. TraceScreen.c
  93. TraceScreen.h
  94. UptimeMeter.c
  95. UptimeMeter.h
  96. UsersTable.c
  97. UsersTable.h
  98. Vector.c
  99. Vector.h
  100. XAlloc.c
  101. XAlloc.h
  102. aix/
  103. autogen.sh
  104. bsd/
  105. configure.ac
  106. contrib/
  107. cygwin/
  108. darwin/
  109. dragonflybsd/
  110. dump-builtin-color-scheme.c
  111. freebsd/
  112. htop.1.in
  113. htop.c
  114. htop.desktop
  115. htop.h
  116. htop.png
  117. interix/
  118. linux/
  119. local-curses.h
  120. openbsd/
  121. scripts/
  122. solaris/
  123. test_spec.lua
  124. unsupported/
README.md

htop

The Rivoreo customized version, forked from commit 402e46bb82964366746b86d77eb5afa69c279539.

The original version made by Hisham Muhammad hisham@gobolinux.org is available at an archived git repository.

Changes from original version

  • System call tracing support via truss(1), which is available in many Unix-like systems
  • Support showing process name in addition to process command line
  • AIX support, by Calvin Buckley calvin@cmpct.info
  • Many Solaris-specific bug fixes
  • Support showing ZFS ARC size on Solaris-kernel-based, Linux-based, kFreeBSD-based and macOS (Mac OS X) platforms
  • Android/Linux support
  • Linux CPU hot-plugging aware
  • Distinguishable effective user and real user of processes
  • Basic Interix support
  • Cygwin support
  • Many OpenBSD-specific bug fixes
  • Thread processes support for OpenBSD
  • Solaris support without libproc(3LIB) (which is a private library of the operating system)
  • Many byte-order related bug fixes
  • Support kFreeBSD-based systems without kvm(3) (which isn't a standard library on GNU/kFreeBSD)
  • FreeBSD 5 support
  • Enhanced kernel process detection logic for Linux-based platforms
  • Build-time detection of available signals
  • Process command line arguments screen (key A) just like the process environment screen (key e)
  • Processor times meter improvements, by Antoine Motet antoine.motet@gmail.com
  • (hopefully bug-free) vi(1)-style key bindings support
  • Support showing process start time for all platforms
  • Mouse support can now be disabled in setup
  • Handle circularized process tree(s) that may happening with some kernels
  • User-defined color schemes
  • Consistent process state names

See the commit log for more.