Commit Graph

223 Commits (938350b999fa68406a7bc199a07b7589b1b3f20a)

Author SHA1 Message Date
Dmitry Baranovskiy b324696ef0 Fix for #123 2013-11-19 18:03:38 +11:00
Dmitry Baranovskiy c2a42eef50 Merge branch 'dev' of https://github.com/adobe-webplatform/Snap.svg into dev 2013-11-18 23:02:22 +11:00
Dmitry Baranovskiy 3c81659909 Fix for bug #25 & #110 2013-11-18 23:02:11 +11:00
Dmitry Baranovskiy 5d66163ef5 Merge pull request #119 from sbking/sbking
Added Element.appendTo() and Element.prependTo()
2013-11-18 03:55:31 -08:00
Stephen King 38af3ec9f1 Added Element.appendTo() and Element.prependTo() 2013-11-18 01:03:26 -08:00
Dmitry Baranovskiy 12e519f2e2 Fix for bugs #95, #116, #103 2013-11-18 14:44:45 +11:00
Dmitry Baranovskiy c60429c1b7 Restore elemental removal. For attr() moved from white list to black list strategy 2013-11-18 11:17:17 +11:00
Jake Swenson 01c9adc5bf fix issues with transformation parsing and issues with touch items when touch is applied to a parent element 2013-11-06 22:19:52 -08:00
Dmitry Baranovskiy a5d8368e6b Fix for bug #78 2013-10-30 11:18:42 +11:00
Dmitry Baranovskiy 6f4f847659 Fix for bug #67 2013-10-25 15:53:09 -07:00
Dmitry Baranovskiy d865bf0810 Getting rid of elemental.js. Fix for issue #50 2013-10-25 13:59:41 -07:00
Dmitry Baranovskiy 6b92046ebd Merge pull request #68 from subzey/feature/is-finite
Use native isFinite method to detect NaN and Infinities
2013-10-25 13:37:35 -07:00
Anton Khlynovskiy 013c92fc0f Use native isFinite method to detect NaN and Infinities 2013-10-25 17:24:59 +04:00
Anton Khlynovskiy 3e4318395b Use Date.now when possible 2013-10-24 11:45:23 +04:00
Dmitry Baranovskiy 9cb27e5f5f Fix for bug #43 2013-10-21 03:45:14 -07:00
Dmitry Baranovskiy bb3ba6e03c Added new method Paper.clear(). How I missed it? :) 2013-10-21 02:46:25 +11:00
Dmitry Baranovskiy dc1866045a Fixed bug in transformation handling reported here: https://github.com/adobe-webplatform/Snap.svg/issues/42 2013-10-20 14:59:06 +11:00
Dmitry Baranovskiy 453482d873 Fix for transform strings to be equal to what you set them to be (Matrix roundtrip distortion fix) 2013-10-18 15:38:27 +11:00
Dmitry Baranovskiy 8befc80d19 Updates to README and code sample for Snap.animate 2013-10-16 07:20:01 +11:00
Dmitry Baranovskiy f384675b82 Fix for bug #27 2013-10-15 11:12:33 +11:00
Dmitry Baranovskiy c6245cb435 Fix for bug #23 and generate docs with new pull request. Removed VERIFY sections 2013-10-14 22:59:34 +11:00
Dmitry Baranovskiy 9b4b3ad9bc Merge pull request #26 from adobe-webplatform/copyedit
Copyedit
2013-10-13 20:11:27 -07:00
Mike Sierra 0d2e937d67 GLOBAL: standardize parameter values 2013-10-10 10:46:29 -04:00
Mike Sierra 613740014e GLOBAL: standardize return values 2013-10-10 10:40:22 -04:00
Mike Sierra 242df93cd9 EDIT Snap.fragment 2013-10-10 06:39:09 -04:00
Mike Sierra ea2fee7d2a GLOBAL: no & in text 2013-10-09 21:13:54 -04:00
Mike Sierra 780f9f5326 GLOBAL: standardize pseudo-JSON object format 2013-10-09 21:11:46 -04:00
Mike Sierra 9498a62c34 GLOBAL: Colour => Color 2013-10-09 21:05:17 -04:00
Mike Sierra 014026e6d5 GLOBAL: colour => color 2013-10-09 21:04:35 -04:00
Mike Sierra ea74a41a4a GLOBAL: no trailing punctuation in return values 2013-10-09 21:00:46 -04:00
Mike Sierra 5d6091fb0a GLOBAL: standardize method descriptions 2013-10-09 20:56:44 -04:00
Mike Sierra 4c7a9a95ee EDIT Snap.is 2013-10-09 17:33:57 -04:00
Mike Sierra 69e8c0edb7 GLOBAL: e.g., i.e., etc. 2013-10-09 17:31:17 -04:00
Mike Sierra 7c99047c63 EDIT & COMMENT on high-level object interfaces 2013-10-09 17:21:14 -04:00
Mike Sierra 46e28d5001 VERIFY new values for Matrix.rotate 2013-10-09 17:09:30 -04:00
Mike Sierra 0d237dd2c8 VERIFY new values for Matrix.scale 2013-10-09 17:06:53 -04:00
Mike Sierra 52c5b2da7d VERIFY new values for matrix translate x/y 2013-10-09 16:56:49 -04:00
Mike Sierra eceaf146af VERIFY sync subpath descriptions 2013-10-09 16:49:02 -04:00
Mike Sierra d8e7ced562 VERIFY subpath distances exclude jumps 2013-10-09 16:41:09 -04:00
Mike Sierra 6f33992345 COMMENT Matrix.toTransformString 2013-10-09 16:18:21 -04:00
Mike Sierra e73df04538 COMMENT Matrix.invert 2013-10-09 16:13:57 -04:00
Mike Sierra ee051acc89 COMMENT Matrix.split 2013-10-09 16:13:17 -04:00
Mike Sierra 933037609f EDIT Paper.text 2013-10-09 16:09:59 -04:00
Mike Sierra c51a3119c9 GLOBAL: 'horizontal' 2013-10-09 16:07:25 -04:00
Mike Sierra 13599ac0f5 EDIT Paper.polyline 2013-10-09 16:06:22 -04:00
Mike Sierra a3f88ffa1f EDIT & COMMENT Paper.path 2013-10-09 16:04:58 -04:00
Mike Sierra 5d0a340754 EDIT Paper.image, to collapse redundant doc entries 2013-10-09 16:00:58 -04:00
Mike Sierra 19b8e2a43e EDIT Paper.gradient 2013-10-09 15:55:15 -04:00
Mike Sierra d1b22f5378 EDIT & COMMENT Paper.g 2013-10-09 15:49:18 -04:00
Mike Sierra 830d7afde6 EDIT & COMMENT Paper.filter 2013-10-09 15:46:31 -04:00
Mike Sierra dd416fbec5 remove stray comment 2013-10-09 15:44:27 -04:00
Mike Sierra af5b0ab896 GLOBAL: fix 'Element object with type fubar' 2013-10-09 15:43:31 -04:00
Mike Sierra d2a48dc6b2 EDIT & COMMENT Element.getBBox 2013-10-09 15:34:35 -04:00
Mike Sierra 43f94159d1 COMMENT Element.transform 2013-10-09 15:29:27 -04:00
Mike Sierra 537c5b30ed COMMENT Element.pattern, Snap.parsePathString 2013-10-09 15:26:42 -04:00
Mike Sierra b9f6fd919a EDIT & COMMENT Element.marker 2013-10-09 15:23:28 -04:00
Mike Sierra 272be001d8 COMMENT Element.getSubpath 2013-10-09 15:16:46 -04:00
Mike Sierra cef235cb87 GLOBAL: replace quote characters w/inline font 2013-10-09 15:08:31 -04:00
Mike Sierra be508cd8a9 EDIT & COMMENT Element.getTotalLength 2013-10-09 15:01:33 -04:00
Mike Sierra 6df0f0ecd5 EDIT & COMMENT Element.drag 2013-10-09 14:53:42 -04:00
Mike Sierra 90a2c1bfc3 GLOBAL: remove 'will' 2013-10-09 14:49:30 -04:00
Mike Sierra e502789d7d EDIT add/remove event handlers 2013-10-09 14:41:39 -04:00
Mike Sierra 4937f457ba EDIT & COMMENT Element.animate 2013-10-09 14:38:32 -04:00
Mike Sierra 84adcea242 EDIT Element.inAnim 2013-10-09 14:34:05 -04:00
Mike Sierra b550dc698b COMMENT Element.stop 2013-10-09 14:32:40 -04:00
Mike Sierra 78bc067beb EDIT & COMMENT Element.attr 2013-10-09 14:30:48 -04:00
Mike Sierra e6de34eec7 EDIT & COMMENT Element.toDefs 2013-10-09 14:24:54 -04:00
Mike Sierra 25f9e7b1d8 EDIT Element.select, Element.selectAll 2013-10-09 14:22:14 -04:00
Mike Sierra 46516a0634 EDIT Paper.path 2013-10-09 14:17:27 -04:00
Mike Sierra 624f565bcf EDIT: accented bezier 2013-10-09 14:11:28 -04:00
Mike Sierra aec4e73c99 EDIT and COMMENT Element.data 2013-10-09 13:53:12 -04:00
Mike Sierra eb9bbee71b COMMENT Element.toString 2013-10-09 13:50:49 -04:00
Mike Sierra c714b1f1ee EDIT mina.getById; flush curly quotes from doc 2013-10-09 13:43:10 -04:00
Mike Sierra 046e146522 COMMENT mina 2013-10-09 13:40:23 -04:00
Mike Sierra 96ea9f1d5f EDIT Set.clear 2013-10-09 13:39:12 -04:00
Mike Sierra 7c42bf70ae EDIT Snap.snapTo 2013-10-09 13:37:51 -04:00
Mike Sierra 4b7a41aa97 EDIT & COMMENT Snap.parseTransformString 2013-10-09 13:31:55 -04:00
Mike Sierra 8ddfad5fbf COMMENT Snap.parsePathString 2013-10-09 13:26:54 -04:00
Mike Sierra 2c8b512a98 COMMENTS Snap.parse Snap.hsb, others 2013-10-09 13:24:38 -04:00
Mike Sierra 16f10bb566 EDIT Snap.getRGB 2013-10-09 13:20:49 -04:00
Mike Sierra 2961192d83 COMMENT Snap.fragment 2013-10-09 13:19:04 -04:00
Mike Sierra 108e1b03e9 COMMENT Snap.filter.* 2013-10-09 13:18:07 -04:00
Mike Sierra 580cecc1ad edit Snap.deg 2013-10-09 13:11:49 -04:00
Mike Sierra b83d74330b Snap.color 2013-10-09 13:10:39 -04:00
Mike Sierra 4da7e39032 COMMENT Snap.animate() 2013-10-09 13:00:01 -04:00
Mike Sierra ec688519b9 VERIFY: callback executes when animation ends? 2013-10-09 12:57:47 -04:00
Mike Sierra b72783a656 VERIFY: when does animation callback fire? 2013-10-09 12:52:56 -04:00
Mike Sierra b9db9c6301 'ms' arg => 'duration' 2013-10-09 12:46:54 -04:00
Mike Sierra 136b6fae7b COMMENTS for Snap.angle, Snap.Matrix, Snap.animate 2013-10-09 12:43:17 -04:00
Dmitry Baranovskiy c7c36416c3 Fix for bbox for polyline, polygon 2013-10-09 12:06:18 +03:00
Dmitry Baranovskiy bc67ef2de6 Fix for transformation equal. If string→string fails defaults to matrix→matrix 2013-09-28 22:25:29 +10:00
Dmitry Baranovskiy a27e4043a1 Change name to Snap.svg. Added dr.js to grunt via grunt-exec 2013-09-25 15:52:57 +10:00
adeveria e1665067ae fix issue in last checkin that broke mina 2013-09-23 10:29:41 -07:00
adeveria fe21b6a759 change gruntfile to build a single build with support for requireJS or standalone 2013-09-20 16:29:24 -07:00
Dmitry Baranovskiy 38696874c1 Fix for bug #17. New method Savage.angle. Fixed handling of <defs>. Fix use.getBBox. New method Element.toDefs(). Fix for gradient rgba. Fix for double defs. 2013-09-19 21:03:24 +10:00
Dmitry Baranovskiy 38ce178bb1 Fix for bug #16 2013-09-19 09:39:15 +10:00
Dmitry Baranovskiy d4182d9318 Added caching and fix for bug #15 2013-09-19 09:33:01 +10:00
Dmitry Baranovskiy 7e29cfe537 Add new methods pause and resume to the animation object. Fix for bug #18 2013-09-19 09:30:40 +10:00
Dmitry Baranovskiy 2e33a3ca64 Fix for s.path(<path as array>) 2013-09-17 16:33:21 +10:00
Dmitry Baranovskiy 6ec65ce19a Fix bug #14 + expand doc re colors a little 2013-09-16 16:55:33 +10:00
Dmitry Baranovskiy 602818b259 Fix for bug #13 2013-09-16 13:32:40 +10:00
Dmitry Baranovskiy aa60066c74 Fix for bug #11 2013-09-13 23:03:15 +10:00
Dmitry Baranovskiy 608aa8dbdf Fix for bug #12, fix for easing functions edge results (0,1), fix for stroke to accept the same values as fill 2013-09-13 22:51:01 +10:00
Dmitry Baranovskiy 2a8f553eaf Fix for bug #7 and removing the cause of bug #9. Will add onDragOver after release 2013-09-12 12:56:46 +10:00
Dmitry Baranovskiy 1ed2053d59 Small fix for a2c function and fix for bug #6 2013-09-12 11:23:53 +10:00
Dmitry Baranovskiy 52b313f8de Fix for bug #8 2013-09-12 11:08:19 +10:00
Dmitry Baranovskiy 9ff432a12f Fix the color recognition for fill 2013-09-11 22:25:30 +10:00
Dmitry Baranovskiy be91a1b24f Fix bug #5 2013-09-11 14:38:52 +10:00
Dmitry Baranovskiy be42ac9b88 Added ability to solve ids in cloned elements. New element methods and 2013-09-11 13:17:32 +10:00
Dmitry Baranovskiy e610c49616 Added all the filters from https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html#ShorthandEquivalents 2013-09-10 12:22:49 +10:00
Dmitry Baranovskiy 0eb355e072 Element.remove() now returns the element 2013-09-10 10:49:12 +10:00
Dmitry Baranovskiy a66f711727 Added attr(key, value) for masochists 2013-09-10 10:38:04 +10:00
Dmitry Baranovskiy c5c57cccf6 Fix docs for bug #4 2013-09-10 10:26:53 +10:00
Dmitry Baranovskiy 506c5d4af7 Fix for bug #3 2013-09-10 10:22:05 +10:00
Dmitry Baranovskiy 2e6789ce15 Fix for bugs #1 and #2 2013-09-10 10:06:35 +10:00
Dmitry Baranovskiy 02dfd62f22 Fixed group to follow pattern of first argument to be an attributes 2013-09-09 17:36:48 +10:00
Dmitry Baranovskiy 7a2ebfa2ac Fixed text setting and getting. Removed superflous <tspan> 2013-09-09 17:22:14 +10:00
Dmitry Baranovskiy 4c609185c7 NPM all the things. Fix for transformation animation 2013-09-09 10:33:59 +10:00
Dmitry Baranovskiy 59201c0146 Added <use> attributes and linked demojs.html to dist folder 2013-09-06 13:40:22 +10:00
Dmitry Baranovskiy 9dc21ca8ce Fixed path and groups 2013-09-05 23:24:16 +10:00
Dmitry Baranovskiy b2a0817c5e Added methods for loading external SVG, new attribute #text and Paper.toString() 2013-09-05 10:10:45 +10:00
Dmitry Baranovskiy ec5eabeb82 Added API Reference in TopCaoat style 2013-09-02 14:26:51 +10:00
Dmitry Baranovskiy b7d0985f5d Rearrange & rename files 2013-08-27 10:43:48 +10:00