Permalink
Switch branches/tags
Nothing to show
Commits on Jan 24, 2013
Commits on Jan 22, 2013
  1. Merge branch 'master' into preview

    alown committed Jan 22, 2013
    Conflicts:
    	gui/drawwindow.py
Commits on Jan 21, 2013
  1. brushlib: Add GIR files in build directory to g-ir-scanner/compiler p…

    Manuel Quiñones committed with jonnor Jan 21, 2013
    …aths
  2. brushlib: Update gegl.py example with recent progress

    jonnor committed Jan 21, 2013
    Can now instantiate and draw onto a MyPaintGegl.TiledSurface,
    and it should be possible to hook this up to a GeglGtk.View
    for rendering.
  3. brushlib: Return MyPaintRectangle *, MyPaintRectangle in end_atomic()…

    jonnor committed Jan 21, 2013
    … [API]
    
    Needed to make GBoxed wrapping of MyPaintRectangles work, and
    to make end_atomic() introspectable. Also add GType registration code.
  4. brushlib: Add GType registrations of types for MyPaintGegl

    jonnor committed Jan 21, 2013
    The GEGL based surface is now accessible in GI-based bindings, like Python.
  5. brushlib: Pass in needed includedirs and GI deps for MyPaintGegl intr…

    jonnor committed Jan 21, 2013
    …ospection
    
    Without this Gegl and MyPaint types are not resolvable by the scanner,
    and files for registering GType data to brushlib/glib/ where not picked up.
  6. brushlib: Use refcounting for MyPaintBrush [API]

    jonnor committed Jan 21, 2013
    Consumers should now use mypaint_brush_unref() instead of mypaint_brush_destroy()
    This allows sane wrapping in GBoxed type objects.
  7. brushlib: Add type cast functions to get MyPaintSurface from subclass

    jonnor committed Jan 21, 2013
    There is no way with GBoxed to register inheritance, so in Python
    and other GI-based languages one can call CustomSurface.interface()
    to get a MyPaintSurface, for instance for passing to brush.stroke_to()
  8. brushlib: Use refcounting on MyPaintSurface [API]

    jonnor committed Jan 21, 2013
    Allows sane wrapping in GBoxed types for GI (also added).
    Consumers should now use mypaint_surface_unref() instead of
    mypaint_surface_destroy(), and subclasses of MyPaintSurface
    must always call mypaint_surface_init()
Commits on Jan 20, 2013
  1. brushlib: Add some API documentation and GI annotations to MyPaintBru…

    jonnor committed Jan 20, 2013
    …sh and MyPaintTiledSurface
  2. brushlib: Fix missing -$version in .typelib and .gir introspection files

    jonnor committed Jan 20, 2013
    This caused GI bindings to fail to import.
Commits on Jan 19, 2013
  1. brushlib: fix approximate AA on elliptical dabs

    mdias committed with Martin Renold Jan 19, 2013
Commits on Jan 15, 2013
  1. mypaint-gegl.py: Fix background rendering issue and tweak load dialog

    jonnor committed Jan 15, 2013
    Just typo-type mistakes.
  2. brushlib: Assign default implementations of begin/end_atomic in MyPai…

    jonnor committed Jan 15, 2013
    …ntTiledSurface
    
    Fixes segfault when the MyPaintTiledSurface subclass does not override
    these vfuncs, like for the GEGL based surface.
  3. tests: fix test_brushlib.py; uncompress 30sec data

    achadwick committed Jan 15, 2013
    Fix segfaults due to missing files in test_brushlib.py. Brushes and input
    data had moved.
    
    For compatability with brushlib/tests/mypaint-test-surface.c, use a common
    painting30sec.dat once again, uncompressed to avoid introducing a libz
    dependency on brushlib. Update Python tests which make use of pylab to
    refer to the uncompressed file.
    
    Allows all tests to be run immediately after build once again.
  4. SConstruct: use LDFLAGS during SHLINK

    achadwick committed Jan 15, 2013
    Support the standard LDFLAGS environment var during linking of shared
    libraries. We already allow CFLAGS etc. to be set.
    
    Needed for hardening in Debian (and probably other configurations)
Commits on Jan 14, 2013
  1. brush popup: moving cursor out closes

    achadwick committed Jan 14, 2013
    Close the brush popup dialog (with a reject code) when the user moves the
    pointer away from it. Use several pixels of slack around the edges to allow
    the dialog to be resized under certain WMs and DEs, and to allow for
    less-than-perfect moue coordination.
    
    Bugfix: closing the window no longer destroys the dialog.
    
    Minor stuff: add docs and comments.
Commits on Jan 13, 2013
  1. brush popup: close when re-invoked with keyboard

    achadwick committed Jan 13, 2013
    Close the brush popup if its key is pressed again while the dialog is
    active.  This makes it closer in behaviour to the colour popups.
    
    https://gna.org/bugs/?19460
  2. windowing: general support for chooser dialogs

    achadwick committed Jan 13, 2013
    Base class for popup-like dialog windows designed for choosing one thing
    quickly, e.g. the quick brush chooser. Such windows appear directly under
    the mouse, remember their size in the application preferences, and should
    close when the user has made a selection.
  3. keyboard: window-specific lists of actions

    achadwick committed Jan 13, 2013
    Let windows specify subsets of global Actions they are interested in
    handling. Low-level support for closing what would otherwise be fully modal
    windows using the same key that opened them.
    
    Slight code formatting tidyup.