Commit Graph

118 Commits

Author SHA1 Message Date
Mike Massonnet
a02bf69573 Show list of tasks
Provide the list of tasks through a GArray and parse it in main.c to
update the GtkTreeModel.
2010-05-05 09:02:04 +02:00
Mike Massonnet
71d1684696 Add precision to memory/swap and CPU
Switched all the gushort against gfloat data types for the memory, swap
and CPU usages. Show them with a precision of two decimals in the GUI.
2010-05-02 17:03:58 +02:00
Mike Massonnet
4f04ca5cb7 Read information from memory/swap and CPU
This commit is the second of an incremental serie. There will be other
commits with the information about tasks and the support for BSD and
Solaris once things are settled.

The TaskManager class is build with a new source task-manager-linux.c
that provides functions specific to the Linux implementation. It has
functions to read the usage of the memory/swap and the CPU.
2010-05-02 17:00:30 +02:00
Mike Massonnet
9a49bf015a Initial TaskManager class and make room for Swap
Added the TaskManager class to hold system information and tasks.
Currently it provides username and hostname based on POSIX functions.
The Swap is now part of the system information and is being displayed in
the statusbar.
2010-05-02 17:00:30 +02:00
Mike Massonnet
fdaf8b1b49 Rename “Information” to “Preferences” 2010-05-02 17:00:30 +02:00
Mike Massonnet
b83eb75002 Custom statusbar
The statusbar is created since a separate widget class and has three
different labels (settable through properties) for CPU, memory and
number of processes. This makes it more convenient to change one or
another value and it gives a nicer look.
2010-05-02 17:00:24 +02:00
Mike Massonnet
cc6dbd8373 Initial commit of new interface
Changes touching the build:
- Bumped version to 0.5.0.
- Removed dependency on Xfce libs (it only depends on GTK+-2.0.)
- Updated Makefile with new source files.
- Build ChangeLog through a script (remove it from source tree.)

More generally speaking, the interface is build on top of a GtkBuilder
UI definition, with a personal GtkTreeView and a Settings GObject to
update the information shown on the interface on changes. All the code
is being written with GObjects which will make it a lot easier to
separate GUI code and system code.
2010-05-01 15:34:25 +02:00
Mike Massonnet
2ea3ddc135 Small factorize on cmdline reading 2009-09-11 15:33:00 +02:00
Mike Massonnet
e545b2e716 Show command line arguments in Linux 2009-09-09 20:24:24 +02:00
Mike Massonnet
e05fff219f Update Solaris patch from Peter Tribble
Check for the lib kstat in the autoconf script.
Build with the correct file for Solaris in the automake script.
Fixed the xfce_err messages and switched to g_snprintf for the command strings.
Updated the TODO file.
2009-09-08 16:39:30 +02:00
Mike Massonnet
9e43755ce3 Add support for Solaris from Peter Tribble 2009-09-03 19:39:33 +02:00
Mike Massonnet
d19395a28e prepare 0.4.1 release
(Old svn revision: 5416)
2008-09-15 21:17:14 +00:00
Mike Massonnet
2e736532c4 Fix int compare function; Drop useless cast which makes the CPU usage per process worky again
(Old svn revision: 5192)
2008-08-03 20:54:03 +00:00
Mike Massonnet
f3c2ad4706 New function to get the full and short cmdline (Linux)
(Old svn revision: 5191)
2008-08-03 20:02:28 +00:00
Mike Massonnet
f61e15b987 Quick clean up, update TODO, and display memory less than 1 MB
(Old svn revision: 5187)
2008-08-02 17:41:57 +00:00
Mike Massonnet
65f92216cd Apply patch for BSD support from Landry Breuil
(Old svn revision: 5178)
2008-07-30 22:42:44 +00:00
Mike Massonnet
66b5229db7 Use portable function to get the pagesize; Use a bigger "Information" icon in the menu
* src/xfce-taskmanager-linux.c,
  src/xfce-taskmanager-linux.h,
  src/interface.c(fill_list_item):
  - Use portale function to get the pagesize, and fallback to 4K
* src/interface.c(create_infomenu):
  - Use a bigger "Information" icon in the menu


(Old svn revision: 4824)
2008-05-18 17:37:39 +00:00
Mike Massonnet
1a2783b6a0 New information menu to select the columns to display; minor clean up
(Old svn revision: 4806)
2008-05-16 07:05:20 +00:00
Mike Massonnet
d68dcf5f6f Minor changes: don't focus button on click, right align priority column
(Old svn revision: 4805)
2008-05-16 07:05:14 +00:00
Mike Massonnet
80637439f9 Set window icon to "xfce-system" and modify the about dialog
(Old svn revision: 4777)
2008-05-10 23:33:16 +00:00
Mike Massonnet
3436eee4bb Redo what is displayed in More info (PPID, STATE, VM-size), and keep RSS in normal info
(Old svn revision: 4776)
2008-05-10 23:30:40 +00:00
Mike Massonnet
378690965f Set buffer_status to 1024 (fixes issues with 64bit archs); use convenience macro GINT_TO_POINTER to pass to user_data
(Old svn revision: 4763)
2008-05-09 23:14:02 +00:00
Mike Massonnet
bbd98acecb Properly refresh the CPU usage of a process
(Old svn revision: 4759)
2008-05-09 14:01:12 +00:00
Mike Massonnet
bb1c4ec520 Update strings and make update-po
(Old svn revision: 4758)
2008-05-09 12:32:41 +00:00
Mike Massonnet
526fd83c60 Properly display the memory usage and fix signal connected on the show_cached_as_free menu item
(Old svn revision: 4756)
2008-05-09 12:22:59 +00:00
Mike Massonnet
8f6ca38ea2 Save sort column/type in config
(Old svn revision: 4755)
2008-05-09 12:22:54 +00:00
Mike Massonnet
8d28b1969f Add credits and update ChangeLog
(Old svn revision: 4754)
2008-05-09 12:22:49 +00:00
Mike Massonnet
35f14220e7 Set command column expand and ellipsize
(Old svn revision: 4753)
2008-05-09 11:01:48 +00:00
Mike Massonnet
a151d8f3d2 Switch lines time=$new_time; old_time=time
(Old svn revision: 4752)
2008-05-09 11:01:44 +00:00
Mike Massonnet
92101a0a24 Forgot functions.c to replace task.size against task.vsize
(Old svn revision: 4751)
2008-05-09 11:01:41 +00:00
Mike Massonnet
51fb53c2de Fix the event of the mainmenu to display on keyboard and mouse
(Old svn revision: 4750)
2008-05-09 11:01:37 +00:00
Mike Massonnet
374c1bd30f Properly position the main menu
(Old svn revision: 4749)
2008-05-09 11:01:32 +00:00
Mike Massonnet
9731785804 Fix coding style
(Old svn revision: 4748)
2008-05-09 11:01:28 +00:00
Mike Massonnet
90495d9dac Fix strings
(Old svn revision: 4747)
2008-05-09 02:47:32 +00:00
Mike Massonnet
63475444b9 Properly save window size on quit
(Old svn revision: 4746)
2008-05-09 02:47:29 +00:00
Mike Massonnet
6783c9aa93 Right align numerical columns
(Old svn revision: 4745)
2008-05-09 02:47:25 +00:00
Mike Massonnet
fe7c568c95 Correctly display the memory size of the processes
(Old svn revision: 4744)
2008-05-08 16:48:34 +00:00
Mike Massonnet
b24ba90f25 Remove useless gettext() and properly align menu items on the right
(Old svn revision: 4730)
2008-05-05 16:09:00 +00:00
Johannes Zellner
699a462464 - initial priority setting
- few bugfixes



(Old svn revision: 3940)
2008-02-10 22:48:45 +00:00
Nick Schermer
b452b402fe Apply patch from Álvaro Lopes to fix CPU usage per task, with more then 1 CPU.
Added a THANKS file.
Remove some svn executable properties and add svn keywords.
Added LINGUAS support and removed the configure.ac > configure.in.in file.
Improved the configure.in.in and Makefiles.


(Old svn revision: 2350)
2007-01-13 10:12:31 +00:00
Nick Schermer
774a48f60a Apply patch from bug 2714.
Fix all typos and compiler warnings.


(Old svn revision: 2347)
2007-01-12 17:19:11 +00:00
Johannes Zellner
b1c5370ffa * applied patch from Enrico Tröger, adding tooltips to the cpu/mem usage-bars
Thank You ! :-)



(Old svn revision: 2034)
2006-09-15 13:25:12 +00:00
Johannes Zellner
a468d77df3 * removed a senseless printf :-)
(Old svn revision: 1957)
2006-09-03 21:35:44 +00:00
Johannes Zellner
7047557d11 * added progessbars for cpu and memory usage
(Old svn revision: 1935)
2006-09-02 15:18:08 +00:00
Johannes Zellner
0b10471e77 * fixed a crash
* fixed the vm-display
* added a TODO-list



(Old svn revision: 1919)
2006-08-23 22:07:33 +00:00
Johannes Zellner
e442e981a0 * remove old files
* remove custom signal entries



(Old svn revision: 1916)
2006-08-23 18:57:17 +00:00
Johannes Zellner
3454e0a32b * some files renamed
* few small security changes



(Old svn revision: 1915)
2006-08-23 18:08:08 +00:00
Johannes Zellner
873ed52c03 (Old svn revision: 1902) 2006-08-15 22:03:18 +00:00
Johannes Zellner
035ae4f363 (Old svn revision: 1901) 2006-08-15 21:45:50 +00:00
Johannes Zellner
29f3f00619 - now the linux-parts are running very save
- updated the website in the "about"-dialog



(Old svn revision: 1477)
2006-07-09 09:22:39 +00:00