Jeff Young
4a3ae82748
Don't process SCINTILLA_TRICKS onCharHook when autocomplete is active.
...
(ESC being the exception that proves the rule.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15001
(cherry picked from commit c2f2247ae3
)
2023-07-09 21:54:00 +01:00
Jeff Young
60fe2ce30e
Save project to disk whenever we save the board to disk.
...
This prevents data loss in the event of a subsequent crash.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14991
(cherry picked from commit 3bdc66d3ed
)
2023-07-09 21:53:32 +01:00
Jeff Young
b294530716
Prefer MRU path to LastImportExportPath for importing footprints.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15102
2023-07-09 21:39:18 +01:00
Jeff Young
0652267d00
Don't reset page unless we have to.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15033
(cherry picked from commit f892194be4
)
2023-07-09 21:08:52 +01:00
Jeff Young
b857374aa2
Don't consider a group to be on a copper layer.
...
Its members can be on copper layers, but the group itself isn't on any
layer.
Also fixes a bug where we were trying to clone TRIANGULATED_POLYGON::TRI
shapes as indexable sub-shapes. (The TRI only has indexes into its
parent, so cloning it will only result in segfaults down the line.)
Also fixes a bug where we weren't including copper items inside groups
when checking footprint net ties.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15021
(cherry picked from commit 40abb013ec
)
2023-07-09 21:08:52 +01:00
Jeff Young
480ce08d39
Clear arcs before deflating area outline.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15007
(cherry picked from commit 4473ebb02d
)
2023-07-09 21:08:52 +01:00
Jeff Young
63f33a42e3
Don't trip over null strings.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14989
(cherry picked from commit ecb2fcd559
)
2023-07-09 21:08:51 +01:00
Jeff Young
f6d1baa50a
Refine track dangling test.
...
Turns out Clean Up Tracks and Vias wants a different answer from DRC.
(cherry picked from commit fb40c202a1
)
2023-07-09 21:08:51 +01:00
Jeff Young
0df1ec8765
Track not dangling if entirely covered by pad.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14211
(cherry picked from commit 4e3730f653
)
2023-07-09 21:08:51 +01:00
Jeff Young
19e128041b
Handle some Mac-standard keyboard shortcuts in Scintilla.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14973
(cherry picked from commit b3235ce667
)
2023-07-09 21:08:51 +01:00
Jeff Young
76f8b3df22
Treat undo as backspace and/or escape when drawing. Ignore redo.
...
Undo == backspace when drawing a polygon or chained lines. Otherwise
it's an escape.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14961
(cherry picked from commit ef6866757e
)
2023-07-09 21:08:51 +01:00
jean-pierre charras
e1e791fc75
*.wks files: always save text font when it is not the default font.
...
From Master branch
Fixes #15154
https://gitlab.com/kicad/code/kicad/-/issues/15154
2023-07-09 11:51:58 +02:00
Alex Shvartzkop
bbf59a731d
EAGLE PCB import: fix footprint text alignment.
...
(cherry picked from commit a80ac8286d
)
2023-07-09 05:46:12 +05:00
Alex Shvartzkop
803bcbbea0
Altium PCB import: fix text positioning when not bottom-left aligned.
...
(cherry picked from commit 536744d37a
)
2023-07-09 05:46:12 +05:00
Alex Shvartzkop
6f384c8802
Altium schematic: import net label justification.
...
(cherry picked from commit 37772ac29e
)
2023-07-09 05:46:11 +05:00
Alex Shvartzkop
d6eb66c738
PDF plotting: Fix "Show Page" in Foxit PDF Reader.
...
pageNum is an Integer. Acrobat seems to convert automatically.
(cherry picked from commit 698fffb128
)
2023-07-09 05:46:11 +05:00
Alex Shvartzkop
7078381175
Eeschema printing: fix bg fill when paper orientation or size differs.
...
(cherry picked from commit 86458ae582
)
2023-07-09 05:46:11 +05:00
Alex Shvartzkop
0ffef66cb6
Fix bitmap transparency in Cairo GAL.
...
Cairo ARGB32 format needs alpha pre-multiplied with color.
(cherry picked from commit f286015bc7
)
2023-07-09 05:46:11 +05:00
Alex Shvartzkop
dfc17244d4
Perf: don't search for niluuid items when moving cursor in eeschema.
...
Reduces CPU usage by 60% in some cases.
(cherry picked from commit 55b31030c0
)
2023-07-09 05:46:11 +05:00
Mark Roszko
ecb9f607ed
Move kicad-vcpkg forward to pickup new opencascade
2023-07-08 14:18:19 +00:00
Mark Roszko
35126ba22c
const bool is just bool
...
(cherry picked from commit e53e571d2d
)
2023-07-08 01:04:30 +00:00
Simon Richter
5cdf03ff6d
Do not fail formatting test when reusing a build env
2023-07-08 00:18:18 +00:00
Seth Hillbrand
d128b30279
Move some DRC regression tests
...
The RegressionZoneFillTests handle issues that are resolved by the zone
filler, so Clipper2 problematic fill belongs there. Otherwise, the
remaining tests should not refill the zones before running DRC because
we expect the DRC to catch errors without needing a refill
(cherry picked from commit 998e749918
)
2023-07-07 12:12:13 -07:00
Seth Hillbrand
cadea90109
Check for zone-zone overlap
...
Instead of just checking for the zone outline, we adjust to check the
full fill area of the zones for intersection and overlaps
(cherry picked from commit 954b265839
)
2023-07-07 12:03:58 -07:00
Marco Ciampa
90d1695bbc
Updated Italian translation
2023-07-07 10:25:11 +02:00
jean-pierre charras
713cb032b5
Fix some (minor) issues when drawing shadow texts of RULER_ITEM and pin names.
...
From master branch (commits 355575e4
, 1698fb66
and 965aaa21
)
Fixes #15019
https://gitlab.com/kicad/code/kicad/-/issues/15019
2023-07-06 19:57:49 +02:00
Marek Roszko
24ed144200
Fix EDA_TEXT creation that worked due to implicit cast
...
A leftover from the units object rework and I forgot to double back. The DEFAULT_SIZE_TEXT is set inside the constructor now
(cherry picked from commit b5e420c33c
)
2023-07-05 13:16:10 +00:00
Simon Richter
ebc584b2a7
Fix keyword order in include setup ( Closes : #15081 )
...
The SYSTEM keyword can only be used before a visibility keyword, so
"PUBLIC SYSTEM" declares an include directory named "SYSTEM".
2023-07-05 12:16:24 +00:00
Wayne Stambaugh
dcef21676d
Begin version 7.0.7 development.
2023-07-05 08:03:53 -04:00
Wayne Stambaugh
ff2da496af
Tag release version 7.0.6.
2023-07-05 08:01:08 -04:00
Steven A. Falco
9d5f85634c
Allow python 3.12
...
(Cherry-picked from 2c983155a4
)
2023-07-05 10:45:23 +01:00
Wayne Stambaugh
7efda5fbbd
Tag stable release candidate 7.0.6-rc3.
2023-07-02 07:25:23 -04:00
Jeff Young
60696a895c
Add DRC testing for copper graphic to zone fill collisions.
2023-06-30 11:56:40 +01:00
Seth Hillbrand
8b26f50003
SIM_VALUE stores significants in 64-bit
...
stol isn't neccesarily 64-bit though, so we use stoll and catch the
overflow if we have bad input data
Fixes KICAD-2EF
(cherry picked from commit 7779a01d48
)
2023-06-29 10:45:29 -07:00
Fabien Corona
bf78ac7a6c
IBIS: model type should not be case sensitive
...
Fixes #15068
(cherry picked from commit 8abb701727
)
2023-06-28 21:03:49 +00:00
Seth Hillbrand
f9e9ed53f9
Update translations
2023-06-27 15:33:46 -07:00
Seth Hillbrand
d727063036
Reset turkish translation to Mar 18
2023-06-27 15:33:27 -07:00
Jan Straka
26f69bccef
Translated using Weblate (Czech)
...
Currently translated at 91.5% (7334 of 8014 strings)
Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/cs/
2023-06-27 15:31:00 -07:00
Jan Straka
95f991b5de
Translated using Weblate (Czech)
...
Currently translated at 91.3% (7323 of 8014 strings)
Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/cs/
2023-06-27 15:30:59 -07:00
Wellington Terumi Uemura
2a4b72246b
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (8014 of 8014 strings)
Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/pt_BR/
2023-06-27 15:30:09 -07:00
Allan Nordhøy
e62c9d89b1
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 61.1% (4900 of 8014 strings)
Translation: KiCad EDA/v7
Translate-URL: https://hosted.weblate.org/projects/kicad/v7/nb_NO/
2023-06-27 15:29:42 -07:00
Seth Hillbrand
3926173dfe
Fix zone fill issue with net ties
...
A mistake in the cherry-pick for a previous commit prevented footprint
graphics from being knocked out in the zone fill. This sets the default
to knockout, allowing the assertion from the polygon generation routine
to catch invalid codes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15069
2023-06-27 12:35:42 -07:00
Seth Hillbrand
9098a7c128
Add QA test to guard net ties
...
The QA checks that net-ties correctly knock out the zone fill underneath
them.
2023-06-27 12:27:34 -07:00
Wayne Stambaugh
d77de385f0
Tag stable release candidate 7.0.6-rc2.
2023-06-26 16:05:47 -04:00
Seth Hillbrand
7bcd3e2262
Cherry-pick part of 14f6e32
...
This brings EDA_DRAW_FRAME::LockFile into compliance with the lockfile.h
status code. This was part of a larger commit in the master branch but
the return code checking is needed for v7
2023-06-23 14:11:23 +02:00
Tomasz Wlostowski
2f35d97b27
router: when no collision search context is provided, assume differentNetsOnly is true
...
(cherry picked from commit a0a68d198c
)
2023-06-23 07:55:50 -04:00
Tomasz Wlostowski
152dc56df4
router: provisional fix for 14926
...
(cherry picked from commit bd5954242e
)
2023-06-22 12:54:22 -04:00
Seth Hillbrand
32930319ea
Check for directory locking not file
...
When creating a new file lock, we need to check if the containing
directory can be written, not if the file (which may not yet exist) can
be written
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14942
(cherry picked from commit 6896148a10
)
2023-06-21 14:53:33 +02:00
Seth Hillbrand
2e54232181
Fix LOCKFILE fallback
...
`throw` needs to provide an actual std::exception or it will not be
caught
(cherry picked from commit 844226e6b9
)
2023-06-21 14:53:33 +02:00
Seth Hillbrand
8648017b42
Prevent ro directories from showing lockfile error
...
(cherry picked from commit d94fd5f979
)
2023-06-21 14:53:33 +02:00