Commit graph

218 commits

Author SHA1 Message Date
Juriy Zaytsev
6d99aafd60 Merge pull request #2482 from asturur/skew2
Add global support for skewing
2015-09-17 12:46:11 -04:00
Andrea Bogazzi
960a763d75 fix wrong english 2015-09-17 18:41:28 +02:00
Andrea Bogazzi
cda0611326 Add support for skew objects. 2015-09-17 14:22:12 +02:00
Bede
4e21a4ace3 Add explanation as to .host check 2015-09-16 16:41:33 +10:00
Bede
f9d904a9c7 Check for host in getScrollLeftTop 2015-09-02 10:59:22 +10:00
Andrea Bogazzi
cf19c6f6cc Update parser.js 2015-08-10 01:21:56 +02:00
Juriy Zaytsev
5dcedda455 Build dist, update packages 2015-08-04 19:31:27 -04:00
Juriy Zaytsev
c7c9d24ebb Fix linter 2015-07-10 16:04:34 -04:00
Chris Buergi
971166978c Added simple color animation utility. 2015-07-08 15:04:16 +02:00
sapics
f5b4605032 remove unused variables 2015-06-12 13:40:39 +09:00
Juriy Zaytsev
2d2712c784 Merge pull request #2128 from asturur/pointer-in-scrollable
fix getScrollLeftTop
2015-06-11 10:46:54 -04:00
sapics
7e9f17186f just code simpler 2015-06-11 11:16:41 +09:00
Andrea Bogazzi
5ba6b54787 Update dom_misc.js 2015-05-05 14:05:04 +02:00
sapics
563ec42196 fix space and linebreak 2015-04-20 09:51:32 +09:00
Andrea Bogazzi
5d75b53ab4 fix getScrollLeftTop 2015-04-19 20:30:46 +02:00
Juriy Zaytsev
8dfaaab514 Merge pull request #2091 from asturur/multiplyMatrice
Shorter version of multiply transform matrix
2015-04-07 18:55:17 +02:00
Andrea Bogazzi
320a08faa1 bunch of spaces for jscs 2015-04-06 23:29:29 +02:00
Andrea Bogazzi
364bc29a5e Shorter version of multiply transform matrix 2015-04-06 23:18:15 +02:00
Juriy Zaytsev
caaa99b553 Merge pull request #2086 from asturur/transformPoint
Correct transformPoint Function
2015-04-06 02:51:38 +02:00
Andrea Bogazzi
8747ed1bd6 Update misc.js 2015-04-05 21:34:58 +02:00
Andrea Bogazzi
568e2ed2c0 attemp to fix jscs crash 2015-03-31 01:46:38 +02:00
Andrea Bogazzi
5fc82e34e2 Fix cache canghe bug.
Create a copy of the cache instead of modify it.
2015-03-01 18:58:04 +01:00
Andrea Bogazzi
552c6a833c Update text.js 2014-10-28 17:12:10 +01:00
Nazar Mokrynskyi
faec8dc0c8 Fix for IE 2014-10-11 17:39:53 +02:00
Nazar Mokrynskyi
9f6c4d6947 Fix for usage with Polymer Platform
As well as inside of Web Components, and generally code is more correct than previous.
Also, this is a fix for https://github.com/kangax/fabric.js/issues/1712
2014-10-11 13:41:08 +02:00
kangax
32e8463479 Add requirement for space before function’s { 2014-09-22 20:40:39 +02:00
kangax
0c41880e97 Add maximumLineLength restriction of 120 chars and space after comma 2014-09-22 20:40:39 +02:00
kangax
066eb54d30 Increase maxstatements, few style fixes 2014-09-19 13:12:12 +02:00
Juriy Zaytsev
e9f310c2ce Merge pull request #1680 from asturur/Fix-Path-BoundingBox
Fix Path bounding box, improve rendering logic
2014-09-19 12:36:58 +02:00
Andrea Bogazzi
f930e2ba65 Update arc.js
Fixed again code style
2014-09-19 00:22:07 +02:00
Andrea Bogazzi
b35f5ace64 Update arc.js 2014-09-19 00:17:04 +02:00
William P. Riley-Land
af0aad23b7 Fix issue with document fragments. 2014-09-18 15:42:32 -05:00
Andrea Bogazzi
cfbfaf7042 Update arc.js 2014-09-18 14:52:34 +02:00
Andrea Bogazzi
7cbe8a965e Update arc.js
Fix useless optimization of code that was rendering arcs not correctly
2014-09-09 14:17:44 +02:00
kangax
a3d40878d6 Update JSCS to 1.6, fix errors, hook up travis 2014-08-30 13:18:43 +04:00
Andrea Bogazzi
9fc736c022 Update arc.js
Corrected arcs drawing and extended caching logic to have a chache hit more often.
Function is more or less 20 lines of code shorter, but i really cannot figure out if this implementation has more calculation
than the previous. I couldn't manage to find the error in the old one, i had to overwrite it.

in the picture , the multi colored arcs, are all on cache it after calculating the red one.
It will happen rarely, but why miss it?

![image](https://cloud.githubusercontent.com/assets/1194048/3872575/c962a7c0-211e-11e4-9413-cd6faba2e113.png)
2014-08-11 12:14:02 +02:00
Andrea Bogazzi
c02315f36b remove normalize func not more used 2014-08-05 13:03:04 +02:00
kangax
818ab118b3 JSCS changes; Prepare for JSCS ignore support; down to 51 failures 2014-08-03 16:47:27 +02:00
kangax
e77a810774 Few JSCS fixes 2014-07-26 21:29:09 +02:00
asturur
7d3aa1cbef Update misc.js
Always return a pathgroup if we parse a svg.
2014-07-18 16:10:11 +02:00
kangax
3df3c396a2 Fix unit tests 2014-07-18 13:11:18 +02:00
Stefan Kienzle
6b5f049bb0 JSDoc + JSCS tweaks - Part 2 2014-07-18 11:16:23 +02:00
asturur
795d8a7aa5 Update misc.js
some more polishing, for me and for toFixed.
2014-07-17 16:38:09 +02:00
asturur
dfbd1887bf Update misc.js
some more polishing
2014-07-17 16:24:46 +02:00
asturur
0bb156f308 Update misc.js
it had some problem with len of string 0 and slicing from 0 to -0 , or calculating len of ''.
now is ok, rects went crazy and i didn't notice.
2014-07-17 07:44:03 +02:00
asturur
d34f970ffb Update misc.js 2014-07-17 00:42:31 +02:00
asturur
81092715c1 Update misc.js
added missing space.
2014-07-17 00:38:55 +02:00
asturur
d78996194b Update misc.js 2014-07-17 00:37:27 +02:00
asturur
bf4fa0091f Update misc.js
add parseUnit function to normalize mm,cm,in,pt,pc to pixels.
res is setted to 96dpi is not real screen resolution dependant.
2014-07-16 15:29:41 +02:00
kangax
69fdc220e1 Add JSDoc validation in JSCS. Few style/doc fixes. 2014-07-16 11:45:50 +02:00