1
0
Fork 0
Commit graph

912 commits

Author SHA1 Message Date
Wouter van Wageningen
68c0fca124 Code and tests 2023-04-28 16:42:35 +00:00
Wouter van Wageningen
e9ab680c53
Merge pull request #3919 from freesewing/develop
Get up to date with develop
2023-04-26 23:24:53 -07:00
dependabot[bot]
25ac25eb03
chore(deps-dev): bump eslint from 8.38.0 to 8.39.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.38.0 to 8.39.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.38.0...v8.39.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 05:22:16 +00:00
Joost De Cock
f47047249d
Merge pull request #3835 from eriese/eriese-core-refactor
refactor (core) separate various Pattern concerns into helper classes
2023-04-24 08:41:45 +02:00
Wouter van Wageningen
e7ce509762 Added test for clone() 2023-04-21 13:48:18 +00:00
Wouter van Wageningen
8887a97dd2 @eriese recommendations 2023-04-21 03:48:37 +00:00
Wouter van Wageningen
9ed72e9f45 Now with tests! 2023-04-20 18:30:40 +00:00
Wouter van Wageningen
f47e09768e spelling 2023-04-20 17:50:36 +00:00
Enoch Riese
0cbc0856f4 fix (cutlist) edits to work with plugin-mirror's new strictness 2023-04-20 10:23:27 -04:00
Enoch Riese
da76f23274 add back in accidentally deleted method 2023-04-20 10:07:43 -04:00
Wouter van Wageningen
3e91e23ed5 Working version 2023-04-20 05:44:39 +00:00
Wouter van Wageningen
895baf48d5 Spelling mistake 2023-04-20 05:43:05 +00:00
Joost De Cock
b5e72442f2 release: v3.0.0-alpha.9 2023-04-19 19:49:36 +02:00
Enoch Riese
5abd8e166b chore (core) document new classes [vercel skip] 2023-04-19 12:40:48 -04:00
Enoch Riese
c6d4fc3aea fix (core) fix rounding in count sampling. add tests 2023-04-19 11:30:32 -04:00
Wouter van Wageningen
2a3c0d1126 Tweak 2023-04-19 14:48:03 +00:00
Wouter van Wageningen
5dcaa15f32 First attempt 2023-04-19 06:08:26 +00:00
Enoch Riese
8ccab0df21 chore (core) cleanup 2023-04-18 18:47:49 -04:00
Enoch Riese
13ec5e43e5 refactor (core) reorganize method groupings in Pattern 2023-04-18 17:12:55 -04:00
Enoch Riese
8fea9a4beb refactor (core) move draft handling into its own class 2023-04-18 17:12:55 -04:00
Enoch Riese
9e8db66c94 refactor (core) move packing and rendering to its own class 2023-04-18 17:12:55 -04:00
Enoch Riese
c5baaab234 refactor (core) move plugin and hook handling to its own class 2023-04-18 17:12:55 -04:00
Enoch Riese
e59341effa refactor (core) separate sampling into its own handler 2023-04-18 17:12:55 -04:00
Enoch Riese
3c54e94c43 chore (core) move pattern related classes to their own folder 2023-04-18 17:12:55 -04:00
dependabot[bot]
4940549c68
chore(deps-dev): bump chai from 4.2.0 to 4.3.7
Bumps [chai](https://github.com/chaijs/chai) from 4.2.0 to 4.3.7.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/4.x.x/History.md)
- [Commits](https://github.com/chaijs/chai/compare/4.2.0...v4.3.7)

---
updated-dependencies:
- dependency-name: chai
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 05:38:07 +00:00
Joost De Cock
fbd7c13dba
Merge pull request #3821 from freesewing/inherit-freeid
fix(core): Proposal to fix #3781
2023-04-16 09:26:26 +02:00
joostdecock
f4f7562dd7 Merge branch 'develop' into transform-support 2023-04-15 19:53:45 +02:00
Enoch Riese
eef6c84c9c [vercel skip] chore (core) maintain coverage threshold 2023-04-15 11:59:31 -04:00
joostdecock
aa9555cb63 fix(core): Proposal to fix #3781
This is an (untested) fix for #3781
It ensures a part's freeId is inherited when the part is injected.
2023-04-15 17:54:56 +02:00
joostdecock
b33a739f54 Merge branch 'develop' into annotations 2023-04-15 15:47:00 +02:00
joostdecock
3cbb59e30f chore(core): Linter fix 2023-04-15 15:37:48 +02:00
joostdecock
cc41573b6f chore(core): Linter fix 2023-04-15 15:34:39 +02:00
joostdecock
182c4f4d64 chore: Linter warnings 2023-04-15 15:31:25 +02:00
Enoch Riese
042d4e71a9 [vercel skip] chore (core) document and test Stack.home 2023-04-14 23:49:45 -04:00
Enoch Riese
444d82c527 [vercel skip] fix tests 2023-04-14 16:06:55 -04:00
Enoch Riese
62c747daea lint fixes 2023-04-14 15:48:16 -04:00
Enoch Riese
5311a9ed28 join matrix with commas, computed transformed point coords before mutating 2023-04-14 15:43:26 -04:00
Enoch Riese
29a0b08a1d use part transforms to calculate stack bounds instead of part bounds 2023-04-14 15:42:22 -04:00
dependabot[bot]
6d554317b3
chore(deps-dev): bump eslint from 8.37.0 to 8.38.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.37.0 to 8.38.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.37.0...v8.38.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 05:08:17 +00:00
dependabot[bot]
3a612d36ef
chore(deps-dev): bump mocha from 10.0.0 to 10.2.0
Bumps [mocha](https://github.com/mochajs/mocha) from 10.0.0 to 10.2.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.0.0...v10.2.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 05:41:24 +00:00
Joost De Cock
4cd3f44d73
Merge pull request #3787 from freesewing/dependabot/npm_and_yarn/typescript-5.0.4
chore(deps-dev): bump typescript from 5.0.3 to 5.0.4
2023-04-10 15:02:41 +02:00
joostdecock
5ba6e12469 fix(core): Make Path.clean() check for valid paths before returning
A path that has no drawing operations or only a move operation causes
problems with the path offset code.

This will cause Path.clean() to return false in such a case, which in
turn will cause Path.__asPath() to return false when called from the
offset code.

We check this return value in the offset code and do not push this
segment to the offsetted path.

This fixes #3038
This closes #3056
2023-04-10 11:27:07 +02:00
github-actions
a62138e1b6 [dependabot skip] chore(deps): bumped dependabot/npm_and_yarn/typescript-5.0.4 changes in config/dependencies.yaml 2023-04-10 05:03:59 +00:00
joostdecock
a7276ce95d wip(core): Work on supported part-level transforms in layouting
This is some initial work to support part-level (SVG) transforms when
layouting the pattern.

It updates the method that calculates the bounding box to calculate a
bounding box with transforms applied.
It also adds two new methods to utils to help with that, methods that
could be useful for other people trying to do fancy transform stuff.
2023-04-06 09:55:40 +02:00
dependabot[bot]
b9a3523e47
chore(deps-dev): bump eslint from 8.36.0 to 8.37.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.36.0 to 8.37.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.36.0...v8.37.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 17:17:57 +00:00
github-actions
b50a38a3d6 [dependabot skip] chore(deps): bumped dependabot/npm_and_yarn/autoprefixer-10.4.14 changes in config/dependencies.yaml 2023-03-23 05:22:48 +00:00
Joost De Cock
1698eda01a
Merge pull request #3635 from eriese/eriese-store-methods
chore (store plugin methods) Change method access to via store only
2023-03-18 15:09:11 +01:00
dependabot[bot]
c000223737
chore(deps-dev): bump eslint from 8.34.0 to 8.36.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.34.0 to 8.36.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.34.0...v8.36.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-17 05:27:54 +00:00
Joost De Cock
0b84449aa0 release: 3.0.0-alpha.8 2023-03-16 20:36:45 +01:00
Joost De Cock
d9fd752ec1 release: 3.0.0-alpha.7 2023-03-16 20:17:41 +01:00