Thomas Pointhuber
de39bffd90
altium: Fix board outline import with arcs using SHAPE_LINE_CHAIN instead of a hack
4 years ago
jean-pierre charras
2bfff9d4ce
Fix crash when trying tp draw a text with over-bar.
(missing initialization of a pointer)
Fixes #10252
https://gitlab.com/kicad/code/kicad/issues/10252
4 years ago
jean-pierre charras
a09741597f
qa test: allows epsilon (1 unit) to compare 2 coordinates
It avoids false qa errors (false positive) when comparing coordinates after transform
4 years ago
jean-pierre charras
c2b54faceb
CvPcb: fix crash due to a null pointer: pcbconfig() can return null.
CvPcb has no config option and pcbconfig() returns nullptr.
In this case use default settings.
Fixes #10250
https://gitlab.com/kicad/code/kicad/issues/10250
4 years ago
Mark Roszko
0d64fdc5c7
Put back original expected segment data for unit test
4 years ago
Jeff Young
cbd665db7b
Remove markup_parser from headers so PEGTL doesn't leak windows.h.
4 years ago
Marek Roszko
38a25fbc4d
Fix windows compile error
pegtl.hpp is dumb and leaks windows.h which then causes #define conflicts
4 years ago
Seth Hillbrand
ed35f4bfc5
Fix pad snapping in renumber pads
Snap shouldn't be looking for other items in this routine or using the
grid
Fixes https://gitlab.com/kicad/code/kicad/issues/10238
(cherry picked from commit ed9a3deb57
)
4 years ago
Marek Roszko
ac715d2e51
Scoop up some more wxPoint instances
4 years ago
Jeff Young
8e4a4306c7
Go back to using inter-character spacing from the stroke font.
Fixes https://gitlab.com/kicad/code/kicad/issues/1078
4 years ago
Jeff Young
6f52edd618
Replace accidental delete of ExpandNode calls.
4 years ago
Wayne Stambaugh
3e373da8c2
Add missing "-unknown" suffix to KiCadVersion.cmake.
4 years ago
Seth Hillbrand
2a0e4a8324
Catch errors from `load()`
Loading footprints may throw in some cases. We need to catch these
nicely without breaking out of the full loading process
Fixes https://gitlab.com/kicad/code/kicad/issues/10213
(cherry picked from commit 1874ad2f7e
)
4 years ago
Wayne Stambaugh
ff38853886
Make footprint and symbol editors use MRU path for new libraries.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10216
4 years ago
Jeff Young
f40f516af6
KiCad Manager doesn't implement Kiface().
Fixes crash bug from Help > List Hotkeys in Kicad Manager.
4 years ago
Jeff Young
e21fa31f64
Rip out rest of macHack architecture.
4 years ago
Jeff Young
b70cf1473f
Allow solder mask aperture objects to inherit nets during DRC.
The issue is that object A (the solder mask aperture object) can
bridge objects B and C which have different nets. Since we only do
object-to-object compares we don't find this. By allowing object A
to inherit the first net it collides with (either object B's or
object C's), we'll generate a violation with the second collision.
Fixes https://gitlab.com/kicad/code/kicad/issues/10189
4 years ago
Jeff Young
2fdbc41b8f
Remove macHack.
Either the recently added size-event works better than the version I
originally tried or it's simply no longer needed in wxWidgets 3.1.
In any case, I can't reproduce the wxGrid layout errors anymore.
4 years ago
Marco Ciampa
27fbdb27f2
Updated Italian translation
4 years ago
jean-pierre charras
dde629330d
Pcb plot: fixcrash due to a null pointer
Fixes #10223
https://gitlab.com/kicad/code/kicad/issues/10223
4 years ago
jean-pierre charras
5879227ee2
Update footprint wizards after changes wxPoint->VECTOR2I
4 years ago
qu1ck
211820a689
Remove KICAD_PCM cmake option
4 years ago
qu1ck
721403eb0e
PCM: sort installed packages by date
4 years ago
Marek Roszko
367431f825
Update solder_mask_bridge_test.kicad_pro to ignore library mismatches in test
4 years ago
Roberto Fernandez Bautista
2d3624a016
Rename ComparePageNumAndName -> ComparePageNum
4 years ago
Mike Williams
404659d275
Gerbview: Fix diff mode issues with OpenGL transparency
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/10121
4 years ago
qu1ck
356cddd474
Template for vector<VECTOR2I> in swig
4 years ago
Jon Evans
60c0891c5f
Exit router and invoke edit tool when attempting to drag an arc track
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10208
(cherry picked from commit 45182febaf
)
4 years ago
Jon Evans
9daa4d0e2c
Move duplicate field handling into field parser
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10130
(cherry picked from commit ea99c42df6
)
4 years ago
Marek Roszko
ec83537576
Fix missing win32 header
4 years ago
Jon Evans
59be6a8d19
Load local settings even when not setting project active
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10179
(cherry picked from commit 0065036899
)
4 years ago
jean-pierre charras
c4af66f6d3
Fix compil issues on Windows+msys2
Probably some fixes also on other platforms
4 years ago
Jon Evans
f32c1ab1d2
Fix undo/redo sample action plugin for latest API
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10212
(cherry picked from commit bb388d47fc
)
4 years ago
Jon Evans
0e2f79ad8d
Fix highlighting color logic when net colors are active
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10157
(cherry picked from commit 134b09004b
)
4 years ago
Jon Evans
41e8606fe6
Fix saving of existing appearance presets
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10166
(cherry picked from commit c52421869a
)
4 years ago
Jeff Young
88ee2e269f
Remove some video nets from order testing.
Conflicting nets are disambiguated with "_n" suffixes, but the order
of these is not deterministic.
4 years ago
Jeff Young
0365c6bf4b
Coverity fixes.
4 years ago
Jeff Young
89c0f8e297
Move to new font engine.
4 years ago
Jeff Young
e41a4d406a
Cherry-pick MARKUP_PARSER from rockola/kicad-strokefont.
4 years ago
jean-pierre charras
c108d25897
Fix mirroring tests issues in qa tests for eeschema
4 years ago
jean-pierre charras
e6087f361a
Add forgotten fix
4 years ago
jean-pierre charras
797de9d327
Fix some issues (but not all) in qa tests for eeschema
The main fix is for errors in SCH_TEXT and derived:
qa test expects 4 rotations is an identity transform:
This is false if the item has autoplaced fields.
The fix clears autoplaced flags.
4 years ago
Marek Roszko
1455227447
Correct, we need cmake 3.12 to link object libraries
4 years ago
Simon Richter
d25fe17b28
Bump minimum required CMake version to 3.11
Signed-off-by: Marek Roszko <mark.roszko@gmail.com>
4 years ago
Marek Roszko
7d671cff1e
Scoop up some more wxPoints
4 years ago
Marek Roszko
589a03afcd
Add std::hash specialization for VECTOR2I
4 years ago
Seth Hillbrand
a365afde3c
Ensure merged line gets selected if either parent is
We were only checking for the selection of a single line that gets
merged. This prevents the merged line from being highlighted but not
selected after merging
Fixes https://gitlab.com/kicad/code/kicad/issues/10202
(cherry picked from commit addc5574b4
)
4 years ago
Seth Hillbrand
410ed8a071
Prevent ops on empty selection
Fixes https://gitlab.com/kicad/code/kicad/issues/10164
(cherry picked from commit bd75cffff3
)
4 years ago
Tomasz Wlostowski
dafa8ec671
pcbnew: fix incorrect type cast in DRC_TEST_PROVIDER_TEXT_DIMS
FP_TEXT cannot be casted to PCB_TEXT for obvious reasons, but what I don't understand is why downcasting to EDA_TEXT also crashes due to incorrect vtable method pointer (Clang10/Linux here).
I leave this as a curiosity for whoever knows C++.
4 years ago
Jeff Young
93018375f8
Fix some test errors and update gold files for better netnames.
4 years ago