This document contains information on pywincff's release history. Later versions are shown first.
Notable enhancements and changes are:
- Python 2.6 support has been dropped. Many projects have already moved on from Python 2.6 including Twisted which this project was initially intended to support. Additionally many libraries or tools that pywincffi no longer have direct support for Python 2.6 or simply break in later versions. This leads to having to maintain and support older libraries in ths build which is going to become increasing difficult. Pull requests to support Python 2.6 will be evaluated on a case-by-case basis.
- Various improvements to the tests and build including replacement of nosetests with pytest, transition from pep8 to pycodestyle and upgrading tools and libraries to more modern versions.
123
- Implementedpywincffi.kernel32.event.SetEvent
124
- Implementedpywincffi.kernel32.file.GetTempPath
129
- Implementedpywincffi.kernel32.console.SetConsoleTextAttribute
. Also implementedpywincffi.kernel32.console.GetConsoleScreenBufferInfo
andpywincffi.kernel32.console.CreateConsoleScreenBuffer
to properly test the new functionality.Changed ordering of arguments for the following functions as they did not match the underlying C function signatures:
130
-pywincffi.kernel32.events.CreateEvent
131
-pywincffi.kernel32.pipe.CreatePipe
133
-pywincffi.kernel32.process.CreateProcess
134
/137
- Use str.format(), and unicode string literals in a few places.138
- Improvements topywincffi.exceptions.WindowsAPIError
to better facilitate debugging.140
- Added constantERROR_BAD_EXE_FORMAT
, a required constant by Twisted.
Notable enhancements and changes are:
- Addition of
pywincffi.kernel32.process.CreateProcess
,pywincffi.kernel32.overlapped.GetOverlappedResult
and several structures. Implemented for69
.- Reworked the test setup steps so they're more consistent.
- Added a cleanup step to the tests to track down cases that were not resetting or testing the Windows API error code.
- Cleaned up the setUp step in the base test case.
- Added error constant
ERROR_INVALID_HANDLE
.pywincffi.kernel32.pid_exists
will no longer result in the Windows API error code being set to a non-zero value after exiting the function.- General code cleanup in a few of the core modules.
- Removed an installation dependency: enum34
Notable enhancements and changes are:
81
-pywincffi.user32.synchronization.WSAEventSelect
andpywincffi.user32.synchronization.WSAEnumNetworkEvents
- Removal of the
pywincffi.core.config
module in107
. The module was mostly unused internally and was not being used as part of the public APIs either.- Improvements to the
pywincffi.core.dist
module in106
. This change allows pywincffi to add constants, functions, etc to the loaded library whenpywincffi.core.dist.load
is called. Before certain constants, such asERROR_INVALID_HANDLE
, had to be imported from other modules rather than used directly from the library object.
Notable enhancements and changes are:
- Added the
pywincffi.kernel32.CreateToolhelp32Snapshot
function in101
.- Fixed a bug where
pywincffi.checks.input_check
might raiseffi.error
in73
- Several enhancements bringing
69
closer to closure.
- Addition several functions for
69
:
70
-pywincffi.kernel32.events.CreateEvent
andpywincffi.kernel32.events.OpenEvent
75
-pywincffi.kernel32.events.ResetEvent
76
-pywincffi.kernel32.process.TerminateProcess
78
-pywincffi.kernel32.handle.DuplicateHandle
79
-pywincffi.kernel32.process.ClearCommError
80
-pywincffi.user32.synchronization.MsgWaitForMultipleObjects
- Added Python 3.5 support to the build. No bug fixes or code changes where required, just a minor test modification.
- All exposed APIs updated to use the new Windows equivalent Python types in
pywincffi.wintypes
.- All exposed APIs now explicitly require either text or binary data.
- Added FOREGROUND_RED, FOREGROUND_GREEN and FOREGROUND_BLUE constants in
95
.- Improved documentation for
pywincffi.exceptions.InputError
and added the ability to generate custom error messages.
This release contains several enhancements, bug fixes and other changes. You can see all of the major issues by viewing the milestone on GitHub: https://github.com/opalmer/pywincffi/issues?q=milestone:0.2.0.
Notable enhancements and changes are:
- Improved error handling which brings more consistent error messages with better information.
- Several new Windows API function implementations including FlushFileBuffers, CreateFile, LockFileEx, UnlockFileEx, MoveFileEx, GetProcessId, and GetCurrentProcess.
- New wrapper function pid_exists().
- Refactored kernel32 module structure.
- Several bug fixes to existing tests and functions.
- Updated developer documentation to better cover code reviews, style, functions, etc.
- Fixed broken urls in PyCharm Remote Interpreter section of vagrant documentation for developers.
- Added
pywincffi.kernel32.handle.GetHandleInformation
andpywincffi.kernel32.handle.SetHandleInformation
in66
- Thanks exvito!
Contains a fix to ensure that the proper version of cffi
is installed. See #45 for more detailed information. This release also includes a fix to the internal release tool.
The first public release of pywincffi. The GitHub release contains the full list of issues, changes and pull requests. The primary purpose of this release was to end up with the tools and code necessary to begin integrating pywincffi into Twisted.
This was an internal test release. No data was published to PyPi or GitHub.