1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393
|
1998-08-30 Martin Baulig <martin@home-of-linux.org>
Added some basic session management code. All that it does at the
moment is to save the window geometry.
* session.[ch]: New files. Copied from `ghex/gnome-support.[ch]'.
* main.c: Added session management code.
1998-08-30 Martin Baulig <martin@home-of-linux.org>
Added memory usage properties. You can set the minimum sizes
and select which processes to show.
* properties.c (properties_hook_apply): New static function.
(gtop_init_properties): No longer calling properties_hook_update ().
* properties.h (GTopProcSelect): New typedef.
(GTopPropertiesHook): Added `apply_func'.
(GTopProperties): Added `memusage_thresholds' and `proc_select'.
* procview.c (SummaryColorsPropertiesHook): New global variable.
(ProcViewPropertiesHook): Splitted out summary colors stuff.
* memusage.c (MemUsagePropertiesHook): New global variable.
Implements memusage properties: you can set the `memusage_thresholds'
and select which processes to show.
* main.c: We now read and init the properties before we add any
notebook pages so they will get the correct properties on startup.
1998-08-30 Martin Baulig <martin@home-of-linux.org>
Improved and rewrote property handling code. We now have
a list called `gtop_properties_hook' of (GTopPropertiesHook)
objects. All properties functions walk this list to call
static functions in the C source files of the notebook pages
we want to set the properties for.
The C source files define a global initialized variable of type
(GTopPropertiesHook). It is added to the `gtop_properties_hook' list
in `main.c' with the (ADD_PROPERTIES) C preprocessor macro and
consists of pointers to static functions that do the properties
handling.
* properties.h (GTopPropertiesHook): New typedef.
(gtop_properties_hook): New global variable.
(gtop_temp_properties): Likewise.
* properties.c (properties_hook_init, properties_hook_update),
(properties_hook_load, properties_hook_save): New static functions
to walk the `gtop_properties_hook' list.
(gtop_load_properties): Renamed to `gtop_init_properties'.
(temp_props): Renamed to `gtop_temp_properties'.
(gtop_show_properties): The notebook pages are now initialized
in fsusage_properties_init () and procview_properties_init () in
`fsusage.c' and `procview.c'.
(gtop_init_properties): Renamed from `gtop_load_properties'.
Actual loading of properties occurs in fsusage_properties_load ()
and procview_properties_load ().
(gtop_save_properties): Removed this function.
Actual saving of properties occurs in fsusage_properties_save ()
and procview_properties_save ().
* fsusage.c (FsUsagePropertiesHook): New global variable.
(fsusage_properties_init, fsusage_properties_update),
(fsusage_properties_load, fsusage_properties_save):
New static functions to handle properties.
* procview.c (ProcViewPropertiesHook): New global variable.
(procview_properties_init, procview_properties_update),
(procview_properties_load, procview_properties_save):
New static functions to handle properties.
* main.c (ADD_PROPERTIES): New C preprocessor macro that is
used to add a (GTopPropertiesHook) object to the
`gtop_properties_hook' list.
1998-08-28 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
* procbar.c: include <config.h> for i18n.
(gnome_proc_bar_configure): removed unused variable.
* properties.c: include <config.h> for i18n and "fsusage.h" to
kill warning. Also removed some excess translation (arrays were
being translated :)
1998-08-26 Martin Baulig <martin@home-of-linux.org>
Added Filesystem Usage Notebook page.
* fsusage.[ch]: New files.
* properties.c: Renamed `gtop_properties' to `gtop_show_properties'.
(gtop_properties): New global variable formerly known as `props'.
(gtop_fstype_names, gtop_fstype_labels): New variables.
(gtop_show_properties): Added filesystem properties.
1998-08-25 Martin Baulig <martin@home-of-linux.org>
Colors are are now correctly saved and loaded.
* main.c: Call `gtop_load_properties'.
* procbar.c (gnome_proc_bar_update): Added `GdkColor *colors'
arguments, we use `gdk_color_parse' to write the colors found
here to `&pb->colors [i]'.
* procbar.h: Include "properties.h".
* properties.h (GTopProperties): New typedef.
* properties.c (gtop_load_properties): New function.
(gtop_save_properties): Likewise.
(temp_cpu_colors, temp_mem_colors, temp_swap_colors): Removed.
(temp_props, props): New static variables of type `GTopProperties'.
We no longer read the colors form the procbar widgets but use
`props' and `temp_props' instead. This makes sure the user can
change a color, press cancel and get the original one back.
1998-08-25 Martin Baulig <martin@home-of-linux.org>
You can now change the colors of the procbars.
* procbar.c (gnome_proc_bar_setup_colors): New function.
(gnome_proc_bar_update): Likewise.
(gnome_proc_bar_properties): Changed declaration; replaced
`GnomeProcBar *pb' with `gint n' and `GdkColor *colors'.
* properties.c (gtop_properties_changed): New function.
(temp_cpu_colors, temp_mem_colors, temp_swap_colors): New
static variables used to store properties while properties
box is popped up.
(properties_apply): New static function; copies `temp_cpu_colors'
to `summary_cpu' etc., then calls `gnome_proc_bar_update'.
(gtop_properties): Save current colors in `temp_*_colors'.
Using `gtk_notebook_append_page' instead of obsolete
`gnome_property_box_append_page'.
1998-08-25 Martin Baulig <martin@home-of-linux.org>
* configure.in: Bumped version number to 0.28.
* gtop.spec: Likewise.
* AUTHORS, main.c: I've done so much work to make it portable,
so I think I can add myself here ...
* main.c: Added properties dialog again.
* po: New directory. Copied from `gnome-utils/po', but we'll
remove everything that does not belong to GTop.
1998-08-25 Martin Baulig <martin@home-of-linux.org>
GTop has now been ported to use LibGTop.
* proc: Removed this directory.
* Makefile.am: Link with LibGTop.
(gtop_SOURCES): Commented out properties dialog.
* dummy.h: New file. Delares `proc_t' that was formerly
in `proc/readproc.h'.
* details.c: Large modifications to use LibGTop.
* fromtop.c (sprintf_time): Takes tick frequency as third argument.
* (get_elapsed_time): Some fixes here.
* (get_etime, shift_main, pcpu_sort, mem_sort): Commented out.
* (status): New function. Takes `proc_t' argument and returns
pointer to `static char [4]' holding process state.
* fromtop.h: Changed prototypes according to changes above.
* global.h: Include "dummy.h".
* graph.c (graph_expose): Replaced `w->style->bg_gc [0]' with
`w->style->black_gc' in call to `gdk_draw_rectangle'.
(graph_process_data): Replaced `g->da->style->bg_gc [0]' with
`g->da->style->black_gc' in call to `gdk_draw_rectangle'.
* main.c: Commented out properties dialog.
* proc.c: Completely rewritten to use LibGTop.
* memusage.c: Changed to use LibGTop.
* procview.c: Likewise.
1998-08-15 Martin Baulig <martin@home-of-linux.org>
* memusage.c: Added virtual and swapped memory sizes.
* procview.c: Using `gnome_stock_set_icon' instead of obsolete
`gnome_stock_pixmap_widget_set_icon'.
* memusage.c: Likewise.
* main.c (createMainWindow): We now get the correct menu when
starting with memusage view.
1998-08-05 Federico Mena Quintero <federico@nuclecu.unam.mx>
* main.c (mainmenu): #ifdef'ed out the System menu, as it does not
have anything useful.
* Fixed compiler warnings.
1998-07-01 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
* gtop.desktop: Added Portuguese translation.
1998-06-14 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
* main.c (main): Uses 'gnome_master_client' instead of
'gnome_client_new_default'.
1998-06-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* details.c (mem_graph_data_fn): Long format for snprintf is needed.
Also, handle the case where (*rs)->filename is not null but it
does not have a '/' in it.
1998-05-24 Miguel de Icaza <miguel@nuclecu.unam.mx>
* properties.c (properties_close): Bug fix: add a signal handler
for delete_event so that we mark the properties page as not being shown.
(gtop_properties): Add i18n support for initialized
constatns.
1998-05-18 Radek Doulik <rodo@msdec.ms.mff.cuni.cz>
* procbar.c: rewrite procbar to GtkWidget
* properties.c: started work on gtop properties dialog
1998-05-11 Radek Doulik <rodo@msdec.ms.mff.cuni.cz>
* procview.c (procview_clist_menu_prepare): fixed send KILL signal
so now it really sends KILL instead of TERM like before
* added renice dialog
1998-04-27 Radek Doulik <rodo@msdec.ms.mff.cuni.cz>
* memusage.c: fixed start/stop icon
* main.c (main): save selected page on exit to restore it on start
Sun Apr 26 00:06:47 1998 Havoc Pennington <hp@pobox.com>
* details.c: use GnomeDialog for the details window. Mostly
involved changes to procview_details(). Also, create all the
widgets inside the dialog before showing it.
1998-04-17 Radek Doulik <rodo@msdec.ms.mff.cuni.cz>
* memusage.c: fields in menu work now, physical memory break down
disabled because there is no way to get these info from kernel,
last impl. wasn't right (rss is not what it was supposed to be).
* global.h: dropped GNOME_PAD definition, it is already in gnome-uidefs.h
1998-04-05 Radek Doulik <rodo@msdec.ms.mff.cuni.cz>
* memusage.c: mem usage viewer - uses graph.ch
Fri Mar 20 21:14:33 1998 Radek Doulik <rodo@aquarius>
* details.c (set_mem_map): keep clist scrollbars in their position
(mem_graph_data_fn): fixed segfault in details, when process don't
exist
Wed Mar 18 14:09:14 1998 Radek Doulik <rodo@aquarius>
* added #include <config.h> to some .c files to make i18n stuff work
Mon Mar 9 21:11:24 1998 Radek Doulik <rodo@aquarius>
* procview.c: show swap summary, only if there is one
Mon Mar 16 01:44:39 1998 Tom Tromey <tromey@cygnus.com>
* procview.c (procview_init): Renamed "index" to "ndx". Somewhere
on my system `index' is being defined to `strchr', which causes
problems.
Sun Mar 8 16:40:07 1998 Tom Tromey <tromey@cygnus.com>
* Makefile.am (INCLUDES): Added GNOME_INCLUDEDIR.
* main.c (main): Use new gnome_init.
Sun Mar 1 14:48:54 1998 Radek Doulik <rodo@aquarius>
* details.c (get_map_rows): close maps file in proc, I have hunted
this bug a whole day ;-) (thanks for the great strace program
(also used with gtop itself to locate growing memory section :))
Sat Feb 28 09:55:43 1998 Radek Doulik <rodo@aquarius>
* proc/readproc.c: set procfs to NULL in openproc, so then
condition in closeproc [if (PT->procfs)] has sense now
* removed // comments from C code for those not using GCC ;-)
* main.c: use GNOMEUIINFO macros
* details.c (mem_seg): minor changes in identifying map row
1998-02-26 Federico Mena Quintero <federico@nuclecu.unam.mx>
* procview.c: Added #ifdefs for some signals which may not be
available everywhere. Maybe this is not the best way to handle things.
1998-02-25 Raja R Harinath <harinath@cs.umn.edu>
* procview.c: Replace `//...' comments with `/*...*/'.
Wed Feb 25 19:16:18 1998 Radek Doulik <rodo@aquarius>
* details.c (add_mem_graph): graphical memory map for processes
Tue Feb 24 16:11:27 1998 Radek Doulik <rodo@aquarius>
* procview.c: updated to work with new app_helper
Sun Feb 22 17:15:46 1998 Radek Doulik <rodo@aquarius>
* Makefile.am (gtkrc_DATA): added gtoprc for monospaced fonts in
GTop Lists
* details.c (get_map_rows): Raw Memory Map page in Details window
filled :-)
Sat Feb 21 21:07:26 1998 Radek Doulik <rodo@aquarius>
* details.c (add_info): started work on details window
Fri Feb 20 11:36:18 1998 Radek Doulik <rodo@aquarius>
* procview.c (sprint_fmt): added P_TIME, P_UTIME, P_STIME
(PIX): ref pixmaps widgets, so select sort field works again :)
(procview_update): use proc_data instead of proc_tab, so now I can
use not only values from proc_t, but also computed ones per process
1998-02-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
* main.c (main): Added app_id "gtop".
Wed Feb 18 11:14:39 1998 Radek Doulik <rodo@aquarius>
* procview.c: added popup menu in proclist
* gtop.desktop (Comment): added Name[cz] and Comment[cz]
1998-02-14 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
* main.c (save_state): Changed to use new SM support.
(main): Changed to use new SM support.
* Makefile.am (gtop_LDADD): Added $(INTLLIBS)
Sat Jan 24 17:09:05 1998 Radek Doulik <rodo@aquarius>
* procview.c: view menu
Wed Jan 28 12:00:09 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c (about_cb): Added about box support;
1998-01-26 Mark Galassi <rosalia@cygnus.com>
* Makefile.am (LDADD): added $(DL_LIB) since these are now
required for any user of libgnome.a.
Sun Jan 25 23:38:30 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c: Replace "Quit" with "Exit".
Fri Jan 23 17:37:38 1998 Radek Doulik <rodo@aquarius>
* procview.c (procview_clist_prepare): added pixmap indicating
sort order + change sort order, when click on sorted column
* main.c: use these nice gnome menus
Tue Jan 20 13:04:14 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* procview.cc (procview_clist_prepare): Use new gtk+ prototype for
gtk_clist_new.
Tue Jan 20 08:05:48 1998 Tom Tromey <tromey@cygnus.com>
* Makefile: Removed.
* proc/Makefile: Removed.
|