Jeff Young
1b07e81936
Fix compile error on OSX.
2023-02-22 18:06:32 +00:00
Jeff Young
962b2d45ef
Implement default levels for JFETs, MOSFETs and MESFETs.
...
(cherry picked from commit fe2679d965
)
2023-02-22 18:04:23 +00:00
Jeff Young
7894b41277
Don't allow 0 field text size.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/13987
(cherry picked from commit cb71ea872b
)
2023-02-22 18:04:23 +00:00
Jeff Young
51d0b8d2b5
Don't allow SCH_LABEL_LOCATE_ANY_T to steal SCH_LABEL_LOCATE_WIRE_T's items.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/13936
(cherry picked from commit 5967ab9a4d
)
2023-02-22 18:04:23 +00:00
Jeff Young
7b992a1dc4
Correctly netlist a voltage source with both AC and DC values.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/13912
(cherry picked from commit c618bb7046
)
2023-02-22 18:04:21 +00:00
Jeff Young
2f8615c6c4
Don't use the just-in-time model resolver when updating the dialog.
...
If it changes in the middle it will leave you in a world of hurt.
Also don't update the library after a loss-of-focus unless the path
really changed.
Fixes https://gitlab.com/kicad/code/kicad/issues/13869
Fixes https://gitlab.com/kicad/code/kicad/issues/13854
(cherry picked from commit 64f1808d60
)
2023-02-22 17:53:10 +00:00
Salvador E. Tropea
aee6d9d01c
Create the built-in colors in the constructor
...
This is needed so Python scripts can get built-in colors using the
SETTINGS_MANAGER.GetColorSettings() member.
Otherwise calling it with a built-in name crashes.
2023-02-22 09:12:22 -03:00
Marek Roszko
fd4a0dbedf
Fix up handling of font names available in multiple names
...
ttf fonts can declare multiple language names. Many by default opt to just declare one and not tag it any particular language.
However, there are CJK languages that typically leverage this function the most. They'll tag both a "en" and a cjk lang family name in CJK characters.
To be as user friendly as possible, we need to display said fonts in the CJK languages if KiCad to set to such a locale.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14011
(cherry picked from commit 39e69a3d29
)
2023-02-22 01:27:09 +00:00
Marek Roszko
14381ac68a
Catch parsing exceptions of the local repository.json
...
Fixes KICAD-B9
(cherry picked from commit 6029fae30b
)
2023-02-21 12:15:09 +00:00
Fabien Corona
c00a98fed4
Revert "sim - Remember the option to save powers"
...
This reverts commit 74dcc1b9d5
.
2023-02-20 20:59:52 +01:00
Mark Roszko
aab7581909
Fix symbol contributor link
...
(cherry picked from commit 365c7be4ed
)
2023-02-20 19:44:59 +00:00
Fabien Corona
74dcc1b9d5
sim - Remember the option to save powers
...
Fixes #13978
(cherry picked from commit 2a3b70b7eb
)
2023-02-20 19:38:19 +00:00
Fabien Corona
17241b3543
sim - missing assignment
2023-02-20 18:15:37 +01:00
Fabien Corona
a4a859f47b
sim - Check FindParam() results before using them
2023-02-20 18:14:48 +01:00
Fabien Corona
b66ed8bc41
sim - don't write dc parameter twice
2023-02-20 18:13:44 +01:00
Fabien Corona
754feff5e7
sim - allow sources that are both AC and TRAN
2023-02-20 18:12:36 +01:00
Fabien Corona
cd1b425a80
sim: VSIN - allow user to specify a phase
...
TD is not the same as PHASE.
TD is the delay before the source turns on.
PHASE is ... the phase
If only TD is set, the signal starts later, but the phase is still 0 when compared to the t=0 of the simulation.
(cherry picked from commit 39a1b14a0f
)
2023-02-20 08:45:09 +00:00
Marek Roszko
187947e8d8
Fix crash deleting project tree items
...
Fixes sentry KICAD-C2
(cherry picked from commit 7d25b6de87
)
2023-02-19 15:12:07 +00:00
Marek Roszko
6b38927123
Fix crash parsing cadstar
...
Fixes sentry KICAD-B2
2023-02-19 08:11:33 -05:00
Marek Roszko
f46e4049b6
Try to prevent a crash in mpFXY::Plot
...
Fixes sentry kicad-c0
2023-02-19 08:11:27 -05:00
Marek Roszko
0ea8299fa7
Fix copypasta typo in export pos
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13991
(cherry picked from commit 9b708ce6d1
)
2023-02-19 05:24:36 +00:00
Marek Roszko
5d793193e0
Fix crash by using a shared_mutex to read/write lock the nickIndex
...
Fixes sentry kicad-ax
2023-02-18 13:02:25 -05:00
Mark Roszko
62337f75b8
FT_Face is also not thread, protect getTextAsGlyphs
...
(cherry picked from commit 7b4abb1f7b
)
2023-02-17 15:17:11 +00:00
Marek Roszko
4d4fdfff70
freetype is not thread safe, zone filler can trigger multi-thread access
...
sentry KICAD-B1
https://freetype.org/freetype2/docs/reference/ft2-base_interface.html
[Since 2.5.6] In multi-threaded applications it is easiest to use one FT_Library object per thread.
In case this is too cumbersome, a single FT_Library object across threads is possible also, as long as a mutex lock is used around FT_New_Face and FT_Done_Face.
(cherry picked from commit 65d5b34da3
)
2023-02-17 15:17:02 +00:00
Alex
b63d0a3138
Keep image sizes when loading/saving 7.0- schematic file formats.
...
Previously, images were assumed to have 300 PPI density when loading from
schematic, but not after initial placement.
(cherry picked from commit bd4758e4df
)
2023-02-17 01:50:01 +00:00
Alex
7949c09183
Prevent ghost image after canceling bitmap placement.
...
(cherry picked from commit ecb28ddf1c
)
2023-02-17 01:49:47 +00:00
Seth Hillbrand
3f535aca8c
Fix Ukrainian language name
...
Should refer to the language not to a Ukrainian person
(cherry picked from commit 576bef4ba0
)
2023-02-16 15:11:14 -08:00
Jon Evans
9f44809164
Revert "Handle another case where schematic view was being cleared"
...
This reverts commit 245ce7259c
.
2023-02-16 16:44:30 -05:00
Jon Evans
f7ccb18af5
Revert "Symbol editor: stop removing overlay from view"
...
This reverts commit f36cd60fdb
.
2023-02-16 16:44:20 -05:00
Jon Evans
cca9945867
Revert "Fix handling of selection overlay in schematic editor"
...
This reverts commit e2711a6121
.
This ended up being too complex for 7.0
2023-02-16 16:43:57 -05:00
Jeff Young
f23c6b0c2f
Clear dirty flags after a move.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/11362
(cherry picked from commit 40e1296a8b
)
2023-02-16 18:10:26 +00:00
Jeff Young
6d22b8c6ed
Negative clearance means test won't run, not rule won't match.
...
Fixes https://gitlab.com/kicad/code/kicad/issues/13947
2023-02-16 18:10:26 +00:00
Jon Evans
245ce7259c
Handle another case where schematic view was being cleared
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13944
(cherry picked from commit ec2fc161e1
)
2023-02-16 13:25:44 +00:00
Jon Evans
f36cd60fdb
Symbol editor: stop removing overlay from view
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13944
(cherry picked from commit 955a5a13eb
)
2023-02-16 13:17:34 +00:00
jean-pierre charras
8467e2d376
Pcbnew: Do not change visibility objects when changing Visibility layers
...
Fixes #13836
https://gitlab.com/kicad/code/kicad/issues/13836
2023-02-16 12:42:25 +01:00
jean-pierre charras
2529918d5f
Pcbnew: fix incorrect rotation of thermal spoke for rotated footprints.
...
If the footprint rotation is not a multiple of 90°, the thermal spokes
were not correctly rotated.
Fixes #13919
https://gitlab.com/kicad/code/kicad/issues/13919
2023-02-16 12:41:35 +01:00
Jon Evans
e2711a6121
Fix handling of selection overlay in schematic editor
...
We weren't actually using the overlay group at all
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11142
(cherry picked from commit 0f18a36f8f
)
2023-02-16 02:17:36 +00:00
Marek Roszko
89d22e5f94
update sentry-native to 0.6.0
...
primarily interested in windows bug fix to stack unwinding
(cherry picked from commit 041b7b196d
)
2023-02-16 02:10:05 +00:00
jean-pierre charras
f13fda9be5
Fix a QA test for bitmaps, to work with latest changes in bitmap code.
...
cherry pick from 05b68413f7
2023-02-15 15:56:12 +01:00
Ian McInerney
49f6a63a06
Fix compatibility with older wx versions
...
ToInt was only added in wx 3.1.6 apparently, so for now make them long
types. Fixes bug introduced in 1e8cc6855d
(Cherry-picked from 2b1040ae67
)
2023-02-15 11:49:38 +00:00
Ian McInerney
e078fea846
Relax wxPython version mismatch check to major.minor
...
The previous version check failed when the version was even slightly
different, including on the revision field. Theoretically the ABI of the
wx minor versions in use should be the same, so this might work. On the
other hand, with wxPython it could break as well. YOLO.
(Cherry-picked from 1e8cc6855d
)
2023-02-15 11:49:15 +00:00
Ian McInerney
048c8b1670
Support subrelease field in wxWidgets cmake detection
...
Sometimes wxWidgets increments the subrelease to a non-zero value, and
since wxPython will report a subrelease, we must ensure we can get the
subrelease from the wx library properly, otherwise configure will fail
thinking the library isn't the same version as that used by wxPython.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/13887
(Cherry-picked from b536580119
)
2023-02-15 11:48:53 +00:00
Marek Roszko
3b5c38d861
CURLINFO_SIZE_DOWNLOAD_T is a enum entry, use the version check instead
...
(cherry picked from commit c189053ee5
)
2023-02-15 04:45:22 +00:00
Marek Roszko
90fb075e34
CURLOPT_XFERINFOFUNCTION is an enum entry not a define, the check is invalid
...
(cherry picked from commit 94b5ddbb50
)
2023-02-15 04:26:51 +00:00
Jon Evans
08c6d9ce96
Set PPI properly in schematic bitmaps, too
...
(cherry picked from commit e8a88411ea
)
2023-02-15 02:37:22 +00:00
Marek Roszko
76ccb8c31f
Try and avoid crashing on gl context creation failure in the 3d viewer
...
Sentry event id 0ad4afa6b86a4a03ad7f8fdbcdb72f86
(cherry picked from commit 5ccf205788
)
2023-02-15 02:20:14 +00:00
Jon Evans
3dfc502814
Router: Do not collide items within a net tie footprint
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13909
(cherry picked from commit 2d7c5c5c0f
)
2023-02-14 21:10:42 -05:00
Jon Evans
df0f626283
Properties: remove assertion that no longer makes sense
...
(cherry picked from commit e5b376721d
)
2023-02-14 21:10:42 -05:00
Jon Evans
1909ce9220
Properties: fix rebuilding when availability changes
...
(cherry picked from commit 61dd4b7043
)
2023-02-14 21:10:42 -05:00
Jon Evans
15bef82e1e
Properties: add some validators for PAD
...
(cherry picked from commit 0b3928d38f
)
2023-02-14 21:10:42 -05:00