Commit graph

2286 commits

Author SHA1 Message Date
Bnaya Peretz
f7fa1a874a tests 2014-07-31 18:19:19 +03:00
Bnaya Peretz
9f70f78411 Option to set css & backstore dimensions separatly
Introduced options param to the dimensions setters, options.backstoreOnly & options.cssOnly

When backstoreOnly set to true, only the value of the canvas element width & height will be changed.
When cssOnly set to true, only the css width & height of the involved DOM elements will be changed,
and you should include the unit of measure (px/%/em) with the passed value (eg '100px' '100%') and not just 100
2014-07-31 18:19:19 +03:00
Juriy Zaytsev
d720ea5fd6 Merge pull request #1544 from mgalang/master
Add image blend filter
2014-07-30 20:02:20 +02:00
Marc Galang
47d06c0cad Use createCanvasElement instead of createElement. Fix indentations. 2014-07-30 20:04:57 +03:00
Juriy Zaytsev
1427a3a914 Merge pull request #1545 from sorich87/hotfix/guidelines-broken-by-origin-and-zoom
Fix aligning and centering guidelines broken by origin and zoom
2014-07-30 13:47:07 +02:00
Juriy Zaytsev
0477eaf1dd Merge pull request #1546 from sorich87/feature/editorconfig
Add editorconfig (http://editorconfig.org/) to enforce coding style
2014-07-30 13:45:45 +02:00
Ulrich Sossou
3e1cde60bf Add editorconfig (http://editorconfig.org/) to enforce coding style 2014-07-30 08:57:54 +01:00
Ulrich Sossou
28dd7ec582 Use rounded values to compare position of object to center of the canvas because object x and y after zoom may not be integers 2014-07-30 08:52:25 +01:00
Ulrich Sossou
f45cff11c5 Fix guidelines drawing when canvas zoomed 2014-07-30 08:50:18 +01:00
Ulrich Sossou
5fc0b07577 Fix object position when aligned to guidelines 2014-07-30 08:46:11 +01:00
Marc Galang
541393b991 Add blend filter. Implements several image blend modes (can add more later) 2014-07-30 10:14:02 +03:00
Juriy Zaytsev
6769228d18 Merge pull request #1532 from boonkerz/patch-1
Update to Fix select text in itext last letter issue #1429
2014-07-29 10:15:44 +02:00
Juriy Zaytsev
846c59569f Merge pull request #1538 from asturur/ie9-fix
Fix IE9 incompat
2014-07-27 18:41:06 +02:00
Andrea Bogazzi
221dc595a5 Update parser.js 2014-07-27 16:58:54 +02:00
boonkerz
c20a3b1482 Fix for Linter
Fix for Linter #1429
2014-07-27 02:21:24 +02:00
kangax
e77a810774 Few JSCS fixes 2014-07-26 21:29:09 +02:00
kangax
767db47995 Build distribution 2014-07-26 21:23:02 +02:00
Juriy Zaytsev
1e5b347987 Merge pull request #1536 from asturur/Style-sheet-parsing-and-test
Better stylesheet parsing
2014-07-26 19:38:15 +02:00
Juriy Zaytsev
1f9f70ce9b Merge pull request #1533 from asturur/circle-bounding-box
Fix circle radius during initialization
2014-07-26 19:36:21 +02:00
Juriy Zaytsev
9494459532 Merge pull request #1534 from asturur/rotation-control-and-flipy
Make rotation point be on top if obejct is flipped
2014-07-26 19:35:25 +02:00
Andrea Bogazzi
78561cc257 Update parser.js 2014-07-26 19:34:30 +02:00
Andrea Bogazzi
4d74abaa53 Update parser.js 2014-07-26 19:19:59 +02:00
Andrea Bogazzi
ce2530661c Update parser.js 2014-07-26 19:19:22 +02:00
kangax
e5574a0ab4 Add test instructions to README 2014-07-26 17:58:03 +02:00
Andrea Bogazzi
d9f8a2f9da Update object_interactivity.mixin.js 2014-07-26 15:24:02 +02:00
Andrea Bogazzi
7b15e8b461 Update circle.class.js 2014-07-26 15:21:48 +02:00
boonkerz
39618701c2 Update to Fix select text in itext last letter issue #1429
This fixes the select issue.

Currently i have not understand why this line exists.
After delete nothing happen except the issue is fixt :)
2014-07-26 13:17:30 +02:00
Juriy Zaytsev
8425968f05 Merge pull request #1526 from boonkerz/patch-1
Fix Firefox keypress rendering arrow keys in itext. Closes #1434
2014-07-25 12:47:00 +02:00
Stefan Kienzle
58c4e84d6c Merge pull request #1527 from kreig/patch-2
globalCompositeOperation support (fillRule)
2014-07-25 11:52:10 +02:00
kreig
d3f28eb1f0 globalCompositeOperation support (fillRule)
Fixes fillRule settings for text object as it was mentioned in https://github.com/kangax/fabric.js/pull/1172/files
2014-07-25 05:23:53 +03:00
boonkerz
e2633955e6 Update to Fix Firefox keypress arrow keys in itext symbols are shown #1434
Update to fix the issue #1434
2014-07-25 00:01:57 +02:00
Juriy Zaytsev
c0bfbce182 Merge pull request #1511 from asturur/passing-colorattributes
Passing colorattributes
2014-07-22 13:36:46 +02:00
Stefan Kienzle
266db1f9e0 Merge pull request #1517 from Kienz/issue1516
Fix freedrawing
2014-07-22 11:57:11 +02:00
Stefan Kienzle
045ce8b6bf Fix freedrawing (bug exists since commit #6b5f049bb0a459dd29e2927ed99094b3e7baec66) 2014-07-22 11:52:18 +02:00
asturur
93aafb9d7a Update parser.js
modified test.
2014-07-21 06:48:49 +02:00
asturur
cf1aa0049a Update parser.js
if we delete it , it won't pass to child graphic elements.
if this fillopacity is specified on a container element, it will change color of container element and then disappear. Color would then go to child element.
But if fill is specified on child element and fillopacity on parent element, this has to stay.
2014-07-21 06:47:40 +02:00
asturur
24a02b1eb6 Merge pull request #1 from kangax/master
sync head
2014-07-21 02:17:48 +02:00
kangax
c817fc1cb0 Version 1.4.9 2014-07-20 19:28:35 +02:00
Juriy Zaytsev
b10373b068 Merge pull request #1509 from asturur/viewbox-small-fix
Update parser.js
2014-07-20 19:04:46 +02:00
kangax
7a7466eb92 Build distribution 2014-07-20 15:20:18 +02:00
kangax
261494ae81 Update qunit 2014-07-20 15:20:06 +02:00
asturur
d78451a6b9 Update parser.js
Don't miss A tags, they behave like g tags.
2014-07-20 14:38:22 +02:00
asturur
85ba574458 Update parser.js
Restored parseUseDirectives functionality, maintaining getElementsByTagName and  changing logic of running trought the list.
2014-07-20 13:44:44 +02:00
asturur
481b40549e Update parser.js
I should not multiply the translating values.
Fixes mathformla that was still outside the screen
2014-07-20 13:36:52 +02:00
Juriy Zaytsev
de42013e3f Merge pull request #1504 from asturur/various-fixes
Various SVG rendering fixes
2014-07-19 19:19:37 +02:00
asturur
21591588d5 Update parser.js
remove statements (2?) for travis
2014-07-19 10:23:06 +02:00
asturur
12f5c6356e Update parser.js 2014-07-18 20:42:21 +02:00
asturur
da99193ad6 Update text.class.js 2014-07-18 20:37:32 +02:00
asturur
fbbd763eb0 Update object.class.js
Fix border in case of stroke=color but strokewidth=0.
2014-07-18 20:14:51 +02:00
asturur
a52e081c25 Update parser.js
I forgot to delete one piece.
2014-07-18 20:07:24 +02:00