1. Floris Bruynooghe
  2. psi--win32

Commits

Show all
Author Commit Message Date Builds
Floris Bruynooghe
Detect cifs (smb) mounts as remote on Linux This code does a simple attempt at detecting a remote cifs mount. It could be made cleverder by checking if the filesystem type if cifs as well, but the code for detecting traditional remote filesystems can be equally easily fooled.
Branches
mountrefactor
Floris Bruynooghe
Rename .filesystem_host attribute to .host Succinct is good.
Branches
mountrefactor
Floris Bruynooghe
Bring darwin mount implement up to date Note: I've done this blindly so someone who actually has Darwin should check and (most likely) correct it.
Branches
mountrefactor
Floris Bruynooghe
Use the common posix_set_vfs() function
Branches
mountrefactor
Floris Bruynooghe
Implement mount functionality on AIX This also creates posix_mount common module to to statvfs.
Branches
mountrefactor
Floris Bruynooghe
Merge tip from default branch
Branches
mountrefactor
Floris Bruynooghe
Get p.argv and p.env for 64-bit processes as 32-bit on Solaris On Solaris it is impossible to read the arguments and environment from a process core of a 64-bit process when we are a 32-bit process ourself. Therefore we introduce a 64-bit helper application "sargs64.so" for those cases, we fork and exec to it and read the results back via a pipe. We also deal with the fact that some processes (or some sort of LWP) are marked as neither 32 nor 64 bit. These…
Floris Bruynooghe
Solve alignment issues on Solaris
Floris Bruynooghe
Typo
Floris Bruynooghe
Allow comparison, addition and subtraction with ints and floats Allow comparison, addition and subtraction of psi.TimeSpec objects with integers and floats.
Floris Bruynooghe
Need extra pair of brackets Without those the cast happens too eary.
Floris Bruynooghe
Addition and subtraction of tuples for TimeSpec objects Just like comparing it is not possible to add and subtract tuples and TimeSpec objects as long as it is a tuple of two integers.
Floris Bruynooghe
Get full pathname for Process.exe on Solaris 10 and above As explained in #11 it is possible to retrieve the full pathname of the executable on Solaris 10 and above. This is only possible if you are the owner of the process tough, so revert back to the image name if case the full path is not readable (and for previous versions of Solaris).
Floris Bruynooghe
Don't refuse to run tests if the compiler is unknown There is not much point, either the test apps will compile or they won't. The case where they won't is handled already properly.
Floris Bruynooghe
Check for EOF *before* closing the file Closing the file before checking if for EOF isn't going to give reliable EOF detection...
Branches
mountrefactor
Floris Bruynooghe
Implement new mounti struct on SunOS
Branches
mountrefactor
Floris Bruynooghe
Assuming /dev is in the mount device is silly This makes this test even worse. Could probably better just test with getattr() for now.
Branches
mountrefactor
Floris Bruynooghe
Rename MountBase.mount_options to MountBase.options
Branches
mountrefactor
Floris Bruynooghe
Return NULL after detecting the error and freeing resources
Branches
mountrefactor
Floris Bruynooghe
Set an exception in case of a read error Returning NULL with no exception set is not goint to work out too well.
Branches
mountrefactor
Floris Bruynooghe
Don't free mounti twice in case of error Since mounti is already added to the mountlist (ml) it should not be freed separately.
Branches
mountrefactor
Floris Bruynooghe
Merge tip from default branch
Branches
mountrefactor
Floris Bruynooghe
Change name of Process.isalive() to more correct .exists() As discussed on the mailing list.
Floris Bruynooghe
Support Python 2.2 again This means not depending on datetime anywhere. The TimeSpec class loses it's methods that convert to datetime and timedelta objects, but is still useful.
Floris Bruynooghe
Merge the timespec branch into the default branch
Floris Bruynooghe
Migrate the rest of time-related values to psi.TimeSpec This also moves the psi_timespec2*() functions from psi.h/util.c to timespec.c since they are only needed inside there, no other part of PSI should be creating datetime objects. Double the time required to assume CPU-time has increased.
Branches
timespec
Floris Bruynooghe
Implement missing TimeSpec methods
Branches
timespec
Floris Bruynooghe
Merge from tip on default branch
Branches
timespec
Floris Bruynooghe
Use PyImport_ImportModuleNoBlock() from Python 2.6 Since Python 2.6 you should use PyImport_ImportModuleNoBlock() when importing a module inside a function call. Simply define that function as the old PyImport_ImportModule() before 2.6.
Floris Bruynooghe
Use PyOS_string_to_double() instead of PyOS_ascii_atof() In Python 3.1 the PyOS_ascii_*() functions are deprecated, so we use PyOS_string_to_double() now. Only the latter does not exist before 3.1 so we need to provide that function too in the earlier versions.
  1. Prev
  2. Next