47710 Commits

Author SHA1 Message Date
John Beard
4c8b971021 Eeschema: Symbol editor: pin table CSV interchange
This adds the ability to export the pin table content to a CSV file
or the clipboard as CSV, then re-import it from CSV or TSV. This allows:

* to round-trip pin table data via a spreadsheet program, so that the pin
  data can be manipulated in a richer/more familiar editing environment
* an import method to bring in tabular pin data from other formats
  "semi-automatically", without having to write a full-blown symbol generator.

Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/19207
2025-05-03 23:22:35 +08:00
Alex Shvartzkop
ceab28bc21 Update translations 2025-05-03 18:13:09 +03:00
Joakim Lundborg
2e18073d8b
Translated using Weblate (Swedish)
Currently translated at 99.9% (10231 of 10240 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2025-05-03 17:10:05 +02:00
dsa-t
ce114e0135
Translated using Weblate (Russian)
Currently translated at 97.0% (9935 of 10240 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2025-05-03 17:10:05 +02:00
ZbeeGin
5d7d914c44
Translated using Weblate (Polish)
Currently translated at 100.0% (10240 of 10240 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2025-05-03 17:10:05 +02:00
Henrik Kauhanen
c8ee45b370
Translated using Weblate (Swedish)
Currently translated at 99.9% (10230 of 10240 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2025-05-03 17:10:05 +02:00
Stian Kristensen
068632794b
Translated using Weblate (Norwegian Bokmål)
Currently translated at 41.3% (4230 of 10240 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/nb_NO/
2025-05-03 17:10:04 +02:00
DevAny
5cac4529a0
Translated using Weblate (Korean)
Currently translated at 95.4% (9778 of 10240 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2025-05-03 17:10:04 +02:00
Toni Laiho
0305a5b1c6
Translated using Weblate (Finnish)
Currently translated at 95.3% (9761 of 10240 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2025-05-03 17:10:04 +02:00
dsa-t
436f9e70fe
Translated using Weblate (Russian)
Currently translated at 97.0% (9934 of 10240 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2025-05-03 17:10:04 +02:00
DevAny KR
bbcc671589
Translated using Weblate (Korean)
Currently translated at 95.4% (9773 of 10240 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2025-05-03 17:10:04 +02:00
2tama3
f6c3fdddf1
Translated using Weblate (Japanese)
Currently translated at 97.7% (10008 of 10240 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ja/
2025-05-03 17:10:04 +02:00
Seth Hillbrand
0c23868ac2 Dijkstra's only works with positive weights
Overlapping limits break the assumptions of the algorithm.  We limit the
weights here to only positive numbers and protect the actual alg should
any sneak past

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20827
2025-05-02 17:09:54 -07:00
Marek Roszko
89aeba24f8 Fix SymbolCount() to what was intended back in 2008
Great mileage on this bug, only 500,000 miles! Yep, could get another 300,000 on it.
Or we can send it to the scrapper
2025-05-02 19:18:51 -04:00
Marek Roszko
4ac499b7cf Fix the last symbolcount fix, count empties 2025-05-02 19:06:15 -04:00
Marek Roszko
4b00114316 Don't try and GetChar() on a empty field. 2025-05-02 19:02:07 -04:00
Marek Roszko
51377cbf41 Remove leftover MSVC gate in path mod setup 2025-05-02 18:56:59 -04:00
Marek Roszko
3c08066f99 Shift the qa path setup to ENVIRONMENT_MODIFICATION due to no complaints over cmake 3.22 min 2025-05-02 18:49:48 -04:00
Marek Roszko
e8a6fff5b0 Make the vcpkg bin depend on build type for the path mod 2025-05-02 18:49:48 -04:00
Alex Shvartzkop
1fe5addafb Slightly optimize creepage DRC.
See https://gitlab.com/kicad/code/kicad/-/issues/20827
2025-05-02 21:47:13 +03:00
John Beard
a116f5cd57 Point editors: move cycle arc mode to common action, add to menu
This isn't the best possible UX (having the various modes immediately
available as graphical affordances would be best). But it's somewhat
discoverable, and at least shows the hotkey, if any, and it in the
context menu and not hidden in a toolbar right click menu. So if the
affordance-type system doesn't make it for v10, this will at least
provide something in eeschema.
2025-05-02 21:30:33 +08:00
John Beard
8ce0149e7f Eeschema: make arc edit mode user-selectable
For now, this is a preferences choicebox, same as Pcbnew.
Making the mode-switch more discoverable and fluent is a
sepearate issue (https://gitlab.com/kicad/code/kicad/-/issues/20824).

Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/18781
2025-05-02 20:50:41 +08:00
John Beard
4def9d8daf Eeschema point editor: use shared arc editing behaviour 2025-05-02 20:50:41 +08:00
John Beard
01b29c12e0 Point editor: move arc editing behaviour to common code 2025-05-02 20:50:40 +08:00
Jeff Young
3cfab79a78 Fix qa_cli gold files for junction dot size issue. 2025-05-02 10:55:04 +01:00
Marek Roszko
883a1f8d97 On Linux you can fopen (read) a directory for no reason, fix SafeReadFile to make it safer
TIL
2025-05-01 23:28:02 -04:00
Marek Roszko
157180e772 Swap windows path chars in FILENAME_RESOLVER::ResolvePath
This fixes the QA for issue13591 falsely passing on Linux.
It is actually failing this entire time.

But there is more wtfery going on, such as wxFFile::IsOpened returning True on a directory path.
2025-05-01 23:18:54 -04:00
Marek Roszko
83f9dc56d0 Add missing numpy requirement to tests/requirements.txt 2025-05-01 21:44:03 -04:00
Marek Roszko
74c79446a8 Add checkpoints to netlist testing 2025-05-01 21:20:20 -04:00
Marek Roszko
3a32ab30ed Add test from removed dup 2025-05-01 21:16:03 -04:00
Marek Roszko
784a115b3a Dont use boost_check_message for a log as it affects the last checkpoint record 2025-05-01 21:15:50 -04:00
Marek Roszko
c3f733909f Remove test files not actually being used and upped 2025-05-01 21:15:23 -04:00
Marek Roszko
a7b3d5454e Add another file open ReadAll check in qa 2025-05-01 20:04:32 -04:00
Wayne Stambaugh
93cac7d0a5 Fix broken select connection behavior.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19790
2025-05-01 17:02:21 -04:00
jean-pierre charras
a02f1f2411 PDF plotter: fix a rare pen width issue when plotting many pages in one file.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20805
2025-05-01 19:57:29 +02:00
Jeff Young
3a4ad0fb8b Cleanup. 2025-05-01 17:02:31 +01:00
Jeff Young
1f07c28999 Fix a bunch of errors involving implied line widths in plotters.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20818
2025-05-01 16:37:08 +01:00
Jeff Young
5374bffb8e Formatting. 2025-05-01 16:36:33 +01:00
John Beard
ff31b88857 Pcbnew: add keep-radius arc-edit mode
This is (now) fairly easy to slot into the PCB point editor
framework.

In this mode, the endpoints adjust only the endpoints on the existing
radius. Radius can ve changed with the midpoint point. The center
point moves the arc, as in the "keep center/adjust radius and angle"
mode.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15661
2025-05-01 22:07:46 +08:00
John Beard
70b1f8d16e Pin table: upgrade wxFB version, no changes 2025-05-01 22:06:09 +08:00
jean-pierre charras
b3c6a03171 Fix a few Coverity warnings (uninitialized vars). No actual code change 2025-05-01 15:39:58 +02:00
jean-pierre charras
3c9d696c68 ltspice_schematic.cpp: fix missing initialization 2025-05-01 07:46:44 +02:00
Marek Roszko
880ca01ff7 Add a simple file isopened guard
The saga of why the docker container fails QA continues
2025-04-30 23:17:25 -04:00
Marek Roszko
e14dfdf4b0 Protect s_ModelInfoMap against multithreading init
Encountered in QA tests on windows. Probably also a issue during kicad use if you trigger a spice netlist export without previously doing any spice model editing
2025-04-30 20:47:54 -04:00
Michal Suchánek
206d6ee0b0 Set KICAD_USE_EGL automagically
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20630
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12543
2025-04-30 13:33:47 -07:00
Seth Hillbrand
fd0b8fcc3c Add paste length control to PCB Editor as well
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20732
2025-04-30 13:29:52 -07:00
Seth Hillbrand
c5fde2aeb5 Add maximum pasted string length
Allows the user to avoid pasting unparsable boards as strings, which
freezes the system as we try to display enormous texts

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20732
2025-04-30 13:22:57 -07:00
Seth Hillbrand
8c98c0e59a Ensure that the group RTree positions are updated
Group selections are typically only the group (and not the children), so
calling an RTree update on the selection will not update the positon of
the children, only the group.  This will lead to misses when calculating
hits for various operations until the elements are updated (usually in a
commit).  This is, however, too late for checks that happen during moves

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20761
2025-04-30 11:35:05 -07:00
dsa-t
ebcfcabde9 Don't write unused part of the buffer into image data.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20698


(cherry picked from commit 3aded5da4bd5ddeec0622a40912e9a14ff786919)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-04-30 16:36:52 +03:00
Jeff Young
34f2038a95 Support URLs in Symbol Chooser info panel.
Also adds support for sim library fields as URLs.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20811
2025-04-30 12:54:04 +01:00