Seth Hillbrand
a3441a969d
Return new string to avoid losing the reference
...
NETCLASSes are stored as shared pointers. We lose the reference as soon
as the pointer count decrements to 0, which can happen immediately when
the shared pointer is returned.
2021-08-22 16:56:41 -07:00
Jeff Young
9770962ab4
Fix logic bug in rule processing.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/9011
2021-08-22 20:16:58 +01:00
Jeff Young
3bddadc03d
Fix a typo in reference clearing.
...
Also fixes an unrelated bug where all values/footprints were getting
reset rather than just the instance versions.
Fixes https://gitlab.com/kicad/code/kicad/issues/8891
2021-08-22 19:55:20 +01:00
Jeff Young
1fa5e43597
Fix some dodgy logic in clearance overrides.
2021-08-22 03:24:51 +01:00
Jeff Young
b9ffe2aca8
Don't capture stack-defined lambdas by reference.
2021-08-21 22:49:57 +01:00
Jeff Young
7561715ffe
Unescape symbol fields going out to XML netlist.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/8995
2021-08-21 22:03:24 +01:00
Seth Hillbrand
3b3cb88ad9
Remove shadowed variable in lambda
2021-08-21 14:01:20 -07:00
Jeff Young
eb85af3366
Don't capture references to local stack variables.
2021-08-21 21:40:17 +01:00
Jeff Young
1fd555ce0e
Added code to map footprint lib nicknames when exporting.
...
This is particularly useful when you import (for instance) an
Altium board and then save the footprints out to a new library.
Fixes https://gitlab.com/kicad/code/kicad/issues/6345
2021-08-21 19:00:59 +01:00
Jon Evans
3efa391eb2
Attempt to prevent control hiding problems on GTK
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8902
2021-08-21 13:37:07 -04:00
Johan Grip
b984777b52
Add more items to 3D viewer toolbar
2021-08-21 17:06:42 +00:00
Jon Evans
09ea630d8e
Don't log a potentially invalidated item
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9006
2021-08-21 12:24:41 -04:00
Jon Evans
0814219513
Clean up some handling of project files in standalone
...
Add control of project creation to Eeschema; change defaults
to enable project creation in both programs. Properly set
project on newly-created schematics so "Save As" doesn't
get triggered repeatedly.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9000
2021-08-21 12:09:21 -04:00
Jeff Young
3e57700b21
Process rules in "natural" order using overrides.
...
(We used to process in reverse order with first-match-wins, but
that doesn't allow min, max and opt to come from different rules.)
Fixes https://gitlab.com/kicad/code/kicad/issues/9004
2021-08-21 16:43:11 +01:00
Jeff Young
048e13f423
Defer DRC rule function eval to make use of short-circuit bools.
...
The lemon parser doesn't lend itself to short-circuiting booleans,
but if we defer processing until we fetch the second value when
processing the TR_OP_BOOLEAN opcode then we get to piggy-back on
C++'s boolean short-circuiting.
2021-08-21 16:43:11 +01:00
Jeff Young
1e23ce1c95
Pull some fixes back from 7.0.
...
1) An earlier 6.0 fix to apply pad clearance overrides to NPTH pads
got broken, so this replaces it.
2) Allow min/max/opt to be set by different rules.
3) Fixes a bug where board minimum enforcement over a local override
didn't get the right message text.
2021-08-21 16:43:11 +01:00
Jon Evans
4da0c897bc
Fix flagging power pin in ERC check
...
IsPowerConnection() is too restrictive a check
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8881
2021-08-21 11:19:09 -04:00
jean-pierre charras
71b7816de5
DIALOG_GEN_FOOTPRINT_POSITION and dialogs print: minor enhancements:
...
Gen footprint: 2 options are now stored during a session.
Gerbview and Pcbnew dialogs print: avoid useless large size of right panel.
2021-08-21 11:06:00 +02:00
jean-pierre charras
c5faacb9eb
French translation update
2021-08-21 08:14:06 +02:00
Seth Hillbrand
ae51e60f70
Set User-Agent Header
2021-08-20 17:24:05 -07:00
Seth Hillbrand
463ed6f599
Promote Roberto to Lead Dev in About Box
2021-08-20 17:24:05 -07:00
Seth Hillbrand
7ea4d4da85
Fix errant tabs
2021-08-20 17:24:05 -07:00
Dominik Sliwa
d9c7fdc28e
Pcbnew add SMD only option to component placement export
...
Add option to only use footprints flagged as SMD
when creating a componenet placement files.
Signed-off-by: Dominik Sliwa <dominik@sliwa.io>
2021-08-20 17:24:05 -07:00
Seth Hillbrand
db5ce824af
Use wildcard routine for extension matching
...
Move STEP export dialog wildcard to extension matching
2021-08-20 17:24:05 -07:00
Mikolaj Wielgus
44ea3a75f2
Simulator: Use last workbook path stored in .kicad_pro as initial path in dialogs
...
Previously this was done using a static variable, which was not loaded
from .kicad_pro on simulator launch, causing unexpected behavior
Fixes https://gitlab.com/kicad/code/kicad/issues/8799
2021-08-20 23:23:23 +00:00
Seth Hillbrand
499dcbb37c
Update Translations
2021-08-20 13:15:07 -07:00
Seth Hillbrand
4cd9278041
Remove most wxFilepicker wildcards from translations
...
This prevents translation errors from preventing user actions such as
opening the correct file
2021-08-20 12:56:47 -07:00
Seth Hillbrand
93118100fa
Translated using Weblate (Danish)
...
Currently translated at 79.3% (5605 of 7062 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/da/
2021-08-20 21:52:16 +02:00
Seth Hillbrand
93fe47efa7
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 76.9% (5431 of 7062 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/nb_NO/
2021-08-20 21:52:14 +02:00
Seth Hillbrand
2be6ae2e99
Translated using Weblate (Swedish)
...
Currently translated at 82.4% (5825 of 7062 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2021-08-20 21:52:14 +02:00
Seth Hillbrand
1956940071
Translated using Weblate (Slovak)
...
Currently translated at 78.8% (5565 of 7062 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sk/
2021-08-20 21:52:12 +02:00
Seth Hillbrand
6dcea60d93
Translated using Weblate (Lithuanian)
...
Currently translated at 80.2% (5666 of 7062 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/lt/
2021-08-20 21:52:11 +02:00
Seth Hillbrand
6c98cfa6f5
Translated using Weblate (Finnish)
...
Currently translated at 83.5% (5901 of 7062 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/fi/
2021-08-20 21:52:09 +02:00
Wayne Stambaugh
1d8fd22cd8
Symbol editor: fix message panel units when selecting from combo box.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8991
2021-08-20 15:45:57 -04:00
Sylwester Kocjan
eefac5cc59
eeschema: fix in populating DC sim settings tab
...
When filling drop-down list with sources, previous selection should be
saved in local variable and restored if it is still available.
2021-08-20 19:23:13 +00:00
Sylwester Kocjan
691b53d125
eeschema: add missing virtual destructors
2021-08-20 19:23:13 +00:00
Seth Hillbrand
558995ac21
Order translations by country code
...
Helps to see which contributor lists are missing
2021-08-20 12:21:36 -07:00
Seth Hillbrand
7ac09c1f9b
Add translators (PL and KO)
2021-08-20 12:16:56 -07:00
Seth Hillbrand
4e47c230cb
Update translations
2021-08-20 11:53:32 -07:00
Дмитрий Дёмин
ec4c6f2479
Translated using Weblate (Russian)
...
Currently translated at 100.0% (7022 of 7022 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2021-08-20 20:52:00 +02:00
boonchai k
45534eb7c2
Translated using Weblate (Thai)
...
Currently translated at 56.8% (3983 of 7007 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/th/
2021-08-20 20:52:00 +02:00
David Chen
455c62a633
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 98.3% (6903 of 7022 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2021-08-20 20:52:00 +02:00
hokim
32c1f20ac6
Translated using Weblate (Korean)
...
Currently translated at 100.0% (7022 of 7022 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2021-08-20 20:52:00 +02:00
킴슨김랑기
918bc1421e
Translated using Weblate (Korean)
...
Currently translated at 100.0% (7022 of 7022 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2021-08-20 20:51:59 +02:00
hokim
6deb511042
Translated using Weblate (Korean)
...
Currently translated at 100.0% (7022 of 7022 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2021-08-20 20:51:59 +02:00
킴슨김랑기
b7aaccfb2d
Translated using Weblate (Korean)
...
Currently translated at 100.0% (7022 of 7022 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2021-08-20 20:51:59 +02:00
David Chen
59a65f0740
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 98.2% (6900 of 7022 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hant/
2021-08-20 20:51:59 +02:00
VicSanRoPe
ca305838ec
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (7022 of 7022 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es/
2021-08-20 20:51:59 +02:00
Ji Yoon Choi
16368a3452
Translated using Weblate (Korean)
...
Currently translated at 100.0% (7022 of 7022 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2021-08-20 20:51:59 +02:00
boonchai k
69dd4e32eb
Translated using Weblate (Thai)
...
Currently translated at 56.5% (3961 of 7007 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/th/
2021-08-20 20:51:59 +02:00