1
0
Fork 0
Commit graph

742 commits

Author SHA1 Message Date
Joost De Cock
43d6dbeae8 chore: Tweak to build plugin 2022-10-13 16:47:49 +02:00
Joost De Cock
322100f54c chore: Extended prettier for config files + run 2022-10-13 16:19:36 +02:00
Joost De Cock
e4378c2edb chore: Reconfigure packages 2022-10-08 04:27:44 +02:00
Joost De Cock
8e68bfc465 chore: Reconfigure packages 2022-10-08 04:05:18 +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
2eb2b6322c chore: Added warning about alpha packages 2022-10-06 21:51:39 +02:00
Joost De Cock
d4013328cc chore: Re-enabled sample tests for designs 2022-10-06 21:01:58 +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
fba25ed02b chore(core): Migrated to bezier-js 6 2022-09-28 21:25:06 +02:00
Joost De Cock
d31b0f5108 chore: Reconfigure packages 2022-09-28 21:06:47 +02:00
Joost De Cock
5491284518 Merge branch 'eriese-windows' of github.com:eriese/freesewing into eriese-eriese-windows 2022-09-28 20:16:08 +02:00
Joost De Cock
539e7ecd89 Merge branch 'develop' of github.com:freesewing/freesewing into develop 2022-09-28 19:22:32 +02:00
Joost De Cock
e960d31d96 chore: Lab debug and types. See #2838 2022-09-28 19:22:22 +02:00
Joost De Cock
c0ede14d74
Merge branch 'develop' into more-lint 2022-09-28 19:09:50 +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
nikhil
003e120f52 chore(eslint): Remove all remaining package-specific .eslintrc files 2022-09-26 17:01:50 -04: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
47a7a71b61 chore(core): Linting and more tests 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
Joost De Cock
bb89b6ca65 chore(core): Unit tests for v3 code 2022-09-19 23:35:52 +02:00
Joost De Cock
d5eb2946d3 chore(core): More unit tests 2022-09-19 18:04:47 +02:00
Joost De Cock
269b1a36f1 fix(core): Tests for smurve and smurve_ 2022-09-19 10:32:53 +02:00
Joost De Cock
d7cbd42ced feat(core): Added path.smurve() and path.smurve_() methods 2022-09-19 09:28:45 +02:00
Joost De Cock
21ea22a18d chore(core): Don't use reveal, use unhide 2022-09-18 23:01:10 +02:00
Joost De Cock
04f6852482 feat(core): Added additional lifecycle hooks
Specifically:

- preInit
- postInit
- preSetDraft
- prePartDraft
- postPartDraft
- postSetDraft
2022-09-18 22:48:55 +02:00
Joost De Cock
5dc7401308 chore(core): Use hide, not render 2022-09-18 18:16:17 +02:00
Joost De Cock
200cebf582 chore(core): Refactor v3 code 2022-09-18 15:11:10 +02:00
Joost De Cock
e163ed1782 feat(core): Tests for multisets 2022-09-17 10:28:01 +02:00
Joost De Cock
0b18d81e14 feat(core): Added support for multiple sets of settings
This changes they was settings (what the user provides) are handled.
Before this, settings were passed as an object and that was it.
Now, settings are treated as an array of settings objects and this adds
full support for managing multiple sets of settings in a single pattern
instance.

This is the mechanism that's used for FreeSewing's sampling which used
to be a rather hackish implementation, but now merely sets up the
relevant list of settings, and then calls `pattern.draft()` as usual.

Things to be mindful of is that parts, the store and settings themselves
are tied to each set of settings. So where they used to be an object,
they are now an array of object.
2022-09-17 10:24:13 +02:00