Seth Hillbrand
a154571438
Add ability to update subgraphs based on changeset
Previously, almost all connectivity updates were full updates, meaning
that the entire connectivity graph would be rebuilt each time a change
was made to the schematic. This update modifies the update to only
correct the subgraphs that are directly affected by the change.
It uses the existing connection graph to find all affected subgraphs as
well as connections to the changes based on the visible schematic.
These elements are removed from the existing connectivity graph and
marked dirty. They then have a new connectivity graph built only around
their changes. The resulting graph is merged into the original.
Currently, this ability is behind an advanced config flag
`IncrementalConnectivity` while testing.
Fixes https://gitlab.com/kicad/code/kicad/issues/10846
Fixes https://gitlab.com/kicad/code/kicad/issues/1794
3 years ago
jean-pierre charras
d4cf063e40
Fix a few more doxygen errors (no actual code change)
3 years ago
jean-pierre charras
a20f757d8c
undo a change (it was only a test) committed by mistake.
3 years ago
jean-pierre charras
1406341d2d
Fix a few doxygen errors (no actual code change)
3 years ago
Mike Williams
09d7e24b6d
Symbol Fields Editor: drop some settings dynamic_casts
Not needed, and confusing.
3 years ago
Jeff Young
cc6fc4790d
Copy RC_ITEM fix to ERC_ITEM (where it's actually needed).
Fixes https://gitlab.com/kicad/code/kicad/issues/14569
3 years ago
Jeff Young
3521add640
Suppress newlines in RC_ITEM messages.
Fixes https://gitlab.com/kicad/code/kicad/issues/14569
3 years ago
Marek Roszko
6022979bfe
Undo accidental commit change to kiway.cpp
3 years ago
Marek Roszko
ea077bc34d
Banish ignore.h to core
3 years ago
Seth Hillbrand
82ba67db82
Initialize settings for SINGLE_TOP
3 years ago
Seth Hillbrand
32d17547e5
Fixup settings loading
Settings loading needs to account for potential chaining, so each
instance should be created before being Load()ed. Additionally, add the
settings loading to QA
3 years ago
Jeff Young
51b6ec0dce
Don't exit KiCad when simulator window is closed.
3 years ago
Jeff Young
f7a552a2b3
Ensure item is gridded if there was no motion between clicks.
3 years ago
Seth Hillbrand
2cd861dbd5
Remove extraneous symbol editor settings
3 years ago
Seth Hillbrand
892e4536b0
Remove extraneous includes
3 years ago
Seth Hillbrand
e6ab9a88ce
Remove locks from settings
Settings should be initialized on start-up. This removes the option of
lazily loading the settings from file and instead requires all settings
needed to be loaded on KiFACE start before requesting data from the
settings object
3 years ago
Jeff Young
c682d11fa0
Trim VRML export layers to board outline.
Fixes https://gitlab.com/kicad/code/kicad/issues/14557
3 years ago
Jeff Young
2c34a08bf1
Ignore empty field-name-templates.
Fixes https://gitlab.com/kicad/code/kicad/issues/14552
3 years ago
Jeff Young
f72cc6dd51
Amend overly aggressive assert.
3 years ago
Jeff Young
2533141583
Revert "Update pybind11 to version 2.10.4" for now.
This reverts commits 9d077c9ba5
and
b4938f5198
.
They cause a crash-on-startup on Mac ARM machines, failing to get the
locale encoding (nl_langinfo(CODESET) failed).
3 years ago
jean-pierre charras
ba12f00c15
Pcbnew: re-add draw umbilical line for texts in footprints.
It was lost after removing FP_TEXT in code.
3 years ago
Ian McInerney
e9a93bc711
Try to get the coverity scan results back under the size limit
Apparently our Coverity Scan file we try to upload is too large for the
server to handle, so it isn't working. Try switching to a release build
with debug symbols to see if that reduces the size.
3 years ago
Jeff Young
7e5fedef6a
Markup fixes.
1) allow escape sequences inside markup sequences
2) keep overbar when inside nested markup
3) always place overbar at full height, not sub/superscript height
Fixes https://gitlab.com/kicad/code/kicad/issues/14553
Fixes https://gitlab.com/kicad/code/kicad/issues/13449
3 years ago
qu1ck
9b58f50c68
Add usable PCB_GROUP::GetItems() swig wrapper
3 years ago
Nimish Telang
51e55dd750
Convert sprintf to snprintf in most files
3 years ago
jean-pierre charras
d0676118c1
BOARD_NETLIST_UPDATER: better warning message (I hope...) in Report.
Fixes #14548
https://gitlab.com/kicad/code/kicad/issues/14548
3 years ago
Lucas Dumont
469fe76994
pcbnew: Fix crash with differential routing
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14537
3 years ago
Marek Roszko
460b08c6ca
Nix a dialog in kicad_cli.cpp that shouldn't ever fire
3 years ago
Jeff Young
02c5a31b99
Fix close button on simulator frame.
Fixes https://gitlab.com/kicad/code/kicad/issues/14551
3 years ago
Alex
b4938f5198
Patch pybind11 version 2.10.4 for MSVC
Based on commits c483c582
and 8f1b2acd
3 years ago
Alex
9d077c9ba5
Update pybind11 to version 2.10.4
3 years ago
Jeff Young
86ca90aa2d
Fixes to allow copy/paste of pin data.
1) allow paste even if initial cell isn't writeable
2) allow paste to add rows if there's an addHandler defined
Fixes https://gitlab.com/kicad/code/kicad/issues/14508
3 years ago
Jeff Young
a540c01c61
Double double-add items to the view.
3 years ago
Jeff Young
c6d593a47b
Formatting.
3 years ago
Marek Roszko
d18102fff6
Add a hack to try and capture more crash data
3 years ago
Jeff Young
cc4a8dcc89
Small improvements to lifecycle safety.
Fixes https://gitlab.com/kicad/code/kicad/issues/14521
Fixes https://gitlab.com/kicad/code/kicad/issues/14315
3 years ago
Jeff Young
6fb8916798
The symbol viewer handles its own message panel.
3 years ago
jean-pierre charras
725c2fd661
footprint wizards: fix for my previous commit 50502c4
3 years ago
jean-pierre charras
50502c450f
footprint wizards: fixes and enhancements
3 years ago
Jeff Young
b76ef8c7e2
Multi-threading safety.
(Possible fix for KICAD-74.)
3 years ago
Jeff Young
2793bb1d68
Performance.
3 years ago
Jeff Young
26c14271f2
Formatting and warnings cleanup. (No functional changes.)
3 years ago
jean-pierre charras
7545097d7f
Fix a compil issue on msys2/gcc12.2, due to changes in commit dd1c58dc
3 years ago
Jeff Young
6f59740953
Tighten up the lifecycle management of VIEW_ITEMs in
general, and the SYMBOL_VIEWER_FRAME's m_previewItem in
particular.
(Attempted fix for Sentry KICAD-G1.)
3 years ago
Marek Roszko
dd1c58dcf5
Fix MSVC C4840 warning
va_start requires trivially copy able classes.
wxString is not trivial. The correct thing to do is to use wxChar*
3 years ago
Jeff Young
140f76b870
Export rectangular aperture GBR_SEGMENTS as polygons.
Fixes https://gitlab.com/kicad/code/kicad/issues/14136
3 years ago
Jeff Young
b74d964bff
Handle legacy libraries with escaped symbol names.
Fixes https://gitlab.com/kicad/code/kicad/issues/14057
3 years ago
Jeff Young
d4b4abd001
Apply symbol attributes from base symbol, not derived symbol.
Fixes https://gitlab.com/kicad/code/kicad/issues/13740
3 years ago
Marek Roszko
8fd4909f86
Init curl in InitPgm for thread safety
curl itself highly recommends not initializing curl from within a thread.
Due to the PCM, this can happen in a thread these days.
Pointed out by Érico Rolim in https://gitlab.com/kicad/code/kicad/-/merge_requests/855
3 years ago
Jeff Young
299c88cfec
Allow setting 0 to min width, min track width, min via annular width, etc.
Fixes https://gitlab.com/kicad/code/kicad/issues/13822
3 years ago