31544 Commits

Author SHA1 Message Date
Wayne Stambaugh
f9a2dced07 Tag release version 6.0.7. 6.0.7 2022-07-25 18:57:34 -04:00
qu1ck
52157acbfe PCM: fix kicad version restriction logic
The json schema for packages implies that kicad min/max version
restriction takes major.minor.patch string but actual logic
only checks major and minor.

This fixes the logic to work with full major.minor.patch tuple.
Additionally the version max logic will substitute missing portions
with 999 for a reasonable default so that say 7.1 is still considered
as >= 7.1.5 when checking for max version.

Reported here
https://forum.kicad.info/t/updating-already-installed-plugins-using-content-manager/35532/5?u=qu1ck

(cherry picked from commit 06028d50155f0f5b240a9748f6f06fb66269cd72)
6.0.7-rc1
2022-07-18 10:26:27 -07:00
dsa-t
17f220590b OpenGL: Use glGetProgramiv instead of the extension function.
(cherry picked from commit 3a76435edaf532f6e38dcbc3002d525598dbeb97)
2022-07-18 10:20:04 -07:00
Alex
33027b8f66 OpenGL: Fix SetSwapInterval logic.
- Don't use GLX extension functions unless they are supported on the
connection. GLEW only checks for client library support.

- Don't try to set swap interval using glXSwapIntervalSGI when vsync is
not requested.

Fixes https://gitlab.com/kicad/code/kicad/issues/11751

(cherry picked from commit 0e2d3236b50ea52dddf2d911f87ac48c9f0f9f5f)
2022-07-18 10:19:36 -07:00
Seth Hillbrand
064a9688c0 Make annotation case-insensitive
U1 and u1 are allowed but if they both exist in the same schematic, they
will throw an ERC and annotation error.  Reannotating will make them U1
and u2.

Fixes https://gitlab.com/kicad/code/kicad/issues/11862

(cherry picked from commit 00c7b64b13679f32ed8695f3e1fea70b3808d256)
2022-07-18 09:49:28 -07:00
Seth Hillbrand
c1ec63d4f9 Protect the Kiway dereference
Also find a few more places where we are reaching into a new frame to
perform actions that need to have dialogs closed.

Running actions should also wait for the next cycle rather than being
immediately executed when we are calling into a new frame.  This allow
for the cleanup actions onClose() to happen prior to the next action
starting

Fixes https://gitlab.com/kicad/code/kicad/issues/11891

(cherry picked from commit 93fb00d81556456804189e76927117d153e95529)
2022-07-18 09:48:50 -07:00
Seth Hillbrand
995b2c517d Catch some crashes on shutdown
These can happen when a tool is active that sends signals when exiting
(e.g. deselectEvent).  These may be caught by the active loop in another
tool which might try to update the UI after it has been freed.  By
marking all tools as "shutdown", the only event returned to them should
be null.  As an extra precaution, we flag the shutdown globally within
the tool manager and check this flag before launching either events or
new tools

Fixes https://gitlab.com/kicad/code/kicad/issues/10698

(cherry picked from commit db4f2d9dd828c861963ae3e08d83d06ad12adf1b)
2022-07-18 09:48:16 -07:00
Seth Hillbrand
a8c0bc0430 Keep track of blocking windows
Allows the calling KiWAY player to send messages to the blocking window
before signaling a separate call

Fixes https://gitlab.com/kicad/code/kicad/issues/11891

Fixes https://gitlab.com/kicad/code/kicad/issues/11772

(cherry picked from commit b5bf1da25137e35df5a37302461d93203f24c986)
2022-07-18 09:47:32 -07:00
Seth Hillbrand
902629c139 Fix name escaping in symbol editor
When renaming a symbol, be sure to handle name escaping in all of the
various places that we do renaming (!)

Fixes https://gitlab.com/kicad/code/kicad/issues/11939

(cherry picked from commit 0dab5662704b9f7933daa67e232daf9681369119)
2022-07-18 09:46:57 -07:00
Seth Hillbrand
63e638cfab Enforce group selection to abide by L/R behavior
When selecting greedy (right to left), selecting any part of the group
will get the whole group.  When selecting left to right, we must select
all items in the group to get the grouped items unless we are in the
group itself

Fixes https://gitlab.com/kicad/code/kicad/issues/11902

(cherry picked from commit e87ba10a5ac428d6c5823e9a4da601231a53ad1a)
2022-07-18 09:45:10 -07:00
Seth Hillbrand
48b520a098 Update Translations 2022-07-18 09:39:03 -07:00
Tokita, Hiroshi
b55352da7e
Translated using Weblate (Japanese)
Currently translated at 100.0% (7155 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ja/
2022-07-18 18:31:51 +02:00
dsa-t
cd41a42775
Translated using Weblate (Russian)
Currently translated at 100.0% (7155 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ru/
2022-07-18 18:31:51 +02:00
김랑기
6f82cec3a4
Translated using Weblate (Korean)
Currently translated at 99.9% (7154 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ko/
2022-07-18 18:31:51 +02:00
jeongsuAn
2f9cd25850
Translated using Weblate (Korean)
Currently translated at 99.9% (7150 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ko/
2022-07-18 18:31:51 +02:00
Seth Hillbrand
865bb54591 Flag ERC error on non-stacked pins
Pins that are explicitly connected in the schematic should not have an
"unconnected pin" ERC error.  But stacked pins do not count as
explicitly connected because the schematic designer has not connected
them
2022-07-17 20:16:55 -07:00
Alex
6d26e8e3e8 math: Use intrinsic functions for 64-bit rescale on MSVC.
(cherry picked from commit c107abe247e451bf7f328bd3d5e623ae6f424f0e)
2022-07-16 18:05:35 +00:00
jean-pierre charras
9c50a9fa4a FP_SHAPE in pads: always specify fill mode for shapes that can be filled or not.
From Master branch
2022-07-15 17:42:31 +02:00
이기형
406dd58002
Translated using Weblate (Korean)
Currently translated at 99.9% (7150 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ko/
2022-07-13 15:29:26 +02:00
이상수
bd7ba5f6b1
Translated using Weblate (Korean)
Currently translated at 99.9% (7149 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ko/
2022-07-13 15:29:26 +02:00
박세훈
d174cff9ae
Translated using Weblate (Korean)
Currently translated at 99.8% (7147 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ko/
2022-07-13 15:29:26 +02:00
gurqja3810
bbce24ab32
Translated using Weblate (Korean)
Currently translated at 99.8% (7147 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ko/
2022-07-13 15:29:26 +02:00
박세훈
ad2c5b40ff
Translated using Weblate (Korean)
Currently translated at 99.8% (7146 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ko/
2022-07-13 15:29:25 +02:00
Tokita, Hiroshi
8e0784d4fa
Translated using Weblate (Japanese)
Currently translated at 100.0% (7155 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ja/
2022-07-13 15:29:25 +02:00
jean-pierre charras
926818097b Fix compatibility issues with wxWidgets 3.2 and gcc 12.1:
hastable.h: remove deprecated binary/unary base class not actually needed.
Fix  compil warnings.
From master branch.
2022-07-12 18:24:12 +02:00
jean-pierre charras
fd65bd8e6e Rework on bitmap_info.cpp cmake build process.
on gcc 12.1 / msys2 the large initialized list in bitmap_info.cpp breaks the
compiler (perhaps a bug in the compiler).
So, as workaround, the initialization sequence is modified.
Form master branch
2022-07-12 17:34:25 +02:00
jean-pierre charras
d53c6f8abe Eeschema, DIALOG_SCH_FIND: ensure the search flags actually used are up to date.
Flags are encoded using internal wx values, that can change with wxWidgets versions.
They need to be always rebuilt from the displayed options in dialog.
From master branch.
2022-07-12 08:36:15 +02:00
Jon Evans
2512375988 PNS: Fix IsLineCorner logic
Handle segment width test in the case of locked segs
Fix logic failure where vias on path cause crash

Fixes https://gitlab.com/kicad/code/kicad/-/issues/11990
2022-07-11 22:47:28 -04:00
Wayne Stambaugh
4b4d082fa4 Pcbnew: fix minor white space issue in board file.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11669

(cherry picked from commit 6a74ecbffd3b3ddce3a91e6d82a17e6ccf2c8b30)
2022-07-11 11:25:02 -04:00
Seth Hillbrand
374dfdbe16 Update Translations 2022-07-08 08:59:32 -07:00
co8 j
3c476157c1
Translated using Weblate (Japanese)
Currently translated at 100.0% (7155 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ja/
2022-07-08 17:57:36 +02:00
Marcel Hecko
3af058a281
Translated using Weblate (Slovak)
Currently translated at 77.0% (5513 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/sk/
2022-07-08 17:57:36 +02:00
leonardokr
8a1e400d81
Translated using Weblate (Portuguese)
Currently translated at 99.5% (7122 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/pt/
2022-07-08 17:57:36 +02:00
Eric
fb4fa9ae41
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (7155 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/zh_Hans/
2022-07-08 17:57:35 +02:00
Mustafa Selçuk ÇAVDAR
ede0ab5b79
Translated using Weblate (Turkish)
Currently translated at 43.9% (3147 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/tr/
2022-07-08 17:57:35 +02:00
Henrik Kauhanen
2723898ff4
Translated using Weblate (Swedish)
Currently translated at 99.8% (7142 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/sv/
2022-07-08 17:57:35 +02:00
dsa-t
b470d9ed8a
Translated using Weblate (Russian)
Currently translated at 99.9% (7151 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ru/
2022-07-08 17:57:35 +02:00
Wellington Terumi Uemura
f0446aab90
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (7155 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/pt_BR/
2022-07-08 17:57:35 +02:00
ZbeeGin
be3ee24826
Translated using Weblate (Polish)
Currently translated at 100.0% (7155 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/pl/
2022-07-08 17:57:35 +02:00
김랑기
68a1f9e512
Translated using Weblate (Korean)
Currently translated at 99.8% (7145 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ko/
2022-07-08 17:57:35 +02:00
co8 j
bf90966901
Translated using Weblate (Japanese)
Currently translated at 100.0% (7155 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/ja/
2022-07-08 17:57:35 +02:00
Toni Laiho
7a5e9cce6d
Translated using Weblate (Finnish)
Currently translated at 100.0% (7155 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/fi/
2022-07-08 17:57:35 +02:00
Ulices
3f7da644eb
Translated using Weblate (Spanish (Mexico))
Currently translated at 100.0% (7155 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/es_MX/
2022-07-08 17:57:35 +02:00
Jonathan Haas
e424dbea2d
Translated using Weblate (German)
Currently translated at 100.0% (7155 of 7155 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/de/
2022-07-08 17:57:34 +02:00
Seth Hillbrand
4d1fcff732 Fix compile error in v6 2022-07-07 12:19:38 -07:00
Seth Hillbrand
dac08643c3 Update Altium SCH QA with rounding factors 2022-07-07 12:03:18 -07:00
Seth Hillbrand
95fcf53353 Handle basic rounding error in schematic import
The fractional part of Altium schematic units is an integer number of
1/10000 mil segments, which is 2.54 nm.  The internal unit of eeschema
is 10 nm, so each fractional unit in Altium is 0.254 base eeschema
units.  To be consistent with
cf33cfcad1
we round to the nearest 10nm for each element

Fixes https://gitlab.com/kicad/code/kicad/issues/11742

(cherry picked from commit 6fef054c51488878b4d4ec4e1c6852c4643fec43)
2022-07-07 11:14:25 -07:00
Marek Roszko
7dc6abd533 Add 3.2 as search candidates for wxwidgets
(cherry picked from commit c12a723d4136ddbdebfe66219489b58b03f8062f)
2022-07-07 11:45:44 +00:00
Jeff Young
042b49ee7b Update message panel from PCB point editor and SCH drawing tools.
Fixes https://gitlab.com/kicad/code/kicad/issues/11961

(cherry picked from commit 4f62960334545866c794222301019c42d10e38fe)
2022-07-06 19:48:09 -07:00
Seth Hillbrand
6a1dfd6e32 Overplot schematic symbol fields and pins
In the absence of z-ordering, we need to ensure that pin text and symbol
fields are always visible in plots as they are in the schematic window.
We do this by overplotting the fields/pins when symbols overlap each
other.

This can be removed if/when we implement https://gitlab.com/kicad/code/kicad/-/issues/2211

Fixes https://gitlab.com/kicad/code/kicad/issues/11969

(cherry picked from commit ff54b8c718096d2248d0b180ee2d94540d48dce3)
2022-07-05 16:47:07 -07:00