- rx/tx graph
- label rx/tx/error
- rewriting some codes
- adding packetin/packetout for each pid
- adding pcap sniffing port -> count
- adding inode mapping to get port <- inode <- pid
# Conflicts:
# src/main.c
# src/process-monitor.c
# src/process-monitor.h
# src/process-statusbar.c
# src/process-window.c
# src/process-window.h
# src/settings.h
# src/task-manager-linux.c
# src/task-manager.c
# src/task-manager.h
starting freebsd
get mac address trough getifaddrs function, should be more portable
remove mac_get_binary_from_file that use /sys/class/net/%s/address
freebsd adding packetin/packetout/active socket trough sockstat
- move linux code
- adding pseudo inode mapping
OpenBSD suppoort & code cleanup
NetBSD global network usage & per process
hiding of settings and columns on network initialization failure
Apply .clang-format file
# Conflicts:
# src/main.c
# src/process-monitor.c
# src/process-monitor.h
# src/process-statusbar.c
# src/process-window.c
# src/process-window.h
# src/settings-dialog.c
# src/settings.h
# src/task-manager-bsd.c
# src/task-manager.c
# src/task-manager.h
use AC_CHECK_LIB and add the corresponding ifdef to disable pcap functionality
fix compilation openbsd
clang format
fix compilation netbsd
clang format ...
disable clang-format on task-manager-bsd, important include order
fix compilation freebsd
disable clang-format on task-manager-freebsd, important include order
typo
openbsd include
fix segfault on openbsd without permissions
fix warning on freebsd : -Wint-to-pointer-cast -Wmissing-declarations -Wshadow
fix compilation for "skel" and "solaris" (implementation todo)
freebsd iterate over all network interface
linux iterate over all network interface and fix some warnings
netbsd iterator over all network interface and fix args issue trough kvm_getargv2
fix ptr issue, clang format
ide change coding style ?
fix close button, hide when "Keep in the notification area" is enable
Discard my changes on the README
Solaris adding mac adresse, rx/tx/error for the network graph
libsocket is in the default package of solaris, it should be linked for getifaddrs
adding packet callback for solaris
solaris pid to socket mapping (tcp, tcp6, udp, udp6) !
final clang format
credit ?
Linux adding udp, udp6, icmp, icmp6, raw, raw6.
Disable virtual network device on linux.
Fix -Wincompatible-pointer-types and -Wdeprecated-declarations
use WNCK_CHECK_VERSION and WnckHandle on version >= 43.0.0
asked changes
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
- 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.
A leak occured in the timer code, and thus the memory was growing over
time. Cf. src/task-manager.c(model_update_tree_iter), the old_state
variable was not free'd.
Plugged other static leaks at the same time.
Fixed old-style function definitions, dropped unused variables, renamed
signal to xtm_signal (it shadowed a previous global declaration from
signal.h,) dropped the G_UN/LIKELY calls, missing includes and casted
here and there.
The task-manager-*.c files /would/ have to be individually fixed.
<sigh>
I started to rename "Show sytem processes" to "Show all processes"
and included a GtkTreeModelFilter in between the GtkListStore and
GtkTreeView but nooooo... I had to write private code to sort the
columns. In fact the GtkTreeViewColumn class assumes the model to
be sortable but GtkTreeModelFilter is not, although it provides an
accessor function to the underlying model which is.
And not to mention that understanding GtkTreeViewColumn is a task
on its own! Having the code under the hand is the only exit.
</sigh>
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.