47571 Commits

Author SHA1 Message Date
Jeff Young
be4a851186 Allow embedded files to come from components
as well as parent containers.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20530
2025-04-23 15:14:58 +01:00
Salvador E. Tropea
a590d28c8e ADDED: Postscript job support 2025-04-23 13:41:00 +00:00
Wayne Stambaugh
7fb16260aa Add missing virtual file handler clean up when creating archive files.
This was due to an over zealous clean up of the PROJECT_ARCHIVER and
PROJECT_ARCHIVER_DIR_ZIP_TRAVERSER objects which seems to cause issues
on Windows builds.
2025-04-23 07:56:28 -04:00
Jeff Young
31100451c6 Fill in some missing 3D render code.
1) add footprint graphics and text to copper
polys when differentiating plated from non-plated
copper

2) simplify adding footprint graphics and text
for contour walls

3) add dimension text and shapes for contour walls

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20111
2025-04-23 10:41:36 +01:00
Jeff Young
1ec47a053b Don't save UUIDs for teardrop zones.
They're really just a geometry cache.

Also removes writing of filled_areas_thickness,
which hasn't been supported in yonks.

Also cleans up writing of island removal strategy
(the limit is only needed in limit mode).

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20717
2025-04-23 10:41:36 +01:00
Seth Hillbrand
e75076ab41 Revert "Replace glew with epoxy"
This reverts merge request !2217
2025-04-22 15:16:58 -07:00
Michal Suchánek
0c36e16292 Replace glew with epoxy
Glew has the problem that it has to be selected at build time if GLX or
EGL is supported by the library, and this in not encoded in the library
name, nor ABI, nor anything.

Then it's easy to get into the situation that a binary is built but
cannot run because glew supports an API different from the one used by
wxWidgets, or the binary fails to link in the end after all objects are
compiled.

epoxy can support both with the same library avoiding this problem.

epoxy is not initialized explicitly, replaced initialization with
version check where one was not done already.

It seems to be available as vcpkg https://vcpkg.link/ports/libepoxy

There are problems related to GL context switching on Windows which does
not seem to be used in kicad
https://github.com/anholt/libepoxy#known-issues-when-running-on-windows
There is also a problem related to multithreaded rendering on Windows
https://github.com/anholt/libepoxy/pull/265 It's harder to tell if
threading is used for rendering but it does not look like kicad is doing
anything complex enough to warrant using multiple rendering threads.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20630
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12543
2025-04-22 12:54:39 -07:00
John Beard
d2307fdcaa PCB array tool: make it easier to skip renumbering entirely
This was already possible by setting a 0-sized step, but that's
a bit clunky - provide an obvious way to do it via a
"do/do not renumber at all" checkbox.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/20470
2025-04-23 00:00:00 +08:00
John Beard
1b1623885c PCB array tool: don't count array source pad as reserving its number
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/20722
2025-04-23 23:32:20 +08:00
jean-pierre charras
874fad4846 QA test: Update issue11814.kicad_pcb by removing old teardrops
These teardrops created by a old plugin have all the same priority.
Overlapping zones must avoid using the same priority.
Now replaced by teardrops created by Pcbnew.
2025-04-22 15:46:29 +02:00
Jeff Young
a53a639523 Formatting. 2025-04-22 13:15:03 +01:00
Jeff Young
5573dce448 Fix various errors in intersecting zones test.
Also gives a clearer error message, and better
descriptions of named zones.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20718
2025-04-22 13:15:03 +01:00
jean-pierre charras
57102b87ce PCB_PAINTER, mirrored view, texts on non paired layers: keep position
Depending on their horizontal justification, the texts wee moved when
flipping the board view.
2025-04-22 09:28:47 +02:00
JamesJCode
8ef54c3651 Remove delay_profile API parameter until design matures 2025-04-22 00:08:04 +01:00
JamesJCode
bd1f6e505c PCB Calcs: Reset default units along with values 2025-04-21 21:28:00 +01:00
Mike Williams
f51c5c396f sch groups: add swap data fix
Copied from 199a7a34ead5998cdd7269338312f34bc4022703 for board items
2025-04-21 15:02:35 -04:00
Mike Williams
9cb0d100e5 sch design blocks: block illegal characters before creation failure
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/20676
2025-04-21 14:59:31 -04:00
Seth Hillbrand
9d1142839a After removing items from the conn list, check valid
When cancelling, we mark elements invalid if they are removed from the
connectivity list.  Be cause when iterating through the list again.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20566
2025-04-21 11:44:30 -07:00
Jeff Young
199a7a34ea Don't leak PCB_GROUP internals into BOARD_COMMIT.
(This also fixes a potential bug where the image
group's children didn't get the image as a parent.)
2025-04-21 18:24:30 +01:00
Jeff Young
c1b1c689ad Don't double-add/remove items from connectivity.
BOARD::Add()/Remove() already do this.
2025-04-21 18:20:52 +01:00
Jeff Young
519b29472f Remove temporary debugging code. 2025-04-21 17:40:28 +01:00
John Beard
207199fd80 PCB_PICKER_TOOL: avoid popping a dismabiguation menu after point selection completes
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/20680
2025-04-22 00:27:25 +08:00
jean-pierre charras
7c56b04436 DIALOG_CREATE_ARRAY_BASE: fix better size of dlg in fp editor.
A panel was set as stretchable (which was not useful) thus creating
a very large dialog in FP editor.
2025-04-21 15:45:39 +02:00
Jeff Young
5a3b2cc8fd Temporary debugging code. 2025-04-21 14:42:41 +01:00
Jeff Young
072932df80 Don't process all items in a move individually. 2025-04-21 14:42:41 +01:00
Damjan
af11746cc4 pcbnew and eeschema: Table and textbox rotation / text justification fix 2025-04-21 13:32:46 +00:00
Mike Williams
54681278c5 sch groups: don't double move on paste 2025-04-21 09:28:27 -04:00
Mike Williams
82043e374a sch groups/lines: correctly handle view lifetime and drawing in group 2025-04-21 09:28:27 -04:00
Mike Williams
6a24c5c5a4 sch groups: add delete support 2025-04-21 07:50:05 -04:00
Alex Shvartzkop
f72d5c43f3 Update translations 2025-04-21 13:43:28 +03:00
dsa-t
81e2e4e8d2
Translated using Weblate (Russian)
Currently translated at 96.3% (9878 of 10256 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2025-04-21 12:42:53 +02:00
ZbeeGin
e6c8618386
Translated using Weblate (Polish)
Currently translated at 100.0% (10256 of 10256 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2025-04-21 12:42:53 +02:00
ZbeeGin
f3392b5c99
Translated using Weblate (Polish)
Currently translated at 100.0% (10256 of 10256 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2025-04-21 12:42:53 +02:00
Pferd O
7a38e3bf1e
Translated using Weblate (German)
Currently translated at 99.0% (10154 of 10256 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2025-04-21 12:42:53 +02:00
Pferd O
254ba394f1
Translated using Weblate (German)
Currently translated at 98.8% (10136 of 10256 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2025-04-21 12:42:53 +02:00
Ivan Chuba
396b7b0054
Translated using Weblate (Estonian)
Currently translated at 3.7% (383 of 10256 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/et/
2025-04-21 12:42:53 +02:00
Ivan Chuba
ef594d7bb2
Translated using Weblate (Ukrainian)
Currently translated at 73.7% (7564 of 10256 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/uk/
2025-04-21 12:42:53 +02:00
Henrik Kauhanen
a43956a87b
Translated using Weblate (Swedish)
Currently translated at 99.5% (10213 of 10256 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2025-04-21 12:42:53 +02:00
Ettore Atalan
cfd5846f4e
Translated using Weblate (German)
Currently translated at 98.8% (10133 of 10256 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2025-04-21 12:42:53 +02:00
Henrik Kauhanen
6d22d32f46
Translated using Weblate (Swedish)
Currently translated at 99.5% (10205 of 10256 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2025-04-21 12:42:53 +02:00
Henrik Kauhanen
64d2fef703
Translated using Weblate (Swedish)
Currently translated at 99.4% (10204 of 10256 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2025-04-21 12:42:53 +02:00
Henrik Kauhanen
95b8e1241f
Translated using Weblate (Swedish)
Currently translated at 99.0% (10160 of 10256 strings)

Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2025-04-21 12:42:52 +02:00
Alex Shvartzkop
8051904211 Un-translate layer names in 3D appearance panel.
(cherry picked from commit 33fad39cf435cf859e22f97e54106ccb3ddbc12c)
2025-04-21 13:40:59 +03:00
Alex Shvartzkop
4239e706ea LTspice import: don't fail if some symbols are missing.
(cherry picked from commit c2d3c9b2921ef1d25c2f49b7d8e370a346840be9)
2025-04-21 05:42:30 +03:00
Alex Shvartzkop
c737bd392e LTspice import: adapt label spin when multiple wires connected
(cherry picked from commit 37103c6e157686b46293ccf9940b57fb8aff5211)
2025-04-21 05:42:30 +03:00
Alex Shvartzkop
496fc3b6bf LTspice import fixes:
- Support UTF-16 LE file encoding
- Support Invisible text justification
- Make added SCH_FIELD invisible by default, like in 8.0
- Adjust label orientations based on wire placements
- Fix arc windings in symbols
2025-04-21 05:42:30 +03:00
Jeff Young
5371312c6f Make auto text thickness active. 2025-04-20 19:59:05 +01:00
JamesJCode
b23bd0ed92 Remove files from other branch 2025-04-20 18:00:50 +01:00
JamesJCode
2483ab4d7a Add calculation of unit propagation delay to PCB calculator 2025-04-20 13:04:04 +01:00
jean-pierre charras
1af76a9bef Pad properties dlg: Clearing thermal relief override (gap/spoke) does not work
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20709
2025-04-20 11:05:21 +02:00