Commit Graph

31971 Commits

Author SHA1 Message Date
jean-pierre charras 98e55c0a04 Fix compatibility with older wxWidgets versions. 2023-02-02 20:38:51 +01:00
Wayne Stambaugh 2757d81231 Fix schematic update library symbols issues.
Rather than update library symbols one at a time, queue them up by
schematic symbol to prevent multiple updates to the same symbol in
complex hierarchies.  This also removes all of the library symbols
first which will clear out all of the library symbol variants that
were created by modifying library symbols in place and/or changes to
the symbol in the library.

Don't add new variant library symbol if an equivalent variant already
exists in the schematic local cache.  This prevents duplicate library
symbols from being added to the local cache when the first variant in
the cache does not match that of the symbol being added.
2023-02-02 12:54:08 -05:00
Wayne Stambaugh 985ceb365b Begin 6.0.12 development.
Note: There should not be a 6.0.12 but we said that about 6.0.11.  We
      want to keep the 6.0 branch alive for testing builds for any
      lingering critical bugs until 7.0.0 is released.
2023-02-02 12:45:36 -05:00
Wayne Stambaugh cdf04d5582 Tag release version 6.0.11. 2023-01-24 16:08:09 -05:00
Seth Hillbrand a1ff9134f4 Don't double-tap Connectivity Recalculate
Cherry-picked from 43e4797d4d
2023-01-24 10:35:42 -08:00
Marek Roszko cc0b51c81a Ensure glew is initialized in the 3d model viewer
Fixes KICAD-7M


(cherry picked from commit b3f55e7f8b)
2023-01-24 12:15:13 +00:00
Seth Hillbrand 4e34bdb621 Force realtime connectivity on
The pressure relief valve was not useful for common work patterns as it
forced the recalculation on many common actions such as bus expansion.
This caused it to actually feel slower than with the pressure relief
valve off.

For most schematics, realtime is now fast enough to not need the valve
and for those that are extremely complex, removing the valve helps this
run more predictably

(cherry picked from commit e6dbca051c)
2023-01-23 11:11:48 -08:00
Seth Hillbrand 6d96059917 Fix compile error 2023-01-23 10:47:23 -08:00
Seth Hillbrand 99cfa1fad7 Avoid the obsolete GetNextPin() call
This iterated over all pins to find the pin after a given item.  Because
out pattern is consistently to iterate in the outer loop, this means
that we were an O(n^2) loop for the pins just to find their names.  This
affected very large parts (e.g. FPGAs) when switching sheets to display

(cherry picked from commit 6fa2eedb4b)
2023-01-23 10:46:07 -08:00
Seth Hillbrand b2a6f12645 Don't do a full connection database reset on HardRedraw()
Only update the intersheet references to avoid the penalty of
connectivity re-calculations on each redraw

Cherry-picked from b8ee588a76 and 08c2828bd3
2023-01-23 10:28:29 -08:00
Wayne Stambaugh b33cf23bda Fix library symbol rescue issues.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13602

(cherry picked from commit 0a7bd85cd6)
2023-01-21 11:21:38 -05:00
Steven Falco 5a36c3685e Fix GCC 13 build error.
GCC removed the cstdint header from many other headers, so we can't rely on transitive includes to define these types. This led to a compile error in this file due to no more transitive inclusion.
2023-01-20 21:13:34 +00:00
Seth Hillbrand 5991842ae4 Place hidden PDF text behind words better
Rather than hiding a single line at once, we align each word in the
string with the approximate location of the output word.  This allows
better selecting text in the output pdf

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

(cherry picked from commit da1707d5ba)
2023-01-20 11:15:28 -08:00
Mark Roszko 6c0a30e2f3 Pin curl to the older curl that works 2023-01-19 12:24:55 +00:00
Wayne Stambaugh c0eee45876 Fix another broken graphics import file filter.
(cherry picked from commit 022c913e8f)
2023-01-17 11:43:34 -05:00
Wayne Stambaugh 6ebd970f88 Fix broken graphics import file filters.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13570

(cherry picked from commit f81642bbb3)
2023-01-17 11:27:25 -05:00
Seth Hillbrand 5e3b74aee5 Fix name escaping in Save As
Fixes https://gitlab.com/kicad/code/kicad/issues/13504
2023-01-12 13:34:14 -08:00
jean-pierre charras 316087c468 Protect against null pointer use.
Fixes #13349
https://gitlab.com/kicad/code/kicad/issues/13349
2023-01-02 18:00:18 +01:00
jean-pierre charras 1b1586696f Do not prune items/layers when copying the clipboard to the FP editor: all are allowed
(Some are disabled only for GUI)
Fixes #13334
https://gitlab.com/kicad/code/kicad/issues/13334
2023-01-01 13:39:41 +01:00
Mark Roszko 339a349a58 Fix doxygen output path for copy 2023-01-01 00:14:27 +00:00
Mark Roszko 1a161858fc Add the doxygen dockerfile 2022-12-31 21:43:31 +00:00
Marco Ciampa 12abcd6ece Updated Italian translation 2022-12-30 17:59:16 +01:00
Marco Ciampa 5e64fb1415 Updated Italian translation 2022-12-29 14:41:54 +01:00
Marco Ciampa 7616461e61 Small fix in Italian translation 2022-12-28 09:39:57 +01:00
Jon Evans 968406c6b5 KiWay: Make sure to mark closed windows as closed
Also make sure to veto project import if we couldn't close the existing project.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/13215

Maybe also fixes some other weird crashes, we'll see.


(cherry picked from commit 7e778c9856)
2022-12-27 15:32:34 +00:00
Jon Evans 5144186fca Fix c0fb041b for old API 2022-12-27 08:33:40 -05:00
Jon Evans c0fb041be6 No-connects might not be connected to a pin
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13256

(cherry picked from commit 5657ca5a04)
2022-12-27 08:14:43 -05:00
Wayne Stambaugh 45e15f2394 Begin 6.0.11 development.
Note: there should not be a 6.0.11 but we want to keep the 6.0 branch
      alive for testing builds for any lingering critical bugs until
      7.0.0 is released.
2022-12-26 13:51:17 -05:00
Marco Ciampa f5b592e38c Updated Italian translation 2022-12-19 14:12:46 +01:00
Marco Ciampa 60a8eee515 Updated Italian translation 2022-12-18 11:47:10 +01:00
Wayne Stambaugh 38e09789e5 Tag release version 6.0.10. 2022-12-17 17:12:38 -05:00
Seth Hillbrand f993e51fba Update translations 2022-12-17 11:14:38 -08:00
Neko Nekowazarashi 7600f45d11
Translated using Weblate (Indonesian)
Currently translated at 24.7% (1769 of 7157 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/id/
2022-12-17 20:13:43 +01:00
Ulices 48d8c149a8
Translated using Weblate (Spanish (Mexico))
Currently translated at 100.0% (7157 of 7157 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/es_MX/
2022-12-17 20:13:43 +01:00
Henrik Kauhanen 131115e19f
Translated using Weblate (Swedish)
Currently translated at 99.9% (7152 of 7157 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/sv/
2022-12-17 20:13:43 +01:00
jean-pierre charras cd7cab9794 SHAPE_ARC::GetCentralAngle(): ensure a 360 deg arc angle is always returned as 360 deg.
An arc having the same start and end points can be 0 or 360 deg arc.
In Kicad it is always 360 deg arc (i.e. a circle)
Fixes #13182
https://gitlab.com/kicad/code/kicad/issues/13182
2022-12-17 14:47:26 +01:00
Wayne Stambaugh 22bece0922 Schematic import bug fix.
Check for already loaded schematics in the current sheet path as well
as the current project root sheet path to prevent multiple loads of
shared schematic.  This bug was causing shared sheets to be loaded more
than once which caused instance data to get separated by each copy rather
than saved in one copy of the schematic which would result in all instance
data being lost except the last saved copy of the schematic.  This bug has
been around forever and may be the cause of some unexplained schematic
instance data corruption issues.  This bug does not apply when opening
the full project.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/11076

(cherry picked from commit 84f927d057)
2022-12-15 11:44:59 -05:00
Mark Roszko 01cff24e4e vcpkg bump to ngspice 38 2022-12-15 03:02:55 +00:00
Seth Hillbrand 948071183c Don't report a pin if the pin is null
The pins can exist on a different sheet from the no-connect.  In this
case, we do not set the ERC for the current sheet to the remote pins,
instead only link the NC

(cherry picked from commit bc8366cd95)
2022-12-12 19:31:20 -08:00
Seth Hillbrand ee05b67599 Fix crash when moving empty selection
Need to pop the move tool when exiting, even at the beginning

Fixes https://gitlab.com/kicad/code/kicad/issues/13114
2022-12-12 12:59:31 -08:00
Seth Hillbrand c07043e762 Respect the "report all errors" checkbox
When we have objects spanning multiple layers, the user doesn't need to
see every layer/hole combination violation if they do not request it
2022-12-12 10:53:44 -08:00
Alex bd9c37aa5f Fix an incorrect calculation in length tuning tools.
MEANDER_PLACER_BASE::lineLength wasn't calculating the length correctly
when starting and ending pads were on different layers.

Naturally, now jointA corresponds to the start of the path, jointB to the end.

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


(cherry picked from commit 348c3d4216)
2022-12-12 01:58:36 +00:00
Alex 6e6a748320 Use correct pad to die lengths in DP length tuner.
Fixes https://gitlab.com/kicad/code/kicad/issues/12859


(cherry picked from commit 126914859a)
2022-12-12 01:58:13 +00:00
Seth Hillbrand 61c0cac22d Update translations 2022-12-11 12:20:46 -08:00
ZbeeGin 3c973a788d
Translated using Weblate (Polish)
Currently translated at 100.0% (7157 of 7157 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/pl/
2022-12-11 21:19:38 +01:00
Mark Hämmerling 048436f0ef
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-12-11 21:19:38 +01:00
Jan Straka 491e0cac6a
Translated using Weblate (Czech)
Currently translated at 93.2% (6676 of 7157 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/cs/
2022-12-11 21:19:38 +01:00
Henrik Kauhanen cf1d0a9667
Translated using Weblate (Swedish)
Currently translated at 99.9% (7150 of 7157 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/sv/
2022-12-11 21:19:38 +01:00
Henrik Kauhanen 3ae39f9614
Translated using Weblate (Finnish)
Currently translated at 99.9% (7154 of 7157 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/fi/
2022-12-11 21:19:38 +01:00
Henrik Kauhanen 45d9a58bc7
Translated using Weblate (Swedish)
Currently translated at 99.8% (7149 of 7157 strings)

Translation: KiCad EDA/v6
Translate-URL: https://hosted.weblate.org/projects/kicad/v6/sv/
2022-12-11 21:19:38 +01:00