Marek Roszko
bce8c95647
Avoid netlist export dialog crash from trying to delete a non-custom format
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12229
2022-10-22 16:41:32 -04:00
Marek Roszko
4d729110d5
Fix build error due to C++17 use
2022-10-22 16:38:17 -04:00
jean-pierre charras
8e331628b6
Do not add a title/comment in mandatory field strings when writting netlists.
...
This is mainly for "Sheetfile" property because current it is the only one
that has a title when plotting/drawing it.
2022-10-22 15:38:26 +02:00
Mikolaj Wielgus
ceaf3fc72d
Ngspice: Preload a basically empty circuit to avoid error messages
...
Fixes https://gitlab.com/kicad/code/kicad/issues/12481
(cherry picked from commit 6e874f4c1e
)
2022-10-21 09:22:53 -07:00
Seth Hillbrand
b004d7a1cb
Fix ERC global label unit tests
...
Need to test all units in the subgraph as there are chances that the
subgraph might have more than one label, which needs to be consistently
handled
(cherry picked from commit 60374daa49
)
2022-10-21 09:17:11 -07:00
Seth Hillbrand
f3ff9ddd31
Show ERC errors when any label only has 1 pin
...
To be connected, the label must have at least two pins on a subgraph
(or, in the case of a hierarchical label, two pins somewhere in its
connection)
Fixes https://gitlab.com/kicad/code/kicad/issues/7203
(cherry picked from commit 05cdf915d0
)
2022-10-21 09:11:24 -07:00
jean-pierre charras
e5fa18c9b1
fix an issue in a bom script (extra empty lines created)
...
Fixes #10473
https://gitlab.com/kicad/code/kicad/issues/10473
(cherry picked from commit 380cb452b2
)
2022-10-21 09:10:30 -07:00
Seth Hillbrand
431aa88612
Allow printing backgrounds prior to foreground
...
Eeschema shows background fills on a different z-level than the rest of
the symbols/elements. Print the backgrounds prior to the foregrounds in
order to preserve this view for print output
Fixes https://gitlab.com/kicad/code/kicad/issues/12559
(cherry picked from commit e055302a3c
)
2022-10-21 09:00:13 -07:00
Seth Hillbrand
af159c9841
Be sure to update UUID when placing new elements
...
Fixes https://gitlab.com/kicad/code/kicad/issues/12588
(cherry picked from commit a5da46459c
)
2022-10-21 11:19:46 +01:00
Jeff Young
da85a5f6bf
Work around more instances of the wxWidgets color string locale bug.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/12552
(cherry picked from commit c0a666507c
)
2022-10-19 12:56:17 +01:00
Seth Hillbrand
535982f245
Avoid scaling unity models
...
There is no benefit to applying the identity transformation to models
when exporting the board to STEP
Fixes https://gitlab.com/kicad/code/kicad/issues/12036
(cherry picked from commit 98431eed79
)
Fixes https://gitlab.com/kicad/code/kicad/issues/10232
2022-10-14 13:08:13 -07:00
jean-pierre charras
95acc1bf33
Eeschema printing: fix some issues.
...
The offset setting was incorrect when using wxAffineMatrix2D.
It was visible when printing more than one sheet.
Note also when not using wxAffineMatrix2D, all pages must have the same orientation
(PORTRAIT/LANDSCAPE is not managed)
From master branch, commit 79c30180
2022-10-09 19:57:32 +02:00
jean-pierre charras
8dbfe79536
Symbol Editor: Fix reverting changes on a root symbol: derived symbols are displayed wrong
...
Reverting changes broke links between derived symbols and the root symbol.
Now fixed by do not delete and recreate reverted symbol.
From master, commit f5fd12c0
Fixes #10792
2022-10-08 16:15:16 +02:00
Jeff Young
22e9985f5d
Use more basic strings which have already been translated.
2022-09-29 23:58:35 +01:00
Jeff Young
43f9863182
Copy field properly.
...
Offset for new parent, and set parent property.
Fixes https://gitlab.com/kicad/code/kicad/issues/12376
(cherry picked from commit 45fb0107a0
)
2022-09-28 12:50:02 +01:00
Jeff Young
bb7362ceba
Don't allow a SaveAs to overwrite the root sheet.
...
Also prevents EESchema from loading sheets which recurse.
Fixes https://gitlab.com/kicad/code/kicad/issues/10872
(cherry picked from commit d030f03844
)
2022-09-28 12:45:20 +01:00
Wayne Stambaugh
a35b89258a
Eeschema: fix schematic symbol library cache refresh bug.
...
Please note that this changes the LIB_PIN object name comparison from case
insensitive to case sensitive.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12342
(cherry picked from commit 26e7261b20
)
2022-09-19 07:20:44 -04:00
jean-pierre charras
f379fa4f7f
Fix a UTF8 convert issue in some BOM python scripts.
...
Fixes #12435
https://gitlab.com/kicad/code/kicad/issues/12435
2022-09-16 11:35:09 +02:00
Eduardo Behr
3e8532264e
Fix severe simulation memory leaks
2022-09-08 01:52:32 +02:00
jean-pierre charras
f06f205886
orcadpcb2 netlist export: fix an issue with duplicated pins in multi-unit symbols.
...
Due to some changes in code, pins common to units were written more than once.
From master branch
2022-09-07 17:56:38 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
7f71eef45b
Move sheetpins by their connection point
...
Need to calculate the sheet pin anchor position in order to get it
aligned to the grid while moving
Fixes https://gitlab.com/kicad/code/kicad/issues/12134
(cherry picked from commit 225b03d702
)
2022-07-31 20:04:29 -07:00
Jeff Young
f3caac5bfd
Ensure no string changes for 6.0.x.
2022-07-28 01:14:58 +01:00
Jeff Young
7bd073b5cb
Make sure there are no translation changes for 6.0.x.
2022-07-28 01:08:42 +01:00
jean-pierre charras
a5b676fa0e
Avoid crashes when, for some reason, a dll cannot be loaded.
...
In this case a null pointer was returned by the internal code.
This pointer is now tested against nullptr to avoid the application crashing.
Fixes #12080
https://gitlab.com/kicad/code/kicad/issues/12080
2022-07-26 16:04:27 +02:00
Jeff Young
d9fef3da72
Don't allow 0 line-width for unfilled shapes.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/12010
(cherry picked from commit d0547cbde7
)
2022-07-25 21:46:27 +01:00
Jeff Young
61bb793324
Save fp browser list widths and apply known hack to work around wxWidgets bug.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11744
Fixes https://gitlab.com/kicad/code/kicad/issues/11745
(cherry picked from commit 0a623bff9f
)
2022-07-25 21:21:23 +01:00
Jeff Young
ccb416eead
Bring symbol editor in line with eeschema for empty text.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11799
(cherry picked from commit d07c6699ce
)
2022-07-25 21:12:15 +01:00
Jeff Young
6e10a496ef
Honour m_resolveTextVars flag for properties as well as fields.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11937
(cherry picked from commit 5479514819
)
2022-07-25 21:03:47 +01:00