Skip to content

Latest commit

 

History

History
160 lines (129 loc) · 6.66 KB

changelog.rst

File metadata and controls

160 lines (129 loc) · 6.66 KB

Changelog

This document contains information on pywincff's release history. Later versions are shown first.

Versions

latest

0.5.0

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 - Implemented pywincffi.kernel32.event.SetEvent
  • 124 - Implemented pywincffi.kernel32.file.GetTempPath
  • 129 - Implemented pywincffi.kernel32.console.SetConsoleTextAttribute. Also implemented pywincffi.kernel32.console.GetConsoleScreenBufferInfo and pywincffi.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 to pywincffi.exceptions.WindowsAPIError to better facilitate debugging.
  • 140 - Added constant ERROR_BAD_EXE_FORMAT, a required constant by Twisted.

0.4.0

Notable enhancements and changes are:

  • Addition of pywincffi.kernel32.process.CreateProcess, pywincffi.kernel32.overlapped.GetOverlappedResult and several structures. Implemented for 69.
  • 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

0.3.1

Notable enhancements and changes are:

  • 81 - pywincffi.user32.synchronization.WSAEventSelect and pywincffi.user32.synchronization.WSAEnumNetworkEvents
  • Removal of the pywincffi.core.config module in 107. 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 in 106. This change allows pywincffi to add constants, functions, etc to the loaded library when pywincffi.core.dist.load is called. Before certain constants, such as ERROR_INVALID_HANDLE, had to be imported from other modules rather than used directly from the library object.

0.3.0

Notable enhancements and changes are:

  • Added the pywincffi.kernel32.CreateToolhelp32Snapshot function in 101.
  • Fixed a bug where pywincffi.checks.input_check might raise ffi.error in 73
  • Several enhancements bringing 69 closer to closure.
  • Addition several functions for 69:
    • 70 - pywincffi.kernel32.events.CreateEvent and pywincffi.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.

0.2.0

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 and pywincffi.kernel32.handle.SetHandleInformation in 66 - Thanks exvito!

0.1.2

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.

0.1.1

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.

0.1.0

This was an internal test release. No data was published to PyPi or GitHub.