[Xfce4-commits] <xfce4-taskmanager:master> === Release 0.5.92 (1.0.0 beta3) ===

Mike Massonnet noreply at xfce.org
Fri May 28 15:54:02 CEST 2010


Updating branch refs/heads/master
         to 45f44e0a3d1e5ae2b17ad208144f22102a102c7f (commit)
       from 8d32b99253dfa3ac48c6db1a922aad7bcbe06b2c (commit)

commit 45f44e0a3d1e5ae2b17ad208144f22102a102c7f
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Fri May 28 15:34:17 2010 +0200

    === Release 0.5.92 (1.0.0 beta3) ===

 NEWS                     |   11 +++++++++++
 README.OS-implementation |   24 +++++++++++++-----------
 configure.ac.in          |    2 +-
 3 files changed, 25 insertions(+), 12 deletions(-)

diff --git a/NEWS b/NEWS
index b17352c..6f538a4 100644
--- a/NEWS
+++ b/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
 
 - (Re)Add support for OpenSolaris, FreeBSD and OpenBSD
diff --git a/README.OS-implementation b/README.OS-implementation
index 3c61671..197f213 100644
--- a/README.OS-implementation
+++ b/README.OS-implementation
@@ -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.
 
 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
-inside the file src/task-manager.h.
+the existing implementations can serve as good examples. The src/task-manager.h file
+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
 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.
 
 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
-solaris files.
+the processes (usually OSes that report the usage with an incrementing time-like value), for
+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
-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
 Continue inside the graphical interface.
 
-The function get_task_list provides an empty but initialized GArray pointer as argument that
-just has to be filled in with the current list of tasks.
+The function get_task_list() provides an empty but initialized GArray pointer as argument
+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
-these values with 0. A good example is the swap (sometimes because there is no swap set,
-doesn't mean we have to show swap information), when the total equals to zero it is hidden
-from the interface. The same can be applied to some of the CPU (system or user may be
-useless) and memory information (buffer and/or cache may be left out).
+these values with 0. A good example is the swap, 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
+information (buffer and/or cache may be left out).
 
 That's it!
diff --git a/configure.ac.in b/configure.ac.in
index 61d3407..d204899 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -11,7 +11,7 @@ m4_define([taskmanager_version_major], [0])
 m4_define([taskmanager_version_minor], [5])
 m4_define([taskmanager_version_micro], [92])
 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()])])
 
 dnl ***************************



More information about the Xfce4-commits mailing list