Joost De Cock
72c2a6c9e7
feat(core): Added support for conditional plugins
2020-09-12 19:01:12 +02:00
Joost De Cock
a76ae76fb0
feat(core): Added info type to raise method
2020-09-12 16:31:55 +02:00
Joost De Cock
39d1cdd0ca
feat(core): Added name property to parts to hold the part name
2020-08-30 11:48:09 +02:00
Joost De Cock
d2a7d48465
chore(core): Fixed more linter warnings
2020-08-23 17:46:40 +02:00
Joost De Cock
7420007308
chore(core): Fixed linter warning
...
This was checked incorrectly a few commits back. This fixes that.
2020-08-23 17:42:40 +02:00
Joost De Cock
9125b49841
chore(core): Fixed linter warnings
2020-08-23 17:09:09 +02:00
Joost De Cock
75afc2d9c3
fix(core): Fixed edge-case in utils.pointOnCurve
...
If we were trying to find a point that lied on a part of a curve
that was a perfect horizontal line, no intersection would be found.
This fixes that.
- Fixes https://github.com/freesewing/freesewing.org/issues/898
- Fixes https://github.com/freesewing/freesewing.org/issues/899
- Fixes https://github.com/freesewing/freesewing.org/issues/913
2020-08-09 09:50:49 +02:00
Joost De Cock
a57afeaf02
fix(core): Fixed set handler for proxied options/measurements object
...
- Fixes https://github.com/freesewing/freesewing.org/issues/895
- Fixes https://github.com/freesewing/freesewing.org/issues/894
- Fixes https://github.com/freesewing/freesewing.org/issues/892
- Fixes https://github.com/freesewing/freesewing.org/issues/891
- Fixes https://github.com/freesewing/freesewing.org/issues/888
- Fixes https://github.com/freesewing/freesewing.org/issues/887
- Fixes https://github.com/freesewing/freesewing.org/issues/885
- Fixes https://github.com/freesewing/freesewing.org/issues/883
- Fixes https://github.com/freesewing/freesewing.org/issues/875
- Fixes https://github.com/freesewing/freesewing.org/issues/873
- Fixes https://github.com/freesewing/freesewing.org/issues/870
- Fixes https://github.com/freesewing/freesewing.org/issues/869
2020-07-29 17:51:53 +02:00
Joost De Cock
2699bb9496
fix(core): Fixed wrong return message in debug output for Path
2020-07-24 16:27:42 +02:00
Joost De Cock
f6e919e42f
chore(core): Fixed a few issues regarding to events
2020-07-23 11:54:55 +02:00
Joost De Cock
01ab30656d
chore(core): Removed info event type
2020-07-23 10:27:03 +02:00
Joost De Cock
75f0e97c05
chore(core): Made raise non-iterable
2020-07-23 10:26:04 +02:00
Joost De Cock
ffd7ecda59
chore(core): Added raise to path instances
...
I am not happy about this, but when a Path object is not created via
the proxied constructor, we don't have the raise method inside of it.
2020-07-21 13:59:13 +02:00
Joost De Cock
9ace3b6255
fix(core): Fixed typo in debug code
2020-07-21 13:07:31 +02:00
Joost De Cock
4ac64e05cb
chore: Further tweaks to pattern events
2020-07-19 13:01:01 +02:00
Joost De Cock
03da84b824
feat(core): Added new debug event type and debug system
2020-07-18 16:48:29 +02:00
Joost De Cock
b360359cf6
feat(core): Added debug as event type
2020-07-17 14:44:16 +02:00
Joost De Cock
d2bf45e63c
fix(core): Properly escape quotes in units. Fixes #437
2020-07-12 15:10:18 +02:00
Joost De Cock
583abb0236
feat(core): Added support for raising events
2020-07-11 18:04:29 +02:00
Joost De Cock
7d3815939b
feat(core): Added support for custom sample styles
2020-07-11 15:15:02 +02:00
Joost De Cock
673743faae
feat(core): Add support for injecting sample styles
...
This allows you to override the (path) styles when we
sample the pattern by setting `settings.sample.styles`.
This closes #380
2020-05-30 14:02:37 +02:00
Joost De Cock
224c9525e1
feat(core): Expose Bezier-js via utils
...
Since the bezier-js library is bundled with @freesewing/core, we
now expose it via utils. This way, people who want to use this
in their plugins or other code are not forced to import it again.
2020-04-18 11:38:08 +02:00
Joost De Cock
ff82e2568b
feat: Do not set plugin configuration object on pattern.use()
...
Plugins can pass a configuration object (or any
sort of data) when loaded with `pattern.use()`.
We use to set that parameter to `false` when loading, but
now we leave it `undefined`. This makes is easy for plugins
to use a default parameter for the configuration/data passed
to it.
2020-04-18 11:36:02 +02:00
Joost De Cock
926e921582
chore: Added more unittests for patterns
2020-03-15 16:34:56 +01:00
Joost De Cock
e9784509ee
Do not escape text in plugin, instead escape at render time
2020-03-15 12:20:48 +01:00
Joost De Cock
d7cd438fb7
feat(breanna): First Breanna release candidate
2020-01-18 15:34:57 +01:00
Joost De Cock
06499b9697
feat(core): Added the path.insop() method
2020-01-12 19:04:29 +01:00
Joost De Cock
d906d68613
feat(core): Added the path.noop() method to core
2020-01-12 17:57:05 +01:00
Joost De Cock
a2f4725f39
refactor(core): Switches to our own fork of js-bezier
2020-01-04 14:22:33 +01:00
Joost De Cock
261da52c3b
✨ Integrated Penelope and Waralee patterns, plus 2.1 prep
...
Penelope and Waralee are two new patterns by @woutervdub
This integrates them in our monorepo, including the translations
in the i18n package and the package info in the pattern-info pattern
This commit also includes a minor tweak to our core package.
Previously, you had to instantiate a pattern to get its config,
but that is no longer the case. The default export (the constructor)
now has a config property you can access without instantiating the pattern.
All of these changes will trigger a new minor release when we merge them
into master. Specifically v2.1
2019-09-21 19:42:53 +02:00
Joost De Cock
6710d76b08
🎨 Updated prettier config
2019-08-03 15:03:33 +02:00
Joost De Cock
2a20b65fa2
🔧 Updated rollup config
2019-07-19 15:09:05 +02:00
Joost De Cock
ded5795ebe
✨ Added the path.setRender() method to core
2019-07-16 16:18:07 +02:00
Joost De Cock
54be0b691e
✨ Added utils.rad2deg to core
2019-07-11 16:49:02 +02:00
Joost De Cock
45498afbba
🐛 Prevent draft method from forcing render of hidden part
2019-07-08 15:37:27 +02:00
Joost De Cock
9f2eda43e9
💡 Improved error message in path.shiftAlong
2019-07-06 14:01:25 +02:00
Joost De Cock
7cc063712b
🚨 Removed linter warnings
2019-06-01 16:18:14 +02:00
Joost De Cock
6aa14f0613
🚧 Fixes to the part dependency resolver
2019-05-31 19:18:38 +02:00
Joost De Cock
0157b43b68
🔥 Removed lingering console.log statements
2019-05-31 16:30:36 +02:00
Joost De Cock
d3a1ea6554
🔧 Reconfigure packages
2019-05-31 16:09:41 +02:00
Joost De Cock
3a9f21e3e1
🐛 Fixed issue in the part dependency resolver
2019-05-31 14:48:46 +02:00
Joost De Cock
b8c8f741aa
🔧 Reconfigure packages
2019-05-31 10:20:20 +02:00
Joost De Cock
1bc2272c90
🚧 Changes to pattern examples
2019-05-30 21:19:41 +02:00
Joost De Cock
ec2c9f17df
✨ Change the part::inject method to keep @woutervdub happy
2019-05-10 17:38:47 +02:00
Joost De Cock
803e1c0552
🚨 Removed linter warnings
2019-05-10 13:14:31 +02:00
Joost De Cock
a888922968
🚧 Progress on workbench
2019-05-06 17:01:44 +02:00
Joost De Cock
158c19ae1d
🚧 Progress on workbench
2019-05-05 17:06:22 +02:00
Joost De Cock
476f4b8088
📦 Renamed freesewing pkg to @freesewing/core
2019-04-19 10:09:50 +02:00