Commit Graph

482 Commits

Author SHA1 Message Date
d094f06f6a Aggregate children memory and cpu
Closes: #58
2024-04-09 23:41:31 +02:00
Gaël Bonithon
d21b73e5ff process-tree-view: Reset /columns/positions at startup if invalid
This can happen if from one version to the next the number of columns
has changed, and of course if invalid data is somehow put into the
xfconf property.
2024-04-09 23:15:11 +02:00
Gaël Bonithon
aaca7e94a4 Fix xfconf memory management 2024-04-09 22:53:53 +02:00
correctmost
823c74dd47 Fix search filter memory leaks 2024-03-21 22:07:55 -04:00
Gaël Bonithon
78f41b0449 Update copyright year 2024-02-29 15:34:29 +01:00
Gaël Bonithon
8f471a735d build: Fix -Wcast-align warning from clang 2024-01-24 15:04:37 +01:00
correctmost
9bf1713e82 Fix UBSan errors 2024-01-24 14:03:22 +00:00
correctmost
7ba61f749b settings-dialog: Fix XtmRefreshRate memory leak
Closes #81
2024-01-21 17:27:59 +00:00
4882d673a3 Dark mode for process-statusbar 2023-11-22 20:01:24 +01:00
910eeba0d7 Dark mode for process-monitor 2023-11-22 18:20:09 +01:00
8e74871973 Allow multiple instances via command line option. 2023-11-22 02:14:01 +01:00
Gaël Bonithon
fb824362dc Fix blurry app icons when UI scale > 1 2023-10-06 23:58:56 +02:00
newhoa
1e1254a3c9 Use symbolic window picker icon in toolbar 2023-10-06 18:48:38 +00:00
Gaël Bonithon
b525a85691 Fix broken "show-legend" setting sync
Fixes: bd56f2ed5e
Related: !46
2023-10-04 11:10:42 +02:00
Gaël Bonithon
1bc99add3c Update copyright year 2023-10-02 19:09:15 +02:00
Waldemar Zimpel
bd56f2ed5e Rounded legend icons 2023-09-16 15:07:43 +00:00
Waldemar Zimpel
250a424754 Reopen process window maximized when closed maximized 2023-09-12 21:31:42 +00:00
Gaël Bonithon
c5714580a9 Properly finalize global objects in main 2023-09-11 09:06:34 +02:00
Gaël Bonithon
eb85e4110a Add missing include
Needed to know if GDK_WINDOWING_X11 is defined or not.

Fixes: 30185130f2
2023-09-11 06:28:21 +02:00
Gaël Bonithon
4209c4ac41 Fix more memory leaks
Found by Valgrind when starting xfce4-taskmanager.
2023-09-10 12:01:40 +02:00
Waldemar Zimpel
bfe5308f05 Fix memory leak 2023-09-08 18:36:48 +00:00
Gaël Bonithon
db725cbc5c Fix CSS related deprecation warnings 2023-09-05 17:40:32 +02:00
Gaël Bonithon
37b4595f2c Ignore GtkStatusIcon related deprecations
This is already tracked in #78.
2023-09-05 17:18:02 +02:00
Gaël Bonithon
30185130f2 Make libx11 optional, guard x11 code paths
It's not clear whether libwnck-based functionality will ever have a
counterpart on Wayland, so it seems pointless to replace libwnck with
libxfce4windowing at this stage.

Completes: ecd1e1a645
Related: #75, #78
2023-09-05 17:01:23 +02:00
John Woltman
0a155096e5 Change type so that memory values are correct (Fixes #65) 2023-08-31 19:32:35 +02:00
Gaël Bonithon
1d6dd8d86e settings-dialog: Fix untranslated label 2023-08-19 19:50:48 +02:00
Brian Tarricone
ecd1e1a645 Add minimal support for Wayland
This just gets it running properly, but disables features that are
difficult or impossible to do on Wayland (the window selector, and the
stuff that uses libwnck).  At least it doesn't segfault on startup
anymore.

Fixes: #73
2023-03-24 10:51:15 +00:00
acuifex
989c04a6cb Fix graph drop off on the right side
Make an extra vertical line outside the render canvas
to avoid creating a slanted line.
2023-03-13 18:49:47 +03:00
acuifex
af66d2fb24 Change graph peak variable to double 2023-03-13 16:20:36 +03:00
Gaël Bonithon
ac4c09cab8 Remove timeout before exiting main loop
Also xfconf_shutdown() should be called last in main(), just as
xfconf_init() is called first, so swap these two things.

Fixes: #72
2023-03-10 23:36:20 +01:00
Gaël Bonithon
8abbd3bd3a build: Add GLib requirement
For consistency with other components and for the GLib macros set by
XDT_CHECK_PACKAGE when building with xfce4-dev-tools >= 4.17.1.
2023-02-03 21:07:37 +01:00
Klemens Nanni
c456487917 Do not treat missing swap as error on OpenBSD and NetBSD
https://man.openbsd.org/swapctl.2 `SWAP_NSWAP` is always successful.

Do not treat a count of zero as error such that the task manager becomes
usable on systems without any swap configured.

Fix #67.
2022-12-25 18:39:06 +04:00
Jan Ziak
baa1dbd808 Fix process filter crash caused by the use of an uninitialized variable
gtk_tree_view_get_visible_range() documentation states the following:
"Returns TRUE if valid paths were placed in start_path and end_path"

Closes: https://gitlab.xfce.org/apps/xfce4-taskmanager/-/issues/71
Fixes: 8500675125
2022-12-17 21:40:22 +00:00
Gaël Bonithon
8500675125 Stick process view at the top in the absence of user action
Until the user manually scrolls down by some means, the view remains
stuck at the top. When the view subsequently returns to this position,
it automatically sticks again, pending further user action.

Closes: #18
MR: !30
2022-12-15 21:11:11 +00:00
Alexander Schwinn
f5adf3a1cd Revert "Revert "Get rid of GtkHeaderBar""
This reverts commit b9fec9164f.

Bugfix releases are done. So as agreed, this change is
applied again.
2022-07-13 21:50:28 +02:00
Romain Bouvier
1a36cc2959 Fix #53: taskmanager translations
- Remove ENABLE_NLS usage and call xfce_textdomain directly
- This might be broken since a recent glib upgrade (?)
- We don't need to include gi18n.h, libxfce4ui.h already include it (via
  libxfce4util), this remove build time warnings
2022-05-30 13:04:34 +02:00
Simon Steinbeiss
86e1493a22 Fix rendering bug for swap graph (relates to #44) 2022-05-24 11:17:55 +02:00
Simon Steinbeiss
b9fec9164f Revert "Get rid of GtkHeaderBar"
This reverts commit fbb25a1ce6.

The rationale is that we want to do a bugfix/maintenance release and
this change targets Xfce 4.18.
2022-05-24 11:08:04 +02:00
Evangelos Foutras
fa7c8dd091 Fix bindings related to the "show-legend" setting
- Bind to xfconf so the "show-legend" setting is saved when toggled in
  the settings dialog.
- Flip the binding in xtm_process_window_init so the visibility of the
  legend is initialized from XtmSettings.
2022-05-23 11:51:18 +00:00
Simon Steinbeiss
dc832a12b3 Fix rendering bug (Fixes #44) 2022-05-23 09:01:11 +02:00
Hunter Turcin
8a4ad6c8a3 Allow to copy full process command line (#33) 2022-03-04 01:39:12 +00:00
Kevin Bowen
9b68e2dcd8 Rename Private to Resident Bytes (#7)
Closes #7
2022-03-04 01:30:56 +00:00
Alexander Schwinn
fbb25a1ce6 Get rid of GtkHeaderBar 2022-02-10 10:21:44 +00:00
Avinash Sonawane
7ce4c4a891 uid_name has been removed from task struct 2021-11-11 12:03:50 +05:30
Hunter Turcin
644f874d91 Fix invalid casts for "About" and "Help" (Fixes #43) 2021-05-01 23:09:39 +00:00
Jan Ziak
c63dc99a51 Avoid grabbing the filter entry if it is not realized
gtk_widget_grab_focus() shouldn't be called on a widget that isn't
realized. gtk_widget_get_realized(window->filter_entry) will always
evaluate to FALSE at that codepoint.

Closes: https://gitlab.xfce.org/apps/xfce4-taskmanager/-/issues/40
2021-03-12 01:45:38 +01:00
Yousuf Philips
0d06dd82cf Show localized website label 2021-03-12 00:20:52 +00:00
Yousuf Philips
cc10804ec5 Updated copyright year, authors, and project links 2021-02-27 22:34:18 +01:00
Simon Steinbeiss
0ea0e8f4be Fix restoring the window size (Fixes #39) 2021-02-27 08:21:43 +01:00
Simon Steinbeiss
e0fc0ad2b4 Improve wording of systray option (Fixes #19) 2021-02-26 00:59:31 +01:00