Changelog051

Global

  • core: remove relative import
  • core: remove all stars import except for our classes
  • core: fixes bugs with from pylint
  • core: documentation fixes
  • windows/glut: add a special mode for glut, needed for unittest
  • tests: fix to make eclipse usage easier
  • tests: add textarea unit test
  • tests: add fixes for being able to run unit tests on remote server
  • packaging: add scripts for building package for win32 and osx platform
  • parser: for parse_color and glColor4f usage
  • windows: add custom icon for pymt windows
  • osx: fix font related crash on osx

Core

  • label: fix padding_x/padding_y usage
  • label: add viewport_pos/viewport_size properties, for selecting a part of the label to draw
  • label/pil: fix default font
  • label/pil: fix warning from pil

Input

  • touch: introduce apply_transform_2d() to apply a transformation on all needed attributes, and use it everywhere.
  • probesysfs: new input provider for linux platform, that will autodetect multitouch hardware device, and use the best provider for them
  • mtdev: new mtdev input provider, that rely on libmtdev. ubuntu maverick only.

Widgets

  • mtwidget: remove init() function
  • mtwidget: add documentation for properties
  • mtboxlayout: fix spacing and padding calculation
  • mtflippable: fix flip_to() behavior
  • mtscatter: use native numpy array instead of python list: no more error-on-copy.
  • mttextinput: use viewport_pos/size to draw label in the bounds of textinput
  • mtimage: add mtimage into register
  • xmlwidget: add xid attribute that will be converted to id after execution
  • mtabstractlayout: is now accessible for user to create custom layout
  • mtlabel: speed up internals + better documentation
  • mtbutton: reflect the state of the button every styles
  • mttextarea: fix padding issues + line_at_pos() calculation
  • mtinnerwindow: fix missing ungrab()

Examples

  • gallery: now work
  • desktop: add new single user desktop, to show another usage of PyMT (tablet...)
  • 3Dcow: fix drawing offset

Contributors

  • Mathieu Virbel <mathieu __at__ pymt.eu>
  • Christopher Denter <dennda __at__ pymt.eu>
  • Thomas Hansen <thomas.hansen __at__ gmail.com>
  • Jonathan Gossage <jgossage __at__ gmail.com>