Blame sysdeps/linux/ChangeLog

Packit d37888
2007-05-20  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* *.c:
Packit d37888
Packit d37888
	Got rid of glibtop_init_s calls.
Packit d37888
	If i'm right, these are only no-op and the legacy stub/ don't
Packit d37888
	have any calls to them, so it's should harmless.
Packit d37888
	So let's try it.
Packit d37888
Packit d37888
2007-05-19  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* proclist.c: (glibtop_get_proclist_s):
Packit d37888
Packit d37888
	Fixed warnings.
Packit d37888
Packit d37888
2007-05-17  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* procopenfiles.c: (glibtop_get_proc_open_files_s):
Packit d37888
	
Packit d37888
	Added missing sizeof.
Packit d37888
Packit d37888
2007-05-07  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* procwd.c:
Packit d37888
Packit d37888
	Always set buf->number.
Packit d37888
Packit d37888
2007-05-07  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* glibtop_private.c (safe_readlink):
Packit d37888
Packit d37888
	Simplified.
Packit d37888
Packit d37888
	* procopenfiles.c:
Packit d37888
Packit d37888
	Use safe_readlink.
Packit d37888
Packit d37888
2007-05-07  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* procwd.c:
Packit d37888
Packit d37888
	Implemented.
Packit d37888
Packit d37888
	* glibtop_private.c (safe_readlink):
Packit d37888
Packit d37888
	New function.
Packit d37888
Packit d37888
2007-03-13  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* fsusage.c: (get_sys_path), (linux_2_6_0):
Packit d37888
	
Packit d37888
	Fixed stat parsing for md devices.
Packit d37888
	Patch by Martin Bailey  <martin@pcalpha.com>.
Packit d37888
Packit d37888
2007-02-15  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* procmap.c: (add_smaps):
Packit d37888
	
Packit d37888
	Some more const.
Packit d37888
Packit d37888
2007-01-14  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* procmap.c: (glibtop_get_proc_map_s):
Packit d37888
	* procopenfiles.c: (parse_file):
Packit d37888
Packit d37888
	Fixed stack overflow in proc_map.
Packit d37888
	Switched to Glibc getline because fgets gets fooled by long
Packit d37888
	lines.
Packit d37888
	Closes #396477.
Packit d37888
Packit d37888
2007-01-11  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* glibtop_private.c: (get_scaled):
Packit d37888
	
Packit d37888
	Replaced two strstr by a hand-written loop in this critical code.
Packit d37888
Packit d37888
2006-09-11  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* procmap.c: (glibtop_get_proc_map_s):
Packit d37888
	
Packit d37888
	Fixed parsing s?maps on 64bit kernel.
Packit d37888
	Closes #355290.
Packit d37888
	Removed useless casts.
Packit d37888
Packit d37888
2006-08-10  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* open.c: (glibtop_open_s):
Packit d37888
	
Packit d37888
	Only print the warning if
Packit d37888
		(number of real cpu's) != (number of cpu's monitored).
Packit d37888
	Patch by Wouter Bolsterlee (uws) <uws+gnome@xs4all.nl>.
Packit d37888
	Closes #350705.
Packit d37888
Packit d37888
2006-07-27  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* netload.c: (glibtop_get_netload_s):
Packit d37888
Packit d37888
	Updated implementation.
Packit d37888
Packit d37888
2006-07-27  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* glibtop_private.c: (has_sysfs):
Packit d37888
	* glibtop_private.h:
Packit d37888
	* netload.c: (glibtop_get_netload_s):
Packit d37888
	* open.c: (set_linux_version):
Packit d37888
Packit d37888
	New has_sysfs function to avoid stating
Packit d37888
	over and over '/sys' on each netload call.
Packit d37888
Packit d37888
2006-04-02  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* msg_limits.c: (glibtop_get_msg_limits_s):
Packit d37888
	* sem_limits.c: (glibtop_get_sem_limits_s):
Packit d37888
	* shm_limits.c: (glibtop_get_shm_limits_s):
Packit d37888
	
Packit d37888
	Fixed a bunch of warnings.
Packit d37888
Packit d37888
2006-01-23  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* procmap.c: (glibtop_get_proc_map_s):
Packit d37888
Packit d37888
	I can't believe i've been so stupid :)
Packit d37888
	Uses smaps if linux > 2.6.14.
Packit d37888
Packit d37888
2005-12-15  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* proclist.c: (glibtop_get_proclist_s):
Packit d37888
	
Packit d37888
	Fixed when which == GLIBTOP_KERN_PROC_UID.
Packit d37888
	Closes #324055.
Packit d37888
Packit d37888
2005-12-14  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* open.c: (glibtop_open_s):
Packit d37888
	
Packit d37888
	Implemented server->real_ncpu.
Packit d37888
	Add a warning to display ncpu and real_ncpu on open.
Packit d37888
Packit d37888
2005-12-13  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* cpu.c: (glibtop_get_cpu_s):
Packit d37888
	* glibtop_private.c: (get_scaled), (check_cpu_line):
Packit d37888
	* glibtop_private.h:
Packit d37888
	* open.c: (glibtop_open_s):
Packit d37888
	* proctime.c: (glibtop_get_proc_time_s):
Packit d37888
Packit d37888
	Fixed server->ncpu usage (SMP handling). Need more testing.
Packit d37888
Packit d37888
2005-12-12  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* procmap.c: (add_smaps), (glibtop_get_proc_map_s):
Packit d37888
Packit d37888
	Implemented smap support.
Packit d37888
	Closes #320710.
Packit d37888
Packit d37888
2005-12-12  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* proclist.c: (glibtop_get_proclist_s):
Packit d37888
Packit d37888
	Improved so that it doesn't stat(2) every /proc/<PID>/.
Packit d37888
Packit d37888
2005-12-07  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* procmap.c: (glibtop_get_proc_map_s):
Packit d37888
Packit d37888
	Small improvements.
Packit d37888
	Use g_array_sized_new instead of g_array_new with
Packit d37888
	reserved_size = 100.
Packit d37888
	Don't use g_array_append_val to avoid copying
Packit d37888
	glibtop_map_entries. Use g_array_set_size(size + 1) instead.
Packit d37888
Packit d37888
	I've run a little python benchmark and this shows a little
Packit d37888
	speedup. I hope this would be more sensible in
Packit d37888
	gnome-system-monitor (glibtop_get_procmap is intensively used for
Packit d37888
	the 'Writable Memory' column).
Packit d37888
Packit d37888
2005-10-29  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* glibtop_private.c: (read_boot_time):
Packit d37888
Packit d37888
	Removed 1 g_return_*.
Packit d37888
Packit d37888
2005-08-15  Benoît Dejean  <benoit@placenet.org>
Packit d37888
Packit d37888
	* cpu.c: (glibtop_get_cpu_s):
Packit d37888
Packit d37888
	Do not add irq, softirq and iowait to idle.
Packit d37888
Packit d37888
2005-08-04  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* open.c: (set_linux_version), (glibtop_open_s):
Packit d37888
Packit d37888
	Reworked a bit.
Packit d37888
	Warn on 2.6 without /sys.
Packit d37888
Packit d37888
2005-08-03  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* netload.c: (glibtop_get_netload_s):
Packit d37888
Packit d37888
	Fixed for people running 2.6 without /sys.
Packit d37888
Packit d37888
2005-08-02  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_server.h:
Packit d37888
Packit d37888
	Added GLIBTOP_SUID_NETLIST.
Packit d37888
Packit d37888
2005-07-23  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* uptime.c:
Packit d37888
	
Packit d37888
	Fixed .flags.
Packit d37888
Packit d37888
2005-07-22  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_private.c: (get_page_size):
Packit d37888
	* glibtop_private.h:
Packit d37888
	* procmem.c: (glibtop_get_proc_mem_s):
Packit d37888
	* procsegment.c: (glibtop_get_proc_segment_s):
Packit d37888
	
Packit d37888
	Cached getpagesize().
Packit d37888
Packit d37888
2005-07-09  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* netload.c: (read_value), (linux_2_6_stats), (linux_2_0_stats),
Packit d37888
	(linux_2_4_stats), (glibtop_get_netload_s): Split implementations.
Packit d37888
	New (simpler) implementation for 2.6 (/sys is so nice ;)
Packit d37888
Packit d37888
2005-07-07  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_private.c: (read_boot_time), (get_boot_time): Cached boot_time.
Packit d37888
Packit d37888
2005-07-06  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	Et m***e ... CVS got me. I wanted to commit a single change on the
Packit d37888
	toplevel configure.in but commited the whole tree. Sorry.
Packit d37888
	
Packit d37888
	* glibtop_private.c:
Packit d37888
	* glibtop_private.h:
Packit d37888
	* proctime.c:
Packit d37888
	* uptime.c:
Packit d37888
	
Packit d37888
	Added new function get_boot_time.
Packit d37888
	
Packit d37888
	Retrieve boot_time from /proc/stat.
Packit d37888
Packit d37888
2005-06-13  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_private.c: (try_file_to_buffer): Ensures buffer is 0-terminated.
Packit d37888
Packit d37888
2005-06-13  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* swap.c: (glibtop_get_swap_s): Added pagein/pageout for linux 2.6.
Packit d37888
Packit d37888
2005-05-26  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* siglist.c: Fixed compilation on mips. Closes #304570.
Packit d37888
Packit d37888
2005-04-01  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_private.h: Fixed gcc-4.0 warnings.
Packit d37888
Packit d37888
2005-03-29  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* fsusage.c: (get_partition): Removed a g_return_if_fail.
Packit d37888
Packit d37888
2005-03-27  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* loadavg.c: (glibtop_get_loadavg_s):
Packit d37888
	* uptime.c: (glibtop_get_uptime_s): Fixed behaviour when locale is not C
Packit d37888
	s/strtod/g_ascii_strod/. (strtod behaviour is locale specific, which is bad
Packit d37888
	because linux /proc is always C.)
Packit d37888
Packit d37888
2005-03-25  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* netload.c: (get_ipv6): s/strerror/g_strerror/
Packit d37888
Packit d37888
2005-03-25  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* siglist.c: Updated.
Packit d37888
Packit d37888
2005-02-15  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* fsusage.c: Fixed G_GNUC attribute usage.
Packit d37888
Packit d37888
2005-01-22  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* procopenfiles.c: (parse_file), (get_all), (inet_socket_parser),
Packit d37888
	(get_all_inet_sockets), (local_socket_parser),
Packit d37888
	(get_all_local_sockets), (glibtop_get_proc_open_files_s): Total rewrite.
Packit d37888
	socket/localsocket should be much faster.
Packit d37888
Packit d37888
2005-01-16  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_private.c: (skip_token):
Packit d37888
	* glibtop_private.h: Uninlined.
Packit d37888
Packit d37888
2005-01-13  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* fsusage.c: (get_partition), (get_sys_path), (linux_2_6_0): Reworked.
Packit d37888
	Should works with IDE, SCSI. DM support is ready, but i don't know why
Packit d37888
	their /stat is empty ...
Packit d37888
Packit d37888
2005-01-12  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* procopenfiles.c: (get_all_sockets),
Packit d37888
	(glibtop_get_proc_open_files_s): Parses /proc/net/tcp only once.
Packit d37888
Packit d37888
2005-01-10  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* procopenfiles.c: (get_socket_endpoint): Fixed.
Packit d37888
Packit d37888
2005-01-10  Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_server.h:
Packit d37888
	* procopenfiles.c: (get_socket_endpoint): Disabled.
Packit d37888
	
Packit d37888
	(glibtop_get_proc_open_files_s): Secured -> g_snprintf.
Packit d37888
Packit d37888
2004-12-23  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* fsusage.c: (_glibtop_linux_get_fsusage_read_write):
Packit d37888
	* glibtop_private.h: Marked private functions G_GNUC_INTERNAL.
Packit d37888
Packit d37888
2004-11-30  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* proclist.c: (glibtop_get_proclist_s): Glibified. g_array_free which
Packit d37888
	returns a char* ! If you want to change this, please tell them
Packit d37888
	http://bugzilla.gnome.org/show_bug.cgi?id=145767 .
Packit d37888
Packit d37888
2004-11-28  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* Makefile.am:
Packit d37888
	* cpu.c:
Packit d37888
	* fsusage.c:
Packit d37888
	* glibtop_private.c: (get_scaled), (try_file_to_buffer),
Packit d37888
	(file_to_buffer): Added
Packit d37888
	* glibtop_private.h: Added
Packit d37888
	* glibtop_server.c: Removed
Packit d37888
	* glibtop_server.h:
Packit d37888
	* loadavg.c:
Packit d37888
	* mem.c:
Packit d37888
	* netload.c:
Packit d37888
	* open.c:
Packit d37888
	* prockernel.c:
Packit d37888
	* procmem.c:
Packit d37888
	* procsegment.c:
Packit d37888
	* procsignal.c:
Packit d37888
	* procstate.c:
Packit d37888
	* proctime.c:
Packit d37888
	* procuid.c:
Packit d37888
	* swap.c:
Packit d37888
	* sysinfo.c:
Packit d37888
	* uptime.c: Moved linux impl utils function from glibtop_server.* to
Packit d37888
	glibtob_private.* because glibtop_server.h is a public header.
Packit d37888
Packit d37888
2004-11-15  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* netload.c: (get_ipv6), (glibtop_get_netload_s): Added a check for NULL
Packit d37888
	pointer when wlaking though interfaces (though i don't understand why some
Packit d37888
	interface don't have an ifa_addr).
Packit d37888
	Move all ipv6 code into a separate function. Added a paranoid check on
Packit d37888
	getifaddrs.
Packit d37888
Packit d37888
2004-11-13  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* netlist.c: (glibtop_get_netlist_s): Killed warning.
Packit d37888
Packit d37888
2004-10-26  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* proctime.c: (glibtop_get_proc_time_s): Set .rtime. At last !
Packit d37888
Packit d37888
2004-09-24  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* loadavg.c: (glibtop_get_loadavg_s):
Packit d37888
	* msg_limits.c: (glibtop_get_msg_limits_s):
Packit d37888
	* shm_limits.c: (glibtop_get_shm_limits_s): Small cleanup.
Packit d37888
Packit d37888
2004-09-23  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_server.c:
Packit d37888
	* glibtop_server.h:
Packit d37888
	* procmem.c: (glibtop_get_proc_mem_s):
Packit d37888
	* procsegment.c: (glibtop_get_proc_segment_s): Removed get_pageshift().
Packit d37888
	Every one can affort a * instead of a >>, no need for this kind of
Packit d37888
	non-reentrant optimization. Saved 144B (obviously perfect cleanup ;)
Packit d37888
Packit d37888
2004-09-22  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_server.c: Removed #warning, my gcc is not buggy anymore.
Packit d37888
Packit d37888
2004-09-21  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* fsusage.c: (linux_2_6_0), (linux_2_4_0),
Packit d37888
	(_glibtop_linux_get_fsusage_read_write): Back to previous version.
Packit d37888
	Now set .flags correctly.
Packit d37888
Packit d37888
2004-09-19  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* fsusage.c: (linux_2_6_0), (linux_2_4_0),
Packit d37888
	(_glibtop_linux_get_fsusage_read_write): Updated to match new prototype.
Packit d37888
Packit d37888
2004-09-19  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* mem.c: (glibtop_get_mem_s): Added missing memset( , 0, ).
Packit d37888
Packit d37888
2004-08-03  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_server.h: Added next_token(). Changed skip_token(),
Packit d37888
	i hope it won't break any bad code.
Packit d37888
	* procstate.c: (glibtop_get_proc_state_s): Used next_token.
Packit d37888
	* proctime.c: (glibtop_get_proc_time_s): Implemented .start_time
Packit d37888
	the way it ought to be. Clean ups
Packit d37888
Packit d37888
2004-07-22  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* netload.c: (glibtop_get_netload_s): Fixed leak.
Packit d37888
	* proctime.c: (glibtop_get_proc_time_s): Don't set .timeout anymore.
Packit d37888
Packit d37888
2004-07-17  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* Makefile.am:
Packit d37888
	* fsusage.c: (linux_2_6_0), (linux_2_4_0),
Packit d37888
	(_glibtop_linux_get_fsusage_read_write): Added to repository. WIP.
Packit d37888
	
Packit d37888
Packit d37888
	* glibtop_server.h: LINUX_VERSION -> LINUX_VERSION_CODE
Packit d37888
	
Packit d37888
	* netload.c: (glibtop_get_netload_s): Cleanups. Added support for 
Packit d37888
	hardware address. s/LINUX_VERSION/LINUX_VERSION_CODE/
Packit d37888
	
Packit d37888
	* open.c: (get_linux_version): s/LINUX_VERSION/LINUX_VERSION_CODE/
Packit d37888
	
Packit d37888
	* procmap.c: (glibtop_get_proc_map_s): glibify: used GArray
Packit d37888
	
Packit d37888
	* procuid.c: (glibtop_get_proc_uid_s): s/LINUX_VERSION/LINUX_VERSION_CODE/.
Packit d37888
	Used Linux MKDEV.
Packit d37888
Packit d37888
2004-07-15  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* procstate.c: (glibtop_get_proc_state_s): Wake, we're libgtop2.7.x,
Packit d37888
	lets get rid of old buf->state format. Now using bitfield instead
Packit d37888
	letters.
Packit d37888
Packit d37888
2004-07-07  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* procargs.c: (glibtop_get_proc_args_s): Fixed. error is now correctly 
Packit d37888
	set to NULL before is's used. Fixed max_len behaviour.
Packit d37888
Packit d37888
2004-07-03  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* sysinfo.c: (init_sysinfo): Removed useless memset.
Packit d37888
Packit d37888
2004-07-03  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_server.h:
Packit d37888
	* glibtop_server.c: (try_file_to_buffer), (file_to_buffer): Added. These
Packit d37888
	functions are commonly used. Misc cleanups.	
Packit d37888
Packit d37888
	* cpu.c: (glibtop_get_cpu_s):
Packit d37888
	* loadavg.c: (glibtop_get_loadavg_s):
Packit d37888
	* mem.c: (glibtop_get_mem_s):
Packit d37888
	* open.c: (glibtop_open_s):
Packit d37888
	* swap.c: (glibtop_get_swap_s):
Packit d37888
	* sysinfo.c: (init_sysinfo):
Packit d37888
	* uptime.c: (glibtop_get_uptime_s): Replaced open/read/close by file_to_buffer().
Packit d37888
Packit d37888
2004-06-18  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* loadavg.c: (glibtop_get_loadavg_s): Whitespace cleanup.
Packit d37888
Packit d37888
	* ppp.c: (get_ISDN_stats), (is_ISDN_on): Replace g_malloc by an
Packit d37888
	array.
Packit d37888
Packit d37888
	* glibtop_server.c: (get_pageshift):
Packit d37888
	* glibtop_server.h:
Packit d37888
	* procmem.c: (glibtop_init_proc_mem_s), (glibtop_get_proc_mem_s):
Packit d37888
	* procsegment.c: (glibtop_init_proc_segment_s),
Packit d37888
	(glibtop_get_proc_segment_s): Moved the pageshift calculation to
Packit d37888
	glibtop_server.[ch]
Packit d37888
Packit d37888
	* procstate.c: (glibtop_get_proc_state_s):
Packit d37888
	* procuid.c: (glibtop_get_proc_uid_s):
Packit d37888
	* sysinfo.c: (init_sysinfo): Minor cleanups.
Packit d37888
Packit d37888
2004-06-18  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* netload.c: (glibtop_get_netload_s): Implemented new IPv6 feature.
Packit d37888
Packit d37888
2004-06-13  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* procargs.c: (glibtop_get_proc_args_s): Replaced by g_file_get_contents.
Packit d37888
Packit d37888
2004-06-13  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_server.h:
Packit d37888
	* glibtop_server.c: (get_scaled): Cleaned.
Packit d37888
	(proc_file_to_buffer): Uninlined.
Packit d37888
Packit d37888
	* sysinfo.c: (init_sysinfo): Re-implemented.
Packit d37888
	Fixed segfault on SMP.
Packit d37888
	Stores keys in cpuinfo->labels.
Packit d37888
Packit d37888
2004-06-12  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* Makefile.am:
Packit d37888
	* glibtop_server.c: Added to repository.
Packit d37888
Packit d37888
	* glibtop_server.h: (get_scaled): Uninlined and moved it to glibtop_server.c.
Packit d37888
	(skip_token) : Fixed indentation.
Packit d37888
Packit d37888
	* procmap.c: (glibtop_get_proc_map_s): Big cleanup. Better allocation
Packit d37888
	algorithm.
Packit d37888
Packit d37888
	* procmem.c:
Packit d37888
	* procsegment.c: Added missing initializations.
Packit d37888
Packit d37888
	* sem_limits.c:
Packit d37888
	* shm_limits.c: (glibtop_get_shm_limits_s):
Packit d37888
	* swap.c:
Packit d37888
	* uptime.c: Added missing const qualifiers.
Packit d37888
Packit d37888
	* sysinfo.c: (init_sysinfo): Added missing 0 initialization.
Packit d37888
	Saved 1 gboolean :D.
Packit d37888
Packit d37888
2004-06-08  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* procuid.c: (glibtop_get_proc_uid_s): Whitespace clean up.
Packit d37888
Packit d37888
2004-06-08  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_server.h: Small clean up.
Packit d37888
Packit d37888
2004-06-07  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_machine.h (skip_token): Removed.
Packit d37888
	* glibtop_server.h (skip_multiple_token): Cleaned.
Packit d37888
	* netload.c: (glibtop_get_netload_s): Replaced unsafe strcpy by g_strlcpy.
Packit d37888
	* procmap.c: (glibtop_get_proc_map_s): s/strncpy/g_strlcpy/.
Packit d37888
	* procstate.c: (glibtop_get_proc_state_s): Likewise.
Packit d37888
	* sysinfo.c: (init_sysinfo): Cleaned.
Packit d37888
Packit d37888
2004-05-26  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* cpu.c: (glibtop_get_cpu_s): Cleaned whitespaces.
Packit d37888
Packit d37888
	* open.c: (get_linux_version), (glibtop_open_s): Removed get_linux_version()
Packit d37888
	Cleaned. Remove static struct utsname.
Packit d37888
Packit d37888
2004-05-26  Benoît Dejean  <tazforever@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_server.h:
Packit d37888
	* open.c:
Packit d37888
	* procuid.c: Moved LINUX_VERSION macro to glibtop_server.h.
Packit d37888
Packit d37888
	* Changelog: Converted to UTF-8.
Packit d37888
Packit d37888
2004-05-19 Benoît Dejean  <TazForEver@dlfp.org>
Packit d37888
Packit d37888
	* glibtop_server.h (skip_line): Added test for end of string.
Packit d37888
	(get_scaled): Cleaned.
Packit d37888
Packit d37888
	* cpu.c (glibtop_get_cpu_s):
Packit d37888
	* open.c (glibtop_open_s): Fixed SMP detection. Closes #142597.
Packit d37888
Packit d37888
	* uptime.c (glibtop_get_uptime_s): Added boot_time.
Packit d37888
Packit d37888
2004-03-09  Bastien Nocera  <hadess@hadess.net>
Packit d37888
Packit d37888
	* cpu.c: (glibtop_get_cpu_s): fixup CPU usage calculation on 2.6
Packit d37888
	kernels (patch by Benoît Dejean <bnet@ifrance.com>) (Closes: #134252)
Packit d37888
Packit d37888
2004-03-04  Bastien Nocera  <hadess@hadess.net>
Packit d37888
Packit d37888
	* ppp.c: use a config.h define instead of copying the values in
Packit d37888
	the file (Closes: #126504)
Packit d37888
Packit d37888
2004-02-02  Sebastien Bacher  <seb128@debian.org>
Packit d37888
Packit d37888
        * sysdeps/linux/mem.c: (glibtop_get_mem_s): patch from
Packit d37888
        Benoît Dejean <bnet@ifrance.com> to fix libtop_mem.used
Packit d37888
        and glibtop_mem.shared values (Closes: #129863).
Packit d37888
Packit d37888
2003-12-23  Bastien Nocera  <hadess@hadess.net>
Packit d37888
Packit d37888
	* cpu.c: (glibtop_get_cpu_s):
Packit d37888
	* glibtop_server.h:
Packit d37888
	* loadavg.c: (glibtop_get_loadavg_s):
Packit d37888
	* mem.c: (glibtop_get_mem_s):
Packit d37888
	* netload.c: (glibtop_get_netload_s):
Packit d37888
	* prockernel.c: (glibtop_get_proc_kernel_s):
Packit d37888
	* procmem.c: (glibtop_get_proc_mem_s):
Packit d37888
	* procsegment.c: (glibtop_get_proc_segment_s):
Packit d37888
	* procsignal.c: (glibtop_get_proc_signal_s):
Packit d37888
	* proctime.c: (glibtop_get_proc_time_s):
Packit d37888
	* procuid.c: (glibtop_get_proc_uid_s):
Packit d37888
	* swap.c: (glibtop_get_swap_s): Apply patch from Benoît Dejean
Packit d37888
	<bnet@ifrance.com> to fix overflow issues using strtol
Packit d37888
	(Closes: #129881)
Packit d37888
Packit d37888
2003-12-23  Bastien Nocera  <hadess@hadess.net>
Packit d37888
Packit d37888
	* mem.c: (glibtop_get_mem_s): Fix calculation of used memory,
Packit d37888
	patch by Benoît Dejean, <bnet@ifrance.com> (Closes: #129863)
Packit d37888
Packit d37888
2003-12-07  Jon K Hellan  <hellan@acm.org>
Packit d37888
Packit d37888
	* ppp.c: Copy needed defines from linux/isdn.h instead of
Packit d37888
	including it, unbreaking build with linux 2.6 kernel headers.
Packit d37888
Packit d37888
2003-10-21  Bastien Nocera  <hadess@hadess.net>
Packit d37888
Packit d37888
	* Makefile.am: install only one library, libgtop-2.0
Packit d37888
	Fix build-time warnings due to the redefinition of guint64
Packit d37888
Packit d37888
2003-10-20  Bastien Nocera  <hadess@hadess.net>
Packit d37888
Packit d37888
	* glibtop_server.h:
Packit d37888
	* mem.c: (glibtop_get_mem_s):
Packit d37888
	* swap.c: (glibtop_get_swap_s): committing patch from Sebastien
Packit d37888
	Bacher <seb128@debian.org> for Linux 2.6 support (Closes: #104747)
Packit d37888
Packit d37888
2003-10-20  Bastien Nocera  <hadess@hadess.net>
Packit d37888
Packit d37888
	* cpu.c: (glibtop_get_cpu_s):
Packit d37888
	* procmap.c: (glibtop_get_proc_map_s): s/u_int64_t/guint64/
Packit d37888
Packit d37888
2003-10-20  Bastien Nocera  <hadess@hadess.net>
Packit d37888
Packit d37888
	* glibtop_machine.h:
Packit d37888
	* glibtop_server.h:
Packit d37888
	* ppp.c:
Packit d37888
	* procargs.c: (glibtop_get_proc_args_s):
Packit d37888
	* proclist.c:
Packit d37888
	* procmap.c: fixed compilation
Packit d37888
Packit d37888
2003-10-20  Bastien Nocera  <hadess@hadess.net>
Packit d37888
Packit d37888
	* ppp.c: (get_ISDN_stats):
Packit d37888
	* procargs.c: (glibtop_get_proc_args_s):
Packit d37888
	* proclist.c: (glibtop_get_proclist_s):
Packit d37888
	* procmap.c: (glibtop_get_proc_map_s):
Packit d37888
	replace all the xmalloc crap by glib memory management functions
Packit d37888
Packit d37888
2001-10-17  Abel Cheung <maddog@linux.org.hk>
Packit d37888
Packit d37888
	* Makefile.am: move header to $(includedir)/libgtop-1.0/glibtop.
Packit d37888
Packit d37888
2001-02-13  Martin Baulig  <baulig@suse.de>
Packit d37888
Packit d37888
	Fix bug #14076.
Packit d37888
Packit d37888
	* open.c (glibtop_open_s): Check whether /proc/1/cpu exists to
Packit d37888
	detect SMP support rather than reading /proc/stat; on Linux 2.4.x,
Packit d37888
	/proc/stat has "cpu" and "cpu0" entries even for non-SMP systems.
Packit d37888
Packit d37888
2000-01-22  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* procargs.c (glibtop_get_proc_args_s): Set correct `buf->size' and
Packit d37888
	`buf->flags' fields when `max_length' was given. Fixes #5183.
Packit d37888
Packit d37888
1999-11-28  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* procstate.c (glibtop_get_procstate_s): Stat "/proc/<pid>" instead
Packit d37888
	of "/proc/<pid>/state" to get `uid' and `gid'. Thanks to Jason Becker
Packit d37888
	for pointing out that GTop reported wrong uid's.
Packit d37888
Packit d37888
1999-10-19  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* uptime.c (glibtop_get_uptime_s): Don't cast uptime and idletime
Packit d37888
	to float as suggested by John Kodis.
Packit d37888
Packit d37888
1999-07-29  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* proctime.c (glibtop_get_proctime_s): Don't provide `rtime'
Packit d37888
	any longer since we must not use `rtime = utime + stime'.
Packit d37888
Packit d37888
1999-02-20  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* netload.c: Don't include <linux/ip_fw.h> for libc5 systems
Packit d37888
	since it is no longer required and makes trouble on Slakware.
Packit d37888
Packit d37888
1999-01-06  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* netload.c (glibtop_get_netload_s): Use `server->os_version_code'
Packit d37888
	instead of GLIBTOP_LINUX_VERSION_CODE.
Packit d37888
Packit d37888
1999-01-06  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	Unconditionally enable SMP support for linux.
Packit d37888
Packit d37888
	* open.c (_glibtop_open_s): Always determine the number of CPUs
Packit d37888
	we have here, not only when SMP support was enabled.
Packit d37888
Packit d37888
	* cpu.c, proctime.c: Use `server->ncpu' to determine whether to
Packit d37888
 	enable SMP support.
Packit d37888
Packit d37888
1998-12-28  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* netload.c: When using glibc, don't include <netinet/ip_fw.h>
Packit d37888
 	any longer but all headers that were included there; we only
Packit d37888
 	needed this file to get those headers.
Packit d37888
Packit d37888
1998-12-09  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* procargs.c (glibtop_get_proc_args_s): Added implementation
Packit d37888
	for this function.
Packit d37888
Packit d37888
1998-12-03  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* netload.c: No longer include <linux/version.h>, but use
Packit d37888
	GLIBTOP_LINUX_VERSION_CODE which is set by configure instead.
Packit d37888
	Define _GLIBTOP_IP_FW_ACCTIN and _GLIBTOP_IP_FW_ACCTOUT here
Packit d37888
	and use them instead of IP_FW_F_ACCTIN and IP_FW_F_ACCTOUT.
Packit d37888
Packit d37888
1998-11-30  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* netload.c: Use correct header files both for libc5 and glibc.
Packit d37888
	With Linux >= 2.1.114 we no longer use IP accounting since it
Packit d37888
	already has byte counts in /proc/net/dev.
Packit d37888
Packit d37888
1998-11-22  Martin Baulig  <baulig@merkur.uni-trier.de>
Packit d37888
Packit d37888
	* netload.c (glibtop_get_netload_s): Added implementation
Packit d37888
	for this function.
Packit d37888
Packit d37888
	The code here is smart enough to use /proc/net/ip_acct if
Packit d37888
 	IP accounting is enabled in the kernel and activated on the
Packit d37888
 	requested device and /proc/net/dev if not.
Packit d37888
Packit d37888
	To get separate statistics for received and transmitted
Packit d37888
	packets you need to use two accounting rules:
Packit d37888
Packit d37888
	ipfwadm -A in -a -P all -W eth0
Packit d37888
	ipfwadm -A out -a -P all -W eth0
Packit d37888
Packit d37888
	But before you activate IP accounting, please have a look
Packit d37888
	at /proc/net/dev - if if already contains byte counters,
Packit d37888
	then don't use IP accounting.
Packit d37888
Packit d37888
1998-10-28  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* ppp.c: Added code for ISDN here.
Packit d37888
Packit d37888
1998-10-26  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* netload.c: New file. Currently empty.
Packit d37888
Packit d37888
1998-10-26  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* procargs.c: New file. Currently empty.
Packit d37888
Packit d37888
1998-10-25  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* ppp.c: New file. Currently empty.
Packit d37888
Packit d37888
1998-10-11  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* procdata.c: Removed this obsolete file.
Packit d37888
Packit d37888
1998-10-02  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* proclist.c (glibtop_init_proclist_s): You can now also use the
Packit d37888
	`GLIBTOP_EXCLUDE_*' flags for the `which' parameter.
Packit d37888
Packit d37888
1998-10-01  Martin Baulig  <baulig@Stud.Informatik.uni-trier.de>
Packit d37888
Packit d37888
	* proclist.c (glibtop_init_proclist_s): Honor the `which' parameter
Packit d37888
	to select which processes to fetch.
Packit d37888
Packit d37888
1998-09-12  Martin Baulig  <martin@home-of-linux.org>
Packit d37888
Packit d37888
	* sysinfo.c: New file.
Packit d37888
Packit d37888
1998-09-09  Martin Baulig <baulig@Stud.Informatik.uni-trier.de>
Packit d37888
Packit d37888
	* proctime.c (glibtop_get_proc_time_s): Added SMP support.
Packit d37888
Packit d37888
	* open.c (glibtop_init_s): Initialize `ncpu' on SMP systems.
Packit d37888
Packit d37888
	* cpu.c (glibtop_get_cpu_s): Added SMP support.
Packit d37888
Packit d37888
	* ChangeLog: New file.
Packit d37888