Jeff Young
e8e0b07223
Honour on-the-fly language changes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19773
8 months ago
Marek Roszko
6652d3eca7
Remove the long path adjustment for now
Some bugs between archive vs backup project
8 months ago
Marek Roszko
76083e507a
Revert "Kicad manager: make zip archive working on Windows."
This reverts commit 80303b4caa
.
8 months ago
John Beard
d90862b444
Pcbnew: fix snapping view update after hover delay
Te update didn't refresh, so the snap extensions sometimes only
appeared after the _next_ mouse move, which was annoying when the
mouse was very still (e.g. when deliberately hovering over an item).
Use a wxTimer to put all the callbacks in the UI thread which is also
much simpler. Also the update function needs to call a canvas refresh
as well as the item update.
8 months ago
Jon Evans
28a4ca2d80
Mark string for translation
8 months ago
Jon Evans
8a7bf78b38
Fix color theme load logic in jobs
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19754
8 months ago
Jon Evans
e417b209a0
Don't paint clearance layers as copper
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19764
8 months ago
Alex Shvartzkop
6e54b88fe0
EasyEDA Pro import: set 3D model rotation for other axes as well.
(cherry picked from commit fbad7ae602
)
8 months ago
JamesJCode
00e4d72d4b
Move ownership of listener cleanup to BOARD itself
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19736
8 months ago
Jeff Young
25379b3094
Honour hover selections.
8 months ago
Jeff Young
e530bab396
Don't report "shorting nets" when one pad has no net.
(Fall back to clearance violation instead.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19752
8 months ago
Jeff Young
a9500de3f8
Ignore invisible copper text in router.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19420
8 months ago
Jeff Young
e21ec0558e
DEFAULT no longer a legal LINE_STYLE for graphic lines.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19766
8 months ago
jean-pierre charras
32673a0ead
Pcbnew, router: fix crash when trying to create a blind via without a track
Using PnS router, when trying to create a blind/buried or micro via with layer
selection with no track in progress, the router crashed because the starting
layer was not defined.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19750
8 months ago
Jeff Young
fccb661487
More MANDATORY_FIELDS work.
Also fixes a crasher when Cancelling a FIELDS_GRID
dialog with one of the grid editors currently open.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19762
8 months ago
Ethan Chien
c9001cc187
Sync Sheet Pins: Refactor button enable logic to use selected row count for synchronization models
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19738
8 months ago
Wayne Stambaugh
048669eced
Compare SCH_SHAPE UUIDs after comparing shape object coordinates.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19716
8 months ago
jean-pierre charras
b2ef81808b
Pcbnew, DIALOG_PLOT: store B&W/Color option for PDF and SVG formats
Previously, the dialog started withB&W option.
8 months ago
Marek Roszko
68b3f66cd3
Bump vcpkg mainline
8 months ago
Marek Roszko
76728ab748
Bump vcpkg for wxpython ducktape
8 months ago
Jon Evans
8903a82c50
Fix design block panel trampling symbol chooser settings
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19190
8 months ago
jean-pierre charras
e487f19260
QA api test: ensure the "C" locale is used in tests.
Fix also a compatibility with current code in drc_proto.cpp
8 months ago
Jon Evans
42b9a9604b
Fix several data races triggered by parallel library loading
8 months ago
John Beard
7080d99464
Pcbnew: reduce snap timeout a fraction
This is subjective but 500ms just seems a hair too long.
8 months ago
John Beard
c120254aa4
Pcbnew: snap to object faster if no objects activated
Otherwise it's annoying to snap to the first item you get to
if you have to wait every time.
8 months ago
Jeff Young
66df840353
Attempt to fix CLI test.
8 months ago
Jon Evans
9cf4dd05b3
Fixes to build with wxWidgets 3.3
9 months ago
Wayne Stambaugh
4e80c6fdc1
Revert "Do not use schematic object UUID comparisons when UUIDs are mutable."
This reverts commit 1dfe3ebc54
.
9 months ago
Wayne Stambaugh
1dfe3ebc54
Do not use schematic object UUID comparisons when UUIDs are mutable.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19716
9 months ago
Jeff Young
60c2469c75
Don't use dynamic_cast across compile boundaries.
(Especially not after we've already tested the
filenames explicitly so that we don't have to.)
9 months ago
John Beard
6f2a3582ae
SCH_PIN: defer to lib pin for menu image
Otherwise we try to look up the icon for INHERIT,
which is an assertion.
This can be hit when long-clicking no-connect on a pin.
9 months ago
John Beard
86394b7598
Eeschema: more useful assert msg on pin type lookup failure
9 months ago
Jeff Young
59f20cdedc
Fix Mac build.
9 months ago
John Beard
fb6d3c1808
Pcbnew: don't let axes hide construction geometry
9 months ago
Wayne Stambaugh
9eaefa3301
Fix crash when importing Eagle schematics with multiple module levels.
Fix annotation when importing Eagle schematic modules. Apparently Eagle
uses hard coded module name prefixing scheme to generate module symbol
references by prefixing module name separated by a colon. Even though
this results in references that are incompatible with KiCad, they are
used so that the board and schematic can be synchronized by references
on import.
https://gitlab.com/kicad/code/kicad/-/issues/19718
9 months ago
John Beard
0011586372
Position relative: don't run with no selection
9 months ago
John Beard
43be371f83
Kimath: don't access aActual unless set
Avoids at least one test failure in qa_pcbnew
due to uninitialised access.
9 months ago
John Beard
d9a243d98c
QA: Use data-driven tests in a few places
This means that you can run just a single case from the command line,
for example:
`qa_pcbnew -t DRCCopperSliver/_0`
The case is also automatically printed as context.
This means that when isolating a specific defect in one case,
you can run only that one case, which is useful under debuggers
and also when using slow tools like valgrind.
Not all possibe tests are doing this, but they're easy to do
when needed (i.e. when you want to run just one case)
9 months ago
JamesJCode
09bbaa5813
Attempt to fix broken Windows build
9 months ago
JamesJCode
b25cc8eb02
Set new symbol fields to default to hidden
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19727
9 months ago
JamesJCode
38054953d1
Set read-only color swatches on first use
9 months ago
Jeff Young
b7592db2b3
Fix latent error in annotator uncovered by tests.
9 months ago
Jon Evans
877e197fec
Fix another footprint field fallout
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19729
9 months ago
John Beard
de7f735856
Pcbnew: fix extension snaps for initial persistent items
Specifically, do not race the delay against the proposal
cancellation for the initial items, but just accept them
immediately.
9 months ago
John Beard
5b07bb4f6a
Pcbnew: fix snapping to reference image anchor points
Otherwise it's impossible to accurately place an image
using a corner or origin.
9 months ago
John Beard
954ef70a8a
QA: add a library-mode footprint load/test/save test
This is not only a useful place to hang regression tests,
but also allows to catch defects specific to loading or
saving footprints.
For example, it would catch:
Relates-To: https://gitlab.com/kicad/code/kicad/-/issues/19713
9 months ago
Jeff Young
469d2176dd
Use m_numRefStr when converting back to string.
(It main contain leading zeroes.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19724
9 months ago
Jeff Young
4c65085fa5
Search within symbols' draw items as well.
9 months ago
Jeff Young
7f307afb04
Adjust layout of Find dialogs.
9 months ago
Jeff Young
a9ddcf4287
Fix positions of popup menus when plotting in mirrored mode.
[Resolve conflicts with JP's fix to same. I'm not sure if we support !m_mirrorIsHorizontal, but
it was in other code, so I left it in just to be
safe....]
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19717
9 months ago