Commit Graph

37985 Commits

Author SHA1 Message Date
Seth Hillbrand 0de24bfd59 Cleanup text alignment between version 6 and 7
Version 7 text alignment changed subtly for stroke fonts from version 6.
Additionally, the output has been different between screen and plotting,
leading to offset text in plotted output relative to the text shown on
screen.

This introduces a fudge factor in FONT::getLinePositions to correct the
offset in the plotting output relative to v6.

This also changes the SCH_PAINTER and PCB_PAINTER to correct the
relative offsets between GAL and PLOTTER classes.  The source of these
offsets is atm unclear.

Fixes https://gitlab.com/kicad/code/kicad/issues/14755
2023-05-17 13:33:49 -07:00
Ian McInerney 20ec8ed303 Fix GitLab URLs to point to the correct project page
GitLab 16.0 removes support for URLs that don't contain /-/ after the
repository name, so the report bug feature and various links we had in
the source (including the git-fixes script) would lead to a 404 error.

See GitLab docs for deprecation/removal notice:
https://docs.gitlab.com/ee/update/deprecations.html?removal_milestone=16.0#legacy-urls-replaced-or-removed

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14759
2023-05-17 11:23:00 +01:00
Marek Roszko aeadd49a33 Fix windows builder broken by 831a6d5 2023-05-16 21:49:55 -04:00
Marek Roszko ecbde8fc5f Disable the image diff test on ubuntu due to the restricted PPA builder 2023-05-16 21:44:26 -04:00
Wayne Stambaugh 831a6d55fc Fix potential stale pointer bug in schematic highlight connection code.
SCH_CONNECTION objects are temporary and can become stale any time the
connectivity is updated.  Keeping them around to reference later is a
bad idea.  Even if the object pointer is still valid in an SCH_ITEM in
the undo/redo buffers, comparing the pointer against another pointer as
a test to see if they are the same connection is not valid.  Saving the
connection name is safe and ensures the connection is the same even if
the pointers differ.
2023-05-16 20:06:21 -04:00
jean-pierre charras be59e7d67f NETLIST_EXPORTER_SPICE: add space to the not allowed chars in netnames
Not allowed chars are replaced by '_'
Fixes #14724
https://gitlab.com/kicad/code/kicad/issues/14724
2023-05-16 17:59:01 +02:00
jean-pierre charras 66651327bd STEP export: in board outlines, export Circles as Cylinders, round 2.
Other arcs (not 360 deg arcs) are still exported as polylines
2023-05-16 13:39:16 +02:00
jean-pierre charras 99bdb82dff Revert "STEP export: in board outlines, export Circles as Cylinders."
This reverts commit 09515fe821.
It does not pass a QA test
2023-05-16 09:59:53 +02:00
jean-pierre charras 09515fe821 STEP export: in board outlines, export Circles as Cylinders.
Other arcs (not 360 deg arcs) are still exported as polylines
2023-05-16 08:46:34 +02:00
Marek Roszko 06b3edec53 Use pre-python 3.9 type hint in cli qa 2023-05-15 20:05:44 -04:00
Marek Roszko 1adcb86e0b Initial schematic search pane 2023-05-14 22:41:56 -04:00
Marek Roszko 34ba343754 Add SCHEMATIC_LISTENER equivalent to BOARD_LISTENER 2023-05-14 21:35:51 -04:00
Jon Evans 94130716a5 PNS: Collision search context may be null
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14741
2023-05-14 17:20:59 -04:00
Alex d790865549 Make sure text bounding box exists when syncing PNS world.
Fixes https://gitlab.com/kicad/code/kicad/issues/14733
2023-05-14 13:40:14 +03:00
jean-pierre charras 0d893f09ef French translation update 2023-05-14 10:20:15 +02:00
jean-pierre charras 3be8bfe193 Fix a few Coverity warnings (not initialized vars) 2023-05-14 10:11:38 +02:00
jean-pierre charras bd71cec826 Bitmap2component: enhancement: add more PCB layers in PCB layer list selector. 2023-05-13 12:28:48 +02:00
Seth Hillbrand 7388dfec2d Update translations 2023-05-12 12:58:58 -07:00
Ulices ffee7e8b41
Translated using Weblate (Spanish (Mexico))
Currently translated at 97.0% (8053 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es_MX/
2023-05-12 21:54:39 +02:00
taotieren 27a96f62ae
Translated using Weblate (Chinese (Traditional))
Currently translated at 94.9% (7884 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2023-05-12 21:54:39 +02:00
taotieren 8a042e2841
Translated using Weblate (Chinese (Simplified))
Currently translated at 96.8% (8042 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2023-05-12 21:54:39 +02:00
Miklós Márton 41083317ee
Translated using Weblate (Hungarian)
Currently translated at 35.3% (2933 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/hu/
2023-05-12 21:54:39 +02:00
Toni Laiho 68cf78cda0
Translated using Weblate (Finnish)
Currently translated at 99.9% (8300 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2023-05-12 21:54:39 +02:00
taotieren c825452cbb
Translated using Weblate (Chinese (Simplified))
Currently translated at 96.7% (8036 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2023-05-12 21:54:38 +02:00
taotieren 4086654aea
Translated using Weblate (Chinese (Simplified))
Currently translated at 96.7% (8036 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2023-05-12 21:54:38 +02:00
taotieren 57d34c779e
Translated using Weblate (Chinese (Simplified))
Currently translated at 96.7% (8036 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2023-05-12 21:54:38 +02:00
taotieren 59b5e01cad
Translated using Weblate (Chinese (Simplified))
Currently translated at 96.7% (8036 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2023-05-12 21:54:38 +02:00
taotieren 7d9fd2d139
Translated using Weblate (Chinese (Simplified))
Currently translated at 96.7% (8036 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2023-05-12 21:54:38 +02:00
Hubert Hu 940e4ca6e3
Translated using Weblate (Chinese (Simplified))
Currently translated at 96.7% (8036 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2023-05-12 21:54:38 +02:00
Henrik Kauhanen ddb69620b4
Translated using Weblate (Swedish)
Currently translated at 99.7% (8281 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2023-05-12 21:54:38 +02:00
Henrik Kauhanen d1e01466b5
Translated using Weblate (Finnish)
Currently translated at 97.4% (8089 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2023-05-12 21:54:38 +02:00
Jan Straka 414783f7a3
Translated using Weblate (Czech)
Currently translated at 86.8% (7211 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2023-05-12 21:54:37 +02:00
Wellington Terumi Uemura bdc9af7f09
Translated using Weblate (Portuguese (Brazil))
Currently translated at 97.7% (8113 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2023-05-12 21:54:37 +02:00
Henrik Kauhanen 27c2ac1e27
Translated using Weblate (Swedish)
Currently translated at 99.4% (8256 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2023-05-12 21:54:37 +02:00
Toni Laiho 773c1a35d7
Translated using Weblate (Finnish)
Currently translated at 97.4% (8089 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2023-05-12 21:54:37 +02:00
Ettore Atalan b2558e1901
Translated using Weblate (German)
Currently translated at 96.5% (8013 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2023-05-12 21:54:37 +02:00
Ulices 42432cadbf
Translated using Weblate (Spanish (Mexico))
Currently translated at 96.9% (8048 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es_MX/
2023-05-12 21:54:37 +02:00
Henrik Kauhanen 490e4c2fd4
Translated using Weblate (Swedish)
Currently translated at 97.2% (8077 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2023-05-12 21:54:37 +02:00
dsa-t b7555f9d41
Translated using Weblate (Russian)
Currently translated at 94.9% (7883 of 8302 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2023-05-12 21:54:37 +02:00
Seth Hillbrand 6a0f64b5a4 Update golden QA images with fixed stroke font output
QA images were generated with v7 output location.  This needs to update
to use the v6 locations
2023-05-12 12:40:41 -07:00
Seth Hillbrand 72267cf9b0 Adjust stroke font output to match v6 output
Many minor tweaks were added that changed the output of the stroke font
from v5/v6.  These offsets changed the gerber output expected.  This
reverts the changes to something much closer to the v6 output.  It is
not pixel-perfect but gets very close on most texts.

Fixes https://gitlab.com/kicad/code/kicad/issues/14609
2023-05-12 12:40:41 -07:00
jean-pierre charras 94bd1c6025 Fix a few Coverity warnings. 2023-05-12 18:53:55 +02:00
Seth Hillbrand 2ffb58a7e2 Test for schematic type when changing
The schematic editor undo list may hold page layout types as well
2023-05-12 08:43:58 -07:00
Alex fe2e5cbfa6 Fix pre-commit symlink 2023-05-12 16:10:18 +03:00
Alex 28fd5f75c8 Revert change in git pre-commit hook. 2023-05-12 15:49:23 +03:00
Alex f7f15e1ddf Prevent axes settings from affecting angles in properties panel.
Fixes https://gitlab.com/kicad/code/kicad/issues/14168
2023-05-12 15:44:37 +03:00
Alex efbd360440 Fix double negative signs in mask/paste margin overrides. 2023-05-12 15:44:37 +03:00
jean-pierre charras 22de1c8813 Teardrop dialog: refinements. Show a PROGRESS_REPORTER when refilling zones. 2023-05-12 10:06:20 +02:00
Steve Bollinger 85f4f0d6c8 pcbnew: switching track posture may not work on first attempt
If you drag a track out and connect to a pad then press the hotkey
to switch the track posture it may not switch because the track
posture selected when the pad was reached is different than the one
that the mouse trail placer drew. As the aspect switching is done
in the mouse trail placer it does not know that the line placer
already override the track.

To correct this, in LINE_PLACER::FlipPosture() if the aspect is not
currently manually forced then copy the current aspect from the
line placer to m_mouseTrailPlacer before calling the FlipPosture()
method of m_mouseTrailPlacer. This will only be done once per
dragging session as once the aspect is manually forced it remains
manually forced. This seems to fix the issue with no undesirable
side effects.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/12369
2023-05-11 23:35:21 +00:00
Jon Evans 89aae88e96 PNS: make sure context options are used in collideSimple
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14659
2023-05-11 16:48:15 -04:00