Jon Evans
f7d59f2e89
Enable properties panel in footprint editor
3 years ago
Alex
13ce2ebf46
15% rendering optimization in PCB_TRACK::ViewGetLOD.
3 years ago
Jon Evans
1ff1571849
Bring back deprecated net properties to rules system
3 years ago
Jon Evans
308576b78d
Properties: Use parent footprint references instead of UUIDs
Also remove redundant Net Name property (Net is used)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12334
3 years ago
Jon Evans
88495e5be1
Properties: Fix masking of layers for non-copper items
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12884
3 years ago
jean-pierre charras
035031d902
BOARD_CONNECTED_ITEM::GetShortNetname(): protect against nullptr.
m_netinfo was not tested against nullptr in this method, although it is
tested in all other places.
3 years ago
Roberto Fernandez Bautista
4108099641
Properties Panel: Correctly limit layers for connectable items to copper layers
3 years ago
Roberto Fernandez Bautista
fe7e665236
Properties: NetName and NetClass should have a space + don't translate "Net"
3 years ago
Jeff Young
a9536b5de9
CHANGED netclass assignments now done via canvas or via patterns.
3 years ago
Jeff Young
7ccac79192
More wxString wide literals.
4 years ago
Jeff Young
c5e195bdff
Cleanup (includes and formatting).
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
Wayne Stambaugh
cf00319c85
More NULL expunging.
4 years ago
Marek Roszko
10e60acf34
Clean up including of board_design_settings.h
4 years ago
Marek Roszko
17d680de08
netinfo.h does not need to be in board_connected_item.h
4 years ago
Jeff Young
83d07dc7f7
Comments.
5 years ago
Jeff Young
6272b48481
Make sure layer gets passed in to rules evaluation.
5 years ago
Jeff Young
b1f0bf7334
More consistent naming.
5 years ago
Jeff Young
7bd31d5237
Naming conventions.
5 years ago
Jeff Young
84dd5108ba
Remove some "class_" prefixes from files.
5 years ago
Jeff Young
e4870ee87e
Better nullptr safety for m_netinfo.
Fixes https://gitlab.com/kicad/code/kicad/issues/6347
5 years ago
Jeff Young
ae9afdd169
SNR. (Mostly for progammers, but a little for user messages.)
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
87a220b8e2
more cleanup about removing useless include
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
665212341d
Cleanup (consistent naming, 100-char line width, message precision).
5 years ago
Jeff Young
8420fcc33b
Cleanup.
5 years ago
Jeff Young
cc86630f11
Start pulling new DRC engine into Kicad.
5 years ago
Jeff Young
fc1665ff28
ADDED Clearance Inspector.
5 years ago
Jeff Young
e782794f96
Flesh out object properties and DRC Rule syntax help.
5 years ago
Jeff Young
9e12ea9bb6
Cleanup some dead code and make better use of iterators.
Also applies coding style around auto and lambdas.
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
Tomasz Wlostowski
216e587965
BOARD_CONNECTED_ITEM: added NetName property
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
Jeff Young
095937563b
Hook libeval compiler up to rule parser
- convert expression string tokens to single-quote-delimited
- fix bug where netclass assignments weren't getting updated after
board setup dialog
- move property manager rebuild to lazy evaluation
- improve performance with wider use of const&
- retire DRC_SELECTOR stuff
- use wxString for GUI stuff (particularly translated stuff)
- fix EqualTo() to return false instead of asserting when op types
don't match
- fix buffer overruns with fixed-size string buffers
- make expression function calls case-insensitive
- integrate expression errors into rule parser
- produce more and better error messages
- keep BOARD_ITEM ptrs const as long as possible
- fix a couple of uninitialized variables
5 years ago
Jon Evans
4e54b773e9
Fix some asserts with the property system
It seems like there may be some race between BOARD_CONNECTED_ITEM_DESC
and BOARD_ITEM_DESC
https://gitlab.com/kicad/code/kicad/-/issues/4816
5 years ago
Tomasz Wlostowski
e60055dcc5
BOARD_CONNECTED_ITEM: Don't use spaces in property nameS
5 years ago
Maciej Suminski
04728278c0
Updated classes meta-data to take advantage of property replacement
6 years ago
Maciej Suminski
a988cab84e
Net & net class properties
6 years ago
Maciej Suminski
a289056a9e
Properties meta-data for pcbnew classes
6 years ago
Jeff Young
d2cd4de280
Allow rules to operate on hole when hole-to-track testing.
5 years ago
Jeff Young
39ec63c4e9
Fix some inconsistencies in clearance priorities.
Fixes https://gitlab.com/kicad/code/kicad/issues/4555
5 years ago
Jeff Young
416d82727f
Redo DRC rules to get ready for new system.
5 years ago
Jeff Young
a5b53a623d
Update status bar with clearance & rule sources.
5 years ago
Jeff Young
cec857c0f4
Complete hookup of zone filler to new clearance engine.
5 years ago
Jeff Young
05855a5a1c
Performance enhancements for DRC.
5 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
5 years ago