Commit graph

3403 commits

Author SHA1 Message Date
Andrea Bogazzi
bc746d749a added 1.6.0 info 2016-04-10 15:02:54 +02:00
Andrea Bogazzi
036bc9ab84 Various IText Fixes
Added keyup events, moved "CTRL + Key" combination on keyup so i cancel the event if the textarea consumes the event with other ( real copy and cut )
Added Ctrl+C for copy.
Added compositionUpdate event.
SetShadow was expecting some parameters, we add them at style declaration
Moving the textArea position when editing
managing japanese IME ( and maybe others )
Fixes property of object leaking on style objects
Fixes edge browser different behaviour with different selectionDirection
2016-04-10 14:48:04 +02:00
Andrea Bogazzi
2df1c1d37f Canvas dispose unwrap the lowercanvas element back to its original place
Added unwrap logic to canvas.dispose()
Added tests.
2016-04-09 16:02:42 +02:00
Andrea Bogazzi
02c489229e Update dependencies to allow node 4 and node 5 (#2872)
Update jsdom to 3.x to allow node 4, node 5 and mantain older versions: 0.10, 0.11, 0.12
2016-04-07 20:36:35 +02:00
Andrea Bogazzi
a5a61c8348 Merge pull request #2865 from asturur/canvas13x
Upgrade canvas to 1.3.x
2016-04-02 12:18:48 +02:00
Andrea Bogazzi
4df0d3b760 test canvas 1.3.x 2016-04-02 12:08:50 +02:00
Andrea Bogazzi
a28651e761 Merge pull request #2820 from abruzzihraig/fix_IME_bug
fix(itext): fix bug that IME can not be inputted
2016-03-29 07:04:08 +02:00
Andrea Bogazzi
a4047d3043 Merge pull request #2858 from asturur/fix-text-bug2
fix bug introduced in 2f19e25ef2
2016-03-27 23:59:48 +02:00
Andrea Bogazzi
d1973113a2 fix bug introduced in 2f19e25ef2 2016-03-27 23:51:42 +02:00
Andrea Bogazzi
b1bcca060c Merge pull request #2857 from asturur/text-fixe
Proper fix for style detection on iText / textbox
2016-03-27 23:48:42 +02:00
Andrea Bogazzi
ad732f078d Proper fix for style detection 2016-03-27 23:44:43 +02:00
Andrea Bogazzi
5b1a89c946 Merge pull request #21 from kangax/master
Sync to master
2016-03-27 23:43:19 +02:00
Andrea Bogazzi
1b16fa30a4 Merge pull request #2855 from kangax/revert-2853-textboxspaces
Revert "Textboxspaces"
2016-03-27 23:37:47 +02:00
Andrea Bogazzi
719746e58d Revert "Textboxspaces" 2016-03-27 23:25:39 +02:00
Andrea Bogazzi
f1cd8bf5b6 Merge pull request #2853 from asturur/textboxspaces
Textboxspaces
2016-03-27 23:04:00 +02:00
Andrea Bogazzi
7059e34e9b Merge pull request #2854 from asturur/shadowflip
Flip back shadow if needed
2016-03-27 23:02:32 +02:00
Andrea Bogazzi
4dd392ca56 Added tests for flipped object 2016-03-27 22:58:02 +02:00
Andrea Bogazzi
6891d2cde7 Update shadow.class.js 2016-03-26 13:41:34 +01:00
Andrea Bogazzi
e3e8984ec9 fixes trailing spaces 2016-03-26 13:00:37 +01:00
Andrea Bogazzi
0785bd9a32 check properly if there is style on the line 2016-03-26 12:47:20 +01:00
Andrea Bogazzi
55da566d37 Update textbox.class.js 2016-03-26 12:44:11 +01:00
Andrea Bogazzi
f5f51938f7 add check for this.styles[i] 2016-03-26 12:42:03 +01:00
Andrea Bogazzi
c1e3ad5b85 Merge pull request #2852 from asturur/textboxspaces
adding lineStarted logic to _wrapLine function
2016-03-26 11:52:34 +01:00
Andrea Bogazzi
2a1842af02 adding lineStarted logic to _wrapLine function
The error was considering line === '' as a line that just started. This messed up consecutive spaces.
Consecutive spaces create words with 0 lenght and they leave the line with no infix and no characters.
2016-03-26 11:41:49 +01:00
Andrea Bogazzi
c815f22d3e Merge pull request #2842 from asturur/bordersAddWithU
Do not draw control borders in normal group with active objects
2016-03-23 17:42:21 +01:00
Andrea Bogazzi
8410796872 drw controls and borders just if you are in active group ora active 2016-03-17 09:07:47 +01:00
Andrea Bogazzi
16f358cbfa Merge pull request #2827 from asturur/newtextshadow
Fix SVG for new text shadows
2016-03-11 18:57:06 +01:00
Andrea Bogazzi
a700376e82 improved docs 2016-03-11 11:09:12 +01:00
Andrea Bogazzi
fb69e9bc89 Do not call 2 times this.getSvgFilter() 2016-03-11 10:52:20 +01:00
Andrea Bogazzi
ab4721427e Merge pull request #2817 from asteriskman7/fix_offset_1x1_rect
Change location of rect in 1x1 case
2016-03-11 08:33:00 +01:00
Andrea Bogazzi
bb9aef9726 do not output useless empty style declaration 2016-03-11 08:28:20 +01:00
Andrea Bogazzi
cc9d826d4c add ability to skip shadow to style export
This is necessary for text now.
2016-03-11 06:16:42 +01:00
Andrea Bogazzi
a3fd9061ef Add shadow to outer group of text 2016-03-11 06:14:40 +01:00
Juriy Zaytsev
1324c73c2e Merge pull request #2806 from asturur/fix-retina-again
Fix retina scaling shadows and data url
2016-03-01 17:45:51 -05:00
Abruzzi
ecd5c15fe9 fix(lint): remove useless variable 'e' for lint 2016-03-01 20:45:27 +08:00
Abruzzi
e3e81195c9 fix(itext): fix bug that IME can not be inputted 2016-03-01 05:35:58 +08:00
Juriy Zaytsev
4e888fef0e Merge pull request #2808 from asturur/text-fixe
Change text shadow behaviour
2016-02-27 18:06:43 -08:00
asteriskman
47776c55fd Change location of rect in 1x1 case
As can be seen in this jsfiddle, https://jsfiddle.net/asteriskman/kk6v0tu4/ , the 1x1 rectangle was being placed incorrectly. It must be offset by -0.5 in the x and y direction to line up with other rects.
2016-02-26 22:51:56 -05:00
Juriy Zaytsev
4ed2b18575 Merge pull request #2809 from brianhernandez/non-developer-readme-contribution
Non developer readme contribution
2016-02-25 11:24:03 -08:00
Andrea Bogazzi
91bf1fbacf Update object.class.js 2016-02-25 08:10:38 +01:00
Brian Hernandez
328194551d Fix small typo
Fixed a small typo in the non-technical introduction paragraph.
2016-02-24 21:35:14 -05:00
Brian Hernandez
06ce6a4052 Merge pull request #1 from Brandn-H/patch-1
Fixed spacing changed even to also
2016-02-24 21:22:36 -05:00
Andrea Bogazzi
9c41f0923d Update itext.class.js 2016-02-25 02:59:04 +01:00
Brandon Hernandez
d5ad13fa6e Fixed spacing changed even to also 2016-02-24 20:52:07 -05:00
Andrea Bogazzi
2f19e25ef2 Update itext.class.js 2016-02-25 02:48:20 +01:00
Andrea Bogazzi
f15b7f5d3c Update text.class.js 2016-02-25 02:46:05 +01:00
Andrea Bogazzi
b4f99d96a9 Update canvas_dataurl_exporter.mixin.js 2016-02-25 00:52:51 +01:00
Andrea Bogazzi
bd345a39d5 Update object.class.js 2016-02-25 00:50:10 +01:00
Andrea Bogazzi
873abee422 fixes lint 2016-02-25 00:30:49 +01:00
Andrea Bogazzi
df1cffaade add retina scaling effect to dataUrl exporter
Add retina scaling as a normal dataurl multiplier.
Removed setWidth and setHeight in favor of setDimensions
Removed rescaling back of canvas because setDimension will clear the transform anyway.
2016-02-24 08:47:27 +01:00