Commit Graph

1010 Commits (f5c41dd5c271a88fe8e1c5de5d95d28cbd54c9e6)

Author SHA1 Message Date
Andy Meneely 981a9eab0e I dub thee v0.6.0 2015-05-26 20:57:58 -04:00
Andy Meneely d957addfc3 Enabling regression tests again 2015-05-26 20:56:58 -04:00
Andy Meneely a20100f3f8 Hiding private stuff from public documentation 2015-05-26 20:55:11 -04:00
Andy Meneely 07fdfa49d5 README tweaks
[skip ci]
2015-05-26 20:49:12 -04:00
Andy Meneely 3bbc787025 Add polygon method to dsl
Testing and documentation too.

Closes #67
2015-05-22 06:12:48 -04:00
Andy Meneely f0b71531aa Allowing close_path to pass through 2015-05-22 05:59:08 -04:00
Andy Meneely c3e76a93aa Fix a syntax error 2015-05-22 05:36:32 -04:00
Andy Meneely 6d8e44920b Allow unit conversion on radius for star 2015-05-22 05:32:27 -04:00
Andy Meneely 6cf6ec8099 Fix documentation for shapes 2015-05-22 05:32:03 -04:00
Andy Meneely b1ad59b56f Document star in changelog 2015-05-22 02:58:29 -04:00
Andy Meneely 0853b6a708 Finish regression testing of star 2015-05-21 18:29:38 -04:00
Andy Meneely b8536bcabe Regression and sanity testing for star
Closes #72
2015-05-21 09:29:01 -04:00
Andy Meneely 4b63716dfc Star feature works, testing is still pending 2015-05-21 09:29:01 -04:00
Andy Meneely 14e04a89c7 Started the star feature
Contributes to #72

[skip ci]
2015-05-21 09:29:00 -04:00
Andy Meneely ae1a7bd084 Set a non-symbol default for text embeds
Fixes #73, but in #74 we'll get it right.
2015-05-20 18:30:08 -04:00
Andy Meneely 5ee3df5138 Update changelog for hand command, and other tweaks
[skip ci]
2015-05-19 17:03:42 -04:00
Andy Meneely 0154b13e68 Use cairo context wrapper for fill colors on marketing
Actually deliver what I promised

Fixes #71
2015-05-19 16:49:13 -04:00
Andy Meneely a86974d5b8 Regression and sanity testing 2015-05-19 15:02:54 -04:00
Andy Meneely 31b583d134 Implementation of hand 2015-05-19 14:40:21 -04:00
Andy Meneely 824e26d2c2 Hacked together a basic example to work from 2015-05-13 09:42:14 -04:00
Andy Meneely f0f9b7680d Starting a basic hand command 2015-05-11 23:30:30 -04:00
Andy Meneely 071f06bdc2 Removing an old side-note.
[skip ci]
2015-04-30 14:38:32 -04:00
Andy Meneely d80d3884b1 Cleanup 2015-04-30 11:48:47 -04:00
Andy Meneely dab544a53b Add ellipse method
Also experimenting with using stroke_preserve, which in turn may make the other methods less repetitive.

Closes #66
2015-04-30 11:48:21 -04:00
Andy Meneely 9b4eb7f00b Hide generated folders from SublimeText 2015-04-30 10:34:39 -04:00
Andy Meneely 7c829c21e9 Switch to YARD's master branch now that frameless is integrated 2015-04-30 10:34:09 -04:00
Andy Meneely 6316a5ee0c Refactor the sublimetext project file 2015-04-30 10:18:28 -04:00
Andy Meneely ac7769237c Fix the csv_import.rb sample to function properly 2015-04-30 10:05:34 -04:00
Andy Meneely 71defb9e33 Fix color handling with text outline stroking
Needed to set squibcolor prior to translating the coordinate system so that gradients are relative to the card (as is documented). This also means stroking is done AFTER drawing the text, which looks better anyway.
2015-04-30 09:54:41 -04:00
Andy Meneely 2e84cf4e6a Update load_images expected png for sanity testing 2015-04-30 09:37:57 -04:00
Andy Meneely e974880e03 Add 'data' field to svg method for loading XML directly
Implements #65
2015-04-29 16:49:38 -04:00
Andy Meneely c42fbef8fa Documented stroke_width and stroke_color
Contributes to #51

[skip ci]
2015-04-28 23:38:05 -04:00
Andy Meneely b03dbb54da Fix unit test breakage 2015-04-28 22:31:15 -04:00
Andy Meneely ca70b88be9 Cleanup 2015-04-28 22:31:04 -04:00
Andy Meneely 7c69cad506 Text: outline a string with a color or gradient
Fill color is still the same with 'color' (i.e. can be overridden by markup still), but now there's a stroke_width and a stroke_color option that, when stroke_width > 0, will draw an outline below the text. Since this isn't a Pango feature, we can't do markup for outlines. (Maybe make that a feature request to Pango if you want it.)

Implements #51
2015-04-28 22:27:26 -04:00
Andy Meneely 70b2e52d57 Document conf overhaul 2015-04-28 21:10:37 -04:00
Andy Meneely acbbbca2bd Documenting the status of dpi 2015-04-28 21:09:04 -04:00
Andy Meneely b2c9586522 Updates to README after configuration overhaul 2015-04-28 21:08:15 -04:00
Andy Meneely 1c76d03e19 Dead code 2015-04-28 21:08:01 -04:00
Andy Meneely 1dc89ae76a Port global text hints to the new conf 2015-04-28 21:01:49 -04:00
Andy Meneely 923f346575 Redesigning how config files are read, stored, and delegated
With the new design, we take the load off of deck.rb and simply delegate methods over to the new conf.rb. This means that things like `antialias` is now available as a method to the normal Squib scripts for easy checking (without being mutable). Squib::Conf also handles parsing and defaults, and any potential input validation we need to do in the future.

Typographer is also set up now as a deck-wide configuration. This may change in the future if we want typography customization per-command, although that seems like a strange use case.

Lots of tests for this one, and lots of cross-cutting concerns in this commit.

This commit also includes some tweaks to rspec tests, including tagging of slow tests for a `rake spec_fastonly`

Conflicts:
	spec/samples/samples_regression_spec.rb
	spec/spec_helper.rb
	squib.sublime-project
2015-04-28 20:31:53 -04:00
Andy Meneely 74865cb10f Sanity test: pixel-by-pixel comparison 2015-04-28 16:07:40 -04:00
Andy Meneely 5ea9ce619f Basic visual sanity test for better regression testing 2015-04-27 11:15:31 -04:00
Andy Meneely bed94e47ba Changing rspec sample regressions to one-at-a-time 2015-04-27 09:58:25 -04:00
Andy Meneely cb71207161 Turning on rspec color globally 2015-04-27 09:57:55 -04:00
Andy Meneely 0aa5c500c0 Fix broken test 2015-04-27 09:26:46 -04:00
Andy Meneely 25773a8ee5 Better regression tests for roo 2015-04-27 08:50:03 -04:00
Andy Meneely d00ae0215f Upgrade to roo 2.0.0 2015-04-24 13:29:39 -04:00
Andy Meneely 8fe093fc57 More changelog cleanup: dates and bug/feature/chore groupings
Following more conventional guidelines for change logs.
2015-04-16 21:47:06 -04:00
Andy Meneely 035cd6259e Fix global hinting logic
Fixes #63
2015-04-16 21:24:21 -04:00