Seth Hillbrand
a2edf9c442
Unified update to C++14 std::make_unique
This update replaces the existing uses of unique pointer creation with
the C++14 std::make_unique call that provides proper memory release in
event of an exception.
6 years ago
John Beard
4dc82ff76f
Technical TODO: make_unique is no longer polyfilled
Since we use C++14, std::make_unique required no "polyfill".
The KiCad polyfill was removed in
5151cd0bfe
,
so remove the TODO item.
6 years ago
John Beard
1b124832fe
QA: Remove deprecated boost headers
The test_case_template.hpp header is deprecated in Boost, and the
latest Boost version is now throwing warnings during the build.
In Boost 1.59 (at least), this header is included transitively by the main
Boost test header, so this header is not needed by any supported Boost
version.
6 years ago
Eeli Kaikkonen
f1ef036400
Removed old and outdated TODO.txt.
6 years ago
Seth Hillbrand
65ef8c1894
StrokeFont: Reserve rather than resize
Minor speedup by not double-initializing the stroke font vector.
6 years ago
Ian McInerney
4ebb591a5c
Allow the formatting test to fail
By allowing to to fail, we won't block the rest
of the CI tests, and also won't block the merge.
6 years ago
jean-pierre charras
4a75cc586c
Zone filler: do not create stubs in thermal reliefs when not possible.
pad size is sometimes smaller than the zone minimal width.
So, to avoid strange and incorrect results, do not create the stubs in
thermal relief when the pad size is smaller than the zone minimal width.
6 years ago
Ian McInerney
f0c386f5dd
Update GitLab CI script
Changes SHA detection to find the start of the MR and makes check_coding return non-zero when formatting changes needed
6 years ago
Jeff Young
581dc81358
Performance optimizations for the stroke font.
6 years ago
Ian McInerney
edf23dc5a9
Fix GitLab CI format hook
The variable CI_COMMIT_BEFORE_SHA is not available in
normal merge requests
6 years ago
Ian McInerney
7433d252bb
Merge branch 'eelik-master-patch-06344' into 'master'
Changed .wings to .step (the former isn't supported anymore, STEP is the official format)
See merge request kicad/code/kicad!2
6 years ago
Eeli Kaikkonen
4739f33ca2
Changed .wings to .step (the former isn't supported anymore, STEP is the official format)
6 years ago
Jeff Young
089ce90de3
Fix some issues with the previous commit.
6 years ago
Jeff Young
9b36489270
Make sure that libraries are always sorted consistently.
Fixes #1847481 | https://gitlab.com/kicad/code/kicad/issues/1847481
6 years ago
Jeff Young
d4816d843d
Check /all/ libraries when toggling the Save All toolbar button.
6 years ago
Wayne Stambaugh
ea62b19b58
Merge branch 'update-compiling-md' into 'master'
Update compiling.md for GitLab
See merge request kicad/code/kicad!1
6 years ago
Jon Evans
95f703aac0
Update compiling.md for GitLab
6 years ago
Jeff Young
a9da0c6ecf
Update local coords when editing EDGE_MODULEs.
Fixes: lp:1853726
* https://bugs.launchpad.net/kicad/+bug/1853726
6 years ago
Jeff Young
3af3bf894c
Make sure the IS_MOVED flag gets set when breaking out of a bus.
This (among other things) causes an update-preview event to be sent
when modifying it (such as rotating).
Fixes: lp:1854456
* https://bugs.launchpad.net/kicad/+bug/1854456
6 years ago
jean-pierre charras
5cd7f3fdee
DIALOG_DRC_CONTROL: fix a crash on wxWidgets 3.1.3, Windows,
Happens when right clicking on an item in displayed lists.
The crash was due to a bug in wxWidgets, and the fix is only a workaround
Also remove duplicate code.
6 years ago
Maciej Suminski
2a3d4ffe88
Update 'git fixes' alias and the documentation to point to Gitlab
6 years ago
Ian McInerney
07c6cfdc38
Add Ian to AUTHORS.txt
6 years ago
jean-pierre charras
4bf7ca49b8
Commit test
6 years ago
Jon Evans
0857a1f5dc
Update contributors link to GitLab
6 years ago
Seth Hillbrand
d20d310fcc
Fix compile error on Linux
The wxArrayString doesn't have a standard assignment operator to
std::vector<wxString> so we iterate over the members.
Fixes: lp:1854562
* https://bugs.launchpad.net/kicad/+bug/1854562
6 years ago
Seth Hillbrand
2ce7d9a708
Adding merge CI
Adds GitLab merge CI for code formatting.
6 years ago
Jon Evans
d5140d87cd
Fix indentation in previous commit
6 years ago
Jon Evans
8b87dc7e0f
A slightly better ERC check for hierarchical labels
Fixes: lp:1839822
* https://bugs.launchpad.net/kicad/+bug/1839822
6 years ago
Jon Evans
972d765aea
Use direct call to update highlighting on new sheet load
6 years ago
Jon Evans
719a70b510
Update FindwxWidgets.cmake to work under MSW/vcpkg
Taken from: https://github.com/CaeruleusAqua/vcpkg-wx-find/blob/master/FindwxWidgets.cmake
6 years ago
Jon Evans
78add8f4bd
Mark ERC compare operators as const
Not including these is a compile error on MSW/VC
6 years ago
Jon Evans
f23e151b90
Use wxArrayString instead of vector<wxString> in BUS_ALIAS
Fixes linker errors on Windows/VC
See: https://trac.wxwidgets.org/ticket/10884
6 years ago
Jeff Young
342c8941b5
More cleanup of dialog_find-base.fbp
6 years ago
Jeff Young
1e4437c6df
Some cleanup for the Pcbnew search changes.
6 years ago
Fabien Corona
7297822423
pcbnew: search options
-Users can now search DRC markers with string filtering
-GUI changes for consistency with Eeschema
Fixes: lp:1845460
* https://bugs.launchpad.net/kicad/+bug/1845460
6 years ago
Fabien Corona
5d3e6e3d44
pcbnew: search options
-Add a "wrap" option->Search results implemented as a nested list.
-Allow to go back with a "Find previous" button
-Remove the marker search option
-Fix a DLIST issue
-Add a result counter ("eg: hit(s): 1/3")
-Search history limited to 10
-Fix the search history order
-User can include or exclude references/values/texts from results
Fixes: lp:1845460
* https://bugs.launchpad.net/kicad/+bug/1845460
6 years ago
Jeff Young
102b530162
Fix library tree updating bug present at least on OSX.
6 years ago
Seth Hillbrand
ffcf3b01fc
Fixup issue with adding junctions
Segfault when we pass a component to the routine as it expects to see a
selection.
6 years ago
Ian McInerney
9f9b48739c
pcbnew: Adjust dimension display after updating units
Fixes: lp:1854167
* https://bugs.launchpad.net/kicad/+bug/1854167
6 years ago
Jonatan Liljedahl
e517069a51
Eeschema: Add options for selection appearance
ADDED: Three new options that affects selection appearance:
- Draw selected text items as box
- Draw selected child items
- Fill selected shapes
6 years ago
Franck Jullien
a5f8340654
eechema: add junction if needed when component is placed
Fixes: lp:1849376
* https://bugs.launchpad.net/kicad/+bug/1849376
6 years ago
Simon Richter
ac09c9c9d4
Enable full CTest framework
This allows asking CTest for running the test suite under valgrind
6 years ago
jean-pierre charras
c186e7d391
Cosmetic and usability enhancements.
- Better menu texts
- do not show pad edit options in board editor,
when they are used only in the footprint editor.
6 years ago
Seth Hillbrand
a643bdff4b
Remove ergonomic statement
6 years ago
Jonatan Liljedahl
7c7d9c3e3f
Eeschema: simulator plot: allow standard mac pan and pinch to zoom
6 years ago
jean-pierre charras
2cd60cdfaf
Layer stack manager: remove dielectric layer: fix incorrect sub-layer selection.
6 years ago
jean-pierre charras
ce7857b715
Layer stack manager: fix crash due to a double deletion on unix.
Did not happen on Windows.
Fixes: lp:1853764
https://bugs.launchpad.net/kicad/+bug/1853764
6 years ago
John Beard
1b1e514544
QA: Move to a self-registering plugin system for QA utils
This means that utility programs no longer have to be manually
added to the COMBINED_UTILITY, they self-register their
information at static init time. This is basically the same concept
as the Boost test registration.
All utilities need to do now is register their UTILITY_PROGRAM info
struct with the UTILITY_REGISTRY::Register method. No headers required.
6 years ago
John Beard
eb61c1bbc4
Reset Windows file endings to Unix
Commit 71cd8c57b
changed pcbnew/kicad_plugin.cpp to Windows
file endings. This means that any patches on this file no longer
apply.
6 years ago
Ian McInerney
8bd2765f38
Fix typo in CMake error message
6 years ago