Commit Graph

201 Commits (983e5468200f04d6c99594a157df1baa5e956366)

Author SHA1 Message Date
Andy Meneely 8876b27473 Merging in svg back end work. All but save_doc is done. 2015-02-20 22:56:07 -05:00
Andy Meneely d030bdd7f9 Adding specs for formatify 2015-02-13 13:45:14 -05:00
Andy Meneely a9d6ffda75 Refactoring specs, now with less leakage! 2015-02-13 13:35:38 -05:00
Andy Meneely 578c3cb6a0 Upgrading rspec, fixing mock objects bug 2015-02-13 13:26:22 -05:00
Andy Meneely d2543473c7 Fix a leftover x,y stroke on circles
Fixes #35
2015-02-13 12:54:19 -05:00
Andy Meneely 086fd5fad9 Unit conversion on save_pdf, and arbitrary paper sizes
Closes #21 and #20
2015-02-02 00:20:25 -05:00
Andy Meneely d848178bfe Unit conversion on Squib::Deck.new
Contributes to #21
2015-02-01 23:55:01 -05:00
Andy Meneely 1896689614 Refactoring out the unit conversion to its own place 2015-02-01 23:48:09 -05:00
Andy Meneely 4ecbaa4e31 Implementing format strings for filename counts on multisaves 2015-02-01 23:25:57 -05:00
Andy Meneely 7a53f68393 Implementing mask feature for images
Fixes #32.
2015-02-01 23:04:39 -05:00
Andy Meneely b0b69186e7 Don't need these regression logs 2015-01-28 15:07:57 -05:00
Andy Meneely 22866777bd Regression logs for new hex scrub 2015-01-28 10:14:14 -05:00
Andy Meneely 181fe9942a Scrubbing hex for regression testing 2015-01-26 22:54:48 -05:00
Andy Meneely bfbf7a7eba Added support for linear and radial gradients
Closes #29
2015-01-26 22:22:09 -05:00
Andy Meneely bde7fe018e Added a a sample table for showing the built-in color constants 2015-01-26 12:03:07 -05:00
Andy Meneely 407b0e9b71 Still fixing showcase regression test 2015-01-06 00:18:39 -05:00
Andy Meneely ea598043bb Still fixing hex scrub for showcase 2015-01-06 00:13:32 -05:00
Andy Meneely 4d3c676cf6 Fixing hex scrub for showcase 2015-01-06 00:09:34 -05:00
Andy Meneely 73d6eb992b Extending a non-existent parent yells at you now
Fixes #24
2015-01-05 23:59:09 -05:00
Andy Meneely c0556153b7 Achievement Unlocked: true 100% coverage. 2015-01-05 23:26:13 -05:00
Andy Meneely 31e5d75f59 Refactoring out LayoutParser 2015-01-05 23:07:46 -05:00
Andy Meneely f3e3082f0e Implement showcase feature
#Closes 26
2015-01-05 21:09:35 -05:00
Andy Meneely 574f99af12 Unit conversion handles trailing whitespace 2014-12-31 00:57:19 -05:00
Andy Meneely fd217294c5 Implemented sheet command 2014-12-31 00:47:02 -05:00
Andy Meneely c287e6137c Unit conversion feature added, tested, documented 2014-12-30 13:35:28 -05:00
Andy Meneely 979cd701e6 Added a unicode sample
Removed the unicode from the text_options.rb sample so the regression test can be back online.
2014-12-30 11:53:55 -05:00
Andy Meneely 19808c6464 Better parsing of layout files
Handles empty rules and empty files better now.

Fixes #14
2014-12-09 23:14:21 -05:00
Andy Meneely f8f65f3de7 Support png scaling, but warns on use. 2014-12-09 22:59:49 -05:00
Andy Meneely 04b55d8b32 Finished CSV feature 2014-12-08 00:05:18 -05:00
Andy Meneely f60e3721c8 Half-finished csv command 2014-11-26 00:13:45 -05:00
Andy Meneely 0330937b99 More hex scrubbing for OS X 2014-11-26 00:08:17 -05:00
Andy Meneely d5181302ad Implementing ink extent return values 2014-11-25 00:30:28 -05:00
Andy Meneely ba54d5c2fa Fix unit test for stubbing out ImageSurface 2014-11-24 17:13:22 -05:00
Andy Meneely 44fd5ca745 Disabling the correct test this time 2014-11-24 09:56:45 -05:00
Andy Meneely 4ab9b3f5d5 Clarify cairo_access 2014-11-24 09:52:12 -05:00
Andy Meneely a3e3b592fb Back to disabling these tests until I get answers 2014-11-24 09:43:39 -05:00
Andy Meneely cb63f94ac2 Attempting to re-enable old tests with new change 2014-11-20 03:41:18 -05:00
Andy Meneely 9e45726bdf Being more specific about encoding 2014-11-20 03:20:23 -05:00
Andy Meneely 996fab90bd Disabling the two regression test that fail, for now 2014-11-19 23:09:36 -05:00
Andy Meneely 99ab80fb51 Rewriting and refactoring Squib sample test 2014-11-19 22:49:12 -05:00
Andy Meneely 8050501b15 Sample logs don't need headers anymore 2014-11-19 22:48:35 -05:00
Andy Meneely 4c4c96b8b9 Disabling AGAIN for fixing the public broken build 2014-11-19 03:50:58 -05:00
Andy Meneely 550bb80d29 Test stability: scrubbing pango font description differently 2014-11-19 03:41:07 -05:00
Andy Meneely 4389c6d5d2 Disabling this test until it's more stable 2014-11-18 21:15:31 -05:00
Andy Meneely 993bc06176 Making tests more stable for travis 2014-11-18 21:05:01 -05:00
Andy Meneely 163c34c2ea Making the hex scrub EVEN more flexible... 2014-11-18 20:45:43 -05:00
Andy Meneely dd8197b91d Updating layouts regression log for new layouts 2014-11-18 09:48:51 -05:00
Andy Meneely 0f7f8acefa Making the hex scrubbing more flexible for when pointers round weirdly 2014-11-18 09:48:28 -05:00
Andy Meneely fc63087b8f Just need one card for this example 2014-11-18 09:47:49 -05:00
Andy Meneely 069f8edb02 Don't need this anymore 2014-11-18 01:55:46 -05:00
Andy Meneely 99ac612b8a Regression testing: cairo mock object stores graphics calls
So the idea behind this is maintain an "expected value" for the sample runs. We store the graphics calls and their arguments as a readable text file. Any change in the samples will break this, but the idea is to make sure this doesn't get broken unexpectedly.

Rearranged the data files in specs
2014-11-18 01:53:00 -05:00
Andy Meneely 75ab0b565f Added support for merging multiple layout files 2014-11-17 21:08:57 -05:00
Andy Meneely dbc1b6eab3 Added unit test for image api 2014-11-09 22:41:16 -05:00
Andy Meneely 8898d7cbf5 Unit testing rotate and angle 2014-11-03 22:57:31 -05:00
Andy Meneely d4f0105785 Image rotation support for png and svg commands
With unit tests and other refactorings
2014-11-03 22:47:06 -05:00
Andy Meneely 20600a97e6 Rotation works better now!! 2014-11-03 21:51:28 -05:00
Andy Meneely 4bdf37e4dc Some more tests to round out the coverage 2014-11-03 09:08:12 -05:00
Andy Meneely c52c22ddb5 New mock specs for shapes and save 2014-11-02 20:55:23 -05:00
Andy Meneely 4965df175c Fixing overzealous coverage issue 2014-11-02 19:13:35 -05:00
Andy Meneely c6e85b0e46 Refactoring to use case more, fixed build 2014-11-02 18:43:11 -05:00
Andy Meneely f4d2d759c1 Allowing strings for some inputs on text
Also writing mock object tests
2014-10-31 15:55:12 -04:00
Andy Meneely 2a58323bd4 Another unit test for dirify 2014-10-29 15:37:45 -04:00
Andy Meneely aad7180c8b Refactored spec with the splat operator 2014-10-29 15:10:10 -04:00
Andy Meneely bf91190b3b Rubocop: TrailingBlankLines 2014-10-29 12:10:37 -04:00
Andy Meneely e115135d51 Rubocop: Using single-quotes properly 2014-10-29 12:04:33 -04:00
Andy Meneely 37fd4e7733 Rubocop: Trailing Whitespace 2014-10-29 12:04:32 -04:00
David Turner 91e7adafd5 Add text rotation 2014-10-17 08:17:07 -04:00
Andy Meneely f2a2ab0573 Bringing back the extends feature
Adding in my own merge key implementation that allows you to bring in
other keys and modfiy the data. Makes moving boxes around easier.

A quasi-revert of 00e8b59144
...but with something useful!
2014-09-21 21:56:18 -04:00
Andy Meneely fd2d10771a Added a font_size override for font description 2014-09-19 23:31:44 -04:00
Andy Meneely 56905b08bc Implementing an img_dir configuration setting 2014-08-21 15:44:33 -04:00
Andy Meneely 00e8b59144 Ugh, Yaml has a <<: merge key. facepalm: true 2014-08-14 17:02:28 -04:00
Andy Meneely 6895e1276b Handling of multiple extends in a single entry 2014-08-14 16:20:02 -04:00
Andy Meneely 1371bd81bd Implementing multi-level extends, except for one case 2014-08-14 16:05:12 -04:00
Andy Meneely 8bd814fc1a Some regression tests on loading layouts 2014-08-14 14:35:46 -04:00
Andy Meneely a643cf8025 Hinting is set to off, not nil. Some more tests 2014-08-13 17:08:16 -04:00
Andy Meneely 3e08a0d604 Singleton expansion has... expanded!
Closes #13, hopefully
2014-08-11 00:22:04 -04:00
Andy Meneely f9c572116d Properly suppressing output and testing progress bar 2014-08-05 22:51:43 -04:00
Andy Meneely 6c31320411 Custom colors, closing #1 2014-08-05 21:56:07 -04:00
Andy Meneely 96d8f4039e Simplifying the run spec 2014-08-05 21:56:07 -04:00
Andy Meneely aa4babd5b6 Using the file digest 2014-08-05 15:05:49 -04:00
Andy Meneely a7ece2cb62 Making the hashing more consistent 2014-08-05 12:18:57 -04:00
Andy Meneely 61059eb0b5 Saving file hashes on the samples for regression 2014-08-04 22:40:53 -04:00
Andy Meneely 4f575f9761 More unit testsgit pull 2014-08-04 21:56:56 -04:00
Andy Meneely e835228786 Writing up some tests for input_helpers 2014-08-03 23:17:39 -04:00
Andy Meneely 6b896aa062 Fixing merge conflict 2014-08-03 23:17:00 -04:00
Andy Meneely 202b4c4235 Suppressing progress bar output and getting hints to work 2014-07-31 16:57:49 -04:00
Andy Meneely efe146e1e2 Got all the specs passing! 2014-07-28 17:22:25 -04:00
Andy Meneely c227340323 Still disabled since we're not done yet. 2014-07-28 17:09:22 -04:00
Andy Meneely f6480445df Stabilizing the code after the options switch. Getting there... 2014-07-28 17:08:57 -04:00
Andy Meneely 10890be8a1 Putting together a global `set` method for defaults 2014-07-28 16:01:46 -04:00
Andy Meneely 50c4da8e1a More work - disabling the test so it runs cleanly for now. 2014-07-25 17:41:15 -04:00
Andy Meneely a017330d0b Spec for the new command 2014-07-25 13:04:53 -04:00
Andy Meneely 952e3f522b Coverage using both SimpleCov and Coveralls 2014-07-25 12:50:56 -04:00
Andy Meneely 8615c2bb05 Getting coverage to work 2014-07-25 11:00:11 -04:00
Andy Meneely 739c900779 Adding in coveralls CI 2014-07-24 16:28:28 -04:00
Andy Meneely 5e8fa54d92 Updating spec to run all samples 2014-07-23 23:11:34 -04:00
Andy Meneely a59a3a5790 Removing debug statement 2014-07-23 09:34:50 -04:00
Andy Meneely e7217546e4 rake installs and runs all samples 2014-07-22 22:45:12 -04:00
Andy Meneely c477432239 Color handling handed off to rcairo 2014-07-17 13:11:26 -04:00
Andy Meneely 4748f1a32c Writing up some basic rspecs 2014-07-16 11:48:58 -04:00
Andy Meneely 09a668a3a9 Still messing around 2014-07-10 21:53:47 -04:00