commit ffb55b0f31
Author: Curtis Hard <curtishard@me.com>
Date: Fri Mar 2 13:28:40 2018 +0000
Fixes viewBox origin translate
commit a4c032afa2
Author: Curtis Hard <curtishard@me.com>
Date: Wed Feb 28 21:29:11 2018 +0000
Added clip to viewport
commit abe8f4cba5
Author: Curtis Hard <curtishard@me.com>
Date: Wed Feb 28 21:00:20 2018 +0000
Fixes drawInRect not obeying origin
commit a16842271b
Author: Curtis Hard <curtishard@me.com>
Date: Mon Feb 26 13:46:41 2018 +0000
Resolves namespaces correctly + added common HTML list to be parsed as groups
commit 58126e06e4
Author: Curtis Hard <curtishard@me.com>
Date: Sun Feb 25 21:58:49 2018 +0000
Fixes!
commit 5af5e054ab
Author: Curtis Hard <curtishard@me.com>
Date: Fri Feb 23 22:37:53 2018 +0000
Fixed defNode being removed
commit edd3aa1f33
Author: Curtis Hard <curtishard@me.com>
Date: Fri Feb 23 16:29:54 2018 +0000
excluded various elements from diff
commit 3366bc4fa5
Author: Curtis Hard <curtishard@me.com>
Date: Fri Feb 23 14:05:03 2018 +0000
Better optimaztion
commit 104002183b
Author: Curtis Hard <curtishard@me.com>
Date: Thu Feb 22 22:17:50 2018 +0000
Added rudimenatry inline styles -> stylesheet
commit 7010b7ea50
Author: Curtis Hard <curtishard@me.com>
Date: Thu Feb 22 13:33:32 2018 +0000
Correct order of cleanup
commit 5266a8c07a
Author: Curtis Hard <curtishard@me.com>
Date: Thu Feb 22 08:22:17 2018 +0000
corrent length of string
commit caf55e8bdf
Author: Curtis Hard <curtishard@me.com>
Date: Wed Feb 21 20:45:17 2018 +0000
removes useless def if required
commit 8160d05eba
Author: Curtis Hard <curtishard@me.com>
Date: Tue Feb 20 14:12:02 2018 +0000
Refactor of a few methods
commit a6d6a06521
Author: Curtis Hard <curtishard@me.com>
Date: Tue Feb 20 09:40:21 2018 +0000
Added collpasing of gradients
commit 103a4d71f6
Author: Curtis Hard <curtishard@me.com>
Date: Mon Feb 19 19:07:30 2018 +0000
Reduced floats even more
commit 98874b1d2c
Author: Curtis Hard <curtishard@me.com>
Date: Mon Feb 19 18:53:02 2018 +0000
More compression goodness
commit e742db31e0
Author: Curtis Hard <curtishard@me.com>
Date: Mon Feb 19 14:02:15 2018 +0000
Added intermediateParent
commit 198fd09f07
Author: Curtis Hard <curtishard@me.com>
Date: Mon Feb 19 11:51:37 2018 +0000
Fixes! and performance increases
commit 3493194b1b
Author: Curtis Hard <curtishard@me.com>
Date: Mon Feb 19 08:20:02 2018 +0000
Scale computation
commit 0016775eaf
Author: Curtis Hard <curtishard@me.com>
Date: Sun Feb 18 22:33:26 2018 +0000
More goodness
commit 304a04cc22
Author: Curtis Hard <curtishard@me.com>
Date: Sun Feb 18 22:32:04 2018 +0000
Vastly improved the exporter
commit e4fd0af582
Author: Curtis Hard <curtishard@me.com>
Date: Sun Feb 18 15:20:28 2018 +0000
This is insanely important!
commit 69a2a0c97e
Author: Curtis Hard <curtishard@me.com>
Date: Sun Feb 4 22:02:19 2018 +0000
Refactor
commit 5299bb0479
Author: Curtis Hard <curtishard@me.com>
Date: Sun Feb 4 21:58:21 2018 +0000
will continue to use CoreAnimation for the time being
commit 4f1943cad1
Author: Curtis Hard <curtishard@me.com>
Date: Sun Feb 4 21:57:46 2018 +0000
Fixes gradient strokes
commit f02d186293
Author: Curtis Hard <curtishard@me.com>
Date: Sun Feb 4 11:15:04 2018 +0000
trying to get masks to work
commit 3291718cfb
Author: Curtis Hard <curtishard@me.com>
Date: Fri Feb 2 22:35:22 2018 +0000
Beginning of quartz renderer
commit 6fbaaf5884
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 29 22:32:08 2018 +0000
Removed useless log
commit abc65797ea
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 29 21:37:45 2018 +0000
I think gradients work :D
commit af5a1c2718
Author: Curtis Hard <curtishard@me.com>
Date: Sun Jan 28 22:18:02 2018 +0000
Possible fx and fy things…
commit fb9a5282b9
Author: Curtis Hard <curtishard@me.com>
Date: Sun Jan 28 19:22:40 2018 +0000
Even more gradient fixes
commit d83933a103
Author: Curtis Hard <curtishard@me.com>
Date: Sun Jan 28 14:21:50 2018 +0000
Various improvements
commit bd7a0d5021
Author: Curtis Hard <curtishard@me.com>
Date: Sat Jan 27 22:26:33 2018 +0000
Start to linear
commit a9a038568c
Author: Curtis Hard <curtishard@me.com>
Date: Sat Jan 27 21:14:25 2018 +0000
This kind of actually works...
commit 77fbb38b6f
Author: Curtis Hard <curtishard@me.com>
Date: Sat Jan 27 20:31:36 2018 +0000
I guess this could be a good start?
Posssible start of fixes?
commit 12c3191569
Author: Curtis Hard <curtishard@me.com>
Date: Sat Jan 27 15:32:15 2018 +0000
Added method for findind absolute position
commit e3e9626ef7
Author: Curtis Hard <curtishard@me.com>
Date: Sat Jan 27 14:25:03 2018 +0000
Fixes crash due to parentNode on temp groups being released
commit 1160d89f16
Author: Curtis Hard <curtishard@me.com>
Date: Fri Jan 26 22:29:22 2018 +0000
Fixes use statements with transforms
commit 1575cbfde8
Author: Curtis Hard <curtishard@me.com>
Date: Fri Jan 26 18:16:03 2018 +0000
Moved color tree over to modern syntax
commit 5c4c2eee91
Author: Curtis Hard <curtishard@me.com>
Date: Thu Jan 25 18:23:53 2018 +0000
Added HSL/HSLA support
commit 087b13e58f
Author: Curtis Hard <curtishard@me.com>
Date: Wed Jan 24 22:24:43 2018 +0000
Various image loading issues resolved from base64 images
commit 1183e167aa
Author: Curtis Hard <curtishard@me.com>
Date: Wed Jan 24 21:21:41 2018 +0000
Rect issue fix
commit 4dbfc59437
Author: Curtis Hard <curtishard@me.com>
Date: Wed Jan 24 21:19:24 2018 +0000
Moved transforms over from being concatinated to seperate calls
commit 409bd509fa
Author: Curtis Hard <curtishard@me.com>
Date: Wed Jan 24 20:30:38 2018 +0000
Fixes color issue
commit 8ae1d1b4e0
Author: Curtis Hard <curtishard@me.com>
Date: Wed Jan 24 18:41:08 2018 +0000
Removed check as its not needed here
commit 7243fbe5ff
Author: Curtis Hard <curtishard@me.com>
Date: Wed Jan 24 18:35:43 2018 +0000
Added excludeAttributes list to parseCommonAttributes
added x and y to that list for rect
commit 51b9a5e85f
Author: Curtis Hard <curtishard@me.com>
Date: Tue Jan 23 19:53:04 2018 +0000
Added isSubcommand to IJSVGCommand
- Fixes move command going awol when preceding move commands are not subcommands (woah)
commit 40098589de
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 22 22:04:48 2018 +0000
removed reverseObjectEnumerator
IJSVGTransform already deals with this at parse stage (was a test from earlier), spec states transforms are applied in reverse order (which parser already dealth with :-))
commit 7cb96b21f2
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 22 22:01:56 2018 +0000
Removed use of origin here as its computed in apply defaults
commit 1bff7c6970
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 22 21:48:07 2018 +0000
Various fixes… still going…
commit 912bdd5029e2afab7736b36b694fb77e9b82fe7d
Author: Curtis Hard <curtishard@me.com>
Date: Sat Jan 14 12:00:34 2017 +0000
Various formatting changes
commit 3de9a8a00df4391c1be592cdda63fcd7cc49511b
Author: Curtis Hard <curtishard@me.com>
Date: Sat Jan 14 12:00:20 2017 +0000
Updated to use the backing sclae helper
commit b06b74b2b5d22c1b7d4cfad789d97cc1319e6961
Author: Curtis Hard <curtishard@me.com>
Date: Sat Jan 14 11:48:15 2017 +0000
Formatting fixes
commit e3fbca0f3b44f6a5c282e1e43b711addefc9b3fc
Author: Curtis Hard <curtishard@me.com>
Date: Sat Jan 14 00:20:40 2017 +0000
Fixes for SVG sprite rendereing / exporting with correct color
commit 0cc40c6e923865dc93e7912fd5a61dba88b3647a
Author: Curtis Hard <curtishard@me.com>
Date: Sat Jan 14 00:10:46 2017 +0000
Unit swapping to much better object way
commit 7a3d41d071ab510704ea0803f93804794c330467
Author: Curtis Hard <curtishard@me.com>
Date: Fri Jan 13 14:58:11 2017 +0000
Added more default values
commit 55b397b15deb0ffa39611f7ad2c840d9d1982adc
Author: Curtis Hard <curtishard@me.com>
Date: Thu Jan 12 23:23:15 2017 +0000
Made constant strings for all parsed attributes
commit 3e0423ba0ed6b8c223c0684c9abf87ee9e8264c7
Author: Curtis Hard <curtishard@me.com>
Date: Thu Jan 12 21:47:00 2017 +0000
More fixes to parsing attribuets
commit 2558f4e07feea1730df191f08cc110ecf1dbd963
Author: Curtis Hard <curtishard@me.com>
Date: Thu Jan 12 21:42:42 2017 +0000
Various changes
commit 64a5d8362209ae1ae53bae3ff65c48dca2c08324
Author: Curtis Hard <curtishard@me.com>
Date: Thu Jan 12 16:36:45 2017 +0000
Refactor of attribute parsing
commit 3b1274baa744aadb8b14a79f759dc11edd32f8fc
Author: Curtis Hard <curtishard@me.com>
Date: Wed Jan 11 21:11:37 2017 +0000
Fixes memory leaks
- For the more interested, threading… wrap the dealloc method of any custom CALayers in a transaction lock or the sublayers get leaked… -_-
commit 059da0ce1965fa39b1ccd6b69f14aee296c67ecb
Author: Curtis Hard <curtishard@me.com>
Date: Wed Jan 11 08:27:25 2017 +0000
Changed backing scale implementation
commit 421a4afff25a0cb31aa2ff1574d4303911a65448
Author: Curtis Hard <curtishard@me.com>
Date: Tue Jan 10 22:09:51 2017 +0000
Fixes for coordinate and percent workings
commit cdbae16d634a4f510ea700925bfa4ba225eac6f6
Author: Curtis Hard <curtishard@me.com>
Date: Tue Jan 10 21:57:25 2017 +0000
Implemented a backingScaleHelper callback to help the sublayers that have custom content have the correct scale
commit d05bf062be5b8c5bc0577438d58e38f55f4c060e
Author: Curtis Hard <curtishard@me.com>
Date: Tue Jan 10 15:25:59 2017 +0000
Updated the colour space
commit c96571a11bd3ae30c004ab53c36a853a01d1784d
Author: Curtis Hard <curtishard@me.com>
Date: Tue Jan 10 09:05:51 2017 +0000
Fixes image not pulling through
commit 92f60485a0ecf48f26957daff0a528dac4601cc8
Author: Curtis Hard <curtishard@me.com>
Date: Tue Jan 10 08:36:26 2017 +0000
Varous fixes and improvements to masking
commit abc7573a52789033095cd86680fac480e91272d9
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 9 23:27:21 2017 +0000
Much better pattern parsing and usage
- Actually almost conforms to the spec….almost…
commit 4635de5af72fd0a4e94f9278eb37fd7b0d8dd02a
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 9 18:25:38 2017 +0000
Added ability to init an SVG via raw IJSVGLayers (obviously need to know how the structure works)
- Also added ability to initialize with an image (creates the group on the fly)
commit 94ab4be7a350accad53d653bad8f7a892a4791ce
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 9 14:27:18 2017 +0000
Fixes object bounding box on masking
commit 618aba584de37d316c16ace12be768936529cc4d
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 9 13:08:50 2017 +0000
Added collpasing of groups that are siblings and are the same
commit 027617129a39606600e595444c3aee057849ca17
Author: Curtis Hard <curtishard@me.com>
Date: Sun Jan 8 23:04:48 2017 +0000
Formatting and refactor
commit b2cf4ef67249346635aa8bba91894d622c137df7
Author: Curtis Hard <curtishard@me.com>
Date: Sun Jan 8 22:55:59 2017 +0000
Relative path transformations
commit 8d7cca01b9289079a5f0c5881cbb2403c74728eb
Author: Curtis Hard <curtishard@me.com>
Date: Sun Jan 8 19:40:48 2017 +0000
Added collapsing of groups
commit 9b742e641983ea6f33f0c7abd5cc17e78478e7b0
Author: Curtis Hard <curtishard@me.com>
Date: Sun Jan 8 18:41:53 2017 +0000
More things!
commit 42b8d8eb0e96155717c606ebbf856c9c5ae790ae
Author: Curtis Hard <curtishard@me.com>
Date: Sun Jan 8 17:16:32 2017 +0000
Various unneeded stuff removed
commit b1fd970f81a491e4d153ecb0d9beb6394701d2cd
Author: Curtis Hard <curtishard@me.com>
Date: Sun Jan 8 14:42:08 2017 +0000
Added data method and extra options
commit 198f28a63cbe8cf40faf2261a2875c31ff59fcad
Author: Curtis Hard <curtishard@me.com>
Date: Sun Jan 8 14:27:33 2017 +0000
More export stuff, man im tired….
commit b352fb3fb7cb0b8512105cffc50d6f54632193a5
Author: Curtis Hard <curtishard@me.com>
Date: Sat Jan 7 22:53:20 2017 +0000
Absolutely stupid insane task…but somehow worked…
commit d826387279cf4280d88f740b09ba9099b4dc2e64
Author: Curtis Hard <curtishard@me.com>
Date: Fri Jan 6 23:34:06 2017 +0000
Initial steps for exporting a layer tree back to SVG
commit ffe296fa709cd73023a213cfd97d978cc642e85e
Author: Curtis Hard <curtishard@me.com>
Date: Wed Jan 4 16:13:46 2017 +0000
Multi thread issue fixes… seems to do the trick…
commit b7550f41b7fb6dd5738f43434089f0b98299300e
Author: Curtis Hard <curtishard@me.com>
Date: Wed Jan 4 12:29:11 2017 +0000
Various performance increases
commit f4bea2ff3c146b51ef5383a1ffa34d1690ec8e8f
Author: Curtis Hard <curtishard@me.com>
Date: Tue Jan 3 23:41:48 2017 +0000
Added mask and clip-path to be parsed from styles
commit 159d6bbb846ada5f8684697b0ea38bbc98180a8d
Author: Curtis Hard <curtishard@me.com>
Date: Tue Jan 3 22:59:43 2017 +0000
Added fillColor and strokeColor to IJSVG
commit a298d8ef71bfa50ca01eb7b895abc91a9b525817
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 2 22:11:34 2017 +0000
Check notes….
- Added discardDOM to IJSVG, this allows you to use the cache more effectly but clear out the DOM behind it, what this will do is actually generate the layer tree and then release the DOM from memory, once its gone, its gone. Have to clear the cache object the alloc init another SVG object with same URL to regenerate.
- Added setEvictItemsAfter method to cache, allows you to tell the cache how many items you want to be able to cache
commit c2fe30945c1d238b88d6145461a1d4bc037fbe26
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 2 21:37:50 2017 +0000
Fixes bug...
commit 58aa9c5db76f6d2b72aa4bc051ed82d8d6ce98fb
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 2 21:22:27 2017 +0000
Fixes to sub SVG sprite sheets not needing to be corrected
commit 05d010ad9622090a17932b6f089603c8c99199c7
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 2 21:11:25 2017 +0000
Addes drawsAsynchronously
- Check the header of IJSVG to see what it actually does
commit ff4229fbe27b5e431676a1e2516cfa1488de39a7
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 2 21:10:49 2017 +0000
Fixes memory leak with sprite sheets
commit 87fabd6475c5cf4d0bde73ec5c7f64df11b16cd8
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 2 20:57:34 2017 +0000
Fixes retain cycle
commit ddce67f456d973e5d785e6daef482c5f50563f06
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 2 19:42:48 2017 +0000
Various threading issues sorted
commit 79d7ac935e8e788609572d6580dda70385dacb2e
Author: Curtis Hard <curtishard@me.com>
Date: Mon Jan 2 17:42:54 2017 +0000
Few fixes and added beginnings of what will be text
commit ccc24ca92f989273dc8474788f22148415359a8a
Author: Curtis Hard <curtishard@me.com>
Date: Sun Jan 1 14:20:37 2017 +0000
Few tweaks
commit 21930ed7116f96db6dc08d8d71d55bea2d817e3b
Author: Curtis Hard <curtishard@me.com>
Date: Sun Jan 1 11:52:42 2017 +0000
Turned off caching by default
commit c1449c7edfc8d95219092d76495d0591c8f60599
Author: Curtis Hard <curtishard@me.com>
Date: Sun Jan 1 11:49:28 2017 +0000
Better frame manipulation
commit da19869b99808eb9ef1f4e42417267abdfd120b4
Author: Curtis Hard <curtishard@me.com>
Date: Sun Jan 1 11:28:08 2017 +0000
Back to basics
commit d05176fdc1f4913c195dd32c0ef8beb18f64122f
Author: Curtis Hard <curtishard@me.com>
Date: Sun Jan 1 11:12:40 2017 +0000
Fixes issue with closing of paths
Basically we dont want to close if the original bezier path parsed from the file didnt too!
commit 79622ef1bacbe382c848b1359044a126cea7ec08
Author: Curtis Hard <curtishard@me.com>
Date: Sat Dec 31 19:29:19 2016 +0000
more fixes
commit 6a918f481b2257372c46eb0db81e50f8ddb220fa
Author: Curtis Hard <curtishard@me.com>
Date: Sat Dec 31 18:14:38 2016 +0000
Added skewX and skewY transforms
commit f9fb22d5cb072ce0b00df7c7748c3faf17ab3ab5
Author: Curtis Hard <curtishard@me.com>
Date: Fri Dec 30 23:55:34 2016 +0000
fixes memory leak for paths
commit 5ddd8dca37d59a3bc31ce43a2c97c7cbffcd5670
Author: Curtis Hard <curtishard@me.com>
Date: Fri Dec 30 23:47:59 2016 +0000
Sub SVG rendering
commit adcbb5f2ce9466a55711448c80a0963967c43e23
Author: Curtis Hard <curtishard@me.com>
Date: Fri Dec 30 23:25:48 2016 +0000
Thread fixes
commit 92a71e31c6e450fa4b75f110601e8d7fb21bda2c
Author: Curtis Hard <curtishard@me.com>
Date: Fri Dec 30 22:17:54 2016 +0000
More fixes to renderer
commit 44670b546218f07a343440fa5418444433149c08
Author: Curtis Hard <curtishard@me.com>
Date: Fri Dec 30 15:42:35 2016 +0000
testing
commit 0b6de6278eff4d9906d016e8a88af31319410db3
Author: Curtis Hard <curtishard@me.com>
Date: Fri Dec 30 12:44:03 2016 +0000
More fixes to rendering
commit 1273960ab247fd9219c2fb2aa24289b10fab1767
Author: Curtis Hard <curtishard@me.com>
Date: Fri Dec 30 09:01:02 2016 +0000
Fixes gradient drawing issues within CALayers
commit 84e884e7a1e7a2ee2258f7bd9ca3d376b17edbd7
Author: Curtis Hard <curtishard@me.com>
Date: Fri Dec 30 08:28:01 2016 +0000
Fixes to image rendering
commit 782c936f1562c71f3c37fe5ffb9c5f835d3f61a4
Author: Curtis Hard <curtishard@me.com>
Date: Thu Dec 29 23:39:58 2016 +0000
More things towards patterns
commit 58d3a1ca405d55c6ea78f6d914e96dbd3358404c
Author: Curtis Hard <curtishard@me.com>
Date: Thu Dec 29 16:44:38 2016 +0000
More calayer rendering stuff
commit d3ff49d6cdcc73cb8b80c4a3cd3c852d8c8931d2
Author: Curtis Hard <curtishard@me.com>
Date: Thu Dec 29 15:10:04 2016 +0000
Intro to calayer based rendering
- Also added IJSVGUnit so that graidents know if to work out from the current bounds or not when creating the angle points
- Added IJSVGImage which is a wrapper around loading base64 encoded images
- Added IJSVGPattern which is based on IJSVGGroup and will draw a pattern inside a nodes clipped path
Much improved gradient support - even with radial. Also fixed various issues with transforms such as rotating around a point. Still unsure about gradientTransform rotate units as they are specified in fractions and not points...
Improvements to the parser, benchmarked this is now 19.4x faster then the previous version at reading and parsing SVG files, took the average down from 380ms for about 300 fairly complex files down to 24ms... :-)
This change includes various error handling methods on all relevant object initializers - also rewrote how we parse floats from strings, this seems to be about 2x quicker at parsing SVG's then it was previously :-)
FIxed various issues with parser not finding linked elements. Also added much better support for style attribute. Also added overal viewbox clipping and various other fixes.
Some SVG's use a relative move to command as the first command in the path, I dont know why, they should be absolute, so this is a work around for them as they will normally crash the bezier path