Mike Williams
04a53ea40d
Picker Tools: make sure we know what tool we are
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14621
3 years ago
jean-pierre charras
6618cda214
3D viewer: use the right color theme (the one used in the board editor)
Fixes #14616
https://gitlab.com/kicad/code/kicad/issues/14616
3 years ago
Mike Williams
39cc686dc4
Back Annotation: add support for DNP and Exclude from BOM attributes
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14584
3 years ago
Jeff Young
c31fb435e6
Add missing setting to Dimension Properties dialog.
Also fixes a bug where during file save we were calling
GetPosition() on the PCB_TEXT but getting the DIMENSION's
version.
Fixes https://gitlab.com/kicad/code/kicad/issues/8447
3 years ago
Jeff Young
2f9889ff62
Add settings for plotting PDF property popups.
Fixes https://gitlab.com/kicad/code/kicad/issues/14450
3 years ago
jean-pierre charras
096af19d9a
Minor fix and cosmetic change:
- SCH_SYMBOL::GetMsgPanelInfo(): slighly change the displayed lines to allow
longer strings in Description and Keywords
- panel_setup_rules_help.md: fix incorrect html link (URI), creating ERR 404
3 years ago
Mike Williams
c1bebf6490
Symbol Fields Table: fix crash
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14532
3 years ago
Jeff Young
a3b741a126
Extend Mac colour picker cursor fix to GTK.
3 years ago
Jeff Young
1c6b765ba5
Formatting and cleanup.
3 years ago
Jeff Young
bc754df30f
Go back to winner-takes-all lib-tree scoring algorithm.
(Because we sort alphabetically there's no way to see
what the second-highest scored item was.)
3 years ago
Jeff Young
af7753c7cd
Record parent rule for DRC assertions.
(Particularly important if the rule specified a severity.)
Also fixes a bug looking up LSET layer names in the
GetStandardLayerNames array (which aren't the same).
https://forum.kicad.info/t/a-few-questions-about-custom-rules-syntax/40068/7
3 years ago
Jon Evans
dc847db19d
Add initial support for database library settings UI
For now, just for diagnostic purposes (settings changes are not preserved)
3 years ago
Jeff Young
dc57fa7042
Add Grid Settings to PL_EDITOR.
Fixes https://gitlab.com/kicad/code/kicad/issues/14612
3 years ago
Jeff Young
e923a5a8c6
Formatting and cleanup.
3 years ago
Jeff Young
08c773a0bf
Use wxFileName to resolve . and .. in documentation paths.
Fixes https://gitlab.com/kicad/code/kicad/issues/14564
3 years ago
Jeff Young
a817b4c1ff
Don't reset alpha when specified in hex value.
Also fixes a bug with colour picker cursor drawing on Mac.
Fixes https://gitlab.com/kicad/code/kicad/issues/14646
3 years ago
Seth Hillbrand
f4b43617e7
Add COMMIT structure to Schematic and Symbol editors
Provides a single-point access for modifying the schematic and symbol
elements that allows chaining updates and reverting partial changes.
Standardizes the undo hierarchy between pcb and schematic editors
As this is another layer on the existing undo/redo structure, the
initial commit does not replace all undo/redo calls currently existing.
These will be handled in a series of follow-on commits
3 years ago
Jeff Young
251161dbeb
Bring inspection reporting in line with zone filler
1) "clearance" rules don't apply to NPTH holes with no copper
2) local zone clearance applies even if other item has no copper
Fixes https://gitlab.com/kicad/code/kicad/issues/14575
3 years ago
Jeff Young
16e000f2b0
Use Net() accessor uniformly; init hole parent in VIA::Clone()
Fixes https://gitlab.com/kicad/code/kicad/issues/14603
3 years ago
Jeff Young
6807ca6f9f
Allow text input to Convert to Polygon/Zone/Keepout.
Also fixes non-copper zone filler to honor fill keepouts.
Fixes https://gitlab.com/kicad/code/kicad/issues/14566
3 years ago
Jeff Young
d5cb100f72
Fix sheetPath handling in SPICE model generation.
3 years ago
Jeff Young
be657d947c
Import pin-names from LTSPice models.
3 years ago
Lucas Dumont
b1a4353c34
Update collide for hole
As hole don't keep track of the net, update the collide function to keep it working
3 years ago
Jeff Young
b2a45023bc
Tighten ownership model of PNS::ITEM.
In particular, ownership must be explicitly set. It is
no longer inherited through copy/clone/etc.
3 years ago
Jeff Young
9646e3c1c0
Simplify PNS::VIA construction.
3 years ago
Jeff Young
e1b39946fe
ADDED: show/hide controls for directive labels.
3 years ago
Jeff Young
4b0027a5d7
Implement better sheet-path awareness for label text var resolution.
3 years ago
Jeff Young
37c441a189
Minor performance improvement.
3 years ago
Jeff Young
1a7e99ed07
Formatting.
3 years ago
Ian McInerney
03a393b159
Fix misnamed file
3 years ago
Ian McInerney
f417056cb8
Split merge request formatting check into separate include file
3 years ago
Ian McInerney
ea0a30fb19
Replace deprecated GitLab CI variable
The CI_BUILD_TOKEN was deprecated by GitLab and will be removed in
GitLab 16.0. It was replaced by the CI_JOB_TOKEN varaible
(https://docs.gitlab.com/ee/update/deprecations?removal_milestone=16.0#ci_build_-predefined-variables )
3 years ago
jean-pierre charras
ae7456e055
SYMBOL_LIB_TABLE and PANEL_SYM_LIB_TABLE: fix some issues:
- Ensure a change in plugin type is detected
- do not force automatic plugin type selection for *.lib files that need
an access to these libraries: they can be not always available.
3 years ago
Jeff Young
5e21e94478
Set currentSheet when exporting netlist.
Patch courtesy of Fernando Gomez.
3 years ago
Jeff Young
9d2824ec5e
Pass correct sheetpath to SCH_SYMBOL().
3 years ago
jean-pierre charras
a06c4cac73
SCH_IO_MGR::GuessPluginTypeFromLibPath() Ensure env vars are expanded in filename.
For legacy libs ans cadstar libs the extension is .lib.
So we need to read the header of the file, and therefore expand the env var inside
the filename, if used.
3 years ago
Lucas Dumont
c781fde236
pcbnew: don't move twice
In pcbnew, if you press M to move your selection and press M again, then escape, you will trigger the https://gitlab.com/kicad/code/kicad/-/blob/master/common/tool/tools_holder.cpp#L106 assert
3 years ago
Lucas Dumont
2992d7c68b
Fix typo in QueryConstraint switch
3 years ago
Jeff Young
d816fb071f
Use fileds from flattened lib symbol when updating.
Fixes https://gitlab.com/kicad/code/kicad/issues/14577
3 years ago
Jeff Young
5b56cb6bdb
Don't let add-row processing intercept OK processing.
Fixes https://gitlab.com/kicad/code/kicad/issues/14579
3 years ago
jean-pierre charras
2f392352b5
EDIT_TOOL::doMoveSelection(): avoid calling PushTool() and, just after,PopTool()
for the *same* event: TOOLS_HOLDER::PopTool() does not work fine in this case.
3 years ago
Seth Hillbrand
f7f52d77e4
Rework Copper Sliver check
Adds QA checks to copper sliver tests. Adds the following checks:
- Dot product between two arms (quickly avoids checks for >90°)
- Checks the sliver is convex (area test)
- Eliminates minor slivers with angles that are approximately 0 and ones
with the opposite side width beneath a configurable level
- Updates Clipper2 to fix a couple of jagged edges on inflate
- Adds simplify during zone fill inflation to limit jaggies
Fixes https://gitlab.com/kicad/code/kicad/issues/14549
3 years ago
Jeff Young
dd6e3c0432
Finish two-step rename of ltspice folder.
(CLion didn't want to do a capitalization-only change in a
single step.)
3 years ago
Jeff Young
744dec65d7
Add (limited) support for LTSpice DATAFLAGs.
Even though we can't evaluate the expressions, we should at
least show the text so users can decide what to do with them.
3 years ago
Mark Roszko
50b916cb73
Fix paths in the python tests
Can't actually test on Windows without making that a setup adventure
3 years ago
Marek Roszko
e45b6c441a
Fix pcbnewswig test run
3 years ago
jean-pierre charras
fd6fb4a87b
netlist exporter: export only the field value, even if field name is shown.
Previously, when the field name was visible, the exported field value was
prefixed by the field name, and this is incorrect.
Fixes #14611
https://gitlab.com/kicad/code/kicad/issues/14611
3 years ago
jean-pierre charras
b9ed84b7db
Fix minor compil warnings
3 years ago
Lucas Dumont
e2e901de1d
Don't override clearance when routing
The default `m_overrideClearance = -1` used here was changed to 1.
Reseting it to -1 to solve linked issue
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14595
3 years ago
Marek Roszko
8d4db2edf5
Move tests around
3 years ago