Roberto Fernandez Bautista
2393165ada
CADSTAR PCB: Fix regression when loading pads in footprints
...
Zero sized pads can be valid - e.g. a through hole pad
(cherry picked from commit fa5dc23797
)
2022-09-06 20:29:49 +02:00
Tomasz Wlostowski
e593e0b014
router: somewhat improved stop-if-walk-path-is-too-long heuristic in the walkaround algorithm
2022-09-06 11:06:38 -07:00
Tomasz Wlostowski
42dae1504a
router: fix negative chamfer value for hulls generated for 0-length segments
2022-09-06 11:06:31 -07:00
Seth Hillbrand
440d324c9e
Don't prevent immediate actions while router active
...
Immediate actions that can take place are useful. We should only be
preventing immediate actions while actively routing or dragging
Fixes https://gitlab.com/kicad/code/kicad/issues/12311
(cherry picked from commit 91fbb5c957
)
2022-09-06 11:04:33 -07:00
Seth Hillbrand
29cadaf54e
Force removal of zero-sized pads on load.
...
Pads with zero width or height cause issues when rendering and
selecting. KiCad has never allowed these elements but hasn't prevented
importing systems where they exist. This prevents their import and
cleans existing designs where the pads are placed
Fixes https://gitlab.com/kicad/code/kicad/issues/12200
(cherry picked from commit 2ee65b2d83
)
2022-09-06 11:03:41 -07:00
Seth Hillbrand
83eb9e03b1
Keep the reset text correct
...
Ensures that after setting the initial dialog page, we also set the
proper text in the reset button as the event does not get fired
Fixes https://gitlab.com/kicad/code/kicad/issues/11856
(cherry picked from commit 9faff78258
)
2022-09-06 10:42:02 -07:00
Seth Hillbrand
b324abefe5
Handle cases where Simplify removes all outlines
...
This could theoretically happen for a fully degenerate polygon
Fixes https://gitlab.com/kicad/code/kicad/issues/12120
(cherry picked from commit 5a37211fdb
)
2022-09-06 10:42:02 -07:00
Seth Hillbrand
b72675ba92
Allow board saves without modifying project files
...
Without the project files, certain settings will not be saved by this
python call. This defaults to false (current behavior) but setting the
`aSkipSettings` to true will revert to v5 behavior
Fixes https://gitlab.com/kicad/code/kicad/issues/11323
(cherry picked from commit 8418fe12d8
)
2022-09-06 10:18:24 -07:00
Seth Hillbrand
70b69af313
Hide cursor while warping on Wayland
...
Based on https://gitlab.freedesktop.org/xorg/xserver/-/issues/734 we
hide the window cursor prior to warping, which allows XWayland to
reposition the cursor. This is only performed when Wayland is detected;
all other configurations call the standard warp routine
Fixes https://gitlab.com/kicad/code/kicad/issues/9785
(cherry picked from commit a118f20464
)
2022-09-06 10:13:40 -07:00
jean-pierre charras
83f135315c
3D models list in footprint properties: fix issue when a lot of 3D models is added
...
From master branch
2022-09-06 17:33:09 +02:00
Jeff Young
c276280e5c
Remove curly brace from string encoding.
...
It causes issues with formatting constructs and text variable refs,
and it's not a reserved character even in filenames.
Fixes https://gitlab.com/kicad/code/kicad/issues/12351
(cherry picked from commit 71724bea0c
)
2022-09-04 10:37:32 +01:00
Roberto Fernandez Bautista
07481cd4ca
CADSTAR PCB: Invert logic for guessing which layer is top / bottom
...
Ensures correct automatic layer mapping is applied to the design in
https://gitlab.com/kicad/code/kicad/-/issues/12349
(cherry picked from commit 9abf3438b8
)
2022-09-04 01:03:55 +02:00
Roberto Fernandez Bautista
8a9ee0f9e1
CADSTAR PCB: Load 2-point polygons as line segments
...
Fixes asserts when loading design from https://gitlab.com/kicad/code/kicad/-/issues/12349
(cherry picked from commit c961624d43
)
2022-09-04 01:03:55 +02:00
Roberto Fernandez Bautista
9a823ca61b
CADSTAR PCB: Parse Teardrops
...
Todo: We need to figure out how we will load teardrops. For now
just drop them on import.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12349
(cherry picked from commit 21b3753e9b
)
Edited to remove string changes
2022-09-04 01:03:51 +02:00
Wayne Stambaugh
5afeb45a84
Eeschema: fix crash when attempting to edit missing library symbol.
...
Disable the edit symbol buttons in the symbol properties dialog when
there is no library symbol to edit.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11318
2022-09-02 15:48:10 -04:00
Seth Hillbrand
45da795668
Units are stored in the instance data
...
At the moment, units are stored in the instance data, so when loading
the file, all symbols will have bbox for the first unit. After calling
`UpdateUnit()`, we need to recache the rtree bounding boxes to get
correct hit tests
Fixes https://gitlab.com/kicad/code/kicad/issues/11681
(cherry picked from commit 939313088e
)
2022-09-02 12:06:24 +00:00
Mark Roszko
87a8e69632
Move the PCM download cache to PATHS::GetUserCachePath
...
Second commit for https://gitlab.com/kicad/code/kicad/-/issues/10165
(cherry picked from commit 097f30a272
)
2022-09-02 13:44:00 +02:00
Marek Roszko
d57caf2ad7
Move the PCM cache to PATHS::GetUserCachePath
...
It still remains that on Windows, Documents can be bounded to network or cloud storage.
AppData\Local is intended for local PC caching.
Fix https://gitlab.com/kicad/code/kicad/-/issues/10165
(cherry picked from commit a855be28fa
)
2022-09-02 13:44:00 +02:00
passionateengineer
7f1c2461b5
Fixes inverted Y position in pin table.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11988
(cherry picked from commit 3389e456b1
)
2022-09-02 10:49:14 +00:00
Roberto Fernandez Bautista
26104c83ba
Fix wxWidgets sizer assert in SYMBOL_PREVIEW_WIDGET
2022-09-02 12:29:23 +02:00
BugRepellentExtraStrong
6d14ce24aa
eeschema: Fixes wrong displayed secondary worksheet
...
Fixes https://gitlab.com/kicad/code/kicad/issues/12017
(cherry picked from commit 02a6566438
)
2022-09-02 10:03:44 +00:00
Roberto Fernandez Bautista
e760579828
Fix annotation of incomplete multi-unit symbols and re-annotation of duplicates
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11496
(cherry picked from commit 55f22c526a
)
2022-09-02 12:01:33 +02:00
Roberto Fernandez Bautista
7640246097
Assign default hotkey to Flip Board in 3D viewer
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12337
(cherry picked from commit ad45b81dee
)
2022-09-02 09:30:43 +00:00
Jeff Young
e25d937fd8
Null-ptr safety for diff-pair-coupling test.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/12329
(cherry picked from commit 854acd4c77
)
2022-09-02 01:18:18 +01:00
Jeff Young
ea3f6c8406
Make sure dirty flag gets set, and leave save enabled regardless.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11824
(cherry picked from commit 09773e3e2e
)
2022-09-02 01:11:20 +01:00
Jeff Young
bf272e379f
Run hole-to-hole checks on Edge_Cuts layer.
...
Also makes the flashing logic inside PAD::GetEffectiveShape() easier
to understand.
Fixes https://gitlab.com/kicad/code/kicad/issues/12296
(cherry picked from commit e0f6a6e475
)
2022-09-02 01:11:20 +01:00
Jeff Young
0acea2e386
Make sure via-gap-same-as-trace-gap gets turned off for board settings.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/12236
(cherry picked from commit 7baa56528a
)
2022-09-02 00:55:53 +01:00
Roberto Fernandez Bautista
83305dd407
Re-route m_last_head after routing fails
...
This should ensure the shove state gets reverted
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9023
2022-09-01 22:06:06 +00:00
Seth Hillbrand
1d5db513a1
Ensure arcs are handled in topology
...
Use the connection-independent `Anchor()` function to get connection
points for either arcs or segments in topology. This allows the
ratsnest to be correctly drawn between nets with arcs
Fixes https://gitlab.com/kicad/code/kicad/issues/12205
2022-09-01 22:06:06 +00:00
Jeff Young
9d0d45450b
Account for groups in undo of Position Relative To.
...
Also fixes a bug were pads weren't correctly being found for anchoring
the selection before the Position Relative To.
Fixes https://gitlab.com/kicad/code/kicad/issues/11793
(cherry picked from commit 1e68c353f1
)
2022-09-01 16:25:41 +01:00
Jeff Young
9bce3c243a
Fix typo.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/12140
(cherry picked from commit e3e24322bb
)
2022-09-01 14:35:36 +01:00
Roberto Fernandez Bautista
ace0032c82
Fix build error & just completely remove the string instead of guarding
2022-09-01 13:45:40 +02:00
Roberto Fernandez Bautista
cd30711cf8
Remove additional string from a3da0b9af6
2022-09-01 11:35:22 +02:00
Roberto Fernandez Bautista
a3da0b9af6
CADSTAR Schematic: Load symbols even if part definition is incomplete
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11671
(cherry picked from commit 8725c3a35f
)
2022-09-01 09:25:14 +00:00
Wayne Stambaugh
32a11e4df0
Eeschema: fix broken instance data when adding new symbol.
...
Pass the current SCHEMATIC object pointer in SCH_SYMBOL ctor so that
newly created symbols will update the current instance data on creation
when the current sheet instance is being displayed.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12190
2022-08-26 12:47:13 -04:00
Roberto Fernandez Bautista
5606714952
DIALOG_PASTE_SPECIAL: Set focus on OK button
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12285
(cherry picked from commit 8a02f2f809
)
2022-08-25 19:26:20 +00:00
jean-pierre charras
9af666ba34
Eeschema: ensure reference field is initialized when adding a new symbol in schematic
2022-08-24 14:30:14 +02:00
jean-pierre charras
4d9802760e
Set locale in SaveToFile routine before calling json stuff.
...
It avoid wxWidgets alerts about locale when running some python scripts
2022-08-24 09:30:05 +02:00
Seth Hillbrand
c3496d61eb
Set locale in python save routine
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11006
2022-08-23 09:41:55 -07:00
Wayne Stambaugh
1e09f0e8b0
Fix Eagle plugin footprint QA test issue.
...
Apparently mapping Eagle footprint layers to the KiCad Dwg_User
that were previously mapped to UNDEFINED_LAYER breaks the QA test
and causes the footprint editor to crash when opening Eagle
footprints. This means that the potential data loss issue when
loading Eagle footprints is still in play.
(cherry picked from commit c72457482c
)
2022-08-22 11:40:15 -04:00
Wayne Stambaugh
c2c4609272
Fix Eagle plugin board layer mapping issue.
...
The Eagle plugin layers have to be mapped differently depending on
whether a board is being imported or a footprint library is being
cached. Footprint libraries can bypass the manual layer remapping
step that happens when importing a board.
Please note that when loading footprints in the footprint editor
and viewer, all layers that do not directly map to KiCad layers are
put on the Dwg_User layer so that there is data loss. Users will
have to manually remap objects to the correct layer as required.
This is less than ideal but until the footprint library table parser
supports prompting users to remap unknown layers, it will have to do.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/11839
(cherry picked from commit 0bc1188897
)
2022-08-22 11:40:15 -04:00
Seth Hillbrand
9328cf42c5
Don't close blocking dialog in backannotate
...
Back annotate is called from a dialog, so this will close itself but not
exit, locking the UI
(cherry picked from commit 28876bef90
)
Fixes https://gitlab.com/kicad/code/kicad/issues/12255
2022-08-22 07:05:30 -07:00
Seth Hillbrand
93f23dbdcd
Update translations
2022-08-20 20:10:29 -07:00
Seth Hillbrand
9e9b38ef6a
Revert "cadstar: Report warning that imported text may be different"
...
This reverts commit f637a820b6
.
New strings are not allowed in v6
2022-08-20 20:09:40 -07:00
Seth Hillbrand
5e409f0f6c
Remove string change and associated new feature
...
String changes are not allowed in v6 branch
2022-08-20 20:06:26 -07:00
Seth Hillbrand
408e7fed29
Translated using Weblate (German)
...
Currently translated at 100.0% (7157 of 7157 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/de/
2022-08-21 04:53:12 +02:00
boonchai k
85ce1a2a20
Translated using Weblate (Thai)
...
Currently translated at 99.5% (7123 of 7157 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/th/
2022-08-21 04:53:12 +02:00
김랑기
c1947c108b
Translated using Weblate (Korean)
...
Currently translated at 100.0% (7157 of 7157 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ko/
2022-08-21 04:53:12 +02:00
Arnau Llovet Vidal
d2916bf399
Translated using Weblate (Catalan)
...
Currently translated at 65.6% (4695 of 7157 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ca/
2022-08-21 04:53:12 +02:00
김랑기
93f973d825
Translated using Weblate (Korean)
...
Currently translated at 100.0% (7157 of 7157 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ko/
2022-08-21 04:53:11 +02:00