summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* try to minimize dll test failures on windows by picking python dll1040-fix-unicodeGiampaolo Rodola2017-05-041-1/+1
|
* fix #1051: make disk_usage() on python 3 able to deal with bytesGiampaolo Rodola2017-05-043-12/+7
|
* assume that internally python 3 never deals with bytes; also update unicode ↵Giampaolo Rodola2017-05-032-51/+52
| | | | notes
* 1040: on python 2 convert all service strings from unicode to bytesGiampaolo Rodola2017-05-032-15/+14
|
* #1040 use QueryServiceConfigW() and return proper unicode strings on service ↵Giampaolo Rodola2017-05-031-20/+11
| | | | display_name() and username()
* #1040: use EnumServiceStatusExW and return proper unicode for service ↵Giampaolo Rodola2017-05-031-23/+24
| | | | enumerate() and display_name()
* #1040: use QueryServiceConfig2W() and return unicode for windows service ↵Giampaolo Rodola2017-05-031-13/+10
| | | | description()
* #1040: just use Py_BuildValue on both py 2 and 3Giampaolo Rodola2017-05-031-5/+1
|
* be explicit in using Py_UnicodeFromWideCharGiampaolo Rodola2017-05-031-1/+1
|
* #1040: for proc username() on Windows use LookupAccountSidW in order to ↵Giampaolo Rodola2017-05-032-31/+29
| | | | return proper unicode; also return a (domain, user) tuple instead of concatenating the string in C (I feel safer)
* Merge branch 'master' into 1040-fix-unicodeGiampaolo Rodola2017-05-031-35/+24
|\
| * have GetTokenInformation() retry only in case of INSUFFICIENT_BUFFERGiampaolo Rodola2017-05-031-13/+10
| |
| * LookupAccountSid() retry only in case of INSUFFICIENT_BUFFERGiampaolo Rodola2017-05-031-22/+14
| |
* | re #1040 have users() use WTSQuerySessionInformationW in order to returnGiampaolo Rodola2017-05-032-18/+13
| | | | | | | | unicode. Also fixes #1048 (host IP address was invalid).
* | Merge branch 'master' into 1040-fix-unicodeGiampaolo Rodola2017-05-032-34/+53
|\ \ | |/
| * fix #1047: potential memory leak of process username() on windowsGiampaolo Rodola2017-05-033-34/+54
| |
* | #1040: use default fs encoding instead of utf8 when decoding from ubytes to ↵Giampaolo Rodola2017-05-031-2/+4
| | | | | | | | unicode
* | #1040: have net_if_stats() and proc environ() return str instead of unicode ↵Giampaolo Rodola2017-05-031-15/+18
| | | | | | | | on python 2
* | re #1040: bif one win/ unicode / memory_maps()Giampaolo Rodola2017-05-033-12/+12
| | | | | | | | | | | | | | | | | | Fix memory_maps() which was returning an invalid encoded path in case of non ASCII path on both Python 2 and 3. Use GetMappedFileNameW instead of GetMappedFilenameA in order to ask the system an actual unicode path. Also, on Windows encode unicode back to str/bytes by using default fs-encoding + "replace" error handler. This paves the way for fixing other APIs in an identical manner.
* | Merge branch 'master' into 1040-fix-unicodeGiampaolo Rodola2017-05-036-20/+16
|\ \ | |/
| * Merge branch 'master' of https://github.com/giampaolo/psutilGiampaolo Rodola2017-05-030-0/+0
| |\
| | * fix conflictsGiampaolo Rodola2017-05-034-83/+61
| | |\
| | * | create_exe(): change signatureGiampaolo Rodola2017-05-021-3/+3
| | | |
| | * | register testfiles which are created during tests so that they can be ↵Giampaolo Rodola2017-05-021-8/+12
| | | | | | | | | | | | | | | | cleanup up more easily
| | * | test utils refaactoringGiampaolo Rodola2017-05-021-22/+43
| | | |
| | * | clever atexit logicGiampaolo Rodola2017-05-021-16/+15
| | | |
| * | | fix ionice test on windows + update ionice docGiampaolo Rodola2017-05-032-4/+6
| | | |
| * | | actualy passing CREATE_NO_WINDOWS to Popen makes test_children fail because ↵Giampaolo Rodola2017-05-031-7/+1
| | |/ | |/| | | | | | | it creates an extra subprocess for some reason
| * | windows: use trick to avoid creating error boxes on subprocess.PopenGiampaolo Rodola2017-05-031-1/+7
| | |
| * | skip memory_maps unicode test: ctypes opens a message box which blocks the ↵Giampaolo Rodola2017-05-031-13/+3
| | | | | | | | | | | | test suite
| * | #fix 1046: reset user SetErrorMode instead of resetting it to sysstem defaultGiampaolo Rodola2017-05-032-3/+5
| | |
| * | avoid to load wow64 dlls as they raise WindowsErrorGiampaolo Rodola2017-05-031-0/+2
| | |
* | | Merge branch 'master' into 1040-fix-unicodeGiampaolo Rodola2017-05-035-154/+210
|\ \ \ | |/ /
| * | clearer msg in case of failureGiampaolo Rodola2017-05-031-0/+2
| |/
| * move some functions out of the main test util module as they don't belong in ↵Giampaolo Rodola2017-05-022-86/+77
| | | | | | | | there
| * test subprocesses: clean them up in case of exceptionGiampaolo Rodola2017-05-021-14/+21
| |
| * finally! fix the test bug which was causing wait_for_file() to hang sometimesGiampaolo Rodola2017-05-021-4/+10
| |
| * refactor copyload_shared_libGiampaolo Rodola2017-05-024-10/+17
| |
| * Merge branch 'master' of https://github.com/giampaolo/psutilGiampaolo Rodola2017-05-023-40/+48
| |\
| | * Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2017-05-023-23/+39
| | |\
| | * | tunr copyload_shared_lib into a ctx manager and refactor testsGiampaolo Rodola2017-05-023-40/+48
| | | |
| * | | make.bat: add utility function which prints to console without producing ↵Giampaolo Rodola2017-05-021-13/+36
| | |/ | |/| | | | | | | encoding errors
| * | make.bad: add test_script cmd to quickly run a script on the flyGiampaolo Rodola2017-05-021-0/+12
| | |
* | | Merge branch '1040-fix-unicode' of https://github.com/giampaolo/psutil into ↵Giampaolo Rodola2017-05-021-9/+38
|\ \ \ | | | | | | | | | | | | 1040-fix-unicode
| * | | #1040 users() / linux: fix unicodeGiampaolo Rodola2017-05-021-5/+22
| | | |
| * | | #1040 disk_partitions() / linux: fix unicodeGiampaolo Rodola2017-05-021-4/+16
| | | |
* | | | Merge branch 'master' into 1040-fix-unicodeGiampaolo Rodola2017-05-024-23/+46
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | windows: remove dupe test to check if there's a batteryGiampaolo Rodola2017-05-021-10/+4
| | |
| * | windows: fix battery testsGiampaolo Rodola2017-05-023-18/+28
| |/
| * Add an 'expert' section in the CREDITSGiampaolo Rodola2017-05-021-0/+19
| | | | | | | | | | CC @0-wiz-0 @0-wiz-0 @landryb @whitlockjc @mrjefftang @wj32 @fbenkstein @wiggin15