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
4 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
Jeff Young
d0fe69bcda
Formatting.
3 months ago
Jeff Young
3774d77cc7
Propagate from zone to free-via.
This must be open-coded as the CSM_PROPAGATION
algo ignores zones.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21251
3 months ago
Jeff Young
7cf028b457
Formatting.
3 months ago
Jeff Young
55a36c1ce7
CHANGED: retire the select-lib-table dialogs.
We now allow the user to specify which in the
New Library dialog.
Also retires the "Export power symbols too" dialog.
Also gives a bunch of file and library dialogs
more explicit titles.
Also removes separate code-paths for Export to
Library and Export to New Library. The regular
code path has a "New Library..." button now.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16323
3 months ago
Jeff Young
d8cbafe858
Fix merge error.
3 months ago
Jeff Young
f2ecf87d1e
Settings safety.
3 months ago
Seth Hillbrand
d53cbe638f
Speed up massively slow outline convert
Avoid unneeded comparisons for segments that will never touch. Helps in
pathological cases of O(10000+) segments in an outline
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21352
3 months ago
Seth Hillbrand
cb1bf5613e
Remove context menu from position interactively
It was marked "TODO: This does not work" and indeed it crashed when
trying to use it on some items. When it did not crash, it did not show
a menu, so the TODO was in fact accurate
3 months ago
Seth Hillbrand
3a06de0076
Consolidate ERC label warnings
If global or local labels are floating -> error
If global or local labels are only connected to one pin -> warning
Rather than forcing two different errors depending on whether the label
is local or global
3 months ago
Seth Hillbrand
21b9200744
Update translations
3 months ago
Seth Hillbrand
53b659dadc
Update languages
Allow translators to view their work in the master branch
3 months ago