Skip to content
This repository

Jan 13, 2014

  1. Caleb Evans

    A new `drawPath()` method and other improvements

    * Added a new `drawPath()` method for creating complex paths much more easily. See the docs for details.
    * Rewrote the inheritance model to make jCanvas layers much smaller and more memory-efficient. You can enable this new model by setting
    `$.jCanvas.future.inheritance` to `true`. This will become the default inheritance model in a future release.
    * Deprecated the poorly-named `jCanvas()` method. Its behavior is ambiguous and is incompatible with the new inheritance model. The method will be removed in a future release.
    * Fixed a bug which prevented RGBA values from being animatable
    * Added many more unit tests.
    authored January 12, 2014

Jan 01, 2014

  1. Caleb Evans

    Added a multitude of new features and fixes

    * Added a feature called event hooks; event hooks allow you to bind callbacks to a canvas when an event fires for any layer on that canvas. See the docs for details.
    * Added an official jCanvas plugins repository. See the new jCanvas Plugins page for details.
    * Added new `dx` and `dy` event properties for draggable layers, which can be used to detect the change in position when dragging.
    * Added the following events: `add`, `remove`, `change`, `move`, `animatestart`, `animate`, `animateend`, `stop`, and `delay`. See the docs for details.
    * The `load` callback for images is now an official jCanvas event and therefore can be used with event hooks.
    * Added a new `type` property for the plugin API to indicate the type of drawing being drawn.
    * Added a new drawing type `circle` which is simply an alias to the type `arc`.
    * Added a new function, `setGlobalProps()`, to the plugin API
    * Removed the `fireDragGroupEvents` property; events no longer fire for layers that are dragged indirectly.
    * Fixed a bug affecting layers with `disableEvents` set to `true`.
    * Fixed a bug affecting the `step` callback for the `animateLayer()` method.
    * Fixed a bug in which `mouseout` and `mouseover` events would repeatedly (and unintentionally) fire when dragging a layer.
    * The `dragstart`, `drag`, and `dragstop` now fire before other mouse events (if their respective callbacks are defined, of course).
    authored January 01, 2014

Nov 17, 2013

  1. Caleb Evans

    Added support for drawing arrows. See the documentation for details.

    authored November 17, 2013

Nov 11, 2013

  1. Caleb Evans

    Fixed a logical error in the build script

    authored November 10, 2013

Nov 10, 2013

  1. Caleb Evans

    Fixed error in build script

    authored November 10, 2013
  2. Caleb Evans

    Merged build scripts into a single shell script

    authored November 10, 2013

Nov 09, 2013

  1. Caleb Evans

    Fixed a bug in the build script

    authored November 08, 2013
  2. Caleb Evans

    Added new build scripts

    authored November 08, 2013

Aug 24, 2013

  1. Caleb Evans

    A new 'cursors' property, and many other improvements

    – Added a new 'cursors' property for more flexibility in applying
    cursors to jCanvas layers. See the docs for details.
    – Rewrote the mouseover and mouseout events to be more stable and
    consistent
    – Improved drawing across multiple canvases (should be less buggy)
    – Removed the deprecated 'projection' property
    authored August 24, 2013

Aug 13, 2013

  1. Caleb Evans

    A new drawSlice() method, and other changes

    – Added a new drawSlice() method for creating pie charts more easily.
    The usage for this method can be found in the documentation under the
    'Slices' section.
    – Fixed bug affecting the position of drawings drawn on multiple
    canvases.
    – Improved the efficiency of layer animation when multiple properties
    are being animated
    – The deprecated font property has been removed. Please use the
    fontStyle, fontSize, and fontFamily properties instead
    – Fixed a bug which affected the dragging of a layer if a mouseup
    callback was present
    authored August 12, 2013

Jul 08, 2013

  1. Caleb Evans

    Fixed a bug which threw an error when drawing image layers

    authored July 08, 2013

Jun 13, 2013

  1. Caleb Evans

    You can now use functions as the fill/stroke style for any drawing

    - Fixed a potential bug where the wrong layer might be dragged
    - Fixed a bug that triggered the dragstart event on mousedown, even if
    the layer had not been dragged
    authored June 13, 2013

May 19, 2013

  1. Caleb Evans

    The stroke of a shape now responds to events

    - This change fixes issue #96.
    - Also added a new shadowStroke property to satisfy issue #94
    authored May 18, 2013

Apr 26, 2013

  1. Caleb Evans

    Added a new dragcancel event for when the user mouses off the canvas …

    …while dragging
    
    - The jCanvas parameters object is now the second argument to the
    draw() method's fn callback
    - Fixed issues #91 and #89
    - Fixed an issue in which drawing a single image layer with drawLayer()
    would unintentionally draw all layers
    authored April 26, 2013

Apr 12, 2013

  1. Caleb Evans

    Fixed a bug which affected image layer transformations

    authored April 11, 2013

Apr 05, 2013

  1. Caleb Evans

    Image layers now load completely before successive layers are drawn, …

    …in addition to other improvements
    
    - Shapes masked by another shape will no longer be clickable outside of
    the masked region (this is the correct behavior)
    - The drawLayers() method now automatically restores any masks that
    haven't already been restored
    - Fixed a bug in which the setPixels() method would manipulate the
    entire canvas even if the a custom width or height was set
    authored April 05, 2013

Mar 20, 2013

  1. Caleb Evans

    Fixed a bug that caused polygons to be slightly misdrawn

    Also fixed a bug that caused images to inherit properties of future
    objects
    authored March 20, 2013

Mar 13, 2013

  1. Caleb Evans

    Fixed a regression which caused potential memory leaks and crashes

    To fix this, layer methods (such as setLayer(), removeLayer(), etc.) no
    longer call the drawLayers() method internally. Therefore, developers
    now must do so manually if they wish to have a change to a layer
    reflected on the canvas. On a positive note, this gives more control to
    the developer as to when the canvas is redrawn.
    authored March 13, 2013

Feb 12, 2013

  1. Caleb Evans

    Layer methods (such as removeLayer() and setLayer()) now redraw all l…

    …ayers automatically
    authored February 11, 2013

Jan 23, 2013

  1. Caleb Evans

    Fixed a bug affecting the 'type' property

    authored January 23, 2013

Jan 19, 2013

  1. Caleb Evans

    A number of tweaks, improvements, and fixes

    - Fixed a bug that raised an error when using the drawText() method
    - All jCanvas methods now respect the value of the 'visible' property
    - Graph functions, drawn using drawGraph(), can now access the given
    parameters object
    - There is now only one supported syntax for defining function layers
    (using the 'fn' property).
    authored January 19, 2013

Jan 18, 2013

  1. Caleb Evans

    Fixed a bug caused by the new 'data' property

    - Also updated the build script to automatically generate a git tag for
    the current version
    authored January 18, 2013
  2. Caleb Evans

    Added support for cross-browser image smoothing

    - Updated build script with some minor changes
    - Updated the project manifest
    authored January 18, 2013
  3. Caleb Evans

    Fixed build script

    authored January 17, 2013
  4. Caleb Evans

    Updated build script

    authored January 17, 2013
  5. Caleb Evans

    Tweaked package manifest

    authored January 17, 2013

Jan 17, 2013

  1. Caleb Evans

    Fixed a parse error in the package manifest

    authored January 17, 2013
  2. Caleb Evans

    Fixed version number in plugin manifest

    authored January 17, 2013
  3. Caleb Evans

    Added a jQuery plugin manifest file for the new jQuery plugins reposi…

    …tory
    authored January 17, 2013

Jan 09, 2013

  1. Caleb Evans

    Fixed a critical bug affecting addLayer()

    authored January 09, 2013

Jan 08, 2013

  1. Caleb Evans

    Fixed a bug which prevented multiple canvases from supporting events

    authored January 08, 2013

Jan 05, 2013

  1. Caleb Evans

    Fixes and additions to the source

    - Fixed a bug which delayed the last running animation
    - Improved efficiency of jCanvas animations
    - Fixed a bug which restored the canvas unnecessarily for custom
    jCanvas methods
    - Added a build script for building and compressing jCanvas
    - Added a new date-like version number to jCanvas for developers
    authored January 05, 2013
Something went wrong with that request. Please try again.