1
0
Fork 0
Commit graph

221 commits

Author SHA1 Message Date
Joost De Cock
ff49991204
Merge pull request #3224 from eriese/eriese-paperless
[Fix] Paperless exports to SVG and PDF
2022-12-13 19:51:33 +01:00
Enoch Riese
4bdbddb3d6 get pages to render properly on pdf export when settings.only is an array 2022-12-13 08:39:16 -06:00
Joost De Cock
c5d4eae079 feat: Export Bezier in shorthand call + docs 2022-12-12 18:45:51 +01:00
Enoch Riese
d78b2bb6c1 Merge branch 'develop' into eriese-v3-printing 2022-12-12 09:44:25 -06:00
Joost De Cock
12d51d5af4
Merge pull request #3172 from BenJamesBen/utils-comments-fixes
fix(core) Small corrections to utils.mjs comments
2022-12-09 08:04:20 +01:00
Joost De Cock
88b17bcee7
Merge pull request #3188 from BenJamesBen/pattern-sampleoptions-update
fix(core): Update Pattern.sampleOptions() and documentation
2022-12-09 08:00:27 +01:00
Benjamin F
04b36cb1a1 fix(core): Fix typo in points.mjs comment 2022-12-08 22:37:50 -08:00
Benjamin F
969d481585 fix(core): Update Pattern.sampleOptions() to work with additional option types 2022-12-08 20:45:17 -08:00
Enoch Riese
4f42f4038c test the security fix 2022-12-08 20:06:22 -06:00
Enoch Riese
08f1dcdaba security fix 2022-12-08 19:31:57 -06:00
Enoch Riese
91ece18d2b Merge branch 'develop' into eriese-v3-printing 2022-12-08 19:28:54 -06:00
Benjamin F
b000039033 fix(core) Small corrections to utils.mjs comments 2022-12-07 18:23:02 -08:00
Benjamin F
491902aca6 fix(core): In Path.clean(), initialize cur variable before use. 2022-12-04 20:19:51 -08:00
Enoch Riese
5aab19f7c5 Merge branch 'develop' into eriese-v3-printing 2022-12-04 16:29:06 -06:00
joostdecock
fab1e2f877 feat(core): Added Path.clean() method. Closes #3038 and #3056
This is a fix for bug #3038 which was investigated by @BenJamesBen
who also proposed a fix in PR #3056

However, after discussing the matter, we agreed it would be better
to have a generic method in core to guard against the issue of
spurious drawing operations.

This commit adds the `Path.clean()` method that does exactly that,
as well as its documentation.
2022-12-03 17:28:05 +01:00
Enoch Riese
271686b23b Merge branch 'develop' into eriese-v3-printing 2022-11-16 10:05:37 -06:00
Benjamin F
bd6ff9d657 fix(core): Calculate option distances correctly. 2022-11-16 15:11:35 +01:00
Enoch Riese
d921cc700d start refactoring tests for speed 2022-11-15 14:50:14 -06:00
Enoch Riese
0115a46d8a get tests passing 2022-11-14 16:33:57 -06:00
Enoch Riese
922cfd02b9 add pre-layout hook for consistency between getRenderProps and render 2022-11-14 14:01:50 -06:00
Joost De Cock
65edf0d249 fix(core): Active set, not stack 2022-10-23 19:49:58 +02:00
Joost De Cock
91c6698139 fix(core): Check plugin name optionally 2022-10-23 19:49:41 +02:00
Joost De Cock
322100f54c chore: Extended prettier for config files + run 2022-10-13 16:19:36 +02:00
Joost De Cock
f759f3986a feat(core): Cast distance to number. See #2897 2022-10-07 21:41:45 +02:00
Joost De Cock
693243d8e9 feat(core): Cast distance to number in Path.offset() 2022-10-06 23:12:26 +02:00
Joost De Cock
acf1b72c4c chore(core): Expose more SVG attributes 2022-09-30 15:47:32 +02:00
Joost De Cock
d380cc1259 fix(core): Typo in option distance comparison. Fixes #2742 2022-09-29 14:31:02 +02:00
Joost De Cock
d321f3934e fix(core): Handle from/after dependency visibility
Fixes #2876
2022-09-29 01:02:04 +02:00
Joost De Cock
68a19b75f7 chore(core): Keep hiding methods on part 2022-09-28 23:11:55 +02:00
Joost De Cock
0f82fa9b95 chore(core): Don't freeze gist 2022-09-28 22:51:55 +02:00
Joost De Cock
911ada1606 fix(core): Don't mutate settings. Fixes #2882 2022-09-28 22:30:42 +02:00
Joost De Cock
229b7e2e30 fix(core): Correctly handle hideAll in dependencies
fixes #2880
2022-09-28 21:37:17 +02:00
Joost De Cock
e960d31d96 chore: Lab debug and types. See #2838 2022-09-28 19:22:22 +02:00
Joost De Cock
22ed2f62bd fix(core): Hide grandchild dependencies 2022-09-28 18:33:01 +02:00
Joost De Cock
5a9a7b2b91 fix(core): Allow run-time hiding of parts 2022-09-28 18:08:16 +02:00
Joost De Cock
6ce5937fb9 wip(core): More tweaks to plugin discovery 2022-09-28 16:47:45 +02:00
Joost De Cock
3cb5384df5 feat(core): Added path.addText and path.setText methods
Also added a parameter to path.reverse to make it a deep clone.
2022-09-27 18:22:56 +02:00
Joost De Cock
bc8b742cb7 fix(core): Display name/version in logs 2022-09-26 09:52:09 +02:00
joostdecock
3b53f4c883 fix(core): Put getId into a closure 2022-09-25 16:40:09 +02:00
joostdecock
d1f7db8cad feat(core): Pass shorthand to macros 2022-09-25 15:00:10 +02:00
joostdecock
6cd953d825 fix(core): Don't initialize twice. Closes #2852 2022-09-25 11:17:43 +02:00
joostdecock
c7178c0697 fix(core): Hiding of parts/stacks 2022-09-25 10:55:37 +02:00
joostdecock
b3679ede55 fix(core): Fixed issue with wrong store for log 2022-09-25 10:55:37 +02:00
joostdecock
12c5c6a3f8 wip(core): Ensure imutable design parts and options 2022-09-25 10:55:37 +02:00
Joost De Cock
485492e452 wip: Work on design init 2022-09-25 10:55:37 +02:00
joostdecock
07ea66be77 fix(core): Hide stack if it's unwanted 2022-09-25 10:55:36 +02:00
joostdecock
516c819c40 feat(core): Added Point.addText and Point.addCircle 2022-09-25 10:55:36 +02:00
joostdecock
65b053ac1c feat(core): Add setHidden to shorthand 2022-09-21 12:24:19 +02:00
joostdecock
f08f2d7e48 feat(core): Add getId to shorthand 2022-09-21 10:15:59 +02:00
Joost De Cock
22680fbddc chore(core): Change init to be private (__init) 2022-09-20 15:24:10 +02:00