Andy Meneely
10e63c845f
Rollup of v0.13.x fixes
...
See v0.13-fixes branch for individual fixes
Conflicts:
CHANGELOG.md
lib/squib/version.rb
squib.gemspec
9 years ago
Andy Meneely
f140ff32fa
Cleanup and tests of yaml method
9 years ago
Clarence "Sparr" Risher
ebba554b5d
update existing tests for new functionality
9 years ago
Andy Meneely
ee2ed28550
text: rewrite embedding to use set_shape_renderer
...
No more arcane unicode magic!
Closes #177
Related to #170 , #171 , #158 , #103 , and #153 too.
9 years ago
Andy Meneely
2329a069d1
save_pdf: flush to file
...
Fixes #150
10 years ago
Andy Meneely
0cbcc0c683
👮 string literals should be single-quoted
10 years ago
Andy Meneely
310030eee4
👮 spaces around operators
10 years ago
Andy Meneely
8a9552126c
👮 fix space after comma
10 years ago
Andy Meneely
6e900c6641
tests: move color setting to config
10 years ago
Andy Meneely
e51b99af85
tests: fix deprecation warning
10 years ago
Andy Meneely
90f319e9f5
Refactor spec runners to be separate tests
10 years ago
Andy Meneely
56319ea817
byebug currently failing on Windows
10 years ago
Andy Meneely
5bbde3a259
Fix compatibility with rspec 3.3
11 years ago
Andy Meneely
f21e9448e1
Warn when text is ellipsized
...
Closes #80
11 years ago
Andy Meneely
c5e00f1877
Employing the new args refactoring on all shapes
11 years ago
Andy Meneely
3bbc787025
Add polygon method to dsl
...
Testing and documentation too.
Closes #67
11 years ago
Andy Meneely
0853b6a708
Finish regression testing of star
11 years ago
Andy Meneely
a86974d5b8
Regression and sanity testing
11 years ago
Andy Meneely
dab544a53b
Add ellipse method
...
Also experimenting with using stroke_preserve, which in turn may make the other methods less repetitive.
Closes #66
11 years ago
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
11 years ago
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
11 years ago
Andy Meneely
25773a8ee5
Better regression tests for roo
11 years ago
Andy Meneely
0185f2dfcf
Fixing up regression tests for release
11 years ago
Andy Meneely
91ba48f80b
Explicitly saving and restoring the matrix
11 years ago
Andy Meneely
c9f9235be7
Attempting travis fix by saving and restoring the matrix
11 years ago
Andy Meneely
574b76873e
Updating regression tests, renamed bezier curve params
11 years ago
Andy Meneely
2cc9cc8e93
Initial implementation of curves
...
Contributes to #37
11 years ago
Andy Meneely
3a57380959
Updated and corrected regression tests
11 years ago
Andy Meneely
f49bff2388
Add antialias config option
...
Closes #41
11 years ago
Andy Meneely
612c042d52
SVG backend: PDF implemented, tests passing
...
Wrapping up the svg backend work
Still some bugs to stamp out, but this is getting close to release ready.
11 years ago
Andy Meneely
8876b27473
Merging in svg back end work. All but save_doc is done.
11 years ago
Andy Meneely
a9d6ffda75
Refactoring specs, now with less leakage!
11 years ago
Andy Meneely
578c3cb6a0
Upgrading rspec, fixing mock objects bug
11 years ago
Andy Meneely
181fe9942a
Scrubbing hex for regression testing
11 years ago
Andy Meneely
407b0e9b71
Still fixing showcase regression test
11 years ago
Andy Meneely
ea598043bb
Still fixing hex scrub for showcase
11 years ago
Andy Meneely
4d3c676cf6
Fixing hex scrub for showcase
11 years ago
Andy Meneely
f3e3082f0e
Implement showcase feature
...
#Closes 26
11 years ago
Andy Meneely
fd217294c5
Implemented sheet command
11 years ago
Andy Meneely
f8f65f3de7
Support png scaling, but warns on use.
11 years ago
Andy Meneely
f60e3721c8
Half-finished csv command
11 years ago
Andy Meneely
0330937b99
More hex scrubbing for OS X
11 years ago
Andy Meneely
ba54d5c2fa
Fix unit test for stubbing out ImageSurface
11 years ago
Andy Meneely
9e45726bdf
Being more specific about encoding
11 years ago
Andy Meneely
996fab90bd
Disabling the two regression test that fail, for now
11 years ago
Andy Meneely
99ab80fb51
Rewriting and refactoring Squib sample test
11 years ago
Andy Meneely
550bb80d29
Test stability: scrubbing pango font description differently
11 years ago
Andy Meneely
993bc06176
Making tests more stable for travis
11 years ago
Andy Meneely
163c34c2ea
Making the hex scrub EVEN more flexible...
11 years ago
Andy Meneely
0f7f8acefa
Making the hex scrubbing more flexible for when pointers round weirdly
11 years ago