Wykres commitów

3517 Commity (0e65ea27f65650a0f6e315dec9fb236d9b87d2e7)

Autor SHA1 Wiadomość Data
Ink/Stitch Crowdin integration 0e65ea27f6 new translations from Crowdin 2025-07-02 01:50:10 +00:00
Kaalleen 4a08f503bd
fix style (#3838) 2025-07-01 06:49:30 +03:00
Kaalleen 81e48c151b
Merge pull request #3825 from not-my-profile/support-bundled-inkex
Revert "add icc color workaround (#3687)" and use 1.4.x inkex
2025-06-29 06:56:15 +02:00
Kaalleen c7102e6cec
Merge pull request #3826 from not-my-profile/fix-nix
Fix package build with Nix package manager
2025-06-29 06:46:22 +02:00
Kaalleen 0d461e3aef
Fix simulator drawing panel attribute error when no stitch is loaded (#3815) 2025-06-29 06:33:06 +02:00
Claudine Peyrat dd3ae3e8f3
darken chicken little preview (#3837) 2025-06-29 06:27:22 +02:00
Martin Fischer 40f1b2eccf fix: tests during Nix build
Fixes the following error when executing the tests during a Nix build:

    Traceback (most recent call last):
      File "/build/inkstitch/lib/elements/element.py", line 714, in handle_unexpected_exceptions
        yield
      File "/build/inkstitch/lib/elements/element.py", line 650, in embroider
        stitch_groups = self._load_cached_stitch_groups(previous_stitch, next_element)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/build/inkstitch/lib/debug/debug.py", line 172, in decorated
        result = func(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^
      File "/build/inkstitch/lib/elements/element.py", line 541, in _load_cached_stitch_groups
        stitch_groups = get_stitch_plan_cache().get(cache_key)
                        ^^^^^^^^^^^^^^^^^^^^^^^
      File "/build/inkstitch/lib/utils/cache.py", line 31, in get_stitch_plan_cache
        cache_dir = get_user_dir('cache')
                    ^^^^^^^^^^^^^^^^^^^^^
      File "/build/inkstitch/lib/utils/paths.py", line 50, in get_user_dir
        os.makedirs(path)
      File "<frozen os>", line 215, in makedirs
      File "<frozen os>", line 215, in makedirs
      File "<frozen os>", line 225, in makedirs
    PermissionError: [Errno 13] Permission denied: '/homeless-shelter'
2025-06-28 07:10:54 +02:00
Martin Fischer 2b0edd86db fix: generate-inx-files failing with Nix
Fixes the following error when attempting to build the Nix package:

    python bin/generate-inx-files;
    Traceback (most recent call last):
      File "/build/inkstitch/bin/generate-inx-files", line 59, in <module>
        from lib.inx.generate import generate_inx_files
      File "/build/inkstitch/lib/inx/generate.py", line 6, in <module>
        from .extensions import generate_extension_inx_files
      File "/build/inkstitch/lib/inx/extensions.py", line 10, in <module>
        from ..commands import (COMMANDS, GLOBAL_COMMANDS, LAYER_COMMANDS,
      File "/build/inkstitch/lib/commands.py", line 16, in <module>
        from .i18n import N_, _
      File "/build/inkstitch/lib/i18n.py", line 10, in <module>
        from .utils import cache, get_resource_dir
      File "/build/inkstitch/lib/utils/__init__.py", line 6, in <module>
        from . import cache as cache_module  # Slight hack to allow cache to be imported for monkeypatching
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/build/inkstitch/lib/utils/cache.py", line 13, in <module>
        from lib.utils.settings import global_settings
      File "/build/inkstitch/lib/utils/settings.py", line 84, in <module>
        global_settings = GlobalSettings()
                          ^^^^^^^^^^^^^^^^
      File "/build/inkstitch/lib/utils/settings.py", line 48, in __init__
        self.__settings_file = os.path.join(get_user_dir(), "settings.json")
                                            ^^^^^^^^^^^^^^
      File "/build/inkstitch/lib/utils/paths.py", line 50, in get_user_dir
        os.makedirs(path)
      File "<frozen os>", line 215, in makedirs
      File "<frozen os>", line 215, in makedirs
      File "<frozen os>", line 225, in makedirs
    PermissionError: [Errno 13] Permission denied: '/homeless-shelter'
2025-06-28 07:10:54 +02:00
Martin Fischer 454b5ee1a0 fix: revert "add icc color workaround (#3687)" and use 1.4.x inkex
This commit reverts 4cfb02c370
which did not fix anything as far as I can tell.

The inkex.Color constructor has been doing the same split
logic since 2018 and the used ColorCMS class isn't available
in the inkex that's bundled with Inkscape which breaks
packaging for Linux distros such as NixOS.

To prevent such breakages from being introduce accidentally
in the future the pinned inkex version is changed to the git tagged
version EXTENSIONS_AT_INKSCAPE_1.4.1.

Fixes #3824.
2025-06-28 07:09:44 +02:00
Martin Fischer 140c4bf995 test: add tests for ThreadColor initialization 2025-06-28 07:09:44 +02:00
Martin Fischer 84387f8a10
ci: add workflow to run tests on pull requests and pushes (#3830)
This introduces a new workflow that just runs the tests
on pull requests and pushes and takes ~1min30s in the GitHub CI.

The previous build workflow didn't run on PRs and takes an hour.
2025-06-27 17:46:55 -04:00
Ink/Stitch Crowdin integration 59ea02b191 new translations from Crowdin 2025-06-26 01:50:18 +00:00
Claudine Peyrat a0a3fab4c9
switch from NFKC to NFC normalization form in the lettering tool (#3828)
* switch from NFKC to NFC

* Additional normalization.

---------

Co-authored-by: CapellanCitizen <>
2025-06-25 10:30:24 +02:00
Martin Fischer 2134897db8
fix: set trims=True for pyembroidery.write (#3821)
While the trims default was changed in pyembroidery back in 2019
with c4242f0f940c86766c0c27f65b5a09641b0af4bd that change only
made it into the used Ink/Stitch fork of pyembroidery in 2022
with 28534cf1a8.

So trims have been broken in Ink/Stitch since v2.2.0.

Fixes #2813.
2025-06-23 22:38:06 -04:00
Ink/Stitch Crowdin integration f0146b6423 new translations from Crowdin 2025-06-24 01:50:49 +00:00
Ink/Stitch Crowdin integration 17f56195f0 new translations from Crowdin 2025-06-23 01:57:11 +00:00
Claudine Peyrat 2c3be600c3
Claudine/unable element info copy (#3817)
* firststeps

* Update element_info.py

* Update element_info.py

* Update element_info.py

add some help

* make style...

* rename a variable and fix a mistake

* make  headline nicer
2025-06-22 07:01:02 +02:00
Claudine Peyrat f5dda6fc45
Claudine/chose glyphs size (#3799)
* first steps

* Update lettering_svg_font_to_layers.py

* add more user parameters

* Update lettering_svg_font_to_layers.py

* round the horiz_adv_x

* remove scoriers

* better  handle the case when the reference glyph is not in the font
2025-06-22 06:30:31 +02:00
Claudine Peyrat c1e01e04f3
add apex simple small (#3818) 2025-06-21 20:54:42 +02:00
Claudine Peyrat ce558e7d70
add euphoria script,renamed as allegria (#3810)
* add  euphoria script,renamed as allegria

* Update →.svg

add some ending position to avoid ties at satin's tip.
2025-06-21 16:14:27 +02:00
Claudine Peyrat cb05c753bb
Update font.json (#3809)
modify some kerning values
2025-06-21 16:14:01 +02:00
Claudine Peyrat 62566c21b8
add venezia fonts (#3803) 2025-06-21 15:54:31 +02:00
Kaalleen 663f2e9b7d
make pytest happy again (#3802) 2025-06-20 19:01:05 +02:00
Ink/Stitch Crowdin integration 5190228798 new translations from Crowdin 2025-06-20 01:49:36 +00:00
Kaalleen c49776a6fa v3.2.2 2025-06-15 11:56:35 +02:00
Claudine Peyrat 344faff97d
Claudine/ fix tt directors ss (#3798)
* reöove ss glyph

* Update →.svg

* also update json
2025-06-14 09:18:41 +02:00
rejbasket 68a69d9501
numpy import fix (#3796)
* removed strip flag from linux pyinstaller that caused numpy import issue

* test numpy binary with strip flag

* added clean flag to pyinstaller args

* done testing removed strip flag from pyinstaller args

---------

Co-authored-by: rejbasket <rejbasket@users.noreply.github.com>
2025-06-12 19:31:25 +02:00
Ink/Stitch Crowdin integration 7bce32e2cc new translations from Crowdin 2025-06-08 02:00:48 +00:00
Kaalleen 8575629518 v3.2.1 2025-06-07 23:06:54 +02:00
Kaalleen 026f2ad930
pin numpy to 2.2.6 (#3787) 2025-06-07 23:04:24 +02:00
Kaalleen 2889f698e2
update bluenesia preview image (#3788) 2025-06-07 23:03:58 +02:00
Kaalleen 3a1e0af771 v3.2.0 2025-06-07 17:09:55 +02:00
Ink/Stitch Crowdin integration 2f5dbb9dd4 new translations from Crowdin 2025-06-07 08:18:47 +00:00
Ink/Stitch Crowdin integration 5fd8c5fcd3 new translations from Crowdin 2025-06-06 01:48:26 +00:00
Kaalleen d0bfd15c8b
Select embroidery elements: disable live preview (#3778)
* select embroidery elements: disable live preview
* add to help text: run multiple times
2025-06-05 21:14:34 +02:00
Kaalleen 547237d50a
Smoothing and clamping (#3772)
* smoothing: ensure start and end of original path
* clamp path: never intersecting path could also be entirely in the exterior of the shape
2025-06-04 20:01:53 +02:00
Kaalleen c27098508b
Jump to trim: do not add multiple (#3773) 2025-06-04 20:01:26 +02:00
Kaalleen 46f4389e4f
auto_satin: running stitch explicitly without fill (#3771)
* ensure that also satins have no fill
2025-06-04 16:57:24 +02:00
Ink/Stitch Crowdin integration 58c47417b1 new translations from Crowdin 2025-06-04 01:50:32 +00:00
Kaalleen 9e56dda6e2
emboss whole selection (#3770) 2025-06-03 22:07:12 +02:00
rejbasket 7c496dbd5b
windows 2019 action runner deprecated updated to 2022 (#3774)
Co-authored-by: rejbasket <rejbasket@users.noreply.github.com>
2025-06-03 21:49:44 +02:00
Tyrosinase 233597294d
Fix Bluesia name (#3776) 2025-06-03 21:26:12 +02:00
Ink/Stitch Crowdin integration 3acc5f0656 new translations from Crowdin 2025-06-03 01:48:42 +00:00
Ink/Stitch Crowdin integration 4c6380b78b new translations from Crowdin 2025-06-02 01:52:20 +00:00
Claudine Peyrat 3c858bd50d
Update font.json (#3767) 2025-06-01 10:31:00 +02:00
Kaalleen c7f4814519
Lettering: do not warn about fonts without jsons (#3766) 2025-06-01 07:03:43 +02:00
Kaalleen b7443483de
add anchor line symbol (#3765) 2025-05-31 11:28:13 +02:00
Kaalleen 47559abf7d v3.2.0beta3 2025-05-28 19:23:07 +02:00
Kaalleen 029e576bd4
correct windows signed artifact path (#3756) 2025-05-28 18:53:39 +02:00
Kaalleen 59312be11a v3.2.0beta2 2025-05-28 16:49:15 +02:00