Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | try to minimize dll test failures on windows by picking python dll1040-fix-unicode | Giampaolo Rodola | 2017-05-04 | 1 | -1/+1 |
| | |||||
* | fix #1051: make disk_usage() on python 3 able to deal with bytes | Giampaolo Rodola | 2017-05-04 | 3 | -12/+7 |
| | |||||
* | assume that internally python 3 never deals with bytes; also update unicode ↵ | Giampaolo Rodola | 2017-05-03 | 2 | -51/+52 |
| | | | | notes | ||||
* | 1040: on python 2 convert all service strings from unicode to bytes | Giampaolo Rodola | 2017-05-03 | 2 | -15/+14 |
| | |||||
* | #1040 use QueryServiceConfigW() and return proper unicode strings on service ↵ | Giampaolo Rodola | 2017-05-03 | 1 | -20/+11 |
| | | | | display_name() and username() | ||||
* | #1040: use EnumServiceStatusExW and return proper unicode for service ↵ | Giampaolo Rodola | 2017-05-03 | 1 | -23/+24 |
| | | | | enumerate() and display_name() | ||||
* | #1040: use QueryServiceConfig2W() and return unicode for windows service ↵ | Giampaolo Rodola | 2017-05-03 | 1 | -13/+10 |
| | | | | description() | ||||
* | #1040: just use Py_BuildValue on both py 2 and 3 | Giampaolo Rodola | 2017-05-03 | 1 | -5/+1 |
| | |||||
* | be explicit in using Py_UnicodeFromWideChar | Giampaolo Rodola | 2017-05-03 | 1 | -1/+1 |
| | |||||
* | #1040: for proc username() on Windows use LookupAccountSidW in order to ↵ | Giampaolo Rodola | 2017-05-03 | 2 | -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-unicode | Giampaolo Rodola | 2017-05-03 | 1 | -35/+24 |
|\ | |||||
| * | have GetTokenInformation() retry only in case of INSUFFICIENT_BUFFER | Giampaolo Rodola | 2017-05-03 | 1 | -13/+10 |
| | | |||||
| * | LookupAccountSid() retry only in case of INSUFFICIENT_BUFFER | Giampaolo Rodola | 2017-05-03 | 1 | -22/+14 |
| | | |||||
* | | re #1040 have users() use WTSQuerySessionInformationW in order to return | Giampaolo Rodola | 2017-05-03 | 2 | -18/+13 |
| | | | | | | | | unicode. Also fixes #1048 (host IP address was invalid). | ||||
* | | Merge branch 'master' into 1040-fix-unicode | Giampaolo Rodola | 2017-05-03 | 2 | -34/+53 |
|\ \ | |/ | |||||
| * | fix #1047: potential memory leak of process username() on windows | Giampaolo Rodola | 2017-05-03 | 3 | -34/+54 |
| | | |||||
* | | #1040: use default fs encoding instead of utf8 when decoding from ubytes to ↵ | Giampaolo Rodola | 2017-05-03 | 1 | -2/+4 |
| | | | | | | | | unicode | ||||
* | | #1040: have net_if_stats() and proc environ() return str instead of unicode ↵ | Giampaolo Rodola | 2017-05-03 | 1 | -15/+18 |
| | | | | | | | | on python 2 | ||||
* | | re #1040: bif one win/ unicode / memory_maps() | Giampaolo Rodola | 2017-05-03 | 3 | -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-unicode | Giampaolo Rodola | 2017-05-03 | 6 | -20/+16 |
|\ \ | |/ | |||||
| * | Merge branch 'master' of https://github.com/giampaolo/psutil | Giampaolo Rodola | 2017-05-03 | 0 | -0/+0 |
| |\ | |||||
| | * | fix conflicts | Giampaolo Rodola | 2017-05-03 | 4 | -83/+61 |
| | |\ | |||||
| | * | | create_exe(): change signature | Giampaolo Rodola | 2017-05-02 | 1 | -3/+3 |
| | | | | |||||
| | * | | register testfiles which are created during tests so that they can be ↵ | Giampaolo Rodola | 2017-05-02 | 1 | -8/+12 |
| | | | | | | | | | | | | | | | | cleanup up more easily | ||||
| | * | | test utils refaactoring | Giampaolo Rodola | 2017-05-02 | 1 | -22/+43 |
| | | | | |||||
| | * | | clever atexit logic | Giampaolo Rodola | 2017-05-02 | 1 | -16/+15 |
| | | | | |||||
| * | | | fix ionice test on windows + update ionice doc | Giampaolo Rodola | 2017-05-03 | 2 | -4/+6 |
| | | | | |||||
| * | | | actualy passing CREATE_NO_WINDOWS to Popen makes test_children fail because ↵ | Giampaolo Rodola | 2017-05-03 | 1 | -7/+1 |
| | |/ | |/| | | | | | | | it creates an extra subprocess for some reason | ||||
| * | | windows: use trick to avoid creating error boxes on subprocess.Popen | Giampaolo Rodola | 2017-05-03 | 1 | -1/+7 |
| | | | |||||
| * | | skip memory_maps unicode test: ctypes opens a message box which blocks the ↵ | Giampaolo Rodola | 2017-05-03 | 1 | -13/+3 |
| | | | | | | | | | | | | test suite | ||||
| * | | #fix 1046: reset user SetErrorMode instead of resetting it to sysstem default | Giampaolo Rodola | 2017-05-03 | 2 | -3/+5 |
| | | | |||||
| * | | avoid to load wow64 dlls as they raise WindowsError | Giampaolo Rodola | 2017-05-03 | 1 | -0/+2 |
| | | | |||||
* | | | Merge branch 'master' into 1040-fix-unicode | Giampaolo Rodola | 2017-05-03 | 5 | -154/+210 |
|\ \ \ | |/ / | |||||
| * | | clearer msg in case of failure | Giampaolo Rodola | 2017-05-03 | 1 | -0/+2 |
| |/ | |||||
| * | move some functions out of the main test util module as they don't belong in ↵ | Giampaolo Rodola | 2017-05-02 | 2 | -86/+77 |
| | | | | | | | | there | ||||
| * | test subprocesses: clean them up in case of exception | Giampaolo Rodola | 2017-05-02 | 1 | -14/+21 |
| | | |||||
| * | finally! fix the test bug which was causing wait_for_file() to hang sometimes | Giampaolo Rodola | 2017-05-02 | 1 | -4/+10 |
| | | |||||
| * | refactor copyload_shared_lib | Giampaolo Rodola | 2017-05-02 | 4 | -10/+17 |
| | | |||||
| * | Merge branch 'master' of https://github.com/giampaolo/psutil | Giampaolo Rodola | 2017-05-02 | 3 | -40/+48 |
| |\ | |||||
| | * | Merge branch 'master' of github.com:giampaolo/psutil | Giampaolo Rodola | 2017-05-02 | 3 | -23/+39 |
| | |\ | |||||
| | * | | tunr copyload_shared_lib into a ctx manager and refactor tests | Giampaolo Rodola | 2017-05-02 | 3 | -40/+48 |
| | | | | |||||
| * | | | make.bat: add utility function which prints to console without producing ↵ | Giampaolo Rodola | 2017-05-02 | 1 | -13/+36 |
| | |/ | |/| | | | | | | | encoding errors | ||||
| * | | make.bad: add test_script cmd to quickly run a script on the fly | Giampaolo Rodola | 2017-05-02 | 1 | -0/+12 |
| | | | |||||
* | | | Merge branch '1040-fix-unicode' of https://github.com/giampaolo/psutil into ↵ | Giampaolo Rodola | 2017-05-02 | 1 | -9/+38 |
|\ \ \ | | | | | | | | | | | | | 1040-fix-unicode | ||||
| * | | | #1040 users() / linux: fix unicode | Giampaolo Rodola | 2017-05-02 | 1 | -5/+22 |
| | | | | |||||
| * | | | #1040 disk_partitions() / linux: fix unicode | Giampaolo Rodola | 2017-05-02 | 1 | -4/+16 |
| | | | | |||||
* | | | | Merge branch 'master' into 1040-fix-unicode | Giampaolo Rodola | 2017-05-02 | 4 | -23/+46 |
|\ \ \ \ | |/ / / |/| / / | |/ / | |||||
| * | | windows: remove dupe test to check if there's a battery | Giampaolo Rodola | 2017-05-02 | 1 | -10/+4 |
| | | | |||||
| * | | windows: fix battery tests | Giampaolo Rodola | 2017-05-02 | 3 | -18/+28 |
| |/ | |||||
| * | Add an 'expert' section in the CREDITS | Giampaolo Rodola | 2017-05-02 | 1 | -0/+19 |
| | | | | | | | | | | CC @0-wiz-0 @0-wiz-0 @landryb @whitlockjc @mrjefftang @wj32 @fbenkstein @wiggin15 |