Tomasz Wlostowski
61391e3984
router: take holes into account when building the restricted items set for collision search
2 years ago
Jon Evans
7804c2177c
Do not force focus on dataview in RC dialogs
On GTK, this causes the first item to be selected, firing the
selection handler and causing unwanted side effects.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11925
2 years ago
Jon Evans
504e02192c
Relax handling of duplicate netclasses in Altium parser
There are some "good" boards that have this for some reason
2 years ago
jean-pierre charras
965aaa217c
RULER_ITEM: fix incorrect position of the shadow text shape (round 3).
Depending on the text orientation, the shadow shape position was incorrect.
2 years ago
jean-pierre charras
1698fb6608
Refinement of commit 355575e4 (drawing shadow texts of RULER_ITEM and pin names)
Also handle non Kicad fonts (that do not use shadow texts)
Fixes #15019
https://gitlab.com/kicad/code/kicad/-/issues/15019
2 years ago
Jon Evans
3a0f8214fa
ADDED: Properties panel for schematic editor
Initial infrastructure work; follow-ons will add more
properties for schematic items.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6351
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14105
2 years ago
Jon Evans
39073642a7
Properties: disable pad y-size when circular
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15038
2 years ago
Jon Evans
39a5929f33
Database libraries performance improvements
Rework caching system and optimize queries
2 years ago
Tomasz Wlostowski
a0a68d198c
router: when no collision search context is provided, assume differentNetsOnly is true
2 years ago
Ian McInerney
31961766d7
Remove unused cmake macro
2 years ago
Johannes Maibaum
9ae44e3998
Add KICAD_BUILD_{NIGHTLY_,}FLATPAK CMake options
2 years ago
Erik Agsjö
bc0da92703
Fixes after merge request feedback
2 years ago
Erik Agsjö
2651d7ff5b
Fixes crash in wire property dialog
Fixes crash when changes are applied with the style combo in the
indeterminate state.
2 years ago
Jeff Young
f892194be4
Don't reset page unless we have to.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15033
2 years ago
Tomasz Wlostowski
bd5954242e
router: provisional fix for 14926
2 years ago
3GO
206f66aee2
Make user cache path adjustable by env var.
2 years ago
jean-pierre charras
355575e477
Fix some (minor) issues when drawing shadow texts of RULER_ITEM and pin names.
Fixes #15019
https://gitlab.com/kicad/code/kicad/-/issues/15019
2 years ago
Ian McInerney
9f705f5e81
Return default initialized parameter when requested instead of assert
2 years ago
Wayne Stambaugh
a5411218a2
Fix minor board file white space formatting issue.
2 years ago
Jeff Young
0fde88eefc
Protect custom rule function caches from transient items.
2 years ago
Jeff Young
94a23971cc
Performance improvements.
2 years ago
Jeff Young
7138e8a62e
Don't double-create pins when migrating old models.
2 years ago
Mike Williams
043ed0b148
Schematic: fix up more field ID parsing to fix QA
2 years ago
Ian McInerney
19f5c16708
Ensure const-ness matches across draw wire event parameters
2 years ago
Ian McInerney
5d718617a2
Remove non-wx assert path to match rest of code
The WX_COMPATIBILITY mode is always assumed now (the option was removed
previously), but the define is no longer present. So remove the old code
that checked for it and just leave the wxASSERT statements.
2 years ago
Ian McInerney
a2bd7192c0
Add default empty symbol to place symbols/power actions
2 years ago
Kuba Sunderland-Ober
b60f7d4136
Make comparison operators const.
2 years ago
Mike Williams
5b4ddaba89
Schematic: fix field parsing when some mandatory fields are missing
2 years ago
Marek Roszko
74d6dc6642
ADDED: Startup splashscreen
This is purely loading in the background based and has no artificial delay.
Will be more useful once kicad.exe ends up loading more on launch immediately ;)
Right now the splash is probably visible the longest launching pcbnew standalone.
The actual splash image can be considered a placeholder
2 years ago
Mike Williams
fa84575510
FP Text Grid: avoid ambiguous fallthrough
Works, but bug-prone and suspicious looking.
2 years ago
Ian McInerney
00885ab5b2
Fix mock implementation of NeighboringSegmentFilter
This was missed in 3c24ddd8cc .
2 years ago
Ian McInerney
f14feafc6b
Convert selection vector to EDA_ITEMS for base tool call
The base tool expects a generic EDA_ITEMS, but the existing vector
doesn't easily cast, so add a temporary one.
2 years ago
Ian McInerney
f899d9676f
Remove unneeded parameter from tool call
2 years ago
Ian McInerney
0a3b6c2d23
Fix call to properties when editing newly placed dimension
The edit is intended to be on the newly placed dimension, but the actual
properties tool doesn't take an item, so it was always looking up the
item to edit using the current selection/cursor position. Make this more
robust by just calling the edit properties directly on the item.
2 years ago
Ian McInerney
3c24ddd8cc
Fix passing CLIENT_SELECTION_FILTER through the tool framework
2 years ago
Ian McInerney
480223f67c
More RunAction specialization
3 years ago
Ian McInerney
b0363023a5
Parameterize the tool manager RunAction function to ensure type stabilty
3 years ago
Ian McInerney
5b2ede9e62
Add default empty filenames to the kicad manager actions
3 years ago
Ian McInerney
3718ecfcd8
Simplify forcing action parameters to have a specific type
3 years ago
Ian McInerney
07cc85e76c
Fix more places where casts into RunAction were happening
3 years ago
Ian McInerney
8f3d159905
Update the net highlight action to properly use the action parameters
3 years ago
Ian McInerney
6a2dcd1936
Refactor 3D viewer view into enum class
3 years ago
Ian McInerney
6c031a4aa4
Fix some more incorrect types in event parameters
3 years ago
Ian McInerney
55a7cfcf36
Translate doDelete action to new framework and add default parameter
3 years ago
Ian McInerney
9ebe6e7614
Update tool manager to handle the std::any parameters
3 years ago
Ian McInerney
8b833211b5
Add parameter to repair board action
The tool checks for a boolean action, so default to giving false (which
makes it run in interactive mode).
3 years ago
Ian McInerney
d66d1f2d6d
Remove void* from project manager action parameters
This isn't needed with new std::any framework
3 years ago
Ian McInerney
9b63c57f5f
Switch remainder of cvpcb actions to new args system
3 years ago
Ian McInerney
b04e54dbea
Switch TOOL_EVENT and TOOL_ACTION to have a std::any parameter
Using std::any from C++17 allows for proper type handling in the
parameter field, removing the need for casting to void* and then casting
the void* to the desired type.
3 years ago
Ian McInerney
0a22bb951c
Add custom UI IDs to the action framework
This replaces a hack where the parameter was used to identify a custom
UI ID with a proper solution. This moves the cut/copy/paste actions to
the new system, but more like help/quit/close should also be moved over
in the future.
3 years ago