bot 0.11.2 bot: ^0.11.2 copied to clipboard
A collection of (mostly) general libraries to make working with Dart more productive.
Changelog - Dart Bag of Tricks #
0.11.2 - 28 Jan 2013 (SDK 0.3.2.0 r17657) #
- A number of changes to support SDK 0.3.2.0. Although no breaking changes directly affecting users.
hop #
- Cleanly handle the case where an async task throws an exception before returning a future.
0.11.1 - 24 Jan 2013 (SDK 0.3.1.2 r17463) #
0.11.0 - 22 Jan 2013 (SDK 0.3.1.1 r17328) #
No features were knowingly added, removed, or changed but a lot of code was churned to support the updated SDK.
0.10.0 - 09 Jan 2013 (SDK 0.2.10.1 r16761) #
- BREAKING Import file names have been updated to include the
bot_
prefix.import 'package:bot/bot_retained.dart';
instead ofimport 'package:bot/retained.dart';
bot #
- BREAKING
Vector.getAngle
reports a valid value Array2d
can now be zero width, and non-zero height
bot_html #
- NEW!
getTimeoutFuture
helper. Wrapswindow.setTimeout
with niceFuture
semantics.
bot_io #
- NEW!
TempDir
- NEW!
IoHelper
bot_retained #
MouseManager
- BREAKING Renamed from
ClickManager
- Learned how to set cursor for individual
Thing
instances - Learned drag events for
Thing
instances
- BREAKING Renamed from
CanvasThing
now correctly invalidates child draw when transform changes
bot_test #
- NEW! test methods:
expectFutureComplete
andexpectFutureFail
- NEW!
throwsAssertionError
matcher
hop #
- FIX having zero tasks does not cause a exceptions
hop_tasks #
- BREAKING Renamed
createStartProcessTask
tocreateProcessTask
- Changed the return type to
Task
- Made
args
argument optional - Added optional
description
argument
- Changed the return type to
createDart2JsTask
added named paramsliveTypeAnalysis
andrejectDeprecatedFeatures
0.9.0 - 18 Dec 2012 (SDK M2 0.2.9.7 r16251) #
hop_tasks #
- BREAKING
dartdoc
now requirespackageDir
param. With recent SDK updates, one can now generate docs for libraries that use external packages. - dart2js: added optional packageRoot, output, allowUnsafeEval args
0.8.0 - 11 Dec 2012 (SDK r15948) #
BREAKING Moved dependencies on SDK libraries to versions on pub.dartlang.org.
bot #
- NEW Added
lerp
to top-level math functions. AffineTransform
- NEW learned a new constructor -
fromTranslate
- NEW learned
lerpTx
function
- NEW learned a new constructor -
bot_retained #
- BREAKING Massive rename. Element is way to overloaded, hence names like 'PElement'. Going with 'Thing'. Not ideal, but not overloaded.
Thing
- NEW learned
alpha
-- or at least uses it now - BREAKING a tiny change to how dirty state is tracked to allow thingss to effectively request animation in
drawOverride
. - BREAKING Eliminated 'cacheEnabled' ctor argument.
- BREAKING Removed
clip
property. It wasn't doing anything.
- BREAKING Removed
- NEW learned
- BREAKING
ShapeThing
constructor now uses named arguments. - NEW
NavLayer
-- copied from the Javascript library. Pretty fun. - NEW
HorizontalAlignment
andVerticalAlignment
- NEW
RetainedUtil
learnedgetOffsetVector
- NEW
SubCanvasThing
-- similiar toImageThing
, but for drawing contents of a canvas. - NEW
TextThing
An element to display text. Lot's of work to do, but a good start. - NEW
StageWrapper
- handles requesting frames and drawing them when the stage updates. - Added nifty
_RetainedEnum
as a relatively safe, private subclass for other enum types.
0.7.0 - 27 Nov 2012 (SDK r15355) #
bot #
- BREAKING Renamed exception classes to align with Dart naming conventions.
- BREAKING Slight changes to
requires
methods,DetailedArgumentException
hop #
- BREAKING Almost everything has changed.
- Multi-line output is indented correctly.
io #
- BREAKING
io.Color
is nowio.AnsiColor
- BREAKING Removed
prnt
andprntLine
. A bit silly, no?
html #
CanvasUtil
learnedsetTransform
retained #
- BREAKING Moved
CanvasUtil
tobot_html
lib
0.6.0 - 19 Nov 2012 (SDK r15042) #
- BREAKING Merged
hop
back in. Circular dependencies just make no sense. - BREAKING Moved
qr
into its own repository. - A bunch of fixes to support more recent Dart release.
0.5.0 -- 6 Nov 2012 (SDK r14554) #
- BREAKING Changes to align with Dart r14554.
0.3.0 -- 24 October 2012 (SDK r13851) #
- BREAKING Changes to align with Dart integration build v13851
0.2.1 -- 22 October 2012 (SDK r13679, M1) #
- Moved
hop
files intotool
dir. These are for devs working withbot.dart
not end users.
0.2.0 -- 21 October 2012 (SDK r13679, M1) #
bot #
DetailedIllegalArgumentException
ctor is nowconst
- Removed private
_SimpleSet
. Not used.
hop - New #
- An attempt to create a process management system similiar to Rake in the Ruby world or Cake in the CoffeeScript world.
- Moved
test
,dart2js
, anddocs
to this new system. - Naming: A play off frog. Which is a play off dart. As in "dart frog" and "frog hop". Yeah a stretch, but it's short.
retained - Breaking Changes #
PElement.draw
renamed to_stageDraw
PElement.updated
event removed- Renamed
ElementParentImpl
toParentElement
- Moved logic for handling children from
PElement
toParentElement
0.1.0 - 16 October 2012 (SDK r13679) #
- Aligned with M1 build of Dart r13679