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
Henrik Kauhanen
72503c47c6
Translated using Weblate (Swedish)
...
Currently translated at 99.8% (7147 of 7157 strings)
Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/sv/
2022-08-21 04:53:11 +02:00
김랑기
db96624990
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
jean-pierre charras
962df45b65
Fix some issues in PCB_SELECTION_TOOL::selectAllItemsOnSheet():
...
especially a typo that prevent working on root sheet.
Clearly, commit 6b2bb4d8
was very poorly designed and (or not even) tested.
2022-08-20 13:04:06 +02:00
Roberto Fernandez Bautista
f92d25e00b
Fix SHAPE_LINE_CHAIN::Simplify() when there are only 3 points in the chain
...
We weren't updating m_shapes properly.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11695
(cherry picked from commit 1fa1b44d02
)
2022-08-19 20:58:28 +01:00
Marek Roszko
64220656e9
Avoid missing null check in RC_TREE_MODEL::DeleteItems
...
(cherry picked from commit 19e27ef587
)
2022-08-17 22:08:59 +00:00
Wayne Stambaugh
39940fe5ab
Fix missing legacy value and footprint field instance data.
...
The legacy and s-expression (prior to version 20200828) file formats only
supported symbol unit and reference fields so the newly added value and
footprint fields must be updated from the original symbol fields.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12226
(cherry picked from commit 797827b833
)
2022-08-17 14:24:13 -04:00
Wayne Stambaugh
40977514ce
Fix more wxWidgets 3.1 and later deprecated build warnings.
2022-08-17 14:13:33 -04:00
Wayne Stambaugh
cfde5300d7
Fix wxWidgets 3.1 and later deprecated build warnings.
...
wxWidgets 3.1 has deprecated wxPATH_NORM_ALL when normalizing file
paths when calling wxFileName::Normalize(). This change keeps the
existing behavior except in places where our own internal
ExpandEnvVarSubstitutions() to expand environment variables.
(cherry picked from commit 898ec0d094
)
2022-08-17 14:07:06 -04:00
Forrest Voight
30c83ed055
kiid.cpp: Fix Boost version incompatibility and use of boost::*::detail
...
Fix compile with Boost 1.65.1 (and possibly some or all of the 1.59-1.66
range); remove dependence on private boost::*::detail members.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12175
Comment tweaks by Mark Roszko @mroszko
(cherry picked from commit bbc0c61ccb
)
2022-08-17 11:37:12 -04:00
Marek Roszko
64acd8bd47
Throw in default initializers for MINOPTMAX to silence coverity
2022-08-16 23:53:42 -04:00
Marek Roszko
ca4da4706a
Fix reserve call with the wrong source for size
2022-08-16 23:53:42 -04:00
Roberto Fernandez Bautista
1005f75cdb
CADSTAR PCB: Allow remapping all non-electrical layers
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12196
(cherry picked from commit 6b349fdb0a
)
2022-08-14 21:26:37 +00:00
Roberto Fernandez Bautista
f637a820b6
cadstar: Report warning that imported text may be different
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12195
(cherry picked from commit 69d696660b
)
2022-08-14 21:25:46 +00:00
Wayne Stambaugh
47cb817a86
Fix compile warnings.
2022-08-11 15:48:49 -04:00
jean-pierre charras
7769069078
DIALOG_COLOR_PICKER: fix an issue in DC.SetDeviceOrigin() due to changes in wxWidgets.
...
DC.SetDeviceOrigin() behavior has changed in version 3.1.7 (or 3.1.6), and the settings
needs a small change.
From master branch
Fixes #12204
https://gitlab.com/kicad/code/kicad/issues/12204
2022-08-11 10:20:46 +02:00
jean-pierre charras
411d57396c
eeschema: Fix issue when saving labels having more than 50 chars
...
These labels (or global label...) were saved with a erroneous angle.
Fixes #12151
https://gitlab.com/kicad/code/kicad/issues/12151
2022-08-05 13:33:35 +02:00
jean-pierre charras
5f00847a86
Eeschema: another trial to fix bitmap printing in wx version > 3.1.5
...
We had on a regular basis problems when printing bitmaps.
Probably due to issues both in wx and in our code.
From master branch
2022-08-04 14:56:37 +02:00
Jeff Young
36a0c2a9cc
Fix issue with caches not being initialized when printing msg bar.
...
(cherry picked from commit 43df863df2
)
2022-08-04 13:04:21 +01:00
Jeff Young
4ac48ad829
Cherry-pick of 2bf33321d1
.
2022-08-04 09:29:45 +01:00
Jeff Young
3bca4f8835
Fix another case of the instance data getting messed up.
...
(Or, more accurately in this case, of the instance data not getting
applied to the current view.)
Fixes https://gitlab.com/kicad/code/kicad/issues/11390
(cherry picked from commit 5295342f42
)
2022-08-04 09:22:23 +01:00
Jeff Young
afc491c5a5
58f553a9ca
requires that cache be layer-sensitive.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11814
(cherry picked from commit 5e80e2a421
)
2022-08-04 00:48:18 +01:00
Jeff Young
f75104d456
Performance improvements for CvPCB.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/12063
(cherry picked from commit 66d6a5a9dd
)
2022-08-04 00:31:51 +01:00
Jeff Young
1f3bb83a06
Make EEschema highlight net consistent with PCBNew.
...
In particular, highlight net on an already highlighted net clears
highlight.
Fixes https://gitlab.com/kicad/code/kicad/issues/11016
(cherry picked from commit e36491f231
)
2022-08-04 00:08:12 +01:00
Jeff Young
efc75047c1
Pay attention to units for page frames.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11408
(cherry picked from commit 404015b0a5
)
2022-08-04 00:07:24 +01:00
Jeff Young
7b5e3feb19
By-hand cherry-pick of 004abcd370
.
2022-08-04 00:05:48 +01:00
Jeff Young
fec9331b48
Handle rotation while moving from move tool.
...
This keeps us from getting CancelInteractive events in the move tool
when the EditTool runs to do the rotate.
Fixes https://gitlab.com/kicad/code/kicad/issues/12004
(cherry picked from commit bdffbbd43b
)
2022-08-04 00:00:43 +01:00
Seth Hillbrand
a12ae5050a
Cleanup unused code
...
(cherry picked from commit 76b9e25143
)
2022-08-02 08:51:04 -07:00