Seth Hillbrand
267b21d81c
Added precompiled header support
- PCBNew
- Schematic Editor
- Common libs
3 months ago
Jeff Young
1b8119056f
More code sharing.
3 months ago
Jeff Young
60ec152d90
Fix deficient c'tors and operator=.
3 months ago
Jeff Young
c58b1146de
Honour pad holes when hit-testing.
They may be bigger than the pad.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21331
3 months ago
Seth Hillbrand
f875fd1d60
Add support for chamfering larger sizes
If we are only chamfering opposite corners, we can support up to 100%
chamfer
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13567
3 months ago
Seth Hillbrand
dd41e2b00b
Don't prompt for rule areas and no-net shapes
Highlighting and placing vias will pop up a potential net list. This
should not include things without nets
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21381
3 months ago
Seth Hillbrand
15166a9f14
Refactor REFDES_TRACKER
Keep state for reuse in the class. This allows us to properly pick the
value when fully reannotating
Don't annotate when placing new units. Just step ahead in the unit
value while keeping the refdes number constant. This eliminates the
jumping around to unplaced units when placing new multi-unit symbols
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21378
3 months ago
Seth Hillbrand
9fff1d955e
Add Contains search to SCHEMATIC
3 months ago
Seth Hillbrand
fd7abdfdd5
Bug fix for RefDes Tracker
When pasting, set the pastedSheetPath reference list tracker. This is a
follow-on fix for https://gitlab.com/kicad/code/kicad/-/issues/13052
3 months ago
Seth Hillbrand
0e83bf9bc4
Fix position of hidden locked filter
3 months ago
Jeff Young
61bb922077
Not all SCH_ITEMs are symbol children.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21380
3 months ago
Jeff Young
2dfacd648f
Share more code.
3 months ago
jean-pierre charras
93d90962e5
FOOTPRINT_CHOOSER_FRAME: add tool-tips to buttons; PROJECT_TEMPLATE: fix strings
Translated strings must use Printf to be built, and cannot be created by
concatenating sub strings that fixes the word ordering (that should be
depending on language)
3 months ago
Mark Roszko
dc6e0223c7
Add cli option for zone refill before drc
Note: Does not save yet
3 months ago
Seth Hillbrand
d538f8d848
Avoid unmapped layers
ViewGetLayers returns the item layer even if it is invalid. We filter
this out at the base and skip items that cannot be displayed in the
view.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21368
3 months ago
Seth Hillbrand
322c08d5f0
Pass hotkeys from search pane to frame
If the search pane doesn't handle the key, push it through the frame
hotkey handling system
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12474
3 months ago
Seth Hillbrand
f14ba983d6
Allow scrolling by keyboard in search panel
Lets you quickly scroll through elements in the board, zooming and
selecting each
3 months ago
Seth Hillbrand
e6f06456db
Add area to Zone search panel
If the zone is a filled area, show the total filled area. If it is a
rule area, show the area to which the rule applies (the outline area)
3 months ago
Seth Hillbrand
e064a3481d
Add Rule Area selection filter in schematic editor
Allows rule areas to be ungrouped from the "Other Items" when selecting
3 months ago
Seth Hillbrand
16f82d1de5
Junctions are wires in schematic editor
Treat junctions like wires for the purposes of the selection filter.
Allows selecting them together with wires and avoids grouping with
"Other Items" which is confusing
3 months ago
Seth Hillbrand
40125c73d0
Add option to D356 output to suppress NC pads
Since this is a net test format, some importers do not like dealing with
NC pads
3 months ago
Jeff Young
14c9ed1fda
Prevent stale selection when deleting grid rows.
3 months ago
Seth Hillbrand
f877425e62
Tweak mask/paste dialog panel text
Unify terminology (web width, specifications) to match dialog
3 months ago
Seth Hillbrand
8d65217fda
Force trimming whitespace in env vars
Nothing good can come of leading or trailing whitespace in environment
variables. They don't resolve correctly and you can't see why
3 months ago
Seth Hillbrand
d195e93ebe
Don't protect arbitrary paths
We only need to protect our predefined variables, not ones that the user
might create that uses the same pattern
3 months ago
Seth Hillbrand
094870e7a4
String fixes
- Clarify wording in a couple places
- Fix missing 'not' and remove non-standard dashes
- Standardize on single-quote for strings in strings
3 months ago
Seth Hillbrand
740f55fd30
Align import brd file icon with grid
3 months ago
Jeff Young
8c72711662
Increase contrast on grid origin over grid.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13532
3 months ago
Seth Hillbrand
e387953490
ADDED refdes tracker
Provide an option to track ever reference designator ever used in the
project to prevent its reuse even if the component has been removed
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13052
5 months ago
jean-pierre charras
410a43a602
Try to fix an ambiguous cast for MSVC (round 3)
3 months ago
jean-pierre charras
998806b814
Try to fix an ambiguous cast for MSVC (round 2)
3 months ago
jean-pierre charras
4248f26bae
Try to fix an ambiguous cast for MSVC
3 months ago
jean-pierre charras
eb473012a6
*.kicad_sch files: add missing quotes to uuid string for some grahic shapes.
Uuid strings are (like other strings) quoted, but a few items were missing quotes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21360
3 months ago
Jeff Young
ec155c00f3
Comboboxes for units and body styles.
Also for pin-types in pad properties.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19904
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19905
3 months ago
Jeff Young
c63e2edfff
Allow setting Pin Function and Pin Type.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20992
3 months ago
Jeff Young
60d9713baf
Consistent formatting.
3 months ago
Seth Hillbrand
b3ce6f26bb
Optimize kissing poly routine
Inserting many points into the middle of a line chain is not as
efficient as just creating a new line chain and replacing the old one
(single allocation and copy vs many)
3 months ago
Seth Hillbrand
4221c1d93b
Additional speed-up for outlines and fills
BBOX check before polgon point inside
Clean representation of segment iterator
Pre-allocate line chain space
3 months ago
Seth Hillbrand
4dab336f95
One more pass at optimizing the board outline gen
Instead of iterating through the segment list each time, we use a kdTree
structure to efficiently query a 2d point cloud for the nearest
neighbors
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21352
3 months ago
Seth Hillbrand
32f083e066
Properly thread soldermask item-item check
3 months ago
Seth Hillbrand
2aeecec9bd
Remove Creepage generation from reporting
Recalculating creepeage every time we reported a new clearance error was
unneccesarily complex. Since the clearance errors are always straight
lines, we just need to calculate the closest approach and present that
segment
3 months ago
Jeff Young
8c7dca7532
Don't promote pads to footprints for align/distribute.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21337
3 months ago
Jeff Young
c49156fb35
Naming conventions.
3 months ago
Jeff Young
da8abffea4
Code clarity.
3 months ago
Jeff Young
f1686cc568
Formatting.
3 months ago
Seth Hillbrand
ff41ab9d8a
Thread footprint pad clearance DRC
This needs to run in multiple threads in order to speed up
3 months ago
Seth Hillbrand
faeaee824a
Optimize zone-zone clearance checks
Improve the CREEPAGE_GRAPH:::GeneratePaths to skip unused checks.
Handle zone-zone paralellism better
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21353
3 months ago
Seth Hillbrand
4c03ab8ebb
Finally remove other_math routines
Replace with standard SEG and VECTOR2 alternatives. Add QA test for
additional SEG-line intersection routine
3 months ago
Seth Hillbrand
0459c54a92
Cleanup and clarify SEG::intersect and SEG::Collide
Fix handling of end point intersection case
Fix degenerate handling
Fix overflow cases
Simplify logic in SEG::Collide
Remove overly simplistic check for intersection
Add multiple QA regression tests
3 months ago
Jeff Young
9d074c1679
See if we can't fix the ever-growing window bug.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20120
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18543
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10609
3 months ago