20566 Commits

Author SHA1 Message Date
Andrey Antukh
12a74070d2 Move rlocks under uxbox.util ns. 2016-08-27 16:43:21 +03:00
Andrey Antukh
38bead08e9 Replace bidi with funcool/bide.
And upgrade all dependencies.
2016-08-27 15:50:28 +03:00
elhombretecla
4069b183a7 add new download icons 2016-08-26 08:06:14 +02:00
elhombretecla
6d1661c773 add new export lightbox layout 2016-08-25 19:13:42 +02:00
Andrey Antukh
e95c1c76c0 Minor code cleaning on assisted path drawing code. 2016-08-24 17:10:46 +03:00
Andrey Antukh
547faa16a9 Enable controlled mode on path drawing.
Allowing draw more precise lines aligned each
15degree in the circle with previous having
the previous point as center.
2016-08-24 17:05:39 +03:00
Andrey Antukh
62eb224ac0 Fix group shape rerender when a transformation is applied to its children shapes. 2016-08-24 16:45:11 +03:00
Andrey Antukh
3d18f2d95e Remove line draw tool and line shape support.
The path support is superset of line and it
just replaces the line functionality.
2016-08-24 16:43:45 +03:00
Andrey Antukh
1693d172bd Enable path edition with grid alignment. 2016-08-23 19:11:40 +03:00
Andrey Antukh
df10586e3f Minor comments on selection ns. 2016-08-23 16:51:01 +03:00
Andrey Antukh
f2ebb75199 Use not resizable selection component for shape component.
When no edition mode is activated.
2016-08-23 16:30:03 +03:00
Andrey Antukh
0a547aed4c Remove unused code. 2016-08-23 16:27:37 +03:00
Andrey Antukh
7875a6b961 Add proper path edition behavior. 2016-08-23 16:26:44 +03:00
Andrey Antukh
c1ae4348cd Move selection ns under shapes. 2016-08-23 16:26:13 +03:00
Andrey Antukh
13e8679713 Return to previous path drawing method. 2016-08-22 17:33:12 +03:00
Andrey Antukh
ee9b99635b Add path selection component when path is in edition mode. 2016-08-22 17:33:12 +03:00
Andrey Antukh
7e7d2570d7 Minor refactor on selection components. 2016-08-22 17:33:12 +03:00
Andrey Antukh
5ca6282e68 Port shape movement to shapes common ns. 2016-08-22 17:33:11 +03:00
Andrey Antukh
99aa09eb86 Fix lense/ref naming on shapes related ns. 2016-08-22 17:33:11 +03:00
Andrey Antukh
a4f29d25e1 Add update-path-point function to geom ns. 2016-08-22 17:33:11 +03:00
Andrey Antukh
63f6de930d Use proper outer-rect calculation for path.
The same as prev comit. Don't treat path as rect.
2016-08-22 17:33:11 +03:00
Andrey Antukh
9a5fce0a20 Enable (again) the full shape movement.
Instead treat path like a rect.
2016-08-22 17:33:11 +03:00
Andrey Antukh
3187a3ed2c Remove whitespace on shapes data ns. 2016-08-22 17:33:11 +03:00
Andrey Antukh
b90e70277e Add missing require. 2016-08-22 17:33:10 +03:00
Andrey Antukh
cd365b77d3 Add update-path event. 2016-08-22 17:33:10 +03:00
Andrey Antukh
8c7fc4aad6 Add path rendering support for view app. 2016-08-22 17:33:10 +03:00
elhombretecla
5ec4b707e8 add new style yo view mode btn 2016-08-21 11:37:46 +02:00
Andrey Antukh
697a4dd1fc Update cljs compiler to 1.9.198. 2016-08-13 13:53:32 +03:00
Andrey Antukh
9e904e4247 Activate by default path simplification. 2016-08-13 02:42:20 +03:00
Andrey Antukh
e701793e44 Simplify drawtools sidebar main data structure. 2016-08-12 22:04:34 +03:00
Andrey Antukh
49c44766ba Add the ability to draw freely the path.
The path simplification is implemented but deactivated.
2016-08-12 22:03:55 +03:00
Andrey Antukh
fa59407aec Import adapted version of simplify.js for path simplifications. 2016-08-12 21:32:03 +03:00
Andrey Antukh
9aae0f0ce3 Add basic element options for path shapes. 2016-08-12 21:09:35 +03:00
Andrey Antukh
c52755b329 Move uxbox independent geom logic under uxbox.util ns. 2016-08-12 21:09:07 +03:00
Andrey Antukh
6b8b6ac5b9 Code cleaing on draw area. 2016-08-12 20:50:16 +03:00
Andrey Antukh
5e8a3f2bfc Merge branch 'path-drawing' 2016-08-12 20:40:34 +03:00
Andrey Antukh
5d2c066356 Make path resizable. 2016-08-12 20:40:12 +03:00
Andrey Antukh
5fd1e7f030 Add transform point function.
Will be used for path edition.
2016-08-12 20:39:31 +03:00
Andrey Antukh
3977748e34 Add nan? and finite? predicates to math ns. 2016-08-11 18:16:00 +03:00
Andrey Antukh
1e9e9ef6d1 Add ^boolean typehints to matrix? and point? predicates.
Performance optimizations.
2016-08-11 18:15:59 +03:00
Andrey Antukh
d9a5c06106 Add the ability to invert matrix. 2016-08-11 18:15:59 +03:00
Andrey Antukh
0dff98801c Add missing stuff in order to make path usable. 2016-08-11 18:15:59 +03:00
Andrey Antukh
8f935b4d60 Remove debug messages from rlocks ns. 2016-08-10 20:05:01 +03:00
Andrey Antukh
398f08fac7 Commit path stuff. 2016-08-10 20:04:55 +03:00
Andrey Antukh
52b0900325 Add missing with-key reference on mixins ns. 2016-08-10 19:15:28 +03:00
Andrey Antukh
b8e5239ee3 Refactor user interaction locking. 2016-08-10 19:15:13 +03:00
Andrey Antukh
5afc297e93 Update react to 15.3.0. 2016-08-10 19:13:31 +03:00
Andrey Antukh
9913388116 Fix default connection string on figwheel build script. 2016-08-03 09:27:23 +03:00
Andrey Antukh
ffa9d0e8d1 Cosmetic changes on drawarea ns. 2016-08-01 20:54:11 +03:00
Andrey Antukh
56d64cf737 Add proper impl of undo/redo. 2016-07-31 15:11:53 +03:00