Seth Hillbrand
69858ab4c0
Remove shared wxString instance in DRC
...
Threaded DRC access will write to this string, re-allocating the memory
without any synchronization between threads using the string. Comment
adding this listed performance as a reason for using shared strings.
Measured performance does not seem noticeably different in either case,
even with high-error count boards. If there is a case where the
performance is limiting, we can replace these wxStrings with
std::wstring and utilize fmt
Fixes https://gitlab.com/kicad/code/kicad/issues/9888
(cherry picked from commit 5327b10064
)
2022-06-21 10:27:21 -07:00
Seth Hillbrand
c53a1e00f6
Fix one missing commit for MSVC
...
(cherry picked from commit 8f1b2acdc6
)
2022-06-21 10:08:02 -07:00
Seth Hillbrand
178a36fc66
Patch pybind11 for MSVC
...
Re-comit of earlier ef38642bf1
after updating pybind11 to 2.9.2
(cherry picked from commit c483c58276
)
2022-06-21 10:08:02 -07:00
Seth Hillbrand
8ce38d3820
Update pybind11 to 2.9.2
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10729
(cherry picked from commit 8d003804e0
)
2022-06-21 10:08:02 -07:00
Mark Roszko
e0802dcd26
Walk vcpkg config forwards for wx 3.1.7
2022-06-20 03:21:18 +00:00
Wayne Stambaugh
c8a1c5c707
Begin version 6.0.7 development.
2022-06-17 21:13:23 -04:00
Wayne Stambaugh
59091ec263
Tag release version 6.0.6.
2022-06-17 21:11:16 -04:00
jean-pierre charras
92fbc42214
PANEL_SYM_LIB_TABLE: fix a bug in filenames from wxFileDialog dialog.
...
We want the full path, so use GetPaths.
GetFilenames sometimes return the full path in wxWidgets 3.1.7, not always the filename
Fixes #11821
https://gitlab.com/kicad/code/kicad/issues/11821
2022-06-16 13:06:19 +02:00
Jeff Young
00226cb0f2
Make sure Type regex doesn't match before Pad_Type or Pin_Type.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11423
(cherry picked from commit 7cb7a68b0e
)
2022-06-13 10:59:33 -07:00
Seth Hillbrand
7128f6adf0
Prevent focus stealing in some Linux WMs
...
OnEnter events will only raise the windows within KiCad rather than
between applications
Fixes https://gitlab.com/kicad/code/kicad/issues/10809
(cherry picked from commit 110728af48
)
2022-06-13 10:18:13 -07:00
Jeff Young
38a7cb9731
Write out partial pad-stacks for blind/buried/microvias.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11692
(cherry picked from commit 80124d2463
)
2022-06-13 10:11:58 -07:00
Seth Hillbrand
b6e7bf4768
Handle updated document description format
...
parentheses are rarely if ever used independently, so trim the unmatched
ones regardless of whether we find the starting parenthesis in the
description
Fixes https://gitlab.com/kicad/code/kicad/issues/11403
(cherry picked from commit be7e9d300e
)
2022-06-13 10:02:26 -07:00
Seth Hillbrand
d600fd3498
Update Translations
2022-06-13 10:00:04 -07:00
Jan Straka
48bad152bb
Translated using Weblate (Czech)
...
Currently translated at 92.4% (6670 of 7213 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/cs/
2022-06-13 18:56:16 +02:00
Jakub Janek
da80c6796d
Translated using Weblate (Slovak)
...
Currently translated at 75.2% (5430 of 7213 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/sk/
2022-06-13 18:56:16 +02:00
co8 j
48d347ce45
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (7213 of 7213 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ja/
2022-06-13 18:56:16 +02:00
Mark Hämmerling
76139ac110
Translated using Weblate (German)
...
Currently translated at 100.0% (7213 of 7213 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/de/
2022-06-13 18:56:16 +02:00
Ivan Chuba
1d65480097
Translated using Weblate (Russian)
...
Currently translated at 99.9% (7210 of 7213 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ru/
2022-06-13 18:56:15 +02:00
Henrik Kauhanen
338b7e4c78
Translated using Weblate (Swedish)
...
Currently translated at 99.8% (7200 of 7213 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/sv/
2022-06-13 18:56:15 +02:00
Ivan Chuba
5b64231b33
Translated using Weblate (Russian)
...
Currently translated at 99.9% (7210 of 7213 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ru/
2022-06-13 18:56:15 +02:00
Henrik Kauhanen
cdaf829404
Translated using Weblate (Swedish)
...
Currently translated at 99.8% (7200 of 7213 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/sv/
2022-06-13 18:56:15 +02:00
Jan Straka
e920cdf809
Translated using Weblate (Czech)
...
Currently translated at 92.2% (6655 of 7213 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/cs/
2022-06-13 18:56:15 +02:00
Ivan Chuba
28ad719db6
Translated using Weblate (Polish)
...
Currently translated at 100.0% (7213 of 7213 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/pl/
2022-06-13 18:56:15 +02:00
Ivan Chuba
83b5c5bf7f
Translated using Weblate (German)
...
Currently translated at 100.0% (7213 of 7213 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/de/
2022-06-13 18:56:15 +02:00
Mark Hämmerling
f76678d20c
Translated using Weblate (German)
...
Currently translated at 100.0% (7213 of 7213 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/de/
2022-06-13 18:56:15 +02:00
Ivan Chuba
9b46ed2449
Translated using Weblate (Russian)
...
Currently translated at 99.9% (7210 of 7213 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ru/
2022-06-13 18:56:15 +02:00
Mark Hämmerling
70ab4c8e8d
Translated using Weblate (German)
...
Currently translated at 100.0% (7213 of 7213 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/de/
2022-06-13 18:56:15 +02:00
jean-pierre charras
24d049c017
Fix bounding box of text in footprint not properly rotated in 6.0.5 stable version
...
It is fixed in Master branch, so apply a fix similar to b6e8beb3
from master
Fixes #8728
https://gitlab.com/kicad/code/kicad/issues/8728
2022-06-13 16:46:40 +02:00
Jeff Young
54c68080f5
Nullptr defensive code.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11690
(cherry picked from commit 9b70308f5c
)
2022-06-12 10:43:30 +01:00
Jeff Young
16d63b7772
Handle alt pins in plot code.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11728
(cherry picked from commit e4798199c6
)
2022-06-12 10:39:31 +01:00
Jeff Young
797cb2aaac
Typo.
...
LIB_SYMBOL's value field is the name; SCH_SYMBOL's value field is not.
Fixes https://gitlab.com/kicad/code/kicad/issues/11556
(cherry picked from commit d381fd8b29
)
2022-06-12 10:39:31 +01:00
Mark Roszko
2044fe591d
Declare the ngspice version in vcpkg.json
2022-06-12 03:43:45 +00:00
Mark Roszko
d5baea21cd
Update kicad-vcpkg registry baseline for ngspice
2022-06-12 02:26:38 +00:00
Tomasz Wlostowski
b59c334edb
router: another attempt at improving 'kink' robustness of the hull generator
...
(cherry picked from commit f5fe1d5462
)
2022-06-10 09:17:07 -04:00
Alex
bb8719b9d5
3D viewer: Fix GL_INVALID_ENUM error.
...
(cherry picked from commit 58f9b82c1e
)
2022-06-09 11:36:11 -07:00
Seth Hillbrand
817c4645eb
Sort PCAD layers
...
Better fix for 11750. Instead of figeting with layer values, we sort
our map based on the layer numbers in the PCAD file. F_Cu is always
layer 1 and B_Cu is always layer 2.
Fixes https://gitlab.com/kicad/code/kicad/issues/11750
(cherry picked from commit ac0f95683f
)
2022-06-09 11:11:15 -07:00
Marco Ciampa
f1462e9fd6
Updated Italian translation
2022-06-09 19:42:08 +02:00
Seth Hillbrand
32aabaf010
Handle B_Cu ordering
...
Stopgap until we introduce multi-layer mapping widget
Fixes https://gitlab.com/kicad/code/kicad/issues/11750
2022-06-08 17:17:26 -07:00
Seth Hillbrand
72b7f9fe10
Check for older tags in pcad import
...
The pourOutline/planeOutline do not include support for fillets
Fixes https://gitlab.com/kicad/code/kicad/issues/11749
2022-06-08 16:17:40 -07:00
Tomasz Wlostowski
4d5b5d3791
router: fix SegmentHull() corner case when it 'chamfers' more than the clearance permits (corner case for 0-length segments, which we use
...
for representing holes)
(cherry picked from commit 56df462474
)
2022-06-08 22:39:22 +00:00
Tomasz Wlostowski
4694a2622e
router: use either copper or hole clearance, whichever is larger, when checking track -> hole collisions
...
(cherry picked from commit 990281a897
)
2022-06-08 22:39:08 +00:00
Tomasz Wlostowski
92ba60628e
router: improvements in robustness of SegmentHull()
...
- ensure the 'chamfer' radius and clearance is rounded before computing the actual hull vertices
- for small, non-45 degree line segments (present in many boards), generate a slightly larger but still axis-aligned 45 degree hull instead of following exactly the segment direction
(cherry picked from commit bcfe12ce47
)
2022-06-08 16:14:03 +00:00
Tomasz Wlostowski
2be352b9f9
geometry: more robust colinearity test in SHAPE_LINE_CHAIN::Simplify()
...
We now test the midpoint (B) of the 3 consecutive polyline points (A, B, C), since (assuming the angle between AB and BC is > 90 degrees) AC is always longer than
AB or BC. This minimizes the distance computation rounding error (in the previous algorithm, taking the point C for colineraity test) if AB is short and BC is very long, the test would
often fail due to rouding error in projection/line distance computation
(cherry picked from commit 3aed13278d
)
2022-06-08 16:13:15 +00:00
Tomasz Wlostowski
8afb8190af
geometry: use dedicated 64-bit integer square root for distance computations
...
Guarantees 1 LSB error, while the C++ double type has 55 mantissa bits (meaning for sqrt(X) >~ 2^22.5) the error is not guaranteed.
(cherry picked from commit e6ebc2b9b9
)
2022-06-08 16:12:59 +00:00
Jeff Young
275afdc1d5
Expose footprint ID, description and keywords to property system.
...
(cherry picked from commit dee22a31d9
)
2022-06-08 15:58:53 +01:00
Jeff Young
3a8ad7165b
Clear point editor before recombining pad.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11731
(cherry picked from commit bd51b33f65
)
2022-06-08 15:58:52 +01:00
Jeff Young
bbe70e2f67
Repair Eagle importer page number handling.
...
The root sheet needs a page number, and the other sheets need to not
have their last step in the path duplicated.
Fixes https://gitlab.com/kicad/code/kicad/issues/11409
(cherry picked from commit aaff163d7c
)
2022-06-08 15:58:52 +01:00
Jeff Young
4a5f74422c
Take pad angle into account when generating spokes.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11765
2022-06-08 15:46:56 +01:00
Jon Evans
7053981835
Don't wipe out visibility state when changing layer count
2022-06-07 23:00:32 -04:00
Jon Evans
895314b639
PNS: Fixup hole clearance to use exact hulls for walkaround
...
(partially cherry picked from commit 30fb298ed3
)
2022-06-07 22:34:16 -04:00