Jeff Young
d5addb692c
Move a bunch of DRC tests to RTrees.
5 years ago
Werni
a7d5d1f091
Add more consts all over the place
5 years ago
Jeff Young
58c006bc45
Register properties for ARC elements so we can get their netclass.
Also improves GAL arc drawing and polygonization.
Fixes https://gitlab.com/kicad/code/kicad/issues/6039
5 years ago
Jeff Young
18f9f3cf0b
Add curved track support to track-to-zone DRC.
Fixes https://gitlab.com/kicad/code/kicad/issues/6039
5 years ago
Jeff Young
ebc8e2c921
Move property manager tokens to HKI macro.
This leaves them untranslated internally but makes sure their
translation strings exist so they can be dynamically translated
at the GUI level.
Fixes https://gitlab.com/kicad/code/kicad/issues/6020
5 years ago
Marek Roszko
52a12c6ccd
Remove kicad_string.h from footprint_info.h
5 years ago
Jeff Young
70c3c5c514
Retire the two-item version of BOARD_CONNECTED_ITEM::GetClearance().
5 years ago
jean-pierre charras
57da733f56
Avoid loss of data when saving a board having duplicate UUID
Some (old) boards used for panelisation can have duplicate UUID
(timestamp). duplicate timestamps create loss of data when saving these boards.
Fixes #5969
https://gitlab.com/kicad/code/kicad/issues/5969
5 years ago
Mikolaj Wielgus
400c15b8eb
Add mils to units, remove useMils variables
5 years ago
jean-pierre charras
87a220b8e2
more cleanup about removing useless include
5 years ago
Jeff Young
d3f8f2b81e
Remove confusion between pad->IsOnLayer and pad->IsPadOnLayer
5 years ago
Jeff Young
3e366a901f
Expose pad type in property system.
Also corrects the spelling of some enum items so they match the
menus (otherwise folks will never be able to figure out what they
are).
5 years ago
Jeff Young
6dae769944
Progress reporting for connectivity tests.
Also makes via annulus terminology more consistent.
5 years ago
Jeff Young
6d18f20093
ADDED constraints reporter for diagnosing constraints.
Also fixes an issue with via type property and makes property
comparisons in rule case-insensitive.
Fixes https://gitlab.com/kicad/code/kicad/issues/5754
5 years ago
jean-pierre charras
456735f803
VIEW::ViewGetLOD() returns double now instead of int.
ViewGetLOD() returns the minimal value of a zoom to show an item.
However a zoom is a double, and using int as minimal value does not
allows setting a correct value in some cases.
5 years ago
Ian McInerney
89dcc46898
Coverity cleanup and remove unused variables
5 years ago
Jeff Young
13f1de8e73
Forgot a bunch of files from last commit.
5 years ago
Jeff Young
64fa400b19
Ease translation a bit.
Also improves the SNR and consistency of the menu item text. For
instance, a position is rarely useful, while relative sizes can be.
Also removes some unnecessary repitition, such as "Graphic Rectangle"
when "Rectangle" communicates the necessary information.
5 years ago
jean-pierre charras
55089f4732
Better strings for translation (minor fix)
5 years ago
Seth Hillbrand
d227b53e1a
Fix broken translation string
5 years ago
Jeff Young
0ca09abbd3
Don't assume colour theme preview board will have a DRCEngine.
Fixes https://gitlab.com/kicad/code/kicad/issues/5650
5 years ago
Jeff Young
e2e229da96
Finish exorcising the old DRC system.
This moves the various BOARD_ITEM calls to the new system, and make
the DRC_ENGINE long-lived so that it can field those queries.
5 years ago
Jeff Young
cc86630f11
Start pulling new DRC engine into Kicad.
5 years ago
Jeff Young
b863beaaf6
Make tracks respond to stingy selections like everything else.
Fixes https://gitlab.com/kicad/code/kicad/issues/5332
5 years ago
Jeff Young
8eda4d93ee
Use LAYER_VIAS instead of via-type-specific layers for visibility.
Fixes https://gitlab.com/kicad/code/kicad/issues/5344
5 years ago
Ian McInerney
8bca145b75
Initialize the PCB_LAYER_T enum in the property manager
Since all the property descriptions are static initialization, each instance
should contain the code to initially populate the enum if it is empty,
otherwise an assert is thrown warning the enum may be empty.
5 years ago
Jon Evans
bd14f8a82a
ADDED: New appearance control widget for PcbNew
Featuring:
- Layer view presets
- Per-type opacity for tracks, vias, pads, zones
- Net and netclass color and visibility controls
CHANGED: Simplified object visibilty controls
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1951
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1981
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2003
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2173
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2254
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4325
5 years ago
Tomasz Wlostowski
f6ea753968
pcbnew: implement GetEffectiveShape() for tracks/vias/arcs/texts
5 years ago
Jeff Young
9716c62e32
Performance enhancements for PCBNew scrolling and zooming.
Fixes https://gitlab.com/kicad/code/kicad/issues/5136
5 years ago
Seth Hillbrand
5fc6b74c89
ADDED: Remove unused pads
This option removes copper layers from pads and vias where they are not
connected to other board elements. This allows the inner layers to be
more closely routed if the via landing pad is not needed.
Fixes https://gitlab.com/kicad/code/kicad/issues/1835
5 years ago
Jeff Young
4317881012
Improve delete-unused-layers to better handle multi-layer items.
Fixes https://gitlab.com/kicad/code/kicad/issues/5116
5 years ago
Jeff Young
e5b50d90a7
Update DRC rules to new layer and disallow grammars.
Also adds support for hooking rules up to named zones.
Fixes https://gitlab.com/kicad/code/kicad/issues/2041
5 years ago
Seth Hillbrand
0a5f11fb37
Keep item ordering as much as possible
The ordering goes first by type and then by uuid. In the case of
DRAWSEGMENT and EDGE_MODULE, we also sort by shape type before UUID.
Fixes https://gitlab.com/kicad/code/kicad/issues/4068
5 years ago
Jeff Young
f2812773d4
Better handling of undefined values in Rule expressions.
This is particularly important to keep the user from having to
enter overly verbose statements such as:
A.Type == 'via' && A.Via_Type == 'buried'
when:
A.Via_Type == 'buried'
is perfectly clear.
5 years ago
Tomasz Wlostowski
c1d5394e46
properties: post-rebase fixes
5 years ago
Maciej Suminski
04728278c0
Updated classes meta-data to take advantage of property replacement
6 years ago
Maciej Suminski
a289056a9e
Properties meta-data for pcbnew classes
6 years ago
Jeff Young
6acd35c981
Cleanup.
5 years ago
Jeff Young
32c3ea4edd
Flags cleanup.
Remove extraneous use of FLAG0 from tracks cleaner (it was checked but
never set).
Fix issue in expand connections where two parts of it couldn't agree
on the same flag (BUSY vs SKIP_STRUCT), and where the second part was
clearing the flag instead of setting it.
Remove obsolete HIGHLIGHT infrastructure (we now use selection).
Remove extraneous use of BUSY flag in several places (it was never
set).
5 years ago
Jeff Young
39ec63c4e9
Fix some inconsistencies in clearance priorities.
Fixes https://gitlab.com/kicad/code/kicad/issues/4555
5 years ago
jean-pierre charras
f971e1267b
Fix typo and remove a I18N marker in a sentence containing keywords
(keywords cannot be translated)
Fix also use of a deprecated constant.
5 years ago
Jeff Young
416d82727f
Redo DRC rules to get ready for new system.
6 years ago
Jeff Young
69f121d907
Another attempt to get DRC and status bar to share message content.
6 years ago
Jeff Young
a5b53a623d
Update status bar with clearance & rule sources.
6 years ago
Jeff Young
05855a5a1c
Performance enhancements for DRC.
6 years ago
Jeff Young
d3f017d825
DRC rules parser and engine.
Fixes https://gitlab.com/kicad/code/kicad/issues/2182
Fixes https://gitlab.com/kicad/code/kicad/issues/2116
Fixes https://gitlab.com/kicad/code/kicad/issues/1958
Fixes https://gitlab.com/kicad/code/kicad/issues/1965
6 years ago
Jeff Young
03c47e210c
Apply blind/buried via drawing to microvias.
6 years ago
Jeff Young
f7e518dbc6
Add clearance sources to some DRC violation reports.
6 years ago
Jeff Young
1535c83b88
Lay some groundwork for adding distances to DRC errors.
modified: eeschema/lib_rectangle.cpp
6 years ago
jean-pierre charras
83cb9c0d14
Fix a few Coverity and compil minor warnings. Remove dead code
6 years ago