Commit Graph

38759 Commits

Author SHA1 Message Date
Jeff Young 8b1fd62d35 Make pad & via teardrops 1st-class citizens (props of the pad/via)
Change teardrop generation to rely more heavily on BOARD_CONNECTIVITY
for improved performance.

Add updating of teardrops on BOARD_COMMIT::Push().

Also converts m_CopperItemRTreeCache to std::shared_ptr.
We don't copy it around anyway, and having to create a new set
of std::unique_ptr's for each operation is likely to be more
expensive than std::shared_ptr's overhead.
2023-05-19 18:02:03 +01:00
Jeff Young 329025f8a7 Update "simple" MRU paths in project Save As.
Update only those that are the project name + extension.

Fixes https://gitlab.com/kicad/code/kicad/issues/14681
2023-05-19 18:02:02 +01:00
jean-pierre charras 86c75cf261 Fix a compil issue. 2023-05-19 09:24:49 +02:00
Marek Roszko 7774b75172 Another set of C5266 warning fixes 2023-05-18 22:46:57 -04:00
Marek Roszko 3bf2fb2c0e Fix more C5266 warnings 2023-05-18 22:08:50 -04:00
Marek Roszko 573b66d243 Fix a bunch of C5266 warnings (pointless const on bool/int returns)
warning C5266: 'const' qualifier on return type has no effect
Microsoft doesn't even document C5266
2023-05-18 21:35:06 -04:00
Marek Roszko 1cb6846df8 Disable warning made jenkin logs impossible to read 2023-05-18 20:55:26 -04:00
Seth Hillbrand 532d020d03 Update translations 2023-05-18 11:56:44 -07:00
Toni Laiho 48a439a4c1
Translated using Weblate (Finnish)
Currently translated at 100.0% (8303 of 8303 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2023-05-18 20:53:41 +02:00
Wellington Terumi Uemura ea898f2198
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (8303 of 8303 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2023-05-18 20:53:41 +02:00
Henrik Kauhanen 506b9690ae
Translated using Weblate (Swedish)
Currently translated at 99.7% (8281 of 8303 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2023-05-18 20:53:41 +02:00
dsa-t bcdaa6e9d7
Translated using Weblate (Russian)
Currently translated at 94.9% (7885 of 8303 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2023-05-18 20:53:41 +02:00
Miklós Márton c03a2dd240
Translated using Weblate (Hungarian)
Currently translated at 0.3% (30 of 8303 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/hu/
2023-05-18 20:53:40 +02:00
Toni Laiho 9c2bce53cc
Translated using Weblate (Finnish)
Currently translated at 100.0% (8303 of 8303 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2023-05-18 20:53:40 +02:00
Henrik Kauhanen 08f187ecef
Translated using Weblate (Finnish)
Currently translated at 100.0% (8303 of 8303 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2023-05-18 20:53:40 +02:00
Wellington Terumi Uemura 43675a5163
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.2% (8244 of 8303 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pt_BR/
2023-05-18 20:53:40 +02:00
Henrik Kauhanen b0e3021f97
Translated using Weblate (Swedish)
Currently translated at 99.7% (8281 of 8303 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2023-05-18 20:53:40 +02:00
dsa-t 3cbf52d88f
Translated using Weblate (Russian)
Currently translated at 94.9% (7885 of 8303 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2023-05-18 20:53:40 +02:00
István Farkas 98d09a3a86
Translated using Weblate (Hungarian)
Currently translated at 0.1% (13 of 8303 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/hu/
2023-05-18 20:53:39 +02:00
Toni Laiho f314600482
Translated using Weblate (Finnish)
Currently translated at 99.9% (8298 of 8303 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2023-05-18 20:53:39 +02:00
Seth Hillbrand f574505232 Add Tamil
Also re-enable installation of partial languages
2023-05-18 11:51:17 -07:00
jean-pierre charras 898d88cc11 Eeschema, directive labels: fix some issues:
- honor mirroring of fields attached to labels (all types)
- fix incorrect orientation of the graphic shape of SCH_DIRECTIVE_LABEL items
after mirroring the item.
Fixes #14758
https://gitlab.com/kicad/code/kicad/issues/14758
2023-05-18 10:28:27 +02:00
Jon Evans 27afd22bbf Specctra: remove grouped tracks from group before cleaning up
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14763
2023-05-17 23:03:06 -04:00
Marek Roszko 3cd89eeffb Use a placeholder commit hash if we can't get a git hash
Makes CLI test happy on...build systems circa 1990s that don't just shallow copy the git repo
2023-05-17 21:24:26 -04:00
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