Commit graph

2367 commits

Author SHA1 Message Date
Ulrich Sossou
f02622ea26 Merge branch 'master' into hotfix/printable-characters-not-working
Conflicts:
	src/mixins/itext_key_behavior.mixin.js
2014-08-23 18:58:29 +01:00
Juriy Zaytsev
060a4f6b12 Merge pull request #1604 from sorich87/hotfix/top-cursor-boundary-calculation
Use _getTopOffset to calculate top cursor boundary
2014-08-23 19:53:01 +02:00
kangax
63c43163ca Version 1.4.11 2014-08-23 19:04:10 +02:00
kangax
cecd9bea26 Build distribution 2014-08-23 18:52:16 +02:00
Juriy Zaytsev
29c0448235 Merge pull request #1573 from brexis/patch-1
Update itext_key_behavior.mixin.js
2014-08-23 18:46:11 +02:00
Juriy Zaytsev
ee6cea72dd Merge pull request #1605 from mgalang/master
Add darken, lighten, subtract modes to blend filter
2014-08-20 21:27:20 +02:00
Ulrich Sossou
9d8cd6ebb2 Accept all printable characters 2014-08-20 14:09:47 +01:00
Marc Galang
7111e6f2cc Merge remote-tracking branch 'upstream/master' 2014-08-20 15:58:28 +03:00
Ulrich Sossou
a9933a5450 Use _getTopOffset to calculate top cursor boundary
Left cursor boundary is calculated with _getLeftOffset,
top cursor boundary should also be calculated with the corresponding offset method
2014-08-20 13:51:17 +01:00
Juriy Zaytsev
ac7ceedd83 Merge pull request #1590 from asturur/Clean-fix-for-ar
Update arc.js
2014-08-20 14:41:27 +02:00
Juriy Zaytsev
959bdcfdf4 Merge pull request #1602 from asturur/Gradient-Fix-Part2
Update gradient.class.js
2014-08-19 15:13:50 +02:00
Andrea Bogazzi
29b6ae03e5 Update gradient.class.js 2014-08-19 15:07:33 +02:00
Andrea Bogazzi
92604f1ee4 Update gradient.class.js
Fixed some errore introduced with commit.
2014-08-19 13:59:26 +02:00
kangax
905097149a Build distribution 2014-08-17 12:08:18 +02:00
Juriy Zaytsev
2c14c18973 Merge pull request #1598 from asturur/Gradient-Fix
Gradient fix
2014-08-17 00:14:46 +02:00
Andrea Bogazzi
cf5062b072 Update gradient.class.js 2014-08-16 17:17:00 +02:00
Andrea Bogazzi
2fe200e178 Update parser.js
Forgot one variable.
2014-08-16 16:26:08 +02:00
Andrea Bogazzi
98b4bdccaf Update object.class.js 2014-08-16 16:23:02 +02:00
Andrea Bogazzi
74a9ac9d48 Update parser.js
Changed variable names, For loop in While loop and typing error.
2014-08-16 16:18:48 +02:00
Andrea Bogazzi
dc4d4a4205 Update gradient.class.js
JSDOC and Variable names
2014-08-16 16:11:43 +02:00
Andrea Bogazzi
1e49598693 Update elements_parser.js
Fixing spaces
2014-08-16 16:05:16 +02:00
Andrea Bogazzi
a9e2211780 Update gradient.js 2014-08-16 08:16:12 +02:00
Andrea Bogazzi
f955969e76 Update object.class.js
added gradienttransfor rendering
2014-08-16 08:15:47 +02:00
Andrea Bogazzi
78db91225f Update parser.js
Changed parsegradient to consider href element
2014-08-16 08:15:07 +02:00
Andrea Bogazzi
011674707a Update gradient.class.js 2014-08-16 08:13:20 +02:00
Andrea Bogazzi
77911424ce Update elements_parser.js
Changed Resolvegradient function for fill and stroke
2014-08-16 08:11:50 +02:00
kangax
145bf6e461 Build distribution 2014-08-13 21:39:08 +02:00
Juriy Zaytsev
3405d0e2ac Merge pull request #1584 from asturur/Lock-Scale-Flipping
Lock scale flipping
2014-08-13 19:44:36 +02:00
Juriy Zaytsev
2cc901f2f7 Merge pull request #1595 from asturur/Load-Gradient-before-reviver
Load gradient before reviver
2014-08-13 19:14:48 +02:00
Andrea Bogazzi
70b879b8b9 Update elements_parser.js
Added mono-object resolveGradient function. to be called befor reviver function.
2014-08-13 11:46:39 +02:00
Andrea Bogazzi
e157437476 Update parser.js
Delete function from parser. moved in element parser.
2014-08-13 11:40:20 +02:00
Andrea Bogazzi
6cc42ca43c Update object.class.js 2014-08-12 23:33:08 +02:00
Andrea Bogazzi
66621bb37f Update canvas.class.js 2014-08-12 23:02:55 +02:00
kangax
9629aaaac8 Build distribution 2014-08-11 15:17:01 +02: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
e8013f4964 Update object.class.js
Just grammar
2014-08-10 19:40:58 +02:00
Andrea Bogazzi
ebc1cf9604 Update object.class.js
added lockScalingFlip, if set to true you cannot flip by accident an objec while scaling it.
2014-08-10 00:38:44 +02:00
Andrea Bogazzi
2242b2a994 Update canvas.class.js
Added lockScaleFlip variable to scale object method
2014-08-10 00:37:01 +02:00
Juriy Zaytsev
5e65dd54b2 Merge pull request #1574 from asturur/tag-symbol
Tag symbol
2014-08-09 00:31:17 +02:00
Juriy Zaytsev
4c7ad6a82d Merge pull request #1567 from asturur/SVG-EXPORT
Better SVG export
2014-08-07 20:42:56 +02:00
Andrea Bogazzi
ea942e3580 Update parser.js
This was missing.
Now if width and height get parse correctly.
They were even before but if it was  width 18pt ( so 18 * 1.33 pixels ) and wievbox was 18, before no scaling was calculated.
2014-08-07 16:23:09 +02:00
Andrea Bogazzi
8d6f7addec Update .travis.yml 2014-08-07 16:11:48 +02:00
Andrea Bogazzi
8eaba61b17 Update parser.js
Add support to catch attributes from symbol nodes.
This is a quick hack.
To have full support symbol should managed as defs and then copied as g, without display attribute.
But before adding tons of code, let's just make it work.
2014-08-07 16:11:31 +02:00
brexis
8f9a84351b Update itext_key_behavior.mixin.js
Some characters don't work in Mac OS X such as dot ".", opened parenthesis "(" and others. The key events return key codes witch are in _keysmap variable and so those characters are not rendered. Ex : '.' event key code return 46.
2014-08-07 12:45:58 +01:00
Andrea Bogazzi
319c99a2f3 Update .travis.yml
Chi lascia la strada vecchia per quella nuova, sa quello che lascia ma non sa quello che trova.
2014-08-06 23:48:41 +02:00
Andrea Bogazzi
3f75ce7f1b Update line.class.js
Just cosmetic.
2014-08-06 23:48:07 +02:00
Andrea Bogazzi
6367e30dba Update line.class.js
Don't ask why. For me half dimension was more than enough.
2014-08-06 19:20:13 +02:00
Juriy Zaytsev
4bcfef6277 Merge pull request #1557 from asturur/gradient-transform-impor
attribute gradientTransform import
2014-08-06 16:49:06 +02:00
Andrea Bogazzi
c4b3d1881d Update image.class.js
Fixed rendering of borders and svg transformation
2014-08-06 13:54:04 +02:00
Andrea Bogazzi
3064d5e569 Updated test for text 2014-08-05 13:22:12 +02:00