=== Release 0.5.92 (1.0.0 beta3) ===
This commit is contained in:
11
NEWS
11
NEWS
@@ -1,3 +1,14 @@
|
|||||||
|
0.5.92 ~ 1.0.0 beta3
|
||||||
|
|
||||||
|
- New settings “More precision,” “Full command line,” “Show status icon” and
|
||||||
|
“Refresh rate”
|
||||||
|
- Swap usage is hidden from status bar when there is no swap present
|
||||||
|
- Show a warning banner inside the window when running as root
|
||||||
|
- Make default search function of tree view case insensitive and match key
|
||||||
|
within names (e.g. settings matches xfsettingsd and xfce4-settings-helper)
|
||||||
|
- Highlight started/terminated tasks and tasks with changed state in color
|
||||||
|
- Tree view columns are reorderable
|
||||||
|
|
||||||
0.5.91 ~ 1.0.0 beta2
|
0.5.91 ~ 1.0.0 beta2
|
||||||
|
|
||||||
- (Re)Add support for OpenSolaris, FreeBSD and OpenBSD
|
- (Re)Add support for OpenSolaris, FreeBSD and OpenBSD
|
||||||
|
|||||||
@@ -2,8 +2,9 @@ If you are reading this file it's good news, it may imply you are interested in
|
|||||||
maybe even into adding support for a new operating system.
|
maybe even into adding support for a new operating system.
|
||||||
|
|
||||||
The bare minimum to implement can be copied from the file src/task-manager-skel.c, knowing
|
The bare minimum to implement can be copied from the file src/task-manager-skel.c, knowing
|
||||||
the existing implementations can serve as good examples. All the needed headers are declared
|
the existing implementations can serve as good examples. The src/task-manager.h file
|
||||||
inside the file src/task-manager.h.
|
contains the declaration of the Task structure and the four functions that must be
|
||||||
|
implemented.
|
||||||
|
|
||||||
If you have trouble to add compilation to the build-env (autotools) you can run the
|
If you have trouble to add compilation to the build-env (autotools) you can run the
|
||||||
configure script (./autogen.sh or ./configure) with the flag --with-skel and put your
|
configure script (./autogen.sh or ./configure) with the flag --with-skel and put your
|
||||||
@@ -18,22 +19,23 @@ You may cache values, declare 'static <TYPE> <VARIABLE>' under the includes for
|
|||||||
access, or inside functions for local access.
|
access, or inside functions for local access.
|
||||||
|
|
||||||
You may need a local function to calculate the CPU usage in percent for the system and/or
|
You may need a local function to calculate the CPU usage in percent for the system and/or
|
||||||
the processes, for this have a look at the function get_cpu_percent() from the linux and
|
the processes (usually OSes that report the usage with an incrementing time-like value), for
|
||||||
solaris files.
|
this have a look at the function get_cpu_percent() from the linux and solaris files.
|
||||||
|
|
||||||
The refresh rate can be different than one second, make sure the CPU keeps correct by
|
The refresh rate can be different than one second, make sure the CPU keeps correct by
|
||||||
changing it.
|
changing it or the algorithm may simply be wrong.
|
||||||
|
|
||||||
Implementing the function pid_is_sleeping() is needed to show either the signal Stop or
|
Implementing the function pid_is_sleeping() is needed to show either the signal Stop or
|
||||||
Continue inside the graphical interface.
|
Continue inside the graphical interface.
|
||||||
|
|
||||||
The function get_task_list provides an empty but initialized GArray pointer as argument that
|
The function get_task_list() provides an empty but initialized GArray pointer as argument
|
||||||
just has to be filled in with the current list of tasks.
|
that just has to be filled in with the current list of tasks. Note that GArray makes a copy
|
||||||
|
of the data type that it is passed to, don't allocate or free memory instead declare a Task
|
||||||
|
structure and pass it as is/as a copy to g_array_append_value().
|
||||||
|
|
||||||
If there are information you are unable to provide because unexistent on the system, fill in
|
If there are information you are unable to provide because unexistent on the system, fill in
|
||||||
these values with 0. A good example is the swap (sometimes because there is no swap set,
|
these values with 0. A good example is the swap, when the total equals to zero it is hidden
|
||||||
doesn't mean we have to show swap information), when the total equals to zero it is hidden
|
from the interface. This can be applied to the CPU (system may be useless) and the memory
|
||||||
from the interface. The same can be applied to some of the CPU (system or user may be
|
information (buffer and/or cache may be left out).
|
||||||
useless) and memory information (buffer and/or cache may be left out).
|
|
||||||
|
|
||||||
That's it!
|
That's it!
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ m4_define([taskmanager_version_major], [0])
|
|||||||
m4_define([taskmanager_version_minor], [5])
|
m4_define([taskmanager_version_minor], [5])
|
||||||
m4_define([taskmanager_version_micro], [92])
|
m4_define([taskmanager_version_micro], [92])
|
||||||
m4_define([taskmanager_version_build], [@REVISION@])
|
m4_define([taskmanager_version_build], [@REVISION@])
|
||||||
m4_define([taskmanager_version_tag], [git])
|
m4_define([taskmanager_version_tag], [])
|
||||||
m4_define([taskmanager_version], [taskmanager_version_major().taskmanager_version_minor().taskmanager_version_micro()ifelse(taskmanager_version_tag(), [git], [taskmanager_version_tag()-taskmanager_version_build()], [taskmanager_version_tag()])])
|
m4_define([taskmanager_version], [taskmanager_version_major().taskmanager_version_minor().taskmanager_version_micro()ifelse(taskmanager_version_tag(), [git], [taskmanager_version_tag()-taskmanager_version_build()], [taskmanager_version_tag()])])
|
||||||
|
|
||||||
dnl ***************************
|
dnl ***************************
|
||||||
|
|||||||
Reference in New Issue
Block a user