This repository has been archived by the owner on Oct 27, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[update to 5.7.0] Win: fix segfault cause by FREE/MALLOC macros
Adam Johnson (1): Reference exact CVE in HISTORY for 5.6.6 (#1653) Anselm Kruis (1): Fix a compile error in _psutil_linux.c if PSUTIL_HAVE_IOPRIO is false (#1695) Caleb Bassi (1): Remove links to abandoned psutil ports in readme (#1669) Giampaolo Rodola (129): fix compilation err on win Readme tidelift update (#1636) SunOS, fix #1642: PID 0 raises FileNotFoundError HERE: use realpath() instead of abspath() because of failures seen in giampaolo/psutil#1638 (comment) update HISTORY for #1646 setup.py: print instructions if C compiler is not installed credits for #1648 lint update/fix wait_procs() doc bump version windows: move net_connections() in socks.c win: split code into new process_utils.c highlight cmd.exe warnings/errs from VS Drop windows XP support (#1652) small refactoring move custom exceptions in _common.py #1652: also drop support for Windows Server 2003 Windows: split C modules (#1655) #1652: remove inet_ntop.c winmake / uninstall: remove installation path from easy-install.pth file move AF_INET6 def in global.h use HeapAlloc() instead of malloc() around GetAdaptersAddresses rename global.c -> globals.c fix compiler warning fix compiler warning + remove cruft win: move ObjectNameInformation in ntextapi.h win: provide alias for HeapAlloc() cleanup ntextapi.h fix open_files() tests broken on windows due to case sensitiveness winmake.py: accept builtiple targets/args include ntextapi.h from globals.h so that we won't have to import it ever windows: move get_process_info() into process_info.c to make room for Cygwin fix compiler warnings; move some defss into process_info.h move PEB structs into ntextapi.h rm duplicated C code refactor win C code: use original WinAPI functions and remove psuil_ prefix move send_signal() code into windows module refactoring + remove dead code Win: fix compilation err on python 32 bit Win: fix segfault cause by FREE/MALLOC macros winmake.py: use argparse fix #1656: [Windows] Process.memory_full_info() raises AccessDenied even for the current user and os.getpid() fix some win tests just move stuff around get rid of globals.c; move stuff in _psutil_common.c #1652 / win / XP support: remove routine to collect files on win < vista refactoring test_contracts.py #1652: ionice(), remove code checking if we're on Win Vista+ add contract tests for IOPRIO_ win constants add more types tests #1020: remove doc part mentionin open_files() on win is only able to list files living on the C drive [Windows] rewrite of open_files() (#1660) #1652: remove win XP code path checking avilability of GetTickCount64 #1652 remove Windows Vista references update setup.py classifiers print/set syscall origin when raising NSP or AD exec make install before 2 targets check MALLOC_ZERO ret code properly cleanup C thread fix #1662: QueryFullProcessImageNameW may fail with error code = 0 (Win API bug?) AD script: print AD percentage + elapsed time update HISTORY Add *new_only* parameter for process_iter() (#1667) set proper NTSTATUS error code [Windows] psutil_handle_from_pid() refactoring (#1668) Add CI testing for FreeBSD (#1671) fix Cirrus failure Cirrus: enable python 2 run py2 tests on cirrus OpenBSD fixes (#1673) Properly handle PID type in C (#1672) update HISTORY small C refactoring [Windows] use NtQuerySystemInformation to determine process exe() (#1677) print-ad.py: double sort [Windows] connections() refactoring (#1678) #1610: clarify in the doc what cpu_count means [Windows] speedup connections (#1679) fix #1674, SunOS: disk_partitions() may raise OSError. update doc fix #1650 [Linux] sensors_temperatures() no longer emit warnings on file not found (print debug msg instead) [Linux] disk_io_counters() ValueError when parsing /sys/block (#1684) #1672, #1682: SIZEOF_INT is not available on pypy3; assume that on systems where pid_t size can't be determined at runtime pid_t is an int Fix test errors for PYPY. skip memleak tests on PyPy: they are unreliable probably because of the JIT fix #1681 / linux / disk_partitions: show swap small refact fix #1627: [Linux] Process.memory_maps() can raise KeyError fix #1576: remove code duplicate for create_time / boot_time try to fix travis test merge from master windows: convert pid_t to DWORD Add support for PyPy on Windows (#1686) refactor doc fix pypy on Linux refactoring #1672: determine pid_t size at runtime in setup.py fix #1688: use python3 in GIT commit hook hashbang small refactoring to accomodate #1691 #1672: warning pre-processor directive don't work on win + py2; also if struct.calcsize('l') < 8 assume int [Windows] increase precision of boot_time() and proc create_time() (#1693) refactoring: get rid of duplicated code; use one function to return (user, sys, create time) rename method remove unnecessary wrap_exceptions deco bind cpu_times() and create_time() with oneshot() rename var remove cache for proc_times(): unnecessary because create_time() is already cached refactoring: get rid of duplicated code; use one function to return (user, sys, create time) #1681, revert 00a3398 small refactoring #1659: provide error message in case of bugged PYPY2 version fix tests divide test_system.py unit tests in multiple classes #1693: also increase precision of users()'s login time update doc update doc update doc update history for #1695 update doc refactor print colors utils point all shebangs to python 3 get rid of pip_install() code for py2; move everything in runner.py remove deprecation test: it fails intermittently because warnings uses a global state #1053 fix syntax incompatible with py2.6 fix Makefile for freebsd revert #1667 process_iter() new_only param revert process_iter() exactly how it was pre #1667 Add C linter script (#1698) fix KeyError Javad Karabi (1): sensors_temperatures: also search /sys/devices/platform/coretemp.* for temperatures (#1648) Jon Dufresne (1): Remove use of deprecated setuptools test_suite & tests_require (#1696) Kamil Rytarowski (1): Add special case for psutil_proc_cwd/NetBSD (#1538) Mike Hommey (1): Future-proof disk_io_counters on Linux. (#1665) Po-Chuan Hsieh (1): Fix Process on FreeBSD 12.0+ i386 (#1646) Thomas Güttler (1): total physical memory (exclusive swap). (#1634) Tim Gates (1): Fix simple typo: whish -> wish (#1640) johnthagen (1): Enable PyPy3 on CI (#1682) vser1 (1): [Solaris] Fix #1637 (#1638)
- Loading branch information