GPHAT / Graphics-Primitive-0.65 / Changes

Revision history for Graphics-Primitive

0.65    Mar 31, 2014
  - Make a TextLayout's component a weak_ref to prevent circular references.

0.64    Feb 17, 2014
  - POD encoding fixes (thanks Gregor Herrmann)

0.63    Feb 17, 2014
  - Doc speclling fixes (thanks Gregor Herrmann!)

0.61    Jun 2, 2011
  - Fix broken merge (thanks Ansgar Burchardt)

0.60    May 5, 2011
  - If minimum_width or minimum_height is set, don't allow height or width to
    be set to anything smaller!

0.53    Feb 18, 2011
  - Add callback to Component

0.52    Aug 21, 2010
  - POD updates

0.51    March 22, 2010
  - Convert all remaining uses of AttributeHelpers with native traits
    (Florian Ragwitz).

0.50    March 9, 2010
  - Convert Path to use Moose's native traits rather than AttributeHelpers

0.49    January 10th, 2010
  - Remove typing for Path's primitives accessor

0.48    December 24th, 2009
  - Add _draw_arc to Driver's require

0.47    December 24th, 2009
  - Use BUILD and triggers to handle Border's color & width in constructor
    and via setting width/color.

0.46    November 10th, 2009
  - Add JSON::Any dependency (Thanks NPW via RT)

0.45    October 2nd, 2009
  - Add antialias_mode, hint_style, hint_metrics and subpixel_order attributes
    to Font.

  - Fix typo in Canvas' hints attribute

  - README update

  - Reverting 0.41 (ha!)
  - Add width to insets, sets all insets in one call

  - Don't re-layout already laid out textboxes (might get reverted)

  - Fix some deprecated Moose stuff

  - POD fixes
  - Don't short-circuit TextBox prepare if there are lines or a layout.
  - If there's no layout, don't try and create one.  This breaks things.

  - Fix error in Component->outside_width

  - More POD fixes

  - POD fixes

  - Gradient: Break out into separate Line and Radial classes

  - Move pod tests to t/author

  - Driver: Don't mark things prepared, that's Layout::Manager's job
  - TextBox: simplify logic and return from prepare immediately after super if
    there is no text
  - TextBox: make some 'enumed' attributes plain Strings, since different
    drivers will have different values
  - Remove Text::Flow requirement

  - Fix POD typo (thanks Brian Cassidy)
  - TextBox: Don't resize during prepare unless it's new minimums are bigger
  - Fix TextLayout's POD (thanks Brian Cassidy)
  - Driver: add _draw_bezier to requires (thanks Budrica Petre Cosmin)

  - Fix POD typo (thanks Brian Cassidy)
  - Driver: Add _draw_circle and _draw_ellipse
  - Bump Deps
  - Revamp text handling, see Driver::TextLayout

  - Bump Forest dependency to 0.4 to ease Win32 problems

  - MooseX::Storage support
  - Rename pack to finalize

  - Require _draw_polygon method for Driver role

  - Fill: Make paint a required attribute
  - Operations: Make Fill and Stroke clone properly

  - Add Image component (experimental)
  - POD fixes
  - Component: make parent a weakref

  - TextBox: Normalize multi-line rendering on line height

  - TextBox: Fix broken multi-line rendering

  - Component: Add parent attribute
  - Container: Set and unset parent attribute on add/remove/clear
  - Add Aligned role
  - Textbox: Use Aligned role
  - POD updates

  - Properly append component lists in find.

  - Remove duplicate code in Driver's prepare method

  - Fix accidentally marking containers as prepared when they are not

  - Component: Add class attribute
  - ComponentList: Add each and find

  - Add ComponentList and use it to keep container components.
  - Container: find_component now returns the component's index, not the

  - Useless whitespace changes
  - POD typos fixed
  - Border: switch from a single width to per-side Brushes
  - Brush: add derive, equal_to and not_equal_to
  - Border: now cloneable
  - Border: add homogeneous, equal_to and not_equal_to
  - Insets: ad as_array

  - Opps, I forgot. :(

  - Add prepared flag to components.  Attributes that affect rendering have
    been modified to set prepared to 0 via a trigger.  Any new attributes
    added henceforth should do the same.
  - Containers (being Components) also have a prepared flag, but it is set
    to true by the layout manager, not by the container itself.  Also, a
    container is not prepared unless all of it's child components are
    prepared.  See Layout::Manager for more details.
  - TextBox: Fix bug when prepared & packed with text attribute set
  - POD

  - TextBox: handle text layout with Text::Flow
  - Component: coercion of Insets from ArrayRef and Num
  - Add pop_component to Container for removing the last component.
  - POD updates
  - Component: explicitly return from outside_width and outside_height
  - Component: if minimum width or height are set already, don't change them
    in prepare
  - Font: add derive

  - Reorganize prepare/pack/draw API to be handled by the Driver
  - Add _resize and _finish_page to Driver API
  - Component: Add page attribute
  - Driver: Don't check class of incoming component before asking if it has
    components and treating it like a container.

  - Path: Add curve_to and rel_curve_to

  - Small optimizations
  - Driver: add reset
  - Textbox: Add angle
  - Use Forest rather than Tree::Simple per stevan's request

  - Path: add rectangle
  - New feature & hint: Add "preserve" to Operation.  Setting this causes
    the canvas to NOT clear the current path on a do().  This operation can
    then be used as a hint to the driver to not create a new path, but to
    reuse the old one.

  - Path: add arc, close_path, get_path
  - Path: rename get_primitive_at to get_primitive
  - Path: rename count_primitives to primitive_count
  - Path: clone points rather than using them, they tend to change
  - Path: don't inherit or implement anything out of Geo::Primitive, it's
    not necessary
  - Path: add hints attr with for driver hinting and add contiguous flag for
    use with same
  - Gradient: add line attr for guiding Gradient
  - Canvas: update path proxy methods
  - Make everything cloneable, adding Clone trait to 'deep' clone attrs

  - Path: default starting point to 0,0
  - Rename Graphics::Primitive::Stroke to Graphics::Primitive::Brush
  - Brush: Add Color
  - Add Canvas calls to Driver
  - Add Operation::Fill and Operation::Stroke
  - Lots of POD
  - Add Paint and children

  - Remove do_prepare
  - Add disclaimer
  - Add lines to Textbox and chop up input, this is likely temporary
  - Add optional layout manager to container
  - prepare now expects the driver to be passed in
  - Component's prepare sets minimum sizes to the outside ones
  - Return default font size from coderef
  - Use isa to check component classes and put container at the bottom
    so that the parent container is drawn before it's children.
  - Add get_tree method to component for visualizing the entire component
  - Prepare children before parents
  - Don't return inside_height or width < 0
  - Default Component::prepare to setting a minimum height/width based on
    outside values
  - Add Component::to_string
  - Let Container's layout_manager handle do_layout
  - Add 'pack' to the plan...
  - Path: modify line_to and move_to to accept scalars
  - Stroke: add dash_pattern

  - Add Driver
  - Set default border width to 0
  - Move component management out of LM and into Container
  - Move stuff from LM::Component role into Component
  - Remove LM dependency
  - Add Textbox
  - Change Component's inside_bounding_box origin to be a relative value

  - Don't prepare or draw invisible components in Containers

  - POD fixes
  - Add find_component and get_component as proxies in Container

  - Check for definedness of components in a Container before prepare & draw

  - Add visible to component
  - Fix Description
  - Add MI version because Yuval yelled at me

0.01    Date/time
        First version, released on an unsuspecting world.

Hosting generously
sponsored by Bytemark