Tomasz Wlostowski
9176062d0f
drc_proto: return 'safe' null constraint if no matching rule found. To be fixed
5 years ago
Tomasz Wlostowski
54ca66be72
router: NODE::AllItemsInNet() can now filter by item type
5 years ago
Tomasz Wlostowski
70beca164f
PCB_RENDER_SETTINGS: added SetZoneDisplayMode() method
5 years ago
Tomasz Wlostowski
aee06e46b0
SHAPE_POLY_SET: split polygons into rectangular cell grids to obtain more regular triangulations
5 years ago
Tomasz Wlostowski
a31c9ae7af
VIEW_OVERLAY: implement Line() method
5 years ago
Tomasz Wlostowski
83ac2070fe
BOX2: allow constructing a zero-sized BOX2 from a single point
5 years ago
Tomasz Wlostowski
74623b8c98
geometry: derive SHAPE_LINE_CHAIN, SHAPE_SIMPLE and SHAPE_POLY_SET::TRIANGULATED_POLYGON::TRI from a common base class allowing to simplify collision detection
5 years ago
Tomasz Wlostowski
eb6e1c4f90
geometry: handle collisions of null shapes
5 years ago
Tomasz Wlostowski
fc58c4a20e
drc_proto: netclass wip
5 years ago
Tomasz Wlostowski
712215fe12
libeval_compiler: fix crash when preflighting method calls with 0 arguments
5 years ago
Tomasz Wlostowski
8a5297180e
drc_proto: initial version of legacy rule import (without overrides yet)
5 years ago
Tomasz Wlostowski
05b88acf16
drc_proto: wip adding accessors to DRC_RULE/DRC_RULE_CONDITION
5 years ago
Tomasz Wlostowski
8e4a3f5e65
drc_proto: nicer logging on the console
5 years ago
Tomasz Wlostowski
b107c4a025
drc_proto: working on progress reporting
5 years ago
Tomasz Wlostowski
91ce549e63
PCB_EXPR_EVALUATOR: added isMicroVia() and isBlindBuriedVia() built-in methods
5 years ago
Tomasz Wlostowski
2c1bd645b2
pcbnew: initial support for GetEffectiveShape() for zones and modules
5 years ago
Tomasz Wlostowski
09d0aff3d6
widgets: PROGRESS_REPORTER - make SetCurrentProgress() virtual, allow to change number of phases post-construction
5 years ago
Tomasz Wlostowski
466cbe2f00
libeval_compiler: fixhandling of method calls with empty argument list (e.g. 'A.method()' )
5 years ago
Tomasz Wlostowski
5096ac815f
libs/kimath: introducing empty shape object (SHAPE_NULL)
5 years ago
Tomasz Wlostowski
f2338d9faa
router: fix segfault with NPTH holes in COMPONENT_DRAGGER
5 years ago
Tomasz Wlostowski
adbd94553d
drc_proto: all tests now supported in drc_proto. Not tested yet!
5 years ago
Jon Evans
147540b3bb
ADDED: Control to only show ratsnest for visible layers
5 years ago
Jeff Young
5ec18aaf2a
Fix board initialization error which left FPEdit without inner layers.
5 years ago
qu1ck
e5828d5817
Improve exception handling in KIWAY::Player()
And avoid crashing in kicad_manager_control
5 years ago
Jon Evans
11e61db03d
Don't change preview notebook selection when editing
This causes focus change (on GTK at least), plus the user might
not want the notebook to change in the first place.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5477
5 years ago
Jon Evans
e3ff3a2d15
Make sure nets display when first loading a board
5 years ago
Jon Evans
4433259c80
Fall back on copper color when net color is not found
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5540
5 years ago
Jon Evans
d6be0be177
Skip migration if target key is missing
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5536
5 years ago
Jon Evans
d60b5a0618
Add missing SVGs
5 years ago
Jeff Young
53389442b8
Add Ctrl+A (select all) to scintilla tricks.
Fixes https://gitlab.com/kicad/code/kicad/issues/5538
5 years ago
Michael Kavanagh
ad1ef9f4c9
Pcbnew: Enable resize of net inspector columns
Fixes https://gitlab.com/kicad/code/kicad/issues/5467
5 years ago
qu1ck
636285311e
Make DRAWSEGMENT::GetRectCorners return vector
... instead of modifying the argument.
This will make the method usable in python API and will not incur
permormance penalty because named return value optimization (NRVO)
is a thing since C++11.
But even if copy is not elided vector is moved instead of copied.
https://en.cppreference.com/w/cpp/language/copy_elision
5 years ago
Jon Evans
758a4c26d5
Switch appearance panel to custom collapsible pane widget
The new widget looks the same on all platforms and fixes a few
bugs with the wxWidgets version
5 years ago
Seth Hillbrand
7e2a6a9b64
Block undo/redo while editing points
We need to keep a stable board while modifying items.
Fixes https://gitlab.com/kicad/code/kicad/issues/5533
5 years ago
Jeff Young
a1e8ecc616
Beat wxWidgets into submission.
Fixes https://gitlab.com/kicad/code/kicad/issues/5534
5 years ago
Jeff Young
f2e0b4a6f6
Work around wxWidgets to produce a Ctrl-/.
Fixes https://gitlab.com/kicad/code/kicad/issues/5480
5 years ago
Jeff Young
06ccef3dd4
Update all instances in CvPcb when one is changed.
5 years ago
Seth Hillbrand
8648a074da
Ensure ZONEs use copy CTOR for super-class
If we don't uniformly use the copy CTOR, we miss the additional
properties held by the superclass.
This also adds additional crash protection in GetMsgPanelInfo for zones
although it should never be triggered
Fixes https://gitlab.com/kicad/code/kicad/issues/5530
5 years ago
Jeff Young
7b05e456cc
Bug fixes for multiple symbol instances in complex hierarchies
1) use SCH_COMPONENT::GetRef(), GetValue() and GetFootprint() when
instance-specific info is needed
2) update UpdateAllScreenReferences() to handle value and footprint.
3) BACKANNO is CvPcb's handler, not back annotation's handler. Which
means it needs GUI behaviour, not back annotation behaviour.
Fixes https://gitlab.com/kicad/code/kicad/issues/5520
5 years ago
Jeff Young
b28332c5f1
Minor code cleanup.
5 years ago
Jeff Young
d5fd09249b
Save instance info on clipboard and reapply it when keeping annotations.
Fixes https://gitlab.com/kicad/code/kicad/issues/5522
5 years ago
Jeff Young
133fb5cded
Minor code cleanup.
5 years ago
Jeff Young
a25dfb2ac9
Stop setting modify from ClearAnnotation().
It's a side-effect, and as it turns out every current caller has
special-case code to reset it afterwards.
5 years ago
Jeff Young
4354fa7bde
Another try at a solution for ctrl-/.
Fixes https://gitlab.com/kicad/code/kicad/issues/5480
5 years ago
Jeff Young
1be1205734
Repair missing checkVisibilityOnly test.
Fixes https://gitlab.com/kicad/code/kicad/issues/5516
5 years ago
Jeff Young
adfcdc89af
Repair parent pointer after SwapData() nukes it.
Fixes https://gitlab.com/kicad/code/kicad/issues/5523
5 years ago
Jeff Young
5b81c6c70f
Fix typo.
5 years ago
Jeff Young
e782794f96
Flesh out object properties and DRC Rule syntax help.
5 years ago
jean-pierre charras
276d77a1d7
SETTINGS_MANAGER: Fix bug: ensure the destination folder exists.
Better fix than a0df876d
For new users, if this folder does not exist, saving colors does not work,
because if this folder does not exist, it is not created.
5 years ago
qu1ck
3dbebda168
Fix GetCustomShapeAsPolygon and add a unit test
Fixes #5497
5 years ago