Thomas Pointhuber
3ade85bc8d
Fix compilation error caused by trying to include boost/test/data/test_case.hpp by default
2024-05-12 17:29:40 +02:00
Thomas Pointhuber
4aca6ba294
Change test_altium_parser.cpp to use BOOST_DATA_TEST_CASE for parameterized tests
2024-05-12 16:58:25 +02:00
Seth Hillbrand
b0c9df3ff4
Update QA mock for new PCB_SELECTION
2024-05-02 12:49:56 -07:00
Marek Roszko
83ef5fd7d6
Move PGM_BASE to kicommon
2024-03-20 23:29:42 -04:00
Tomasz Wlostowski
2280c696d0
wip on resizeable view & adding tabs to pns_debug_tool
2024-03-03 17:42:21 +01:00
Jeff Young
7cc663ad77
Schematic parity checking for CLI DRC.
2024-02-02 23:05:37 +00:00
Jeff Young
37c185f437
Remove overly-complex snapping layer for moving objects.
...
We now have a hotkey to select Active Layer vs All Layers,
which gives the user more control.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16683
2024-01-20 22:04:56 +00:00
Ian McInerney
f2702b223c
Introduce base IO_MGR class and unify RELEASER objects
...
The IO_RELEASER is a thin-wrapper around a std::unique_ptr, but done
this way to allow easier addition of a custom deleter in the future if
something needs to call back into the IO_MGR.
2023-12-29 00:37:38 +00:00
Marek Roszko
9799a7ddcc
Fix broken build due to missing rename
2023-12-23 20:42:46 -05:00
Ian McInerney
e6632bb983
Rename PCB IO classes/files
2023-12-24 01:22:21 +00:00
Ian McInerney
d8b47d18d3
Initial rename of file plugin infrastructure components to IO
2023-12-24 01:22:21 +00:00
Marek Roszko
f8e33be07f
Break out the boundary violating parts of gal into common through subclassing
2023-09-23 09:37:47 -04:00
Marek Roszko
22b733209d
Fail GAL on its header leaking audit
...
Maybe we should rethink directly accessing GAL so much, but at least 600 files didn't need GAL leaked into them due to view_overlay.h
2023-09-18 19:52:27 -04:00
Marek Roszko
11de95778b
Unwrap the FROM_UTF8 macro in favor of direct function
...
The extern just gets annoying to try to export the func later. We also yeet TO_UTF8 to string_utils.h for parity.
2023-09-09 00:10:57 -04:00
Marek Roszko
7505fd0f37
Profile can live in core
2023-09-07 07:47:01 -04:00
Alex Shvartzkop
918ada9b16
Fix CI build.
2023-08-15 06:55:32 +03:00
Marek Roszko
64a7bad56e
Use fn_str with std file streams
...
This uses the MSVC-only wchar_t overload
2023-08-13 14:59:10 -04:00
Roberto Fernandez Bautista
fd7781510e
PNS Log Viewer: Add Open / Save as GUI functions
2023-08-09 22:21:14 +00:00
Ian McInerney
00885ab5b2
Fix mock implementation of NeighboringSegmentFilter
...
This was missed in 3c24ddd8cc
.
2023-06-20 22:40:38 +01:00
Jon Evans
fbe185b99b
PNS debug tool: HiDPI and settings fixes
2023-05-25 21:53:38 -04:00
Seth Hillbrand
32d17547e5
Fixup settings loading
...
Settings loading needs to account for potential chaining, so each
instance should be created before being Load()ed. Additionally, add the
settings loading to QA
2023-04-18 16:00:31 -07:00
Ian McInerney
27e2e820cb
Split spice tests into separate test
2023-04-03 14:42:10 +01:00
Roberto Fernandez Bautista
f97beb15b8
QA: std::optional testing + re-enable cadstar parts parser qa test
2023-03-19 15:28:13 +01:00
Roberto Fernandez Bautista
379e3b2fbb
Add CADSTAR Parts Library (.lib) parser and qa tests
2023-03-16 21:07:04 +01:00
Ian McInerney
3d7a463cb8
Remove last few occurances of Boost::system
2023-03-11 14:21:07 +00:00
jean-pierre charras
4737e3b8a7
QA tests: link unit_test_framework library only with QA tests.
...
It fixes a link issue on W10/msys2 when building some .exe files
not related to QA tests, but have the unit_test_framework library linked
without this change..
2023-03-11 10:28:06 +01:00
Ian McInerney
a6ebd60c3b
CMake: Modernize Boost import to use imported targets
2023-03-10 16:38:35 +00:00
Ian McInerney
c9eefa7ad7
Replace boost::filesystem with std::filesystem
...
Our minimum C++ version is C++17, which has std::filesystem, so ditch
the boost dependency and use the standard library instead. (this only
affects temp file creation in the QA suite anyway).
2023-03-10 16:38:35 +00:00
jean-pierre charras
e4ec74e1ac
Fix link issue for qa_utils on MINGW/msys2
...
For some obscure reason, using Boost_UNIT_TEST_FRAMEWORK_LIBRARY as library
name to link does not work. So use the actual filename.
2023-03-08 17:47:50 +01:00
Marek Roszko
aacc9746e3
Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere
2023-02-18 22:57:18 -05:00
jean-pierre charras
167e430fd9
Fix a compil issue in mocks.cpp.
2023-01-16 20:04:03 +01:00
Tomasz Wlostowski
7da98a447a
qa: enable tool framework for the P&S debug tool
2023-01-12 23:37:07 +01:00
jean-pierre charras
31202a2eb3
Fix a compil issue in QA tests
2023-01-09 19:44:04 +01:00
jean-pierre charras
97a002e06c
fix previous commit for QA stuff (missing changes)
2022-11-08 12:33:24 +01:00
Jeff Young
d67437a2aa
Move ratsnest exclusion processing to a post-pass.
...
Also fixes a few cases where we were unnecessarily rebuilding
connectivity more than once for an operation.
2022-09-29 17:08:49 +01:00
Mike Williams
a23b9810e1
Build: Fix Windows build (missing QA mock update)
2022-09-19 11:30:25 -04:00
Marek Roszko
3d5913c825
Remove convert_to_biu.h, merge contents to base_units.h
2022-09-16 21:09:28 -04:00
Marek Roszko
0f2411587e
Remove Millimeter2iu
2022-09-16 21:09:27 -04:00
Jeff Young
efae2bbb4c
Better feedback for netclass assignment patterns.
2022-09-03 21:33:56 +01:00
Tomasz Wlostowski
739f74db5f
qa: revert e4a36135
2022-07-21 19:17:16 +02:00
Tomasz Wlostowski
e4a36135c6
qa: added missing PCB_SELECTION_TOOL mock code
2022-07-21 13:06:36 +02:00
Marek Roszko
1278b2916c
Add missing util mocks breaking compile
2022-07-17 11:37:51 -04:00
Jeff Young
57acce9e55
Share more code between selection tools.
2022-07-11 19:04:08 -06:00
Jeff Young
7633540492
Fix build issue.
2022-06-29 07:34:46 -06:00
Jeff Young
476f1a7d4d
Preload PCBnew find with selection when appropriate.
2022-03-19 19:37:01 +00:00
Sylwester Kocjan
14ded23e97
qa_common_tools: use common mocks
2022-03-18 17:51:09 +00:00
Sylwester Kocjan
2583acd1cc
qa_eeschema: migrate to common mocks
2022-03-18 17:51:09 +00:00
Sylwester Kocjan
aa7b65c70d
qa_common: Cleanup mocks
...
Use mocks of KIFACE and PGM from Turtle framework
2022-03-18 17:51:09 +00:00
Sylwester Kocjan
a65999b063
qa: Add Turtle 1.3.2 mocking framework
2022-03-18 17:51:09 +00:00
Wayne Stambaugh
c7d577dfe6
Fix unit test mock build error.
2022-03-11 08:28:00 -05:00