summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* implement Process.environ() on Windowsrevive-environ-windowsFrank Benkstein2016-02-018-7/+183
|
* handle vanishing proceses when accessing memoryFrank Benkstein2016-01-292-0/+7
|
* unify cmdline and cwd reading some moreFrank Benkstein2016-01-291-196/+134
| | | | | | | Rename psutil_get_parameter to psutil_get_process_data and let it return only the data to the caller. This reduces the needed local variables and makes the function slightly simpler.
* fix (very) sporadic error in RemoteProcessTestCaseFrank Benkstein2016-01-291-2/+6
|
* Merge pull request #739 from fbenkstein/windows-bitness-confusionFrank Benkstein2016-01-275-125/+471
|\ | | | | Windows bitness confusion
| * address 32bit/64bit confusion in psutil_get_parametersFrank Benkstein2016-01-275-125/+471
|/ | | | | | | | | Replace the hard-coded offsets into compiler generated ones by providing struct definitions for the data to be fetched from the target process. This allows a 64 bit process to query both other 64 bit and 32 bit processes. A 32 bit process currently can only query other 32 bit processes.
* Merge pull request #741 from landryb/visaGiampaolo Rodola2016-01-263-18/+17
|\ | | | | Get system page size via sysconf()
| * Add visa to CREDITS and mention the fix in HISTORY.rstLandry Breuil2016-01-262-0/+5
| |
| * Get system page size via sysconf()Visa Hankala2016-01-261-18/+12
|/ | | | | Get system page size at runtime via sysconf(). This allows use of the same binary on systems with different page sizes.
* Merge pull request #738 from fbenkstein/refactor-win-cwd-cmdlineGiampaolo Rodola2016-01-263-156/+168
|\ | | | | Refactor win cwd cmdline
| * move core of psutil_get_cwdFrank Benkstein2016-01-261-106/+87
| | | | | | | | | | | | Move core code of psutil_get_cwd into psutil_get_parameters so the common code between psutil_get_cmdline and psutil_get_cwd can be shared.
| * move core of psutil_get_cmdlineFrank Benkstein2016-01-261-59/+77
| | | | | | | | | | Move the core code of psutil_get_cmdline into a separate function psutil_get_parameters that uses a returncode and an output parameter.
| * move windows cwd extraction codeFrank Benkstein2016-01-253-97/+110
| | | | | | | | | | | | Move cwd extraction code from _psutil_windows.c to process_info.c so its closer to psutil_get_cmdline which accesses the process' memory in a similar way.
* | Merge pull request #740 from fbenkstein/fix-win-net_if_statGiampaolo Rodola2016-01-262-1/+12
|\ \ | |/ |/| fix net_if_stats on Windows wip
| * fix net_if_stats on Windows wipFrank Benkstein2016-01-262-1/+12
|/
* update HISTORYGiampaolo Rodola2016-01-251-0/+4
|
* Merge pull request #732 from fbenkstein/revive-environGiampaolo Rodola2016-01-2511-3/+278
|\ | | | | Revive Process.environ
| * document Process.environFrank Benkstein2016-01-251-0/+9
| |
| * revive Process.environ on OSXFrank Benkstein2016-01-258-3/+161
| | | | | | | | | | Revive Process.environ on OSX. The data is right behind the command line so the new function psutil_get_environ is mostly a copy of psutil_get_cmdline.
| * revive Process.environ on LinuxFrank Benkstein2016-01-255-3/+111
|/ | | | | | Revive Process.environ on Linux. Implemented by reading from /proc/<pid>/environ. Parsing is put into a helper function parse_environ_block to be able to reuse it on other platforms.
* #743: fix unicode on all bsd platformsGiampaolo Rodola2016-01-243-0/+22
|
* get rid of other ENCODING_ERRORS_HANDLER referencesGiampaolo Rodola2016-01-232-4/+0
|
* #734: get rid of ENCODING_ERRORS_HANDLER; instead use surrogateescape by ↵Giampaolo Rodola2016-01-1410-66/+24
| | | | default all over the place
* #734: fix unicode issues on FreeBSDGiampaolo Rodola2016-01-136-28/+49
|
* try to fix occasional failure on winGiampaolo Rodola2016-01-231-2/+3
|
* fix AttributeErrorGiampaolo Rodola2016-01-231-1/+1
|
* #733: try to pass ENCODING_ERRORS_HANDLER to the C extensionGiampaolo Rodola2016-01-222-4/+17
|
* #734: osx/name() correct unicode handlingGiampaolo Rodola2016-01-222-1/+7
|
* try to fix occasional appveyor failureGiampaolo Rodola2016-01-222-9/+9
|
* try to fix 'RuntimeError: No active exception to reraise'Giampaolo Rodola2016-01-221-3/+4
|
* fix tests: +x bit was not set on exe test fileGiampaolo Rodola2016-01-222-12/+14
|
* Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2016-01-221-2/+10
|\
| * fix windows/py3.3 failureGiampaolo Rodola2016-01-221-2/+10
| |
* | #734: fix unicode issues on OSXGiampaolo Rodola2016-01-222-3/+24
|/
* osx: attempt another fix to cwd unicode; also enabl python 3.5 for appveyorGiampaolo Rodola2016-01-222-8/+9
|
* Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2016-01-221-0/+2
|\
| * fix occasional failure on windowsGiampaolo Rodola2016-01-221-0/+2
| |
* | attempt to fix encoding error on osx/py3 ↵Giampaolo Rodola2016-01-221-0/+9
|/ | | | https://travis-ci.org/giampaolo/psutil/jobs/104073357
* fix failing test on windowsGiampaolo Rodola2016-01-221-3/+6
|
* attempt to fix OSX test failureGiampaolo Rodola2016-01-222-2/+3
|
* non-unicode test refactoring: do not use subprocesses where not necessaryGiampaolo Rodola2016-01-221-31/+16
|
* Merge pull request #736 from giampaolo/fbenkstein-non-unicodeGiampaolo Rodola2016-01-226-11/+187
|\ | | | | Fbenkstein non unicode
| * expose https://github.com/fbenkstein and fix name() / cmdline() encoding ↵fbenkstein-non-unicodeGiampaolo Rodola2016-01-226-23/+67
| | | | | | | | errors on linux / py3
| * Merge branch 'non-unicode' of git://github.com/fbenkstein/psutil into ↵Giampaolo Rodola2016-01-211-3/+135
| |\ |/ / | | | | fbenkstein-non-unicode
| * add non-unicode testFrank Benkstein2016-01-211-3/+135
| |
* | sunos: Process class speedupGiampaolo Rodola2016-01-211-20/+21
|/
* improve testGiampaolo Rodola2016-01-214-4/+8
|
* update historyrelease-3.4.2Giampaolo Rodola2016-01-202-1/+2
|
* update docGiampaolo Rodola2015-12-273-35/+35
|
* Merge branch 'master' of github.com:giampaolo/psutilGiampaolo Rodola2016-01-202-39/+52
|\