Seth Hillbrand
03c279ffd4
ADDED: Threadpool
Thread pools are long-lasting executors that have close to zero overhead
when launching new jobs. This is advantageous over creating new threads
as we can use this for threading smalling jobs and smaller quanta. It
also avoids the heuristics needed to determine the optimal number of
threads to spawn
3 years ago
Jeff Young
97b0005780
More caching for DRC.
Also fixes a bug where some physical clearance tests would be run even
if the clearance was 0 (or if the rule was set to IGNORE).
3 years ago
Seth Hillbrand
b5c2f0d39a
Remove the open array in favor of std containers
The containers allow iteration, size knowledge and lower bug surface
4 years ago
Seth Hillbrand
f0e4448a9d
Remove broken call to normalize outlines
We should never be editing the user's outlines for them. This creates
broken zones that are hard to repair. In this case, there was also a
secondary zone with no outline that would crash the system
Fixes https://gitlab.com/kicad/code/kicad/issues/10904
(cherry picked from commit f0d7a09af9
)
4 years ago
jean-pierre charras
2fddc9daf3
Pcbnew: fix missing connectivity update when adding an item.
Skipping connectivity update when adding an item is possible only when loading a file
Fixes #10879
https://gitlab.com/kicad/code/kicad/issues/10879
4 years ago
Jeff Young
d8c4f2cb09
Performance improvements for zone filler.
4 years ago
Jeff Young
5c9e718407
Performance enhancements for connectivity.
1) Generate SHAPE_POLY_SET triangulation by outline so they can be
shared between connectivity system and other clients.
2) Don't add items to connectivity when reading board; we're going
to do a total rebuild anyway.
3) Use multithreading when caching triangulation.
4 years ago
Jeff Young
3deaf902bb
Retire the V5 zone fill algorithm.
Fixes https://gitlab.com/kicad/code/kicad/issues/10578
4 years ago
Jeff Young
7ccac79192
More wxString wide literals.
4 years ago
Jeff Young
5739505aa3
TextBoxes for PCBNew.
4 years ago
Marek Roszko
c91d3e3cf9
Remove some more wxPoint
4 years ago
Marek Roszko
c4c56de708
Neurotically update position wxPoint usages
4 years ago
Jeff Young
fa908e1f98
Dimensions for footprints.
Fixes https://gitlab.com/kicad/code/kicad/issues/8441
4 years ago
Jeff Young
b4c5e64db2
Exclusions for Unconnected Items; Markers & exclusions for Parity checks
Fixes https://gitlab.com/kicad/code/kicad/issues/5589
Fixes https://gitlab.com/kicad/code/kicad/issues/5504
4 years ago
Jeff Young
5f37c2b247
Custom rule severities.
ADDED severity token to custom rule syntax. Each rule can now define
its own severity.
Fixes https://gitlab.com/kicad/code/kicad/issues/6148
4 years ago
Jeff Young
a48867ea01
Solder mask integrity testing.
ADDED DRC test for solder mask aperture bridging copper from different
nets.
ADDED visualization of minimum web width processing for solder masks.
ADDED allow_soldermask_bridges property for footprints.
Fixes https://gitlab.com/kicad/code/kicad/issues/2183
Fixes https://gitlab.com/kicad/code/kicad/issues/1792
4 years ago
Jeff Young
e26341d424
Cleanup.
4 years ago
Jeff Young
4b6bf3095a
Radial dimensions.
ADDED radial type dimensions.
Fixes https://gitlab.com/kicad/code/kicad/issues/2056
4 years ago
Jon Evans
8026863d4c
Use progress reporting in more places when loading a board
Prevents application-not-responding events while opening large designs
4 years ago
Wayne Stambaugh
1f7fd436a2
Move board object polygon code into the object source files.
Having the board object polygon code all defined in a separate file made
finding the polygon code for an object difficult to find.
4 years ago
Jeff Young
a41944020d
Push most of PCB_SHAPE impl down in to EDA_SHAPE.
4 years ago
Jeff Young
f606679164
Proper numeric sorting for intersheet refs.
Also expunges the horrifically named std::remove and std::remove_if
(neither of which remove anything).
4 years ago
Jeff Young
fac48ddafb
Don't include stale nets in net counts.
Fixes bug reported by Franck.
4 years ago
Jeff Young
f34e280c81
Garden-variety 100X performance improvement.
Adds a compile mode for layer strings.
4 years ago
Jeff Young
6aaf4413b3
Fix kicad_string.h / string.cpp mismatch.
They don't define a KiCad string class, so the header file name was
somewhat misleading. But the fact that they didn't match definitely
made coding more difficult.
4 years ago
Jeff Young
d613292b67
Fix type in group command enablement.
Fixes https://gitlab.com/kicad/code/kicad/issues/8821
4 years ago
Jeff Young
70ac70f360
Don't attempt to round-trip netnames through wxListBox.
Fixes https://gitlab.com/kicad/code/kicad/issues/8684
4 years ago
Jeff Young
096e342386
Prefix TRACK, ARC and VIA.
4 years ago
luz paz
f968fc8719
Fix source comment / documentation typos
4 years ago
Marek Roszko
10e60acf34
Clean up including of board_design_settings.h
4 years ago
Wayne Stambaugh
2a6c7a7c0f
Pcbnew header housekeeping round 1.
4 years ago
Ian McInerney
4f05262705
Cleanup includes in board.h and footprint.h
4 years ago
Marek Roszko
4df3cb912d
Remove another leaky wx/log.h header
4 years ago
Jon Evans
bc6b9b527a
Allow stackup height to be excluded from length calculations
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8384
4 years ago
Jon Evans
ce01a28aad
Don't double-remove nets when netcodes are reused
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8206
4 years ago
Ian McInerney
ecd9bf696e
Be consistent about using nullptr instead of 0
0 can be too easily overloaded into an int, so ensure we use nullptr
when we mean pointers.
5 years ago
Jon Evans
29c45743b7
Fix calculation of arc lengths; include them in net inspector
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8140
5 years ago
Jon Evans
36ef198610
Clean up nets from items when deleting in the inspector
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8162
5 years ago
Jon Evans
c7ecb51f77
Update PNS length tuning algorithm to match the new BOARD algorithm
Now tracks inside pads are optimized to give a more accurate length.
Also, the start/end of the assembled line is used to identify the right
pad joints for pad-to-die length calculation.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4204
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1765
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6877
5 years ago
Jon Evans
41c54d383e
Fix some edge cases with length calculation
5 years ago
Jon Evans
cdfb014ab6
CHANGED: Account for via height in track length calculations
5 years ago
Jon Evans
80728f8d78
Improve algorithm for calculating net length; use it for netinfo message panel
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4258
5 years ago
Dominik Wernberger
e2aa7be4b3
Added a lot of consts and refactored a few lines
5 years ago
Jeff Young
86aaa2e9cb
Rationalize footprint bounding boxes and cache all of them.
Fixes https://gitlab.com/kicad/code/kicad/issues/7720
5 years ago
Jeff Young
a3b9e8ddb4
Round 2 of Worksheet -> Drawing Sheet.
5 years ago
Jeff Young
b08862e445
Fix group undo/redo bugs.
1) Don't remove items from group when the group is being deleted as
well. We need those pointers for undo/redo.
2) Flip the GROUP/UNGROUP undo status when undoing/redoing group and
ungroup actions.
3) Remove PCB_GROUP_T from the rebuild-netlists section. Nothing
about an item's group/ungrouped status changes its netlisting.
4) Add PCB_PAD_T to the rebuild-netlists section. It can probably
only happen in the footprint editor where we don't care about
netlisting, but it's conceptually more correct and who knows what
might change in the future....
Fixes https://gitlab.com/kicad/code/kicad/issues/7540
5 years ago
Wayne Stambaugh
5ecef204cd
Coding policy fixes.
Using "this->" violates coding policy section 2.7.
5 years ago
Jeff Young
d261fa3792
Make sure items are removed from groups when deleted.
Fixes https://gitlab.com/kicad/code/kicad/issues/7387
5 years ago
Jon Evans
bea310569b
Fix parsing of track/via user sizes from legacy boards
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6134
5 years ago
Jeff Young
360953ba98
"comp" -> "symbol".
5 years ago