qu1ck
18b4ebcc17
Skip migrating installed_packages.json
2021-11-23 14:49:40 -08:00
Seth Hillbrand
f97c7c78c8
Connect ruler tool with axes preferences
...
Adds "UpdatePreferences" action that is called when the preferences are
updated, allowing running tools to act on changes that may affect them
Fixes https://gitlab.com/kicad/code/kicad/issues/9737
2021-11-23 12:52:21 -08:00
Seth Hillbrand
65fc47cb8f
Don't lose track of the sheet's screen
...
Corner cases need to clear screen before loading a new file. Aborting
needs to restore the screen or risk segfaults
Fixes https://gitlab.com/kicad/code/kicad/issues/9739
2021-11-23 10:57:12 -08:00
Jeff Young
1c3e1df3ca
Not all holes are round.
...
We currently only need this to work for vias as we're a long way
from being able to support it for pads, so just check the hole
shape.
Fixes https://gitlab.com/kicad/code/kicad/issues/9735
2021-11-23 14:36:05 +00:00
Tomasz Wlostowski
e56e61ffb5
router: fix typo in the DP tuning fix patch
2021-11-23 00:21:38 +01:00
Seth Hillbrand
126563c839
Fix initilization project / ordering
...
We cannot resolve the Canvas type without the canvas being initialized.
But saving settings sometimes requests canvas access. This protects the
calls against failure by checking for canvas before saving
canvas-specific settings
Fixes https://gitlab.com/kicad/code/kicad/issues/9729
2021-11-22 11:47:42 -08:00
Simon Schaak
5060c73625
Reject broken footprint files
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9721
2021-11-22 16:48:05 +01:00
Jeff Young
3dc0c78993
Workaround baseline alignment issue in wxHtmlWindow
...
In particular, don't allow a cell boundary between Japanese/Chinese
chars and Roman chars.
Fixes https://gitlab.com/kicad/code/kicad/issues/9718
2021-11-22 15:37:18 +00:00
jean-pierre charras
011fad3894
Demos update
2021-11-22 14:00:43 +01:00
Marco Ciampa
0c32ac2d88
Updated Italian translation
2021-11-22 13:49:37 +01:00
david-beinder
b471945224
Fix MSVC C4312 warning when casting 32bit ints to pointer types on 64bit builds
2021-11-22 04:37:41 +00:00
Tomasz Wlostowski
89228e1ebe
router: increase parallelity detection threshold for AssembleDiffPair()
...
Partially fixes the misrecognized diff pairs issue.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/8567
2021-11-22 01:35:12 +01:00
Tomasz Wlostowski
5d2f3257da
libs/kimath: user-settable distance threshold for SEG::ApproxParallel()
2021-11-22 01:35:12 +01:00
Jeff Young
8777ce3d4e
TEMP_SELECTED is in m_flags, not m_status.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/9610
2021-11-21 23:52:45 +00:00
Tomasz Wlostowski
e60386f028
router: disable 'limit corner count' optimization for via dragging
...
It seems to be completely preventing optimization instead of preventing over-optimization in case the head is a dragged via.
To be investigated in more details in V7.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/8665
2021-11-22 00:05:17 +01:00
Tomasz Wlostowski
ccf9a72078
router: fix ghost dots issue in router preview items
...
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/8665
2021-11-22 00:05:17 +01:00
Jeff Young
212666e987
Allow theme to change text color of highlighted text.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/9716
2021-11-21 22:54:16 +00:00
Rigo Ligo
2d48de2e4e
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 99.9% (7185 of 7191 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2021-11-21 22:17:14 +01:00
Axel Henriksson
b2d8808cda
Translated using Weblate (Swedish)
...
Currently translated at 93.4% (6721 of 7191 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sv/
2021-11-21 22:17:14 +01:00
radix
3ce7c7bed7
Translated using Weblate (Slovenian)
...
Currently translated at 77.1% (5550 of 7191 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/sl/
2021-11-21 22:17:14 +01:00
Konstantin Baranovskiy
41d922f7f9
Translated using Weblate (Russian)
...
Currently translated at 100.0% (7191 of 7191 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ru/
2021-11-21 22:17:14 +01:00
ZbeeGin
d8d7b41fa2
Translated using Weblate (Polish)
...
Currently translated at 100.0% (7191 of 7191 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/pl/
2021-11-21 22:17:13 +01:00
김랑기
eba285dcfd
Translated using Weblate (Korean)
...
Currently translated at 100.0% (7191 of 7191 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/ko/
2021-11-21 22:17:13 +01:00
VicSanRoPe
f7cd55213b
Translated using Weblate (Spanish)
...
Currently translated at 99.9% (7190 of 7191 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/es/
2021-11-21 22:17:13 +01:00
aris-kimi
c897c1fa82
Translated using Weblate (Greek)
...
Currently translated at 99.9% (7188 of 7191 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/el/
2021-11-21 22:17:13 +01:00
Mark Hämmerling
062aa3c013
Translated using Weblate (German)
...
Currently translated at 100.0% (7191 of 7191 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/de/
2021-11-21 22:17:13 +01:00
Jan Vykydal
e5c5fec8df
Translated using Weblate (Czech)
...
Currently translated at 87.2% (6273 of 7191 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2021-11-21 22:17:13 +01:00
Radek K
985ea2ec31
Translated using Weblate (Czech)
...
Currently translated at 87.2% (6273 of 7191 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/cs/
2021-11-21 22:17:13 +01:00
Tian Yunhao
89df87a369
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 99.9% (7185 of 7191 strings)
Translation: KiCad EDA/master source
Translate-URL: https://hosted.weblate.org/projects/kicad/master-source/zh_Hans/
2021-11-21 22:17:13 +01:00
Seth Hillbrand
3f2d86adec
Make OpenGL default for all apps
...
Fixes https://gitlab.com/kicad/code/kicad/issues/9699
2021-11-21 12:33:07 -08:00
Roberto Fernandez Bautista
bbafce6ab3
PNS: Don't clip the line in the middle of an arc - just start again
...
In shove mode, returning an empty line results in keeping the current
head, which should be okay for now.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9023
2021-11-21 19:53:03 +00:00
Jon Evans
572747a3f9
Protect KIID generator from threading
2021-11-21 13:30:46 -05:00
Jeff Young
016a98df86
Increment numbers which have suffixes too.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/9706
2021-11-21 18:02:17 +00:00
Roberto Fernandez Bautista
4e0ad07eb0
PNS::Shove Add margin when generating hulls for arc segments
...
Partially fixes https://gitlab.com/kicad/code/kicad/-/issues/9023
There is still a case where if the shover does not find a solution,
we try clipping the arc and it still collides.
2021-11-21 17:13:21 +00:00
Jeff Young
15f309c8a8
Add a SCH_ITEM::operator= so the connections caches don't get copied.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/9710
2021-11-21 16:54:46 +00:00
Tomasz Wlostowski
9add03dd88
VIEW: rebuild the R-trees from scratch if more than 30% of items require a geometry update.
...
(see comments in the code for detailed explanation)
2021-11-21 17:33:59 +01:00
Tomasz Wlostowski
90157db537
PCB_PARSER: add timeout for of 100 ms for refreshing the progress window.
...
The previously used line number threshold was causing (on some systems) severe slowdown in loading
due to relatively long redraw time of the progress bar window.
2021-11-21 17:33:59 +01:00
jean-pierre charras
a93c2c24fa
kicad2step: fix compatibility with OCC versions < 7.5
2021-11-21 17:27:18 +01:00
Jonathan Haas
e79fd19326
Pass the rng as reference to randomGenerator constructor
...
Fixes https://gitlab.com/kicad/code/kicad/issues/9714
2021-11-21 16:11:38 +00:00
Jon Evans
b1878fcc54
ClipVertexRange: fix fallout of NextShape API change
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9711
2021-11-21 11:03:22 -05:00
jean-pierre charras
302c5ab537
Fix an issue created by commit 9e3362d1
.
...
the issue was the graphic cursor was locked on the first snap point
in route mode, once a snap point is found.
2021-11-21 15:37:03 +01:00
Jeff Young
cf1d5f5724
Teach selectConnectedTracks() about layers.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/9610
2021-11-21 13:53:43 +00:00
Jeff Young
229706b48a
Formatting.
2021-11-21 13:53:43 +00:00
Tomasz Wlostowski
c40e921cb3
router: remeber to make a shove lockpoint when placing a lone via
...
Note to self: works around a possible bug in CommitPlacement()/RewindToLastLockedNode()
fixes: https://gitlab.com/kicad/code/kicad/-/issues/9695
2021-11-21 00:18:20 +01:00
Jeff Young
c1703212dc
"Document" properties go in File menu; Edit menu is for item props.
2021-11-20 22:44:43 +00:00
Seth Hillbrand
2159acc9ce
Fix missing handler for multiple labels
...
This was intended to handle multiple labels but we missed the selection
condition.
Fixes https://gitlab.com/kicad/code/kicad/issues/9704
2021-11-20 14:37:18 -08:00
Seth Hillbrand
182ccb63ae
Remove config options menu from PyShell
...
We should figure out how to get these into the json settings. In the
meantime, disable as they are broken on close
Fixes https://gitlab.com/kicad/code/kicad/issues/9691
2021-11-20 14:37:18 -08:00
Jon Evans
22b9856a6a
Fix shadowing
2021-11-20 15:32:28 -05:00
Jon Evans
1e8284bc1a
Add ability to seed the KIID generator
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9689
2021-11-20 14:19:29 -05:00
Seth Hillbrand
b3e2206377
Create specific writer for OpenCascade messages
...
Needed later for integration, so good idea to get framework set now
Fixes https://gitlab.com/kicad/code/kicad/issues/9694
2021-11-20 09:12:55 -08:00